1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[397],{21889:function(e,t,n){let r,o,l,a,i,u,c,s,d,f,p,m,v,h,g,E,b;n.d(t,{V:function(){return eJ}});var y,w,O,P=n(67294),S=n.t(P,2);function T(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let l=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(l,T),l}function L(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var C=((r=C||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),A=((o=A||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function N(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:l,visible:a=!0,name:i}=e,u=D(n,t);if(a)return F(u,r,o,i);let c=null!=l?l:0;if(2&c){let{static:e=!1,...t}=u;if(e)return F(t,r,o,i)}if(1&c){let{unmount:e=!0,...t}=u;return T(e?0:1,{0:()=>null,1:()=>F({...t,hidden:!0,style:{display:"none"}},r,o,i)})}return F(u,r,o,i)}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,{as:o=n,children:l,refName:a="ref",...i}=k(e,["unmount","static"]),u=void 0!==e.ref?{[a]:e.ref}:{},c="function"==typeof l?l(t):l;"className"in i&&i.className&&"function"==typeof i.className&&(i.className=i.className(t));let s={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(s["data-headlessui-state"]=n.join(" "))}if(o===P.Fragment&&Object.keys(x(i)).length>0){if(!(0,P.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(i).map(e=>" - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - ".concat(e)).join("\n")].join("\n"));let e=c.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return L(null==e?void 0:e.className(...n),i.className)}:L(null==e?void 0:e.className,i.className);return(0,P.cloneElement)(c,Object.assign({},D(c.props,x(k(i,["ref"]))),s,u,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{ref:t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}}(c.ref,u.ref),t?{className:t}:{}))}return(0,P.createElement)(o,Object.assign({},k(i,["ref"]),o!==P.Fragment&&u,o!==P.Fragment&&s),c)}function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])return Object.assign(r,Object.fromEntries(Object.keys(o).map(e=>[e,void 0])));for(let e in o)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),l=1;l<n;l++)r[l-1]=arguments[l];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function R(e){var t;return Object.assign((0,P.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function x(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var M=Object.defineProperty,j=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t,n)=>(j(e,"symbol"!=typeof t?t+"":t,n),n);class I{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}
1detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){H(this,"current",this.detect()),H(this,"handoffState","pending"),H(this,"currentId",0)}}let _=new I,B=(e,t)=>{_.isServer?(0,P.useEffect)(e,t):(0,P.useLayoutEffect)(e,t)};function U(e){let t=(0,P.useRef)(e);return B(()=>{t.current=e},[e]),t}let W=function(e){let t=U(e);return P.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])},q=Symbol();function V(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=(0,P.useRef)(t);(0,P.useEffect)(()=>{r.current=t},[t]);let o=W(e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[q]))?void 0:o}var Y=((l=Y||{}).Space=" ",l.Enter="Enter",l.Escape="Escape",l.Backspace="Backspace",l.Delete="Delete",l.ArrowLeft="ArrowLeft",l.ArrowUp="ArrowUp",l.ArrowRight="ArrowRight",l.ArrowDown="ArrowDown",l.Home="Home",l.End="End",l.PageUp="PageUp",l.PageDown="PageDown",l.Tab="Tab",l);function G(){let[e,t]=(0,P.useState)(_.isHandoffComplete);return e&&!1===_.isHandoffComplete&&t(!1),(0,P.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,P.useEffect)(()=>_.handoff(),[]),e}let K=null!=(O=P.useId)?O:function(){let e=G(),[t,n]=P.useState(e?()=>_.nextId():null);return B(()=>{null===t&&n(_.nextId())},[t]),null!=t?""+t:void 0};var z=((a=z||{})[a.None=1]="None",a[a.Focusable=2]="Focusable",a[a.Hidden=4]="Hidden",a);let X=R(function(e,t){let{features:n=1,...r}=e;return N({ourProps:{ref:t,"aria-hidden":(2&n)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})});function Z(e){return _.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let J=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var Q=((i=Q||{})[i.First=1]="First",i[i.Previous=2]="Previous",i[i.Next=4]="Next",i[i.Last=8]="Last",i[i.WrapAround=16]="WrapAround",i[i.NoScroll=32]="NoScroll",i),$=((u=$||{})[u.Error=0]="Error",u[u.Overflow=1]="Overflow",u[u.Success=2]="Success",u[u.Underflow=3]="Underflow",u),ee=((c=ee||{})[c.Previous=-1]="Previous",c[c.Next=1]="Next",c),et=((s=et||{})[s.Strict=0]="Strict",s[s.Loose=1]="Loose",s),en=((d=en||{})[d.Keyboard=0]="Keyboard",d[d.Mouse=1]="Mouse",d);function er(e){null==e||e.focus({preventScroll:!0})}function eo(e,t){var n,r,o;let{sorted:l=!0,relativeTo:a=null,skipElements:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,c=Array.isArray(e)?l?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let l=r.compareDocumentPosition(o);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(e):e:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(J)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);i.length>0&&c.length>1&&(c=c.filter(e=>!i.includes(e))),a=null!=a?a:u.activeElement;let s=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,c.indexOf(a))-1;if(4&t)return Math.max(0,c.indexOf(a))+1;if(8&t)return c.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,m=c.length,v;do{if(p>=m||p+m<=0)return 0;let e=d+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(v=c[e])||v.focus(f),p+=s}while(v!==u.activeElement);return 6&t&&null!=(o=null==(r=null==(n=v)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&v.select(),2}function el(e,t,n){let r=U(t);(0,P.useEffect)(()=>{function t(e){r.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));var ea=((f=ea||{})[f.Forwards=0]="Forwards",f[f.Backwards=1]="Backwards",f);function ei(){let e=(0,P.useRef)(!1);return B(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function eu(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,P.useMemo)(()=>Z(...t),[...t])}function ec(e,t,n,r){let o=U(n);(0,P.useEffect)(()=>
1{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}function es(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function ed(e,t){let n=(0,P.useRef)([]),r=W(e);(0,P.useEffect)(()=>{let e=[...n.current];for(let[o,l]of t.entries())if(n.current[o]!==l){let o=r(t,e);return n.current=t,o}},[r,...t])}function ef(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add(()=>e.removeEventListener(n,r,o))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=setTimeout(...n);return t.add(()=>clearTimeout(o))},microTask(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o={current:!0};return es(()=>{o.current&&n[0]()}),t.add(()=>{o.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=ef();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function ep(e){let t=W(e),n=(0,P.useRef)(!1);(0,P.useEffect)(()=>(n.current=!1,()=>{n.current=!0,es(()=>{n.current&&t()})}),[t])}function em(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var ev=((p=ev||{})[p.None=1]="None",p[p.InitialFocus=2]="InitialFocus",p[p.TabLock=4]="TabLock",p[p.FocusLock=8]="FocusLock",p[p.RestoreFocus=16]="RestoreFocus",p[p.All=30]="All",p);let eh=Object.assign(R(function(e,t){let n,r=(0,P.useRef)(null),o=V(r,t),{initialFocus:l,containers:a,features:i=30,...u}=e;G()||(i=1);let c=eu(r);!function(e,t){let{ownerDocument:n}=e,r=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,P.useRef)(eg.slice());return ed((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&es(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=eg.slice())},[e,eg,t]),W(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(t);ed(()=>{t||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&er(r())},[t]),ep(()=>{t&&er(r())})}({ownerDocument:c},!!(16&i));let s=function(e,t){let{ownerDocument:n,container:r,initialFocus:o}=e,l=(0,P.useRef)(null),a=ei();return ed(()=>{if(!t)return;let e=r.current;e&&es(()=>{if(!a.current)return;let t=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===t){l.current=t;return}}else if(e.contains(t)){l.current=t;return}null!=o&&o.current?er(o.current):eo(e,Q.First)===$.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),l.current=null==n?void 0:n.activeElement})},[t]),l}({ownerDocument:c,container:r,initialFocus:l},!!(2&i));!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:l}=e,a=ei();ec(null==n?void 0:n.defaultView,"focus",e=>{if(!t||!a.current)return;let n=em(o);r.current instanceof HTMLElement&&n.add(r.current);let i=l.current;if(!i)return;let u=e.target;u&&u instanceof HTMLElement?eE(n,u)?(l.current=u,er(u)):(e.preventDefault(),e.stopPropagation(),er(i)):er(l.current)},!0)}({ownerDocument:c,container:r,containers:a,previousActiveElement:s},!!(8&i));let d=(n=(0,P.useRef)(0),el("keydown",e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)},!0),n),f=W(e=>{let t=r.current;t&&T(d.current,{[ea.Forwards]:()=>{eo(t,Q.First,{skipElements:[e.relatedTarget]})},[ea.Backwards]:()=>{eo(t,Q.Last,{skipElements:[e.relatedTarget]})}})}),p=function(){let[e]=(0,P.useState)(ef);return(0,P.useEffect)(()=>()=>e.dispose(),[e]),e}(),m=(0,P.useRef)(!1);return P.createElement(P.Fragment,null,!!(4&i)&&P.createElement(X,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:z.Focusable}),N({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(m.current=!0,p.requestAnimationFrame(()=>{m.current=!1}))},onBlur(e){let t=em(a);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(eE(t,n)||(m.current?eo(r.current,T(d.current,{[ea.Forwards]:()=>Q.Next,[ea.Backwards]:()=>Q.Previous})|Q.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&er(e.target)))}},theirProps:u,defaultTag:"div",name:"FocusTrap"}),!!(4&i)&&P.createElement(X,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:z.Focusable}))}),{features:ev}),eg=[];function eE(e,t){for(let n of e)if(n.contains(t))return!0;return!1}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&eg[0]!==e.target&&(eg.unshift(e.target),(eg=eg.filter(e=>null!=e&&e.isConnected)).splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var eb=n(73935);let ey=(0,P.createContext)(!1);function ew(e){return P.createElement(ey.Provider,{value:e.force},e.children)}let eO=P.Fragment,eP=P.Fragment,eS=(0,P.createContext)(null),eT=(0,P.createContext)(null),eL=Object.assign(R(function(e,t){let n=(0,P.useRef)(null),r=V(function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[q]:t})}(e=>{n.current=e}),t),o=eu(n),l=function(e){let t=(0,P.useContext)(ey),n=(0,P.useContext)(eS),r=eu(e),[o,l]=(0,P.useState)(()=>
1{if(!t&&null!==n||_.isServer)return null;let e=null==r?void 0:r.getElementById("headlessui-portal-root");if(e)return e;if(null===r)return null;let o=r.createElement("div");return o.setAttribute("id","headlessui-portal-root"),r.body.appendChild(o)});return(0,P.useEffect)(()=>{null!==o&&(null!=r&&r.body.contains(o)||null==r||r.body.appendChild(o))},[o,r]),(0,P.useEffect)(()=>{t||null!==n&&l(n.current)},[n,l,t]),o}(n),[a]=(0,P.useState)(()=>{var e;return _.isServer?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null}),i=(0,P.useContext)(eT),u=G();return B(()=>{!l||!a||l.contains(a)||(a.setAttribute("data-headlessui-portal",""),l.appendChild(a))},[l,a]),B(()=>{if(a&&i)return i.register(a)},[i,a]),ep(()=>{var e;l&&a&&(a instanceof Node&&l.contains(a)&&l.removeChild(a),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))}),u&&l&&a?(0,eb.createPortal)(N({ourProps:{ref:r},theirProps:e,defaultTag:eO,name:"Portal"}),a):null}),{Group:R(function(e,t){let{target:n,...r}=e,o={ref:V(t)};return P.createElement(eS.Provider,{value:n},N({ourProps:o,theirProps:r,defaultTag:eP,name:"Popover.Group"}))})}),eC=(0,P.createContext)(null),eA=Object.assign(R(function(e,t){let n=K(),{id:r="headlessui-description-".concat(n),...o}=e,l=function e(){let t=(0,P.useContext)(eC);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),a=V(t);return B(()=>l.register(r),[r,l.register]),N({ourProps:{ref:a,...l.props,id:r},theirProps:o,slot:l.slot||{},defaultTag:"p",name:l.name||"Description"})}),{}),eN=(0,P.createContext)(null);eN.displayName="OpenClosedContext";var eF=((m=eF||{})[m.Open=1]="Open",m[m.Closed=2]="Closed",m[m.Closing=4]="Closing",m[m.Opening=8]="Opening",m);let eD=(0,P.createContext)(()=>{});eD.displayName="StackContext";var eR=((v=eR||{})[v.Add=0]="Add",v[v.Remove=1]="Remove",v);function ex(e){let{children:t,onUpdate:n,type:r,element:o,enabled:l}=e,a=(0,P.useContext)(eD),i=W(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];null==n||n(...t),a(...t)});return B(()=>{let e=void 0===l||!0===l;return e&&i(0,r,o),()=>{e&&i(1,r,o)}},[i,r,o,l]),P.createElement(eD.Provider,{value:i},t)}function ek(e,t,n){let r=U(t);(0,P.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}let{useState:eM,useEffect:ej,useLayoutEffect:eH,useDebugValue:eI}=S;void 0!==window.document&&window.document.createElement;let e_=S.useSyncExternalStore,eB=(y=()=>new Map,w={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:ef(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let t,n,{doc:r,d:o,meta:l}=e,a={doc:r,d:o,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(l)},i=[/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0?{before(){t=window.pageYOffset},after(e){let{doc:n,d:r,meta:o}=e;function l(e){return o.containers.flatMap(e=>e()).some(t=>t.contains(e))}r.style(n.body,"marginTop","-".concat(t,"px")),window.scrollTo(0,0);let a=null;r.addEventListener(n,"click",e=>{if(e.target instanceof HTMLElement)try{let t=e.target.closest("a");if(!t)return;let{hash:r}=new URL(t.href),o=n.querySelector(r);o&&!l(o)&&(a=o)}catch(e){}},!0),r.addEventListener(n,"touchmove",e=>{e.target instanceof HTMLElement&&!l(e.target)&&e.preventDefault()},{passive:!1}),r.add(()=>{window.scrollTo(0,window.pageYOffset+t),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})}}:{},{before(e){var t;let{doc:r}=e,o=r.documentElement;n=(null!=(t=r.defaultView)?t:window).innerWidth-o.clientWidth},after(e){let{doc:t,d:r}=e,o=t.documentElement,l=o.clientWidth-o.offsetWidth,a=n-l;r.style(o,"paddingRight","".concat(a,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];i.forEach(e=>{let{before:t}=e;return null==t?void 0:t(a)}
1),i.forEach(e=>{let{after:t}=e;return null==t?void 0:t(a)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}},h=y(),g=new Set,{getSnapshot:()=>h,subscribe:e=>(g.add(e),()=>g.delete(e)),dispatch(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let o=w[e].call(h,...n);o&&(h=o,g.forEach(e=>e()))}});eB.subscribe(()=>{let e=eB.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&eB.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&eB.dispatch("TEARDOWN",n)}});let eU=new Map,eW=new Map;function eq(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];B(()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let o=null!=(n=eW.get(r))?n:0;return eW.set(r,o+1),0!==o||(eU.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=eW.get(r))?e:1;if(1===t?eW.delete(r):eW.set(r,t-1),1!==t)return;let n=eU.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,eU.delete(r))}},[e,t])}var eV=((E=eV||{})[E.Open=0]="Open",E[E.Closed=1]="Closed",E),eY=((b=eY||{})[b.SetTitleId=0]="SetTitleId",b);let eG={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},eK=(0,P.createContext)(null);function ez(e){let t=(0,P.useContext)(eK);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,ez),t}return t}function eX(e,t){return T(t.type,eG,e,t)}eK.displayName="DialogContext";let eZ=C.RenderStrategy|C.Static,eJ=Object.assign(R(function(e,t){var n;let r,o,l,a,i;let u=K(),{id:c="headlessui-dialog-".concat(u),open:s,onClose:d,initialFocus:f,__demoMode:p=!1,...m}=e,[v,h]=(0,P.useState)(0),g=(0,P.useContext)(eN);void 0===s&&null!==g&&(s=(g&eF.Open)===eF.Open);let E=(0,P.useRef)(null),b=V(E,t),y=eu(E),w=e.hasOwnProperty("open")||null!==g,O=e.hasOwnProperty("onClose");if(!w&&!O)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!w)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!O)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof s)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(s));if("function"!=typeof d)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(d));let S=s?0:1,[L,C]=(0,P.useReducer)(eX,{titleId:null,descriptionId:null,panelRef:(0,P.createRef)()}),A=W(()=>d(!1)),F=W(e=>C({type:0,id:e})),D=!!G()&&!p&&0===S,R=v>1,x=null!==(0,P.useContext)(eK),[k,M]=(r=(0,P.useContext)(eT),o=(0,P.useRef)([]),l=W(e=>(o.current.push(e),r&&r.register(e),()=>a(e))),a=W(e=>{let t=o.current.indexOf(e);-1!==t&&o.current.splice(t,1),r&&r.unregister(e)}),i=(0,P.useMemo)(()=>({register:l,unregister:a,portals:o}),[l,a,o]),[o,(0,P.useMemo)(()=>function(e){let{children:t}=e;return P.createElement(eT.Provider,{value:i},t)},[i])]),{resolveContainers:j,mainTreeNodeRef:H,MainTreeNode:I}=function(){let{defaultContainers:e=[],portals:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,P.useRef)(null),r=eu(n),o=W(()=>{var o;let l=[];for(let t of e)null!==t&&(t instanceof HTMLElement?l.push(t):"current"in t&&t.current instanceof HTMLElement&&l.push(t.current));if(null!=t&&t.current)for(let e of t.current)l.push(e);for(let e of null!=(o=null==r?void 0:r.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(n.current)||l.some(t=>e.contains(t))||l.push(e));return l});
1return{resolveContainers:o,contains:W(e=>o().some(t=>t.contains(e))),mainTreeNodeRef:n,MainTreeNode:(0,P.useMemo)(()=>function(){return P.createElement(X,{features:z.Hidden,ref:n})},[n])}}({portals:k,defaultContainers:[null!=(n=L.panelRef.current)?n:E.current]}),_=null!==g&&(g&eF.Closing)===eF.Closing,U=!x&&!_&&D;eq((0,P.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==y?void 0:y.querySelectorAll("body > *"))?e:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains(H.current)&&e instanceof HTMLElement))?t:null},[H]),U);let q=!!R||D;eq((0,P.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==y?void 0:y.querySelectorAll("[data-headlessui-portal]"))?e:[]).find(e=>e.contains(H.current)&&e instanceof HTMLElement))?t:null},[H]),q),function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(0,P.useRef)(!1);function o(n,o){if(!r.current||n.defaultPrevented)return;let l=o(n);if(null!==l&&l.getRootNode().contains(l)){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(l)||n.composed&&n.composedPath().includes(e))return}return!function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=Z(e))?void 0:t.body)&&T(n,{0:()=>e.matches(J),1(){let t=e;for(;null!==t;){if(t.matches(J))return!0;t=t.parentElement}return!1}})}(l,et.Loose)&&-1!==l.tabIndex&&n.preventDefault(),t(n,l)}}(0,P.useEffect)(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);let l=(0,P.useRef)(null);ek("mousedown",e=>{var t,n;r.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),ek("click",e=>{l.current&&(o(e,()=>l.current),l.current=null)},!0),el("blur",e=>o(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}(j,A,!(!D||R));let Q=!(R||0!==S);ec(null==y?void 0:y.defaultView,"keydown",e=>{Q&&(e.defaultPrevented||e.key===Y.Escape&&(e.preventDefault(),e.stopPropagation(),A()))}),function(e,t){var n;let r,o,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];n=e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],l]}},r=e_(eB.subscribe,eB.getSnapshot,eB.getSnapshot),(o=e?r.get(e):void 0)&&o.count,B(()=>{if(!(!e||!t))return eB.dispatch("PUSH",e,n),()=>eB.dispatch("POP",e,n)},[t,e])}(y,!(_||0!==S||x),j),(0,P.useEffect)(()=>{if(0!==S||!E.current)return;let e=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&A()}});return e.observe(E.current),()=>e.disconnect()},[S,E,A]);let[$,ee]=function(){let[e,t]=(0,P.useState)([]);return[e.length>0?e.join(" "):void 0,(0,P.useMemo)(()=>function(e){let n=W(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),r=(0,P.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return P.createElement(eC.Provider,{value:r},e.children)},[t])]}(),en=(0,P.useMemo)(()=>[{dialogState:S,close:A,setTitleId:F},L],[S,L,A,F]),er=(0,P.useMemo)(()=>({open:0===S}),[S]),eo={ref:b,id:c,role:"dialog","aria-modal":0===S||void 0,"aria-labelledby":L.titleId,"aria-describedby":$};return P.createElement(ex,{type:"Dialog",enabled:0===S,element:E,onUpdate:W((e,t)=>{"Dialog"===t&&T(e,{[eR.Add]:()=>h(e=>e+1),[eR.Remove]:()=>h(e=>e-1)})})},P.createElement(ew,{force:!0},P.createElement(eL,null,P.createElement(eK.Provider,{value:en},P.createElement(eL.Group,{target:E},P.createElement(ew,{force:!1},P.createElement(ee,{slot:er,name:"Dialog.Description"},P.createElement(eh,{initialFocus:f,containers:j,features:D?T(R?"parent":"leaf",{parent:eh.features.RestoreFocus,leaf:eh.features.All&~eh.features.FocusLock}):eh.features.None},P.createElement(M,null,N({ourProps:eo,theirProps:m,slot:er,defaultTag:"div",features:eZ,visible:0===S,name:"Dialog"}))))))))),P.createElement(I,null))}),{Backdrop:R(function(e,t){let n=K(),{id:r="headlessui-dialog-backdrop-".concat(n),...o}=e,[{dialogState:l},a]=ez("Dialog.Backdrop"),i=V(t);(0,P.useEffect)(()=>
1{if(null===a.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[a.panelRef]);let u=(0,P.useMemo)(()=>({open:0===l}),[l]);return P.createElement(ew,{force:!0},P.createElement(eL,null,N({ourProps:{ref:i,id:r,"aria-hidden":!0},theirProps:o,slot:u,defaultTag:"div",name:"Dialog.Backdrop"})))}),Panel:R(function(e,t){let n=K(),{id:r="headlessui-dialog-panel-".concat(n),...o}=e,[{dialogState:l},a]=ez("Dialog.Panel"),i=V(t,a.panelRef),u=(0,P.useMemo)(()=>({open:0===l}),[l]);return N({ourProps:{ref:i,id:r,onClick:W(e=>{e.stopPropagation()})},theirProps:o,slot:u,defaultTag:"div",name:"Dialog.Panel"})}),Overlay:R(function(e,t){let n=K(),{id:r="headlessui-dialog-overlay-".concat(n),...o}=e,[{dialogState:l,close:a}]=ez("Dialog.Overlay");return N({ourProps:{ref:V(t),id:r,"aria-hidden":!0,onClick:W(e=>{if(e.target===e.currentTarget){if(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),a()}})},theirProps:o,slot:(0,P.useMemo)(()=>({open:0===l}),[l]),defaultTag:"div",name:"Dialog.Overlay"})}),Title:R(function(e,t){let n=K(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:l,setTitleId:a}]=ez("Dialog.Title"),i=V(t);return(0,P.useEffect)(()=>(a(r),()=>a(null)),[r,a]),N({ourProps:{ref:i,id:r},theirProps:o,slot:(0,P.useMemo)(()=>({open:0===l}),[l]),defaultTag:"h2",name:"Dialog.Title"})}),Description:eA})},29693:function(e,t,n){var r=n(67294);let o=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))});t.Z=o},50083:function(e,t,n){var r=n(67294);let o=r.forwardRef(function(e,t){let{title:n,titleId:o,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"}))});t.Z=o},15955:function(e,t,n){n.d(t,{w_:function(){return s}});var r=n(67294),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=r.createContext&&r.createContext(o),a=["attr","size","title"];function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){var r,o;r=t,o=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e){return t=>r.createElement(d,i({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,n)=>r.createElement(t.tag,c({key:n},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var n,{attr:o,size:l,title:u}=e,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),d=l||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,s,{className:n,style:c(c({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),u&&r.createElement("title",null,u),e.children)};return void 0!==l?r.createElement(l.Consumer,null,e=>t(e)):t(o)}}}]);
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.