mirror of https://github.com/twbs/bootstrap.git
24 lines
130 KiB
JavaScript
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,F,wo,Gt,br,Eo,Fn,jo,er,Bn,Vn,Po,Ue={},Io=[],bi=/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 nr(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,__c:null,constructor:void 0,__v:o==null?++wo:o,__i:-1,__u:0};return o==null&&F.vnode!=null&&F.vnode(i),i}function Rt(t){return t.children}function Ct(t,e){this.props=t,this.context=e}function ue(t,e){if(e==null)return t.__?ue(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"?ue(t):null}function ko(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 ko(t)}}function Kn(t){(!t.__d&&(t.__d=!0)&&Gt.push(t)&&!yn.__r++||br!==F.debounceRendering)&&((br=F.debounceRendering)||Eo)(yn)}function yn(){var t,e,n,r,o,i,a,u;for(Gt.sort(Fn);t=Gt.shift();)t.__d&&(e=Gt.length,r=void 0,i=(o=(n=t).__v).__e,a=[],u=[],n.__P&&((r=Tt({},o)).__v=o.__v+1,F.vnode&&F.vnode(r),rr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i==null?ue(o):i,!!(32&o.__u),u),r.__v=o.__v,r.__.__k[r.__i]=r,xo(a,r,u),r.__e!=i&&ko(r)),Gt.length>e&&Gt.sort(Fn));yn.__r=0}function Do(t,e,n,r,o,i,a,u,f,m,b){var l,h,s,S,g,d,v=r&&r.__k||Io,_=e.length;for(f=function(p,y,P,k,N){var x,j,C,I,L,Q=P.length,q=Q,G=0;for(p.__k=new Array(N),x=0;x<N;x++)(j=y[x])!=null&&typeof j!="boolean"&&typeof j!="function"?(I=x+G,(j=p.__k[x]=typeof j=="string"||typeof j=="number"||typeof j=="bigint"||j.constructor==String?Ee(null,j,null,null,null):_n(j)?Ee(Rt,{children:j},null,null,null):j.constructor===void 0&&j.__b>0?Ee(j.type,j.props,j.key,j.ref?j.ref:null,j.__v):j).__=p,j.__b=p.__b+1,C=null,(L=j.__i=Si(j,P,I,q))!==-1&&(q--,(C=P[L])&&(C.__u|=2)),C==null||C.__v===null?(L==-1&&G--,typeof j.type!="function"&&(j.__u|=4)):L!=I&&(L==I-1?G--:L==I+1?G++:(L>I?G--:G++,j.__u|=4))):p.__k[x]=null;if(q)for(x=0;x<Q;x++)(C=P[x])!=null&&!(2&C.__u)&&(C.__e==k&&(k=ue(C)),Ao(C,C));return k}(n,e,v,f,_),l=0;l<_;l++)(s=n.__k[l])!=null&&(h=s.__i===-1?Ue:v[s.__i]||Ue,s.__i=l,d=rr(t,s,h,o,i,a,u,f,m,b),S=s.__e,s.ref&&h.ref!=s.ref&&(h.ref&&or(h.ref,null,s),b.push(s.ref,s.__c||S,s)),g==null&&S!=null&&(g=S),4&s.__u||h.__k===s.__k?f=Co(s,f,t):typeof s.type=="function"&&d!==void 0?f=d:S&&(f=S.nextSibling),s.__u&=-7);return n.__e=g,f}function Co(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=Co(r[o],e,n));return e}t.__e!=e&&(e&&t.type&&!n.contains(e)&&(e=ue(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 Si(t,e,n,r){var o,i,a=t.key,u=t.type,f=e[n];if(f===null||f&&a==f.key&&u===f.type&&!(2&f.__u))return n;if(r>(f==null||2&f.__u?0:1))for(o=n-1,i=n+1;o>=0||i<e.length;){if(o>=0){if((f=e[o])&&!(2&f.__u)&&a==f.key&&u===f.type)return o;o--}if(i<e.length){if((f=e[i])&&!(2&f.__u)&&a==f.key&&u===f.type)return i;i++}}return-1}function Sr(t,e,n){e[0]=="-"?t.setProperty(e,n==null?"":n):t[e]=n==null?"":typeof n!="number"||bi.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||Sr(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Sr(t.style,e,n[e])}else if(e[0]=="o"&&e[1]=="n")i=e!=(e=e.replace(jo,"$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 Or(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(F.event?F.event(e):e)}}}function rr(t,e,n,r,o,i,a,u,f,m){var b,l,h,s,S,g,d,v,_,p,y,P,k,N,x,j,C,I=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(f=!!(32&n.__u),i=[u=e.__e=n.__e]),(b=F.__b)&&b(e);t:if(typeof I=="function")try{if(v=e.props,_="prototype"in I&&I.prototype.render,p=(b=I.contextType)&&r[b.__c],y=b?p?p.props.value:b.__:r,n.__c?d=(l=e.__c=n.__c).__=l.__E:(_?e.__c=l=new I(v,y):(e.__c=l=new Ct(v,y),l.constructor=I,l.render=wi),p&&p.sub(l),l.props=v,l.state||(l.state={}),l.context=y,l.__n=r,h=l.__d=!0,l.__h=[],l._sb=[]),_&&l.__s==null&&(l.__s=l.state),_&&I.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Tt({},l.__s)),Tt(l.__s,I.getDerivedStateFromProps(v,l.__s))),s=l.props,S=l.state,l.__v=e,h)_&&I.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),_&&l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(_&&I.getDerivedStateFromProps==null&&v!==s&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(v,y),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(v,l.__s,y)===!1||e.__v==n.__v)){for(e.__v!=n.__v&&(l.props=v,l.state=l.__s,l.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(L){L&&(L.__=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(v,l.__s,y),_&&l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(s,S,g)})}if(l.context=y,l.props=v,l.__P=t,l.__e=!1,k=F.__r,N=0,_){for(l.state=l.__s,l.__d=!1,k&&k(e),b=l.render(l.props,l.state,l.context),x=0;x<l._sb.length;x++)l.__h.push(l._sb[x]);l._sb=[]}else do l.__d=!1,k&&k(e),b=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++N<25);l.state=l.__s,l.getChildContext!=null&&(r=Tt(Tt({},r),l.getChildContext())),_&&!h&&l.getSnapshotBeforeUpdate!=null&&(g=l.getSnapshotBeforeUpdate(s,S)),u=Do(t,_n(j=b!=null&&b.type===Rt&&b.key==null?b.props.children:b)?j:[j],e,n,r,o,i,a,u,f,m),l.base=e.__e,e.__u&=-161,l.__h.length&&a.push(l),d&&(l.__E=l.__=null)}catch(L){if(e.__v=null,f||i!=null)if(L.then){for(e.__u|=f?160:128;u&&u.nodeType==8&&u.nextSibling;)u=u.nextSibling;i[i.indexOf(u)]=null,e.__e=u}else for(C=i.length;C--;)nr(i[C]);else e.__e=n.__e,e.__k=n.__k;F.__e(L,e,n)}else i==null&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):u=e.__e=Oi(n.__e,e,n,r,o,i,a,f,m);return(b=F.diffed)&&b(e),128&e.__u?void 0:u}function xo(t,e,n){for(var r=0;r<n.length;r++)or(n[r],n[++r],n[++r]);F.__c&&F.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){F.__e(i,o.__v)}})}function Oi(t,e,n,r,o,i,a,u,f){var m,b,l,h,s,S,g,d=n.props,v=e.props,_=e.type;if(_=="svg"?o="http://www.w3.org/2000/svg":_=="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==!!_&&(_?s.localName==_:s.nodeType==3)){t=s,i[m]=null;break}}if(t==null){if(_==null)return document.createTextNode(v);t=document.createElementNS(o,_,v.is&&v),u&&(F.__m&&F.__m(e,i),u=!1),i=null}if(_===null)d===v||u&&t.data===v||(t.data=v);else{if(i=i&&We.call(t.childNodes),d=n.props||Ue,!u&&i!=null)for(d={},m=0;m<t.attributes.length;m++)d[(s=t.attributes[m]).name]=s.value;for(m in d)if(s=d[m],m!="children"){if(m=="dangerouslySetInnerHTML")l=s;else if(!(m in v)){if(m=="value"&&"defaultValue"in v||m=="checked"&&"defaultChecked"in v)continue;en(t,m,null,s,o)}}for(m in v)s=v[m],m=="children"?h=s:m=="dangerouslySetInnerHTML"?b=s:m=="value"?S=s:m=="checked"?g=s:u&&typeof s!="function"||d[m]===s||en(t,m,s,d[m],o);if(b)u||l&&(b.__html===l.__html||b.__html===t.innerHTML)||(t.innerHTML=b.__html),e.__k=[];else if(l&&(t.innerHTML=""),Do(t,_n(h)?h:[h],e,n,r,_=="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&ue(n,0),u,f),i!=null)for(m=i.length;m--;)nr(i[m]);u||(m="value",_=="progress"&&S==null?t.removeAttribute("value"):S!==void 0&&(S!==t[m]||_=="progress"&&!S||_=="option"&&S!==d[m])&&en(t,m,S,d[m],o),m="checked",g!==void 0&&g!==t[m]&&en(t,m,g,d[m],o))}return t}function or(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){F.__e(o,n)}}function Ao(t,e,n){var r,o;if(F.unmount&&F.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||or(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){F.__e(i,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Ao(r[o],e,n||typeof t.type!="function");n||nr(t.__e),t.__c=t.__=t.__e=void 0}function wi(t,e,n){return this.constructor(t,n)}function Fe(t,e,n){var r,o,i,a;e==document&&(e=document.documentElement),F.__&&F.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],rr(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),xo(i,t,a)}function No(t,e){Fe(t,e,No)}function Ei(t,e,n){var r,o,i,a,u=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]:u[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(u.children=arguments.length>3?We.call(arguments,2):n),Ee(t.type,u,r||t.key,o||t.ref,null)}We=Io.slice,F={__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(u){t=u}throw t}},wo=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=[],Eo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Fn=function(t,e){return t.__v.__b-e.__v.__b},yn.__r=0,jo=/(PointerCapture)$|Capture$/i,er=0,Bn=Or(!1),Vn=Or(!0),Po=0;var Bt,Z,Cn,wr,le=0,To=[],tt=F,Er=tt.__b,jr=tt.__r,Pr=tt.diffed,Ir=tt.__c,kr=tt.unmount,Dr=tt.__;function se(t,e){tt.__h&&tt.__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,ir(Fo,t)}function ir(t,e,n){var r=se(Bt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Fo(void 0,e),function(u){var f=r.__N?r.__N[0]:r.__[0],m=r.t(f,u);f!==m&&(r.__N=[m,r.__[1]],r.__c.setState({}))}],r.__c=Z,!Z.u)){var o=function(u,f,m){if(!r.__c.__H)return!0;var b=r.__c.__H.__.filter(function(h){return!!h.__c});if(b.every(function(h){return!h.__N}))return!i||i.call(this,u,f,m);var l=r.__c.props!==u;return b.forEach(function(h){if(h.__N){var s=h.__[0];h.__=h.__N,h.__N=void 0,s!==h.__[0]&&(l=!0)}}),i&&i.call(this,u,f,m)||l};Z.u=!0;var i=Z.shouldComponentUpdate,a=Z.componentWillUpdate;Z.componentWillUpdate=function(u,f,m){if(this.__e){var b=i;i=void 0,o(u,f,m),i=b}a&&a.call(this,u,f,m)},Z.shouldComponentUpdate=o}return r.__N||r.__}function Je(t,e){var n=se(Bt++,3);!tt.__s&&ar(n.__H,e)&&(n.__=t,n.i=e,Z.__H.__h.push(n))}function Qe(t,e){var n=se(Bt++,4);!tt.__s&&ar(n.__H,e)&&(n.__=t,n.i=e,Z.__h.push(n))}function Ro(t){return le=5,gn(function(){return{current:t}},[])}function Lo(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 ar(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function qo(t,e){return le=8,gn(function(){return t},e)}function Mo(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 Ho(t,e){tt.useDebugValue&&tt.useDebugValue(e?e(t):t)}function Uo(){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 ji(){for(var t;t=To.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=[],tt.__e(e,t.__v)}}tt.__b=function(t){Z=null,Er&&Er(t)},tt.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Dr&&Dr(t,e)},tt.__r=function(t){jr&&jr(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},tt.diffed=function(t){Pr&&Pr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(To.push(e)!==1&&wr===tt.requestAnimationFrame||((wr=tt.requestAnimationFrame)||Pi)(ji)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Cn=Z=null},tt.__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=[],tt.__e(r,n.__v)}}),Ir&&Ir(t,e)},tt.unmount=function(t){kr&&kr(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&&tt.__e(e,n.__v))};var Cr=typeof requestAnimationFrame=="function";function Pi(t){var e,n=function(){clearTimeout(r),Cr&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Cr&&(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 ar(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Fo(t,e){return typeof e=="function"?e(t):e}function Bo(t,e){for(var n in e)t[n]=e[n];return t}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 Vo(t,e){var n=e(),r=ze({t:{__:n,u:e}}),o=r[0].t,i=r[1];return Qe(function(){o.__=n,o.u=e,xn(o)&&i({t:o})},[t,n,e]),Je(function(){return xn(o)&&i({t:o}),t(function(){xn(o)&&i({t:o})})},[t]),n}function xn(t){var e,n,r=t.u,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}function Ko(t){t()}function Wo(t){return t}function zo(){return[!1,Ko]}var Jo=Qe;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 xr=F.__b;F.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),xr&&xr(t)};var Ii=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Ar=function(t,e){return t==null?null:Lt(Lt(t).map(e))},ki={map:Ar,forEach:Ar,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},Di=F.__e;F.__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)}Di(t,e,n,r)};var Nr=F.unmount;function Qo(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=Bo({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Qo(r,e,n)})),t}function $o(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return $o(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.o=null,this.__b=null}function Zo(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Oe(){this.i=null,this.l=null}F.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Nr&&Nr(t)},(vn.prototype=new Ct).__c=function(t,e){var n=e.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=Zo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=a;var u=function(){if(!--r.__u){if(r.state.__a){var f=r.state.__a;r.__v.__k[0]=$o(f,f.__c.__P,f.__c.__O)}var m;for(r.setState({__a:r.__b=null});m=r.o.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.o=[]},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]=Qo(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 Tr=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.i=n=n[2]}};function Ci(t){return this.getChildContext=function(){return t.context},t.children}function xi(t){var e=this,n=t.h;e.componentWillUnmount=function(){Fe(null,e.v),e.v=null,e.h=null},e.h&&e.h!==n&&e.componentWillUnmount(),e.v||(e.h=n,e.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.h.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.h.insertBefore(r,o)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.h.removeChild(r)}}),Fe(Dt(Ci,{context:e.context},t.__v),e.v)}function Go(t,e){var n=Dt(xi,{__v:t,h:e});return n.containerInfo=e,n}(Oe.prototype=new Ct).__a=function(t){var e=this,n=Zo(e.__v),r=e.l.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Tr(e,t,r)):o()};n?n(i):i()}},Oe.prototype.render=function(t){this.i=null,this.l=new Map;var e=Lt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.l.set(e[n],this.i=[1,0,this.i]);return t.children},Oe.prototype.componentDidUpdate=Oe.prototype.componentDidMount=function(){var t=this;this.l.forEach(function(e,n){Tr(t,n,e)})};var Yo=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Ai=/^(?: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]/,Ni=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ti=/[A-Z0-9]/g,Ri=typeof document!="undefined",Li=function(t){return(typeof Symbol!="undefined"&&A(Symbol())=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Xo(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 Rr=F.event;function qi(){}function Mi(){return this.cancelBubble}function Hi(){return this.defaultPrevented}F.event=function(t){return Rr&&(t=Rr(t)),t.persist=qi,t.isPropagationStopped=Mi,t.isDefaultPrevented=Hi,t.nativeEvent=t};var cr,Ui={enumerable:!1,configurable:!0,get:function(){return this.class}},Lr=F.vnode;F.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 u=n[a];if(!(a==="value"&&"defaultValue"in n&&u==null||Ri&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var f=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&u===!0?u="":f==="translate"&&u==="no"?u=!1:f[0]==="o"&&f[1]==="n"?f==="ondoubleclick"?a="ondblclick":f!=="onchange"||r!=="input"&&r!=="textarea"||Li(n.type)?f==="onfocus"?a="onfocusin":f==="onblur"?a="onfocusout":Ni.test(a)&&(a=f):f=a="oninput":i&&Ai.test(a)?a=a.replace(Ti,"-$&").toLowerCase():u===null&&(u=void 0),f==="oninput"&&o[a=f]&&(a="oninputCapture"),o[a]=u}}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",Ui)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Yo,Lr&&Lr(t)};var qr=F.__r;F.__r=function(t){qr&&qr(t),cr=t.__c};var Mr=F.diffed;F.diffed=function(t){Mr&&Mr(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),cr=null};var Fi={ReactCurrentDispatcher:{current:{readContext:function(t){return cr.__n[t.__c].props.value},useCallback:qo,useContext:Mo,useDebugValue:Ho,useDeferredValue:Wo,useEffect:Je,useId:Uo,useImperativeHandle:Lo,useInsertionEffect:Jo,useLayoutEffect:Qe,useMemo:gn,useReducer:ir,useRef:Ro,useState:ze,useSyncExternalStore:Vo,useTransition:zo}}};function nn(t){return!!t&&t.$$typeof===Yo}var c={useState:ze,useId:Uo,useReducer:ir,useEffect:Je,useLayoutEffect:Qe,useInsertionEffect:Jo,useTransition:zo,useDeferredValue:Wo,useSyncExternalStore:Vo,startTransition:Ko,useRef:Ro,useImperativeHandle:Lo,useMemo:gn,useCallback:qo,useContext:Mo,useDebugValue:Ho,version:"18.3.1",Children:ki,render:Xo,hydrate:function(t,e,n){return No(t,e),typeof n=="function"&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(Fe(null,t),!0)},createPortal:Go,createElement:Dt,createContext:function(t,e){var n={__c:e="__cC"+Po++,__: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(u){u.__e=!0,Kn(u)})},this.sub=function(a){o.add(a);var u=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),u&&u.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)?Ei.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){var r=Bo({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=Ii,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:Fi};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 Hr(t,e,n,r,o,i,a){try{var u=t[i](a),f=u.value}catch(m){return void n(m)}u.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){Hr(i,r,o,a,u,"next",f)}function u(f){Hr(i,r,o,a,u,"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 u=a.call(i,"string");if(A(u)!="object")return u;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 Ur(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?Ur(Object(n),!0).forEach(function(r){ve(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ur(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,u){if(a==null)return{};var f={};for(var m in a)if({}.hasOwnProperty.call(a,m)){if(u.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,E){O[w]=E.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";function m(O,w,E){return Object.defineProperty(O,w,{value:E,enumerable:!0,configurable:!0,writable:!0}),O[w]}try{m({},"")}catch{m=function(w,E,R){return w[E]=R}}function b(O,w,E,R){var D=w&&w.prototype instanceof v?w:v,M=Object.create(D.prototype),W=new q(R||[]);return o(M,"_invoke",{value:C(O,E,W)}),M}function l(O,w,E){try{return{type:"normal",arg:O.call(w,E)}}catch(R){return{type:"throw",arg:R}}}e.wrap=b;var h="suspendedStart",s="suspendedYield",S="executing",g="completed",d={};function v(){}function _(){}function p(){}var y={};m(y,a,function(){return this});var P=Object.getPrototypeOf,k=P&&P(P(G([])));k&&k!==n&&r.call(k,a)&&(y=k);var N=p.prototype=v.prototype=Object.create(y);function x(O){["next","throw","return"].forEach(function(w){m(O,w,function(E){return this._invoke(w,E)})})}function j(O,w){function E(D,M,W,K){var z=l(O[D],O,M);if(z.type!=="throw"){var Y=z.arg,st=Y.value;return st&&A(st)=="object"&&r.call(st,"__await")?w.resolve(st.__await).then(function(et){E("next",et,W,K)},function(et){E("throw",et,W,K)}):w.resolve(st).then(function(et){Y.value=et,W(Y)},function(et){return E("throw",et,W,K)})}K(z.arg)}var R;o(this,"_invoke",{value:function(D,M){function W(){return new w(function(K,z){E(D,M,K,z)})}return R=R?R.then(W,W):W()}})}function C(O,w,E){var R=h;return function(D,M){if(R===S)throw Error("Generator is already running");if(R===g){if(D==="throw")throw M;return{value:t,done:!0}}for(E.method=D,E.arg=M;;){var W=E.delegate;if(W){var K=I(W,E);if(K){if(K===d)continue;return K}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(R===h)throw R=g,E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);R=S;var z=l(O,w,E);if(z.type==="normal"){if(R=E.done?g:s,z.arg===d)continue;return{value:z.arg,done:E.done}}z.type==="throw"&&(R=g,E.method="throw",E.arg=z.arg)}}}function I(O,w){var E=w.method,R=O.iterator[E];if(R===t)return w.delegate=null,E==="throw"&&O.iterator.return&&(w.method="return",w.arg=t,I(O,w),w.method==="throw")||E!=="return"&&(w.method="throw",w.arg=new TypeError("The iterator does not provide a '"+E+"' method")),d;var D=l(R,O.iterator,w.arg);if(D.type==="throw")return w.method="throw",w.arg=D.arg,w.delegate=null,d;var M=D.arg;return M?M.done?(w[O.resultName]=M.value,w.next=O.nextLoc,w.method!=="return"&&(w.method="next",w.arg=t),w.delegate=null,d):M:(w.method="throw",w.arg=new TypeError("iterator result is not an object"),w.delegate=null,d)}function L(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 Q(O){var w=O.completion||{};w.type="normal",delete w.arg,O.completion=w}function q(O){this.tryEntries=[{tryLoc:"root"}],O.forEach(L,this),this.reset(!0)}function G(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 E=-1,R=function D(){for(;++E<O.length;)if(r.call(O,E))return D.value=O[E],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 _.prototype=p,o(N,"constructor",{value:p,configurable:!0}),o(p,"constructor",{value:_,configurable:!0}),_.displayName=m(p,f,"GeneratorFunction"),e.isGeneratorFunction=function(O){var w=typeof O=="function"&&O.constructor;return!!w&&(w===_||(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(N),O},e.awrap=function(O){return{__await:O}},x(j.prototype),m(j.prototype,u,function(){return this}),e.AsyncIterator=j,e.async=function(O,w,E,R,D){D===void 0&&(D=Promise);var M=new j(b(O,w,E,R),D);return e.isGeneratorFunction(w)?M:M.next().then(function(W){return W.done?W.value:M.next()})},x(N),m(N,f,"Generator"),m(N,a,function(){return this}),m(N,"toString",function(){return"[object Generator]"}),e.keys=function(O){var w=Object(O),E=[];for(var R in w)E.push(R);return E.reverse(),function D(){for(;E.length;){var M=E.pop();if(M in w)return D.value=M,D.done=!1,D}return D.done=!0,D}},e.values=G,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(Q),!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 E(z,Y){return M.type="throw",M.arg=O,w.next=z,Y&&(w.method="next",w.arg=t),!!Y}for(var R=this.tryEntries.length-1;R>=0;--R){var D=this.tryEntries[R],M=D.completion;if(D.tryLoc==="root")return E("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 E(D.catchLoc,!0);if(this.prev<D.finallyLoc)return E(D.finallyLoc)}else if(W){if(this.prev<D.catchLoc)return E(D.catchLoc,!0)}else{if(!K)throw Error("try statement without catch or finally");if(this.prev<D.finallyLoc)return E(D.finallyLoc)}}}},abrupt:function(O,w){for(var E=this.tryEntries.length-1;E>=0;--E){var R=this.tryEntries[E];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 M=D?D.completion:{};return M.type=O,M.arg=w,D?(this.method="next",this.next=D.finallyLoc,d):this.complete(M)},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),d},finish:function(O){for(var w=this.tryEntries.length-1;w>=0;--w){var E=this.tryEntries[w];if(E.finallyLoc===O)return this.complete(E.completion,E.afterLoc),Q(E),d}},catch:function(O){for(var w=this.tryEntries.length-1;w>=0;--w){var E=this.tryEntries[w];if(E.tryLoc===O){var R=E.completion;if(R.type==="throw"){var D=R.arg;Q(E)}return D}}throw Error("illegal catch attempt")},delegateYield:function(O,w,E){return this.delegate={iterator:G(O),resultName:w,nextLoc:E},this.method==="next"&&(this.arg=t),d}},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,u,f,m=[],b=!0,l=!1;try{if(u=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;b=!1}else for(;!(b=(i=u.call(o)).done)&&(m.push(i.value),m.length!==r);b=!0);}catch(h){l=!0,a=h}finally{try{if(!b&&o.return!=null&&(f=o.return(),Object(f)!==f))return}finally{if(l)throw a}}return m}}(t,e)||ti(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)||ti(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 ti(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 u=[null];u.push.apply(u,i);var f=new(o.bind.apply(o,u));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 Bi(){return c.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},c.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 ei(){return c.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},c.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 Vi=["translations"],Nn="Ctrl",Ki=c.forwardRef(function(t,e){var n=t.translations,r=n===void 0?{}:n,o=xt(t,Vi),i=r.buttonText,a=i===void 0?"Search":i,u=r.buttonAriaLabel,f=u===void 0?"Search":u,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 h=ht(b===Nn?[Nn,"Ctrl",c.createElement(Bi,null)]:["Meta","Command",b],3),s=h[0],S=h[1],g=h[2];return c.createElement("button",lt({type:"button",className:"DocSearch DocSearch-Button","aria-label":"".concat(f," (").concat(S,"+K)")},o,{ref:e}),c.createElement("span",{className:"DocSearch-Button-Container"},c.createElement(ei,null),c.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),c.createElement("span",{className:"DocSearch-Button-Keys"},b!==null&&c.createElement(c.Fragment,null,c.createElement(Fr,{reactsToKey:s},g),c.createElement(Fr,{reactsToKey:"k"},"K"))))});function Fr(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",u),function(){window.removeEventListener("keydown",a),window.removeEventListener("keyup",u)};function a(f){f.key===e&&i(!0)}function u(f){f.key!==e&&f.key!=="Meta"||i(!1)}},[e]),c.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}function ni(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 Wi=0;function Zn(t){return t.collections.length===0?0:t.collections.reduce(function(e,n){return e+n.items.length},0)}function Br(t){return t!==Object(t)}function ri(t,e){if(t===e)return!0;if(Br(t)||Br(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)||!ri(t[o],e[o]))return!1}return!0}var hn=function(){},zi=[{segment:"autocomplete-core",version:"1.17.9"}];function Vr(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 Kr(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 Ji=["items"],Qi=["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 oi(t,e){if(t==null)return{};var n,r,o=function(a,u){if(a==null)return{};var f,m,b={},l=Object.keys(a);for(m=0;m<l.length;m++)f=l[m],u.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 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 ae(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(Pe(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var u=a.call(i,"string");if(Pe(u)!=="object")return u;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=oi(e,Ji);return ae(ae({},r),{},{objectIDs:(n==null?void 0:n.map(function(o){return o.objectID}))||r.objectIDs})})}function Zi(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 ce(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 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 wt(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){Gi(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 Gi(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 u=a.call(i,"string");if(Ie(u)!=="object")return u;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 ii="2.15.0",Yi="https://cdn.jsdelivr.net/npm/search-insights@".concat(ii,"/dist/search-insights.min.js"),Xi=ni(function(t){var e=t.onItemsChange,n=t.items,r=t.insights,o=t.state;e({insights:r,insightsEvents:Zi({items:n}).map(function(i){return wt({eventName:"Items Viewed"},i)}),state:o})},400);function Jr(t){var e=function(h){return wt({onItemsChange:function(s){var S=s.insights,g=s.insightsEvents,d=s.state;S.viewedObjectIDs.apply(S,ce(g.map(function(v){return wt(wt({},v),{},{algoliaSource:Qr(v.algoliaSource,d.context)})})))},onSelect:function(s){var S=s.insights,g=s.insightsEvents,d=s.state;S.clickedObjectIDsAfterSearch.apply(S,ce(g.map(function(v){return wt(wt({},v),{},{algoliaSource:Qr(v.algoliaSource,d.context)})})))},onActive:hn,__autocomplete_clickAnalytics:!0},h)}(t),n=e.insightsClient,r=e.insightsInitParams,o=e.onItemsChange,i=e.onSelect,a=e.onActive,u=e.__autocomplete_clickAnalytics,f=n;if(n||typeof window!="undefined"&&function(){var h=window,s=h.AlgoliaAnalyticsObject||"aa";typeof s=="string"&&(f=h[s]),f||(h.AlgoliaAnalyticsObject=s,h[s]||(h[s]=function(){h[s].queue||(h[s].queue=[]);for(var S=arguments.length,g=new Array(S),d=0;d<S;d++)g[d]=arguments[d];h[s].queue.push(g)}),h[s].version=ii,f=h[s],function(S){var g="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var d=S.document.createElement("script");d.async=!0,d.src=Yi,d.onerror=function(){console.error(g)},document.body.appendChild(d)}catch{console.error(g)}}(h))}(),!f)return{};r&&f("init",wt({partial:!0},r));var m=function(h){var s,S,g,d=(s=function(_){return function(p){if(Array.isArray(p))return p}(_)||function(p){var y=p==null?null:typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(y!=null){var P,k,N,x,j=[],C=!0,I=!1;try{for(N=(y=y.call(p)).next;!(C=(P=N.call(y)).done)&&(j.push(P.value),j.length!==2);C=!0);}catch(L){I=!0,k=L}finally{try{if(!C&&y.return!=null&&(x=y.return(),Object(x)!==x))return}finally{if(I)throw k}}return j}}(_)||function(p){if(p){if(typeof p=="string")return Kr(p,2);var y=Object.prototype.toString.call(p).slice(8,-1);return y==="Object"&&p.constructor&&(y=p.constructor.name),y==="Map"||y==="Set"?Array.from(p):y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y)?Kr(p,2):void 0}}(_)||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.`)}()}((h.version||"").split(".").map(Number)),S=s[0],g=s[1],S>=3||S===2&&g>=4||S===1&&g>=10);function v(_,p,y){if(d&&y!==void 0){var P=y[0].__autocomplete_algoliaCredentials,k={"X-Algolia-Application-Id":P.appId,"X-Algolia-API-Key":P.apiKey};h.apply(void 0,[_].concat(rn(p),[{headers:k}]))}else h.apply(void 0,[_].concat(rn(p)))}return{init:function(_,p){h("init",{appId:_,apiKey:p})},setAuthenticatedUserToken:function(_){h("setAuthenticatedUserToken",_)},setUserToken:function(_){h("setUserToken",_)},clickedObjectIDsAfterSearch:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&v("clickedObjectIDsAfterSearch",on(p),p[0].items)},clickedObjectIDs:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&v("clickedObjectIDs",on(p),p[0].items)},clickedFilters:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&h.apply(void 0,["clickedFilters"].concat(p))},convertedObjectIDsAfterSearch:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&v("convertedObjectIDsAfterSearch",on(p),p[0].items)},convertedObjectIDs:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&v("convertedObjectIDs",on(p),p[0].items)},convertedFilters:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&h.apply(void 0,["convertedFilters"].concat(p))},viewedObjectIDs:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&p.reduce(function(P,k){var N=k.items,x=oi(k,Qi);return[].concat(rn(P),rn(function(j){for(var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,I=[],L=0;L<j.objectIDs.length;L+=C)I.push(ae(ae({},j),{},{objectIDs:j.objectIDs.slice(L,L+C)}));return I}(ae(ae({},x),{},{objectIDs:(N==null?void 0:N.map(function(j){return j.objectID}))||x.objectIDs})).map(function(j){return{items:N,payload:j}})))},[]).forEach(function(P){var k=P.items;return v("viewedObjectIDs",[P.payload],k)})},viewedFilters:function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];p.length>0&&h.apply(void 0,["viewedFilters"].concat(p))}}}(f),b={current:[]},l=ni(function(h){var s=h.state;if(s.isOpen){var S=s.collections.reduce(function(g,d){return[].concat(ce(g),ce(d.items))},[]).filter(be);ri(b.current.map(function(g){return g.objectID}),S.map(function(g){return g.objectID}))||(b.current=S,S.length>0&&Xi({onItemsChange:o,items:S,insights:m,state:s}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(h){var s=h.setContext,S=h.onSelect,g=h.onActive;function d(v){s({algoliaInsightsPlugin:{__algoliaSearchParameters:wt(wt({},u?{clickAnalytics:!0}:{}),v?{userToken:ta(v)}:{}),insights:m}})}f("addAlgoliaAgent","insights-plugin"),d(),f("onUserTokenChange",function(v){d(v)}),f("getUserToken",null,function(v,_){d(_)}),S(function(v){var _=v.item,p=v.state,y=v.event,P=v.source;be(_)&&i({state:p,event:y,insights:m,item:_,insightsEvents:[wt({eventName:"Item Selected"},Vr({item:_,items:P.getItems().filter(be)}))]})}),g(function(v){var _=v.item,p=v.source,y=v.state,P=v.event;be(_)&&a({state:y,event:P,insights:m,item:_,insightsEvents:[wt({eventName:"Item Active"},Vr({item:_,items:p.getItems().filter(be)}))]})})},onStateChange:function(h){var s=h.state;l({state:s})},__autocomplete_pluginOptions:t}}function Qr(){var t,e=arguments.length>1?arguments[1]:void 0;return[].concat(ce(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]),["autocomplete-internal"],ce((t=e.algoliaInsightsPlugin)!==null&&t!==void 0&&t.__automaticInsights?["autocomplete-automatic"]:[]))}function ta(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 $r(t){return dn(t,{isCanceled:!1,onCancelList:[]})}function an(t,e,n){return t?function(r){return e.isCanceled?r:t(r)}:n}function Zr(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 Gr(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 Yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Gr(Object(n),!0).forEach(function(r){ea(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gr(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ea(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 u=a.call(i,"string");if(ke(u)!=="object")return u;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,u,f){var m=(a[f-1]||0)+u;return a.push(m),a},[]).reduce(function(a,u){return u<=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,u=!1,f=0,m=0;u===!1;){var b=i.collections[f];if(b===a){u=!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 na=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function Xr(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 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 ra(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 u=a.call(i,"string");if(De(u)!=="object")return u;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 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 cn(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){oa(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 oa(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 u=a.call(i,"string");if(Ce(u)!=="object")return u;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 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 ne(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){ia(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 ia(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 u=a.call(i,"string");if(xe(u)!=="object")return u;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 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 un(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){ai(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 ai(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 u=a.call(i,"string");if(Ae(u)!=="object")return u;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 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 re(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){aa(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 aa(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 u=a.call(i,"string");if(Ne(u)!=="object")return u;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 ci(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 ca(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,u=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,ci(u))}else{var b={execute:i,requesterId:a,items:u,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 ua=["event","nextState","props","query","refresh","store"];function io(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?io(Object(n),!0).forEach(function(r){la(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):io(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(Te(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var u=a.call(i,"string");if(Te(u)!=="object")return u;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 ao,Mn,sn,Se=null,co=(ao=-1,Mn=-1,sn=void 0,function(t){var e=++ao;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,u=t.store,f=function(p,y){if(p==null)return{};var P,k,N=function(j,C){if(j==null)return{};var I,L,Q={},q=Object.keys(j);for(L=0;L<q.length;L++)I=q[L],C.indexOf(I)>=0||(Q[I]=j[I]);return Q}(p,y);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(p);for(k=0;k<x.length;k++)P=x[k],y.indexOf(P)>=0||Object.prototype.propertyIsEnumerable.call(p,P)&&(N[P]=p[P])}return N}(t,ua);Se&&o.environment.clearTimeout(Se);var m=f.setCollections,b=f.setIsOpen,l=f.setQuery,h=f.setActiveItemId,s=f.setStatus,S=f.setContext;if(l(i),h(o.defaultActiveItemId),!i&&o.openOnFocus===!1){var g,d=u.getState().collections.map(function(p){return zt(zt({},p),{},{items:[]})});s("idle"),m(d),b((g=r.isOpen)!==null&&g!==void 0?g:o.shouldPanelOpen({state:u.getState()}));var v=$r(co(d).then(function(){return Promise.resolve()}));return u.pendingRequests.add(v)}s("loading"),Se=o.environment.setTimeout(function(){s("stalled")},o.stallThreshold);var _=$r(co(o.getSources(zt({query:i,refresh:a,state:u.getState()},f)).then(function(p){return Promise.all(p.map(function(y){return Promise.resolve(y.getItems(zt({query:i,refresh:a,state:u.getState()},f))).then(function(P){return function(k,N,x){if(C=k,!!(C!=null&&C.execute)){var j=k.requesterId==="algolia"?Object.assign.apply(Object,[{}].concat(ci(Object.keys(x.context).map(function(I){var L;return(L=x.context[I])===null||L===void 0?void 0:L.__algoliaSearchParameters})))):{};return re(re({},k),{},{requests:k.queries.map(function(I){return{query:k.requesterId==="algolia"?re(re({},I),{},{params:re(re({},j),I.params)}):I,sourceId:N,transformResponse:k.transformResponse}})})}var C;return{items:k,sourceId:N}}(P,y.sourceId,u.getState())})})).then(ca).then(function(y){var P,k=y.some(function(N){return function(x){return!Array.isArray(x)&&!!(x!=null&&x._automaticInsights)}(N.items)});return k&&S({algoliaInsightsPlugin:zt(zt({},((P=u.getState().context)===null||P===void 0?void 0:P.algoliaInsightsPlugin)||{}),{},{__automaticInsights:k})}),function(N,x,j){return x.map(function(C){var I,L=N.filter(function(O){return O.sourceId===C.sourceId}),Q=L.map(function(O){return O.items}),q=L[0].transformResponse,G=q?q({results:I=Q,hits:I.map(function(O){return O.hits}).filter(Boolean),facetHits:I.map(function(O){var w;return(w=O.facetHits)===null||w===void 0?void 0:w.map(function(E){return{label:E.value,count:E.count,_highlightResult:{label:{value:E.highlighted}}}})}).filter(Boolean)}):Q;return C.onResolve({source:C,results:Q,items:G,state:j.getState()}),G.every(Boolean),'The `getItems` function from source "'.concat(C.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:C,items:G}})}(y,p,u)}).then(function(y){return function(P){var k=P.props,N=P.state,x=P.collections.reduce(function(C,I){return un(un({},C),{},ai({},I.source.sourceId,un(un({},I.source),{},{getItems:function(){return Ke(I.items)}})))},{}),j=k.plugins.reduce(function(C,I){return I.reshape?I.reshape(C):C},{sourcesBySourceId:x,state:N}).sourcesBySourceId;return Ke(k.reshape({sourcesBySourceId:j,sources:Object.values(j),state:N})).filter(Boolean).map(function(C){return{source:C,items:C.getItems()}})}({collections:y,props:o,state:u.getState()})})}))).then(function(p){var y;s("idle"),m(p);var P=o.shouldPanelOpen({state:u.getState()});b((y=r.isOpen)!==null&&y!==void 0?y:o.openOnFocus&&!i&&P||P);var k=Yt(u.getState());if(u.getState().activeItemId!==null&&k){var N=k.item,x=k.itemInputValue,j=k.itemUrl,C=k.source;C.onActive(zt({event:e,item:N,itemInputValue:x,itemUrl:j,refresh:a,source:C,state:u.getState()},f))}}).finally(function(){s("idle"),Se&&o.environment.clearTimeout(Se)});return u.pendingRequests.add(_)}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 sa=["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){fa(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 fa(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 u=a.call(i,"string");if(Re(u)!=="object")return u;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 ma=["props","refresh","store"],pa=["inputElement","formElement","panelElement"],va=["inputElement"],ha=["inputElement","maxLength"],da=["source"],ya=["item","source"];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 it(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){_a(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 _a(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 u=a.call(i,"string");if(Le(u)!=="object")return u;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,u){if(a==null)return{};var f,m,b={},l=Object.keys(a);for(m=0;m<l.length;m++)f=l[m],u.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 so(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 ga(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?so(Object(n),!0).forEach(function(r){ui(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):so(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ui(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 u=a.call(i,"string");if(qe(u)!=="object")return u;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 ba(t){var e,n,r,o,i=t.plugins,a=t.options,u=(e=(((n=a.__autocomplete_metadata)===null||n===void 0?void 0:n.userAgents)||[])[0])===null||e===void 0?void 0:e.segment,f=u?ui({},u,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:ga({"autocomplete-core":Object.keys(a)},f),ua:zi.concat(((o=a.__autocomplete_metadata)===null||o===void 0?void 0:o.userAgents)||[])}}function fo(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 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 V(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(Me(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var u=a.call(i,"string");if(Me(u)!=="object")return u;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 Oa=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:Zr(1,t.activeItemId,Zn(t),e.props.defaultActiveItemId)});return V(V({},n),{},{completion:fo({state:n})});case"ArrowUp":var r=V(V({},t),{},{activeItemId:Zr(-1,t.activeItemId,Zn(t),e.props.defaultActiveItemId)});return V(V({},r),{},{completion:fo({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 po(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?po(Object(n),!0).forEach(function(r){wa(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):po(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function wa(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 u=a.call(i,"string");if(He(u)!=="object")return u;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 Ea(t){var e=[],n=function(b,l){var h,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:(h=b.id)!==null&&h!==void 0?h:"autocomplete-".concat(Wi++),plugins:S,initialState:ne({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},b.initialState),onStateChange:function(g){var d;(d=b.onStateChange)===null||d===void 0||d.call(b,g),S.forEach(function(v){var _;return(_=v.onStateChange)===null||_===void 0?void 0:_.call(v,g)})},onSubmit:function(g){var d;(d=b.onSubmit)===null||d===void 0||d.call(b,g),S.forEach(function(v){var _;return(_=v.onSubmit)===null||_===void 0?void 0:_.call(v,g)})},onReset:function(g){var d;(d=b.onReset)===null||d===void 0||d.call(b,g),S.forEach(function(v){var _;return(_=v.onReset)===null||_===void 0?void 0:_.call(v,g)})},getSources:function(g){return Promise.all([].concat(function(d){return function(v){if(Array.isArray(v))return Ln(v)}(d)||function(v){if(typeof Symbol!="undefined"&&v[Symbol.iterator]!=null||v["@@iterator"]!=null)return Array.from(v)}(d)||function(v,_){if(v){if(typeof v=="string")return Ln(v,_);var p=Object.prototype.toString.call(v).slice(8,-1);return p==="Object"&&v.constructor&&(p=v.constructor.name),p==="Map"||p==="Set"?Array.from(v):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?Ln(v,_):void 0}}(d)||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(d){return d.getSources})),[b.getSources]).filter(Boolean).map(function(d){return function(v,_){var p=[];return Promise.resolve(v(_)).then(function(y){return Promise.all(y.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 k={getItemInputValue:function(x){return x.state.query},getItemUrl:function(){},onSelect:function(x){(0,x.setIsOpen)(!1)},onActive:hn,onResolve:hn};Object.keys(k).forEach(function(x){k[x].__default=!0});var N=Yr(Yr({},k),P);return Promise.resolve(N)}))})}(d,g)})).then(function(d){return Ke(d)}).then(function(d){return d.map(function(v){return ne(ne({},v),{},{onSelect:function(_){v.onSelect(_),l.forEach(function(p){var y;return(y=p.onSelect)===null||y===void 0?void 0:y.call(p,_)})},onActive:function(_){v.onActive(_),l.forEach(function(p){var y;return(y=p.onActive)===null||y===void 0?void 0:y.call(p,_)})},onResolve:function(_){v.onResolve(_),l.forEach(function(p){var y;return(y=p.onResolve)===null||y===void 0?void 0:y.call(p,_)})}})})})},navigator:ne({navigate:function(g){var d=g.itemUrl;s.location.assign(d)},navigateNewTab:function(g){var d=g.itemUrl,v=s.open(d,"_blank","noopener");v==null||v.focus()},navigateNewWindow:function(g){var d=g.itemUrl;s.open(d,"_blank","noopener")}},b.navigator)})}(t,e),r=function(b,l,h){var s,S=l.initialState;return{getState:function(){return S},dispatch:function(g,d){var v=function(_){for(var p=1;p<arguments.length;p++){var y=arguments[p]!=null?arguments[p]:{};p%2?to(Object(y),!0).forEach(function(P){ra(_,P,y[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(y)):to(Object(y)).forEach(function(P){Object.defineProperty(_,P,Object.getOwnPropertyDescriptor(y,P))})}return _}({},S);S=b(S,{type:g,props:l,payload:d}),h({state:S,prevState:v})},pendingRequests:(s=[],{add:function(g){return s.push(g),g.finally(function(){s=s.filter(function(d){return d!==g})})},cancelAll:function(){s.forEach(function(g){return g.cancel()})},isEmpty:function(){return s.length===0}})}}(Oa,n,function(b){var l,h,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&&(h=l.algoliaInsightsPlugin)!==null&&h!==void 0&&h.__automaticInsights&&n.insights!==!1){var g=Jr({__autocomplete_clickAnalytics:!1});n.plugins.push(g),u([g])}}),o=function(b){var l=b.store;return{setActiveItemId:function(h){l.dispatch("setActiveItemId",h)},setQuery:function(h){l.dispatch("setQuery",h)},setCollections:function(h){var s=0,S=h.map(function(g){return cn(cn({},g),{},{items:Ke(g.items).map(function(d){return cn(cn({},d),{},{__autocomplete_id:s++})})})});l.dispatch("setCollections",S)},setIsOpen:function(h){l.dispatch("setIsOpen",h)},setStatus:function(h){l.dispatch("setStatus",h)},setContext:function(h){l.dispatch("setContext",h)}}}({store:r}),i=function(b){var l=b.props,h=b.refresh,s=b.store,S=oe(b,ma);return{getEnvironmentProps:function(g){var d=g.inputElement,v=g.formElement,_=g.panelElement;function p(y){!s.getState().isOpen&&s.pendingRequests.isEmpty()||y.target===d||[v,_].some(function(P){return(k=P)===(N=y.target)||k.contains(N);var k,N})===!1&&(s.dispatch("blur",null),l.debug||s.pendingRequests.cancelAll())}return it({onTouchStart:p,onMouseDown:p,onTouchMove:function(y){s.getState().isOpen!==!1&&d===l.environment.document.activeElement&&y.target!==d&&d.blur()}},oe(g,pa))},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(d){var v=d.source;return bt(l.id,"list",v)}).join(" "):void 0,"aria-labelledby":bt(l.id,"label")},g)},getFormProps:function(g){return g.inputElement,it({action:"",noValidate:!0,role:"search",onSubmit:function(d){var v;d.preventDefault(),l.onSubmit(it({event:d,refresh:h,state:s.getState()},S)),s.dispatch("submit",null),(v=g.inputElement)===null||v===void 0||v.blur()},onReset:function(d){var v;d.preventDefault(),l.onReset(it({event:d,refresh:h,state:s.getState()},S)),s.dispatch("reset",null),(v=g.inputElement)===null||v===void 0||v.focus()}},oe(g,va))},getLabelProps:function(g){return it({htmlFor:bt(l.id,"input"),id:bt(l.id,"label")},g)},getInputProps:function(g){var d;function v(j){(l.openOnFocus||s.getState().query)&&Jt(it({event:j,props:l,query:s.getState().completion||s.getState().query,refresh:h,store:s},S)),s.dispatch("focus",null)}var _=g||{};_.inputElement;var p=_.maxLength,y=p===void 0?512:p,P=oe(_,ha),k=Yt(s.getState()),N=function(j){return!!(j&&j.match(na))}(((d=l.environment.navigator)===null||d===void 0?void 0:d.userAgent)||""),x=l.enterKeyHint||(k!=null&&k.itemUrl&&!N?"go":"search");return it({"aria-autocomplete":"both","aria-activedescendant":s.getState().isOpen&&s.getState().activeItemId!==null?bt(l.id,"item-".concat(s.getState().activeItemId),k==null?void 0:k.source):void 0,"aria-controls":s.getState().isOpen?s.getState().collections.map(function(j){var C=j.source;return bt(l.id,"list",C)}).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:x,spellCheck:"false",autoFocus:l.autoFocus,placeholder:l.placeholder,maxLength:y,type:"search",onChange:function(j){var C=j.currentTarget.value;l.ignoreCompositionEvents&&Xr(j).isComposing?S.setQuery(C):Jt(it({event:j,props:l,query:C.slice(0,y),refresh:h,store:s},S))},onCompositionEnd:function(j){Jt(it({event:j,props:l,query:j.currentTarget.value.slice(0,y),refresh:h,store:s},S))},onKeyDown:function(j){Xr(j).isComposing||function(C){var I=C.event,L=C.props,Q=C.refresh,q=C.store,G=function(K,z){if(K==null)return{};var Y,st,et=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,z);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(K);for(st=0;st<de.length;st++)Y=de[st],z.indexOf(Y)>=0||Object.prototype.propertyIsEnumerable.call(K,Y)&&(et[Y]=K[Y])}return et}(C,sa);if(I.key==="ArrowUp"||I.key==="ArrowDown"){var O=function(){var K=Yt(q.getState()),z=L.environment.document.getElementById(bt(L.id,"item-".concat(q.getState().activeItemId),K==null?void 0:K.source));z&&(z.scrollIntoViewIfNeeded?z.scrollIntoViewIfNeeded(!1):z.scrollIntoView(!1))},w=function(){var K=Yt(q.getState());if(q.getState().activeItemId!==null&&K){var z=K.item,Y=K.itemInputValue,st=K.itemUrl,et=K.source;et.onActive(Qt({event:I,item:z,itemInputValue:Y,itemUrl:st,refresh:Q,source:et,state:q.getState()},G))}};I.preventDefault(),q.getState().isOpen===!1&&(L.openOnFocus||q.getState().query)?Jt(Qt({event:I,props:L,query:q.getState().query,refresh:Q,store:q},G)).then(function(){q.dispatch(I.key,{nextActiveItemId:L.defaultActiveItemId}),w(),setTimeout(O,0)}):(q.dispatch(I.key,{}),w(),O())}else if(I.key==="Escape")I.preventDefault(),q.dispatch(I.key,null),q.pendingRequests.cancelAll();else if(I.key==="Tab")q.dispatch("blur",null),q.pendingRequests.cancelAll();else if(I.key==="Enter"){if(q.getState().activeItemId===null||q.getState().collections.every(function(K){return K.items.length===0}))return void(L.debug||q.pendingRequests.cancelAll());I.preventDefault();var E=Yt(q.getState()),R=E.item,D=E.itemInputValue,M=E.itemUrl,W=E.source;if(I.metaKey||I.ctrlKey)M!==void 0&&(W.onSelect(Qt({event:I,item:R,itemInputValue:D,itemUrl:M,refresh:Q,source:W,state:q.getState()},G)),L.navigator.navigateNewTab({itemUrl:M,item:R,state:q.getState()}));else if(I.shiftKey)M!==void 0&&(W.onSelect(Qt({event:I,item:R,itemInputValue:D,itemUrl:M,refresh:Q,source:W,state:q.getState()},G)),L.navigator.navigateNewWindow({itemUrl:M,item:R,state:q.getState()}));else if(!I.altKey){if(M!==void 0)return W.onSelect(Qt({event:I,item:R,itemInputValue:D,itemUrl:M,refresh:Q,source:W,state:q.getState()},G)),void L.navigator.navigate({itemUrl:M,item:R,state:q.getState()});Jt(Qt({event:I,nextState:{isOpen:!1},props:L,query:D,refresh:Q,store:q},G)).then(function(){W.onSelect(Qt({event:I,item:R,itemInputValue:D,itemUrl:M,refresh:Q,source:W,state:q.getState()},G))})}}}(it({event:j,props:l,refresh:h,store:s},S))},onFocus:v,onBlur:hn,onClick:function(j){g.inputElement!==l.environment.document.activeElement||s.getState().isOpen||v(j)}},P)},getPanelProps:function(g){return it({onMouseDown:function(d){d.preventDefault()},onMouseLeave:function(){s.dispatch("mouseleave",null)}},g)},getListProps:function(g){var d=g||{},v=d.source,_=oe(d,da);return it({role:"listbox","aria-labelledby":bt(l.id,"label"),id:bt(l.id,"list",v)},_)},getItemProps:function(g){var d=g.item,v=g.source,_=oe(g,ya);return it({id:bt(l.id,"item-".concat(d.__autocomplete_id),v),role:"option","aria-selected":s.getState().activeItemId===d.__autocomplete_id,onMouseMove:function(p){if(d.__autocomplete_id!==s.getState().activeItemId){s.dispatch("mousemove",d.__autocomplete_id);var y=Yt(s.getState());if(s.getState().activeItemId!==null&&y){var P=y.item,k=y.itemInputValue,N=y.itemUrl,x=y.source;x.onActive(it({event:p,item:P,itemInputValue:k,itemUrl:N,refresh:h,source:x,state:s.getState()},S))}}},onMouseDown:function(p){p.preventDefault()},onClick:function(p){var y=v.getItemInputValue({item:d,state:s.getState()}),P=v.getItemUrl({item:d,state:s.getState()});(P?Promise.resolve():Jt(it({event:p,nextState:{isOpen:!1},props:l,query:y,refresh:h,store:s},S))).then(function(){v.onSelect(it({event:p,item:d,itemInputValue:y,itemUrl:P,refresh:h,source:v,state:s.getState()},S))})}},_)}}}($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 u(b){b.forEach(function(l){var h;return(h=l.subscribe)===null||h===void 0?void 0:h.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(Jr(m))}return u(n.plugins),function(b){var l,h,s=b.metadata,S=b.environment;if(!((l=S.navigator)===null||l===void 0||(h=l.userAgent)===null||h===void 0)&&h.includes("Algolia Crawler")){var g=S.document.createElement("meta"),d=S.document.querySelector("head");g.name="algolia:metadata",setTimeout(function(){g.content=JSON.stringify(s),d.appendChild(g)},0)}}({metadata:ba({plugins:n.plugins,options:t}),environment:n.environment}),$t($t({refresh:a,navigator:n.navigator},i),o)}function ja(t){var e=t.translations,n=(e===void 0?{}:e).searchByText,r=n===void 0?"Search by":n;return c.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"},c.createElement("span",{className:"DocSearch-Label"},r),c.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"},c.createElement("defs",null,c.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),c.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"}),c.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),c.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"}),c.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"}),c.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"}),c.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"}),c.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"}),c.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"}),c.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 c.createElement("svg",{width:"15",height:"15","aria-label":t.ariaLabel,role:"img"},c.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},t.children))}function Pa(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,u=n.navigateText,f=u===void 0?"to navigate":u,m=n.navigateUpKeyAriaLabel,b=m===void 0?"Arrow up":m,l=n.navigateDownKeyAriaLabel,h=l===void 0?"Arrow down":l,s=n.closeText,S=s===void 0?"to close":s,g=n.closeKeyAriaLabel,d=g===void 0?"Escape key":g,v=n.searchByText,_=v===void 0?"Search by":v;return c.createElement(c.Fragment,null,c.createElement("div",{className:"DocSearch-Logo"},c.createElement(ja,{translations:{searchByText:_}})),c.createElement("ul",{className:"DocSearch-Commands"},c.createElement("li",null,c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(fn,{ariaLabel:a},c.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),c.createElement("span",{className:"DocSearch-Label"},o)),c.createElement("li",null,c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(fn,{ariaLabel:h},c.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(fn,{ariaLabel:b},c.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),c.createElement("span",{className:"DocSearch-Label"},f)),c.createElement("li",null,c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(fn,{ariaLabel:d},c.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"}))),c.createElement("span",{className:"DocSearch-Label"},S))))}function Ia(t){var e=t.hit,n=t.children;return c.createElement("a",{href:e.url},n)}function ka(){return c.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},c.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),c.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},c.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function Da(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),c.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function Gn(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.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 Ca(){return c.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),c.createElement("path",{d:"M8 17l-6-6 6-6"})))}var xa=function(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.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 Aa(t){switch(t.type){case"lvl1":return c.createElement(xa,null);case"content":return c.createElement(Ta,null);default:return c.createElement(Na,null)}}function Na(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ta(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function vo(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.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 Ra(){return c.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},c.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 La(){return c.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},c.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 qa(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 c.createElement("div",{className:"DocSearch-ErrorScreen"},c.createElement("div",{className:"DocSearch-Screen-Icon"},c.createElement(Ra,null)),c.createElement("p",{className:"DocSearch-Title"},o),c.createElement("p",{className:"DocSearch-Help"},a))}var Ma=["translations"];function Ha(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,Ma),o=n.noResultsText,i=o===void 0?"No results for":o,a=n.suggestedQueryText,u=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,h=r.state.context.searchSuggestions;return c.createElement("div",{className:"DocSearch-NoResults"},c.createElement("div",{className:"DocSearch-Screen-Icon"},c.createElement(La,null)),c.createElement("p",{className:"DocSearch-Title"},i,' "',c.createElement("strong",null,r.state.query),'"'),h&&h.length>0&&c.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},c.createElement("p",{className:"DocSearch-Help"},u,":"),c.createElement("ul",null,h.slice(0,3).reduce(function(s,S){return[].concat(je(s),[c.createElement("li",{key:S},c.createElement("button",{className:"DocSearch-Prefill",key:S,type:"button",onClick:function(){r.setQuery(S.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},S))])},[]))),r.getMissingResultsUrl&&c.createElement("p",{className:"DocSearch-Help"},"".concat(m," "),c.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},l)))}var Ua=["hit","attribute","tagName"];function ho(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,Ua)),{},{dangerouslySetInnerHTML:{__html:ho(e,"_snippetResult.".concat(n,".value"))||ho(e,n)}}))}function Yn(t){return t.collection&&t.collection.items.length!==0?c.createElement("section",{className:"DocSearch-Hits"},c.createElement("div",{className:"DocSearch-Hit-source"},t.title),c.createElement("ul",t.getListProps(),t.collection.items.map(function(e,n){return c.createElement(Fa,lt({key:[t.title,e.objectID].join(":"),item:e,index:n},t))}))):null}function Fa(t){var e=t.item,n=t.index,r=t.renderIcon,o=t.renderAction,i=t.getItemProps,a=t.onItemClick,u=t.collection,f=t.hitComponent,m=ht(c.useState(!1),2),b=m[0],l=m[1],h=ht(c.useState(!1),2),s=h[0],S=h[1],g=c.useRef(null),d=f;return c.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:u.source,onClick:function(v){a(e,v)}})),c.createElement(d,{hit:e},c.createElement("div",{className:"DocSearch-Hit-Container"},r({item:e,index:n}),e.hierarchy[e.type]&&e.type==="lvl1"&&c.createElement("div",{className:"DocSearch-Hit-content-wrapper"},c.createElement(ie,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.lvl1"}),e.content&&c.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")&&c.createElement("div",{className:"DocSearch-Hit-content-wrapper"},c.createElement(ie,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.".concat(e.type)}),c.createElement(ie,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),e.type==="content"&&c.createElement("div",{className:"DocSearch-Hit-content-wrapper"},c.createElement(ie,{className:"DocSearch-Hit-title",hit:e,attribute:"content"}),c.createElement(ie,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),o({item:e,runDeleteTransition:function(v){l(!0),g.current=v},runFavoriteTransition:function(v){S(!0),g.current=v}}))))}function yo(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 _o(t){return t}function mn(t){return t.button===1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}function Ba(){}var li=/(<mark>|<\/mark>)/g,Va=RegExp(li.source);function si(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&&Va.test(o.value)?o.value.replace(li,""):o.value:t.hierarchy.lvl0}function Ka(t){return c.createElement("div",{className:"DocSearch-Dropdown-Container"},t.state.collections.map(function(e){if(e.items.length===0)return null;var n=si(e.items[0]);return c.createElement(Yn,lt({},t,{key:e.source.sourceId,title:n,collection:e,renderIcon:function(r){var o,i=r.item,a=r.index;return c.createElement(c.Fragment,null,i.__docsearch_parent&&c.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},c.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)?c.createElement("path",{d:"M8 6v21M20 27H8.3"}):c.createElement("path",{d:"M8 6v42M20 27H8.3"}))),c.createElement("div",{className:"DocSearch-Hit-icon"},c.createElement(Aa,{type:i.type})))},renderAction:function(){return c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement(Ca,null))}}))}),t.resultsFooterComponent&&c.createElement("section",{className:"DocSearch-HitsFooter"},c.createElement(t.resultsFooterComponent,{state:t.state})))}var Wa=["translations"];function za(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,Wa),o=n.recentSearchesTitle,i=o===void 0?"Recent":o,a=n.noRecentSearchesText,u=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,h=n.favoriteSearchesTitle,s=h===void 0?"Favorite":h,S=n.removeFavoriteSearchButtonTitle,g=S===void 0?"Remove this search from favorites":S;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:c.createElement("div",{className:"DocSearch-StartScreen"},c.createElement("p",{className:"DocSearch-Help"},u)):r.hasCollections===!1?null:c.createElement("div",{className:"DocSearch-Dropdown-Container"},c.createElement(Yn,lt({},r,{title:i,collection:r.state.collections[0],renderIcon:function(){return c.createElement("div",{className:"DocSearch-Hit-icon"},c.createElement(Da,null))},renderAction:function(d){var v=d.item,_=d.runFavoriteTransition,p=d.runDeleteTransition;return c.createElement(c.Fragment,null,c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement("button",{className:"DocSearch-Hit-action-button",title:m,type:"submit",onClick:function(y){y.preventDefault(),y.stopPropagation(),_(function(){r.favoriteSearches.add(v),r.recentSearches.remove(v),r.refresh()})}},c.createElement(vo,null))),c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement("button",{className:"DocSearch-Hit-action-button",title:l,type:"submit",onClick:function(y){y.preventDefault(),y.stopPropagation(),p(function(){r.recentSearches.remove(v),r.refresh()})}},c.createElement(Gn,null))))}})),c.createElement(Yn,lt({},r,{title:s,collection:r.state.collections[1],renderIcon:function(){return c.createElement("div",{className:"DocSearch-Hit-icon"},c.createElement(vo,null))},renderAction:function(d){var v=d.item,_=d.runDeleteTransition;return c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement("button",{className:"DocSearch-Hit-action-button",title:g,type:"submit",onClick:function(p){p.preventDefault(),p.stopPropagation(),_(function(){r.favoriteSearches.remove(v),r.refresh()})}},c.createElement(Gn,null)))}})))}var Ja=["translations"],Qa=c.memo(function(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,Ja);if(r.state.status==="error")return c.createElement(qa,{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?c.createElement(Ha,lt({},r,{translations:n==null?void 0:n.noResultsScreen})):c.createElement(Ka,r):c.createElement(za,lt({},r,{hasCollections:o,translations:n==null?void 0:n.startScreen}))},function(t,e){return e.state.status==="loading"||e.state.status==="stalled"}),$a=["translations"];function Za(t){var e=t.translations,n=e===void 0?{}:e,r=xt(t,$a),o=n.resetButtonTitle,i=o===void 0?"Clear the query":o,a=n.resetButtonAriaLabel,u=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,h=n.searchInputLabel,s=h===void 0?"Search":h,S=r.getFormProps({inputElement:r.inputRef.current}).onReset;return c.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),c.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),c.createElement(c.Fragment,null,c.createElement("form",{className:"DocSearch-Form",onSubmit:function(g){g.preventDefault()},onReset:S},c.createElement("label",lt({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),c.createElement(ei,null),c.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},s)),c.createElement("div",{className:"DocSearch-LoadingIndicator"},c.createElement(ka,null)),c.createElement("input",lt({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),c.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":u,hidden:!r.state.query},c.createElement(Gn,null))),c.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":l,onClick:r.onClose},m))}var Ga=["_highlightResult","_snippetResult"];function go(t){var e=t.key,n=t.limit,r=n===void 0?5:n,o=function(a){return function(){var u="__TEST_KEY__";try{return localStorage.setItem(u,""),localStorage.removeItem(u),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(u){return window.localStorage.setItem(a,JSON.stringify(u))},getItem:function(){var u=window.localStorage.getItem(a);return u?JSON.parse(u):[]}}}(e),i=o.getItem().slice(0,r);return{add:function(a){var u=a;u._highlightResult,u._snippetResult;var f=xt(u,Ga),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(u){return u.objectID!==a.objectID}),o.setItem(i)},getAll:function(){return i}}}function Ya(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,u){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(h){return ht(h,2)[1].timestamp!==void 0}))),m&&i(Object.fromEntries(Object.entries(l).filter(function(h){var s=ht(h,2)[1],S=new Date().getTime();return!(s.timestamp+m<S)}))),o()[JSON.stringify(a)]}).then(function(m){return Promise.all([m?m.value:u(),m!==void 0])}).then(function(m){var b=ht(m,2),l=b[0],h=b[1];return Promise.all([l,h||f.miss(l)])}).then(function(m){return ht(m,1)[0]})},set:function(a,u){return Promise.resolve().then(function(){var f=o();return f[JSON.stringify(a)]={timestamp:new Date().getTime(),value:u},r().setItem(n,JSON.stringify(f)),u})},delete:function(a){return Promise.resolve().then(function(){var u=o();delete u[JSON.stringify(a)],r().setItem(n,JSON.stringify(u))})},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(u){return o.miss(u)}).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 Xa(t){var e=t.algoliaAgents,n=t.client,r=t.version,o=function(i){var a={value:"Algolia for JavaScript (".concat(i,")"),add:function(u){var f="; ".concat(u.segment).concat(u.version!==void 0?" (".concat(u.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 bo=12e4;function So(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>bo},isTimedOut:function(){return e==="timed out"&&Date.now()-n<=bo}})}var fi=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)}(),mi=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,fi),pe(t)}(),tc=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,mi),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,mi),pe(t)}(),ec=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,fi),pe(t)}(),nc=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 rc(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 oc(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 ic(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 ac(t){try{return JSON.parse(t.content)}catch(e){throw new ec(e.message,t)}}function cc(t,e){var n=t.content,r=t.status;try{var o=JSON.parse(n);return"error"in o?new nc(o.message,r,o.error,e):new Xn(o.message,r,e)}catch{}return new Xn(n,r,e)}function uc(t){return t.map(function(e){return pi(e)})}function pi(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 lc=["appId","apiKey","authMode","algoliaAgents"],sc=["params"],Oo="5.19.0";function fc(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.9.0",mc=["footer","searchBox"];function pc(t){var e=t.appId,n=t.apiKey,r=t.indexName,o=t.placeholder,i=o===void 0?"Search docs":o,a=t.searchParameters,u=t.maxResultsPerGroup,f=t.onClose,m=f===void 0?Ba:f,b=t.transformItems,l=b===void 0?_o:b,h=t.hitComponent,s=h===void 0?Ia:h,S=t.resultsFooterComponent,g=S===void 0?function(){return null}:S,d=t.navigator,v=t.initialScrollY,_=v===void 0?0:v,p=t.transformSearchClient,y=p===void 0?_o:p,P=t.disableUserPersonalization,k=P!==void 0&&P,N=t.initialQuery,x=N===void 0?"":N,j=t.translations,C=j===void 0?{}:j,I=t.getMissingResultsUrl,L=t.insights,Q=L!==void 0&&L,q=C.footer,G=C.searchBox,O=xt(C,mc),w=ht(c.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),E=w[0],R=w[1],D=c.useRef(null),M=c.useRef(null),W=c.useRef(null),K=c.useRef(null),z=c.useRef(null),Y=c.useRef(10),st=c.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,et=c.useRef(x||st).current,de=function(H,J,at){return c.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(U){var nt=U.appId,X=U.apiKey,Pt=U.authMode,Mt=U.algoliaAgents,It=xt(U,lc),St=function(T,$){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"WithinHeaders",yt={"x-algolia-api-key":$,"x-algolia-application-id":T};return{headers:function(){return rt==="WithinHeaders"?yt:{}},queryParameters:function(){return rt==="WithinQueryParameters"?yt:{}}}}(nt,X,Pt),pt=function(T){var $=T.hosts,rt=T.hostsCache,yt=T.baseHeaders,kt=T.logger,Ht=T.baseQueryParameters,Kt=T.algoliaAgent,fr=T.timeouts,mr=T.requester,ye=T.requestsCache,bn=T.responsesCache;function gi(gt){return pr.apply(this,arguments)}function pr(){return(pr=An(Zt().mark(function gt(ct){var ot,At,ut,vt,Ut;return Zt().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.next=2,Promise.all(ct.map(function(ft){return rt.get(ft,function(){return Promise.resolve(So(ft))})}));case 2:return ot=Nt.sent,At=ot.filter(function(ft){return ft.isUp()}),ut=ot.filter(function(ft){return ft.isTimedOut()}),vt=[].concat(je(At),je(ut)),Ut=vt.length>0?vt:ct,Nt.abrupt("return",{hosts:Ut,getTimeout:function(ft,te){return(ut.length===0&&ft===0?1:ut.length+3+ft)*te}});case 8:case"end":return Nt.stop()}},gt)}))).apply(this,arguments)}function vr(gt,ct){return Sn.apply(this,arguments)}function Sn(){return Sn=An(Zt().mark(function gt(ct,ot){var At,ut,vt,Ut,Nt,ft,te,On,Wt,Ze,wn,hr,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],ut=[],vt=oc(ct,ot),Ut=ic(yt,ct.headers,ot.headers),Nt=ct.method==="GET"?B(B({},ct.data),ot.data):{},ft=B(B(B({},Ht),ct.queryParameters),Nt),Kt.value&&(ft["x-algolia-agent"]=Kt.value),ot&&ot.queryParameters)for(te=0,On=Object.keys(ot.queryParameters);te<On.length;te++)Wt=On[te],ot.queryParameters[Wt]&&Object.prototype.toString.call(ot.queryParameters[Wt])!=="[object Object]"?ft[Wt]=ot.queryParameters[Wt].toString():ft[Wt]=ot.queryParameters[Wt];return Ze=0,wn=function(){var _e=An(Zt().mark(function dr(Ge,Pn){var ge,Ye,In,kn,Ft,yr;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 tc(uc(ut));case 3:return Ye=B(B({},fr),ot.timeouts),In={data:vt,headers:Ut,method:ct.method,url:rc(ge,ct.path,ft),connectTimeout:Pn(Ze,Ye.connect),responseTimeout:Pn(Ze,At?Ye.read:Ye.write)},kn=function(tn){var gr={request:In,response:tn,host:ge,triesLeft:Ge.length};return ut.push(gr),gr},Ot.next=8,mr.send(In);case 8:if(Dn=(_r=Ft=Ot.sent).isTimedOut,Xe=_r.status,!(Dn||function(tn){return!tn.isTimedOut&&!~~tn.status}({isTimedOut:Dn,status:Xe})||~~(Xe/100)!=2&&~~(Xe/100)!=4)){Ot.next=16;break}return yr=kn(Ft),Ft.isTimedOut&&Ze++,kt.info("Retryable failure",pi(yr)),Ot.next=15,rt.set(ge,So(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",ac(Ft));case 18:throw kn(Ft),cc(Ft,ut);case 20:case"end":return Ot.stop()}var _r,Dn,Xe},dr)}));return function(dr,Ge){return _e.apply(this,arguments)}}(),hr=$.filter(function(_e){return _e.accept==="readWrite"||(At?_e.accept==="read":_e.accept==="write")}),ee.next=13,gi(hr);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:rt,requester:mr,timeouts:fr,logger:kt,algoliaAgent:Kt,baseHeaders:yt,baseQueryParameters:Ht,hosts:$,request:function(gt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ot=gt.useReadTransporter||gt.method==="GET";if(!ot)return vr(gt,ct,ot);var At=function(){return vr(gt,ct)};if((ct.cacheable||gt.cacheable)!==!0)return At();var ut={request:gt,requestOptions:ct,transporter:{queryParameters:Ht,headers:yt}};return bn.get(ut,function(){return ye.get(ut,function(){return ye.set(ut,At()).then(function(vt){return Promise.all([ye.delete(ut),vt])},function(vt){return Promise.all([ye.delete(ut),Promise.reject(vt)])}).then(function(vt){var Ut=ht(vt,2);return Ut[0],Ut[1]})})},{miss:function(vt){return bn.set(ut,vt)}})},requestsCache:ye,responsesCache:bn}}(B(B({hosts:fc(nt)},It),{},{algoliaAgent:Xa({algoliaAgents:Mt,client:"Lite",version:Oo}),baseHeaders:B(B({"content-type":"text/plain"},St.headers()),It.baseHeaders),baseQueryParameters:B(B({},St.queryParameters()),It.baseQueryParameters)}));return{transporter:pt,appId:nt,apiKey:X,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 rt=T.path,yt=T.parameters,kt=T.body;if(!rt)throw new Error("Parameter `path` is required when calling `customPost`.");var Ht={method:"POST",path:"/{path}".replace("{path}",rt),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 rt={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:T,useReadTransporter:!0,cacheable:!0};return pt.request(rt,$)},search:function(T,$){if(T&&Array.isArray(T)){var rt={requests:T.map(function(kt){var Ht=kt.params,Kt=xt(kt,sc);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=rt}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(U,nt){return Promise.resolve()},info:function(U,nt){return Promise.resolve()},error:function(U,nt){return Promise.resolve()}},requester:{send:function(U){return new Promise(function(nt){var X=new XMLHttpRequest;X.open(U.method,U.url,!0),Object.keys(U.headers).forEach(function(St){return X.setRequestHeader(St,U.headers[St])});var Pt,Mt=function(St,pt){return setTimeout(function(){X.abort(),nt({status:0,content:pt,isTimedOut:!0})},St)},It=Mt(U.connectTimeout,"Connection timeout");X.onreadystatechange=function(){X.readyState>X.OPENED&&Pt===void 0&&(clearTimeout(It),Pt=Mt(U.responseTimeout,"Socket timeout"))},X.onerror=function(){X.status===0&&(clearTimeout(It),clearTimeout(Pt),nt({content:X.responseText||"Network request failed",status:X.status,isTimedOut:!1}))},X.onload=function(){clearTimeout(It),clearTimeout(Pt),nt({content:X.responseText,status:X.status,isTimedOut:!1})},X.send(U.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:Hn(),requestsCache:Hn({serializable:!1}),hostsCache:we({caches:[Ya({key:"".concat(Oo,"-").concat(dt)}),Hn()]})},void 0))}(H,J);return mt.addAlgoliaAgent("docsearch",tr),/docsearch.js \(.*\)/.test(mt.transporter.algoliaAgent.value)===!1&&mt.addAlgoliaAgent("docsearch-react",tr),at(mt)},[H,J,at])}(e,n,y),Et=c.useRef(go({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(r),limit:10})).current,Vt=c.useRef(go({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(r),limit:Et.getAll().length===0?7:4})).current,jt=c.useCallback(function(H){if(!k){var J=H.type==="content"?H.__docsearch_parent:H;J&&Et.getAll().findIndex(function(at){return at.objectID===J.objectID})===-1&&Vt.add(J)}},[Et,Vt,k]),Xt=c.useCallback(function(H){if(E.context.algoliaInsightsPlugin&&H.__autocomplete_id){var J=H,at={eventName:"Item Selected",index:J.__autocomplete_indexName,items:[J],positions:[H.__autocomplete_id],queryID:J.__autocomplete_queryID};E.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(at)}},[E.context.algoliaInsightsPlugin]),qt=c.useMemo(function(){return Ea({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:et,context:{searchSuggestions:[]}},insights:Q,navigator:d,onStateChange:function(H){R(H.state)},getSources:function(H){var J=H.query,at=H.state,mt=H.setContext,dt=H.setStatus;if(!J)return k?[]:[{sourceId:"recentSearches",onSelect:function(U){var nt=U.item,X=U.event;jt(nt),mn(X)||m()},getItemUrl:function(U){return U.item.url},getItems:function(){return Vt.getAll()}},{sourceId:"favoriteSearches",onSelect:function(U){var nt=U.item,X=U.event;jt(nt),mn(X)||m()},getItemUrl:function(U){return U.item.url},getItems:function(){return Et.getAll()}}];var _t=!!Q;return de.search({requests:[B({query:J,indexName:r,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(Y.current),"hierarchy.lvl2:".concat(Y.current),"hierarchy.lvl3:".concat(Y.current),"hierarchy.lvl4:".concat(Y.current),"hierarchy.lvl5:".concat(Y.current),"hierarchy.lvl6:".concat(Y.current),"content:".concat(Y.current)],snippetEllipsisText:"\u2026",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:_t},a)]}).catch(function(U){throw U.name==="RetryError"&&dt("error"),U}).then(function(U){var nt=U.results[0],X=nt.hits,Pt=nt.nbHits,Mt=yo(X,function(St){return si(St)},u);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:nt.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,rt=T.event;jt($),mn(rt)||m()},getItemUrl:function(T){return T.item.url},getItems:function(){return Object.values(yo(St,function(T){return T.hierarchy.lvl1},u)).map(l).map(function(T){return T.map(function($){var rt=null,yt=T.find(function(kt){return kt.type==="lvl1"&&kt.hierarchy.lvl1===$.hierarchy.lvl1});return $.type!=="lvl1"&&yt&&(rt=yt),B(B({},$),{},{__docsearch_parent:rt},It)})}).flat()}}})})}})},[r,a,u,de,m,Vt,Et,jt,et,i,d,l,k,Q,e,n]),$e=qt.getEnvironmentProps,_i=qt.getRootProps,sr=qt.refresh;return function(H){var J=H.getEnvironmentProps,at=H.panelElement,mt=H.formElement,dt=H.inputElement;c.useEffect(function(){if(at&&mt&&dt){var _t=J({panelElement:at,formElement:mt,inputElement:dt}),U=_t.onTouchStart,nt=_t.onTouchMove;return window.addEventListener("touchstart",U),window.addEventListener("touchmove",nt),function(){window.removeEventListener("touchstart",U),window.removeEventListener("touchmove",nt)}}},[J,at,mt,dt])}({getEnvironmentProps:$e,panelElement:K.current,formElement:W.current,inputElement:z.current}),function(H){var J=H.container;c.useEffect(function(){if(J){var at=J.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),mt=at[0],dt=at[at.length-1];return J.addEventListener("keydown",_t),function(){J.removeEventListener("keydown",_t)}}function _t(U){U.key==="Tab"&&(U.shiftKey?document.activeElement===mt&&(U.preventDefault(),dt.focus()):document.activeElement===dt&&(U.preventDefault(),mt.focus()))}},[J])}({container:D.current}),c.useEffect(function(){return document.body.classList.add("DocSearch--active"),function(){var H,J;document.body.classList.remove("DocSearch--active"),(H=(J=window).scrollTo)===null||H===void 0||H.call(J,0,_)}},[]),c.useLayoutEffect(function(){var H=window.innerWidth-document.body.clientWidth;return document.body.style.marginRight="".concat(H,"px"),function(){document.body.style.marginRight="0px"}},[]),c.useEffect(function(){window.matchMedia("(max-width: 768px)").matches&&(Y.current=5)},[]),c.useEffect(function(){K.current&&(K.current.scrollTop=0)},[E.query]),c.useEffect(function(){et.length>0&&(sr(),z.current&&z.current.focus())},[et,sr]),c.useEffect(function(){function H(){if(M.current){var J=.01*window.innerHeight;M.current.style.setProperty("--docsearch-vh","".concat(J,"px"))}}return H(),window.addEventListener("resize",H),function(){window.removeEventListener("resize",H)}},[]),c.createElement("div",lt({ref:D},_i({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",E.status==="stalled"&&"DocSearch-Container--Stalled",E.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(H){H.target===H.currentTarget&&m()}}),c.createElement("div",{className:"DocSearch-Modal",ref:M},c.createElement("header",{className:"DocSearch-SearchBar",ref:W},c.createElement(Za,lt({},qt,{state:E,autoFocus:et.length===0,inputRef:z,isFromSelection:!!et&&et===st,translations:G,onClose:m}))),c.createElement("div",{className:"DocSearch-Dropdown",ref:K},c.createElement(Qa,lt({},qt,{indexName:r,state:E,hitComponent:s,resultsFooterComponent:g,disableUserPersonalization:k,recentSearches:Vt,favoriteSearches:Et,inputRef:z,translations:O,getMissingResultsUrl:I,onItemClick:function(H,J){Xt(H),jt(H),mn(J)||m()}}))),c.createElement("footer",{className:"DocSearch-Footer"},c.createElement(Pa,{translations:q}))))}function vc(t){var e,n,r=c.useRef(null),o=ht(c.useState(!1),2),i=o[0],a=o[1],u=ht(c.useState((t==null?void 0:t.initialQuery)||void 0),2),f=u[0],m=u[1],b=c.useCallback(function(){a(!0)},[a]),l=c.useCallback(function(){a(!1),m(t==null?void 0:t.initialQuery)},[a,t.initialQuery]);return function(h){var s=h.isOpen,S=h.onOpen,g=h.onClose,d=h.onInput,v=h.searchButtonRef;c.useEffect(function(){function _(p){var y;if(p.code==="Escape"&&s||((y=p.key)===null||y===void 0?void 0:y.toLowerCase())==="k"&&(p.metaKey||p.ctrlKey)||!function(P){var k=P.target,N=k.tagName;return k.isContentEditable||N==="INPUT"||N==="SELECT"||N==="TEXTAREA"}(p)&&p.key==="/"&&!s)return p.preventDefault(),void(s?g():document.body.classList.contains("DocSearch--active")||S());v&&v.current===document.activeElement&&d&&/[a-zA-Z0-9]/.test(String.fromCharCode(p.keyCode))&&d(p)}return window.addEventListener("keydown",_),function(){window.removeEventListener("keydown",_)}},[s,S,g,d,v])}({isOpen:i,onOpen:b,onClose:l,onInput:c.useCallback(function(h){a(!0),m(h.key)},[a,m]),searchButtonRef:r}),c.createElement(c.Fragment,null,c.createElement(Ki,{ref:r,translations:t==null||(e=t.translations)===null||e===void 0?void 0:e.button,onClick:b}),i&&Go(c.createElement(pc,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 vi(t){Xo(c.createElement(vc,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 hi="3151f502c7b9e9dafd5e6372b691a24e",di="AK7KMZKZHQ",yi="bootstrap";(()=>{let t=document.getElementById("docsearch");if(!t)return;let e=t.getAttribute("data-bd-docs-version");vi({apiKey:hi,indexName:yi,appId:di,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-2025 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.9.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com *)
|
|
*/
|