1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[243],{18005:function(e,t,l){l.d(t,{r:function(){return r}});var r=l(53168).c},59896:function(e,t,l){l.d(t,{n:function(){return J}});var r=l(26223),n=l(53377),a=l(61914),i=l(27731),s=l(37443);let o=new WeakMap;function d(e,t,l){if(!e)return"";"string"==typeof t&&(t=t.replace(/\s+/g,""));let r=o.get(e);return`${r}-${l}-${t}`}var u=l(22838),c=l(59679),b=l(22614),g=l(20132),f=l(73470),p=l(15311),h=(0,r.Gp)((e,t)=>{var l,r;let{as:o,tabKey:h,destroyInactiveTabPanel:v,state:y,className:m,slots:x,classNames:w,...K}=e,k=(0,n.gy)(t),{tabPanelProps:C}=function(e,t,l){var r;let n=!function(e,t){let l,[r,n]=(0,g.useState)(!1);return(0,b.b)(()=>{if((null==e?void 0:e.current)&&!l){let t=()=>{e.current&&n(!!(0,c.QL)(e.current,{tabbable:!0}).nextNode())};t();let l=new MutationObserver(t);return l.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{l.disconnect()}}}),!l&&r}(l)?0:void 0,a=d(t,null!==(r=e.id)&&void 0!==r?r:null==t?void 0:t.selectedKey,"tabpanel"),i=(0,u.b)({...e,id:a,"aria-labelledby":d(t,null==t?void 0:t.selectedKey,"tab")});return{tabPanelProps:(0,s.d)(i,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}({...e,id:String(h)},y,k),{focusProps:M,isFocused:D,isFocusVisible:L}=(0,f.F)(),S=y.selectedItem,N=y.collection.getItem(h).props.children,W=(0,a.W)(null==w?void 0:w.panel,m,null==(l=null==S?void 0:S.props)?void 0:l.className),I=h===(null==S?void 0:S.key);return N&&(I||!v)?(0,p.jsx)(o||"div",{ref:k,"data-focus":D,"data-focus-visible":L,"data-inert":I?void 0:"true",inert:(0,i.UE)(!I),...I&&(0,s.d)(C,M,K),className:null==(r=x.panel)?void 0:r.call(x,{class:W}),"data-slot":"panel",children:N}):null});h.displayName="HeroUI.TabPanel";var v=l(32690),y=l(39802),m=l(17865),x=l(91164),w=l(77831);let K=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};var k=l(98785),C=l(18305),M=l(40078),D=l(74019),L=l(26519),S=l(42589),N=l(89183);let W={...l(30528).H,...S.o,...N.b};var I=l(51125),P=(0,r.Gp)((e,t)=>{var l;let{className:r,as:i,item:o,state:u,classNames:c,isDisabled:b,listRef:h,slots:S,motionProps:N,disableAnimation:P,disableCursorAnimation:A,shouldSelectOnPressUp:E,onClick:j,tabRef:F,...H}=e,{key:R}=o,B=(0,n.gy)(t),z=i||(e.href?"a":"button"),{tabProps:T,isSelected:V,isDisabled:_,isPressed:O}=function(e,t,l){let{key:r,isDisabled:n,shouldSelectOnPressUp:a}=e,{selectionManager:i,selectedKey:o}=t,u=r===o,c=n||t.isDisabled||t.selectionManager.isDisabled(r),{itemProps:b,isPressed:g}=(0,M.C)({selectionManager:i,key:r,ref:l,isDisabled:c,shouldSelectOnPressUp:a,linkBehavior:"selection"}),f=d(t,r,"tab"),p=d(t,r,"tabpanel"),{tabIndex:h}=b,v=t.collection.getItem(r),y=(0,k.z)(null==v?void 0:v.props,{labelable:!0});delete y.id;let m=(0,C.eY)(null==v?void 0:v.props);return{tabProps:(0,s.d)(y,m,b,{id:f,"aria-selected":u,"aria-disabled":c||void 0,"aria-controls":u?p:void 0,tabIndex:c?void 0:h,role:"tab"}),isSelected:u,isDisabled:c,isPressed:g}}({key:R,isDisabled:b,shouldSelectOnPressUp:E},u,B);null==e.children&&delete T["aria-controls"];let U=b||_,{focusProps:J,isFocused:X,isFocusVisible:Q}=(0,f.F)(),{hoverProps:G,isHovered:Y}=(0,D.X)({isDisabled:U}),$=(0,a.W)(null==c?void 0:c.tab,r),[,q]=function(e={}){let{rerender:t=!1,delay:l=0}=e,r=(0,g.useRef)(!1),[n,a]=(0,g.useState)(!1);return(0,g.useEffect)(()=>{r.current=!0;let e=null;return t&&(l>0?e=setTimeout(()=>{a(!0)},l):a(!0)),()=>{r.current=!1,t&&a(!1),e&&clearTimeout(e)}},[t]),[(0,g.useCallback)(()=>r.current,[]),n]}({rerender:!0});return(0,p.jsxs)(z,{ref:(0,v.l)(B,F),"data-disabled":(0,m.PB)(_),"data-focus":(0,m.PB)(X),"data-focus-visible":(0,m.PB)(Q),"data-hover":(0,m.PB)(Y),"data-hover-unselected":(0,m.PB)((Y||O)&&!V),"data-pressed":(0,m.PB)(O),"data-selected":(0,m.PB)(V),"data-slot":"tab",...(0,s.d)(T,U?{}:{...J,...G},(0,y.z)(H,{enabled:"string"==typeof z,omitPropNames:new Set(["title"])}),{onClick:()=>{(0,x.t)(j,T.onClick),(null==B?void 0:B.current)&&(null==h?void 0:h.current)&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior((0,w.Q)(e,t));let l="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:n,left:a}of(0,w.Q)(e,K(t)))r.scroll({top:n,left:a,behavior:l})}(B.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:null==h?void 0:h.current})}}),className:null==(l=S.tab)?void 0:l.call(S,{class:$}),title:null==H?void 0:H.titleValue,type:"button"===z?"button":void 0,children:[V&&!P&&!A&&q?(0,p.jsx)(L.X,{features:W,children:(0,p.jsx)(I.m.span,{className:S.cursor({class:null==c?void 0:c.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...N})}):null,(0,p.jsx)("div",{className:S.tabContent({class:null==c?void 0:c.tabContent}),"data-slot":"tabContent",children:o.rendered})]})});P.displayName="HeroUI.Tab";var A=l(64866),E=l(89136),j=l(12213),F=l(7631),H=(0,j.tv)({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...F.Dh],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none","data-[inert=true]:hidden",...F.Dh],wrapper:[]},variants:{variant:{solid:{cursor:"inset-0"}
1,light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}},placement:{top:{},start:{tabList:"flex-col",panel:"py-0 px-3",wrapper:"flex"},end:{tabList:"flex-col",panel:"py-0 px-3",wrapper:"flex flex-row-reverse"},bottom:{wrapper:"flex flex-col-reverse"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:E.J.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:E.J.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:E.J.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:E.J.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:E.J.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),R=l(98558),B=l(50264);function z(e,t){let l=null;if(e){var r,n,a,i;for(l=e.getFirstKey();null!=l&&(t.has(l)||(null===(n=e.getItem(l))||void 0===n?void 0:null===(r=n.props)||void 0===r?void 0:r.isDisabled))&&l!==e.getLastKey();)l=e.getKeyAfter(l);null!=l&&(t.has(l)||(null===(i=e.getItem(l))||void 0===i?void 0:null===(a=i.props)||void 0===a?void 0:a.isDisabled))&&l===e.getLastKey()&&(l=e.getFirstKey())}return l}class T{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,l;return this.disabledKeys.has(e)||!!(null===(l=this.collection.getItem(e))||void 0===l?void 0:null===(t=l.props)||void 0===t?void 0:t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}
1getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){do null==(e=this.collection.getKeyAfter(e))&&(e=this.collection.getFirstKey());while(this.isDisabled(e));return e}getPreviousKey(e){do null==(e=this.collection.getKeyBefore(e))&&(e=this.collection.getLastKey());while(this.isDisabled(e));return e}constructor(e,t,l,r=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===l,this.disabledKeys=r,this.tabDirection="horizontal"===l}}var V=l(35014),_=l(86570),O=l(47327),U=l(50192),J=(0,r.Gp)(function(e,t){let{Component:l,values:d,state:c,destroyInactiveTabPanel:b,getBaseProps:f,getTabListProps:v,getWrapperProps:m}=function(e){var t,l,d;let c=(0,A.w)(),[b,f]=(0,r.oe)(e,H.variantKeys),{ref:p,as:h,className:v,classNames:m,children:x,disableCursorAnimation:w,motionProps:K,isVertical:k=!1,shouldSelectOnPressUp:C=!0,destroyInactiveTabPanel:M=!0,...D}=b,L=h||"div",S="string"==typeof L,N=(0,n.gy)(p),W=null!=(l=null!=(t=null==e?void 0:e.disableAnimation)?t:null==c?void 0:c.disableAnimation)&&l,I=function(e){var t,l;let r=function(e){var t;let[l,r]=(0,B.z)(e.selectedKey,null!==(t=e.defaultSelectedKey)&&void 0!==t?t:null,e.onSelectionChange),n=(0,g.useMemo)(()=>null!=l?[l]:[],[l]),{collection:a,disabledKeys:i,selectionManager:s}=(0,R.n)({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:n,onSelectionChange:t=>{var n;if("all"===t)return;let a=null!==(n=t.values().next().value)&&void 0!==n?n:null;a===l&&e.onSelectionChange&&e.onSelectionChange(a),r(a)}}),o=null!=l?a.getItem(l):null;return{collection:a,disabledKeys:i,selectionManager:s,selectedKey:l,setSelectedKey:r,selectedItem:o}}({...e,suppressTextValueWarning:!0,defaultSelectedKey:null!==(l=null!==(t=e.defaultSelectedKey)&&void 0!==t?t:z(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))&&void 0!==l?l:void 0}),{selectionManager:n,collection:a,selectedKey:i}=r,s=(0,g.useRef)(i);return(0,g.useEffect)(()=>{let e=i;(n.isEmpty||null==e||!a.getItem(e))&&null!=(e=z(a,r.disabledKeys))&&n.setSelectedKeys([e]),(null==e||null!=n.focusedKey)&&(n.isFocused||e===s.current)||n.setFocusedKey(e),s.current=e}),{...r,isDisabled:e.isDisabled||!1}}({children:x,...D}),{tabListProps:P}=function(e,t,l){let{orientation:r="horizontal",keyboardActivation:n="automatic"}=e,{collection:a,selectionManager:i,disabledKeys:d}=t,{direction:c}=(0,_.j)(),b=(0,g.useMemo)(()=>new T(a,c,r,d),[a,d,r,c]),{collectionProps:f}=(0,O.g)({ref:l,selectionManager:i,keyboardDelegate:b,selectOnFocus:"automatic"===n,disallowEmptySelection:!0,scrollRef:l,linkBehavior:"selection"}),p=(0,V.Me)();o.set(t,p);let h=(0,u.b)({...e,id:p});return{tabListProps:{...(0,s.d)(f,h),role:"tablist","aria-orientation":r,tabIndex:void 0}}}(D,I,N),E=(0,g.useMemo)(()=>H({...f,className:v,disableAnimation:W,...k?{placement:"start"}:{}}),[(0,i.Xx)(f),v,W,k]),j=(0,a.W)(null==m?void 0:m.base,v),F=(0,g.useMemo)(()=>({state:I,slots:E,classNames:m,motionProps:K,disableAnimation:W,listRef:N,shouldSelectOnPressUp:C,disableCursorAnimation:w,isDisabled:null==e?void 0:e.isDisabled}),[I,E,N,K,W,w,C,null==e?void 0:e.isDisabled,m]),U=(0,g.useCallback)(e=>({"data-slot":"base",className:E.base({class:(0,a.W)(j,null==e?void 0:e.className)}),...(0,s.d)((0,y.z)(D,{enabled:S}),e)}),[j,D,E]),J=null!=(d=f.placement)?d:k?"start":"top",X=(0,g.useCallback)(e=>({"data-slot":"tabWrapper",className:E.wrapper({class:(0,a.W)(null==m?void 0:m.wrapper,null==e?void 0:e.className)}),"data-placement":J,"data-vertical":k||"start"===J||"end"===J?"vertical":"horizontal"}),[m,E,J,k]),Q=(0,g.useCallback)(e=>({ref:N,"data-slot":"tabList",className:E.tabList({class:(0,a.W)(null==m?void 0:m.tabList,null==e?void 0:e.className)}),...(0,s.d)(P,e)}),[N,P,m,E]);return{Component:L,domRef:N,state:I,values:F,destroyInactiveTabPanel:M,getBaseProps:U,getTabListProps:Q,getWrapperProps:X}}({...e,ref:t}),x=(0,g.useId)(),w=!e.disableAnimation&&!e.disableCursorAnimation,K={state:c,listRef:d.listRef,slots:d.slots,classNames:d.classNames,isDisabled:d.isDisabled,motionProps:d.motionProps,disableAnimation:d.disableAnimation,shouldSelectOnPressUp:d.shouldSelectOnPressUp,disableCursorAnimation:d.disableCursorAnimation},k=[...c.collection].map(e=>(0,p.jsx)(P,{item:e,...K,...e.props}
1,e.key)),C=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{...f(),children:(0,p.jsx)(l,{...v(),children:w?(0,p.jsx)(U.S,{id:x,children:k}):k})}),[...c.collection].map(e=>(0,p.jsx)(h,{classNames:d.classNames,destroyInactiveTabPanel:b,slots:d.slots,state:d.state,tabKey:e.key},e.key))]});return"placement"in e||"isVertical"in e?(0,p.jsx)("div",{...m(),children:C}):C})},98558:function(e,t,l){l.d(t,{n:function(){return o}});class r{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let l=this.keyMap.get(e);return l&&null!==(t=l.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let l=this.keyMap.get(e);return l&&null!==(t=l.nextKey)&&void 0!==t?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!==(t=this.keyMap.get(e))&&void 0!==t?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let l=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)l(t)};for(let t of e)l(t);let r=null,n=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=n++),(r=t).nextKey=void 0;this.lastKey=null!==(t=null==r?void 0:r.key)&&void 0!==t?t:null}}var n=l(43071),a=l(34503),i=l(20132),s=l(6223);function o(e){let{filter:t,layoutDelegate:l}=e,o=(0,n.q)(e),d=(0,i.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),u=(0,i.useCallback)(e=>new r(t?t(e):e),[t]),c=(0,i.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),b=(0,s.K)(e,u,c),g=(0,i.useMemo)(()=>new a.Z(b,o,{layoutDelegate:l}),[b,o,l]),f=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(null!=o.focusedKey&&!b.getItem(o.focusedKey)&&f.current){var e,t,l,r,n,a,i;let s=f.current.getItem(o.focusedKey),d=[...f.current.getKeys()].map(e=>{let t=f.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),u=[...b.getKeys()].map(e=>{let t=b.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),c=(null!==(e=null==d?void 0:d.length)&&void 0!==e?e:0)-(null!==(t=null==u?void 0:u.length)&&void 0!==t?t:0),p=Math.min(c>1?Math.max((null!==(l=null==s?void 0:s.index)&&void 0!==l?l:0)-c+1,0):null!==(r=null==s?void 0:s.index)&&void 0!==r?r:0,(null!==(n=null==u?void 0:u.length)&&void 0!==n?n:0)-1),h=null,v=!1;for(;p>=0;){if(!g.isDisabled(u[p].key)){h=u[p];break}p<u.length-1&&!v?p++:(v=!0,p>(null!==(a=null==s?void 0:s.index)&&void 0!==a?a:0)&&(p=null!==(i=null==s?void 0:s.index)&&void 0!==i?i:0),p--)}o.setFocusedKey(h?h.key:null)}f.current=b},[b,g,o,o.focusedKey]),{collection:b,disabledKeys:d,selectionManager:g}}},77831:function(e,t,l){l.d(t,{Q:function(){return o}});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,n=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,a=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let l=getComputedStyle(e,null);return n(l.overflowY,t)||n(l.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},i=(e,t,l,r,n,a,i,s)=>a<e&&i>t||a>e&&i<t?0:a<=e&&s<=l||i>=t&&s>=l?a-e-r:i>t&&s<l||a<e&&s>l?i-t+n:0,s=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},o=(e,t)=>{var l,n,o,d;if("undefined"==typeof document)return[];let{scrollMode:u,block:c,inline:b,boundary:g,skipOverflowHiddenElements:f}=t,p="function"==typeof g?g:e=>e!==g;if(!r(e))throw TypeError("Invalid target");let h=document.scrollingElement||document.documentElement,v=[],y=e;for(;r(y)&&p(y);){if((y=s(y))===h){v.push(y);break}null!=y&&y===document.body&&a(y)&&!a(document.documentElement)||null!=y&&a(y,f)&&v.push(y)}
1let m=null!=(n=null==(l=window.visualViewport)?void 0:l.width)?n:innerWidth,x=null!=(d=null==(o=window.visualViewport)?void 0:o.height)?d:innerHeight,{scrollX:w,scrollY:K}=window,{height:k,width:C,top:M,right:D,bottom:L,left:S}=e.getBoundingClientRect(),{top:N,right:W,bottom:I,left:P}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),A="start"===c||"nearest"===c?M-N:"end"===c?L+I:M+k/2-N+I,E="center"===b?S+C/2-P+W:"end"===b?D+W:S-P,j=[];for(let e=0;e<v.length;e++){let t=v[e],{height:l,width:r,top:n,right:a,bottom:s,left:o}=t.getBoundingClientRect();if("if-needed"===u&&M>=0&&S>=0&&L<=x&&D<=m&&M>=n&&L<=s&&S>=o&&D<=a)break;let d=getComputedStyle(t),g=parseInt(d.borderLeftWidth,10),f=parseInt(d.borderTopWidth,10),p=parseInt(d.borderRightWidth,10),y=parseInt(d.borderBottomWidth,10),N=0,W=0,I="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-p:0,P="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-y:0,F="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,H="offsetHeight"in t?0===t.offsetHeight?0:l/t.offsetHeight:0;if(h===t)N="start"===c?A:"end"===c?A-x:"nearest"===c?i(K,K+x,x,f,y,K+A,K+A+k,k):A-x/2,W="start"===b?E:"center"===b?E-m/2:"end"===b?E-m:i(w,w+m,m,g,p,w+E,w+E+C,C),N=Math.max(0,N+K),W=Math.max(0,W+w);else{N="start"===c?A-n-f:"end"===c?A-s+y+P:"nearest"===c?i(n,s,l,f,y+P,A,A+k,k):A-(n+l/2)+P/2,W="start"===b?E-o-g:"center"===b?E-(o+r/2)+I/2:"end"===b?E-a+p+I:i(o,a,r,g,p+I,E,E+C,C);let{scrollLeft:e,scrollTop:d}=t;N=0===H?0:Math.max(0,Math.min(d+N/H,t.scrollHeight-l/H+P)),W=0===F?0:Math.max(0,Math.min(e+W/F,t.scrollWidth-r/F+I)),A+=d-N,E+=e-W}j.push({el:t,top:N,left:W})}return j}},50192:function(e,t,l){l.d(t,{S:function(){return b}});var r=l(15311),n=l(20132),a=l(35324);let i=(0,n.createContext)(null);var s=l(94190),o=l(72114);let d=e=>!e.isLayoutDirty&&e.willUpdate(!1),u=e=>!0===e,c=e=>u(!0===e)||"id"===e,b=({children:e,id:t,inherit:l=!0})=>{let b=(0,n.useContext)(a.p),g=(0,n.useContext)(i),[f,p]=function(){let e=function(){let e=(0,n.useRef)(!1);return(0,s.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,l]=(0,n.useState)(0),r=(0,n.useCallback)(()=>{e.current&&l(t+1)},[t]);return[(0,n.useCallback)(()=>o.Wi.postRender(r),[r]),t]}(),h=(0,n.useRef)(null),v=b.id||g;null===h.current&&(c(l)&&v&&(t=t?v+"-"+t:v),h.current={id:t,group:u(l)&&b.group||function(){let e=new Set,t=new WeakMap,l=()=>e.forEach(d);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",l))},remove:r=>{e.delete(r);let n=t.get(r);n&&(n(),t.delete(r)),l()},dirty:l}}()});let y=(0,n.useMemo)(()=>({...h.current,forceRender:f}),[p]);return(0,r.jsx)(a.p.Provider,{value:y,children:e})}},30528:function(e,t,l){l.d(t,{H:function(){return a}});var r=l(9254),n=l(46247);let a={renderer:l(82033).b,...r.s,...n.E}}}]);
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.