1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[371],{8411:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(69803),o=n(48553),a=n(7894),l=n(52078),u=n(9221),i=n(70367);let s=(0,i.FX)(function(e,t){var n;let s=(0,u._)(),{disabled:c=s||!1,autoFocus:d=!1,...f}=e,{isFocusVisible:p,focusProps:v}=(0,r.o)({autoFocus:d}),{isHovered:m,hoverProps:b}=(0,o.M)({isDisabled:c}),{pressed:h,pressProps:g}=(0,a.Z)({disabled:c}),w=(0,i.v6)({ref:t,type:null!=(n=f.type)?n:"button",disabled:c||void 0,autoFocus:d},v,b,g),E=(0,l._)({disabled:c,hover:m,focus:p,active:h,autofocus:d});return(0,i.Ci)()({ourProps:w,theirProps:f,slot:E,defaultTag:"button",name:"Button"})})},35967:(e,t,n)=>{"use strict";n.d(t,{XU:()=>f,Gr:()=>p,YK:()=>d});var r,o,a=n(4902),l=n(14232),u=n(77742);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(o||(o={}));var i=function(e){var t=(0,u.A)(),n=e.value,r=e.children,o=(0,a.Tt)(e,["value","children"]);return r(t.formatNumberToParts(n,o))};function s(e){var t=function(t){var n=(0,u.A)(),r=t.value,o=t.children,l=(0,a.Tt)(t,["value","children"]),i="string"==typeof r?new Date(r||0):r;return o("formatDate"===e?n.formatDateToParts(i,l):n.formatTimeToParts(i,l))};return t.displayName=o[e],t}function c(e){var t=function(t){var n=(0,u.A)(),r=t.value,o=t.children,i=(0,a.Tt)(t,["value","children"]),s=n[e](r,i);if("function"==typeof o)return o(s);var c=n.textComponent||l.Fragment;return l.createElement(c,null,s)};return t.displayName=r[e],t}function d(e){return e}i.displayName="FormattedNumberParts",i.displayName="FormattedNumberParts";var f=c("formatDate");c("formatTime");var p=c("formatNumber");c("formatList"),c("formatDisplayName"),s("formatDate"),s("formatTime")},38227:(e,t,n)=>{"use strict";n.d(t,{oz:()=>Y,fu:()=>U,wb:()=>N,Kp:()=>M,T2:()=>B});var r=n(69803),o=n(48553),a=n(14232),l=n(7894),u=n(49266),i=n(62214),s=n(72117),c=n(96668),d=n(52078),f=n(26),p=n(41691),v=n(65285);function m(e){let{onFocus:t}=e,[n,r]=(0,a.useState)(!0),o=(0,p.a)();return n?a.createElement(v.j,{as:"button",type:"button",features:v.u.Focusable,onFocus:e=>{e.preventDefault();let n,a=50;n=requestAnimationFrame(function e(){if(a--<=0){n&&cancelAnimationFrame(n);return}if(t()){if(cancelAnimationFrame(n),!o.current)return;r(!1);return}n=requestAnimationFrame(e)})}}):null}var b=n(84163),h=n(73872),g=n(93249),w=n(91222),E=n(70367);let T=a.createContext(null);function F(e){let{children:t}=e,n=a.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let o=null!=(n=r.get(t))?n:0;return r.set(t,o+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return a.createElement(T.Provider,{value:n},t)}function P(e){let t=a.useContext(T);if(!t)throw Error("You must wrap your component in a <StableCollection>");let n=a.useId(),[r,o]=t.current.get(e,n);return a.useEffect(()=>o,[]),r}var y=n(89075),D=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(D||{}),C=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(C||{}),x=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(x||{});let k={0(e,t){var n;let r=(0,b.wl)(e.tabs,e=>e.current),o=(0,b.wl)(e.panels,e=>e.current),a=r.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),l={...e,tabs:r,panels:o};if(t.index<0||t.index>r.length-1){let n=(0,h.Y)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,h.Y)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===a.length)return l;let o=(0,h.Y)(n,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});return{...l,selectedIndex:-1===o?e.selectedIndex:o}}let u=r.slice(0,t.index),i=[...r.slice(t.index),...u].find(e=>a.includes(e));if(!i)return l;let s=null!=(n=r.indexOf(i))?n:e.selectedIndex;return -1===s&&(s=e.selectedIndex),{...l,selectedIndex:s}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,b.wl)([...e.tabs,t.tab],e=>e.current),o=e.selectedIndex;return e.info.current.isControlled||-1===(o=r.indexOf(n))&&(o=e.selectedIndex),{...e,tabs:r,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>
1e.panels.includes(t.panel)?e:{...e,panels:(0,b.wl)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},I=(0,a.createContext)(null);function S(e){let t=(0,a.useContext)(I);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,S),t}return t}I.displayName="TabsDataContext";let L=(0,a.createContext)(null);function _(e){let t=(0,a.useContext)(L);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,_),t}return t}function R(e,t){return(0,h.Y)(t.type,k,e,t)}L.displayName="TabsActionsContext";let O=E.Ac.RenderStrategy|E.Ac.Static,A=(0,E.FX)(function(e,t){var n,s;let p=(0,a.useId)(),{id:v="headlessui-tabs-tab-".concat(p),disabled:m=!1,autoFocus:T=!1,...F}=e,{orientation:D,activation:C,selectedIndex:x,tabs:k,panels:I}=S("Tab"),L=_("Tab"),R=S("Tab"),[O,A]=(0,a.useState)(null),U=(0,a.useRef)(null),N=(0,f.P)(U,t,A);(0,i.s)(()=>L.registerTab(U),[L,U]);let B=P("tabs"),M=k.indexOf(U);-1===M&&(M=B);let Y=M===x,j=(0,u._)(e=>{let t=e();if(t===b.Me.Success&&"auto"===C){let e=(0,w.bq)(U.current),t=R.tabs.findIndex(t=>t.current===e);-1!==t&&L.change(t)}return t}),X=(0,u._)(e=>{let t=k.map(e=>e.current).filter(Boolean);if(e.key===y.D.Space||e.key===y.D.Enter){e.preventDefault(),e.stopPropagation(),L.change(M);return}switch(e.key){case y.D.Home:case y.D.PageUp:return e.preventDefault(),e.stopPropagation(),j(()=>(0,b.CU)(t,b.BD.First));case y.D.End:case y.D.PageDown:return e.preventDefault(),e.stopPropagation(),j(()=>(0,b.CU)(t,b.BD.Last))}if(j(()=>(0,h.Y)(D,{vertical:()=>e.key===y.D.ArrowUp?(0,b.CU)(t,b.BD.Previous|b.BD.WrapAround):e.key===y.D.ArrowDown?(0,b.CU)(t,b.BD.Next|b.BD.WrapAround):b.Me.Error,horizontal:()=>e.key===y.D.ArrowLeft?(0,b.CU)(t,b.BD.Previous|b.BD.WrapAround):e.key===y.D.ArrowRight?(0,b.CU)(t,b.BD.Next|b.BD.WrapAround):b.Me.Error}))===b.Me.Success)return e.preventDefault()}),W=(0,a.useRef)(!1),q=(0,u._)(()=>{var e;W.current||(W.current=!0,null==(e=U.current)||e.focus({preventScroll:!0}),L.change(M),(0,g._)(()=>{W.current=!1}))}),K=(0,u._)(e=>{e.preventDefault()}),{isFocusVisible:H,focusProps:G}=(0,r.o)({autoFocus:T}),{isHovered:V,hoverProps:$}=(0,o.M)({isDisabled:m}),{pressed:z,pressProps:Z}=(0,l.Z)({disabled:m}),J=(0,d._)({selected:Y,hover:V,active:z,focus:H,autofocus:T,disabled:m}),Q=(0,E.v6)({ref:N,onKeyDown:X,onMouseDown:K,onClick:q,id:v,role:"tab",type:(0,c.c)(e,O),"aria-controls":null==(s=null==(n=I[M])?void 0:n.current)?void 0:s.id,"aria-selected":Y,tabIndex:Y?0:-1,disabled:m||void 0,autoFocus:T},G,$,Z);return(0,E.Ci)()({ourProps:Q,theirProps:F,slot:J,defaultTag:"button",name:"Tabs.Tab"})}),U=(0,E.FX)(function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:o=!1,onChange:l,selectedIndex:c=null,...p}=e,v=r?"vertical":"horizontal",h=o?"manual":"auto",g=null!==c,w=(0,s.Y)({isControlled:g}),T=(0,f.P)(t),[P,y]=(0,a.useReducer)(R,{info:w,selectedIndex:null!=c?c:n,tabs:[],panels:[]}),D=(0,d._)({selectedIndex:P.selectedIndex}),C=(0,s.Y)(l||(()=>{})),x=(0,s.Y)(P.tabs),k=(0,a.useMemo)(()=>({orientation:v,activation:h,...P}),[v,h,P]),S=(0,u._)(e=>(y({type:1,tab:e}),()=>y({type:2,tab:e}))),_=(0,u._)(e=>(y({type:3,panel:e}),()=>y({type:4,panel:e}))),O=(0,u._)(e=>{A.current!==e&&C.current(e),g||y({type:0,index:e})}),A=(0,s.Y)(g?e.selectedIndex:P.selectedIndex),U=(0,a.useMemo)(()=>({registerTab:S,registerPanel:_,change:O}),[]);(0,i.s)(()=>{y({type:0,index:null!=c?c:n})},[c]),(0,i.s)(()=>{if(void 0===A.current||P.tabs.length<=0)return;let e=(0,b.wl)(P.tabs,e=>e.current);e.some((e,t)=>P.tabs[t]!==e)&&O(e.indexOf(P.tabs[A.current]))});let N=(0,E.Ci)();return a.createElement(F,null,a.createElement(L.Provider,{value:U},a.createElement(I.Provider,{value:k},k.tabs.length<=0&&a.createElement(m,{onFocus:()=>{var e,t;for(let n of x.current)if((null==(e=n.current)?void 0:e.tabIndex)===0)return null==(t=n.current)||t.focus(),!0;return!1}}),N({ourProps:{ref:T},theirProps:p,slot:D,defaultTag:"div",name:"Tabs"}))))}),N=(0,E.FX)(function(e,t){let{orientation:n,selectedIndex:r}=S("Tab.List"),o=(0,f.P)(t),a=(0,d._)({selectedIndex:r});return(0,E.Ci)()({ourProps:{ref:o,role:"tablist","aria-orientation":n},theirProps:e,slot:a,defaultTag:"div",name:"Tabs.List"})}),B=(0,E.FX)(function(e,t){let{selectedIndex:n}=S("Tab.Panels"),r=(0,f.P)(t),o=(0,d._)({selectedIndex:n});return(0,E.Ci)()({ourProps:{ref:r},theirProps:e,slot:o,defaultTag:"div",name:"Tabs.Panels"})}),M=(0,E.FX)(function(e,t){var n,o,l,u;let s=(0,a.useId)(),{id:c="headlessui-tabs-panel-".concat(s),tabIndex:p=0,...m}=e,{selectedIndex:b,tabs:h,panels:g}=S("Tab.Panel"),w=_("Tab.Panel"),T=(0,a.useRef)(null),F=(0,f.P)(T,t);(0,i.s)(()=>w.registerPanel(T),[w,T]);let y=P("panels"),D=g.indexOf(T);-1===D&&(D=y);let C=D===b,{isFocusVisible:x,focusProps:k}=(0,r.o)(),I=(0,d._)({selected:C,focus:x}),L=(0,E.v6)({ref:F,id:c,role:"tabpanel","aria-labelledby":null==(o=null==(n=h[D])?void 0:n.current)?void 0:o.id,tabIndex:C?p:-1},k),R=(0,E.Ci)();return C||null!=(l=m.unmount)&&!l||null!=(u=m.static)&&u?R({ourProps:L,theirProps:m,slot:I,defaultTag:"div",features:O,visible:C,name:"Tabs.Panel"}):a.createElement(v.j,{"aria-hidden":"true",...L})}),Y=Object.assign(A,{Group:U,List:N,Panels:B,Panel:M})}
1,39149:(e,t,n)=>{var r=0/0,o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=s||c||Function("return this")(),f=Object.prototype.toString,p=Math.max,v=Math.min,m=function(){return d.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return r;if(b(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=b(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var s=l.test(e);return s||u.test(e)?i(e.slice(2),s?2:8):a.test(e)?r:+e}e.exports=function(e,t,n){var r,o,a,l,u,i,s=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=r,a=o;return r=o=void 0,s=t,l=e.apply(a,n)}function w(e){var n=e-i,r=e-s;return void 0===i||n>=t||n<0||d&&r>=a}function E(){var e,n,r,o=m();if(w(o))return T(o);u=setTimeout(E,(e=o-i,n=o-s,r=t-e,d?v(r,a-n):r))}function T(e){return(u=void 0,f&&r)?g(e):(r=o=void 0,l)}function F(){var e,n=m(),a=w(n);if(r=arguments,o=this,i=n,a){if(void 0===u)return s=e=i,u=setTimeout(E,t),c?g(e):l;if(d)return u=setTimeout(E,t),g(i)}return void 0===u&&(u=setTimeout(E,t)),l}return t=h(t)||0,b(n)&&(c=!!n.leading,a=(d="maxWait"in n)?p(h(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),F.cancel=function(){void 0!==u&&clearTimeout(u),s=0,r=i=o=u=void 0},F.flush=function(){return void 0===u?l:T(m())},F}},41691:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(14232),o=n(62214);function a(){let e=(0,r.useRef)(!1);return(0,o.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},42135:(e,t,n)=>{"use strict";n.d(t,{Ub:()=>l});var r=n(14232);n(39149);var o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a="undefined"==typeof window;function l(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){let u=e=>a?t:window.matchMedia(e).matches,[i,s]=(0,r.useState)(()=>n?u(e):t);function c(){s(u(e))}return o(()=>{let t=window.matchMedia(e);return c(),t.addListener?t.addListener(c):t.addEventListener("change",c),()=>{t.removeListener?t.removeListener(c):t.removeEventListener("change",c)}},[e]),i}},61591:(e,t,n)=>{"use strict";n.d(t,{lG:()=>ew,Xi:()=>eg,Lj:()=>eh});var r=n(14232),o=n(89075),a=n(72117);function l(e,t,n,o){let l=(0,a.Y)(n);(0,r.useEffect)(()=>{function n(e){l.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)},[e,t,o])}var u=n(79156),i=n(49266),s=n(90226),c=n(62214),d=n(64787),f=n(92760),p=n(21217),v=n(65285),m=n(72925),b=n(91222);let h=(0,r.createContext)(null);function g(e){let{children:t,node:n}=e,[o,a]=(0,r.useState)(null),l=w(null!=n?n:o);return r.createElement(h.Provider,{value:l},t,null===l&&r.createElement(v.j,{features:v.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,b.TW)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&m.vq(r)&&null!=r&&r.contains(e)){a(r);break}}}}))}function w(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,r.useContext)(h))?e:t}var E=n(35896),T=n(54058),F=n(52078),P=n(26);let y=(0,r.createContext)(()=>{});function D(e){let{value:t,children:n}=e;return r.createElement(y.Provider,{value:t},n)}var C=n(30140),x=n(66924),k=n(76436),I=n(16630),S=n(73872),L=n(70367),_=n(96345),R=n(85069),O=n(41691),A=n(93986),U=n(38427),N=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(N||{});function B(e,t){let n=(0,r.useRef)([]),o=(0,i._)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,a]of t.entries())if(n.current[r]!==a){let r=o(t,e);return n.current=t,r}},[o,...t])}var M=n(84163);let Y=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!m.Lk(e.target)||e.target===document.body||Y[0]===e.target)return;let t=e.target;t=t.closest(M.Uo),Y.unshift(null!=t?t:e.target),(Y=Y.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 j=n(93249);function X(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)m.vq(n.current)&&t.add(n.current);return t}var W=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.Re
1storeFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(W||{});let q=Object.assign((0,L.FX)(function(e,t){let n,o=(0,r.useRef)(null),a=(0,P.P)(o,t),{initialFocus:s,initialFocusFallback:c,containers:d,features:f=15,...h}=e;(0,T.g)()||(f=0);let g=(0,p.g)(o.current);!function(e,t){let{ownerDocument:n}=t,o=!!(8&e),a=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)(Y.slice());return B((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,j._)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=Y.slice())},[e,Y,t]),(0,i._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(o);B(()=>{o||(0,b.X7)(null==n?void 0:n.body)&&(0,M.pW)(a())},[o]),(0,A.X)(()=>{o&&(0,M.pW)(a())})}(f,{ownerDocument:g});let w=function(e,t){let{ownerDocument:n,container:o,initialFocus:a,initialFocusFallback:l}=t,i=(0,r.useRef)(null),s=(0,u.S)(!!(1&e),"focus-trap#initial-focus"),c=(0,O.a)();return B(()=>{if(0===e)return;if(!s){null!=l&&l.current&&(0,M.pW)(l.current);return}let t=o.current;t&&(0,j._)(()=>{if(!c.current)return;let r=null==n?void 0:n.activeElement;if(null!=a&&a.current){if((null==a?void 0:a.current)===r){i.current=r;return}}else if(t.contains(r)){i.current=r;return}if(null!=a&&a.current)(0,M.pW)(a.current);else{if(16&e){if((0,M.CU)(t,M.BD.First|M.BD.AutoFocus)!==M.Me.Error)return}else if((0,M.CU)(t,M.BD.First)!==M.Me.Error)return;if(null!=l&&l.current&&((0,M.pW)(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,s,e]),i}(f,{ownerDocument:g,container:o,initialFocus:s,initialFocusFallback:c});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:a}=t,u=(0,O.a)(),i=!!(4&e);l(null==n?void 0:n.defaultView,"focus",e=>{if(!i||!u.current)return;let t=X(o);m.sb(r.current)&&t.add(r.current);let n=a.current;if(!n)return;let l=e.target;m.sb(l)?K(t,l)?(a.current=l,(0,M.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,M.pW)(n)):(0,M.pW)(a.current)},!0)}(f,{ownerDocument:g,container:o,containers:d,previousActiveElement:w});let E=(n=(0,r.useRef)(0),(0,U.M)(!0,"keydown",e=>{"Tab"===e.key&&(n.current=+!!e.shiftKey)},!0),n),F=(0,i._)(e=>{if(!m.sb(o.current))return;let t=o.current;(0,S.Y)(E.current,{[N.Forwards]:()=>{(0,M.CU)(t,M.BD.First,{skipElements:[e.relatedTarget,c]})},[N.Backwards]:()=>{(0,M.CU)(t,M.BD.Last,{skipElements:[e.relatedTarget,c]})}})}),y=(0,u.S)(!!(2&f),"focus-trap#tab-lock"),D=(0,R.L)(),C=(0,r.useRef)(!1),x=(0,L.Ci)();return r.createElement(r.Fragment,null,y&&r.createElement(v.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:v.u.Focusable}),x({ourProps:{ref:a,onKeyDown(e){"Tab"==e.key&&(C.current=!0,D.requestAnimationFrame(()=>{C.current=!1}))},onBlur(e){if(!(4&f))return;let t=X(d);m.sb(o.current)&&t.add(o.current);let n=e.relatedTarget;m.Lk(n)&&"true"!==n.dataset.headlessuiFocusGuard&&(K(t,n)||(C.current?(0,M.CU)(o.current,(0,S.Y)(E.current,{[N.Forwards]:()=>M.BD.Next,[N.Backwards]:()=>M.BD.Previous})|M.BD.WrapAround,{relativeTo:e.target}):m.Lk(e.target)&&(0,M.pW)(e.target)))}},theirProps:h,defaultTag:"div",name:"FocusTrap"}),y&&r.createElement(v.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:v.u.Focusable}))}),{features:W});function K(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var H=n(93247),G=n(64362),V=n(24676);function $(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!(0,L.zv)(null!=(t=e.as)?t:et)||1===r.Children.count(e.children)}let z=(0,r.createContext)(null);z.displayName="TransitionContext";var Z=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Z||{});let J=(0,r.createContext)(null);function Q(e){return"children"in e?Q(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 ee(e,t){let n=(0,a.Y)(e),o=(0,r.useRef)([]),l=(0,O.a)(),u=(0,R.L)(),s=(0,i._)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L.mK.Hidden,r=o.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==r&&((0,S.Y)(t,{[L.mK.Unmount](){o.current.splice(r,1)},[L.mK.Hidden](){o.current[r].state="hidden"}}),u.microTask(()=>{var e;!Q(o)&&l.current&&(null==(e=n.current)||e.call(n))}))}),c=(0,i._)(e=>
1{let t=o.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):o.current.push({el:e,state:"visible"}),()=>s(e,L.mK.Unmount)}),d=(0,r.useRef)([]),f=(0,r.useRef)(Promise.resolve()),p=(0,r.useRef)({enter:[],leave:[]}),v=(0,i._)((e,n,r)=>{d.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=>{d.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(p.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?f.current=f.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),m=(0,i._)((e,t,n)=>{Promise.all(p.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=d.current.shift())||e()}).then(()=>n(t))});return(0,r.useMemo)(()=>({children:o,register:c,unregister:s,onStart:v,onStop:m,wait:f,chains:p}),[c,s,o,v,m,p,f])}J.displayName="NestingContext";let et=r.Fragment,en=L.Ac.RenderStrategy,er=(0,L.FX)(function(e,t){let{show:n,appear:o=!1,unmount:a=!0,...l}=e,u=(0,r.useRef)(null),s=$(e),d=(0,P.P)(...s?[u,t]:null===t?[]:[t]);(0,T.g)();let f=(0,C.O_)();if(void 0===n&&null!==f&&(n=(f&C.Uw.Open)===C.Uw.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[p,v]=(0,r.useState)(n?"visible":"hidden"),m=ee(()=>{n||v("hidden")}),[b,h]=(0,r.useState)(!0),g=(0,r.useRef)([n]);(0,c.s)(()=>{!1!==b&&g.current[g.current.length-1]!==n&&(g.current.push(n),h(!1))},[g,n]);let w=(0,r.useMemo)(()=>({show:n,appear:o,initial:b}),[n,o,b]);(0,c.s)(()=>{n?v("visible"):Q(m)||null===u.current||v("hidden")},[n,m]);let E={unmount:a},F=(0,i._)(()=>{var t;b&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),y=(0,i._)(()=>{var t;b&&h(!1),null==(t=e.beforeLeave)||t.call(e)}),D=(0,L.Ci)();return r.createElement(J.Provider,{value:m},r.createElement(z.Provider,{value:w},D({ourProps:{...E,as:r.Fragment,children:r.createElement(eo,{ref:d,...E,...l,beforeEnter:F,beforeLeave:y})},theirProps:{},defaultTag:r.Fragment,features:en,visible:"visible"===p,name:"Transition"})))}),eo=(0,L.FX)(function(e,t){var n,o;let{transition:a=!0,beforeEnter:l,afterEnter:u,beforeLeave:s,afterLeave:d,enter:f,enterFrom:p,enterTo:v,entered:m,leave:b,leaveFrom:h,leaveTo:g,...w}=e,[E,F]=(0,r.useState)(null),y=(0,r.useRef)(null),D=$(e),x=(0,P.P)(...D?[y,t,F]:null===t?[]:[t]),k=null==(n=w.unmount)||n?L.mK.Unmount:L.mK.Hidden,{show:I,appear:_,initial:R}=function(){let e=(0,r.useContext)(z);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[O,A]=(0,r.useState)(I?"visible":"hidden"),U=function(){let e=(0,r.useContext)(J);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:N,unregister:B}=U;(0,c.s)(()=>N(y),[N,y]),(0,c.s)(()=>{if(k===L.mK.Hidden&&y.current)return I&&"visible"!==O?void A("visible"):(0,S.Y)(O,{hidden:()=>B(y),visible:()=>N(y)})},[O,y,N,B,I,k]);let M=(0,T.g)();(0,c.s)(()=>{if(D&&M&&"visible"===O&&null===y.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[y,O,M,D]);let Y=R&&!_,j=_&&I&&R,X=(0,r.useRef)(!1),W=ee(()=>{X.current||(A("hidden"),B(y))},U),q=(0,i._)(e=>{X.current=!0,W.onStart(y,e?"enter":"leave",e=>{"enter"===e?null==l||l():"leave"===e&&(null==s||s())})}),K=(0,i._)(e=>{let t=e?"enter":"leave";X.current=!1,W.onStop(y,t,e=>{"enter"===e?null==u||u():"leave"===e&&(null==d||d())}),"leave"!==t||Q(W)||(A("hidden"),B(y))});(0,r.useEffect)(()=>{D&&a||(q(I),K(I))},[I,D,a]);let H=!(!a||!D||!M||Y),[,Z]=(0,G.p)(H,E,I,{start:q,end:K}),er=(0,L.oE)({ref:x,className:(null==(o=(0,V.x)(w.className,j&&f,j&&p,Z.enter&&f,Z.enter&&Z.closed&&p,Z.enter&&!Z.closed&&v,Z.leave&&b,Z.leave&&!Z.closed&&h,Z.leave&&Z.closed&&g,!Z.transition&&I&&m))?void 0:o.trim())||void 0,...(0,G.B)(Z)}),eo=0;"visible"===O&&(eo|=C.Uw.Open),"hidden"===O&&(eo|=C.Uw.Closed),I&&"hidden"===O&&(eo|=C.Uw.Opening),I||"visible"!==O||(eo|=C.Uw.Closing);let ea=(0,L.Ci)();return r.createElement(J.Provider,{value:W},r.createElement(C.El,{value:eo},ea({ourProps:er,theirProps:w,defaultTag:et,features:en,visible:"visible"===O,name:"Transition.Child"})))}),ea=(0,L.FX)(function(e,t){let n=null!==(0,r.useContext)(z),o=null!==(0,C.O_)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(er,{ref:t,...e}):r.createElement(eo,{ref:t,...e}))}),el=Object.assign(er,{Child:ea,Root:er});var eu=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(eu||{}),ei=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(ei||{});let es={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ec=(0,r.createContext)(null);function ed(e){let t=(0,r.useContext)(ec);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,ed),t}return t}function ef(e,t){return(0,S.Y)(t.type,es,e,t)}ec.displayName="DialogContext";let ep=(0,L.FX)(function(e,t){let n=(0,r.useId)(),{id:a="headlessui-dialog-".concat(n),open:v,onClose:h,initialFocus:g,role:y="dialog",autoFocus:S=!0,__demoMode:R=!1,unmount:O=!1,...A}=e,U=(0,r.useRef)(!1);
1y="dialog"===y||"alertdialog"===y?y:(U.current||(U.current=!0,console.warn("Invalid role [".concat(y,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let N=(0,C.O_)();void 0===v&&null!==N&&(v=(N&C.Uw.Open)===C.Uw.Open);let B=(0,r.useRef)(null),M=(0,P.P)(B,t),Y=(0,p.g)(B.current),j=+!v,[X,K]=(0,r.useReducer)(ef,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),G=(0,i._)(()=>h(!1)),V=(0,i._)(e=>K({type:0,id:e})),$=!!(0,T.g)()&&0===j,[z,Z]=(0,H.k2)(),J=w(),{resolveContainers:Q}=function(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,i._)(()=>{var r,o;let a=(0,b.TW)(n),l=[];for(let t of e)null!==t&&(m.vq(t)?l.push(t):"current"in t&&m.vq(t.current)&&l.push(t.current));if(null!=t&&t.current)for(let e of t.current)l.push(e);for(let e of null!=(r=null==a?void 0:a.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&m.vq(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(o=null==n?void 0:n.getRootNode())?void 0:o.host))||l.some(t=>e.contains(t))||l.push(e));return l});
1return{resolveContainers:r,contains:(0,i._)(e=>r().some(t=>t.contains(e)))}}({mainTreeNode:J,portals:z,defaultContainers:[{get current(){var ee;return null!=(ee=X.panelRef.current)?ee:B.current}}]}),et=null!==N&&(N&C.Uw.Closing)===C.Uw.Closing;(0,s.v)(!R&&!et&&$,{allowed:(0,i._)(()=>{var e,t;return[null!=(t=null==(e=B.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,i._)(()=>{var e;return[null!=(e=null==J?void 0:J.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let en=k.D.get(null);(0,c.s)(()=>{if($)return en.actions.push(a),()=>en.actions.pop(a)},[en,a,$]);let er=(0,I.y)(en,(0,r.useCallback)(e=>en.selectors.isTop(e,a),[en,a]));(0,f.j)(er,Q,e=>{e.preventDefault(),G()}),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=(0,u.S)(e,"escape");l(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===o.D.Escape&&n(e))})}(er,null==Y?void 0:Y.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),G()}),(0,E.K)(!R&&!et&&$,Y,Q),(0,d.O)($,B,G);let[eo,ea]=(0,_.rU)(),el=(0,r.useMemo)(()=>[{dialogState:j,close:G,setTitleId:V,unmount:O},X],[j,G,V,O,X]),eu=(0,F._)({open:0===j}),ei={ref:M,id:a,role:y,tabIndex:-1,"aria-modal":R?void 0:0===j||void 0,"aria-labelledby":X.titleId,"aria-describedby":eo,unmount:O},es=!function(){var e;let[t]=(0,r.useState)(()=>"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,o]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,c.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){o(e.matches)}},[t]),n}(),ed=W.None;$&&!R&&(ed|=W.RestoreFocus,ed|=W.TabLock,S&&(ed|=W.AutoFocus),es&&(ed|=W.InitialFocus));let ep=(0,L.Ci)();return r.createElement(C.$x,null,r.createElement(x.a,{force:!0},r.createElement(H.ZL,null,r.createElement(ec.Provider,{value:el},r.createElement(H.Ee,{target:B},r.createElement(x.a,{force:!1},r.createElement(ea,{slot:eu},r.createElement(Z,null,r.createElement(q,{initialFocus:g,initialFocusFallback:B,containers:Q,features:ed},r.createElement(D,{value:G},ep({ourProps:ei,theirProps:A,slot:eu,defaultTag:ev,features:em,visible:0===j,name:"Dialog"})))))))))))}),ev="div",em=L.Ac.RenderStrategy|L.Ac.Static,eb=(0,L.FX)(function(e,t){let{transition:n=!1,open:o,...a}=e,l=(0,C.O_)(),u=e.hasOwnProperty("open")||null!==l,i=e.hasOwnProperty("onClose");if(!u&&!i)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!u)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!i)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!==o||n)&&!a.static?r.createElement(g,null,r.createElement(el,{show:o,transition:n,unmount:a.unmount},r.createElement(ep,{ref:t,...a}))):r.createElement(g,null,r.createElement(ep,{ref:t,open:o,...a}))}),eh=(0,L.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-panel-".concat(n),transition:a=!1,...l}=e,[{dialogState:u,unmount:s},c]=ed("Dialog.Panel"),d=(0,P.P)(t,c.panelRef),f=(0,F._)({open:0===u}),p=(0,i._)(e=>{e.stopPropagation()}),v=a?ea:r.Fragment,m=(0,L.Ci)();return r.createElement(v,{...a?{unmount:s}:{}},m({ourProps:{ref:d,id:o,onClick:p},theirProps:l,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),eg=(0,L.FX)(function(e,t){let{transition:n=!1,...o}=e,[{dialogState:a,unmount:l}]=ed("Dialog.Backdrop"),u=(0,F._)({open:0===a}),i=n?ea:r.Fragment,s=(0,L.Ci)();return r.createElement(i,{...n?{unmount:l}:{}},s({ourProps:{ref:t,"aria-hidden":!0},theirProps:o,slot:u,defaultTag:"div",name:"Dialog.Backdrop"}))}),ew=Object.assign(eb,{Panel:eh,Title:(0,L.FX)(function(e,t){let n=(0,r.useId)(),{id:o="headlessui-dialog-title-".concat(n),...a}=e,[{dialogState:l,setTitleId:u}]=ed("Dialog.Title"),i=(0,P.P)(t);(0,r.useEffect)(()=>(u(o),()=>u(null)),[o,u]);let s=(0,F._)({open:0===l});return(0,L.Ci)()({ourProps:{ref:i,id:o},theirProps:a,slot:s,defaultTag:"h2",name:"Dialog.Title"})}),Description:_.VY})}}]);
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.