PageSourceSearch

https://gobyhomes.com/_next/static/chunks/1113-4b51bf74a93fab59.js

js gobyhomes.com collected 2026-10-04 02:55:02 UTC 44,045 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1113],{28165:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(33480).Z)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},69324:function(e,t,r){r.d(t,{fC:function(){return C},z$:function(){return M}});var n=r(22988),o=r(2265),i=r(1584),a=r(98324),s=r(78149),u=r(91715),l=r(47250),c=r(75238),d=r(83189),h=r(25171);let p="Checkbox",[f,v]=(0,a.b)(p),[m,g]=f(p),y=(0,o.forwardRef)((e,t)=>{let{__scopeCheckbox:r,name:a,checked:l,defaultChecked:c,required:d,disabled:p,value:f="on",onCheckedChange:v,...g}=e,[y,b]=(0,o.useState)(null),C=(0,i.e)(t,e=>b(e)),M=(0,o.useRef)(!1),_=!y||!!y.closest("form"),[S=!1,O]=(0,u.T)({prop:l,defaultProp:c,onChange:v}),D=(0,o.useRef)(S);return(0,o.useEffect)(()=>{let e=null==y?void 0:y.form;if(e){let t=()=>O(D.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[y,O]),(0,o.createElement)(m,{scope:r,state:S,disabled:p},(0,o.createElement)(h.WV.button,(0,n.Z)({type:"button",role:"checkbox","aria-checked":R(S)?"mixed":S,"aria-required":d,"data-state":E(S),"data-disabled":p?"":void 0,disabled:p,value:f},g,{ref:C,onKeyDown:(0,s.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,s.M)(e.onClick,e=>{O(e=>!!R(e)||!e),_&&(M.current=e.isPropagationStopped(),M.current||e.stopPropagation())})})),_&&(0,o.createElement)(w,{control:y,bubbles:!M.current,name:a,value:f,checked:S,required:d,disabled:p,style:{transform:"translateX(-100%)"}}))}),b=(0,o.forwardRef)((e,t)=>{let{__scopeCheckbox:r,forceMount:i,...a}=e,s=g("CheckboxIndicator",r);return(0,o.createElement)(d.z,{present:i||R(s.state)||!0===s.state},(0,o.createElement)(h.WV.span,(0,n.Z)({"data-state":E(s.state),"data-disabled":s.disabled?"":void 0},a,{ref:t,style:{pointerEvents:"none",...e.style}})))}),w=e=>{let{control:t,checked:r,bubbles:i=!0,...a}=e,s=(0,o.useRef)(null),u=(0,l.D)(r),d=(0,c.t)(t);return(0,o.useEffect)(()=>{let e=s.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(u!==r&&t){let n=new Event("click",{bubbles:i});e.indeterminate=R(r),t.call(e,!R(r)&&r),e.dispatchEvent(n)}},[u,r,i]),(0,o.createElement)("input",(0,n.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:!R(r)&&r},a,{tabIndex:-1,ref:s,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function R(e){return"indeterminate"===e}function E(e){return R(e)?"indeterminate":e?"checked":"unchecked"}let C=y,M=b},79550:function(e,t,r){r.d(t,{B:function(){return s}});var n=r(2265),o=r(98324),i=r(1584),a=r(71538);function s(e){let t=e+"CollectionProvider",[r,s]=(0,o.b)(t),[u,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",d=n.forwardRef((e,t)=>{let{scope:r,children:o}=e,s=l(c,r),u=(0,i.e)(t,s.collectionRef);return n.createElement(a.g7,{ref:u},o)}),h=e+"CollectionItemSlot",p="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:r}=e,o=n.useRef(null),i=n.useRef(new Map).current;return n.createElement(u,{scope:t,itemMap:i,collectionRef:o},r)},Slot:d,ItemSlot:n.forwardRef((e,t)=>{let{scope:r,children:o,...s}=e,u=n.useRef(null),c=(0,i.e)(t,u),d=l(h,r);return n.useEffect(()=>(d.itemMap.set(u,{ref:u,...s}),()=>void d.itemMap.delete(u))),n.createElement(a.g7,{[p]:"",ref:c},o)})},function(t){let r=l(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},s]}},87513:function(e,t,r){r.d(t,{gm:function(){return i}});var n=r(2265);let o=(0,n.createContext)(void 0);function i(e){let t=(0,n.useContext)(o);return e||t||"ltr"}},48231:function(e,t,r){r.d(t,{oC:function(){return tl},VY:function(){return ti},h_:function(){return eJ},AW:function(){return e1},Xi:function(){return e3},$F:function(){return e0},ZA:function(){return ta},ck:function(){return tu},wU:function(){return th},__:function(){return ts},Uv:function(){return to},Ee:function(){return tc},Rk:function(){return td},fC:function(){return tr},Z0:function(){return tp}
1,Tr:function(){return tf},tu:function(){return tm},fF:function(){return tv},xz:function(){return tn}});var n=r(22988),o=r(2265),i=r(78149),a=r(1584),s=r(98324),u=r(91715),l=r(25171),c=r(79550),d=r(87513),h=r(53938),p=r(20589),f=r(80467),v=r(53201),m=r(94674),g=r(8143);let y=(0,o.forwardRef)((e,t)=>{let{children:r,width:i=10,height:a=5,...s}=e;return(0,o.createElement)(l.WV.svg,(0,n.Z)({},s,{ref:t,width:i,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:(0,o.createElement)("polygon",{points:"0,0 30,0 15,10"}))});var b=r(75137),w=r(1336),R=r(75238);let E="Popper",[C,M]=(0,s.b)(E),[_,S]=C(E),O=(0,o.forwardRef)((e,t)=>{let{__scopePopper:r,virtualRef:i,...s}=e,u=S("PopperAnchor",r),c=(0,o.useRef)(null),d=(0,a.e)(t,c);return(0,o.useEffect)(()=>{u.onAnchorChange((null==i?void 0:i.current)||c.current)}),i?null:(0,o.createElement)(l.WV.div,(0,n.Z)({},s,{ref:d}))}),D="PopperContent",[x,k]=C(D),I=(0,o.forwardRef)((e,t)=>{var r,i,s,u,c,d,h,p;let{__scopePopper:f,side:v="bottom",sideOffset:y=0,align:E="center",alignOffset:C=0,arrowPadding:M=0,avoidCollisions:_=!0,collisionBoundary:O=[],collisionPadding:k=0,sticky:I="partial",hideWhenDetached:F=!1,updatePositionStrategy:P="optimized",onPlaced:U,...Q}=e,L=S(D,f),[K,W]=(0,o.useState)(null),V=(0,a.e)(t,e=>W(e)),[G,q]=(0,o.useState)(null),z=(0,R.t)(G),B=null!==(r=null==z?void 0:z.width)&&void 0!==r?r:0,H=null!==(i=null==z?void 0:z.height)&&void 0!==i?i:0,$="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},X=Array.isArray(O)?O:[O],Y=X.length>0,j={padding:$,boundary:X.filter(T),altBoundary:Y},{refs:N,floatingStyles:J,placement:ee,isPositioned:et,middlewareData:er}=(0,m.YF)({strategy:"fixed",placement:v+("center"!==E?"-"+E:""),whileElementsMounted:(...e)=>(0,g.Me)(...e,{animationFrame:"always"===P}),elements:{reference:L.anchor},middleware:[(0,m.cv)({mainAxis:y+H,alignmentAxis:C}),_&&(0,m.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===I?(0,m.dr)():void 0,...j}),_&&(0,m.RR)({...j}),(0,m.dp)({...j,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),G&&(0,m.x7)({element:G,padding:M}),A({arrowWidth:B,arrowHeight:H}),F&&(0,m.Cp)({strategy:"referenceHidden",...j})]}),[en,eo]=Z(ee),ei=(0,b.W)(U);(0,w.b)(()=>{et&&(null==ei||ei())},[et,ei]);let ea=null===(s=er.arrow)||void 0===s?void 0:s.x,es=null===(u=er.arrow)||void 0===u?void 0:u.y,eu=(null===(c=er.arrow)||void 0===c?void 0:c.centerOffset)!==0,[el,ec]=(0,o.useState)();return(0,w.b)(()=>{K&&ec(window.getComputedStyle(K).zIndex)},[K]),(0,o.createElement)("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...J,transform:et?J.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:el,"--radix-popper-transform-origin":[null===(d=er.transformOrigin)||void 0===d?void 0:d.x,null===(h=er.transformOrigin)||void 0===h?void 0:h.y].join(" ")},dir:e.dir},(0,o.createElement)(x,{scope:f,placedSide:en,onArrowChange:q,arrowX:ea,arrowY:es,shouldHideArrow:eu},(0,o.createElement)(l.WV.div,(0,n.Z)({"data-side":en,"data-align":eo},Q,{ref:V,style:{...Q.style,animation:et?void 0:"none",opacity:null!==(p=er.hide)&&void 0!==p&&p.referenceHidden?0:void 0}}))))}),F={top:"bottom",right:"left",bottom:"top",left:"right"},P=(0,o.forwardRef)(function(e,t){let{__scopePopper:r,...i}=e,a=k("PopperArrow",r),s=F[a.placedSide];return(0,o.createElement)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},(0,o.createElement)(y,(0,n.Z)({},i,{ref:t,style:{...i.style,display:"block"}})))});function T(e){return null!==e}let A=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;let{placement:s,rects:u,middlewareData:l}=t,c=(null===(r=l.arrow)||void 0===r?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[p,f]=Z(s),v={start:"0%",center:"50%",end:"100%"}[f],m=(null!==(n=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==n?n:0)+d/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+h/2,y="",b="";return"bottom"===p?(y=c?v:`${m}px`,b=`${-h}px`):"top"===p?(y=c?v:`${m}px`,b=`${u.floating.height+h}px`):"right"===p?(y=`${-h}px`,b=c?v:`${g}px`):"left"===p&&(y=`${u.floating.width+h}px`,b=c?v:`${g}px`),{data:{x:y,y:b}}}});function Z(e){let[t,r="center"]=e.split("-");return[t,r]}let U=e=>{let{__scopePopper:t,children:r}=e,[n,i]=(0,o.useState)(null);return(0,o.createElement)(_,{scope:t,anchor:n,onAnchorChange:i},r)};var Q=r(56935),L=r(83189),K=r(53398),W=r(71538),V=r(78369),G=r(7997);let q=["Enter"," "],z=["ArrowUp","PageDown","End"],B=["ArrowDown","PageUp","Home",...z],H={ltr:[...q,"ArrowRight"],rtl:[...q,"ArrowLeft"]},$={ltr:["ArrowLeft"],rtl:["ArrowRight"]}
1,X="Menu",[Y,j,N]=(0,c.B)(X),[J,ee]=(0,s.b)(X,[N,M,K.Pc]),et=M(),er=(0,K.Pc)(),[en,eo]=J(X),[ei,ea]=J(X),es=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...i}=e,a=et(r);return(0,o.createElement)(O,(0,n.Z)({},a,i,{ref:t}))}),eu="MenuPortal",[el,ec]=J(eu,{forceMount:void 0}),ed="MenuContent",[eh,ep]=J(ed),ef=(0,o.forwardRef)((e,t)=>{let r=ec(ed,e.__scopeMenu),{forceMount:i=r.forceMount,...a}=e,s=eo(ed,e.__scopeMenu),u=ea(ed,e.__scopeMenu);return(0,o.createElement)(Y.Provider,{scope:e.__scopeMenu},(0,o.createElement)(L.z,{present:i||s.open},(0,o.createElement)(Y.Slot,{scope:e.__scopeMenu},u.modal?(0,o.createElement)(ev,(0,n.Z)({},a,{ref:t})):(0,o.createElement)(em,(0,n.Z)({},a,{ref:t})))))}),ev=(0,o.forwardRef)((e,t)=>{let r=eo(ed,e.__scopeMenu),s=(0,o.useRef)(null),u=(0,a.e)(t,s);return(0,o.useEffect)(()=>{let e=s.current;if(e)return(0,V.Ry)(e)},[]),(0,o.createElement)(eg,(0,n.Z)({},e,{ref:u,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,i.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)}))}),em=(0,o.forwardRef)((e,t)=>{let r=eo(ed,e.__scopeMenu);return(0,o.createElement)(eg,(0,n.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)}))}),eg=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,loop:s=!1,trapFocus:u,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEntryFocus:v,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:w,disableOutsideScroll:R,...E}=e,C=eo(ed,r),M=ea(ed,r),_=et(r),S=er(r),O=j(r),[D,x]=(0,o.useState)(null),k=(0,o.useRef)(null),F=(0,a.e)(t,k,C.onContentChange),P=(0,o.useRef)(0),T=(0,o.useRef)(""),A=(0,o.useRef)(0),Z=(0,o.useRef)(null),U=(0,o.useRef)("right"),Q=(0,o.useRef)(0),L=R?G.Z:o.Fragment,V=R?{as:W.g7,allowPinchZoom:!0}:void 0,q=e=>{var t,r;let n=T.current+e,o=O().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,s=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(i=i.filter(e=>e!==r));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==r?a:void 0}(o.map(e=>e.textValue),n,a),u=null===(r=o.find(e=>e.textValue===s))||void 0===r?void 0:r.ref.current;!function e(t){T.current=t,window.clearTimeout(P.current),""!==t&&(P.current=window.setTimeout(()=>e(""),1e3))}(n),u&&setTimeout(()=>u.focus())};(0,o.useEffect)(()=>()=>window.clearTimeout(P.current),[]),(0,p.EW)();let H=(0,o.useCallback)(e=>{var t,r,n;return U.current===(null===(t=Z.current)||void 0===t?void 0:t.side)&&!!(n=null===(r=Z.current)||void 0===r?void 0:r.area)&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,s=t[e].y,u=t[i].x,l=t[i].y;s>n!=l>n&&r<(u-a)*(n-s)/(l-s)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},n)},[]);return(0,o.createElement)(eh,{scope:r,searchRef:T,onItemEnter:(0,o.useCallback)(e=>{H(e)&&e.preventDefault()},[H]),onItemLeave:(0,o.useCallback)(e=>{var t;H(e)||(null===(t=k.current)||void 0===t||t.focus(),x(null))},[H]),onTriggerLeave:(0,o.useCallback)(e=>{H(e)&&e.preventDefault()},[H]),pointerGraceTimerRef:A,onPointerGraceIntentChange:(0,o.useCallback)(e=>{Z.current=e},[])},(0,o.createElement)(L,V,(0,o.createElement)(f.M,{asChild:!0,trapped:u,onMountAutoFocus:(0,i.M)(l,e=>{var t;e.preventDefault(),null===(t=k.current)||void 0===t||t.focus()}),onUnmountAutoFocus:c},(0,o.createElement)(h.XB,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:b,onDismiss:w},(0,o.createElement)(K.fC,(0,n.Z)({asChild:!0},S,{dir:M.dir,orientation:"vertical",loop:s,currentTabStopId:D,onCurrentTabStopIdChange:x,onEntryFocus:(0,i.M)(v,e=>{M.isUsingKeyboardRef.current||e.preventDefault()})}),(0,o.createElement)(I,(0,n.Z)({role:"menu","aria-orientation":"vertical","data-state":eK(C.open),"data-radix-menu-content":"",dir:M.dir},_,E,{ref:F,style:{outline:"none",...E.style},onKeyDown:(0,i.M)(E.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&q(e.key));let o=k.current;if(e.target!==o||!B.includes(e.key))return;e.preventDefault();let i=O().filter(e=>!e.disabled).map(e=>e.ref.current);z.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,i.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(P.current),T.current="")}),onPointerMove:(0,i.M)(e.onPointerMove,eG(e=>{let t=e.target,r=Q.current!==e.clientX;if(e.currentTarget.contains(t)&&r){let t=e.clientX>Q.current?"right":"left";U.current=t,Q.current=e.clientX}}))})))))))}),ey=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...i}=e;return(0,o.createElement)(l.WV.div,(0,n.Z)({role:"group"},i,{ref:t}))}),eb=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...i}=e;return(0,o.createElement)(l.WV.div,(0,n.Z)({},i,{ref:t}))}),ew="MenuItem",eR="menu.itemSelect",eE=(0,o.forwardRef)((e,t)=>{let{disabled:r=!1,onSelect:s,...u}=e,c=(0,o.useRef)(null),d=ea(ew,e.__scopeMenu),h=ep(ew,e.__scopeMenu),p=(0,a.e)(t,c),f=(0,o.useRef)(!1);return(0,o.createElement)(eC,(0,n.Z)({},u,{ref:p,disabled:r,onClick:(0,i.M)(e.onClick,()=>{let e=c.current;if(!r&&e){let t=new CustomEvent(eR,{bubbles:!0,cancelable:!0});e.addEventListener(eR,e=>null==s?void 0:s(e),{once:!0}),(0,l.jH)(e,t),t.defaultPrevented?f.current=!1:d.onClose()}}),onPointerDown:t=>{var r;null===(r=e.onPointerDown)||void 0===r||r.call(e,t),f.current=!0},onPointerUp:(0,i.M)(e.onPointerUp,e=>{var t;f.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,i.M)(e.onKeyDown,e=>{let t=""!==h.searchRef.current;!r&&(!t||" "!==e.key)&&q.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),eC=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,disabled:s=!1,textValue:u,...c}=e,d=ep(ew,r),h=er(r),p=(0,o.useRef)(null),f=(0,a.e)(t,p),[v,m]=(0,o.useState)(!1),[g,y]=(0,o.useState)("");return(0,o.useEffect)(()=>{let e=p.current;if(e){var t;y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[c.children]),(0,o.createElement)(Y.ItemSlot,{scope:r,disabled:s,textValue:null!=u?u:g},(0,o.createElement)(K.ck,(0,n.Z)({asChild:!0},h,{focusable:!s}),(0,o.createElement)(l.WV.div,(0,n.Z)({role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0},c,{ref:f,onPointerMove:(0,i.M)(e.onPointerMove,eG(e=>{s?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:(0,i.M)(e.onPointerLeave,eG(e=>d.onItemLeave(e))),onFocus:(0,i.M)(e.onFocus,()=>m(!0)),onBlur:(0,i.M)(e.onBlur,()=>m(!1))}))))}),eM=(0,o.forwardRef)((e,t)=>{let{checked:r=!1,onCheckedChange:a,...s}=e;return(0,o.createElement)(ek,{scope:e.__scopeMenu,checked:r},(0,o.createElement)(eE,(0,n.Z)({role:"menuitemcheckbox","aria-checked":eW(r)?"mixed":r},s,{ref:t,"data-state":eV(r),onSelect:(0,i.M)(s.onSelect,()=>null==a?void 0:a(!!eW(r)||!r),{checkForDefaultPrevented:!1})})))}),[e_,eS]=J("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),eO=(0,o.forwardRef)((e,t)=>{let{value:r,onValueChange:i,...a}=e,s=(0,b.W)(i);return(0,o.createElement)(e_,{scope:e.__scopeMenu,value:r,onValueChange:s},(0,o.createElement)(ey,(0,n.Z)({},a,{ref:t})))}),eD=(0,o.forwardRef)((e,t)=>{let{value:r,...a}=e,s=eS("MenuRadioItem",e.__scopeMenu),u=r===s.value;return(0,o.createElement)(ek,{scope:e.__scopeMenu,checked:u},(0,o.createElement)(eE,(0,n.Z)({role:"menuitemradio","aria-checked":u},a,{ref:t,"data-state":eV(u),onSelect:(0,i.M)(a.onSelect,()=>{var e;return null===(e=s.onValueChange)||void 0===e?void 0:e.call(s,r)},{checkForDefaultPrevented:!1})})))}),ex="MenuItemIndicator",[ek,eI]=J(ex,{checked:!1}),eF=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,forceMount:i,...a}=e,s=eI(ex,r);return(0,o.createElement)(L.z,{present:i||eW(s.checked)||!0===s.checked},(0,o.createElement)(l.WV.span,(0,n.Z)({},a,{ref:t,"data-state":eV(s.checked)})))}),eP=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:r,...i}=e;return(0,o.createElement)(l.WV.div,(0,n.Z)({role:"separator","aria-orientation":"horizontal"},i,{ref:t}))}),eT=((e,t)=>{let{__scopeMenu:r,...i}=e,a=et(r);return(0,o.createElement)(P,(0,n.Z)({},a,i,{ref:t}))},"MenuSub"),[eA,eZ]=J(eT),eU="MenuSubTrigger",eQ=(0,o.forwardRef)((e,t)=>{let r=eo(eU,e.__scopeMenu),s=ea(eU,e.__scopeMenu),u=eZ(eU,e.__scopeMenu),l=ep(eU,e.__scopeMenu),c=(0,o.useRef)(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:h}=l,p={__scopeMenu:e.__scopeMenu},f=(0,o.useCallback)(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return(0,o.useEffect)(()=>f,[f]),(0,o.useEffect)(()=>{let e=d.current;return()=>{window.clearTimeout(e),h(null)}},[d,h]),(0,o.createElement)(es,(0,n.Z)({asChild:!0},p),(0,o.createElement)(eC,(0,n.Z)({id:u.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":u.contentId,"data-state":eK(r.open)},e,{ref:(0,a.F)(t,u.onTriggerChange),onClick:t=>{var n;null===(n=e.onClick)||void 0===n||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focu
1s(),r.open||r.onOpenChange(!0))},onPointerMove:(0,i.M)(e.onPointerMove,eG(t=>{l.onItemEnter(t),t.defaultPrevented||e.disabled||r.open||c.current||(l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{r.onOpenChange(!0),f()},100))})),onPointerLeave:(0,i.M)(e.onPointerLeave,eG(e=>{var t,n;f();let o=null===(t=r.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(n=r.content)||void 0===n?void 0:n.dataset.side,i="right"===t,a=o[i?"left":"right"],s=o[i?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:o.top},{x:s,y:o.top},{x:s,y:o.bottom},{x:a,y:o.bottom}],side:t}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,i.M)(e.onKeyDown,t=>{let n=""!==l.searchRef.current;if(!e.disabled&&(!n||" "!==t.key)&&H[s.dir].includes(t.key)){var o;r.onOpenChange(!0),null===(o=r.content)||void 0===o||o.focus(),t.preventDefault()}})})))}),eL=(0,o.forwardRef)((e,t)=>{let r=ec(ed,e.__scopeMenu),{forceMount:s=r.forceMount,...u}=e,l=eo(ed,e.__scopeMenu),c=ea(ed,e.__scopeMenu),d=eZ("MenuSubContent",e.__scopeMenu),h=(0,o.useRef)(null),p=(0,a.e)(t,h);return(0,o.createElement)(Y.Provider,{scope:e.__scopeMenu},(0,o.createElement)(L.z,{present:s||l.open},(0,o.createElement)(Y.Slot,{scope:e.__scopeMenu},(0,o.createElement)(eg,(0,n.Z)({id:d.contentId,"aria-labelledby":d.triggerId},u,{ref:p,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;c.isUsingKeyboardRef.current&&(null===(t=h.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,i.M)(e.onFocusOutside,e=>{e.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,i.M)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,i.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=$[c.dir].includes(e.key);if(t&&r){var n;l.onOpenChange(!1),null===(n=d.trigger)||void 0===n||n.focus(),e.preventDefault()}})})))))});function eK(e){return e?"open":"closed"}function eW(e){return"indeterminate"===e}function eV(e){return eW(e)?"indeterminate":e?"checked":"unchecked"}function eG(e){return t=>"mouse"===t.pointerType?e(t):void 0}let eq=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:i,onOpenChange:a,modal:s=!0}=e,u=et(t),[l,c]=(0,o.useState)(null),h=(0,o.useRef)(!1),p=(0,b.W)(a),f=(0,d.gm)(i);return(0,o.useEffect)(()=>{let e=()=>{h.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>h.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,o.createElement)(U,u,(0,o.createElement)(en,{scope:t,open:r,onOpenChange:p,content:l,onContentChange:c},(0,o.createElement)(ei,{scope:t,onClose:(0,o.useCallback)(()=>p(!1),[p]),isUsingKeyboardRef:h,dir:f,modal:s},n)))},ez=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:i}=e,a=eo(eu,t);return(0,o.createElement)(el,{scope:t,forceMount:r},(0,o.createElement)(L.z,{present:r||a.open},(0,o.createElement)(Q.h,{asChild:!0,container:i},n)))},eB=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:i}=e,a=eo(eT,t),s=et(t),[u,l]=(0,o.useState)(null),[c,d]=(0,o.useState)(null),h=(0,b.W)(i);return(0,o.useEffect)(()=>(!1===a.open&&h(!1),()=>h(!1)),[a.open,h]),(0,o.createElement)(U,s,(0,o.createElement)(en,{scope:t,open:n,onOpenChange:h,content:c,onContentChange:d},(0,o.createElement)(eA,{scope:t,contentId:(0,v.M)(),triggerId:(0,v.M)(),trigger:u,onTriggerChange:l},r)))},eH="DropdownMenu",[e$,eX]=(0,s.b)(eH,[ee]),eY=ee(),[ej,eN]=e$(eH),eJ=e=>{let{__scopeDropdownMenu:t,children:r,dir:i,open:a,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=eY(t),h=(0,o.useRef)(null),[p=!1,f]=(0,u.T)({prop:a,defaultProp:s,onChange:l});return(0,o.createElement)(ej,{scope:t,triggerId:(0,v.M)(),triggerRef:h,contentId:(0,v.M)(),open:p,onOpenChange:f,onOpenToggle:(0,o.useCallback)(()=>f(e=>!e),[f]),modal:c},(0,o.createElement)(eq,(0,n.Z)({},d,{open:p,onOpenChange:f,dir:i,modal:c}),r))},e0=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,disabled:s=!1,...u}=e,c=eN("DropdownMenuTrigger",r),d=eY(r);return(0,o.createElement)(es,(0,n.Z)({asChild:!0},d),(0,o.createElement)(l.WV.button,(0,n.Z)({type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.c
1ontentId:void 0,"data-state":c.open?"open":"closed","data-disabled":s?"":void 0,disabled:s},u,{ref:(0,a.F)(t,c.triggerRef),onPointerDown:(0,i.M)(e.onPointerDown,e=>{s||0!==e.button||!1!==e.ctrlKey||(c.onOpenToggle(),c.open||e.preventDefault())}),onKeyDown:(0,i.M)(e.onKeyDown,e=>{!s&&(["Enter"," "].includes(e.key)&&c.onOpenToggle(),"ArrowDown"===e.key&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),e1=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...a}=e,s=eN("DropdownMenuContent",r),u=eY(r),l=(0,o.useRef)(!1);return(0,o.createElement)(ef,(0,n.Z)({id:s.contentId,"aria-labelledby":s.triggerId},u,a,{ref:t,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,e=>{var t;l.current||null===(t=s.triggerRef.current)||void 0===t||t.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,i.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!s.modal||n)&&(l.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)"}}))}),e5=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(ey,(0,n.Z)({},a,i,{ref:t}))}),e2=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eb,(0,n.Z)({},a,i,{ref:t}))}),e3=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eE,(0,n.Z)({},a,i,{ref:t}))}),e9=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eM,(0,n.Z)({},a,i,{ref:t}))}),e8=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eO,(0,n.Z)({},a,i,{ref:t}))}),e7=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eD,(0,n.Z)({},a,i,{ref:t}))}),e4=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eF,(0,n.Z)({},a,i,{ref:t}))}),e6=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eP,(0,n.Z)({},a,i,{ref:t}))}),te=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eQ,(0,n.Z)({},a,i,{ref:t}))}),tt=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eY(r);return(0,o.createElement)(eL,(0,n.Z)({},a,i,{ref:t,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)"}}))}),tr=eJ,tn=e0,to=e=>{let{__scopeDropdownMenu:t,...r}=e,i=eY(t);return(0,o.createElement)(ez,(0,n.Z)({},i,r))},ti=e1,ta=e5,ts=e2,tu=e3,tl=e9,tc=e8,td=e7,th=e4,tp=e6,tf=e=>{let{__scopeDropdownMenu:t,children:r,open:i,onOpenChange:a,defaultOpen:s}=e,l=eY(t),[c=!1,d]=(0,u.T)({prop:i,defaultProp:s,onChange:a});return(0,o.createElement)(eB,(0,n.Z)({},l,{open:c,onOpenChange:d}),r)},tv=te,tm=tt},53398:function(e,t,r){r.d(t,{Pc:function(){return R},ck:function(){return k},fC:function(){return x}});var n=r(22988),o=r(2265),i=r(78149),a=r(79550),s=r(1584),u=r(98324),l=r(53201),c=r(25171),d=r(75137),h=r(91715),p=r(87513);let f="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[g,y,b]=(0,a.B)(m),[w,R]=(0,u.b)(m,[b]),[E,C]=w(m),M=(0,o.forwardRef)((e,t)=>(0,o.createElement)(g.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(g.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(_,(0,n.Z)({},e,{ref:t}))))),_=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:u=!1,dir:l,currentTabStopId:m,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:b,onEntryFocus:w,...R}=e,C=(0,o.useRef)(null),M=(0,s.e)(t,C),_=(0,p.gm)(l),[S=null,O]=(0,h.T)({prop:m,defaultProp:g,onChange:b}),[x,k]=(0,o.useState)(!1),I=(0,d.W)(w),F=y(r),P=(0,o.useRef)(!1),[T,A]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=C.current;if(e)return e.addEventListener(f,I),()=>e.removeEventListener(f,I)},[I]),(0,o.createElement)(E,{scope:r,orientation:a,dir:_,loop:u,currentTabStopId:S,onItemFocus:(0,o.useCallback)(e=>O(e),[O]),onItemShiftTab:(0,o.useCallback)(()=>k(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>A(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>A(e=>e-1),[])},(0,o.createElement)(c.WV.div,(0,n.Z)({tabIndex:x||0===T?-1:0,"data-orientation":a},R,{ref:M,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,()=>{P.current=!0}),onFocus:(0,i.M)(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!x){let t=new CustomEvent(f,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>
1e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current))}}P.current=!1}),onBlur:(0,i.M)(e.onBlur,()=>k(!1))})))}),S=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:s=!1,tabStopId:u,...d}=e,h=(0,l.M)(),p=u||h,f=C("RovingFocusGroupItem",r),v=f.currentTabStopId===p,m=y(r),{onFocusableItemAdd:b,onFocusableItemRemove:w}=f;return(0,o.useEffect)(()=>{if(a)return b(),()=>w()},[a,b,w]),(0,o.createElement)(g.ItemSlot,{scope:r,id:p,focusable:a,active:s},(0,o.createElement)(c.WV.span,(0,n.Z)({tabIndex:v?0:-1,"data-orientation":f.orientation},d,{ref:t,onMouseDown:(0,i.M)(e.onMouseDown,e=>{a?f.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.M)(e.onFocus,()=>f.onItemFocus(p)),onKeyDown:(0,i.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){f.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return O[o]}(e,f.orientation,f.dir);if(void 0!==t){e.preventDefault();let o=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=f.loop?(r=o,n=i+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(i+1)}setTimeout(()=>D(o))}})})))}),O={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}let x=M,k=S},47250:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(2265);function o(e){let t=(0,n.useRef)({value:e,previous:e});return(0,n.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},75238:function(e,t,r){r.d(t,{t:function(){return i}});var n=r(2265),o=r(1336);function i(e){let[t,r]=(0,n.useState)(void 0);return(0,o.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},2459:function(e,t,r){r.d(t,{A:function(){return s},z:function(){return u}});var n=r(56298),o=r(69948),i=r(30924),a=r(43494),s=class extends a.F{#e;#t;#r;#n;#o;#i;constructor(e){super(),this.#i=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(e){this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#r.remove(this)}setData(e,t){let r=(0,n.oE)(this.state.data,e,this.options);return this.#a({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(n.ZT).catch(n.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,n.Kp)(this.state.dataUpdatedAt,e)}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#n&&(this.#i?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#i=!0,r.signal)}
1)},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{let e=(0,n.cG)(this.options,t),r={queryKey:this.queryKey,meta:this.meta};return(o(r),this.#i=!1,this.options.persister)?this.options.persister(e,r,this):e(r)}};o(a),this.options.behavior?.onFetch(a,this),this.#t=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#a({type:"fetch",meta:a.fetchOptions?.meta});let s=e=>{(0,i.DV)(e)&&e.silent||this.#a({type:"error",error:e}),(0,i.DV)(e)||(this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#n=(0,i.Mz)({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{if(void 0===e){s(Error(`${this.queryHash} data is undefined`));return}this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:s,onFail:(e,t)=>{this.#a({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#n.start()}#a(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...u(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let r=e.error;if((0,i.DV)(r)&&r.revert&&this.#t)return{...this.#t,fetchStatus:"idle"};return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),o.V.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function u(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},40932:function(e,t,r){let n;r.d(t,{a:function(){return O}});var o=r(56298),i=r(69948),a=r(34939),s=r(49010),u=r(2459),l=class extends s.l{constructor(e,t){super(),this.options=t,this.#s=e,this.#u=null,this.bindMethods(),this.setOptions(t)}#s;#l=void 0;#c=void 0;#d=void 0;#h;#p;#u;#f;#v;#m;#g;#y;#b;#w=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#l.addObserver(this),c(this.#l,this.options)?this.#R():this.updateResult(),this.#E())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#l,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#l,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#C(),this.#M(),this.#l.removeObserver(this)}setOptions(e,t){let r=this.options,n=this.#l;if(this.options=this.#s.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.#_(),this.#l.setOptions(this.options),r._defaulted&&!(0,o.VS)(this.options,r)&&this.#s.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#l,observer:this});let i=this.hasListeners();i&&h(this.#l,n,this.options,r)&&this.#R(),this.updateResult(t),i&&(this.#l!==n||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.#S();let a=this.#O();i&&(this.#l!==n||this.options.enabled!==r.enabled||a!==this.#b)&&this.#D(a)}getOptimisticResult(e){let t=this.#s.getQueryCache().build(this.#s,e),r=this.createResult(t,e);return(0,o.VS)(this.getCurrentResult(),r)||(this.#d=r,this.#p=this.options,this.#h=this.#l.
1state),r}getCurrentResult(){return this.#d}trackResult(e,t){let r={};return Object.keys(e).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),t?.(n),e[n])})}),r}trackProp(e){this.#w.add(e)}getCurrentQuery(){return this.#l}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#s.defaultQueryOptions(e),r=this.#s.getQueryCache().build(this.#s,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#R({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#d))}#R(e){this.#_();let t=this.#l.fetch(this.options,e);return e?.throwOnError||(t=t.catch(o.ZT)),t}#S(){if(this.#C(),o.sk||this.#d.isStale||!(0,o.PN)(this.options.staleTime))return;let e=(0,o.Kp)(this.#d.dataUpdatedAt,this.options.staleTime);this.#g=setTimeout(()=>{this.#d.isStale||this.updateResult()},e+1)}#O(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#l):this.options.refetchInterval)??!1}#D(e){this.#M(),this.#b=e,!o.sk&&!1!==this.options.enabled&&(0,o.PN)(this.#b)&&0!==this.#b&&(this.#y=setInterval(()=>{(this.options.refetchIntervalInBackground||a.j.isFocused())&&this.#R()},this.#b))}#E(){this.#S(),this.#D(this.#O())}#C(){this.#g&&(clearTimeout(this.#g),this.#g=void 0)}#M(){this.#y&&(clearInterval(this.#y),this.#y=void 0)}createResult(e,t){let r;let n=this.#l,i=this.options,a=this.#d,s=this.#h,l=this.#p,d=e!==n?e.state:this.#c,{state:f}=e,v={...f},m=!1;if(t._optimisticResults){let r=this.hasListeners(),o=!r&&c(e,t),a=r&&h(e,n,t,i);(o||a)&&(v={...v,...(0,u.z)(f.data,e.options)}),"isRestoring"===t._optimisticResults&&(v.fetchStatus="idle")}let{error:g,errorUpdatedAt:y,status:b}=v;if(t.select&&void 0!==v.data){if(a&&v.data===s?.data&&t.select===this.#f)r=this.#v;else try{this.#f=t.select,r=t.select(v.data),r=(0,o.oE)(a?.data,r,t),this.#v=r,this.#u=null}catch(e){this.#u=e}}else r=v.data;if(void 0!==t.placeholderData&&void 0===r&&"pending"===b){let e;if(a?.isPlaceholderData&&t.placeholderData===l?.placeholderData)e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#m?.state.data,this.#m):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#u=null}catch(e){this.#u=e}void 0!==e&&(b="success",r=(0,o.oE)(a?.data,e,t),m=!0)}this.#u&&(g=this.#u,r=this.#v,y=Date.now(),b="error");let w="fetching"===v.fetchStatus,R="pending"===b,E="error"===b,C=R&&w,M=void 0!==r;return{status:b,fetchStatus:v.fetchStatus,isPending:R,isSuccess:"success"===b,isError:E,isInitialLoading:C,isLoading:C,data:r,dataUpdatedAt:v.dataUpdatedAt,error:g,errorUpdatedAt:y,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>d.dataUpdateCount||v.errorUpdateCount>d.errorUpdateCount,isFetching:w,isRefetching:w&&!R,isLoadingError:E&&!M,isPaused:"paused"===v.fetchStatus,isPlaceholderData:m,isRefetchError:E&&M,isStale:p(e,t),refetch:this.refetch}}updateResult(e){let t=this.#d,r=this.createResult(this.#l,this.options);if(this.#h=this.#l.state,this.#p=this.options,void 0!==this.#h.data&&(this.#m=this.#l),(0,o.VS)(r,t))return;this.#d=r;let n={};e?.listeners!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.#w.size)return!0;let n=new Set(r??this.#w);return this.options.throwOnError&&n.add("error"),Object.keys(this.#d).some(e=>this.#d[e]!==t[e]&&n.has(e))})()&&(n.listeners=!0),this.#x({...n,...e})}#_(){let e=this.#s.getQueryCache().build(this.#s,this.options);if(e===this.#l)return;let t=this.#l;this.#l=e,this.#c=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#E()}#x(e){i.V.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#d)}),this.#s.getQueryCache().notify({query:this.#l,type:"observerResultsUpdated"})})}};function c(e,t){return!1!==t.enabled&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&d(e,t,t.refetchOnMount)}function d(e,t,r){if(!1!==t.enabled){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&p(e,t)}return!1}function h(e,t,r,n){return(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&p(e,r)}function p(e,t){return!1!==t.enabled&&e.isStaleByTime(t.staleTime)}var f=r(2265);r(57437);var v=f.createContext((n=!1,{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n})),m=()=>f.useContext(v),g=r(93191),y=f.createContext(!1),b=()=>f.useContext(y);y.Provider;var w=r(37832),R=(e,t)=>
1{(e.suspense||e.throwOnError)&&!t.isReset()&&(e.retryOnMount=!1)},E=e=>{f.useEffect(()=>{e.clearReset()},[e])},C=e=>{let{result:t,errorResetBoundary:r,throwOnError:n,query:o}=e;return t.isError&&!r.isReset()&&!t.isFetching&&o&&(0,w.L)(n,[t.error,o])},M=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},_=(e,t)=>e?.suspense&&t.isPending,S=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function O(e,t){return function(e,t,r){let n=(0,g.NL)(r),o=b(),a=m(),s=n.defaultQueryOptions(e);s._optimisticResults=o?"isRestoring":"optimistic",M(s),R(s,a),E(a);let[u]=f.useState(()=>new t(n,s)),l=u.getOptimisticResult(s);if(f.useSyncExternalStore(f.useCallback(e=>{let t=o?()=>void 0:u.subscribe(i.V.batchCalls(e));return u.updateResult(),t},[u,o]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),f.useEffect(()=>{u.setOptions(s,{listeners:!1})},[s,u]),_(s,l))throw S(s,u,a);if(C({result:l,errorResetBoundary:a,throwOnError:s.throwOnError,query:n.getQueryCache().get(s.queryHash)}))throw l.error;return s.notifyOnChangeProps?l:u.trackResult(l)}(e,l,t)}}}]);
2//# sourceMappingURL=1113-4b51bf74a93fab59.js.map

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.