PageSourceSearch

https://blosical.com/_next/static/immutable/chunks/1ruv51ty1mk2e.js

js blosical.com collected 2026-10-04 14:08:17 UTC 61,318 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,324001,e=>{"use strict";var t=e.i(508609),n=e.i(880269),r=e.i(953329),i=e.i(339697),o=e.i(167088),s=e.i(517571),l=e.i(941637),u=e.i(645900),a=e.i(550804),c=e.i(632714),d=e.i(117440),f=e.i(138273),p=e.i(479995),g=e.i(92715),h=e.i(288430),m=e.i(491772),v=e.i(916650),b=e.i(298761),E=e.i(911333),y=e.i(710563),T=e.i(575878),S=e.i(449758),R=e.i(837751),C=e.i(126653),O=e.i(15860),w=e.i(164521),x=e.i(750119),A=e.i(833506),I=e.i(793339),k=e.i(10683);let P=[];function L(){P=P.filter(e=>e.deref()?.isConnected)}function M(e){L(),e&&"body"!==(0,n.getNodeName)(e)&&(P.push(new WeakRef(e)),P.length>20&&(P=P.slice(-20)))}function N(){return L(),P[P.length-1]?.deref()}function F(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;let t=(0,b.focusable)(e).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return(0,b.isTabbable)(e)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),n=e.getAttribute("tabindex");0===t.length?"0"!==n&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):("-1"!==n||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}e.s(["FloatingFocusManager",0,function(e){let{context:P,children:D,disabled:W=!1,initialFocus:_=!0,returnFocus:H=!0,restoreFocus:B=!1,modal:V=!0,closeOnFocusOut:Y=!0,openInteractionType:j="",nextFocusableElement:U,previousFocusableElement:G,beforeContentFocusGuardRef:X,externalTree:q,getInsideElements:$}=e,K="rootStore"in P?P.rootStore:P,z=K.useState("open"),J=K.useState("domReferenceElement"),Q=K.useState("floatingElement"),{events:Z,dataRef:ee}=K.context,et=(0,l.useStableCallback)(()=>ee.current.floatingContext?.nodeId),en=(0,m.isTypeableCombobox)(J)&&!1===_,er=(0,s.useValueAsRef)(_),ei=(0,s.useValueAsRef)(H),eo=(0,s.useValueAsRef)(j),es=(0,s.useValueAsRef)(z),el=(0,x.useFloatingTree)(q),eu=(0,w.usePortalContext)(),ea=t.useRef(!1),ec=t.useRef(!1),ed=t.useRef(!1),ef=t.useRef(null),ep=t.useRef(""),eg=t.useRef(""),eh=t.useRef(null),em=t.useRef(null),ev=(0,o.useMergedRefs)(eh,X,eu?.beforeInsideRef),eb=(0,o.useMergedRefs)(em,eu?.afterInsideRef),eE=(0,a.useTimeout)(),ey=(0,a.useTimeout)(),eT=(0,d.useAnimationFrame)(),eS=null!=eu,eR=(0,m.getFloatingFocusElement)(Q),eC=(0,l.useStableCallback)((e=eR)=>e?(0,b.tabbable)(e):[]),eO=(0,l.useStableCallback)(()=>$?.().filter(e=>null!=e)??[]);t.useEffect(()=>{if(W||!V)return;let e=(0,f.ownerDocument)(eR);return(0,r.addEventListener)(e,"keydown",function(e){"Tab"===e.key&&(0,h.contains)(eR,(0,h.activeElement)((0,f.ownerDocument)(eR)))&&0===eC().length&&!en&&(0,v.stopEvent)(e)})},[W,eR,V,en,eC]),t.useEffect(()=>{if(W||!z)return;let e=(0,f.ownerDocument)(eR);function t(){ed.current=!1}return(0,i.mergeCleanups)((0,r.addEventListener)(e,"pointerdown",function(e){let t=(0,h.getTarget)(e),n=eO();ed.current=!((0,h.contains)(Q,t)||(0,h.contains)(J,t)||(0,h.contains)(eu?.portalNode,t)||n.some(e=>e===t||(0,h.contains)(e,t))),eg.current=e.pointerType||"keyboard",t?.closest(`[${A.CLICK_TRIGGER_IDENTIFIER}]`)&&(ec.current=!0,ey.start(0,()=>{ec.current=!1}))},!0),(0,r.addEventListener)(e,"pointerup",t,!0),(0,r.addEventListener)(e,"pointercancel",t,!0),(0,r.addEventListener)(e,"keydown",function(){eg.current="keyboard"},!0),t)},[W,Q,J,eR,z,eu,ey,eO]),t.useEffect(()=>{if(W||!Y)return;let e=(0,f.ownerDocument)(eR);function t(t){let r=t.relatedTarget,i=t.currentTarget,o=(0,h.getTarget)(t);V&&null==r&&null!=o&&(0,h.contains)(Q,o)&&M(o),queueMicrotask(()=>{let s=et(),l=K.context.triggerElements,u=eO(),a=r?.hasAttribute((0,R.createAttribute)("focus-guard"))&&[eh.current,em.current,eu?.beforeInsideRef.current,eu?.afterInsideRef.current,eu?.beforeOutsideRef.current,eu?.afterOutsideRef.current,(0,I.resolveRef)(G),(0,I.resolveRef)(U)].includes(r),c=!((0,h.contains)(J,r)||(0,h.contains)(Q,r)||(0,h.contains)(r,Q)||(0,h.contains)(eu?.portalNode,r)||u.some(e=>e===r||(0,h.contains)(e,r))||l.hasMatchingElement(e=>(0,h.contains)(e,r))||a||el&&((0,E.getNodeChildren)(el.nodesRef.current,s).find(e=>(0,h.contains)(e.context?.elements.floating,r)||(0,h.contains)(e.context?.elements.domReference,r))||(0,E.getNodeAncestors)(el.nodesRef.current,s).find(e=>[e.context?.elements.floating,(0,m.getFloatingFocusElement)(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===J&&eR&&F(eR),B&&i!==J&&!(0,y.isElementVisible)(o)&&(0,h.activeElement)(e)===e.body){if((0,n.isHTMLElement)(eR)&&(eR.focus(),"popup"===B))return void eT.request(()=>{eR.focus()});let e=eC(),t=ef.current,r=(t&&e.includes(t)?t:null)||e[e.length-1]||eR;(0,n.isHTMLElement)(r)&&r.focus()}if(ee.current.insideReactTree){ee.current.insideReactTree=!1;return}(en||!V)&&r&&c&&!ec.current&&(en||r!==N())&&(ea.current=!0,K.setOpen(!1,(0,T.createChangeEventDetails)(S.REASONS.focusOut,t)))})}let o=(0,n.isHTMLElement)(J)?J:null;if(Q||o)return(0,i.mergeCleanups)(o&&(0,r.addEventListener)(o,"focusout",t),o&&(0,r.addEventListener)(o,"pointerdown",function(){ec.current=!0,ey.start(0,()=>{ec.current=!1})}),Q&&(0,r.addEventListener)(Q,"focusin",function(e){let t=(0,h.getTarget)(e);(0,b.isTabbable)(t)&&(ef.current=t)}),Q&&(0,r.addEventListener)(Q,"focusout",t),Q&&eu&&(0,r.addEventListener)(Q,"focusout",function(){ed.current||(ee.current.insideReactTree=!0,eE.start(0,()=>{ee.current.insideReactTree=!1}))},!0))},[W,J,Q,eR,V,el,eu,K,Y,B,eC,en,et,ee,eE,ey,eT,U,G,eO]),t.useEffect(()=>{if(W||!Q||!z)return;let e=Array.from(eu?.portalNode?.querySelectorAll(`[${(0,R.createAttribute)("portal")}]`)||[]),t=el?(0,E.getNodeAncestors)(el.nodesRef.current,et()):[],n=t.find(e=>(0,m.isTypeableCombobox)(e.context?.elements.domReference||null))?.context?.elements.domReference,r=[Q,...e,eh.current,em.current,eu?.beforeOutsideRef.current,eu?.afterOutsideRef.current,...eO(),n,(0,I.resolveRef)(G),(0,I.resolveRef)(U),en?J:null].filter(e=>null!=e),i=(0,O.markOthers)(r,{ariaHidden:V||en,mark:!1}),o=[Q,...e].filter(e=>null!=e),s=(0,O.markOthers)(o);return()=>{s(),i()}},[z,W,J,Q,V,eu,en,el,et,U,G,eO]),(0,u.useIsoLayoutEffect)(()=>
1{if(!z||W||!(0,n.isHTMLElement)(eR))return;ep.current="",eg.current="";let e=(0,f.ownerDocument)(eR),t=(0,h.activeElement)(e);queueMicrotask(()=>{let n,r=er.current,i="function"==typeof r?r(eo.current||""):r;if(void 0===i||!1===i||(0,h.contains)(eR,t))return;let o=null,s=()=>(null==o&&(o=eC(eR)),o[0]||eR);n=(n=!0===i||null===i?s():(0,I.resolveRef)(i))||s();let l=(0,h.contains)(eR,(0,h.activeElement)(e));(0,C.enqueueFocus)(n,{preventScroll:n===eR,shouldFocus(){if(!es.current)return!1;if(l)return!0;let t=(0,h.activeElement)(e);return!(t!==n&&(0,h.contains)(eR,t))}})})},[W,z,eR,eC,er,eo,es]),(0,u.useIsoLayoutEffect)(()=>{if(W||!eR)return;let e=(0,f.ownerDocument)(eR),t=(0,h.activeElement)(e),r=null==eo.current;function i(e){var t,n;let r;if(e.open||(t=e.nativeEvent,n=eg.current,r=(0,p.ownerWindow)((0,h.getTarget)(t)),ep.current=t instanceof r.KeyboardEvent?"keyboard":t instanceof r.FocusEvent?n||"keyboard":"pointerType"in t?t.pointerType||"keyboard":"touches"in t?"touch":t instanceof r.MouseEvent?n||(0===t.detail?"keyboard":"mouse"):""),e.reason===S.REASONS.triggerHover&&"mouseleave"===e.nativeEvent.type&&(ea.current=!0),e.reason===S.REASONS.outsidePress)if(e.nested)ea.current=!1;else if((0,v.isVirtualClick)(e.nativeEvent)||(0,v.isVirtualPointerEvent)(e.nativeEvent))ea.current=!1;else{let e=!1;(0,f.ownerDocument)(eR).createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?ea.current=!1:ea.current=!0}}return M(t),Z.on("openchange",i),()=>{Z.off("openchange",i);let o=(0,h.activeElement)(e),s=eO(),l=(0,h.contains)(Q,o)||s.some(e=>e===o||(0,h.contains)(e,o))||el&&(0,E.getNodeChildren)(el.nodesRef.current,et(),!1).some(e=>(0,h.contains)(e.context?.elements.floating,o)),u=ei.current,a=ep.current,c=function(e){let i=ei.current,o="function"==typeof i?i(e):i;if(void 0===o||!1===o)return null;null===o&&(o=!0);let s=J?.isConnected?J:null,l=t?.isConnected&&"body"!==(0,n.getNodeName)(t)?t:null,u=r?l||s:s||l;return(u||(u=N()||null),"boolean"==typeof o)?u:(0,I.resolveRef)(o)||u||null}(a);queueMicrotask(()=>{let t=c?(0,b.isTabbable)(c)?c:(0,b.tabbable)(c)[0]||c:null;if(u&&!ea.current&&(0,n.isHTMLElement)(t)&&("boolean"!=typeof u||t===o||o===e.body||l)){let e={preventScroll:!0};"keyboard"===a&&(e.focusVisible=!0),t.focus(e)}ea.current=!1})}},[W,Q,eR,ei,eo,Z,el,J,et,eO]),(0,u.useIsoLayoutEffect)(()=>{if(!c.platform.engine.webkit||z||!Q)return;let e=(0,h.activeElement)((0,f.ownerDocument)(Q));(0,n.isHTMLElement)(e)&&(0,m.isTypeableElement)(e)&&(0,h.contains)(Q,e)&&e.blur()},[z,Q]),(0,u.useIsoLayoutEffect)(()=>{if(!W&&eu)return eu.setFocusManagerState({modal:V,closeOnFocusOut:Y,open:z,onOpenChange:K.setOpen,domReference:J}),()=>{eu.setFocusManagerState(null)}},[W,eu,V,z,K,Y,J]),(0,u.useIsoLayoutEffect)(()=>{if(!W&&eR)return F(eR),()=>{queueMicrotask(L)}},[W,eR]);let ew=!W&&(!V||!en)&&(eS||V);return(0,k.jsxs)(t.Fragment,{children:[ew&&(0,k.jsx)(g.FocusGuard,{"data-type":"inside",ref:ev,onFocus:e=>{if(V){let e=eC();(0,C.enqueueFocus)(e[e.length-1])}else if(eu?.portalNode)if(ea.current=!1,(0,b.isOutsideEvent)(e,eu.portalNode)){let e=(0,b.getNextTabbable)(J);e?.focus()}else(0,I.resolveRef)(G??eu.beforeOutsideRef)?.focus()}}),D,ew&&(0,k.jsx)(g.FocusGuard,{"data-type":"inside",ref:eb,onFocus:e=>{if(V)(0,C.enqueueFocus)(eC()[0]);else if(eu?.portalNode)if(Y&&(ea.current=!0),(0,b.isOutsideEvent)(e,eu.portalNode)){let e=(0,b.getPreviousTabbable)(J);e?.focus()}else(0,I.resolveRef)(U??eu.afterOutsideRef)?.focus()}})]})}])},164521,e=>{"use strict";e.i(8414);var t=e.i(508609),n=e.i(549248),r=e.i(880269),i=e.i(953329),o=e.i(339697),s=e.i(466494),l=e.i(645900),u=e.i(941637),a=e.i(258188),c=e.i(92715),d=e.i(298761),f=e.i(575878),p=e.i(449758),g=e.i(837751),h=e.i(422736),m=e.i(833506),v=e.i(10683);let b=t.createContext(null),E=()=>t.useContext(b),y=(0,g.createAttribute)("portal");function T(e={}){let{ref:i,container:o,componentProps:c=a.EMPTY_OBJECT,elementProps:d}=e,f=(0,s.useId)(),p=E(),g=p?.portalNode,[m,v]=t.useState(null),[b,S]=t.useState(null),R=(0,u.useStableCallback)(e=>{null!==e&&S(e)}),C=t.useRef(null);(0,l.useIsoLayoutEffect)(()=>{if(null===o){C.current&&(C.current=null,S(null),v(null));return}let e=(o&&((0,r.isNode)(o)?o:o.current))??g??document.body;if(null==e){C.current&&(C.current=null,S(null),v(null));return}C.current!==e&&(C.current=e,S(null),v(e))},[o,g]);let O=(0,h.useRenderElement)("div",c,{ref:[i,R],props:[{id:f,[y]:""},d]}),w=m&&O?n.createPortal(O,m):null;return{node:b,nodeId:t.isValidElement(O)?O.props.id:void 0,subtree:w}}let S=t.forwardRef(function(e,r){let{render:s,className:u,style:a,children:g,container:h,portalOwnerRole:E,...y}=e,{node:S,nodeId:R,subtree:C}=T({container:h,ref:r,componentProps:e,elementProps:y}),O=t.useRef(null),w=t.useRef(null),x=t.useRef(null),A=t.useRef(null),[I,k]=t.useState(null),P=t.useRef(!1),L=I?.modal,M=I?.open,N=!!I&&!I.modal&&I.open&&!!S;t.useEffect(()=>{if(S&&!L)return(0,o.mergeCleanups)((0,i.addEventListener)(S,"focusin",e,!0),(0,i.addEventListener)(S,"focusout",e,!0));function e(e){S&&e.relatedTarget&&(0,d.isOutsideEvent)(e)&&("focusin"===e.type?P.current&&((0,d.enableFocusInside)(S),P.current=!1):((0,d.disableFocusInside)(S),P.current=!0))}},[S,L]),(0,l.useIsoLayoutEffect)(()=>{S&&!0===M&&P.current&&((0,d.enableFocusInside)(S),P.current=!1)},[M,S]);let F=t.useMemo(()=>({beforeOutsideRef:O,afterOutsideRef:w,beforeInsideRef:x,afterInsideRef:A,portalNode:S,setFocusManagerState:k}),[S]);return(0,v.jsxs)(t.Fragment,{children:[C,(0,v.jsxs)(b.Provider,{value:F,children:[N&&S&&(0,v.jsx)(c.FocusGuard,{"data-type":"outside",ref:O,onFocus:e=>{if((0,d.isOutsideEvent)(e,S))x.current?.focus();else{let e=I?I.domReference:null,t=(0,d.getPreviousTabbable)(e);t?.focus()}}}),N&&S&&(0,v.jsx)("span",{role:E,"aria-owns":R,style:m.ownerVisuallyHidden}),S&&n.createPortal(g,S),N&&S&&(0,v.jsx)(c.FocusGuard,{"data-type":"outside",ref:w,onFocus:e=>{if((0,d.isOutsideEvent)(e,S))A.current?.focus();else{let t=I?I.domReference:null,n=(0,d.getNextTabbable)(t);n?.focus(),I?.closeOnFocusOut&&I?.onOpenChange(!1,(0,f.createChangeEventDetails)(p.REASONS.focusOut,e.nativeEvent))}}})]})]})});
1e.s(["FloatingPortal",0,S,"useFloatingPortalNode",0,T,"usePortalContext",0,E])},499473,e=>{"use strict";var t=e.i(912769),n=e.i(102214),r=e.i(916650);let i={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId};class o extends t.ReactStore{constructor(e){const{syncOnly:t,nested:r,onOpenChange:o,triggerElements:s,...l}=e;super({...l,positionReference:l.referenceElement,domReferenceElement:l.referenceElement},{onOpenChange:o,dataRef:{current:{}},events:(0,n.createEventEmitter)(),nested:r,triggerElements:s},i),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,r.isClickLikeEvent)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}}e.s(["FloatingRootStore",0,o])},750119,102214,341209,e=>{"use strict";var t=e.i(508609),n=e.i(466494),r=e.i(645900),i=e.i(690435);function o(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}e.s(["createEventEmitter",0,o],102214);class s{nodesRef={current:[]};events=o();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);-1!==t&&this.nodesRef.current.splice(t,1)}}e.s(["FloatingTreeStore",0,s],341209);var l=e.i(10683);let u=t.createContext(null),a=t.createContext(null),c=()=>t.useContext(u)?.id||null,d=e=>{let n=t.useContext(a);return e??n};e.s(["FloatingNode",0,function(e){let{children:n,id:r}=e,i=c();return(0,l.jsx)(u.Provider,{value:t.useMemo(()=>({id:r,parentId:i}),[r,i]),children:n})},"FloatingTree",0,function(e){let{children:t,externalTree:n}=e,r=(0,i.useRefWithInit)(()=>n??new s).current;return(0,l.jsx)(a.Provider,{value:r,children:t})},"useFloatingNodeId",0,function(e){let t=(0,n.useId)(),i=d(e),o=c();return(0,r.useIsoLayoutEffect)(()=>{if(!t)return;let e={id:t,parentId:o};return i?.addNode(e),()=>{i?.removeNode(e)}},[i,t,o]),t},"useFloatingParentNodeId",0,c,"useFloatingTree",0,d],750119)},534266,e=>{"use strict";var t=e.i(508609),n=e.i(117440),r=e.i(550804),i=e.i(258188),o=e.i(288430),s=e.i(491772),l=e.i(916650),u=e.i(575878),a=e.i(449758);e.s(["useClick",0,function(e,c={}){let{enabled:d=!0,event:f="click",toggle:p=!0,ignoreMouse:g=!1,stickIfOpen:h=!0,touchOpenDelay:m=0,reason:v=a.REASONS.triggerPress}=c,b="rootStore"in e?e.rootStore:e,E=b.context.dataRef,y=t.useRef(void 0),T=(0,n.useAnimationFrame)(),S=(0,r.useTimeout)(),R=t.useMemo(()=>{function e(e,t,n,r){let i=(0,u.createChangeEventDetails)(v,t,n);e&&"touch"===r&&m>0?S.start(m,()=>{b.setOpen(!0,i)}):b.setOpen(e,i)}function t(e,t,n){let r=E.current.openEvent,i=b.select("domReferenceElement")!==t;return!!e&&!!i||!e||!p||!!r&&!!h&&!n(r.type)}return{onPointerDown(e){y.current=(0,l.isMouseLikePointerType)(e.pointerType,!0)&&(0,l.isVirtualPointerEvent)(e.nativeEvent)?"virtual":e.pointerType},onMouseDown(n){let r=y.current,i=n.nativeEvent,u=b.select("open");if(0!==n.button||"click"===f||(0,l.isMouseLikePointerType)(r,!0)&&g)return;let a=t(u,n.currentTarget,e=>"click"===e||"mousedown"===e),c=(0,o.getTarget)(i);if((0,s.isTypeableElement)(c))return void e(a,i,c,r);let d=n.currentTarget;T.request(()=>{e(a,i,d,r)})},onClick(n){if("mousedown-only"===f)return;let r=y.current;if("mousedown"===f&&r){y.current=void 0;return}(0,l.isMouseLikePointerType)(r,!0)&&g||e(t(b.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,r)},onKeyDown(){y.current=void 0}}},[E,f,g,v,b,h,p,T,S,m]);return t.useMemo(()=>d?{reference:R}:i.EMPTY_OBJECT,[d,R])}])},119709,e=>{"use strict";var t=e.i(508609),n=e.i(953329),r=e.i(339697),i=e.i(138273),o=e.i(941637),s=e.i(550804),l=e.i(880269),u=e.i(632714),a=e.i(750119),c=e.i(575878),d=e.i(449758),f=e.i(837751),p=e.i(288430),g=e.i(491772),h=e.i(916650),m=e.i(911333);function v(){return!1}e.s(["useDismiss",0,function(e,b={}){let{enabled:E=!0,escapeKey:y=!0,outsidePress:T=!0,outsidePressEvent:S="sloppy",referencePress:R=v,bubbles:C,externalTree:O}=b,w="rootStore"in e?e.rootStore:e,x=w.useState("open"),A=w.useState("floatingElement"),{dataRef:I,events:k}=w.context,P=(0,a.useFloatingTree)(O),L=(0,o.useStableCallback)("function"==typeof T?T:()=>!1),M="function"==typeof T?L:T,N=!1!==M,F=(0,o.useStableCallback)(()=>S),{escapeKey:D,outsidePress:W}={escapeKey:"boolean"==typeof C?C:C?.escapeKey??!1,outsidePress:"boolean"==typeof C?C:C?.outsidePress??!0},_=t.useRef(!1),H=t.useRef(!1),B=t.useRef(!1),V=t.useRef(!1),Y=t.useRef(!1),j=t.useRef(""),U=t.useRef(null),G=(0,s.useTimeout)(),X=(0,s.useTimeout)(),q=(0,o.useStableCallback)(()=>{X.clear(),I.current.insideReactTree=!1}),$=(0,o.useStableCallback)(e=>{let t=I.current.floatingContext?.nodeId;return(P?(0,m.getNodeChildren)(P.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),K=(0,o.useStableCallback)(e=>(0,g.isEventTargetWithin)(e,w.select("floatingElement"))||(0,g.isEventTargetWithin)(e,w.select("domReferenceElement"))),z=(0,o.useStableCallback)(e=>{R()&&w.setOpen(!1,(0,c.createChangeEventDetails)(d.REASONS.triggerPress,e.nativeEvent))}),J=(0,o.useStableCallback)(e=>{if(!x||!E||!y||"Escape"!==e.key||Y.current||!D&&$("__escapeKeyBubbles"))return;let t=(0,h.isReactEvent)(e)?e.nativeEvent:e,n=(0,c.createChangeEventDetails)(d.REASONS.escapeKey,t);w.setOpen(!1,n),n.isCanceled||e.preventDefault(),D||n.isPropagationAllowed||e.stopPropagation()}),Q=(0,o.useStableCallback)(()=>{I.current.insideReactTree=!0,X.start(0,q)}),Z=(0,o.useStableCallback)(e=>{if(!x||!E||0!==e.button)return;let t=(0,p.getTarget)(e.nativeEvent);
1(0,p.contains)(w.select("floatingElement"),t)&&(_.current||(_.current=!0,H.current=!1))}),ee=(0,o.useStableCallback)(e=>{!x||!E||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&_.current&&(H.current=!0)});t.useEffect(()=>{function e(e){e.open||(V.current=!1)}return k.on("openchange",e),()=>{k.off("openchange",e)}},[k]),t.useEffect(()=>{if(!x||!E)return x||(V.current=!1),q;I.current.__escapeKeyBubbles=D,I.current.__outsidePressBubbles=W;let e=new s.Timeout,t=new s.Timeout,o=(0,i.ownerDocument)(A);function a(){B.current=!0,t.start(0,()=>{B.current=!1})}function v(){_.current=!1,H.current=!1}function b(){let e=j.current,t=F(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function T(e){let t=I.current.floatingContext?.nodeId,n=P&&(0,m.getNodeChildren)(P.nodesRef.current,t).some(t=>(0,g.isEventTargetWithin)(e,t.context?.elements.floating));return K(e)||n}function S(e){let n;if("intentional"===(n=b())&&"click"!==e.type||"sloppy"===n&&"click"===e.type){"click"===e.type||K(e)||(t.clear(),B.current=!1),q();return}if(I.current.insideReactTree)return void q();let r=(0,p.getTarget)(e),o=`[${(0,f.createAttribute)("inert")}]`,s=(0,l.isElement)(r)?r.getRootNode():null,u=Array.from(((0,l.isShadowRoot)(s)?s:(0,i.ownerDocument)(w.select("floatingElement"))).querySelectorAll(o)),a=w.context.triggerElements;if(r&&(a.hasElement(r)||a.hasMatchingElement(e=>(0,p.contains)(e,r))))return;let m=(0,l.isElement)(r)?r:null;for(;m&&!(0,l.isLastTraversableNode)(m);){let e=(0,l.getParentNode)(m);if((0,l.isLastTraversableNode)(e)||!(0,l.isElement)(e))break;m=e}if(!(u.length&&(0,l.isElement)(r)&&!(0,g.isRootElement)(r)&&!(0,p.contains)(r,w.select("floatingElement"))&&u.every(e=>!(0,p.contains)(m,e)))){if((0,l.isHTMLElement)(r)&&!("touches"in e)){let t=(0,l.isLastTraversableNode)(r),n=(0,l.getComputedStyle)(r),i=/auto|scroll/,o=t||i.test(n.overflowX),s=t||i.test(n.overflowY),u=o&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,a=s&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,c="rtl"===n.direction,d=a&&(c?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),f=u&&e.offsetY>r.clientHeight;if(d||f)return}if(!T(e)){if("intentional"===b()){if(0!==e.detail&&!(0,h.isVirtualClick)(e)&&!V.current)return;if(B.current){t.clear(),B.current=!1;return}}"function"==typeof M&&!M(e)||$("__outsidePressBubbles")||(w.setOpen(!1,(0,c.createChangeEventDetails)(d.REASONS.outsidePress,e)),q())}}}function R(e){if("sloppy"!==b()||!w.select("open")||!E||K(e))return;let t=e.touches[0];t&&(U.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},G.start(1e3,()=>{U.current&&(U.current.dismissOnTouchEnd=!1,U.current.dismissOnMouseDown=!1)}))}function C(e,t){let r=(0,p.getTarget)(e);if(!r)return;let i=(0,n.addEventListener)(r,e.type,()=>{t(e),i()})}function O(e){G.clear(),"pointerdown"===e.type&&(0===e.button&&(V.current=!0),j.current=e.pointerType),("mousedown"!==e.type||!U.current||U.current.dismissOnMouseDown)&&C(e,e=>{if("pointerdown"===e.type)"sloppy"!==b()||"touch"===e.pointerType||!w.select("open")||!E||K(e)||S(e);else S(e)})}function k(e){if("pointercancel"===e.type&&(V.current=!1),!_.current)return;let n=H.current;if(v(),"intentional"===b()){if("pointercancel"===e.type){n&&a();return}T(e)||(n?a():("function"!=typeof M||M(e))&&(t.clear(),B.current=!0,q()))}}function L(e){if("sloppy"!==b()||!U.current||K(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-U.current.startX),r=Math.abs(t.clientY-U.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(U.current.dismissOnTouchEnd=!0),i>10&&(S(e),G.clear(),U.current=null)}function X(e){"sloppy"!==b()||!U.current||K(e)||(U.current.dismissOnTouchEnd&&S(e),G.clear(),U.current=null)}let z=(0,r.mergeCleanups)(y&&(0,r.mergeCleanups)((0,n.addEventListener)(o,"keydown",J),(0,n.addEventListener)(o,"compositionstart",function(){e.clear(),Y.current=!0}),(0,n.addEventListener)(o,"compositionend",function(){e.start(5*!!u.platform.engine.webkit,()=>{Y.current=!1})})),N&&(0,r.mergeCleanups)((0,n.addEventListener)(o,"click",O,!0),(0,n.addEventListener)(o,"pointerdown",O,!0),(0,n.addEventListener)(o,"pointerup",k,!0),(0,n.addEventListener)(o,"pointercancel",k,!0),(0,n.addEventListener)(o,"mousedown",O,!0),(0,n.addEventListener)(o,"mouseup",k,!0),(0,n.addEventListener)(o,"touchstart",function(e){j.current="touch",C(e,R)},{capture:!0,passive:!0}),(0,n.addEventListener)(o,"touchmove",function(e){C(e,L)},{capture:!0,passive:!0}),(0,n.addEventListener)(o,"touchend",function(e){C(e,X)},{capture:!0,passive:!0})));return()=>{z(),e.clear(),t.clear(),v(),B.current=!1,q()}},[I,A,y,N,M,x,E,D,W,J,q,F,$,K,P,w,G]);let et=t.useMemo(()=>({onKeyDown:J,onPointerDown:z,onClick:z}),[J,z]),en=t.useMemo(()=>({onKeyDown:J,onPointerDown:ee,onMouseDown:ee,onClickCapture:Q,onMouseDownCapture(e){Q(),Z(e)},onPointerDownCapture(e){Q(),Z(e)},onMouseUpCapture:Q,onTouchEndCapture:Q,onTouchMoveCapture:Q}),[J,Q,Z,ee]);return t.useMemo(()=>E?{reference:et,floating:en,trigger:et}:{},[E,et,en])}])},216308,e=>{"use strict";var t=e.i(508609),n=e.i(645900),r=e.i(880269),i=e.i(499473);e.s(["useSyncedFloatingRootContext",0,function(e){let{popupStore:o,treatPopupAsFloatingElement:s=!1,floatingRootContext:l,floatingId:u,nested:a,onOpenChange:c}=e,d=o.useState("open"),f=o.useState("activeTriggerElement"),p=o.useState(s?"popupElement":"positionerElement"),g=o.context.triggerElements,h=t.useRef(null);
1void 0===l&&null===h.current&&(h.current=new i.FloatingRootStore({open:d,transitionStatus:void 0,referenceElement:f,floatingElement:p,triggerElements:g,onOpenChange:c,floatingId:u,syncOnly:!0,nested:a}));let m=l??h.current;return o.useSyncedValue("floatingId",u),(0,n.useIsoLayoutEffect)(()=>{let e={open:d,floatingId:u,referenceElement:f,floatingElement:p};(0,r.isElement)(f)&&(e.domReferenceElement=f),m.state.positionReference===m.state.referenceElement&&(e.positionReference=f),m.update(e)},[d,u,f,p,m]),m.context.onOpenChange=c,m.context.nested=a,m}])},710563,e=>{"use strict";e.i(8414);var t=e.i(210242),n=e.i(880269),r=e.i(916650),i=e.i(804801);function o(e,t,n){return Math.floor(e/t)!==n}function s(e,t){return t<0||t>=e.length}function l(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let o=t;do o+=n?-i:i;while(o>=0&&o<=e.length-1&&u(e,o,r))return o}function u(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!!(!a(r)||r.matches(":disabled"))||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function a(e,t=e?(0,n.getComputedStyle)(e):null){var r;return!!e&&!!e.isConnected&&!!t&&"hidden"!==(r=t).visibility&&"collapse"!==r.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==t.display&&"contents"!==t.display)}e.s(["findNonDisabledListIndex",0,l,"getGridNavigatedIndex",0,function(e,{event:n,orientation:a,loopFocus:c,onLoop:d,rtl:f,cols:p,disabledIndices:g,minIndex:h,maxIndex:m,prevIndex:v,stopEvent:b=!1}){let E,y=v;if(n.key===i.ARROW_UP?E="up":n.key===i.ARROW_DOWN&&(E="down"),E){let i=[],o=[],a=!1,f=0;{let t=null,n=-1;e.forEach((e,r)=>{if(null==e)return;f+=1;let s=e.closest('[role="row"]');
1s&&(a=!0),(s!==t||-1===n)&&(t=s,i[n+=1]=[]),i[n].push(r),o[r]=n})}let T=!1,S=0;if(a)for(let e of i){let t=e.length;t>S&&(S=t),t!==p&&(T=!0)}let R=T&&f<e.length,C=S||p;b&&(0,r.stopEvent)(n);let O=(t=>{if(!T||-1===v)return;let r=o[v];if(null==r)return;let s=i[r].indexOf(v),l="up"===t?-1:1;for(let t=r+l,a=0;a<i.length;a+=1,t+=l){if(t<0||t>=i.length){if(!c||R)return;if(t=t<0?i.length-1:0,d){let e=Math.min(s,i[t].length-1);t=o[d(n,v,i[t][e]??i[t][0])]??t}}let r=i[t];for(let t=Math.min(s,r.length-1);t>=0;t-=1){let n=r[t];if(!u(e,n,g))return n}}})(E)??(n=>{if(!R||-1===v)return;let r=v%C,i="up"===n?-C:C,o=m-m%C,s=(0,t.floor)(m/C)+1;for(let t=v-r+i,n=0;n<s;n+=1,t+=i){if(t<0||t>m){if(!c)return;t=t<0?o:0}let n=Math.min(t+C-1,m);for(let i=Math.min(t+r,n);i>=t;i-=1)if(!u(e,i,g))return i}})(E);if(void 0!==O)y=O;else if(-1===v)y="up"===E?m:h;else if(y=l(e,{startingIndex:v,amount:C,decrement:"up"===E,disabledIndices:g}),c){if("up"===E&&(v-C<h||y<0)){let e=v%C,t=m%C,r=m-(t-e);y=t===e?m:t>e?r:r-C,d&&(y=d(n,v,y))}"down"===E&&v+C>m&&(y=l(e,{startingIndex:v%C-C,amount:C,disabledIndices:g}),d&&(y=d(n,v,y)))}s(e,y)&&(y=v)}if("both"===a){let u=(0,t.floor)(v/p);n.key===(f?i.ARROW_LEFT:i.ARROW_RIGHT)&&(b&&(0,r.stopEvent)(n),v%p!=p-1?(y=l(e,{startingIndex:v,disabledIndices:g}),c&&o(y,p,u)&&(y=l(e,{startingIndex:v-v%p-1,disabledIndices:g}),d&&(y=d(n,v,y)))):c&&(y=l(e,{startingIndex:v-v%p-1,disabledIndices:g}),d&&(y=d(n,v,y))),o(y,p,u)&&(y=v)),n.key===(f?i.ARROW_RIGHT:i.ARROW_LEFT)&&(b&&(0,r.stopEvent)(n),v%p!=0?(y=l(e,{startingIndex:v,decrement:!0,disabledIndices:g}),c&&o(y,p,u)&&(y=l(e,{startingIndex:v+(p-v%p),decrement:!0,disabledIndices:g}),d&&(y=d(n,v,y)))):c&&(y=l(e,{startingIndex:v+(p-v%p),decrement:!0,disabledIndices:g}),d&&(y=d(n,v,y))),o(y,p,u)&&(y=v));let a=(0,t.floor)(m/p)===u;s(e,y)&&(c&&a?(y=n.key===(f?i.ARROW_RIGHT:i.ARROW_LEFT)?m:l(e,{startingIndex:v-v%p-1,disabledIndices:g}),d&&(y=d(n,v,y))):y=v)}return y},"getMaxListIndex",0,function(e,t){return l(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})},"getMinListIndex",0,function(e,t){return l(e.current,{disabledIndices:t})},"isElementVisible",0,a,"isIndexOutOfListBounds",0,s,"isListIndexDisabled",0,u])},804801,e=>{"use strict";e.s(["ARROW_DOWN",0,"ArrowDown","ARROW_LEFT",0,"ArrowLeft","ARROW_RIGHT",0,"ArrowRight","ARROW_UP",0,"ArrowUp","FOCUSABLE_ATTRIBUTE",0,"data-base-ui-focusable","TYPEABLE_SELECTOR",0,"input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])"])},837751,e=>{"use strict";e.s(["createAttribute",0,function(e){return`data-base-ui-${e}`}])},491772,750273,913162,e=>{"use strict";var t=e.i(880269),n=e.i(632714),r=e.i(288430),i=e.i(804801),o=e.i(682501);e.s(["CommonTriggerDataAttributes",0,o],750273);var o=o;o.popupOpen;let s="data-trigger-disabled";function l(e){return(0,t.isHTMLElement)(e)&&e.matches(i.TYPEABLE_SELECTOR)}e.s(["triggerDisabled",0,s],913162),e.s(["getFloatingFocusElement",0,function(e){return e?e.hasAttribute(i.FOCUSABLE_ATTRIBUTE)?e:e.querySelector(`[${i.FOCUSABLE_ATTRIBUTE}]`)||e:null},"isEventTargetWithin",0,function(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))},"isInteractiveElement",0,function(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${i.TYPEABLE_SELECTOR}`)!=null},"isRootElement",0,function(e){return e.matches("html,body")},"isTargetInsideEnabledTrigger",0,function(e,n){if(!(0,t.isElement)(e))return!1;if(n.hasElement(e))return!e.hasAttribute(s);for(let[,t]of n.entries())if((0,r.contains)(t,e))return!t.hasAttribute(s);return!1},"isTypeableCombobox",0,function(e){return!!e&&"combobox"===e.getAttribute("role")&&l(e)},"isTypeableElement",0,l,"matchesFocusVisible",0,function(e){if(!e||n.platform.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}],491772)},126653,e=>{"use strict";var t=e.i(258188);let n=0;e.s(["enqueueFocus",0,function(e,r={}){let{preventScroll:i=!1,sync:o=!1,shouldFocus:s}=r;function l(){(!s||s())&&e?.focus({preventScroll:i})}if(cancelAnimationFrame(n),o)return l(),t.NOOP;let u=requestAnimationFrame(l);return n=u,()=>{n===u&&(cancelAnimationFrame(u),n=0)}}])},916650,e=>{"use strict";var t=e.i(632714);e.s(["isClickLikeEvent",0,function(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t},"isMouseLikePointerType",0,function(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)},"isReactEvent",0,function(e){return"nativeEvent"in e},"isVirtualClick",0,function(e){return""===e.pointerType&&!!e.isTrusted||(t.platform.os.android&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)},"isVirtualPointerEvent",0,function(e){return!t.platform.env.jsdom&&(!t.platform.os.android&&0===e.width&&0===e.height||t.platform.os.android&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)},"stopEvent",0,function(e){e.preventDefault(),e.stopPropagation()}])},15860,e=>{"use strict";var t=e.i(880269),n=e.i(138273);let r={inert:new WeakMap,"aria-hidden":new WeakMap},i="data-base-ui-inert",o={inert:new WeakSet,"aria-hidden":new WeakSet},s=new WeakMap,l=0,u=(e,n)=>n.map(n=>{if(e.contains(n))return n;let r=function e(n){return n?(0,t.isShadowRoot)(n)?n.host:e(n.parentNode):null}(n);return e.contains(r)?r:null}).filter(e=>null!=e),a=e=>{let t=new Set;
1return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},c=(e,n,r)=>{let i=[],o=e=>{!e||r.has(e)||Array.from(e.children).forEach(e=>{"script"!==(0,t.getNodeName)(e)&&(n.has(e)?o(e):i.push(e))})};return o(e),i};e.s(["markOthers",0,function(e,t={}){let{ariaHidden:d=!1,inert:f=!1,mark:p=!0}=t,g=(0,n.ownerDocument)(e[0]).body;return function(e,t,n,d,{mark:f=!0}){let p=null;d?p="inert":n&&(p="aria-hidden");let g=null,h=null,m=u(t,e),v=f?c(t,a(m),new Set(m)):[],b=[],E=[];if(p){let e=r[p],n=o[p];h=n,g=e;let i=u(t,Array.from(t.querySelectorAll("[aria-live]"))),s=m.concat(i);c(t,a(s),new Set(s)).forEach(t=>{let r=t.getAttribute(p),i=null!==r&&"false"!==r,o=(e.get(t)||0)+1;e.set(t,o),b.push(t),1===o&&i&&n.add(t),i||t.setAttribute(p,"inert"===p?"":"true")})}return f&&v.forEach(e=>{let t=(s.get(e)||0)+1;s.set(e,t),E.push(e),1===t&&e.setAttribute(i,"")}),l+=1,()=>{g&&b.forEach(e=>{let t=(g.get(e)||0)-1;g.set(e,t),t||(!h?.has(e)&&p&&e.removeAttribute(p),h?.delete(e))}),f&&E.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||e.removeAttribute(i)}),(l-=1)||(r.inert=new WeakMap,r["aria-hidden"]=new WeakMap,o.inert=new WeakSet,o["aria-hidden"]=new WeakSet,s=new WeakMap)}}(e,g,d,f,{mark:p})}])},911333,e=>{"use strict";e.s(["getNodeAncestors",0,function(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n},"getNodeChildren",0,function e(t,n,r=!0){return t.filter(e=>e.parentId===n).flatMap(n=>[...!r||n.context?.open?[n]:[],...e(t,n.id,r)])}])},298761,e=>{"use strict";var t=e.i(880269),n=e.i(138273),r=e.i(288430),i=e.i(710563);function o(e){for(let n of Array.from(e.children))if("summary"===(0,t.getNodeName)(n))return n;return null}function s(e){let n=e?(0,t.getNodeName)(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==n||null!=e.parentElement&&"details"===(0,t.getNodeName)(e.parentElement)&&o(e.parentElement)===e)&&("details"!==n||null==o(e))&&("input"!==n||"hidden"!==e.type)}function l(e){if(!s(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let n=e;n;n=function(e){let n=e.assignedSlot;if(n)return n;if(e.parentElement)return e.parentElement;let r=e.getRootNode();return(0,t.isShadowRoot)(r)?r.host:null}(n)){let s=n!==e,l="slot"===(0,t.getNodeName)(n);if(n.hasAttribute("inert")||s&&"details"===(0,t.getNodeName)(n)&&!n.open&&!function(e,t){let n=o(t);return!!n&&(e===n||(0,r.contains)(n,e))}(e,n)||n.hasAttribute("hidden")||!l&&!function(e,n){let r=(0,t.getComputedStyle)(e);return n?"none"!==r.display:(0,i.isElementVisible)(e,r)}(n,s))return!1}return!0}function u(e){let n=e.tabIndex;if(n<0){let n=(0,t.getNodeName)(e);if("details"===n||"audio"===n||"video"===n||(0,t.isHTMLElement)(e)&&e.isContentEditable)return 0}return n}function a(e){return"input"!==(0,t.getNodeName)(e)?null:"radio"===e.type&&""!==e.name?e:null}function c(e){if((0,t.isHTMLElement)(e)&&"slot"===(0,t.getNodeName)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,t.isHTMLElement)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function d(e){let t=[];return!function e(t,n){c(t).forEach(t=>{s(t)&&n.push(t),e(t,n)})}(e,t),t.filter(l)}function f(e){let t=d(e);return t.filter(e=>u(e)>=0&&function(e,t){let n=a(e);if(!n)return!0;let r=t.find(e=>{let t=a(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=a(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function p(e,t){let i=f(e),o=i.length;if(0===o)return;let s=(0,r.activeElement)((0,n.ownerDocument)(e)),l=i.indexOf(s);return i[-1===l?1===t?0:o-1:l+t]}function g(e,t){if(!e)return null;let r=f((0,n.ownerDocument)(e).body),i=r.length;if(0===i)return null;let o=r.indexOf(e);return -1===o?null:r[(o+t+i)%i]}e.s(["disableFocusInside",0,function(e){f(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})},"enableFocusInside",0,function(e){let n=[];
1!function e(n,r,i){c(n).forEach(n=>{(0,t.isHTMLElement)(n)&&n.matches(r)&&i.push(n),e(n,r,i)})}(e,"[data-tabindex]",n),n.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})},"focusable",0,d,"getNextTabbable",0,function(e){return p((0,n.ownerDocument)(e).body,1)||e},"getPreviousTabbable",0,function(e){return p((0,n.ownerDocument)(e).body,-1)||e},"getTabbableAfterElement",0,function(e){return g(e,1)},"getTabbableBeforeElement",0,function(e){return g(e,-1)},"isOutsideEvent",0,function(e,t){let n=t||e.currentTarget,i=e.relatedTarget;return!i||!(0,r.contains)(n,i)},"isTabbable",0,function(e){return l(e)&&u(e)>=0},"tabbable",0,f])},97849,e=>{"use strict";var t=e.i(880269);let n="ArrowUp",r="ArrowDown",i="ArrowLeft",o="ArrowRight",s="Home",l=new Set([n,r,i,o,s,"End"]);function u(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function a(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}e.s(["ARROW_DOWN",0,r,"ARROW_LEFT",0,i,"ARROW_RIGHT",0,o,"ARROW_UP",0,n,"COMPOSITE_KEYS",0,l,"END",0,"End","HOME",0,s,"MODIFIER_KEYS",0,["Shift","Control","Alt","Meta"],"PAGE_DOWN",0,"PageDown","PAGE_UP",0,"PageUp","isNativeInput",0,function(e){return!!((0,t.isHTMLElement)(e)&&"INPUT"===e.tagName&&null!=e.selectionStart||(0,t.isHTMLElement)(e)&&"TEXTAREA"===e.tagName)},"scrollIntoViewIfNeeded",0,function(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,o=e.scrollTop,s=e.clientWidth<e.scrollWidth,l=e.clientHeight<e.scrollHeight;if(s&&"vertical"!==r){let r=u(e,t,"left"),o=a(e),s=a(t);"ltr"===n&&(r+t.offsetWidth+s.scrollMarginRight>e.scrollLeft+e.clientWidth-o.scrollPaddingRight?i=r+t.offsetWidth+s.scrollMarginRight-e.clientWidth+o.scrollPaddingRight:r-s.scrollMarginLeft<e.scrollLeft+o.scrollPaddingLeft&&(i=r-s.scrollMarginLeft-o.scrollPaddingLeft)),"rtl"===n&&(r-s.scrollMarginLeft<e.scrollLeft+o.scrollPaddingLeft?i=r-s.scrollMarginLeft-o.scrollPaddingLeft:r+t.offsetWidth+s.scrollMarginRight>e.scrollLeft+e.clientWidth-o.scrollPaddingRight&&(i=r+t.offsetWidth+s.scrollMarginRight-e.clientWidth+o.scrollPaddingRight))}if(l&&"horizontal"!==r){let n=u(e,t,"top"),r=a(e),i=a(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?o=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(o=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:o,behavior:"auto"})}])},833506,e=>{"use strict";e.s(["CLICK_TRIGGER_IDENTIFIER",0,"data-base-ui-click-trigger","DISABLED_TRANSITIONS_STYLE",0,{style:{transition:"none"}},"DROPDOWN_COLLISION_AVOIDANCE",0,{fallbackAxisSide:"none"},"PATIENT_CLICK_THRESHOLD",0,500,"POPUP_COLLISION_AVOIDANCE",0,{fallbackAxisSide:"end"},"TYPEAHEAD_RESET_MS",0,500,"ownerVisuallyHidden",0,{clipPath:"inset(50%)",position:"fixed",top:0,left:0}])},106957,e=>{"use strict";var t=e.i(886865);let n=t.startingStyle,r=t.endingStyle;e.s(["align",0,"data-align","anchorHidden",0,"data-anchor-hidden","closed",0,"data-closed","endingStyle",0,r,"open",0,"data-open","side",0,"data-side","startingStyle",0,n])},682501,e=>{"use strict";e.s(["popupOpen",0,"data-popup-open","pressed",0,"data-pressed"])},92715,e=>{"use strict";e.i(8414);var t=e.i(508609),n=e.i(645900),r=e.i(632714),i=e.i(992840),o=e.i(10683);let s=t.forwardRef(function(e,s){let[l,u]=t.useState();return(0,n.useIsoLayoutEffect)(()=>{r.platform.screenReader.voiceOver&&r.platform.engine.webkit&&u("button")},[]),(0,o.jsx)("span",{...e,ref:s,style:i.visuallyHidden,"aria-hidden":!l||void 0,...{tabIndex:0,role:l},"data-base-ui-focus-guard":""})});e.s(["FocusGuard",0,s])},966791,e=>{"use strict";e.i(8414);var t=e.i(508609),n=e.i(10683);let r=t.forwardRef(function(e,t){let r,{cutout:i,...o}=e;if(i){let e=i.getBoundingClientRect();r=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,n.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:r}})});e.s(["InternalBackdrop",0,r])},435782,e=>{"use strict";var t=e.i(912769);class n extends t.ReactStore{setState(e){}update(e){}set(e,t){}notifyAll(){}}e.s(["NullStore",0,n])},432766,e=>{"use strict";var t=e.i(324220),n=e.i(106957),r=e.i(682501);let i={[r.popupOpen]:""},o={[r.popupOpen]:"",[r.pressed]:""},s={[n.open]:""},l={[n.closed]:""},u={[n.anchorHidden]:""},a={open:e=>e?s:l,anchorHidden:e=>e?u:null},c={...a,...t.transitionStatusMapping};e.s(["popupStateMapping",0,a,"popupTransitionStateMapping",0,c,"pressableTriggerOpenStateMapping",0,{open:e=>e?o:null},"triggerOpenStateMapping",0,{open:e=>e?i:null}])},739613,e=>{"use strict";e.i(8414);var t=e.i(49465),n=e.i(575878),r=e.i(449758);class i{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(e,t,n=!0){this.fallbackStore=e,this.componentName=t,this.throwOnMissingTrigger=n}get attachedStore(){return this.attachedStoreValue}
1get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(e){return this.storeListeners.add(e),()=>{this.storeListeners.delete(e)}}attachStore(e){return this.attachedStores.push(e),this.setActiveStore(e),()=>{let t=this.attachedStores.lastIndexOf(e);-1!==t&&this.attachedStores.splice(t,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(e){this.attachedStoreValue!==e&&(this.attachedStoreValue=e,this.storeListeners.forEach(e=>{e()}))}openByTrigger(e){let i,o=this.attachedStore;if(null!==o){if(e){for(let t=this.attachedStores.length-1;t>=0&&!i;t-=1)i=this.attachedStores[t].context.triggerElements.getById(e);i??=this.fallbackStore.context.triggerElements.getById(e)}if(e&&!i&&this.throwOnMissingTrigger)throw Error((0,t.default)(99,this.componentName,e,this.componentName));o.setOpen(!0,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction,void 0,i))}}closePopup(){let e=this.attachedStore;null===e||e.setOpen(!1,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction))}}e.s(["BasePopupHandle",0,i])},214419,e=>{"use strict";var t=e.i(508609),n=e.i(549248),r=e.i(258188),i=e.i(466494),o=e.i(941637),s=e.i(645900),l=e.i(690435),u=e.i(804801),a=e.i(750119),c=e.i(216308),d=e.i(88366),f=e.i(283115),p=e.i(575878),g=e.i(449758);let h={tabIndex:-1,[u.FOCUSABLE_ATTRIBUTE]:""};function m(e){let t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function v(e,n){let r=t.useRef(null);return(0,o.useStableCallback)(t=>{let i=r.current;if(null!==i){if(i.element===t&&i.store===n&&i.id===e)return;r.current=null;let o=i.store;o.context.triggerElements.getById(i.id)===i.element&&(o.context.triggerElements.delete(i.id),m(o))}null!==t&&void 0!==e&&(r.current={store:n,id:e,element:t},n.context.triggerElements.add(e,t),m(n))})}function b(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);let o=n?.id??null,s=e.activeTriggerId,l=e.activeTriggerElement;return(o||t)&&(s=o,l=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:s,activeTriggerElement:l}}function E(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}e.s(["FOCUSABLE_POPUP_PROPS",0,h,"PopupHandleAttachment",0,function({handle:e,store:t}){return(0,s.useIsoLayoutEffect)(()=>e.attachStore(t),[e,t]),null},"applyPopupOpenChange",0,function(e,t,r,i={}){let o=r.reason,s=o===g.REASONS.triggerHover,l=t&&o===g.REASONS.triggerFocus,u=!t&&(o===g.REASONS.triggerPress||o===g.REASONS.escapeKey),a=E(r);if(e.context.onOpenChange?.(t,r),r.isCanceled)return;i.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,r);let c=()=>{let n=b(e.state,t,r.trigger,a()),o={...i.extraState,...n};l?o.instantType="focus":u?o.instantType="dismiss":s&&(o.instantType=void 0),e.update(o)};s?n.flushSync(c):c()},"attachPreventUnmountOnClose",0,E,"createDefaultInitialFocus",0,function(e){return t=>"touch"!==t||e.current},"createPopupOpenState",0,b,"useImplicitActiveTrigger",0,function(e,n={}){let{closeOnActiveTriggerUnmount:r=!1}=n,i=t.useRef(null),o=e.useState("open"),l=e.useState("triggerCount"),u=e.useState("activeTriggerId"),a=e.useState("activeTriggerElement");(0,s.useIsoLayoutEffect)(()=>{if(!o){i.current=null,0!==e.state.triggerCount&&e.set("triggerCount",0);return}let t=e.context.triggerElements.size,n={};e.state.triggerCount!==t&&(n.triggerCount=t);let s=e.select("activeTriggerId"),l=null;if(s){let t=e.context.triggerElements.getById(s);if(t)i.current=s,t!==e.state.activeTriggerElement&&(n.activeTriggerElement=t);else{for(let[t,r]of e.context.triggerElements.entries())if(r===e.state.activeTriggerElement){n.activeTriggerId=t,n.activeTriggerElement=r,i.current=t;break}void 0===n.activeTriggerId&&(i.current===s?l=s:i.current=null)}}else i.current=null;if(!l&&!s&&1===t){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,r]=t.value;n.activeTriggerId=e,n.activeTriggerElement=r,i.current=e}}(void 0!==n.triggerCount||void 0!==n.activeTriggerId||void 0!==n.activeTriggerElement)&&e.update(n),l&&r&&queueMicrotask(()=>
1{if(e.select("open")&&e.select("activeTriggerId")===l&&!e.context.triggerElements.getById(l)){let t=(0,p.createChangeEventDetails)(g.REASONS.none);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[o,e,l,u,a,r])},"useOpenStateTransitions",0,function(e,t,n,r){let{mounted:i,setMounted:s,transitionStatus:l}=(0,d.useTransitionStatus)(e,!1,!1,r),u=t.useState("preventUnmountingOnClose"),a=!e&&u;t.useSyncedValues({mounted:i,transitionStatus:l,preventUnmountingOnClose:a});let c=(0,o.useStableCallback)(()=>{s(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return(0,f.useOpenChangeComplete)({enabled:i&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||c()}}),{forceUnmount:c,transitionStatus:l}},"usePopupInteractionProps",0,function(e,t){e.useSyncedValues(t),(0,s.useIsoLayoutEffect)(()=>()=>{e.update({activeTriggerProps:r.EMPTY_OBJECT,inactiveTriggerProps:r.EMPTY_OBJECT,popupProps:r.EMPTY_OBJECT})},[e])},"usePopupRootStore",0,function(e,t=!1){let n=(0,i.useId)(),r=null!=(0,a.useFloatingParentNodeId)(),o=(0,l.useRefWithInit)(()=>e(n,r)).current;return(0,c.useSyncedFloatingRootContext)({popupStore:o,treatPopupAsFloatingElement:t,floatingRootContext:o.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:o.setOpen}),o},"usePopupRootSync",0,function(e,t){(0,s.useIsoLayoutEffect)(()=>{t||null===e.state.openMethod||e.set("openMethod",null)},[t,e]),(0,s.useIsoLayoutEffect)(()=>()=>{null!==e.state.openMethod&&e.set("openMethod",null)},[e])},"useTriggerDataForwarding",0,function(e,t,n,r){let i=n.useState("isMountedByTrigger",e),l=v(e,n),u=(0,o.useStableCallback)(t=>{let i=n.select("open"),o=n.select("activeTriggerId");if(o===e){let e={activeTriggerElement:t,...i?r:null};n.update(e);return}if(null==o&&i){let i={activeTriggerId:e??null,activeTriggerElement:t,...r};n.update(i)}}),a=(0,o.useStableCallback)(e=>{l(e),e&&u(e)});return(0,s.useIsoLayoutEffect)(()=>(a(t.current),()=>a(null)),[a,t,n,e]),(0,s.useIsoLayoutEffect)(()=>{if(i){let e={activeTriggerElement:t.current,...r};n.update(e)}},[i,n,t,...Object.values(r)]),{registerTrigger:a,isMountedByThisTrigger:i}},"useTriggerRegistration",0,v])},559313,e=>{"use strict";e.i(8414),e.s(["PopupTriggerMap",0,class{constructor(){this.idMap=new Map}add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}}])},734291,e=>{"use strict";var t=e.i(258188),n=e.i(499473);let r=e=>e.triggerIdProp??e.activeTriggerId,i=e=>e.openProp??e.open,o=e=>(e.popupElement?.id??e.floatingId)||void 0;function s(e,t){return void 0!==t&&i(e)&&r(e)===t}e.s(["createInitialPopupStoreState",0,function(e,r,i=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new n.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:r,syncOnly:!0,nested:i,onOpenChange:void 0}),floatingId:r,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:t.EMPTY_OBJECT,inactiveTriggerProps:t.EMPTY_OBJECT,popupProps:t.EMPTY_OBJECT}},"popupStoreSelectors",0,{open:i,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:r,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:o,isTriggerActive:(e,t)=>void 0!==t&&r(e)===t,isOpenedByTrigger:(e,t)=>s(e,t),isMountedByTrigger:(e,t)=>void 0!==t&&r(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>s(e,t)||void 0!==t&&i(e)&&null==r(e)&&1===e.triggerCount?o(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement}])},663327,e=>{"use strict";var t=e.i(508609),n=e.i(745549),r=e.i(258188);e.s(["usePopupHandleStore",0,function(e){let i=t.useCallback(t=>void 0===e?r.NOOP:e.subscribeStore(t),[e]),o=t.useCallback(()=>void 0===e?void 0:e.store,[e]);
1return(0,n.useSyncExternalStore)(i,o,()=>e?.serverStore)}])},297973,e=>{"use strict";var t=e.i(508609),n=e.i(941637),r=e.i(632714),i=e.i(50081);function o(e,i){var o;let s,l,{onClick:u,onPointerDown:a}=(o=(0,n.useStableCallback)((t,n)=>{("function"==typeof e?e():e)||i(n||(r.platform.os.ios?"touch":""))}),s=t.useRef(""),l=t.useCallback(e=>{e.defaultPrevented||(s.current=e.pointerType,o(e,e.pointerType))},[o]),{onClick:t.useCallback(e=>{0===e.detail?o(e,"keyboard"):("pointerType"in e?o(e,e.pointerType):o(e,s.current),s.current="")},[o]),onPointerDown:l});return t.useMemo(()=>({onClick:u,onPointerDown:a}),[u,a])}e.s(["useOpenInteractionType",0,function(e){let[n,r]=t.useState(null),s=o(e,r);return(0,i.useValueChanged)(e,t=>{t&&!e&&r(null)}),t.useMemo(()=>({openMethod:n,triggerProps:s}),[n,s])},"useOpenMethodTriggerProps",0,o],297973)},977311,e=>{"use strict";let t;var n=e.i(508609),r=e.i(690435);let i=[];function o(e){let n=(n,o)=>{let l,u=(0,r.useRefWithInit)(s).current;try{for(let e of(t=u,i))e.before(u);for(let t of(l=e(n,o),i))t.after(u);u.didInitialize=!0}finally{t=void 0}return l};return n.displayName=e.displayName||e.name,n}function s(){return{didInitialize:!1}}e.s(["fastComponent",0,o,"fastComponentRef",0,function(e){return n.forwardRef(o(e))},"getInstance",0,function(){return t},"register",0,function(e){i.push(e)}])},872919,e=>{"use strict";var t=e.i(717438);
1e.s(["inertValue",0,function(e){return(0,t.isReactVersionAtLeast)(19)?e:e?"true":void 0}])},339697,e=>{"use strict";e.s(["mergeCleanups",0,function(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}])},632714,e=>{"use strict";e.s([],527267),e.i(527267);let{userAgent:t,platform:n,maxTouchPoints:r}="u"<typeof navigator?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0},i=t.toLowerCase(),o=n.toLowerCase(),s=/^i(os$|p)/.test(o)||"macintel"===o&&r>1,l="android",u=o===l||i.includes(l),a=!s&&o.startsWith("mac"),c=o.startsWith("win"),d=!u&&/^(linux|chrome os)/.test(o),f=a||s;e.s(["android",0,u,"apple",0,f,"ios",0,s,"linux",0,d,"mac",0,a,"windows",0,c],384994);var p=e.i(384994);let g="u">typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none"),h=!g&&i.includes("firefox"),m=!g&&i.includes("chrom");e.s(["blink",0,m,"gecko",0,h,"webkit",0,g],56665);var v=e.i(56665);e.s(["voiceOver",0,f],796267);var b=e.i(796267);let E=/jsdom|happydom/.test(i);e.s(["jsdom",0,E],504924);var y=e.i(504924);e.s(["iOS",0,"@supports (-webkit-touch-callout: none)"],552437);var T=e.i(552437);e.s(["engine",0,v,"env",0,y,"mediaQuery",0,T,"os",0,p,"screenReader",0,b],981173);var S=e.i(981173);e.s(["platform",0,S],632714)},912769,e=>{"use strict";var t=e.i(508609),n=e.i(745549),r=e.i(127337),i=e.i(717438),o=e.i(977311);let s=(0,i.isReactVersionAtLeast)(19)?function(e,r,i,s,l){let u,a=(0,o.getInstance)();if(!a){let o;return o=t.useCallback(()=>r(e.getSnapshot(),i,s,l),[e,r,i,s,l]),(0,n.useSyncExternalStore)(e.subscribe,o,o)}let c=a.syncIndex;return a.syncIndex+=1,a.didInitialize?(u=a.syncHooks[c]).store===e&&u.selector===r&&Object.is(u.a1,i)&&Object.is(u.a2,s)&&Object.is(u.a3,l)||(u.store!==e&&(a.didChangeStore=!0),u.store=e,u.selector=r,u.a1=i,u.a2=s,u.a3=l,u.value=r(e.getSnapshot(),i,s,l)):(u={store:e,selector:r,a1:i,a2:s,a3:l,value:r(e.getSnapshot(),i,s,l)},a.syncHooks.push(u)),u.value}:function(e,t,n,i,o){return(0,r.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,i,o))};(0,o.register)({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,n.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});class l{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return s(this,e,t,n,r)}}var u=e.i(941637),a=e.i(645900),c=e.i(258188);e.s(["ReactStore",0,class extends l{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,n){t.useDebugValue(e);let r=this;(0,a.useIsoLayoutEffect)(()=>{r.state[e]!==n&&r.set(e,n)},[r,e,n])}useSyncedValueWithCleanup(e,t){let n=this;(0,a.useIsoLayoutEffect)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);(0,a.useIsoLayoutEffect)(()=>{t.update(e)},[t,...n])}useControlledProp(e,n){t.useDebugValue(e);let r=this,i=void 0!==n;(0,a.useIsoLayoutEffect)(()=>{i&&!Object.is(r.state[e],n)&&r.setState({...r.state,[e]:n})},[r,e,n,i])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,n,r,i){return t.useDebugValue(e),s(this,this.selectors[e],n,r,i)}useContextCallback(e,n){t.useDebugValue(e);let r=(0,u.useStableCallback)(n??c.NOOP);this.context[e]=r}useStateSetter(e){let n=t.useRef(void 0);return void 0===n.current&&(n.current=t=>{this.set(e,t)}),n.current}observe(e,t){let n,r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}}],912769)},602298,e=>{"use strict";var t=e.i(880269),n=e.i(953329),r=e.i(632714),i=e.i(138273),o=e.i(479995),s=e.i(645900),l=e.i(550804),u=e.i(117440);let a={},c={},d="";function f(e,n){return(0,t.isOverflowElement)(e)?e:n}
1function p(e,t,n){return/hidden|clip/.test(e.getComputedStyle(f(t,n)).overflowY)}class g{lockCount=0;restore=null;timeoutLock=l.Timeout.create();timeoutUnlock=l.Timeout.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){let t,s,l;if(0===this.lockCount||null!==this.restore)return;let g=(0,i.ownerDocument)(e),h=g.documentElement,m=g.body,v=(0,o.ownerWindow)(h);if(p(v,h,m)){let t=new v.MutationObserver(()=>{p(v,h,m)||(t.disconnect(),this.restore=null,this.lock(e))}),n={attributes:!0};t.observe(h,n),t.observe(m,n),this.restore=()=>t.disconnect();return}let b=r.platform.os.ios||!function(e){if("u"<typeof document)return!1;let t=(0,i.ownerDocument)(e);return(0,o.ownerWindow)(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=b?(l={overflowY:(s=f((t=(0,i.ownerDocument)(e)).documentElement,t.body)).style.overflowY,overflowX:s.style.overflowX},Object.assign(s.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(s.style,l)}):function(e){let t=(0,i.ownerDocument)(e),s=t.documentElement,l=t.body,p=(0,o.ownerWindow)(s),g=0,h=0,m=!1,v=u.AnimationFrame.create();if(r.platform.engine.webkit&&(p.visualViewport?.scale??1)!==1)return()=>{};function b(){let t=p.getComputedStyle(s),n=p.getComputedStyle(l),r=(t.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";g=s.scrollTop,h=s.scrollLeft,a={scrollbarGutter:s.style.scrollbarGutter,overflowY:s.style.overflowY,overflowX:s.style.overflowX},d=s.style.scrollBehavior,c={position:l.style.position,height:l.style.height,width:l.style.width,boxSizing:l.style.boxSizing,overflowY:l.style.overflowY,overflowX:l.style.overflowX,scrollBehavior:l.style.scrollBehavior};let o=s.scrollHeight>s.clientHeight,u=s.scrollWidth>s.clientWidth,v="scroll"===t.overflowY||"scroll"===n.overflowY,b="scroll"===t.overflowX||"scroll"===n.overflowX,E=Math.max(0,p.innerWidth-l.clientWidth),y=Math.max(0,p.innerHeight-l.clientHeight),T=parseFloat(n.marginTop)+parseFloat(n.marginBottom),S=parseFloat(n.marginLeft)+parseFloat(n.marginRight),R=f(s,l);if(m=function(e){if(!("u">typeof CSS&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||"u"<typeof document)return!1;let t=(0,i.ownerDocument)(e),n=t.documentElement,r=f(n,t.body),o=r.style.overflowY,s=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",r.style.overflowY="scroll";let l=r.offsetWidth;r.style.overflowY="hidden";let u=r.offsetWidth;return r.style.overflowY=o,n.style.scrollbarGutter=s,l===u}(e)){s.style.scrollbarGutter=r,R.style.overflowY="hidden",R.style.overflowX="hidden";return}Object.assign(s.style,{scrollbarGutter:r,overflowY:"hidden",overflowX:"hidden"}),(o||v)&&(s.style.overflowY="scroll"),(u||b)&&(s.style.overflowX="scroll"),Object.assign(l.style,{position:"relative",height:T||y?`calc(100dvh - ${T+y}px)`:"100dvh",width:S||E?`calc(100vw - ${S+E}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),l.scrollTop=g,l.scrollLeft=h,s.setAttribute("data-base-ui-scroll-locked",""),s.style.scrollBehavior="unset"}function E(){Object.assign(s.style,a),Object.assign(l.style,c),m||(s.scrollTop=g,s.scrollLeft=h,s.removeAttribute("data-base-ui-scroll-locked"),s.style.scrollBehavior=d)}b();let y=(0,n.addEventListener)(p,"resize",function(){E(),v.request(b)});return()=>{v.cancel(),E(),"function"==typeof p.removeEventListener&&y()}}(e)}}let h=new g;e.s(["useScrollLock",0,function(e=!0,t=null){(0,s.useIsoLayoutEffect)(()=>{if(e)return h.acquire(t)},[e,t])}])},992840,e=>{"use strict";let t={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},n={...t,position:"fixed",top:0,left:0},r={...t,position:"absolute"};e.s(["visuallyHidden",0,n,"visuallyHiddenInput",0,r])},210242,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>
1e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,s=Math.floor,l={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e){return e.split("-")[0]}function a(e){return e.split("-")[1]}function c(e){return"x"===e?"y":"x"}function d(e){return"y"===e?"height":"width"}function f(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function p(e){return c(f(e))}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let h=["left","right"],m=["right","left"],v=["top","bottom"],b=["bottom","top"];function E(e){let t=u(e);return l[t]+e.slice(t.length)}e.s(["clamp",0,function(e,t,n){return i(e,r(t,n))},"createCoords",0,e=>({x:e,y:e}),"evaluate",0,function(e,t){return"function"==typeof e?e(t):e},"floor",0,s,"getAlignment",0,a,"getAlignmentAxis",0,p,"getAlignmentSides",0,function(e,t,n){void 0===n&&(n=!1);let r=a(e),i=p(e),o=d(i),s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=E(s)),[s,E(s)]},"getAxisLength",0,d,"getExpandedPlacements",0,function(e){let t=E(e);return[g(e),t,g(t)]},"getOppositeAlignmentPlacement",0,g,"getOppositeAxis",0,c,"getOppositeAxisPlacements",0,function(e,t,n,r){let i=a(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?m:h;return t?h:m;case"left":case"right":return t?v:b;default:return[]}}(u(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(g)))),o},"getOppositePlacement",0,E,"getPaddingObject",0,function(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}},"getSide",0,u,"getSideAxis",0,f,"max",0,i,"min",0,r,"placements",0,n,"rectToClientRect",0,function(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}},"round",0,o,"sides",0,t])}]);

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.