PageSourceSearch

https://www.towns.com/_next/static/chunks/8360-c8edf54d4c5edd0f.js?dpl=dpl_3Myb315JvzYSgvfxaXECT9HepK8F

js towns.com collected 2026-10-02 16:23:40 UTC 32,170 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6049814c-743e-4d34-9766-d7dd77b8337c",e._sentryDebugIdIdentifier="sentry-dbid-6049814c-743e-4d34-9766-d7dd77b8337c")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8360],{2564:(e,r,t)=>{t.d(r,{Qg:()=>l,bL:()=>u,s6:()=>i});var n=t(12115),o=t(63655),a=t(95155),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),i=n.forwardRef((e,r)=>(0,a.jsx)(o.sG.span,{...e,ref:r,style:{...l,...e.style}}));i.displayName="VisuallyHidden";var u=i},11275:(e,r,t)=>{t.d(r,{X:()=>a});var n=t(12115),o=t(52712);function a(e){let[r,t]=n.useState(void 0);return(0,o.N)(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});let r=new ResizeObserver(r=>{let n,o;if(!Array.isArray(r)||!r.length)return;let a=r[0];if("borderBoxSize"in a){let e=a.borderBoxSize,r=Array.isArray(e)?e[0]:e;n=r.inlineSize,o=r.blockSize}else n=e.offsetWidth,o=e.offsetHeight;t({width:n,height:o})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}t(void 0)},[e]),r}},23853:(e,r,t)=>{t.r(r),t.d(r,{Arrow:()=>Y,CheckboxItem:()=>z,Content:()=>O,DropdownMenu:()=>w,DropdownMenuArrow:()=>k,DropdownMenuCheckboxItem:()=>E,DropdownMenuContent:()=>M,DropdownMenuGroup:()=>R,DropdownMenuItem:()=>j,DropdownMenuItemIndicator:()=>P,DropdownMenuLabel:()=>D,DropdownMenuPortal:()=>b,DropdownMenuRadioGroup:()=>I,DropdownMenuRadioItem:()=>S,DropdownMenuSeparator:()=>_,DropdownMenuSub:()=>K,DropdownMenuSubContent:()=>T,DropdownMenuSubTrigger:()=>A,DropdownMenuTrigger:()=>y,Group:()=>G,Item:()=>B,ItemIndicator:()=>X,Label:()=>U,Portal:()=>F,RadioGroup:()=>H,RadioItem:()=>V,Root:()=>N,Separator:()=>W,Sub:()=>q,SubContent:()=>J,SubTrigger:()=>Z,Trigger:()=>L,createDropdownMenuScope:()=>v});var n=t(12115),o=t(85185),a=t(6101),l=t(46081),i=t(5845),u=t(63655),d=t(82134),s=t(61285),c=t(95155),p="DropdownMenu",[f,v]=(0,l.A)(p,[d.UE]),m=(0,d.UE)(),[h,g]=f(p),w=e=>{let{__scopeDropdownMenu:r,children:t,dir:o,open:a,defaultOpen:l,onOpenChange:u,modal:f=!0}=e,v=m(r),g=n.useRef(null),[w,x]=(0,i.i)({prop:a,defaultProp:null!=l&&l,onChange:u,caller:p});return(0,c.jsx)(h,{scope:r,triggerId:(0,s.B)(),triggerRef:g,contentId:(0,s.B)(),open:w,onOpenChange:x,onOpenToggle:n.useCallback(()=>x(e=>!e),[x]),modal:f,children:(0,c.jsx)(d.bL,{...v,open:w,onOpenChange:x,dir:o,modal:f,children:t})})};w.displayName=p;var x="DropdownMenuTrigger",y=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,disabled:n=!1,...l}=e,i=g(x,t),s=m(t);return(0,c.jsx)(d.Mz,{asChild:!0,...s,children:(0,c.jsx)(u.sG.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...l,ref:(0,a.t)(r,i.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});y.displayName=x;var b=e=>{let{__scopeDropdownMenu:r,...t}=e,n=m(r);return(0,c.jsx)(d.ZL,{...n,...t})};b.displayName="DropdownMenuPortal";var C="DropdownMenuContent",M=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...a}=e,l=g(C,t),i=m(t),u=n.useRef(!1);return(0,c.jsx)(d.UC,{id:l.contentId,"aria-labelledby":l.triggerId,...i,...a,ref:r,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var r;u.current||null==(r=l.triggerRef.current)||r.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey,n=2===r.button||t;(!l.modal||n)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});M.displayName=C;var R=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.YJ,{...o,...n,ref:r})});R.displayName="DropdownMenuGroup";var D=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.JU,{...o,...n,ref:r})});D.displayName="DropdownMenuLabel";var j=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.q7,{...o,...n,ref:r})});j.displayName="DropdownMenuItem";var E=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.H_,{...o,...n,ref:r})});E.displayName="DropdownMenuCheckboxItem";var I=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.z6,{...o,...n,ref:r})});I.displayName="DropdownMenuRadioGroup";var S=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.hN,{...o,...n,ref:r})});S.displayName="DropdownMenuRadioItem";var P=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.VF,{...o,...n,ref:r})});P.displayName="DropdownMenuItemIndicator";var _=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.wv,{...o,...n,ref:r})});_.displayName="DropdownMenuSeparator";var k=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.i3,{...o,...n,ref:r})});k.displayName="DropdownMenuArrow";var K=e=>{let{__scopeDropdownMenu:r,children:t,open:n,onOpenChange:o,defaultOpen:a}=e,l=m(r),[u,s]=(0,i.i)({prop:n,defaultProp:null!=a&&a,onChange:o,caller:"DropdownMenuSub"});return(0,c.jsx)(d.Pb,{...l,open:u,onOpenChange:s,children:t})},A=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);return(0,c.jsx)(d.ZP,{...o,...n,ref:r})});A.displayName="DropdownMenuSubTrigger";var T=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=m(t);
1return(0,c.jsx)(d.G5,{...o,...n,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});T.displayName="DropdownMenuSubContent";var N=w,L=y,F=b,O=M,G=R,U=D,B=j,z=E,H=I,V=S,X=P,W=_,Y=k,q=K,Z=A,J=T},63753:(e,r,t)=>{t.d(r,{Mz:()=>K,i3:()=>T,UC:()=>A,bL:()=>k,Bk:()=>h});var n=t(12115),o=t(84945),a=t(41093),l=t(63655),i=t(95155),u=n.forwardRef((e,r)=>{let{children:t,width:n=10,height:o=5,...a}=e;return(0,i.jsx)(l.sG.svg,{...a,ref:r,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?t:(0,i.jsx)("polygon",{points:"0,0 30,0 15,10"})})});u.displayName="Arrow";var d=t(6101),s=t(46081),c=t(39033),p=t(52712),f=t(11275),v="Popper",[m,h]=(0,s.A)(v),[g,w]=m(v),x=e=>{let{__scopePopper:r,children:t}=e,[o,a]=n.useState(null);return(0,i.jsx)(g,{scope:r,anchor:o,onAnchorChange:a,children:t})};x.displayName=v;var y="PopperAnchor",b=n.forwardRef((e,r)=>{let{__scopePopper:t,virtualRef:o,...a}=e,u=w(y,t),s=n.useRef(null),c=(0,d.s)(r,s),p=n.useRef(null);return n.useEffect(()=>{let e=p.current;p.current=(null==o?void 0:o.current)||s.current,e!==p.current&&u.onAnchorChange(p.current)}),o?null:(0,i.jsx)(l.sG.div,{...a,ref:c})});b.displayName=y;var C="PopperContent",[M,R]=m(C),D=n.forwardRef((e,r)=>{var t,u,s,v,m,h,g,x;let{__scopePopper:y,side:b="bottom",sideOffset:R=0,align:D="center",alignOffset:j=0,arrowPadding:E=0,avoidCollisions:I=!0,collisionBoundary:k=[],collisionPadding:K=0,sticky:A="partial",hideWhenDetached:T=!1,updatePositionStrategy:N="optimized",onPlaced:L,...F}=e,O=w(C,y),[G,U]=n.useState(null),B=(0,d.s)(r,e=>U(e)),[z,H]=n.useState(null),V=(0,f.X)(z),X=null!=(g=null==V?void 0:V.width)?g:0,W=null!=(x=null==V?void 0:V.height)?x:0,Y="number"==typeof K?K:{top:0,right:0,bottom:0,left:0,...K},q=Array.isArray(k)?k:[k],Z=q.length>0,J={padding:Y,boundary:q.filter(S),altBoundary:Z},{refs:Q,floatingStyles:$,placement:ee,isPositioned:er,middlewareData:et}=(0,o.we)({strategy:"fixed",placement:b+("center"!==D?"-"+D:""),whileElementsMounted:function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,a.ll)(...r,{animationFrame:"always"===N})},elements:{reference:O.anchor},middleware:[(0,o.cY)({mainAxis:R+W,alignmentAxis:j}),I&&(0,o.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?(0,o.ER)():void 0,...J}),I&&(0,o.UU)({...J}),(0,o.Ej)({...J,apply:e=>{let{elements:r,rects:t,availableWidth:n,availableHeight:o}=e,{width:a,height:l}=t.reference,i=r.floating.style;i.setProperty("--radix-popper-available-width","".concat(n,"px")),i.setProperty("--radix-popper-available-height","".concat(o,"px")),i.setProperty("--radix-popper-anchor-width","".concat(a,"px")),i.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),z&&(0,o.UE)({element:z,padding:E}),P({arrowWidth:X,arrowHeight:W}),T&&(0,o.jD)({strategy:"referenceHidden",...J})]}),[en,eo]=_(ee),ea=(0,c.c)(L);(0,p.N)(()=>{er&&(null==ea||ea())},[er,ea]);let el=null==(t=et.arrow)?void 0:t.x,ei=null==(u=et.arrow)?void 0:u.y,eu=(null==(s=et.arrow)?void 0:s.centerOffset)!==0,[ed,es]=n.useState();return(0,p.N)(()=>{G&&es(window.getComputedStyle(G).zIndex)},[G]),(0,i.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:er?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ed,"--radix-popper-transform-origin":[null==(v=et.transformOrigin)?void 0:v.x,null==(m=et.transformOrigin)?void 0:m.y].join(" "),...(null==(h=et.hide)?void 0:h.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(M,{scope:y,placedSide:en,onArrowChange:H,arrowX:el,arrowY:ei,shouldHideArrow:eu,children:(0,i.jsx)(l.sG.div,{"data-side":en,"data-align":eo,...F,ref:B,style:{...F.style,animation:er?void 0:"none"}})})})});D.displayName=C;var j="PopperArrow",E={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},I=n.forwardRef(function(e,r){let{__scopePopper:t,...n}=e,o=R(j,t),a=E[o.placedSide];return(0,i.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,i.jsx)(u,{...n,ref:r,style:{...n.style,display:"block"}})})});function S(e){return null!==e}I.displayName=j;var P=e=>({name:"transformOrigin",options:e,fn(r){var t,n,o,a,l;let{placement:i,rects:u,middlewareData:d}=r,s=(null==(t=d.arrow)?void 0:t.centerOffset)!==0,c=s?0:e.arrowWidth,p=s?0:e.arrowHeight,[f,v]=_(i),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!=(a=null==(n=d.arrow)?void 0:n.x)?a:0)+c/2,g=(null!=(l=null==(o=d.arrow)?void 0:o.y)?l:0)+p/2,w="",x="";return"bottom"===f?(w=s?m:"".concat(h,"px"),x="".concat(-p,"px")):"top"===f?(w=s?m:"".concat(h,"px"),x="".concat(u.floating.height+p,"px")):"right"===f?(w="".concat(-p,"px"),x=s?m:"".concat(g,"px")):"left"===f&&(w="".concat(u.floating.width+p,"px"),x=s?m:"".concat(g,"px")),{data:{x:w,y:x}}}});function _(e){let[r,t="center"]=e.split("-");return[r,t]}var k=x,K=b,A=D,T=I},82134:(e,r,t)=>{t.d(r,{Mz:()=>eG,i3:()=>eJ,H_:()=>eX,UC:()=>eB,YJ:()=>ez,q7:()=>eV,VF:()=>eq,JU:()=>eH,ZL:()=>eU,z6:()=>eW,hN:()=>eY,bL:()=>eO,wv:()=>eZ,Pb:()=>eQ,G5:()=>e0,ZP:()=>e$,UE:()=>U});var n=t(12115),o=t(85185),a=t(29855),l=t(6101),i=t(46081),u=t(94315),d=t(19178),s=t(92293),c=t(63655),p=t(39033),f=t(95155),v="focusScope.autoFocusOnMount",m="focusScope.autoFocusOnUnmount",h={bubbles:!1,cancelable:!0},g=n.forwardRef((e,r)=>{let{loop:t=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...u}=e,[d,s]=n.useState(null),g=(0,p.c)(a),C=(0,p.c)(i),M=n.useRef(null),R=(0,l.s)(r,e=>s(e)),D=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(o){let e=function(e){if(D.paused||!d)return;let r=e.target;d.contains(r)?M.current=r:y(M.current,{select:!0})},r=function(e){if(D.paused||!d)return;let r=e.relatedTarget;null!==r&&(d.contains(r)||y(M.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",r);let t=new MutationObserver(function(e){if(document.activeElement===document.body)for(let r of e)r.removedNodes.length>0&&y(d)});return d&&t.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",r),t.disconnect()}}},[o,d,D.paused]),n.useEffect(()=>{if(d){b.add(D);let e=document.activeElement;if(!d.contains(e)){let r=new CustomEvent(v,h);d.addEventListener(v,g),d.dispatchEvent(r),r.defaultPrevented||(function(e){let{select:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=document.activeElement;for(let n of e)if(y(n,{select:r}),document.activeElement!==t)return}(w(d).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&y(d))}return()=>{d.removeEventListener(v,g),setTimeout(()=>{let r=new CustomEvent(m,h);d.addEventListener(m,C),d.dispatchEvent(r),r.defaultPrevented||y(null!=e?e:document.body,{select:!0}),d.removeEventListener(m,C),b.remove(D)},0)}}},[d,g,C,D]);let j=n.useCallback(e=>{if(!t&&!o||D.paused)return;let r="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(r&&n){let r=e.currentTarget,[o,a]=function(e){let r=w(e);return[x(r,e),x(r.reverse(),e)]}(r);o&&a?e.shiftKey||n!==a?e.shiftKey&&n===o&&(e.preventDefault(),t&&y(a,{select:!0})):(e.preventDefault(),t&&y(o,{select:!0})):n===r&&e.preventDefault()}},[t,o,D.paused]);return(0,f.jsx)(c.sG.div,{tabIndex:-1,...u,ref:R,onKeyDown:j})});function w(e){let r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let r="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||r?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)r.push(t.currentNode);return r}function x(e,r){for(let t of e)if(!function(e,r){let{upTo:t}=r;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,{upTo:r}))return t}function y(e){let{select:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var t;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(t=e)instanceof HTMLInputElement&&"select"in t&&r&&e.select()}}g.displayName="FocusScope";var b=function(){let e=[];return{add(r){let t=e[0];r!==t&&(null==t||t.pause()),(e=C(e,r)).unshift(r)},remove(r){var t;null==(t=(e=C(e,r))[0])||t.resume()}}}();function C(e,r){let t=[...e],n=t.indexOf(r);return -1!==n&&t.splice(n,1),t}var M=t(61285),R=t(63753),D=t(34378),j=t(28905),E=t(89196),I=t(99708),S=t(38168),P=t(93795),_=["Enter"," "],k=["ArrowUp","PageDown","End"],K=["ArrowDown","PageUp","Home",...k],A={ltr:[..._,"ArrowRight"],rtl:[..._,"ArrowLeft"]},T={ltr:["ArrowLeft"],rtl:["ArrowRight"]},N="Menu",[L,F,O]=(0,a.N)(N),[G,U]=(0,i.A)(N,[O,R.Bk,E.RG]),B=(0,R.Bk)(),z=(0,E.RG)(),[H,V]=G(N),[X,W]=G(N),Y=e=>{let{__scopeMenu:r,open:t=!1,children:o,dir:a,onOpenChange:l,modal:i=!0}=e,d=B(r),[s,c]=n.useState(null),v=n.useRef(!1),m=(0,p.c)(l),h=(0,u.jH)(a);return n.useEffect(()=>{let e=()=>{v.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},r=()=>v.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",r,{capture:!0}),document.removeEventListener("pointermove",r,{capture:!0})}},[]),(0,f.jsx)(R.bL,{...d,children:(0,f.jsx)(H,{scope:r,open:t,onOpenChange:m,content:s,onContentChange:c,children:(0,f.jsx)(X,{scope:r,onClose:n.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:v,dir:h,modal:i,children:o})})})};Y.displayName=N;var q=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e,o=B(t);return(0,f.jsx)(R.Mz,{...o,...n,ref:r})});q.displayName="MenuAnchor";var Z="MenuPortal",[J,Q]=G(Z,{forceMount:void 0}),$=e=>{let{__scopeMenu:r,forceMount:t,children:n,container:o}=e,a=V(Z,r);return(0,f.jsx)(J,{scope:r,forceMount:t,children:(0,f.jsx)(j.C,{present:t||a.open,children:(0,f.jsx)(D.Portal,{asChild:!0,container:o,children:n})})})};$.displayName=Z;var ee="MenuContent",[er,et]=G(ee),en=n.forwardRef((e,r)=>{let t=Q(ee,e.__scopeMenu),{forceMount:n=t.forceMount,...o}=e,a=V(ee,e.__scopeMenu),l=W(ee,e.__scopeMenu);return(0,f.jsx)(L.Provider,{scope:e.__scopeMenu,children:(0,f.jsx)(j.C,{present:n||a.open,children:(0,f.jsx)(L.Slot,{scope:e.__scopeMenu,children:l.modal?(0,f.jsx)(eo,{...o,ref:r}):(0,f.jsx)(ea,{...o,ref:r})})})})}),eo=n.forwardRef((e,r)=>{let t=V(ee,e.__scopeMenu),a=n.useRef(null),i=(0,l.s)(r,a);return n.useEffect(()=>{let e=a.current;if(e)return(0,S.Eq)(e)},[]),(0,f.jsx)(ei,{...e,ref:i,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),ea=n.forwardRef((e,r)=>{let t=V(ee,e.__scopeMenu);return(0,f.jsx)(ei,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),el=(0,I.TL)("MenuContent.ScrollLock"),ei=n.forwardRef((e,r)=>{let{__scopeMenu:t,loop:a=!1,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:c,disableOutsidePointerEvents:p,onEntryFocus:v,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:w,onInteractOutside:x,onDismiss:y,disableOutsideScroll:b,...C}=e,M=V(ee,t),D=W(ee,t),j=B(t),I=z(t),S=F(t),[_,A]=n.useState(null),T=n.useRef(null),N=(0,l.s)(r,T,M.onContentChange),L=n.useRef(0),O=n.useRef(""),G=n.useRef(0),U=n.useRef(null),H=n.useRef("right"),X=n.useRef(0),Y=b?P.A:n.Fragment,q=e=>{var r,t;let n=O.current+e,o=S().filter(e=>!e.disabled),a=document.activeElement,l=null==(r=o.find(e=>
1e.ref.current===a))?void 0:r.textValue,i=function(e,r,t){var n;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,a=t?e.indexOf(t):-1,l=(n=Math.max(a,0),e.map((r,t)=>e[(n+t)%e.length]));1===o.length&&(l=l.filter(e=>e!==t));let i=l.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==t?i:void 0}(o.map(e=>e.textValue),n,l),u=null==(t=o.find(e=>e.textValue===i))?void 0:t.ref.current;!function e(r){O.current=r,window.clearTimeout(L.current),""!==r&&(L.current=window.setTimeout(()=>e(""),1e3))}(n),u&&setTimeout(()=>u.focus())};n.useEffect(()=>()=>window.clearTimeout(L.current),[]),(0,s.Oh)();let Z=n.useCallback(e=>{var r,t;return H.current===(null==(r=U.current)?void 0:r.side)&&function(e,r){return!!r&&function(e,r){let{x:t,y:n}=e,o=!1;for(let e=0,a=r.length-1;e<r.length;a=e++){let l=r[e],i=r[a],u=l.x,d=l.y,s=i.x,c=i.y;d>n!=c>n&&t<(s-u)*(n-d)/(c-d)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)}(e,null==(t=U.current)?void 0:t.area)},[]);return(0,f.jsx)(er,{scope:t,searchRef:O,onItemEnter:n.useCallback(e=>{Z(e)&&e.preventDefault()},[Z]),onItemLeave:n.useCallback(e=>{var r;Z(e)||(null==(r=T.current)||r.focus(),A(null))},[Z]),onTriggerLeave:n.useCallback(e=>{Z(e)&&e.preventDefault()},[Z]),pointerGraceTimerRef:G,onPointerGraceIntentChange:n.useCallback(e=>{U.current=e},[]),children:(0,f.jsx)(Y,{...b?{as:el,allowPinchZoom:!0}:void 0,children:(0,f.jsx)(g,{asChild:!0,trapped:i,onMountAutoFocus:(0,o.mK)(u,e=>{var r;e.preventDefault(),null==(r=T.current)||r.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,f.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:p,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:w,onInteractOutside:x,onDismiss:y,children:(0,f.jsx)(E.bL,{asChild:!0,...I,dir:D.dir,orientation:"vertical",loop:a,currentTabStopId:_,onCurrentTabStopIdChange:A,onEntryFocus:(0,o.mK)(v,e=>{D.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,f.jsx)(R.UC,{role:"menu","aria-orientation":"vertical","data-state":eT(M.open),"data-radix-menu-content":"",dir:D.dir,...j,...C,ref:N,style:{outline:"none",...C.style},onKeyDown:(0,o.mK)(C.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,t=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;r&&("Tab"===e.key&&e.preventDefault(),!t&&n&&q(e.key));let o=T.current;if(e.target!==o||!K.includes(e.key))return;e.preventDefault();let a=S().filter(e=>!e.disabled).map(e=>e.ref.current);k.includes(e.key)&&a.reverse(),function(e){let r=document.activeElement;for(let t of e)if(t===r||(t.focus(),document.activeElement!==r))return}(a)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(L.current),O.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,eF(e=>{let r=e.target,t=X.current!==e.clientX;e.currentTarget.contains(r)&&t&&(H.current=e.clientX>X.current?"right":"left",X.current=e.clientX)}))})})})})})})});en.displayName=ee;var eu=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,f.jsx)(c.sG.div,{role:"group",...n,ref:r})});eu.displayName="MenuGroup";var ed=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,f.jsx)(c.sG.div,{...n,ref:r})});ed.displayName="MenuLabel";var es="MenuItem",ec="menu.itemSelect",ep=n.forwardRef((e,r)=>{let{disabled:t=!1,onSelect:a,...i}=e,u=n.useRef(null),d=W(es,e.__scopeMenu),s=et(es,e.__scopeMenu),p=(0,l.s)(r,u),v=n.useRef(!1);return(0,f.jsx)(ef,{...i,ref:p,disabled:t,onClick:(0,o.mK)(e.onClick,()=>{let e=u.current;if(!t&&e){let r=new CustomEvent(ec,{bubbles:!0,cancelable:!0});e.addEventListener(ec,e=>null==a?void 0:a(e),{once:!0}),(0,c.hO)(e,r),r.defaultPrevented?v.current=!1:d.onClose()}}),onPointerDown:r=>{var t;null==(t=e.onPointerDown)||t.call(e,r),v.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{var r;v.current||null==(r=e.currentTarget)||r.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let r=""!==s.searchRef.current;t||r&&" "===e.key||_.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ep.displayName=es;var ef=n.forwardRef((e,r)=>{let{__scopeMenu:t,disabled:a=!1,textValue:i,...u}=e,d=et(es,t),s=z(t),p=n.useRef(null),v=(0,l.s)(r,p),[m,h]=n.useState(!1),[g,w]=n.useState("");return n.useEffect(()=>{let e=p.current;if(e){var r;w((null!=(r=e.textContent)?r:"").trim())}},[u.children]),(0,f.jsx)(L.ItemSlot,{scope:t,disabled:a,textValue:null!=i?i:g,children:(0,f.jsx)(E.q7,{asChild:!0,...s,focusable:!a,children:(0,f.jsx)(c.sG.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...u,ref:v,onPointerMove:(0,o.mK)(e.onPointerMove,eF(e=>{a?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eF(e=>d.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>h(!0)),onBlur:(0,o.mK)(e.onBlur,()=>h(!1))})})})}),ev=n.forwardRef((e,r)=>{let{checked:t=!1,onCheckedChange:n,...a}=e;return(0,f.jsx)(eC,{scope:e.__scopeMenu,checked:t,children:(0,f.jsx)(ep,{role:"menuitemcheckbox","aria-checked":eN(t)?"mixed":t,...a,ref:r,"data-state":eL(t),onSelect:(0,o.mK)(a.onSelect,()=>null==n?void 0:n(!!eN(t)||!t),{checkForDefaultPrevented:!1})})})});ev.displayName="MenuCheckboxItem";var em="MenuRadioGroup",[eh,eg]=G(em,{value:void 0,onValueChange:()=>{}}),ew=n.forwardRef((e,r)=>{let{value:t,onValueChange:n,...o}=e,a=(0,p.c)(n);return(0,f.jsx)(eh,{scope:e.__scopeMenu,value:t,onValueChange:a,children:(0,f.jsx)(eu,{...o,ref:r})})});ew.displayName=em;var ex="MenuRadioItem",ey=n.forwardRef((e,r)=>{let{value:t,...n}=e,a=eg(ex,e.__scopeMenu),l=t===a.value;return(0,f.jsx)(eC,{scope:e.__scopeMenu,checked:l,children:(0,f.jsx)(ep,{role:"menuitemradio","aria-checked":l,...n,ref:r,"data-state":eL(l),onSelect:(0,o.mK)(n.onSelect,()=>{var e;return null==(e=a.onValueChange)?void 0:e.call(a,t)},{checkForDefaultPrevented:!1})})})});ey.displayName=ex;var eb="MenuItemIndicator",[eC,eM]=G(eb,{checked:!1}),eR=n.forwardRef((e,r)=>{let{__scopeMenu:t,forceMount:n,...o}=e,a=eM(eb,t);return(0,f.jsx)(j.C,{present:n||eN(a.checked)||!0===a.checked,children:(0,f.jsx)(c.sG.span,{...o,ref:r,"data-state":eL(a.checked)})})});eR.displayName=eb;var eD=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,f.jsx)(c.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:r})});eD.displayName="MenuSeparator";var ej=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e,o=B(t);return(0,f.jsx)(R.i3,{...o,...n,ref:r})});ej.displayName="MenuArrow";var eE="MenuSub",[eI,eS]=G(eE),eP=e=>{let{__scopeMenu:r,children:t,open:o=!1,onOpenChange:a}=e,l=V(eE,r),i=B(r),[u,d]=n.useState(null),[s,c]=n.useState(null),v=(0,p.c)(a);return n.useEffect(()=>(!1===l.open&&v(!1),()=>v(!1)),[l.open,v]),(0,f.jsx)(R.bL,{...i,children:(0,f.jsx)(H,{scope:r,open:o,onOpenChange:v,content:s,onContentChange:c,children:(0,f.jsx)(eI,{scope:r,contentId:(0,M.B)(),triggerId:(0,M.B)(),trigger:u,onTriggerChange:d,children:t})})})};eP.displayName=eE;var e_="MenuSubTrigger",ek=n.forwardRef((e,r)=>{let t=V(e_,e.__scopeMenu),a=W(e_,e.__scopeMenu),i=eS(e_,e.__scopeMenu),u=et(e_,e.__scopeMenu),d=n.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=u,p={__scopeMenu:e.__scopeMenu},v=n.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return n.useEffect(()=>v,[v]),n.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]),(0,f.jsx)(q,{asChild:!0,...p,children:(0,f.jsx)(ef,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":i.contentId,"data-state":eT(t.open),...e,ref:(0,l.t)(r,i.onTriggerChange),onClick:r=>{var n;null==(n=e.onClick)||n.call(e,r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,eF(r=>{u.onItemEnter(r),!r.defaultPrevented&&(e.disabled||t.open||d.current||(u.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{t.onOpenChange(!0),v()},100)))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eF(e=>{var r,n;v();let o=null==(r=t.content)?void 0:r.getBoundingClientRect();if(o){let r=null==(n=t.content)?void 0:n.dataset.side,a="right"===r,l=o[a?"left":"right"],i=o[a?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:l,y:o.top},{x:i,y:o.top},{x:i,y:o.bottom},{x:l,y:o.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,r=>{let n=""!==u.searchRef.current;if(!e.disabled&&(!n||" "!==r.key)&&A[a.dir].includes(r.key)){var o;t.onOpenChange(!0),null==(o=t.content)||o.focus(),r.preventDefault()}})})})});ek.displayName=e_;var eK="MenuSubContent",eA=n.forwardRef((e,r)=>{let t=Q(ee,e.__scopeMenu),{forceMount:a=t.forceMount,...i}=e,u=V(ee,e.__scopeMenu),d=W(ee,e.__scopeMenu),s=eS(eK,e.__scopeMenu),c=n.useRef(null),p=(0,l.s)(r,c);return(0,f.jsx)(L.Provider,{scope:e.__scopeMenu,children:(0,f.jsx)(j.C,{present:a||u.open,children:(0,f.jsx)(L.Slot,{scope:e.__scopeMenu,children:(0,f.jsx)(ei,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:p,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var r;d.isUsingKeyboardRef.current&&(null==(r=c.current)||r.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==s.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),t=T[d.dir].includes(e.ke
1y);if(r&&t){var n;u.onOpenChange(!1),null==(n=s.trigger)||n.focus(),e.preventDefault()}})})})})})});function eT(e){return e?"open":"closed"}function eN(e){return"indeterminate"===e}function eL(e){return eN(e)?"indeterminate":e?"checked":"unchecked"}function eF(e){return r=>"mouse"===r.pointerType?e(r):void 0}eA.displayName=eK;var eO=Y,eG=q,eU=$,eB=en,ez=eu,eH=ed,eV=ep,eX=ev,eW=ew,eY=ey,eq=eR,eZ=eD,eJ=ej,eQ=eP,e$=ek,e0=eA},89196:(e,r,t)=>{t.d(r,{RG:()=>b,bL:()=>P,q7:()=>_});var n=t(12115),o=t(85185),a=t(29855),l=t(6101),i=t(46081),u=t(61285),d=t(63655),s=t(39033),c=t(5845),p=t(94315),f=t(95155),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[g,w,x]=(0,a.N)(h),[y,b]=(0,i.A)(h,[x]),[C,M]=y(h),R=n.forwardRef((e,r)=>(0,f.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(D,{...e,ref:r})})}));R.displayName=h;var D=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:a,loop:i=!1,dir:u,currentTabStopId:g,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:y,onEntryFocus:b,preventScrollOnEntryFocus:M=!1,...R}=e,D=n.useRef(null),j=(0,l.s)(r,D),E=(0,p.jH)(u),[I,P]=(0,c.i)({prop:g,defaultProp:null!=x?x:null,onChange:y,caller:h}),[_,k]=n.useState(!1),K=(0,s.c)(b),A=w(t),T=n.useRef(!1),[N,L]=n.useState(0);return n.useEffect(()=>{let e=D.current;if(e)return e.addEventListener(v,K),()=>e.removeEventListener(v,K)},[K]),(0,f.jsx)(C,{scope:t,orientation:a,dir:E,loop:i,currentTabStopId:I,onItemFocus:n.useCallback(e=>P(e),[P]),onItemShiftTab:n.useCallback(()=>k(!0),[]),onFocusableItemAdd:n.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>L(e=>e-1),[]),children:(0,f.jsx)(d.sG.div,{tabIndex:_||0===N?-1:0,"data-orientation":a,...R,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let r=!T.current;if(e.target===e.currentTarget&&r&&!_){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=A().filter(e=>e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),M)}}T.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>k(!1))})})}),j="RovingFocusGroupItem",E=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:l=!1,tabStopId:i,children:s,...c}=e,p=(0,u.B)(),v=i||p,m=M(j,t),h=m.currentTabStopId===v,x=w(t),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:C}=m;return n.useEffect(()=>{if(a)return y(),()=>b()},[a,y,b]),(0,f.jsx)(g.ItemSlot,{scope:t,id:v,focusable:a,active:l,children:(0,f.jsx)(d.sG.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:r,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{a?m.onItemFocus(v):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(v)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return I[o]}(e,m.orientation,m.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=x().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)t.reverse();else if("prev"===r||"next"===r){"prev"===r&&t.reverse();let n=t.indexOf(e.currentTarget);t=m.loop?function(e,r){return e.map((t,n)=>e[(r+n)%e.length])}(t,n+1):t.slice(n+1)}setTimeout(()=>S(t))}}),children:"function"==typeof s?s({isCurrentTabStop:h,hasTabStop:null!=C}):s})})});E.displayName=j;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var P=R,_=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.