PageSourceSearch

https://www.alphagenomedocs.com/_/static/javascript/readthedocs-addons.js

js alphagenomedocs.com collected 2026-09-24 09:39:56 UTC 479,588 bytes, 38 lines download raw bytes

1(()=>{var e={3282(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=n(4042),o=n(6144),i=n(6653),a=n(2079),s=["/properties"],c="http://json-schema.org/draft-07/schema";class l extends r.default{_addVocabularies(){super._addVocabularies(),o.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(a,s):a;this.addMetaSchema(e,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=n(2586);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=n(9029);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=n(3558);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var h=n(4551);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})},1520(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{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=r;class o extends n{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 r&&(e[t.str]=(e[t.str]||0)+1),e),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)c(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=i;const a=new o("+");function s(e,...t){const n=[u(e[0])];let r=0;for(;r<t.length;)n.push(a),c(n,t[r]),n.push(a,u(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===a){const n=l(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function c(e,t){var n;t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:u(Array.isArray(n)?n.join(","):n))}function l(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==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 r?void 0:`"${e}${t.slice(1)}`}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=s,t.addCodeArg=c,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:s`${e}${t}`},t.stringify=function(e){return new o(u(e))},t.safeStringify=u,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):i`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},9029(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=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;const r=n(1520),o=n(7845);var i=n(1520);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var a=n(7845);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class c extends s{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=T(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class l extends s{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=T(this.rhs,e,t),this}get names(){return k(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class u extends l{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class f extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=T(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class m extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(D(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>N(e,t.names),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class A extends g{}A.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 A(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 n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=T(this.condition,e,t),this}get names(){const e=super.names;return k(e,this.condition),this.else&&N(e,this.else.names),e}}v.kind="if";class b extends g{}b.kind="for";class w extends b{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=T(this.iteration,e,t),this}get names(){return N(super.names,this.iteration.names)}}class C extends b{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=k(super.names,this.from);return k(e,this.to)}}class E extends b{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}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=T(this.iterable,e,t),this}get names(){return N(super.names,this.iterable.names)}}class M extends g{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}M.kind="func";class L extends m{render(e){return"return "+super.render(e)}}L.kind="return";class j 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 n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&N(e,this.catch.names),this.finally&&N(e,this.finally.names),e}}class x extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}x.kind="catch";class S extends g{render(e){return"finally"+super.render(e)}}S.kind="finally";function N(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function k(e,t){return t instanceof r._CodeOrName?N(e,t.names):e}function T(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some(e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str])?new r._Code(e._items.reduce((e,t)=>
1(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function D(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function I(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${B(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.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 n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}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,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new c(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new l(e,t,n))}add(e,n){return this._leafNode(new u(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new v(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new v(e))}else(){return this._elseNode(new A)}endIf(){return this._endBlockNode(v,A)}_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,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const a=this._scope.toName(e);return this._for(new C(i,a,t,n),()=>r(a))}forOf(e,t,n,i=o.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,t=>{this.var(a,r._`${e}[${t}]`),n(a)})}return this._for(new E("of",i,a,t),()=>n(a))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const a=this._scope.toName(e);return this._for(new E("in",i,a,t),()=>n(a))}endFor(){return this._endBlockNode(b)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new f(e))}return(e){const t=new L;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(L)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new j;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new x(e),t(e)}return n&&(this._currNode=r.finally=new S,this.code(n)),this._endBlockNode(x,S)}throw(e){return this._leafNode(new h(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 n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new M(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(M)}optimize(e=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 n=this._currNode;if(n instanceof e||t&&n 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}},t.not=I;const _=z(t.operators.AND);t.and=function(...e){return e.reduce(_)};const O=z(t.operators.OR);function z(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${B(t)} ${e} ${B(n)}`}function B(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(O)}},7845(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(1520);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i||(t.UsedValueState=i={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class a{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.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=a;class s extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=s;const c=r._`\n`;t.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?c:r.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let a=this._values[o];if(a){const e=a.get(i);if(e)return e}else a=this._values[o]=new Map;a.set(i,r);const s=this._scope[o]||(this._scope[o]=[]),c=s.length;return s[c]=t.ref,r.setValue(t,{property:o,itemIndex:c}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,n)}_reduceValues(e,n,a={},s){let c=r.nil;for(const l in e){const u=e[l];if(!u)continue;const d=a[l]=a[l]||new Map;u.forEach(e=>{if(d.has(e))return;d.set(e,i.Started);let a=n(e);if(a){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;c=r._`${c}${n} ${e} = ${a};${this.opts._n}`}else{if(!(a=null==s?void 0:s(e)))throw new o(e);c=r._`${c}${a}${this.opts._n}`}d.set(e,i.Completed)})}return c}}},8708(e,t,n){"use strict";t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.y=void 0;const r=n(9029),o=n(4227),i=n(2023);function a(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,()=>e.assign(i.default.vErrors,r._`[${n}]`),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function s(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.y={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.y,o,i){const{it:c}=e,{gen:u,compositeRule:d,allErrors:f}=c,h=l(e,n,o);(null!=i?i:d||f)?a(u,h):s(c,r._`[${h}]`)},t.reportExtraError=function(e,n=t.y,r){const{it:o}=e,{gen:c,compositeRule:u,allErrors:d}=o;a(c,l(e,n,r)),u||d||s(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,()=>e.if(t,()=>e.assign(r._`${i.default.vErrors}.length`,t),()=>e.assign(i.default.vErrors,null)))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:a,it:s}){if(void 0===a)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",a,i.default.errors,a=>{e.const(c,r._`${i.default.vErrors}[${a}]`),e.if(r._`${c}.instancePath === undefined`,()=>e.assign(r._`${c}.instancePath`,(0,r.strConcat)(i.default.instancePath,s.errorPath))),e.assign(r._`${c}.schemaPath`,r.str`${s.errSchemaPath}/${t}`),s.opts.verbose&&(e.assign(r._`${c}.schema`,n),e.assign(r._`${c}.data`,o))})};const c={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.
1Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function l(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:a}=e,s=[u(a,n),d(e,n)];return function(e,{params:t,message:n},o){const{keyword:a,data:s,schemaValue:l,it:u}=e,{opts:d,propertyName:f,topSchemaRef:h,schemaPath:p}=u;o.push([c.keyword,a],[c.params,"function"==typeof t?t(e):t||r._`{}`]),d.messages&&o.push([c.message,"function"==typeof n?n(e):n]);d.verbose&&o.push([c.schema,l],[c.parentSchema,r._`${h}${p}`],[i.default.data,s]);f&&o.push([c.propertyName,f])}(e,t,s),o.object(...s)}(e,t,n)}function u({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,n)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let a=i?t:r.str`${t}/${e}`;return n&&(a=r.str`${a}${(0,o.getErrorPath)(n,o.Type.Str)}`),[c.schemaPath,a]}},3835(e,t,n){"use strict";t.resolveSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(9029),o=n(3558),i=n(2023),a=n(6939),s=n(4227),c=n(2586);class l{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=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,a.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function u(e){const t=f.call(this,e);if(t)return t;const n=(0,a.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:l}=this.opts.code,{ownProperties:u}=this.opts,d=new r.CodeGen(this.scope,{es5:s,lines:l,ownProperties:u});let h;e.$async&&(h=d.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const p=d.scopeName("validate");e.validateName=p;const m={gen:d,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:h,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,c.validateFunctionCode)(m),d.optimize(this.opts.code.optimize);const t=d.toString();g=`${d.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const n=new Function(`${i.default.self}`,`${i.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=m;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),t}finally{this._compilations.delete(e)}}function d(e){return(0,a.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:u.call(this,e)}function f(e){for(const t of this._compilations)if(h(t,e))return t}function h(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function p(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||m.call(this,e,t)}function m(e,t){const n=this.opts.uriResolver.parse(t),r=(0,a._getFullPath)(this.opts.uriResolver,n);let o=(0,a.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>
10&&r===o)return y.call(this,n,e);const i=(0,a.normalizeId)(r),s=this.refs[i]||this.schemas[i];if("string"==typeof s){const t=m.call(this,e,s);if("object"!=typeof(null==t?void 0:t.schema))return;return y.call(this,n,t)}if("object"==typeof(null==s?void 0:s.schema)){if(s.validate||u.call(this,s),i===(0,a.normalizeId)(t)){const{schema:t}=s,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,a.resolveUrl)(this.opts.uriResolver,o,r)),new l({schema:t,schemaId:n,root:e,baseId:o})}return y.call(this,n,s)}}t.SchemaEnv=l,t.compileSchema=u,t.resolveRef=function(e,t,n){var r;n=(0,a.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=p.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:a}=this.opts;o&&(i=new l({schema:o,schemaId:a,root:e,baseId:t}))}return void 0!==i?e.refs[n]=d.call(this,i):void 0},t.resolveSchema=m;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function y(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const r of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,s.unescapeFragment)(r)];if(void 0===e)return;const o="object"==typeof(n=e)&&n[this.opts.schemaId];!g.has(r)&&o&&(t=(0,a.resolveUrl)(this.opts.uriResolver,t,o))}let i;if("boolean"!=typeof n&&n.$ref&&!(0,s.schemaHasRulesButRef)(n,this.RULES)){const e=(0,a.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=m.call(this,r,e)}const{schemaId:c}=this.opts;return i=i||new l({schema:n,schemaId:c,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},2023(e,t,n){"use strict";const r=n(9029),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},4551(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6939);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},6939(e,t,n){"use strict";t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(4227),o=n(2017),i=n(7106),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!c(e):!!t&&l(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function c(e){for(const t in e){if(s.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(c))return!0;if("object"==typeof n&&c(n))return!0}return!1}function l(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!a.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],e=>t+=l(e)),t===1/0))return 1/0}return t}function u(e,t="",n){!1!==n&&(t=h(t));const r=e.parse(t);return d(e,r)}function d(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const f=/#\/?$/;function h(e){return e?e.replace(f,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,n){return n=h(n),e.resolve(t,n)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,a=h(e[n]||t),s={"":a},c=u(r,a,!1),l={},d=new Set;return i(e,{allKeys:!0},(e,t,r,o)=>{if(void 0===o)return;const i=c+t;let a=s[o];function u(t){const n=this.opts.uriResolver.resolve;if(t=h(a?n(a,t):t),d.has(t))throw m(t);d.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?f(e,r.schema,t):t!==h(i)&&("#"===t[0]?(f(e,l[t],t),l[t]=e):this.refs[t]=i),t}function g(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);u.call(this,`#${e}`)}}"string"==typeof e[n]&&(a=u.call(this,e[n])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),s[t]=a}),l;function f(e,t,n){if(void 0!==t&&!o(e,t))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},396(e,t){"use strict";t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.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:{}}}},4227(e,t,n){"use strict";t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(9029),o=n(1520);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const n in t)o[n]||p(e,`unknown keyword: "${n}"`)}function a(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function l({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,a,s,c)=>{const l=void 0===s?a:s instanceof r.Name?(a instanceof r.Name?e(i,a,s):t(i,a,s),s):a instanceof r.Name?(t(i,s,a),a):n(a,s);return c!==r.Name||l instanceof r.Name?l:o(i,l)}}function u(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&d(e,n,t),n}
1function d(e,t,n){Object.keys(n).forEach(n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!a(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(s(e))},t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:l({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,()=>{e.if(r._`${t} === true`,()=>e.assign(n,!0),()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`))}),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),d(e,n,t))}),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:l({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`)),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`)),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u;const f={};var h;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:f[t.code]||(f[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===h.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+s(e)},t.checkStrictMode=p},7887(e,t){"use strict";function n(e,t){return t.rules.some(t=>r(e,t))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some(t=>void 0!==e[t]))}t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},8727(e,t,n){"use strict";t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(8708),o=n(9029),i=n(2023),a={message:"boolean schema is false"};function s(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(i,a,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?s(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),s(e)):n.var(t,!0)}},208(e,t,n){"use strict";t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(396),o=n(7887),i=n(8708),a=n(9029),s=n(4227);var c;function l(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.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"}(c||(t.DataType=c={})),t.getSchemaTypes=function(e){const t=l(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=l,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,s=function(e,t){return t?e.filter(e=>u.has(e)||"array"===t&&"array"===e):[]}(t,i.coerceTypes),l=t.length>0&&!(0===s.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(l){const o=f(t,r,i.strictNumbers,c.Wrong);n.if(o,()=>{s.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,s=r.let("dataType",a._`typeof ${o}`),c=r.let("coerced",a._`undefined`);"array"===i.coerceTypes&&r.if(a._`${s} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>r.assign(o,a._`${o}[0]`).assign(s,a._`typeof ${o}`).if(f(t,o,i.strictNumbers),()=>r.assign(c,o)));r.if(a._`${c} !== undefined`);for(const e of n)(u.has(e)||"array"===e&&"array"===i.coerceTypes)&&l(e);function l(e){switch(e){case"string":return void r.elseIf(a._`${s} == "number" || ${s} == "boolean"`).assign(c,a._`"" + ${o}`).elseIf(a._`${o} === null`).assign(c,a._`""`);case"number":return void r.elseIf(a._`${s} == "boolean" || ${o} === null
2              || (${s} == "string" && ${o} && ${o} == +${o})`).assign(c,a._`+${o}`);case"integer":return void r.elseIf(a._`${s} === "boolean" || ${o} === null
3              || (${s} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(c,a._`+${o}`);case"boolean":return void r.elseIf(a._`${o}
3 === "false" || ${o} === 0 || ${o} === null`).assign(c,!1).elseIf(a._`${o} === "true" || ${o} === 1`).assign(c,!0);case"null":return r.elseIf(a._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(c,null);case"array":r.elseIf(a._`${s} === "string" || ${s} === "number"
4              || ${s} === "boolean" || ${o} === null`).assign(c,a._`[${o}]`)}}r.else(),p(e),r.endIf(),r.if(a._`${c} !== undefined`,()=>{r.assign(o,c),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(a._`${t} !== undefined`,()=>e.assign(a._`${t}[${n}]`,r))}(e,c)})}(e,t,s):p(e)})}return l};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,n,r=c.Correct){const o=r===c.Correct?a.operators.EQ:a.operators.NEQ;let i;switch(e){case"null":return a._`${t} ${o} null`;case"array":i=a._`Array.isArray(${t})`;break;case"object":i=a._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=s(a._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=s();break;default:return a._`typeof ${t} ${o} ${e}`}return r===c.Correct?i:(0,a.not)(i);function s(e=a.nil){return(0,a.and)(a._`typeof ${t} == "number"`,e,n?a._`isFinite(${t})`:a.nil)}}function f(e,t,n,r){if(1===e.length)return d(e[0],t,n,r);let o;const i=(0,s.toHash)(e);if(i.array&&i.object){const e=a._`typeof ${t} != "object"`;o=i.null?e:a._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=a.nil;i.number&&delete i.integer;for(const e in i)o=(0,a.and)(o,d(e,t,n,r));return o}t.checkDataType=d,t.checkDataTypes=f;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?a._`{type: ${e}}`:a._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,s.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,h)}t.reportTypeError=p},7870(e,t,n){"use strict";t.assignDefaults=void 0;const r=n(9029),o=n(4227);function i(e,t,n){const{gen:i,compositeRule:a,data:s,opts:c}=e;if(void 0===n)return;const l=r._`${s}${(0,r.getProperty)(t)}`;if(a)return void(0,o.checkStrictMode)(e,`default is ignored for: ${l}`);let u=r._`${l} === undefined`;"empty"===c.useDefaults&&(u=r._`${u} || ${l} === null || ${l} === ""`),i.if(u,r._`${l} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const t in n)i(e,t,n[t].default);else"array"===t&&Array.isArray(r)&&r.forEach((t,n)=>i(e,n,t.default))}},2586(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(8727),o=n(208),i=n(7887),a=n(208),s=n(7870),c=n(3673),l=n(4495),u=n(9029),d=n(2023),f=n(6939),h=n(4227),p=n(8708);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,r.$async,()=>{e.code(u._`"use strict"; ${g(n,o)}`),function(e,t){e.if(d.default.valCxt,()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)})}(e,o),e.code(i)}):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(o)}`,r.$async,()=>e.code(g(n,o)).code(i))}function g(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?u._`/*# sourceURL=${n} */`:u.nil}function y(e,t){v(e)&&(b(e),A(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&C(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,f.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 i=r.const("_errs",d.default.errors);w(e,i),r.var(t,u._`${i} === ${d.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function A({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function v(e){return"boolean"!=typeof e.schema}
4function b(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return E(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);E(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function C({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(u._`${d.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=u.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function E(e,t,n,r){const{gen:o,schema:s,data:c,allErrors:l,opts:f,self:p}=e,{RULES:m}=p;function g(h){(0,i.shouldUseGroup)(s,h)&&(h.type?(o.if((0,a.checkDataType)(h.type,c,f.strictNumbers)),M(e,h),1===t.length&&t[0]===h.type&&n&&(o.else(),(0,a.reportTypeError)(e)),o.endIf()):M(e,h),l||o.if(u._`${d.default.errors} === ${r||0}`))}!s.$ref||!f.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(s,m)?(f.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=>{j(e.dataTypes,t)||x(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),function(e,t){const n=[];for(const r of e.dataTypes)j(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&x(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some(e=>L(t,e))&&x(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block(()=>{for(const e of m.rules)g(e);g(m.post)})):o.block(()=>N(e,"$ref",m.all.$ref.definition))}function M(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,s.assignDefaults)(e,t.type),n.block(()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&N(e,n.keyword,n.definition,t.type)})}function L(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function j(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function x(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){v(e)&&(b(e),A(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,()=>{n.$comment&&t.$comment&&C(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(d.default.vErrors,null),r.let(d.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",u._`${n}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`)),t.if(u._`${e.evaluated}.dynamicItems`,()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(u._`${d.default.errors} === 0`,()=>t.return(d.default.data),()=>t.throw(u._`new ${o}(${d.default.vErrors})`)):(t.assign(u._`${r}.errors`,d.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof u.Name&&e.assign(u._`${t}.props`,n);r instanceof u.Name&&e.assign(u._`${t}.items`,r)}(e),t.return(u._`${d.default.errors} === 0`))}(e)})}(e):m(e,()=>(0,r.topBoolOrEmptySchema)(e))};class S{constructor(e,t,n){if((0,c.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,n,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",D(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,n){this.failResult((0,u.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():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,u.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(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.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,n=u.nil){this.gen.block(()=>{this.check$data(e,n),t()})}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,u.or)(u._`${r} === undefined`,t)),e!==u.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,u.or)(function(){if(n.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return u._`${(0,a.checkDataTypes)(e,t,o.opts.strictNumbers,a.DataType.Wrong)}`}return u.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return u._`!${n}(${t})`}return u.nil}())}subschema(e,t){const n=(0,l.getSubschema)(this.it,e);(0,l.extendSubschemaData)(n,this.it,e),(0,l.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;
4n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=h.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=h.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,()=>this.mergeEvaluated(e,u.Name)),!0}}function N(e,t,n,r){const o=new S(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,c.funcKeywordCode)(o,n):"macro"in n?(0,c.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,c.funcKeywordCode)(o,n)}t.KeywordCxt=S;const k=/^\/(?:[^~]|~0|~1)*$/,T=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function D(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return d.default.rootData;if("/"===e[0]){if(!k.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=d.default.rootData}else{const a=T.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+a[1];if(o=a[2],"#"===o){if(s>=t)throw new Error(c("property/index",s));return r[t-s]}if(s>t)throw new Error(c("data",s));if(i=n[t-s],!o)return i}let a=i;const s=o.split("/");for(const e of s)e&&(i=u._`${i}${(0,u.getProperty)((0,h.unescapeJsonPointer)(e))}`,a=u._`${a} && ${i}`);return a;function c(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=D},3673(e,t,n){"use strict";t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(9029),o=n(2023),i=n(5765),a=n(8708);function s(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`))}function c(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:a,it:s}=e,l=t.macro.call(s.self,i,a,s),u=c(n,o,l);!1!==s.opts.validateSchema&&s.self.validateSchema(l,!0);const d=n.name("valid");e.subschema({schema:l,schemaPath:r.nil,errSchemaPath:`${s.errSchemaPath}/${o}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,()=>e.error(!0))},t.funcKeywordCode=function(e,t){var n;const{gen:l,keyword:u,schema:d,parentSchema:f,$data:h,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const m=!h&&t.compile?t.compile.call(p.self,d,f,p):t.validate,g=c(l,u,m),y=l.let("valid");function A(n=(t.async?r._`await `:r.nil)){const a=p.opts.passContext?o.default.this:o.default.self,s=!("compile"in t&&!h||!1===t.schema);l.assign(y,r._`${n}${(0,i.callValidateCode)(e,g,a,s)}`,t.modifying)}function v(e){var n;l.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,function(){if(!1===t.errors)A(),t.modifying&&s(e),v(()=>e.error());else{const n=t.async?function(){const e=l.let("ruleErrs",null);return l.try(()=>A(r._`await `),t=>l.assign(y,!1).if(r._`${t} instanceof ${p.ValidationError}`,()=>l.assign(e,r._`${t}.errors`),()=>l.throw(t))),e}():function(){const e=r._`${g}.errors`;return l.assign(e,null),A(r.nil),e}();t.modifying&&s(e),v(()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,a.extendErrors)(e)},()=>e.error())}(e,n))}}),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e)},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const a=o.dependencies;if(null==a?void 0:a.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw new Error(`parent schema must have dependencies of ${i}: ${a.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},4495(e,t,n){"use strict";t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(9029),o=n(4227);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:a,errSchemaPath:s,topSchemaRef:c}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===a||void 0===s||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:a,topSchemaRef:c,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:a,dataTypes:s,propertyName:c}){if(void 0!==a&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(void 0!==n){const{errorPath:a,dataPathArr:s,opts:c}=t;u(l.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${a}${(0,o.getErrorPath)(n,i,c.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...s,e.parentDataProperty]}if(void 0!==a){u(a instanceof r.Name?a:l.let("data",a,!0)),void 0!==c&&(e.propertyName=c)}function u(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}s&&(e.dataTypes=s)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},4042(e,t,n){"use strict";var r=n(2586);var o=n(9029);const i=n(3558),a=n(4551),s=n(396),c=n(3835),l=n(9029),u=n(6939),d=n(208),f=n(4227),h=n(3837),p=n(5944),m=(e,t)=>
4new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),A={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 b(e){var t,n,r,o,i,a,s,c,l,u,d,f,h,g,y,A,v,b,w,C,E,M,L,j,x;const S=e.strict,N=null===(t=e.code)||void 0===t?void 0:t.optimize,k=!0===N||void 0===N?1:N||0,T=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,D=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(a=null!==(i=e.strictSchema)&&void 0!==i?i:S)||void 0===a||a,strictNumbers:null===(c=null!==(s=e.strictNumbers)&&void 0!==s?s:S)||void 0===c||c,strictTypes:null!==(u=null!==(l=e.strictTypes)&&void 0!==l?l:S)&&void 0!==u?u:"log",strictTuples:null!==(f=null!==(d=e.strictTuples)&&void 0!==d?d:S)&&void 0!==f?f:"log",strictRequired:null!==(g=null!==(h=e.strictRequired)&&void 0!==h?h:S)&&void 0!==g&&g,code:e.code?{...e.code,optimize:k,regExp:T}:{optimize:k,regExp:T},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(A=e.loopEnum)&&void 0!==A?A:200,meta:null===(v=e.meta)||void 0===v||v,messages:null===(b=e.messages)||void 0===b||b,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(C=e.schemaId)&&void 0!==C?C:"$id",addUsedSchema:null===(E=e.addUsedSchema)||void 0===E||E,validateSchema:null===(M=e.validateSchema)||void 0===M||M,validateFormats:null===(L=e.validateFormats)||void 0===L||L,unicodeRegExp:null===(j=e.unicodeRegExp)||void 0===j||j,int32range:null===(x=e.int32range)||void 0===x||x,uriResolver:D}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...b(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return S;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 r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),C.call(this,A,e,"NOT SUPPORTED"),C.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=x.call(this),e.formats&&L.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&j.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),M.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=h;"id"===n&&(r={...h},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!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 n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof a.default))throw t;return s.call(this,t),await c.call(this,t.missingSchema),i.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const n=await l.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function l(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;
4if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=E.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new c.SchemaEnv({schema:{},schemaId:n});if(t=c.resolveSchema.call(this,r,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=E.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 n=e[this.opts.schemaId];return n&&(n=(0,u.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),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 n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(k.call(this,n,t),!t)return(0,f.eachItem)(n,e=>T.call(this,e)),this;I.call(this,t);const r={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,f.eachItem)(n,0===r.type.length?e=>T.call(this,e,r):e=>r.type.forEach(t=>T.call(this,e,r,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 n of t.rules){const t=n.rules.findIndex(t=>t.keyword===e);t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map(e=>`${n}${e.instancePath} ${e.message}`).reduce((e,n)=>e+t+n):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=O(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:a}=this.opts;if("object"==typeof e)i=e[a];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 s=this._cache.get(e);if(void 0!==s)return s;n=(0,u.normalizeId)(i||n);const l=u.getSchemaRefs.call(this,e,n);return s=new c.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:n,localRefs:l}),this._cache.set(s.schema,s),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=s),r&&this.validateSchema(e,!0),s}_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):c.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{c.compileSchema.call(this,e)}finally{this.opts=t}}}function C(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function E(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function M(){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 L(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function j(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 n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function x(){const e={...this.opts};for(const t of g)delete e[t];return e}w.ValidationError=i.default,w.MissingRefError=a.default,t.default=w;const S={log(){},warn(){},error(){}};const N=/^[a-z_$][a-z0-9_$:-]*$/i;function k(e,t){const{RULES:n}=this;if((0,f.eachItem)(e,e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!N.test(e))throw new Error(`Keyword ${e}
4 has invalid name`)}),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function T(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let a=o?i.post:i.rules.find(({type:e})=>e===n);if(a||(a={type:n,rules:[]},i.rules.push(a)),i.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?D.call(this,a,s,t.before):a.rules.push(s),i.all[e]=s,null===(r=t.implements)||void 0===r||r.forEach(e=>this.addKeyword(e))}function D(e,t,n){const r=e.rules.findIndex(e=>e.keyword===n);r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function I(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=O(t)),e.validateSchema=this.compile(t,!0))}const _={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function O(e){return{anyOf:[e,_]}}},6250(e,t,n){"use strict";const r=n(2017);r.code='require("ajv/dist/runtime/equal").default',t.default=r},3853(e,t){"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},5944(e,t,n){"use strict";const r=n(8343);r.code='require("ajv/dist/runtime/uri").default',t.default=r},3558(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},5457(e,t,n){"use strict";t.validateAdditionalItems=void 0;const r=n(9029),o=n(4227),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?a(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function a(e,t){const{gen:n,schema:i,data:a,keyword:s,it:c}=e;c.items=!0;const l=n.const("len",r._`${a}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${l} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(c,i)){const i=n.var("valid",r._`${l} <= ${t.length}`);n.if((0,r.not)(i),()=>function(i){n.forRange("i",t.length,l,t=>{e.subschema({keyword:s,dataProp:t,dataPropType:o.Type.Num},i),c.allErrors||n.if((0,r.not)(i),()=>n.break())})}(i)),e.ok(i)}}t.validateAdditionalItems=a,t.default=i},8660(e,t,n){"use strict";const r=n(5765),o=n(9029),i=n(2023),a=n(4227),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:s,data:c,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=u;if(u.props=!0,"all"!==f.removeAdditional&&(0,a.alwaysValidSchema)(u,n))return;const h=(0,r.allSchemaProperties)(s.properties),p=(0,r.allSchemaProperties)(s.patternProperties);function m(e){t.code(o._`delete ${c}[${e}]`)}function g(r){if("all"===f.removeAdditional||f.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(d||t.break());if("object"==typeof n&&!(0,a.alwaysValidSchema)(u,n)){const n=t.name("valid");"failing"===f.removeAdditional?(y(r,n,!1),t.if((0,o.not)(n),()=>{e.reset(),m(r)})):(y(r,n),d||t.if((0,o.not)(n),()=>t.break()))}}}function y(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:a.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",c,n=>{h.length||p.length?t.if(function(n){let i;if(h.length>8){const e=(0,a.schemaRefOrVal)(u,s.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=h.length?(0,o.or)(...h.map(e=>o._`${n} === ${e}`)):o.nil;return p.length&&(i=(0,o.or)(i,...p.map(t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`))),(0,o.not)(i)}(n),()=>g(n)):g(n)}),e.ok(o._`${l} === ${i.default.errors}`)}};t.default=s},5844(e,t,n){"use strict";const r=n(4227),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");
4n.forEach((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const a=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(a)})}};t.default=o},6505(e,t,n){"use strict";const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(5765).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},2661(e,t,n){"use strict";const r=n(9029),o=n(4227),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:a,it:s}=e;let c,l;const{minContains:u,maxContains:d}=i;s.opts.next?(c=void 0===u?1:u,l=d):c=1;const f=t.const("len",r._`${a}.length`);if(e.setParams({min:c,max:l}),void 0===l&&0===c)return void(0,o.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==l&&c>l)return(0,o.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(s,n)){let t=r._`${f} >= ${c}`;return void 0!==l&&(t=r._`${t} && ${f} <= ${l}`),void e.pass(t)}s.items=!0;const h=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);m(e,()=>t.if(e,()=>function(e){t.code(r._`${e}++`),void 0===l?t.if(r._`${e} >= ${c}`,()=>t.assign(h,!0).break()):(t.if(r._`${e} > ${l}`,()=>t.assign(h,!1).break()),1===c?t.assign(h,!0):t.if(r._`${e} >= ${c}`,()=>t.assign(h,!0)))}(n)))}function m(n,r){t.forRange("i",0,f,t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()})}void 0===l&&1===c?m(h,()=>t.if(h,()=>t.break())):0===c?(t.let(h,!0),void 0!==l&&t.if(r._`${a}.length > 0`,p)):(t.let(h,!1),p()),e.result(h,()=>e.reset())}};t.default=i},3025(e,t,n){"use strict";t.z3=void 0;const r=n(9029),o=n(4227),i=n(5765);t.z3={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e},
5    missingProperty: ${o},
6    depsCount: ${t},
7    deps: ${n}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.z3,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);s(e,t),c(e,n)}};function s(e,t=e.schema){const{gen:n,data:o,it:a}=e;if(0===Object.keys(t).length)return;const s=n.let("missing");for(const c in t){const l=t[c];if(0===l.length)continue;const u=(0,i.propertyInData)(n,o,c,a.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(", ")}),a.allErrors?n.if(u,()=>{for(const t of l)(0,i.checkReportMissingProp)(e,t)}):(n.if(r._`${u} && (${(0,i.checkMissingProp)(e,l,s)})`),(0,i.reportMissingProp)(e,s),n.else())}}function c(e,t=e.schema){const{gen:n,data:r,keyword:a,it:s}=e,c=n.name("valid");for(const l in t)(0,o.alwaysValidSchema)(s,t[l])||(n.if((0,i.propertyInData)(n,r,l,s.opts.ownProperties),()=>{const t=e.subschema({keyword:a,schemaProp:l},c);e.mergeValidEvaluated(t,c)},()=>n.var(c,!0)),e.ok(c))}t.default=a},1239(e,t,n){"use strict";const r=n(9029),o=n(4227),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const s=a(i,"then"),c=a(i,"else");if(!s&&!c)return;const l=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),s&&c){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(u,d("then",n),d("else",n))}else s?t.if(u,d("then")):t.if((0,r.not)(u),d("else"));function d(n,o){return()=>{const i=e.subschema({keyword:n},u);t.assign(l,u),e.mergeValidEvaluated(i,l),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(l,()=>e.error(!0))}};function a(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},6378(e,t,n){"use strict";const r=n(5457),o=n(5354),i=n(494),a=n(3966),s=n(2661),c=n(3025),l=n(9713),u=n(8660),d=n(117),f=n(5333),h=n(7923),p=n(6505),m=n(6163),g=n(5844),y=n(1239),A=n(4426);t.default=function(e=!1){const t=[h.default,p.default,m.default,g.default,y.default,A.default,l.default,u.default,c.default,d.default,f.default];return e?t.push(o.default,a.default):t.push(r.default,i.default),t.pu
7sh(s.default),t}},494(e,t,n){"use strict";t.validateTuple=void 0;const r=n(9029),o=n(4227),i=n(5765),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return s(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function s(e,t,n=e.schema){const{gen:i,parentSchema:a,data:s,keyword:c,it:l}=e;!function(e){const{opts:r,errSchemaPath:i}=l,a=n.length,s=a===e.minItems&&(a===e.maxItems||!1===e[t]);if(r.strictTuples&&!s){const e=`"${c}" is ${a}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(l,e,r.strictTuples)}}(a),l.opts.unevaluated&&n.length&&!0!==l.items&&(l.items=o.mergeEvaluated.items(i,n.length,l.items));const u=i.name("valid"),d=i.const("len",r._`${s}.length`);n.forEach((t,n)=>{(0,o.alwaysValidSchema)(l,t)||(i.if(r._`${d} > ${n}`,()=>e.subschema({keyword:c,schemaProp:n,dataProp:n},u)),e.ok(u))})}t.validateTuple=s,t.default=a},3966(e,t,n){"use strict";const r=n(9029),o=n(4227),i=n(5765),a=n(5457),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:s}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(s?(0,a.validateAdditionalItems)(e,s):e.ok((0,i.validateArray)(e)))}};t.default=s},7923(e,t,n){"use strict";const r=n(4227),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};t.default=o},6163(e,t,n){"use strict";const r=n(9029),o=n(4227),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(a.opts.discriminator&&i.discriminator)return;const s=n,c=t.let("valid",!1),l=t.let("passing",null),u=t.name("_valid");e.setParams({passing:l}),t.block(function(){s.forEach((n,i)=>{let s;(0,o.alwaysValidSchema)(a,n)?t.var(u,!0):s=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},u),i>0&&t.if(r._`${u} && ${c}`).assign(c,!1).assign(l,r._`[${l}, ${i}]`).else(),t.if(u,()=>{t.assign(c,!0),t.assign(l,i),s&&e.mergeEvaluated(s,r.Name)})})}),e.result(c,()=>e.reset(),()=>e.error(!0))}};t.default=i},5333(e,t,n){"use strict";const r=n(5765),o=n(9029),i=n(4227),a=n(4227),s={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:s,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,r.allSchemaProperties)(n),f=d.filter(e=>(0,i.alwaysValidSchema)(l,n[e]));if(0===d.length||f.length===d.length&&(!l.opts.unevaluated||!0===l.props))return;const h=u.strictSchema&&!u.allowMatchingProperties&&c.properties,p=t.name("valid");!0===l.props||l.props instanceof o.Name||(l.props=(0,a.evaluatedPropsToName)(t,l.props));const{props:m}=l;function g(e){for(const t in h)new RegExp(e).test(t)&&(0,i.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",s,i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,()=>{const r=f.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:a.Type.Str},p),l.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||l.allErrors||t.if((0,o.not)(p),()=>t.break())})})}!function(){for(const e of d)h&&g(e),l.allErrors?y(e):(t.var(p,!0),y(e),t.if(p))}()}};t.default=s},5354(e,t,n){"use strict";const r=n(494),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},117(e,t,n){"use strict";const r=n(2586),o=n(5765),i=n(4227),a=n(8660),s={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:s,data:c,it:l}=e;"all"===l.opts.removeAdditional&&void 0===s.additionalProperties&&a.default.code(new r.KeywordCxt(l,a.default,"additionalProperties"));const u=(0,o.allSchemaProperties)(n);for(const e of u)l.definedProperties.add(e);l.opts.unevaluated&&u.length&&!0!==l.props&&(l.props=i.mergeEvaluated.props(t,(0,i.toHash)(u),l.props));const d=u.filter(e=>
7!(0,i.alwaysValidSchema)(l,n[e]));if(0===d.length)return;const f=t.name("valid");for(const n of d)h(n)?p(n):(t.if((0,o.propertyInData)(t,c,n,l.opts.ownProperties)),p(n),l.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function h(e){return l.opts.useDefaults&&!l.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=s},9713(e,t,n){"use strict";const r=n(9029),o=n(4227),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:a}=e;if((0,o.alwaysValidSchema)(a,n))return;const s=t.name("valid");t.forIn("key",i,n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},s),t.if((0,r.not)(s),()=>{e.error(!0),a.allErrors||t.break()})}),e.ok(s)}};t.default=i},4426(e,t,n){"use strict";const r=n(4227),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},5765(e,t,n){"use strict";t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(9029),o=n(4227),i=n(2023),a=n(4227);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function c(e,t,n){return r._`${s(e)}.call(${t}, ${n})`}function l(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(c(e,t,n))):i}function u(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(l(n,o,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()})},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map(o=>(0,r.and)(l(e,t,o,n.ownProperties),r._`${i} = ${o}`)))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.isOwnProperty=c,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${c(e,t,n)}`:i},t.noPropertyInData=l,t.allSchemaProperties=u,t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:a,errorPath:s},it:c},l,u,d){const f=d?r._`${e}, ${t}, ${o}${a}`:t,h=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,s)],[i.default.parentData,c.parentData],[i.default.parentDataProperty,c.parentDataProperty],[i.default.rootData,i.default.rootData]];c.opts.dynamicRef&&h.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const p=r._`${f}, ${n.object(...h)}`;return u!==r.nil?r._`${l}.call(${u}, ${p})`:r._`${l}(${p})`};const d=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,s=i(n,o);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:r._`${"new RegExp"===i.code?d:(0,a.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:a}=e,s=t.name("valid");if(a.allErrors){const e=t.let("valid",!0);return c(()=>t.assign(e,!1)),e}return t.var(s,!0),c(()=>t.break()),s;function c(a){const c=t.const("len",r._`${n}.length`);t.forRange("i",0,c,n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},s),t.if((0,r.not)(s),a)})}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some(e=>(0,o.alwaysValidSchema)(a,e))&&!a.opts.unevaluated)return;const s=t.let("valid",!1),c=t.name("_valid");t.block(()=>n.forEach((n,o)=>{const a=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},c);t.assign(s,r._`${s} || ${c}`);
7e.mergeValidEvaluated(a,c)||t.if((0,r.not)(s))})),e.result(s,()=>e.reset(),()=>e.error(!0))}},3463(e,t){"use strict";const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},2128(e,t,n){"use strict";const r=n(3463),o=n(3693),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},3693(e,t,n){"use strict";const r=n(4551),o=n(5765),i=n(9029),a=n(2023),s=n(3835),c=n(4227),l={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:a,schemaEnv:c,validateName:l,opts:f,self:h}=o,{root:p}=c;if(("#"===n||"#/"===n)&&a===p.baseId)return function(){if(c===p)return d(e,l,c,c.$async);const n=t.scopeValue("root",{ref:p});return d(e,i._`${n}.validate`,p,p.$async)}();const m=s.resolveRef.call(h,p,a,n);if(void 0===m)throw new r.default(o.opts.uriResolver,a,n);return m instanceof s.SchemaEnv?function(t){const n=u(e,t);d(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===f.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),a=t.name("valid"),s=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},a);e.mergeEvaluated(s),e.ok(a)}(m)}};function u(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,n,r){const{gen:s,it:l}=e,{allErrors:u,schemaEnv:d,opts:f}=l,h=f.passContext?a.default.this:i.nil;function p(e){const t=i._`${e}.errors`;s.assign(a.default.vErrors,i._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),s.assign(a.default.errors,i._`${a.default.vErrors}.length`)}function m(e){var t;if(!l.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==l.props)if(r&&!r.dynamicProps)void 0!==r.props&&(l.props=c.mergeEvaluated.props(s,r.props,l.props));else{const t=s.var("props",i._`${e}.evaluated.props`);l.props=c.mergeEvaluated.props(s,t,l.props,i.Name)}if(!0!==l.items)if(r&&!r.dynamicItems)void 0!==r.items&&(l.items=c.mergeEvaluated.items(s,r.items,l.items));else{const t=s.var("items",i._`${e}.evaluated.items`);l.items=c.mergeEvaluated.items(s,t,l.items,i.Name)}}r?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const n=s.let("valid");s.try(()=>{s.code(i._`await ${(0,o.callValidateCode)(e,t,h)}`),m(t),u||s.assign(n,!0)},e=>{s.if(i._`!(${e} instanceof ${l.ValidationError})`,()=>s.throw(e)),p(e),u||s.assign(n,!1)}),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,h),()=>m(t),()=>p(t))}t.default=l},6653(e,t,n){"use strict";const r=n(9029),o=n(7652),i=n(3835),a=n(4551),s=n(4227),c={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:c,parentSchema:l,it:u}=e,{oneOf:d}=l;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const h=t.let("valid",!1),p=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function m(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${p} == "string"`,()=>function(){const n=function(){var e;const t={},n=o(l);let r=!0;for(let t=0;t<d.length;t++){let l=d[t];if((null==l?void 0:l.$ref)&&!(0,s.schemaHasRulesButRef)(l,u.self.RULES)){const e=l.$ref;if(l=i.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,e),l instanceof i.SchemaEnv&&(l=l.schema),void 0===l)throw new a.default(u.opts.uriResolver,u.baseId,e)}const h=null===(e=null==l?void 0:l.properties)||void 0===e?void 0:e[f];if("object"!=typeof h)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(l)),c(h,t)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)h(n,t)}}function h(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${p} === ${e}`),t.assign(h,m(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:p,tagName:f}),t.endIf()}(),()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:p,tagName:f})),e.ok(h)}};t.default=c},7652(e,t){"use strict";var n;t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},6144(e,t,n){"use strict";const r=n(2128),o=n(7060),i=n(6378),a=n(7532),s=n(9857),c=[r.default,o.default,(0,i.default)(),a.default,s.metadataVocabulary,s.contentVocabulary];t.default=c},4737(e,t,n){"use strict";const r=n(9029),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`}
7,code(e,t){const{gen:n,data:o,$data:i,schema:a,schemaCode:s,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:f}=c;l.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:f.formats,code:l.code.formats}),a=n.const("fDef",r._`${i}[${s}]`),c=n.let("fType"),u=n.let("format");n.if(r._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,()=>n.assign(c,r._`${a}.type || "string"`).assign(u,r._`${a}.validate`),()=>n.assign(c,r._`"string"`).assign(u,a)),e.fail$data((0,r.or)(!1===l.strictSchema?r.nil:r._`${s} && !${u}`,function(){const e=d.$async?r._`(${a}.async ? await ${u}(${o}) : ${u}(${o}))`:r._`${u}(${o})`,n=r._`(typeof ${u} == "function" ? ${e} : ${u}.test(${o}))`;return r._`${u} && ${u} !== true && ${c} === ${t} && !${n}`}()))}():function(){const i=f.formats[a];if(!i)return void function(){if(!1===l.strictSchema)return void f.logger.warn(e());throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${u}"`}}();if(!0===i)return;const[s,c,h]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):l.code.formats?r._`${l.code.formats}${(0,r.getProperty)(a)}`:void 0,o=n.scopeValue("formats",{key:a,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);s===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!d.$async)throw new Error("async format in sync schema");return r._`await ${h}(${o})`}return"function"==typeof c?r._`${h}(${o})`:r._`${h}.test(${o})`}())}())}};t.default=o},7532(e,t,n){"use strict";const r=[n(4737).default];t.default=r},9857(e,t){"use strict";t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},7935(e,t,n){"use strict";const r=n(9029),o=n(4227),i=n(6250),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:a,schemaCode:s,schema:c}=e;a||c&&"object"==typeof c?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${s})`):e.fail(r._`${c} !== ${n}`)}};t.default=a},8643(e,t,n){"use strict";const r=n(9029),o=n(4227),i=n(6250),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:a,schema:s,schemaCode:c,it:l}=e;if(!a&&0===s.length)throw new Error("enum must have non-empty array");const u=s.length>=l.opts.loopEnum;let d;const f=()=>null!=d?d:d=(0,o.useFunc)(t,i.default);let h;if(u||a)h=t.let("valid"),e.block$data(h,function(){t.assign(h,!1),t.forOf("v",c,e=>t.if(r._`${f()}(${n}, ${e})`,()=>t.assign(h,!0).break()))});else{if(!Array.isArray(s))throw new Error("ajv implementation error");const e=t.const("vSchema",c);h=(0,r.or)(...s.map((t,o)=>function(e,t){const o=s[t];return"object"==typeof o&&null!==o?r._`${f()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o)))}e.pass(h)}};t.default=a},7060(e,t,n){"use strict";const r=n(5882),o=n(3439),i=n(7307),a=n(422),s=n(4486),c=n(4003),l=n(1163),u=n(617),d=n(7935),f=n(8643),h=[r.default,o.default,i.default,a.default,s.default,c.default,l.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,f.default];t.default=h},1163(e,t,n){"use strict";const r=n(9029),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},7307(e,t,n){"use strict";const r=n(9029),o=n(4227),i=n(3853),a={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`}
7,code(e){const{keyword:t,data:n,schemaCode:a,it:s}=e,c="maxLength"===t?r.operators.GT:r.operators.LT,l=!1===s.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${l} ${c} ${a}`)}};t.default=a},5882(e,t,n){"use strict";const r=n(9029),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},a={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},s={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:a,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=s},4486(e,t,n){"use strict";const r=n(9029),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},3439(e,t,n){"use strict";const r=n(9029),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,a=i.opts.multipleOfPrecision,s=t.let("res"),c=a?r._`Math.abs(Math.round(${s}) - ${s}) > 1e-${a}`:r._`${s} !== parseInt(${s})`;e.fail$data(r._`(${o} === 0 || (${s} = ${n}/${o}, ${c}))`)}};t.default=o},422(e,t,n){"use strict";const r=n(5765),o=n(4227),i=n(9029),a={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>i.str`must match pattern "${e}"`,params:({schemaCode:e})=>i._`{pattern: ${e}}`},code(e){const{gen:t,data:n,$data:a,schema:s,schemaCode:c,it:l}=e,u=l.opts.unicodeRegExp?"u":"";if(a){const{regExp:r}=l.opts.code,a="new RegExp"===r.code?i._`new RegExp`:(0,o.useFunc)(t,r),s=t.let("valid");t.try(()=>t.assign(s,i._`${a}(${c}, ${u}).test(${n})`),()=>t.assign(s,!1)),e.fail$data(i._`!${s}`)}else{const t=(0,r.usePattern)(e,s);e.fail$data(i._`!${t}.test(${n})`)}}};t.default=a},4003(e,t,n){"use strict";const r=n(5765),o=n(9029),i=n(4227),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:a,data:s,$data:c,it:l}=e,{opts:u}=l;if(!c&&0===n.length)return;const d=n.length>=u.loopRequired;if(l.allErrors?function(){if(d||c)e.block$data(o.nil,f);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(d||c){const n=t.let("valid",!0);e.block$data(n,()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,a,()=>{t.assign(i,(0,r.propertyInData)(t,s,n,u.ownProperties)),t.if((0,o.not)(i),()=>{e.error(),t.break()})},o.nil)}(i,n)),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(l,t,l.opts.strictRequired)}}function f(){t.forOf("prop",a,n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,s,n,u.ownProperties),()=>e.error())})}}};t.default=a},617(e,t,n){"use strict";const r=n(208),o=n(9029),i=n(4227),a=n(6250),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:s,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!s&&!c)return;const f=t.let("valid"),h=l.items?(0,r.getSchemaTypes)(l.items):[];function p(i,a){const s=t.name("item"),c=(0,r.checkDataTypes)(h,s,d.opts.strictNumbers,r.DataType.Wrong),l=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,()=>{t.let(s,o._`${n}[${i}]`),t.if(c,o._`continue`),h.length>1&&t.if(o._`typeof ${s} == "string"`,o._`${s} += "_"`),t.if(o._`typeof ${l}[${s}] == "number"`,()=>{t.assign(a,o._`${l}[${s}]`),e.error(),t.assign(f,!1).break()}).code(o._`${l}[${s}] = ${i}`)})}function m(r,s){const c=(0,i.useFunc)(t,a.default),l=t.name("outer");t.label(l).for(o._`;${r}--;`,()=>t.for(o._`${s} = ${r}; ${s}--;`,()=>t.if(o._`${c}(${n}[${r}], ${n}[${s}])`,()=>{e.error(),t.assign(f,!1).break(l)})))}e.block$data(f,function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(f,!0),t.if(o._`${r} > 1`,()=>(h.length>0&&!h.some(e=>"object"===e||"array"===e)?p:m)(r,i))},o._`${u} === false`),e.ok(f)}};t.default=s},3287(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());
7a.push([e.id,'@layer defaults {\n  :root {\n    --readthedocs-font-family:\n      "Lato", "proxima-nova", "Helvetica Neue", "Arial", sans-serif;\n    --readthedocs-font-size: 1rem;\n  }\n\n  :root[data-readthedocs-tool="mkdocs-material"] {\n    --readthedocs-font-size: 1.455em;\n    --readthedocs-filetreediff-icon-width: 0.6rem;\n  }\n\n  :root[data-readthedocs-tool="zensical"] {\n    --readthedocs-font-size: 1.455em;\n    --readthedocs-filetreediff-icon-width: 0.6rem;\n  }\n\n  :root[data-readthedocs-tool="antora"] {\n    --readthedocs-flyout-font-size: 0.7em;\n    --readthedocs-notification-font-size: 0.75em;\n  }\n\n  :root[data-readthedocs-tool="mdbook"] {\n    --readthedocs-font-size: 1.3rem;\n  }\n\n  :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="furo"] {\n    --readthedocs-font-size: 0.9em;\n  }\n\n  :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="immaterial"] {\n    --readthedocs-font-size: 1.45em;\n  }\n}\n',"",{version:3,sources:["webpack://./src/defaults.css"],names:[],mappings:"AAAA;EACE;IACE;mEAC+D;IAC/D,6BAA6B;EAC/B;;EAEA;IACE,gCAAgC;IAChC,6CAA6C;EAC/C;;EAEA;IACE,gCAAgC;IAChC,6CAA6C;EAC/C;;EAEA;IACE,qCAAqC;IACrC,4CAA4C;EAC9C;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,+BAA+B;EACjC;AACF",sourcesContent:['@layer defaults {\n  :root {\n    --readthedocs-font-family:\n      "Lato", "proxima-nova", "Helvetica Neue", "Arial", sans-serif;\n    --readthedocs-font-size: 1rem;\n  }\n\n  :root[data-readthedocs-tool="mkdocs-material"] {\n    --readthedocs-font-size: 1.455em;\n    --readthedocs-filetreediff-icon-width: 0.6rem;\n  }\n\n  :root[data-readthedocs-tool="zensical"] {\n    --readthedocs-font-size: 1.455em;\n    --readthedocs-filetreediff-icon-width: 0.6rem;\n  }\n\n  :root[data-readthedocs-tool="antora"] {\n    --readthedocs-flyout-font-size: 0.7em;\n    --readthedocs-notification-font-size: 0.75em;\n  }\n\n  :root[data-readthedocs-tool="mdbook"] {\n    --readthedocs-font-size: 1.3rem;\n  }\n\n  :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="furo"] {\n    --readthedocs-font-size: 0.9em;\n  }\n\n  :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="immaterial"] {\n    --readthedocs-font-size: 1.45em;\n  }\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},2374(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'/* Example copied from */\n/* https://www.w3schools.com/howto/howto_css_switch.asp */\n\n/* The switch - the box around the slider */\n:host .switch {\n  position: relative;\n  display: inline-block;\n  width: 60px;\n  height: 34px;\n}\n\n/* Hide default HTML checkbox */\n:host .switch input {\n  opacity: 0;\n  width: 0;\n  height: 0;\n}\n\n/* The slider */\n:host .slider {\n  position: absolute;\n  cursor: pointer;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  background-color: #ccc;\n  -webkit-transition: 0.4s;\n  transition: 0.4s;\n}\n\n:host .slider:before {\n  position: absolute;\n  content: "";\n  height: 26px;\n  width: 26px;\n  left: 4px;\n  bottom: 4px;\n  background-color: white;\n  -webkit-transition: 0.4s;\n  transition: 0.4s;\n}\n\n:host input:checked + .slider {\n  background-color: #2196f3;\n}\n\n:host input:focus + .slider {\n  box-shadow: 0 0 1px #2196f3;\n}\n\n:host input:checked + .slider:before {\n  -webkit-transform: translateX(26px);\n  -ms-transform: translateX(26px);\n  transform: translateX(26px);\n}\n\n/* Rounded sliders */\n:host .slider.round {\n  border-radius: 34px;\n}\n\n:host .slider.round:before {\n  border-radius: 50%;\n}\n',"",{version:3,sources:["webpack://./src/docdiff.css"],names:[],mappings:"AAAA,wBAAwB;AACxB,yDAAyD;;AAEzD,2CAA2C;AAC3C;EACE,kBAAkB;EAClB,qBAAqB;EACrB,WAAW;EACX,YAAY;AACd;;AAEA,+BAA+B;AAC/B;EACE,UAAU;EACV,QAAQ;EACR,SAAS;AACX;;AAEA,eAAe;AACf;EACE,kBAAkB;EAClB,eAAe;EACf,MAAM;EACN,OAAO;EACP,QAAQ;EACR,SAAS;EACT,sBAAsB;EACtB,wBAAwB;EACxB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,WAAW;EACX,SAAS;EACT,WAAW;EACX,uBAAuB;EACvB,wBAAwB;EACxB,gBAAgB;AAClB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,mCAAmC;EACnC,+BAA+B;EAC/B,2BAA2B;AAC7B;;AAEA,oBAAoB;AACpB;EACE,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;AACpB",sourcesContent:['/* Example copied from */\n/* https://www.w3schools.com/howto/howto_css_switch.asp */\n\n/* The switch - the box around the slider */\n:h
7ost .switch {\n  position: relative;\n  display: inline-block;\n  width: 60px;\n  height: 34px;\n}\n\n/* Hide default HTML checkbox */\n:host .switch input {\n  opacity: 0;\n  width: 0;\n  height: 0;\n}\n\n/* The slider */\n:host .slider {\n  position: absolute;\n  cursor: pointer;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  background-color: #ccc;\n  -webkit-transition: 0.4s;\n  transition: 0.4s;\n}\n\n:host .slider:before {\n  position: absolute;\n  content: "";\n  height: 26px;\n  width: 26px;\n  left: 4px;\n  bottom: 4px;\n  background-color: white;\n  -webkit-transition: 0.4s;\n  transition: 0.4s;\n}\n\n:host input:checked + .slider {\n  background-color: #2196f3;\n}\n\n:host input:focus + .slider {\n  box-shadow: 0 0 1px #2196f3;\n}\n\n:host input:checked + .slider:before {\n  -webkit-transform: translateX(26px);\n  -ms-transform: translateX(26px);\n  transform: translateX(26px);\n}\n\n/* Rounded sliders */\n:host .slider.round {\n  border-radius: 34px;\n}\n\n:host .slider.round:before {\n  border-radius: 50%;\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},3329(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".doc-diff-added {\n  background-color: rgb(171, 242, 188);\n  text-decoration: none;\n}\n\n.doc-diff-modified {\n}\n\n.doc-diff-removed {\n  background-color: rgba(255, 129, 130, 0.4);\n  text-decoration: none;\n}\n\n.doc-diff-chunk-selected {\n  background-color: rgba(254, 250, 212, 0.6);\n}\n","",{version:3,sources:["webpack://./src/docdiff.document.css"],names:[],mappings:"AAAA;EACE,oCAAoC;EACpC,qBAAqB;AACvB;;AAEA;AACA;;AAEA;EACE,0CAA0C;EAC1C,qBAAqB;AACvB;;AAEA;EACE,0CAA0C;AAC5C",sourcesContent:[".doc-diff-added {\n  background-color: rgb(171, 242, 188);\n  text-decoration: none;\n}\n\n.doc-diff-modified {\n}\n\n.doc-diff-removed {\n  background-color: rgba(255, 129, 130, 0.4);\n  text-decoration: none;\n}\n\n.doc-diff-chunk-selected {\n  background-color: rgba(254, 250, 212, 0.6);\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},4333(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'/* Read the Docs promotional block, only applicable to RTD.org\n\nTo support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are\ntargeted using the theme identifier and use custom elements instead of a CSS\nframework html structure.\n\n*/\n\ndiv.ethical-sidebar,\ndiv.ethical-footer {\n  display: block !important;\n}\n.ethical-sidebar,\n.ethical-footer {\n  padding: 0.5em;\n  margin: 1em 0;\n}\n.ethical-sidebar img,\n.ethical-footer img {\n  width: 120px;\n  height: 90px;\n  display: inline-block;\n}\n.ethical-sidebar .ethical-callout,\n.ethical-footer .ethical-callout {\n  padding-top: 1em;\n  clear: both;\n}\n.ethical-sidebar .ethical-pixel,\n.ethical-footer .ethical-pixel,\n.ethical-fixedfooter .ethical-pixel {\n  display: none !important;\n}\n.ethical-sidebar .ethical-text,\n.ethical-footer .ethical-text {\n  margin-top: 1em;\n}\n.ethical-sidebar .ethical-image-link,\n.ethical-footer .ethical-image-link {\n  border: 0;\n}\n\n.ethical-sidebar .ea-cta,\n.ethical-footer .ea-cta {\n  display: block;\n  border: 1px solid #ccc;\n  border-radius: 0.5em;\n  margin-top: 0.5em;\n  margin-left: 1em;\n  margin-right: 1em;\n}\n\n.ethical-sidebar,\n.ethical-footer {\n  background-color: #eee;\n  border: 1px solid #ccc;\n  border-radius: 5px;\n  color: #0a0a0a;\n  font-size: 14px;\n  line-height: 20px;\n}\n\n/* Techstack badging */\n.ethical-sidebar ul {\n  margin: 0 !important;\n  padding-left: 0;\n  list-style: none;\n}\n.ethical-sidebar ul li {\n  display: inline-block;\n  background-color: lightskyblue;\n  color: black;\n  padding: 0.25em 0.4em;\n  font-size: 75%;\n  font-weight: 700;\n  margin: 0.25em;\n  border-radius: 0.25rem;\n  text-align: center;\n  vertical-align: baseline;\n  white-space: nowrap;\n  line-height: 1.41;\n}\n.ethical-sidebar ul li:not(:last-child) {\n  margin-right: 0.25rem;\n}\n\n.ethical-sidebar a,\n.ethical-sidebar a:visited,\n.ethical-sidebar a:hover,\n.ethical-sidebar a:active,\n.ethical-footer a,\n.ethical-footer a:visited,\n.ethical-footer a:hover,\n.ethical-footer a:active {\n  color: #0a0a0a;\n  text-decoration: none !important;\n  border-bottom: 0 !important;\n}\n\n.ethical-callout a {\n  color: #707070 !important;\n  text-decoration: none !important;\n}\n\n/* Sidebar promotions */\n.ethical-sidebar {\n  text-align: center;\n  max-width: 300px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* Footer promotions */\n.ethical-footer {\n  text-align: left;\n\n  font-size: 14px;\n  line-height: 20px;\n}\n.ethical-footer img {\n  float: right;\n  margin-left: 25px;\n}\n.ethical-footer .ethical-callout {\n  text-align: center;\n}\n.ethical-footer small {\n  font-size: 10px;\n}\n\n/* Fixed footer promotions */\n.ethical-fixedfooter {\n  box-sizing: border-box;\n  position: fixed;\n  bottom: 0;\n  left: 0;\n  z-index: 100;\n  background-color: #eee;\n  border-top: 1px solid #bfbfbf;\n  font-size: 12px;\n  line-height: 1.5;\n  padding: 0.5em 1.5em;\n  text-align: center;
7\n  color: #404040;\n  width: 100%; /* Fallback for Opera Mini */\n  width: 100vw;\n}\n@media (min-width: 769px) {\n  /* Improve viewing on non-mobile */\n  .ethical-fixedfooter {\n    font-size: 13px;\n    padding: 1em 1.5em;\n  }\n}\n.ethical-fixedfooter .ethical-text:before {\n  margin-right: 4px;\n  padding: 2px 6px;\n  border-radius: 3px;\n  background-color: #4caf50;\n  color: #fff;\n  content: "Sponsored";\n}\n.ethical-fixedfooter .ethical-callout {\n  color: #999;\n  padding-left: 6px;\n  white-space: nowrap;\n}\n.ethical-fixedfooter a,\n.ethical-fixedfooter a:hover,\n.ethical-fixedfooter a:active,\n.ethical-fixedfooter a:visited {\n  color: #404040;\n  text-decoration: none;\n}\n.ethical-fixedfooter .ethical-close {\n  position: absolute;\n  top: 0;\n  right: 5px;\n  font-size: 20px;\n  line-height: 20px;\n}\n\n/* RTD Theme specific customizations */\n.wy-nav-side .ethical-rtd {\n  /* RTD theme doesn\'t correctly set the sidebar width */\n  max-width: 300px;\n  padding: 0 1em;\n}\n.ethical-rtd .ethical-sidebar {\n  /* RTD theme doesn\'t set sidebar text color */\n  color: #b3b3b3;\n\n  font-size: 14px;\n  line-height: 20px;\n}\n\n@media (min-width: 769px) {\n  /* Make sure the fixed footer ad is under the RTD theme version selector */\n  .wy-body-for-nav .ethical-fixedfooter {\n    padding-left: 300px;\n  }\n}\n\n/* Light theme customizations for non-Alabaster themes */\n.ethical-light-theme hr {\n  /* Add spacing before the footer ad */\n  margin-top: 2em;\n}\n.ethical-light-theme::before {\n  /* Clear floating elements above the ad */\n  clear: both;\n  content: "";\n  display: table;\n  margin-top: 3em;\n}\n\n/* Alabaster specific customizations */\n.ethical-alabaster a.ethical-image-link {\n  /* Alabaster adds a border even to image links on hover */\n  border: 0 !important;\n}\n.ethical-alabaster hr {\n  /* Alabaster needs some extra spacing before the footer ad */\n  margin-top: 2em;\n}\n.ethical-alabaster::before {\n  /* Alabaster\'s search box above the ad is floating */\n  clear: both;\n  content: "";\n  display: table;\n  margin-top: 3em;\n}\n\n/* Dark theme */\n.ethical-dark-theme .ethical-sidebar {\n  background-color: #4e4b4b;\n  border: 1px solid #a0a0a0;\n  color: #c2c2c2 !important;\n}\n.ethical-dark-theme a,\n.ethical-dark-theme a:visited {\n  color: #e6e6e6 !important;\n  border-bottom: 0 !important;\n}\n.ethical-dark-theme .ethical-callout a {\n  color: #b3b3b3 !important;\n}\n.ethical-dark-theme .ethical-sidebar .ea-cta,\n.ethical-dark-theme .ethical-footer .ea-cta {\n  border-color: #a0a0a0;\n}\n\n/* Docusaurus */\n.ethical-docusaurus {\n  margin-left: 10% !important;\n  margin-right: 10% !important;\n}\n\n/* Docsify */\n.ethical-docsify {\n  margin-left: 10% !important;\n  margin-right: 10% !important;\n}\n',"",{version:3,sources:["webpack://./src/ethicalads.css"],names:[],mappings:"AAAA;;;;;;CAMC;;AAED;;EAEE,yBAAyB;AAC3B;AACA;;EAEE,cAAc;EACd,aAAa;AACf;AACA;;EAEE,YAAY;EACZ,YAAY;EACZ,qBAAqB;AACvB;AACA;;EAEE,gBAAgB;EAChB,WAAW;AACb;AACA;;;EAGE,wBAAwB;AAC1B;AACA;;EAEE,eAAe;AACjB;AACA;;EAEE,SAAS;AACX;;AAEA;;EAEE,cAAc;EACd,sBAAsB;EACtB,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;;EAEE,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;EAClB,cAAc;EACd,eAAe;EACf,iBAAiB;AACnB;;AAEA,sBAAsB;AACtB;EACE,oBAAoB;EACpB,eAAe;EACf,gBAAgB;AAClB;AACA;EACE,qBAAqB;EACrB,8BAA8B;EAC9B,YAAY;EACZ,qBAAqB;EACrB,cAAc;EACd,gBAAgB;EAChB,cAAc;EACd,sBAAsB;EACtB,kBAAkB;EAClB,wBAAwB;EACxB,mBAAmB;EACnB,iBAAiB;AACnB;AACA;EACE,qBAAqB;AACvB;;AAEA;;;;;;;;EAQE,cAAc;EACd,gCAAgC;EAChC,2BAA2B;AAC7B;;AAEA;EACE,yBAAyB;EACzB,gCAAgC;AAClC;;AAEA,uBAAuB;AACvB;EACE,kBAAkB;EAClB,gBAAgB;EAChB,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA,sBAAsB;AACtB;EACE,gBAAgB;;EAEhB,eAAe;EACf,iBAAiB;AACnB;AACA;EACE,YAAY;EACZ,iBAAiB;AACnB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;;AAEA,4BAA4B;AAC5B;EACE,sBAAsB;EACtB,eAAe;EACf,SAAS;EACT,OAAO;EACP,YAAY;EACZ,sBAAsB;EACtB,6BAA6B;EAC7B,eAAe;EACf,gBAAgB;EAChB,oBAAoB;EACpB,kBAAkB;EAClB,cAAc;EACd,WAAW,EAAE,4BAA4B;EACzC,YAAY;AACd;AACA;EACE,kCAAkC;EAClC;IACE,eAAe;IACf,kBAAkB;EACpB;AACF;AACA;EACE,iBAAiB;EACjB,gBAAgB;EAChB,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;EACX,oBAAoB;AACtB;AACA;EACE,WAAW;EACX,iBAAiB;EACjB,mBAAmB;AACrB;AACA;;;;EAIE,cAAc;EACd,qBAAqB;AACvB;AACA;EACE,kBAAkB;EAClB,MAAM;EACN,UAAU;EACV,eAAe;EACf,iBAAiB;AACnB;;AAEA,sCAAsC;AACtC;EACE,sDAAsD;EACtD,gBAAgB;EAChB,cAAc;AAChB;AACA;EACE,6CAA6C;EAC7C,cAAc;;EAEd,eAAe;EACf,iBAAiB;AACnB;;AAEA;EACE,0EAA0E;EAC1E;IACE,mBAAmB;EACrB;AACF;;AAEA,wDAAwD;AACxD;EACE,qCAAqC;EACrC,eAAe;AACjB;AACA;EACE,yCAAyC;EACzC,WAAW;EACX,WAAW;EACX,cAAc;EACd,eAAe;AACjB;;AAEA,sCAAsC;AACtC;EACE,yDAAyD;EACzD,oBAAoB;AACtB;AACA;EACE,4DAA4D;EAC5D,eAAe;AACjB;AACA;EACE,oDAAoD;EACpD,WAAW;EACX,WAAW;EACX,cAAc;EACd,eAAe;AACjB;;AAEA,eAAe;AACf;EACE,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;AAC3B;AACA;;EAEE,yBAAyB;EACzB,2BAA2B;AAC7B;AACA;EACE,yBAAyB;AAC3B;AACA;;EAEE,qBAAqB;AACvB;;AAEA,eAAe;AACf;EACE,2BAA2B;EAC3B,4BAA4B;AAC9B;;AAEA,YAAY;
7AACZ;EACE,2BAA2B;EAC3B,4BAA4B;AAC9B",sourcesContent:['/* Read the Docs promotional block, only applicable to RTD.org\n\nTo support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are\ntargeted using the theme identifier and use custom elements instead of a CSS\nframework html structure.\n\n*/\n\ndiv.ethical-sidebar,\ndiv.ethical-footer {\n  display: block !important;\n}\n.ethical-sidebar,\n.ethical-footer {\n  padding: 0.5em;\n  margin: 1em 0;\n}\n.ethical-sidebar img,\n.ethical-footer img {\n  width: 120px;\n  height: 90px;\n  display: inline-block;\n}\n.ethical-sidebar .ethical-callout,\n.ethical-footer .ethical-callout {\n  padding-top: 1em;\n  clear: both;\n}\n.ethical-sidebar .ethical-pixel,\n.ethical-footer .ethical-pixel,\n.ethical-fixedfooter .ethical-pixel {\n  display: none !important;\n}\n.ethical-sidebar .ethical-text,\n.ethical-footer .ethical-text {\n  margin-top: 1em;\n}\n.ethical-sidebar .ethical-image-link,\n.ethical-footer .ethical-image-link {\n  border: 0;\n}\n\n.ethical-sidebar .ea-cta,\n.ethical-footer .ea-cta {\n  display: block;\n  border: 1px solid #ccc;\n  border-radius: 0.5em;\n  margin-top: 0.5em;\n  margin-left: 1em;\n  margin-right: 1em;\n}\n\n.ethical-sidebar,\n.ethical-footer {\n  background-color: #eee;\n  border: 1px solid #ccc;\n  border-radius: 5px;\n  color: #0a0a0a;\n  font-size: 14px;\n  line-height: 20px;\n}\n\n/* Techstack badging */\n.ethical-sidebar ul {\n  margin: 0 !important;\n  padding-left: 0;\n  list-style: none;\n}\n.ethical-sidebar ul li {\n  display: inline-block;\n  background-color: lightskyblue;\n  color: black;\n  padding: 0.25em 0.4em;\n  font-size: 75%;\n  font-weight: 700;\n  margin: 0.25em;\n  border-radius: 0.25rem;\n  text-align: center;\n  vertical-align: baseline;\n  white-space: nowrap;\n  line-height: 1.41;\n}\n.ethical-sidebar ul li:not(:last-child) {\n  margin-right: 0.25rem;\n}\n\n.ethical-sidebar a,\n.ethical-sidebar a:visited,\n.ethical-sidebar a:hover,\n.ethical-sidebar a:active,\n.ethical-footer a,\n.ethical-footer a:visited,\n.ethical-footer a:hover,\n.ethical-footer a:active {\n  color: #0a0a0a;\n  text-decoration: none !important;\n  border-bottom: 0 !important;\n}\n\n.ethical-callout a {\n  color: #707070 !important;\n  text-decoration: none !important;\n}\n\n/* Sidebar promotions */\n.ethical-sidebar {\n  text-align: center;\n  max-width: 300px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* Footer promotions */\n.ethical-footer {\n  text-align: left;\n\n  font-size: 14px;\n  line-height: 20px;\n}\n.ethical-footer img {\n  float: right;\n  margin-left: 25px;\n}\n.ethical-footer .ethical-callout {\n  text-align: center;\n}\n.ethical-footer small {\n  font-size: 10px;\n}\n\n/* Fixed footer promotions */\n.ethical-fixedfooter {\n  box-sizing: border-box;\n  position: fixed;\n  bottom: 0;\n  left: 0;\n  z-index: 100;\n  background-color: #eee;\n  border-top: 1px solid #bfbfbf;\n  font-size: 12px;\n  line-height: 1.5;\n  padding: 0.5em 1.5em;\n  text-align: center;\n  color: #404040;\n  width: 100%; /* Fallback for Opera Mini */\n  width: 100vw;\n}\n@media (min-width: 769px) {\n  /* Improve viewing on non-mobile */\n  .ethical-fixedfooter {\n    font-size: 13px;\n    padding: 1em 1.5em;\n  }\n}\n.ethical-fixedfooter .ethical-text:before {\n  margin-right: 4px;\n  padding: 2px 6px;\n  border-radius: 3px;\n  background-color: #4caf50;\n  color: #fff;\n  content: "Sponsored";\n}
7\n.ethical-fixedfooter .ethical-callout {\n  color: #999;\n  padding-left: 6px;\n  white-space: nowrap;\n}\n.ethical-fixedfooter a,\n.ethical-fixedfooter a:hover,\n.ethical-fixedfooter a:active,\n.ethical-fixedfooter a:visited {\n  color: #404040;\n  text-decoration: none;\n}\n.ethical-fixedfooter .ethical-close {\n  position: absolute;\n  top: 0;\n  right: 5px;\n  font-size: 20px;\n  line-height: 20px;\n}\n\n/* RTD Theme specific customizations */\n.wy-nav-side .ethical-rtd {\n  /* RTD theme doesn\'t correctly set the sidebar width */\n  max-width: 300px;\n  padding: 0 1em;\n}\n.ethical-rtd .ethical-sidebar {\n  /* RTD theme doesn\'t set sidebar text color */\n  color: #b3b3b3;\n\n  font-size: 14px;\n  line-height: 20px;\n}\n\n@media (min-width: 769px) {\n  /* Make sure the fixed footer ad is under the RTD theme version selector */\n  .wy-body-for-nav .ethical-fixedfooter {\n    padding-left: 300px;\n  }\n}\n\n/* Light theme customizations for non-Alabaster themes */\n.ethical-light-theme hr {\n  /* Add spacing before the footer ad */\n  margin-top: 2em;\n}\n.ethical-light-theme::before {\n  /* Clear floating elements above the ad */\n  clear: both;\n  content: "";\n  display: table;\n  margin-top: 3em;\n}\n\n/* Alabaster specific customizations */\n.ethical-alabaster a.ethical-image-link {\n  /* Alabaster adds a border even to image links on hover */\n  border: 0 !important;\n}\n.ethical-alabaster hr {\n  /* Alabaster needs some extra spacing before the footer ad */\n  margin-top: 2em;\n}\n.ethical-alabaster::before {\n  /* Alabaster\'s search box above the ad is floating */\n  clear: both;\n  content: "";\n  display: table;\n  margin-top: 3em;\n}\n\n/* Dark theme */\n.ethical-dark-theme .ethical-sidebar {\n  background-color: #4e4b4b;\n  border: 1px solid #a0a0a0;\n  color: #c2c2c2 !important;\n}\n.ethical-dark-theme a,\n.ethical-dark-theme a:visited {\n  color: #e6e6e6 !important;\n  border-bottom: 0 !important;\n}\n.ethical-dark-theme .ethical-callout a {\n  color: #b3b3b3 !important;\n}\n.ethical-dark-theme .ethical-sidebar .ea-cta,\n.ethical-dark-theme .ethical-footer .ea-cta {\n  border-color: #a0a0a0;\n}\n\n/* Docusaurus */\n.ethical-docusaurus {\n  margin-left: 10% !important;\n  margin-right: 10% !important;\n}\n\n/* Docsify */\n.ethical-docsify {\n  margin-left: 10% !important;\n  margin-right: 10% !important;\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},9358(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,"@layer defaults {\n  :root {\n    --readthedocs-filetreediff-font-size: calc(\n      var(--readthedocs-font-size) * 0.85\n    );\n    --readthedocs-filetreediff-font-family: var(--readthedocs-font-family);\n\n    --readthedocs-filetreediff-color: rgb(252, 252, 252);\n    --readthedocs-filetreediff-background-color: rgb(39, 39, 37);\n    --readthedocs-filetreediff-border-color: #ddd;\n    --readthedocs-filetreediff-label-color: #333;\n    --readthedocs-filetreediff-chunks-color: #27ae60;\n    --readthedocs-filetreediff-icon-width: 0.8rem;\n  }\n}\n\n:host > div {\n  position: fixed;\n  top: 0;\n  right: 1em;\n  color: var(--readthedocs-filetreediff-color);\n  background-color: var(--readthedocs-filetreediff-background-color);\n  padding: 0.25em 0.75em;\n  box-shadow: 0 0.1em 0.25em rgba(0, 0, 0, 0.1);\n  z-index: 2000;\n  border-radius: 0 0 0.375em 0.375em;\n  font-size: var(--readthedocs-filetreediff-font-size);\n  font-family: var(--readthedocs-filetreediff-font-family);\n}\n\n:host > div > div {\n  display: flex;\n  gap: 0.75em;\n  align-items: center;\n}\n\n:host > div > div > select {\n  flex: 1;\n  padding: 0.25em 0.5em;\n  border: 0;\n  color: var(--readthedocs-filetreediff-color);\n  background-color: var(--readthedocs-filetreediff-background-color);\n  border-radius: 0.25em;\n  appearance: revert;\n}\n\n:host > div > div > label {\n  display: flex;\n  align-items: center;\n  gap: 0.35em;\n  white-space: nowrap;\n  cursor: pointer;\n}\n\n:host > div > div > label > input {\n  margin: 0;\n}\n\n:host > div > div > span:not(.chunks) {\n  display: flex;\n  width: 0.5em;\n  cursor: pointer;\n}\n\n:host > div > div > span:not(.chunks) svg {\n  min-height: 1em;\n}\n\n:host > div > div > span.chunks {\n  color: var(--readthedocs-filetreediff-chunks-color);\n  font-weight: bold;\n  display: flex;\n  min-width: 2.5em;
7\n}\n\n:host > div > div > a {\n  width: var(--readthedocs-filetreediff-icon-width);\n  color: var(--readthedocs-filetreediff-color);\n}\n\n:host > div > div > a.version {\n  width: auto;\n  text-decoration: none;\n  color: var(--readthedocs-filetreediff-chunks-color, #27ae60);\n}\n\n/* Expand to full width on smaller screens */\n@media (max-width: 768px) {\n  :host > div {\n    width: calc(100% - 1em);\n    margin: 0;\n    right: 0;\n    border-radius: 0;\n    padding: 0.5em;\n  }\n\n  :host > div > div > select {\n    width: 100%;\n    border: 0;\n  }\n}\n","",{version:3,sources:["webpack://./src/filetreediff.css"],names:[],mappings:"AAAA;EACE;IACE;;KAEC;IACD,sEAAsE;;IAEtE,oDAAoD;IACpD,4DAA4D;IAC5D,6CAA6C;IAC7C,4CAA4C;IAC5C,gDAAgD;IAChD,6CAA6C;EAC/C;AACF;;AAEA;EACE,eAAe;EACf,MAAM;EACN,UAAU;EACV,4CAA4C;EAC5C,kEAAkE;EAClE,sBAAsB;EACtB,6CAA6C;EAC7C,aAAa;EACb,kCAAkC;EAClC,oDAAoD;EACpD,wDAAwD;AAC1D;;AAEA;EACE,aAAa;EACb,WAAW;EACX,mBAAmB;AACrB;;AAEA;EACE,OAAO;EACP,qBAAqB;EACrB,SAAS;EACT,4CAA4C;EAC5C,kEAAkE;EAClE,qBAAqB;EACrB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,mBAAmB;EACnB,eAAe;AACjB;;AAEA;EACE,SAAS;AACX;;AAEA;EACE,aAAa;EACb,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,mDAAmD;EACnD,iBAAiB;EACjB,aAAa;EACb,gBAAgB;AAClB;;AAEA;EACE,iDAAiD;EACjD,4CAA4C;AAC9C;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,4DAA4D;AAC9D;;AAEA,4CAA4C;AAC5C;EACE;IACE,uBAAuB;IACvB,SAAS;IACT,QAAQ;IACR,gBAAgB;IAChB,cAAc;EAChB;;EAEA;IACE,WAAW;IACX,SAAS;EACX;AACF",sourcesContent:["@layer defaults {\n  :root {\n    --readthedocs-filetreediff-font-size: calc(\n      var(--readthedocs-font-size) * 0.85\n    );\n    --readthedocs-filetreediff-font-family: var(--readthedocs-font-family);\n\n    --readthedocs-filetreediff-color: rgb(252, 252, 252);\n    --readthedocs-filetreediff-background-color: rgb(39, 39, 37);\n    --readthedocs-filetreediff-border-color: #ddd;\n    --readthedocs-filetreediff-label-color: #333;\n    --readthedocs-filetreediff-chunks-color: #27ae60;\n    --readthedocs-filetreediff-icon-width: 0.8rem;\n  }\n}\n\n:host > div {\n  position: fixed;\n  top: 0;\n  right: 1em;\n  color: var(--readthedocs-filetreediff-color);\n  background-color: var(--readthedocs-filetreediff-background-color);\n  padding: 0.25em 0.75em;\n  box-shadow: 0 0.1em 0.25em rgba(0, 0, 0, 0.1);\n  z-index: 2000;\n  border-radius: 0 0 0.375em 0.375em;\n  font-size: var(--readthedocs-filetreediff-font-size);\n  font-family: var(--readthedocs-filetreediff-font-family);\n}\n\n:host > div > div {\n  display: flex;\n  gap: 0.75em;\n  align-items: center;\n}\n\n:host > div > div > select {\n  flex: 1;\n  padding: 0.25em 0.5em;\n  border: 0;\n  color: var(--readthedocs-filetreediff-color);\n  background-color: var(--readthedocs-filetreediff-background-color);\n  border-radius: 0.25em;\n  appearance: revert;\n}\n\n:host > div > div > label {\n  display: flex;\n  align-items: center;\n  gap: 0.35em;\n  white-space: nowrap;\n  cursor: pointer;\n}\n\n:host > div > div > label > input {\n  margin: 0;\n}\n\n:host > div > div > span:not(.chunks) {\n  display: flex;\n  width: 0.5em;\n  cursor: pointer;\n}\n\n:host > div > div > span:not(.chunks) svg {\n  min-height: 1em;\n}\n\n:host > div > div > span.chunks {\n  color: var(--readthedocs-filetreediff-chunks-color);\n  font-weight: bold;\n  display: flex;\n  min-width: 2.5em;\n}\n\n:host > div > div > a {\n  width: var(--readthedocs-filetreediff-icon-width);\n  color: var(--readthedocs-filetreediff-color);\n}\n\n:host > div > div > a.version {\n  width: auto;\n  text-decoration: none;\n  color: var(--readthedocs-filetreediff-chunks-color, #27ae60);\n}\n\n/* Expand to full width on smaller screens */\n@media (max-width: 768px) {\n  :host > div {\n    width: calc(100% - 1em);\n    margin: 0;\n    right: 0;\n    border-radius: 0;\n    padding: 0.5em;\n  }\n\n  :host > div > div > select {\n    width: 100%;\n    border: 0;\n  }\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},5348(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,"/* Flyout styles */\n\n@layer defaults {\n  :root {\n    --readthedocs-flyout-max-width: 25em;\n\n    --readthedocs-flyout-font-family: var(--readthedocs-font-family);\n    --readthedocs-flyout-font-size: calc(var(--readthedocs-font-size) * 0.8);\n    --readthedocs-flyout-line-height: 1.25em;\n    --readthedocs-flyout-header-font-size: 1.125em;\n    --readthedocs-flyout-dt-font-size: 1.125em;\n    --readthedocs-flyout-dd-font-size: 1.125em;\n    --readthedocs-flyout-line-height: 1.25em;\n\n    --readthedocs-flyout-color: rgb(128, 128, 128);\n    --readthedocs-flyout-background-color: rgb(39, 39, 37);\n    --readthedocs-flyout-current-version-color: #27ae60;\n    --readthedocs-flyout-section-heading-color: rgb(128, 128, 128);\n    --readthedocs-flyout-item-link-color: rgb(252, 252, 252);\n    --readthedocs-flyout-divider-color: #413d3d;\n    --readthedocs-flyout-link-color: rgb(42, 128, 185);\n  }\n}\n\n.container {\n  position: fixed;\n  max-width: var(--readthedocs-flyout-max-width);\n  width: auto;\n  height: auto;\n  max-height: calc(100% - 100px);\n  overflow-y: auto;\n  line-height: var(--readthedocs-flyout-line-height);\n}\n\n.container.bottom-right {\n  right: 20px;\n  bottom: 50px;\n}\n\n.container.bottom-left {\n  left: 20px;\n  bottom: 50px;\n}\n\n.container.top-left {\n  left: 20px;\n  top: 50px;\n}\n\n.container.top-right {\n  right: 20px;\n  top: 50px;\n}\n\n:host > div {\n  font-family: var(--readthedocs-flyout-font-family);\n  font-size: var(--readthedocs-flyout-font-size);\n  color: var(--readthedocs-flyout-color);\n  background-color: var(--readthedocs-flyout-background-color);\n  line-height: var(--readthedocs-flyout-line-height);\n  z-index: 3000;\n  padding: 0 10px;\n  overflow-y: auto;\n}\n\nheader {\n  display: flex;\n  flex-flow: row nowrap;\n  gap: 0.5em;\n  align-items: center;
7\n  cursor: pointer;\n  background-color: var(--readthedocs-flyout-background-color);\n  position: sticky;\n  top: 0px;\n  font-size: var(--readthedocs-flyout-header-font-size);\n}\n\nheader > img.logo {\n  /* Total height of 1.5 + 0.5 + 0.5 = 2.5em */\n  max-height: 1.5em;\n  width: auto;\n  padding: 0.5em 0em;\n  margin-right: 0.75em;\n  /* Don't grow past content size, do shrink down to min-content */\n  flex: 0 1 auto;\n}\n\nheader > span {\n  color: var(--readthedocs-flyout-current-version-color);\n  font-size: var(--readthedocs-flyout-header-font-size);\n  margin-left: 10px;\n  /* Total height of 1 + 0.75 + 0.75 = 2.5em */\n  padding: 0.75em 0em;\n  line-height: 1em;\n  /* Don't grow past content size or shrink below min-content */\n  flex: 0 0 auto;\n  /* Trim content to get ellipsis on wide content */\n  text-overflow: ellipsis;\n  overflow: hidden;\n  white-space: nowrap;\n}\n\nheader > span.version {\n  /* Grow to fill parent based on content width, shrink content when needed (for ellipsis) */\n  flex: 0 1 auto;\n}\n\n/* Give the flex box extra spacing to the left of the first span item. This puts\n * automatic spacing between the logo and the text detail spans */\nheader > span:first-of-type {\n  margin-left: auto;\n}\n\nheader > span svg.icon {\n  color: rgb(128, 128, 128);\n  height: var(--readthedocs-flyout-header-font-size);\n  padding-right: 0.25em;\n  vertical-align: middle;\n}\n\nmain {\n  padding: 5px;\n  padding-bottom: 15px;\n  margin-top: 5px;\n}\n\nmain.closed {\n  display: none;\n}\n\ndl {\n  margin: 0;\n  padding: 0;\n}\n\ndl > dt {\n  font-size: var(--readthedocs-flyout-dt-font-size);\n  color: var(--readthedocs-flyout-section-heading-color);\n}\n\ndl > dd {\n  display: inline-block;\n  margin: 0;\n  font-size: var(--readthedocs-flyout-dd-font-size);\n}\n\ndd a {\n  text-decoration: none;\n  color: var(--readthedocs-flyout-item-link-color);\n  padding: 6px;\n  display: inline-block;\n}\n\ndd form {\n  padding: 6px;\n  margin: 0;\n}\n\ndd input {\n  padding: 6px;\n  font-size: 80%;\n}\n\nhr {\n  display: block;\n  height: 1px;\n  border: 0;\n  margin: 20px 0;\n  padding: 0;\n  border-top-width: 1px;\n  border-top-style: solid;\n  border-top-color: var(--readthedocs-flyout-divider-color);\n}\n\nsmall a {\n  text-decoration: none;\n  color: var(--readthedocs-flyout-link-color);\n}\n","",{version:3,sources:["webpack://./src/flyout.css"],names:[],mappings:"AAAA,kBAAkB;;AAElB;EACE;IACE,oCAAoC;;IAEpC,gEAAgE;IAChE,wEAAwE;IACxE,wCAAwC;IACxC,8CAA8C;IAC9C,0CAA0C;IAC1C,0CAA0C;IAC1C,wCAAwC;;IAExC,8CAA8C;IAC9C,sDAAsD;IACtD,mDAAmD;IACnD,8DAA8D;IAC9D,wDAAwD;IACxD,2CAA2C;IAC3C,kDAAkD;EACpD;AACF;;AAEA;EACE,eAAe;EACf,8CAA8C;EAC9C,WAAW;EACX,YAAY;EACZ,8BAA8B;EAC9B,gBAAgB;EAChB,kDAAkD;AACpD;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,UAAU;EACV,YAAY;AACd;;AAEA;EACE,UAAU;EACV,SAAS;AACX;;AAEA;EACE,WAAW;EACX,SAAS;AACX;;AAEA;EACE,kDAAkD;EAClD,8CAA8C;EAC9C,sCAAsC;EACtC,4DAA4D;EAC5D,kDAAkD;EAClD,aAAa;EACb,eAAe;EACf,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,qBAAqB;EACrB,UAAU;EACV,mBAAmB;EACnB,eAAe;EACf,4DAA4D;EAC5D,gBAAgB;EAChB,QAAQ;EACR,qDAAqD;AACvD;;AAEA;EACE,4CAA4C;EAC5C,iBAAiB;EACjB,WAAW;EACX,kBAAkB;EAClB,oBAAoB;EACpB,gEAAgE;EAChE,cAAc;AAChB;;AAEA;EACE,sDAAsD;EACtD,qDAAqD;EACrD,iBAAiB;EACjB,4CAA4C;EAC5C,mBAAmB;EACnB,gBAAgB;EAChB,6DAA6D;EAC7D,cAAc;EACd,iDAAiD;EACjD,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EACE,0FAA0F;EAC1F,cAAc;AAChB;;AAEA;iEACiE;AACjE;EACE,iBAAiB;AACnB;;AAEA;EACE,yBAAyB;EACzB,kDAAkD;EAClD,qBAAqB;EACrB,sBAAsB;AACxB;;AAEA;EACE,YAAY;EACZ,oBAAoB;EACpB,eAAe;AACjB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,SAAS;EACT,UAAU;AACZ;;AAEA;EACE,iDAAiD;EACjD,sDAAsD;AACxD;;AAEA;EACE,qBAAqB;EACrB,SAAS;EACT,iDAAiD;AACnD;;AAEA;EACE,qBAAqB;EACrB,gDAAgD;EAChD,YAAY;EACZ,qBAAqB;AACvB;;AAEA;EACE,YAAY;EACZ,SAAS;AACX;;AAEA;EACE,YAAY;EACZ,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,WAAW;EACX,SAAS;EACT,cAAc;EACd,UAAU;EACV,qBAAqB;EACrB,uBAAuB;EACvB,yDAAyD;AAC3D;;AAEA;EACE,qBAAqB;EACrB,2CAA2C;AAC7C",sourcesContent:["/* Flyout styles */\n\n@layer defaults {\n  :root {\n    --readthedocs-flyout-max-width: 25em;\n\n    --readthedocs-flyout-font-family: var(--readthedocs-font-family);\n    --readthedocs-flyout-font-size: calc(var(--readthedocs-font-size) * 0.8);\n    --readthedocs-flyout-line-height: 1.25em;\n    --readthedocs-flyout-header-font-size: 1.125em;\n    --readthedocs-flyout-dt-font-size: 1.125em;\n    --readthedocs-flyout-dd-font-size: 1.125em;\n    --readthedocs-flyout-line-height: 1.25em;\n\n    --readthedocs-flyout-color: rgb(128, 128, 128);\n    --readthedocs-flyout-background-color: rgb(39, 39, 37);\n    --readthedocs-flyout-current-version-color: #27ae60;\n    --readthedocs-flyout-section-heading-color: rgb(128, 128, 128);\n    --readthedocs-flyout-item-link-color: rgb(252, 252, 252);\n    --readthedocs-flyout-divider-color: #413d3d;\n    --readthedocs-flyout-link-color: rgb(42, 128, 185);\n  }\n}\n\n.container {\n  position: fixed;\n  max-width: var(--readthedocs-flyout-max-width);\n  width: auto;\n  height: auto;\n  max-height: calc(100% - 100px);\n  overflow-y: auto;\n  line-height: var(--readthedocs-flyout-line-height);\n}\n\n.container.bottom-right {\n  right: 20px;\n  bottom: 50px;\n}\n\n.container.bottom-left {\n  left: 20px;\n  bottom: 50px;\n}\n\n.container.top-left {\n  left: 20px;\n  top: 50px;\n}\n\n.container.top-right {\n  right: 20px;\n  top: 50px;\n}\n\n:host > div {\n  font-family: var(--readthedocs-flyout-font-family);\n  font-size: var(--readthedocs-flyout-font-size);\n  color: var(--readthedocs-flyout-color);\n  background-color: var(--readthedocs-flyout-background-color);\n  line-height: var(--readthedocs-flyout-line-height);\n  z-index: 3000;\n  padding: 0 10px;\n  overflow-y: auto;\n}\n\nheader {\n  display: flex;\n  flex-flow: row nowrap;\n  gap: 0.5em;\n  align-items: center;
7\n  cursor: pointer;\n  background-color: var(--readthedocs-flyout-background-color);\n  position: sticky;\n  top: 0px;\n  font-size: var(--readthedocs-flyout-header-font-size);\n}\n\nheader > img.logo {\n  /* Total height of 1.5 + 0.5 + 0.5 = 2.5em */\n  max-height: 1.5em;\n  width: auto;\n  padding: 0.5em 0em;\n  margin-right: 0.75em;\n  /* Don't grow past content size, do shrink down to min-content */\n  flex: 0 1 auto;\n}\n\nheader > span {\n  color: var(--readthedocs-flyout-current-version-color);\n  font-size: var(--readthedocs-flyout-header-font-size);\n  margin-left: 10px;\n  /* Total height of 1 + 0.75 + 0.75 = 2.5em */\n  padding: 0.75em 0em;\n  line-height: 1em;\n  /* Don't grow past content size or shrink below min-content */\n  flex: 0 0 auto;\n  /* Trim content to get ellipsis on wide content */\n  text-overflow: ellipsis;\n  overflow: hidden;\n  white-space: nowrap;\n}\n\nheader > span.version {\n  /* Grow to fill parent based on content width, shrink content when needed (for ellipsis) */\n  flex: 0 1 auto;\n}\n\n/* Give the flex box extra spacing to the left of the first span item. This puts\n * automatic spacing between the logo and the text detail spans */\nheader > span:first-of-type {\n  margin-left: auto;\n}\n\nheader > span svg.icon {\n  color: rgb(128, 128, 128);\n  height: var(--readthedocs-flyout-header-font-size);\n  padding-right: 0.25em;\n  vertical-align: middle;\n}\n\nmain {\n  padding: 5px;\n  padding-bottom: 15px;\n  margin-top: 5px;\n}\n\nmain.closed {\n  display: none;\n}\n\ndl {\n  margin: 0;\n  padding: 0;\n}\n\ndl > dt {\n  font-size: var(--readthedocs-flyout-dt-font-size);\n  color: var(--readthedocs-flyout-section-heading-color);\n}\n\ndl > dd {\n  display: inline-block;\n  margin: 0;\n  font-size: var(--readthedocs-flyout-dd-font-size);\n}\n\ndd a {\n  text-decoration: none;\n  color: var(--readthedocs-flyout-item-link-color);\n  padding: 6px;\n  display: inline-block;\n}\n\ndd form {\n  padding: 6px;\n  margin: 0;\n}\n\ndd input {\n  padding: 6px;\n  font-size: 80%;\n}\n\nhr {\n  display: block;\n  height: 1px;\n  border: 0;\n  margin: 20px 0;\n  padding: 0;\n  border-top-width: 1px;\n  border-top-style: solid;\n  border-top-color: var(--readthedocs-flyout-divider-color);\n}\n\nsmall a {\n  text-decoration: none;\n  color: var(--readthedocs-flyout-link-color);\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},6938(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".tooltip {\n  display: none;\n  max-width: 650px;\n  pointer-events: auto;\n  z-index: 9999999;\n  max-height: 80vh;\n  min-height: 100px;\n  position: absolute;\n  margin-bottom: 20px;\n  top: 0;\n  border: none;\n  border-radius: 5px;\n  background: #fff;\n  box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.1);\n}\n\n.tooltip .tooltip-content {\n  box-sizing: border-box;\n  max-height: 100%;\n  max-width: 100%;\n  overflow: auto;\n  padding: 18px;\n  color: #8d8d8d;\n  font-size: 80%;\n  line-height: 18px;\n}\n\n.tooltip .tooltip-content .headerlink {\n  visibility: hidden;\n}\n\n.tooltip .tooltip-content p {\n  font-size: 100%;\n}\n\n.tooltip .arrow {\n  position: absolute;\n  background: #fff;\n  width: 8px;\n  height: 8px;\n  transform: rotate(45deg);\n}\n\n.link-preview {\n  border-bottom: 1px dotted;\n}\n","",{version:3,sources:["webpack://./src/linkpreviews.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;EACjB,kBAAkB;EAClB,mBAAmB;EACnB,MAAM;EACN,YAAY;EACZ,kBAAkB;EAClB,gBAAgB;EAChB,2CAA2C;AAC7C;;AAEA;EACE,sBAAsB;EACtB,gBAAgB;EAChB,eAAe;EACf,cAAc;EACd,aAAa;EACb,cAAc;EACd,cAAc;EACd,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,UAAU;EACV,WAAW;EACX,wBAAwB;AAC1B;;AAEA;EACE,yBAAyB;AAC3B",sourcesContent:[".tooltip {\n  display: none;\n  max-width: 650px;\n  pointer-events: auto;\n  z-index: 9999999;\n  max-height: 80vh;\n  min-height: 100px;\n  position: absolute;\n  margin-bottom: 20px;\n  top: 0;\n  border: none;\n  border-radius: 5px;\n  background: #fff;\n  box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.1);\n}\n\n.tooltip .tooltip-content {\n  box-sizing: border-box;\n  max-height: 100%;\n  max-width: 100%;\n  overflow: auto;\n  padding: 18px;\n  color: #8d8d8d;\n  font-size: 80%;\n  line-height: 18px;\n}\n\n.tooltip .tooltip-content .headerlink {\n  visibility: hidden;\n}\n\n.tooltip .tooltip-content p {\n  font-size: 100%;\n}\n\n.tooltip .arrow {\n  position: absolute;\n  background: #fff;\n  width: 8px;\n  height: 8px;\n  transform: rotate(45deg);\n}\n\n.link-preview {\n  border-bottom: 1px dotted;\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},5032(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());
7a.push([e.id,"@layer defaults {\n  :root {\n    --readthedocs-notification-font-size: calc(\n      var(--readthedocs-font-size) * 0.85\n    );\n    --readthedocs-notification-font-family: var(--readthedocs-font-family);\n\n    --readthedocs-notification-color: rgb(64, 64, 64);\n    --readthedocs-notification-background-color: rgb(234, 234, 234);\n    --readthedocs-notification-title-color: rgba(96, 96, 96);\n    --readthedocs-notification-title-background-color: rgb(224, 224, 224);\n    --readthedocs-notification-link-color: rgb(8, 140, 219);\n\n    /* TODO these should be replaced with a better pattern for splitting up\n     * light and dark mode colors. Do not reuse this pattern. */\n    --readthedocs-notification-inverted-color: rgb(234, 234, 234);\n    --readthedocs-notification-inverted-background-color: rgb(64, 64, 64);\n    --readthedocs-notification-inverted-title-color: rgba(255, 255, 255, 0.9);\n    --readthedocs-notification-title-background-color: rgb(48, 48, 48);\n    --readthedocs-notification-inverted-link-color: rgb(134, 203, 243);\n  }\n}\n\n:host > div {\n  margin: 1rem 0rem;\n  padding-top: var(--readthedocs-notification-font-size);\n  padding-bottom: var(--readthedocs-notification-font-size);\n  overflow: auto;\n  border-radius: 0.5rem;\n  font-family: var(--readthedocs-notification-font-family);\n  font-size: var(--readthedocs-notification-font-size);\n  color: var(--readthedocs-notification-color);\n  background-color: var(--readthedocs-notification-background-color);\n}\n\n:host(.floating) > div {\n  position: fixed;\n  top: 2rem;\n  left: 20%; /* (100 - width) / 2 */\n  width: 60%;\n  z-index: 1750;\n}\n\n:host(.toast) > div {\n  position: fixed;\n  padding-top: 0.75em;\n  padding-bottom: 0.75em;\n  margin: 0.75rem 0rem;\n  top: 2rem;\n  right: 2rem;\n  z-index: 1750;\n  width: 35rem;\n  max-width: calc(100vw - 4rem);\n}\n\n@media (max-width: 640px) {\n  :host(.toast) > div {\n    right: 0.5rem;\n  }\n\n  :host(.floating) > div {\n    width: 95%;\n    left: 2%;\n  }\n}\n\n:host(.raised) > div {\n  box-shadow:\n    0 2px 4px 0 rgba(34, 36, 38, 0.12),\n    0 2px 10px 0 rgba(34, 36, 38, 0.15);\n}\n\n:host(.titled) > div {\n  padding: 0rem;\n  text-align: center;\n}\n\n:host > div > svg.header.icon {\n  height: 2em;\n  padding: 0.5rem 1.5rem;\n  float: left;\n}\n\n:host(.toast) > div > svg.header.icon {\n  height: 1.5em;\n}\n\n:host(.titled) > div > svg.header.icon {\n  display: none;\n}\n\n:host(.inverted) > div {\n  color: var(--readthedocs-notification-inverted-color);\n  background-color: var(--readthedocs-notification-inverted-background-color);\n}\n\n:host > div a {\n  color: var(--readthedocs-notification-link-color);\n  text-decoration: none;\n}\n\n:host(.inverted) > div a {\n  color: var(--readthedocs-notification-inverted-link-color);\n}\n\n:host > div > .title {\n  padding: 0.25rem 1em;\n  margin-bottom: 0.25rem;\n  line-height: 1em;\n  font-weight: bold;\n}\n:host > div > div.content {\n  line-height: 1.2em;\n  padding: 0 1.5em;\n}\n\n:host(.toast) > div > .title {\n  padding: 0rem 1em;\n}\n\n:host(.titled) > div > .title {\n  display: block;\n  margin: 0rem;\n  padding: 0.1rem 1em;\n  line-height: 2em;\n  border-radius: 0.5rem 0.5rem 0 0;\n  color: var(--readthedocs-notification-title-color);\n  background-color: var(--readthedocs-notification-title-background-color);\n  vertical-align: middle;\n  font-weight: bold;\n}\n:host(.titled) > div > div.content {\n  margin-top: 1rem;\n  margin-bottom: 1rem;\n  padding: 0rem 0.65rem 0rem 0.65rem;\n}\n\n:host(.inverted) > div > .title {\n  color: var(--readthedocs-notification-inverted-title-color);\n}\n\n:host(.inverted.titled) > div > .title {\n  background-color: var(--readthedocs-notification-title-background-color);\n}\n\n:host > div > .title > .right {\n  float: right;\n}\n\n:host > div > .title > .right > svg {\n  display: inline-block;\n  height: 1em;\n  vertical-align: middle;\n  cursor: pointer;\n  color: var(--readthedocs-notification-title-color);\n  font-weight: normal;\n}\n\n:host(.inverted) > div > .title > .right > svg {\n  color: var(--readthedocs-notification-inverted-title-color);\n}\n:host(.titled) > div > .title > .right > svg {\n  margin: 0.5rem 0rem;\n}\n","",{version:3,sources:["webpack://./src/notification.css"],names:[],mappings:"AAAA;EACE;IACE;;KAEC;IACD,sEAAsE;;IAEtE,iDAAiD;IACjD,+DAA+D;IAC/D,wDAAwD;IACxD,qEAAqE;IACrE,uDAAuD;;IAEvD;+DAC2D;IAC3D,6DAA6D;IAC7D,qEAAqE;IACrE,yEAAyE;IACzE,kEAAkE;IAClE,kEAAkE;EACpE;AACF;;AAEA;EACE,iBAAiB;EACjB,sDAAsD;EACtD,yDAAyD;EACzD,cAAc;EACd,qBAAqB;EACrB,wDAAwD;EACxD,oDAAoD;EACpD,4CAA4C;EAC5C,kEAAkE;AACpE;;AAEA;EACE,eAAe;EACf,SAAS;EACT,SAAS,EAAE,sBAAsB;EACjC,UAAU;EACV,aAAa;AACf;;AAEA;EACE,eAAe;EACf,mBAAmB;EACnB,sBAAsB;EACtB,oBAAoB;EACpB,SAAS;EACT,WAAW;EACX,aAAa;EACb,YAAY;EACZ,6BAA6B;AAC/B;;AAEA;EACE;IACE,aAAa;EACf;;EAEA;IACE,UAAU;IACV,QAAQ;EACV;AACF;;AAEA;EACE;;uCAEqC;AACvC;;AAEA;EACE,aAAa;EACb,kBAAkB;AACpB;;AAEA;EACE,WAAW;EACX,sBAAsB;EACtB,WAAW;AACb;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,qDAAqD;EACrD,2EAA2E;AAC7E;;AAEA;EACE,iDAAiD;EACjD,qBAAqB;AACvB;;AAEA;EACE,0DAA0D;AAC5D;;AAEA;EACE,oBAAoB;
7EACpB,sBAAsB;EACtB,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,gBAAgB;EAChB,gCAAgC;EAChC,kDAAkD;EAClD,wEAAwE;EACxE,sBAAsB;EACtB,iBAAiB;AACnB;AACA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,kCAAkC;AACpC;;AAEA;EACE,2DAA2D;AAC7D;;AAEA;EACE,wEAAwE;AAC1E;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,qBAAqB;EACrB,WAAW;EACX,sBAAsB;EACtB,eAAe;EACf,kDAAkD;EAClD,mBAAmB;AACrB;;AAEA;EACE,2DAA2D;AAC7D;AACA;EACE,mBAAmB;AACrB",sourcesContent:["@layer defaults {\n  :root {\n    --readthedocs-notification-font-size: calc(\n      var(--readthedocs-font-size) * 0.85\n    );\n    --readthedocs-notification-font-family: var(--readthedocs-font-family);\n\n    --readthedocs-notification-color: rgb(64, 64, 64);\n    --readthedocs-notification-background-color: rgb(234, 234, 234);\n    --readthedocs-notification-title-color: rgba(96, 96, 96);\n    --readthedocs-notification-title-background-color: rgb(224, 224, 224);\n    --readthedocs-notification-link-color: rgb(8, 140, 219);\n\n    /* TODO these should be replaced with a better pattern for splitting up\n     * light and dark mode colors. Do not reuse this pattern. */\n    --readthedocs-notification-inverted-color: rgb(234, 234, 234);\n    --readthedocs-notification-inverted-background-color: rgb(64, 64, 64);\n    --readthedocs-notification-inverted-title-color: rgba(255, 255, 255, 0.9);\n    --readthedocs-notification-title-background-color: rgb(48, 48, 48);\n    --readthedocs-notification-inverted-link-color: rgb(134, 203, 243);\n  }\n}\n\n:host > div {\n  margin: 1rem 0rem;\n  padding-top: var(--readthedocs-notification-font-size);\n  padding-bottom: var(--readthedocs-notification-font-size);\n  overflow: auto;\n  border-radius: 0.5rem;\n  font-family: var(--readthedocs-notification-font-family);\n  font-size: var(--readthedocs-notification-font-size);\n  color: var(--readthedocs-notification-color);\n  background-color: var(--readthedocs-notification-background-color);\n}\n\n:host(.floating) > div {\n  position: fixed;\n  top: 2rem;\n  left: 20%; /* (100 - width) / 2 */\n  width: 60%;\n  z-index: 1750;\n}\n\n:host(.toast) > div {\n  position: fixed;\n  padding-top: 0.75em;\n  padding-bottom: 0.75em;\n  margin: 0.75rem 0rem;\n  top: 2rem;\n  right: 2rem;\n  z-index: 1750;\n  width: 35rem;\n  max-width: calc(100vw - 4rem);\n}\n\n@media (max-width: 640px) {\n  :host(.toast) > div {\n    right: 0.5rem;\n  }\n\n  :host(.floating) > div {\n    width: 95%;\n    left: 2%;\n  }\n}\n\n:host(.raised) > div {\n  box-shadow:\n    0 2px 4px 0 rgba(34, 36, 38, 0.12),\n    0 2px 10px 0 rgba(34, 36, 38, 0.15);\n}\n\n:host(.titled) > div {\n  padding: 0rem;\n  text-align: center;\n}\n\n:host > div > svg.header.icon {\n  height: 2em;\n  padding: 0.5rem 1.5rem;\n  float: left;\n}\n\n:host(.toast) > div > svg.header.icon {\n  height: 1.5em;\n}\n\n:host(.titled) > div > svg.header.icon {\n  display: none;\n}\n\n:host(.inverted) > div {\n  color: var(--readthedocs-notification-inverted-color);\n  background-color: var(--readthedocs-notification-inverted-background-color);\n}\n\n:host > div a {\n  color: var(--readthedocs-notification-link-color);\n  text-decoration: none;\n}\n\n:host(.inverted) > div a {\n  color: var(--readthedocs-notification-inverted-link-color);\n}\n\n:host > div > .title {\n  padding: 0.25rem 1em;\n  margin-bottom: 0.25rem;\n  line-height: 1em;\n  font-weight: bold;\n}\n:host > div > div.content {\n  line-height: 1.2em;\n  padding: 0 1.5em;\n}\n\n:host(.toast) > div > .title {\n  padding: 0rem 1em;\n}\n\n:host(.titled) > div > .title {\n  display: block;\n  margin: 0rem;\n  padding: 0.1rem 1em;\n  line-height: 2em;\n  border-radius: 0.5rem 0.5rem 0 0;\n  color: var(--readthedocs-notification-title-color);\n  background-color: var(--readthedocs-notification-title-background-color);\n  vertical-align: middle;\n  font-weight: bold;\n}\n:host(.titled) > div > div.content {\n  margin-top: 1rem;\n  margin-bottom: 1rem;\n  padding: 0rem 0.65rem 0rem 0.65rem;\n}\n\n:host(.inverted) > div > .title {\n  color: var(--readthedocs-notification-inverted-title-color);\n}\n\n:host(.inverted.titled) > div > .title {\n  background-color: var(--readthedocs-notification-title-background-color);\n}\n\n:host > div > .title > .right {\n  float: right;\n}\n\n:host > div > .title > .right > svg {\n  display: inline-block;\n  height: 1em;\n  vertical-align: middle;\n  cursor: pointer;
7\n  color: var(--readthedocs-notification-title-color);\n  font-weight: normal;\n}\n\n:host(.inverted) > div > .title > .right > svg {\n  color: var(--readthedocs-notification-inverted-title-color);\n}\n:host(.titled) > div > .title > .right > svg {\n  margin: 0.5rem 0rem;\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},6801(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'@layer defaults {\n  :root {\n    --readthedocs-search-font-family: var(--readthedocs-font-family);\n    --readthedocs-search-font-size: var(--readthedocs-font-size); /* 16px? */\n    --readthedocs-search-code-font-family:\n      SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",\n      monospace;\n    --readthedocs-search-code-font-size: 0.9em;\n\n    --readthedocs-search-backdrop-color: rgba(0, 0, 0, 0.3);\n    --readthedocs-search-color: rgb(64, 64, 64);\n    --readthedocs-search-link-color: rgb(64, 64, 64);\n\n    --readthedocs-search-content-background-color: #fcfcfc;\n    --readthedocs-search-content-border-color: #e0e0e0;\n    --readthedocs-search-filters-border-color: #e0e0e0;\n    --readthedocs-search-footer-background-color: rgb(234, 234, 234);\n    --readthedocs-search-footer-color: #404040;\n    --readthedocs-search-footer-code-background-color: #fff;\n    --readthedocs-search-footer-code-border-color: #e1e4e5;\n    --readthedocs-search-input-background-color: #eaeaea;\n\n    /* `--readthedocs-search-result-section-highlight-color` is deprecated but\n     * still support it for now. */\n    --readthedocs-search-result-highlight-color: var(\n      --readthedocs-search-result-section-highlight-color,\n      #6ea0ec\n    );\n    --readthedocs-search-result-background-color: initial;\n    /* `--readthedocs-search-result-section-color` is deprecated but\n     * still support it for now. */\n    --readthedocs-search-result-color: var(\n      --readthedocs-search-result-section-color,\n      rgba(0, 0, 0, 0.54)\n    );\n    --readthedocs-search-result-icon-color: rgba(0, 0, 0, 0.54);\n    --readthedocs-search-result-heading-color: rbg(0, 0, 0);\n    /* `--readthedocs-search-result-section-subheading-color` is deprecated but\n     * still support it for now. */\n    --readthedocs-search-result-subheading-color: var(\n      --readthedocs-search-result-section-subheading-color,\n      rgba(0, 0, 0, 0.64)\n    );\n    --readthedocs-search-result-active-background-color: rgb(245, 245, 245);\n    --readthedocs-search-result-border-color: rgb(224, 224, 224);\n    --readthedocs-search-badge-background-color: #e5f6ff;\n    --readthedocs-search-badge-color: rgba(0, 0, 0, 0.75);\n  }\n}\n\n:host > div {\n  font-family: var(--readthedocs-search-font-family);\n  font-size: var(--readthedocs-search-font-size);\n\n  /* TODO: make some of this variables */\n  color: var(--readthedocs-search-color);\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 3000;\n  line-height: 1rem;\n}\n\n:host > div a {\n  color: var(--readthedocs-search-link-color);\n  text-decoration: none;\n  cursor: pointer;\n}\n\n:host > div code {\n  background: var(--readthedocs-search-footer-code-background-color);\n  padding: 2px 5px;\n  border: solid 1px var(--readthedocs-search-footer-code-border-color);\n  color: var(--readthedocs-search-color);\n  white-space: pre-wrap;\n  word-wrap: break-word;\n  font-family: var(--readthedocs-search-code-font-family);\n  font-size: var(--readthedocs-search-code-font-size);\n  border-radius: 0;\n}\n\n:host > div .background {\n  position: fixed;\n  top: 0;\n  left: 0;\n  z-index: 1250;\n  width: 100%;\n  height: 100%;\n  background-color: var(--readthedocs-search-backdrop-color);\n  backdrop-filter: blur(3px);\n}\n\n:host > div > div.content {\n  margin: 5em auto auto auto;\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 100000;\n  height: 80%;\n  width: 60%;\n  max-width: 43em;\n  overflow-y: hidden;\n  display: flex;\n  flex-direction: column;\n  border: 1px solid var(--readthedocs-search-content-border-color);\n  border-radius: 0.7rem;\n  line-height: 1.75rem;\n  background-color: var(--readthedocs-search-content-background-color);\n  box-shadow:\n    rgba(0, 0, 0, 0.05) 5px 5px 5px 5px,\n    rgba(0, 0, 0, 0.05) -5px -5px 5px 5px;\n  text-align: left;\n}\n\n:host > div form {\n  background-color: var(--readthedocs-search-input-background-color);\n  margin: 0.5em;\n  border-radius: 0.25em;\n  font-size: 1.05em;\n  padding: 5px;\n  display: flex;\n}\n\n:host > div form.focus {\n  outline: 2px solid #6ea0ec;\n  border-shadow: inset 0 0 1px white transparent;\n}\n\n:host > div form > label {\n  font-size: 1.15em;\n  padding-left: 5px;\n  color: var(--readthedocs-search-color);\n}\n\n:host > div form label svg {\n  height: 1em;\n  position: relative;\n  top: 5px;\n}\n\n:host > div form > input {\n  border: 0;\n  outline: none;\n  background: inherit;\n  width: max-content;\n  font-size: 1.15em;\n  box-shadow: none;\n  width: 100%;\n  padding: 6px;\n  line-height: 1;\n  color: var(--readthedocs-search-color, rgb(64, 64, 64));\n}\n\n:host > div .results {\n  margin-top: 10px;\n  padding: 0.5em;
7\n  overflow-y: scroll;\n  height: 100%;\n  hyphens: auto;\n}\n\ndiv.hit-block {\n  padding-top: 3px;\n  border-top: 1px solid var(--readthedocs-search-result-border-color);\n  display: flex;\n  flex-direction: column;\n  margin-bottom: 10px;\n  background-color: var(--readthedocs-search-result-background-color);\n}\n\ndiv.hit-block a.hit-block-heading {\n  display: flex;\n  align-items: center;\n  width: 100%;\n}\n\ndiv.hit-block .hit-block-heading-container {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n\ndiv.hit-block .hit-block-heading-row {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 0.5em;\n  width: 100%;\n  min-width: 0;\n}\n\ndiv.hit-block .hit-block-heading-row h2 {\n  flex-shrink: 0;\n  min-width: 0;\n}\n\ndiv.hit-block a.hit-block-heading i,\ndiv.hit-block .hit-block-heading-container .close-icon {\n  font-size: 1.15em;\n  width: 1em;\n  padding-right: 10px;\n  color: var(--readthedocs-search-result-icon-color);\n  padding-top: 5px;\n}\n\nbutton.close-icon {\n  border: none;\n  margin: 0;\n  padding: 0;\n  padding-right: 10px;\n  margin-bottom: 15px;\n  overflow: visible;\n\n  display: inline-block;\n  width: 1em;\n  height: 1em;\n  vertical-align: middle;\n\n  background: transparent;\n  cursor: pointer;\n}\n\nbutton.close-icon svg {\n  pointer-events: none;\n}\n\ndiv.hit-block a.hit-block-heading i svg,\ndiv.hit-block .hit-block-heading-container svg {\n  width: 1em;\n}\n\n:host > div .results a.hit {\n  width: 100%;\n  display: inline-block;\n  padding: 0.15em calc(1.15em + 10px);\n  box-sizing: border-box;\n}\n\n:host > div .results a.hit:hover,\n:host > div .results .hit .active {\n  background-color: var(--readthedocs-search-result-active-background-color);\n}\n\n:host > div .results h2 {\n  display: inline-block;\n  font-weight: 700;\n  margin-top: 3px;\n  margin-bottom: 5px;\n  font-size: 1em;\n  color: var(--readthedocs-search-result-heading-color);\n  line-height: inherit;\n}\n\n:host > div .results a.hit > div {\n  display: flex;\n  flex-direction: column;\n}\n\n:host > div .results .hit .subheading {\n  color: var(--readthedocs-search-result-subheading-color);\n  font-weight: 700;\n  font-size: 15px;\n  margin-right: 10px;\n  overflow-x: hidden;\n  margin: inherit;\n  line-height: inherit;\n}\n\n:host > div .results .project-badge {\n  align-items: center;\n  background-color: var(--readthedocs-search-badge-background-color);\n  border-radius: 999px;\n  color: var(--readthedocs-search-badge-color);\n  display: inline-flex;\n  font-size: 0.85em;\n  font-weight: 600;\n  line-height: 1;\n  padding: 0.25em 0.6em;\n  white-space: nowrap;\n  flex-shrink: 1;\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n:host > div .results .hit .content {\n  margin: 0;\n  text-decoration: none;\n  color: var(--readthedocs-search-result-color);\n  font-size: 15px;\n  display: block;\n  margin-bottom: 5px;\n  margin-bottom: 0;\n  line-height: inherit;\n  text-align: left;\n}\n\n:host > div .results span {\n  font-style: normal;\n}\n\n:host > div .results .hit h2 span {\n  background-color: #e5f6ff;\n  padding-bottom: 3px;\n  border-bottom-color: black;\n}\n\n:host > div .results .hit span {\n  color: var(--readthedocs-search-result-highlight-color);\n  font-style: italic;\n  font-weight: bold;\n}\n\n:host div.content > div.footer {\n  width: 100%;\n  display: inline-block;\n  height: 30px;\n  background-color: var(--readthedocs-search-footer-background-color);\n  color: var(--readthedocs-search-footer-color);\n}\n\n:host > div .credits {\n  float: right;\n  margin: 0 15px;\n  font-size: small;\n  padding-top: 3px;\n}\n\n:host > div .credits a img {\n  display: inline-block;\n  width: 100px;\n  vertical-align: middle;\n}\n\n/* TODO: find an example for domain role and style it properly */\n:host > div .readthedocs-search-result-hit--domain-role {\n  font-size: 80%;\n  letter-spacing: 1px;\n}\n\n:host > div .filters-title {\n  display: block;\n  font-size: 0.9rem;\n  position: absolute;\n  top: 0;\n  left: 14px;\n  background: rgb(252, 252, 252);\n  margin: 0 5px;\n  padding: 0 5px;\n}\n\n:host > div .filters {\n  position: relative;\n  padding-top: 0.9rem;\n  margin: 0 0.5em;\n}\n\n:host > div .filters ul {\n  display: block;\n  margin: 0;\n  padding: 5px 14px;\n  border-radius: 0.3rem;\n  border-style: solid;\n  border-width: 1px;\n  border-color: var(--readthedocs-search-filters-border-color);\n  border-bottom: 1px solid #e0e0e0;\n}\n\n:host > div .filters li {\n  display: inline-block;\n  margin: 0 0 0 15px;\n}\n\n:host > div .filters li input {\n  vertical-align: middle;\n}\n\n:host > div .filters li label {\n  padding: 3px;\n  cursor: pointer;\n}\n\n:host > div .filters label {\n  font-size: 0.9rem;\n}\n\n:host >
7 div .no-results {\n  text-align: center;\n  margin-top: 1.15em;\n  padding: 15px;\n  margin: 0 auto;\n  width: 80%;\n}\n\n:host > div .no-results > p.title {\n  margin-top: 0;\n  margin-bottom: 0.5em;\n}\n\n:host > div .no-results > svg {\n  height: 5.5rem;\n  margin-bottom: 1.15em;\n}\n\n:host > div .no-results > div.footer p {\n  font-size: small;\n}\n\n:host > div .no-results > .tips {\n  padding: 0;\n  text-align: left;\n  font-size: 15px;\n  margin-bottom: 1.15em;\n}\n\n:host > div .no-results > .tips ul {\n  padding: 0 0 0 0.7em;\n  margin: 0;\n}\n:host > div .no-results > .tips li {\n  list-style-position: inside;\n  list-style-type: "\\BB  ";\n  margin: 0;\n  color: var(--readthedocs-search-color);\n}\n\n:host > div .help {\n  display: inline-block;\n  font-size: small;\n  margin: 0 15px;\n  padding: 0;\n}\n\n:host > div .help li {\n  list-style: none;\n  display: inline-block;\n  margin: 0 0.4em;\n}\n',"",{version:3,sources:["webpack://./src/search.css"],names:[],mappings:"AAAA;EACE;IACE,gEAAgE;IAChE,4DAA4D,EAAE,UAAU;IACxE;;eAEW;IACX,0CAA0C;;IAE1C,uDAAuD;IACvD,2CAA2C;IAC3C,gDAAgD;;IAEhD,sDAAsD;IACtD,kDAAkD;IAClD,kDAAkD;IAClD,gEAAgE;IAChE,0CAA0C;IAC1C,uDAAuD;IACvD,sDAAsD;IACtD,oDAAoD;;IAEpD;kCAC8B;IAC9B;;;KAGC;IACD,qDAAqD;IACrD;kCAC8B;IAC9B;;;KAGC;IACD,2DAA2D;IAC3D,uDAAuD;IACvD;kCAC8B;IAC9B;;;KAGC;IACD,uEAAuE;IACvE,4DAA4D;IAC5D,oDAAoD;IACpD,qDAAqD;EACvD;AACF;;AAEA;EACE,kDAAkD;EAClD,8CAA8C;;EAE9C,sCAAsC;EACtC,sCAAsC;EACtC,eAAe;EACf,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,2CAA2C;EAC3C,qBAAqB;EACrB,eAAe;AACjB;;AAEA;EACE,kEAAkE;EAClE,gBAAgB;EAChB,oEAAoE;EACpE,sCAAsC;EACtC,qBAAqB;EACrB,qBAAqB;EACrB,uDAAuD;EACvD,mDAAmD;EACnD,gBAAgB;AAClB;;AAEA;EACE,eAAe;EACf,MAAM;EACN,OAAO;EACP,aAAa;EACb,WAAW;EACX,YAAY;EACZ,0DAA0D;EAC1D,0BAA0B;AAC5B;;AAEA;EACE,0BAA0B;EAC1B,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,QAAQ;EACR,SAAS;EACT,eAAe;EACf,WAAW;EACX,UAAU;EACV,eAAe;EACf,kBAAkB;EAClB,aAAa;EACb,sBAAsB;EACtB,gEAAgE;EAChE,qBAAqB;EACrB,oBAAoB;EACpB,oEAAoE;EACpE;;yCAEuC;EACvC,gBAAgB;AAClB;;AAEA;EACE,kEAAkE;EAClE,aAAa;EACb,qBAAqB;EACrB,iBAAiB;EACjB,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,0BAA0B;EAC1B,8CAA8C;AAChD;;AAEA;EACE,iBAAiB;EACjB,iBAAiB;EACjB,sCAAsC;AACxC;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,QAAQ;AACV;;AAEA;EACE,SAAS;EACT,aAAa;EACb,mBAAmB;EACnB,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,WAAW;EACX,YAAY;EACZ,cAAc;EACd,uDAAuD;AACzD;;AAEA;EACE,gBAAgB;EAChB,cAAc;EACd,kBAAkB;EAClB,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,gBAAgB;EAChB,mEAAmE;EACnE,aAAa;EACb,sBAAsB;EACtB,mBAAmB;EACnB,mEAAmE;AACrE;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;AACb;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;AAChC;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,UAAU;EACV,WAAW;EACX,YAAY;AACd;;AAEA;EACE,cAAc;EACd,YAAY;AACd;;AAEA;;EAEE,iBAAiB;EACjB,UAAU;EACV,mBAAmB;EACnB,kDAAkD;EAClD,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,SAAS;EACT,UAAU;EACV,mBAAmB;EACnB,mBAAmB;EACnB,iBAAiB;;EAEjB,qBAAqB;EACrB,UAAU;EACV,WAAW;EACX,sBAAsB;;EAEtB,uBAAuB;EACvB,eAAe;AACjB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;;EAEE,UAAU;AACZ;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,mCAAmC;EACnC,sBAAsB;AACxB;;AAEA;;EAEE,0EAA0E;AAC5E;;AAEA;EACE,qBAAqB;EACrB,gBAAgB;EAChB,eAAe;EACf,kBAAkB;EAClB,cAAc;EACd,qDAAqD;EACrD,oBAAoB;AACtB;;AAEA;EACE,aAAa;EACb,sBAAsB;AACxB;;AAEA;EACE,wDAAwD;EACxD,gBAAgB;EAChB,eAAe;EACf,kBAAkB;EAClB,kBAAkB;EAClB,eAAe;EACf,oBAAoB;AACtB;;AAEA;EACE,mBAAmB;EACnB,kEAAkE;EAClE,oBAAoB;EACpB,4CAA4C;EAC5C,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,cAAc;EACd,qBAAqB;EACrB,mBAAmB;EACnB,cAAc;EACd,YAAY;EACZ,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,SAAS;EACT,qBAAqB;EACrB,6CAA6C;EAC7C,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,yBAAyB;EACzB,mBAAmB;EACnB,0BAA0B;AAC5B;;AAEA;EACE,uDAAuD;EACvD,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,YAAY;EACZ,mEAAmE;EACnE,6CAA6C;AAC/C;;AAEA;EACE,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,sBAAsB;AACxB;;AAEA,gEAAgE;AAChE;EACE,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd,iBAAiB;EACjB,kBAAkB;EAClB,MAAM;EACN,UAAU;EACV,8BAA8B;EAC9B,aAAa;EACb,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,eAAe;AACjB;;AAEA;EACE,cAAc;EACd,SAAS;EACT,iBAAiB;EACjB,qBAAqB;EACrB,mBAAmB;EACnB,iBAAiB;EACjB,4DAA4D;EAC5D,gCAAgC;AAClC;;AAEA;EACE,qBAAqB;EACrB,kBAAkB;AACpB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,UAAU;AACZ;;AAEA;EACE,aAAa;EACb,oBAAoB;AACtB;;AAEA;EACE,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,UAAU;EACV,gBAAgB;EAChB,eAAe;EACf,qBAAqB;AACvB;;AAEA;EACE,oBAAoB;EACpB,SAAS;AACX;AACA;EACE,2BAA2B;EAC3B,wBAAwB;EACxB,SAAS;EACT,sCAAsC;AACxC;;AAEA;EACE,qBAAqB;EACrB,gBAAgB;EAChB,cAAc;EACd,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,qBAAqB;EACrB,eAAe;AACjB",sourcesContent:['@layer defaults {\n  :root {\n    --readthedocs-search-font-family: var(--readthedocs-font-family);\n    --readthedocs-search-font-size: var(--readthedocs-font-size); /* 16px? */\n    --readthedocs-search-code-font-family:\n      SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",\n      monospace;\n    --readthedocs-search-code-font-size: 0.9em;\n\n    --readthedocs-search-backdrop-color: rgba(0, 0, 0, 0.3);\n    --readthedocs-search-color: rgb(64, 64, 64);\n    --readthedocs-search-link-color: rgb(64, 64, 64);\n\n    --readthedocs-search-content-background-color: #fcfcfc;
7\n    --readthedocs-search-content-border-color: #e0e0e0;\n    --readthedocs-search-filters-border-color: #e0e0e0;\n    --readthedocs-search-footer-background-color: rgb(234, 234, 234);\n    --readthedocs-search-footer-color: #404040;\n    --readthedocs-search-footer-code-background-color: #fff;\n    --readthedocs-search-footer-code-border-color: #e1e4e5;\n    --readthedocs-search-input-background-color: #eaeaea;\n\n    /* `--readthedocs-search-result-section-highlight-color` is deprecated but\n     * still support it for now. */\n    --readthedocs-search-result-highlight-color: var(\n      --readthedocs-search-result-section-highlight-color,\n      #6ea0ec\n    );\n    --readthedocs-search-result-background-color: initial;\n    /* `--readthedocs-search-result-section-color` is deprecated but\n     * still support it for now. */\n    --readthedocs-search-result-color: var(\n      --readthedocs-search-result-section-color,\n      rgba(0, 0, 0, 0.54)\n    );\n    --readthedocs-search-result-icon-color: rgba(0, 0, 0, 0.54);\n    --readthedocs-search-result-heading-color: rbg(0, 0, 0);\n    /* `--readthedocs-search-result-section-subheading-color` is deprecated but\n     * still support it for now. */\n    --readthedocs-search-result-subheading-color: var(\n      --readthedocs-search-result-section-subheading-color,\n      rgba(0, 0, 0, 0.64)\n    );\n    --readthedocs-search-result-active-background-color: rgb(245, 245, 245);\n    --readthedocs-search-result-border-color: rgb(224, 224, 224);\n    --readthedocs-search-badge-background-color: #e5f6ff;\n    --readthedocs-search-badge-color: rgba(0, 0, 0, 0.75);\n  }\n}\n\n:host > div {\n  font-family: var(--readthedocs-search-font-family);\n  font-size: var(--readthedocs-search-font-size);\n\n  /* TODO: make some of this variables */\n  color: var(--readthedocs-search-color);\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 3000;\n  line-height: 1rem;\n}\n\n:host > div a {\n  color: var(--readthedocs-search-link-color);\n  text-decoration: none;\n  cursor: pointer;\n}\n\n:host > div code {\n  background: var(--readthedocs-search-footer-code-background-color);\n  padding: 2px 5px;\n  border: solid 1px var(--readthedocs-search-footer-code-border-color);\n  color: var(--readthedocs-search-color);\n  white-space: pre-wrap;\n  word-wrap: break-word;\n  font-family: var(--readthedocs-search-code-font-family);\n  font-size: var(--readthedocs-search-code-font-size);\n  border-radius: 0;\n}\n\n:host > div .background {\n  position: fixed;\n  top: 0;\n  left: 0;\n  z-index: 1250;\n  width: 100%;\n  height: 100%;\n  background-color: var(--readthedocs-search-backdrop-color);\n  backdrop-filter: blur(3px);\n}\n\n:host > div > div.content {\n  margin: 5em auto auto auto;\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 100000;\n  height: 80%;\n  width: 60%;\n  max-width: 43em;\n  overflow-y: hidden;\n  display: flex;\n  flex-direction: column;\n  border: 1px solid var(--readthedocs-search-content-border-color);\n  border-radius: 0.7rem;\n  line-height: 1.75rem;\n  background-color: var(--readthedocs-search-content-background-color);\n  box-shadow:\n    rgba(0, 0, 0, 0.05) 5px 5px 5px 5px,\n    rgba(0, 0, 0, 0.05) -5px -5px 5px 5px;\n  text-align: left;\n}\n\n:host > div form {\n  background-color: var(--readthedocs-search-input-background-color);\n  margin: 0.5em;\n  border-radius: 0.25em;\n  font-size: 1.05em;\n  padding: 5px;\n  display: flex;\n}\n\n:host > div form.focus {\n  outline: 2px solid #6ea0ec;\n  border-shadow: inset 0 0 1px white transparent;\n}\n\n:host > div form > label {\n  font-size: 1.15em;\n  padding-left: 5px;\n  color: var(--readthedocs-search-color);\n}\n\n:host > div form label svg {\n  height: 1em;\n  position: relative;\n  top: 5px;\n}\n\n:host > div form > input {\n  border: 0;\n  outline: none;\n  background: inherit;\n  width: max-content;\n  font-size: 1.15em;\n  box-shadow: none;\n  width: 100%;\n  padding: 6px;\n  line-height: 1;\n  color: var(--readthedocs-search-color, rgb(64, 64, 64));\n}\n\n:host > div .results {\n  margin-top: 10px;\n  padding: 0.5em;
7\n  overflow-y: scroll;\n  height: 100%;\n  hyphens: auto;\n}\n\ndiv.hit-block {\n  padding-top: 3px;\n  border-top: 1px solid var(--readthedocs-search-result-border-color);\n  display: flex;\n  flex-direction: column;\n  margin-bottom: 10px;\n  background-color: var(--readthedocs-search-result-background-color);\n}\n\ndiv.hit-block a.hit-block-heading {\n  display: flex;\n  align-items: center;\n  width: 100%;\n}\n\ndiv.hit-block .hit-block-heading-container {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n\ndiv.hit-block .hit-block-heading-row {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 0.5em;\n  width: 100%;\n  min-width: 0;\n}\n\ndiv.hit-block .hit-block-heading-row h2 {\n  flex-shrink: 0;\n  min-width: 0;\n}\n\ndiv.hit-block a.hit-block-heading i,\ndiv.hit-block .hit-block-heading-container .close-icon {\n  font-size: 1.15em;\n  width: 1em;\n  padding-right: 10px;\n  color: var(--readthedocs-search-result-icon-color);\n  padding-top: 5px;\n}\n\nbutton.close-icon {\n  border: none;\n  margin: 0;\n  padding: 0;\n  padding-right: 10px;\n  margin-bottom: 15px;\n  overflow: visible;\n\n  display: inline-block;\n  width: 1em;\n  height: 1em;\n  vertical-align: middle;\n\n  background: transparent;\n  cursor: pointer;\n}\n\nbutton.close-icon svg {\n  pointer-events: none;\n}\n\ndiv.hit-block a.hit-block-heading i svg,\ndiv.hit-block .hit-block-heading-container svg {\n  width: 1em;\n}\n\n:host > div .results a.hit {\n  width: 100%;\n  display: inline-block;\n  padding: 0.15em calc(1.15em + 10px);\n  box-sizing: border-box;\n}\n\n:host > div .results a.hit:hover,\n:host > div .results .hit .active {\n  background-color: var(--readthedocs-search-result-active-background-color);\n}\n\n:host > div .results h2 {\n  display: inline-block;\n  font-weight: 700;\n  margin-top: 3px;\n  margin-bottom: 5px;\n  font-size: 1em;\n  color: var(--readthedocs-search-result-heading-color);\n  line-height: inherit;\n}\n\n:host > div .results a.hit > div {\n  display: flex;\n  flex-direction: column;\n}\n\n:host > div .results .hit .subheading {\n  color: var(--readthedocs-search-result-subheading-color);\n  font-weight: 700;\n  font-size: 15px;\n  margin-right: 10px;\n  overflow-x: hidden;\n  margin: inherit;\n  line-height: inherit;\n}\n\n:host > div .results .project-badge {\n  align-items: center;\n  background-color: var(--readthedocs-search-badge-background-color);\n  border-radius: 999px;\n  color: var(--readthedocs-search-badge-color);\n  display: inline-flex;\n  font-size: 0.85em;\n  font-weight: 600;\n  line-height: 1;\n  padding: 0.25em 0.6em;\n  white-space: nowrap;\n  flex-shrink: 1;\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n:host > div .results .hit .content {\n  margin: 0;\n  text-decoration: none;\n  color: var(--readthedocs-search-result-color);\n  font-size: 15px;\n  display: block;\n  margin-bottom: 5px;\n  margin-bottom: 0;\n  line-height: inherit;\n  text-align: left;\n}\n\n:host > div .results span {\n  font-style: normal;\n}\n\n:host > div .results .hit h2 span {\n  background-color: #e5f6ff;\n  padding-bottom: 3px;\n  border-bottom-color: black;\n}\n\n:host > div .results .hit span {\n  color: var(--readthedocs-search-result-highlight-color);\n  font-style: italic;\n  font-weight: bold;\n}\n\n:host div.content > div.footer {\n  width: 100%;\n  display: inline-block;\n  height: 30px;\n  background-color: var(--readthedocs-search-footer-background-color);\n  color: var(--readthedocs-search-footer-color);\n}\n\n:host > div .credits {\n  float: right;\n  margin: 0 15px;\n  font-size: small;\n  padding-top: 3px;\n}\n\n:host > div .credits a img {\n  display: inline-block;\n  width: 100px;\n  vertical-align: middle;\n}\n\n/* TODO: find an example for domain role and style it properly */\n:host > div .readthedocs-search-result-hit--domain-role {\n  font-size: 80%;\n  letter-spacing: 1px;\n}\n\n:host > div .filters-title {\n  display: block;\n  font-size: 0.9rem;\n  position: absolute;\n  top: 0;\n  left: 14px;\n  background: rgb(252, 252, 252);\n  margin: 0 5px;\n  padding: 0 5px;\n}\n\n:host > div .filters {\n  position: relative;\n  padding-top: 0.9rem;\n  margin: 0 0.5em;\n}\n\n:host > div .filters ul {\n  display: block;\n  margin: 0;\n  padding: 5px 14px;\n  border-radius: 0.3rem;\n  border-style: solid;\n  border-width: 1px;\n  border-color: var(--readthedocs-search-filters-border-color);\n  border-bottom: 1px solid #e0e0e0;\n}\n\n:host > div .filters li {\n  display: inline-block;\n  margin: 0 0 0 15px;\n}\n\n:host > div .filters li input {\n  vertical-align: middle;\n}\n\n:host > div .filters li label {\n  padding: 3px;\n  cursor: pointer;\n}\n\n:host > div .filters label {\n  font-size: 0.9rem;\n}\n\n:host >
7 div .no-results {\n  text-align: center;\n  margin-top: 1.15em;\n  padding: 15px;\n  margin: 0 auto;\n  width: 80%;\n}\n\n:host > div .no-results > p.title {\n  margin-top: 0;\n  margin-bottom: 0.5em;\n}\n\n:host > div .no-results > svg {\n  height: 5.5rem;\n  margin-bottom: 1.15em;\n}\n\n:host > div .no-results > div.footer p {\n  font-size: small;\n}\n\n:host > div .no-results > .tips {\n  padding: 0;\n  text-align: left;\n  font-size: 15px;\n  margin-bottom: 1.15em;\n}\n\n:host > div .no-results > .tips ul {\n  padding: 0 0 0 0.7em;\n  margin: 0;\n}\n:host > div .no-results > .tips li {\n  list-style-position: inside;\n  list-style-type: "\\BB  ";\n  margin: 0;\n  color: var(--readthedocs-search-color);\n}\n\n:host > div .help {\n  display: inline-block;\n  font-size: small;\n  margin: 0 15px;\n  padding: 0;\n}\n\n:host > div .help li {\n  list-style: none;\n  display: inline-block;\n  margin: 0 0.4em;\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},6314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1354(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},2189(e){var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,o){void 0===o&&(o=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=o;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===r&&(r=!0);var a=r,s=this.diff_commonPrefix(e,n),c=e.substring(0,s);e=e.substring(s),n=n.substring(s),s=this.diff_commonSuffix(e,n);var l=e.substring(e.length-s);e=e.substring(0,e.length-s),n=n.substring(0,n.length-s);var u=this.diff_compute_(e,n,a,i);return c&&u.unshift(new t.Diff(0,c)),l&&u.push(new t.Diff(0,l)),this.diff_cleanupMerge(u),u},t.prototype.diff_compute_=function(e,r,o,i){var a;if(!e)return[new t.Diff(1,r)];if(!r)return[new t.Diff(n,e)];var s=e.length>r.length?e:r,c=e.length>r.length?r:e,l=s.indexOf(c);if(-1!=l)return a=[new t.Diff(1,s.substring(0,l)),new t.Diff(0,c),new t.Diff(1,s.substring(l+c.length))],e.length>r.length&&(a[0][0]=a[2][0]=n),a;if(1==c.length)return[new t.Diff(n,e),new t.Diff(1,r)];var u=this.diff_halfMatch_(e,r);if(u){var d=u[0],f=u[1],h=u[2],p=u[3],m=u[4],g=this.diff_main(d,h,o,i),y=this.diff_main(f,p,o,i);return g.concat([new t.Diff(0,m)],y)}return o&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,i):this.diff_bisect_(e,r,i)},t.prototype.diff_lineMode_=function(e,r,o){var i=this.diff_linesToChars_(e,r);e=i.chars1,r=i.chars2;var a=i.lineArray,s=this.diff_main(e,r,!1,o);this.diff_charsToLines_(s,a),this.diff_cleanupSemantic(s),s.push(new t.Diff(0,""));for(var c=0,l=0,u=0,d="",f="";c<s.length;){switch(s[c][0]){case 1:u++,f+=s[c][1];break;case n:l++,d+=s[c][1];break;case 0:if(l>=1&&u>=1){s.splice(c-l-u,l+u),c=c-l-u;for(var h=this.diff_main(d,f,!1,o),p=h.length-1;p>=0;p--)s.splice(c,0,h[p]);c+=h.length}u=0,l=0,d="",f=""}c++}return s.pop(),s},t.prototype.diff_bisect_=function(e,r,o){for(var i=e.length,a=r.length,s=Math.ceil((i+a)/2),c=s,l=2*s,u=new Array(l),d=new Array(l),f=0;f<l;f++)u[f]=-1,d[f]=-1;u[c+1]=0,d[c+1]=0;for(var h=i-a,p=h%2!=0,m=0,g=0,y=0,A=0,v=0;v<s&&!((new Date).getTime()>o);v++){for(var b=-v+m;b<=v-g;b+=2){for(var w=c+b,C=(x=b==-v||b!=v&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-b;x<i&&C<a&&e.charAt(x)==r.charAt(C);)x++,C++;if(u[w]=x,x>i)g+=2;else if(C>a)m+=2;else if(p){if((L=c+h-b)>=0&&L<l&&-1!=d[L])if(x>
7=(M=i-d[L]))return this.diff_bisectSplit_(e,r,x,C,o)}}for(var E=-v+y;E<=v-A;E+=2){for(var M,L=c+E,j=(M=E==-v||E!=v&&d[L-1]<d[L+1]?d[L+1]:d[L-1]+1)-E;M<i&&j<a&&e.charAt(i-M-1)==r.charAt(a-j-1);)M++,j++;if(d[L]=M,M>i)A+=2;else if(j>a)y+=2;else if(!p){if((w=c+h-E)>=0&&w<l&&-1!=u[w]){var x;C=c+(x=u[w])-w;if(x>=(M=i-M))return this.diff_bisectSplit_(e,r,x,C,o)}}}}return[new t.Diff(n,e),new t.Diff(1,r)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),c=t.substring(r),l=this.diff_main(i,a,!1,o),u=this.diff_main(s,c,!1,o);return l.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,a=-1,s=n.length;a<e.length-1;){-1==(a=e.indexOf("\n",o))&&(a=e.length-1);var c=e.substring(o,a+1);(r.hasOwnProperty?r.hasOwnProperty(c):void 0!==r[c])?t+=String.fromCharCode(r[c]):(s==i&&(c=e.substring(o),a=e.length),t+=String.fromCharCode(s),r[c]=s,n[s++]=c),o=a+1}return t}n[0]="";var i=4e4,a=o(e);return i=65535,{chars1:a,chars2:o(t),lineArray:n}},t.prototype.diff_charsToLines_=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n][1],o=[],i=0;i<r.length;i++)o[i]=t[r.charCodeAt(i)];e[n][1]=o.join("")}},t.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},t.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},t.prototype.diff_commonOverlap_=function(e,t){var n=e.length,r=t.length;if(0==n||0==r)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));var o=Math.min(n,r);if(e==t)return o;for(var i=0,a=1;;){var s=e.substring(o-a),c=t.indexOf(s);if(-1==c)return i;a+=c,0!=c&&e.substring(o-a)!=t.substring(0,a)||(i=a,a++)}},t.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;var o=this;function i(e,t,n){for(var r,i,a,s,c=e.substring(n,n+Math.floor(e.length/4)),l=-1,u="";-1!=(l=t.indexOf(c,l+1));){var d=o.diff_commonPrefix(e.substring(n),t.substring(l)),f=o.diff_commonSuffix(e.substring(0,n),t.substring(0,l));u.length<f+d&&(u=t.substring(l-f,l)+t.substring(l,l+d),r=e.substring(0,n-f),i=e.substring(n+d),a=t.substring(0,l-f),s=t.substring(l+d))}return 2*u.length>=e.length?[r,i,a,s,u]:null}var a,s,c,l,u,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));return d||f?(a=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(s=a[0],c=a[1],l=a[2],u=a[3]):(l=a[0],u=a[1],s=a[2],c=a[3]),[s,c,l,u,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var r=!1,o=[],i=0,a=null,s=0,c=0,l=0,u=0,d=0;s<e.length;)0==e[s][0]?(o[i++]=s,c=u,l=d,u=0,d=0,a=e[s][1]):(1==e[s][0]?u+=e[s][1].length:d+=e[s][1].length,a&&a.length<=Math.max(c,l)&&a.length<=Math.max(u,d)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,s=--i>0?o[i-1]:-1,c=0,l=0,u=0,d=0,a=null,r=!0)),s++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),s=1;s<e.length;){if(e[s-1][0]==n&&1==e[s][0]){var f=e[s-1][1],h=e[s][1],p=this.diff_commonOverlap_(f,h),m=this.diff_commonOverlap_(h,f);p>=m?(p>=f.length/2||p>=h.length/2)&&(e.splice(s,0,new t.Diff(0,h.substring(0,p))),e[s-1][1]=f.substring(0,f.length-p),e[s+1][1]=h.substring(p),s++):(m>=f.length/2||m>=h.length/2)&&(e.splice(s,0,new t.Diff(0,f.substring(0,m))),e[s-1][0]=1,e[s-1][1]=h.substring(0,h.length-m),e[s+1][0]=n,e[s+1][1]=f.substring(m),s++),s++}s++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),s=i&&r.match(t.whitespaceRegex_),c=a&&o.match(t.whitespaceRegex_),l=s&&r.match(t.linebreakRegex_),u=c&&o.match(t.linebreakRegex_),d=l&&e.match(t.blanklineEndRegex_),f=u&&n.match(t.blanklineStartRegex_);return d||f?5:l||u?4:i&&!s&&c?3:s||c?2:i||a?1:0}for(var r=1;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){var o=e[r-1][1],i=e[r][1],a=e[r+1][1],s=this.diff_commonSuffix(o,i);if(s){var c=i.substring(i.length-s);o=o.substring(0,o.length-s),i=c+i.substring(0,i.length-s),a=c+a}for(var l=o,u=i,d=a,f=n(o,i)+n(i,a);i.charAt(0)===a.charAt(0);){o+=i.charAt(0),i=i.substring(1)+a.charAt(0),a=a.substring(1);var h=n(o,i)+n(i,a);h>=f&&(f=h,l=o,u=i,d=a)}e[r-1][1]!=l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var r=!1,o=[],i=0,a=null,s=0,c=!1,l=!1,u=!1,d=!1;s<e.length;)0==e[s][0]?(e[s][1].length<this.Diff_EditCost&&(u||d)?(o[i++]=s,c=u,l=d,a=e[s][1]):(i=0,a=null),u=d=!1):(e[s][0]==n?d=!0:u=!0,a&&(c&&l&&u&&d||a.length<this.Diff_EditCost/2&&c+l+u+d==3)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,a=null,c&&l?(u=d=!0,i=0):(s=--i>0?o[i-1]:-1,u=d=!1),r=!0)),s++;r&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var r,o=0,i=0,a=0,s="",c="";o<e.length;)switch(e[o][0]){case 1:a++,c+=e[o][1],o++;break;case n:i++,s+=e[o][1],o++;break;case 0:i+a>1?(0!==i&&0!==a&&(0!==(r=this.diff_commonPrefix(c,s))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=c.substring(0,r):(e.splice(0,0,new t.Diff(0,c.substring(0,r))),o++),c=c.substring(r),s=s.substring(r)),0!==(r=this.diff_commonSuffix(c,s))&&(e[o][1]=c.substring(c.length-r)+e[o][1],c=c.substring(0,c.length-r),s=s.substring(0,s.length-r))),o-=i+a,e.splice(o,i+a),s.length&&(e.splice(o,0,new t.Diff(n,s)),o++),c.length&&(e.splice(o,0,new t.Diff(1,c)),o++),o++):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,i=0,s="",c=""}""===e[e.length-1][1]&&e.pop();var l=!1;for(o=1;o<e.length-1;)0==e[o-1][0]&&0==e[o+1][0]&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)==e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),l=!0):e[o][1].substring(0,e[o+1][1].length)==e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),l=!0)),o++;l&&this.diff_cleanupMerge(e)},t.prototype.diff_xIndex=function(e,t){var r,o=0,i=0,a=0,s=0;for(r=0;r<e.length&&(1!==e[r][0]&&(o+=e[r][1].length),e[r][0]!==n&&(i+=e[r][1].length),!(o>t));r++)a=o,s=i;return e.length!=r&&e[r][0]===n?s:s+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],r=/&/g,o=/</g,i=/>/g,a=/\n/g,s=0;s<e.length;s++){var c=e[s][0],l=e[s][1].replace(r,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(a,"&para;<br>");switch(c){case 1:t[s]='<ins style="background:#e6ffe6;">'+l+"</ins>";break;case n:t[s]='<del style="background:#ffe6e6;">'+l+"</del>";break;case 0:t[s]="<span>"+l+"</span>"}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_text2=function(e){for(var t=[],r=0;r<e.length;r++)e[r][0]!==n&&(t[r]=e[r][1]);return t.join("")},t.prototype.diff_levenshtein=function(e){for(var t=0,r=0,o=0,i=0;i<e.length;i++){var a=e[i][0],s=e[i][1];switch(a){case 1:r+=s.length;break;case n:o+=s.length;break;case 0:t+=Math.max(r,o),r=0,o=0}}return t+=Math.max(r,o)},t.prototype.diff_toDelta=function(e){for(var t=[],r=0;r<e.length;r++)switch(e[r][0]){case 1:t[r]="+"+encodeURI(e[r][1]);break;case n:t[r]="-"+e[r][1].length;break;case 0:t[r]="="+e[r][1].length}return t.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(e,r){for(var o=[],i=0,a=0,s=r.split(/\t/g),c=0;c<s.length;c++){var l=s[c].substring(1);switch(s[c].charAt(0)){case"+":try{o[i++]=new t.Diff(1,decodeURI(l))}catch(e){throw new Error("Illegal escape in diff_fromDelta: "+l)}break;case"-":case"=":var u=parseInt(l,10);if(isNaN(u)||u<0)throw new Error("Invalid number in diff_fromDelta: "+l);var d=e.substring(a,a+=u);"="==s[c].charAt(0)?o[i++]=new t.Diff(0,d):o[i++]=new t.Diff(n,d);break;default:if(s[c])throw new Error("Invalid diff operation in diff_fromDelta: "+s[c])}}
7if(a!=e.length)throw new Error("Delta length ("+a+") does not equal source text length ("+e.length+").");return o},t.prototype.match_main=function(e,t,n){if(null==e||null==t||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,e.length)),e==t?0:e.length?e.substring(n,n+t.length)==t?n:this.match_bitap_(e,t,n):-1},t.prototype.match_bitap_=function(e,t,n){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function i(e,r){var i=e/t.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,n);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,n+t.length))&&(a=Math.min(i(0,s),a)));var c,l,u=1<<t.length-1;s=-1;for(var d,f=t.length+e.length,h=0;h<t.length;h++){for(c=0,l=f;c<l;)i(h,n+l)<=a?c=l:f=l,l=Math.floor((f-c)/2+c);f=l;var p=Math.max(1,n-l+1),m=Math.min(n+l,e.length)+t.length,g=Array(m+2);g[m+1]=(1<<h)-1;for(var y=m;y>=p;y--){var A=r[e.charAt(y-1)];if(g[y]=0===h?(g[y+1]<<1|1)&A:(g[y+1]<<1|1)&A|(d[y+1]|d[y])<<1|1|d[y+1],g[y]&u){var v=i(h,y-1);if(v<=a){if(a=v,!((s=y-1)>n))break;p=Math.max(1,2*n-s)}}}if(i(h+1,n)>a)break;d=g}return s},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=0;for(n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t},t.prototype.patch_addContext_=function(e,n){if(0!=n.length){if(null===e.start2)throw Error("patch not initialized");for(var r=n.substring(e.start2,e.start2+e.length1),o=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)o+=this.Patch_Margin,r=n.substring(e.start2-o,e.start2+e.length1+o);o+=this.Patch_Margin;var i=n.substring(e.start2-o,e.start2);i&&e.diffs.unshift(new t.Diff(0,i));var a=n.substring(e.start2+e.length1,e.start2+e.length1+o);a&&e.diffs.push(new t.Diff(0,a)),e.start1-=i.length,e.start2-=i.length,e.length1+=i.length+a.length,e.length2+=i.length+a.length}},t.prototype.patch_make=function(e,r,o){var i,a;if("string"==typeof e&&"string"==typeof r&&void 0===o)i=e,(a=this.diff_main(i,r,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&void 0===r&&void 0===o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&r&&"object"==typeof r&&void 0===o)i=e,a=r;else{if("string"!=typeof e||"string"!=typeof r||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=e,a=o}if(0===a.length)return[];for(var s=[],c=new t.patch_obj,l=0,u=0,d=0,f=i,h=i,p=0;p<a.length;p++){var m=a[p][0],g=a[p][1];switch(l||0===m||(c.start1=u,c.start2=d),m){case 1:c.diffs[l++]=a[p],c.length2+=g.length,h=h.substring(0,d)+g+h.substring(d);break;case n:c.length1+=g.length,c.diffs[l++]=a[p],h=h.substring(0,d)+h.substring(d+g.length);break;case 0:g.length<=2*this.Patch_Margin&&l&&a.length!=p+1?(c.diffs[l++]=a[p],c.length1+=g.length,c.length2+=g.length):g.length>=2*this.Patch_Margin&&l&&(this.patch_addContext_(c,f),s.push(c),c=new t.patch_obj,l=0,f=h,u=d)}1!==m&&(u+=g.length),m!==n&&(d+=g.length)}return l&&(this.patch_addContext_(c,f),s.push(c)),s},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=new t.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=new t.Diff(o.diffs[a][0],o.diffs[a][1]);i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,n[r]=i}return n},t.prototype.patch_apply=function(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);var r=this.patch_addPadding(e);t=r+t+r,this.patch_splitMax(e);for(var o=0,i=[],a=0;a<e.length;a++){var s,c,l=e[a].start2+o,u=this.diff_text1(e[a].diffs),d=-1;if(u.length>this.Match_MaxBits?-1!=(s=this.match_main(t,u.substring(0,this.Match_MaxBits),l))&&(-1==(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits))||s>=d)&&(s=-1):s=this.match_main(t,u,l),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-l,u==(c=-1==d?t.substring(s,s+u.length):t.substring(s,d+this.Match_MaxBits)))t=t.substring(0,s)+this.diff_text2(e[a].diffs)+t.substring(s+u.length);else{var f=this.diff_main(u,c,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(f)/u.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(f);for(var h,p=0,m=0;m<e[a].diffs.length;m++){var g=e[a].diffs[m];0!==g[0]&&(h=this.diff_xIndex(f,p)),1===g[0]?t=t.substring(0,s+h)+g[1]+t.substring(s+h):g[0]===n&&(t=t.
7substring(0,s+h)+t.substring(s+this.diff_xIndex(f,p+g[1].length))),g[0]!==n&&(p+=g[1].length)}}}}return[t=t.substring(r.length,t.length-r.length),i]},t.prototype.patch_addPadding=function(e){for(var n=this.Patch_Margin,r="",o=1;o<=n;o++)r+=String.fromCharCode(o);for(o=0;o<e.length;o++)e[o].start1+=n,e[o].start2+=n;var i=e[0],a=i.diffs;if(0==a.length||0!=a[0][0])a.unshift(new t.Diff(0,r)),i.start1-=n,i.start2-=n,i.length1+=n,i.length2+=n;else if(n>a[0][1].length){var s=n-a[0][1].length;a[0][1]=r.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(0==(a=(i=e[e.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new t.Diff(0,r)),i.length1+=n,i.length2+=n;else if(n>a[a.length-1][1].length){s=n-a[a.length-1][1].length;a[a.length-1][1]+=r.substring(0,s),i.length1+=s,i.length2+=s}return r},t.prototype.patch_splitMax=function(e){for(var r=this.Match_MaxBits,o=0;o<e.length;o++)if(!(e[o].length1<=r)){var i=e[o];e.splice(o--,1);for(var a=i.start1,s=i.start2,c="";0!==i.diffs.length;){var l=new t.patch_obj,u=!0;for(l.start1=a-c.length,l.start2=s-c.length,""!==c&&(l.length1=l.length2=c.length,l.diffs.push(new t.Diff(0,c)));0!==i.diffs.length&&l.length1<r-this.Patch_Margin;){var d=i.diffs[0][0],f=i.diffs[0][1];1===d?(l.length2+=f.length,s+=f.length,l.diffs.push(i.diffs.shift()),u=!1):d===n&&1==l.diffs.length&&0==l.diffs[0][0]&&f.length>2*r?(l.length1+=f.length,a+=f.length,u=!1,l.diffs.push(new t.Diff(d,f)),i.diffs.shift()):(f=f.substring(0,r-l.length1-this.Patch_Margin),l.length1+=f.length,a+=f.length,0===d?(l.length2+=f.length,s+=f.length):u=!1,l.diffs.push(new t.Diff(d,f)),f==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(f.length))}c=(c=this.diff_text2(l.diffs)).substring(c.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(l.length1+=h.length,l.length2+=h.length,0!==l.diffs.length&&0===l.diffs[l.diffs.length-1][0]?l.diffs[l.diffs.length-1][1]+=h:l.diffs.push(new t.Diff(0,h))),u||e.splice(++o,0,l)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n<e.length;n++)t[n]=e[n];return t.join("")},t.prototype.patch_fromText=function(e){var r=[];if(!e)return r;for(var o=e.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var s=o[i].match(a);if(!s)throw new Error("Invalid patch string: "+o[i]);var c=new t.patch_obj;for(r.push(c),c.start1=parseInt(s[1],10),""===s[2]?(c.start1--,c.length1=1):"0"==s[2]?c.length1=0:(c.start1--,c.length1=parseInt(s[2],10)),c.start2=parseInt(s[3],10),""===s[4]?(c.start2--,c.length2=1):"0"==s[4]?c.length2=0:(c.start2--,c.length2=parseInt(s[4],10)),i++;i<o.length;){var l=o[i].charAt(0);try{var u=decodeURI(o[i].substring(1))}catch(e){throw new Error("Illegal escape in patch_fromText: "+u)}if("-"==l)c.diffs.push(new t.Diff(n,u));else if("+"==l)c.diffs.push(new t.Diff(1,u));else if(" "==l)c.diffs.push(new t.Diff(0,u));else{if("@"==l)break;if(""!==l)throw new Error('Invalid patch mode "'+l+'" in: '+u)}i++}}return r},(t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var e,t=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:e="+";break;case n:e="-";break;case 0:e=" "}t[r+1]=e+encodeURI(this.diffs[r][1])+"\n"}return t.join("").replace(/%20/g," ")},e.exports=t,e.exports.diff_match_patch=t,e.exports.DIFF_DELETE=n,e.exports.DIFF_INSERT=1,e.exports.DIFF_EQUAL=0},2017(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!==o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!==o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},7106(e){"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,o,i,a,s,c,l,u,d,f){if(a&&"object"==typeof a&&!Array.isArray(a)){for(var h in o(a,s,c,l,u,d,f),a){var p=a[h];if(Array.isArray(p)){if(h in t.arrayKeywords)for(var m=0;m<p.length;m++)n(e,o,i,p[m],s+"/"+h+"/"+m,c,s,h,a,m)}else if(h in t.propsKeywords){if(p&&"object"==typeof p)for(var g in p)n(e,o,i,p[g],s+"/"+h+"/"+r(g),c,s,h,a,g)}else(h in t.keywords||e.allKeys&&!(h in t.skipKeywords))&&n(e,o,i,p,s+"/"+h,c,s,h,a)}i(a,s,c,l,u,d,f)}}function r(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}},1794(e,t){var n,r,o;!function(i,a){"use strict";"object"==typeof e.exports?e.exports=a():(r=[],void 0===(o="function"==typeof(n=a)?n.apply(t,r):n)||(e.exports=o))}(0,function(){"use strict";var e=Object.prototype.toString;function t(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function n(e){if(!e)return!0;
7if(o(e)&&0===e.length)return!0;if("string"!=typeof e){for(var n in e)if(t(e,n))return!1;return!0}return!1}function r(t){return e.call(t)}var o=Array.isArray||function(t){return"[object Array]"===e.call(t)};function i(e){var t=parseInt(e);return t.toString()===e?t:e}function a(e){var a,s,c=function(e){return Object.keys(c).reduce(function(t,n){return"create"===n||"function"==typeof c[n]&&(t[n]=c[n].bind(c,e)),t},{})};function l(e,t){if(a(e,t))return e[t]}function u(e,t,n,r){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if("string"==typeof t)return u(e,t.split(".").map(i),n,r);var o=t[0],a=s(e,o);return 1===t.length?(void 0!==a&&r||(e[o]=n),a):(void 0===a&&("number"==typeof t[1]?e[o]=[]:e[o]={}),u(e[o],t.slice(1),n,r))}return a=(e=e||{}).includeInheritedProps?function(){return!0}:function(e,n){return"number"==typeof n&&Array.isArray(e)||t(e,n)},s=e.includeInheritedProps?function(e,t){"string"!=typeof t&&"number"!=typeof t&&(t=String(t));var n=l(e,t);if("__proto__"===t||"prototype"===t||"constructor"===t&&"function"==typeof n)throw new Error("For security reasons, object's magic properties cannot be set");return n}:function(e,t){return l(e,t)},c.has=function(n,r){if("number"==typeof r?r=[r]:"string"==typeof r&&(r=r.split(".")),!r||0===r.length)return!!n;for(var a=0;a<r.length;a++){var s=i(r[a]);if(!("number"==typeof s&&o(n)&&s<n.length||(e.includeInheritedProps?s in Object(n):t(n,s))))return!1;n=n[s]}return!0},c.ensureExists=function(e,t,n){return u(e,t,n,!0)},c.set=function(e,t,n,r){return u(e,t,n,r)},c.insert=function(e,t,n,r){var i=c.get(e,t);r=~~r,o(i)||(i=[],c.set(e,t,i)),i.splice(r,0,n)},c.empty=function(e,t){var i,s;if(!n(t)&&(null!=e&&(i=c.get(e,t)))){if("string"==typeof i)return c.set(e,t,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===r(e)}(i))return c.set(e,t,!1);if("number"==typeof i)return c.set(e,t,0);if(o(i))i.length=0;else{if(!function(e){return"object"==typeof e&&"[object Object]"===r(e)}(i))return c.set(e,t,null);for(s in i)a(i,s)&&delete i[s]}}},c.push=function(e,t){var n=c.get(e,t);o(n)||(n=[],c.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},c.coalesce=function(e,t,n){for(var r,o=0,i=t.length;o<i;o++)if(void 0!==(r=c.get(e,t[o])))return r;return n},c.get=function(e,t,n){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if(null==e)return n;if("string"==typeof t)return c.get(e,t.split("."),n);var r=i(t[0]),o=s(e,r);return void 0===o?n:1===t.length?o:c.get(e[r],t.slice(1),n)},c.del=function(e,t){if("number"==typeof t&&(t=[t]),null==e)return e;if(n(t))return e;if("string"==typeof t)return c.del(e,t.split("."));var r=i(t[0]);return s(e,r),a(e,r)?1!==t.length?c.del(e[r],t.slice(1)):(o(e)?e.splice(r,1):delete e[r],e):e},c}var s=a();return s.create=a,s.withInheritedProps=a({includeInheritedProps:!0}),s})},9804(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8274),o=new Set;o.add("IMG"),o.add("VIDEO"),o.add("IFRAME"),o.add("OBJECT"),o.add("SVG");var i=new Set;i.add("BDO"),i.add("BDI"),i.add("Q"),i.add("CITE"),i.add("CODE"),i.add("DATA"),i.add("TIME"),i.add("VAR"),i.add("DFN"),i.add("ABBR"),i.add("STRONG"),i.add("EM"),i.add("BIG"),i.add("SMALL"),i.add("MARK"),i.add("SUB"),i.add("SUP"),i.add("SAMP"),i.add("KBD"),i.add("B"),i.add("I"),i.add("S"),i.add("U"),i.add("SPAN"),t.optionsToConfig=function(e){var t=void 0===e?{}:e,n=t.addedClass,a=void 0===n?"vdd-added":n,s=t.modifiedClass,c=void 0===s?"vdd-modified":s,l=t.removedClass,u=void 0===l?"vdd-removed":l,d=t.skipModified,f=void 0!==d&&d,h=t.skipChildren,p=t.skipSelf,m=t.diffText;return{addedClass:a,diffText:void 0===m?r.diffText:m,modifiedClass:c,removedClass:u,skipModified:f,skipChildren:function(e){if(!r.isElement(e)&&!r.isDocumentFragment(e)&&!r.isDocument(e))return!0;if(h){var t=h(e);if("boolean"==typeof t)return t}return o.has(e.nodeName)},skipSelf:function(e){if(!r.isText(e)&&!r.isElement(e))return!0;if(p){var t=p(e);if("boolean"==typeof t)return t}return i.has(e.nodeName)}}}},3741(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2189),o=n(9804),i=n(7154),a=n(8274),s=function(e){return"TH"===e?"TD":e},c=function(e,t){return new i.DomIterator(e,t).reduce(function(e,t){return e+(a.isText(t)?t.data:a.charForNodeName(s(t.nodeName)))},"")},l=function(e){return a.isText(e)?e.length:1}
7,u=function(e){return"TR"===e.nodeName},d={skipChildren:u,skipSelf:function(e){return!u(e)}};t.visualDomDiff=function e(t,n,u){var f,h;void 0===u&&(u={});var p,m,g,y,A,v=n.ownerDocument||n,b=o.optionsToConfig(u),w=b.addedClass,C=b.diffText,E=b.modifiedClass,M=b.removedClass,L=b.skipSelf,j=b.skipChildren,x=function(e){return!L(e)},S=function(e,t){return a.getAncestors(e,t).filter(x).length},N=function(e){return a.isElement(e)&&L(e)},k=function(e,t){return a.getAncestors(e,t).filter(N).reverse()},T=function(e){return V.has(e)?1:W.has(e)?-1:0},D=C(c(t,b),c(n,b)),I=0,_=new i.DomIterator(t,b),O=new i.DomIterator(n,b),z=0,B=0,$=0;g=D[I++],f=_.next(),p=f.done,y=f.value,h=O.next(),m=h.done,A=h.value;var P=v.createDocumentFragment(),R=P,U=0,Y=P,F=0,Q=null,q=null,W=new Set,V=new Set,G=new Set,H=new Map,Z=new Array,K=new Map;function X(){for(var e=S(y,t);U>e;){if(!R.parentNode)return a.never();R===Q&&(Q=null),R=R.parentNode,U--}if(U!==e)return a.never()}function J(){for(var e=S(A,n);F>e;){if(!Y.parentNode)return a.never();Y===q&&(q=null),Y=Y.parentNode,F--}if(F!==e)return a.never()}function ee(e){if(R!==Y||q||Q)return a.never();if(a.isText(e)){var r=k(y,t),o=k(A,n);H.set(e,o);var i=r.length;if(i!==o.length)G.add(e);else for(var s=0;s<i;++s)if(!a.areNodesEqual(r[s],o[s])){G.add(e);break}}else{a.areNodesEqual(y,A)||G.add(e);var c=y.nodeName;"TABLE"===c?Z.push({newTable:A,oldTable:y,outputTable:e}):"TR"===c&&K.set(e,{newRow:A,oldRow:y})}Y.appendChild(e),R=e,Y=e,U++,F++}function te(e){if(Q||(Q=e,W.add(e)),a.isText(e)){var n=k(y,t);H.set(e,n)}R.appendChild(e),R=e,U++}function ne(e){if(q||(q=e,V.add(e)),a.isText(e)){var t=k(A,n);H.set(e,t)}Y.appendChild(e),Y=e,F++}function re(e){var t=g[1].length;if((z+=e)===t)g=D[I++],z=0;else if(z>t)return a.never()}function oe(e){var t,n=l(y);if((B+=e)===n)t=_.next(),p=t.done,y=t.value,B=0;else if(B>n)return a.never()}function ie(e){var t,n=l(A);if(($+=e)===n)t=O.next(),m=t.done,A=t.value,$=0;else if($>n)return a.never()}for(;g;)if(g[0]===r.DIFF_DELETE){if(p)return a.never();X();var ae=Math.min(g[1].length-z,l(y)-B),se=g[1].substring(z,z+ae);te(a.isText(y)?v.createTextNode(se):y.cloneNode(!1)),re(ae),oe(ae)}else if(g[0]===r.DIFF_INSERT){if(m)return a.never();J();var ce=Math.min(g[1].length-z,l(A)-$);se=g[1].substring(z,z+ce);ne(a.isText(A)?v.createTextNode(se):A.cloneNode(!1)),re(ce),ie(ce)}else{if(p||m)return a.never();X(),J();var le=Math.min(g[1].length-z,l(y)-B,l(A)-$);se=g[1].substring(z,z+le);R===Y&&(a.isText(y)&&a.isText(A)||s(y.nodeName)===s(A.nodeName)&&!j(y)&&!j(A)||a.areNodesEqual(y,A))?ee(a.isText(A)?v.createTextNode(se):A.cloneNode(!1)):(te(a.isText(y)?v.createTextNode(se):y.cloneNode(!1)),ne(a.isText(A)?v.createTextNode(se):A.cloneNode(!1))),re(le),oe(le),ie(le)}return W.forEach(function(e){for(var t=e.parentNode,n=e.previousSibling;n&&V.has(n);)t.insertBefore(e,n),n=e.previousSibling}),Z.forEach(function(t){var n=t.newTable,r=t.oldTable,o=t.outputTable;if(!a.isTableValid(r,!0)||!a.isTableValid(n,!0)||!a.isTableValid(o,!1)){new i.DomIterator(o).forEach(function(e){V.delete(e),W.delete(e),G.delete(e),H.delete(e)});var s=o.parentNode,c=r.cloneNode(!0),l=n.cloneNode(!0);return s.insertBefore(c,o),s.insertBefore(l,o),s.removeChild(o),W.add(c),void V.add(l)}var f=[];new i.DomIterator(o,d).some(function(e){var t=K.get(e);if(!t)return!1;var n=t.oldRow,r=t.newRow,o=n.childNodes.length,i=r.childNodes.length,a=Math.max(o,i),s=Math.min(o,i);if(e.childNodes.length===a)for(var c=e.childNodes,l=0,u=c.length;l<u;++l)f.push(T(c[l]));else{l=0;for(var d=0;l<s;)f[l++]=d;for(d=o<i?1:-1;l<a;)f[l++]=d}return!0});var h=f.length;if(0===h)return a.never();new i.DomIterator(o,d).forEach(function(t){var n=t.childNodes;if(V.has(t)||V.has(t.parentNode)){if(n.length<h)for(var r=0;r<h;++r)if(-1===f[r]){var o=v.createElement("TD");t.insertBefore(o,n[r]),W.add(o)}}else if(W.has(t)||W.has(t.parentNode)){if(n.length<h)for(r=0;r<h;++r)if(1===f[r]){o=v.createElement("TD");t.insertBefore(o,n[r])}}else{for(var a=!0,s=(r=0,n.length);r<s;++r)if(T(n[r])!==f[r]){a=!1;break}if(!a){var c=new i.DomIterator(t);for(c.next(),c.forEach(function(e){V.delete(e),W.delete(e),G.delete(e),H.delete(e)});t.firstChild;)t.removeChild(t.firstChild);var l=K.get(t),d=l.newRow,p=l.oldRow,m=d.childNodes,g=p.childNodes,y=0,A=0;for(r=0;r<h;++r)if(1===f[r]){var b=m[A++].cloneNode(!0);t.appendChild(b),V.add(b)}else if(-1===f[r]){var w=g[y++].cloneNode(!0);t.appendChild(w),W.add(w)}else t.appendChild(e(g[y++],m[A++],u))}}})}),W.forEach(function(e){a.markUpNode(e,"DEL",M)}
7),V.forEach(function(e){a.markUpNode(e,"INS",w)}),b.skipModified||G.forEach(function(e){a.markUpNode(e,"INS",E)}),H.forEach(function(e,t){e.forEach(function(e){var n=t.parentNode,r=t.previousSibling;if(r&&a.areNodesEqual(r,e))r.appendChild(t);else{var o=e.cloneNode(!1);n.insertBefore(o,t),o.appendChild(t)}})}),P}},7154(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.rootNode=e,this.config=t,this.descend=!0,this.nextNode=this.rootNode,this.skipSelf(this.nextNode)&&this.next()}return e.prototype.toArray=function(){for(var e,t=[],n=this.next(),r=n.done,o=n.value;!r;)t.push(o),r=(e=this.next()).done,o=e.value;return t},e.prototype.forEach=function(e){for(var t,n=this.next(),r=n.done,o=n.value;!r;)e(o),r=(t=this.next()).done,o=t.value},e.prototype.reduce=function(e,t){for(var n,r=t,o=this.next(),i=o.done,a=o.value;!i;)r=e(r,a),i=(n=this.next()).done,a=n.value;return r},e.prototype.some=function(e){for(var t,n=this.next(),r=n.done,o=n.value;!r;){if(e(o))return!0;r=(t=this.next()).done,o=t.value}return!1},e.prototype.next=function(){if(!this.nextNode)return{done:!0,value:this.rootNode};var e=this.nextNode;return this.descend&&this.nextNode.firstChild&&!this.skipChildren(this.nextNode)?this.nextNode=this.nextNode.firstChild:this.nextNode===this.rootNode?this.nextNode=null:this.nextNode.nextSibling?(this.nextNode=this.nextNode.nextSibling,this.descend=!0):(this.nextNode=this.nextNode.parentNode,this.descend=!1,this.next()),this.nextNode&&this.skipSelf(this.nextNode)&&this.next(),{done:!1,value:e}},e.prototype.skipSelf=function(e){return!(!this.config||!this.config.skipSelf)&&this.config.skipSelf(e)},e.prototype.skipChildren=function(e){return!(!this.config||!this.config.skipChildren)&&this.config.skipChildren(e)},e}();t.DomIterator=n},8968(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1635).__exportStar(n(3741),t)},8274(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2189);function o(e){return e.nodeType===e.ELEMENT_NODE}function i(e){return e.nodeType===e.TEXT_NODE}function a(e){return e.nodeType===e.COMMENT_NODE}function s(e,t){return e===t}function c(e,t,n){if(void 0===n&&(n=s),e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;++r)if(!n(e[r],t[r]))return!1;return!0}function l(e){if(e.getAttributeNames)return e.getAttributeNames();for(var t=e.attributes,n=t.length,r=new Array(n),o=0;o<n;o++)r[o]=t[o].name;return r}function u(e){return Array.from(e).filter(function(e){return"#text"!==e.nodeName||e.textContent&&""!==e.textContent.trim()})}function d(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return t}function f(e){for(var t=0;t<e.length-2;){var n=e[t],o=e[t+1],i=e[t+2];if(n[0]===r.DIFF_EQUAL&&o[0]!==r.DIFF_EQUAL&&i[0]===r.DIFF_EQUAL){var a=n[1],s=o[1],c=i[1],l=a[a.length-1];l!==s[s.length-1]||l<""||l>="豈"?t++:(n[1]=a.substring(0,a.length-1),o[1]=l+s.substring(0,s.length-1),i[1]=l+c,0===n[1].length&&e.splice(t,1))}else t++}}t.isElement=o,t.isText=i,t.isDocument=function(e){return e.nodeType===e.DOCUMENT_NODE},t.isDocumentFragment=function(e){return e.nodeType===e.DOCUMENT_FRAGMENT_NODE},t.isComment=a,t.strictEqual=s,t.areArraysEqual=c,t.areNodesEqual=function e(t,n,r){if(void 0===r&&(r=!1),t===n)return!0;
7if(t.nodeType!==n.nodeType||t.nodeName!==n.nodeName)return!1;if(i(t)||a(t)){if(t.data!==n.data)return!1}else if(o(t)){var s=l(t).sort();if(!c(s,l(n).sort()))return!1;for(var u=0,d=s.length;u<d;++u){var f=s[u];if(t.getAttribute(f)!==n.getAttribute(f))return!1}}if(r){var h=t.childNodes,p=n.childNodes;if(h.length!==p.length)return!1;for(u=0,d=h.length;u<d;++u)if(!e(h[u],p[u],r))return!1}return!0},t.getAncestors=function(e,t){if(void 0===t&&(t=null),!e||e===t)return[];for(var n=[],r=e.parentNode;r&&(n.push(r),r!==t);)r=r.parentNode;return n},t.never=function(e){throw void 0===e&&(e="visual-dom-diff: Should never happen"),new Error(e)},t.hashCode=d,t.charForNodeName=function(e){return String.fromCharCode(57344+d(e)%6400)},t.cleanUpNodeMarkers=f;var h=new r.diff_match_patch;function p(e,t){for(var n=e.length,r=0,o=t.length;r<o;)e[n++]=t[r++]}t.diffText=function(e,t){var n=h.diff_main(e,t),o=[],i=[];f(n);for(var a=0,s=n.length;a<s;++a){var c=n[a];if(c[0]===r.DIFF_EQUAL){var l=c[1],u=l.length,d=/^[^\uE000-\uF8FF]*/.exec(l)[0].length;if(d<u){var m=/[^\uE000-\uF8FF]*$/.exec(l)[0].length;d>0&&i.push([r.DIFF_EQUAL,l.substring(0,d)]),h.diff_cleanupSemantic(i),p(o,i),i.length=0,o.push([r.DIFF_EQUAL,l.substring(d,u-m)]),m>0&&i.push([r.DIFF_EQUAL,l.substring(u-m)])}else i.push(c)}else i.push(c)}return h.diff_cleanupSemantic(i),p(o,i),i.length=0,h.diff_cleanupMerge(o),f(o),o},t.markUpNode=function(e,t,n){var r=e.ownerDocument,i=e.parentNode,a=e.previousSibling;if(o(e))e.classList.add(n);else if(a&&a.nodeName===t&&a.classList.contains(n))a.appendChild(e);else{var s=r.createElement(t);s.classList.add(n),i.insertBefore(s,e),s.appendChild(e)}},t.isTableValid=function(e,t){var n;return function(e){var t=u(e.childNodes),n=t.length,o=0;o<n&&"CAPTION"===t[o].nodeName&&o++;if(o<n&&"THEAD"===t[o].nodeName){if(!r(t[o]))return!1;o++}if(!(o<n&&"TBODY"===t[o].nodeName))return!1;if(!r(t[o]))return!1;o++;if(o<n&&"TFOOT"===t[o].nodeName){if(!r(t[o]))return!1;o++}return o===n}(e);function r(e){var t=e.childNodes,n=e.nodeName,r=u(t);if("TBODY"===n&&0===r.length)return!1;for(var i=0,a=r.length;i<a;++i)if(!o(r[i]))return!1;return!0}function o(e){var r=e.childNodes,o=e.nodeName,a=u(r);if("TR"!==o||0===a.length)return!1;if(t)if(void 0===n)n=a.length;else if(n!==a.length)return!1;for(var s=0,c=a.length;s<c;++s)if(!i(a[s]))return!1;return!0}function i(e){var t=e.nodeName;if("TD"!==t&&"TH"!==t)return!1;var n=e,r=n.getAttribute("colspan"),o=n.getAttribute("rowspan");return!(null!==r&&"1"!==r||null!==o&&"1"!==o)}}},8343(e,t,n){"use strict";const{normalizeIPv6:r,removeDotSegments:o,recomposeAuthority:i,normalizePercentEncoding:a,normalizePathEncoding:s,escapePreservingEscapes:c,reescapeHostDelimiters:l,isIPv4:u,nonSimpleDomain:d}=n(4834),{SCHEMES:f,getSchemeHandler:h}=n(343);function p(e,t,n,r){const i={};return r||(e=A(m(e,n),n),t=A(m(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=o(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=o(t.path||""),i.query=t.query):(t.path?("/"===t.path[0]?i.path=o(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path:i.path="/"+t.path,i.path=o(i.path)),i.query=t.query):(i.path=e.path,void 0!==t.query?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function m(e,t){const n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},r=Object.assign({},t),s=[],l=h(r.scheme||n.scheme);l&&l.serialize&&l.serialize(n,r),void 0!==n.path&&(r.skipEscape?n.path=a(n.path):(n.path=c(n.path),void 0!==n.scheme&&(n.path=n.path.split("%3A").join(":")))),"suffix"!==r.reference&&n.scheme&&s.push(n.scheme,":");const u=i(n);if(void 0!==u&&("suffix"!==r.reference&&s.push("//"),s.push(u),n.path&&"/"!==n.path[0]&&s.push("/")),void 0!==n.path){let e=n.path;r.absolutePath||l&&l.absolutePath||(e=o(e)),void 0===u&&"/"===e[0]&&"/"===e[1]&&(e="/%2F"+e.slice(2)),s.push(e)}
7return void 0!==n.query&&s.push("?",n.query),void 0!==n.fragment&&s.push("#",n.fragment),s.join("")}const g=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function y(e,t){const n=Object.assign({},t),o={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let i=!1,a=!1;"suffix"===n.reference&&(e=n.scheme?n.scheme+":"+e:"//"+e);const c=e.match(g);if(c){o.scheme=c[1],o.userinfo=c[3],o.host=c[4],o.port=parseInt(c[5],10),o.path=c[6]||"",o.query=c[7],o.fragment=c[8],isNaN(o.port)&&(o.port=c[5]);const t=function(e,t){return void 0!==t[2]&&e.path&&"/"!==e.path[0]?'URI path must start with "/" when authority is present.':"number"==typeof e.port&&(e.port<0||e.port>65535)?"URI port is malformed.":void 0}(o,c);if(void 0!==t&&(o.error=o.error||t,i=!0),o.host){if(!1===u(o.host)){const e=r(o.host);o.host=e.host.toLowerCase(),a=e.isIPV6}else a=!0}void 0!==o.scheme||void 0!==o.userinfo||void 0!==o.host||void 0!==o.port||void 0!==o.query||o.path?void 0===o.scheme?o.reference="relative":void 0===o.fragment?o.reference="absolute":o.reference="uri":o.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==o.reference&&(o.error=o.error||"URI is not a "+n.reference+" reference.");const f=h(n.scheme||o.scheme);if(!(n.unicodeSupport||f&&f.unicodeSupport)&&o.host&&(n.domainHost||f&&f.domainHost)&&!1===a&&d(o.host))try{o.host=URL.domainToASCII(o.host.toLowerCase())}catch(e){o.error=o.error||"Host's domain name can not be converted to ASCII: "+e}if((!f||f&&!f.skipNormalize)&&(-1!==e.indexOf("%")&&(void 0!==o.scheme&&(o.scheme=unescape(o.scheme)),void 0!==o.host&&(o.host=l(unescape(o.host),a))),o.path&&(o.path=s(o.path)),o.fragment))try{o.fragment=encodeURI(decodeURIComponent(o.fragment))}catch{o.error=o.error||"URI malformed"}f&&f.parse&&f.parse(o,n)}else o.error=o.error||"URI can not be parsed.";return{parsed:o,malformedAuthorityOrPort:i}}function A(e,t){return y(e,t).parsed}function v(e,t){const{parsed:n,malformedAuthorityOrPort:r}=y(e,t);return{normalized:r?e:m(n,t),malformedAuthorityOrPort:r}}function b(e,t){if("string"==typeof e){const{normalized:n,malformedAuthorityOrPort:r}=v(e,t);return r?void 0:n}if("object"==typeof e)return m(e,t)}const w={SCHEMES:f,normalize:function(e,t){return"string"==typeof e?e=function(e,t){return v(e,t).normalized}(e,t):"object"==typeof e&&(e=A(m(e,t),t)),e},resolve:function(e,t,n){const r=n?Object.assign({scheme:"null"},n):{scheme:"null"},o=p(A(e,r),A(t,r),r,!0);return r.skipEscape=!0,m(o,r)},resolveComponent:p,equal:function(e,t,n){const r=b(e,n),o=b(t,n);return void 0!==r&&void 0!==o&&r.toLowerCase()===o.toLowerCase()},serialize:m,parse:A};e.exports=w,e.exports.default=w,e.exports.fastUri=w},343(e,t,n){"use strict";const{isUUID:r}=n(4834),o=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,i=["http","https","ws","wss","urn","urn:uuid"];function a(e){return!0===e.secure||!1!==e.secure&&(!!e.scheme&&!(3!==e.scheme.length||"w"!==e.scheme[0]&&"W"!==e.scheme[0]||"s"!==e.scheme[1]&&"S"!==e.scheme[1]||"s"!==e.scheme[2]&&"S"!==e.scheme[2]))}function s(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function c(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const l={scheme:"http",domainHost:!0,parse:s,serialize:c},u={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=a(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(a(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,n]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},d={http:l,https:{scheme:"https",domainHost:l.domainHost,parse:s,serialize:c},ws:u,wss:{scheme:"wss",domainHost:u.domainHost,parse:u.parse,serialize:u.serialize},urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;const n=e.path.match(o);if(n){const r=t.scheme||e.scheme||"urn";e.nid=n[1].toLowerCase(),e.nss=n[2];const o=f(`${r}:${t.nid||e.nid}`);e.path=void 0,o&&(e=o.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){if(void 0===e.nid)throw new Error("URN without nid cannot be serialized");const n=t.scheme||e.scheme||"urn",r=e.nid.toLowerCase(),o=f(`${n}:${t.nid||r}`);o&&(e=o.serialize(e,t));const i=e,a=e.nss;return i.path=`${r||t.nid}:${a}`,t.skipEscape=!0,i},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,t){const n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&r(n.uuid)||(n.error=n.error||"UUID is not val
7id."),n},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};function f(e){return e&&(d[e]||d[e.toLowerCase()])||void 0}Object.setPrototypeOf(d,null),e.exports={wsIsSecure:a,SCHEMES:d,isValidSchemeName:function(e){return-1!==i.indexOf(e)},getSchemeHandler:f}},4834(e){"use strict";const t=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),n=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),r=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),o=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),i=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function a(e){let t="",n=0,r=0;for(r=0;r<e.length;r++)if(n=e[r].charCodeAt(0),48!==n){if(!(n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return"";t+=e[r];break}for(r+=1;r<e.length;r++){if(n=e[r].charCodeAt(0),!(n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return"";t+=e[r]}return t}const s=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function c(e){return e.length=0,!0}function l(e,t,n){if(e.length){const r=a(e);if(""===r)return n.error=!0,!1;t.push(r),e.length=0}return!0}function u(e){if(function(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}(e,":")<2)return{host:e,isIPV6:!1};const t=function(e){let t=0;const n={error:!1,address:"",zone:""},r=[],o=[];let i=!1,s=!1,u=l;for(let a=0;a<e.length;a++){const l=e[a];if("["!==l&&"]"!==l)if(":"!==l)if("%"===l){if(!u(o,r,n))break;u=c}else o.push(l);else{if(!0===i&&(s=!0),!u(o,r,n))break;if(++t>7){n.error=!0;break}a>0&&":"===e[a-1]&&(i=!0),r.push(":")}}return o.length&&(u===c?n.zone=o.join(""):s?r.push(o.join("")):r.push(a(o))),n.address=r.join(""),n}(e);if(t.error)return{host:e,isIPV6:!1};{let e=t.address,n=t.address;return t.zone&&(e+="%"+t.zone,n+="%25"+t.zone),{host:e,isIPV6:!0,escapedHost:n}}}const d={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},f=/[@/?#:]/g,h=/[@/?#]/g;function p(e,t){const n=t?h:f;return n.lastIndex=0,e.replace(n,e=>d[e])}e.exports={nonSimpleDomain:s,recomposeAuthority:function(e){const t=[];if(void 0!==e.userinfo&&(t.push(e.userinfo),t.push("@")),void 0!==e.host){let r=unescape(e.host);if(!n(r)){const e=u(r);r=!0===e.isIPV6?`[${e.escapedHost}]`:p(r,!1)}t.push(r)}return"number"!=typeof e.port&&"string"!=typeof e.port||(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0},reescapeHostDelimiters:p,normalizePercentEncoding:function(e,t=!1){if(-1===e.indexOf("%"))return e;let n="";for(let i=0;i<e.length;i++){if("%"===e[i]&&i+2<e.length){const a=e.slice(i+1,i+3);if(r(a)){const e=a.toUpperCase(),r=String.fromCharCode(parseInt(e,16));t&&o(r)?n+=r:n+="%"+e,i+=2;continue}}n+=e[i]}return n},normalizePathEncoding:function(e){let t="";for(let n=0;n<e.length;n++){if("%"===e[n]&&n+2<e.length){const i=e.slice(n+1,n+3);if(r(i)){const e=i.toUpperCase(),r=String.fromCharCode(parseInt(e,16));"."!==r&&o(r)?t+=r:t+="%"+e,n+=2;continue}}i(e[n])?t+=e[n]:t+=escape(e[n])}return t},escapePreservingEscapes:function(e){let t="";for(let n=0;n<e.length;n++){if("%"===e[n]&&n+2<e.length){const o=e.slice(n+1,n+3);if(r(o)){t+="%"+o.toUpperCase(),n+=2;continue}}t+=escape(e[n])}return t},removeDotSegments:function(e){let t=e;const n=[];let r=-1,o=0;for(;o=t.length;){if(1===o){if("."===t)break;if("/"===t){n.push("/");break}n.push(t);break}if(2===o){if("."===t[0]){if("."===t[1])break;if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&("."===t[1]||"/"===t[1])){n.push("/");break}}else if(3===o&&"/.."===t){0!==n.length&&n.pop(),n.push("/");break}if("."===t[0]){if("."===t[1]){if("/"===t[2]){t=t.slice(3);continue}}else if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&"."===t[1]){if("/"===t[2]){t=t.slice(2);continue}if("."===t[2]&&"/"===t[3]){t=t.slice(3),0!==n.length&&n.pop();continue}}if(-1===(r=t.indexOf("/",1))){n.push(t);break}n.push(t.slice(0,r)),t=t.slice(r)}return n.join("")},isIPv4:n,isUUID:t,normalizeIPv6:u,stringArrayToHexStripped:a}},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>O,__assign:()=>i,__asyncDelegator:()=>L,__asyncGenerator:()=>M,__asyncValues:()=>j,__await:()=>E,__awaiter:()=>p,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>_,__classPrivateFieldSet:()=>I,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>B,__esDecorate:()=>l,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>T,__importStar:()=>
vendor: 8,831 bytes, line 7
7k,__makeTemplateObject:()=>x,__metadata:()=>h,__param:()=>c,__propKey:()=>d,__read:()=>v,__rest:()=>a,__rewriteRelativeImportExtension:()=>$,__runInitializers:()=>u,__setFunctionName:()=>f,__spread:()=>b,__spreadArray:()=>C,__spreadArrays:()=>w,__values:()=>A,default:()=>P});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,n[h])("accessor"===c?{get:d.get,set:d.set}:d[l],p);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&o.unshift(s)}else(s=a(g))&&("field"===c?o.unshift(s):d[l]=s)}u&&Object.defineProperty(u,r.name,d),f=!0}function u(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})}function m(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function A(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function C(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function E(e){return this instanceof E?(this.v=e,this):new E(e)}function M(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=o[e](t)).value instanceof E?Promise.resolve(n.value.v).then(c,l):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function L(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:E(e[r](t)),done:!1}:o?o(t):t}:o}}function j(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=A(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,o,(t=e[n](t)).done,t.value)})}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},N=function(e){return N=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},N(e)};function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=N(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return S(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function D(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function I(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function _(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function O(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;
7if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var z="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function B(e){function t(t){e.error=e.hasError?new z(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function o(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,function(e){return t(e),o()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function $(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,o,i){return n?t?".jsx":".js":!r||o&&i?r+o+"."+i.toLowerCase()+"js":e}):e}const P={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__esDecorate:l,__runInitializers:u,__propKey:d,__setFunctionName:f,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:y,__values:A,__read:v,__spread:b,__spreadArrays:w,__spreadArray:C,__await:E,__asyncGenerator:M,__asyncDelegator:L,__asyncValues:j,__makeTemplateOb
7ject:x,__importStar:k,__importDefault:T,__classPrivateFieldGet:D,__classPrivateFieldSet:I,__classPrivateFieldIn:_,__addDisposableResource:O,__disposeResources:B,__rewriteRelativeImportExtension:$}},3837(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}')},2079(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true}
vendor: 10,531 bytes, lines 7-19
7,"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{"use strict";
8/**
9 * @license
10 * Copyright 2019 Google LLC
11 * SPDX-License-Identifier: BSD-3-Clause
12 */
13const e=globalThis,t=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new WeakMap;class i{constructor(e,t,n){if(this._$cssResult$=!0,n!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const n=this.t;if(t&&void 0===e){const t=void 0!==n&&1===n.length;t&&(e=o.get(n)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t&&o.set(n,e))}return e}toString(){return this.cssText}}const a=(n,r)=>{if(t)n.adoptedStyleSheets=r.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const t of r){const r=document.createElement("style"),o=e.litNonce;void 0!==o&&r.setAttribute("nonce",o),r.textContent=t.cssText,n.appendChild(r)}},s=t?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new i("string"==typeof e?e:e+"",void 0,r))(t)})(e):e,{is:c,defineProperty:l,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,p=globalThis,m=p.trustedTypes,g=m?m.emptyScript:"",y=p.reactiveElementPolyfillSupport,A=(e,t)=>e,v={toAttribute(e,t){switch(t){case Boolean:e=e?g:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},b=(e,t)=>!c(e,t),w={attribute:!0,type:String,converter:v,reflect:!1,useDefault:!1,hasChanged:b};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;class C extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=w){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&l(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){const{get:r,set:o}=u(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:r,set(t){const i=r?.call(this);o?.call(this,t),this.requestUpdate(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??w}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const e=h(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const e=this.properties,t=[...d(e),...f(e)];for(const n of t)this.createProperty(n,e[n])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const n=this._$Eu(e,t);void 0!==n&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eu(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return a(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){const n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(void 0!==r&&!0===n.reflect){const o=(void 0!==n.converter?.toAttribute?n.converter:v).toAttribute(t,n.type);this._$Em=e,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(e,t){const n=this.constructor,r=n._$Eh.get(e);if(void 0!==r&&this._$Em!==r){const e=n.getPropertyOptions(r),o="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:v;this._$Em=r;const i=o.fromAttribute(t,e.type);this[r]=i??this._$Ej?.get(r)??i,this._$Em=null}}requestUpdate(e,t,n,r=!1,o){if(void 0!==e){const i=this.constructor;if(!1===r&&(o=this[e]),n??=i.getPropertyOptions(e),!((n.hasChanged??b)(o,t)||n.useDefault&&n.reflect&&o===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:o},i){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,i??t??this[e]),!0!==o||void 0!==i)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,n]of e){const{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||void 0===r||this.C(t,void 0,n,r)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}}C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[A("elementProperties")]=new Map,C[A("finalized")]=new Map,y?.({ReactiveElement:C}),(p.reactiveElementVersions??=[]).push("2.1.2");
14/**
15 * @license
16 * Copyright 2017 Google LLC
17 * SPDX-License-Identifier: BSD-3-Clause
18 */
19const E=globalThis,M=e=>e,L=E.trustedTypes,j=L?L.createPolicy("lit-html",{createHTML:e=>e}):void 0,x="$lit$",S=`lit$${Math.random().toFixed(9).slice(2)}$`,N="?"+S,k=`<${N}>`,T=document,D=()=>T.createComment(""),I=e=>null===e||"object"!=typeof e&&"function"!=typeof e,_=Array.isArray,O=e=>_(e)||"function"==typeof e?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,P=/>/g,R=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,Y=/"/g,F=/^(?:script|style|textarea|title)$/i,Q=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),q=Q(1),W=(Q(2),Q(3),Symbol.for("lit-noChange")),V=Symbol.for("lit-nothing"),G=new WeakMap,H=T.createTreeWalker(T,129);function Z(e,t){if(!_(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==j?j.createHTML(t):t}const K=(e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"<svg>":3===t?"<math>":"",a=B;for(let t=0;t<n;t++){const n=e[t];let s,c,l=-1,u=0;for(;u<n.length&&(a.lastIndex=u,c=a.exec(n),null!==c);)u=a.lastIndex,a===B?"!--"===c[1]?a=$:void 0!==c[1]?a=P:void 0!==c[2]?(F.test(c[2])&&(o=RegExp("</"+c[2],"g")),a=R):void 0!==c[3]&&(a=R):a===R?">"===c[0]?(a=o??B,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?R:'"'===c[3]?Y:U):a===Y||a===U?a=R:a===$||a===P?a=B:(a=R,o=void 0);
vendor: 4,198 bytes, line 19
19const d=a===R&&e[t+1].startsWith("/>")?" ":"";i+=a===B?n+k:l>=0?(r.push(s),n.slice(0,l)+x+n.slice(l)+S+d):n+S+(-2===l?t:d)}return[Z(e,i+(e[n]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]};class X{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const a=e.length-1,s=this.parts,[c,l]=K(e,t);if(this.el=X.createElement(c,n),H.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=H.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(x)){const t=l[i++],n=r.getAttribute(e).split(S),a=/([.?@])?(.*)/.exec(t);s.push({type:1,index:o,name:a[2],strings:n,ctor:"."===a[1]?re:"?"===a[1]?oe:"@"===a[1]?ie:ne}),r.removeAttribute(e)}else e.startsWith(S)&&(s.push({type:6,index:o}),r.removeAttribute(e));if(F.test(r.tagName)){const e=r.textContent.split(S),t=e.length-1;if(t>0){r.textContent=L?L.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],D()),H.nextNode(),s.push({type:2,index:++o});r.append(e[t],D())}}}else if(8===r.nodeType)if(r.data===N)s.push({type:2,index:o});else{let e=-1;for(;-1!==(e=r.data.indexOf(S,e+1));)s.push({type:7,index:o}),e+=S.length-1}o++}}static createElement(e,t){const n=T.createElement("template");return n.innerHTML=e,n}}function J(e,t,n=e,r){if(t===W)return t;let o=void 0!==r?n._$Co?.[r]:n._$Cl;const i=I(t)?void 0:t._$litDirective$;return o?.constructor!==i&&(o?._$AO?.(!1),void 0===i?o=void 0:(o=new i(e),o._$AT(e,n,r)),void 0!==r?(n._$Co??=[])[r]=o:n._$Cl=o),void 0!==o&&(t=J(e,o._$AS(e,t.values),o,r)),t}class ee{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??T).importNode(t,!0);H.currentNode=r;let o=H.nextNode(),i=0,a=0,s=n[0];for(;void 0!==s;){if(i===s.index){let t;2===s.type?t=new te(o,o.nextSibling,this,e):1===s.type?t=new s.ctor(o,s.name,s.strings,this,e):6===s.type&&(t=new ae(o,this,e)),this._$AV.push(t),s=n[++a]}i!==s?.index&&(o=H.nextNode(),i++)}return H.currentNode=T,r}p(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class te{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=J(this,e,t),I(e)?e===V||null==e||""===e?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==W&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):O(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==V&&I(this._$AH)?this._$AA.nextSibling.data=e:this.T(T.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:n}=e,r="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=X.createElement(Z(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{const e=new ee(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=G.get(e.strings);return void 0===t&&G.set(e.strings,t=new X(e)),t}k(e){_(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new te(this.O(D()),this.O(D()),this,this.options)):n=t[r],n._$AI(o),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){const t=M(e).nextSibling;M(e).remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class ne{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,o){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;
19if(void 0===o)e=J(this,e,t,0),i=!I(e)||e!==this._$AH&&e!==W,i&&(this._$AH=e);else{const r=e;let a,s;for(e=o[0],a=0;a<o.length-1;a++)s=J(this,r[n+a],t,a),s===W&&(s=this._$AH[a]),i||=!I(s)||s!==this._$AH[a],s===V?e=V:e!==V&&(e+=(s??"")+o[a+1]),this._$AH[a]=s}i&&!r&&this.j(e)}j(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class re extends ne{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===V?void 0:e}}class oe extends ne{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}}class ie extends ne{constructor(e,t,n,r,o){super(e,t,n,r,o),this.type=5}_$AI(e,t=this){if((e=J(this,e,t,0)??V)===W)return;const n=this._$AH,r=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==V&&(n===V||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class ae{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){J(this,e)}}const se=E.litHtmlPolyfillSupport;se?.(X,te),(E.litHtmlVersions??=[]).push("3.3.3");const ce=globalThis;class le extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=((e,t,n)=>{const r=n?.renderBefore??t;let o=r._$litPart$;if(void 0===o){const e=n?.renderBefore??null;r._$litPart$=o=new te(t.insertBefore(D(),e),e,void 0,n??{})}return o._$AI(e),o})(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return W}}le._$litElement$=!0,le.finalized=!0,ce.litElementHydrateSupport?.({LitElement:le});const ue=ce.litElementPolyfillSupport;ue?.({LitElement:le});(ce.litElementVersions??=[]).push("4.2.2");var de=n(3282),fe=new(n.n(de)())({allErrors:!0,schemas:[{$id:"http://v1.schemas.readthedocs.org/addons.analytics.json",type:"object",required:["addons","projects","versions"],properties:{addons:{type:"object",required:["analytics"],properties:{analytics:{type:"object",required:["code","enabled"],properties:{code:{type:["string","null"]},enabled:{type:"boolean"}}}}},projects:{type:"object",required:["current"],properties:{current:{type:"object",required:["slug","language","programming_language"],properties:{slug:{type:"string"},language:{type:"object",required:["code"],properties:{code:{type:"string"}}},programming_language:{type:"object",required:["code"],properties:{code:{type:"string"}}}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.docdiff.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["options","doc_diff"],properties:{options:{type:"object",required:["root_selector"],properties:{root_selector:{type:["string","null"]}}},doc_diff:{type:"object",required:["base_url","enabled"],properties:{base_url:{type:"string"},enabled:{type:"boolean"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.ethicalads.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["ethicalads"],properties:{ethicalads:{type:"object",required:["ad_free","campaign_types","enabled","keywords","publisher"],properties:{ad_free:{type:"boolean"},campaign_types:{type:"array"},enabled:{type:"boolean"},keywords:{type:"array"},publisher:{type:"string"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.flyout.json",type:"object",required:["addons","projects","versions","readthedocs"],properties:{addons:{type:"object",required:["flyout"],properties:{flyout:{type:"object",required:["enabled"],properties:{enabled:{type:"boolean"},vcs:{type:"object",properties:{view_url:{type:"string"}}}}}}},projects:{type:"object",required:["current","translations"],properties:{current:{type:"object",required:["slug","urls","versioning_scheme"],properties:{slug:{type:"string"},urls:{type:"object",required:["home","builds"],properties:{home:{type:"string"},builds:{type:"string"}}},versioning_scheme:{enum:["multiple_versions_with_translations","multiple_versions_without_translations","single_version_
19without_translations"]}}},translations:{type:"array"}}},versions:{type:"object",required:["current","active"],properties:{active:{type:"array"},current:{type:"object",required:["slug","downloads"],properties:{slug:{type:"string"},downloads:{type:"object"}}}}},readthedocs:{type:"object",required:["resolver"],properties:{resolver:{type:"object",required:["filename"],properties:{filename:{type:["string","null"]}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.hotkeys.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["hotkeys"],properties:{hotkeys:{type:"object",required:["enabled","doc_diff","search"],properties:{enabled:{type:"boolean"},doc_diff:{type:"object",required:["enabled","trigger"],properties:{enabled:{type:"boolean"},trigger:{type:"string"}}},search:{type:"object",required:["enabled","trigger"],properties:{enabled:{type:"boolean"},trigger:{type:"string"}}}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.notifications.json",type:"object",required:["addons","readthedocs"],properties:{addons:{type:"object",required:["notifications"],properties:{enabled:{type:"object",properties:{enabled:{type:"boolean"}}}}},builds:{type:"object",required:["current"],properties:{current:{type:["object","null"],required:["urls"],properties:{urls:{type:"object",required:["build"],properties:{build:{type:"string"}}}}}}},projects:{type:"object",properties:{current:{type:"object",properties:{slug:{type:"string"},versioning_scheme:{enum:["multiple_versions_with_translations","multiple_versions_without_translations","single_version_without_translations"]},repository:{type:"object",required:["url"],properties:{url:{type:"string"}}},language:{type:"object",required:["code"],properties:{code:{type:"string"}}}}}}},versions:{type:"object",required:["current","active"],properties:{active:{type:"array"},current:{type:"object",required:["slug","urls","type","aliases"],properties:{aliases:{type:"array"},slug:{type:"string"},type:{enum:["branch","tag","external"]},urls:{type:"object",required:["documentation","vcs"],properties:{documentation:{type:"string"},vcs:{type:"string"}}}}}}},readthedocs:{type:"object",required:["resolver"],properties:{resolver:{type:"object",required:["filename"],properties:{filename:{type:["string","null"]}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.search.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["search"],properties:{search:{type:"object",required:["enabled","default_filter","filters"],properties:{enabled:{type:"boolean"},default_filter:{type:"string"},filters:{type:"array"}}}}},projects:{type:"object",required:["current"],properties:{current:{type:"object",required:["slug"],properties:{slug:{type:"string"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.linkpreviews.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["options","linkpreviews"],properties:{options:{type:"object",required:["root_selector"],properties:{root_selector:{type:["string","null"]}}},linkpreviews:{type:"object",required:["enabled","selector"],properties:{enabled:{type:"boolean"},selector:{type:["string","null"]}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.filetreediff.json",type:"object",required:["addons","versions"],properties:{addons:{type:"object",required:["filetreediff"],properties:{filetreediff:{type:"object",required:["enabled","diff"],properties:{enabled:{type:"boolean"},diff:{type:"object",properties:{added:{type:"array"},deleted:{type:"array"},modified:{type:"array"}}}}}}},versions:{type:"object",required:["current"],properties:{current:{type:"object",required:["type","slug","urls"],properties:{type:{type:"string"},slug:{type:"string"},urls:{type:"object",required:["vcs"],properties:{vcs:{type:"string"}}}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.customscript.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["customscript"],properties:{customscript:{type:"object",required:["enabled"],properties:{enabled:{type:"boolean"},src:{type:["string","null"]}}}}}}}]}),he=n(1794),pe=n.n(he),me="sphinx",ge="mkdocs-material",ye="zensical",Ae="docusaurus",ve="mystmd",be="pelican",we="asciidoctor",Ce="jekyll",Ee="docsify",Me="antora",Le="mdbook",je="vitepress",xe="fallback",Se="/_/api/v3/embed/",Ne="light-mode",ke="dark-mode",Te="unknown-mode";function De(e){return De="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},De(e)}function Ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_e(r.key),r)}}function _e(e){var t=function(e,t){if("object"!=De(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=De(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==De(t)?t:t+""}var Oe,ze="readthedocs-search-show",Be="readthedocs-search-hide",$e="readthedocs-docdiff-added-removed-show",Pe="readthedocs-docdiff-hide",Re="readthedocs-flyout-show",Ue="readthedocs-flyout-hide",Ye="readthedocs-url-changed",Fe="readthedocs-addons-data-ready",Qe="readthedocs-addons-internal-data-ready",qe="readthedocs-root-dom-changed",We=function(){return function(e,t,n){return t&&Ie(e.prototype,t),n&&Ie(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._initialized=!1,this._data=t},[{key:"initialize",value:function(){if(void 0===ut("readthedocs-addons-api-version"))throw"Subscribing to '".concat(Fe,'\' requires defining the \'<meta name="readthedocs-addons-api-version" content="').
19concat(rt,"\" />' tag in the HTML.");this._initialized=!0}},{key:"data",value:function(e){return this._initialized||e||this.initialize(),this._data}},{key:"httpStatus",value:function(){var e=ut("readthedocs-http-status");return e}}])}();function Ve(e){return Ve="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},Ve(e)}function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach(function(t){tt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ze(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ke(e,t);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)?Ke(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nt(r.key),r)}}function et(e,t,n){return t&&Je(e.prototype,t),n&&Je(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function tt(e,t,n){return(t=nt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nt(e){var t=function(e,t){if("object"!=Ve(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ve(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ve(t)?t:t+""}var rt="1",ot="0.50.0",it=globalThis.location.href.startsWith("http://localhost")&&!0;new Promise(function(e){if("interactive"===document.readyState||"complete"===document.readyState)return e();var t=!1;document.addEventListener("DOMContentLoaded",function(){t||e(),t=!0},{capture:!0,once:!0,passive:!0})});var at=function(){return et(function e(t){Xe(this,e),this.elements=[],void 0!==this.constructor.elementClass&&(this.elements=document.querySelectorAll(this.constructor.elementClass.elementName),this.elements.length||(this.elements=[new this.constructor.elementClass],document.body.append(this.elements[0]))),this.loadConfig(t)},[{key:"loadConfig",value:function(e){var t,n=Ze(this.elements);try{for(n.s();!(t=n.n()).done;){t.value.loadConfig(e)}}catch(e){n.e(e)}finally{n.f()}}}],[{key:"isConfigValid",value:function(e){var t=fe.getSchema(this.jsonValidationURI),n=t(e);return n||console.error('Validation error on addon "'.concat(this.addonName,'":'),t.errors),n}},{key:"isEnabled",value:function(e,t){var n=parseInt(t,10);return!(null!=n&&!isNaN(n)&&!this.enabledOnHttpStatus.includes(n))&&(!0===pe().get(e,this.addonEnabledPath,!1)&&this.isConfigValid(e))}},{key:"getAddonLocalStorageKey",value:function(){return this.addonLocalStorageKey||"readthedocs-".concat(this.addonName.toLowerCase(),"-storage-key")}},{key:"requiresUrlParam",value:function(){return!1}},{key:"getLocalStorage",value:function(){var e=window.localStorage.getItem(this.getAddonLocalStorageKey());return e?JSON.parse(e):{}}},{key:"setLocalStorage",value:function(e){var t=He(He({},this.getLocalStorage()||{}),e);window.localStorage.setItem(this.getAddonLocalStorageKey(),JSON.stringify(t))}}])}();function st(e,t){var n,r=function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(r,o)},t)};return r.cancel=function(){clearTimeout(n),n=null},r}function ct(e){return new URL(window.location.href).searchParams.get(e)}
19function lt(e,t,n){var r=new URL(e);return r.searchParams.append("utm_source",n),r.searchParams.append("utm_content",t),r.href}function ut(e){var t=document.querySelector("meta[name=".concat(e,"]"));if(null!==t)return t.getAttribute("content")}function dt(e,t){if(e){if(!t){if(ht.isSinglePageApplication())return new URL(e);if(null==(t=ut("readthedocs-resolver-filename")))return new URL(e)}if(!t)return new URL(e);var n=e.replace(/\/+$/,"/"),r=t.replace(/\/index.html$/,"/").replace(/^\//,"");return new URL(r,n)}}tt(at,"jsonValidationURI",null),tt(at,"addonName",null),tt(at,"addonEnabledPath",null),tt(at,"addonLocalStorageKey",null),tt(at,"enabledOnHttpStatus",[200]);var ft=function(){function e(){Xe(this,e),this.documentationTool=this.getDocumentationTool(),this.documentationTheme=this.getDocumentationTheme(),this.documentationThemeMode=this.getDocumentationThemeMode(),console.debug("Documentation tool detected: ".concat(this.documentationTool)),console.debug("Documentation theme detected: ".concat(this.documentationTheme)),console.debug("Documentation theme mode detected: ".concat(this.documentationThemeMode)),this.connectEvents()}return et(e,[{key:"connectEvents",value:function(){var e=this,t={attributes:!0,childList:!1,subtree:!1},n=new MutationObserver(function(t,n){console.debug("Observed element mutated.",t,n);var r,o=Ze(t);try{for(o.s();!(r=o.n()).done;){"attributes"===r.value.type&&(e.documentationThemeMode=e.getDocumentationThemeMode())}}catch(e){o.e(e)}finally{o.f()}});n.observe(document.documentElement,t),n.observe(document.body,t)}},{key:"getLinkSelector",value:function(){if(this.documentationTool&&pe().get(this.constructor.DEFAULT_LINK_SELECTOR,this.documentationTool,null))return"".concat(this.getRootSelector()," ").concat(this.constructor.DEFAULT_LINK_SELECTOR[this.documentationTool]);var e,t,n=Ze(this.constructor.DEFAULT_LINK_SELECTOR[xe]);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(e="".concat(this.getRootSelector()," ").concat(r),document.querySelector(e))return e}}catch(e){n.e(e)}finally{n.f()}return console.warning("Not able to find main content for link previews. Link previews may not function."),null}},{key:"getRootSelector",value:function(){if(this.documentationTool&&pe().get(this.constructor.DEFAULT_ROOT_SELECTOR,this.documentationTool,null))return this.constructor.DEFAULT_ROOT_SELECTOR[this.documentationTool];var e,t=Ze(this.constructor.DEFAULT_ROOT_SELECTOR[xe]);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(document.querySelector(n))return n}}catch(e){t.e(e)}finally{t.f()}return console.warning("Not able to find the main content CSS selector. Some addons features may not work as expected."),null}},{key:"getDocumentationTool",value:function(){return this.isSphinx()?me:this.isMaterialMkDocs()?ge:this.isPelican()?be:this.isDocusaurus()?Ae:this.isZensical()?ye:this.isAsciiDoctor()?we:this.isJekyll()?Ce:this.isMkDocs()?"mkdocs":this.isDocsify()?Ee:this.isMdBook()?Le:this.isAntora()?Me:this.isVitePress()?je:this.isMystmd()?ve:(console.debug("We were not able to detect the documentation tool."),null)}},{key:"getDocumentationTheme",value:function(){if((this.documentationTool||this.getDocumentationTool())===me){if(this.isSphinxPiccoloTheme())return"piccolo";if(this.isSphinxAlabasterLikeTheme())return"alabaster";if(this.isSphinxReadTheDocsLikeTheme())return"readthedocs";if(this.isSphinxFuroLikeTheme())return"furo";if(this.isSphinxImmaterialLikeTheme())return"immaterial";if(this.isSphinxPyDataLikeTheme())return"pydata"}return null}},{key:"getDocumentationThemeMode",value:function(){for(var e,t={auto:Te,light:Ne,dark:ke},n=window.matchMedia("(prefers-color-scheme: dark)").matches,r=0,o=["theme","mode","color"];r<o.length;r++){var i,a=o[r];if(e=null===(i=document.querySelector("html[data-theme], html[data-mode], html[data-color], body[data-theme]"))||void 0===i?void 0:i.dataset[a])break}return void 0===e&&(e=document.querySelector("html.dark")?"dark":void 0),void 0===e&&(e=document.querySelector("html.light")?"light":void 0),Object.keys(t).includes(e)?"auto"!==e?t[e]:n?ke:Ne:Te}},{key:"isSinglePageApplication",value:function(){var t=e.SINGLE_PAGE_APPLICATIONS.includes(this.documentationTool);return console.debug("isSinglePageApplication:",t),t}},{key:"isAntora",value:function(){return!!document.querySelectorAll('meta[name="generator"][content^="Antora"]').length}},{key:"isVitePress",value:function(){return!!document.querySelectorAll('meta[name="generator"][content^="VitePress"]').length}},{key:"isMystmd",value:function(){return!!document.querySelectorAll('meta[name="generator"][content^="mystmd"]').length}},{key:"isMdBook",value:function(){var e;return!(null===(e=document)||void 0===e||null===(e=e.head)||void 0===e||null===(e=e.firstChild)||void 0===e||null===(e=e.nextSibling)||void 0===e||!e.textContent.includes("Book generated using mdBook"))}},{key:"isDocsify",value:function(){return!!document.querySelectorAll("head > link[href*=docsify]").length}}
19,{key:"isSphinx",value:function(){return this.isSphinxPiccoloTheme()||this.isSphinxAlabasterLikeTheme()||this.isSphinxReadTheDocsLikeTheme()||this.isSphinxFuroLikeTheme()||this.isSphinxBookThemeLikeTheme()||this.isSphinxImmaterialLikeTheme()||this.isSphinxPyDataLikeTheme()}},{key:"isMaterialMkDocs",value:function(){return this.isMaterialMkDocsTheme()}},{key:"isDocusaurus",value:function(){return this.isDocusaurusTheme()}},{key:"isZensical",value:function(){return this.isZensicalTheme()}},{key:"isPelican",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content="Pelican"]').length}},{key:"isAsciiDoctor",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="Asciidoctor"]').length}},{key:"isJekyll",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="Jekyll"]').length}},{key:"isMkDocs",value:function(){var e;return!(null===(e=document)||void 0===e||null===(e=e.lastChild)||void 0===e||!e.textContent.includes("MkDocs version :"))}},{key:"isSphinxPiccoloTheme",value:function(){return 1===document.querySelectorAll('script[src*="_static/js/petite-vue.js"]').length}},{key:"isSphinxAlabasterLikeTheme",value:function(){return!!document.querySelectorAll(['link[href*="_static/alabaster.css"]','link[href*="_static/flask.css"]','link[href*="_static/jinja.css"]','link[href*="_static/click.css"]','link[href*="_static/celery.css"]','link[href*="_static/babel.css"]','link[href*="_static/platter.css"]','link[href*="_static/werkzeug.css"]'].join(", ")).length}},{key:"isSphinxReadTheDocsLikeTheme",value:function(){return 1===document.querySelectorAll('script[src*="_static/js/theme.js"]').length}},{key:"isSphinxFuroLikeTheme",value:function(){return 1===document.querySelectorAll('link[href*="_static/styles/furo.css"]').length}},{key:"isSphinxBookThemeLikeTheme",value:function(){return 1===document.querySelectorAll('link[href*="_static/styles/sphinx-book-theme.css"]').length}},{key:"isSphinxImmaterialLikeTheme",value:function(){return!!document.querySelectorAll('link[href*="_static/sphinx_immaterial_theme"]','a[href="https://github.com/jbms/sphinx-immaterial/"][rel="noopener"]').length}},{key:"isSphinxPyDataLikeTheme",value:function(){return 1===document.querySelectorAll('link[href*="_static/styles/pydata-sphinx-theme.css"]').length}},{key:"isMaterialMkDocsTheme",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="mkdocs-material"]').length}},{key:"isDocusaurusTheme",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="Docusaurus"]').length}},{key:"isZensicalTheme",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="zensical"]').length}}])}();tt(ft,"DEFAULT_ROOT_SELECTOR",(tt(tt(tt(tt(tt(tt(tt(tt(tt(tt(Oe={},me,"[role=main]"),ge,"main > div > div.md-content"),Ee,"article#main"),we,"div#content"),be,"article"),Ae,"article div.markdown"),ve,"article"),ye,"article"),Me,"article"),Ce,"article"),tt(Oe,xe,["article","main","div.body","div.document","body"]))),tt(ft,"DEFAULT_LINK_SELECTOR",tt(tt({},me,"a.internal"),xe,["p a"])),tt(ft,"SINGLE_PAGE_APPLICATIONS",[je,Le,Ae,Ee,ve]);var ht=new ft;function pt(e,t){return t=t||{},new Promise(function(n,r){var o=new XMLHttpRequest,i=[],a=[],s={},c=function(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:c,headers:{keys:function(){return i},entries:function(){return a},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}};for(var l in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,t,n){i.push(t=t.toLowerCase()),a.push([t,n]),s[t]=s[t]?s[t]+","+n:n}),n(c())},o.onerror=r,o.withCredentials="include"==t.credentials,t.headers)o.setRequestHeader(l,t.headers[l]);o.send(t.body||null)})}function mt(e,t){var n=ut("readthedocs-project-slug"),r=ut("readthedocs-version-slug"),o={"client-version":ot,"api-version":t};
19e&&(o.url=window.location.href),n&&r&&(o["project-slug"]=n,o["version-slug"]=r);var i="/_/addons/?"+new URLSearchParams(o);return it&&(i="/_/readthedocs-addons.json"),i}function gt(e){return new Promise(function(t,n){pt(mt(e,rt),{method:"GET"}).then(function(e){return e.ok?e.json():n("Error hitting addons API endpoint")}).then(function(n){return yt(Qe,document,new We(n)),function(e){return new Promise(function(t,n){var r=ut("readthedocs-addons-api-version");return t(void 0!==r&&r!==rt?pt(mt(e,r),{method:"GET"}).then(function(e){return e.ok?e.json():n("Error hitting addons API endpoint for user api-version")}):void 0)}).catch(function(e){console.error(e)})}(e).then(function(e){var t=void 0!==e?e:n;globalThis.ReadTheDocsEventData=new We(t),yt(Fe,document,new We(t))}),t(n)})}).catch(function(e){console.error(e)})}function yt(e,t,n){var r=new CustomEvent(e,{detail:n});t.dispatchEvent(r)}
20/*!
21 * Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
22 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
23 * Copyright 2026 Fonticons, Inc.
24 */
25function At(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function vt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jt(r.key),r)}}function bt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=St(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function wt(e,t,n){return(t=jt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach(function(t){wt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||St(e,t)||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.")}()}function Lt(e){return function(e){if(Array.isArray(e))return At(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||St(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function xt(e){return xt="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},xt(e)}function St(e,t){if(e){if("string"==typeof e)return At(e,t);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)?At(e,t):void 0}}n.dn(pt);var Nt=function(){},kt={},Tt={},Dt=null,It={mark:Nt,measure:Nt};try{"undefined"!=typeof window&&(kt=window),"undefined"!=typeof document&&(Tt=document),"undefined"!=typeof MutationObserver&&(Dt=MutationObserver),"undefined"!=typeof performance&&(It=performance)}catch(t){}var _t,Ot,zt=(kt.navigator||{}).userAgent,Bt=void 0===zt?"":zt,$t=kt,Pt=Tt,Rt=Dt,Ut=It,Yt=($t.document,!!Pt.documentElement&&!!Pt.head&&"function"==typeof Pt.addEventListener&&"function"==typeof Pt.createElement),Ft=~Bt.
vendor: 7,983 bytes, line 25
25indexOf("MSIE")||~Bt.indexOf("Trident/"),Qt={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},graphite:{"fa-thin":"thin",fagt:"thin"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},qt=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],Wt="classic",Vt="duotone",Gt="sharp",Ht="sharp-duotone",Zt="chisel",Kt="etch",Xt="graphite",Jt="jelly",en="jelly-duo",tn="jelly-fill",nn="notdog",rn="notdog-duo",on="slab",an="slab-press",sn="thumbprint",cn="utility",ln="utility-duo",un="utility-fill",dn="whiteboard",fn=[Wt,Vt,Gt,Ht,Zt,Kt,Xt,Jt,en,tn,nn,rn,on,an,sn,cn,ln,un,dn],hn=(wt(wt(wt(wt(wt(wt(wt(wt(wt(wt(_t={},Wt,"Classic"),Vt,"Duotone"),Gt,"Sharp"),Ht,"Sharp Duotone"),Zt,"Chisel"),Kt,"Etch"),Xt,"Graphite"),Jt,"Jelly"),en,"Jelly Duo"),tn,"Jelly Fill"),wt(wt(wt(wt(wt(wt(wt(wt(wt(_t,nn,"Notdog"),rn,"Notdog Duo"),on,"Slab"),an,"Slab Press"),sn,"Thumbprint"),cn,"Utility"),ln,"Utility Duo"),un,"Utility Fill"),dn,"Whiteboard"),new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["graphite",{defaultShortPrefixId:"fagt",defaultStyleId:"thin",styleIds:["thin"],futureStyleIds:[],defaultFontWeight:100}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]])),pn=["fak","fa-kit","fakd","fa-kit-duotone"],mn={fak:"kit","fa-kit":"kit"},gn={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"},yn=(wt(wt({},"kit","Kit"),"kit-duotone","Kit Duotone"),{kit:"fak"}),An={"kit-duotone":"fakd"},vn="duotone-group",bn="swap-opacity",wn="primary",Cn="secondary",En=(wt(wt(wt(wt(wt(wt(wt(wt(wt(wt(Ot={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"graphite","Graphite"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),wt(wt(wt(wt(wt(wt(wt(wt(wt(Ot,"notdog","Notdog"),"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard"),wt(wt({},"kit","Kit"),"kit-duotone","Kit Duotone"),{classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},graphite:{fagt:"fa-thin"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}}),Mn=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fagt","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),Ln=[1,2,3,4,5,6,7,8,9,10],jn=Ln.concat([11,12,13,14,15,16,17,18,19,20]),xn=[].concat(Lt(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],graphite:["fagt"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vert
25ical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",vn,bn,wn,Cn]).concat(Ln.map(function(e){return"".concat(e,"x")})).concat(jn.map(function(e){return"w-".concat(e)})),Sn="___FONT_AWESOME___",Nn="svg-inline--fa",kn="data-fa-i2svg",Tn="data-fa-pseudo-element",Dn="data-prefix",In="data-icon",_n="fontawesome-i2svg",On=["HTML","HEAD","STYLE","SCRIPT"],zn=["::before","::after",":before",":after"],Bn=function(){try{return!0}catch(e){return!1}}();function $n(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[Wt]}})}var Pn=Et({},Qt);Pn[Wt]=Et(Et(Et(Et({},{"fa-duotone":"duotone"}),Qt[Wt]),mn),gn);var Rn=$n(Pn),Un=Et({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},graphite:{thin:"fagt"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}});Un[Wt]=Et(Et(Et(Et({},{duotone:"fad"}),Un[Wt]),yn),An);var Yn=$n(Un),Fn=Et({},En);Fn[Wt]=Et(Et({},Fn[Wt]),{fak:"fa-kit"});var Qn=$n(Fn),qn=Et({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},graphite:{"fa-thin":"fagt"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}});qn[Wt]=Et(Et({},qn[Wt]),{"fa-kit":"fak"});$n(qn);var Wn=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Vn="fa-layers-text",Gn=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,Hn=($n(Et({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},graphite:{100:"fagt"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),Zn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Kn=[].concat(Lt(["kit"]),Lt(xn)),Xn=$t.FontAwesomeConfig||{};if(Pt&&"function"==typeof Pt.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEac
25h(function(e){var t=Mt(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Pt.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(Xn[r]=o)})}var Jn={styleDefault:"solid",familyDefault:Wt,cssPrefix:"fa",replacementClass:Nn,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Xn.familyPrefix&&(Xn.cssPrefix=Xn.familyPrefix);var er=Et(Et({},Jn),Xn);er.autoReplaceSvg||(er.observeMutations=!1);var tr={};Object.keys(Jn).forEach(function(e){Object.defineProperty(tr,e,{enumerable:!0,set:function(t){er[e]=t,nr.forEach(function(e){return e(tr)})},get:function(){return er[e]}})}),Object.defineProperty(tr,"familyPrefix",{enumerable:!0,set:function(e){er.cssPrefix=e,nr.forEach(function(e){return e(tr)})},get:function(){return er.cssPrefix}}),$t.FontAwesomeConfig=tr;var nr=[];var rr=16,or={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ir(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ar(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function sr(e){return e.classList?ar(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function cr(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function lr(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ur(e){return e.size!==or.size||e.x!==or.x||e.y!==or.y||e.rotate!==or.rotate||e.flipX||e.flipY}function dr(){var e="fa",t=Nn,n=tr.cssPrefix,r=tr.replacementClass,o=":root, :host {\n  --fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';\n  --fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';\n  --fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';\n  --fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';\n  --fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';\n  --fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';\n  --fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';\n  --fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';\n  --fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';\n  --fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';\n  --fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';\n  --fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';\n  --fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';\n  --fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';\n  --fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';\n  --fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';\n  --fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';\n  --fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';\n  --fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';\n  --fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';\n  --fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';\n  --fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';\n  --fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';\n  --fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';\n  --fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';\n  --fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';\n  --fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';\n  --fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';\n  --fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';\n  --fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';\n  --fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';\n  --fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';\n}\n\n.svg-inline--fa {\n  box-sizing: content-box;\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n  width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;
25\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n  float: inline-start;\n  margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n  float: inline-end;\n  margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n  inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n  inset: 0;\n  margin: auto;\n  position: absolute;\n  transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-counter-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */\n  line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */\n  vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xs {\n  font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */\n  line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */\n  vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-sm {\n  font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */\n  line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */\n  vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-lg {\n  font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */\n  line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */\n  vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xl {\n  font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */\n  line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */\n  vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-2xl {\n  font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */\n  line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */\n  vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-width-auto {\n  --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n  --fa-width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-inline-start: var(--fa-li-margin, 2.5em);\n  padding-inline-start: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n  - This feature will be deprecated 
25in the next major release of Font Awesome (v8)!\n  - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n  ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)\n  ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.0625em);\n  box-sizing: var(--fa-border-box-sizing, content-box);\n  padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n  float: inline-start;\n  margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n  float: inline-end;\n  margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  animation-name: fa-beat;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  animation-name: fa-bounce;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  animation-name: fa-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  animation-name: fa-beat-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  animation-name: fa-flip;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  animation-name: fa-shake;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  animation-name: fa-spin;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 2s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  animation-name: fa-spin;\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n  .fa-bounce,\n  .fa-fade,\n  .fa-beat-fade,\n  .fa-flip,\n  .fa-pulse,\n  .fa-shake,\n  .fa-spin,\n  .fa-spin-pulse {\n    animation: none !important;\n    transition: none !important;\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    transform: scale(1);\n  }\n  45% {\n    transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-shake {\n  0% {\n    transform: rotate(-15deg);\n  }\n  4% {\n    transform: rotate(15deg);\n  }\n  8%, 24% {\n    transform: rotate(-18deg);\n  }\n  12%, 28% {\n    transform: rotate(18deg);\n  }\n  16% {\n    transform: rotate(-22deg);\n  }\n  20% {\n    transform: rotate(22deg);\n  }\n  32% {\n    transform: rotate(-12deg);\n  }\n  36% {\n    transform: rotate(12deg);\n  }\n  40%, 100% {\n    transform: rotate(0deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  transform: scale(-1, 1);\n}
25\n\n.fa-flip-vertical {\n  transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n  fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  line-height: 2em;\n  position: relative;\n  vertical-align: middle;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  --fa-width: 1.25em;\n  height: 1em;\n  width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n  --fa-width: 2.5em;\n  height: 2em;\n  width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  inset: 0;\n  margin: auto;\n  position: absolute;\n  z-index: var(--fa-stack-z-index, auto);\n}";if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var fr=!1;function hr(){tr.autoAddCss&&!fr&&(!function(e){if(e&&Yt){var t=Pt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Pt.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}Pt.head.insertBefore(t,r)}}(dr()),fr=!0)}var pr={mixout:function(){return{dom:{css:dr,insertCss:hr}}},hooks:function(){return{beforeDOMElementCreation:function(){hr()},beforeI2svg:function(){hr()}}}},mr=$t||{};mr[Sn]||(mr[Sn]={}),mr[Sn].styles||(mr[Sn].styles={}),mr[Sn].hooks||(mr[Sn].hooks={}),mr[Sn].shims||(mr[Sn].shims=[]);var gr=mr[Sn],yr=[],Ar=function(){Pt.removeEventListener("DOMContentLoaded",Ar),vr=1,yr.map(function(e){return e()})},vr=!1;function br(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?cr(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(cr(e[n]),'" ')},"").trim()}(r),">").concat(i.map(br).join(""),"</").concat(t,">")}function wr(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Yt&&((vr=(Pt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Pt.readyState))||Pt.addEventListener("DOMContentLoaded",Ar));var Cr=function(e,t,n,r){var o,i,a,s=Object.keys(e),c=s.length,l=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<c;o++)a=l(a,e[i=s[o]],i,e);return a};function Er(e){return 1!==Lt(e).length?null:e.codePointAt(0).toString(16)}function Mr(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Lr(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Mr(t);"function"!=typeof gr.hooks.addPack||r?gr.styles[e]=Et(Et({},gr.styles[e]||{}),o):gr.hooks.addPack(e,Mr(t)),"fas"===e&&Lr("fa",t)}var jr=gr.styles,xr=gr.shims,Sr=Object.keys(Qn),Nr=Sr.reduce(function(e,t){return e[t]=Object.keys(Qn[t]),e},{}),kr=null,Tr={},Dr={},Ir={},_r={},Or={};function zr(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~Kn.indexOf(n))?null:i}var Br,$r=function(){var e=function(e){return Cr(jr,function(t,n,r){return t[r]=Cr(n,e,{}),t},{})};Tr=e(function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter(function(e){return"number"==typeof e}
25).forEach(function(t){e[t.toString(16)]=n});return e}),Dr=e(function(e,t,n){(e[n]=n,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n});return e}),Or=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in jr||tr.autoFetchSvg,n=Cr(xr,function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e},{names:{},unicodes:{}});Ir=n.names,_r=n.unicodes,kr=Fr(tr.styleDefault,{family:tr.familyDefault})};function Pr(e,t){return(Tr[e]||{})[t]}function Rr(e,t){return(Or[e]||{})[t]}function Ur(e){return Ir[e]||{prefix:null,iconName:null}}function Yr(){return kr}Br=function(e){kr=Fr(e.styleDefault,{family:tr.familyDefault})},nr.push(Br),$r();function Fr(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?Wt:t,r=Rn[n][e];if(n===Vt&&!e)return"fad";var o=Yn[n][e]||Yn[n][r],i=e in gr.styles?e:null;return o||i||null}function Qr(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}var qr=Mn.concat(pn);function Wr(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,o=void 0!==r&&r,i=null,a=Qr(e.filter(function(e){return qr.includes(e)})),s=Qr(e.filter(function(e){return!qr.includes(e)})),c=Mt(a.filter(function(e){return i=e,!qt.includes(e)}),1)[0],l=void 0===c?null:c,u=function(e){var t=Wt,n=Sr.reduce(function(e,t){return e[t]="".concat(tr.cssPrefix,"-").concat(t),e},{});return fn.forEach(function(r){(e.includes(n[r])||e.some(function(e){return Nr[r].includes(e)}))&&(t=r)}),t}(a),d=Et(Et({},(t=[],n=null,s.forEach(function(e){var r=zr(tr.cssPrefix,e);r?n=r:e&&t.push(e)}),{iconName:n,rest:t})),{},{prefix:Fr(l,{family:u})});return Et(Et(Et({},d),function(e){var t=e.values,n=e.family,r=e.canonical,o=e.givenPrefix,i=void 0===o?"":o,a=e.styles,s=void 0===a?{}:a,c=e.config,l=void 0===c?{}:c,u=n===Vt,d=t.includes("fa-duotone")||t.includes("fad"),f="duotone"===l.familyDefault,h="fad"===r.prefix||"fa-duotone"===r.prefix;!u&&(d||f||h)&&(r.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab");if(!r.prefix&&Vr.includes(n)){if(Object.keys(s).find(function(e){return Gr.includes(e)})||l.autoFetchSvg){var p=hn.get(n).defaultShortPrefixId;r.prefix=p,r.iconName=Rr(r.prefix,r.iconName)||r.iconName}}"fa"!==r.prefix&&"fa"!==i||(r.prefix=Yr()||"fas");return r}({values:e,family:u,styles:jr,config:tr,canonical:d,givenPrefix:i})),function(e,t,n){var r=n.prefix,o=n.iconName;if(e||!r||!o)return{prefix:r,iconName:o};var i="fa"===t?Ur(o):{},a=Rr(r,o);o=i.iconName||a||o,r=i.prefix||r,"far"!==r||jr.far||!jr.fas||tr.autoFetchSvg||(r="fas");return{prefix:r,iconName:o}}(o,i,d))}var Vr=fn.filter(function(e){return e!==Wt||e!==Vt}),Gr=Object.keys(En).filter(function(e){return e!==Wt}).map(function(e){return Object.keys(En[e])}).flat();var Hr=function(){return function(e,t,n){return t&&vt(e.prototype,t),n&&vt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(t){e.definitions[t]=Et(Et({},e.definitions[t]||{}),o[t]),Lr(t,o[t]);var n=Qn[Wt][t];n&&Lr(n,o[t]),$r()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];e[o]||(e[o]={}),s.length>0&&s.forEach(function(t){"string"==typeof t&&(e[o][t]=a)}),e[o][i]=a}),e}}])}(),Zr=[],Kr={},Xr={},Jr=Object.keys(Xr);function eo(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(Kr[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(r))}),t}function to(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];
25(Kr[e]||[]).forEach(function(e){e.apply(null,n)})}function no(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Xr[e]?Xr[e].apply(null,t):void 0}function ro(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Yr();if(t)return t=Rr(n,t)||t,wr(oo.definitions,n,t)||wr(gr.styles,n,t)}var oo=new Hr,io={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Yt?(to("beforeI2svg",e),no("pseudoElements2svg",e),no("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===tr.autoReplaceSvg&&(tr.autoReplaceSvg=!0),tr.observeMutations=!0,e=function(){co({autoReplaceSvgRoot:n}),to("watch",t)},Yt&&(vr?setTimeout(e,0):yr.push(e))}},ao={icon:function(e){if(null===e)return null;if("object"===xt(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Rr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Fr(e[0]);return{prefix:n,iconName:Rr(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(tr.cssPrefix,"-"))>-1||e.match(Wn))){var r=Wr(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Yr(),iconName:Rr(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=Yr();return{prefix:o,iconName:Rr(o,e)||e}}}},so={noAuto:function(){tr.autoReplaceSvg=!1,tr.observeMutations=!1,to("noAuto")},config:tr,dom:io,parse:ao,library:oo,findIconDefinition:ro,toHtml:br},co=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Pt:e;(Object.keys(gr.styles).length>0||tr.autoFetchSvg)&&Yt&&tr.autoReplaceSvg&&so.dom.i2svg({node:t})};function lo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return br(e)})}}),Object.defineProperty(e,"node",{get:function(){if(Yt){var t=Pt.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function uo(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,c=e.maskId,l=e.extra,u=e.watchable,d=void 0!==u&&u,f=r.found?r:n,h=f.width,p=f.height,m=[tr.replacementClass,i?"".concat(tr.cssPrefix,"-").concat(i):""].filter(function(e){return-1===l.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(l.classes).join(" "),g={children:[],attributes:Et(Et({},l.attributes),{},{"data-prefix":o,"data-icon":i,class:m,role:l.attributes.role||"img",viewBox:"0 0 ".concat(h," ").concat(p)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(l.attributes)||l.attributes["aria-hidden"]||(g.attributes["aria-hidden"]="true"),d&&(g.attributes[kn]="");var y=Et(Et({},g),{},{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Et({},l.styles)}),A=r.found&&n.found?no("generateAbstractMask",y)||{children:[],attributes:{}}:no("generateAbstractIcon",y)||{children:[],attributes:{}},v=A.children,b=A.attributes;return y.children=v,y.attributes=b,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,a=!0===i?"".concat(t,"-").concat(tr.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Et(Et({},o),{},{id:a}),children:r}]}]}(y):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(ur(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=lr(Et(Et({},i),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(y)}function fo(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.extra,a=e.watchable,s=void 0!==a&&a,c=Et(Et({},i.attributes),{},{class:i.classes.join(" ")});s&&(c[kn]="");var l=Et({},i.styles);
25ur(o)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,o=e.height,i=void 0===o?16:o,a=e.startCentered,s=void 0!==a&&a,c="";return c+=s&&Ft?"translate(".concat(t.x/rr-r/2,"em, ").concat(t.y/rr-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/rr,"em), calc(-50% + ").concat(t.y/rr,"em)) "):"translate(".concat(t.x/rr,"em, ").concat(t.y/rr,"em) "),c+="scale(".concat(t.size/rr*(t.flipX?-1:1),", ").concat(t.size/rr*(t.flipY?-1:1),") "),c+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var u=lr(l);u.length>0&&(c.style=u);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),d}var ho=gr.styles;function po(e){var t=e[0],n=e[1],r=Mt(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(tr.cssPrefix,"-").concat(Zn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(tr.cssPrefix,"-").concat(Zn.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(tr.cssPrefix,"-").concat(Zn.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var mo={found:!1,width:512,height:512};function go(e,t){var n=t;return"fa"===t&&null!==tr.styleDefault&&(t=Yr()),new Promise(function(r,o){if("fa"===n){var i=Ur(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ho[t]&&ho[t][e])return r(po(ho[t][e]));!function(e,t){Bn||tr.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Et(Et({},mo),{},{icon:tr.showMissingIcons&&e&&no("missingIconAbstract")||{}}))})}var yo=function(){},Ao=tr.measurePerformance&&Ut&&Ut.mark&&Ut.measure?Ut:{mark:yo,measure:yo},vo='FA "7.2.0"',bo=function(e){Ao.mark("".concat(vo," ").concat(e," ends")),Ao.measure("".concat(vo," ").concat(e),"".concat(vo," ").concat(e," begins"),"".concat(vo," ").concat(e," ends"))},wo=function(e){return Ao.mark("".concat(vo," ").concat(e," begins")),function(){return bo(e)}},Co=function(){};function Eo(e){return"string"==typeof(e.getAttribute?e.getAttribute(kn):null)}function Mo(e){return Pt.createElementNS("http://www.w3.org/2000/svg",e)}function Lo(e){return Pt.createElement(e)}function jo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Mo:Lo:t;if("string"==typeof e)return Pt.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){r.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){r.appendChild(jo(e,{ceFn:n}))}),r}var xo={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(jo(e),t)}),null===t.getAttribute(kn)&&tr.keepOriginalSource){var n=Pt.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~sr(t).indexOf(tr.replacementClass))return xo.replace(e);var r=new RegExp("".concat(tr.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce(function(e,t){return t===tr.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=n.map(function(e){return br(e)}).join("\n");t.setAttribute(kn,""),t.innerHTML=i}};function So(e){e()}function No(e,t){var n="function"==typeof t?t:Co;if(0===e.length)n();else{var r=So;"async"===tr.mutateApproach&&(r=$t.requestAnimationFrame||So),r(function(){var t=!0===tr.autoReplaceSvg?xo.replace:xo[tr.autoReplaceSvg]||xo.replace,r=wo("mutate");e.map(t),r(),n()})}}var ko=!1;function To(){ko=!0}function Do(){ko=!1}var Io=null;function _o(e){if(Rt&&tr.observeMutations){var t=e.treeCallback,n=void 0===t?Co:t,r=e.nodeCallback,o=void 0===r?Co:r,i=e.pseudoElementsCallback,a=void 0===i?Co:i,s=e.observeMutationsRoot,c=void 0===s?Pt:s;Io=new Rt(function(e){if(!ko){var t=Yr();ar(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Eo(e.addedNodes[0])&&(tr.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&tr.searchPseudoElements&&a([e.target],!0),"attributes"===e.type&&Eo(e.target)&&~Hn.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Dn):null,n=e.getAttribute?e.getAttribute(In):null;return t&&n}(e.target)){var r=Wr(sr(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(Dn,i||t),s&&e.target.setAttribute(In,s)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(tr.replacementClass)&&o(e.target);var c})}}),Yt&&Io.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Oo(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=Wr(sr(e));return o.prefix||(o.prefix=Yr()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(Dr[e]||{})[t]}(o.prefix,e.innerText)||Pr(o.prefix,Er(e.innerText))),!o.iconName&&tr.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function zo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Oo(e),r=n.iconName,o=n.prefix,i=n.rest,a=function(e){return ar(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),s=eo("parseNodeAttributes",{},e),c=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e},{})),n}(e):[];return Et({iconName:r,prefix:o,transform:or,mask:{iconName:null,prefix:null,rest:[]}
25,maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:a}},s)}var Bo=gr.styles;function $o(e){var t="nest"===tr.autoReplaceSvg?zo(e,{styleParser:!1}):zo(e);return~t.extra.classes.indexOf(Vn)?no("generateLayersText",e,t):no("generateSvgReplacementMutation",e,t)}function Po(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Yt)return Promise.resolve();var n=Pt.documentElement.classList,r=function(e){return n.add("".concat(_n,"-").concat(e))},o=function(e){return n.remove("".concat(_n,"-").concat(e))},i=tr.autoFetchSvg?[].concat(Lt(pn),Lt(Mn)):qt.concat(Object.keys(Bo));i.includes("fa")||i.push("fa");var a=[".".concat(Vn,":not([").concat(kn,"])")].concat(i.map(function(e){return".".concat(e,":not([").concat(kn,"])")})).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=ar(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var c=wo("onTree"),l=s.reduce(function(e,t){try{var n=$o(t);n&&e.push(n)}catch(e){Bn||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(l).then(function(n){No(n,function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),c(),e()})}).catch(function(e){c(),n(e)})})}function Ro(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;$o(e).then(function(e){e&&No([e],t)})}var Uo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?or:n,o=t.symbol,i=void 0!==o&&o,a=t.mask,s=void 0===a?null:a,c=t.maskId,l=void 0===c?null:c,u=t.classes,d=void 0===u?[]:u,f=t.attributes,h=void 0===f?{}:f,p=t.styles,m=void 0===p?{}:p;if(e){var g=e.prefix,y=e.iconName,A=e.icon;return lo(Et({type:"icon"},e),function(){return to("beforeDOMElementCreation",{iconDefinition:e,params:t}),uo({icons:{main:po(A),mask:s?po(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:Et(Et({},or),r),symbol:i,maskId:l,extra:{attributes:h,styles:m,classes:d}})})}},Yo={mixout:function(){return{icon:(e=Uo,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:ro(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:ro(o||{})),e(r,Et(Et({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Po,e.nodeCallback=Ro,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Pt:t,r=e.callback;return Po(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.prefix,o=t.transform,i=t.symbol,a=t.mask,s=t.maskId,c=t.extra;return new Promise(function(t,l){Promise.all([go(n,r),a.iconName?go(a.iconName,a.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(a){var l=Mt(a,2),u=l[0],d=l[1];t([e,uo({icons:{main:u,mask:d},prefix:r,iconName:n,transform:o,symbol:i,maskId:s,extra:c,watchable:!0})])}).catch(l)})},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.transform,a=lr(e.styles);return a.length>0&&(r.style=a),ur(i)&&(t=no("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},Fo={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return lo({type:"layer"},function(){to("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(tr.cssPrefix,"-layers")].concat(Lt(r)).join(" ")},children:n}]})}}}},Qo={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,c=t.styles,l=void 0===c?{}:c;return lo({type:"counter",content:e},function(){return to("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.extra,r=Et(Et({},n.attributes),{},{class:n.classes.join(" ")}),o=lr(n.styles);o.length>0&&(r.style=o);var i=[];return i.push({tag:"span",attributes:r,children:[t]}),i}({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:["".concat(tr.cssPrefix,"-layers-counter")].concat(Lt(i))}})})}}}},qo={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?or:n,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,c=t.styles,l=void 0===c?{}:c;return lo({type:"text",content:e},function(){return to("beforeDOMElementCreation",{content:e,params:t}),fo({content:e,transform:Et(Et({},or),r),extra:{attributes:s,styles:l,classes:["".concat(tr.cssPrefix,"-layers-text")].concat(Lt(i))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,r=t.extra,o=null,i=null;if(Ft){var a=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();o=s.width/a,i=s.height/a}return Promise.resolve([e,fo({content:e.innerHTML,width:o,height:i,transform:n,extra:r,watchable:!0})])}}},Wo=new RegExp('"',"ug"),Vo=[1105920,1112319],Go=Et(Et(Et(Et({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"}
vendor: 1,589 bytes, line 25
25,"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Graphite":{100:"fagt",normal:"fagt"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Ho=Object.keys(Go).reduce(function(e,t){return e[t.toLowerCase()]=Go[t],e},{}
25),Zo=Object.keys(Ho).reduce(function(e,t){var n=Ho[t];return e[t]=n[900]||Lt(Object.entries(n))[0][1],e},{});function Ko(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(r,o){if(null!==e.getAttribute(n))return r();var i,a,s,c=ar(e.children).filter(function(e){return e.getAttribute(Tn)===t})[0],l=$t.getComputedStyle(e,t),u=l.getPropertyValue("font-family"),d=u.match(Gn),f=l.getPropertyValue("font-weight"),h=l.getPropertyValue("content");if(c&&!d)return e.removeChild(c),r();if(d&&"none"!==h&&""!==h){var p=l.getPropertyValue("content"),m=function(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),o=isNaN(r)?"normal":r;return(Ho[n]||{})[o]||Zo[n]}(u,f),g=function(e){return Er(Lt(e.replace(Wo,""))[0]||"")}(p),y=d[0].startsWith("FontAwesome"),A=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content").replace(Wo,""),r=n.codePointAt(0),o=r>=Vo[0]&&r<=Vo[1],i=2===n.length&&n[0]===n[1];return o||i||t}(l),v=Pr(m,g),b=v;if(y){var w=(a=_r[i=g],s=Pr("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});w.iconName&&w.prefix&&(v=w.iconName,m=w.prefix)}if(!v||A||c&&c.getAttribute(Dn)===m&&c.getAttribute(In)===b)r();else{e.setAttribute(n,b),c&&e.removeChild(c);var C={iconName:null,prefix:null,transform:or,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},E=C.extra;E.attributes[Tn]=t,go(v,m).then(function(o){var i=uo(Et(Et({},C),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:b,extra:E,watchable:!0})),a=Pt.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=i.map(function(e){return br(e)}).join("\n"),e.removeAttribute(n),r()}).catch(o)}}else r()})}function Xo(e){return Promise.all([Ko(e,"::before"),Ko(e,"::after")])}function Jo(e){return!(e.parentNode===document.head||~On.indexOf(e.tagName.toUpperCase())||e.getAttribute(Tn)||e.parentNode&&"svg"===e.parentNode.tagName)}var ei=function(e){return!!e&&zn.some(function(t){return e.includes(t)})},ti=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var r,o=bt(n);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(ei(i)){var a=zn.reduce(function(e,t){return e.replace(t,"")},i);""!==a&&"*"!==a&&t.add(a)}}}catch(e){o.e(e)}finally{o.f()}return t};function ni(e){if(Yt){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(tr.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var n,r=new Set,o=bt(document.styleSheets);try{for(o.s();!(n=o.n()).done;){var i=n.value;try{var a,s=bt(i.cssRules);try{for(s.s();!(a=s.n()).done;){var c,l=a.value,u=bt(ti(l.selectorText));try{for(u.s();!(c=u.n()).done;){var d=c.value;r.add(d)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){s.e(e)}finally{s.f()}}catch(e){tr.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){o.e(e)}finally{o.f()}if(!r.size)return;var f=Array.from(r).join(", ");try{t=e.querySelectorAll(f)}catch(e){}}return new Promise(function(e,n){var r=ar(t).filter(Jo).map(Xo),o=wo("searchPseudoElements");To(),Promise.all(r).then(function(){o(),Do(),e()}).catch(function(){o(),Do(),n()})})}}var ri={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=ni,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Pt:t;tr.searchPseudoElements&&ni(n)}}},oi=!1,ii=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ai={mixout:function(){return{parse:{transform:function(e){return ii(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=ii(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),l={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Et({},l.outer),children:[{tag:"g",attributes:Et({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Et(Et({},t.icon.attributes),l.path)}]}]}}}},si={x:0,y:0,width:"100%",height:"100%"};function ci(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var li={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Wr(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Yr()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,a=e.maskId,s=e.transform,c=o.width,l=o.icon,u=i.width,d=i.icon,f=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:c}),h={tag:"rect",attributes:Et(Et({},si),{},{fill:"white"})},p=l.children?{children:l.children.map(ci)}:{},m={tag:"g",attributes:Et({},f.inner),children:[ci(Et({tag:l.tag,attributes:Et(Et({},l.attributes),f.path)},p))]},g={tag:"g",attributes:Et({},f.outer),children:[m]},y="mask-".concat(a||ir()),A="clip-".concat(a||ir()),v={tag:"mask",attributes:Et(Et({},si),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:A}
25,children:(t=d,"g"===t.tag?t.children:[t])},v]};return n.push(b,{tag:"rect",attributes:Et({fill:"currentColor","clip-path":"url(#".concat(A,")"),mask:"url(#".concat(y,")")},si)}),{children:n,attributes:r}}}},ui={provides:function(e){var t=!1;$t.matchMedia&&(t=$t.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Et(Et({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Et(Et({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Et(Et({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Et(Et({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Et(Et({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Et(Et({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Et(Et({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Et(Et({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Et(Et({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;Zr=e,Kr={},Object.keys(Xr).forEach(function(e){-1===Jr.indexOf(e)&&delete Xr[e]}),Zr.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===xt(t[e])&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){Kr[e]||(Kr[e]=[]),Kr[e].push(r[e])})}e.provides&&e.provides(Xr)})}([pr,Yo,Fo,Qo,qo,ri,{mixout:function(){return{dom:{unwatch:function(){To(),oi=!0}}}},hooks:function(){return{bootstrap:function(){_o(eo("mutationObserverCallbacks",{}))},noAuto:function(){Io&&Io.disconnect()},watch:function(e){var t=e.observeMutationsRoot;oi?Do():_o(eo("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ai,li,ui,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:so});var di,fi,hi,pi,mi=so.library,gi=so.icon,yi={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},Ai={prefix:"fas",iconName:"binoculars",icon:[512,512,[],"f1e5","M128 32l32 0c17.7 0 32 14.3 32 32l0 32-96 0 0-32c0-17.7 14.3-32 32-32zm64 96l0 320c0 17.7-14.3 32-32 32L32 48
250c-17.7 0-32-14.3-32-32l0-59.1c0-34.6 9.4-68.6 27.2-98.3 13.7-22.8 22.5-48.2 25.8-74.6L60.5 156c2-16 15.6-28 31.8-28l99.8 0zm227.8 0c16.1 0 29.8 12 31.8 28L459 216c3.3 26.4 12.1 51.8 25.8 74.6 17.8 29.7 27.2 63.7 27.2 98.3l0 59.1c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32l0-320 99.8 0zM320 64c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32l0 32-96 0 0-32zm-32 64l0 160-64 0 0-160 64 0z"]},vi={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},bi={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3l0 70.7 176 0c26.5 0 48-21.5 48-48l0-22.7c-28.3-12.3-48-40.5-48-73.3 0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3l0 22.7c0 61.9-50.1 112-112 112l-176 0 0 70.7c28.3 12.3 48 40.5 48 73.3 0 44.2-35.8 80-80 80S0 476.2 0 432c0-32.8 19.7-61 48-73.3l0-205.3C19.7 141 0 112.8 0 80 0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},wi={prefix:"fas",iconName:"code-pull-request",icon:[512,512,[],"e13c","M328 24c0-9.7-5.8-18.5-14.8-22.2S293.9 .2 287 7L231 63c-9.4 9.4-9.4 24.6 0 33.9l56 56c6.9 6.9 17.2 8.9 26.2 5.2S328 145.7 328 136l0-24 24 0c17.7 0 32 14.3 32 32l0 214.7c-28.3 12.3-48 40.5-48 73.3 0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3L448 144c0-53-43-96-96-96l-24 0 0-24zM72 80a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm56 73.3c28.3-12.3 48-40.5 48-73.3 0-44.2-35.8-80-80-80S16 35.8 16 80c0 32.8 19.7 61 48 73.3l0 205.3c-28.3 12.3-48 40.5-48 73.3 0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3l0-205.3zM72 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm344-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Ci={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8-79.3 23.6-137.1 97.1-137.1 184.1 0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256 512 397.4 397.4 512 256 512S0 397.4 0 256c0-116 77.1-213.9 182.9-245.4 16.9-5 34.8 4.6 39.8 21.5z"]},Ei={prefix:"fas",iconName:"flask",icon:[448,512,[],"f0c3","M288 0L128 0C110.3 0 96 14.3 96 32s14.3 32 32 32L128 215.5 7.5 426.3C2.6 435 0 444.7 0 454.7 0 486.4 25.6 512 57.3 512l333.4 0c31.6 0 57.3-25.6 57.3-57.3 0-10-2.6-19.8-7.5-28.4L320 215.5 320 64c17.7 0 32-14.3 32-32S337.7 0 320 0L288 0zM192 215.5l0-151.5 64 0 0 151.5c0 11.1 2.9 22.1 8.4 31.8l41.6 72.7-164 0 41.6-72.7c5.5-9.7 8.4-20.6 8.4-31.8z"]},Mi={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},Li={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},ji={prefix:"fas",iconName:"clock-rotate-left",icon:[576,512,["history"],"f1da","M288 64c106 0 192 86 192 192S394 448 288 448c-65.2 0-122.9-32.5-157.6-82.3-10.1-14.5-30.1-18-44.6-7.9s-18 30.1-7.9 44.6C124.1 468.6 201 512 288 512 429.4 512 544 397.4 544 256S429.4 0 288 0C202.3 0 126.5 42.1 80 106.7L80 80c0-17.7-14.3-32-32-32S16 62.3 16 80l0 112c0 17.7 14.3 32 32 32l24.6 0c.5 0 1 0 1.5 0l86 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-38.3 0C154.9 102.6 217 64 288 64zm24 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1z"]},xi={prefix:"fas",iconName:"hourglass-half",icon:[384,512,["hourglass-2"],"f252","M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64l0 11c0 42.4 16.9 83.1 46.9 113.1l67.9 67.9-67.9 67.9C48.9 353.9 32 394.6 32 437l0 11c-17.7 0-32 14.3-32 32s14.3 32 32 32l320 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-11c0-42.4-16.9-83.1-46.9-113.1l-67.9-67.9 67.9-67.9c30-30 46.9-70.7 46.9-113.1l0-11c17.7 0 32-14.3 32-32S369.7 0 352 0L32 0zM96 75l0-11 192 0 0 11c0 19-5.6 37.4-16 53L112 128c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9l67.9-67.9 67.9 67.9c4.6 4.6 8.6 9.6 12.2 14.9L112 384z"]},Si={prefix:"fas",iconName:"language",icon:[576,512,[],"f1ab","M160 0c17.7 0 32 14.3 32 32l0 32 128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-9.6 0-8.4 23.1c-16.4 45.2-41.1 86.5-72.2 122 14.2 8.8 29 16.6 44.4 23.5l50.4 22.4 62.2-140c5.1-11.6 16.6-19 29.2-19s24.1 7.4 29.2 19l128 288c7.2 16.2-.1 35.1-16.2 42.2s-35.1-.1-42.2-16.2l-20-45-157.5 0-20 45c-7.2 16.2-26.1 23.4-42.2 16.2s-23.4-26.1-16.2-42.2l39.8-89.5-50.4-22.4c-23-10.2-45-22.4-65.8-36.4-21.3 17.2-44.6 32.2-69.5 44.7L78.3 380.6c-15.8 7.9-35 1.5-42.9-14.3s-1.5-35 14.3-42.9l34.5-17.3c16.3-8.2 31.8-17.7 46.4-28.3-13.8-12.7-26.8-26.4-38.9-40.9L81.6 224.7c-11.3-13.6-9.5-33.8 4.1-45.1s33.8-9.5 45.1 4.1l10.2 12.2c11.5 13.9 24.1 26.8 37.4 38.7 27.5-30.4 49.2-66.1 63.5-105.4l.5-1.2-210.3 0C14.3 128 0 113.7 0 96S14.3 64 32 64l96 0 0-32c0-17.7 14.3-32 32-32zM416 270.8L365.7 384 466.3 384 416 270.8z"]}
25,Ni={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z"]},ki={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Ti={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},Di=n(5032);function Ii(e){return Ii="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},Ii(e)}function _i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Wi(r.key),r)}}function Bi(e,t,n){return t&&zi(e.prototype,t),n&&zi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $i(e,t,n){return t=Yi(t),function(e,t){if(t&&("object"==Ii(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pi()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function Pi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pi=function(){return!!e})()}function Ri(e,t,n,r){var o=Ui(Yi(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Ui(){return Ui="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Yi(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ui.apply(null,arguments)}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yi(e)}function Fi(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qi(e,t)}function Qi(e,t){return Qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qi(e,t)}function qi(e,t,n){return(t=Wi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e){var t=function(e,t){if("object"!=Ii(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ii(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ii(t)?t:t+""}var Vi=function(e){function t(){var e;return Oi(this,t),qi(e=$i(this,t),"_handleMouseEnter",function(t){clearTimeout(e.timerID),e.timerID=null}),qi(e,"_handleMouseLeave",function(t){e.triggerAutoDismissTimer()}),qi(e,"_handleVisibilityChange",function(t){document.hidden?e.clearAutoDismissTimer():e.triggerAutoDismissTimer()}),e.timerID=null,e.config=null,e.urls={build:null,external:null,stable:null},e.readingLatestVersion=!1,e.readingStableVersion=!1,e.stableVersionAvailable=!1,e.localStorageKey=null,e.dismissedTimestamp=null,e.autoDismissed=!1,e.triggerAutoDismissTimer(),e}return Fi(t,e),Bi(t,[{key:"loadDismissedTimestamp",value:function(e){this.localStorageKey=this.getLocalStorageKeyFromConfig(this.config);var t=Gi.getLocalStorage()[this.localStorageKey];t&&t.dismissedTimestamp&&(this.dismissedTimestamp=t.dismissedTimestamp)}},{key:"triggerAutoDismissTimer",value:function(){var e=this;document.hidden||this.autoDismissed||(clearTimeout(this.timerID),this.timerID=setTimeout(function(){e.autoDismissed=!0,e.requestUpdate()},5e3))}},{key:"clearAutoDismissTimer",value:function(){clearTimeout(this.timerID),this.timerID=null}},{key:"connectedCallback",value:function(){Ri(t,"connectedCallback",this,3)([]),document.addEventListener("visibilitychange",this._handleVisibilityChange),this.addEventListener("mouseenter",this._handleMouseEnter),this.addEventListener("mouseleave",this._handleMouseLeave)}},{key:"disconnectedCallback",value:function(){Ri(t,"disconnectedCallback",this,3)([]),this.removeEventListener("mouseenter",this._handleMouseEnter),this.removeEventListener("mouseleave",this._handleMouseLeave),document.removeEventListener("visibilitychange",this._handleVisibilityChange),clearTimeout(this.timerID),this.timerID=null}},{key:"loadConfig",value:function(e){Gi.isEnabled(e)&&(this.config=e,this.config.addons.notifications.enabled&&"external"===this.config.versions.current.type&&(this.urls={build:e.builds.current.urls.build.replace("readthedocs.org","a
25pp.readthedocs.org").replace("readthedocs.com","app.readthedocs.com").replace("app.app.","app."),external:e.versions.current.urls.vcs}),pe().get(this.config,"addons.notifications.show_on_latest",!1)&&"single_version_without_translations"!==e.projects.current.versioning_scheme&&"external"!==e.versions.current.type&&this.calculateStableLatestVersionWarning(),this.loadDismissedTimestamp(this.config))}},{key:"getLocalStorageKeyFromConfig",value:function(e){var t=e.projects.current.slug,n=e.projects.current.language.code,r=e.versions.current.slug;return"".concat(t,"-").concat(n,"-").concat(r,"-notification")}},{key:"firstUpdated",value:function(){this.className=this.className||"raised toast"}},{key:"render",value:function(){return this.autoDismissed||null===this.config||this.dismissedTimestamp?V:this.config.addons.notifications.enabled?"external"===this.config.versions.current.type&&pe().get(this.config,"addons.notifications.show_on_external",!1)?this.renderExternalVersionWarning():this.readingLatestVersion&&this.stableVersionAvailable&&this.config.versions.current.slug!==this.config.projects.current.default_version&&pe().get(this.config,"addons.notifications.show_on_latest",!1)?this.renderLatestVersionWarning():!this.readingStableVersion&&this.stableVersionAvailable&&this.config.versions.current.slug!==this.config.projects.current.default_version&&pe().get(this.config,"addons.notifications.show_on_non_stable",!1)?this.renderStableVersionWarning():V:V}},{key:"calculateStableLatestVersionWarning",value:function(){var e=this.config.versions.active.find(function(e){return"stable"===e.slug}),t=this.config.versions.active.find(function(e){return"latest"===e.slug}),n=this.config.versions.current;("latest"===n.slug||void 0!==t&&void 0!==t.aliases.find(function(e){return e.slug===n.slug}))&&(this.readingLatestVersion=!0),("stable"===n.slug||void 0!==e&&void 0!==e.aliases.find(function(e){return e.slug===n.slug}))&&(this.readingStableVersion=!0),void 0!==e&&(this.stableVersionAvailable=!0,this.urls.stable=dt(e.urls.documentation,this.config.readthedocs.resolver.filename))}},{key:"renderLatestVersionWarning",value:function(){mi.add(Ei);var e=gi(Ei,{classes:["header","icon"]});return q(di||(di=_i(["\n      <div>\n        ",'\n        <div class="title">\n          This is the <span>latest development version</span>\n          ','\n        </div>\n        <div class="content">\n          Some features may not yet be available in the published stable\n          version. Read the\n          <a href="','">stable version of this documentation</a\n          >.\n        </div>\n      </div>\n    '])),e.node[0],this.renderCloseButton(),this.urls.stable)}},{key:"renderStableVersionWarning",value:function(){mi.add(xi);var e=gi(xi,{classes:["header","icon"]});return q(fi||(fi=_i(["\n      <div>\n        ",'\n        <div class="title">\n          This <em>may</em> be an\n          <span>old version of this documentation</span>\n          ','\n        </div>\n        <div class="content">\n          You may be reading an old version of this documentation. Read the\n          <a href="','"\n            >latest stable version of this documentation</a\n          >.\n        </div>\n      </div>\n    '])),e.node[0],this.renderCloseButton(),this.urls.stable)}},{key:"renderExternalVersionWarning",value:function(){mi.add(wi);var e=gi(wi,{title:"This version is a pull request version",classes:["header","icon"]});return q(hi||(hi=_i(["\n      <div>\n        ",'\n        <div class="title">\n          This page was created from a pull request build\n          ','\n        </div>\n        <div class="content">\n          See the\n          <a\n            href="','"\n            >build\'s detail page</a\n          >\n          or\n          <a href="','"\n            >pull request #',"</a\n          >\n          for more information.\n        </div>\n      </div>\n    "])),e.node[0],this.renderCloseButton(),lt(this.urls.build,"notification",this.config.projects.current.slug),this.urls.external,this.config.versions.current.slug)}},{key:"renderCloseButton",value:function(){mi.add(Mi);var e=gi(Mi,{title:"Close notification"});return q(pi||(pi=_i(['\n      <a href="#" class="right" @click=',">\n        ","\n      </a>\n    "])),this.closeNotification,e.node[0])}},{key:"closeNotification",value:function(e){e.preventDefault(),this.dismissedTimestamp=Date.now();var t=qi({},this.localStorageKey,{dismissedTimestamp:this.dismissedTimestamp});return Gi.setLocalStorage(t),!1}}])}(le);qi(Vi,"elementName","readthedocs-notification"),qi(Vi,"properties",{config:{state:!0},urls:{state:!0},highest_version:{state:!0},dismissedTimestamp:{state:!0},autoDismissed:{state:!0},localStorageKey:{state:!0}}),qi(Vi,"styles",Di.A);var Gi=function(e){function t(){return Oi(this,t),$i(this,t,arguments)}return Fi(t,e),Bi(t)}(at);function Hi(e){return Hi="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},Hi(e)}function Zi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,na(r.key),r)}}function Ki(e,t,n){return t=Ji(t),function(e,t){if(t&&("object"==Hi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Xi()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function Xi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xi=function(){return!!e})()}
25function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ji(e)}function ea(e,t){return ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ea(e,t)}function ta(e,t,n){return(t=na(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){var t=function(e,t){if("object"!=Hi(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hi(t)?t:t+""}qi(Gi,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.notifications.json"),qi(Gi,"addonEnabledPath","addons.notifications.enabled"),qi(Gi,"addonName","Notification"),qi(Gi,"elementClass",Vi),customElements.define(Vi.elementName,Vi);var ra=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ki(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ea(e,t)}(t,e),function(e,t,n){return t&&Zi(e.prototype,t),n&&Zi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"loadConfig",value:function(e){this.config=e,"external"!==pe().get(this.config,"versions.current.type",null)&&this.registerPageView()}},{key:"registerPageView",value:function(){var e=ut("readthedocs-http-status"),t=pe().get(this.config,"versions.current.slug",null),n={project:this.config.projects.current.slug,version:t,absolute_uri:window.location.href,status:e};pt("/_/api/v2/analytics/?"+new URLSearchParams(n).toString(),{method:"GET",cache:"no-store"}).then(function(e){if(!e.ok)throw new Error}).catch(function(e){console.error("Error registering page view")})}}])}(at);ta(ra,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.analytics.json"),ta(ra,"addonEnabledPath","addons.analytics.enabled"),ta(ra,"addonName","Analytics"),ta(ra,"enabledOnHttpStatus",[200,404]);var oa=n(6801);
26/**
27 * @license
28 * Copyright 2017 Google LLC
29 * SPDX-License-Identifier: BSD-3-Clause
30 */
31const ia=1,aa=2,sa=e=>(...t)=>({_$litDirective$:e,values:t});class ca{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}
32/**
33 * @license
34 * Copyright 2017 Google LLC
35 * SPDX-License-Identifier: BSD-3-Clause
36 */
37class la extends ca{constructor(e){if(super(e),this.it=V,e.type!==aa)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===V||null==e)return this._t=void 0,this.it=e;if(e===W)return e;if("string"!=typeof e)throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}la.directiveName="unsafeHTML",la.resultType=1;const ua=sa(la),da=sa(class extends ca{constructor(e){if(super(e),e.type!==ia||"class"!==e.name||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(void 0===this.st){this.st=new Set,void 0!==e.strings&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!this.nt?.has(e)&&this.st.add(e);return this.render(t)}const n=e.element.classList;for(const e of this.st)e in t||(n.remove(e),this.st.delete(e));for(const e in t){const r=!!t[e];r===this.st.has(e)||this.nt?.has(e)||(r?(n.add(e),this.st.add(e)):(n.remove(e),this.st.delete(e)))}return W}});var fa,ha,pa,ma,ga,ya,Aa,va,ba,wa,Ca,Ea,Ma;function La(e){return La="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},La(e)}function ja(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}
37finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||Na(e,t)||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.")}()}function xa(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Sa(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Na(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Na(e,t){if(e){if("string"==typeof e)return ka(e,t);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)?ka(e,t):void 0}}function ka(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ta(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Da(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ya(r.key),r)}}function Ia(e,t,n){return t&&Da(e.prototype,t),n&&Da(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _a(e,t,n){return t=$a(t),function(e,t){if(t&&("object"==La(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Oa()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function Oa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oa=function(){return!!e})()}function za(e,t,n,r){var o=Ba($a(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Ba(){return Ba="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=$a(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ba.apply(null,arguments)}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$a(e)}function Pa(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ra(e,t)}function Ra(e,t){return Ra=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ra(e,t)}function Ua(e,t,n){return(t=Ya(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ya(e){var t=function(e,t){if("object"!=La(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=La(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==La(t)?t:t+""}var Fa=function(e){function t(){var e;return Ta(this,t),Ua(e=_a(this,t),"_handleCloseModal",function(t){t.preventDefault(),e.closeModal()}),Ua(e,"_handleShowModal",function(t){t.preventDefault(),e.showModal()}),mi.add(vi),mi.add(Ci),mi.add(Ai),mi.add(yi),mi.add(Mi),e.config=null,e.show=!1,e.cssFormFocusClasses={},e.results=null,e.inputIcon=gi(vi,{title:"Search docs"}),e.currentQueryRequest=null,e.defaultFilter=null,e.filters=[],e.triggerKeycode=191,e.triggerSelector=null,e.triggerEvent="focusin",e.hideRecentSearches=!1,e.recentSearchesLocalStorageKey="readthedocsSearchRecentSearches",e.recentSearchesLocalStorageLimit=20,e}return Pa(t,e),Ia(t,[{key:"loadConfig",value:function(e){if(Qa.isEnabled(e)&&(this.config=e,this.config.addons.search)){this.defaultFilter={name:"Default filter",value:this.config.addons.search.default_filter};var t,n=[],r=Sa(this.config.addons.search.filters);try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push({name:o[0],value:o[1],default:o[2]})}}catch(e){r.e(e)}finally{r.f()}this.filters=n}}},{key:"firstUpdated",value:function(){this.className=this.className||"raised floating"}},{key:"render",value:function(){return null===this.config?V:this.renderSearchModal()}},{key:"renderSearchModal",value:function(){return q(fa||(fa=xa(["\n      <div ?hidden=",' role="search">\n        <div @click=',' class="background"></div>\n        <div class="content">\n          <form class=',">\n            <label>","</label>
37\n            <input\n              @input=","\n              @keydown=","\n              @focusin=","\n              @focusout=",'\n              placeholder="Search docs"\n              type="search"\n              autocomplete="off"\n            />\n          </form>\n          ','\n          <div class="results">\n            ','\n          </div>\n          <div class="footer">\n            <ul class="help">\n              <li><code>Enter</code> to select</li>\n              <li><code>Up</code>/<code>Down</code> to navigate</li>\n              <li><code>Esc</code> to close</li>\n            </ul>\n            <div class="credits">\n              Search powered by\n              <a\n                href="','"\n              >\n                <img src="','" alt="Read the Docs" />\n              </a>\n            </div>\n          </div>\n        </div>\n      </div>\n    '])),!this.show,this.triggerCloseModal,da(this.cssFormFocusClasses),this.inputIcon.node[0],this.queryInput,this.selectResultKeyboard,this.queryInputFocus,this.queryInputFocus,this.renderFilters(),this.results||this.renderRecentSearches(),lt("https://about.readthedocs.com/","search",this.config.projects.current.slug),"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJzdmciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSI2OTQgMTk3IDIwMDAgNDAwIj4KPGcgaWQ9ImxvZ28iIHRyYW5zZm9ybT0ibWF0cml4KDAuNTU3NTM2NDQsMCwwLDAuNTU3NTM2NDQsNjguMzA4MTM1LDEwNTAuMTI2MikiPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTE0MDguMS0xMTgxLjdjLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuMyAgIGMwLjcsNS40LDQuNiw5LjksOS45LDExLjNjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMiAgIGMtMC45LDAtMS44LDAuMS0yLjYsMC4zYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTExODEuNywxNDEwLjMtMTE4MiwxNDA4LjEtMTE4MS43eiAgICBNMTQwOC4xLTEyNDkuM2MtNy41LDEtMTIuNyw3LjgtMTEuNywxNS4zYzAuNyw1LjQsNC42LDkuOSw5LjksMTEuM2MwLDAsMzMuMiwxMSw4OS43LDE1LjZjNDUuNCwzLjcsOTYuOS0zLjIsOTYuOS0zLjIgICBjNy41LTAuMiwxMy41LTYuNSwxMy4yLTE0cy02LjUtMTMuNS0xNC0xMy4yYy0wLjksMC0xLjgsMC4xLTIuNiwwLjNjMCwwLTUwLjQsNi4yLTkxLjMsMi45Yy01NC00LjQtODMuNC0xNC4zLTgzLjQtMTQuMyAgIEMxNDEyLjYtMTI0OS4zLDE0MTAuMy0xMjQ5LjYsMTQwOC4xLTEyNDkuM3ogTTE0MDguMS0xMzE2LjljLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuM2MwLjcsNS40LDQuNiw5LjksOS45LDExLjMgICBjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMmMtMC45LDAtMS44LDAuMS0yLjYsMC4zICAgYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTEzMTYuOSwxNDEwLjMtMTMxNy4yLDE0MDguMS0xMzE2Ljl6IE0xNDA4LjEtMTM4NC40ICAgYy03LjUsMS0xMi43LDcuOC0xMS43LDE1LjNjMC43LDUuNCw0LjYsOS45LDkuOSwxMS4zYzAsMCwzMy4yLDExLDg5LjcsMTUuNmM0NS40LDMuNyw5Ni45LTMuMiw5Ni45LTMuMmM3LjUtMC4yLDEzLjUtNi41LDEzLjItMTQgICBzLTYuNS0xMy41LTE0LTEzLjJjLTAuOSwwLTEuOCwwLjEtMi42LDAuM2MwLDAtNTAuNCw2LjItOTEuMywyLjljLTU0LTQuNC04My40LTE0LjMtODMuNC0xNC4zICAgQzE0MTIuNi0xMzg0LjUsMTQxMC4zLTEzODQuNywxNDA4LjEtMTM4NC40eiBNMTMxMy40LTE0NTUuN2MtNzEsMC41LTk3LjUsMjIuMy05Ny41LDIyLjN2NTMwLjNjMCwwLDI1LjgtMjIuMywxMDktMTguOSAgIGM4My4yLDMuNCwxMDAuMywzMi42LDIwMi41LDM0LjZjMTAyLjIsMi4xLDEyNy45LTE1LjcsMTI3LjktMTUuN2wxLjUtNTQwLjZjMCwwLTQ2LDEzLTEzNS41LDEzLjdzLTExMS0yMi44LTE5My4yLTI1LjUgICBDMTMyMy0xNDU1LjYsMTMxOC4xLTE0NTUuNywxMzEzLjQtMTQ1NS43ei
37BNMTM3Mi44LTE0MjEuMWMwLDAsNDMsMTQuMiwxMjIuNSwxOC4yYzY3LjIsMy4zLDEzNC41LTYuNiwxMzQuNS02LjZ2NDgwLjUgICBjMCwwLTM0LjEsMTcuOS0xMTkuMywxMS44Yy02Ni00LjctMTM4LjctMjkuNy0xMzguNy0yOS43TDEzNzIuOC0xNDIxLjF6IE0xMzMxLjMtMTQwOC42YzcuNiwwLDEzLjcsNi4yLDEzLjcsMTMuNyAgIHMtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwxLTE4LjUtNS43cy0xLTE1LDUuNy0xOC41YzAsMCwwLDAsMCwwICAgYzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xNDA4LjUsMTMzMS4zLTE0MDguNiwxMzMxLjMtMTQwOC42eiBNMTMxOC4xLTEzNDAuOGM3LjYtMC4yLDEzLjMsMCwxMy4zLDAgICBjNy41LDAuOSwxMi45LDcuOCwxMiwxNS4zYy0wLjgsNi4zLTUuNywxMS4yLTEyLDEyYzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwwLjktMTguNS01LjggICBjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDAuOS0xMzQwLjEsMTMxMC41LTEzNDAuNiwxMzE4LjEtMTM0MC44eiBNMTMzMS4zLTEyNzMuMyAgIGM3LjYsMCwxMy43LDYuMiwxMy43LDEzLjdjMCw3LjYtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLTAuMS0zNS44LDEuMmMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNiAgIGMtNi43LDMuNS0xNSwwLjktMTguNS01LjhjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xMjczLjQsMTMzMS4zLTEyNzMuMywxMzMxLjMtMTI3My4zeiIvPgo8L2c+CjxnIGlkPSJ0ZXh0Ij4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xMTI4LjYsNDkxLjlWNDcwbDguOS0wLjhjNS4yLTAuNSw3LjgtMy4xLDcuOC03LjZWMzM2bC0xNS40LTAuOHYtMjNoNzMuOCAgIGMyMC45LDAsMzYuOSwzLjksNDguMSwxMS42YzExLjIsNy43LDE2LjgsMjAuNSwxNi44LDM4LjFjMCwxMi4zLTMuMiwyMi4zLTkuNywzMC4zYy02LjMsNy45LTEzLjksMTMuNy0yMi43LDE3LjMgICBjNi41LDIuMywxMS42LDcuOCwxNS40LDE2LjVsMTkuNSw0Mi40bDE1LjQsMC41djIzaC02Ni44VjQ3MGw3LjgtMC44YzQuMS0wLjUsNi4yLTIuMiw2LjItNC45YzAtMS4xLTAuNC0yLjMtMS4xLTMuOGwtMTIuNy0yNyAgIGMtMi00LjUtNC4yLTcuNy02LjgtOS41Yy0yLjMtMi01LjgtMy0xMC4zLTNoLTI0LjZ2NDdsMTcuNiwwLjh2MjNMMTEyOC42LDQ5MS45IE0xMTc4LjMsMzk1LjRoMjMuNWMyMi4yLDAsMzMuMi05LjksMzMuMi0yOS43ICAgYzAtMTEuNC0zLTE4LjctOC45LTIyLjJjLTUuOC0zLjQtMTUuMS01LjEtMjguMS01LjFoLTE5LjdWMzk1LjQiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xMzU2LDM1MS45YzEzLjUsMCwyNC4yLDMuMywzMi4yLDEwYzcuOSw2LjUsMTEuOSwxNS43LDExLjksMjcuNmMwLDcuOS0xLjcsMTUtNS4xLDIxLjEgICBjLTMuNCw1LjktNy43LDEwLjYtMTIuNywxNC4xYy01LDMuNC0xMS4yLDYuMi0xOC40LDguNGMtMTIuMSwzLjYtMjUuNyw1LjQtNDAuOCw1LjRjMC41LDkuNSwzLjUsMTcuMyw4LjksMjMuMiAgIGM1LjQsNS44LDEzLjcsOC42LDI0LjksOC42YzExLjIsMCwyMi4zLTQsMzMuNS0xMS45bDEwLjMsMjEuOWMtMy42LDMuMi05LjcsNi42LTE4LjQsMTBjLTguNSwzLjQtMTguMiw1LjEtMjkuMiw1LjEgICBjLTIyLDAtMzguMS02LTQ4LjQtMTguMWMtMTAuMy0xMi4zLTE1LjQtMjktMTUuNC01MC4zYzAtMjEuMyw1LjktMzkuMSwxNy42LTUzLjVDMTMxOC41LDM1OS4xLDEzMzQuOSwzNTEuOSwxMzU2LDM1MS45ICAgIE0xMzQzLjYsNDEzLjhjNi43LTEuMywxMi44LTMuOSwxOC40LTcuOGM1LjYtNC4xLDguNC05LDguNC0xNC42YzAtMTEtNS40LTE2LjUtMTYuMi0xNi41Yy0xMC4xLDAtMTcuOCw0LjEtMjMuMiwxMi4yICAgYy01LjQsNy45LTguNCwxNy41LTguOSwyOC42QzEzMjkuOSw0MTUuNSwxMzM3LjEsNDE0LjksMTM0My42LDQxMy44Ii8+Cgk8cGF0aCBzdHlsZT0iZmlsbDojMzIzMjJBIiBkPSJNMTUyOS42LDM2MS40djEwMC41YzAsMi45LDAuNSw0LjksMS40LDUuOWMxLjEsMS4xLDIuOSwxLjcsNS40LDEuOWw4LjYsMC41djIxLjZoLTQzdi0xNS43ICAgbC0wLjgtMC4zYy05LDEzLTIxLjQsMTkuNS0zNywxOS41Yy0xOC40LDAtMzItNS45LTQwLjgtMTcuNmMtOC44LTExLjctMTMuMi0yNy43LTEzLjItNDguMWMwLTI0LjUsNS45LTQzLjYsMTcuOC01Ny4zICAgYzExLjktMTMuNywyOS43LTIwLjUsNTMuNS0yMC41QzE0OTYuOCwzNTEuOSwxNTEyLjksMzU1LjEsMTUyOS42LDM2MS40IE0xNDk4LjMsNDQ4Ljl2LTcwYy01LTIuMy0xMi0zLjUtMjAuOC0zLjUgICBjLTEyLjEsMC0yMC44LDQuOS0yNi4yLDE0LjZjLTUuNCw5LjctOC4xLDIyLjYtOC4xLDM4LjdjMCwyOS4yLDkuNCw0My44LDI4LjEsNDMuOGM3LjksMCwxNC40LTIuMywxOS41LTcgICBDMTQ5NS43LDQ2MC42LDE0OTguMyw0NTUuMSwxNDk4LjMsNDQ4LjkiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xNjE2LjMsMzUxLjljNy43LDAsMTUuMSwxLjEsMjIuMiwzLjJ2LTI3LjNjMC00LTIuMy02LjEtNy02LjVsLTExLjYtMC44di0yMS40aDUwLjN2MTY0LjMgICBjMC4yLDQuMSwyLjQsNi4yLDYuOCw2LjJsOS41LDAuNXYyMS42aC00My44VjQ3NmwtMC44LTAuM2MtOC4xLDEzLjItMjAuNCwxOS43LTM2LjgsMTkuN2MtMjAuNSwwLTM1LTYuOC00My4yLTIwLjUgICBjLTcuNi0xMi40LTExLjQtMjcuNy0xMS40LTQ1LjdjMC0yMy40LDUuOC00Mi4yLDE3LjMtNTYuMkMxNTc5LjMsMzU4LjksMTU5NS41LDM1MS45LDE2MTYuMywzNTEuOSBNMTYzOC40LDQ0OS44di03MCAgIGMtNi41LTIuOS0xMy4zLTQuMy0yMC41LTQuM2MtMTEuOSwwLTIwLjYsNC44LTI2LjIsMTQuM2MtNS40LDkuNi04LjEsMjEuNy04LjEsMzYuNWMwLDMwLjMsOS43LDQ1LjQsMjkuMiw0NS40ICAgYzcuNCwwLDEzLjUtMi4xLDE4LjQtNi4yQzE2MzYsNDYxLjEsMTYzOC40LDQ1NS45LDE2MzguNCw0NDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTE3OTEuNyw0NzAuNmMwLDAtMTIuNSw0LjctMTkuMiw0LjdzLTkuMi0zLjMtOS4yLTExLjhjMC0zLjgsMC41LTguOCwxLjQtMTQuOWwxMC4yLTYzLjFoMzIuNiAgIGwyLjgtMTcuN2gtMzIuNmw1LjctMzQuNUwxNzYwLDMzOGwtNC43LDI5LjhsLTIzLjYsMi40bC0yLjYsMTUuNGgyMy40TDE3NDIsNDUxYy0wLjksNS4
370LTEuNCwxMC42LTEuNCwxNS4xICAgYzAsMTguNyw3LjgsMjguMSwyMy45LDI4LjFjMTMuMiwwLDMxLTEwLjksMzEtMTAuOUwxNzkxLjcsNDcwLjYiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xODY1LDMwOS44bC00My4zLDEuMmwtMi4xLDEzbDE5LjksNC43bC0yNiwxNjMuMmgyMi41bDcuOC00Mi42YzAsMCwxOC43LTY1LDQ5LjQtNjUgICBjOS41LDAsMTIuMyw2LjksMTIuMywxNS42YzAsMy4zLTAuNSw2LjktMC45LDEwLjRsLTEzLjUsODEuNmw0My4zLTIuNGwyLjEtMTNsLTE5LjktMy41bDEwLjYtNjYuMmMwLjctNSwxLjItOS43LDEuMi0xNCAgIGMwLTE3LTYuOS0yOC42LTI1LjgtMjguNmMtMzUuOSwwLTU0LjksNDUuNi01NS44LDQ4LjJMMTg2NSwzMDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTIwMzUsNDY0LjdjMCwwLTIxLjUsMTAuNi0zOC44LDEwLjZjLTE3LjcsMC0yNi03LjgtMjYtMjQuNmMwLTMuMSwwLjItNi42LDAuNy0xMC4yICAgYzQ5LDAsODMtMTguNCw4My00NS42YzAtMTguNy0xNS4xLTMwLjctMzktMzAuN2MtMzcuNiwwLTY4LjMsMzguNS02OC4zLDg3LjVjMCwyNiwxNi42LDQyLjYsNDIuNiw0Mi42YzI3LjksMCw1My0xNy41LDUzLTE3LjUgICBMMjAzNSw0NjQuNyBNMTk3Myw0MjRjNi4xLTI0LjgsMjMuNC00Mi4xLDQwLjctNDIuMWMxMi4xLDAsMTcuNyw1LDE3LjcsMTUuNEMyMDMxLjUsNDEyLjksMjAwNi42LDQyNCwxOTczLDQyNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTIwOTMuNyw0OTEuOVY0NzBsOC45LTAuOGM1LjItMC41LDcuOC0zLjEsNy44LTcuNlYzMzZsLTE1LjQtMC44di0yM2g3NC4xICAgYzI2LjUsMCw0Ny4xLDcsNjEuOSwyMS4xYzE1LDE0LjEsMjIuNCwzNC45LDIyLjQsNjIuNGMwLDE3LjEtMi4zLDMyLjEtNi44LDQ0LjljLTQuNSwxMi42LTEwLjYsMjIuNS0xOC40LDI5LjcgICBjLTE1LjUsMTQuNC0zNC44LDIxLjYtNTcuOCwyMS42TDIwOTMuNyw0OTEuOSBNMjE0My40LDMzOC40VjQ2NmgyNy42YzE1LjUsMCwyNy42LTUuNiwzNi4yLTE2LjhjOC42LTExLjIsMTMtMjcuNCwxMy00OC43ICAgYzAtNDEuNC0xNy42LTYyLjItNTIuNy02Mi4ySDIxNDMuNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTIzMzAsNDcyLjJjMTkuNiwwLDI5LjUtMTUuOSwyOS41LTQ3LjZjMC0xNi0yLjMtMjguMi02LjgtMzYuNWMtNC4zLTguMy0xMS43LTEyLjQtMjIuMi0xMi40ICAgYy0xMC4zLDAtMTcuOCw0LTIyLjcsMTEuOWMtNC45LDcuOS03LjMsMTguNy03LjMsMzIuNGMwLDI1LjQsNC43LDQxLjQsMTQuMSw0Ny44QzIzMTguOCw0NzAuNywyMzIzLjksNDcyLjIsMjMzMCw0NzIuMiAgICBNMjI2Ny45LDQyMy44YzAtMTMuMywyLTI0LjksNS45LTM0LjZjNC05LjksOS4zLTE3LjUsMTUuOS0yMi43YzEyLjgtOS43LDI2LjktMTQuNiw0Mi40LTE0LjZjMTAuOCwwLDE5LjksMS44LDI3LjMsNS40ICAgYzcuNiwzLjQsMTMuNCw3LjUsMTcuNiwxMi4yYzQuMyw0LjUsNy45LDExLjIsMTAuOCwyMGMzLjEsOC42LDQuNiwxOC45LDQuNiwzMC44YzAsMjQuOS02LDQzLjctMTguMSw1Ni41ICAgYy0xMi4xLDEyLjgtMjcuNiwxOS4yLTQ2LjUsMTkuMmMtMTguNywwLTMzLjQtNi00NC4xLTE4LjFDMjI3My4yLDQ2NS42LDIyNjcuOSw0NDcuNiwyMjY3LjksNDIzLjgiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0yNDM4LjIsNDIyLjVjMCwxNS4zLDIuOSwyNy4yLDguNiwzNS43YzUuOCw4LjUsMTQuMSwxMi43LDI0LjksMTIuN2MxMSwwLDIxLjgtMy45LDMyLjQtMTEuNiAgIGwxMS42LDIwLjhjLTEyLjgsMTAuNS0yOC44LDE1LjctNDguMSwxNS43Yy0xOS4zLDAtMzQuNS02LTQ1LjctMTguMWMtMTEtMTIuMy0xNi41LTMwLjMtMTYuNS01NC4xczYuMy00MS42LDE4LjktNTMuNSAgIGMxMi44LTEyLjEsMjcuMS0xOC4xLDQzLTE4LjFjMTYsMCwzMC45LDMuNyw0NC42LDExLjF2MzUuMWwtMjQuOSwxLjl2LTEzYzAtNC45LTEuOC03LjgtNS40LTguOWMtMy40LTEuMy03LTEuOS0xMC44LTEuOSAgIEMyNDQ5LjEsMzc2LjIsMjQzOC4yLDM5MS42LDI0MzguMiw0MjIuNSIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTI1OTIuOSwzNzYuNWMtNC4zLTEuNi05LjYtMi40LTE1LjctMi40Yy02LjEsMC0xMS4xLDEuNC0xNC45LDQuM2MtMy42LDIuNy01LjQsNi4xLTUuNCwxMC4zICAgYzAsNCwwLjYsNy4xLDEuOSw5LjVjMS40LDIuMiwzLjYsNC4xLDYuNSw1LjdjNC41LDIuMyw5LjksNC40LDE2LjIsNi4yYzYuMywxLjYsMTEsMywxNC4xLDQuMWMzLjEsMC45LDYuOCwyLjUsMTEuNCw0LjkgICBjNC43LDIuMyw4LjIsNC45LDEwLjUsNy42YzYuMyw2LjcsOS41LDE1LjIsOS41LDI1LjdjMCwxMy41LTUsMjQuMS0xNC45LDMxLjljLTkuNyw3LjYtMjIuMiwxMS40LTM3LjMsMTEuNCAgIGMtMjIsMC0zOC42LTIuOC00OS43LTguNHYtMzcuNmwyNC4zLTEuOXYxM2MwLDcuOSw3LjYsMTEuOSwyMi43LDExLjlzMjIuNy01LjUsMjIuNy0xNi41YzAtNC0xLjQtNy4yLTQuMS05LjcgICBjLTIuNS0yLjUtNS00LjItNy42LTUuMWMtMi41LTAuOS01LjYtMS44LTkuMi0yLjdjLTMuNC0wLjktNi44LTEuOC0xMC4zLTIuN2MtMy4yLTAuOS02LjgtMi4xLTEwLjgtMy41Yy0zLjgtMS42LTgtMy45LTEyLjctNi44ICAgYy05LjItNS45LTEzLjgtMTUuOS0xMy44LTI5LjdjMC0xNC4xLDUtMjQuOSwxNC45LTMyLjRjOS45LTcuNiwyMi4zLTExLjQsMzcuMy0xMS40YzE1LjEsMCwzMC4xLDMuNiw0NC45LDEwLjh2MzIuNGwtMjQuMywxLjkgICB2LTExLjRDMjU5OS4xLDM4MS4yLDI1OTcsMzc4LjEsMjU5Mi45LDM3Ni41Ii8+CjwvZz4KPGRpdiB4bWxucz0iIiBpZD0ic2FrYS1ndWktcm9vdCI+PGRpdj48ZGl2PjxzdHlsZS8+PC9kaXY+PC9kaXY+PC9kaXY+PC9zdmc+")}},{key:"renderNoResultsFound",value:function(){var e=gi(Ai,{title:"Not found"}),t=this.getUserQuery();this.results=q(ha||(ha=xa(['\n      <div class="no-results">\n        ','\n        <p class="title">No results for <strong>"','"</strong></p>\n        <div class="tips">\n          <p>Try using the following special queries:</p>\n          <ul>\n            <li>\n              <strong>Exact phrase</strong>: use double quotes to match a whole\n              phrase: <code>"adding a subproject"</code>.\n            </li>\n            <li>\n              <strong>Prefix</strong>: use an asterisk at the end of any term to\n              prefix a result: <code>environ*</code>.\n            </li>\n            <li>\n              <strong>Fuzziness</strong>: add a tilde and a number to indicate\n              the fuzziness of the word: <code>getter~2</code>.\n            </li>\n          </ul>\n        </div>\n\n        <div class="footer">\n          <p>\n            Learn more about the query syntax supported in our\n            <a\n              target="_blank"\n              href="https://docs.readthedocs.io/page/server-side-search/syntax.html"\n              >documentation</a\n            >.\n          </p>\n        </div>\n      </div>\n    '])),e.node[0],t)}},{key:"renderFilters",value:function(){var e=this;
37return this.config.addons.search.filters.length?q(pa||(pa=xa(['\n      <div class="filters">\n        <span class="filters-title">Filters</span>\n        <ul>\n          ',"\n        </ul>\n      </div>\n    "])),this.filters.map(function(t,n){return q(ma||(ma=xa(["\n              <li>\n                <input\n                  @click=",'\n                  id="filter-','"\n                  type="checkbox"\n                  value="','"\n                  ?checked=','\n                />\n                <label for="filter-','"> '," </label>\n              </li>\n            "])),e.filterClicked,n,t.value,t.default,n,t.name)})):V}},{key:"renderResults",value:function(e){var t=this,n=gi(yi,{title:"Result",classes:["header","icon"]});this.results=q(ga||(ga=xa(['\n      <div class="hit">\n        ',"\n      </div>\n    "])),e.results.map(function(e,r){return q(ya||(ya=xa(['<div class="hit-block">\n              <a\n                @click=','\n                class="hit-block-heading"\n                href="','"\n              >\n                <i>','</i>\n                <div class="hit-block-heading-row">\n                  <h2>',"</h2>\n                  ","\n                </div>\n              </a>\n\n              ","\n            </div>"])),t.followResultLink,t.getResultLink(e),n.node[0],e.title,t.renderExternalProjectBadge(e),e.blocks.map(function(n,o){return q(Aa||(Aa=xa(["",""])),t.renderBlockResult(n,"".concat(n.id,"-").concat(r,"-").concat(o),e))}))}))}},{key:"followResultLink",value:function(e){var t=new CustomEvent(Be);document.dispatchEvent(t)}},{key:"getResultLink",value:function(e){var t=e.path;return e.project.slug!==this.config.projects.current.slug&&(t="".concat(e.domain).concat(e.path)),t}},{key:"renderBlockResult",value:function(e,t,n){var r=this,o=e.title;e.highlights.title.length&&(o=ua(e.highlights.title[0]));var i=e.content.substring(0,80)+" ...";return e.highlights.content.length&&(i=i.length>80?ua("... "+e.highlights.content[0].substring(0,80)+" ..."):ua(e.highlights.content[0])),q(va||(va=xa(["\n      <a\n        @mouseenter=","\n        @click=",'\n        class="hit"\n        href="',"#",'"\n      >\n        <div id="hit-','">\n          <p class="hit subheading">','</p>\n          <p class="hit content">',"</p>\n        </div>\n      </a>\n    "])),this.mouseenterResultHit,function(){return r.storeRecentSearch(e,n)},this.getResultLink(n),e.id,t,o,i)}},{key:"renderRecentSearches",value:function(){var e=this,t=this.getRecentSearches();if(!t||!t.length)return q(ba||(ba=xa(["<p>No recent searches</p>"])));if(this.hideRecentSearches)return V;t.reverse();var n=gi(ji,{title:"Result",classes:["header","icon"]}),r=gi(Mi,{title:"Clear recent search",classes:["header","icon"]});return q(wa||(wa=xa(['\n      <div class="hit">\n        <p>Recent:</p>\n        ',"\n      </div>\n    "])),t.map(function(t){var o=t.block,i=t.result;return q(Ca||(Ca=xa(['<div class="hit-block">\n              <div class="hit-block-heading-container">\n                <a\n                  class="hit-block-heading"\n                  href="','"\n                >\n                  <i>','</i>\n                  <div class="hit-block-heading-row">\n                    <h2>',"</h2>\n                    ",'\n                  </div>\n                </a>\n                <button\n                  class="close-icon"\n                  @click=',"\n                >\n                  ","\n                </button>\n              </div>\n\n              ","\n            </div>"])),e.getResultLink(i),n.node[0],i.title,e.renderExternalProjectBadge(i),function(){return e.removeRecentSearch(o,i)},r.node[0],q(Ea||(Ea=xa(["",""])),e.renderBlockResult(o,"recent-search-".concat(o.id),i)))}))}},{key:"getLocalStorageKeyFromConfig",value:function(e){var t=e.projects.current.slug,n=e.projects.current.language.code,r=e.versions.current.slug;return"".concat(t,"-").concat(n,"-").concat(r,"-recent-searches")}},{key:"getRecentSearches",value:function(){var e=this.getLocalStorageKeyFromConfig(this.config);return Qa.getLocalStorage()[e]||[]}},{key:"storeRecentSearch",value:function(e,t){this.followResultLink();var n=this.getRecentSearches().filter(function(n){var r=n.block,o=n.result;return o.domain!==t.domain||o.path!=o.path||r.id!==e.id});n.push({block:e,result:t});n.length>this.recentSearchesLocalStorageLimit&&n.slice(n.length-this.recentSearchesLocalStorageLimit);var r=Ua({},this.getLocalStorageKeyFromConfig(this.config),n);Qa.setLocalStorage(r)}},{key:"removeRecentSearch",value:function(e,t){var n=this.getRecentSearches().filter(function(n){var r=n.block,o=n.result;return o.domain!==t.domain||o.path!=o.path||r.id!==e.id}),r=Ua({},this.getLocalStorageKeyFromConfig(this.config),n);Qa.setLocalStorage(r),this.requestUpdate()}},{key:"renderExternalProjectBadge",value:function(e){if(e.project.slug!==this.config.projects.current.slug){var t=e.project.alias||e.project.slug;
37return q(Ma||(Ma=xa(['\n        <span class="project-badge"> Project: '," </span>\n      "])),t)}return V}},{key:"closeModal",value:function(e){this.show=!1,document.activeElement.blur()}},{key:"showModal",value:function(e){this.show=!0}},{key:"updated",value:function(e){var t=this.shadowRoot.querySelector("input[type=search]");null!=t&&t.focus()}},{key:"queryInputFocus",value:function(e){"focusin"===e.type?this.cssFormFocusClasses={focus:!0}:"focusout"===e.type&&(this.cssFormFocusClasses={focus:!1})}},{key:"selectNextResult",value:function(e){var t,n,r=this.renderRoot.querySelectorAll("a.hit"),o=Sa(r.entries());try{for(o.s();!(n=o.n()).done;){var i=ja(n.value,2),a=i[0],s=i[1];if(s.classList.contains("active")){t=a;break}}}catch(e){o.e(e)}finally{o.f()}var c=r.length>0?r.length-1:0,l=0;void 0!==t&&(l=e?t+1:t-1),l>c?l=0:l<0&&(l=c);var u,d=Sa(this.renderRoot.querySelectorAll("a.hit.active"));try{for(d.s();!(u=d.n()).done;){u.value.classList.remove("active")}}catch(e){d.e(e)}finally{d.f()}var f=r[l];f.classList.add("active"),f.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}},{key:"selectResultKeyboard",value:function(e){if("ArrowDown"===e.key&&(e.preventDefault(),this.selectNextResult(!0)),"ArrowUp"===e.key&&(e.preventDefault(),this.selectNextResult(!1)),"Enter"===e.key){e.preventDefault();var t=this.renderRoot.querySelector("a.hit.active");null!==t&&t.click()}"Escape"===e.key&&(e.preventDefault(),this.triggerCloseModal())}},{key:"getUserQuery",value:function(){return this.renderRoot.querySelector("input[type=search]").value}},{key:"showSpinIcon",value:function(){"circle-notch"!==this.inputIcon.iconName&&(this.inputIcon=gi(Ci,{title:"Spinner",classes:["spinner","fa-spin"]}))}},{key:"showMagnifierIcon",value:function(){this.inputIcon=gi(vi,{title:"Search"})}},{key:"removeAllResults",value:function(){this.results=null}},{key:"fetchResults",value:function(e){var t=this;this.removeAllResults(),this.showSpinIcon();return st(function(){t.hideRecentSearches=!0;var n="/_/api/v3/search/?"+new URLSearchParams({q:e}).toString();window.location.href.startsWith("http://localhost")&&(n="/_/readthedocs-search.json"),pt(n,{method:"GET",headers:{"X-RTD-Hosting-Integrations-Version":ot}}).then(function(e){if(!e.ok)throw new Error;return e.json()}).then(function(e){e.results.length>0?t.renderResults(e):t.renderNoResultsFound(),t.showMagnifierIcon()}).catch(function(e){console.error(e),t.removeAllResults()})},250)}},{key:"getCurrentFilter",value:function(){var e,t=[],n=Sa(this.renderRoot.querySelectorAll(".filters input[type=checkbox]:checked"));try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r.value)}}catch(e){n.e(e)}finally{n.f()}return t.join(" ")||this.defaultFilter.value}},{key:"queryInput",value:function(e){var t=this,n=this.getUserQuery();if(n.length>=3){null!==this.currentQueryRequest&&this.currentQueryRequest.cancel(),n=this.getCurrentFilter()+" "+n,this.currentQueryRequest=this.fetchResults(n),this.currentQueryRequest()}else{this.hideRecentSearches=!1,st(function(){t.removeAllResults()},300)()}}},{key:"filterClicked",value:function(e){this.queryInput()}},{key:"mouseenterResultHit",value:function(e){var t,n=Sa(this.renderRoot.querySelectorAll("a.hit.active"));try{for(n.s();!(t=n.n()).done;){t.value.classList.remove("active")}}catch(e){n.e(e)}finally{n.f()}}},{key:"triggerCloseModal",value:function(){var e=new CustomEvent(Be);document.dispatchEvent(e)}},{key:"connectedCallback",value:function(){za(t,"connectedCallback",this,3)([]),document.addEventListener(ze,this._handleShowModal),document.addEventListener(Be,this._handleCloseModal)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(ze,this._handleShowModal),document.removeEventListener(Be,this._handleCloseModal),za(t,"disconnectedCallback",this,3)([])}}])}(le);Ua(Fa,"elementName","readthedocs-search"),Ua(Fa,"properties",{config:{state:!0},filters:{state:!0},show:{state:!0},inputIcon:{state:!0},results:{state:!0},hideRecentSearches:{state:!0},cssFormFocusClasses:{state:!0},triggerKeycode:{type:Number,attribute:"trigger-keycode"},triggerSelector:{type:String,attribute:"trigger-selector"},triggerEvent:{type:String,attribute:"trigger-event"}}),Ua(Fa,"styles",oa.A);var Qa=function(e){function t(){return Ta(this,t),_a(this,t,arguments)}return Pa(t,e),Ia(t)}(at);Ua(Qa,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.search.json"),Ua(Qa,"add
37onEnabledPath","addons.search.enabled"),Ua(Qa,"addonName","Search"),Ua(Qa,"enabledOnHttpStatus",[200,404]),Ua(Qa,"elementClass",Fa),customElements.define(Fa.elementName,Fa);var qa=n(2374),Wa=n(3329),Va=n(8968);function Ga(e){return Ga="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},Ga(e)}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Za(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,as(r.key),r)}}function Ka(e,t,n){return t&&Za(e.prototype,t),n&&Za(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xa(e,t,n){return t=ns(t),function(e,t){if(t&&("object"==Ga(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ja()?Reflect.construct(t,n||[],ns(e).constructor):t.apply(e,n))}function Ja(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ja=function(){return!!e})()}function es(e,t,n,r){var o=ts(ns(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function ts(){return ts="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ns(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ts.apply(null,arguments)}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ns(e)}function rs(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&os(e,t)}function os(e,t){return os=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},os(e,t)}function is(e,t,n){return(t=as(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function as(e){var t=function(e,t){if("object"!=Ga(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ga(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ga(t)?t:t+""}var ss="readthedocs-diff",cs="readthedocs-diff-chunk",ls={addedClass:"doc-diff-added",modifiedClass:"doc-diff-modified",removedClass:"doc-diff-removed",skipModified:!0},us=function(e){function t(){var e;return Ha(this,t),is(e=Xa(this,t),"_handleShowDocDiff",function(t){t.preventDefault(),e.enableDocDiff()}),is(e,"_handleHideDocDiff",function(t){t.preventDefault(),e.disableDocDiff()}),e.config=null,e.baseUrl=null,e.rootSelector=null,e.injectStyles=!0,e.originalBody=null,e.cachedRemoteResponse=null,e}return rs(t,e),Ka(t,[{key:"loadConfig",value:function(e){if(ds.isEnabled(e)){if(this.config=e,this.rootSelector=pe().get(this.config,"addons.options.root_selector")||ht.getRootSelector(),this.injectStyles){var t=Wa.A;t instanceof i&&(t=t.styleSheet),document.adoptedStyleSheets.push(t)}if("true"===ct(ss)){var n=new CustomEvent($e);document.dispatchEvent(n)}}}},{key:"render",value:function(){return V}},{key:"getEmbedURL",value:function(e){var t={url:e};return null!==this.rootSelector&&(t.maincontent=this.rootSelector),it?"/_/readthedocs-docdiff-embed.json":Se+"?"+new URLSearchParams(t).toString()}},{key:"compare",value:function(){var e=this;if(null!==document.querySelector(this.rootSelector)){var t;if(null!==this.cachedRemoteResponse)t=Promise.resolve(this.cachedRemoteResponse);else{var n=this.config.addons.doc_diff.base_url;t=pt(this.getEmbedURL(n)).then(function(e){if(!e.ok)throw new Error("Error downloading requested base URL.");return e.json()})}t.then(function(t){e.cachedRemoteResponse=t,e.performDiff(e.cachedRemoteResponse.content)}).finally(function(){var e=new CustomEvent(qe);document.dispatchEvent(e)}).catch(function(e){console.error(e)})}else console.error("Element not found in current document.")}},{key:"performDiff",value:function(e){var t=(new DOMParser).parseFromString(e,"text/html"),n=t.documentElement.querySelector(this.rootSelector)||t.documentElement.querySelector("body").firstElementChild,r=document.querySelector(this.rootSelector);if(null===n)throw new Error("Element not found in base document.");var o=Va.visualDomDiff;var i=o(n,r,ls);r.replaceWith(i.firstElementChild)}},{key:"enableDocDiff",value:function(){if(null===this.config)return null;if(this.enabled)return console.debug("Ignoring enableDocDiff: it was already enabled"),null;var e=new URL(window.location.href);return e.searchParams.set(ss,"true"),window.history.replaceState({},"",e),this.enabled=!0,this.originalBody=document.querySelector(this.rootSelector),this.compare()}},{key:"disableDocDiff",value:function(){if(!this.enabled)return console.debug("Ignoring disableDocDiff: it was already disabled"),null;var e=new URL(window.location.href);e.searchParams.delete(ss),e.searchParams.delete(cs),window.history.replaceState({},"",e),this.enabled=!1,document.querySelector(this.rootSelector).replaceWith(this.originalBody);var t=new CustomEvent(qe);document.dispatchEvent(t)}},{key:"connectedCallback",value:function(){es(t,"connectedCallback",this,3)([]),document.addEventListener($e,this._handleShowDocDiff),document.addEventListener(Pe,this._handleHideDocDiff)}},{key:"disconnectedCallback",value:function(){document.removeEventListener($e,this._handleShowDocDiff),document.removeEventListener(Pe,this._handleHideDocDiff),es(t,"disconnectedCallback",this,3)([])}}])}(le);is(us,"elementName","readthedocs-docdiff"),is(us,"properties",{config:{state:!0},enabled:{type:Boolean},baseUrl:{type:String,attribute:"base-url"},injectStyles:{type:Boolean,attribute:"inject-styles",converter:{fromAttribute:function(e,t){return"true"===e},toAttribute:function(e,t){return!0===e?"true":"false"}}}}),is(us,"styles",qa.A);var ds=function(e){function t(){return Ha(this,t),Xa(this,t,arguments)}return rs(t,e),Ka(t,null,[{key:"requiresUrlParam",value:function(){return window.location.host.endsWith(".readthedocs.build")||window.location.host.endsWith(".devthedocs.org")||window.location.host.endsWith(".devthedocs.com")}}])}(at);is(ds,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.docdiff.json"),is(ds,"addonEnabledPath","addons.doc_diff.enabled"),is(ds,"addonName","DocDiff"),is(ds,"elementClass",us),customElements.define(us.elementName,us);const fs="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmc6c3ZnCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZyIKICAgeD0iMHB4IgogICB5PSIwcHgiCiAgIHZpZXdCb3g9IjY5NCAxOTcgMzQ2LjY5ODU1IDM5OS45ODQ3NyIKICAgc29kaXBvZGk6ZG9jbmFtZT0ibG9nby1saWdodC5zdmciCiAgIHdpZHRoPSIzNDYuNjk4NTUiCiAgIGhlaWdodD0iMzk5Ljk4NDc3IgogICBpbmtzY2FwZTp2ZXJzaW9uPSIxLjMuMiAoMDkxZTIwZWYwZiwgMjAyMy0xMS0yNSwgY3VzdG9tKSIKICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiCiAgIHhtbG5zOnNvZGlwb2RpPSJodHRwOi8vc29kaXBvZGkuc291cmNlZm9yZ2UubmV0L0RURC9zb2RpcG9kaS0wLmR0ZCIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHN2ZzpkZWZzCiAgICAgaWQ9ImRlZnMxMiIgLz4KICA8c29kaXBvZGk6bmFtZWR2aWV3CiAgICAgaWQ9Im5hbWVkdmlldzEyIgogICAgIHBhZ2Vjb2xvcj0iI2ZmZmZmZiIKICAgICBib3JkZXJjb2xvcj0iIzAw
37MDAwMCIKICAgICBib3JkZXJvcGFjaXR5PSIwLjI1IgogICAgIGlua3NjYXBlOnNob3dwYWdlc2hhZG93PSIyIgogICAgIGlua3NjYXBlOnBhZ2VvcGFjaXR5PSIwLjAiCiAgICAgaW5rc2NhcGU6cGFnZWNoZWNrZXJib2FyZD0iMCIKICAgICBpbmtzY2FwZTpkZXNrY29sb3I9IiNkMWQxZDEiCiAgICAgaW5rc2NhcGU6em9vbT0iMS4yNTIiCiAgICAgaW5rc2NhcGU6Y3g9Ijk5OC40MDI1NiIKICAgICBpbmtzY2FwZTpjeT0iMTk5LjY4MDUxIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMzQ0MCIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzg5IgogICAgIGlua3NjYXBlOndpbmRvdy14PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy15PSIyNyIKICAgICBpbmtzY2FwZTp3aW5kb3ctbWF4aW1pemVkPSIxIgogICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZyIgLz4KICA8c3ZnOmcKICAgICBpZD0ibG9nbyIKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLjU1NzUzNjQ0LDAsMCwwLjU1NzUzNjQ0LDY2LjUzMTgxMiwxMDUwLjEyNjIpIj4KICAgIDxzdmc6cGF0aAogICAgICAgc3R5bGU9ImZpbGw6I2ZjZmNmYyIKICAgICAgIGQ9Im0gMTQwOC4xLC0xMTgxLjcgYyAtNy41LDEgLTEyLjcsNy44IC0xMS43LDE1LjMgMC43LDUuNCA0LjYsOS45IDkuOSwxMS4zIDAsMCAzMy4yLDExIDg5LjcsMTUuNiA0NS40LDMuNyA5Ni45LC0zLjIgOTYuOSwtMy4yIDcuNSwtMC4yIDEzLjUsLTYuNSAxMy4yLC0xNCAtMC4zLC03LjUgLTYuNSwtMTMuNSAtMTQsLTEzLjIgLTAuOSwwIC0xLjgsMC4xIC0yLjYsMC4zIDAsMCAtNTAuNCw2LjIgLTkxLjMsMi45IC01NCwtNC40IC04My40LC0xNC4zIC04My40LC0xNC4zIC0yLjIsLTAuNyAtNC41LC0xIC02LjcsLTAuNyB6IG0gMCwtNjcuNiBjIC03LjUsMSAtMTIuNyw3LjggLTExLjcsMTUuMyAwLjcsNS40IDQuNiw5LjkgOS45LDExLjMgMCwwIDMzLjIsMTEgODkuNywxNS42IDQ1LjQsMy43IDk2LjksLTMuMiA5Ni45LC0zLjIgNy41LC0wLjIgMTMuNSwtNi41IDEzLjIsLTE0IC0wLjMsLTcuNSAtNi41LC0xMy41IC0xNCwtMTMuMiAtMC45LDAgLTEuOCwwLjEgLTIuNiwwLjMgMCwwIC01MC40LDYuMiAtOTEuMywyLjkgLTU0LC00LjQgLTgzLjQsLTE0LjMgLTgzLjQsLTE0LjMgLTIuMiwtMC43IC00LjUsLTEgLTYuNywtMC43IHogbSAwLC02Ny42IGMgLTcuNSwxIC0xMi43LDcuOCAtMTEuNywxNS4zIDAuNyw1LjQgNC42LDkuOSA5LjksMTEuMyAwLDAgMzMuMiwxMSA4OS43LDE1LjYgNDUuNCwzLjcgOTYuOSwtMy4yIDk2LjksLTMuMiA3LjUsLTAuMiAxMy41LC02LjUgMTMuMiwtMTQgLTAuMywtNy41IC02LjUsLTEzLjUgLTE0LC0xMy4yIC0wLjksMCAtMS44LDAuMSAtMi42LDAuMyAwLDAgLTUwLjQsNi4yIC05MS4zLDIuOSAtNTQsLTQuNCAtODMuNCwtMTQuMyAtODMuNCwtMTQuMyAtMi4yLC0wLjcgLTQuNSwtMSAtNi43LC0wLjcgeiBtIDAsLTY3LjUgYyAtNy41LDEgLTEyLjcsNy44IC0xMS43LDE1LjMgMC43LDUuNCA0LjYsOS45IDkuOSwxMS4zIDAsMCAzMy4yLDExIDg5LjcsMTUuNiA0NS40LDMuNyA5Ni45LC0zLjIgOTYuOSwtMy4yIDcuNSwtMC4yIDEzLjUsLTYuNSAxMy4yLC0xNCAtMC4zLC03LjUgLTYuNSwtMTMuNSAtMTQsLTEzLjIgLTAuOSwwIC0xLjgsMC4xIC0yLjYsMC4zIDAsMCAtNTAuNCw2LjIgLTkxLjMsMi45IC01NCwtNC40IC04My40LC0xNC4zIC04My40LC0xNC4zIC0yLjIsLTAuOCAtNC41LC0xIC02LjcsLTAuNyB6IG0gLTk0LjcsLTcxLjMgYyAtNzEsMC41IC05Ny41LDIyLjMgLTk3LjUsMjIuMyB2IDUzMC4zIGMgMCwwIDI1LjgsLTIyLjMgMTA5LC0xOC45IDgzLjIsMy40IDEwMC4zLDMyLjYgMjAyLjUsMzQuNiAxMDIuMiwyLjEgMTI3LjksLTE1LjcgMTI3LjksLTE1LjcgbCAxLjUsLTU0MC42IGMgMCwwIC00NiwxMyAtMTM1LjUsMTMuNyAtODkuNSwwLjcgLTExMSwtMjIuOCAtMTkzLjIsLTI1LjUgLTUuMSwtMC4xIC0xMCwtMC4yIC0xNC43LC0wLjIgeiBtIDU5LjQsMzQuNiBjIDAsMCA0MywxNC4yIDEyMi41LDE4LjIgNjcuMiwzLjMgMTM0LjUsLTYuNiAxMzQuNSwtNi42IFYgLTkyOSBjIDAsMCAtMzQuMSwxNy45IC0xMTkuMywxMS44IC02NiwtNC43IC0xMzguNywtMjkuNyAtMTM4LjcsLTI5LjcgeiBtIC00MS41LDEyLjUgYyA3LjYsMCAxMy43LDYuMiAxMy43LDEzLjcgMCw3LjUgLTYuMiwxMy43IC0xMy43LDEzLjcgMCwwIC0yMi4zLDAuMSAtMzUuOCwxLjUgLTIyLjgsMi4zIC0zOC4zLDEwLjYgLTM4LjMsMTAuNiAtNi43LDMuNSAtMTUsMSAtMTguNSwtNS43IC0zLjUsLTYuNyAtMSwtMTUgNS43LC0xOC41IDAsMCAwLDAgMCwwIDAsMCAyMC4yLC0xMC43IDQ4LjQsLTEzLjUgMTYuMywtMS43IDM4LjUsLTEuOCAzOC41LC0xLjggeiBtIC0xMy4yLDY3LjggYyA3LjYsLTAuMiAxMy4zLDAgMTMuMywwIDcuNSwwLjkgMTIuOSw3LjggMTIsMTUuMyAtMC44LDYuMyAtNS43LDExLjIgLTEyLDEyIDAsMCAtMjIuMywwLjEgLTM1LjgsMS41IC0yMi44LDIuMyAtMzguMywxMC42IC0zOC4zLDEwLjYgLTYuNywzLjUgLTE1LDAuOSAtMTguNSwtNS44IC0zLjUsLTYuNyAtMC45LC0xNSA1LjgsLTE4LjUgMCwwIDIwLjIsLTEwLjcgNDguNCwtMTMuNSA3LjksLTAuOSAxNy41LC0xLjQgMjUuMSwtMS42IHogbSAxMy4yLDY3LjUgYyA3LjYsMCAxMy43LDYuMiAxMy43LDEzLjcgMCw3LjYgLTYuMiwxMy43IC0xMy43LDEzLjcgMCwwIC0yMi4zLC0wLjEgLTM1LjgsMS4yIC0yMi44LDIuMyAtMzguMywxMC42IC0zOC4zLDEwLjYgLTYuNywzLjUgLTE1LDAuOSAtMTguNSwtNS44IC0zLjUsLTYuNyAtMC45LC0xNSA1LjgsLTE4LjUgMCwwIDIwLjIsLTEwLjcgNDguNCwtMTMuNSAxNi4yLC0xLjUgMzguNCwtMS40IDM4LjQsLTEuNCB6IgogICAgICAgaWQ9InBhdGgxIiAvPgogIDwvc3ZnOmc+CiAgPGRpdgogICAgIGlkPSJzYWthLWd1aS1yb290Ij4KICAgIDxkaXY+CiAgICAgIDxkaXY+CiAgICAgICAgPHN0eWxlIC8+CiAgICAgIDwvZGl2PgogICAgPC9kaXY+CiAgPC9kaXY+Cjwvc3ZnOnN2Zz4K";var hs,ps,ms,gs,ys,As,vs,bs,ws,Cs,Es,Ms,Ls,js,xs,Ss,Ns,ks,Ts=n(5348);function Ds(e){return Ds="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},Ds(e)}function Is(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}
37finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _s(e,t);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)?_s(e,t):void 0}}(e,t)||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.")}()}function _s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Os(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Vs(r.key),r)}}function $s(e,t,n){return t&&Bs(e.prototype,t),n&&Bs(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ps(e,t,n){return t=Fs(t),function(e,t){if(t&&("object"==Ds(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Rs()?Reflect.construct(t,n||[],Fs(e).constructor):t.apply(e,n))}function Rs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rs=function(){return!!e})()}function Us(e,t,n,r){var o=Ys(Fs(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Ys(){return Ys="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Fs(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ys.apply(null,arguments)}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fs(e)}function Qs(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qs(e,t)}function qs(e,t){return qs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qs(e,t)}function Ws(e,t,n){return(t=Vs(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vs(e){var t=function(e,t){if("object"!=Ds(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ds(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ds(t)?t:t+""}var Gs=function(e){function t(){var e;return zs(this,t),Ws(e=Ps(this,t),"_onOutsideClick",function(t){t.target!==e&&e._close()}),Ws(e,"_showFlyout",function(t){e.opened=!0}),Ws(e,"_hideFlyout",function(t){e.opened=!1}),e.config=null,e.opened=!1,e.floating=!0,e.position="bottom-right",e.readthedocsLogo=fs,e}return Qs(t,e),$s(t,[{key:"loadConfig",value:function(e){if(Hs.isEnabled(e)){this.config=e;var t=pe().get(this.config,"addons.flyout.position",null);t&&(this.position=t)}}},{key:"_close",value:function(){this.opened=!1,this.readthedocsLogo=fs}},{key:"_open",value:function(){this.opened=!0,this.readthedocsLogo="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJzdmciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSI2OTQgMTk3IDIwMDAgNDAwIj4KPGcgaWQ9ImxvZ28iIHRyYW5zZm9ybT0ibWF0cml4KDAuNTU3NTM2NDQsMCwwLDAuNTU3NTM2NDQsNjguMzA4MTM1LDEwNTAuMTI2MikiPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTE0MDguMS0xMTgxLjdjLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuMyAgIGMwLjcsNS40LDQuNiw5LjksOS45LDExLjNjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMiAgIGMtMC45LDAtMS44LDAuMS0yLjYsMC4zYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTExODEuNywxNDEwLjMtMTE4MiwxNDA4LjEtMTE4MS43eiAgICBNMTQwOC4xLTEyNDkuM2MtNy41LDEtMTIuNyw3LjgtMTEuNywxNS4zYzAuNyw1LjQsNC42LDkuOSw5LjksMTEuM2MwLDAsMzMuMiwxMSw4OS43LDE1LjZjNDUuNCwzLjcsOTYuOS0zLjIsOTYuOS0zLjIgICBjNy41LTAuMiwxMy41LTYuNSwxMy4yLTE0cy02LjUtMTMuNS0xNC0xMy4yYy0wLjksMC0xLjgsMC4xLTIuNiwwLjNjMCwwLTUwLjQsNi4yLTkxLjMsMi45Yy01NC00LjQtODMu
37NC0xNC4zLTgzLjQtMTQuMyAgIEMxNDEyLjYtMTI0OS4zLDE0MTAuMy0xMjQ5LjYsMTQwOC4xLTEyNDkuM3ogTTE0MDguMS0xMzE2LjljLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuM2MwLjcsNS40LDQuNiw5LjksOS45LDExLjMgICBjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMmMtMC45LDAtMS44LDAuMS0yLjYsMC4zICAgYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTEzMTYuOSwxNDEwLjMtMTMxNy4yLDE0MDguMS0xMzE2Ljl6IE0xNDA4LjEtMTM4NC40ICAgYy03LjUsMS0xMi43LDcuOC0xMS43LDE1LjNjMC43LDUuNCw0LjYsOS45LDkuOSwxMS4zYzAsMCwzMy4yLDExLDg5LjcsMTUuNmM0NS40LDMuNyw5Ni45LTMuMiw5Ni45LTMuMmM3LjUtMC4yLDEzLjUtNi41LDEzLjItMTQgICBzLTYuNS0xMy41LTE0LTEzLjJjLTAuOSwwLTEuOCwwLjEtMi42LDAuM2MwLDAtNTAuNCw2LjItOTEuMywyLjljLTU0LTQuNC04My40LTE0LjMtODMuNC0xNC4zICAgQzE0MTIuNi0xMzg0LjUsMTQxMC4zLTEzODQuNywxNDA4LjEtMTM4NC40eiBNMTMxMy40LTE0NTUuN2MtNzEsMC41LTk3LjUsMjIuMy05Ny41LDIyLjN2NTMwLjNjMCwwLDI1LjgtMjIuMywxMDktMTguOSAgIGM4My4yLDMuNCwxMDAuMywzMi42LDIwMi41LDM0LjZjMTAyLjIsMi4xLDEyNy45LTE1LjcsMTI3LjktMTUuN2wxLjUtNTQwLjZjMCwwLTQ2LDEzLTEzNS41LDEzLjdzLTExMS0yMi44LTE5My4yLTI1LjUgICBDMTMyMy0xNDU1LjYsMTMxOC4xLTE0NTUuNywxMzEzLjQtMTQ1NS43ei
37BNMTM3Mi44LTE0MjEuMWMwLDAsNDMsMTQuMiwxMjIuNSwxOC4yYzY3LjIsMy4zLDEzNC41LTYuNiwxMzQuNS02LjZ2NDgwLjUgICBjMCwwLTM0LjEsMTcuOS0xMTkuMywxMS44Yy02Ni00LjctMTM4LjctMjkuNy0xMzguNy0yOS43TDEzNzIuOC0xNDIxLjF6IE0xMzMxLjMtMTQwOC42YzcuNiwwLDEzLjcsNi4yLDEzLjcsMTMuNyAgIHMtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwxLTE4LjUtNS43cy0xLTE1LDUuNy0xOC41YzAsMCwwLDAsMCwwICAgYzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xNDA4LjUsMTMzMS4zLTE0MDguNiwxMzMxLjMtMTQwOC42eiBNMTMxOC4xLTEzNDAuOGM3LjYtMC4yLDEzLjMsMCwxMy4zLDAgICBjNy41LDAuOSwxMi45LDcuOCwxMiwxNS4zYy0wLjgsNi4zLTUuNywxMS4yLTEyLDEyYzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwwLjktMTguNS01LjggICBjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDAuOS0xMzQwLjEsMTMxMC41LTEzNDAuNiwxMzE4LjEtMTM0MC44eiBNMTMzMS4zLTEyNzMuMyAgIGM3LjYsMCwxMy43LDYuMiwxMy43LDEzLjdjMCw3LjYtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLTAuMS0zNS44LDEuMmMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNiAgIGMtNi43LDMuNS0xNSwwLjktMTguNS01LjhjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xMjczLjQsMTMzMS4zLTEyNzMuMywxMzMxLjMtMTI3My4zeiIvPgo8L2c+CjxnIGlkPSJ0ZXh0Ij4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xMTI4LjYsNDkxLjlWNDcwbDguOS0wLjhjNS4yLTAuNSw3LjgtMy4xLDcuOC03LjZWMzM2bC0xNS40LTAuOHYtMjNoNzMuOCAgIGMyMC45LDAsMzYuOSwzLjksNDguMSwxMS42YzExLjIsNy43LDE2LjgsMjAuNSwxNi44LDM4LjFjMCwxMi4zLTMuMiwyMi4zLTkuNywzMC4zYy02LjMsNy45LTEzLjksMTMuNy0yMi43LDE3LjMgICBjNi41LDIuMywxMS42LDcuOCwxNS40LDE2LjVsMTkuNSw0Mi40bDE1LjQsMC41djIzaC02Ni44VjQ3MGw3LjgtMC44YzQuMS0wLjUsNi4yLTIuMiw2LjItNC45YzAtMS4xLTAuNC0yLjMtMS4xLTMuOGwtMTIuNy0yNyAgIGMtMi00LjUtNC4yLTcuNy02LjgtOS41Yy0yLjMtMi01LjgtMy0xMC4zLTNoLTI0LjZ2NDdsMTcuNiwwLjh2MjNMMTEyOC42LDQ5MS45IE0xMTc4LjMsMzk1LjRoMjMuNWMyMi4yLDAsMzMuMi05LjksMzMuMi0yOS43ICAgYzAtMTEuNC0zLTE4LjctOC45LTIyLjJjLTUuOC0zLjQtMTUuMS01LjEtMjguMS01LjFoLTE5LjdWMzk1LjQiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xMzU2LDM1MS45YzEzLjUsMCwyNC4yLDMuMywzMi4yLDEwYzcuOSw2LjUsMTEuOSwxNS43LDExLjksMjcuNmMwLDcuOS0xLjcsMTUtNS4xLDIxLjEgICBjLTMuNCw1LjktNy43LDEwLjYtMTIuNywxNC4xYy01LDMuNC0xMS4yLDYuMi0xOC40LDguNGMtMTIuMSwzLjYtMjUuNyw1LjQtNDAuOCw1LjRjMC41LDkuNSwzLjUsMTcuMyw4LjksMjMuMiAgIGM1LjQsNS44LDEzLjcsOC42LDI0LjksOC42YzExLjIsMCwyMi4zLTQsMzMuNS0xMS45bDEwLjMsMjEuOWMtMy42LDMuMi05LjcsNi42LTE4LjQsMTBjLTguNSwzLjQtMTguMiw1LjEtMjkuMiw1LjEgICBjLTIyLDAtMzguMS02LTQ4LjQtMTguMWMtMTAuMy0xMi4zLTE1LjQtMjktMTUuNC01MC4zYzAtMjEuMyw1LjktMzkuMSwxNy42LTUzLjVDMTMxOC41LDM1OS4xLDEzMzQuOSwzNTEuOSwxMzU2LDM1MS45ICAgIE0xMzQzLjYsNDEzLjhjNi43LTEuMywxMi44LTMuOSwxOC40LTcuOGM1LjYtNC4xLDguNC05LDguNC0xNC42YzAtMTEtNS40LTE2LjUtMTYuMi0xNi41Yy0xMC4xLDAtMTcuOCw0LjEtMjMuMiwxMi4yICAgYy01LjQsNy45LTguNCwxNy41LTguOSwyOC42QzEzMjkuOSw0MTUuNSwxMzM3LjEsNDE0LjksMTM0My42LDQxMy44Ii8+Cgk8cGF0aCBzdHlsZT0iZmlsbDojZmNmY2ZjIiBkPSJNMTUyOS42LDM2MS40djEwMC41YzAsMi45LDAuNSw0LjksMS40LDUuOWMxLjEsMS4xLDIuOSwxLjcsNS40LDEuOWw4LjYsMC41djIxLjZoLTQzdi0xNS43ICAgbC0wLjgtMC4zYy05LDEzLTIxLjQsMTkuNS0zNywxOS41Yy0xOC40LDAtMzItNS45LTQwLjgtMTcuNmMtOC44LTExLjctMTMuMi0yNy43LTEzLjItNDguMWMwLTI0LjUsNS45LTQzLjYsMTcuOC01Ny4zICAgYzExLjktMTMuNywyOS43LTIwLjUsNTMuNS0yMC41QzE0OTYuOCwzNTEuOSwxNTEyLjksMzU1LjEsMTUyOS42LDM2MS40IE0xNDk4LjMsNDQ4Ljl2LTcwYy01LTIuMy0xMi0zLjUtMjAuOC0zLjUgICBjLTEyLjEsMC0yMC44LDQuOS0yNi4yLDE0LjZjLTUuNCw5LjctOC4xLDIyLjYtOC4xLDM4LjdjMCwyOS4yLDkuNCw0My44LDI4LjEsNDMuOGM3LjksMCwxNC40LTIuMywxOS41LTcgICBDMTQ5NS43LDQ2MC42LDE0OTguMyw0NTUuMSwxNDk4LjMsNDQ4LjkiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xNjE2LjMsMzUxLjljNy43LDAsMTUuMSwxLjEsMjIuMiwzLjJ2LTI3LjNjMC00LTIuMy02LjEtNy02LjVsLTExLjYtMC44di0yMS40aDUwLjN2MTY0LjMgICBjMC4yLDQuMSwyLjQsNi4yLDYuOCw2LjJsOS41LDAuNXYyMS42aC00My44VjQ3NmwtMC44LTAuM2MtOC4xLDEzLjItMjAuNCwxOS43LTM2LjgsMTkuN2MtMjAuNSwwLTM1LTYuOC00My4yLTIwLjUgICBjLTcuNi0xMi40LTExLjQtMjcuNy0xMS40LTQ1LjdjMC0yMy40LDUuOC00Mi4yLDE3LjMtNTYuMkMxNTc5LjMsMzU4LjksMTU5NS41LDM1MS45LDE2MTYuMywzNTEuOSBNMTYzOC40LDQ0OS44di03MCAgIGMtNi41LTIuOS0xMy4zLTQuMy0yMC41LTQuM2MtMTEuOSwwLTIwLjYsNC44LTI2LjIsMTQuM2MtNS40LDkuNi04LjEsMjEuNy04LjEsMzYuNWMwLDMwLjMsOS43LDQ1LjQsMjkuMiw0NS40ICAgYzcuNCwwLDEzLjUtMi4xLDE4LjQtNi4yQzE2MzYsNDYxLjEsMTYzOC40LDQ1NS45LDE2MzguNCw0NDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTE3OTEuNyw0NzAuNmMwLDAtMTIuNSw0LjctMTkuMiw0LjdzLTkuMi0zLjMtOS4yLTExLjhjMC0zLjgsMC41LTguOCwxLjQtMTQuOWwxMC4yLTYzLjFoMzIuNiAgIGwyLjgtMTcuN2gtMzIuNmw1LjctMzQuNUwxNzYwLDMzOGwtNC43LDI5LjhsLTIzLjYsMi40bC0yLjYsMTUuNGgyMy40TDE3NDIsNDUxYy0wLjksNS4
370LTEuNCwxMC42LTEuNCwxNS4xICAgYzAsMTguNyw3LjgsMjguMSwyMy45LDI4LjFjMTMuMiwwLDMxLTEwLjksMzEtMTAuOUwxNzkxLjcsNDcwLjYiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xODY1LDMwOS44bC00My4zLDEuMmwtMi4xLDEzbDE5LjksNC43bC0yNiwxNjMuMmgyMi41bDcuOC00Mi42YzAsMCwxOC43LTY1LDQ5LjQtNjUgICBjOS41LDAsMTIuMyw2LjksMTIuMywxNS42YzAsMy4zLTAuNSw2LjktMC45LDEwLjRsLTEzLjUsODEuNmw0My4zLTIuNGwyLjEtMTNsLTE5LjktMy41bDEwLjYtNjYuMmMwLjctNSwxLjItOS43LDEuMi0xNCAgIGMwLTE3LTYuOS0yOC42LTI1LjgtMjguNmMtMzUuOSwwLTU0LjksNDUuNi01NS44LDQ4LjJMMTg2NSwzMDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTIwMzUsNDY0LjdjMCwwLTIxLjUsMTAuNi0zOC44LDEwLjZjLTE3LjcsMC0yNi03LjgtMjYtMjQuNmMwLTMuMSwwLjItNi42LDAuNy0xMC4yICAgYzQ5LDAsODMtMTguNCw4My00NS42YzAtMTguNy0xNS4xLTMwLjctMzktMzAuN2MtMzcuNiwwLTY4LjMsMzguNS02OC4zLDg3LjVjMCwyNiwxNi42LDQyLjYsNDIuNiw0Mi42YzI3LjksMCw1My0xNy41LDUzLTE3LjUgICBMMjAzNSw0NjQuNyBNMTk3Myw0MjRjNi4xLTI0LjgsMjMuNC00Mi4xLDQwLjctNDIuMWMxMi4xLDAsMTcuNyw1LDE3LjcsMTUuNEMyMDMxLjUsNDEyLjksMjAwNi42LDQyNCwxOTczLDQyNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTIwOTMuNyw0OTEuOVY0NzBsOC45LTAuOGM1LjItMC41LDcuOC0zLjEsNy44LTcuNlYzMzZsLTE1LjQtMC44di0yM2g3NC4xICAgYzI2LjUsMCw0Ny4xLDcsNjEuOSwyMS4xYzE1LDE0LjEsMjIuNCwzNC45LDIyLjQsNjIuNGMwLDE3LjEtMi4zLDMyLjEtNi44LDQ0LjljLTQuNSwxMi42LTEwLjYsMjIuNS0xOC40LDI5LjcgICBjLTE1LjUsMTQuNC0zNC44LDIxLjYtNTcuOCwyMS42TDIwOTMuNyw0OTEuOSBNMjE0My40LDMzOC40VjQ2NmgyNy42YzE1LjUsMCwyNy42LTUuNiwzNi4yLTE2LjhjOC42LTExLjIsMTMtMjcuNCwxMy00OC43ICAgYzAtNDEuNC0xNy42LTYyLjItNTIuNy02Mi4ySDIxNDMuNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTIzMzAsNDcyLjJjMTkuNiwwLDI5LjUtMTUuOSwyOS41LTQ3LjZjMC0xNi0yLjMtMjguMi02LjgtMzYuNWMtNC4zLTguMy0xMS43LTEyLjQtMjIuMi0xMi40ICAgYy0xMC4zLDAtMTcuOCw0LTIyLjcsMTEuOWMtNC45LDcuOS03LjMsMTguNy03LjMsMzIuNGMwLDI1LjQsNC43LDQxLjQsMTQuMSw0Ny44QzIzMTguOCw0NzAuNywyMzIzLjksNDcyLjIsMjMzMCw0NzIuMiAgICBNMjI2Ny45LDQyMy44YzAtMTMuMywyLTI0LjksNS45LTM0LjZjNC05LjksOS4zLTE3LjUsMTUuOS0yMi43YzEyLjgtOS43LDI2LjktMTQuNiw0Mi40LTE0LjZjMTAuOCwwLDE5LjksMS44LDI3LjMsNS40ICAgYzcuNiwzLjQsMTMuNCw3LjUsMTcuNiwxMi4yYzQuMyw0LjUsNy45LDExLjIsMTAuOCwyMGMzLjEsOC42LDQuNiwxOC45LDQuNiwzMC44YzAsMjQuOS02LDQzLjctMTguMSw1Ni41ICAgYy0xMi4xLDEyLjgtMjcuNiwxOS4yLTQ2LjUsMTkuMmMtMTguNywwLTMzLjQtNi00NC4xLTE4LjFDMjI3My4yLDQ2NS42LDIyNjcuOSw0NDcuNiwyMjY3LjksNDIzLjgiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0yNDM4LjIsNDIyLjVjMCwxNS4zLDIuOSwyNy4yLDguNiwzNS43YzUuOCw4LjUsMTQuMSwxMi43LDI0LjksMTIuN2MxMSwwLDIxLjgtMy45LDMyLjQtMTEuNiAgIGwxMS42LDIwLjhjLTEyLjgsMTAuNS0yOC44LDE1LjctNDguMSwxNS43Yy0xOS4zLDAtMzQuNS02LTQ1LjctMTguMWMtMTEtMTIuMy0xNi41LTMwLjMtMTYuNS01NC4xczYuMy00MS42LDE4LjktNTMuNSAgIGMxMi44LTEyLjEsMjcuMS0xOC4xLDQzLTE4LjFjMTYsMCwzMC45LDMuNyw0NC42LDExLjF2MzUuMWwtMjQuOSwxLjl2LTEzYzAtNC45LTEuOC03LjgtNS40LTguOWMtMy40LTEuMy03LTEuOS0xMC44LTEuOSAgIEMyNDQ5LjEsMzc2LjIsMjQzOC4yLDM5MS42LDI0MzguMiw0MjIuNSIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTI1OTIuOSwzNzYuNWMtNC4zLTEuNi05LjYtMi40LTE1LjctMi40Yy02LjEsMC0xMS4xLDEuNC0xNC45LDQuM2MtMy42LDIuNy01LjQsNi4xLTUuNCwxMC4zICAgYzAsNCwwLjYsNy4xLDEuOSw5LjVjMS40LDIuMiwzLjYsNC4xLDYuNSw1LjdjNC41LDIuMyw5LjksNC40LDE2LjIsNi4yYzYuMywxLjYsMTEsMywxNC4xLDQuMWMzLjEsMC45LDYuOCwyLjUsMTEuNCw0LjkgICBjNC43LDIuMyw4LjIsNC45LDEwLjUsNy42YzYuMyw2LjcsOS41LDE1LjIsOS41LDI1LjdjMCwxMy41LTUsMjQuMS0xNC45LDMxLjljLTkuNyw3LjYtMjIuMiwxMS40LTM3LjMsMTEuNCAgIGMtMjIsMC0zOC42LTIuOC00OS43LTguNHYtMzcuNmwyNC4zLTEuOXYxM2MwLDcuOSw3LjYsMTEuOSwyMi43LDExLjlzMjIuNy01LjUsMjIuNy0xNi41YzAtNC0xLjQtNy4yLTQuMS05LjcgICBjLTIuNS0yLjUtNS00LjItNy42LTUuMWMtMi41LTAuOS01LjYtMS44LTkuMi0yLjdjLTMuNC0wLjktNi44LTEuOC0xMC4zLTIuN2MtMy4yLTAuOS02LjgtMi4xLTEwLjgtMy41Yy0zLjgtMS42LTgtMy45LTEyLjctNi44ICAgYy05LjItNS45LTEzLjgtMTUuOS0xMy44LTI5LjdjMC0xNC4xLDUtMjQuOSwxNC45LTMyLjRjOS45LTcuNiwyMi4zLTExLjQsMzcuMy0xMS40YzE1LjEsMCwzMC4xLDMuNiw0NC45LDEwLjh2MzIuNGwtMjQuMywxLjkgICB2LTExLjRDMjU5OS4xLDM4MS4yLDI1OTcsMzc4LjEsMjU5Mi45LDM3Ni41Ii8+CjwvZz4KPGRpdiB4bWxucz0iIiBpZD0ic2FrYS1ndWktcm9vdCI+PGRpdj48ZGl2PjxzdHlsZS8+PC9kaXY+PC9kaXY+PC9kaXY+PC9zdmc+Cg=="}},{key:"_toggleOpen",value:function(e){this.opened?this._close():this._open()}},{key:"renderHeader",value:function(){mi.add(bi),mi.add(Si);var e=gi(bi,{classes:["icon"]}),t=gi(Si,{classes:["icon"]}),n=V;
37"single_version_without_translations"!==this.config.projects.current.versioning_scheme&&(n=q(hs||(hs=Os(['<span class="version">\n        '," ","\n      </span> "])),e.node[0],this.config.versions.current.slug));var r=gi(Ni,{classes:["icon"]}),o=V;return this.config.projects.translations.length>0&&(o=q(ps||(ps=Os(['<span class="language">\n        ',"\n        ","</span\n      > "])),t.node[0],this.config.projects.current.language.code)),q(ms||(ms=Os(['\n      <header @click="','">\n        <img class="logo" src="','" alt="Read the Docs" />\n        '," ",'\n        <span class="caret">',"</span>\n      </header>\n    "])),this._toggleOpen,this.readthedocsLogo,o,n,r.node[0])}},{key:"renderFooter",value:function(){return q(gs||(gs=Os(['\n      <small>\n        <span>\n          <a\n            href="','"\n            >Addons documentation</a\n          ></span\n        >\n        <span> ― </span>\n        <span\n          >Hosted by\n          <a\n            href="','"\n            >Read the Docs</a\n          ></span\n        >\n      </small>\n    '])),lt("https://docs.readthedocs.io/page/addons.html","flyout",this.config.projects.current.slug),lt("https://about.readthedocs.com/","flyout",this.config.projects.current.slug))}},{key:"showSearch",value:function(){var e=new CustomEvent(Ue);document.dispatchEvent(e);var t=new CustomEvent(ze);document.dispatchEvent(t),this._close()}},{key:"renderSearch",value:function(){return pe().get(this.config,"addons.search.enabled",!1)?q(ys||(ys=Os(['\n        <dl>\n          <dt>Search</dt>\n          <dd>\n            <form @focusin="','" id="flyout-search-form">\n              <input\n                type="text"\n                name="q"\n                aria-label="Search docs"\n                placeholder="Search docs"\n              />\n            </form>\n          </dd>\n        </dl>\n      '])),this.showSearch):V}},{key:"renderVCS",value:function(){if(!this.config.addons.flyout.vcs||!this.config.addons.flyout.vcs.view_url)return V;var e=this.config.addons.flyout.vcs;return q(As||(As=Os(["\n      <dl>\n        <dt>On ",'</dt>\n        <dd>\n          <a href="','">View</a>\n        </dd>\n      </dl>\n    '])),e.name,e.view_url)}},{key:"renderReadTheDocs",value:function(){return q(vs||(vs=Os(['\n      <dl>\n        <dt>On Read the Docs</dt>\n        <dd>\n          <a\n            href="','"\n            >Project Home</a\n          >\n        </dd>\n        <dd>\n          <a\n            href="','"\n            >Builds</a\n          >\n        </dd>\n      </dl>\n    '])),lt(this.config.projects.current.urls.home.replace("readthedocs.org","app.readthedocs.org").replace("readthedocs.com","app.readthedocs.com").replace("app.app.","app."),"flyout",this.config.projects.current.slug),lt(this.config.projects.current.urls.builds.replace("readthedocs.org","app.readthedocs.org").replace("readthedocs.com","app.readthedocs.com").replace("app.app.","app."),"flyout",this.config.projects.current.slug))}},{key:"renderDownloads",value:function(){if(!Object.keys(this.config.versions.current.downloads).length)return V;var e={pdf:"PDF",epub:"EPUB",htmlzip:"HTML"};return q(bs||(bs=Os(['\n      <dl class="downloads">\n        <dt>Downloads</dt>\n        ',"\n      </dl>\n    "])),Object.entries(this.config.versions.current.downloads).map(function(t){var n=Is(t,2),r=n[0],o=n[1];return q(ws||(ws=Os(['<dd>\n              <a href="','">',"</a>\n            </dd>"])),o,e[r])}))}},{key:"renderVersions",value:function(){var e=this;if(!this.config.versions.active.length||"single_version_without_translations"===this.config.projects.current.versioning_scheme)return V;return q(Ms||(Ms=Os(['\n      <dl class="versions">\n        <dt>Versions</dt>\n        ',"\n      </dl>\n    "])),this.config.versions.active.map(function(t){return q(Ls||(Ls=Os(["<dd>","</dd>"])),function(t){var n=dt(t.urls.documentation,e.config.readthedocs.resolver.filename),r=q(Cs||(Cs=Os(['<a href="','">',"</a>"])),n,t.slug);return e.config.versions.current.slug==t.slug?q(Es||(Es=Os(["<strong>","</strong>"])),r):r}(t))}))}},{key:"renderLanguages",value:function(){var e=this;if(!this.config.projects.translations.length)return V;var t=this.config.projects.translations.concat(this.config.projects.current);return t=t.sort(function(e,t){return e.language.code.localeCompare(t.language.code)}),q(Ss||(Ss=Os(['\n      <dl class="languages">\n        <dt>Languages</dt>\n        ',"\n      </dl>\n    "])),t.map(function(t){return q(Ns||(Ns=Os(["<dd>","</dd>"])),function(t){var n=dt(t.urls.documentation,e.config.readthedocs.resolver.filename),r=q(js||(js=Os(['<a href="','">',"</a>"])),n,t.language.code);return e.config.projects.current.slug===t.slug?q(xs||(xs=Os(["<strong>","</strong>"])),r):r}(t))}))}}
37,{key:"updateCSSClasses",value:function(){this.classes={floating:this.floating,container:!0},this.classes[this.position]=!0}},{key:"render",value:function(){return null===this.config?V:(this.updateCSSClasses(),q(ks||(ks=Os(["\n      <div class=",">\n        ","\n        <main class=",">\n          "," ","\n          "," ","\n          "," ","\n          <hr />\n          ","\n        </main>\n      </div>\n    "])),da(this.classes),this.renderHeader(),da({closed:!this.opened}),this.renderLanguages(),this.renderVersions(),this.renderDownloads(),this.renderReadTheDocs(),this.renderVCS(),this.renderSearch(),this.renderFooter()))}},{key:"connectedCallback",value:function(){Us(t,"connectedCallback",this,3)([]),document.addEventListener(Re,this._showFlyout),document.addEventListener(Ue,this._hideFlyout),window.addEventListener("click",this._onOutsideClick)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(Re,this.showFlyout),document.removeEventListener(Ue,this.hideFlyout),window.removeEventListener("click",this._onOutsideClick),Us(t,"disconnectedCallback",this,3)([])}}])}(le);Ws(Gs,"elementName","readthedocs-flyout"),Ws(Gs,"properties",{config:{state:!0},opened:{type:Boolean},floating:{type:Boolean},position:{type:String}}),Ws(Gs,"styles",Ts.A);var Hs=function(e){function t(){return zs(this,t),Ps(this,t,arguments)}return Qs(t,e),$s(t,null,[{key:"requiresUrlParam",value:function(){return ht.isSinglePageApplication()}}])}(at);Ws(Hs,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.flyout.json"),Ws(Hs,"addonEnabledPath","addons.flyout.enabled"),Ws(Hs,"addonName","Flyout"),Ws(Hs,"elementClass",Gs),customElements.define(Gs.elementName,Gs);var Zs=n(4333);function Ks(e){return Ks="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},Ks(e)}function Xs(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Js(e,t);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)?Js(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Js(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ec(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,sc(r.key),r)}}function tc(e,t,n){return t=oc(t),function(e,t){if(t&&("object"==Ks(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,nc()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function nc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nc=function(){return!!e})()}function rc(){return rc="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=oc(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},rc.apply(null,arguments)}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oc(e)}
37function ic(e,t){return ic=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ic(e,t)}function ac(e,t,n){return(t=sc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){var t=function(e,t){if("object"!=Ks(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ks(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ks(t)?t:t+""}var cc=["#ethical-ad-placement","[data-ea-publisher]"],lc="ethicaladsjs",uc=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),tc(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ic(e,t)}(t,e),function(e,t,n){return t&&ec(e.prototype,t),n&&ec(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"loadConfig",value:function(e){this.config=e,null===document.querySelector("#".concat(lc))&&this.injectEthicalAds()}},{key:"createAdPlacement",value:function(){var e,t,n=ht.getDocumentationTool()||"nodoctool";document.adoptedStyleSheets.push(Zs.A);for(var r=0,o=cc;r<o.length;r++){var i=o[r];if(e=document.querySelector(i))break}if(e){["image","text","logo-large-v1"].includes(e.getAttribute("data-ea-type"))||e.setAttribute("data-ea-type","readthedocs-sidebar")}else{var a,s;(e=document.createElement("div")).classList.add("raised");var c=!1;if(ht.isSphinxPiccoloTheme()?(a=".sphinxsidebarwrapper",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.setAttribute("data-ea-type","readthedocs-sidebar"),e.classList.add("ethical-rtd"),c=!0):(t=["div.footer"],this.setFixedFooterAdProperties(e),c=!0)):ht.isSphinxReadTheDocsLikeTheme()?(a="nav.wy-nav-side > div.wy-side-scroll",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.setAttribute("data-ea-type","readthedocs-sidebar"),e.classList.add("ethical-rtd"),e.classList.add("ethical-dark-theme"),c=!0):(t=["section","nav"],this.setFixedFooterAdProperties(e),c=!0)):ht.isSphinxFuroLikeTheme()?(a=".sidebar-tree",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.setAttribute("data-ea-type","image"),c=!0):(t=["div.main","aside.sidebar-drawer"],this.setFixedFooterAdProperties(e),c=!0)):ht.isSphinxBookThemeLikeTheme()?(a=".sidebar-primary-items__start.sidebar-primary__section",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-light-theme"),e.setAttribute("data-ea-type","readthedocs-sidebar"),c=!0):(t=["div.bd-container__inner"],this.setFixedFooterAdProperties(e),c=!0)):ht.isSphinxAlabasterLikeTheme()?(a="div.sphinxsidebar > div.sphinxsidebarwrapper",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),c=!0):(t=["div.footer"],this.setFixedFooterAdProperties(e),c=!0)):ht.isMaterialMkDocsTheme()?(a=".md-sidebar--primary:not([hidden]) > .md-sidebar__scrollwrap, .md-sidebar--post > .md-sidebar__scrollwrap",s=document.querySelector(a),this.elementAboveTheFold(s)&&(e.classList.add("ethical-light-theme"),e.setAttribute("data-ea-type","readthedocs-sidebar"),c=!0)):ht.isDocusaurusTheme()?(a=".menu.thin-scrollbar.menu_SIkG",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-light-theme"),e.classList.add("ethical-docusaurus"),e.setAttribute("data-ea-type","image"),c=!0):(t=["footer.footer"],this.setFixedFooterAdProperties(e),c=!0)):ht.isDocsify()?(a="main > aside > div.sidebar-nav",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-light-theme"),e.classList.add("ethical-docsify"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),c=!0):(t=["section.content","aside.sidebar","button.sidebar-toggle"],this.setFixedFooterAdProperties(e),c=!0)):ht.isAntora()?(a="aside nav.nav-menu",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-light-theme"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","
37image"),c=!0):(t=["footer.footer"],this.setFixedFooterAdProperties(e),c=!0)):ht.isMdBook()?(a="nav#sidebar mdbook-sidebar-scrollbox",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-light-theme"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),c=!0):(t=["div#body-container"],this.setFixedFooterAdProperties(e),c=!0)):ht.isVitePress()?(a="aside",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-light-theme"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),c=!0):(t=["div#VPContent"],this.setFixedFooterAdProperties(e),c=!0)):ht.isZensical()&&(a="div.md-sidebar__scrollwrap",s=document.querySelector(a),this.elementAboveTheFold(s)?(e.classList.add("ethical-light-theme"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),c=!0):(t=["div.md-footer-meta"],this.setFixedFooterAdProperties(e),c=!0)),"fixedfooter"===(e.getAttribute("data-ea-style")||"nostyle")&&(a="body"),a&&c){var l=document.querySelector(a);l&&l.append(e)}else{e.setAttribute("data-ea-type","text");var u=ht.getRootSelector(),d=document.querySelector(u);d?d.append(e):console.debug("Could not find root element to append ad")}}var f=this.config.addons.ethicalads,h=pe().get(f,"keywords",[]),p=pe().get(f,"campaign_types",[]);if(null!==e){e.classList.add("adaptive-css"),e.setAttribute("data-ea-manual","true"),e.setAttribute("data-ea-publisher",f.publisher),h.length&&e.setAttribute("data-ea-keywords",h.join("|")),p.length&&e.setAttribute("data-ea-campaign-types",p.join("|"));var m=e.getAttribute("data-ea-style")||"nostyle",g=e.getAttribute("data-ea-type")||"notype",y="".concat(g,"-").concat(m);if(e.getAttribute("id")||e.setAttribute("id","readthedocs-ea-".concat(y,"-").concat(n)),"fixedfooter"==m){var A=new MutationObserver(function(e,n){var r,o=Xs(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if("attributes"===i.type){var a=window.getComputedStyle(i.target).height;console.debug("fixedFooterAdHeight",a);var s,c=Xs(t);try{for(c.s();!(s=c.n()).done;){var l=s.value;document.querySelector(l).style.setProperty("padding-bottom",a)}}catch(e){c.e(e)}finally{c.f()}}}}catch(e){o.e(e)}finally{o.f()}});A.observe(e,{attributes:!0,childList:!1,subtree:!1})}}return e}},{key:"elementAboveTheFold",value:function(e){if(!e)return!1;var t=document.createElement("div");e.append(t);var n=t.offsetTop;return t.remove(),!(!n||n-window.scrollY+300>window.innerHeight)}},{key:"setFixedFooterAdProperties",value:function(e){e.setAttribute("data-ea-type","text"),e.setAttribute("data-ea-style","fixedfooter")}},{key:"addEaPlacementToElement",value:function(e){pe().get(this.config,"addons.flyout.enabled",!1)&&e.setAttribute("data-ea-placement-bottom","90px")}},{key:"loadEthicalAdLibrary",value:function(){var e,t=document.createElement("script");t.setAttribute("id",lc),t.setAttribute("type","text/javascript"),t.setAttribute("async",!0),e="docs.readthedocs.com"===window.location.hostname||window.location.hostname.endsWith(".devthedocs.org")||ht.isSphinxFuroLikeTheme()?"https://media.ethicalads.io/media/client/beta/ethicalads.min.js":"https://media.ethicalads.io/media/client/ethicalads.min.js",t.setAttribute("src",e),document.head.appendChild(t),document.getElementById(lc).addEventListener("load",function(){"undefined"!=typeof ethicalads&&ethicalads.load()})}},{key:"addWidthListener",value:function(){var e=document.querySelector("#readthedocs-ea");e&&"stickybox"===e.dataset.eaStyle&&window.addEventListener("resize",function(){window.innerWidth<=1300?e.style.display="none":e.style.display=""})}},{key:"injectEthicalAds",value:function(){this.createAdPlacement(),this.addWidthListener(),this.loadEthicalAdLibrary()}}],[{key:"isEnabled",value:function(e,n){return!1===pe().get(e,"addons.ethicalads.ad_free",!1)&&function(e,t,n,r){var o=rc(oc(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}(t,"isEnabled",this,2)([e,n])}}])}(at);ac(uc,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.ethicalads.json"),ac(uc,"addonEnabledPath","addons.ethicalads.enabled"),ac(uc,"addonName","EthicalAds");const dc={alt:"Alt",cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",joinWith:" + ",hideKey:"never"};let fc=dc;function hc(e){return{character:-1!==[16,17,18,91,93,224].indexOf(e.keyCode)?null:e.code.replace({alphanumeric:/^Key([A-Z01-9])$/,alpha:/^Key([A-Z])$/,always:/^Key(.*)$/,never:
37/^(.*)$/}[fc.hideKey],"$1"),modifiers:{cmd:e.metaKey,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey}}}const pc=e=>function(e){const t=hc(e),n=Object.entries(t.modifiers).reduce((e,[t,n])=>(n&&e.push(fc[t]),e),[]);return t.character&&n.push(t.character),n}(e).join(fc.joinWith);function mc(e){return mc="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},mc(e)}function gc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xc(r.key),r)}}function Ac(e,t,n){return t&&yc(e.prototype,t),n&&yc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function vc(e,t,n){return t=Ec(t),function(e,t){if(t&&("object"==mc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bc()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function bc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bc=function(){return!!e})()}function wc(e,t,n,r){var o=Cc(Ec(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Cc(){return Cc="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Ec(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Cc.apply(null,arguments)}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ec(e)}function Mc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lc(e,t)}function Lc(e,t){return Lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lc(e,t)}function jc(e,t,n){return(t=xc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){var t=function(e,t){if("object"!=mc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mc(t)?t:t+""}var Sc=function(e){function t(){var e;return gc(this,t),jc(e=vc(this,t),"_handleKeydown",function(t){var n;e.docDiffHotKeyEnabled&&pc(t)===e.config.addons.hotkeys.doc_diff.trigger&&!e.isInput(document.activeElement)&&(n=e.docDiffEnabled?new CustomEvent(Pe):new CustomEvent($e)),e.searchHotKeyEnabled&&pc(t)===e.config.addons.hotkeys.search.trigger&&!e.isInput(document.activeElement)&&(n=new CustomEvent(ze)),void 0!==n&&(document.dispatchEvent(n),t.preventDefault())}),jc(e,"_handleDocDiffShow",function(t){e.docDiffEnabled=!0}),jc(e,"_handleDocDiffHide",function(t){e.docDiffEnabled=!1}),e.config=null,e}return Mc(t,e),Ac(t,[{key:"loadConfig",value:function(e){Nc.isEnabled(e)&&(this.config=e,this.docDiffHotKeyEnabled=this.config.addons.hotkeys.doc_diff.enabled,this.docDiffEnabled=!1,this.searchHotKeyEnabled=this.config.addons.hotkeys.search.enabled)}},{key:"isInput",value:function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"READTHEDOCS-SEARCH"===e.tagName||"true"===e.contentEditable}},{key:"connectedCallback",value:function(){wc(t,"connectedCallback",this,3)([]),document.addEventListener("keydown",this._handleKeydown),document.addEventListener($e,this._handleDocDiffShow),document.addEventListener(Pe,this._handleDocDiffHide)}},{key:"disconnectedCallback",value:function(){document.removeEventListener("keydown",this._handleKeydown),document.removeEventListener($e,this._handleDocDiffShow),document.removeEventListener(Pe,this._handleDocDiffHide),wc(t,"disconnectedCallback",this,3)([])}}])}(le);jc(Sc,"elementName","readthedocs-hotkeys"),jc(Sc,"properties",{config:{state:!0},enabled:{type:Boolean}});var Nc=function(e){function t(){return gc(this,t),vc(this,t,arguments)}return Mc(t,e),Ac(t)}(at);jc(Nc,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.hotkeys.json"),jc(Nc,"addonEnabledPath","addons.hotkeys.enabled"),jc(Nc,"addonName","HotKeys"),jc(Nc,"elementClass",Sc),customElements.define(Sc.elementName,Sc);var kc=n(6938);const Tc=["start","end"],Dc=["top","right","bottom","left"].reduce((e,t)=>
vendor: 4,584 bytes, line 37
37e.concat(t,t+"-"+Tc[0],t+"-"+Tc[1]),[]),Ic=Math.min,_c=Math.max,Oc=Math.round,zc=(Math.floor,e=>({x:e,y:e})),Bc={left:"right",right:"left",bottom:"top",top:"bottom"};function $c(e,t,n){return _c(e,Ic(t,n))}function Pc(e,t){return"function"==typeof e?e(t):e}function Rc(e){return e.split("-")[0]}function Uc(e){return e.split("-")[1]}function Yc(e){return"x"===e?"y":"x"}function Fc(e){return"y"===e?"height":"width"}function Qc(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function qc(e){return Yc(Qc(e))}function Wc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Vc(e){const t=Rc(e);return Bc[t]+e.slice(t.length)}function Gc(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Hc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Zc(e,t,n){let{reference:r,floating:o}=e;const i=Qc(t),a=qc(t),s=Fc(a),c=Rc(t),l="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let h;switch(c){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Uc(t)){case"start":h[a]-=f*(n&&l?-1:1);break;case"end":h[a]+=f*(n&&l?-1:1)}return h}async function Kc(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=Pc(t,e),p=Gc(h),m=s[f?"floating"===d?"reference":"floating":d],g=Hc(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),y="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,A=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(A))&&await(null==i.getScale?void 0:i.getScale(A))||{x:1,y:1},b=Hc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:A,strategy:c}):y);return{top:(g.top-b.top+p.top)/v.y,bottom:(b.bottom-g.bottom+p.bottom)/v.y,left:(g.left-b.left+p.left)/v.x,right:(b.right-g.right+p.right)/v.x}}const Xc=new Set(["left","top"]);function Jc(){return"undefined"!=typeof window}function el(e){return rl(e)?(e.nodeName||"").toLowerCase():"#document"}function tl(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function nl(e){var t;return null==(t=(rl(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function rl(e){return!!Jc()&&(e instanceof Node||e instanceof tl(e).Node)}function ol(e){return!!Jc()&&(e instanceof Element||e instanceof tl(e).Element)}function il(e){return!!Jc()&&(e instanceof HTMLElement||e instanceof tl(e).HTMLElement)}function al(e){return!(!Jc()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof tl(e).ShadowRoot)}function sl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=yl(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function cl(e){return/^(table|td|th)$/.test(el(e))}function ll(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const ul=/transform|translate|scale|rotate|perspective|filter/,dl=/paint|layout|strict|content/,fl=e=>!!e&&"none"!==e;let hl;function pl(e){const t=ol(e)?yl(e):e;return fl(t.transform)||fl(t.translate)||fl(t.scale)||fl(t.rotate)||fl(t.perspective)||!ml()&&(fl(t.backdropFilter)||fl(t.filter))||ul.test(t.willChange||"")||dl.test(t.contain||"")}function ml(){return null==hl&&(hl="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),hl}function gl(e){return/^(html|body|#document)$/.test(el(e))}function yl(e){return tl(e).getComputedStyle(e)}function Al(e){return ol(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function vl(e){if("html"===el(e))return e;const t=e.assignedSlot||e.parentNode||al(e)&&e.host||nl(e);return al(t)?t.host:t}function bl(e){const t=vl(e);return gl(t)?e.ownerDocument?e.ownerDocument.body:e.body:il(t)&&sl(t)?t:bl(t)}function wl(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=bl(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=tl(o);if(i){const e=Cl(a);
vendor: 4,092 bytes, line 37
37return t.concat(a,a.visualViewport||[],sl(o)?o:[],e&&n?wl(e):[])}return t.concat(o,wl(o,[],n))}function Cl(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function El(e){const t=yl(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=il(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Oc(n)!==i||Oc(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Ml(e){return ol(e)?e:e.contextElement}function Ll(e){const t=Ml(e);if(!il(t))return zc(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=El(t);let a=(i?Oc(n.width):n.width)/r,s=(i?Oc(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const jl=zc(0);function xl(e){const t=tl(e);return ml()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:jl}function Sl(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ml(e);let a=zc(1);t&&(r?ol(r)&&(a=Ll(r)):a=Ll(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==tl(e))&&t}(i,n,r)?xl(i):zc(0);let c=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=tl(i),t=r&&ol(r)?tl(r):r;let n=e,o=Cl(n);for(;o&&r&&t!==n;){const e=Ll(o),t=o.getBoundingClientRect(),r=yl(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=i,l+=a,n=tl(o),o=Cl(n)}}return Hc({width:u,height:d,x:c,y:l})}function Nl(e,t){const n=Al(e).scrollLeft;return t?t.left+n:Sl(nl(e)).left+n}function kl(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Nl(e,n),y:n.top+t.scrollTop}}function Tl(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=tl(e),r=nl(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const e=ml();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}const l=Nl(r);if(l<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else l<=25&&(i+=l);return{width:i,height:a,x:s,y:c}}(e,n);else if("document"===t)r=function(e){const t=nl(e),n=Al(e),r=e.ownerDocument.body,o=_c(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=_c(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Nl(e);const s=-n.scrollTop;return"rtl"===yl(r).direction&&(a+=_c(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(nl(e));else if(ol(t))r=function(e,t){const n=Sl(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=il(e)?Ll(e):zc(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=xl(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Hc(r)}function Dl(e,t){const n=vl(e);return!(n===t||!ol(n)||gl(n))&&("fixed"===yl(n).position||Dl(n,t))}function Il(e,t,n){const r=il(t),o=nl(t),i="fixed"===n,a=Sl(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=zc(0);function l(){c.x=Nl(o)}if(r||!r&&!i)if(("body"!==el(t)||sl(o))&&(s=Al(t)),r){const e=Sl(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&l();i&&!r&&o&&l();const u=!o||r||i?zc(0):kl(o,s);return{x:a.left+s.scrollLeft-c.x-u.x,y:a.top+s.scrollTop-c.y-u.y,width:a.width,height:a.height}}function _l(e){return"static"===yl(e).position}function Ol(e,t){if(!il(e)||"fixed"===yl(e).position)return null;if(t)return t(e);let n=e.offsetParent;return nl(e)===n&&(n=n.ownerDocument.body),n}function zl(e,t){const n=tl(e);if(ll(e))return n;if(!il(e)){let t=vl(e);for(;t&&!gl(t);){if(ol(t)&&!_l(t))return t;t=vl(t)}return n}let r=Ol(e,t);for(;r&&cl(r)&&_l(r);)r=Ol(r,t);return r&&gl(r)&&_l(r)&&!pl(r)?n:r||function(e){let t=vl(e);for(;il(t)&&!gl(t);){if(pl(t))return t;if(ll(t))return null;t=vl(t)}return null}(e)||n}const Bl={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=nl(r),s=!!t&&ll(t.floating);if(r===a||s&&i)return n;let c={scrollLeft:0,scrollTop:0},l=zc(1);const u=zc(0),d=il(r);
vendor: 4,975 bytes, line 37
37if((d||!d&&!i)&&(("body"!==el(r)||sl(a))&&(c=Al(r)),d)){const e=Sl(r);l=Ll(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||i?zc(0):kl(a,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}},getDocumentElement:nl,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ll(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=wl(e,[],!1).filter(e=>ol(e)&&"body"!==el(e)),o=null;const i="fixed"===yl(e).position;let a=i?vl(e):e;for(;ol(a)&&!gl(a);){const t=yl(a),n=pl(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||sl(a)&&!n&&Dl(e,a))?r=r.filter(e=>e!==a):o=t,a=vl(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=Tl(t,i[0],o);let s=a.top,c=a.right,l=a.bottom,u=a.left;for(let e=1;e<i.length;e++){const n=Tl(t,i[e],o);s=_c(n.top,s),c=Ic(n.right,c),l=Ic(n.bottom,l),u=_c(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}},getOffsetParent:zl,getElementRects:async function(e){const t=this.getOffsetParent||zl,n=this.getDimensions,r=await n(e.floating);return{reference:Il(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=El(e);return{width:t,height:n}},getScale:Ll,isElement:ol,isRTL:function(e){return"rtl"===yl(e).direction}};const $l=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Rc(n),s=Uc(n),c="y"===Qc(n),l=Xc.has(a)?-1:1,u=i&&c?-1:1,d=Pc(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),c?{x:h*u,y:f*l}:{x:f*l,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},Pl=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:f=Dc,autoAlignment:h=!0,...p}=Pc(e,t),m=void 0!==d||f===Dc?function(e,t,n){return(e?[...n.filter(t=>Uc(t)===e),...n.filter(t=>Uc(t)!==e)]:n.filter(e=>Rc(e)===e)).filter(n=>!e||Uc(n)===e||!!t&&Wc(n)!==n)}(d||null,h,f):f,g=await c.detectOverflow(t,p),y=(null==(n=a.autoPlacement)?void 0:n.index)||0,A=m[y];if(null==A)return{};const v=function(e,t,n){void 0===n&&(n=!1);const r=Uc(e),o=qc(e),i=Fc(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Vc(a)),[a,Vc(a)]}(A,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==A)return{reset:{placement:m[0]}};const b=[g[Rc(A)],g[v[0]],g[v[1]]],w=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:b}],C=m[y+1];if(C)return{data:{index:y+1,overflows:w},reset:{placement:C}};const E=w.map(e=>{const t=Uc(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),M=E.filter(e=>e[2].slice(0,Uc(e[0])?2:3).every(e=>e<=0)),L=(null==(o=M[0])?void 0:o[0])||E[0][0];return L!==s?{data:{index:y+1,overflows:w},reset:{placement:L}}:{}}}},Rl=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Pc(e,t),u={x:n,y:r},d=await i.detectOverflow(t,l),f=Qc(Rc(o)),h=Yc(f);let p=u[h],m=u[f];if(a){const e="y"===h?"bottom":"right";p=$c(p+d["y"===h?"top":"left"],p,p-d[e])}if(s){const e="y"===f?"bottom":"right";m=$c(m+d["y"===f?"top":"left"],m,m-d[e])}const g=c.fn({...t,[h]:p,[f]:m});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:a,[f]:s}}}}}},Ul=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Pc(e,t)||{};if(null==l)return{};const d=Gc(u),f={x:n,y:r},h=qc(o),p=Fc(h),m=await a.getDimensions(l),g="y"===h,y=g?"top":"left",A=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=i.reference[p]+i.reference[h]-f[h]-i.floating[p],w=f[h]-i.reference[h],C=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l));let E=C?C[v]:0;E&&await(null==a.isElement?void 0:a.isElement(C))||(E=s.floating[v]||i.floating[p]);const M=b/2-w/2,L=E/2-m[p]/2-1,j=Ic(d[y],L),x=Ic(d[A],L),S=j,N=E-m[p]-x,k=E/2-m[p]/2+M,T=$c(S,k,N),D=!c.arrow&&null!=Uc(o)&&k!==T&&i.reference[p]/2-(k<S?j:x)-m[p]/2<0,I=D?k<S?k-S:k-N:0;return{[h]:f[h]+I,data:{[h]:T,centerOffset:k-T-I,...D&&{alignmentOffset:I}},reset:D}}}
37),Yl=(e,t,n)=>{const r=new Map,o={platform:Bl,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:Kc},c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Zc(l,r,c),f=r,h=0;const p={};for(let n=0;n<i.length;n++){const m=i[n];if(!m)continue;const{name:g,fn:y}=m,{x:A,y:v,data:b,reset:w}=await y({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:l,platform:s,elements:{reference:e,floating:t}});u=null!=A?A:u,d=null!=v?v:d,p[g]={...p[g],...b},w&&h<50&&(h++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(l=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),({x:u,y:d}=Zc(l,f,c))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};function Fl(e){return Fl="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},Fl(e)}function Ql(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ql(e,t);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)?ql(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ql(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Wl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ru(r.key),r)}}function Gl(e,t,n){return t&&Vl(e.prototype,t),n&&Vl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hl(e,t,n){return t=Jl(t),function(e,t){if(t&&("object"==Fl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zl()?Reflect.construct(t,n||[],Jl(e).constructor):t.apply(e,n))}function Zl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zl=function(){return!!e})()}function Kl(e,t,n,r){var o=Xl(Jl(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Xl(){return Xl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Jl(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Xl.apply(null,arguments)}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jl(e)}function eu(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tu(e,t)}function tu(e,t){return tu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tu(e,t)}function nu(e,t,n){return(t=ru(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){var t=function(e,t){if("object"!=Fl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Fl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Fl(t)?t:t+""}var ou="data-linkpreview-href",iu={};function au(e,t,n,r){var o,i=e;e.addEventListener("mouseenter",function(){null===a&&(a=setTimeout(function(){!function(){document.querySelectorAll("div[".concat(ou,"]")).forEac
37h(function(e){return e.style.display="none"});var e=d();if(void 0!==e){var o,a=function(e){var o={url:e};null!==t&&(o.doctool=t);null!==n&&(o.doctoolversion=n);null!==r&&(o.maincontent=r);return Se+"?"+new URLSearchParams(o).toString()}(i.href);Object.keys(iu).includes(a)?(console.debug("URL was found cached, reusing it."),o=Promise.resolve(iu[a])):(console.debug("URL not found cached, performing a fetch."),o=pt(a,{method:"GET",headers:{"X-RTD-Hosting-Integrations-Version":ot}}).then(function(e){if(!e.ok)throw new Error("Error hitting Read the Docs embed API");return e.json()})),o.then(function(t){iu[a]=t;var n=t.content;e.firstChild.innerHTML=n,e.style.display="flex";var r=e.querySelector(".arrow");Yl(i,e,{placement:"right",middleware:[$l(10),Pl(),Rl({padding:10}),Ul({element:r})]}).then(function(t){var n=t.x,o=t.y,i=t.middlewareData,a=t.placement;Object.assign(e.style,{left:"".concat(n,"px"),top:"".concat(o,"px")});var s=i.arrow,c=s.x,l=s.y,u={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];Object.assign(r.style,nu({left:null!=c?"".concat(c,"px"):"",top:null!=l?"".concat(l,"px"):"",right:"",bottom:""},u,"-4px"))}),e.classList.remove("hide")}).catch(function(e){console.error(e)})}}()},300));c()}),e.addEventListener("mouseleave",u);var a=null,s=null;function c(){null!==s&&(clearTimeout(s),s=null)}function l(){null!==a&&(clearTimeout(a),a=null)}function u(){l();d();null===s&&(s=setTimeout(function(){!function(){var e=d();l(),e.style.display=""}()},300))}function d(){if(o)return o;var e=i.parentElement.querySelector("div[".concat(ou,'="').concat(i.href,'"]'));if(e)return o=e,e;var t=document.createElement("div");return t.insertAdjacentHTML("afterbegin",'<div class="arrow"></div>'),t.insertAdjacentHTML("afterbegin",'<div class="tooltip-content">Loading...</div>'),t.setAttribute(ou,i.href),t.classList.add("tooltip"),document.body.insertAdjacentElement("beforeend",t),t.addEventListener("mouseenter",c),t.addEventListener("mouseleave",u),o=t,t}}var su=function(e){function t(){var e;return Wl(this,t),nu(e=Hl(this,t),"_handleRootDOMChanged",function(t){e.config&&e.setupTooltips()}),document.adoptedStyleSheets.push(kc.A),e.config=null,e}return eu(t,e),Gl(t,[{key:"setupTooltips",value:function(){var e=ht.getDocumentationTool(),t=this.config.addons.options.root_selector||ht.getRootSelector(),n=this.config.addons.linkpreviews.selector||ht.getLinkSelector();console.debug("".concat(cu.addonName,": Using '").concat(n,"' as CSS selector."));var r,o=Ql(document.querySelectorAll(n));try{for(o.s();!(r=o.n()).done;){var i=r.value;try{var a=new URL(i.href),s=a.hostname,c=window.location.pathname.replace("/index.html","")==a.pathname.replace("/index.html","");s!==window.location.hostname||c||(i.classList.add("link-preview"),au(i,e,null,t))}catch(e){console.debug("Skipping link preview on element due to invalid URL: ".concat(i))}}}catch(e){o.e(e)}finally{o.f()}}},{key:"render",value:function(){return V}},{key:"loadConfig",value:function(e){cu.isEnabled(e)&&(this.config=e,this.setupTooltips())}},{key:"connectedCallback",value:function(){Kl(t,"connectedCallback",this,3)([]),document.addEventListener(qe,this._handleRootDOMChanged)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(qe,this._handleRootDOMChanged),Kl(t,"disconnectedCallback",this,3)([])}}])}(le);nu(su,"elementName","readthedocs-linkpreviews"),nu(su,"properties",{config:{state:!0}});var cu=function(e){function t(){return Wl(this,t),Hl(this,t,arguments)}return eu(t,e),Gl(t)}(at);nu(cu,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.linkpreviews.json"),nu(cu,"addonEnabledPath","addons.linkpreviews.enabled"),nu(cu,"addonName","LinkPreviews"),nu(cu,"elementClass",su),customElements.define(su.elementName,su);var lu,uu,du,fu,hu,pu=n(9358);function mu(e){return mu="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},mu(e)}function gu(e){return function(e){if(Array.isArray(e))return vu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Au(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yu(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
37if(!n){if(Array.isArray(e)||(n=Au(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Au(e,t){if(e){if("string"==typeof e)return vu(e,t);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)?vu(e,t):void 0}}function vu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function wu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Du(r.key),r)}}function Eu(e,t,n){return t&&Cu(e.prototype,t),n&&Cu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Mu(e,t,n){return t=Su(t),function(e,t){if(t&&("object"==mu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Lu()?Reflect.construct(t,n||[],Su(e).constructor):t.apply(e,n))}function Lu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lu=function(){return!!e})()}function ju(e,t,n,r){var o=xu(Su(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function xu(){return xu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Su(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},xu.apply(null,arguments)}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Su(e)}function Nu(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ku(e,t)}function ku(e,t){return ku=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ku(e,t)}function Tu(e,t,n){return(t=Du(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e){var t=function(e,t){if("object"!=mu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mu(t)?t:t+""}var Iu=function(e){function t(){var e;return wu(this,t),Tu(e=Mu(this,t),"_handleDocDiffShow",function(t){e.docDiffEnabled=!0}),Tu(e,"_handleDocDiffHide",function(t){e.docDiffEnabled=!1}),Tu(e,"_handleRootDOMChanged",function(t){e.chunks=e.getChunks(),e.chunkIndex=Math.min(e.chunks.length,Math.max(0,parseInt(ct(cs)))),e.chunkIndex||(e.chunkIndex=1),e.chunks.length&&e.scrollToChunk(e.chunks[e.chunkIndex-1])}),e.config=null,e.docDiffEnabled=!1,e.chunkIndex=1,e.chunks=[],mi.add(ki),mi.add(Li),e.iconArrowUp=gi(Li,{classes:["icon"]}),e.iconArrowDown=gi(ki,{classes:["icon"]}),e.iconCircleInfo=gi(Ti,{classes:["icon"]}),e}return Nu(t,e),Eu(t,[{key:"loadConfig",value:function(e){_u.isEnabled(e)&&(this.config=e)}},{key:"handleFileChange",value:function(e){var t=e.target.value;if(t){var n=new URL(t);this.docDiffEnabled&&n.searchParams.set(ss,"true"),window.location.href=n.toString()}}},{key:"handleToggleDiff",value:function(e){e.target.checked?document.dispatchEvent(new CustomEvent($e)):document.dispatchEvent(new CustomEvent(Pe))}},{key:"getCurrentPageUrl",value:function(){var e=window.location.pathname,t=window.location.origin;return"".concat(t).concat(e)}},{key:"renderArrows",value:function(){return this.docDiffEnabled?q(lu||(lu=bu(['\n      <sp
37an class="chunks"\n        >'," of\n        ","</span\n      >\n      <span @click=","> "," </span>\n      <span @click=","> "," </span>\n    "])),this.chunks.length?this.chunkIndex:0,this.chunks.length||0,this.previousChunk,this.iconArrowUp.node[0],this.nextChunk,this.iconArrowDown.node[0]):V}},{key:"renderDocDiff",value:function(){return pe().get(this.config,"addons.doc_diff.enabled",!1)?q(uu||(uu=bu(['\n        <label>\n          <input\n            type="checkbox"\n            .checked=',"\n            @change=","\n          />\n          Show diff\n        </label>\n        ","\n      "])),this.docDiffEnabled,this.handleToggleDiff,this.renderArrows()):V}},{key:"previousChunk",value:function(){if(this.chunks.length){1===this.chunkIndex?this.chunkIndex=1:1!=this.chunkIndex&&(this.chunkIndex-=1);var e=this.chunks[this.chunkIndex-1];this.scrollToChunk(e)}}},{key:"nextChunk",value:function(){if(this.chunks.length){this.chunkIndex!=this.chunks.length&&(this.chunkIndex+=1);var e=this.chunks[this.chunkIndex-1];this.scrollToChunk(e)}}},{key:"scrollToChunk",value:function(e){var t,n=yu(document.querySelectorAll(".doc-diff-chunk-selected"));try{for(n.s();!(t=n.n()).done;){t.value.classList.remove("doc-diff-chunk-selected")}}catch(e){n.e(e)}finally{n.f()}e.classList.add("doc-diff-chunk-selected");var r=new URL(window.location.href);r.searchParams.set(cs,this.chunkIndex),window.history.replaceState({},"",r),globalThis.scrollTo({top:window.scrollY+e.getBoundingClientRect().top-.25*window.innerHeight,behavior:"smooth"})}},{key:"render",value:function(){var e=pe().get(this.config,"addons.filetreediff.diff");if(!e)return V;var t=this.getCurrentPageUrl(),n=function(e,n){if(!e.length)return V;var r="Added"===n?"+ ":"± ";return q(du||(du=bu(['\n        <optgroup label="','">\n          ',"\n        </optgroup>\n      "])),n,e.map(function(e){return q(fu||(fu=bu(["\n              <option\n                value=","\n                ?selected=","\n              >\n                ","","\n              </option>\n            "])),e.urls.current,e.urls.current===t,r,e.filename)}))},r=[].concat(gu(e.added),gu(e.modified)).some(function(e){return e.urls.current===t});return q(hu||(hu=bu(["\n      <div>\n        <div>\n          ","\n          <select @change=",'>\n            <option value="" ?selected='," disabled>\n              Files changed\n            </option>\n            ","\n            ",'\n          </select>\n          <a\n            href="','"\n            title="Go to pull request"\n            target="_blank"\n            class="version"\n            >#','</a\n          >\n          <a\n            href="https://docs.readthedocs.com/platform/stable/visual-diff.html"\n            title="Open documentation"\n            target="_blank"\n            >',"</a\n          >\n        </div>\n      </div>\n    "])),this.renderDocDiff(),this.handleFileChange,!r,n(e.added,"Added"),n(e.modified,"Changed"),this.config.versions.current.urls.vcs,this.config.versions.current.slug,this.iconCircleInfo.node[0])}},{key:"getChunks",value:function(){var e,t=document.querySelectorAll(".doc-diff-added, .doc-diff-removed"),n=["section","h1","h2","h3","h4","h5","h6","p","dl","ul","ol","table","pre"],r=new Set,o=yu(t);try{for(o.s();!(e=o.n()).done;)for(var i=e.value.parentElement,a=0;a<10&&i;a++){if(n.includes(i.tagName.toLowerCase())){r.add(i);break}i=i.parentElement}}catch(e){o.e(e)}finally{o.f()}return Array.from(r)}},{key:"connectedCallback",value:function(){ju(t,"connectedCallback",this,3)([]),document.addEventListener($e,this._handleDocDiffShow),document.addEventListener(Pe,this._handleDocDiffHide),document.addEventListener(qe,this._handleRootDOMChanged)}},{key:"disconnectedCallback",value:function(){document.removeEventListener($e,this._handleDocDiffShow),document.removeEventListener(Pe,this._handleDocDiffHide),document.removeEventListener(qe,this._handleRootDOMChanged),ju(t,"disconnectedCallback",this,3)([])}}])}(le);Tu(Iu,"elementName","readthedocs-filetreediff"),Tu(Iu,"properties",{config:{state:!0},docDiffEnabled:{state:!0},chunks:{state:!0},chunkIndex:{state:!0}}),Tu(Iu,"styles",pu.A);var _u=function(e){function t(){return wu(this,t),Mu(this,t,arguments)}return Nu(t,e),Eu(t,null,[{key:"isEnabled",value:function(e,n){return"external"===pe().get(e,"ver
37sions.current.type")&&ju(t,"isEnabled",this,2)([e,n])}}])}(at);function Ou(e){return Ou="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},Ou(e)}function zu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Yu(r.key),r)}}function Bu(e,t,n){return t=Pu(t),function(e,t){if(t&&("object"==Ou(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,$u()?Reflect.construct(t,n||[],Pu(e).constructor):t.apply(e,n))}function $u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($u=function(){return!!e})()}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pu(e)}function Ru(e,t){return Ru=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ru(e,t)}function Uu(e,t,n){return(t=Yu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){var t=function(e,t){if("object"!=Ou(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ou(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ou(t)?t:t+""}Tu(_u,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.filetreediff.json"),Tu(_u,"addonEnabledPath","addons.filetreediff.enabled"),Tu(_u,"addonName","File Tree Diff"),Tu(_u,"elementClass",Iu),customElements.define(Iu.elementName,Iu);var Fu="readthedocs-addons-custom-script",Qu=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Bu(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ru(e,t)}(t,e),function(e,t,n){return t&&zu(e.prototype,t),n&&zu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"loadConfig",value:function(e){this.config=e,pe().get(this.config,"addons.customscript.src")&&this.injectJavaScriptFile()}},{key:"injectJavaScriptFile",value:function(){if(null===document.querySelector("#".concat(Fu))){var e=document.createElement("script");e.id=Fu,e.src=pe().get(this.config,"addons.customscript.src"),e.async=!0,document.body.appendChild(e)}}}])}(at);Uu(Qu,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.customscript.json"),Uu(Qu,"addonEnabledPath","addons.customscript.enabled"),Uu(Qu,"addonName","CustomScript"),Uu(Qu,"enabledOnHttpStatus",[200,403,404,500]);var qu=n(3287);function Wu(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Vu(e,t);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)?Vu(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Vu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}for(var Gu=new CSSStyleSheet,Hu=0,Zu=[qu.A,Ts.A,pu.A,Di.A,oa.A];Hu<Zu.length;Hu++){var Ku=Zu[Hu];Ku instanceof i&&(Ku=Ku.styleSheet);var Xu,Ju=Wu(Ku.cssRules);try{for(Ju.s();!(Xu=Ju.n()).done;){var ed=Xu.value;ed instanceof CSSLayerBlockRule&&"defaults"==ed.name&&Gu.insertRule(ed.cssText)}}catch(e){Ju.e(e)}finally{Ju.f()}}function td(e){return td="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},td(e)}
37function nd(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rd(e,t);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)?rd(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function rd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function od(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,id(r.key),r)}}function id(e){var t=function(e,t){if("object"!=td(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=td(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==td(t)?t:t+""}var ad=function(){return function(e,t,n){return t&&od(e.prototype,t),n&&od(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),null!==(t=new URL(window.location.href).searchParams.get("logging"))&&"debug"===t.toLowerCase()||(console.debug=function(){}),function(){var e=Symbol.for("addons-history");if("undefined"!=typeof history&&void 0===window[e]){for(var t=function(){var e=r[n],t=history[e];history[e]=function(){var e=new URL(window.location.href),n=t.apply(this,arguments);if(3===arguments.length){var r=new URL(arguments[2],e.origin);if(r.searchParams.delete("readthedocs-diff"),r.searchParams.delete("readthedocs-diff-chunk"),e.searchParams.delete("readthedocs-diff"),e.searchParams.delete("readthedocs-diff-chunk"),r.href!==e.href){var o=new Event(Ye);o.arguments=arguments,dispatchEvent(o)}}return n}},n=0,r=["pushState","replaceState"];n<r.length;n++)t();Object.defineProperty(window,e,{value:!0})}}(),this.addonsInstances=[],this.config=null,console.debug("Addons Application config (from constructor() method)",this.config),this.addons=[Hs,Gi,ra,uc,Qa,Nc,_u,ds,cu,Qu],this.httpStatus=ut("readthedocs-http-status"),this.addDoctoolData(),gt(this.sendUrlParam())},[{key:"reload",value:function(e){var t=this;if(console.debug("Addons Application config (from reload() method)",e),e&&(this.config=e,!this.config||this.loadWhenEmbedded()))if(this.addonsInstances.length){var n,r=nd(this.addonsInstances);try{for(r.s();!(n=r.n()).done;){n.value.loadConfig(e)}}catch(e){r.e(e)}finally{r.f()}}else try{this.addonsInstances=this.addons.filter(function(e){return e.isEnabled(t.config,t.httpStatus)}).map(function(e){return new e(t.config)})}catch(e){console.error(e)}}},{key:"loadWhenEmbedded",value:function(){var e=pe().get(this.config,"addons.options.load_when_embedded",!1);return!(window.self!==window.parent&&!e)}},{key:"sendUrlParam",value:function(){var e,t=nd(this.addons);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(n.requiresUrlParam())return console.debug("".concat(n.addonName,' requires "url=" parameter.')),!0}}catch(e){t.e(e)}finally{t.f()}return!1}},{key:"addDoctoolData",value:function(){var e=document.querySelector("html");e&&(document.adoptedStyleSheets=[Gu],ht.documentationTool&&e.setAttribute("data-readthedocs-tool",ht.documentationTool),ht.documentationTheme&&e.setAttribute("data-readthedocs-tool-theme",ht.documentationTheme))}}])}(),sd=new ad;document.addEventListener(Qe,function(e){sd.reload(e.detail.data(!0))}),window.addEventListener(Ye,function(e){console.debug("URL Change detected. Triggering a new API call",e),gt(sd.sendUrlParam())})})()})();
38//# sourceMappingURL=readthedocs-addons.js.map?bfdf007d3545e4c99af7

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.