1var Xc=Object.defineProperty;var xa=t=>{throw TypeError(t)};var eu=(t,e,r)=>e in t?Xc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var re=(t,e,r)=>eu(t,typeof e!="symbol"?e+"":e,r),Ca=(t,e,r)=>e.has(t)||xa("Cannot "+r);var S=(t,e,r)=>(Ca(t,e,"read from private field"),r?r.call(t):e.get(t)),D=(t,e,r)=>e.has(t)?xa("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),de=(t,e,r,n)=>(Ca(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{c as se,a as N,t as te,n as Yt,b as Ur}from"../chunks/disclose-version.DE-liGRC.js";import{p as me,f as z,a as he,g as O,d as J,c as U,s as B,r as q,aU as Sr,h as le,aV as qs,n as He,t as ue,aW as dt,aX as ra,ax as et,e as Ee,b as rt,Z as Mt,u as Fs,k as tu,Y as ru,aY as ka}from"../chunks/runtime.vEvs2zhv.js";import{s as we}from"../chunks/snippet.CYylqNWl.js";import"../chunks/legacy.B3rupc9m.js";import{k as Pt,f as Qe,s as Pe,I as Pr,d as Xt,e as sr,a as lr,c as fr}from"../chunks/Icon.VaO0A4Wf.js";import{z as ai,i as ge,A as on,b as L,r as Fe,s as ze,h as nu,p as ke,a as Ie,l as At,k as ou}from"../chunks/props.CdrK0jyI.js";import{A as Us}from"../chunks/arrow-right.BrcQa09R.js";import{s as iu,g as Ks,w as xt,d as Vs}from"../chunks/entry.C4eW_Si3.js";import{b as au}from"../chunks/this.auZb6bJk.js";import{o as Bs}from"../chunks/index-client.DasD0bY9.js";import{B as zs,b as bi}from"../chunks/button.BXrKZ8YO.js";import{A as yo,j as na,k as oa,l as an,b as ae,o as Ws,p as su,H as Gs,q as cu,r as Ia,c as xr,g as ia,u as Rt,S as Vn,E as si,a as Zs,d as Ht,m as qe,s as Js,t as uu,v as lu,w as wi,x as fu,y as Qs,z as du,B as sn,T as mu,C as hu,D as to,G as ho,I as pu,J as vu,K as gu,n as Tt,L as _u,M as yu,N as bu,O as wu,Q as ja,h as Su,P as Ou,e as Eu,f as Da,F as Pu,i as xu}from"../chunks/popper-layer-force-mount.C_5nWo5A.js";import{u as Cu,M as Ma}from"../chunks/mounted.CLpnp3mW.js";import{c as $t}from"../chunks/svelte-component.CiFqmCp_.js";import{a as pt}from"../chunks/utils.Lvd1QGwp.js";import{I as tt}from"../chunks/index.DQk258T9.js";import{s as Be}from"../chunks/site.Dgzfuz1j.js";import{B as ku}from"../chunks/book-open.CLQZCrCt.js";import{P as Iu}from"../chunks/package.DAJXtm9i.js";import{h as Ai}from"../chunks/html.CtXZ4gcb.js";import{E as ju}from"../chunks/external-link.ByoEQIkn.js";import{c as Du}from"../chunks/index.BmEtfwky.js";import{X as Mu}from"../chunks/x.C68nL2R_.js";import{u as Tu,C as Au}from"../chunks/calendar.J_6grJLP.js";import{A as Nu}from"../chunks/arrow-up-right.BRxiKkMY.js";import{S as Lu}from"../chunks/sparkles.Bto876ma.js";const Ru=!0,Hu="never",Lh=Object.freeze(Object.defineProperty({__proto__:null,prerender:Ru,trailingSlash:Hu},Symbol.toStringTag,{value:"Module"})),qu=()=>{const t=iu;return{page:{subscribe:t.page.subscribe},navigating:{subscribe:t.navigating.subscribe},updated:t.updated}},aa={subscribe(t){return qu().page.subscribe(t)}};var Fu=te('<a href="/cms" class="group block border-b border-lime-500/25 bg-gradient-to-r from-lime-500/10 via-lime-400/[0.14] to-emerald-500/10 transition-colors hover:from-lime-500/15 hover:via-lime-400/20 hover:to-emerald-500/15"><div class="container flex max-w-screen-2xl items-center justify-center gap-x-2.5 gap-y-1 py-2 text-sm"><span class="inline-flex shrink-0 items-center gap-1.5 rounded-full border border-lime-500/30 bg-lime-500/10 px-2 py-0.5 text-[11px] font-medium text-lime-700 dark:text-lime-400"><span class="h-1.5 w-1.5 rounded-full bg-lime-500"></span> Vale CMS</span> <span class="min-w-0 truncate text-muted-foreground"><span class="font-medium text-foreground">Need more than a rule playground?</span> <span class="hidden md:inline">Author full projects â config, rules, vocabularies, and tests.</span></span> <span class="inline-flex shrink-0 items-center gap-1 font-medium text-foreground underline decoration-border underline-offset-4 transition-colors group-hover:decoration-foreground">Explore <!></span></div></a>');function Uu(t,e){me(e,!0);const r=ai(),n=()=>on(aa,"$page",r),o=J(()=>n().url.pathname.startsWith("/cms"));var i=se(),a=z(i);{var s=u=>{var l=Fu(),p=U(l),c=B(U(p),4),d=B(U(c));Us(d,{class:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5"}),q(c),q(p),q(l),N(u,l)};ge(a,u=>{O(o)||u(s)})}N(t,i),he()}/*! @docsearch/js 3.8.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Ni(){return Ni=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ni.apply(null,arguments)}function W(t){return W=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},W(t)}var Bn,Y,$s,Gt,Ta,Ys,Li,sa,Ri,Hi,Xs,cn={},ec=[],Ku=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ci=Array.isArray;function St(t,e){for(var r in e)t[r]=e[r];return t}function tc(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function ht(t,e,r){var n,o,i,a={};for(i in e)i=="key"?n=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?Bn.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return Kr(t,a,n,o,null)}function Kr(t,e,r,n,o){var i={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++$s,__i:-1,__u:0};return o==null&&Y.vnode!=null&&Y.vnode(i),i}function Ot(t){return t.children}function vt(t,e){this.props=t,this.context=e}function Or(t,e){if(e==null)return t.__?Or(t.__,t.__i+1):null;for(var r;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null)return r.__e;return typeof t.type=="function"?Or(t):null}function rc(t){var e,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return rc(t)}}function qi(t){(!t.__d&&(t.__d=!0)&&Gt.push(t)&&!bo.__r++||Ta!==Y.debounceRendering)&&((Ta=Y.debounceRendering)||Ys)(bo)}function bo(){var t,e,r,n,o,i,a,s;for(Gt.sort(Li);t=Gt.shift();)t.__d&&(e=Gt.length,n=void 0,i=(o=(r=t).__v).__e,a=[],s=[],r.__P&&((n=St({},o)).__v=o.__v+1,Y.vnode&&Y.vnode(n),ca(r.__P,n,o,r.__n,r.__P.namespaceURI,32&o.__u?[i]:null,a,i??Or(o),!!(32&o.__u),s),n.__v=o.__v,n.__.__k[n.__i]=n,ic(a,n,s),n.__e!=i&&rc(n)),Gt.length>e&&Gt.sort(Li));bo.__r=0}function nc(t,e,r,n,o,i,a,s,u,l,p){var c,d,f,w,y,g=n&&n.__k||ec,_=e.length;for(r.__d=u,function(h,m,b){var C,E,T,j,I,M=m.length,A=b.length,K=A,V=0;for(h.__k=[],C=0;C<M;C++)(E=m[C])!=null&&typeof E!="boolean"&&typeof E!="function"?(j=C+V,(E=h.__k[C]=typeof E=="string"||typeof E=="number"||typeof E=="bigint"||E.constructor==String?Kr(null,E,null,null,null):ci(E)?Kr(Ot,{children:E},null,null,null):E.constructor===void 0&&E.__b>0?Kr(E.type,E.props,E.key,E.ref?E.ref:null,E.__v):E).__=h,E.__b=h.__b+1,T=null,(I=E.__i=Vu(E,b,j,K))!==-1&&(K--,(T=b[I])&&(T.__u|=131072)),T==null||T.__v===null?(I==-1&&V--,typeof E.type!="function"&&(E.__u|=65536)):I!==j&&(I==j-1?V--:I==j+1?V++:(I>j?V--:V++,E.__u|=65536))):E=h.__k[C]=null;if(K)for(C=0;C<A;C++)(T=b[C])!=null&&!(131072&T.__u)&&(T.__e==h.__d&&(h.__d=Or(T)),ac(T,T))}(r,e,g),u=r.__d,c=0;c<_;c++)(f=r.__k[c])!=null&&(d=f.__i===-1?cn:g[f.__i]||cn,f.__i=c,ca(t,f,d,o,i,a,s,u,l,p),w=f.__e,f.ref&&d.ref!=f.ref&&(d.ref&&ua(d.ref,null,f),p.push(f.ref,f.__c||w,f)),y==null&&w!=null&&(y=w),65536&f.__u||d.__k===f.__k?u=oc(f,u,t):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:w&&(u=w.nextSibling),f.__d=void 0,f.__u&=-196609);r.__d=u,r.__e=y}function oc(t,e,r){var n,o;if(typeof t.type=="function"){for(n=t.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=t,e=oc(n[o],e,r));return e}t.__e!=e&&(e&&t.type&&!r.contains(e)&&(e=Or(t)),r.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Et(t,e){return e=e||[],t==null||typeof t=="boolean"||(ci(t)?t.some(function(r){Et(r,e)}):e.push(t)),e}function Vu(t,e,r,n){var o=t.key,i=t.type,a=r-1,s=r+1,u=e[r];if(u===null||u&&o==u.key&&i===u.type&&!(131072&u.__u))return r;if(n>(u==null||131072&u.__u?0:1))for(;a>=0||s<e.length;){if(a>=0){if((u=e[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<e.length){if((u=e[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function Aa(t,e,r){e[0]==="-"?t.setProperty(e,r??""):t[e]=r==null?"":typeof r!="number"||Ku.test(e)?r:r+"px"}function ro(t,e,r,n,o){var i;e:if(e==="style")if(typeof r=="string")t.style.cssText=r;else{if(typeof n=="string"&&(t.style.cssText=n=""),n)for(e in n)r&&e in r||Aa(t.style,e,"");if(r)for(e in r)n&&r[e]===n[e]||Aa(t.style,e,r[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=r,r?n?r.u=n.u:(r.u=sa,t.addEventListener(e,i?Hi:Ri,i)):t.removeEventListener(e,i?Hi:Ri,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]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&r==1?"":r))}}function Na(t){return function(e){if(this.l){var r=this.l[e.type+t];if(e.t==null)e.t=sa++;else if(e.t<r.u)return;return r(Y.event?Y.event(e):e)}}}function ca(t,e,r,n,o,i,a,s,u,l){var p,c,d,f,w,y,g,_,h,m,b,C,E,T,j,I,M=e.type;if(e.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),i=[s=e.__e=r.__e]),(p=Y.__b)&&p(e);e:if(typeof M=="function")try{if(_=e.props,h="prototype"in M&&M.prototype.render,m=(p=M.contextType)&&n[p.__c],b=p?m?m.props.value:p.__:n,r.__c?g=(c=e.__c=r.__c).__=c.__E:(h?e.__c=c=new M(_,b):(e.__c=c=new vt(_,b),c.constructor=M,c.render=zu),m&&m.sub(c),c.props=_,c.state||(c.state={}),c.context=b,c.__n=n,d=c.__d=!0,c.__h=[],c._sb=[]),h&&c.__s==null&&(c.__s=c.state),h&&M.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=St({}
1,c.__s)),St(c.__s,M.getDerivedStateFromProps(_,c.__s))),f=c.props,w=c.state,c.__v=e,d)h&&M.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),h&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(h&&M.getDerivedStateFromProps==null&&_!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,b)===!1||e.__v===r.__v)){for(e.__v!==r.__v&&(c.props=_,c.state=c.__s,c.__d=!1),e.__e=r.__e,e.__k=r.__k,e.__k.some(function(A){A&&(A.__=e)}),C=0;C<c._sb.length;C++)c.__h.push(c._sb[C]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,b),h&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,w,y)})}if(c.context=b,c.props=_,c.__P=t,c.__e=!1,E=Y.__r,T=0,h){for(c.state=c.__s,c.__d=!1,E&&E(e),p=c.render(c.props,c.state,c.context),j=0;j<c._sb.length;j++)c.__h.push(c._sb[j]);c._sb=[]}else do c.__d=!1,E&&E(e),p=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++T<25);c.state=c.__s,c.getChildContext!=null&&(n=St(St({},n),c.getChildContext())),h&&!d&&c.getSnapshotBeforeUpdate!=null&&(y=c.getSnapshotBeforeUpdate(f,w)),nc(t,ci(I=p!=null&&p.type===Ot&&p.key==null?p.props.children:p)?I:[I],e,r,n,o,i,a,s,u,l),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(A){if(e.__v=null,u||i!=null){for(e.__u|=u?160:128;s&&s.nodeType===8&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,e.__e=s}else e.__e=r.__e,e.__k=r.__k;Y.__e(A,e,r)}else i==null&&e.__v===r.__v?(e.__k=r.__k,e.__e=r.__e):e.__e=Bu(r.__e,e,r,n,o,i,a,u,l);(p=Y.diffed)&&p(e)}function ic(t,e,r){e.__d=void 0;for(var n=0;n<r.length;n++)ua(r[n],r[++n],r[++n]);Y.__c&&Y.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){Y.__e(i,o.__v)}})}function Bu(t,e,r,n,o,i,a,s,u){var l,p,c,d,f,w,y,g=r.props,_=e.props,h=e.type;if(h==="svg"?o="http://www.w3.org/2000/svg":h==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!h&&(h?f.localName===h:f.nodeType===3)){t=f,i[l]=null;break}}if(t==null){if(h===null)return document.createTextNode(_);t=document.createElementNS(o,h,_.is&&_),s&&(Y.__m&&Y.__m(e,i),s=!1),i=null}if(h===null)g===_||s&&t.data===_||(t.data=_);else{if(i=i&&Bn.call(t.childNodes),g=r.props||cn,!s&&i!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)if(f=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")c=f;else if(!(l in _)){if(l=="value"&&"defaultValue"in _||l=="checked"&&"defaultChecked"in _)continue;ro(t,l,null,f,o)}}for(l in _)f=_[l],l=="children"?d=f:l=="dangerouslySetInnerHTML"?p=f:l=="value"?w=f:l=="checked"?y=f:s&&typeof f!="function"||g[l]===f||ro(t,l,f,g[l],o);if(p)s||c&&(p.__html===c.__html||p.__html===t.innerHTML)||(t.innerHTML=p.__html),e.__k=[];else if(c&&(t.innerHTML=""),nc(t,ci(d)?d:[d],e,r,n,h==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:r.__k&&Or(r,0),s,u),i!=null)for(l=i.length;l--;)tc(i[l]);s||(l="value",h==="progress"&&w==null?t.removeAttribute("value"):w!==void 0&&(w!==t[l]||h==="progress"&&!w||h==="option"&&w!==g[l])&&ro(t,l,w,g[l],o),l="checked",y!==void 0&&y!==t[l]&&ro(t,l,y,g[l],o))}return t}function ua(t,e,r){try{if(typeof t=="function"){var n=typeof t.__u=="function";n&&t.__u(),n&&e==null||(t.__u=t(e))}else t.current=e}catch(o){Y.__e(o,r)}}function ac(t,e,r){var n,o;if(Y.unmount&&Y.unmount(t),(n=t.ref)&&(n.current&&n.current!==t.__e||ua(n,null,e)),(n=t.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){Y.__e(i,e)}n.base=n.__P=null}if(n=t.__k)for(o=0;o<n.length;o++)n[o]&&ac(n[o],e,r||typeof t.type!="function");r||tc(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function zu(t,e,r){return this.constructor(t,r)}function un(t,e,r){var n,o,i,a;Y.__&&Y.__(t,e),o=(n=typeof r=="function")?null:r&&r.__k||e.__k,i=[],a=[],ca(e,t=(!n&&r||e).__k=ht(Ot,null,[t]),o||cn,cn,e.namespaceURI,!n&&r?[r]:o?null:e.firstChild?Bn.call(e.childNodes):null,i,!n&&r?r:o?o.__e:e.firstChild,n,a),ic(i,t,a)}function sc(t,e){un(t,e,sc)}function Wu(t,e,r){var n,o,i,a,s=St({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?n=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?Bn.call(arguments,2):r),Kr(t.type,s,n||t.key,o||t.ref,null)}Bn=ec.slice,Y={__e:function(t,e,r,n){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,n||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},$s=0,vt.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=St({},this.state),typeof t=="function"&&(t=t(St({},r),this.props)),t&&St(r,t),t!=null&&this.__v&&(e&&this._sb.push(e),qi(this))},vt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),qi(this))},vt.prototype.render=Ot,Gt=[],Ys=typeof Promise=="function"?Promise.prototype.then.bind(Prom
vendor: 8,092 bytes, line 1
1ise.resolve()):setTimeout,Li=function(t,e){return t.__v.__b-e.__v.__b},bo.__r=0,sa=0,Ri=Na(!1),Hi=Na(!0),Xs=0;var Nt,ve,Si,La,Er=0,cc=[],ye=Y,Ra=ye.__b,Ha=ye.__r,qa=ye.diffed,Fa=ye.__c,Ua=ye.unmount,Ka=ye.__;function Cr(t,e){ye.__h&&ye.__h(ve,t,Er||e),Er=0;var r=ve.__H||(ve.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({}),r.__[t]}function zn(t){return Er=1,la(pc,t)}function la(t,e,r){var n=Cr(Nt++,2);if(n.t=t,!n.__c&&(n.__=[r?r(e):pc(void 0,e),function(s){var u=n.__N?n.__N[0]:n.__[0],l=n.t(u,s);u!==l&&(n.__N=[l,n.__[1]],n.__c.setState({}))}],n.__c=ve,!ve.u)){var o=function(s,u,l){if(!n.__c.__H)return!0;var p=n.__c.__H.__.filter(function(d){return!!d.__c});if(p.every(function(d){return!d.__N}))return!i||i.call(this,s,u,l);var c=!1;return p.forEach(function(d){if(d.__N){var f=d.__[0];d.__=d.__N,d.__N=void 0,f!==d.__[0]&&(c=!0)}}),!(!c&&n.__c.props===s)&&(!i||i.call(this,s,u,l))};ve.u=!0;var i=ve.shouldComponentUpdate,a=ve.componentWillUpdate;ve.componentWillUpdate=function(s,u,l){if(this.__e){var p=i;i=void 0,o(s,u,l),i=p}a&&a.call(this,s,u,l)},ve.shouldComponentUpdate=o}return n.__N||n.__}function Wn(t,e){var r=Cr(Nt++,3);!ye.__s&&fa(r.__H,e)&&(r.__=t,r.i=e,ve.__H.__h.push(r))}function Gn(t,e){var r=Cr(Nt++,4);!ye.__s&&fa(r.__H,e)&&(r.__=t,r.i=e,ve.__h.push(r))}function uc(t){return Er=5,ui(function(){return{current:t}},[])}function lc(t,e,r){Er=6,Gn(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},r==null?r:r.concat(t))}function ui(t,e){var r=Cr(Nt++,7);return fa(r.__H,e)&&(r.__=t(),r.__H=e,r.__h=t),r.__}function fc(t,e){return Er=8,ui(function(){return t},e)}function dc(t){var e=ve.context[t.__c],r=Cr(Nt++,9);return r.c=t,e?(r.__==null&&(r.__=!0,e.sub(ve)),e.props.value):t.__}function mc(t,e){ye.useDebugValue&&ye.useDebugValue(e?e(t):t)}function hc(){var t=Cr(Nt++,11);if(!t.__){for(var e=ve.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var r=e.__m||(e.__m=[0,0]);t.__="P"+r[0]+"-"+r[1]++}return t.__}function Gu(){for(var t;t=cc.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(po),t.__H.__h.forEach(Fi),t.__H.__h=[]}catch(e){t.__H.__h=[],ye.__e(e,t.__v)}}ye.__b=function(t){ve=null,Ra&&Ra(t)},ye.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Ka&&Ka(t,e)},ye.__r=function(t){Ha&&Ha(t),Nt=0;var e=(ve=t.__c).__H;e&&(Si===ve?(e.__h=[],ve.__h=[],e.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(e.__h.forEach(po),e.__h.forEach(Fi),e.__h=[],Nt=0)),Si=ve},ye.diffed=function(t){qa&&qa(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(cc.push(e)!==1&&La===ye.requestAnimationFrame||((La=ye.requestAnimationFrame)||Zu)(Gu)),e.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),Si=ve=null},ye.__c=function(t,e){e.some(function(r){try{r.__h.forEach(po),r.__h=r.__h.filter(function(n){return!n.__||Fi(n)})}catch(n){e.some(function(o){o.__h&&(o.__h=[])}),e=[],ye.__e(n,r.__v)}}),Fa&&Fa(t,e)},ye.unmount=function(t){Ua&&Ua(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{po(n)}catch(o){e=o}}),r.__H=void 0,e&&ye.__e(e,r.__v))};var Va=typeof requestAnimationFrame=="function";function Zu(t){var e,r=function(){clearTimeout(n),Va&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(r,100);Va&&(e=requestAnimationFrame(r))}function po(t){var e=ve,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),ve=e}function Fi(t){var e=ve;t.__c=t.__(),ve=e}function fa(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function pc(t,e){return typeof e=="function"?e(t):e}function Ui(t,e){for(var r in t)if(r!=="__source"&&!(r in e))return!0;for(var n in e)if(n!=="__source"&&t[n]!==e[n])return!0;return!1}function Ki(t,e){this.props=t,this.context=e}(Ki.prototype=new vt).isPureReactComponent=!0,Ki.prototype.shouldComponentUpdate=function(t,e){return Ui(this.props,t)||Ui(this.state,e)};var Ba=Y.__b;Y.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ba&&Ba(t)};var Ju=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,za=function(t,e){return t==null?null:Et(Et(t).map(e))},Qu={map:za,forEach:za,count:function(t){return t?Et(t).length:0},only:function(t){var e=Et(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Et},$u=Y.__e;Y.__e=function(t,e,r,n){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=r.__e,e.__k=r.__k),o.__c(t,e)}$u(t,e,r,n)};var Wa=Y.unmount;function vc(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),t.__c.__H=null),(t=function(n,o){for(var i in o)n[i]=o[i];return n}({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(n){return vc(n,e,r)})),t}function gc(t,e,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(n){return gc(n,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}function vo(){this.__u=0,this.t=null,this.__b=null}function _c(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function qr(){this.u=null,this.o=null}Y.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Wa&&Wa(t)},(vo.prototype=new vt).__c=function(t,e){var r=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=_c(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(s):s())};r.__R=a;var s=function(){if(!--n.__u){if(n.state.__a){var u=n.state.__a;n.__v.__k[0]=gc(u,u.__c.__P,u.__c.__O)}var l;for(n.setState({__a:n.__b=null});l=n.t.pop();)l.forceUpdate()}};n.__u++||32&e.__u||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(a,a)},vo.prototype.componentWillUnmount=function(){this.t=[]},vo.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=vc(this.__b,r,n.__O=n.__P)}this.__b=null}var o=e.__a&&ht(Ot,null,t.fallback);return o&&(o.__u&=-33),[ht(Ot,null,e.__a?null:t.children),o]};var Ga=function(t,e,r){if(++r[1]===r[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(r=t.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;t.u=r=r[2]}};function Yu(t){return this.getChildContext=function(){return t.context},t.children}function Xu(t){var e=this,r=t.i;e.componentWillUnmount=function(){un(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),un(ht(Yu,{context:e.context},t.__v),e.l)}function yc(t,e){var r=ht(Xu,{__v:t,i:e});return r.containerInfo=e,r}(qr.prototype=new vt).__a=function(t){var e=this,r=_c(e.__v),n=e.o.get(t);return n[0]++,function(o){var i=function(){e.props.revealOrder?(n.push(o),Ga(e,t,n)):o()};r?r(i):i()}},qr.prototype.render=function(t){this.u=null,this.o=new Map;var e=Et(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var r=e.length;r--;)this.o.set(e[r],this.u=[1,0,this.u]);return t.children},qr.prototype.componentDidUpdate=qr.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,r){Ga(t,r,e)})};var bc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,el=/^(?: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]/,tl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,rl=/[A-Z0-9]/g,nl=typeof document<"u",ol=function(t){return(typeof Symbol<"u"&&W(Symbol())=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function wc(t,e,r){return e.__k==null&&(e.textContent=""),un(t,e),typeof r=="function"&&r(),t?t.__c:null}vt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(vt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]}
1,set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Za=Y.event;function il(){}function al(){return this.cancelBubble}function sl(){return this.defaultPrevented}Y.event=function(t){return Za&&(t=Za(t)),t.persist=il,t.isPropagationStopped=al,t.isDefaultPrevented=sl,t.nativeEvent=t};var da,cl={enumerable:!1,configurable:!0,get:function(){return this.class}},Ja=Y.vnode;Y.vnode=function(t){typeof t.type=="string"&&function(e){var r=e.props,n=e.type,o={},i=n.indexOf("-")===-1;for(var a in r){var s=r[a];if(!(a==="value"&&"defaultValue"in r&&s==null||nl&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&s===!0?s="":u==="translate"&&s==="no"?s=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?a="ondblclick":u!=="onchange"||n!=="input"&&n!=="textarea"||ol(r.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":tl.test(a)&&(a=u):u=a="oninput":i&&el.test(a)?a=a.replace(rl,"-$&").toLowerCase():s===null&&(s=void 0),u==="oninput"&&o[a=u]&&(a="oninputCapture"),o[a]=s}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Et(r.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Et(r.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",cl)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),e.props=o}(t),t.$$typeof=bc,Ja&&Ja(t)};var Qa=Y.__r;Y.__r=function(t){Qa&&Qa(t),da=t.__c};var $a=Y.diffed;Y.diffed=function(t){$a&&$a(t);var e=t.props,r=t.__e;r!=null&&t.type==="textarea"&&"value"in e&&e.value!==r.value&&(r.value=e.value==null?"":e.value),da=null};var ul={ReactCurrentDispatcher:{current:{readContext:function(t){return da.__n[t.__c].props.value},useCallback:fc,useContext:dc,useDebugValue:mc,useDeferredValue:Oc,useEffect:Wn,useId:hc,useImperativeHandle:lc,useInsertionEffect:Pc,useLayoutEffect:Gn,useMemo:ui,useReducer:la,useRef:uc,useState:zn,useSyncExternalStore:xc,useTransition:Ec}}};function no(t){return!!t&&t.$$typeof===bc}function Sc(t){t()}function Oc(t){return t}function Ec(){return[!1,Sc]}var Pc=Gn;function xc(t,e){var r=e(),n=zn({h:{__:r,v:e}}),o=n[0].h,i=n[1];return Gn(function(){o.__=r,o.v=e,Oi(o)&&i({h:o})},[t,r,e]),Wn(function(){return Oi(o)&&i({h:o}),t(function(){Oi(o)&&i({h:o})})},[t]),r}function Oi(t){var e,r,n=t.v,o=t.__;try{var i=n();return!((e=o)===(r=i)&&(e!==0||1/e==1/r)||e!=e&&r!=r)}catch{return!0}}var v={useState:zn,useId:hc,useReducer:la,useEffect:Wn,useLayoutEffect:Gn,useInsertionEffect:Pc,useTransition:Ec,useDeferredValue:Oc,useSyncExternalStore:xc,startTransition:Sc,useRef:uc,useImperativeHandle:lc,useMemo:ui,useCallback:fc,useContext:dc,useDebugValue:mc,version:"18.3.1",Children:Qu,render:wc,hydrate:function(t,e,r){return sc(t,e),typeof r=="function"&&r(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(un(null,t),!0)},createPortal:yc,createElement:ht,createContext:function(t,e){var r={__c:e="__cC"+Xs++,__:t,Consumer:function(n,o){return n.children(o)},Provider:function(n){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(s){s.__e=!0,qi(s)})},this.sub=function(a){o.add(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),s&&s.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r},createFactory:function(t){return ht.bind(null,t)},cloneElement:function(t){return no(t)?Wu.apply(null,arguments):t},createRef:function(){return{current:null}},Fragment:Ot,isValidElement:no,isElement:no,isFragment:function(t){return no(t)&&t.type===Ot},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:vt,PureComponent:Ki,memo:function(t,e){function r(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:Ui(this.props,o)}function n(o){return this.shouldComponentUpdate=r,ht(t,o)}
1return n.displayName="Memo("+(t.displayName||t.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n},forwardRef:function(t){function e(r){if(!("ref"in r))return t(r,null);var n=r.ref;delete r.ref;var o=t(r,n);return r.ref=n,o}return e.$$typeof=Ju,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:Ot,Suspense:vo,SuspenseList:qr,lazy:function(t){var e,r,n;function o(i){if(e||(e=t()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw e;return ht(r,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ul};function Vi(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Ya(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(n,o)}function Ei(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(u){Ya(i,n,o,a,s,"next",u)}function s(u){Ya(i,n,o,a,s,"throw",u)}a(void 0)})}}function kr(t,e,r){return e=ln(e),function(n,o){if(o&&(W(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}(n)}(t,ma()?Reflect.construct(e,r||[],ln(t).constructor):e.apply(t,r))}function Ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(t,e,r){return Object.defineProperty(t,"prototype",{writable:!1}),t}function Dr(t,e,r){return(e=function(n){var o=function(i){if(W(i)!="object"||!i)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(W(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return W(o)=="symbol"?o:o+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ne(){return Ne=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ne.apply(null,arguments)}function ln(t){return ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ln(t)}function Mr(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&&fn(t,e)}function ma(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ma=function(){return!!t})()}function Xa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function ee(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xa(Object(r),!0).forEach(function(n){Dr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xa(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gt(t,e){if(t==null)return{};var r,n,o=function(a,s){if(a==null)return{};var u={};for(var l in a)if({}.hasOwnProperty.call(a,l)){if(s.includes(l))continue;u[l]=a[l]}return u}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Wt(){Wt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(P,x,k){P[x]=k.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(P,x,k){return Object.defineProperty(P,x,{value:k,enumerable:!0,configurable:!0,writable:!0}),P[x]}try{l({},"")}catch{l=function(x,k,F){return x[k]=F}}function p(P,x,k,F){var R=x&&x.prototype instanceof _?x:_,Z=Object.create(R.prototype),oe=new H(F||[]);return o(Z,"_invoke",{value:M(P,k,oe)}),Z}function c(P,x,k){try{return{type:"normal",arg:P.call(x,k)}}catch(F){return{type:"throw",arg:F}}}e.wrap=p;var d="suspendedStart",f="suspendedYield",w="executing",y="completed",g={};function _(){}function h(){}function m(){}var b={};l(b,a,function(){return this});var C=Object.getPrototypeOf,E=C&&C(C(ce([])));E&&E!==r&&n.call(E,a)&&(b=E);var T=m.prototype=_.prototype=Object.create(b);function j(P){["next","throw","return"].forEach(function(x){l(P,x,function(k){return this._invoke(x,k)})})}function I(P,x){function k(R,Z,oe,Q){var ie=c(P[R],P,Z);if(ie.type!=="throw"){var _e=ie.arg,Le=_e.value;return Le&&W(Le)=="object"&&n.call(Le,"__await")?x.resolve(Le.__await).then(function(Se){k("next",Se,oe,Q)},function(Se){k("throw",Se,oe,Q)}):x.resolve(Le).then(function(Se){_e.value=Se,oe(_e)},function(Se){return k("throw",Se,oe,Q)})}Q(ie.arg)}var F;o(this,"_invoke",{value:function(R,Z){function oe(){return new x(function(Q,ie){k(R,Z,Q,ie)})}return F=F?F.then(oe,oe):oe()}})}
vendor: 4,973 bytes, line 1
1function M(P,x,k){var F=d;return function(R,Z){if(F===w)throw Error("Generator is already running");if(F===y){if(R==="throw")throw Z;return{value:t,done:!0}}for(k.method=R,k.arg=Z;;){var oe=k.delegate;if(oe){var Q=A(oe,k);if(Q){if(Q===g)continue;return Q}}if(k.method==="next")k.sent=k._sent=k.arg;else if(k.method==="throw"){if(F===d)throw F=y,k.arg;k.dispatchException(k.arg)}else k.method==="return"&&k.abrupt("return",k.arg);F=w;var ie=c(P,x,k);if(ie.type==="normal"){if(F=k.done?y:f,ie.arg===g)continue;return{value:ie.arg,done:k.done}}ie.type==="throw"&&(F=y,k.method="throw",k.arg=ie.arg)}}}function A(P,x){var k=x.method,F=P.iterator[k];if(F===t)return x.delegate=null,k==="throw"&&P.iterator.return&&(x.method="return",x.arg=t,A(P,x),x.method==="throw")||k!=="return"&&(x.method="throw",x.arg=new TypeError("The iterator does not provide a '"+k+"' method")),g;var R=c(F,P.iterator,x.arg);if(R.type==="throw")return x.method="throw",x.arg=R.arg,x.delegate=null,g;var Z=R.arg;return Z?Z.done?(x[P.resultName]=Z.value,x.next=P.nextLoc,x.method!=="return"&&(x.method="next",x.arg=t),x.delegate=null,g):Z:(x.method="throw",x.arg=new TypeError("iterator result is not an object"),x.delegate=null,g)}function K(P){var x={tryLoc:P[0]};1 in P&&(x.catchLoc=P[1]),2 in P&&(x.finallyLoc=P[2],x.afterLoc=P[3]),this.tryEntries.push(x)}function V(P){var x=P.completion||{};x.type="normal",delete x.arg,P.completion=x}function H(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(K,this),this.reset(!0)}function ce(P){if(P||P===""){var x=P[a];if(x)return x.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var k=-1,F=function R(){for(;++k<P.length;)if(n.call(P,k))return R.value=P[k],R.done=!1,R;return R.value=t,R.done=!0,R};return F.next=F}}throw new TypeError(W(P)+" is not iterable")}return h.prototype=m,o(T,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:h,configurable:!0}),h.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(P){var x=typeof P=="function"&&P.constructor;return!!x&&(x===h||(x.displayName||x.name)==="GeneratorFunction")},e.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,m):(P.__proto__=m,l(P,u,"GeneratorFunction")),P.prototype=Object.create(T),P},e.awrap=function(P){return{__await:P}},j(I.prototype),l(I.prototype,s,function(){return this}),e.AsyncIterator=I,e.async=function(P,x,k,F,R){R===void 0&&(R=Promise);var Z=new I(p(P,x,k,F),R);return e.isGeneratorFunction(x)?Z:Z.next().then(function(oe){return oe.done?oe.value:Z.next()})},j(T),l(T,u,"Generator"),l(T,a,function(){return this}),l(T,"toString",function(){return"[object Generator]"}),e.keys=function(P){var x=Object(P),k=[];for(var F in x)k.push(F);return k.reverse(),function R(){for(;k.length;){var Z=k.pop();if(Z in x)return R.value=Z,R.done=!1,R}return R.done=!0,R}},e.values=ce,H.prototype={constructor:H,reset:function(P){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(V),!P)for(var x in this)x.charAt(0)==="t"&&n.call(this,x)&&!isNaN(+x.slice(1))&&(this[x]=t)},stop:function(){this.done=!0;var P=this.tryEntries[0].completion;if(P.type==="throw")throw P.arg;return this.rval},dispatchException:function(P){if(this.done)throw P;var x=this;function k(ie,_e){return Z.type="throw",Z.arg=P,x.next=ie,_e&&(x.method="next",x.arg=t),!!_e}for(var F=this.tryEntries.length-1;F>=0;--F){var R=this.tryEntries[F],Z=R.completion;if(R.tryLoc==="root")return k("end");if(R.tryLoc<=this.prev){var oe=n.call(R,"catchLoc"),Q=n.call(R,"finallyLoc");if(oe&&Q){if(this.prev<R.catchLoc)return k(R.catchLoc,!0);if(this.prev<R.finallyLoc)return k(R.finallyLoc)}else if(oe){if(this.prev<R.catchLoc)return k(R.catchLoc,!0)}else{if(!Q)throw Error("try statement without catch or finally");if(this.prev<R.finallyLoc)return k(R.finallyLoc)}}}},abrupt:function(P,x){for(var k=this.tryEntries.length-1;k>=0;--k){var F=this.tryEntries[k];if(F.tryLoc<=this.prev&&n.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var R=F;break}}R&&(P==="break"||P==="continue")&&R.tryLoc<=x&&x<=R.finallyLoc&&(R=null);var Z=R?R.completion:{};return Z.type=P,Z.arg=x,R?(this.method="next",this.next=R.finallyLoc,g):this.complete(Z)},complete:function(P,x){if(P.type==="throw")throw P.arg;return P.type==="break"||P.type==="continue"?this.next=P.arg:P.type==="return"?(this.rval=this.arg=P.arg,this.method="return",this.next="end"):P.type==="normal"&&x&&(this.next=x),g},finish:function(P){for(var x=this.tryEntries.length-1;x>=0;--x){var k=this.tryEntries[x];if(k.finallyLoc===P)return this.complete(k.completion,k.afterLoc),V(k),g}},catch:function(P){for(var x=this.tryEntries.length-1;x>=0;--x){var k=this.tryEntries[x];if(k.tryLoc===P){var F=k.completion;if(F.type==="throw"){var R=F.arg;V(k)}return R}}throw Error("illegal catch attempt")},delegateYield:function(P,x,k){return this.delegate={iterator:ce(P),resultName:x,nextLoc:k},this.method==="next"&&(this.arg=t),g}},e}
1function fn(t,e){return fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},fn(t,e)}function We(t,e){return function(r){if(Array.isArray(r))return r}(t)||function(r,n){var o=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var i,a,s,u,l=[],p=!0,c=!1;try{if(s=(o=o.call(r)).next,n===0){if(Object(o)!==o)return;p=!1}else for(;!(p=(i=s.call(o)).done)&&(l.push(i.value),l.length!==n);p=!0);}catch(d){c=!0,a=d}finally{try{if(!p&&o.return!=null&&(u=o.return(),Object(u)!==u))return}finally{if(c)throw a}}return l}}(t,e)||Cc(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Vr(t){return function(e){if(Array.isArray(e))return Vi(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||Cc(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Cc(t,e){if(t){if(typeof t=="string")return Vi(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vi(t,e):void 0}}function Bi(t){var e=typeof Map=="function"?new Map:void 0;return Bi=function(r){if(r===null||!function(o){try{return Function.toString.call(o).indexOf("[native code]")!==-1}catch{return typeof o=="function"}}(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(r))return e.get(r);e.set(r,n)}function n(){return function(o,i,a){if(ma())return Reflect.construct.apply(null,arguments);var s=[null];s.push.apply(s,i);var u=new(o.bind.apply(o,s));return a&&fn(u,a.prototype),u}(r,arguments,ln(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),fn(n,r)},Bi(t)}function ll(){return v.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},v.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 kc(){return v.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},v.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 fl=["translations"],Pi="Ctrl",dl=v.forwardRef(function(t,e){var r=t.translations,n=r===void 0?{}:r,o=gt(t,fl),i=n.buttonText,a=i===void 0?"Search":i,s=n.buttonAriaLabel,u=s===void 0?"Search":s,l=We(zn(null),2),p=l[0],c=l[1];Wn(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?c("â"):c(Pi))},[]);var d=We(p===Pi?[Pi,"Ctrl",v.createElement(ll,null)]:["Meta","Command",p],3),f=d[0],w=d[1],y=d[2];return v.createElement("button",Ne({type:"button",className:"DocSearch DocSearch-Button","aria-label":"".concat(u," (").concat(w,"+K)")},o,{ref:e}),v.createElement("span",{className:"DocSearch-Button-Container"},v.createElement(kc,null),v.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),v.createElement("span",{className:"DocSearch-Button-Keys"},p!==null&&v.createElement(v.Fragment,null,v.createElement(es,{reactsToKey:f},y),v.createElement(es,{reactsToKey:"k"},"K"))))});function es(t){var e=t.reactsToKey,r=t.children,n=We(zn(!1),2),o=n[0],i=n[1];return Wn(function(){if(e)return window.addEventListener("keydown",a),window.addEventListener("keyup",s),function(){window.removeEventListener("keydown",a),window.removeEventListener("keyup",s)};function a(u){u.key===e&&i(!0)}function s(u){u.key!==e&&u.key!=="Meta"||i(!1)}},[e]),v.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},r)}function Ic(t,e){var r=void 0;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];r&&clearTimeout(r),r=setTimeout(function(){return t.apply(void 0,o)},e)}}function dn(t){return t.reduce(function(e,r){return e.concat(r)},[])}var ml=0;function zi(t){return t.collections.length===0?0:t.collections.reduce(function(e,r){return e+r.items.length},0)}function ts(t){return t!==Object(t)}function jc(t,e){if(t===e)return!0;
3if(ts(t)||ts(e)||typeof t=="function"||typeof e=="function")return t===e;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];if(!(o in e)||!jc(t[o],e[o]))return!1}return!0}var go=function(){},hl=[{segment:"autocomplete-core",version:"1.17.7"}];function rs(t){var e=t.item,r=t.items,n=r===void 0?[]:r;return{index:e.__autocomplete_indexName,items:[e],positions:[1+n.findIndex(function(o){return o.objectID===e.objectID})],queryID:e.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function ns(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var pl=["items"],vl=["items"];function Br(t){return Br=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Br(t)}function oo(t){return function(e){if(Array.isArray(e))return xi(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,r){if(e){if(typeof e=="string")return xi(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xi(e,r):void 0}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function xi(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Dc(t,e){if(t==null)return{};var r,n,o=function(a,s){if(a==null)return{};var u,l,p={},c=Object.keys(a);for(l=0;l<c.length;l++)u=c[l],s.indexOf(u)>=0||(p[u]=a[u]);return p}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function os(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function cr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?os(Object(r),!0).forEach(function(n){gl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):os(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gl(t,e,r){return(e=function(n){var o=function(i){if(Br(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Br(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Br(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function io(t){return t.map(function(e){var r=e.items,n=Dc(e,pl);return cr(cr({},n),{},{objectIDs:(r==null?void 0:r.map(function(o){return o.objectID}))||n.objectIDs})})}function _l(t){var e=t.items.reduce(function(r,n){var o;return r[n.__autocomplete_indexName]=((o=r[n.__autocomplete_indexName])!==null&&o!==void 0?o:[]).concat(n),r},{});return Object.keys(e).map(function(r){return{index:r,items:e[r],algoliaSource:["autocomplete"]}})}function Rr(t){return t.objectID&&t.__autocomplete_indexName&&t.__autocomplete_queryID}function zr(t){return zr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},zr(t)}function ur(t){return function(e){if(Array.isArray(e))return Ci(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,r){if(e){if(typeof e=="string")return Ci(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ci(e,r):void 0}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ci(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function is(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function it(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
5e%2?is(Object(r),!0).forEach(function(n){yl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):is(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function yl(t,e,r){return(e=function(n){var o=function(i){if(zr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(zr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return zr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mc="2.15.0",bl="https://cdn.jsdelivr.net/npm/search-insights@".concat(Mc,"/dist/search-insights.min.js"),wl=Ic(function(t){var e=t.onItemsChange,r=t.items,n=t.insights,o=t.state;e({insights:n,insightsEvents:_l({items:r}).map(function(i){return it({eventName:"Items Viewed"},i)}),state:o})},400);function as(t){var e=function(d){return it({onItemsChange:function(f){var w=f.insights,y=f.insightsEvents,g=f.state;w.viewedObjectIDs.apply(w,ur(y.map(function(_){return it(it({},_),{},{algoliaSource:ss(_.algoliaSource,g.context)})})))},onSelect:function(f){var w=f.insights,y=f.insightsEvents,g=f.state;w.clickedObjectIDsAfterSearch.apply(w,ur(y.map(function(_){return it(it({},_),{},{algoliaSource:ss(_.algoliaSource,g.context)})})))},onActive:go,__autocomplete_clickAnalytics:!0},d)}(t),r=e.insightsClient,n=e.insightsInitParams,o=e.onItemsChange,i=e.onSelect,a=e.onActive,s=e.__autocomplete_clickAnalytics,u=r;if(r||typeof window<"u"&&function(){var d=window,f=d.AlgoliaAnalyticsObject||"aa";typeof f=="string"&&(u=d[f]),u||(d.AlgoliaAnalyticsObject=f,d[f]||(d[f]=function(){d[f].queue||(d[f].queue=[]);for(var w=arguments.length,y=new Array(w),g=0;g<w;g++)y[g]=arguments[g];d[f].queue.push(y)}),d[f].version=Mc,u=d[f],function(w){var y="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var g=w.document.createElement("script");g.async=!0,g.src=bl,g.onerror=function(){console.error(y)},document.body.appendChild(g)}catch{console.error(y)}}(d))}(),!u)return{};n&&u("init",it({partial:!0},n));var l=function(d){var f,w,y,g=(f=function(h){return function(m){if(Array.isArray(m))return m}(h)||function(m){var b=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(b!=null){var C,E,T,j,I=[],M=!0,A=!1;try{for(T=(b=b.call(m)).next;!(M=(C=T.call(b)).done)&&(I.push(C.value),I.length!==2);M=!0);}catch(K){A=!0,E=K}finally{try{if(!M&&b.return!=null&&(j=b.return(),Object(j)!==j))return}finally{if(A)throw E}}return I}}(h)||function(m){if(m){if(typeof m=="string")return ns(m,2);var b=Object.prototype.toString.call(m).slice(8,-1);return b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set"?Array.from(m):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?ns(m,2):void 0}}(h)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}((d.version||"").split(".").map(Number)),w=f[0],y=f[1],w>=3||w===2&&y>=4||w===1&&y>=10);function _(h,m,b){if(g&&b!==void 0){var C=b[0].__autocomplete_algoliaCredentials,E={"X-Algolia-Application-Id":C.appId,"X-Algolia-API-Key":C.apiKey};d.apply(void 0,[h].concat(oo(m),[{headers:E}]))}else d.apply(void 0,[h].concat(oo(m)))}return{init:function(h,m){d("init",{appId:h,apiKey:m})},setAuthenticatedUserToken:function(h){d("setAuthenticatedUserToken",h)},setUserToken:function(h){d("setUserToken",h)},clickedObjectIDsAfterSearch:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&_("clickedObjectIDsAfterSearch",io(m),m[0].items)},clickedObjectIDs:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&_("clickedObjectIDs",io(m),m[0].items)},clickedFilters:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&d.apply(void 0,["clickedFilters"].concat(m))},convertedObjectIDsAfterSearch:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&_("convertedObjectIDsAfterSearch",io(m),m[0].items)},convertedObjectIDs:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&_("convertedObjectIDs",io(m),m[0].items)},convertedFilters:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&d.apply(void 0,["convertedFilters"].concat(m))},viewedObjectIDs:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&m.reduce(function(C,E){var T=E.items,j=Dc(E,vl);return[].concat(oo(C),oo(function(I){for(var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,A=[],K=0;K<I.objectIDs.length;K+=M)A.push(cr(cr({},I),{},{objectIDs:I.objectIDs.slice(K,K+M)}));return A}(cr(cr({},j),{},{objectIDs:(T==null?void 0:T.map(function(I){return I.objectID}))||j.objectIDs})).map(function(I){return{items:T,payload:I}})))}
6,[]).forEach(function(C){var E=C.items;return _("viewedObjectIDs",[C.payload],E)})},viewedFilters:function(){for(var h=arguments.length,m=new Array(h),b=0;b<h;b++)m[b]=arguments[b];m.length>0&&d.apply(void 0,["viewedFilters"].concat(m))}}}(u),p={current:[]},c=Ic(function(d){var f=d.state;if(f.isOpen){var w=f.collections.reduce(function(y,g){return[].concat(ur(y),ur(g.items))},[]).filter(Rr);jc(p.current.map(function(y){return y.objectID}),w.map(function(y){return y.objectID}))||(p.current=w,w.length>0&&wl({onItemsChange:o,items:w,insights:l,state:f}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(d){var f=d.setContext,w=d.onSelect,y=d.onActive,g=!1;function _(h){f({algoliaInsightsPlugin:{__algoliaSearchParameters:it(it({},s?{clickAnalytics:!0}:{}),h?{userToken:Sl(h)}:{}),insights:l}})}u("addAlgoliaAgent","insights-plugin"),_(),u("onUserTokenChange",function(h){g||_(h)}),u("getUserToken",null,function(h,m){g||_(m)}),u("onAuthenticatedUserTokenChange",function(h){h?(g=!0,_(h)):(g=!1,u("getUserToken",null,function(m,b){return _(b)}))}),u("getAuthenticatedUserToken",null,function(h,m){m&&(g=!0,_(m))}),w(function(h){var m=h.item,b=h.state,C=h.event,E=h.source;Rr(m)&&i({state:b,event:C,insights:l,item:m,insightsEvents:[it({eventName:"Item Selected"},rs({item:m,items:E.getItems().filter(Rr)}))]})}),y(function(h){var m=h.item,b=h.source,C=h.state,E=h.event;Rr(m)&&a({state:C,event:E,insights:l,item:m,insightsEvents:[it({eventName:"Item Active"},rs({item:m,items:b.getItems().filter(Rr)}))]})})},onStateChange:function(d){var f=d.state;c({state:f})},__autocomplete_pluginOptions:t}}function ss(){var t,e=arguments.length>1?arguments[1]:void 0;return[].concat(ur(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]),["autocomplete-internal"],ur((t=e.algoliaInsightsPlugin)!==null&&t!==void 0&&t.__automaticInsights?["autocomplete-automatic"]:[]))}function Sl(t){return typeof t=="number"?t.toString():t}function _o(t,e){var r=e;return{then:function(n,o){return _o(t.then(ao(n,r,t),ao(o,r,t)),r)},catch:function(n){return _o(t.catch(ao(n,r,t)),r)},finally:function(n){return n&&r.onCancelList.push(n),_o(t.finally(ao(n&&function(){return r.onCancelList=[],n()},r,t)),r)},cancel:function(){r.isCanceled=!0;var n=r.onCancelList;r.onCancelList=[],n.forEach(function(o){o()})},isCanceled:function(){return r.isCanceled===!0}}}function cs(t){return _o(t,{isCanceled:!1,onCancelList:[]})}function ao(t,e,r){return t?function(n){return e.isCanceled?n:t(n)}:r}function us(t,e,r,n){if(!r)return null;if(t<0&&(e===null||n!==null&&e===0))return r+t;var o=(e===null?-1:e)+t;return o<=-1||o>=r?n===null?null:0:o}function ls(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function fs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ls(Object(r),!0).forEach(function(n){Ol(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ls(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ol(t,e,r){return(e=function(n){var o=function(i){if(Wr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Wr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Wr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Wr(t){return Wr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Wr(t)}function Zt(t){var e=function(o){var i=o.collections.map(function(a){return a.items.length}).reduce(function(a,s,u){var l=(a[u-1]||0)+s;return a.push(l),a},[]).reduce(function(a,s){return s<=o.activeItemId?a+1:a},0);return o.collections[i]}(t);if(!e)return null;var r=e.items[function(o){for(var i=o.state,a=o.collection,s=!1,u=0,l=0;s===!1;){var p=i.collections[u];if(p===a){s=!0;break}l+=p.items.length,u++}return i.activeItemId-l}({state:t,collection:e})],n=e.source;return{item:r,itemInputValue:n.getItemInputValue({item:r,state:t}),itemUrl:n.getItemUrl({item:r,state:t}),source:n}}function Xe(t,e,r){return[t,r==null?void 0:r.sourceId,e].filter(
6Boolean).join("-").replace(/\s/g,"")}var El=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function ds(t){return t.nativeEvent||t}function Gr(t){return Gr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Gr(t)}function ms(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function Pl(t,e,r){return(e=function(n){var o=function(i){if(Gr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Gr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Gr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zr(t){return Zr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Zr(t)}function hs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function so(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hs(Object(r),!0).forEach(function(n){xl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xl(t,e,r){return(e=function(n){var o=function(i){if(Zr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Zr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Zr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Jr(t){return Jr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Jr(t)}function ki(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ps(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function nr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ps(Object(r),!0).forEach(function(n){Cl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ps(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Cl(t,e,r){return(e=function(n){var o=function(i){if(Jr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Jr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Jr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Qr(t){return Qr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Qr(t)}function vs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function co(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vs(Object(r),!0).forEach(function(n){Tc(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vs(Object(r)).forEac
6h(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tc(t,e,r){return(e=function(n){var o=function(i){if(Qr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Qr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Qr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $r(t){return $r=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},$r(t)}function gs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function or(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gs(Object(r),!0).forEach(function(n){kl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function kl(t,e,r){return(e=function(n){var o=function(i){if($r(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if($r(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return $r(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ac(t){return function(e){if(Array.isArray(e))return Ii(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,r){if(e){if(typeof e=="string")return Ii(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ii(e,r):void 0}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ii(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function uo(t){return!!t.execute}function Il(t){var e=t.reduce(function(r,n){if(!uo(n))return r.push(n),r;var o=n.searchClient,i=n.execute,a=n.requesterId,s=n.requests,u=r.find(function(c){return uo(n)&&uo(c)&&c.searchClient===o&&!!a&&c.requesterId===a});if(u){var l;(l=u.items).push.apply(l,Ac(s))}else{var p={execute:i,requesterId:a,items:s,searchClient:o};r.push(p)}return r},[]).map(function(r){if(!uo(r))return Promise.resolve(r);var n=r,o=n.execute,i=n.items;return o({searchClient:n.searchClient,requests:i})});return Promise.all(e).then(function(r){return dn(r)})}function Yr(t){return Yr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Yr(t)}var jl=["event","nextState","props","query","refresh","store"];function _s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_s(Object(r),!0).forEach(function(n){Dl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_s(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Dl(t,e,r){return(e=function(n){var o=function(i){if(Yr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Yr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Yr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ys,ji,lo,Hr=null,bs=(ys=-1,ji=-1,lo=void 0,function(t){var e=++ys;return Promise.resolve(t).then(function(r){return lo&&e<ji?lo:(ji=e,lo=r,r)})});function Vt(t){var e=t.event,r=t.nextState,n=r===void 0?{}:r,o=t.props,i=t.query,a=t.refresh,s=t.store,u=function(m,b){if(m==null)return{};var C,E,T=function(I,M){if(I==null)return{};var A,K,V={},H=Object.keys(I);for(K=0;K<H.length;K++)A=H[K],M.indexOf(A)>=0||(V[A]=I[A]);return V}(m,b);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(m);for(E=0;E<j.length;E++)C=j[E],b.indexOf(C)>=0||Object.prototype.propertyIsEnumerable.call(m,C)&&(T[C]=m[C])}return T}(t,jl);Hr&&o.environment.clearTimeout(Hr);var l=u.setCollections,p=u.setIsOpen,c=u.setQuery,d=u.setActiveItemId,f=u.setStatus,w=u.setContext;if(c(i),d(o.defaultActiveItemId),!i&&o.openOnFocus===!1){var y,g=s.getState().collections.map(function(m){return Kt(Kt({},m),{},{items:[]})});f("idle"),l(g),p((y=n.isOpen)!==null&&y!==void 0?y:o.shouldPanelOpen({state:s.getState()}));var _=cs(bs(g).then(function(){return Promise.resolve()}));return s.pendingRequests.add(_)}f("loading"),Hr=o.environment.setTimeout(function(){f("stalled")},o.stallThreshold);var h=cs(bs(o.getSources(Kt({query:i,refresh:a,state:s.getState()},u)).then(function(m){return Promise.all(m.map(function(b){return Promise.resolve(b.getItems(Kt({query:i,refresh:a,state:s.getState()},u))).then(function(C){return function(E,T,j){if(M=E,!!(M!=null&&M.execute)){var I=E.requesterId==="algolia"?Object.assign.apply(Object,[{}].concat(Ac(Object.keys(j.context).map(function(A){var K;return(K=j.context[A])===null||K===void 0?void 0:K.__algoliaSearchParameters})))):{};return or(or({},E),{},{requests:E.queries.map(function(A){return{query:E.requesterId==="algolia"?or(or({},A),{}
7,{params:or(or({},I),A.params)}):A,sourceId:T,transformResponse:E.transformResponse}})})}var M;return{items:E,sourceId:T}}(C,b.sourceId,s.getState())})})).then(Il).then(function(b){var C,E=b.some(function(T){return function(j){return!Array.isArray(j)&&!!(j!=null&&j._automaticInsights)}(T.items)});return E&&w({algoliaInsightsPlugin:Kt(Kt({},((C=s.getState().context)===null||C===void 0?void 0:C.algoliaInsightsPlugin)||{}),{},{__automaticInsights:E})}),function(T,j,I){return j.map(function(M){var A,K=T.filter(function(P){return P.sourceId===M.sourceId}),V=K.map(function(P){return P.items}),H=K[0].transformResponse,ce=H?H({results:A=V,hits:A.map(function(P){return P.hits}).filter(Boolean),facetHits:A.map(function(P){var x;return(x=P.facetHits)===null||x===void 0?void 0:x.map(function(k){return{label:k.value,count:k.count,_highlightResult:{label:{value:k.highlighted}}}})}).filter(Boolean)}):V;return M.onResolve({source:M,results:V,items:ce,state:I.getState()}),ce.every(Boolean),'The `getItems` function from source "'.concat(M.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),`. 8 9Did you forget to return items? 10 11See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:M,items:ce}})}(b,m,s)}).then(function(b){return function(C){var E=C.props,T=C.state,j=C.collections.reduce(function(M,A){return co(co({},M),{},Tc({},A.source.sourceId,co(co({},A.source),{},{getItems:function(){return dn(A.items)}})))},{}),I=E.plugins.reduce(function(M,A){return A.reshape?A.reshape(M):M},{sourcesBySourceId:j,state:T}).sourcesBySourceId;return dn(E.reshape({sourcesBySourceId:I,sources:Object.values(I),state:T})).filter(Boolean).map(function(M){return{source:M,items:M.getItems()}})}({collections:b,props:o,state:s.getState()})})}))).then(function(m){var b;f("idle"),l(m);var C=o.shouldPanelOpen({state:s.getState()});p((b=n.isOpen)!==null&&b!==void 0?b:o.openOnFocus&&!i&&C||C);var E=Zt(s.getState());if(s.getState().activeItemId!==null&&E){var T=E.item,j=E.itemInputValue,I=E.itemUrl,M=E.source;M.onActive(Kt({event:e,item:T,itemInputValue:j,itemUrl:I,refresh:a,source:M,state:s.getState()},u))}}).finally(function(){f("idle"),Hr&&o.environment.clearTimeout(Hr)});return s.pendingRequests.add(h)}function Xr(t){return Xr=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},Xr(t)}var Ml=["event","props","refresh","store"];function ws(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function Bt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ws(Object(r),!0).forEach(function(n){Tl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ws(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tl(t,e,r){return(e=function(n){var o=function(i){if(Xr(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(Xr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return Xr(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function en(t){return en=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},en(t)}var Al=["props","refresh","store"],Nl=["inputElement","formElement","panelElement"],Ll=["inputElement"],Rl=["inputElement","maxLength"],Hl=["source"],ql=["item","source"];function Ss(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function je(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
11e%2?Ss(Object(r),!0).forEach(function(n){Fl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ss(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Fl(t,e,r){return(e=function(n){var o=function(i){if(en(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(en(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return en(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ir(t,e){if(t==null)return{};var r,n,o=function(a,s){if(a==null)return{};var u,l,p={},c=Object.keys(a);for(l=0;l<c.length;l++)u=c[l],s.indexOf(u)>=0||(p[u]=a[u]);return p}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function tn(t){return tn=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},tn(t)}function Os(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function Ul(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Os(Object(r),!0).forEach(function(n){Nc(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Os(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Nc(t,e,r){return(e=function(n){var o=function(i){if(tn(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(tn(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return tn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Kl(t){var e,r,n,o,i=t.plugins,a=t.options,s=(e=(((r=a.__autocomplete_metadata)===null||r===void 0?void 0:r.userAgents)||[])[0])===null||e===void 0?void 0:e.segment,u=s?Nc({},s,Object.keys(((n=a.__autocomplete_metadata)===null||n===void 0?void 0:n.options)||{})):{};return{plugins:i.map(function(l){return{name:l.name,options:Object.keys(l.__autocomplete_pluginOptions||[])}}),options:Ul({"autocomplete-core":Object.keys(a)},u),ua:hl.concat(((o=a.__autocomplete_metadata)===null||o===void 0?void 0:o.userAgents)||[])}}function Es(t){var e,r=t.state;return r.isOpen===!1||r.activeItemId===null?null:((e=Zt(r))===null||e===void 0?void 0:e.itemInputValue)||null}function rn(t){return rn=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},rn(t)}function Ps(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function ne(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ps(Object(r),!0).forEach(function(n){Vl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ps(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Vl(t,e,r){return(e=function(n){var o=function(i){if(rn(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(rn(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return rn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bl=function(t,e){switch(e.type){case"setActiveItemId":case"mousemove":return ne(ne({},t),{},{activeItemId:e.payload});case"setQuery":return ne(ne({},t),{},{query:e.payload,completion:null});case"setCollections":return ne(ne({},t),{},{collections:e.payload});case"setIsOpen":return ne(ne({},t),{},{isOpen:e.payload});case"setStatus":return ne(ne({},t),{},{status:e.payload});case"setContext":return ne(ne({},t),{},{context:ne(ne({},t.context),e.payload)});case"ArrowDown":var r=ne(ne({},t),{},{activeItemId:e.payload.hasOwnProperty("nextActiveItemId")?e.payload.nextActiveItemId:us(1,t.activeItemId,zi(t),e.props.defaultActiveItemId)});return ne(ne({},r),{},{completion:Es({state:r})});case"ArrowUp":var n=ne(ne({},t),{},{activeItemId:us(-1,t.activeItemId,zi(t),e.props.defaultActiveItemId)});return ne(ne({},n),{},{completion:Es({state:n})});case"Escape":return t.isOpen?ne(ne({},t),{},{activeItemId:null,isOpen:!1,completion:null}):ne(ne({},t),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return ne(ne({},t),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return ne(ne({},t),{},{activeItemId:e.props.openOnFocus===!0?e.props.defaultActiveItemId:null,status:"idle",completion:null,query:""});case"focus":return ne(ne({},t),{},{activeItemId:e.props.defaultActiveItemId,isOpen:(e.props.openOnFocus||!!t.query)&&e.props.shouldPanelOpen({state:t})});case"blur":return e.props.debug?t:ne(ne({},t),{},{isOpen:!1,activeItemId:null});case"mouseleave":return ne(ne({},t),{},{activeItemId:e.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(e.type)," is not supported."),t}};function nn(t){return nn=typeof Symbol=="function"&&W(Symbol.iterator)=="symbol"?function(e){return W(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":W(e)},nn(t)}function xs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
11e%2?xs(Object(r),!0).forEach(function(n){zl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zl(t,e,r){return(e=function(n){var o=function(i){if(nn(i)!=="object"||i===null)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var s=a.call(i,"string");if(nn(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(i)}(n);return nn(o)==="symbol"?o:String(o)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Wl(t){var e=[],r=function(p,c){var d,f=typeof window<"u"?window:{},w=p.plugins||[];return nr(nr({debug:!1,openOnFocus:!1,enterKeyHint:void 0,ignoreCompositionEvents:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:void 0,environment:f,shouldPanelOpen:function(y){return zi(y.state)>0},reshape:function(y){return y.sources}},p),{},{id:(d=p.id)!==null&&d!==void 0?d:"autocomplete-".concat(ml++),plugins:w,initialState:nr({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},p.initialState),onStateChange:function(y){var g;
11(g=p.onStateChange)===null||g===void 0||g.call(p,y),w.forEach(function(_){var h;return(h=_.onStateChange)===null||h===void 0?void 0:h.call(_,y)})},onSubmit:function(y){var g;(g=p.onSubmit)===null||g===void 0||g.call(p,y),w.forEach(function(_){var h;return(h=_.onSubmit)===null||h===void 0?void 0:h.call(_,y)})},onReset:function(y){var g;(g=p.onReset)===null||g===void 0||g.call(p,y),w.forEach(function(_){var h;return(h=_.onReset)===null||h===void 0?void 0:h.call(_,y)})},getSources:function(y){return Promise.all([].concat(function(g){return function(_){if(Array.isArray(_))return ki(_)}(g)||function(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}(g)||function(_,h){if(_){if(typeof _=="string")return ki(_,h);var m=Object.prototype.toString.call(_).slice(8,-1);return m==="Object"&&_.constructor&&(m=_.constructor.name),m==="Map"||m==="Set"?Array.from(_):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?ki(_,h):void 0}}(g)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 12In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}(w.map(function(g){return g.getSources})),[p.getSources]).filter(Boolean).map(function(g){return function(_,h){var m=[];return Promise.resolve(_(h)).then(function(b){return Promise.all(b.filter(function(C){return!!C}).map(function(C){if(C.sourceId,m.includes(C.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(C.sourceId)," is not unique."));m.push(C.sourceId);var E={getItemInputValue:function(j){return j.state.query},getItemUrl:function(){},onSelect:function(j){(0,j.setIsOpen)(!1)},onActive:go,onResolve:go};
12Object.keys(E).forEach(function(j){E[j].__default=!0});var T=fs(fs({},E),C);return Promise.resolve(T)}))})}(g,y)})).then(function(g){return dn(g)}).then(function(g){return g.map(function(_){return nr(nr({},_),{},{onSelect:function(h){_.onSelect(h),c.forEach(function(m){var b;return(b=m.onSelect)===null||b===void 0?void 0:b.call(m,h)})},onActive:function(h){_.onActive(h),c.forEach(function(m){var b;return(b=m.onActive)===null||b===void 0?void 0:b.call(m,h)})},onResolve:function(h){_.onResolve(h),c.forEach(function(m){var b;return(b=m.onResolve)===null||b===void 0?void 0:b.call(m,h)})}})})})},navigator:nr({navigate:function(y){var g=y.itemUrl;f.location.assign(g)},navigateNewTab:function(y){var g=y.itemUrl,_=f.open(g,"_blank","noopener");_==null||_.focus()},navigateNewWindow:function(y){var g=y.itemUrl;f.open(g,"_blank","noopener")}},p.navigator)})}(t,e),n=function(p,c,d){var f,w=c.initialState;return{getState:function(){return w},dispatch:function(y,g){var _=function(h){for(var m=1;m<arguments.length;m++){var b=arguments[m]!=null?arguments[m]:{};m%2?ms(Object(b),!0).forEach(function(C){Pl(h,C,b[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(b)):ms(Object(b)).forEach(function(C){Object.defineProperty(h,C,Object.getOwnPropertyDescriptor(b,C))})}return h}({},w);w=p(w,{type:y,props:c,payload:g}),d({state:w,prevState:_})},pendingRequests:(f=[],{add:function(y){return f.push(y),y.finally(function(){f=f.filter(function(g){return g!==y})})},cancelAll:function(){f.forEach(function(y){return y.cancel()})},isEmpty:function(){return f.length===0}})}}(Bl,r,function(p){var c,d,f=p.prevState,w=p.state;if(r.onStateChange(zt({prevState:f,state:w,refresh:a,navigator:r.navigator},o)),!u()&&(c=w.context)!==null&&c!==void 0&&(d=c.algoliaInsightsPlugin)!==null&&d!==void 0&&d.__automaticInsights&&r.insights!==!1){var y=as({__autocomplete_clickAnalytics:!1});r.plugins.push(y),s([y])}}),o=function(p){var c=p.store;return{setActiveItemId:function(d){c.dispatch("setActiveItemId",d)},setQuery:function(d){c.dispatch("setQuery",d)},setCollections:function(d){var f=0,w=d.map(function(y){return so(so({},y),{},{items:dn(y.items).map(function(g){return so(so({},g),{},{__autocomplete_id:f++})})})});c.dispatch("setCollections",w)},setIsOpen:function(d){c.dispatch("setIsOpen",d)},setStatus:function(d){c.dispatch("setStatus",d)},setContext:function(d){c.dispatch("setContext",d)}}}({store:n}),i=function(p){var c=p.props,d=p.refresh,f=p.store,w=ir(p,Al);return{getEnvironmentProps:function(y){var g=y.inputElement,_=y.formElement,h=y.panelElement;function m(b){!f.getState().isOpen&&f.pendingRequests.isEmpty()||b.target===g||[_,h].some(function(C){return(E=C)===(T=b.target)||E.contains(T);var E,T})===!1&&(f.dispatch("blur",null),c.debug||f.pendingRequests.cancelAll())}return je({onTouchStart:m,onMouseDown:m,onTouchMove:function(b){f.getState().isOpen!==!1&&g===c.environment.document.activeElement&&b.target!==g&&g.blur()}},ir(y,Nl))},getRootProps:function(y){return je({role:"combobox","aria-expanded":f.getState().isOpen,"aria-haspopup":"listbox","aria-controls":f.getState().isOpen?f.getState().collections.map(function(g){var _=g.source;return Xe(c.id,"list",_)}).join(" "):void 0,"aria-labelledby":Xe(c.id,"label")},y)},getFormProps:function(y){return y.inputElement,je({action:"",noValidate:!0,role:"search",onSubmit:function(g){var _;g.preventDefault(),c.onSubmit(je({event:g,refresh:d,state:f.getState()},w)),f.dispatch("submit",null),(_=y.inputElement)===null||_===void 0||_.blur()},onReset:function(g){var _;g.preventDefault(),c.onReset(je({event:g,refresh:d,state:f.getState()},w)),f.dispatch("reset",null),(_=y.inputElement)===null||_===void 0||_.focus()}},ir(y,Ll))},getLabelProps:function(y){return je({htmlFor:Xe(c.id,"input"),id:Xe(c.id,"label")},y)},getInputProps:function(y){var g;function _(I){(c.openOnFocus||f.getState().query)&&Vt(je({event:I,props:c,query:f.getState().completion||f.getState().query,refresh:d,store:f},w)),f.dispatch("focus",null)}var h=y||{};h.inputElement;var m=h.maxLength,b=m===void 0?512:m,C=ir(h,Rl),E=Zt(f.getState()),T=function(I){return!!(I&&I.match(El))}(((g=c.environment.navigator)===null||g===void 0?void 0:g.userAgent)||""),j=c.enterKeyHint||(E!=null&&E.itemUrl&&!T?"go":"search");return je({"aria-autocomplete":"both","aria-activedescendant":f.getState().isOpen&&f.getState().activeItemId!==null?Xe(c.id,"item-".concat(f.getState().activeItemId),E==null?void 0:E.source):void 0,"aria-controls":f.getState().isOpen?f.getState().collections.map(function(I){var M=I.source;return Xe(c.id,"list",M)}).join(" "):void 0,"aria-labelledby":Xe(c.id,"label"),value:f.getState().completion||f.getState().query,id:Xe(c.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:j,spellCheck:"false",autoFocus:c.autoFocus,placeholder:c.placeholder,maxLength:b,type:"search",onChange:function(I){var M=I.currentTarget.value;c.ignoreCompositionEvents&&ds(I).isComposing?w.setQuery(M):Vt(je({event:I,props:c,query:M.slice(0,b),refresh:d,store:f},w))}
12,onCompositionEnd:function(I){Vt(je({event:I,props:c,query:I.currentTarget.value.slice(0,b),refresh:d,store:f},w))},onKeyDown:function(I){ds(I).isComposing||function(M){var A=M.event,K=M.props,V=M.refresh,H=M.store,ce=function(Q,ie){if(Q==null)return{};var _e,Le,Se=function(st,qt){if(st==null)return{};var ct,er,Ct={},Jn=Object.keys(st);for(er=0;er<Jn.length;er++)ct=Jn[er],qt.indexOf(ct)>=0||(Ct[ct]=st[ct]);return Ct}(Q,ie);if(Object.getOwnPropertySymbols){var Tr=Object.getOwnPropertySymbols(Q);for(Le=0;Le<Tr.length;Le++)_e=Tr[Le],ie.indexOf(_e)>=0||Object.prototype.propertyIsEnumerable.call(Q,_e)&&(Se[_e]=Q[_e])}return Se}(M,Ml);if(A.key==="ArrowUp"||A.key==="ArrowDown"){var P=function(){var Q=Zt(H.getState()),ie=K.environment.document.getElementById(Xe(K.id,"item-".concat(H.getState().activeItemId),Q==null?void 0:Q.source));ie&&(ie.scrollIntoViewIfNeeded?ie.scrollIntoViewIfNeeded(!1):ie.scrollIntoView(!1))},x=function(){var Q=Zt(H.getState());if(H.getState().activeItemId!==null&&Q){var ie=Q.item,_e=Q.itemInputValue,Le=Q.itemUrl,Se=Q.source;Se.onActive(Bt({event:A,item:ie,itemInputValue:_e,itemUrl:Le,refresh:V,source:Se,state:H.getState()},ce))}};A.preventDefault(),H.getState().isOpen===!1&&(K.openOnFocus||H.getState().query)?Vt(Bt({event:A,props:K,query:H.getState().query,refresh:V,store:H},ce)).then(function(){H.dispatch(A.key,{nextActiveItemId:K.defaultActiveItemId}),x(),setTimeout(P,0)}):(H.dispatch(A.key,{}),x(),P())}else if(A.key==="Escape")A.preventDefault(),H.dispatch(A.key,null),H.pendingRequests.cancelAll();else if(A.key==="Tab")H.dispatch("blur",null),H.pendingRequests.cancelAll();else if(A.key==="Enter"){if(H.getState().activeItemId===null||H.getState().collections.every(function(Q){return Q.items.length===0}))return void(K.debug||H.pendingRequests.cancelAll());A.preventDefault();var k=Zt(H.getState()),F=k.item,R=k.itemInputValue,Z=k.itemUrl,oe=k.source;if(A.metaKey||A.ctrlKey)Z!==void 0&&(oe.onSelect(Bt({event:A,item:F,itemInputValue:R,itemUrl:Z,refresh:V,source:oe,state:H.getState()},ce)),K.navigator.navigateNewTab({itemUrl:Z,item:F,state:H.getState()}));else if(A.shiftKey)Z!==void 0&&(oe.onSelect(Bt({event:A,item:F,itemInputValue:R,itemUrl:Z,refresh:V,source:oe,state:H.getState()},ce)),K.navigator.navigateNewWindow({itemUrl:Z,item:F,state:H.getState()}));else if(!A.altKey){if(Z!==void 0)return oe.onSelect(Bt({event:A,item:F,itemInputValue:R,itemUrl:Z,refresh:V,source:oe,state:H.getState()},ce)),void K.navigator.navigate({itemUrl:Z,item:F,state:H.getState()});Vt(Bt({event:A,nextState:{isOpen:!1},props:K,query:R,refresh:V,store:H},ce)).then(function(){oe.onSelect(Bt({event:A,item:F,itemInputValue:R,itemUrl:Z,refresh:V,source:oe,state:H.getState()},ce))})}}}(je({event:I,props:c,refresh:d,store:f},w))},onFocus:_,onBlur:go,onClick:function(I){y.inputElement!==c.environment.document.activeElement||f.getState().isOpen||_(I)}},C)},getPanelProps:function(y){return je({onMouseDown:function(g){g.preventDefault()},onMouseLeave:function(){f.dispatch("mouseleave",null)}},y)},getListProps:function(y){var g=y||{},_=g.source,h=ir(g,Hl);return je({role:"listbox","aria-labelledby":Xe(c.id,"label"),id:Xe(c.id,"list",_)},h)},getItemProps:function(y){var g=y.item,_=y.source,h=ir(y,ql);return je({id:Xe(c.id,"item-".concat(g.__autocomplete_id),_),role:"option","aria-selected":f.getState().activeItemId===g.__autocomplete_id,onMouseMove:function(m){if(g.__autocomplete_id!==f.getState().activeItemId){f.dispatch("mousemove",g.__autocomplete_id);var b=Zt(f.getState());if(f.getState().activeItemId!==null&&b){var C=b.item,E=b.itemInputValue,T=b.itemUrl,j=b.source;j.onActive(je({event:m,item:C,itemInputValue:E,itemUrl:T,refresh:d,source:j,state:f.getState()},w))}}},onMouseDown:function(m){m.preventDefault()},onClick:function(m){var b=_.getItemInputValue({item:g,state:f.getState()}),C=_.getItemUrl({item:g,state:f.getState()});(C?Promise.resolve():Vt(je({event:m,nextState:{isOpen:!1},props:c,query:b,refresh:d,store:f},w))).then(function(){_.onSelect(je({event:m,item:g,itemInputValue:b,itemUrl:C,refresh:d,source:_,state:f.getState()},w))})}},h)}}}(zt({props:r,refresh:a,store:n,navigator:r.navigator},o));function a(){return Vt(zt({event:new Event("input"),nextState:{isOpen:n.getState().isOpen},props:r,navigator:r.navigator,query:n.getState().query,refresh:a,store:n},o))}function s(p){p.forEach(function(c){var d;return(d=c.subscribe)===null||d===void 0?void 0:d.call(c,zt(zt({},o),{},{navigator:r.navigator,refresh:a,onSelect:function(f){e.push({onSelect:f})},onActive:function(f){e.push({onActive:f})},onResolve:function(f){e.push({onResolve:f})}}))})}function u(){return r.plugins.some(function(p){return p.name==="aa.algoliaInsightsPlugin"})}if(r.insights&&!u()){var l=typeof r.insights=="boolean"?{}:r.insights;r.plugins.push(as(l))}return s(r.plugins),function(p){var c,d,f=p.metadata,w=p.environment;if(!((c=w.navigator)===null||c===void 0||(d=c.userAgent)===null||d===void 0)&&d.includes("Algolia Crawler")){var y=w.document.createElement("meta"),g=w.document.querySelector("head");y.name="algolia:metadata",setTimeout(function(){y.content=JSON.stringify(f),g.appendChild(y)},0)}}({metadata:Kl({plugins:r.plugins,options:t}),environment:r.environment}),zt(zt({refresh:a,navigator:r.navigator},i),o)}function Gl(t){var e=t.translations,r=(e===void 0?{}:e).searchByText,n=r===void 0?"Search by":r;return v.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"},v.createElement("span",{className:"DocSearch-Label"}
12,n),v.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"},v.createElement("defs",null,v.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),v.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"}),v.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),v.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"}),v.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"}),v.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"}),v.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"}),v.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"}),v.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.
1212,.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"}),v.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 fo(t){return v.createElement("svg",{width:"15",height:"15","aria-label":t.ariaLabel,role:"img"},v.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},t.children))}function Zl(t){var e=t.translations,r=e===void 0?{}:e,n=r.selectText,o=n===void 0?"to select":n,i=r.selectKeyAriaLabel,a=i===void 0?"Enter key":i,s=r.navigateText,u=s===void 0?"to navigate":s,l=r.navigateUpKeyAriaLabel,p=l===void 0?"Arrow up":l,c=r.navigateDownKeyAriaLabel,d=c===void 0?"Arrow down":c,f=r.closeText,w=f===void 0?"to close":f,y=r.closeKeyAriaLabel,g=y===void 0?"Escape key":y,_=r.searchByText,h=_===void 0?"Search by":_;return v.createElement(v.Fragment,null,v.createElement("div",{className:"DocSearch-Logo"},v.createElement(Gl,{translations:{searchByText:h}})),v.createElement("ul",{className:"DocSearch-Commands"},v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(fo,{ariaLabel:a},v.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),v.createElement("span",{className:"DocSearch-Label"},o)),v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(fo,{ariaLabel:d},v.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(fo,{ariaLabel:p},v.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),v.createElement("span",{className:"DocSearch-Label"},u)),v.createElement("li",null,v.createElement("kbd",{className:"DocSearch-Commands-Key"},v.createElement(fo,{ariaLabel:g},v.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"}))),v.createElement("span",{className:"DocSearch-Label"},w))))}function Jl(t){var e=t.hit,r=t.children;return v.createElement("a",{href:e.url},r)}function Ql(){return v.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},v.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),v.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},v.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function $l(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),v.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function Wi(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.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 Yl(){return v.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},v.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),v.createElement("path",{d:"M8 17l-6-6 6-6"})))}var Xl=function(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.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 ef(t){switch(t.type){case"lvl1":return v.createElement(Xl,null);case"content":return v.createElement(rf,null);default:return v.createElement(tf,null)}}function tf(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function rf(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Cs(){return v.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},v.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 nf(){return v.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},v.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 of(){return v.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},v.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 af(t){var e=t.translations,r=e===void 0?{}:e,n=r.titleText,o=n===void 0?"Unable to fetch results":n,i=r.helpText,a=i===void 0?"You might want to check your network connection.":i;return v.createElement("div",{className:"DocSearch-ErrorScreen"},v.createElement("div",{className:"DocSearch-Screen-Icon"},v.createElement(nf,null)),v.createElement("p",{className:"DocSearch-Title"},o),v.createElement("p",{className:"DocSearch-Help"},a))}var sf=["translations"];function cf(t){var e=t.translations,r=e===void 0?{}:e,n=gt(t,sf),o=r.noResultsText,i=o===void 0?"No results for":o,a=r.suggestedQueryText,s=a===void 0?"Try searching for":a,u=r.reportMissingResultsText,l=u===void 0?"Believe this query should return results?":u,p=r.reportMissingResultsLinkText,c=p===void 0?"Let us know.":p,d=n.state.context.searchSuggestions;return v.createElement("div",{className:"DocSearch-NoResults"},v.createElement("div",{className:"DocSearch-Screen-Icon"},v.createElement(of,null)),v.createElement("p",{className:"DocSearch-Title"},i,' "',v.createElement("strong",null,n.state.query),'"'),d&&d.length>0&&v.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},v.createElement("p",{className:"DocSearch-Help"},s,":"),v.createElement("ul",null,d.slice(0,3).reduce(function(f,w){return[].concat(Vr(f),[v.createElement("li",{key:w}
12,v.createElement("button",{className:"DocSearch-Prefill",key:w,type:"button",onClick:function(){n.setQuery(w.toLowerCase()+" "),n.refresh(),n.inputRef.current.focus()}},w))])},[]))),n.getMissingResultsUrl&&v.createElement("p",{className:"DocSearch-Help"},"".concat(l," "),v.createElement("a",{href:n.getMissingResultsUrl({query:n.state.query}),target:"_blank",rel:"noopener noreferrer"},c)))}var uf=["hit","attribute","tagName"];function ks(t,e){return e.split(".").reduce(function(r,n){return r!=null&&r[n]?r[n]:null},t)}function ar(t){var e=t.hit,r=t.attribute,n=t.tagName;return ht(n===void 0?"span":n,ee(ee({},gt(t,uf)),{},{dangerouslySetInnerHTML:{__html:ks(e,"_snippetResult.".concat(r,".value"))||ks(e,r)}}))}function Gi(t){return t.collection&&t.collection.items.length!==0?v.createElement("section",{className:"DocSearch-Hits"},v.createElement("div",{className:"DocSearch-Hit-source"},t.title),v.createElement("ul",t.getListProps(),t.collection.items.map(function(e,r){return v.createElement(lf,Ne({key:[t.title,e.objectID].join(":"),item:e,index:r},t))}))):null}function lf(t){var e=t.item,r=t.index,n=t.renderIcon,o=t.renderAction,i=t.getItemProps,a=t.onItemClick,s=t.collection,u=t.hitComponent,l=We(v.useState(!1),2),p=l[0],c=l[1],d=We(v.useState(!1),2),f=d[0],w=d[1],y=v.useRef(null),g=u;return v.createElement("li",Ne({className:["DocSearch-Hit",e.__docsearch_parent&&"DocSearch-Hit--Child",p&&"DocSearch-Hit--deleting",f&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){y.current&&y.current()}},i({item:e,source:s.source,onClick:function(_){a(e,_)}})),v.createElement(g,{hit:e},v.createElement("div",{className:"DocSearch-Hit-Container"},n({item:e,index:r}),e.hierarchy[e.type]&&e.type==="lvl1"&&v.createElement("div",{className:"DocSearch-Hit-content-wrapper"},v.createElement(ar,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.lvl1"}),e.content&&v.createElement(ar,{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")&&v.createElement("div",{className:"DocSearch-Hit-content-wrapper"},v.createElement(ar,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.".concat(e.type)}),v.createElement(ar,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),e.type==="content"&&v.createElement("div",{className:"DocSearch-Hit-content-wrapper"},v.createElement(ar,{className:"DocSearch-Hit-title",hit:e,attribute:"content"}),v.createElement(ar,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),o({item:e,runDeleteTransition:function(_){c(!0),y.current=_},runFavoriteTransition:function(_){w(!0),y.current=_}}))))}function Is(t,e,r){return t.reduce(function(n,o){var i=e(o);return n.hasOwnProperty(i)||(n[i]=[]),n[i].length<(r||5)&&n[i].push(o),n},{})}function js(t){return t}function mo(t){return t.button===1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}function ff(){}var Lc=/(<mark>|<\/mark>)/g,df=RegExp(Lc.source);function Rc(t){var e,r,n=t;if(!n.__docsearch_parent&&!t._highlightResult)return t.hierarchy.lvl0;var o=n.__docsearch_parent?(e=n.__docsearch_parent)===null||e===void 0||(e=e._highlightResult)===null||e===void 0||(e=e.hierarchy)===null||e===void 0?void 0:e.lvl0:(r=t._highlightResult)===null||r===void 0||(r=r.hierarchy)===null||r===void 0?void 0:r.lvl0;return o?o.value&&df.test(o.value)?o.value.replace(Lc,""):o.value:t.hierarchy.lvl0}function mf(t){return v.createElement("div",{className:"DocSearch-Dropdown-Container"},t.state.collections.map(function(e){if(e.items.length===0)return null;var r=Rc(e.items[0]);return v.createElement(Gi,Ne({},t,{key:e.source.sourceId,title:r,collection:e,renderIcon:function(n){var o,i=n.item,a=n.index;return v.createElement(v.Fragment,null,i.__docsearch_parent&&v.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},v.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)?v.createElement("path",{d:"M8 6v21M20 27H8.3"}):v.createElement("path",{d:"M8 6v42M20 27H8.3"}))),v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement(ef,{type:i.type})))},renderAction:function(){return v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement(Yl,null))}}))}),t.resultsFooterComponent&&v.createElement("section",{className:"DocSearch-HitsFooter"},v.createElement(t.resultsFooterComponent,{state:t.state})))}var hf=["translations"];function pf(t){var e=t.translations,r=e===void 0?{}:e,n=gt(t,hf),o=r.recentSearchesTitle,i=o===void 0?"Recent":o,a=r.
12noRecentSearchesText,s=a===void 0?"No recent searches":a,u=r.saveRecentSearchButtonTitle,l=u===void 0?"Save this search":u,p=r.removeRecentSearchButtonTitle,c=p===void 0?"Remove this search from history":p,d=r.favoriteSearchesTitle,f=d===void 0?"Favorite":d,w=r.removeFavoriteSearchButtonTitle,y=w===void 0?"Remove this search from favorites":w;return n.state.status==="idle"&&n.hasCollections===!1?n.disableUserPersonalization?null:v.createElement("div",{className:"DocSearch-StartScreen"},v.createElement("p",{className:"DocSearch-Help"},s)):n.hasCollections===!1?null:v.createElement("div",{className:"DocSearch-Dropdown-Container"},v.createElement(Gi,Ne({},n,{title:i,collection:n.state.collections[0],renderIcon:function(){return v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement($l,null))},renderAction:function(g){var _=g.item,h=g.runFavoriteTransition,m=g.runDeleteTransition;return v.createElement(v.Fragment,null,v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:l,type:"submit",onClick:function(b){b.preventDefault(),b.stopPropagation(),h(function(){n.favoriteSearches.add(_),n.recentSearches.remove(_),n.refresh()})}},v.createElement(Cs,null))),v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:c,type:"submit",onClick:function(b){b.preventDefault(),b.stopPropagation(),m(function(){n.recentSearches.remove(_),n.refresh()})}},v.createElement(Wi,null))))}})),v.createElement(Gi,Ne({},n,{title:f,collection:n.state.collections[1],renderIcon:function(){return v.createElement("div",{className:"DocSearch-Hit-icon"},v.createElement(Cs,null))},renderAction:function(g){var _=g.item,h=g.runDeleteTransition;return v.createElement("div",{className:"DocSearch-Hit-action"},v.createElement("button",{className:"DocSearch-Hit-action-button",title:y,type:"submit",onClick:function(m){m.preventDefault(),m.stopPropagation(),h(function(){n.favoriteSearches.remove(_),n.refresh()})}},v.createElement(Wi,null)))}})))}var vf=["translations"],gf=v.memo(function(t){var e=t.translations,r=e===void 0?{}:e,n=gt(t,vf);if(n.state.status==="error")return v.createElement(af,{translations:r==null?void 0:r.errorScreen});var o=n.state.collections.some(function(i){return i.items.length>0});return n.state.query?o===!1?v.createElement(cf,Ne({},n,{translations:r==null?void 0:r.noResultsScreen})):v.createElement(mf,n):v.createElement(pf,Ne({},n,{hasCollections:o,translations:r==null?void 0:r.startScreen}))},function(t,e){return e.state.status==="loading"||e.state.status==="stalled"}),_f=["translations"];function yf(t){var e=t.translations,r=e===void 0?{}:e,n=gt(t,_f),o=r.resetButtonTitle,i=o===void 0?"Clear the query":o,a=r.resetButtonAriaLabel,s=a===void 0?"Clear the query":a,u=r.cancelButtonText,l=u===void 0?"Cancel":u,p=r.cancelButtonAriaLabel,c=p===void 0?"Cancel":p,d=r.searchInputLabel,f=d===void 0?"Search":d,w=n.getFormProps({inputElement:n.inputRef.current}).onReset;return v.useEffect(function(){n.autoFocus&&n.inputRef.current&&n.inputRef.current.focus()},[n.autoFocus,n.inputRef]),v.useEffect(function(){n.isFromSelection&&n.inputRef.current&&n.inputRef.current.select()},[n.isFromSelection,n.inputRef]),v.createElement(v.Fragment,null,v.createElement("form",{className:"DocSearch-Form",onSubmit:function(y){y.preventDefault()},onReset:w},v.createElement("label",Ne({className:"DocSearch-MagnifierLabel"},n.getLabelProps()),v.createElement(kc,null),v.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},f)),v.createElement("div",{className:"DocSearch-LoadingIndicator"},v.createElement(Ql,null)),v.createElement("input",Ne({className:"DocSearch-Input",ref:n.inputRef},n.getInputProps({inputElement:n.inputRef.current,autoFocus:n.autoFocus,maxLength:64}))),v.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":s,hidden:!n.state.query},v.createElement(Wi,null))),v.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":c,onClick:n.onClose},l))}var bf=["_highlightResult","_snippetResult"];function Ds(t){var e=t.key,r=t.limit,n=r===void 0?5:r,o=function(a){return function(){var s="__TEST_KEY__";try{return localStorage.setItem(s,""),localStorage.removeItem(s),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(s){return window.localStorage.setItem(a,JSON.stringify(s))},getItem:function(){var s=window.localStorage.getItem(a);return s?JSON.parse(s):[]}}}(e),i=o.getItem().slice(0,n);return{add:function(a){var s=a;s._highlightResult,s._snippetResult;var u=gt(s,bf),l=i.findIndex(function(p){return p.objectID===u.objectID});l>-1&&i.splice(l,1),i.unshift(u),i=i.slice(0,n),o.setItem(i)},remove:function(a){i=i.filter(function(s){return s.objectID!==a.objectID}),o.setItem(i)},getAll:function(){return i}}}function wf(t){var e,r="algolia-client-js-".concat(t.key);function n(){return e===void 0&&(e=t.localStorage||window.localStorage),e}function o(){return JSON.parse(n().getItem(r)||"{}")}function i(a){n().setItem(r,JSON.stringify(a))}return{get:function(a,s){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var l,p,c;return l=t.timeToLive?1e3*t.timeToLive:null,p=o(),i(c=Object.fromEntries(Object.entries(p).filter(function(d){return We(d,2)[1].timestamp!==void 0}))),l&&i(Object.fromEntries(Object.entries(c).filter(function(d){var f=We(d,2)[1],w=new Date().getTime();return!(f.timestamp+l<w)}))),o()[JSON.stringify(a)]}).then(function(l){return Promise.all([l?l.value:s(),l!==void 0])}).then(function(l){var p=We(l,2),c=p[0],d=p[1];return Promise.all([c,d||u.miss(c)])}).then(function(l){return We(l,1)[0]})},set:function(a,s){return Promise.resolve().then(function(){var u=o();return u[JSON.stringify(a)]={timestamp:new Date().getTime(),value:s},n().setItem(r,JSON.stringify(u)),s})},delete:function(a){return Promise.resolve().then(function(){var s=o();delete s[JSON.stringify(a)],n().setItem(r,JSON.stringify(s))})},clear:function(){return Promise.resolve().then(function(){n().removeItem(r)})}}}function Fr(t){var e=Vr(t.caches),r=e.shift();return r===void 0?{get:function(n,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 We(a,1)[0]})},set:function(n,o){return Promise.resolve(o)},delete:function(n){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(n,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(n,o,i).catch(function(){return Fr({caches:e}).get(n,o,i)})},set:function(n,o){return r.set(n,o).catch(function(){return Fr({caches:e}).set(n,o)})},delete:function(n){return r.delete(n).catch(function(){return Fr({caches:e}).delete(n)})}
12,clear:function(){return r.clear().catch(function(){return Fr({caches:e}).clear()})}}}function Di(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},e={};return{get:function(r,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(r);if(i in e)return Promise.resolve(t.serializable?JSON.parse(e[i]):e[i]);var a=n();return a.then(function(s){return o.miss(s)}).then(function(){return a})},set:function(r,n){return e[JSON.stringify(r)]=t.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(r){return delete e[JSON.stringify(r)],Promise.resolve()},clear:function(){return e={},Promise.resolve()}}}function Sf(t){var e=t.algoliaAgents,r=t.client,n=t.version,o=function(i){var a={value:"Algolia for JavaScript (".concat(i,")"),add:function(s){var u="; ".concat(s.segment).concat(s.version!==void 0?" (".concat(s.version,")"):"");return a.value.indexOf(u)===-1&&(a.value="".concat(a.value).concat(u)),a}};return a}(n).add({segment:r,version:n});return e.forEach(function(i){return o.add(i)}),o}var Ms=12e4;function Ts(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"up",r=Date.now();return ee(ee({},t),{},{status:e,lastUpdate:r,isUp:function(){return e==="up"||Date.now()-r>Ms},isTimedOut:function(){return e==="timed out"&&Date.now()-r<=Ms}})}var Hc=function(){function t(e,r){var n;return Ir(this,t),Dr(n=kr(this,t,[e]),"name","AlgoliaError"),r&&(n.name=r),n}return Mr(t,Bi(Error)),jr(t)}(),qc=function(){function t(e,r,n){var o;return Ir(this,t),Dr(o=kr(this,t,[e,n]),"stackTrace",void 0),o.stackTrace=r,o}return Mr(t,Hc),jr(t)}(),Of=function(){function t(e){return Ir(this,t),kr(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 Mr(t,qc),jr(t)}
12(),Zi=function(){function t(e,r,n){var o,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"ApiError";return Ir(this,t),Dr(o=kr(this,t,[e,n,i]),"status",void 0),o.status=r,o}return Mr(t,qc),jr(t)}(),Ef=function(){function t(e,r){var n;return Ir(this,t),Dr(n=kr(this,t,[e,"DeserializationError"]),"response",void 0),n.response=r,n}return Mr(t,Hc),jr(t)}(),Pf=function(){function t(e,r,n,o){var i;return Ir(this,t),Dr(i=kr(this,t,[e,r,o,"DetailedApiError"]),"error",void 0),i.error=n,i}return Mr(t,Zi),jr(t)}();function xf(t,e,r){var n,o=(n=r,Object.keys(n).filter(function(a){return n[a]!==void 0}).sort().map(function(a){return"".concat(a,"=").concat(encodeURIComponent(Object.prototype.toString.call(n[a])==="[object Array]"?n[a].join(","):n[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 Cf(t,e){if(t.method!=="GET"&&(t.data!==void 0||e.data!==void 0)){var r=Array.isArray(t.data)?t.data:ee(ee({},t.data),e.data);return JSON.stringify(r)}}function kf(t,e,r){var n=ee(ee(ee({Accept:"application/json"},t),e),r),o={};return Object.keys(n).forEach(function(i){var a=n[i];o[i.toLowerCase()]=a}),o}function If(t){try{return JSON.parse(t.content)}catch(e){throw new Ef(e.message,t)}}function jf(t,e){var r=t.content,n=t.status;try{var o=JSON.parse(r);return"error"in o?new Pf(o.message,n,o.error,e):new Zi(o.message,n,e)}catch{}return new Zi(r,n,e)}function Df(t){return t.map(function(e){return Fc(e)})}function Fc(t){var e=t.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return ee(ee({},t),{},{request:ee(ee({},t.request),{},{headers:ee(ee({},t.request.headers),e)})})}var Mf=["appId","apiKey","authMode","algoliaAgents"],Tf=["params"],As="5.14.2";function Af(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 r=e,n=e.length-1;n>0;n--){var o=Math.floor(Math.random()*(n+1)),i=e[n];r[n]=e[o],r[o]=i}return r}([{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 Ji="3.8.2",Nf=["footer","searchBox"];function Lf(t){var e=t.appId,r=t.apiKey,n=t.indexName,o=t.placeholder,i=o===void 0?"Search docs":o,a=t.searchParameters,s=t.maxResultsPerGroup,u=t.onClose,l=u===void 0?ff:u,p=t.transformItems,c=p===void 0?js:p,d=t.hitComponent,f=d===void 0?Jl:d,w=t.resultsFooterComponent,y=w===void 0?function(){return null}:w,g=t.navigator,_=t.initialScrollY,h=_===void 0?0:_,m=t.transformSearchClient,b=m===void 0?js:m,C=t.disableUserPersonalization,E=C!==void 0&&C,T=t.initialQuery,j=T===void 0?"":T,I=t.translations,M=I===void 0?{}:I,A=t.getMissingResultsUrl,K=t.insights,V=K!==void 0&&K,H=M.footer,ce=M.searchBox,P=gt(M,Nf),x=We(v.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),k=x[0],F=x[1],R=v.useRef(null),Z=v.useRef(null),oe=v.useRef(null),Q=v.useRef(null),ie=v.useRef(null),_e=v.useRef(10),Le=v.useRef(typeof window<"u"?window.getSelection().toString().slice(0,64):"").current,Se=v.useRef(j||Le).current,Tr=function(X,fe,De){return v.useMemo(function(){var Ue=function(Ge,$e){if(!Ge||typeof Ge!="string")throw new Error("`appId` is missing.");if(!$e||typeof $e!="string")throw new Error("`apiKey` is missing.");return function($){var Oe=$.appId,be=$.apiKey,ut=$.authMode,kt=$.algoliaAgents,lt=gt($,Mf),nt=function(G,pe){var xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"WithinHeaders",Ze={"x-algolia-api-key":pe,"x-algolia-application-id":G};return{headers:function(){return xe==="WithinHeaders"?Ze:{}},queryParameters:function(){return xe==="WithinQueryParameters"?Ze:{}}}}(Oe,be,ut),Ke=function(G){var pe=G.hosts,xe=G.hostsCache,Ze=G.baseHeaders,ft=G.logger,It=G.baseQueryParameters,Ft=G.algoliaAgent,ga=G.timeouts,_a=G.requester,Ar=G.requestsCache,li=G.responsesCache;function Yc(Ye){return ya.apply(this,arguments)}function ya(){return(ya=Ei(Wt().mark(function Ye(Me){var Ce,_t,Te,Ve,jt;return Wt().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,Promise.all(Me.map(function(Re){return xe.get(Re,function(){return Promise.resolve(Ts(Re))})}));case 2:return Ce=yt.sent,_t=Ce.filter(function(Re){return Re.isUp()}),Te=Ce.filter(function(Re){return Re.isTimedOut()}),Ve=[].concat(Vr(_t),Vr(Te)),jt=Ve.length>0?Ve:Me,yt.abrupt("return",{hosts:jt,getTimeout:function(Re,tr){return(Te.length===0&&Re===0?1:Te.length+3+Re)*tr}});case 8:case"end":return yt.stop()}},Ye)}))).apply(this,arguments)}function ba(Ye,Me){return fi.apply(this,arguments)}function fi(){return fi=Ei(Wt().mark(function Ye(Me,Ce){var _t,Te,Ve,jt,yt,Re,tr,di,Ut,Qn,mi,wa,hi,pi=arguments;return Wt().wrap(function(rr){for(;;)switch(rr.prev=rr.next){case 0:if(_t=!(pi.length>2&&pi[2]!==void 0)||pi[2],Te=[],Ve=Cf(Me,Ce),jt=kf(Ze,Me.headers,Ce.headers),yt=Me.method==="GET"?ee(ee({},Me.data),Ce.data):{},Re=ee(ee(ee({},It),Me.queryParameters),yt),Ft.value&&(Re["x-algolia-agent"]=Ft.value),Ce&&Ce.queryParameters)for(tr=0,di=Object.keys(Ce.queryParameters);tr<di.length;tr++)Ut=di[tr],Ce.queryParameters[Ut]&&Object.prototype.toString.call(Ce.queryParameters[Ut])!=="[object Object]"?Re[Ut]=Ce.queryParameters[Ut].toString():Re[Ut]=Ce.queryParameters[Ut];return Qn=0,mi=function(){var Nr=Ei(Wt().mark(function Sa($n,vi){var Lr,Yn,gi,_i,Dt,Oa;return Wt().wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:if((Lr=$n.pop())!==void 0){ot.next=3;break}throw new Of(Df(Te));case 3:return Yn=ee(ee({},ga),Ce.timeouts),gi={data:Ve,headers:jt,method:Me.method,url:xf(Lr,Me.path,Re),connectTimeout:vi(Qn,Yn.connect),responseTimeout:vi(Qn,_t?Yn.read:Yn.write)},_i=function(eo){var Pa={request:gi,response:eo,host:Lr,triesLeft:$n.length};return Te.push(Pa),Pa},ot.next=8,_a.send(gi);case 8:if(yi=(Ea=Dt=ot.sent).isTimedOut,Xn=Ea.status,!(yi||function(eo){return!eo.isTimedOut&&!~~eo.status}({isTimedOut:yi,status:Xn})||~~(Xn/100)!=2&&~~(Xn/100)!=4)){ot.next=16;break}return Oa=_i(Dt),Dt.isTimedOut&&Qn++,ft.info("Retryable failure",Fc(Oa)),ot.next=15,xe.set(Lr,Ts(Lr,Dt.isTimedOut?"timed out":"down"));case 15:return ot.abrupt("return",mi($n,vi));case 16:if(~~(Dt.status/100)!=2){ot.next=18;break}return ot.abrupt("return",If(Dt));case 18:throw _i(Dt),jf(Dt,Te);case 20:case"end":return ot.stop()}var Ea,yi,Xn},Sa)}));
12return function(Sa,$n){return Nr.apply(this,arguments)}}(),wa=pe.filter(function(Nr){return Nr.accept==="readWrite"||(_t?Nr.accept==="read":Nr.accept==="write")}),rr.next=13,Yc(wa);case 13:return hi=rr.sent,rr.abrupt("return",mi(Vr(hi.hosts).reverse(),hi.getTimeout));case 15:case"end":return rr.stop()}},Ye)})),fi.apply(this,arguments)}return{hostsCache:xe,requester:_a,timeouts:ga,logger:ft,algoliaAgent:Ft,baseHeaders:Ze,baseQueryParameters:It,hosts:pe,request:function(Ye){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ce=Ye.useReadTransporter||Ye.method==="GET";if(!Ce)return ba(Ye,Me,Ce);var _t=function(){return ba(Ye,Me)};if((Me.cacheable||Ye.cacheable)!==!0)return _t();var Te={request:Ye,requestOptions:Me,transporter:{queryParameters:It,headers:Ze}};return li.get(Te,function(){return Ar.get(Te,function(){return Ar.set(Te,_t()).then(function(Ve){return Promise.all([Ar.delete(Te),Ve])},function(Ve){return Promise.all([Ar.delete(Te),Promise.reject(Ve)])}).then(function(Ve){var jt=We(Ve,2);return jt[0],jt[1]})})},{miss:function(Ve){return li.set(Te,Ve)}})},requestsCache:Ar,responsesCache:li}}(ee(ee({hosts:Af(Oe)},lt),{},{algoliaAgent:Sf({algoliaAgents:kt,client:"Lite",version:As}),baseHeaders:ee(ee({"content-type":"text/plain"},nt.headers()),lt.baseHeaders),baseQueryParameters:ee(ee({},nt.queryParameters()),lt.baseQueryParameters)}));return{transporter:Ke,appId:Oe,clearCache:function(){return Promise.all([Ke.requestsCache.clear(),Ke.responsesCache.clear()]).then(function(){})},get _ua(){return Ke.algoliaAgent.value},addAlgoliaAgent:function(G,pe){Ke.algoliaAgent.add({segment:G,version:pe})},setClientApiKey:function(G){var pe=G.apiKey;ut&&ut!=="WithinHeaders"?Ke.baseQueryParameters["x-algolia-api-key"]=pe:Ke.baseHeaders["x-algolia-api-key"]=pe},searchForHits:function(G,pe){return this.search(G,pe)},searchForFacets:function(G,pe){return this.search(G,pe)},customPost:function(G,pe){var xe=G.path,Ze=G.parameters,ft=G.body;if(!xe)throw new Error("Parameter `path` is required when calling `customPost`.");var It={method:"POST",path:"/{path}".replace("{path}",xe),queryParameters:Ze||{},headers:{},data:ft||{}};return Ke.request(It,pe)},getRecommendations:function(G,pe){if(G&&Array.isArray(G)&&(G={requests:G}),!G)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!G.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var xe={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:G,useReadTransporter:!0,cacheable:!0};return Ke.request(xe,pe)},search:function(G,pe){if(G&&Array.isArray(G)){var xe={requests:G.map(function(ft){var It=ft.params,Ft=gt(ft,Tf);return Ft.type==="facet"?ee(ee(ee({},Ft),It),{},{type:"facet"}):ee(ee(ee({},Ft),It),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})})};G=xe}if(!G)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!G.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var Ze={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:G,useReadTransporter:!0,cacheable:!0};return Ke.request(Ze,pe)}}}(ee({appId:Ge,apiKey:$e,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function($,Oe){return Promise.resolve()},info:function($,Oe){return Promise.resolve()},error:function($,Oe){return Promise.resolve()}},requester:{send:function($){return new Promise(function(Oe){var be=new XMLHttpRequest;be.open($.method,$.url,!0),Object.keys($.headers).forEach(function(nt){return be.setRequestHeader(nt,$.headers[nt])});var ut,kt=function(nt,Ke){return setTimeout(function(){be.abort(),Oe({status:0,content:Ke,isTimedOut:!0})},nt)},lt=kt($.connectTimeout,"Connection timeout");be.onreadystatechange=function(){be.readyState>be.OPENED&&ut===void 0&&(clearTimeout(lt),ut=kt($.responseTimeout,"Socket timeout"))},be.onerror=function(){be.status===0&&(clearTimeout(lt),clearTimeout(ut),Oe({content:be.responseText||"Network request failed",status:be.status,isTimedOut:!1}))},be.onload=function(){clearTimeout(lt),clearTimeout(ut),Oe({content:be.responseText,status:be.status,isTimedOut:!1})},be.send($.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:Di(),requestsCache:Di({serializable:!1}),hostsCache:Fr({caches:[wf({key:"".concat(As,"-").concat(Ge)}),Di()]})},void 0))}(X,fe);return Ue.addAlgoliaAgent("docsearch",Ji),/docsearch.js \(.*\)/.test(Ue.transporter.algoliaAgent.value)===!1&&Ue.addAlgoliaAgent("docsearch-react",Ji),De(Ue)},[X,fe,De])}(e,r,b),st=v.useRef(Ds({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(n),limit:10})).current,qt=v.useRef(Ds({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(n),limit:st.getAll().length===0?7:4})).current,ct=v.useCallback(function(X){if(!E){var fe=X.type==="content"?X.__docsearch_parent:X;fe&&st.getAll().findIndex(function(De){return De.objectID===fe.objectID})===-1&&qt.add(fe)}},[st,qt,E]),er=v.useCallback(function(X){if(k.context.algoliaInsightsPlugin&&X.__autocomplete_id){var fe=X,De={eventName:"Item Selected",index:fe.__autocomplete_indexName,items:[fe],positions:[X.__autocomplete_id],queryID:fe.__autocomplete_queryID};k.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(De)}},[k.context.algoliaInsightsPlugin]),Ct=v.useMemo(function(){return Wl({i
12d:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:Se,context:{searchSuggestions:[]}},insights:V,navigator:g,onStateChange:function(X){F(X.state)},getSources:function(X){var fe=X.query,De=X.state,Ue=X.setContext,Ge=X.setStatus;if(!fe)return E?[]:[{sourceId:"recentSearches",onSelect:function($){var Oe=$.item,be=$.event;ct(Oe),mo(be)||l()},getItemUrl:function($){return $.item.url},getItems:function(){return qt.getAll()}},{sourceId:"favoriteSearches",onSelect:function($){var Oe=$.item,be=$.event;ct(Oe),mo(be)||l()},getItemUrl:function($){return $.item.url},getItems:function(){return st.getAll()}}];var $e=!!V;return Tr.search({requests:[ee({query:fe,indexName:n,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(_e.current),"hierarchy.lvl2:".concat(_e.current),"hierarchy.lvl3:".concat(_e.current),"hierarchy.lvl4:".concat(_e.current),"hierarchy.lvl5:".concat(_e.current),"hierarchy.lvl6:".concat(_e.current),"content:".concat(_e.current)],snippetEllipsisText:"â¦",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:$e},a)]}).catch(function($){throw $.name==="RetryError"&&Ge("error"),$}).then(function($){var Oe=$.results[0],be=Oe.hits,ut=Oe.nbHits,kt=Is(be,function(nt){return Rc(nt)},s);De.context.searchSuggestions.length<Object.keys(kt).length&&Ue({searchSuggestions:Object.keys(kt)}),Ue({nbHits:ut});var lt={};return $e&&(lt={__autocomplete_indexName:n,__autocomplete_queryID:Oe.queryID,__autocomplete_algoliaCredentials:{appId:e,apiKey:r}}),Object.values(kt).map(function(nt,Ke){return{sourceId:"hits".concat(Ke),onSelect:function(G){var pe=G.item,xe=G.event;ct(pe),mo(xe)||l()},getItemUrl:function(G){return G.item.url},getItems:function(){return Object.values(Is(nt,function(G){return G.hierarchy.lvl1},s)).map(c).map(function(G){return G.map(function(pe){var xe=null,Ze=G.find(function(ft){return ft.type==="lvl1"&&ft.hierarchy.lvl1===pe.hierarchy.lvl1});return pe.type!=="lvl1"&&Ze&&(xe=Ze),ee(ee({},pe),{},{__docsearch_parent:xe},lt)})}).flat()}}})})}})},[n,a,s,Tr,l,qt,st,ct,Se,i,g,c,E,V,e,r]),Jn=Ct.getEnvironmentProps,$c=Ct.getRootProps,va=Ct.refresh;return function(X){var fe=X.getEnvironmentProps,De=X.panelElement,Ue=X.formElement,Ge=X.inputElement;v.useEffect(function(){if(De&&Ue&&Ge){var $e=fe({panelElement:De,formElement:Ue,inputElement:Ge}),$=$e.onTouchStart,Oe=$e.onTouchMove;return window.addEventListener("touchstart",$),window.addEventListener("touchmove",Oe),function(){window.removeEventListener("touchstart",$),window.removeEventListener("touchmove",Oe)}}},[fe,De,Ue,Ge])}({getEnvironmentProps:Jn,panelElement:Q.current,formElement:oe.current,inputElement:ie.current}),function(X){var fe=X.container;v.useEffect(function(){if(fe){var De=fe.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),Ue=De[0],Ge=De[De.length-1];return fe.addEventListener("keydown",$e),function(){fe.removeEventListener("keydown",$e)}}function $e($){$.key==="Tab"&&($.shiftKey?document.activeElement===Ue&&($.preventDefault(),Ge.focus()):document.activeElement===Ge&&($.preventDefault(),Ue.focus()))}},[fe])}({container:R.current}),v.useEffect(function(){return document.body.classList.add("DocSearch--active"),function(){var X,fe;document.body.classList.remove("DocSearch--active"),(X=(fe=window).scrollTo)===null||X===void 0||X.call(fe,0,h)}},[]),v.useEffect(function(){window.matchMedia("(max-width: 768px)").matches&&(_e.current=5)},[]),v.useEffect(function(){Q.current&&(Q.current.scrollTop=0)},[k.query]),v.useEffect(function(){Se.length>0&&(va(),ie.current&&ie.current.focus())},[Se,va]),v.useEffect(function(){function X(){if(Z.current){var fe=.01*window.innerHeight;Z.current.style.setProperty("--docsearch-vh","".concat(fe,"px"))}}return X(),window.addEventListener("resize",X),function(){window.removeEventListener("resize",X)}},[]),v.createElement("div",Ne({ref:R},$c({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",k.status==="stalled"&&"DocSearch-Container--Stalled",k.status==="error"&&"DocSearch-Container--Errored"].filter(
12Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(X){X.target===X.currentTarget&&l()}}),v.createElement("div",{className:"DocSearch-Modal",ref:Z},v.createElement("header",{className:"DocSearch-SearchBar",ref:oe},v.createElement(yf,Ne({},Ct,{state:k,autoFocus:Se.length===0,inputRef:ie,isFromSelection:!!Se&&Se===Le,translations:ce,onClose:l}))),v.createElement("div",{className:"DocSearch-Dropdown",ref:Q},v.createElement(gf,Ne({},Ct,{indexName:n,state:k,hitComponent:f,resultsFooterComponent:y,disableUserPersonalization:E,recentSearches:qt,favoriteSearches:st,inputRef:ie,translations:P,getMissingResultsUrl:A,onItemClick:function(X,fe){er(X),ct(X),mo(fe)||l()}}))),v.createElement("footer",{className:"DocSearch-Footer"},v.createElement(Zl,{translations:H}))))}function Rf(t){var e,r,n=v.useRef(null),o=We(v.useState(!1),2),i=o[0],a=o[1],s=We(v.useState((t==null?void 0:t.initialQuery)||void 0),2),u=s[0],l=s[1],p=v.useCallback(function(){a(!0)},[a]),c=v.useCallback(function(){a(!1),l(t==null?void 0:t.initialQuery)},[a,t.initialQuery]);return function(d){var f=d.isOpen,w=d.onOpen,y=d.onClose,g=d.onInput,_=d.searchButtonRef;v.useEffect(function(){function h(m){var b;if(m.code==="Escape"&&f||((b=m.key)===null||b===void 0?void 0:b.toLowerCase())==="k"&&(m.metaKey||m.ctrlKey)||!function(C){var E=C.target,T=E.tagName;return E.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}(m)&&m.key==="/"&&!f)return m.preventDefault(),void(f?y():document.body.classList.contains("DocSearch--active")||w());_&&_.current===document.activeElement&&g&&/[a-zA-Z0-9]/.test(String.fromCharCode(m.keyCode))&&g(m)}return window.addEventListener("keydown",h),function(){window.removeEventListener("keydown",h)}},[f,w,y,g,_])}({isOpen:i,onOpen:p,onClose:c,onInput:v.useCallback(function(d){a(!0),l(d.key)},[a,l]),searchButtonRef:n}),v.createElement(v.Fragment,null,v.createElement(dl,{ref:n,translations:t==null||(e=t.translations)===null||e===void 0?void 0:e.button,onClick:p}),i&&yc(v.createElement(Lf,Ne({},t,{initialScrollY:window.scrollY,initialQuery:u,translations:t==null||(r=t.translations)===null||r===void 0?void 0:r.modal,onClose:c})),document.body))}function Hf(t){wc(v.createElement(Rf,Ni({},t,{transformSearchClient:function(e){return e.addAlgoliaAgent("docsearch.js",Ji),t.transformSearchClient?t.transformSearchClient(e):e}})),function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;return typeof e=="string"?r.document.querySelector(e):e}(t.container,t.environment))}var qf=te('<div id="docsearch"></div>');function Ff(t,e){me(e,!1);let r=Sr();Bs(()=>{Hf({container:O(r),appId:"2Y8OU39U1X",indexName:"docsearch_mock",apiKey:"0e82d6007f06d9f280629a37bb8a0892",placeholder:"Search the docs...",translations:{button:{buttonText:"Search docs...",buttonAriaLabel:"Search the documentation"}}})}),Pt();var n=qf();au(n,o=>le(r,o),()=>O(r)),N(t,n),he()}var Uf=Yt("<title> </title>"),Kf=Yt("<desc> </desc>"),Vf=Yt('<svg><!><!><path fill-rule="evenodd" clip-rule="evenodd" d="M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.
120139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z"></path></svg>');function Bf(t,e){var g,_;me(e,!0);const r=qs("iconCtx")??{};let n=L(e,"size",19,()=>r.size||"24"),o=L(e,"role",19,()=>r.role||"img"),i=L(e,"color",19,()=>r.color||"currentColor"),a=L(e,"ariaLabel",3,"moon"),s=Fe(e,["$$slots","$$events","$$legacy","size","role","color","title","desc","ariaLabel"]),u=`${((g=e.title)==null?void 0:g.id)||""} ${((_=e.desc)==null?void 0:_.id)||""}`;const l=J(()=>{var h,m;return!!((h=e.title)!=null&&h.id||(m=e.desc)!=null&&m.id)});var p=Vf();let c;var d=U(p);{var f=h=>{var m=Uf(),b=U(m,!0);q(m),ue(()=>{Pe(m,"id",e.title.id),ze(b,e.title.title)}),N(h,m)};ge(d,h=>{var m;(m=e.title)!=null&&m.id&&e.title.title&&h(f)})}var w=B(d);{var y=h=>{var m=Kf(),b=U(m,!0);q(m),ue(()=>{Pe(m,"id",e.desc.id),ze(b,e.desc.desc)}),N(h,m)};ge(w,h=>{var m;(m=e.desc)!=null&&m.id&&e.desc.desc&&h(y)})}He(),q(p),ue(()=>c=Qe(p,c,{xmlns:"http://www.w3.org/2000/svg",...s,role:o(),width:n(),height:n(),fill:i(),"aria-label":a(),"aria-describedby":O(l)?u:void 0,viewBox:"0 0 15 15"},void 0,!0)),N(t,p),he()}var zf=Yt("<title> </title>"),Wf=Yt("<desc> </desc>"),Gf=Yt('<svg><!><!><path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.
121938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z"></path></svg>');function Zf(t,e){var g,_;me(e,!0);const r=qs("iconCtx")??{};let n=L(e,"size",19,()=>r.size||"24"),o=L(e,"role",19,()=>r.role||"img"),i=L(e,"color",19,()=>r.color||"currentColor"),a=L(e,"ariaLabel",3,"sun"),s=Fe(e,["$$slots","$$events","$$legacy","size","role","color","title","desc","ariaLabel"]),u=`${((g=e.title)==null?void 0:g.id)||""} ${((_=e.desc)==null?void 0:_.id)||""}`;const l=J(()=>{var h,m;return!!((h=e.title)!=null&&h.id||(m=e.desc)!=null&&m.id)});var p=Gf();let c;var d=U(p);{var f=h=>{var m=zf(),b=U(m,!0);q(m),ue(()=>{Pe(m,"id",e.title.id),ze(b,e.title.title)}),N(h,m)};ge(d,h=>{var m;(m=e.title)!=null&&m.id&&e.title.title&&h(f)})}var w=B(d);{var y=h=>{var m=Wf(),b=U(m,!0);q(m),ue(()=>{Pe(m,"id",e.desc.id),ze(b,e.desc.desc)}),N(h,m)};ge(w,h=>{var m;(m=e.desc)!=null&&m.id&&e.desc.desc&&h(y)})}He(),q(p),ue(()=>c=Qe(p,c,{xmlns:"http://www.w3.org/2000/svg",...s,role:o(),width:n(),height:n(),fill:i(),"aria-label":a(),"aria-describedby":O(l)?u:void 0,viewBox:"0 0 15 15"},void 0,!0)),N(t,p),he()}let Ns,Ls;function Uc(t){if(typeof document>"u")return;clearTimeout(Ns),clearTimeout(Ls);const e=document.createElement("style"),r=document.createTextNode(`* { 13 -webkit-transition: none !important; 14 -moz-transition: none !important; 15 -o-transition: none !important; 16 -ms-transition: none !important; 17 transition: none !important; 18 }`);e.appendChild(r);const n=()=>document.head.appendChild(e),o=()=>document.head.removeChild(e);if(typeof window.getComputedStyle<"u"){n(),t(),window.getComputedStyle(e).opacity,o();return}if(typeof window.requestAnimationFrame<"u"){n(),t(),window.requestAnimationFrame(o);return}n(),Ns=window.setTimeout(()=>{t(),Ls=window.setTimeout(o,120)},120)}function Rs(t){return t.filter(e=>e.length>0)}const Kc={getItem:t=>null,setItem:(t,e)=>{}},Lt=typeof document<"u",Jf=["dark","light","system"],Qi=xt("mode-watcher-mode"),$i=xt("mode-watcher-theme"),ha=Yf(),Yi=ed(),Vc=xt(void 0),Bc=Xf(),pa=xt(!0),zc=xt([]),Wc=xt([]),Qf=td(),$f=rd();function Yf(){const t="system",e=Lt?localStorage:Kc,r=e.getItem(o());let n=Xi(r)?r:t;function o(){return Ks(Qi)}const{subscribe:i,set:a}=xt(n,()=>{if(!Lt)return;const u=l=>{if(l.key!==o())return;const p=l.newValue;Xi(p)?a(n=p):a(n=t)};return addEventListener("storage",u),()=>removeEventListener("storage",u)});function s(u){a(n=u),e.setItem(o(),n)}return{subscribe:i,set:s}}function Xf(){const t=Lt?localStorage:Kc,e=t.getItem(n());let r=e??"";function n(){return Ks($i)}const{subscribe:o,set:i}=xt(r,()=>{if(!Lt)return;const s=u=>{if(u.key!==n())return;const l=u.newValue;i(l===null?r="":r=l)};return addEventListener("storage",s),()=>removeEventListener("storage",s)});function a(s){i(r=s),t.setItem(n(),r)}return{subscribe:o,set:a}}function ed(){let e=!0;const{subscribe:r,set:n}=xt(void 0,()=>{if(!Lt)return;const a=u=>{e&&n(u.matches?"light":"dark")},s=window.matchMedia("(prefers-color-scheme: light)");return s.addEventListener("change",a),()=>s.removeEventListener("change",a)});function o(){if(!Lt)return;const a=window.matchMedia("(prefers-color-scheme: light)");n(a.matches?"light":"dark")}function i(a){e=a}return{subscribe:r,query:o,tracking:i}}function td(){const{subscribe:t}=Vs([ha,Yi,Vc,pa,zc,Wc],([e,r,n,o,i,a])=>{if(!Lt)return;const s=e==="system"?r:e,u=Rs(i),l=Rs(a);function p(){const c=document.documentElement,d=document.querySelector('meta[name="theme-color"]');s==="light"?(u.length&&c.classList.remove(...u),l.length&&c.classList.add(...l),c.style.colorScheme="light",d&&n&&d.setAttribute("content",n.light)):(l.length&&c.classList.remove(...l),u.length&&c.classList.add(...u),c.style.colorScheme="dark",d&&n&&d.setAttribute("content",n.dark))}return o?Uc(p):p(),s});return{subscribe:t}}function rd(){const{subscribe:t}=Vs([Bc,pa],([e,r])=>
18{if(!Lt)return;function n(){document.documentElement.setAttribute("data-theme",e)}return r?Uc(n):n(),e});return{subscribe:t}}function Xi(t){return typeof t!="string"?!1:Jf.includes(t)}function ea(t){ha.set(t)}function nd(){ha.set("system")}function od(t){Bc.set(t)}function Hs({defaultMode:t,themeColors:e,darkClassNames:r=["dark"],lightClassNames:n=[],defaultTheme:o=""}){const i=document.documentElement,a=localStorage.getItem("mode-watcher-mode")||t,s=localStorage.getItem("mode-watcher-theme")||o,u=a==="light"||a==="system"&&window.matchMedia("(prefers-color-scheme: light)").matches;if(u?(r.length&&i.classList.remove(...r),n.length&&i.classList.add(...n)):(n.length&&i.classList.remove(...n),r.length&&i.classList.add(...r)),i.style.colorScheme=u?"light":"dark",e){const l=document.querySelector('meta[name="theme-color"]');l&&l.setAttribute("content",a==="light"?e.light:e.dark)}s&&(i.setAttribute("data-theme",s),localStorage.setItem("mode-watcher-theme",s)),localStorage.setItem("mode-watcher-mode",a)}var id=te('<meta name="theme-color">'),ad=te("<!> <!>",1);function sd(t,e){me(e,!1);const r=ai(),n=()=>on(Qi,"$modeStorageKeyStore",r),o=()=>on($i,"$themeStorageKeyStore",r),i=Sr();let a=L(e,"track",8,!0),s=L(e,"defaultMode",8,"system"),u=L(e,"themeColors",24,()=>{}),l=L(e,"disableTransitions",8,!0),p=L(e,"darkClassNames",24,()=>["dark"]),c=L(e,"lightClassNames",24,()=>[]),d=L(e,"defaultTheme",8,""),f=L(e,"nonce",8,""),w=L(e,"themeStorageKey",8,"mode-watcher-theme"),y=L(e,"modeStorageKey",8,"mode-watcher-mode");Bs(()=>{const _=Qf.subscribe(()=>{}),h=$f.subscribe(()=>{});Yi.tracking(a()),Yi.query();const m=localStorage.getItem(n());ea(Xi(m)?m:s());const b=localStorage.getItem(o());return od(b||d()),()=>{_(),h()}});const g={defaultMode:s(),themeColors:u(),darkClassNames:p(),lightClassNames:c(),defaultTheme:d(),modeStorageKey:y(),themeStorageKey:w()};dt(()=>et(l()),()=>{pa.set(l())}),dt(()=>et(u()),()=>{Vc.set(u())}),dt(()=>et(p()),()=>{zc.set(p())}),dt(()=>et(c()),()=>{Wc.set(c())}),dt(()=>et(y()),()=>{Qi.set(y())}),dt(()=>et(w()),()=>{$i.set(w())}),dt(()=>et(f()),()=>{le(i,typeof window>"u"?f():"")}),ra(),Pt(),nu(_=>{var h=ad(),m=z(h);{var b=j=>{var I=id();ue(()=>Pe(I,"content",u().dark)),N(j,I)};ge(m,j=>{u()&&j(b)})}var C=B(m,2);{var E=j=>{var I=se(),M=z(I);Ai(M,()=>`<script nonce=${O(i)}>(`+Hs.toString()+")("+JSON.stringify(g)+");<\/script>",!1,!1),N(j,I)},T=j=>{var I=se(),M=z(I);Ai(M,()=>"<script>("+Hs.toString()+")("+JSON.stringify(g)+");<\/script>",!1,!1),N(j,I)};ge(C,j=>{O(i)?j(E):j(T,!1)})}N(_,h)}),he()}function cd(t){return window.getComputedStyle(t).getPropertyValue("direction")}function ud(t="ltr",e="horizontal"){return{horizontal:t==="rtl"?oa:na,vertical:an}[e]}function ld(t="ltr",e="horizontal"){return{horizontal:t==="rtl"?na:oa,vertical:yo}[e]}function fd(t="ltr",e="horizontal"){return["ltr","rtl"].includes(t)||(t="ltr"),["horizontal","vertical"].includes(e)||(e="horizontal"),{nextKey:ud(t,e),prevKey:ld(t,e)}}function dd(t){const e=t.currentTabStopId?t.currentTabStopId:ae(null);function r(){if(!su)return[];const a=document.getElementById(t.rootNodeId.current);return a?t.candidateSelector?Array.from(a.querySelectorAll(t.candidateSelector)):Array.from(a.querySelectorAll(`[${t.candidateAttr}]:not([data-disabled])`)):[]}function n(){var s;const a=r();a.length&&((s=a[0])==null||s.focus())}function o(a,s,u=!1){var m;const l=document.getElementById(t.rootNodeId.current);if(!l||!a)return;const p=r();if(!p.length)return;const c=p.indexOf(a),d=cd(l),{nextKey:f,prevKey:w}=fd(d,t.orientation.current),y=t.loop.current,g={[f]:c+1,[w]:c-1,[Gs]:0,[Ws]:p.length-1};if(u){const b=f===an?na:an,C=w===yo?oa:yo;g[b]=c+1,g[C]=c-1}let _=g[s.key];if(_===void 0)return;s.preventDefault(),_<0&&y?_=p.length-1:_===p.length&&y&&(_=0);const h=p[_];if(h)return h.focus(),e.current=h.id,(m=t.onCandidateFocus)==null||m.call(t,h),h}function i(a){const s=r(),u=e.current!==null;return a&&!u&&s[0]===a?(e.current=a.id,0):(a==null?void 0:a.id)===e.current?0:-1}return{setCurrentTabStopId(a){e.current=a},getTabIndex:i,handleKeydown:o,focusFirstCandidate:n,currentTabStopId:e}}function md(t,e){if(cu(t)){const r=t;return r()??e??r()}return t??e??t}var mn,hn,wo;class hd{constructor(e){D(this,mn);D(this,hn,J(()=>md(S(this,mn))));D(this,wo,J(()=>!O(S(this,hn))||!Ia.current?!1:O(S(this,hn)).contains(Ia.current)));de(this,mn,e)}get current(){return O(S(this,wo))}}mn=new WeakMap,hn=new WeakMap,wo=new WeakMap;function pd(t){return{content:`data-${t}-content`,trigger:`data-${t}-trigger`,overlay:`data-${t}-overlay`,title:`data-${t}-title`,description:`data-${t}-description`,close:`data-${t}-close`,cancel:`data-${t}-cancel`,action:`data-${t}-action`}}var pn,vn,gn,_n,yn,bn,wn,Sn,On,So,Oo;class vd{constructor(e){re(this,"open");re(this,"variant");D(this,pn,Ee(null));D(this,vn,Ee(null));D(this,gn,Ee(null));D(this,_n,Ee(null));D(this,yn,Ee(void 0));D(this,bn,Ee(void 0));D(this,wn,Ee(void 0));D(this,Sn,Ee(void 0));D(this,On,Ee(null));D(this,So,J(()=>pd(this.variant.current)));re(this,"handleOpen",()=>{this.open.current||(this.open.current=!0)});re(this,"handleClose",()=>{this.open.current&&(this.open.current=!1)});D(this,Oo,J(()=>({"data-state":ia(this.open.current)})));this.open=e.open,this.variant=e.variant}get triggerNode(){return O(S(this,pn))}set triggerNode(e){le(S(this,pn),ke(e))}get titleNode(){return O(S(this,vn))}set titleNode(e){le(S(this,vn),ke(e))}get contentNode(){return O(S(this,gn))}set contentNode(e){le(S(this,gn),ke(e))}get descriptionNode(){return O(S(this,_n))}set descriptionNode(e){le(S(this,_n),ke(e))}get contentId(){return O(S(this,yn))}set contentId(e){le(S(this,yn),ke(e))}get titleId(){return O(S(this,bn))}set titleId(e){le(S(this,bn),ke(e))}get triggerId(){return O(S(this,wn))}set triggerId(e){le(S(this,wn),ke(e))}get descriptionId(){return O(S(this,Sn))}set descriptionId(e){le(S(this,Sn),ke(e))}get cancelNode(){return O(S(this,On))}set cancelNode(e){le(S(this,On),ke(e))}get attrs(){return O(S(this,So))}get sharedProps(){return O(S(this,Oo))}}pn=new WeakMap,vn=new WeakMap,gn=new WeakMap,_n=new WeakMap,yn=new WeakMap,bn=new WeakMap,wn=new WeakMap,Sn=new WeakMap,On=new WeakMap,So=new WeakMap,Oo=new WeakMap;var dr,En,Je,Jt,Eo,Po,xo,Co;class gd{constructor(e,r){D(this,dr);D(this,En);D(this,Je);D(this,Jt);D(this,Eo,e=>{S(this,Jt).current||e.button>0||S(this,Je).handleOpen()});D(this,Po,e=>{if(!S(this,Jt).current){if(e.pointerType==="touch")return e.preventDefault();e.button>0||(e.preventDefault(),S(this,Je).handleOpen())}});D(this,xo,e=>{S(this,Jt).current||(e.key===Vn||e.key===si)&&(e.preventDefault(),S(this,Je).handleOpen())});D(this,Co,J(()=>({id:S(this,dr).current,"aria-haspopup":"dialog","aria-expanded":Zs(S(this,Je).open.current),"aria-controls":S(this,Je).contentId,[S(this,Je).attrs.trigger]:"",onpointerdown:S(this,Po),onkeydown:S(this,xo),onclick:S(this,Eo),...S(this,Je).sharedProps})));de(this,dr,e.id),de(this,Je,r),de(this,En,e.ref),de(this,Jt,e.disabled),Rt({id:S(this,dr),ref:S(this,En),onRefChange:n=>{S(this,Je).triggerNode=n,S(this,Je).triggerId=n==null?void 0:n.id}})}get props(){return O(S(this,Co))}}dr=new WeakMap,En=new WeakMap,Je=new WeakMap,Jt=new WeakMap,Eo=new WeakMap,Po=new WeakMap,xo=new WeakMap,Co=new WeakMap;var mr,Pn,mt,xn,Qt,ko,Io,jo,Do,Mo;class _d{constructor(e,r){D(this,mr);D(this,Pn);D(this,mt);D(this,xn);D(this,Qt);D(this,ko,J(()=>S(this,mt).attrs[S(this,xn).current]));D(this,Io,e=>{S(this,Qt).current||e.button>0||S(this,mt).handleClose()});D(this,jo,e=>{if(!S(this,Qt).current){if(e.pointerType==="touch")return e.preventDefault();e.button>0||(e.preventDefault(),S(this,mt).handleClose())}});D(this,Do,e=>{S(this,Qt).current||(e.key===Vn||e.key===si)&&(e.preventDefault(),S(this,mt).handleClose())});D(this,Mo,J(()=>({id:S(this,mr).current,[O(S(this,ko))]:"",onpointerdown:S(this,jo),onclick:S(this,Io),onkeydown:S(this,Do),...S(this,mt).sharedProps})));de(this,mt,r),de(this,Pn,e.ref),de(this,mr,e.id),de(this,xn,e.variant),de(this,Qt,e.disabled),Rt({id:S(this,mr),ref:S(this,Pn),deps:()=>S(this,mt).open.current})}get props(){return O(S(this,Mo))}}mr=new WeakMap,Pn=new WeakMap,mt=new WeakMap,xn=new WeakMap,Qt=new WeakMap,ko=new WeakMap,Io=new WeakMap,jo=new WeakMap,Do=new WeakMap,Mo=new WeakMap;var hr,Cn,bt,kn,To;class yd{constructor(e,r){D(this,hr);D(this,Cn);D(this,bt);D(this,kn);D(this,To,J(()=>({id:S(this,hr).current,role:"heading","aria-level":S(this,kn).current,[S(this,bt).attrs.title]:"",...S(this,bt).sharedProps})));de(this,hr,e.id),de(this,bt,r),de(this,Cn,e.ref),de(this,kn,e.level),Rt({id:S(this,hr),ref:S(this,Cn),onRefChange:n=>{S(this,bt).titleNode=n,S(this,bt).titleId=n==null?void 0:n.id},deps:()=>S(this,bt).open.current})}get props(){return O(S(this,To))}}hr=new WeakMap,Cn=new WeakMap,bt=new WeakMap,kn=new WeakMap,To=new WeakMap;var pr,In,Ao,No;class bd{constructor(e,r){D(this,pr);D(this,In);re(this,"root");D(this,Ao,J(()=>({open:this.root.open.current})));D(this,No,J(()=>({id:S(this,pr).current,role:this.root.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.attrs.content]:"",style:{pointerEvents:"auto"},...this.root.sharedProps})));de(this,pr,e.id),this.root=r,de(this,In,e.ref),Rt({id:S(this,pr),ref:S(this,In),deps:()=>this.root.open.current,onRefChange:n=>{this.root.contentNode=n,this.root.contentId=n==null?void 0:n.id}})}get snippetProps(){return O(S(this,Ao))}get props(){return O(S(this,No))}}pr=new WeakMap,In=new WeakMap,Ao=new WeakMap,No=new WeakMap;var vr,jn,Lo,Ro;class wd{constructor(e,r){D(this,vr);D(this,jn);re(this,"root");D(this,Lo,J(()=>({open:this.root.open.current})));D(this,Ro,J(()=>({id:S(this,vr).current,[this.root.attrs.overlay]:"",style:{pointerEvents:"auto"},...this.root.sharedProps})));de(this,vr,e.id),de(this,jn,e.ref),this.root=r,Rt({id:S(this,vr),ref:S(this,jn),deps:()=>this.root.open.current})}get snippetProps(){return O(S(this,Lo))}get props(){return O(S(this,Ro))}}vr=new WeakMap,jn=new WeakMap,Lo=new WeakMap,Ro=new WeakMap;const[Sd,Zn]=xr("Dialog.Root");function Od(t){return Sd(new vd(t))}function Ed(t){const e=Zn();return new gd(t,e)}function Pd(t){return new yd(t,Zn())}function xd(t){return new bd(t,Zn())}function Cd(t){return new wd(t,Zn())}function kd(t){return new _d(t,Zn())}var Id=te("<div><!></div>");
18function jd(t,e){me(e,!0);let r=L(e,"id",19,Ht),n=L(e,"ref",15,null),o=L(e,"level",3,2),i=Fe(e,["$$slots","$$events","$$legacy","id","ref","child","children","level"]);const a=Pd({id:ae.with(()=>r()),level:ae.with(()=>o()),ref:ae.with(()=>n(),d=>n(d))}),s=J(()=>qe(i,a.props));var u=se(),l=z(u);{var p=d=>{var f=se(),w=z(f);we(w,()=>e.child,()=>({props:O(s)})),N(d,f)},c=d=>{var f=Id();let w;var y=U(f);we(y,()=>e.children??rt),q(f),ue(()=>w=Qe(f,w,{...O(s)})),N(d,f)};ge(l,d=>{e.child?d(p):d(c,!1)})}N(t,u),he()}function Dd({forceMount:t,present:e,trapFocus:r,open:n}){return t?n&&r:e&&r&&n}var Md=te("<div><!></div>");function Td(t,e){me(e,!0);let r=L(e,"id",19,Ht),n=L(e,"forceMount",3,!1),o=L(e,"ref",15,null),i=Fe(e,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=Cd({id:ae.with(()=>r()),ref:ae.with(()=>o(),l=>o(l))}),s=J(()=>qe(i,a.props));var u=J(()=>a.root.open.current||n());Js(t,{get id(){return r()},get present(){return O(u)},presence:p=>{var c=se(),d=z(c);{var f=y=>{var g=se(),_=z(g),h=Mt(()=>({props:qe(O(s)),...a.snippetProps}));we(_,()=>e.child,()=>O(h)),N(y,g)},w=y=>{var g=Md();const _=J(()=>qe(O(s)));let h;var m=U(g);we(m,()=>e.children??rt,()=>a.snippetProps),q(g),ue(()=>h=Qe(g,h,{...O(_)})),N(y,g)};ge(d,y=>{e.child?y(f):y(w,!1)})}N(p,c)},$$slots:{presence:!0}}),he()}var Ad=te("<button><!></button>");function Nd(t,e){me(e,!0);let r=L(e,"id",19,Ht),n=L(e,"ref",15,null),o=L(e,"disabled",3,!1),i=Fe(e,["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]);const a=Ed({id:ae.with(()=>r()),ref:ae.with(()=>n(),d=>n(d)),disabled:ae.with(()=>!!o())}),s=J(()=>qe(i,a.props));var u=se(),l=z(u);{var p=d=>{var f=se(),w=z(f);we(w,()=>e.child,()=>({props:O(s)})),N(d,f)},c=d=>{var f=Ad();let w;var y=U(f);we(y,()=>e.children??rt),q(f),ue(()=>w=Qe(f,w,{...O(s)})),N(d,f)};ge(l,d=>{e.child?d(p):d(c,!1)})}N(t,u),he()}const Ld=[si,Vn],Rd=[an,uu,Gs],Gc=[yo,lu,Ws],Hd=[...Rd,...Gc];function ta(t){return t.pointerType==="mouse"}function qd(t,e){let r=!1;for(let n=0,o=e.length-1;n<e.length;o=n++){const i=e[n].x,a=e[n].y,s=e[o].x,u=e[o].y;a>t.y!=u>t.y&&t.x<(s-i)*(t.y-a)/(u-a)+i&&(r=!r)}return r}function Fd(t,e){return e?qd({x:t.clientX,y:t.clientY},e):!1}const[Ud]=xr("Menu.Root"),[Kd,Zc]=xr(["Menu.Root","Menu.Sub"],"MenuContext"),[Vd,Bd]=xr("Menu.Content");xr("Menu.Group");xr("Menu.RadioGroup");class zd{constructor(e){re(this,"onClose");re(this,"variant");re(this,"isUsingKeyboard",ae(!1));re(this,"dir");re(this,"getAttr",e=>`data-${this.variant.current}-${e}`);this.onClose=e.onClose,this.dir=e.dir,this.variant=e.variant,Fs(()=>{const r=[],n=a=>{this.isUsingKeyboard.current=!1},i=wi(document,"keydown",a=>{this.isUsingKeyboard.current=!0;const s=wi(document,"pointerdown",n,{capture:!0,once:!0}),u=wi(document,"pointermove",n,{capture:!0,once:!0});r.push(s,u)},{capture:!0});return r.push(i),()=>{fu(r)}})}}var Dn,Mn;class Wd{constructor(e,r,n){re(this,"root");re(this,"open");re(this,"contentId",ae.with(()=>""));D(this,Dn,Ee(null));D(this,Mn,Ee(null));re(this,"parentMenu");re(this,"toggleOpen",()=>{this.open.current=!this.open.current});re(this,"onOpen",()=>{this.open.current=!0});re(this,"onClose",()=>{this.open.current=!1});this.root=r,this.open=e.open,this.parentMenu=n,n&&Fs(()=>{n.open,tu(()=>{var o;(o=this.parentMenu)!=null&&o.open||(this.open.current=!1)})})}get contentNode(){return O(S(this,Dn))}set contentNode(e){le(S(this,Dn),ke(e))}get triggerNode(){return O(S(this,Mn))}set triggerNode(e){le(S(this,Mn),ke(e))}}Dn=new WeakMap,Mn=new WeakMap;var gr,Tn,An,Nn,Ln,_r,Rn,yr,Hn,Ho,qo,Fo,Uo,Ko,Vo;class Gd{constructor(e,r){D(this,gr);re(this,"contentRef");re(this,"parentMenu");D(this,Tn,Ee(""));D(this,An);D(this,Nn,Ee(0));D(this,Ln,Ee(0));D(this,_r,Ee(null));D(this,Rn,Ee("right"));D(this,yr,Ee(0));D(this,Hn);re(this,"rovingFocusGroup");re(this,"isMounted");re(this,"isFocusWithin",new hd(()=>this.parentMenu.contentNode??void 0));re(this,"getCandidateNodes",()=>{const e=this.parentMenu.contentNode;return e?Array.from(e.querySelectorAll(`[${this.parentMenu.root.getAttr("item")}]:not([data-disabled])`)):[]});re(this,"isPointerMovingToSubmenu",e=>{var n,o;return O(S(this,Rn))===((n=O(S(this,_r)))==null?void 0:n.side)&&Fd(e,(o=O(S(this,_r)))==null?void 0:o.area)});re(this,"onPointerGraceIntentChange",e=>{le(S(this,_r),ke(e))});D(this,Ho,e=>{var l,p;if(e.defaultPrevented)return;const r=e.target,n=e.currentTarget;if(!sn(r)||!sn(n))return;const o=((l=r.closest(`[${this.parentMenu.root.getAttr("content")}]`))==null?void 0:l.id)===this.parentMenu.contentId.current,i=e.ctrlKey||e.altKey||e.metaKey,a=e.key.length===1;if(this.rovingFocusGroup.handleKeydown(r,e)||e.code==="Space")return;const u=this.getCandidateNodes();o&&(e.key===mu&&e.preventDefault(),!i&&a&&S(this,Hn).call(this,e.key,u)),((p=e.target)==null?void 0:p.id)===this.parentMenu.contentId.current&&Hd.includes(e.ke
18y)&&(e.preventDefault(),Gc.includes(e.key)&&u.reverse(),hu(u))});D(this,qo,e=>{var r,n;to(e.currentTarget)&&to(e.target)&&((n=(r=e.currentTarget).contains)!=null&&n.call(r,e.target)||(window.clearTimeout(O(S(this,Nn))),this.search=""))});D(this,Fo,()=>{this.parentMenu.root.isUsingKeyboard.current&&ho(()=>this.rovingFocusGroup.focusFirstCandidate())});D(this,Uo,e=>{if(!ta(e))return;const r=e.target;if(!to(r))return;const n=O(S(this,yr))!==e.clientX,o=e.currentTarget;if(to(o)&&o.contains(r)&&n){const i=e.clientX>O(S(this,yr))?"right":"left";le(S(this,Rn),ke(i)),le(S(this,yr),ke(e.clientX))}});re(this,"onItemEnter",e=>!!this.isPointerMovingToSubmenu(e));re(this,"onItemLeave",e=>{if(this.isPointerMovingToSubmenu(e))return;const r=this.parentMenu.contentNode;r==null||r.focus(),this.rovingFocusGroup.setCurrentTabStopId("")});re(this,"onTriggerLeave",e=>!!this.isPointerMovingToSubmenu(e));re(this,"onOpenAutoFocus",e=>{if(e.defaultPrevented)return;e.preventDefault();const r=this.parentMenu.contentNode;r==null||r.focus()});re(this,"handleInteractOutside",e=>{var n;if(!pu(e.target))return;const r=(n=this.parentMenu.triggerNode)==null?void 0:n.id;if(e.target.id===r){e.preventDefault();return}e.target.closest(`#${r}`)&&e.preventDefault()});D(this,Ko,J(()=>({open:this.parentMenu.open.current})));D(this,Vo,J(()=>({id:S(this,gr).current,role:"menu","aria-orientation":vu("vertical"),[this.parentMenu.root.getAttr("content")]:"","data-state":ia(this.parentMenu.open.current),onkeydown:S(this,Ho),onblur:S(this,qo),onpointermove:S(this,Uo),onfocus:S(this,Fo),dir:this.parentMenu.root.dir.current,style:{pointerEvents:"auto"}})));de(this,gr,e.id),de(this,An,e.loop),this.parentMenu=r,this.parentMenu.contentId=e.id,this.contentRef=e.ref,this.isMounted=e.isMounted,Rt({id:S(this,gr),ref:this.contentRef,deps:()=>this.parentMenu.open.current,onRefChange:n=>{this.parentMenu.contentNode!==n&&(this.parentMenu.contentNode=n)}}),du(()=>{window.clearTimeout(O(S(this,Nn)))}),de(this,Hn,Cu().handleTypeaheadSearch),this.rovingFocusGroup=dd({rootNodeId:this.parentMenu.contentId,candidateAttr:this.parentMenu.root.getAttr("item"),loop:S(this,An),orientation:ae.with(()=>"vertical")})}get search(){return O(S(this,Tn))}set search(e){le(S(this,Tn),ke(e))}get pointerGraceTimer(){return O(S(this,Ln))}set pointerGraceTimer(e){le(S(this,Ln),ke(e))}get snippetProps(){return O(S(this,Ko))}get props(){return O(S(this,Vo))}}gr=new WeakMap,Tn=new WeakMap,An=new WeakMap,Nn=new WeakMap,Ln=new WeakMap,_r=new WeakMap,Rn=new WeakMap,yr=new WeakMap,Hn=new WeakMap,Ho=new WeakMap,qo=new WeakMap,Fo=new WeakMap,Uo=new WeakMap,Ko=new WeakMap,Vo=new WeakMap;var br,Bo,zo,Wo,Go,Zo;class Zd{constructor(e,r){re(this,"content");re(this,"ref");re(this,"id");re(this,"disabled");D(this,br,Ee(!1));D(this,Bo,e=>{if(!e.defaultPrevented&&ta(e))if(this.disabled.current)this.content.onItemLeave(e);else{if(this.content.onItemEnter(e))return;const n=e.currentTarget;if(!sn(n))return;n.focus()}});D(this,zo,async e=>{ho(()=>{e.defaultPrevented||ta(e)&&this.content.onItemLeave(e)})});D(this,Wo,async e=>{ho(()=>{e.defaultPrevented||this.disabled.current||le(S(this,br),!0)})});D(this,Go,async e=>{ho(()=>{e.defaultPrevented||le(S(this,br),!1)})});D(this,Zo,J(()=>({id:this.id.current,tabindex:-1,role:"menuitem","aria-disabled":gu(this.disabled.current),"data-disabled":Qs(this.disabled.current),"data-highlighted":O(S(this,br))?"":void 0,[this.content.parentMenu.root.getAttr("item")]:"",onpointermove:S(this,Bo),onpointerleave:S(this,zo),onfocus:S(this,Wo),onblur:S(this,Go)})));this.content=r,this.id=e.id,this.disabled=e.disabled,this.ref=e.ref,Rt({id:this.id,ref:this.ref,deps:()=>this.content.isMounted.current})}get props(){return O(S(this,Zo))}}br=new WeakMap,Bo=new WeakMap,zo=new WeakMap,Wo=new WeakMap,Go=new WeakMap,Zo=new WeakMap;var at,qn,Fn,Un,Jo,Qo,$o,Yo,Xo,ei;class Jd{constructor(e,r){D(this,at);D(this,qn);D(this,Fn);D(this,Un,Ee(!1));re(this,"root");D(this,Jo,e=>{const r=S(this,at).content.search!=="";if(!(S(this,at).disabled.current||r&&e.key===Vn)&&Ld.includes(e.key)){if(!sn(e.currentTarget))return;e.currentTarget.click(),e.preventDefault()}});D(this,Qo,async()=>
18{if(S(this,at).disabled.current)return;const e=new CustomEvent("menuitemselect",{bubbles:!0,cancelable:!0});if(S(this,qn).current(e),await ru(),e.defaultPrevented){S(this,at).content.parentMenu.root.isUsingKeyboard.current=!1;return}S(this,Fn).current&&S(this,at).content.parentMenu.root.onClose()});D(this,$o,()=>{S(this,at).disabled.current||S(this,Qo).call(this)});D(this,Yo,async e=>{var r;if(!e.defaultPrevented&&!O(S(this,Un))){if(!sn(e.currentTarget))return;(r=e.currentTarget)==null||r.click()}});D(this,Xo,()=>{le(S(this,Un),!0)});D(this,ei,J(()=>qe(S(this,at).props,{onclick:S(this,$o),onpointerdown:S(this,Xo),onpointerup:S(this,Yo),onkeydown:S(this,Jo)})));de(this,at,r),this.root=r.content.parentMenu.root,de(this,qn,e.onSelect),de(this,Fn,e.closeOnSelect)}get props(){return O(S(this,ei))}}at=new WeakMap,qn=new WeakMap,Fn=new WeakMap,Un=new WeakMap,Jo=new WeakMap,Qo=new WeakMap,$o=new WeakMap,Yo=new WeakMap,Xo=new WeakMap,ei=new WeakMap;var wr,Kn,Ae,wt,ti,ri,ni,oi,ii;class Qd{constructor(e,r){D(this,wr);D(this,Kn);D(this,Ae);D(this,wt);D(this,ti,e=>{if(!S(this,wt).current){if(e.pointerType==="touch")return e.preventDefault();e.button===0&&e.ctrlKey===!1&&(S(this,Ae).toggleOpen(),S(this,Ae).open.current||e.preventDefault())}});D(this,ri,e=>{S(this,wt).current||e.pointerType==="touch"&&(e.preventDefault(),S(this,Ae).toggleOpen())});D(this,ni,e=>{if(!S(this,wt).current){if(e.key===Vn||e.key===si){S(this,Ae).toggleOpen(),e.preventDefault();return}e.key===an&&(S(this,Ae).onOpen(),e.preventDefault())}});D(this,oi,J(()=>{if(S(this,Ae).open.current&&S(this,Ae).contentId.current)return S(this,Ae).contentId.current}));D(this,ii,J(()=>({id:S(this,wr).current,disabled:S(this,wt).current,"aria-haspopup":"menu","aria-expanded":Zs(S(this,Ae).open.current),"aria-controls":O(S(this,oi)),"data-disabled":Qs(S(this,wt).current),"data-state":ia(S(this,Ae).open.current),[S(this,Ae).root.getAttr("trigger")]:"",onpointerdown:S(this,ti),onpointerup:S(this,ri),onkeydown:S(this,ni)})));de(this,Kn,e.ref),de(this,wr,e.id),de(this,Ae,r),de(this,wt,e.disabled),Rt({id:S(this,wr),ref:S(this,Kn),onRefChange:n=>{S(this,Ae).triggerNode=n}})}get props(){return O(S(this,ii))}}wr=new WeakMap,Kn=new WeakMap,Ae=new WeakMap,wt=new WeakMap,ti=new WeakMap,ri=new WeakMap,ni=new WeakMap,oi=new WeakMap,ii=new WeakMap;function $d(t){return Ud(new zd(t))}function Yd(t,e){const r=new Wd(e,t);return Kd(r)}function Xd(t){const e=Zc();return new Qd(t,e)}function em(t){const e=Zc();return Vd(new Gd(t,e))}function tm(t){const e=Bd(),r=new Zd(t,e);return new Jd(t,r)}var rm=te("<div><!></div>");function nm(t,e){me(e,!0);let r=L(e,"ref",15,null),n=L(e,"id",19,Ht),o=L(e,"disabled",3,!1),i=L(e,"onSelect",3,Tt),a=L(e,"closeOnSelect",3,!0),s=Fe(e,["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]);const u=tm({id:ae.with(()=>n()),disabled:ae.with(()=>o()),onSelect:ae.with(()=>i()),ref:ae.with(()=>r(),w=>r(w)),closeOnSelect:ae.with(()=>a())}),l=J(()=>qe(s,u.props));var p=se(),c=z(p);{var d=w=>{var y=se(),g=z(y);we(g,()=>e.child,()=>({props:O(l)})),N(w,y)},f=w=>{var y=rm();let g;var _=U(y);we(_,()=>e.children??rt),q(y),ue(()=>g=Qe(y,g,{...O(l)})),N(w,y)};ge(c,w=>{e.child?w(d):w(f,!1)})}N(t,p),he()}function om(t,e){me(e,!0);let r=L(e,"open",15,!1),n=L(e,"onOpenChange",3,Tt),o=L(e,"controlledOpen",3,!1);Od({variant:ae.with(()=>"dialog"),open:ae.with(()=>r(),s=>{o()||r(s),n()(s)})});var i=se(),a=z(i);we(a,()=>e.children??rt),N(t,i),he()}var im=te("<button><!></button>");function am(t,e){me(e,!0);let r=L(e,"id",19,Ht),n=L(e,"ref",15,null),o=L(e,"disabled",3,!1),i=Fe(e,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const a=kd({variant:ae.with(()=>"close"),id:ae.with(()=>r()),ref:ae.with(()=>n(),d=>n(d)),disabled:ae.with(()=>!!o())}),s=J(()=>qe(i,a.props));var u=se(),l=z(u);{var p=d=>{var f=se(),w=z(f);we(w,()=>e.child,()=>({props:O(s)})),N(d,f)},c=d=>{var f=im();let w;var y=U(f);we(y,()=>e.children??rt),q(f),ue(()=>w=Qe(f,w,{...O(s)})),N(d,f)};ge(l,d=>{e.child?d(p):d(c,!1)})}N(t,u),he()}var sm=te("<!> <!>",1),cm=te("<!> <div><!></div>",1);function um(t,e){me(e,!0);let r=L(e,"id",19,Ht),n=L(e,"ref",15,null),o=L(e,"forceMount",3,!1),i=L(e,"onCloseAutoFocus",3,Tt),a=L(e,"onEscapeKey
18down",3,Tt),s=L(e,"onInteractOutside",3,Tt),u=L(e,"trapFocus",3,!0),l=L(e,"preventScroll",3,!0),p=L(e,"restoreScrollDelay",3,null),c=Fe(e,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const d=xd({id:ae.with(()=>r()),ref:ae.with(()=>n(),y=>n(y))}),f=J(()=>qe(c,d.props));var w=J(()=>d.root.open.current||o());Js(t,Ie(()=>O(f),{get forceMount(){return o()},get present(){return O(w)},presence:(g,_)=>{let h=()=>_==null?void 0:_().present;var m=J(()=>Dd({forceMount:o(),present:h().current,trapFocus:u(),open:d.root.open.current}));_u(g,Ie({loop:!0,get trapFocus(){return O(m)}},()=>O(f),{onCloseAutoFocus:C=>{var E;i()(C),!C.defaultPrevented&&((E=d.root.triggerNode)==null||E.focus())},focusScope:(C,E)=>{let T=()=>E==null?void 0:E().props;yu(C,Ie(()=>O(f),{get enabled(){return h().current},onEscapeKeydown:j=>{a()(j),!j.defaultPrevented&&d.root.handleClose()},children:(j,I)=>{bu(j,Ie(()=>O(f),{get enabled(){return h().current},onInteractOutside:M=>{s()(M),!M.defaultPrevented&&d.root.handleClose()},children:(M,A)=>{wu(M,Ie(()=>O(f),{get enabled(){return h().current},children:(K,V)=>{var H=se(),ce=z(H);{var P=k=>{var F=sm(),R=z(F);{var Z=ie=>{ja(ie,{get preventScroll(){return l()},get restoreScrollDelay(){return p()}})};ge(R,ie=>{d.root.open.current&&ie(Z)})}var oe=B(R,2),Q=Mt(()=>({props:qe(O(f),T()),...d.snippetProps}));we(oe,()=>e.child,()=>O(Q)),N(k,F)},x=k=>{var F=cm(),R=z(F);ja(R,{get preventScroll(){return l()}});var Z=B(R,2);const oe=J(()=>qe(O(f),T()));let Q;var ie=U(Z);we(ie,()=>e.children??rt),q(Z),ue(()=>Q=Qe(Z,Q,{...O(oe)})),N(k,F)};ge(ce,k=>{e.child?k(P):k(x,!1)})}N(K,H)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}}))},$$slots:{presence:!0}})),he()}function lm(t,e){me(e,!0);let r=L(e,"open",15,!1),n=L(e,"dir",3,"ltr"),o=L(e,"onOpenChange",3,Tt),i=L(e,"controlledOpen",3,!1),a=L(e,"_internal_variant",3,"dropdown-menu");const s=$d({variant:ae.with(()=>a()),dir:ae.with(()=>n()),onClose:()=>{var u;i()?o()(!1):(r(!1),(u=o())==null||u(!1))}});Yd(s,{open:ae.with(()=>r(),u=>{i()||r(u),o()(u)})}),Su(t,{children:(u,l)=>{var p=se(),c=z(p);we(c,()=>e.children??rt),N(u,p)},$$slots:{default:!0}}),he()}var fm=te("<div><!></div>"),dm=te("<!> <!>",1),mm=te("<div><!></div>"),hm=te("<!> <!>",1);function pm(t,e){me(e,!0);let r=L(e,"id",19,Ht),n=L(e,"ref",15,null),o=L(e,"loop",3,!0),i=L(e,"onInteractOutside",3,Tt),a=L(e,"onEscapeKeydown",3,Tt),s=L(e,"forceMount",3,!1),u=Fe(e,["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","forceMount"]),l=Ee(!1);const p=em({id:ae.with(()=>r()),loop:ae.with(()=>o()),ref:ae.with(()=>n(),h=>n(h)),isMounted:ae.with(()=>O(l))}),c=J(()=>qe(u,p.props));function d(h){p.handleInteractOutside(h),!h.defaultPrevented&&(i()(h),!h.defaultPrevented&&p.parentMenu.onClose())}function f(h){a()(h),!h.defaultPrevented&&p.parentMenu.onClose()}var w=se(),y=z(w);{var g=h=>{Ou(h,Ie(()=>O(c),{get enabled(){return p.parentMenu.open.current},onInteractOutside:d,onEscapeKeydown:f,trapFocus:!0,get loop(){return o()},forceMount:!0,get id(){return r()},popper:(b,C)=>{let E=()=>C==null?void 0:C().props;var T=dm();const j=J(()=>qe(E(),{style:Da("dropdown-menu")}));var I=z(T);{var M=V=>{var H=se(),ce=z(H);we(ce,()=>e.child,()=>({props:O(j),...p.snippetProps})),N(V,H)},A=V=>{var H=fm();let ce;var P=U(H);we(P,()=>e.children??rt),q(H),ue(()=>ce=Qe(H,ce,{...O(j)})),N(V,H)};ge(I,V=>{e.child?V(M):V(A,!1)})}var K=B(I,2);Ma(K,{get isMounted(){return O(l)},set isMounted(V){le(l,ke(V))}}),N(b,T)},$$slots:{popper:!0}}))},_=h=>{var m=se(),b=z(m);{var C=E=>{Eu(E,Ie(()=>O(c),{get present(){return p.parentMenu.open.current},onInteractOutside:d,onEscapeKeydown:f,trapFocus:!0,get loop(){return o()},forceMount:!1,get id(){return r()},popper:(j,I)=>{let M=()=>I==null?void 0:I().props;var A=hm();const K=J(()=>qe(M(),{style:Da("dropdown-menu")}));var V=z(A);{var H=x=>{var k=se(),F=z(k);we(F,()=>e.child,()=>({props:O(K),...p.snippetProps})),N(x,k)},ce=x=>{var k=mm();let F;var R=U(k);we(R,()=>e.children??rt),q(k),ue(()=>F=Qe(k,F,{...O(K)})),N(x,k)};ge(V,x=>{e.child?x(H):x(ce,!1)})}var P=B(V,2);Ma(P,{get isMounted(){return O(l)},set isMounted(x){le(l,ke(x))}}),N(j,A)},$$slots:{popper:!0}}
18))};ge(b,E=>{s()||E(C)},!0)}N(h,m)};ge(y,h=>{s()?h(g):h(_,!1)})}N(t,w),he()}var vm=te("<button><!></button>");function gm(t,e){me(e,!0);let r=L(e,"id",19,Ht),n=L(e,"ref",15,null),o=L(e,"disabled",3,!1),i=L(e,"type",3,"button"),a=Fe(e,["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]);const s=Xd({id:ae.with(()=>r()),disabled:ae.with(()=>o()??!1),ref:ae.with(()=>n(),l=>n(l))}),u=J(()=>qe(a,s.props,{type:i()}));Pu(t,{get id(){return r()},children:(l,p)=>{var c=se(),d=z(c);{var f=y=>{var g=se(),_=z(g);we(_,()=>e.child,()=>({props:O(u)})),N(y,g)},w=y=>{var g=vm();let _;var h=U(g);we(h,()=>e.children??rt),q(g),ue(()=>_=Qe(g,_,{...O(u)})),N(y,g)};ge(d,y=>{e.child?y(f):y(w,!1)})}N(l,c)},$$slots:{default:!0}}),he()}function _m(t,e){me(e,!0);let r=L(e,"ref",15,null),n=L(e,"sideOffset",3,4),o=Fe(e,["$$slots","$$events","$$legacy","ref","sideOffset","class"]);var i=se(),a=z(i),s=J(()=>pt("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md outline-none",e.class));$t(a,()=>pm,(u,l)=>{l(u,Ie({get sideOffset(){return n()},get class(){return O(s)}},()=>o,{get ref(){return r()},set ref(p){r(p)}}))}),N(t,i),he()}function Mi(t,e){me(e,!0);let r=L(e,"ref",15,null),n=Fe(e,["$$slots","$$events","$$legacy","ref","class","inset"]);var o=se(),i=z(o),a=J(()=>pt("data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e.inset&&"pl-8",e.class));$t(i,()=>nm,(s,u)=>{u(s,Ie({get class(){return O(a)}},()=>n,{get ref(){return r()},set ref(l){r(l)}}))}),N(t,o),he()}const ym=lm,bm=gm;var wm=te('<!> <!> <span class="sr-only">Toggle theme</span>',1),Sm=te("<!> <!> <!>",1),Om=te("<!> <!>",1);function Em(t,e){me(e,!1),Pt(),ym(t,{children:(r,n)=>{var o=Om(),i=z(o);bm(i,{children:(s,u)=>{zs(s,{variant:"ghost",class:"h-8 w-8 px-0",children:(l,p)=>{var c=wm(),d=z(c);Zf(d,{class:"dark:-roate-90 h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:scale-0"});var f=B(d,2);Bf(f,{class:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),He(2),N(l,c)},$$slots:{default:!0}})},$$slots:{default:!0}});var a=B(i,2);_m(a,{align:"end",children:(s,u)=>{var l=Sm(),p=z(l);Mi(p,{onclick:()=>ea("light"),children:(f,w)=>{He();var y=Ur("Light");N(f,y)},$$slots:{default:!0}});var c=B(p,2);Mi(c,{onclick:()=>ea("dark"),children:(f,w)=>{He();var y=Ur("Dark");N(f,y)},$$slots:{default:!0}});var d=B(c,2);Mi(d,{onclick:()=>nd(),children:(f,w)=>{He();var y=Ur("System");N(f,y)},$$slots:{default:!0}}),N(s,l)},$$slots:{default:!0}}),N(r,o)},$$slots:{default:!0}}),he()}function Pm(t,e){const r=At(e,["children","$$slots","$$events","$$legacy"]);Pr(t,Ie({name:"app-window"},()=>r,{iconNode:[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}],["path",{d:"M10 4v4"}],["path",{d:"M2 8h20"}],["path",{d:"M6 4v4"}]],children:(o,i)=>{var a=se(),s=z(a);Xt(s,e,"default",{}),N(o,a)},$$slots:{default:!0}}))}function Jc(t,e){const r=At(e,["children","$$slots","$$events","$$legacy"]);Pr(t,Ie({name:"wand-sparkles"},()=>r,{iconNode:[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72"}],["path",{d:"m14 7 3 3"}],["path",{d:"M5 6v4"}],["path",{d:"M19 14v4"}],["path",{d:"M10 2v2"}],["path",{d:"M7 8H3"}],["path",{d:"M21 16h-4"}],["path",{d:"M11 3H9"}]],children:(o,i)=>{var a=se(),s=z(a);Xt(s,e,"default",{}),N(o,a)},$$slots:{default:!0}}))}function xm(t,e){const r=At(e,["children","$$slots","$$events","$$legacy"]);Pr(t,Ie({name:"library"},()=>r,{iconNode:[["path",{d:"m16 6 4 14"}],["path",{d:"M12 6v14"}],["path",{d:"M8 8v12"}],["path",{d:"M4 4v16"}]],children:(o,i)=>{var a=se(),s=z(a);Xt(s,e,"default",{}),N(o,a)},$$slots:{default:!0}}
18))}function Cm(t,e){const r=At(e,["children","$$slots","$$events","$$legacy"]);Pr(t,Ie({name:"newspaper"},()=>r,{iconNode:[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2"}],["path",{d:"M18 14h-8"}],["path",{d:"M15 18h-5"}],["path",{d:"M10 6h8v4h-8V6Z"}]],children:(o,i)=>{var a=se(),s=z(a);Xt(s,e,"default",{}),N(o,a)},$$slots:{default:!0}}))}const Qc={mainNav:[{title:"Docs",href:"https://docs.vale.sh",external:!0,icon:ku},{title:"Studio",href:"https://studio.vale.sh",external:!0,icon:Pm},{title:"Generator",href:"/generator",icon:Jc},{title:"Explorer",href:"/explorer",icon:Iu},{title:"Library",href:"/library",icon:xm},{title:"Blog",href:"/blog",icon:Cm}]};var km=te("<a><!> </a>"),Im=te('<div class="mr-4 hidden md:flex"><a href="/" class="mr-6 flex items-center gap-2"><!> <!></a> <nav class="flex items-center gap-5 text-sm"></nav></div>');function jm(t,e){me(e,!1);const r=ai(),n=()=>on(aa,"$page",r),o=(p,c)=>!!p&&(c===p||p!=="/"&&c.startsWith(`${p}/`));Pt();var i=Im(),a=U(i),s=U(a);tt.logo(s,{class:"h-6 w-6"});var u=B(s,2);tt.wordmark(u,{class:"hidden h-[19px] w-auto lg:block"}),q(a);var l=B(a,2);sr(l,5,()=>Qc.mainNav,p=>p.href,(p,c)=>{var d=km();const f=Mt(()=>fr(pt("inline-flex items-center gap-1.5 transition-colors hover:text-foreground/80",o(O(c).href,n().url.pathname)?"text-foreground":"text-foreground/60")));var w=U(d);{var y=_=>{O(c).icon(_,{class:"hidden h-4 w-4 shrink-0 lg:block","aria-hidden":"true"})};ge(w,_=>{O(c).icon&&_(y)})}var g=B(w);q(d),ue(()=>{Pe(d,"href",O(c).href),lr(d,O(f)),ze(g,` ${O(c).title??""}`)}),N(p,d)}),q(l),q(i),ue(()=>Pe(a,"aria-label",Be.name)),N(t,i),he()}var Dm=Yt("<svg><!></svg>");function Mm(t,e){me(e,!1);let r=L(e,"src",8),n=L(e,"size",8,"1em"),o=L(e,"viewBox",24,()=>{}),i=L(e,"color",8,"currentColor"),a=L(e,"title",24,()=>{}),s=L(e,"className",8,""),u=Sr(),l=Sr({});dt(()=>(et(i()),et(r())),()=>{le(l,{}),i()&&(r().a.stroke!=="none"&&ka(l,O(l).stroke="currentColor"),r().a.fill!=="none"&&ka(l,O(l).fill="currentColor"))}),dt(()=>(et(a()),et(r())),()=>{le(u,(a()?`<title>${a()}</title>`:"")+r().c)}),ra(),Pt();var p=Dm();let c;var d=U(p);Ai(d,()=>O(u),!0,!1),q(p),ue(()=>c=Qe(p,c,{width:n(),height:n(),viewBox:o(),style:i()?"color: "+i()+";":"","stroke-width":"0",class:s(),...r().a,...O(l),xmlns:"http://www.w3.org/2000/svg"},void 0,!0)),N(t,p),he()}const Tm={a:{viewBox:"0 0 1024 1024"},c:'<path d="M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"></path>'};var Am=te("<a><!></a>");function Ti(t,e){const r=At(e,["children","$$slots","$$events","$$legacy"]),n=At(r,["href","open","class"]);me(e,!1);const o=ai(),i=()=>on(aa,"$page",o),a=Sr();let s=L(e,"href",8),u=L(e,"open",12),l=L(e,"class",8,void 0);dt(()=>(i(),et(s())),()=>{le(a,i().url.pathname===s()||s()!=="/"&&i().url.pathname.startsWith(`${s()}/`))}),ra(),Pt();var p=Am();let c;var d=U(p);Xt(d,e,"default",{}),q(p),ue(()=>c=Qe(p,c,{href:s(),class:pt(O(a)?"text-foreground":"text-foreground/60",l()),...n})),ou("click",p,()=>u(!1)),N(t,p),he()}function Nm(t,e){me(e,!0);let r=L(e,"ref",15,null),n=L(e,"class",7),o=Fe(e,["$$slots","$$events","$$legacy","ref","class"]);var i=se(),a=z(i),s=J(()=>pt("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",n()));return $t(a,()=>Td,(u,l)=>{l(u,Ie({get class(){return O(s)}},()=>o,{get ref(){return r()},set ref(p){r(p)}}))}),N(t,i),he({get class(){return n()},set class(u){n(u)}})}const Lm=Du({base:"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 gap-4 p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",variants:{side:{top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 border-t",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"}},defaultVariants:{side:"right"}});var Rm=te('<!> <span class="sr-only">Close</span>',1),Hm=te("<!> <!>",1),qm=te("<!> <!>",1);function Fm(t,e){me(e,!0);let r=L(e,"ref",15,null),n=L(e,"side",3,"right"),o=Fe(e,["$$slots","$$events","$$legacy","ref","class","side","children"]);var i=se(),a=z(i);$t(a,()=>xu,(s,u)=>{u(s,{children:(l,p)=>{var c=qm(),d=z(c);Nm(d,{});var f=B(d,2),w=J(()=>pt(Lm({side:n()}),e.class));$t(f,()=>um,(y,g)=>{g(y,Ie({get class(){return O(w)}},()=>o,{get ref(){return r()},set ref(_){r(_)},children:(_,h)=>{var m=Hm(),b=z(m);we(b,()=>e.children??rt);var C=B(b,2);$t(C,()=>am,(E,T)=>{T(E,{class:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute right-4 top-4 roun
18ded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:(j,I)=>{var M=Rm(),A=z(M);Mu(A,{class:"size-4"}),He(2),N(j,M)},$$slots:{default:!0}})}),N(_,m)},$$slots:{default:!0}}))}),N(l,c)},$$slots:{default:!0}})}),N(t,i),he()}function Um(t,e){me(e,!0);let r=L(e,"ref",15,null),n=Fe(e,["$$slots","$$events","$$legacy","ref","class"]);var o=se(),i=z(o),a=J(()=>pt("text-foreground text-lg font-semibold",e.class));$t(i,()=>jd,(s,u)=>{u(s,Ie({get class(){return O(a)}},()=>n,{get ref(){return r()},set ref(l){r(l)}}))}),N(t,o),he()}const Km=om,Vm=Nd;var Bm=te('<!> <span class="sr-only">Toggle Menu</span>',1),zm=te('<!> <!> <span class="sr-only"> </span>',1),Wm=te("<!> <!>",1),Gm=te('<!> <!> <nav class="flex flex-col gap-3 text-base"><!> <!></nav>',1),Zm=te("<!> <!>",1);function Jm(t,e){me(e,!1);let r=Sr(!1);Pt(),Km(t,{get open(){return O(r)},set open(n){le(r,n)},children:(n,o)=>{var i=Zm(),a=z(i);Vm(a,{children:(u,l)=>{zs(u,{variant:"ghost",class:"mr-2 px-0 text-base hover:bg-transparent focus-visible:bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0 md:hidden",children:(p,c)=>{var d=Bm(),f=z(d);Mm(f,{src:Tm,className:"h-5 w-5"}),He(2),N(p,d)},$$slots:{default:!0}})},$$slots:{default:!0}});var s=B(a,2);Fm(s,{side:"left",class:"flex flex-col gap-6 overflow-y-auto",children:(u,l)=>{var p=Gm(),c=z(p);Um(c,{class:"sr-only",children:(g,_)=>{He();var h=Ur("Navigation");N(g,h)},$$slots:{default:!0}});var d=B(c,2);Ti(d,{href:"/",class:"flex items-center gap-2",get open(){return O(r)},set open(g){le(r,g)},children:(g,_)=>{var h=zm(),m=z(h);tt.logo(m,{class:"h-5 w-5"});var b=B(m,2);tt.wordmark(b,{class:"h-4 w-auto"});var C=B(b,2),E=U(C,!0);q(C),ue(()=>ze(E,Be.name)),N(g,h)},$$slots:{default:!0},$$legacy:!0});var f=B(d,2),w=U(f);Ti(w,{href:"/",get open(){return O(r)},set open(g){le(r,g)},children:(g,_)=>{He();var h=Ur("Home");N(g,h)},$$slots:{default:!0},$$legacy:!0});var y=B(w,2);sr(y,3,()=>Qc.mainNav,(g,_)=>g.href??_,(g,_)=>{var h=se(),m=z(h);{var b=C=>{Ti(C,{get href(){return O(_).href},class:"flex items-center gap-2.5",get open(){return O(r)},set open(E){le(r,E)},children:(E,T)=>{var j=Wm(),I=z(j);{var M=H=>{O(_).icon(H,{class:"h-4 w-4 shrink-0 text-muted-foreground","aria-hidden":"true"})};ge(I,H=>{O(_).icon&&H(M)})}var A=B(I),K=B(A);{var V=H=>{ju(H,{class:"h-3.5 w-3.5 text-muted-foreground"})};ge(K,H=>{O(_).external&&H(V)})}ue(()=>ze(A,` ${O(_).title??""} `)),N(E,j)},$$slots:{default:!0},$$legacy:!0})};ge(m,C=>{O(_).href&&C(b)})}N(g,h)}),q(f),N(u,p)},$$slots:{default:!0}}),N(n,i)},$$slots:{default:!0},$$legacy:!0}),he()}var Qm=te('<header class="sticky top-0 z-50 w-full border-b border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"><!> <div class="container flex h-14 max-w-screen-2xl items-center"><!> <!> <div class="flex flex-1 items-center justify-between space-x-2 md:justify-end"><div class="w-full min-w-0 flex-1 md:w-auto md:max-w-[14rem] md:shrink"><!></div> <nav class="flex items-center"><a target="_blank" rel="noopener noreferrer"><div><!> <span class="sr-only">GitHub</span></div></a> <a target="_blank" rel="noreferrer"><div><!> <span class="sr-only">Discord</span></div></a> <a target="_blank" rel="noreferrer"><div><!> <span class="sr-only">X (formerly known as Twitter)</span></div></a> <!></nav></div></div></header>');function $m(t,e){me(e,!1),Pt();var r=Qm(),n=U(r);Uu(n,{});var o=B(n,2),i=U(o);jm(i,{});var a=B(i,2);Jm(a,{});var s=B(a,2),u=U(s),l=U(u);Ff(l,{}),q(u);var p=B(u,2),c=U(p),d=U(c);const f=Mt(()=>fr(pt(bi({size:"sm",variant:"ghost"}),"h-8 w-8 px-0")));var w=U(d);tt.GitHub(w,{class:"h-4 w-4"}),He(2),q(d),q(c);var y=B(c,2),g=U(y);const _=Mt(()=>fr(pt(bi({size:"sm",variant:"ghost"}),"h-8 w-8 px-0")));var h=U(g);tt.Discord(h,{class:"h-3.5 w-3.5 fill-current"}),He(2),q(g),q(y);var m=B(y,2),b=U(m);const C=Mt(()=>fr(pt(bi({size:"sm",variant:"ghost"}),"h-8 w-8 px-0")));var E=U(b);tt.Twitter(E,{class:"h-3 w-3 fill-current"}),He(2),q(b),q(m);var T=B(m,2);Em(T,{}),q(p),q(s),q(o),q(r),ue(()=>{Pe(c,"href",Be.links.org),lr(d,O(f)),Pe(y,"href",Be.links.discord),lr(g,O(_)),Pe(m,"href",Be.links.twitter),lr(b,O(C))}),N(t,r),he()}
18var Ym=te('<a target="_blank" rel="noreferrer" class="group block border-b border-border/60 bg-lime-500/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lime-500"><div class="mx-auto flex max-w-7xl items-center justify-center gap-x-2 gap-y-1 px-6 py-2 text-sm lg:px-8"><!> <span class="font-semibold text-lime-600 dark:text-lime-400">Coming up</span> <span class="text-muted-foreground" aria-hidden="true">·</span> <span class="truncate font-medium"> </span> <span class="hidden truncate text-muted-foreground sm:inline"> </span> <!></div></a>');function Xm(t,e){me(e,!0);const r=J(()=>Tu()[0]),n=s=>new Date(`${s}T00:00:00Z`).toLocaleDateString("en-US",{month:"long",day:"numeric",timeZone:"UTC"});var o=se(),i=z(o);{var a=s=>{var u=Ym(),l=U(u),p=U(l);Au(p,{class:"h-4 w-4 shrink-0 text-lime-600 dark:text-lime-400","aria-hidden":"true"});var c=B(p,6),d=U(c,!0);q(c);var f=B(c,2),w=U(f);ue(()=>ze(w,`${O(r).host??""} · ${n(O(r).date)??""}`)),q(f);var y=B(f,2);Us(y,{class:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200 group-hover:translate-x-0.5 group-hover:text-lime-600 dark:group-hover:text-lime-400","aria-hidden":"true"}),q(l),q(u),ue(()=>{Pe(u,"href",O(r).url),ze(d,O(r).title)}),N(s,u)};ge(i,s=>{O(r)&&s(a)})}N(t,o),he()}function eh(t,e){const r=At(e,["children","$$slots","$$events","$$legacy"]);Pr(t,Ie({name:"pen-tool"},()=>r,{iconNode:[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18"}],["path",{d:"m2.3 2.3 7.286 7.286"}],["circle",{cx:"11",cy:"11",r:"2"}]],children:(o,i)=>{var a=se(),s=z(a);Xt(s,e,"default",{}),N(o,a)},$$slots:{default:!0}}))}function th(t,e){const r=At(e,["children","$$slots","$$events","$$legacy"]);Pr(t,Ie({name:"package-search"},()=>r,{iconNode:[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14"}],["path",{d:"m7.5 4.27 9 5.15"}],["polyline",{points:"3.29 7 12 12 20.71 7"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5"}],["path",{d:"M20.27 17.27 22 19"}]],children:(o,i)=>{var a=se(),s=z(a);Xt(s,e,"default",{}),N(o,a)},$$slots:{default:!0}}))}var rh=te('<li><a class="group inline-flex items-center gap-2 rounded-lg border border-border bg-card px-3.5 py-2 text-sm font-medium text-foreground transition-colors hover:border-lime-500/40 hover:bg-muted/40 focu
18s-visible:outline-none focus-visible:ring-2 focus-visible:ring-lime-500"><!> <!></a></li>'),nh=te('<li><a class="text-sm text-muted-foreground transition-colors hover:text-foreground"> </a></li>'),oh=te('<div><h2> </h2> <ul class="mt-4 space-y-2.5"></ul></div>'),ih=te('<a target="_blank" rel="noreferrer" class="inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lime-500"><!> <span class="sr-only"> </span></a>'),ah=te('<footer class="border-t border-border/40"><div class="mx-auto max-w-6xl border-border/40 px-6 lg:border-x lg:px-8"><div class="flex flex-col gap-10 py-12 lg:flex-row lg:items-start lg:justify-between"><div class="max-w-sm"><a href="/" class="inline-flex items-center gap-2" aria-label="Vale"><!> <!></a> <p class="mt-3 text-sm leading-6 text-muted-foreground"> </p> <a href="https://github.com/vale-cli/vale/blob/master/LICENSE" target="_blank" rel="noreferrer" class="mt-5 inline-flex items-center gap-2 rounded-full border border-border bg-muted/40 py-1 pl-2.5 pr-3 font-mono text-xs text-muted-foreground transition-colors hover:bg-muted"><span class="h-1.5 w-1.5 rounded-full bg-lime-500"></span> MIT licensed</a></div> <nav aria-label="Tools" class="lg:max-w-lg"><h2>Tools</h2> <ul class="mt-4 flex flex-wrap gap-2"></ul></nav></div> <div class="grid gap-10 border-t border-border/40 py-10 sm:grid-cols-3 lg:gap-8"></div> <div class="flex flex-col-reverse items-center gap-4 border-t border-border/40 py-6 sm:flex-row sm:justify-between"><p class="text-sm text-muted-foreground">Built and maintained by <a target="_blank" rel="noreferrer" class="font-medium text-foreground underline decoration-border underline-offset-4 transition-colors hover:decoration-foreground">@jdkato</a>.</p> <nav class="flex items-center gap-1" aria-label="Vale on other platforms"></nav></div></div></footer>');function sh(t,e){me(e,!1);const r=[{label:"Vale Studio",href:"https://studio.vale.sh",icon:eh,external:!0},{label:"Style Explorer",href:"/explorer",icon:th},{label:"Config Generator",href:"/generator",icon:Jc},{label:"Agent Skills",href:"/skills",icon:Lu}],n=[{heading:"Get Vale",links:[{label:"Install",href:"https://docs.vale.sh/topics/installation",external:!0},{label:"Releases",href:Be.links.releases,external:!0},{label:"Docker",href:Be.links.docker,external:!0},{label:"VS Code",href:"https://marketplace.visualstudio.com/items?itemName=ChrisChinchilla.vale-vscode",external:!0},{label:"Vale CMS",href:"/cms"}]},{heading:"Resources",links:[{label:"Documentation",href:"https://docs.vale.sh",external:!0},{label:"Media Library",href:"/library"},{label:"Press Guide",href:"/press"},{label:"Brand Assets",href:"/brand"}]},{heading:"Community",links:[{label:"GitHub",href:Be.links.org,external:!0},{label:"Discord",href:Be.links.discord,external:!0},{label:"Topic",href:"https://github.com/topics/vale-linter-style",external:!0},{label:"Adopters",href:"/adopters"},{label:"Support",href:"/sponsor"}]}],o=[{label:"GitHub",href:Be.links.org,icon:tt.GitHub,class:"h-4 w-4"},{label:"Discord",href:Be.links.discord,icon:tt.Discord,class:"h-4 w-4"},{label:"X (formerly Twitter)",href:Be.links.twitter,icon:tt.Twitter,class:"h-3.5 w-3.5"}],i="font-mono text-xs font-semibold uppercase tracking-[0.14em] text-lime-600 dark:text-lime-400";Pt();var a=ah(),s=U(a),u=U(s),l=U(u),p=U(l),c=U(p);tt.logo(c,{class:"h-5 w-5"});var d=B(c,2);tt.wordmark(d,{class:"h-4 w-auto text-foreground"}),q(p);var f=B(p,2),w=U(f,!0);ue(()=>ze(w,Be.description.trim())),q(f),He(2),q(l);var y=B(l,2),g=U(y);lr(g,fr(i));var _=B(g,2);sr(_,5,()=>r,T=>T.label,(T,j)=>{var I=rh();const M=Mt(()=>O(j).icon);var A=U(I),K=U(A);O(M)(K,{class:"h-4 w-4 text-lime-600 dark:text-lime-400"});var V=B(K),H=B(V);{var ce=P=>{Nu(P,{class:"h-3.5 w-3.5 text-muted-foreground/60 transition-colors group-hover:text-foreground"})};ge(H,P=>{O(j).external&&P(ce)})}q(A),q(I),ue(()=>{Pe(A,"href",O(j).href),Pe(A,"target",O(j).external?"_blank":void 0),Pe(A,"rel",O(j).external?"noreferrer":void 0),ze(V,` ${O(j).label??""} `)}),N(T,I)}),q(_),q(y),q(u);var h=B(u,2);sr(h,5,()=>n,T=>T.heading,(T,j)=>{var I=oh(),M=U(I);lr(M,fr(i));var A=U(M,!0);q(M);var K=B(M,2);sr(K,5,()=>O(j).links,V=>V.label,(V,H)=>{var ce=nh(),P=U(ce),x=U(P,!0);q(P),q(ce),ue(()=>{Pe(P,"href",O(H).href),Pe(P,"target",O(H).external?"_blank":void 0),Pe(P,"rel",O(H).external?"noreferrer":void 0),ze(x,O(H).label)}),N(V,ce)}),q(K),q(I),ue(()=>ze(A,O(j).heading)),N(T,I)}),q(h);var m=B(h,2),b=U(m),C=B(U(b));He(),q(b);var E=B(b,2);sr(E,5,()=>o,T=>T.label,(T,j)=>
18{var I=ih();const M=Mt(()=>O(j).icon);var A=U(I);O(M)(A,{get class(){return`${O(j).class??""} fill-current`}});var K=B(A,2),V=U(K,!0);q(K),q(I),ue(()=>{Pe(I,"href",O(j).href),ze(V,O(j).label)}),N(T,I)}),q(E),q(m),q(s),q(a),ue(()=>Pe(C,"href",Be.links.jdkato)),N(t,a),he()}var ch=te('<!> <!> <!> <div class="flex-1"><!></div> <!>',1);function Rh(t,e){me(e,!0);var r=ch(),n=z(r);sd(n,{});var o=B(n,2);$m(o,{});var i=B(o,2);Xm(i,{});var a=B(i,2),s=U(a);we(s,()=>e.children),q(a);var u=B(a,2);sh(u,{}),N(t,r),he()}export{Rh as component,Lh as universal};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.