0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-13 13:29:25 +01:00
Bootstrap/docs/5.3/assets/js/search.js
2024-12-07 07:37:15 +02:00

24 lines
130 KiB
JavaScript

(()=>{function Un(){return Un=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Un.apply(null,arguments)}function A(t){return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(t)}var We,H,Oo,Gt,gr,wo,Fn,er,Bn,Vn,Eo,Ue={},jo=[],_i=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_n=Array.isArray;function Tt(t,e){for(var n in e)t[n]=e[n];return t}function Po(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Dt(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?We.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return Ee(t,a,r,o,null)}function Ee(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o==null?++Oo:o,__i:-1,__u:0};return o==null&&H.vnode!=null&&H.vnode(i),i}function Rt(t){return t.children}function Ct(t,e){this.props=t,this.context=e}function ce(t,e){if(e==null)return t.__?ce(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?ce(t):null}function Io(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Io(t)}}function Kn(t){(!t.__d&&(t.__d=!0)&&Gt.push(t)&&!yn.__r++||gr!==H.debounceRendering)&&((gr=H.debounceRendering)||wo)(yn)}function yn(){var t,e,n,r,o,i,a,c;for(Gt.sort(Fn);t=Gt.shift();)t.__d&&(e=Gt.length,r=void 0,i=(o=(n=t).__v).__e,a=[],c=[],n.__P&&((r=Tt({},o)).__v=o.__v+1,H.vnode&&H.vnode(r),nr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i==null?ce(o):i,!!(32&o.__u),c),r.__v=o.__v,r.__.__k[r.__i]=r,Co(a,r,c),r.__e!=i&&Io(r)),Gt.length>e&&Gt.sort(Fn));yn.__r=0}function ko(t,e,n,r,o,i,a,c,f,m,b){var l,d,s,S,g,y=r&&r.__k||jo,_=e.length;for(n.__d=f,function(v,p,h){var P,E,C,N,I,x=p.length,k=h.length,U=k,z=0;for(v.__k=[],P=0;P<x;P++)(E=p[P])!=null&&typeof E!="boolean"&&typeof E!="function"?(N=P+z,(E=v.__k[P]=typeof E=="string"||typeof E=="number"||typeof E=="bigint"||E.constructor==String?Ee(null,E,null,null,null):_n(E)?Ee(Rt,{children:E},null,null,null):E.constructor===void 0&&E.__b>0?Ee(E.type,E.props,E.key,E.ref?E.ref:null,E.__v):E).__=v,E.__b=v.__b+1,C=null,(I=E.__i=gi(E,h,N,U))!==-1&&(U--,(C=h[I])&&(C.__u|=131072)),C==null||C.__v===null?(I==-1&&z--,typeof E.type!="function"&&(E.__u|=65536)):I!==N&&(I==N-1?z--:I==N+1?z++:(I>N?z--:z++,E.__u|=65536))):E=v.__k[P]=null;if(U)for(P=0;P<k;P++)(C=h[P])!=null&&!(131072&C.__u)&&(C.__e==v.__d&&(v.__d=ce(C)),xo(C,C))}(n,e,y),f=n.__d,l=0;l<_;l++)(s=n.__k[l])!=null&&(d=s.__i===-1?Ue:y[s.__i]||Ue,s.__i=l,nr(t,s,d,o,i,a,c,f,m,b),S=s.__e,s.ref&&d.ref!=s.ref&&(d.ref&&rr(d.ref,null,s),b.push(s.ref,s.__c||S,s)),g==null&&S!=null&&(g=S),65536&s.__u||d.__k===s.__k?f=Do(s,f,t):typeof s.type=="function"&&s.__d!==void 0?f=s.__d:S&&(f=S.nextSibling),s.__d=void 0,s.__u&=-196609);n.__d=f,n.__e=g}function Do(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=Do(r[o],e,n));return e}t.__e!=e&&(e&&t.type&&!n.contains(e)&&(e=ce(t)),n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Lt(t,e){return e=e||[],t==null||typeof t=="boolean"||(_n(t)?t.some(function(n){Lt(n,e)}):e.push(t)),e}function gi(t,e,n,r){var o=t.key,i=t.type,a=n-1,c=n+1,f=e[n];if(f===null||f&&o==f.key&&i===f.type&&!(131072&f.__u))return n;if(r>(f==null||131072&f.__u?0:1))for(;a>=0||c<e.length;){if(a>=0){if((f=e[a])&&!(131072&f.__u)&&o==f.key&&i===f.type)return a;a--}if(c<e.length){if((f=e[c])&&!(131072&f.__u)&&o==f.key&&i===f.type)return c;c++}}return-1}function br(t,e,n){e[0]==="-"?t.setProperty(e,n==null?"":n):t[e]=n==null?"":typeof n!="number"||_i.test(e)?n:n+"px"}function en(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||br(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||br(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=er,t.addEventListener(e,i?Vn:Bn,i)):t.removeEventListener(e,i?Vn:Bn,i);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n==null?"":n;break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Sr(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=er++;else if(e.t<n.u)return;return n(H.event?H.event(e):e)}}}function nr(t,e,n,r,o,i,a,c,f,m){var b,l,d,s,S,g,y,_,v,p,h,P,E,C,N,I,x=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(f=!!(32&n.__u),i=[c=e.__e=n.__e]),(b=H.__b)&&b(e);t:if(typeof x=="function")try{if(_=e.props,v="prototype"in x&&x.prototype.render,p=(b=x.contextType)&&r[b.__c],h=b?p?p.props.value:b.__:r,n.__c?y=(l=e.__c=n.__c).__=l.__E:(v?e.__c=l=new x(_,h):(e.__c=l=new Ct(_,h),l.constructor=x,l.render=Si),p&&p.sub(l),l.props=_,l.state||(l.state={}),l.context=h,l.__n=r,d=l.__d=!0,l.__h=[],l._sb=[]),v&&l.__s==null&&(l.__s=l.state),v&&x.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Tt({},l.__s)),Tt(l.__s,x.getDerivedStateFromProps(_,l.__s))),s=l.props,S=l.state,l.__v=e,d)v&&x.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),v&&l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(v&&x.getDerivedStateFromProps==null&&_!==s&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(_,h),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(_,l.__s,h)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(l.props=_,l.state=l.__s,l.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(k){k&&(k.__=e)}),P=0;P<l._sb.length;P++)l.__h.push(l._sb[P]);l._sb=[],l.__h.length&&a.push(l);break t}l.componentWillUpdate!=null&&l.componentWillUpdate(_,l.__s,h),v&&l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(s,S,g)})}if(l.context=h,l.props=_,l.__P=t,l.__e=!1,E=H.__r,C=0,v){for(l.state=l.__s,l.__d=!1,E&&E(e),b=l.render(l.props,l.state,l.context),N=0;N<l._sb.length;N++)l.__h.push(l._sb[N]);l._sb=[]}else do l.__d=!1,E&&E(e),b=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++C<25);l.state=l.__s,l.getChildContext!=null&&(r=Tt(Tt({},r),l.getChildContext())),v&&!d&&l.getSnapshotBeforeUpdate!=null&&(g=l.getSnapshotBeforeUpdate(s,S)),ko(t,_n(I=b!=null&&b.type===Rt&&b.key==null?b.props.children:b)?I:[I],e,n,r,o,i,a,c,f,m),l.base=e.__e,e.__u&=-161,l.__h.length&&a.push(l),y&&(l.__E=l.__=null)}catch(k){if(e.__v=null,f||i!=null){for(e.__u|=f?160:128;c&&c.nodeType===8&&c.nextSibling;)c=c.nextSibling;i[i.indexOf(c)]=null,e.__e=c}else e.__e=n.__e,e.__k=n.__k;H.__e(k,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=bi(n.__e,e,n,r,o,i,a,f,m);(b=H.diffed)&&b(e)}function Co(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)rr(n[r],n[++r],n[++r]);H.__c&&H.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){H.__e(i,o.__v)}})}function bi(t,e,n,r,o,i,a,c,f){var m,b,l,d,s,S,g,y=n.props,_=e.props,v=e.type;if(v==="svg"?o="http://www.w3.org/2000/svg":v==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(m=0;m<i.length;m++)if((s=i[m])&&"setAttribute"in s==!!v&&(v?s.localName===v:s.nodeType===3)){t=s,i[m]=null;break}}if(t==null){if(v===null)return document.createTextNode(_);t=document.createElementNS(o,v,_.is&&_),c&&(H.__m&&H.__m(e,i),c=!1),i=null}if(v===null)y===_||c&&t.data===_||(t.data=_);else{if(i=i&&We.call(t.childNodes),y=n.props||Ue,!c&&i!=null)for(y={},m=0;m<t.attributes.length;m++)y[(s=t.attributes[m]).name]=s.value;for(m in y)if(s=y[m],m!="children"){if(m=="dangerouslySetInnerHTML")l=s;else if(!(m in _)){if(m=="value"&&"defaultValue"in _||m=="checked"&&"defaultChecked"in _)continue;en(t,m,null,s,o)}}for(m in _)s=_[m],m=="children"?d=s:m=="dangerouslySetInnerHTML"?b=s:m=="value"?S=s:m=="checked"?g=s:c&&typeof s!="function"||y[m]===s||en(t,m,s,y[m],o);if(b)c||l&&(b.__html===l.__html||b.__html===t.innerHTML)||(t.innerHTML=b.__html),e.__k=[];else if(l&&(t.innerHTML=""),ko(t,_n(d)?d:[d],e,n,r,v==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&ce(n,0),c,f),i!=null)for(m=i.length;m--;)Po(i[m]);c||(m="value",v==="progress"&&S==null?t.removeAttribute("value"):S!==void 0&&(S!==t[m]||v==="progress"&&!S||v==="option"&&S!==y[m])&&en(t,m,S,y[m],o),m="checked",g!==void 0&&g!==t[m]&&en(t,m,g,y[m],o))}return t}function rr(t,e,n){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(o){H.__e(o,n)}}function xo(t,e,n){var r,o;if(H.unmount&&H.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||rr(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){H.__e(i,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&xo(r[o],e,n||typeof t.type!="function");n||Po(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Si(t,e,n){return this.constructor(t,n)}function Fe(t,e,n){var r,o,i,a;H.__&&H.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],nr(e,t=(!r&&n||e).__k=Dt(Rt,null,[t]),o||Ue,Ue,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?We.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),Co(i,t,a)}function Ao(t,e){Fe(t,e,Ao)}function Oi(t,e,n){var r,o,i,a,c=Tt({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:c[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(c.children=arguments.length>3?We.call(arguments,2):n),Ee(t.type,c,r||t.key,o||t.ref,null)}We=jo.slice,H={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(c){t=c}throw t}},Oo=0,Ct.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Tt({},this.state),typeof t=="function"&&(t=t(Tt({},n),this.props)),t&&Tt(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Kn(this))},Ct.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Kn(this))},Ct.prototype.render=Rt,Gt=[],wo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Fn=function(t,e){return t.__v.__b-e.__v.__b},yn.__r=0,er=0,Bn=Sr(!1),Vn=Sr(!0),Eo=0;var Bt,Z,Cn,Or,le=0,No=[],Y=H,wr=Y.__b,Er=Y.__r,jr=Y.diffed,Pr=Y.__c,Ir=Y.unmount,kr=Y.__;function se(t,e){Y.__h&&Y.__h(Z,t,le||e),le=0;var n=Z.__H||(Z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function ze(t){return le=1,or(Uo,t)}function or(t,e,n){var r=se(Bt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Uo(void 0,e),function(c){var f=r.__N?r.__N[0]:r.__[0],m=r.t(f,c);f!==m&&(r.__N=[m,r.__[1]],r.__c.setState({}))}],r.__c=Z,!Z.u)){var o=function(c,f,m){if(!r.__c.__H)return!0;var b=r.__c.__H.__.filter(function(d){return!!d.__c});if(b.every(function(d){return!d.__N}))return!i||i.call(this,c,f,m);var l=!1;return b.forEach(function(d){if(d.__N){var s=d.__[0];d.__=d.__N,d.__N=void 0,s!==d.__[0]&&(l=!0)}}),!(!l&&r.__c.props===c)&&(!i||i.call(this,c,f,m))};Z.u=!0;var i=Z.shouldComponentUpdate,a=Z.componentWillUpdate;Z.componentWillUpdate=function(c,f,m){if(this.__e){var b=i;i=void 0,o(c,f,m),i=b}a&&a.call(this,c,f,m)},Z.shouldComponentUpdate=o}return r.__N||r.__}function Je(t,e){var n=se(Bt++,3);!Y.__s&&ir(n.__H,e)&&(n.__=t,n.i=e,Z.__H.__h.push(n))}function Qe(t,e){var n=se(Bt++,4);!Y.__s&&ir(n.__H,e)&&(n.__=t,n.i=e,Z.__h.push(n))}function To(t){return le=5,gn(function(){return{current:t}},[])}function Ro(t,e,n){le=6,Qe(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function gn(t,e){var n=se(Bt++,7);return ir(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function Lo(t,e){return le=8,gn(function(){return t},e)}function qo(t){var e=Z.context[t.__c],n=se(Bt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(Z)),e.props.value):t.__}function Mo(t,e){Y.useDebugValue&&Y.useDebugValue(e?e(t):t)}function Ho(){var t=se(Bt++,11);if(!t.__){for(var e=Z.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function wi(){for(var t;t=No.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(pn),t.__H.__h.forEach(Wn),t.__H.__h=[]}catch(e){t.__H.__h=[],Y.__e(e,t.__v)}}Y.__b=function(t){Z=null,wr&&wr(t)},Y.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),kr&&kr(t,e)},Y.__r=function(t){Er&&Er(t),Bt=0;var e=(Z=t.__c).__H;e&&(Cn===Z?(e.__h=[],Z.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(pn),e.__h.forEach(Wn),e.__h=[],Bt=0)),Cn=Z},Y.diffed=function(t){jr&&jr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(No.push(e)!==1&&Or===Y.requestAnimationFrame||((Or=Y.requestAnimationFrame)||Ei)(wi)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Cn=Z=null},Y.__c=function(t,e){e.some(function(n){try{n.__h.forEach(pn),n.__h=n.__h.filter(function(r){return!r.__||Wn(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],Y.__e(r,n.__v)}}),Pr&&Pr(t,e)},Y.unmount=function(t){Ir&&Ir(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{pn(r)}catch(o){e=o}}),n.__H=void 0,e&&Y.__e(e,n.__v))};var Dr=typeof requestAnimationFrame=="function";function Ei(t){var e,n=function(){clearTimeout(r),Dr&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Dr&&(e=requestAnimationFrame(n))}function pn(t){var e=Z,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Z=e}function Wn(t){var e=Z;t.__c=t.__(),Z=e}function ir(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Uo(t,e){return typeof e=="function"?e(t):e}function zn(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function Jn(t,e){this.props=t,this.context=e}(Jn.prototype=new Ct).isPureReactComponent=!0,Jn.prototype.shouldComponentUpdate=function(t,e){return zn(this.props,t)||zn(this.state,e)};var Cr=H.__b;H.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Cr&&Cr(t)};var ji=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,xr=function(t,e){return t==null?null:Lt(Lt(t).map(e))},Pi={map:xr,forEach:xr,count:function(t){return t?Lt(t).length:0},only:function(t){var e=Lt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Lt},Ii=H.__e;H.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}Ii(t,e,n,r)};var Ar=H.unmount;function Fo(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=function(r,o){for(var i in o)r[i]=o[i];return r}({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Fo(r,e,n)})),t}function Bo(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Bo(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function vn(){this.__u=0,this.t=null,this.__b=null}function Vo(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Oe(){this.u=null,this.o=null}H.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Ar&&Ar(t)},(vn.prototype=new Ct).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Vo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=a;var c=function(){if(!--r.__u){if(r.state.__a){var f=r.state.__a;r.__v.__k[0]=Bo(f,f.__c.__P,f.__c.__O)}var m;for(r.setState({__a:r.__b=null});m=r.t.pop();)m.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},vn.prototype.componentWillUnmount=function(){this.t=[]},vn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Fo(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&Dt(Rt,null,t.fallback);return o&&(o.__u&=-33),[Dt(Rt,null,e.__a?null:t.children),o]};var Nr=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function ki(t){return this.getChildContext=function(){return t.context},t.children}function Di(t){var e=this,n=t.i;e.componentWillUnmount=function(){Fe(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Fe(Dt(ki,{context:e.context},t.__v),e.l)}function Ko(t,e){var n=Dt(Di,{__v:t,i:e});return n.containerInfo=e,n}(Oe.prototype=new Ct).__a=function(t){var e=this,n=Vo(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Nr(e,t,r)):o()};n?n(i):i()}},Oe.prototype.render=function(t){this.u=null,this.o=new Map;var e=Lt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Oe.prototype.componentDidUpdate=Oe.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Nr(t,n,e)})};var Wo=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Ci=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,xi=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ai=/[A-Z0-9]/g,Ni=typeof document!="undefined",Ti=function(t){return(typeof Symbol!="undefined"&&A(Symbol())=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function zo(t,e,n){return e.__k==null&&(e.textContent=""),Fe(t,e),typeof n=="function"&&n(),t?t.__c:null}Ct.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(Ct.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Tr=H.event;function Ri(){}function Li(){return this.cancelBubble}function qi(){return this.defaultPrevented}H.event=function(t){return Tr&&(t=Tr(t)),t.persist=Ri,t.isPropagationStopped=Li,t.isDefaultPrevented=qi,t.nativeEvent=t};var ar,Mi={enumerable:!1,configurable:!0,get:function(){return this.class}},Rr=H.vnode;H.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={},i=r.indexOf("-")===-1;for(var a in n){var c=n[a];if(!(a==="value"&&"defaultValue"in n&&c==null||Ni&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var f=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&c===!0?c="":f==="translate"&&c==="no"?c=!1:f[0]==="o"&&f[1]==="n"?f==="ondoubleclick"?a="ondblclick":f!=="onchange"||r!=="input"&&r!=="textarea"||Ti(n.type)?f==="onfocus"?a="onfocusin":f==="onblur"?a="onfocusout":xi.test(a)&&(a=f):f=a="oninput":i&&Ci.test(a)?a=a.replace(Ai,"-$&").toLowerCase():c===null&&(c=void 0),f==="oninput"&&o[a=f]&&(a="oninputCapture"),o[a]=c}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Lt(n.children).forEach(function(m){m.props.selected=o.value.indexOf(m.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Lt(n.children).forEach(function(m){m.props.selected=o.multiple?o.defaultValue.indexOf(m.props.value)!=-1:o.defaultValue==m.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Mi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Wo,Rr&&Rr(t)};var Lr=H.__r;H.__r=function(t){Lr&&Lr(t),ar=t.__c};var qr=H.diffed;H.diffed=function(t){qr&&qr(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),ar=null};var Hi={ReactCurrentDispatcher:{current:{readContext:function(t){return ar.__n[t.__c].props.value},useCallback:Lo,useContext:qo,useDebugValue:Mo,useDeferredValue:Qo,useEffect:Je,useId:Ho,useImperativeHandle:Ro,useInsertionEffect:Zo,useLayoutEffect:Qe,useMemo:gn,useReducer:or,useRef:To,useState:ze,useSyncExternalStore:Go,useTransition:$o}}};function nn(t){return!!t&&t.$$typeof===Wo}function Jo(t){t()}function Qo(t){return t}function $o(){return[!1,Jo]}var Zo=Qe;function Go(t,e){var n=e(),r=ze({h:{__:n,v:e}}),o=r[0].h,i=r[1];return Qe(function(){o.__=n,o.v=e,xn(o)&&i({h:o})},[t,n,e]),Je(function(){return xn(o)&&i({h:o}),t(function(){xn(o)&&i({h:o})})},[t]),n}function xn(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var u={useState:ze,useId:Ho,useReducer:or,useEffect:Je,useLayoutEffect:Qe,useInsertionEffect:Zo,useTransition:$o,useDeferredValue:Qo,useSyncExternalStore:Go,startTransition:Jo,useRef:To,useImperativeHandle:Ro,useMemo:gn,useCallback:Lo,useContext:qo,useDebugValue:Mo,version:"18.3.1",Children:Pi,render:zo,hydrate:function(t,e,n){return Ao(t,e),typeof n=="function"&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(Fe(null,t),!0)},createPortal:Ko,createElement:Dt,createContext:function(t,e){var n={__c:e="__cC"+Eo++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=new Set,(i={})[e]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.forEach(function(c){c.__e=!0,Kn(c)})},this.sub=function(a){o.add(a);var c=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),c&&c.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(t){return Dt.bind(null,t)},cloneElement:function(t){return nn(t)?Oi.apply(null,arguments):t},createRef:function(){return{current:null}},Fragment:Rt,isValidElement:nn,isElement:nn,isFragment:function(t){return nn(t)&&t.type===Rt},isMemo:function(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")},findDOMNode:function(t){return t&&(t.base||t.nodeType===1&&t)||null},Component:Ct,PureComponent:Jn,memo:function(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:zn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Dt(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(t){function e(n){if(!("ref"in n))return t(n,null);var r=n.ref;delete n.ref;var o=t(n,r);return n.ref=r,o}return e.$$typeof=ji,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e},flushSync:function(t,e){return t(e)},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:Rt,Suspense:vn,SuspenseList:Oe,lazy:function(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return Dt(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Hi};function Qn(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Mr(t,e,n,r,o,i,a){try{var c=t[i](a),f=c.value}catch(m){return void n(m)}c.done?e(f):Promise.resolve(f).then(r,o)}function An(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(f){Mr(i,r,o,a,c,"next",f)}function c(f){Mr(i,r,o,a,c,"throw",f)}a(void 0)})}}function fe(t,e,n){return e=Be(e),function(r,o){if(o&&(A(o)=="object"||typeof o=="function"))return o;if(o!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(r)}(t,ur()?Reflect.construct(e,n||[],Be(t).constructor):e.apply(t,n))}function me(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pe(t,e,n){return Object.defineProperty(t,"prototype",{writable:!1}),t}function ve(t,e,n){return(e=function(r){var o=function(i){if(A(i)!="object"||!i)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(A(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return A(o)=="symbol"?o:o+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lt(){return lt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},lt.apply(null,arguments)}function Be(t){return Be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Be(t)}function he(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ve(t,e)}function ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ur=function(){return!!t})()}function Hr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function B(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Hr(Object(n),!0).forEach(function(r){ve(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hr(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function xt(t,e){if(t==null)return{};var n,r,o=function(a,c){if(a==null)return{};var f={};for(var m in a)if({}.hasOwnProperty.call(a,m)){if(c.includes(m))continue;f[m]=a[m]}return f}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Zt(){Zt=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(O,w,j){O[w]=j.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";function m(O,w,j){return Object.defineProperty(O,w,{value:j,enumerable:!0,configurable:!0,writable:!0}),O[w]}try{m({},"")}catch{m=function(w,j,R){return w[j]=R}}function b(O,w,j,R){var D=w&&w.prototype instanceof _?w:_,L=Object.create(D.prototype),W=new q(R||[]);return o(L,"_invoke",{value:x(O,j,W)}),L}function l(O,w,j){try{return{type:"normal",arg:O.call(w,j)}}catch(R){return{type:"throw",arg:R}}}e.wrap=b;var d="suspendedStart",s="suspendedYield",S="executing",g="completed",y={};function _(){}function v(){}function p(){}var h={};m(h,a,function(){return this});var P=Object.getPrototypeOf,E=P&&P(P(ot([])));E&&E!==n&&r.call(E,a)&&(h=E);var C=p.prototype=_.prototype=Object.create(h);function N(O){["next","throw","return"].forEach(function(w){m(O,w,function(j){return this._invoke(w,j)})})}function I(O,w){function j(D,L,W,K){var J=l(O[D],O,L);if(J.type!=="throw"){var G=J.arg,st=G.value;return st&&A(st)=="object"&&r.call(st,"__await")?w.resolve(st.__await).then(function(tt){j("next",tt,W,K)},function(tt){j("throw",tt,W,K)}):w.resolve(st).then(function(tt){G.value=tt,W(G)},function(tt){return j("throw",tt,W,K)})}K(J.arg)}var R;o(this,"_invoke",{value:function(D,L){function W(){return new w(function(K,J){j(D,L,K,J)})}return R=R?R.then(W,W):W()}})}function x(O,w,j){var R=d;return function(D,L){if(R===S)throw Error("Generator is already running");if(R===g){if(D==="throw")throw L;return{value:t,done:!0}}for(j.method=D,j.arg=L;;){var W=j.delegate;if(W){var K=k(W,j);if(K){if(K===y)continue;return K}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(R===d)throw R=g,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);R=S;var J=l(O,w,j);if(J.type==="normal"){if(R=j.done?g:s,J.arg===y)continue;return{value:J.arg,done:j.done}}J.type==="throw"&&(R=g,j.method="throw",j.arg=J.arg)}}}function k(O,w){var j=w.method,R=O.iterator[j];if(R===t)return w.delegate=null,j==="throw"&&O.iterator.return&&(w.method="return",w.arg=t,k(O,w),w.method==="throw")||j!=="return"&&(w.method="throw",w.arg=new TypeError("The iterator does not provide a '"+j+"' method")),y;var D=l(R,O.iterator,w.arg);if(D.type==="throw")return w.method="throw",w.arg=D.arg,w.delegate=null,y;var L=D.arg;return L?L.done?(w[O.resultName]=L.value,w.next=O.nextLoc,w.method!=="return"&&(w.method="next",w.arg=t),w.delegate=null,y):L:(w.method="throw",w.arg=new TypeError("iterator result is not an object"),w.delegate=null,y)}function U(O){var w={tryLoc:O[0]};1 in O&&(w.catchLoc=O[1]),2 in O&&(w.finallyLoc=O[2],w.afterLoc=O[3]),this.tryEntries.push(w)}function z(O){var w=O.completion||{};w.type="normal",delete w.arg,O.completion=w}function q(O){this.tryEntries=[{tryLoc:"root"}],O.forEach(U,this),this.reset(!0)}function ot(O){if(O||O===""){var w=O[a];if(w)return w.call(O);if(typeof O.next=="function")return O;if(!isNaN(O.length)){var j=-1,R=function D(){for(;++j<O.length;)if(r.call(O,j))return D.value=O[j],D.done=!1,D;return D.value=t,D.done=!0,D};return R.next=R}}throw new TypeError(A(O)+" is not iterable")}return v.prototype=p,o(C,"constructor",{value:p,configurable:!0}),o(p,"constructor",{value:v,configurable:!0}),v.displayName=m(p,f,"GeneratorFunction"),e.isGeneratorFunction=function(O){var w=typeof O=="function"&&O.constructor;return!!w&&(w===v||(w.displayName||w.name)==="GeneratorFunction")},e.mark=function(O){return Object.setPrototypeOf?Object.setPrototypeOf(O,p):(O.__proto__=p,m(O,f,"GeneratorFunction")),O.prototype=Object.create(C),O},e.awrap=function(O){return{__await:O}},N(I.prototype),m(I.prototype,c,function(){return this}),e.AsyncIterator=I,e.async=function(O,w,j,R,D){D===void 0&&(D=Promise);var L=new I(b(O,w,j,R),D);return e.isGeneratorFunction(w)?L:L.next().then(function(W){return W.done?W.value:L.next()})},N(C),m(C,f,"Generator"),m(C,a,function(){return this}),m(C,"toString",function(){return"[object Generator]"}),e.keys=function(O){var w=Object(O),j=[];for(var R in w)j.push(R);return j.reverse(),function D(){for(;j.length;){var L=j.pop();if(L in w)return D.value=L,D.done=!1,D}return D.done=!0,D}},e.values=ot,q.prototype={constructor:q,reset:function(O){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(z),!O)for(var w in this)w.charAt(0)==="t"&&r.call(this,w)&&!isNaN(+w.slice(1))&&(this[w]=t)},stop:function(){this.done=!0;var O=this.tryEntries[0].completion;if(O.type==="throw")throw O.arg;return this.rval},dispatchException:function(O){if(this.done)throw O;var w=this;function j(J,G){return L.type="throw",L.arg=O,w.next=J,G&&(w.method="next",w.arg=t),!!G}for(var R=this.tryEntries.length-1;R>=0;--R){var D=this.tryEntries[R],L=D.completion;if(D.tryLoc==="root")return j("end");if(D.tryLoc<=this.prev){var W=r.call(D,"catchLoc"),K=r.call(D,"finallyLoc");if(W&&K){if(this.prev<D.catchLoc)return j(D.catchLoc,!0);if(this.prev<D.finallyLoc)return j(D.finallyLoc)}else if(W){if(this.prev<D.catchLoc)return j(D.catchLoc,!0)}else{if(!K)throw Error("try statement without catch or finally");if(this.prev<D.finallyLoc)return j(D.finallyLoc)}}}},abrupt:function(O,w){for(var j=this.tryEntries.length-1;j>=0;--j){var R=this.tryEntries[j];if(R.tryLoc<=this.prev&&r.call(R,"finallyLoc")&&this.prev<R.finallyLoc){var D=R;break}}D&&(O==="break"||O==="continue")&&D.tryLoc<=w&&w<=D.finallyLoc&&(D=null);var L=D?D.completion:{};return L.type=O,L.arg=w,D?(this.method="next",this.next=D.finallyLoc,y):this.complete(L)},complete:function(O,w){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&w&&(this.next=w),y},finish:function(O){for(var w=this.tryEntries.length-1;w>=0;--w){var j=this.tryEntries[w];if(j.finallyLoc===O)return this.complete(j.completion,j.afterLoc),z(j),y}},catch:function(O){for(var w=this.tryEntries.length-1;w>=0;--w){var j=this.tryEntries[w];if(j.tryLoc===O){var R=j.completion;if(R.type==="throw"){var D=R.arg;z(j)}return D}}throw Error("illegal catch attempt")},delegateYield:function(O,w,j){return this.delegate={iterator:ot(O),resultName:w,nextLoc:j},this.method==="next"&&(this.arg=t),y}},e}function Ve(t,e){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ve(t,e)}function ht(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,c,f,m=[],b=!0,l=!1;try{if(c=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;b=!1}else for(;!(b=(i=c.call(o)).done)&&(m.push(i.value),m.length!==r);b=!0);}catch(d){l=!0,a=d}finally{try{if(!b&&o.return!=null&&(f=o.return(),Object(f)!==f))return}finally{if(l)throw a}}return m}}(t,e)||Yo(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function je(t){return function(e){if(Array.isArray(e))return Qn(e)}(t)||function(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||Yo(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Yo(t,e){if(t){if(typeof t=="string")return Qn(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qn(t,e):void 0}}function $n(t){var e=typeof Map=="function"?new Map:void 0;return $n=function(n){if(n===null||!function(o){try{return Function.toString.call(o).indexOf("[native code]")!==-1}catch{return typeof o=="function"}}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return function(o,i,a){if(ur())return Reflect.construct.apply(null,arguments);var c=[null];c.push.apply(c,i);var f=new(o.bind.apply(o,c));return a&&Ve(f,a.prototype),f}(n,arguments,Be(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ve(r,n)},$n(t)}function Ui(){return u.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},u.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Xo(){return u.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},u.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var Fi=["translations"],Nn="Ctrl",Bi=u.forwardRef(function(t,e){var n=t.translations,r=n===void 0?{}:n,o=xt(t,Fi),i=r.buttonText,a=i===void 0?"Search":i,c=r.buttonAriaLabel,f=c===void 0?"Search":c,m=ht(ze(null),2),b=m[0],l=m[1];Je(function(){typeof navigator!="undefined"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?l("\u2318"):l(Nn))},[]);var d=ht(b===Nn?[Nn,"Ctrl",u.createElement(Ui,null)]:["Meta","Command",b],3),s=d[0],S=d[1],g=d[2];return u.createElement("button",lt({type:"button",className:"DocSearch DocSearch-Button","aria-label":"".concat(f," (").concat(S,"+K)")},o,{ref:e}),u.createElement("span",{className:"DocSearch-Button-Container"},u.createElement(Xo,null),u.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),u.createElement("span",{className:"DocSearch-Button-Keys"},b!==null&&u.createElement(u.Fragment,null,u.createElement(Ur,{reactsToKey:s},g),u.createElement(Ur,{reactsToKey:"k"},"K"))))});function Ur(t){var e=t.reactsToKey,n=t.children,r=ht(ze(!1),2),o=r[0],i=r[1];return Je(function(){if(e)return window.addEventListener("keydown",a),window.addEventListener("keyup",c),function(){window.removeEventListener("keydown",a),window.removeEventListener("keyup",c)};function a(f){f.key===e&&i(!0)}function c(f){f.key!==e&&f.key!=="Meta"||i(!1)}},[e]),u.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}function ti(t,e){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n&&clearTimeout(n),n=setTimeout(function(){return t.apply(void 0,o)},e)}}function Ke(t){return t.reduce(function(e,n){return e.concat(n)},[])}var Vi=0;function Zn(t){return t.collections.length===0?0:t.collections.reduce(function(e,n){return e+n.items.length},0)}function Fr(t){return t!==Object(t)}function ei(t,e){if(t===e)return!0;if(Fr(t)||Fr(e)||typeof t=="function"||typeof e=="function")return t===e;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(!(o in e)||!ei(t[o],e[o]))return!1}return!0}var hn=function(){},Ki=[{segment:"autocomplete-core",version:"1.17.7"}];function Br(t){var e=t.item,n=t.items,r=n===void 0?[]:n;return{index:e.__autocomplete_indexName,items:[e],positions:[1+r.findIndex(function(o){return o.objectID===e.objectID})],queryID:e.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function Vr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Wi=["items"],zi=["items"];function Pe(t){return Pe=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Pe(t)}function rn(t){return function(e){if(Array.isArray(e))return Tn(e)}(t)||function(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return Tn(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tn(e,n):void 0}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Tn(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ni(t,e){if(t==null)return{};var n,r,o=function(a,c){if(a==null)return{};var f,m,b={},l=Object.keys(a);for(m=0;m<l.length;m++)f=l[m],c.indexOf(f)>=0||(b[f]=a[f]);return b}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Kr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function ae(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Kr(Object(n),!0).forEach(function(r){Ji(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kr(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Ji(t,e,n){return(e=function(r){var o=function(i){if(Pe(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Pe(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Pe(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function on(t){return t.map(function(e){var n=e.items,r=ni(e,Wi);return ae(ae({},r),{},{objectIDs:(n==null?void 0:n.map(function(o){return o.objectID}))||r.objectIDs})})}function Qi(t){var e=t.items.reduce(function(n,r){var o;return n[r.__autocomplete_indexName]=((o=n[r.__autocomplete_indexName])!==null&&o!==void 0?o:[]).concat(r),n},{});return Object.keys(e).map(function(n){return{index:n,items:e[n],algoliaSource:["autocomplete"]}})}function be(t){return t.objectID&&t.__autocomplete_indexName&&t.__autocomplete_queryID}function Ie(t){return Ie=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Ie(t)}function ue(t){return function(e){if(Array.isArray(e))return Rn(e)}(t)||function(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return Rn(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rn(e,n):void 0}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Rn(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Wr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Wr(Object(n),!0).forEach(function(r){$i(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function $i(t,e,n){return(e=function(r){var o=function(i){if(Ie(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Ie(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Ie(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ri="2.15.0",Zi="https://cdn.jsdelivr.net/npm/search-insights@".concat(ri,"/dist/search-insights.min.js"),Gi=ti(function(t){var e=t.onItemsChange,n=t.items,r=t.insights,o=t.state;e({insights:r,insightsEvents:Qi({items:n}).map(function(i){return wt({eventName:"Items Viewed"},i)}),state:o})},400);function zr(t){var e=function(d){return wt({onItemsChange:function(s){var S=s.insights,g=s.insightsEvents,y=s.state;S.viewedObjectIDs.apply(S,ue(g.map(function(_){return wt(wt({},_),{},{algoliaSource:Jr(_.algoliaSource,y.context)})})))},onSelect:function(s){var S=s.insights,g=s.insightsEvents,y=s.state;S.clickedObjectIDsAfterSearch.apply(S,ue(g.map(function(_){return wt(wt({},_),{},{algoliaSource:Jr(_.algoliaSource,y.context)})})))},onActive:hn,__autocomplete_clickAnalytics:!0},d)}(t),n=e.insightsClient,r=e.insightsInitParams,o=e.onItemsChange,i=e.onSelect,a=e.onActive,c=e.__autocomplete_clickAnalytics,f=n;if(n||typeof window!="undefined"&&function(){var d=window,s=d.AlgoliaAnalyticsObject||"aa";typeof s=="string"&&(f=d[s]),f||(d.AlgoliaAnalyticsObject=s,d[s]||(d[s]=function(){d[s].queue||(d[s].queue=[]);for(var S=arguments.length,g=new Array(S),y=0;y<S;y++)g[y]=arguments[y];d[s].queue.push(g)}),d[s].version=ri,f=d[s],function(S){var g="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var y=S.document.createElement("script");y.async=!0,y.src=Zi,y.onerror=function(){console.error(g)},document.body.appendChild(y)}catch{console.error(g)}}(d))}(),!f)return{};r&&f("init",wt({partial:!0},r));var m=function(d){var s,S,g,y=(s=function(v){return function(p){if(Array.isArray(p))return p}(v)||function(p){var h=p==null?null:typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(h!=null){var P,E,C,N,I=[],x=!0,k=!1;try{for(C=(h=h.call(p)).next;!(x=(P=C.call(h)).done)&&(I.push(P.value),I.length!==2);x=!0);}catch(U){k=!0,E=U}finally{try{if(!x&&h.return!=null&&(N=h.return(),Object(N)!==N))return}finally{if(k)throw E}}return I}}(v)||function(p){if(p){if(typeof p=="string")return Vr(p,2);var h=Object.prototype.toString.call(p).slice(8,-1);return h==="Object"&&p.constructor&&(h=p.constructor.name),h==="Map"||h==="Set"?Array.from(p):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?Vr(p,2):void 0}}(v)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}((d.version||"").split(".").map(Number)),S=s[0],g=s[1],S>=3||S===2&&g>=4||S===1&&g>=10);function _(v,p,h){if(y&&h!==void 0){var P=h[0].__autocomplete_algoliaCredentials,E={"X-Algolia-Application-Id":P.appId,"X-Algolia-API-Key":P.apiKey};d.apply(void 0,[v].concat(rn(p),[{headers:E}]))}else d.apply(void 0,[v].concat(rn(p)))}return{init:function(v,p){d("init",{appId:v,apiKey:p})},setAuthenticatedUserToken:function(v){d("setAuthenticatedUserToken",v)},setUserToken:function(v){d("setUserToken",v)},clickedObjectIDsAfterSearch:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&_("clickedObjectIDsAfterSearch",on(p),p[0].items)},clickedObjectIDs:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&_("clickedObjectIDs",on(p),p[0].items)},clickedFilters:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&d.apply(void 0,["clickedFilters"].concat(p))},convertedObjectIDsAfterSearch:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&_("convertedObjectIDsAfterSearch",on(p),p[0].items)},convertedObjectIDs:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&_("convertedObjectIDs",on(p),p[0].items)},convertedFilters:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&d.apply(void 0,["convertedFilters"].concat(p))},viewedObjectIDs:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&p.reduce(function(P,E){var C=E.items,N=ni(E,zi);return[].concat(rn(P),rn(function(I){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,k=[],U=0;U<I.objectIDs.length;U+=x)k.push(ae(ae({},I),{},{objectIDs:I.objectIDs.slice(U,U+x)}));return k}(ae(ae({},N),{},{objectIDs:(C==null?void 0:C.map(function(I){return I.objectID}))||N.objectIDs})).map(function(I){return{items:C,payload:I}})))},[]).forEach(function(P){var E=P.items;return _("viewedObjectIDs",[P.payload],E)})},viewedFilters:function(){for(var v=arguments.length,p=new Array(v),h=0;h<v;h++)p[h]=arguments[h];p.length>0&&d.apply(void 0,["viewedFilters"].concat(p))}}}(f),b={current:[]},l=ti(function(d){var s=d.state;if(s.isOpen){var S=s.collections.reduce(function(g,y){return[].concat(ue(g),ue(y.items))},[]).filter(be);ei(b.current.map(function(g){return g.objectID}),S.map(function(g){return g.objectID}))||(b.current=S,S.length>0&&Gi({onItemsChange:o,items:S,insights:m,state:s}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(d){var s=d.setContext,S=d.onSelect,g=d.onActive,y=!1;function _(v){s({algoliaInsightsPlugin:{__algoliaSearchParameters:wt(wt({},c?{clickAnalytics:!0}:{}),v?{userToken:Yi(v)}:{}),insights:m}})}f("addAlgoliaAgent","insights-plugin"),_(),f("onUserTokenChange",function(v){y||_(v)}),f("getUserToken",null,function(v,p){y||_(p)}),f("onAuthenticatedUserTokenChange",function(v){v?(y=!0,_(v)):(y=!1,f("getUserToken",null,function(p,h){return _(h)}))}),f("getAuthenticatedUserToken",null,function(v,p){p&&(y=!0,_(p))}),S(function(v){var p=v.item,h=v.state,P=v.event,E=v.source;be(p)&&i({state:h,event:P,insights:m,item:p,insightsEvents:[wt({eventName:"Item Selected"},Br({item:p,items:E.getItems().filter(be)}))]})}),g(function(v){var p=v.item,h=v.source,P=v.state,E=v.event;be(p)&&a({state:P,event:E,insights:m,item:p,insightsEvents:[wt({eventName:"Item Active"},Br({item:p,items:h.getItems().filter(be)}))]})})},onStateChange:function(d){var s=d.state;l({state:s})},__autocomplete_pluginOptions:t}}function Jr(){var t,e=arguments.length>1?arguments[1]:void 0;return[].concat(ue(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]),["autocomplete-internal"],ue((t=e.algoliaInsightsPlugin)!==null&&t!==void 0&&t.__automaticInsights?["autocomplete-automatic"]:[]))}function Yi(t){return typeof t=="number"?t.toString():t}function dn(t,e){var n=e;return{then:function(r,o){return dn(t.then(an(r,n,t),an(o,n,t)),n)},catch:function(r){return dn(t.catch(an(r,n,t)),n)},finally:function(r){return r&&n.onCancelList.push(r),dn(t.finally(an(r&&function(){return n.onCancelList=[],r()},n,t)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(o){o()})},isCanceled:function(){return n.isCanceled===!0}}}function Qr(t){return dn(t,{isCanceled:!1,onCancelList:[]})}function an(t,e,n){return t?function(r){return e.isCanceled?r:t(r)}:n}function $r(t,e,n,r){if(!n)return null;if(t<0&&(e===null||r!==null&&e===0))return n+t;var o=(e===null?-1:e)+t;return o<=-1||o>=n?r===null?null:0:o}function Zr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Gr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Zr(Object(n),!0).forEach(function(r){Xi(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zr(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Xi(t,e,n){return(e=function(r){var o=function(i){if(ke(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(ke(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return ke(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ke(t){return ke=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},ke(t)}function Yt(t){var e=function(o){var i=o.collections.map(function(a){return a.items.length}).reduce(function(a,c,f){var m=(a[f-1]||0)+c;return a.push(m),a},[]).reduce(function(a,c){return c<=o.activeItemId?a+1:a},0);return o.collections[i]}(t);if(!e)return null;var n=e.items[function(o){for(var i=o.state,a=o.collection,c=!1,f=0,m=0;c===!1;){var b=i.collections[f];if(b===a){c=!0;break}m+=b.items.length,f++}return i.activeItemId-m}({state:t,collection:e})],r=e.source;return{item:n,itemInputValue:r.getItemInputValue({item:n,state:t}),itemUrl:r.getItemUrl({item:n,state:t}),source:r}}function bt(t,e,n){return[t,n==null?void 0:n.sourceId,e].filter(Boolean).join("-").replace(/\s/g,"")}var ta=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function Yr(t){return t.nativeEvent||t}function De(t){return De=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},De(t)}function Xr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function ea(t,e,n){return(e=function(r){var o=function(i){if(De(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(De(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return De(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ce(t){return Ce=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Ce(t)}function to(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function un(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?to(Object(n),!0).forEach(function(r){na(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):to(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function na(t,e,n){return(e=function(r){var o=function(i){if(Ce(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Ce(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Ce(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xe(t){return xe=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},xe(t)}function Ln(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function eo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function ne(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?eo(Object(n),!0).forEach(function(r){ra(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):eo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ra(t,e,n){return(e=function(r){var o=function(i){if(xe(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(xe(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return xe(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ae(t){return Ae=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Ae(t)}function no(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function cn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?no(Object(n),!0).forEach(function(r){oi(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):no(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function oi(t,e,n){return(e=function(r){var o=function(i){if(Ae(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Ae(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Ae(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ne(t){return Ne=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Ne(t)}function ro(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function re(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ro(Object(n),!0).forEach(function(r){oa(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ro(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function oa(t,e,n){return(e=function(r){var o=function(i){if(Ne(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Ne(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Ne(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return function(e){if(Array.isArray(e))return qn(e)}(t)||function(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,n){if(e){if(typeof e=="string")return qn(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qn(e,n):void 0}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function qn(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ln(t){return!!t.execute}function ia(t){var e=t.reduce(function(n,r){if(!ln(r))return n.push(r),n;var o=r.searchClient,i=r.execute,a=r.requesterId,c=r.requests,f=n.find(function(l){return ln(r)&&ln(l)&&l.searchClient===o&&!!a&&l.requesterId===a});if(f){var m;(m=f.items).push.apply(m,ii(c))}else{var b={execute:i,requesterId:a,items:c,searchClient:o};n.push(b)}return n},[]).map(function(n){if(!ln(n))return Promise.resolve(n);var r=n,o=r.execute,i=r.items;return o({searchClient:r.searchClient,requests:i})});return Promise.all(e).then(function(n){return Ke(n)})}function Te(t){return Te=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Te(t)}var aa=["event","nextState","props","query","refresh","store"];function oo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function zt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?oo(Object(n),!0).forEach(function(r){ua(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ua(t,e,n){return(e=function(r){var o=function(i){if(Te(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Te(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Te(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var io,Mn,sn,Se=null,ao=(io=-1,Mn=-1,sn=void 0,function(t){var e=++io;return Promise.resolve(t).then(function(n){return sn&&e<Mn?sn:(Mn=e,sn=n,n)})});function Jt(t){var e=t.event,n=t.nextState,r=n===void 0?{}:n,o=t.props,i=t.query,a=t.refresh,c=t.store,f=function(p,h){if(p==null)return{};var P,E,C=function(I,x){if(I==null)return{};var k,U,z={},q=Object.keys(I);for(U=0;U<q.length;U++)k=q[U],x.indexOf(k)>=0||(z[k]=I[k]);return z}(p,h);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(p);for(E=0;E<N.length;E++)P=N[E],h.indexOf(P)>=0||Object.prototype.propertyIsEnumerable.call(p,P)&&(C[P]=p[P])}return C}(t,aa);Se&&o.environment.clearTimeout(Se);var m=f.setCollections,b=f.setIsOpen,l=f.setQuery,d=f.setActiveItemId,s=f.setStatus,S=f.setContext;if(l(i),d(o.defaultActiveItemId),!i&&o.openOnFocus===!1){var g,y=c.getState().collections.map(function(p){return zt(zt({},p),{},{items:[]})});s("idle"),m(y),b((g=r.isOpen)!==null&&g!==void 0?g:o.shouldPanelOpen({state:c.getState()}));var _=Qr(ao(y).then(function(){return Promise.resolve()}));return c.pendingRequests.add(_)}s("loading"),Se=o.environment.setTimeout(function(){s("stalled")},o.stallThreshold);var v=Qr(ao(o.getSources(zt({query:i,refresh:a,state:c.getState()},f)).then(function(p){return Promise.all(p.map(function(h){return Promise.resolve(h.getItems(zt({query:i,refresh:a,state:c.getState()},f))).then(function(P){return function(E,C,N){if(x=E,!!(x!=null&&x.execute)){var I=E.requesterId==="algolia"?Object.assign.apply(Object,[{}].concat(ii(Object.keys(N.context).map(function(k){var U;return(U=N.context[k])===null||U===void 0?void 0:U.__algoliaSearchParameters})))):{};return re(re({},E),{},{requests:E.queries.map(function(k){return{query:E.requesterId==="algolia"?re(re({},k),{},{params:re(re({},I),k.params)}):k,sourceId:C,transformResponse:E.transformResponse}})})}var x;return{items:E,sourceId:C}}(P,h.sourceId,c.getState())})})).then(ia).then(function(h){var P,E=h.some(function(C){return function(N){return!Array.isArray(N)&&!!(N!=null&&N._automaticInsights)}(C.items)});return E&&S({algoliaInsightsPlugin:zt(zt({},((P=c.getState().context)===null||P===void 0?void 0:P.algoliaInsightsPlugin)||{}),{},{__automaticInsights:E})}),function(C,N,I){return N.map(function(x){var k,U=C.filter(function(O){return O.sourceId===x.sourceId}),z=U.map(function(O){return O.items}),q=U[0].transformResponse,ot=q?q({results:k=z,hits:k.map(function(O){return O.hits}).filter(Boolean),facetHits:k.map(function(O){var w;return(w=O.facetHits)===null||w===void 0?void 0:w.map(function(j){return{label:j.value,count:j.count,_highlightResult:{label:{value:j.highlighted}}}})}).filter(Boolean)}):z;return x.onResolve({source:x,results:z,items:ot,state:I.getState()}),ot.every(Boolean),'The `getItems` function from source "'.concat(x.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),`.
Did you forget to return items?
See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:x,items:ot}})}(h,p,c)}).then(function(h){return function(P){var E=P.props,C=P.state,N=P.collections.reduce(function(x,k){return cn(cn({},x),{},oi({},k.source.sourceId,cn(cn({},k.source),{},{getItems:function(){return Ke(k.items)}})))},{}),I=E.plugins.reduce(function(x,k){return k.reshape?k.reshape(x):x},{sourcesBySourceId:N,state:C}).sourcesBySourceId;return Ke(E.reshape({sourcesBySourceId:I,sources:Object.values(I),state:C})).filter(Boolean).map(function(x){return{source:x,items:x.getItems()}})}({collections:h,props:o,state:c.getState()})})}))).then(function(p){var h;s("idle"),m(p);var P=o.shouldPanelOpen({state:c.getState()});b((h=r.isOpen)!==null&&h!==void 0?h:o.openOnFocus&&!i&&P||P);var E=Yt(c.getState());if(c.getState().activeItemId!==null&&E){var C=E.item,N=E.itemInputValue,I=E.itemUrl,x=E.source;x.onActive(zt({event:e,item:C,itemInputValue:N,itemUrl:I,refresh:a,source:x,state:c.getState()},f))}}).finally(function(){s("idle"),Se&&o.environment.clearTimeout(Se)});return c.pendingRequests.add(v)}function Re(t){return Re=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Re(t)}var ca=["event","props","refresh","store"];function uo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Qt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?uo(Object(n),!0).forEach(function(r){la(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function la(t,e,n){return(e=function(r){var o=function(i){if(Re(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Re(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Re(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Le(t){return Le=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Le(t)}var sa=["props","refresh","store"],fa=["inputElement","formElement","panelElement"],ma=["inputElement"],pa=["inputElement","maxLength"],va=["source"],ha=["item","source"];function co(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function it(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?co(Object(n),!0).forEach(function(r){da(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):co(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function da(t,e,n){return(e=function(r){var o=function(i){if(Le(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Le(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Le(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oe(t,e){if(t==null)return{};var n,r,o=function(a,c){if(a==null)return{};var f,m,b={},l=Object.keys(a);for(m=0;m<l.length;m++)f=l[m],c.indexOf(f)>=0||(b[f]=a[f]);return b}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function qe(t){return qe=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},qe(t)}function lo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function ya(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?lo(Object(n),!0).forEach(function(r){ai(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ai(t,e,n){return(e=function(r){var o=function(i){if(qe(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(qe(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return qe(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _a(t){var e,n,r,o,i=t.plugins,a=t.options,c=(e=(((n=a.__autocomplete_metadata)===null||n===void 0?void 0:n.userAgents)||[])[0])===null||e===void 0?void 0:e.segment,f=c?ai({},c,Object.keys(((r=a.__autocomplete_metadata)===null||r===void 0?void 0:r.options)||{})):{};return{plugins:i.map(function(m){return{name:m.name,options:Object.keys(m.__autocomplete_pluginOptions||[])}}),options:ya({"autocomplete-core":Object.keys(a)},f),ua:Ki.concat(((o=a.__autocomplete_metadata)===null||o===void 0?void 0:o.userAgents)||[])}}function so(t){var e,n=t.state;return n.isOpen===!1||n.activeItemId===null?null:((e=Yt(n))===null||e===void 0?void 0:e.itemInputValue)||null}function Me(t){return Me=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},Me(t)}function fo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function V(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?fo(Object(n),!0).forEach(function(r){ga(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ga(t,e,n){return(e=function(r){var o=function(i){if(Me(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(Me(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return Me(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ba=function(t,e){switch(e.type){case"setActiveItemId":case"mousemove":return V(V({},t),{},{activeItemId:e.payload});case"setQuery":return V(V({},t),{},{query:e.payload,completion:null});case"setCollections":return V(V({},t),{},{collections:e.payload});case"setIsOpen":return V(V({},t),{},{isOpen:e.payload});case"setStatus":return V(V({},t),{},{status:e.payload});case"setContext":return V(V({},t),{},{context:V(V({},t.context),e.payload)});case"ArrowDown":var n=V(V({},t),{},{activeItemId:e.payload.hasOwnProperty("nextActiveItemId")?e.payload.nextActiveItemId:$r(1,t.activeItemId,Zn(t),e.props.defaultActiveItemId)});return V(V({},n),{},{completion:so({state:n})});case"ArrowUp":var r=V(V({},t),{},{activeItemId:$r(-1,t.activeItemId,Zn(t),e.props.defaultActiveItemId)});return V(V({},r),{},{completion:so({state:r})});case"Escape":return t.isOpen?V(V({},t),{},{activeItemId:null,isOpen:!1,completion:null}):V(V({},t),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return V(V({},t),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return V(V({},t),{},{activeItemId:e.props.openOnFocus===!0?e.props.defaultActiveItemId:null,status:"idle",completion:null,query:""});case"focus":return V(V({},t),{},{activeItemId:e.props.defaultActiveItemId,isOpen:(e.props.openOnFocus||!!t.query)&&e.props.shouldPanelOpen({state:t})});case"blur":return e.props.debug?t:V(V({},t),{},{isOpen:!1,activeItemId:null});case"mouseleave":return V(V({},t),{},{activeItemId:e.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(e.type)," is not supported."),t}};function He(t){return He=typeof Symbol=="function"&&A(Symbol.iterator)=="symbol"?function(e){return A(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)},He(t)}function mo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function $t(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?mo(Object(n),!0).forEach(function(r){Sa(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Sa(t,e,n){return(e=function(r){var o=function(i){if(He(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var c=a.call(i,"string");if(He(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(r);return He(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oa(t){var e=[],n=function(b,l){var d,s=typeof window!="undefined"?window:{},S=b.plugins||[];return ne(ne({debug:!1,openOnFocus:!1,enterKeyHint:void 0,ignoreCompositionEvents:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:void 0,environment:s,shouldPanelOpen:function(g){return Zn(g.state)>0},reshape:function(g){return g.sources}},b),{},{id:(d=b.id)!==null&&d!==void 0?d:"autocomplete-".concat(Vi++),plugins:S,initialState:ne({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},b.initialState),onStateChange:function(g){var y;(y=b.onStateChange)===null||y===void 0||y.call(b,g),S.forEach(function(_){var v;return(v=_.onStateChange)===null||v===void 0?void 0:v.call(_,g)})},onSubmit:function(g){var y;(y=b.onSubmit)===null||y===void 0||y.call(b,g),S.forEach(function(_){var v;return(v=_.onSubmit)===null||v===void 0?void 0:v.call(_,g)})},onReset:function(g){var y;(y=b.onReset)===null||y===void 0||y.call(b,g),S.forEach(function(_){var v;return(v=_.onReset)===null||v===void 0?void 0:v.call(_,g)})},getSources:function(g){return Promise.all([].concat(function(y){return function(_){if(Array.isArray(_))return Ln(_)}(y)||function(_){if(typeof Symbol!="undefined"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}(y)||function(_,v){if(_){if(typeof _=="string")return Ln(_,v);var p=Object.prototype.toString.call(_).slice(8,-1);return p==="Object"&&_.constructor&&(p=_.constructor.name),p==="Map"||p==="Set"?Array.from(_):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?Ln(_,v):void 0}}(y)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}(S.map(function(y){return y.getSources})),[b.getSources]).filter(Boolean).map(function(y){return function(_,v){var p=[];return Promise.resolve(_(v)).then(function(h){return Promise.all(h.filter(function(P){return!!P}).map(function(P){if(P.sourceId,p.includes(P.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(P.sourceId)," is not unique."));p.push(P.sourceId);var E={getItemInputValue:function(N){return N.state.query},getItemUrl:function(){},onSelect:function(N){(0,N.setIsOpen)(!1)},onActive:hn,onResolve:hn};Object.keys(E).forEach(function(N){E[N].__default=!0});var C=Gr(Gr({},E),P);return Promise.resolve(C)}))})}(y,g)})).then(function(y){return Ke(y)}).then(function(y){return y.map(function(_){return ne(ne({},_),{},{onSelect:function(v){_.onSelect(v),l.forEach(function(p){var h;return(h=p.onSelect)===null||h===void 0?void 0:h.call(p,v)})},onActive:function(v){_.onActive(v),l.forEach(function(p){var h;return(h=p.onActive)===null||h===void 0?void 0:h.call(p,v)})},onResolve:function(v){_.onResolve(v),l.forEach(function(p){var h;return(h=p.onResolve)===null||h===void 0?void 0:h.call(p,v)})}})})})},navigator:ne({navigate:function(g){var y=g.itemUrl;s.location.assign(y)},navigateNewTab:function(g){var y=g.itemUrl,_=s.open(y,"_blank","noopener");_==null||_.focus()},navigateNewWindow:function(g){var y=g.itemUrl;s.open(y,"_blank","noopener")}},b.navigator)})}(t,e),r=function(b,l,d){var s,S=l.initialState;return{getState:function(){return S},dispatch:function(g,y){var _=function(v){for(var p=1;p<arguments.length;p++){var h=arguments[p]!=null?arguments[p]:{};p%2?Xr(Object(h),!0).forEach(function(P){ea(v,P,h[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(h)):Xr(Object(h)).forEach(function(P){Object.defineProperty(v,P,Object.getOwnPropertyDescriptor(h,P))})}return v}({},S);S=b(S,{type:g,props:l,payload:y}),d({state:S,prevState:_})},pendingRequests:(s=[],{add:function(g){return s.push(g),g.finally(function(){s=s.filter(function(y){return y!==g})})},cancelAll:function(){s.forEach(function(g){return g.cancel()})},isEmpty:function(){return s.length===0}})}}(ba,n,function(b){var l,d,s=b.prevState,S=b.state;if(n.onStateChange($t({prevState:s,state:S,refresh:a,navigator:n.navigator},o)),!f()&&(l=S.context)!==null&&l!==void 0&&(d=l.algoliaInsightsPlugin)!==null&&d!==void 0&&d.__automaticInsights&&n.insights!==!1){var g=zr({__autocomplete_clickAnalytics:!1});n.plugins.push(g),c([g])}}),o=function(b){var l=b.store;return{setActiveItemId:function(d){l.dispatch("setActiveItemId",d)},setQuery:function(d){l.dispatch("setQuery",d)},setCollections:function(d){var s=0,S=d.map(function(g){return un(un({},g),{},{items:Ke(g.items).map(function(y){return un(un({},y),{},{__autocomplete_id:s++})})})});l.dispatch("setCollections",S)},setIsOpen:function(d){l.dispatch("setIsOpen",d)},setStatus:function(d){l.dispatch("setStatus",d)},setContext:function(d){l.dispatch("setContext",d)}}}({store:r}),i=function(b){var l=b.props,d=b.refresh,s=b.store,S=oe(b,sa);return{getEnvironmentProps:function(g){var y=g.inputElement,_=g.formElement,v=g.panelElement;function p(h){!s.getState().isOpen&&s.pendingRequests.isEmpty()||h.target===y||[_,v].some(function(P){return(E=P)===(C=h.target)||E.contains(C);var E,C})===!1&&(s.dispatch("blur",null),l.debug||s.pendingRequests.cancelAll())}return it({onTouchStart:p,onMouseDown:p,onTouchMove:function(h){s.getState().isOpen!==!1&&y===l.environment.document.activeElement&&h.target!==y&&y.blur()}},oe(g,fa))},getRootProps:function(g){return it({role:"combobox","aria-expanded":s.getState().isOpen,"aria-haspopup":"listbox","aria-controls":s.getState().isOpen?s.getState().collections.map(function(y){var _=y.source;return bt(l.id,"list",_)}).join(" "):void 0,"aria-labelledby":bt(l.id,"label")},g)},getFormProps:function(g){return g.inputElement,it({action:"",noValidate:!0,role:"search",onSubmit:function(y){var _;y.preventDefault(),l.onSubmit(it({event:y,refresh:d,state:s.getState()},S)),s.dispatch("submit",null),(_=g.inputElement)===null||_===void 0||_.blur()},onReset:function(y){var _;y.preventDefault(),l.onReset(it({event:y,refresh:d,state:s.getState()},S)),s.dispatch("reset",null),(_=g.inputElement)===null||_===void 0||_.focus()}},oe(g,ma))},getLabelProps:function(g){return it({htmlFor:bt(l.id,"input"),id:bt(l.id,"label")},g)},getInputProps:function(g){var y;function _(I){(l.openOnFocus||s.getState().query)&&Jt(it({event:I,props:l,query:s.getState().completion||s.getState().query,refresh:d,store:s},S)),s.dispatch("focus",null)}var v=g||{};v.inputElement;var p=v.maxLength,h=p===void 0?512:p,P=oe(v,pa),E=Yt(s.getState()),C=function(I){return!!(I&&I.match(ta))}(((y=l.environment.navigator)===null||y===void 0?void 0:y.userAgent)||""),N=l.enterKeyHint||(E!=null&&E.itemUrl&&!C?"go":"search");return it({"aria-autocomplete":"both","aria-activedescendant":s.getState().isOpen&&s.getState().activeItemId!==null?bt(l.id,"item-".concat(s.getState().activeItemId),E==null?void 0:E.source):void 0,"aria-controls":s.getState().isOpen?s.getState().collections.map(function(I){var x=I.source;return bt(l.id,"list",x)}).join(" "):void 0,"aria-labelledby":bt(l.id,"label"),value:s.getState().completion||s.getState().query,id:bt(l.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:N,spellCheck:"false",autoFocus:l.autoFocus,placeholder:l.placeholder,maxLength:h,type:"search",onChange:function(I){var x=I.currentTarget.value;l.ignoreCompositionEvents&&Yr(I).isComposing?S.setQuery(x):Jt(it({event:I,props:l,query:x.slice(0,h),refresh:d,store:s},S))},onCompositionEnd:function(I){Jt(it({event:I,props:l,query:I.currentTarget.value.slice(0,h),refresh:d,store:s},S))},onKeyDown:function(I){Yr(I).isComposing||function(x){var k=x.event,U=x.props,z=x.refresh,q=x.store,ot=function(K,J){if(K==null)return{};var G,st,tt=function(Et,Vt){if(Et==null)return{};var jt,Xt,qt={},$e=Object.keys(Et);for(Xt=0;Xt<$e.length;Xt++)jt=$e[Xt],Vt.indexOf(jt)>=0||(qt[jt]=Et[jt]);return qt}(K,J);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(K);for(st=0;st<de.length;st++)G=de[st],J.indexOf(G)>=0||Object.prototype.propertyIsEnumerable.call(K,G)&&(tt[G]=K[G])}return tt}(x,ca);if(k.key==="ArrowUp"||k.key==="ArrowDown"){var O=function(){var K=Yt(q.getState()),J=U.environment.document.getElementById(bt(U.id,"item-".concat(q.getState().activeItemId),K==null?void 0:K.source));J&&(J.scrollIntoViewIfNeeded?J.scrollIntoViewIfNeeded(!1):J.scrollIntoView(!1))},w=function(){var K=Yt(q.getState());if(q.getState().activeItemId!==null&&K){var J=K.item,G=K.itemInputValue,st=K.itemUrl,tt=K.source;tt.onActive(Qt({event:k,item:J,itemInputValue:G,itemUrl:st,refresh:z,source:tt,state:q.getState()},ot))}};k.preventDefault(),q.getState().isOpen===!1&&(U.openOnFocus||q.getState().query)?Jt(Qt({event:k,props:U,query:q.getState().query,refresh:z,store:q},ot)).then(function(){q.dispatch(k.key,{nextActiveItemId:U.defaultActiveItemId}),w(),setTimeout(O,0)}):(q.dispatch(k.key,{}),w(),O())}else if(k.key==="Escape")k.preventDefault(),q.dispatch(k.key,null),q.pendingRequests.cancelAll();else if(k.key==="Tab")q.dispatch("blur",null),q.pendingRequests.cancelAll();else if(k.key==="Enter"){if(q.getState().activeItemId===null||q.getState().collections.every(function(K){return K.items.length===0}))return void(U.debug||q.pendingRequests.cancelAll());k.preventDefault();var j=Yt(q.getState()),R=j.item,D=j.itemInputValue,L=j.itemUrl,W=j.source;if(k.metaKey||k.ctrlKey)L!==void 0&&(W.onSelect(Qt({event:k,item:R,itemInputValue:D,itemUrl:L,refresh:z,source:W,state:q.getState()},ot)),U.navigator.navigateNewTab({itemUrl:L,item:R,state:q.getState()}));else if(k.shiftKey)L!==void 0&&(W.onSelect(Qt({event:k,item:R,itemInputValue:D,itemUrl:L,refresh:z,source:W,state:q.getState()},ot)),U.navigator.navigateNewWindow({itemUrl:L,item:R,state:q.getState()}));else if(!k.altKey){if(L!==void 0)return W.onSelect(Qt({event:k,item:R,itemInputValue:D,itemUrl:L,refresh:z,source:W,state:q.getState()},ot)),void U.navigator.navigate({itemUrl:L,item:R,state:q.getState()});Jt(Qt({event:k,nextState:{isOpen:!1},props:U,query:D,refresh:z,store:q},ot)).then(function(){W.onSelect(Qt({event:k,item:R,itemInputValue:D,itemUrl:L,refresh:z,source:W,state:q.getState()},ot))})}}}(it({event:I,props:l,refresh:d,store:s},S))},onFocus:_,onBlur:hn,onClick:function(I){g.inputElement!==l.environment.document.activeElement||s.getState().isOpen||_(I)}},P)},getPanelProps:function(g){return it({onMouseDown:function(y){y.preventDefault()},onMouseLeave:function(){s.dispatch("mouseleave",null)}},g)},getListProps:function(g){var y=g||{},_=y.source,v=oe(y,va);return it({role:"listbox","aria-labelledby":bt(l.id,"label"),id:bt(l.id,"list",_)},v)},getItemProps:function(g){var y=g.item,_=g.source,v=oe(g,ha);return it({id:bt(l.id,"item-".concat(y.__autocomplete_id),_),role:"option","aria-selected":s.getState().activeItemId===y.__autocomplete_id,onMouseMove:function(p){if(y.__autocomplete_id!==s.getState().activeItemId){s.dispatch("mousemove",y.__autocomplete_id);var h=Yt(s.getState());if(s.getState().activeItemId!==null&&h){var P=h.item,E=h.itemInputValue,C=h.itemUrl,N=h.source;N.onActive(it({event:p,item:P,itemInputValue:E,itemUrl:C,refresh:d,source:N,state:s.getState()},S))}}},onMouseDown:function(p){p.preventDefault()},onClick:function(p){var h=_.getItemInputValue({item:y,state:s.getState()}),P=_.getItemUrl({item:y,state:s.getState()});(P?Promise.resolve():Jt(it({event:p,nextState:{isOpen:!1},props:l,query:h,refresh:d,store:s},S))).then(function(){_.onSelect(it({event:p,item:y,itemInputValue:h,itemUrl:P,refresh:d,source:_,state:s.getState()},S))})}},v)}}}($t({props:n,refresh:a,store:r,navigator:n.navigator},o));function a(){return Jt($t({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,navigator:n.navigator,query:r.getState().query,refresh:a,store:r},o))}function c(b){b.forEach(function(l){var d;return(d=l.subscribe)===null||d===void 0?void 0:d.call(l,$t($t({},o),{},{navigator:n.navigator,refresh:a,onSelect:function(s){e.push({onSelect:s})},onActive:function(s){e.push({onActive:s})},onResolve:function(s){e.push({onResolve:s})}}))})}function f(){return n.plugins.some(function(b){return b.name==="aa.algoliaInsightsPlugin"})}if(n.insights&&!f()){var m=typeof n.insights=="boolean"?{}:n.insights;n.plugins.push(zr(m))}return c(n.plugins),function(b){var l,d,s=b.metadata,S=b.environment;if(!((l=S.navigator)===null||l===void 0||(d=l.userAgent)===null||d===void 0)&&d.includes("Algolia Crawler")){var g=S.document.createElement("meta"),y=S.document.querySelector("head");g.name="algolia:metadata",setTimeout(function(){g.content=JSON.stringify(s),y.appendChild(g)},0)}}({metadata:_a({plugins:n.plugins,options:t}),environment:n.environment}),$t($t({refresh:a,navigator:n.navigator},i),o)}function wa(t){var e=t.translations,n=(e===void 0?{}:e).searchByText,r=n===void 0?"Search by":n;return u.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},u.createElement("span",{className:"DocSearch-Label"},r),u.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},u.createElement("defs",null,u.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),u.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),u.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),u.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),u.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),u.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),u.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),u.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),u.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),u.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function fn(t){return u.createElement("svg",{width:"15",height:"15","aria-label":t.ariaLabel,role:"img"},u.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},t.children))}function Ea(t){var e=t.translations,n=e===void 0?{}:e,r=n.selectText,o=r===void 0?"to select":r,i=n.selectKeyAriaLabel,a=i===void 0?"Enter key":i,c=n.navigateText,f=c===void 0?"to navigate":c,m=n.navigateUpKeyAriaLabel,b=m===void 0?"Arrow up":m,l=n.navigateDownKeyAriaLabel,d=l===void 0?"Arrow down":l,s=n.closeText,S=s===void 0?"to close":s,g=n.closeKeyAriaLabel,y=g===void 0?"Escape key":g,_=n.searchByText,v=_===void 0?"Search by":_;return u.createElement(u.Fragment,null,u.createElement("div",{className:"DocSearch-Logo"},u.createElement(wa,{translations:{searchByText:v}})),u.createElement("ul",{className:"DocSearch-Commands"},u.createElement("li",null,u.createElement("kbd",{className:"DocSearch-Commands-Key"},u.createElement(fn,{ariaLabel:a},u.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),u.createElement("span",{className:"DocSearch-Label"},o)),u.createElement("li",null,u.createElement("kbd",{className:"DocSearch-Commands-Key"},u.createElement(fn,{ariaLabel:d},u.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),u.createElement("kbd",{className:"DocSearch-Commands-Key"},u.createElement(fn,{ariaLabel:b},u.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),u.createElement("span",{className:"DocSearch-Label"},f)),u.createElement("li",null,u.createElement("kbd",{className:"DocSearch-Commands-Key"},u.createElement(fn,{ariaLabel:y},u.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),u.createElement("span",{className:"DocSearch-Label"},S))))}function ja(t){var e=t.hit,n=t.children;return u.createElement("a",{href:e.url},n)}function Pa(){return u.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},u.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),u.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},u.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function Ia(){return u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},u.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},u.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),u.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function Gn(){return u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},u.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function ka(){return u.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},u.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},u.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),u.createElement("path",{d:"M8 17l-6-6 6-6"})))}var Da=function(){return u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},u.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function Ca(t){switch(t.type){case"lvl1":return u.createElement(Da,null);case"content":return u.createElement(Aa,null);default:return u.createElement(xa,null)}}function xa(){return u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},u.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Aa(){return u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},u.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function po(){return u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},u.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Na(){return u.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},u.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function Ta(){return u.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},u.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function Ra(t){var e=t.translations,n=e===void 0?{}:e,r=n.titleText,o=r===void 0?"Unable to fetch results":r,i=n.helpText,a=i===void 0?"You might want to check your network connection.":i;return u.createElement("div",{className:"DocSearch-ErrorScreen"},u.createElement("div",{className:"DocSearch-Screen-Icon"},u.createElement(Na,null)),u.createElement("p",{className:"DocSearch-Title"},o),u.createElement("p",{className:"DocSearch-Help"},a))}var La=["translations"];function qa(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,La),o=n.noResultsText,i=o===void 0?"No results for":o,a=n.suggestedQueryText,c=a===void 0?"Try searching for":a,f=n.reportMissingResultsText,m=f===void 0?"Believe this query should return results?":f,b=n.reportMissingResultsLinkText,l=b===void 0?"Let us know.":b,d=r.state.context.searchSuggestions;return u.createElement("div",{className:"DocSearch-NoResults"},u.createElement("div",{className:"DocSearch-Screen-Icon"},u.createElement(Ta,null)),u.createElement("p",{className:"DocSearch-Title"},i,' "',u.createElement("strong",null,r.state.query),'"'),d&&d.length>0&&u.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},u.createElement("p",{className:"DocSearch-Help"},c,":"),u.createElement("ul",null,d.slice(0,3).reduce(function(s,S){return[].concat(je(s),[u.createElement("li",{key:S},u.createElement("button",{className:"DocSearch-Prefill",key:S,type:"button",onClick:function(){r.setQuery(S.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},S))])},[]))),r.getMissingResultsUrl&&u.createElement("p",{className:"DocSearch-Help"},"".concat(m," "),u.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},l)))}var Ma=["hit","attribute","tagName"];function vo(t,e){return e.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},t)}function ie(t){var e=t.hit,n=t.attribute,r=t.tagName;return Dt(r===void 0?"span":r,B(B({},xt(t,Ma)),{},{dangerouslySetInnerHTML:{__html:vo(e,"_snippetResult.".concat(n,".value"))||vo(e,n)}}))}function Yn(t){return t.collection&&t.collection.items.length!==0?u.createElement("section",{className:"DocSearch-Hits"},u.createElement("div",{className:"DocSearch-Hit-source"},t.title),u.createElement("ul",t.getListProps(),t.collection.items.map(function(e,n){return u.createElement(Ha,lt({key:[t.title,e.objectID].join(":"),item:e,index:n},t))}))):null}function Ha(t){var e=t.item,n=t.index,r=t.renderIcon,o=t.renderAction,i=t.getItemProps,a=t.onItemClick,c=t.collection,f=t.hitComponent,m=ht(u.useState(!1),2),b=m[0],l=m[1],d=ht(u.useState(!1),2),s=d[0],S=d[1],g=u.useRef(null),y=f;return u.createElement("li",lt({className:["DocSearch-Hit",e.__docsearch_parent&&"DocSearch-Hit--Child",b&&"DocSearch-Hit--deleting",s&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){g.current&&g.current()}},i({item:e,source:c.source,onClick:function(_){a(e,_)}})),u.createElement(y,{hit:e},u.createElement("div",{className:"DocSearch-Hit-Container"},r({item:e,index:n}),e.hierarchy[e.type]&&e.type==="lvl1"&&u.createElement("div",{className:"DocSearch-Hit-content-wrapper"},u.createElement(ie,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.lvl1"}),e.content&&u.createElement(ie,{className:"DocSearch-Hit-path",hit:e,attribute:"content"})),e.hierarchy[e.type]&&(e.type==="lvl2"||e.type==="lvl3"||e.type==="lvl4"||e.type==="lvl5"||e.type==="lvl6")&&u.createElement("div",{className:"DocSearch-Hit-content-wrapper"},u.createElement(ie,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.".concat(e.type)}),u.createElement(ie,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),e.type==="content"&&u.createElement("div",{className:"DocSearch-Hit-content-wrapper"},u.createElement(ie,{className:"DocSearch-Hit-title",hit:e,attribute:"content"}),u.createElement(ie,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),o({item:e,runDeleteTransition:function(_){l(!0),g.current=_},runFavoriteTransition:function(_){S(!0),g.current=_}}))))}function ho(t,e,n){return t.reduce(function(r,o){var i=e(o);return r.hasOwnProperty(i)||(r[i]=[]),r[i].length<(n||5)&&r[i].push(o),r},{})}function yo(t){return t}function mn(t){return t.button===1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}function Ua(){}var ui=/(<mark>|<\/mark>)/g,Fa=RegExp(ui.source);function ci(t){var e,n,r=t;if(!r.__docsearch_parent&&!t._highlightResult)return t.hierarchy.lvl0;var o=r.__docsearch_parent?(e=r.__docsearch_parent)===null||e===void 0||(e=e._highlightResult)===null||e===void 0||(e=e.hierarchy)===null||e===void 0?void 0:e.lvl0:(n=t._highlightResult)===null||n===void 0||(n=n.hierarchy)===null||n===void 0?void 0:n.lvl0;return o?o.value&&Fa.test(o.value)?o.value.replace(ui,""):o.value:t.hierarchy.lvl0}function Ba(t){return u.createElement("div",{className:"DocSearch-Dropdown-Container"},t.state.collections.map(function(e){if(e.items.length===0)return null;var n=ci(e.items[0]);return u.createElement(Yn,lt({},t,{key:e.source.sourceId,title:n,collection:e,renderIcon:function(r){var o,i=r.item,a=r.index;return u.createElement(u.Fragment,null,i.__docsearch_parent&&u.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},u.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},i.__docsearch_parent!==((o=e.items[a+1])===null||o===void 0?void 0:o.__docsearch_parent)?u.createElement("path",{d:"M8 6v21M20 27H8.3"}):u.createElement("path",{d:"M8 6v42M20 27H8.3"}))),u.createElement("div",{className:"DocSearch-Hit-icon"},u.createElement(Ca,{type:i.type})))},renderAction:function(){return u.createElement("div",{className:"DocSearch-Hit-action"},u.createElement(ka,null))}}))}),t.resultsFooterComponent&&u.createElement("section",{className:"DocSearch-HitsFooter"},u.createElement(t.resultsFooterComponent,{state:t.state})))}var Va=["translations"];function Ka(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,Va),o=n.recentSearchesTitle,i=o===void 0?"Recent":o,a=n.noRecentSearchesText,c=a===void 0?"No recent searches":a,f=n.saveRecentSearchButtonTitle,m=f===void 0?"Save this search":f,b=n.removeRecentSearchButtonTitle,l=b===void 0?"Remove this search from history":b,d=n.favoriteSearchesTitle,s=d===void 0?"Favorite":d,S=n.removeFavoriteSearchButtonTitle,g=S===void 0?"Remove this search from favorites":S;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:u.createElement("div",{className:"DocSearch-StartScreen"},u.createElement("p",{className:"DocSearch-Help"},c)):r.hasCollections===!1?null:u.createElement("div",{className:"DocSearch-Dropdown-Container"},u.createElement(Yn,lt({},r,{title:i,collection:r.state.collections[0],renderIcon:function(){return u.createElement("div",{className:"DocSearch-Hit-icon"},u.createElement(Ia,null))},renderAction:function(y){var _=y.item,v=y.runFavoriteTransition,p=y.runDeleteTransition;return u.createElement(u.Fragment,null,u.createElement("div",{className:"DocSearch-Hit-action"},u.createElement("button",{className:"DocSearch-Hit-action-button",title:m,type:"submit",onClick:function(h){h.preventDefault(),h.stopPropagation(),v(function(){r.favoriteSearches.add(_),r.recentSearches.remove(_),r.refresh()})}},u.createElement(po,null))),u.createElement("div",{className:"DocSearch-Hit-action"},u.createElement("button",{className:"DocSearch-Hit-action-button",title:l,type:"submit",onClick:function(h){h.preventDefault(),h.stopPropagation(),p(function(){r.recentSearches.remove(_),r.refresh()})}},u.createElement(Gn,null))))}})),u.createElement(Yn,lt({},r,{title:s,collection:r.state.collections[1],renderIcon:function(){return u.createElement("div",{className:"DocSearch-Hit-icon"},u.createElement(po,null))},renderAction:function(y){var _=y.item,v=y.runDeleteTransition;return u.createElement("div",{className:"DocSearch-Hit-action"},u.createElement("button",{className:"DocSearch-Hit-action-button",title:g,type:"submit",onClick:function(p){p.preventDefault(),p.stopPropagation(),v(function(){r.favoriteSearches.remove(_),r.refresh()})}},u.createElement(Gn,null)))}})))}var Wa=["translations"],za=u.memo(function(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,Wa);if(r.state.status==="error")return u.createElement(Ra,{translations:n==null?void 0:n.errorScreen});var o=r.state.collections.some(function(i){return i.items.length>0});return r.state.query?o===!1?u.createElement(qa,lt({},r,{translations:n==null?void 0:n.noResultsScreen})):u.createElement(Ba,r):u.createElement(Ka,lt({},r,{hasCollections:o,translations:n==null?void 0:n.startScreen}))},function(t,e){return e.state.status==="loading"||e.state.status==="stalled"}),Ja=["translations"];function Qa(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,Ja),o=n.resetButtonTitle,i=o===void 0?"Clear the query":o,a=n.resetButtonAriaLabel,c=a===void 0?"Clear the query":a,f=n.cancelButtonText,m=f===void 0?"Cancel":f,b=n.cancelButtonAriaLabel,l=b===void 0?"Cancel":b,d=n.searchInputLabel,s=d===void 0?"Search":d,S=r.getFormProps({inputElement:r.inputRef.current}).onReset;return u.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),u.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),u.createElement(u.Fragment,null,u.createElement("form",{className:"DocSearch-Form",onSubmit:function(g){g.preventDefault()},onReset:S},u.createElement("label",lt({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),u.createElement(Xo,null),u.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},s)),u.createElement("div",{className:"DocSearch-LoadingIndicator"},u.createElement(Pa,null)),u.createElement("input",lt({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),u.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":c,hidden:!r.state.query},u.createElement(Gn,null))),u.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":l,onClick:r.onClose},m))}var $a=["_highlightResult","_snippetResult"];function _o(t){var e=t.key,n=t.limit,r=n===void 0?5:n,o=function(a){return function(){var c="__TEST_KEY__";try{return localStorage.setItem(c,""),localStorage.removeItem(c),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(c){return window.localStorage.setItem(a,JSON.stringify(c))},getItem:function(){var c=window.localStorage.getItem(a);return c?JSON.parse(c):[]}}}(e),i=o.getItem().slice(0,r);return{add:function(a){var c=a;c._highlightResult,c._snippetResult;var f=xt(c,$a),m=i.findIndex(function(b){return b.objectID===f.objectID});m>-1&&i.splice(m,1),i.unshift(f),i=i.slice(0,r),o.setItem(i)},remove:function(a){i=i.filter(function(c){return c.objectID!==a.objectID}),o.setItem(i)},getAll:function(){return i}}}function Za(t){var e,n="algolia-client-js-".concat(t.key);function r(){return e===void 0&&(e=t.localStorage||window.localStorage),e}function o(){return JSON.parse(r().getItem(n)||"{}")}function i(a){r().setItem(n,JSON.stringify(a))}return{get:function(a,c){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var m,b,l;return m=t.timeToLive?1e3*t.timeToLive:null,b=o(),i(l=Object.fromEntries(Object.entries(b).filter(function(d){return ht(d,2)[1].timestamp!==void 0}))),m&&i(Object.fromEntries(Object.entries(l).filter(function(d){var s=ht(d,2)[1],S=new Date().getTime();return!(s.timestamp+m<S)}))),o()[JSON.stringify(a)]}).then(function(m){return Promise.all([m?m.value:c(),m!==void 0])}).then(function(m){var b=ht(m,2),l=b[0],d=b[1];return Promise.all([l,d||f.miss(l)])}).then(function(m){return ht(m,1)[0]})},set:function(a,c){return Promise.resolve().then(function(){var f=o();return f[JSON.stringify(a)]={timestamp:new Date().getTime(),value:c},r().setItem(n,JSON.stringify(f)),c})},delete:function(a){return Promise.resolve().then(function(){var c=o();delete c[JSON.stringify(a)],r().setItem(n,JSON.stringify(c))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function we(t){var e=je(t.caches),n=e.shift();return n===void 0?{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(a){return Promise.all([a,i.miss(a)])}).then(function(a){return ht(a,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,i).catch(function(){return we({caches:e}).get(r,o,i)})},set:function(r,o){return n.set(r,o).catch(function(){return we({caches:e}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return we({caches:e}).delete(r)})},clear:function(){return n.clear().catch(function(){return we({caches:e}).clear()})}}}function Hn(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},e={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in e)return Promise.resolve(t.serializable?JSON.parse(e[i]):e[i]);var a=r();return a.then(function(c){return o.miss(c)}).then(function(){return a})},set:function(n,r){return e[JSON.stringify(n)]=t.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete e[JSON.stringify(n)],Promise.resolve()},clear:function(){return e={},Promise.resolve()}}}function Ga(t){var e=t.algoliaAgents,n=t.client,r=t.version,o=function(i){var a={value:"Algolia for JavaScript (".concat(i,")"),add:function(c){var f="; ".concat(c.segment).concat(c.version!==void 0?" (".concat(c.version,")"):"");return a.value.indexOf(f)===-1&&(a.value="".concat(a.value).concat(f)),a}};return a}(r).add({segment:n,version:r});return e.forEach(function(i){return o.add(i)}),o}var go=12e4;function bo(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"up",n=Date.now();return B(B({},t),{},{status:e,lastUpdate:n,isUp:function(){return e==="up"||Date.now()-n>go},isTimedOut:function(){return e==="timed out"&&Date.now()-n<=go}})}var li=function(){function t(e,n){var r;return me(this,t),ve(r=fe(this,t,[e]),"name","AlgoliaError"),n&&(r.name=n),r}return he(t,$n(Error)),pe(t)}(),si=function(){function t(e,n,r){var o;return me(this,t),ve(o=fe(this,t,[e,r]),"stackTrace",void 0),o.stackTrace=n,o}return he(t,li),pe(t)}(),Ya=function(){function t(e){return me(this,t),fe(this,t,["Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",e,"RetryError"])}return he(t,si),pe(t)}(),Xn=function(){function t(e,n,r){var o,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"ApiError";return me(this,t),ve(o=fe(this,t,[e,r,i]),"status",void 0),o.status=n,o}return he(t,si),pe(t)}(),Xa=function(){function t(e,n){var r;return me(this,t),ve(r=fe(this,t,[e,"DeserializationError"]),"response",void 0),r.response=n,r}return he(t,li),pe(t)}(),tu=function(){function t(e,n,r,o){var i;return me(this,t),ve(i=fe(this,t,[e,n,o,"DetailedApiError"]),"error",void 0),i.error=r,i}return he(t,Xn),pe(t)}();function eu(t,e,n){var r,o=(r=n,Object.keys(r).filter(function(a){return r[a]!==void 0}).sort().map(function(a){return"".concat(a,"=").concat(encodeURIComponent(Object.prototype.toString.call(r[a])==="[object Array]"?r[a].join(","):r[a]).replace(/\+/g,"%20"))}).join("&")),i="".concat(t.protocol,"://").concat(t.url).concat(t.port?":".concat(t.port):"","/").concat(e.charAt(0)==="/"?e.substring(1):e);return o.length&&(i+="?".concat(o)),i}function nu(t,e){if(t.method!=="GET"&&(t.data!==void 0||e.data!==void 0)){var n=Array.isArray(t.data)?t.data:B(B({},t.data),e.data);return JSON.stringify(n)}}function ru(t,e,n){var r=B(B(B({Accept:"application/json"},t),e),n),o={};return Object.keys(r).forEach(function(i){var a=r[i];o[i.toLowerCase()]=a}),o}function ou(t){try{return JSON.parse(t.content)}catch(e){throw new Xa(e.message,t)}}function iu(t,e){var n=t.content,r=t.status;try{var o=JSON.parse(n);return"error"in o?new tu(o.message,r,o.error,e):new Xn(o.message,r,e)}catch{}return new Xn(n,r,e)}function au(t){return t.map(function(e){return fi(e)})}function fi(t){var e=t.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return B(B({},t),{},{request:B(B({},t.request),{},{headers:B(B({},t.request.headers),e)})})}var uu=["appId","apiKey","authMode","algoliaAgents"],cu=["params"],So="5.12.0";function lu(t){return[{url:"".concat(t,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(t,".algolia.net"),accept:"write",protocol:"https"}].concat(function(e){for(var n=e,r=e.length-1;r>0;r--){var o=Math.floor(Math.random()*(r+1)),i=e[r];n[r]=e[o],n[o]=i}return n}([{url:"".concat(t,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(t,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(t,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))}var tr="3.8.0",su=["footer","searchBox"];function fu(t){var e=t.appId,n=t.apiKey,r=t.indexName,o=t.placeholder,i=o===void 0?"Search docs":o,a=t.searchParameters,c=t.maxResultsPerGroup,f=t.onClose,m=f===void 0?Ua:f,b=t.transformItems,l=b===void 0?yo:b,d=t.hitComponent,s=d===void 0?ja:d,S=t.resultsFooterComponent,g=S===void 0?function(){return null}:S,y=t.navigator,_=t.initialScrollY,v=_===void 0?0:_,p=t.transformSearchClient,h=p===void 0?yo:p,P=t.disableUserPersonalization,E=P!==void 0&&P,C=t.initialQuery,N=C===void 0?"":C,I=t.translations,x=I===void 0?{}:I,k=t.getMissingResultsUrl,U=t.insights,z=U!==void 0&&U,q=x.footer,ot=x.searchBox,O=xt(x,su),w=ht(u.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),j=w[0],R=w[1],D=u.useRef(null),L=u.useRef(null),W=u.useRef(null),K=u.useRef(null),J=u.useRef(null),G=u.useRef(10),st=u.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,tt=u.useRef(N||st).current,de=function(F,Q,at){return u.useMemo(function(){var mt=function(dt,_t){if(!dt||typeof dt!="string")throw new Error("`appId` is missing.");if(!_t||typeof _t!="string")throw new Error("`apiKey` is missing.");return function(M){var et=M.appId,X=M.apiKey,Pt=M.authMode,Mt=M.algoliaAgents,It=xt(M,uu),St=function(T,$){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"WithinHeaders",yt={"x-algolia-api-key":$,"x-algolia-application-id":T};return{headers:function(){return nt==="WithinHeaders"?yt:{}},queryParameters:function(){return nt==="WithinQueryParameters"?yt:{}}}}(et,X,Pt),pt=function(T){var $=T.hosts,nt=T.hostsCache,yt=T.baseHeaders,kt=T.logger,Ht=T.baseQueryParameters,Kt=T.algoliaAgent,sr=T.timeouts,fr=T.requester,ye=T.requestsCache,bn=T.responsesCache;function yi(gt){return mr.apply(this,arguments)}function mr(){return(mr=An(Zt().mark(function gt(ut){var rt,At,ct,vt,Ut;return Zt().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.next=2,Promise.all(ut.map(function(ft){return nt.get(ft,function(){return Promise.resolve(bo(ft))})}));case 2:return rt=Nt.sent,At=rt.filter(function(ft){return ft.isUp()}),ct=rt.filter(function(ft){return ft.isTimedOut()}),vt=[].concat(je(At),je(ct)),Ut=vt.length>0?vt:ut,Nt.abrupt("return",{hosts:Ut,getTimeout:function(ft,te){return(ct.length===0&&ft===0?1:ct.length+3+ft)*te}});case 8:case"end":return Nt.stop()}},gt)}))).apply(this,arguments)}function pr(gt,ut){return Sn.apply(this,arguments)}function Sn(){return Sn=An(Zt().mark(function gt(ut,rt){var At,ct,vt,Ut,Nt,ft,te,On,Wt,Ze,wn,vr,En,jn=arguments;return Zt().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(At=!(jn.length>2&&jn[2]!==void 0)||jn[2],ct=[],vt=nu(ut,rt),Ut=ru(yt,ut.headers,rt.headers),Nt=ut.method==="GET"?B(B({},ut.data),rt.data):{},ft=B(B(B({},Ht),ut.queryParameters),Nt),Kt.value&&(ft["x-algolia-agent"]=Kt.value),rt&&rt.queryParameters)for(te=0,On=Object.keys(rt.queryParameters);te<On.length;te++)Wt=On[te],rt.queryParameters[Wt]&&Object.prototype.toString.call(rt.queryParameters[Wt])!=="[object Object]"?ft[Wt]=rt.queryParameters[Wt].toString():ft[Wt]=rt.queryParameters[Wt];return Ze=0,wn=function(){var _e=An(Zt().mark(function hr(Ge,Pn){var ge,Ye,In,kn,Ft,dr;return Zt().wrap(function(Ot){for(;;)switch(Ot.prev=Ot.next){case 0:if((ge=Ge.pop())!==void 0){Ot.next=3;break}throw new Ya(au(ct));case 3:return Ye=B(B({},sr),rt.timeouts),In={data:vt,headers:Ut,method:ut.method,url:eu(ge,ut.path,ft),connectTimeout:Pn(Ze,Ye.connect),responseTimeout:Pn(Ze,At?Ye.read:Ye.write)},kn=function(tn){var _r={request:In,response:tn,host:ge,triesLeft:Ge.length};return ct.push(_r),_r},Ot.next=8,fr.send(In);case 8:if(Dn=(yr=Ft=Ot.sent).isTimedOut,Xe=yr.status,!(Dn||function(tn){return!tn.isTimedOut&&!~~tn.status}({isTimedOut:Dn,status:Xe})||~~(Xe/100)!=2&&~~(Xe/100)!=4)){Ot.next=16;break}return dr=kn(Ft),Ft.isTimedOut&&Ze++,kt.info("Retryable failure",fi(dr)),Ot.next=15,nt.set(ge,bo(ge,Ft.isTimedOut?"timed out":"down"));case 15:return Ot.abrupt("return",wn(Ge,Pn));case 16:if(~~(Ft.status/100)!=2){Ot.next=18;break}return Ot.abrupt("return",ou(Ft));case 18:throw kn(Ft),iu(Ft,ct);case 20:case"end":return Ot.stop()}var yr,Dn,Xe},hr)}));return function(hr,Ge){return _e.apply(this,arguments)}}(),vr=$.filter(function(_e){return _e.accept==="readWrite"||(At?_e.accept==="read":_e.accept==="write")}),ee.next=13,yi(vr);case 13:return En=ee.sent,ee.abrupt("return",wn(je(En.hosts).reverse(),En.getTimeout));case 15:case"end":return ee.stop()}},gt)})),Sn.apply(this,arguments)}return{hostsCache:nt,requester:fr,timeouts:sr,logger:kt,algoliaAgent:Kt,baseHeaders:yt,baseQueryParameters:Ht,hosts:$,request:function(gt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},rt=gt.useReadTransporter||gt.method==="GET";if(!rt)return pr(gt,ut,rt);var At=function(){return pr(gt,ut)};if((ut.cacheable||gt.cacheable)!==!0)return At();var ct={request:gt,requestOptions:ut,transporter:{queryParameters:Ht,headers:yt}};return bn.get(ct,function(){return ye.get(ct,function(){return ye.set(ct,At()).then(function(vt){return Promise.all([ye.delete(ct),vt])},function(vt){return Promise.all([ye.delete(ct),Promise.reject(vt)])}).then(function(vt){var Ut=ht(vt,2);return Ut[0],Ut[1]})})},{miss:function(vt){return bn.set(ct,vt)}})},requestsCache:ye,responsesCache:bn}}(B(B({hosts:lu(et)},It),{},{algoliaAgent:Ga({algoliaAgents:Mt,client:"Lite",version:So}),baseHeaders:B(B({"content-type":"text/plain"},St.headers()),It.baseHeaders),baseQueryParameters:B(B({},St.queryParameters()),It.baseQueryParameters)}));return{transporter:pt,appId:et,clearCache:function(){return Promise.all([pt.requestsCache.clear(),pt.responsesCache.clear()]).then(function(){})},get _ua(){return pt.algoliaAgent.value},addAlgoliaAgent:function(T,$){pt.algoliaAgent.add({segment:T,version:$})},setClientApiKey:function(T){var $=T.apiKey;Pt&&Pt!=="WithinHeaders"?pt.baseQueryParameters["x-algolia-api-key"]=$:pt.baseHeaders["x-algolia-api-key"]=$},searchForHits:function(T,$){return this.search(T,$)},searchForFacets:function(T,$){return this.search(T,$)},customPost:function(T,$){var nt=T.path,yt=T.parameters,kt=T.body;if(!nt)throw new Error("Parameter `path` is required when calling `customPost`.");var Ht={method:"POST",path:"/{path}".replace("{path}",nt),queryParameters:yt||{},headers:{},data:kt||{}};return pt.request(Ht,$)},getRecommendations:function(T,$){if(T&&Array.isArray(T)&&(T={requests:T}),!T)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!T.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var nt={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:T,useReadTransporter:!0,cacheable:!0};return pt.request(nt,$)},search:function(T,$){if(T&&Array.isArray(T)){var nt={requests:T.map(function(kt){var Ht=kt.params,Kt=xt(kt,cu);return Kt.type==="facet"?B(B(B({},Kt),Ht),{},{type:"facet"}):B(B(B({},Kt),Ht),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})})};T=nt}if(!T)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!T.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var yt={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:T,useReadTransporter:!0,cacheable:!0};return pt.request(yt,$)}}}(B({appId:dt,apiKey:_t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(M,et){return Promise.resolve()},info:function(M,et){return Promise.resolve()},error:function(M,et){return Promise.resolve()}},requester:{send:function(M){return new Promise(function(et){var X=new XMLHttpRequest;X.open(M.method,M.url,!0),Object.keys(M.headers).forEach(function(St){return X.setRequestHeader(St,M.headers[St])});var Pt,Mt=function(St,pt){return setTimeout(function(){X.abort(),et({status:0,content:pt,isTimedOut:!0})},St)},It=Mt(M.connectTimeout,"Connection timeout");X.onreadystatechange=function(){X.readyState>X.OPENED&&Pt===void 0&&(clearTimeout(It),Pt=Mt(M.responseTimeout,"Socket timeout"))},X.onerror=function(){X.status===0&&(clearTimeout(It),clearTimeout(Pt),et({content:X.responseText||"Network request failed",status:X.status,isTimedOut:!1}))},X.onload=function(){clearTimeout(It),clearTimeout(Pt),et({content:X.responseText,status:X.status,isTimedOut:!1})},X.send(M.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:Hn(),requestsCache:Hn({serializable:!1}),hostsCache:we({caches:[Za({key:"".concat(So,"-").concat(dt)}),Hn()]})},void 0))}(F,Q);return mt.addAlgoliaAgent("docsearch",tr),/docsearch.js \(.*\)/.test(mt.transporter.algoliaAgent.value)===!1&&mt.addAlgoliaAgent("docsearch-react",tr),at(mt)},[F,Q,at])}(e,n,h),Et=u.useRef(_o({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(r),limit:10})).current,Vt=u.useRef(_o({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(r),limit:Et.getAll().length===0?7:4})).current,jt=u.useCallback(function(F){if(!E){var Q=F.type==="content"?F.__docsearch_parent:F;Q&&Et.getAll().findIndex(function(at){return at.objectID===Q.objectID})===-1&&Vt.add(Q)}},[Et,Vt,E]),Xt=u.useCallback(function(F){if(j.context.algoliaInsightsPlugin&&F.__autocomplete_id){var Q=F,at={eventName:"Item Selected",index:Q.__autocomplete_indexName,items:[Q],positions:[F.__autocomplete_id],queryID:Q.__autocomplete_queryID};j.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(at)}},[j.context.algoliaInsightsPlugin]),qt=u.useMemo(function(){return Oa({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:tt,context:{searchSuggestions:[]}},insights:z,navigator:y,onStateChange:function(F){R(F.state)},getSources:function(F){var Q=F.query,at=F.state,mt=F.setContext,dt=F.setStatus;if(!Q)return E?[]:[{sourceId:"recentSearches",onSelect:function(M){var et=M.item,X=M.event;jt(et),mn(X)||m()},getItemUrl:function(M){return M.item.url},getItems:function(){return Vt.getAll()}},{sourceId:"favoriteSearches",onSelect:function(M){var et=M.item,X=M.event;jt(et),mn(X)||m()},getItemUrl:function(M){return M.item.url},getItems:function(){return Et.getAll()}}];var _t=!!z;return de.search({requests:[B({query:Q,indexName:r,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(G.current),"hierarchy.lvl2:".concat(G.current),"hierarchy.lvl3:".concat(G.current),"hierarchy.lvl4:".concat(G.current),"hierarchy.lvl5:".concat(G.current),"hierarchy.lvl6:".concat(G.current),"content:".concat(G.current)],snippetEllipsisText:"\u2026",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:_t},a)]}).catch(function(M){throw M.name==="RetryError"&&dt("error"),M}).then(function(M){var et=M.results[0],X=et.hits,Pt=et.nbHits,Mt=ho(X,function(St){return ci(St)},c);at.context.searchSuggestions.length<Object.keys(Mt).length&&mt({searchSuggestions:Object.keys(Mt)}),mt({nbHits:Pt});var It={};return _t&&(It={__autocomplete_indexName:r,__autocomplete_queryID:et.queryID,__autocomplete_algoliaCredentials:{appId:e,apiKey:n}}),Object.values(Mt).map(function(St,pt){return{sourceId:"hits".concat(pt),onSelect:function(T){var $=T.item,nt=T.event;jt($),mn(nt)||m()},getItemUrl:function(T){return T.item.url},getItems:function(){return Object.values(ho(St,function(T){return T.hierarchy.lvl1},c)).map(l).map(function(T){return T.map(function($){var nt=null,yt=T.find(function(kt){return kt.type==="lvl1"&&kt.hierarchy.lvl1===$.hierarchy.lvl1});return $.type!=="lvl1"&&yt&&(nt=yt),B(B({},$),{},{__docsearch_parent:nt},It)})}).flat()}}})})}})},[r,a,c,de,m,Vt,Et,jt,tt,i,y,l,E,z,e,n]),$e=qt.getEnvironmentProps,di=qt.getRootProps,lr=qt.refresh;return function(F){var Q=F.getEnvironmentProps,at=F.panelElement,mt=F.formElement,dt=F.inputElement;u.useEffect(function(){if(at&&mt&&dt){var _t=Q({panelElement:at,formElement:mt,inputElement:dt}),M=_t.onTouchStart,et=_t.onTouchMove;return window.addEventListener("touchstart",M),window.addEventListener("touchmove",et),function(){window.removeEventListener("touchstart",M),window.removeEventListener("touchmove",et)}}},[Q,at,mt,dt])}({getEnvironmentProps:$e,panelElement:K.current,formElement:W.current,inputElement:J.current}),function(F){var Q=F.container;u.useEffect(function(){if(Q){var at=Q.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),mt=at[0],dt=at[at.length-1];return Q.addEventListener("keydown",_t),function(){Q.removeEventListener("keydown",_t)}}function _t(M){M.key==="Tab"&&(M.shiftKey?document.activeElement===mt&&(M.preventDefault(),dt.focus()):document.activeElement===dt&&(M.preventDefault(),mt.focus()))}},[Q])}({container:D.current}),u.useEffect(function(){return document.body.classList.add("DocSearch--active"),function(){var F,Q;document.body.classList.remove("DocSearch--active"),(F=(Q=window).scrollTo)===null||F===void 0||F.call(Q,0,v)}},[]),u.useEffect(function(){window.matchMedia("(max-width: 768px)").matches&&(G.current=5)},[]),u.useEffect(function(){K.current&&(K.current.scrollTop=0)},[j.query]),u.useEffect(function(){tt.length>0&&(lr(),J.current&&J.current.focus())},[tt,lr]),u.useEffect(function(){function F(){if(L.current){var Q=.01*window.innerHeight;L.current.style.setProperty("--docsearch-vh","".concat(Q,"px"))}}return F(),window.addEventListener("resize",F),function(){window.removeEventListener("resize",F)}},[]),u.createElement("div",lt({ref:D},di({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",j.status==="stalled"&&"DocSearch-Container--Stalled",j.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(F){F.target===F.currentTarget&&m()}}),u.createElement("div",{className:"DocSearch-Modal",ref:L},u.createElement("header",{className:"DocSearch-SearchBar",ref:W},u.createElement(Qa,lt({},qt,{state:j,autoFocus:tt.length===0,inputRef:J,isFromSelection:!!tt&&tt===st,translations:ot,onClose:m}))),u.createElement("div",{className:"DocSearch-Dropdown",ref:K},u.createElement(za,lt({},qt,{indexName:r,state:j,hitComponent:s,resultsFooterComponent:g,disableUserPersonalization:E,recentSearches:Vt,favoriteSearches:Et,inputRef:J,translations:O,getMissingResultsUrl:k,onItemClick:function(F,Q){Xt(F),jt(F),mn(Q)||m()}}))),u.createElement("footer",{className:"DocSearch-Footer"},u.createElement(Ea,{translations:q}))))}function mu(t){var e,n,r=u.useRef(null),o=ht(u.useState(!1),2),i=o[0],a=o[1],c=ht(u.useState((t==null?void 0:t.initialQuery)||void 0),2),f=c[0],m=c[1],b=u.useCallback(function(){a(!0)},[a]),l=u.useCallback(function(){a(!1),m(t==null?void 0:t.initialQuery)},[a,t.initialQuery]);return function(d){var s=d.isOpen,S=d.onOpen,g=d.onClose,y=d.onInput,_=d.searchButtonRef;u.useEffect(function(){function v(p){var h;if(p.code==="Escape"&&s||((h=p.key)===null||h===void 0?void 0:h.toLowerCase())==="k"&&(p.metaKey||p.ctrlKey)||!function(P){var E=P.target,C=E.tagName;return E.isContentEditable||C==="INPUT"||C==="SELECT"||C==="TEXTAREA"}(p)&&p.key==="/"&&!s)return p.preventDefault(),void(s?g():document.body.classList.contains("DocSearch--active")||S());_&&_.current===document.activeElement&&y&&/[a-zA-Z0-9]/.test(String.fromCharCode(p.keyCode))&&y(p)}return window.addEventListener("keydown",v),function(){window.removeEventListener("keydown",v)}},[s,S,g,y,_])}({isOpen:i,onOpen:b,onClose:l,onInput:u.useCallback(function(d){a(!0),m(d.key)},[a,m]),searchButtonRef:r}),u.createElement(u.Fragment,null,u.createElement(Bi,{ref:r,translations:t==null||(e=t.translations)===null||e===void 0?void 0:e.button,onClick:b}),i&&Ko(u.createElement(fu,lt({},t,{initialScrollY:window.scrollY,initialQuery:f,translations:t==null||(n=t.translations)===null||n===void 0?void 0:n.modal,onClose:l})),document.body))}function mi(t){zo(u.createElement(mu,Un({},t,{transformSearchClient:function(e){return e.addAlgoliaAgent("docsearch.js",tr),t.transformSearchClient?t.transformSearchClient(e):e}})),function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;return typeof e=="string"?n.document.querySelector(e):e}(t.container,t.environment))}var pi="3151f502c7b9e9dafd5e6372b691a24e",vi="AK7KMZKZHQ",hi="bootstrap";(()=>{let t=document.getElementById("docsearch");if(!t)return;let e=t.getAttribute("data-bd-docs-version");mi({apiKey:pi,indexName:hi,appId:vi,container:t,searchParameters:{facetFilters:[`version:${e}`]},transformItems(n){return n.map(r=>{let o="https://getbootstrap.com/";return r.url=window.location.origin.startsWith(o)?r.url:r.url.replace(o,"/"),r.anchor==="content"&&(r.url=r.url.replace(/#content$/,""),r.anchor=null),r})}})})();})();
/*!
* JavaScript for Bootstrap's docs (https://getbootstrap.com/)
* Copyright 2024 The Bootstrap Authors
* Licensed under the Creative Commons Attribution 3.0 Unported License.
* For details, see https://creativecommons.org/licenses/by/3.0/.
*/
/*! Bundled license information:
@docsearch/js/dist/esm/index.js:
(*! @docsearch/js 3.8.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com *)
*/