(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6338,2174],{70741:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},9984:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},28714:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},11342:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},80696:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},39390:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]])},47285:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},22737:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},80074:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},14016:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("DraftingCompass",[["path",{d:"m12.99 6.74 1.93 3.44",key:"iwagvd"}],["path",{d:"M19.136 12a10 10 0 0 1-14.271 0",key:"ppmlo4"}],["path",{d:"m21 21-2.16-3.84",key:"vylbct"}],["path",{d:"m3 21 8.02-14.26",key:"1ssaw4"}],["circle",{cx:"12",cy:"5",r:"2",key:"f1ur92"}]])},28666:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},12241:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},31739:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]])},82112:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},1374:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},93068:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},3711:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]])},18923:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]])},47835:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},15437:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},30949:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Pizza",[["path",{d:"M15 11h.01",key:"rns66s"}],["path",{d:"M11 15h.01",key:"k85uqc"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"m2 16 20 6-6-20A20 20 0 0 0 2 16",key:"e4slt2"}],["path",{d:"M5.71 17.11a17.04 17.04 0 0 1 11.4-11.4",key:"rerf8f"}]])},85191:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},84354:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("RefreshCcwDot",[["path",{d:"M3 2v6h6",key:"18ldww"}],["path",{d:"M21 12A9 9 0 0 0 6 5.3L3 8",key:"1pbrqz"}],["path",{d:"M21 22v-6h-6",key:"usdfbe"}],["path",{d:"M3 12a9 9 0 0 0 15 6.7l3-2.7",key:"1hosoe"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])},26607:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},47408:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("SunMedium",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]])},10138:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]])},46900:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},11670:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},1898:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]])},40066:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.427.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(20122).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},80958:function(e,t,n){"use strict";n.d(t,{F:function(){return s},f:function(){return c}});var r=n(26321);let o=["light","dark"],l="(prefers-color-scheme: dark)",i="undefined"==typeof window,a=(0,r.createContext)(void 0),u={setTheme:e=>{},themes:[]},s=()=>{var e;return null!==(e=(0,r.useContext)(a))&&void 0!==e?e:u},c=e=>(0,r.useContext)(a)?r.createElement(r.Fragment,null,e.children):r.createElement(f,e),d=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:i=!0,storageKey:u="theme",themes:s=d,defaultTheme:c=n?"system":"light",attribute:f="data-theme",value:g,children:y,nonce:E})=>{let[b,w]=(0,r.useState)(()=>m(u,c)),[k,T]=(0,r.useState)(()=>m(u)),x=g?Object.values(g):s,M=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=v());let l=g?g[r]:r,a=t?p():null,u=document.documentElement;if("class"===f?(u.classList.remove(...x),l&&u.classList.add(l)):l?u.setAttribute(f,l):u.removeAttribute(f),i){let e=o.includes(c)?c:null,t=o.includes(r)?r:e;u.style.colorScheme=t}null==a||a()},[]),C=(0,r.useCallback)(e=>{w(e);try{localStorage.setItem(u,e)}catch(e){}},[e]),S=(0,r.useCallback)(t=>{T(v(t)),"system"===b&&n&&!e&&M("system")},[b,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(l);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),(0,r.useEffect)(()=>{let e=e=>{e.key===u&&C(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),(0,r.useEffect)(()=>{M(null!=e?e:b)},[e,b]);let A=(0,r.useMemo)(()=>({theme:b,setTheme:C,forcedTheme:e,resolvedTheme:"system"===b?k:b,themes:n?[...s,"system"]:s,systemTheme:n?k:void 0}),[b,C,e,k,n,s]);return r.createElement(a.Provider,{value:A},r.createElement(h,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:i,storageKey:u,themes:s,defaultTheme:c,attribute:f,value:g,children:y,attrs:x,nonce:E}),y)},h=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:i,enableColorScheme:a,defaultTheme:u,value:s,attrs:c,nonce:d})=>{let f="system"===u,h="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,m=a?o.includes(u)&&u?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${u}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(e,t=!1,r=!0)=>{let l=s?s[e]:e,i=t?e+"|| ''":`'${l}'`,u="";return a&&r&&!t&&o.includes(e)&&(u+=`d.style.colorScheme = '${e}';`),"class"===n?u+=t||l?`c.add(${i})`:"null":l&&(u+=`d[s](n,${i})`),u},v=e?`!function(){${h}${p(e)}}()`:i?`!function(){try{${h}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${l}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${p(s?"x[e]":"e",!0)}}${f?"":"else{"+p(u,!1,!1)+"}"}${m}}catch(e){}}()`:`!function(){try{${h}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${p(s?"x[e]":"e",!0)}}else{${p(u,!1,!1)};}${m}}catch(t){}}();`;return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:v}})},()=>!0),m=(e,t)=>{let n;if(!i){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},p=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},v=e=>(e||(e=window.matchMedia(l)),e.matches?"dark":"light")},26844:function(e,t,n){"use strict";n.d(t,{default:function(){return o.a}});var r=n(47788),o=n.n(r)},32608:function(e){var t,n,r,o=e.exports={};function l(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===l||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:l}catch(e){t=l}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var u=[],s=!1,c=-1;function d(){s&&r&&(s=!1,r.length?u=r.concat(u):c=-1,u.length&&f())}function f(){if(!s){var e=a(d);s=!0;for(var t=u.length;t;){for(r=u,u=[];++c<t;)r&&r[c].run();c=-1,t=u.length}r=null,s=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||s||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},86498:function(e,t,n){"use strict";let r,o,l,i,a,u,s,c,d,f,h,m,p,v,g,y;n.d(t,{Vq:function(){return tp},EM:function(){return tm}});var E,b,w=n(26321),k=n.t(w,2),T=((r=T||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r),x=Object.defineProperty,M=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,C=(e,t,n)=>(M(e,"symbol"!=typeof t?t+"":t,n),n);class S{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}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){C(this,"current",this.detect()),C(this,"handoffState","pending"),C(this,"currentId",0)}}let A=new S,F=(e,t)=>{A.isServer?(0,w.useEffect)(e,t):(0,w.useLayoutEffect)(e,t)};function L(e){let t=(0,w.useRef)(e);return F(()=>{t.current=e},[e]),t}function P(e,t,n,r){let o=L(n);(0,w.useEffect)(()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}class O extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}function R(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var o=arguments.length,l=Array(o>1?o-1:0),i=1;i<o;i++)l[i-1]=arguments[i];let a=t[e].call(n,...l);a&&(n=a,r.forEach(e=>e()))}}}function N(e){return(0,w.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let Z=new O(()=>R(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}}));function D(e,t){let n=Z.get(t),r=(0,w.useId)(),o=N(n);if(F(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let l=o.indexOf(r),i=o.length;return -1===l&&(l=i,i+=1),l===i-1}let I=function(e){let t=L(e);return w.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])};function H(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function j(){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 H(()=>{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=j();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(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 $(e){return A.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let V=new Map,q=new Map;function z(e){var t;let n=null!=(t=q.get(e))?t:0;return q.set(e,n+1),0!==n||(V.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let n=null!=(t=q.get(e))?t:1;if(1===n?q.delete(e):q.set(e,n-1),1!==n)return;let r=V.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,V.delete(e))})(e)}function _(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,_),l}let U=["[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(","),W=["[data-autofocus]"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var B=((o=B||{})[o.First=1]="First",o[o.Previous=2]="Previous",o[o.Next=4]="Next",o[o.Last=8]="Last",o[o.WrapAround=16]="WrapAround",o[o.NoScroll=32]="NoScroll",o[o.AutoFocus=64]="AutoFocus",o),Y=((l=Y||{})[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l),K=((i=K||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i),G=((a=G||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a),X=((u=X||{})[u.Keyboard=0]="Keyboard",u[u.Mouse=1]="Mouse",u);function J(e){null==e||e.focus({preventScroll:!0})}function Q(e,t){var n,r,o;let{sorted:l=!0,relativeTo:i=null,skipElements:a=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=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:64&t?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(W)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(U)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);a.length>0&&s.length>1&&(s=s.filter(e=>!a.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),i=null!=i?i:u.activeElement;let c=(()=>{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,s.indexOf(i))-1;if(4&t)return Math.max(0,s.indexOf(i))+1;if(8&t)return s.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},h=0,m=s.length,p;do{if(h>=m||h+m<=0)return 0;let e=d+h;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(p=s[e])||p.focus(f),h+=c}while(p!==u.activeElement);return 6&t&&null!=(o=null==(r=null==(n=p)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&o&&p.select(),2}function ee(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function et(e,t,n,r){let o=L(n);(0,w.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function en(e,t,n,r){let o=L(n);(0,w.useEffect)(()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function er(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,w.useMemo)(()=>$(...t),[...t])}function eo(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}"undefined"!=typeof window&&"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 el=((s=el||{})[s.None=0]="None",s[s.RenderStrategy=1]="RenderStrategy",s[s.Static=2]="Static",s),ei=((c=ei||{})[c.Unmount=0]="Unmount",c[c.Hidden=1]="Hidden",c);function ea(){let e,t;let n=(e=(0,w.useRef)([]),t=(0,w.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];if(!r.every(e=>null==e))return e.current=r,t});return(0,w.useCallback)(e=>(function(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:l,visible:i=!0,name:a,mergeRefs:u}=e;u=null!=u?u:es;let s=ec(n,t);if(i)return eu(s,r,o,a,u);let c=null!=l?l:0;if(2&c){let{static:e=!1,...t}=s;if(e)return eu(t,r,o,a,u)}if(1&c){let{unmount:e=!0,...t}=s;return _(e?0:1,{0:()=>null,1:()=>eu({...t,hidden:!0,style:{display:"none"}},r,o,a,u)})}return eu(s,r,o,a,u)})({mergeRefs:n,...e}),[n])}function eu(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,o=arguments.length>4?arguments[4]:void 0,{as:l=n,children:i,refName:a="ref",...u}=eh(e,["unmount","static"]),s=void 0!==e.ref?{[a]:e.ref}:{},c="function"==typeof i?i(t):i;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t)),u["aria-labelledby"]&&u["aria-labelledby"]===u.id&&(u["aria-labelledby"]=void 0);let d={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(d["data-headlessui-state"]=n.join(" "),n))d["data-".concat(e)]=""}if(l===w.Fragment&&(Object.keys(ef(u)).length>0||Object.keys(ef(d)).length>0)){if(!(0,w.isValidElement)(c)||Array.isArray(c)&&c.length>1){if(Object.keys(ef(u)).length>0)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(ef(u)).concat(Object.keys(ef(d))).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"))}else{let e=c.props,t=null==e?void 0:e.className,n="function"==typeof t?function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return eo(t(...n),u.className)}:eo(t,u.className),r=ec(c.props,ef(eh(u,["ref"])));for(let e in d)e in r&&delete d[e];return(0,w.cloneElement)(c,Object.assign({},r,d,s,{ref:o(c.ref,s.ref)},n?{className:n}:{}))}}return(0,w.createElement)(l,Object.assign({},eh(u,["ref"]),l!==w.Fragment&&s,l!==w.Fragment&&d),c)}function es(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function ec(){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"])for(let e in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(o[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);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 ed(e){var t;return Object.assign((0,w.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function ef(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function eh(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 em=((d=em||{})[d.None=1]="None",d[d.Focusable=2]="Focusable",d[d.Hidden=4]="Hidden",d);let ep=ed(function(e,t){var n;let{features:r=1,...o}=e,l={ref:t,"aria-hidden":(2&r)==2||(null!=(n=o["aria-hidden"])?n:void 0),hidden:(4&r)==4||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&r)==4&&(2&r)!=2&&{display:"none"}}};return ea()({ourProps:l,theirProps:o,slot:{},defaultTag:"span",name:"Hidden"})}),ev=(0,w.createContext)(null);function eg(e){let{children:t,node:n}=e,[r,o]=(0,w.useState)(null),l=ey(null!=n?n:r);return w.createElement(ev.Provider,{value:l},t,null===l&&w.createElement(ep,{features:em.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=$(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){o(r);break}}}}))}function ey(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,w.useContext)(ev))?e:t}let eE=R(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:j(),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,{doc:n,d:r,meta:o}=e,l={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(o)},i=[ee()?{before(e){let{doc:t,d:n,meta:r}=e;function o(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=j();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,l=null;n.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),i=t.querySelector(r);i&&!o(i)&&(l=i)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement){if(o(e.target)){let t=e.target;for(;t.parentElement&&o(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}}),n.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName){if(o(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}:{},{before(e){var n;let{doc:r}=e,o=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-o.clientWidth)},after(e){let{doc:n,d:r}=e,o=n.documentElement,l=Math.max(0,o.clientWidth-o.offsetWidth),i=Math.max(0,t-l);r.style(o,"paddingRight","".concat(i,"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(l)}),i.forEach(e=>{let{after:t}=e;return null==t?void 0:t(l)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});function eb(){let e;let t=(e="undefined"==typeof document,(0,k.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=w.useState(A.isHandoffComplete);return n&&!1===A.isHandoffComplete&&r(!1),w.useEffect(()=>{!0!==n&&r(!0)},[n]),w.useEffect(()=>A.handoff(),[]),!t&&n}eE.subscribe(()=>{let e=eE.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)&&eE.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&eE.dispatch("TEARDOWN",n)}});let ew=Symbol();function ek(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=(0,w.useRef)(t);(0,w.useEffect)(()=>{r.current=t},[t]);let o=I(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[ew]))?void 0:o}let eT=(0,w.createContext)(()=>{});function ex(e){let{value:t,children:n}=e;return w.createElement(eT.Provider,{value:t},n)}let eM=(0,w.createContext)(null);eM.displayName="OpenClosedContext";var eC=((f=eC||{})[f.Open=1]="Open",f[f.Closed=2]="Closed",f[f.Closing=4]="Closing",f[f.Opening=8]="Opening",f);function eS(){return(0,w.useContext)(eM)}function eA(e){let{value:t,children:n}=e;return w.createElement(eM.Provider,{value:t},n)}function eF(e){let{children:t}=e;return w.createElement(eM.Provider,{value:null},t)}let eL=(0,w.createContext)(!1);function eP(e){return w.createElement(eL.Provider,{value:e.force},e.children)}let eO=(0,w.createContext)(void 0),eR=(0,w.createContext)(null);eR.displayName="DescriptionContext";let eN=Object.assign(ed(function(e,t){let n=(0,w.useId)(),r=(0,w.useContext)(eO),{id:o="headlessui-description-".concat(n),...l}=e,i=function e(){let t=(0,w.useContext)(eR);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=ek(t);F(()=>i.register(o),[o,i.register]);let u=r||!1,s=(0,w.useMemo)(()=>({...i.slot,disabled:u}),[i.slot,u]),c={ref:a,...i.props,id:o};return ea()({ourProps:c,theirProps:l,slot:s,defaultTag:"p",name:i.name||"Description"})}),{});function eZ(){let[e]=(0,w.useState)(j);return(0,w.useEffect)(()=>()=>e.dispose(),[e]),e}function eD(){let e=(0,w.useRef)(!1);return F(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function eI(e){let t=I(e),n=(0,w.useRef)(!1);(0,w.useEffect)(()=>(n.current=!1,()=>{n.current=!0,H(()=>{n.current&&t()})}),[t])}var eH=((h=eH||{})[h.Forwards=0]="Forwards",h[h.Backwards=1]="Backwards",h);function ej(e,t){let n=(0,w.useRef)([]),r=I(e);(0,w.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])}let e$=[];function eV(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}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||e$[0]===e.target)return;let t=e.target;t=t.closest(U),e$.unshift(null!=t?t:e.target),(e$=e$.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 eq=((m=eq||{})[m.None=0]="None",m[m.InitialFocus=1]="InitialFocus",m[m.TabLock=2]="TabLock",m[m.FocusLock=4]="FocusLock",m[m.RestoreFocus=8]="RestoreFocus",m[m.AutoFocus=16]="AutoFocus",m);let ez=Object.assign(ed(function(e,t){let n,r=(0,w.useRef)(null),o=ek(r,t),{initialFocus:l,initialFocusFallback:i,containers:a,features:u=15,...s}=e;eb()||(u=0);let c=er(r);!function(e,t){let{ownerDocument:n}=t,r=!!(8&e),o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,w.useRef)(e$.slice());return ej((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&H(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=e$.slice())},[e,e$,t]),I(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);ej(()=>{r||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&J(o())},[r]),eI(()=>{r&&J(o())})}(u,{ownerDocument:c});let d=function(e,t){let{ownerDocument:n,container:r,initialFocus:o,initialFocusFallback:l}=t,i=(0,w.useRef)(null),a=D(!!(1&e),"focus-trap#initial-focus"),u=eD();return ej(()=>{if(0===e)return;if(!a){null!=l&&l.current&&J(l.current);return}let t=r.current;t&&H(()=>{if(!u.current)return;let r=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===r){i.current=r;return}}else if(t.contains(r)){i.current=r;return}if(null!=o&&o.current)J(o.current);else{if(16&e){if(Q(t,B.First|B.AutoFocus)!==Y.Error)return}else if(Q(t,B.First)!==Y.Error)return;if(null!=l&&l.current&&(J(l.current),(null==n?void 0:n.activeElement)===l.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}i.current=null==n?void 0:n.activeElement})},[l,a,e]),i}(u,{ownerDocument:c,container:r,initialFocus:l,initialFocusFallback:i});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:l}=t,i=eD(),a=!!(4&e);P(null==n?void 0:n.defaultView,"focus",e=>{if(!a||!i.current)return;let t=eV(o);r.current instanceof HTMLElement&&t.add(r.current);let n=l.current;if(!n)return;let u=e.target;u&&u instanceof HTMLElement?e_(t,u)?(l.current=u,J(u)):(e.preventDefault(),e.stopPropagation(),J(n)):J(l.current)},!0)}(u,{ownerDocument:c,container:r,containers:a,previousActiveElement:d});let f=(n=(0,w.useRef)(0),en(!0,"keydown",e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)},!0),n),h=I(e=>{let t=r.current;t&&_(f.current,{[eH.Forwards]:()=>{Q(t,B.First,{skipElements:[e.relatedTarget,i]})},[eH.Backwards]:()=>{Q(t,B.Last,{skipElements:[e.relatedTarget,i]})}})}),m=D(!!(2&u),"focus-trap#tab-lock"),p=eZ(),v=(0,w.useRef)(!1),g=ea();return w.createElement(w.Fragment,null,m&&w.createElement(ep,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:em.Focusable}),g({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(v.current=!0,p.requestAnimationFrame(()=>{v.current=!1}))},onBlur(e){if(!(4&u))return;let t=eV(a);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(e_(t,n)||(v.current?Q(r.current,_(f.current,{[eH.Forwards]:()=>B.Next,[eH.Backwards]:()=>B.Previous})|B.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&J(e.target)))}},theirProps:s,defaultTag:"div",name:"FocusTrap"}),m&&w.createElement(ep,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:em.Focusable}))}),{features:eq});function e_(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var eU=n(21007);let eW=w.Fragment,eB=ed(function(e,t){let n=(0,w.useRef)(null),r=ek(function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[ew]:t})}(e=>{n.current=e}),t),o=er(n),l=function(e){let t=(0,w.useContext)(eL),n=(0,w.useContext)(eK),r=er(e),[o,l]=(0,w.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(A.isServer)return null;let o=null==r?void 0:r.getElementById("headlessui-portal-root");if(o)return o;if(null===r)return null;let l=r.createElement("div");return l.setAttribute("id","headlessui-portal-root"),r.body.appendChild(l)});return(0,w.useEffect)(()=>{null!==o&&(null!=r&&r.body.contains(o)||null==r||r.body.appendChild(o))},[o,r]),(0,w.useEffect)(()=>{t||null!==n&&l(n.current)},[n,l,t]),o}(n),[i]=(0,w.useState)(()=>{var e;return A.isServer?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null}),a=(0,w.useContext)(eG),u=eb();F(()=>{!l||!i||l.contains(i)||(i.setAttribute("data-headlessui-portal",""),l.appendChild(i))},[l,i]),F(()=>{if(i&&a)return a.register(i)},[a,i]),eI(()=>{var e;l&&i&&(i instanceof Node&&l.contains(i)&&l.removeChild(i),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))});let s=ea();return u&&l&&i?(0,eU.createPortal)(s({ourProps:{ref:r},theirProps:e,slot:{},defaultTag:eW,name:"Portal"}),i):null}),eY=w.Fragment,eK=(0,w.createContext)(null),eG=(0,w.createContext)(null),eX=ed(function(e,t){let n=ek(t),{enabled:r=!0,...o}=e,l=ea();return r?w.createElement(eB,{...o,ref:n}):l({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:eW,name:"Portal"})}),eJ=ed(function(e,t){let{target:n,...r}=e,o={ref:ek(t)},l=ea();return w.createElement(eK.Provider,{value:n},l({ourProps:o,theirProps:r,defaultTag:eY,name:"Popover.Group"}))}),eQ=Object.assign(eX,{Group:eJ});var e0=n(32608);void 0!==e0&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(E=null==e0?void 0:e0.env)?void 0:E.NODE_ENV)==="test"&&void 0===(null==(b=null==Element?void 0:Element.prototype)?void 0:b.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var e1=((p=e1||{})[p.None=0]="None",p[p.Closed=1]="Closed",p[p.Enter=2]="Enter",p[p.Leave=4]="Leave",p);function e2(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:e9)!==w.Fragment||1===w.Children.count(e.children)}let e4=(0,w.createContext)(null);e4.displayName="TransitionContext";var e3=((v=e3||{}).Visible="visible",v.Hidden="hidden",v);let e7=(0,w.createContext)(null);function e6(e){return"children"in e?e6(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function e8(e,t){let n=L(e),r=(0,w.useRef)([]),o=eD(),l=eZ(),i=I(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ei.Hidden,i=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==i&&(_(t,{[ei.Unmount](){r.current.splice(i,1)},[ei.Hidden](){r.current[i].state="hidden"}}),l.microTask(()=>{var e;!e6(r)&&o.current&&(null==(e=n.current)||e.call(n))}))}),a=I(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>i(e,ei.Unmount)}),u=(0,w.useRef)([]),s=(0,w.useRef)(Promise.resolve()),c=(0,w.useRef)({enter:[],leave:[]}),d=I((e,n,r)=>{u.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{u.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?s.current=s.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=I((e,t,n)=>{Promise.all(c.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=u.current.shift())||e()}).then(()=>n(t))});return(0,w.useMemo)(()=>({children:r,register:a,unregister:i,onStart:d,onStop:f,wait:s,chains:c}),[a,i,r,d,f,c,s])}e7.displayName="NestingContext";let e9=w.Fragment,e5=el.RenderStrategy,te=ed(function(e,t){let{show:n,appear:r=!1,unmount:o=!0,...l}=e,i=(0,w.useRef)(null),a=ek(...e2(e)?[i,t]:null===t?[]:[t]);eb();let u=eS();if(void 0===n&&null!==u&&(n=(u&eC.Open)===eC.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[s,c]=(0,w.useState)(n?"visible":"hidden"),d=e8(()=>{n||c("hidden")}),[f,h]=(0,w.useState)(!0),m=(0,w.useRef)([n]);F(()=>{!1!==f&&m.current[m.current.length-1]!==n&&(m.current.push(n),h(!1))},[m,n]);let p=(0,w.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);F(()=>{n?c("visible"):e6(d)||null===i.current||c("hidden")},[n,d]);let v={unmount:o},g=I(()=>{var t;f&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),y=I(()=>{var t;f&&h(!1),null==(t=e.beforeLeave)||t.call(e)}),E=ea();return w.createElement(e7.Provider,{value:d},w.createElement(e4.Provider,{value:p},E({ourProps:{...v,as:w.Fragment,children:w.createElement(tt,{ref:a,...v,...l,beforeEnter:g,beforeLeave:y})},theirProps:{},defaultTag:w.Fragment,features:e5,visible:"visible"===s,name:"Transition"})))}),tt=ed(function(e,t){var n,r;let{transition:o=!0,beforeEnter:l,afterEnter:i,beforeLeave:a,afterLeave:u,enter:s,enterFrom:c,enterTo:d,entered:f,leave:h,leaveFrom:m,leaveTo:p,...v}=e,[g,y]=(0,w.useState)(null),E=(0,w.useRef)(null),b=e2(e),k=ek(...b?[E,t,y]:null===t?[]:[t]),T=null==(n=v.unmount)||n?ei.Unmount:ei.Hidden,{show:x,appear:M,initial:C}=function(){let e=(0,w.useContext)(e4);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[S,A]=(0,w.useState)(x?"visible":"hidden"),L=function(){let e=(0,w.useContext)(e7);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:P,unregister:O}=L;F(()=>P(E),[P,E]),F(()=>{if(T===ei.Hidden&&E.current){if(x&&"visible"!==S){A("visible");return}return _(S,{hidden:()=>O(E),visible:()=>P(E)})}},[S,E,P,O,x,T]);let R=eb();F(()=>{if(b&&R&&"visible"===S&&null===E.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[E,S,R,b]);let N=C&&!M,Z=M&&x&&C,D=(0,w.useRef)(!1),H=e8(()=>{D.current||(A("hidden"),O(E))},L),$=I(e=>{D.current=!0,H.onStart(E,e?"enter":"leave",e=>{"enter"===e?null==l||l():"leave"===e&&(null==a||a())})}),V=I(e=>{let t=e?"enter":"leave";D.current=!1,H.onStop(E,t,e=>{"enter"===e?null==i||i():"leave"===e&&(null==u||u())}),"leave"!==t||e6(H)||(A("hidden"),O(E))});(0,w.useEffect)(()=>{b&&o||($(x),V(x))},[x,b,o]);let[,q]=function(e,t,n,r){let[o,l]=(0,w.useState)(n),{hasFlag:i,addFlag:a,removeFlag:u}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,w.useState)(e),r=(0,w.useCallback)(e=>n(e),[t]),o=(0,w.useCallback)(e=>n(t=>t|e),[t]),l=(0,w.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:o,hasFlag:l,removeFlag:(0,w.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,w.useCallback)(e=>n(t=>t^e),[n])}}(e&&o?3:0),s=(0,w.useRef)(!1),c=(0,w.useRef)(!1);return F(()=>{var o;if(e){if(n&&l(!0),!t){n&&a(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,t){let{prepare:n,run:r,done:o,inFlight:l}=t,i=j();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current){r();return}let o=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=o}(e,{prepare:n,inFlight:l}),i.nextFrame(()=>{r(),i.requestAnimationFrame(()=>{i.add(function(e,t){var n,r;let o=j();if(!e)return o.dispose;let l=!1;o.add(()=>{l=!0});let i=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===i.length?t():Promise.allSettled(i.map(e=>e.finished)).then(()=>{l||t()}),o.dispose}(e,o))})}),i.dispose}(t,{inFlight:s,prepare(){c.current?c.current=!1:c.current=s.current,s.current=!0,c.current||(n?(a(3),u(4)):(a(4),u(2)))},run(){c.current?n?(u(3),a(4)):(u(4),a(3)):n?u(1):a(1)},done(){var e;c.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(s.current=!1,u(7),n||l(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,eZ()]),e?[o,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!o||!b||!R||N),g,x,{start:$,end:V}),z=ef({ref:k,className:(null==(r=eo(v.className,Z&&s,Z&&c,q.enter&&s,q.enter&&q.closed&&c,q.enter&&!q.closed&&d,q.leave&&h,q.leave&&!q.closed&&m,q.leave&&q.closed&&p,!q.transition&&x&&f))?void 0:r.trim())||void 0,...function(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}(q)}),U=0;"visible"===S&&(U|=eC.Open),"hidden"===S&&(U|=eC.Closed),q.enter&&(U|=eC.Opening),q.leave&&(U|=eC.Closing);let W=ea();return w.createElement(e7.Provider,{value:H},w.createElement(eA,{value:U},W({ourProps:z,theirProps:v,defaultTag:e9,features:e5,visible:"visible"===S,name:"Transition.Child"})))}),tn=ed(function(e,t){let n=null!==(0,w.useContext)(e4),r=null!==eS();return w.createElement(w.Fragment,null,!n&&r?w.createElement(te,{ref:t,...e}):w.createElement(tt,{ref:t,...e}))}),tr=Object.assign(te,{Child:tn,Root:te});var to=((g=to||{})[g.Open=0]="Open",g[g.Closed=1]="Closed",g),tl=((y=tl||{})[y.SetTitleId=0]="SetTitleId",y);let ti={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ta=(0,w.createContext)(null);function tu(e){let t=(0,w.useContext)(ta);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,tu),t}return t}function ts(e,t){return _(t.type,ti,e,t)}ta.displayName="DialogContext";let tc=ed(function(e,t){var n;let r,o,l,i,a,u,s,c,d,f,h,m=(0,w.useId)(),{id:p="headlessui-dialog-".concat(m),open:v,onClose:g,initialFocus:y,role:E="dialog",autoFocus:b=!0,__demoMode:k=!1,unmount:x=!1,...M}=e,C=(0,w.useRef)(!1);E="dialog"===E||"alertdialog"===E?E:(C.current||(C.current=!0,console.warn("Invalid role [".concat(E,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let S=eS();void 0===v&&null!==S&&(v=(S&eC.Open)===eC.Open);let A=(0,w.useRef)(null),O=ek(A,t),R=er(A),Z=v?0:1,[H,V]=(0,w.useReducer)(ts,{titleId:null,descriptionId:null,panelRef:(0,w.createRef)()}),q=I(()=>g(!1)),W=I(e=>V({type:0,id:e})),B=!!eb()&&0===Z,[Y,K]=(r=(0,w.useContext)(eG),o=(0,w.useRef)([]),l=I(e=>(o.current.push(e),r&&r.register(e),()=>i(e))),i=I(e=>{let t=o.current.indexOf(e);-1!==t&&o.current.splice(t,1),r&&r.unregister(e)}),a=(0,w.useMemo)(()=>({register:l,unregister:i,portals:o}),[l,i,o]),[o,(0,w.useMemo)(()=>function(e){let{children:t}=e;return w.createElement(eG.Provider,{value:a},t)},[a])]),X=ey(),{resolveContainers:J}=function(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=er(n),o=I(()=>{var o,l;let i=[];for(let t of e)null!==t&&(t instanceof HTMLElement?i.push(t):"current"in t&&t.current instanceof HTMLElement&&i.push(t.current));if(null!=t&&t.current)for(let e of t.current)i.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&&(n&&(e.contains(n)||e.contains(null==(l=null==n?void 0:n.getRootNode())?void 0:l.host))||i.some(t=>e.contains(t))||i.push(e));return i});return{resolveContainers:o,contains:I(e=>o().some(t=>t.contains(e)))}}({mainTreeNode:X,portals:Y,defaultContainers:[{get current(){var Q;return null!=(Q=H.panelRef.current)?Q:A.current}}]}),eo=null!==S&&(S&eC.Closing)===eC.Closing;(function(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=D(e,"inert-others");F(()=>{var e,o;if(!r)return;let l=j();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&l.add(z(t));let i=null!=(o=null==t?void 0:t())?o:[];for(let e of i){if(!e)continue;let t=$(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)i.some(t=>e.contains(t))||l.add(z(e));n=n.parentElement}}return l.dispose},[r,t,n])})(!k&&!eo&&B,{allowed:I(()=>{var e,t;return[null!=(t=null==(e=A.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:I(()=>{var e;return[null!=(e=null==X?void 0:X.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),n=e=>{e.preventDefault(),q()},u=D(B,"outside-click"),s=L(n),c=(0,w.useCallback)(function(e,t){if(e.defaultPrevented)return;let n=t(e);if(null!==n&&n.getRootNode().contains(n)&&n.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(J))if(null!==t&&(t.contains(n)||e.composed&&e.composedPath().includes(t)))return;return!function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=$(e))?void 0:t.body)&&_(n,{0:()=>e.matches(U),1(){let t=e;for(;null!==t;){if(t.matches(U))return!0;t=t.parentElement}return!1}})}(n,G.Loose)&&-1!==n.tabIndex&&e.preventDefault(),s.current(e,n)}},[s,J]),d=(0,w.useRef)(null),et(u,"pointerdown",e=>{var t,n;d.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),et(u,"mousedown",e=>{var t,n;d.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),et(u,"click",e=>{ee()||/Android/gi.test(window.navigator.userAgent)||d.current&&(c(e,()=>d.current),d.current=null)},!0),f=(0,w.useRef)({x:0,y:0}),et(u,"touchstart",e=>{f.current.x=e.touches[0].clientX,f.current.y=e.touches[0].clientY},!0),et(u,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-f.current.x)>=30||Math.abs(t.y-f.current.y)>=30))return c(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),en(u,"blur",e=>c(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=D(e,"escape");P(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===T.Escape&&n(e))})}(B,null==R?void 0:R.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),q()}),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),r=N(eE),o=t?r.get(t):void 0;o&&o.count,F(()=>{if(!(!t||!e))return eE.dispatch("PUSH",t,n),()=>eE.dispatch("POP",t,n)},[e,t])}(D(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}(!k&&!eo&&B,R,J),h=L(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&q()}),(0,w.useEffect)(()=>{if(!B)return;let e=null===A?null:A instanceof HTMLElement?A:A.current;if(!e)return;let t=j();if("undefined"!=typeof ResizeObserver){let n=new ResizeObserver(()=>h.current(e));n.observe(e),t.add(()=>n.disconnect())}if("undefined"!=typeof IntersectionObserver){let n=new IntersectionObserver(()=>h.current(e));n.observe(e),t.add(()=>n.disconnect())}return()=>t.dispose()},[A,h,B]);let[el,ei]=function(){let[e,t]=(0,w.useState)([]);return[e.length>0?e.join(" "):void 0,(0,w.useMemo)(()=>function(e){let n=I(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,w.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value}),[n,e.slot,e.name,e.props,e.value]);return w.createElement(eR.Provider,{value:r},e.children)},[t])]}(),eu=(0,w.useMemo)(()=>[{dialogState:Z,close:q,setTitleId:W,unmount:x},H],[Z,H,q,W,x]),es=(0,w.useMemo)(()=>({open:0===Z}),[Z]),ec={ref:O,id:p,role:E,tabIndex:-1,"aria-modal":k?void 0:0===Z||void 0,"aria-labelledby":H.titleId,"aria-describedby":el,unmount:x},ed=!function(){var e;let[t]=(0,w.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,w.useState)(null!=(e=null==t?void 0:t.matches)&&e);return F(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),ef=eq.None;B&&!k&&(ef|=eq.RestoreFocus,ef|=eq.TabLock,b&&(ef|=eq.AutoFocus),ed&&(ef|=eq.InitialFocus));let eh=ea();return w.createElement(eF,null,w.createElement(eP,{force:!0},w.createElement(eQ,null,w.createElement(ta.Provider,{value:eu},w.createElement(eJ,{target:A},w.createElement(eP,{force:!1},w.createElement(ei,{slot:es},w.createElement(K,null,w.createElement(ez,{initialFocus:y,initialFocusFallback:A,containers:J,features:ef},w.createElement(ex,{value:q},eh({ourProps:ec,theirProps:M,slot:es,defaultTag:td,features:tf,visible:0===Z,name:"Dialog"})))))))))))}),td="div",tf=el.RenderStrategy|el.Static,th=ed(function(e,t){let{transition:n=!1,open:r,...o}=e,l=eS(),i=e.hasOwnProperty("open")||null!==l,a=e.hasOwnProperty("onClose");if(!i&&!a)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!i)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==r||n)&&!o.static?w.createElement(eg,null,w.createElement(tr,{show:r,transition:n,unmount:o.unmount},w.createElement(tc,{ref:t,...o}))):w.createElement(eg,null,w.createElement(tc,{ref:t,open:r,...o}))}),tm=ed(function(e,t){let n=(0,w.useId)(),{id:r="headlessui-dialog-panel-".concat(n),transition:o=!1,...l}=e,[{dialogState:i,unmount:a},u]=tu("Dialog.Panel"),s=ek(t,u.panelRef),c=(0,w.useMemo)(()=>({open:0===i}),[i]),d=I(e=>{e.stopPropagation()}),f=o?tn:w.Fragment,h=ea();return w.createElement(f,{...o?{unmount:a}:{}},h({ourProps:{ref:s,id:r,onClick:d},theirProps:l,slot:c,defaultTag:"div",name:"Dialog.Panel"}))}),tp=Object.assign(th,{Panel:tm,Title:(ed(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=tu("Dialog.Backdrop"),i=(0,w.useMemo)(()=>({open:0===o}),[o]),a=n?tn:w.Fragment,u=ea();return w.createElement(a,{...n?{unmount:l}:{}},u({ourProps:{ref:t,"aria-hidden":!0},theirProps:r,slot:i,defaultTag:"div",name:"Dialog.Backdrop"}))}),ed(function(e,t){let n=(0,w.useId)(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:l,setTitleId:i}]=tu("Dialog.Title"),a=ek(t);(0,w.useEffect)(()=>(i(r),()=>i(null)),[r,i]);let u=(0,w.useMemo)(()=>({open:0===l}),[l]);return ea()({ourProps:{ref:a,id:r},theirProps:o,slot:u,defaultTag:"h2",name:"Dialog.Title"})})),Description:eN})},51464:function(e,t,n){"use strict";var r=n(26321);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",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))});t.Z=o},5545:function(e,t,n){"use strict";var r=n(26321);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",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},l),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});t.Z=o},32289:function(e,t,n){"use strict";n.d(t,{M:function(){return v}});var r=n(26321),o=n(80178);function l(){let e=(0,r.useRef)(!1);return(0,o.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var i=n(8131),a=n(99497),u=n(80089);class s extends r.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){let n=(0,r.useId)(),o=(0,r.useRef)(null),l=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:a}=l.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;let u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
          [data-motion-pop-id="${n}"] {
            position: absolute !important;
            width: ${e}px !important;
            height: ${r}px !important;
            top: ${i}px !important;
            left: ${a}px !important;
          }
        `),()=>{document.head.removeChild(u)}},[t]),r.createElement(s,{isPresent:t,childRef:o,sizeRef:l},r.cloneElement(e,{ref:o}))}let d=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:l,presenceAffectsLayout:i,mode:s})=>{let d=(0,u.h)(f),h=(0,r.useId)(),m=(0,r.useMemo)(()=>({id:h,initial:t,isPresent:n,custom:l,onExitComplete:e=>{for(let t of(d.set(e,!0),d.values()))if(!t)return;o&&o()},register:e=>(d.set(e,!1),()=>d.delete(e))}),i?void 0:[n]);return(0,r.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[n]),r.useEffect(()=>{n||d.size||!o||o()},[n]),"popLayout"===s&&(e=r.createElement(c,{isPresent:n},e)),r.createElement(a.O.Provider,{value:m},e)};function f(){return new Map}var h=n(20994),m=n(89531);let p=e=>e.key||"",v=({children:e,custom:t,initial:n=!0,onExitComplete:a,exitBeforeEnter:u,presenceAffectsLayout:s=!0,mode:c="sync"})=>{var f;(0,m.k)(!u,"Replace exitBeforeEnter with mode='wait'");let v=(0,r.useContext)(h.p).forceRender||function(){let e=l(),[t,n]=(0,r.useState)(0),o=(0,r.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,r.useCallback)(()=>i.Wi.postRender(o),[o]),t]}()[0],g=l(),y=function(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}(e),E=y,b=(0,r.useRef)(new Map).current,w=(0,r.useRef)(E),k=(0,r.useRef)(new Map).current,T=(0,r.useRef)(!0);if((0,o.L)(()=>{T.current=!1,function(e,t){e.forEach(e=>{let n=p(e);t.set(n,e)})}(y,k),w.current=E}),f=()=>{T.current=!0,k.clear(),b.clear()},(0,r.useEffect)(()=>()=>f(),[]),T.current)return r.createElement(r.Fragment,null,E.map(e=>r.createElement(d,{key:p(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:s,mode:c},e)));E=[...E];let x=w.current.map(p),M=y.map(p),C=x.length;for(let e=0;e<C;e++){let t=x[e];-1!==M.indexOf(t)||b.has(t)||b.set(t,void 0)}return"wait"===c&&b.size&&(E=[]),b.forEach((e,n)=>{if(-1!==M.indexOf(n))return;let o=k.get(n);if(!o)return;let l=x.indexOf(n),i=e;i||(i=r.createElement(d,{key:p(o),isPresent:!1,onExitComplete:()=>{b.delete(n);let e=Array.from(k.keys()).filter(e=>!M.includes(e));if(e.forEach(e=>k.delete(e)),w.current=y.filter(t=>{let r=p(t);return r===n||e.includes(r)}),!b.size){if(!1===g.current)return;v(),a&&a()}},custom:t,presenceAffectsLayout:s,mode:c},o),b.set(n,i)),E.splice(l,0,i)}),E=E.map(e=>{let t=e.key;return b.has(t)?e:r.createElement(d,{key:p(e),isPresent:!0,presenceAffectsLayout:s,mode:c},e)}),r.createElement(r.Fragment,null,b.size?E:E.map(e=>(0,r.cloneElement)(e)))}},34734:function(e,t,n){"use strict";n.d(t,{Y:function(){return l}});var r=n(26321);n(89531);let o={some:0,all:1};function l(e,{root:t,margin:n,amount:l,once:i=!1}={}){let[a,u]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e.current||i&&a)return;let r={root:t&&t.current||void 0,margin:n,amount:l};return function(e,t,{root:n,margin:r,amount:l="some"}={}){var i;let a=("string"==typeof(i=e)?i=document.querySelectorAll(i):i instanceof Element&&(i=[i]),Array.from(i||[])),u=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=u.get(e.target);if(!!n!==e.isIntersecting){if(e.isIntersecting){let n=t(e);"function"==typeof n?u.set(e.target,n):s.unobserve(e.target)}else n&&(n(e),u.delete(e.target))}})},{root:n,rootMargin:r,threshold:"number"==typeof l?l:o[l]});return a.forEach(e=>s.observe(e)),()=>s.disconnect()}(e.current,()=>(u(!0),i?void 0:()=>u(!1)),r)},[t,e,n,i,l]),a}}}]);