1(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,726674,638396,e=>{var t=e.i(271645),n=e.i(174080),r=e.i(229315),i=e.i(574735),o=e.i(365420),l=e.i(883977),u=e.i(146376),s=e.i(667865),a=e.i(956789),f=e.i(152535),c=e.i(383976),d=e.i(675606),p=e.i(6304),h=e.i(451321),g=e.i(552245);let m={clipPath:"inset(50%)",position:"fixed",top:0,left:0};e.s(["j",0,"data-base-ui-click-trigger","e",0,{style:{transition:"none"}},"B",0,{fallbackAxisSide:"none"},"K",0,500,"n",0,{fallbackAxisSide:"end"},"g",0,500,"Z",0,m],638396);var v=e.i(843476);let y=t.createContext(null),x=()=>t.useContext(y),b=(0,h.f)("portal");function w(e={}){let{ref:i,container:o,componentProps:f=a.w,elementProps:c}=e,d=(0,l.f)(),p=x(),h=p?.portalNode,[m,v]=t.useState(null),[y,E]=t.useState(null),R=(0,s.f)(e=>{null!==e&&E(e)}),S=t.useRef(null);(0,u.f)(()=>{if(null===o){S.current&&(S.current=null,E(null),v(null));return}let e=(o&&((0,r.t)(o)?o:o.current))??h??document.body;if(null==e){S.current&&(S.current=null,E(null),v(null));return}S.current!==e&&(S.current=e,E(null),v(e))},[o,h]);let T=(0,g.f)("div",f,{ref:[i,R],props:[{id:d,[b]:""},c]}),O=m&&T?n.createPortal(T,m):null;return{node:y,nodeId:t.isValidElement(T)?T.props.id:void 0,subtree:O}}let E=t.forwardRef(function(e,r){let{render:l,className:s,style:a,children:h,container:g,portalOwnerRole:x,...b}=e,{node:E,nodeId:R,subtree:S}=w({container:g,ref:r,componentProps:e,elementProps:b}),T=t.useRef(null),O=t.useRef(null),C=t.useRef(null),A=t.useRef(null),[I,M]=t.useState(null),P=t.useRef(!1),k=I?.modal,j=I?.open,D=!!I&&!I.modal&&I.open&&!!E;t.useEffect(()=>{if(E&&!k)return(0,o.f)((0,i.f)(E,"focusin",e,!0),(0,i.f)(E,"focusout",e,!0));function e(e){E&&e.relatedTarget&&(0,c.A)(e)&&("focusin"===e.type?P.current&&((0,c.d)(E),P.current=!1):((0,c.r)(E),P.current=!0))}},[E,k]),(0,u.f)(()=>{E&&!0===j&&P.current&&((0,c.d)(E),P.current=!1)},[j,E]);let L=t.useMemo(()=>({beforeOutsideRef:T,afterOutsideRef:O,beforeInsideRef:C,afterInsideRef:A,portalNode:E,setFocusManagerState:M}),[E]);return(0,v.jsxs)(t.Fragment,{children:[S,(0,v.jsxs)(y.Provider,{value:L,children:[D&&E&&(0,v.jsx)(f.f,{"data-type":"outside",ref:T,onFocus:e=>{if((0,c.A)(e,E))C.current?.focus();else{let e=I?I.domReference:null,t=(0,c.B)(e);t?.focus()}}}),D&&E&&(0,v.jsx)("span",{role:x,"aria-owns":R,style:m}),E&&n.createPortal(h,E),D&&E&&(0,v.jsx)(f.f,{"data-type":"outside",ref:O,onFocus:e=>{if((0,c.A)(e,E))A.current?.focus();else{let t=I?I.domReference:null,n=(0,c.O)(t);n?.focus(),I?.closeOnFocusOut&&I?.onOpenChange(!1,(0,d.j)(p.f.focusOut,e.nativeEvent))}}})]})]})});e.s(["r",0,E,"o",0,w,"M",0,x],726674)},156341,e=>{var t=e.i(301252),n=e.i(661286),r=e.i(157940);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.f{constructor(e){let{syncOnly:t,nested:r,onOpenChange:o,triggerElements:l,...u}=e;super({...u,positionReference:u.referenceElement,domReferenceElement:u.referenceElement},{onOpenChange:o,dataRef:{current:{}},events:(0,n.f)(),nested:r,triggerElements:l},i),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,r.D)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>
1{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(["f",0,o])},46420,661286,379248,e=>{var t=e.i(271645),n=e.i(883977),r=e.i(146376),i=e.i(388940);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(["f",0,o],661286);class l{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(["f",0,l],379248);var u=e.i(843476);let s=t.createContext(null),a=t.createContext(null),f=()=>t.useContext(s)?.id||null,c=e=>{let n=t.useContext(a);return e??n};e.s(["s",0,function(e){let{children:n,id:r}=e,i=f();return(0,u.jsx)(s.Provider,{value:t.useMemo(()=>({id:r,parentId:i}),[r,i]),children:n})},"V",0,function(e){let{children:t,externalTree:n}=e,r=(0,i.useRefWithInit)(()=>n??new l).current;return(0,u.jsx)(a.Provider,{value:r,children:t})},"T",0,function(e){let t=(0,n.f)(),i=c(e),o=f();return(0,r.f)(()=>
1{if(!t)return;let e={id:t,parentId:o};return i?.addNode(e),()=>{i?.removeNode(e)}},[i,t,o]),t},"G",0,f,"$",0,c],46420)},17989,e=>{var t=e.i(271645),n=e.i(574735),r=e.i(365420),i=e.i(108868),o=e.i(667865),l=e.i(439957),u=e.i(229315),s=e.i(818663),a=e.i(46420),f=e.i(675606),c=e.i(641530),d=e.i(250446),p=e.i(790098),h=e.i(451321),g=e.i(584446),m=e.i(596296),v=e.i(157940),y=e.i(958408);function x(){return!1}e.s(["f",0,function(e,b={}){let{enabled:w=!0,escapeKey:E=!0,outsidePress:R=!0,outsidePressEvent:S="sloppy",referencePress:T=x,bubbles:O,externalTree:C}=b,A="rootStore"in e?e.rootStore:e,I=A.useState("open"),M=A.useState("floatingElement"),{dataRef:P,events:k}=A.context,j=(0,a.$)(C),D=(0,o.f)("function"==typeof R?R:()=>!1),L="function"==typeof R?D:R,V=!1!==L,$=(0,o.f)(()=>S),{escapeKey:H,outsidePress:W}={escapeKey:"boolean"==typeof O?O:O?.escapeKey??!1,outsidePress:"boolean"==typeof O?O:O?.outsidePress??!0},B=t.useRef(!1),_=t.useRef(!1),K=t.useRef(!1),F=t.useRef(!1),X=t.useRef(!1),z=t.useRef(""),N=t.useRef(null),J=(0,l.e)(),Z=(0,l.e)(),Q=(0,o.f)(()=>{Z.clear(),P.current.insideReactTree=!1}),U=(0,o.f)(e=>{let t=P.current.floatingContext?.nodeId;return(j?(0,y.Q)(j.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),q=(0,o.f)(e=>(0,m.V)(e,A.select("floatingElement"))||(0,m.V)(e,A.select("domReferenceElement"))),Y=(0,o.f)(e=>{T()&&A.setOpen(!1,(0,f.j)(c.f.triggerPress,e.nativeEvent))}),G=(0,o.f)(e=>{if(!I||!w||!E||"Escape"!==e.key||X.current||!H&&U("__escapeKeyBubbles"))return;let t=(0,v.M)(e)?e.nativeEvent:e,n=(0,f.j)(d.f.escapeKey,t);A.setOpen(!1,n),n.isCanceled||e.preventDefault(),H||n.isPropagationAllowed||e.stopPropagation()}),ee=(0,o.f)(()=>{P.current.insideReactTree=!0,Z.start(0,Q)}),et=(0,o.f)(e=>{if(!I||!w||0!==e.button)return;let t=(0,g.Z)(e.nativeEvent);(0,g.I)(A.select("floatingElement"),t)&&(B.current||(B.current=!0,_.current=!1))}),en=(0,o.f)(e=>{!I||!w||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&B.current&&(_.current=!0)});t.useEffect(()=>{function e(e){e.open||(F.current=!1)}return k.on("openchange",e),()=>{k.off("openchange",e)}},[k]),t.useEffect(()=>{if(!I||!w)return I||(F.current=!1),Q;P.current.__escapeKeyBubbles=H,P.current.__outsidePressBubbles=W;let e=new l.U,t=new l.U,o=(0,i.f)(M);function a(){K.current=!0,t.start(0,()=>{K.current=!1})}function c(){B.current=!1,_.current=!1}function d(){let e=z.current,t=$(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function x(e){let t=P.current.floatingContext?.nodeId,n=j&&(0,y.Q)(j.nodesRef.current,t).some(t=>(0,m.V)(e,t.context?.elements.floating));return q(e)||n}function b(e){let n;if("intentional"===(n=d())&&"click"!==e.type||"sloppy"===n&&"click"===e.type){"click"===e.type||q(e)||(t.clear(),K.current=!1),Q();return}if(P.current.insideReactTree)return void Q();let r=(0,g.Z)(e),o=`[${(0,h.f)("inert")}]`,l=(0,u.m)(r)?r.getRootNode():null,s=Array.from(((0,u.R)(l)?l:(0,i.f)(A.select("floatingElement"))).querySelectorAll(o)),a=A.context.triggerElements;if(r&&(a.hasElement(r)||a.hasMatchingElement(e=>(0,g.I)(e,r))))return;let c=(0,u.m)(r)?r:null;for(;c&&!(0,u.Z)(c);){let e=(0,u.J)(c);if((0,u.Z)(e)||!(0,u.m)(e))break;c=e}if(!(s.length&&(0,u.m)(r)&&!(0,m.X)(r)&&!(0,g.I)(r,A.select("floatingElement"))&&s.every(e=>!(0,g.I)(c,e)))){if((0,u.E)(r)&&!("touches"in e)){let t=(0,u.Z)(r),n=(0,u.X)(r),i=/auto|scroll/,o=t||i.test(n.overflowX),l=t||i.test(n.overflowY),s=o&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,a=l&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,f="rtl"===n.direction,c=a&&(f?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),d=s&&e.offsetY>r.clientHeight;if(c||d)return}if(!x(e)){if("intentional"===d()){if(0!==e.detail&&!(0,v.E)(e)&&!F.current)return;if(K.current){t.clear(),K.current=!1;return}}"function"==typeof L&&!L(e)||U("__outsidePressBubbles")||(A.setOpen(!1,(0,f.j)(p.f.outsidePress,e)),Q())}}}function R(e){if("sloppy"!==d()||!A.select("open")||!w||q(e))return;let t=e.touches[0];t&&(N.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},J.start(1e3,()=>{N.current&&(N.current.dismissOnTouchEnd=!1,N.current.dismissOnMouseDown=!1)}))}function S(e,t){let r=(0,g.Z)(e);if(!r)return;let i=(0,n.f)(r,e.type,()=>{t(e),i()})}function T(e){J.clear(),"pointerdown"===e.type&&(0===e.button&&(F.current=!0),z.current=e.pointerType),("mousedown"!==e.type||!N.current||N.current.dismissOnMouseDown)&&S(e,e=>{if("pointerdown"===e.type)"sloppy"!==d()||"touch"===e.pointerType||!A.select("open")||!w||q(e)||b(e);else b(e)})}function O(e){if("pointercancel"===e.type&&(F.current=!1),!B.current)return;let n=_.current;if(c(),"intentional"===d()){if("pointercancel"===e.type){n&&a();return}x(e)||(n?a():("function"!=typeof L||L(e))&&(t.clear(),K.current=!0,Q()))}}
1function C(e){if("sloppy"!==d()||!N.current||q(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-N.current.startX),r=Math.abs(t.clientY-N.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(N.current.dismissOnTouchEnd=!0),i>10&&(b(e),J.clear(),N.current=null)}function k(e){"sloppy"!==d()||!N.current||q(e)||(N.current.dismissOnTouchEnd&&b(e),J.clear(),N.current=null)}let D=(0,r.f)(E&&(0,r.f)((0,n.f)(o,"keydown",G),(0,n.f)(o,"compositionstart",function(){e.clear(),X.current=!0}),(0,n.f)(o,"compositionend",function(){e.start(5*!!s.f.engine.webkit,()=>{X.current=!1})})),V&&(0,r.f)((0,n.f)(o,"click",T,!0),(0,n.f)(o,"pointerdown",T,!0),(0,n.f)(o,"pointerup",O,!0),(0,n.f)(o,"pointercancel",O,!0),(0,n.f)(o,"mousedown",T,!0),(0,n.f)(o,"mouseup",O,!0),(0,n.f)(o,"touchstart",function(e){z.current="touch",S(e,R)},{capture:!0,passive:!0}),(0,n.f)(o,"touchmove",function(e){S(e,C)},{capture:!0,passive:!0}),(0,n.f)(o,"touchend",function(e){S(e,k)},{capture:!0,passive:!0})));return()=>{D(),e.clear(),t.clear(),c(),K.current=!1,Q()}},[P,M,E,V,L,I,w,H,W,G,Q,$,U,q,j,A,J]);let er=t.useMemo(()=>({onKeyDown:G,onPointerDown:Y,onClick:Y}),[G,Y]),ei=t.useMemo(()=>({onKeyDown:G,onPointerDown:en,onMouseDown:en,onClickCapture:ee,onMouseDownCapture(e){ee(),et(e)},onPointerDownCapture(e){ee(),et(e)},onMouseUpCapture:ee,onTouchEndCapture:ee,onTouchMoveCapture:ee}),[G,ee,et,en]);return t.useMemo(()=>w?{reference:er,floating:ei,trigger:er}:{},[w,er,ei])}])},350527,e=>{var t=e.i(271645),n=e.i(146376),r=e.i(229315),i=e.i(156341);e.s(["f",0,function(e){let{popupStore:o,treatPopupAsFloatingElement:l=!1,floatingRootContext:u,floatingId:s,nested:a,onOpenChange:f}=e,c=o.useState("open"),d=o.useState("activeTriggerElement"),p=o.useState(l?"popupElement":"positionerElement"),h=o.context.triggerElements,g=t.useRef(null);void 0===u&&null===g.current&&(g.current=new i.f({open:c,transitionStatus:void 0,referenceElement:d,floatingElement:p,triggerElements:h,onOpenChange:f,floatingId:s,syncOnly:!0,nested:a}));let m=u??g.current;return o.useSyncedValue("floatingId",s),(0,n.f)(()=>{let e={open:c,floatingId:s,referenceElement:d,floatingElement:p};(0,r.m)(d)&&(e.domReferenceElement=d),m.state.positionReference===m.state.referenceElement&&(e.positionReference=d),m.update(e)},[c,s,d,p,m]),m.context.onOpenChange=f,m.context.nested=a,m}])},621082,e=>{e.i(247167);var t=e.i(343084),n=e.i(229315),r=e.i(157940),i=e.i(449055);function o(e,t,n){return Math.floor(e/t)!==n}function l(e,t){return t<0||t>=e.length}function u(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&&s(e,o,r))return o}function s(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.X)(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(["e",0,u,"n",0,function(e,{event:n,orientation:a,loopFocus:f,onLoop:c,rtl:d,cols:p,disabledIndices:h,minIndex:g,maxIndex:m,prevIndex:v,stopEvent:y=!1}){let x,b=v;if(n.key===i.V?x="up":n.key===i.e&&(x="down"),x){let i=[],o=[],a=!1,d=0;{let t=null,n=-1;e.forEach((e,r)=>{if(null==e)return;d+=1;let l=e.closest('[role="row"]');l&&(a=!0),(l!==t||-1===n)&&(t=l,i[n+=1]=[]),i[n].push(r),o[r]=n})}let w=!1,E=0;if(a)for(let e of i){let t=e.length;t>E&&(E=t),t!==p&&(w=!0)}let R=w&&d<e.length,S=E||p;y&&(0,r.Y)(n);let T=(t=>{if(!w||-1===v)return;let r=o[v];if(null==r)return;let l=i[r].indexOf(v),u="up"===t?-1:1;for(let t=r+u,a=0;a<i.length;a+=1,t+=u){if(t<0||t>=i.length){if(!f||R)return;if(t=t<0?i.length-1:0,c){let e=Math.min(l,i[t].length-1);t=o[c(n,v,i[t][e]??i[t][0])]??t}}let r=i[t];for(let t=Math.min(l,r.length-1);t>=0;t-=1){let n=r[t];if(!s(e,n,h))return n}}})(x)??(n=>{if(!R||-1===v)return;let r=v%S,i="up"===n?-S:S,o=m-m%S,l=(0,t.w)(m/S)+1;for(let t=v-r+i,n=0;n<l;n+=1,t+=i){if(t<0||t>m){if(!f)return;t=t<0?o:0}let n=Math.min(t+S-1,m);for(let i=Math.min(t+r,n);i>=t;i-=1)if(!s(e,i,h))return i}})(x);if(void 0!==T)b=T;else if(-1===v)b="up"===x?m:g;else if(b=u(e,{startingIndex:v,amount:S,decrement:"up"===x,disabledIndices:h}),f){if("up"===x&&(v-S<g||b<0)){let e=v%S,t=m%S,r=m-(t-e);b=t===e?m:t>e?r:r-S,c&&(b=c(n,v,b))}"down"===x&&v+S>m&&(b=u(e,{startingIndex:v%S-S,amount:S,disabledIndices:h}),c&&(b=c(n,v,b)))}l(e,b)&&(b=v)}
1if("both"===a){let s=(0,t.w)(v/p);n.key===(d?i.b:i.q)&&(y&&(0,r.Y)(n),v%p!=p-1?(b=u(e,{startingIndex:v,disabledIndices:h}),f&&o(b,p,s)&&(b=u(e,{startingIndex:v-v%p-1,disabledIndices:h}),c&&(b=c(n,v,b)))):f&&(b=u(e,{startingIndex:v-v%p-1,disabledIndices:h}),c&&(b=c(n,v,b))),o(b,p,s)&&(b=v)),n.key===(d?i.q:i.b)&&(y&&(0,r.Y)(n),v%p!=0?(b=u(e,{startingIndex:v,decrement:!0,disabledIndices:h}),f&&o(b,p,s)&&(b=u(e,{startingIndex:v+(p-v%p),decrement:!0,disabledIndices:h}),c&&(b=c(n,v,b)))):f&&(b=u(e,{startingIndex:v+(p-v%p),decrement:!0,disabledIndices:h}),c&&(b=c(n,v,b))),o(b,p,s)&&(b=v));let a=(0,t.w)(m/p)===s;l(e,b)&&(f&&a?(b=n.key===(d?i.q:i.b)?m:u(e,{startingIndex:v-v%p-1,disabledIndices:h}),c&&(b=c(n,v,b))):b=v)}return b},"_",0,function(e,t){return u(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})},"J",0,function(e,t){return u(e.current,{disabledIndices:t})},"v",0,a,"c",0,l,"K",0,s])},449055,e=>{e.s(["e",0,"ArrowDown","b",0,"ArrowLeft","q",0,"ArrowRight","V",0,"ArrowUp","Q",0,"data-base-ui-focusable","n",0,"input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])"])},596296,705869,322846,e=>{var t=e.i(229315),n=e.i(870189),r=e.i(584446),i=e.i(449055),o=e.i(415618);e.s(["f",0,o],705869);var o=o;o.popupOpen;let l="data-trigger-disabled";function u(e){return(0,t.E)(e)&&e.matches(i.n)}e.s(["f",0,l],322846),e.s(["G",0,function(e){return e?e.hasAttribute(i.Q)?e:e.querySelector(`[${i.Q}]`)||e:null},"V",0,function(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))},"W",0,function(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${i.n}`)!=null},"X",0,function(e){return e.matches("html,body")},"x",0,function(e,n){if(!(0,t.m)(e))return!1;if(n.hasElement(e))return!e.hasAttribute(l);for(let[,t]of n.entries())if((0,r.I)(t,e))return!t.hasAttribute(l);return!1},"J",0,function(e){return!!e&&"combobox"===e.getAttribute("role")&&u(e)},"Q",0,u,"F",0,function(e){if(!e||n.f.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}],596296)},157940,e=>{var t=e.i(522162),n=e.i(870189);e.s(["D",0,function(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t},"J",0,function(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)},"M",0,function(e){return"nativeEvent"in e},"E",0,function(e){return""===e.pointerType&&!!e.isTrusted||(t.f.os.android&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)},"$",0,function(e){return!n.f.env.jsdom&&(!t.f.os.android&&0===e.width&&0===e.height||t.f.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)},"Y",0,function(e){e.preventDefault(),e.stopPropagation()}])},958408,e=>{e.s(["V",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},"Q",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)])}])},383976,e=>{var t=e.i(229315),n=e.i(108868),r=e.i(584446),i=e.i(621082);function o(e){for(let n of Array.from(e.children))if("summary"===(0,t.A)(n))return n;return null}function l(e){let n=e?(0,t.A)(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.A)(e.parentElement)&&o(e.parentElement)===e)&&("details"!==n||null==o(e))&&("input"!==n||"hidden"!==e.type)}function u(e){if(!l(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.R)(r)?r.host:null}(n)){let l=n!==e,u="slot"===(0,t.A)(n);if(n.hasAttribute("inert")||l&&"details"===(0,t.A)(n)&&!n.open&&!function(e,t){let n=o(t);return!!n&&(e===n||(0,r.I)(n,e))}(e,n)||n.hasAttribute("hidden")||!u&&!function(e,n){let r=(0,t.X)(e);return n?"none"!==r.display:(0,i.v)(e,r)}(n,l))return!1}return!0}function s(e){let n=e.tabIndex;if(n<0){let n=(0,t.A)(e);if("details"===n||"audio"===n||"video"===n||(0,t.E)(e)&&e.isContentEditable)return 0}return n}function a(e){return"input"!==(0,t.A)(e)?null:"radio"===e.type&&""!==e.name?e:null}function f(e){if((0,t.E)(e)&&"slot"===(0,t.A)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,t.E)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function c(e){let t=[];return!function e(t,n){f(t).forEach(t=>{l(t)&&n.push(t),e(t,n)})}(e,t),t.filter(u)}function d(e){let t=c(e);return t.filter(e=>s(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=d(e),o=i.length;if(0===o)return;let l=(0,r.T)((0,n.f)(e)),u=i.indexOf(l);return i[-1===u?1===t?0:o-1:u+t]}function h(e,t){if(!e)return null;let r=d((0,n.f)(e).body),i=r.length;if(0===i)return null;let o=r.indexOf(e);return -1===o?null:r[(o+t+i)%i]}
1e.s(["r",0,function(e){d(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})},"d",0,function(e){let n=[];!function e(n,r,i){f(n).forEach(n=>{(0,t.E)(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")})},"J",0,c,"O",0,function(e){return p((0,n.f)(e).body,1)||e},"B",0,function(e){return p((0,n.f)(e).body,-1)||e},"W",0,function(e){return h(e,1)},"E",0,function(e){return h(e,-1)},"A",0,function(e,t){let n=t||e.currentTarget,i=e.relatedTarget;return!i||!(0,r.I)(n,i)},"m",0,function(e){return u(e)&&s(e)>=0},"T",0,d])},872855,e=>{e.i(247167);var t=e.i(271645);let n=t.createContext(void 0);e.s(["f",0,function(){let e=t.useContext(n);return e?.direction??"ltr"}])},250446,e=>{var t=e.i(216856);e.s(["f",0,t])},6304,e=>{var t=e.i(216856);e.s(["f",0,t])},790098,451321,e=>{var t=e.i(216856);e.s(["f",0,t],790098),e.s(["f",0,function(e){return`data-base-ui-${e}`}],451321)},236512,e=>{var t=e.i(216856);e.s(["f",0,t])},422428,e=>{var t=e.i(216856);e.s(["f",0,t])},641530,e=>{var t=e.i(216856);e.s(["f",0,t])},923706,253984,789579,e=>{var t=e.i(271645),n=e.i(343084),r=e.i(108868),i=e.i(333848),o=e.i(146376),l=e.i(446265),u=e.i(667865),s=e.i(953760),a=e.i(258950),f=e.i(988643),c=e.i(872855);let d={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,o=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||0===t&&0===n&&0===r&&0===i}}}},p={sideX:"left",sideY:"top"},h="--available-width",g="--available-height";function m(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function v(e,t,r){let{rects:i,placement:o}=e;return{side:m(t,(0,n.m)(o),r),align:(0,n.R)(o)||"center",anchor:{width:i.reference.width,height:i.reference.height},positioner:{width:i.floating.width,height:i.floating.height}}}function y(e){return null!=e&&"current"in e}e.s(["f",0,function(e){return function(e,f){let{anchor:x,positionMethod:b="absolute",side:w="bottom",sideOffset:E=0,align:R="center",alignOffset:S=0,collisionBoundary:T,collisionPadding:O=5,sticky:C=!1,arrowPadding:A=5,disableAnchorTracking:I=!1,inline:M,keepMounted:P=!1,floatingRootContext:k,mounted:j,collisionAvoidance:D,shift:L,nodeId:V,adaptiveOrigin:$,lazyFlip:H=!1,externalTree:W}=e,[B,_]=t.useState(null);j||null===B||_(null);let K=D.side||"flip",F=D.align||"flip",X=D.fallbackAxisSide||"end",z=L?.crossAxis??!1,N=L?.rootBoundary,J="function"==typeof x?x:void 0,Z=(0,u.f)(J),Q=J?Z:x,U=(0,l.f)(x),q=(0,l.f)(j),Y="rtl"===(0,c.f)(),G=B||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":Y?"left":"right","inline-start":Y?"right":"left"})[w],ee="center"===R?G:`${G}-${R}`,et=O;"number"==typeof et?et={top:et,right:et,bottom:et,left:et}:et&&(et={top:et.top||0,right:et.right||0,bottom:et.bottom||0,left:et.left||0});let en=+("bottom"===w),er=+("top"===w),ei=+("right"===w),eo=+("left"===w),el={boundary:"clipping-ancestors"===T?"clippingAncestors":T,padding:et},eu=t.useRef(null),es=(0,l.f)(E),ea=(0,l.f)(S),ef="function"!=typeof E?E:0,ec="function"!=typeof S?S:0,ed=[];M&&ed.push(M),ed.push((0,a.T)(e=>{let t=v(e,w,Y),n="function"==typeof es.current?es.current(t):es.current,r="function"==typeof ea.current?ea.current(t):ea.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[ef,ec,Y,w]));let ep="none"===F&&"shift"!==K,eh=!ep&&(C||z||"shift"===K),eg="none"===K?null:(0,a.x)({...el,padding:{top:et.top+1+en,right:et.right+1+eo,bottom:et.bottom+1+er,left:et.left+1+ei},mainAxis:!z&&"flip"===K,crossAxis:"flip"===F&&"alignment",fallbackAxisSideDirection:X}),em=ep?null:(0,a.e)({...el,rootBoundary:N,mainAxis:"none"!==F,crossAxis:eh,limiter:C||z?void 0:(0,a.n)(e=>{if(!eu.current)return{};let{width:t,height:r}=eu.current.getBoundingClientRect(),i=(0,n.$)((0,n.m)(e.placement)),o="y"===i?et.left+et.right:et.top+et.bottom;return{offset:("y"===i?t:r)/2+o/2}})},[el,C,z,N,et,F]);"shift"===K||"shift"===F||"center"===R?ed.push(em,eg):ed.push(eg,em),ed.push((0,a.o)({...el,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!q.current)return;let o=e.style;o.setProperty(h,`${t}px`),o.setProperty(g,`${n}px`);let l=(0,i.f)(e).devicePixelRatio||1,{x:u,y:s,width:a,height:f}=r.reference,c=(Math.round((u+a)*l)-Math.round(u*l))/l,d=(Math.round((s+f)*l)-Math.round(s*l))/l;o.setProperty("--anchor-width",`${c}px`),o.setProperty("--anchor-height",`${d}px`)}}),((e,t)=>{let{name:r,fn:i}={name:"arrow",options:e,async fn(t){let{x:r,y:i,placement:o,rects:l,platform:u,elements:s,middlewareData:a}=t,{element:f,padding:c=0,offsetParent:d="real"}=(0,n.h)(e,t)||{};if(null==f)return{};let p=(0,n.j)(c),h={x:r,y:i},g=(0,n.i)(o),m=(0,n.T)(g),v=await u.getDimensions(f),y="y"===g,x=y?"clientHeight":"clientWidth",b=l.reference[m]+l.reference[g]-h[g]-l.floating[m],w=h[g]-l.reference[g],E="real"===d?await u.getOffsetParent?.(f):s.floating,R=s.floating[x]||l.floating[m];R&&await u.isElement?.(E)||(R=s.floating[x]||l.floating[m]);let S=R/2-v[m]/2-1,T=Math.min(p[y?"top":"left"],S),O=Math.min(p[y?"bottom":"right"],S),C=R-v[m]-O,A=R/2-v[m]/2+(b/2-w/2),I=(0,n.O)(T,A,C),M=!a.arrow&&null!=(0,n.R)(o)&&A!==I&&l.reference[m]/2-(A<T?T:O)-v[m]/2<0,P=M?A<T?A-T:A-C:0;return{[g]:h[g]+P,data:{[g]:I,centerOffset:A-I-P,...M&&{alignmentOffset:P}},reset:M}}};return{name:r,fn:i,options:[e,t]}})(e=>({element:eu.current||(0,r.f)(e.elements.floating).createElement("div"),padding:eu.current?A:0,offsetParent:"floating"}),[A]),{name:"transformOrigin",fn(e){let t,{elements:{floating:r},middlewareData:i,placement:o,platform:l,rects:u,y:s}=e,a=(0,n.m)(o),f=(0,n.R)(o),c="y"===(0,n.$)(a),d=eu.current,p="function"==typeof E?E(v(e,w,Y)):E;if(!d&&f&&1>=Math.abs(c?i.shift?.x||0:i.shift?.y||0))t="start"===f===(c&&l.isRTL?.(r)===!0)?"100%":"
10%";else{let e=c?i.arrow?.x||0:i.arrow?.y||0,n=c?d?.clientWidth||0:d?.clientHeight||0;t=`${e+n/2}px`}let h="top"===a||"left"===a?`calc(100% + ${p}px)`:`${-p}px`;return eh&&c&&Math.abs(i.shift?.y||0)>p&&(h=`${u.reference.y+u.reference.height/2-s}px`),r.style.setProperty("--transform-origin",c?`${t} ${h}`:`${h} ${t}`),{}}},d,$),(0,o.f)(()=>{!j&&k&&k.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[j,k]);let ev=t.useMemo(()=>({ancestorScroll:!I,elementResize:!I&&"u">typeof ResizeObserver,layoutShift:!I&&"u">typeof IntersectionObserver}),[I]),{refs:ey,elements:ex,x:eb,y:ew,middlewareData:eE,update:eR,placement:eS,context:eT,isPositioned:eO,floatingStyles:eC}=f({rootContext:k,open:P?j:void 0,placement:ee,middleware:ed,strategy:b,whileElementsMounted:P?void 0:(...e)=>(0,s.n)(...e,ev),nodeId:V,externalTree:W}),{sideX:eA,sideY:eI}=eE.adaptiveOrigin||p,eM=eO?b:"fixed",eP=t.useMemo(()=>{let e;return(e=eO?$?{position:eM,[eA]:eb,[eI]:ew}:{...eC,position:eM}:{position:eM,top:0,left:0})[h]="100vw",e[g]="100vh",eO||(e.opacity=0),e},[$,eM,eA,eb,eI,ew,eC,eO]),ek=t.useRef(null);(0,o.f)(()=>{if(!j)return;let e=U.current,t="function"==typeof e?e():e,n=(y(t)?t.current:t)||null;n!==ek.current&&(ey.setPositionReference(n),ek.current=n)},[j,ey,Q,U]),t.useEffect(()=>{if(!j)return;let e=U.current;"function"!=typeof e&&y(e)&&e.current!==ek.current&&(ey.setPositionReference(e.current),ek.current=e.current)},[j,ey,Q,U]),t.useEffect(()=>{if(P&&j&&ex.reference&&ex.floating)return(0,s.n)(ex.reference,ex.floating,eR,ev)},[P,j,ex,eR,ev]);let ej=(0,n.m)(eS),eD=m(w,ej,Y),eL=(0,n.R)(eS)||"center",eV=!!eE.hide?.referenceHidden;(0,o.f)(()=>{H&&j&&eO&&ej!==G&&_(ej)},[H,j,eO,ej,G]);let e$=t.useMemo(()=>({position:"absolute",top:eE.arrow?.y,left:eE.arrow?.x}),[eE.arrow]),eH=eE.arrow?.centerOffset!==0;return t.useMemo(()=>({positionerStyles:eP,arrowStyles:e$,arrowRef:eu,arrowUncentered:eH,side:eD,align:eL,physicalSide:ej,anchorHidden:eV,refs:ey,context:eT,isPositioned:eO,update:eR}),[eP,e$,eu,eH,eD,eL,ej,eV,ey,eT,eO,eR])}(e,f.f)}],923706);var x=e.i(879938),b=e.i(552245),w=e.i(956789),E=e.i(638396);function R(e){return"starting"===e?E.e:w.w}e.s(["f",0,R],253984),e.s(["f",0,function(e,t,{styles:n,transitionStatus:r,props:i,refs:o,hidden:l,inert:u=!1}){let s={...n};return u&&(s.pointerEvents="none"),(0,b.f)("div",e,{state:t,ref:o,props:[{role:"presentation",hidden:l,style:s},R(r),i],stateAttributesMapping:x.E})}],789579)},38380,e=>{var t=e.i(180862);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])},415618,e=>{e.s(["popupOpen",0,"data-popup-open","pressed",0,"data-pressed"])},152535,431773,e=>{var t=e.i(271645),n=e.i(146376),r=e.i(179214);e.s(["f",0,r],431773);var r=r,i=e.i(818663),o=e.i(502077),l=e.i(843476);let u=t.forwardRef(function(e,u){let[s,a]=t.useState();return(0,n.f)(()=>{r.screenReader.voiceOver&&i.f.engine.webkit&&a("button")},[]),(0,l.jsx)("span",{...e,ref:u,style:o.p,"aria-hidden":!s||void 0,...{tabIndex:0,role:s},"data-base-ui-focus-guard":""})});e.s(["f",0,u],152535)},879938,e=>{var t=e.i(474354),n=e.i(38380),r=e.i(415618);let i={[r.popupOpen]:""},o={[r.popupOpen]:"",[r.pressed]:""},l={[n.open]:""},u={[n.closed]:""},s={[n.anchorHidden]:""},a={open:e=>e?l:u,anchorHidden:e=>e?s:null},f={...a,...t.f};e.s(["E",0,a,"M",0,f,"f",0,{open:e=>e?o:null},"J",0,{open:e=>e?i:null}])},264111,e=>{var t=e.i(271645),n=e.i(174080),r=e.i(956789),i=e.i(883977),o=e.i(667865),l=e.i(146376),u=e.i(388940),s=e.i(449055),a=e.i(46420),f=e.i(350527),c=e.i(223910),d=e.i(137584),p=e.i(675606),h=e.i(422428),g=e.i(236512),m=e.i(641530),v=e.i(250446),y=e.i(380025);let x={tabIndex:-1,[s.Q]:""};function b(e){let t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function w(e,n){let r=t.useRef(null);return(0,o.f)(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),b(o))}null!==t&&void 0!==e&&(r.current={store:n,id:e,element:t},n.context.triggerElements.add(e,t),b(n))})}function E(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);let o=n?.id??null,l=e.activeTriggerId,u=e.activeTriggerElement;return(o||t)&&(l=o,u=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:l,activeTriggerElement:u}}function R(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}e.s(["X",0,x,"d",0,function({handle:e,store:t}){return(0,l.f)(()=>e.attachStore(t),[e,t]),null},"c",0,function(e,t,r,i={}){let o=r.reason,l=o===h.f.triggerHover,u=t&&o===g.f.triggerFocus,s=!t&&(o===m.f.triggerPress||o===v.f.escapeKey),a=R(r);if(e.context.onOpenChange?.(t,r),r.isCanceled)return;i.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,r);let f=()=>{let n=E(e.state,t,r.trigger,a()),o={...i.extraState,...n};u?o.instantType="focus":s?o.instantType="dismiss":l&&(o.instantType=void 0),e.update(o)};l?n.flushSync(f):f()},"x",0,R,"H",0,function(e){return t=>"touch"!==t||e.current},"z",0,E,"_",0,function(e,n={}){let{closeOnActiveTriggerUnmount:r=!1}=n,i=t.useRef(null),o=e.useState("open"),u=e.useState("triggerCount"),s=e.useState("activeTriggerId"),a=e.useState("activeTriggerElement");(0,l.f)(()=>
1{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 l=e.select("activeTriggerId"),u=null;if(l){let t=e.context.triggerElements.getById(l);if(t)i.current=l,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===l?u=l:i.current=null)}}else i.current=null;if(!u&&!l&&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),u&&r&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===u&&!e.context.triggerElements.getById(u)){let t=(0,p.j)(y.f.none);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[o,e,u,s,a,r])},"L",0,function(e,t,n,r){let{mounted:i,setMounted:l,transitionStatus:u}=(0,c.f)(e,!1,!1,r),s=t.useState("preventUnmountingOnClose"),a=!e&&s;t.useSyncedValues({mounted:i,transitionStatus:u,preventUnmountingOnClose:a});let f=(0,o.f)(()=>{l(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return(0,d.f)({enabled:i&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||f()}}),{forceUnmount:f,transitionStatus:u}},"y",0,function(e,t){e.useSyncedValues(t),(0,l.f)(()=>()=>{e.update({activeTriggerProps:r.w,inactiveTriggerProps:r.w,popupProps:r.w})},[e])},"$",0,function(e,t=!1){let n=(0,i.f)(),r=null!=(0,a.G)(),o=(0,u.useRefWithInit)(()=>e(n,r)).current;return(0,f.f)({popupStore:o,treatPopupAsFloatingElement:t,floatingRootContext:o.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:o.setOpen}),o},"e",0,function(e,t){(0,l.f)(()=>{t||null===e.state.openMethod||e.set("openMethod",null)},[t,e]),(0,l.f)(()=>()=>{null!==e.state.openMethod&&e.set("openMethod",null)},[e])},"F",0,function(e,t,n,r){let i=n.useState("isMountedByTrigger",e),u=w(e,n),s=(0,o.f)(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.f)(e=>{u(e),e&&s(e)});return(0,l.f)(()=>(a(t.current),()=>a(null)),[a,t,n,e]),(0,l.f)(()=>{if(i){let e={activeTriggerElement:t.current,...r};n.update(e)}},[i,n,t,...Object.values(r)]),{registerTrigger:a,isMountedByThisTrigger:i}},"w",0,w])},990627,e=>{e.i(247167),e.s(["f",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}}])},574735,e=>{e.s(["f",0,function(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}])},896499,e=>{let t;var n=e.i(271645),r=e.i(388940);let i=[];function o(e){let n=(n,o)=>{let u,s=(0,r.useRefWithInit)(l).current;try{for(let e of(t=s,i))e.before(s);for(let t of(u=e(n,o),i))t.after(s);s.didInitialize=!0}finally{t=void 0}return u};return n.displayName=e.displayName||e.name,n}function l(){return{didInitialize:!1}}e.s(["U",0,o,"u",0,function(e){return n.forwardRef(o(e))},"_",0,function(){return t},"V",0,function(e){i.push(e)}])},365420,e=>{e.s(["f",0,function(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}])},179214,e=>{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(),l=/^i(os$|p)/.test(o)||"macintel"===o&&r>1,u="android",s=o===u||i.includes(u),a=!l&&o.startsWith("mac"),f=o.startsWith("win"),c=!s&&/^(linux|chrome os)/.test(o),d=a||l;
1e.s(["android",0,s,"apple",0,d,"ios",0,l,"linux",0,c,"mac",0,a,"windows",0,f],503720);var p=e.i(503720);let h="u">typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none"),g=!h&&i.includes("firefox"),m=!h&&i.includes("chrom");e.s(["blink",0,m,"gecko",0,g,"webkit",0,h],879850);var v=e.i(879850);e.s(["voiceOver",0,d],999170);var y=e.i(999170);let x=/jsdom|happydom/.test(i);e.s(["jsdom",0,x],736174);var b=e.i(736174);e.s(["engine",0,v,"env",0,b,"os",0,p,"screenReader",0,y],179214)},818663,e=>{var t=e.i(179214);e.s(["f",0,t])},870189,e=>{var t=e.i(179214);e.s(["f",0,t])},522162,e=>{var t=e.i(179214);e.s(["f",0,t])},301252,e=>{var t=e.i(271645),n=e.i(802239),r=e.i(430224),i=e.i(958321),o=e.i(896499);let l=(0,i.f)(19)?function(e,r,i,l,u){let s,a=(0,o._)();if(!a){let o;return o=t.useCallback(()=>r(e.getSnapshot(),i,l,u),[e,r,i,l,u]),(0,n.useSyncExternalStore)(e.subscribe,o,o)}let f=a.syncIndex;return a.syncIndex+=1,a.didInitialize?(s=a.syncHooks[f]).store===e&&s.selector===r&&Object.is(s.a1,i)&&Object.is(s.a2,l)&&Object.is(s.a3,u)||(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=r,s.a1=i,s.a2=l,s.a3=u,s.value=r(e.getSnapshot(),i,l,u)):(s={store:e,selector:r,a1:i,a2:l,a3:u,value:r(e.getSnapshot(),i,l,u)},a.syncHooks.push(s)),s.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.V)({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 u{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 l(this,e,t,n,r)}}var s=e.i(667865),a=e.i(146376),f=e.i(956789);e.s(["f",0,class extends u{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,n){t.useDebugValue(e);let r=this;(0,a.f)(()=>{r.state[e]!==n&&r.set(e,n)},[r,e,n])}useSyncedValueWithCleanup(e,t){let n=this;(0,a.f)(()=>(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.f)(()=>{t.update(e)},[t,...n])}useControlledProp(e,n){t.useDebugValue(e);let r=this,i=void 0!==n;(0,a.f)(()=>{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),l(this,this.selectors[e],n,r,i)}useContextCallback(e,n){t.useDebugValue(e);let r=(0,s.f)(n??f.x);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)}})}}],301252)},446265,e=>{var t=e.i(146376),n=e.i(388940);function r(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}e.s(["f",0,function(e){let i=(0,n.useRefWithInit)(r,e).current;return i.next=e,(0,t.f)(i.effect),i}])},953760,258950,988643,e=>{var t=e.i(343084);function n(e,n,r){let i,{reference:o,floating:l}=e,u=(0,t.$)(n),s=(0,t.i)(n),a=(0,t.T)(s),f=(0,t.m)(n),c=o.x+o.width/2-l.width/2,d=o.y+o.height/2-l.height/2,p=o[a]/2-l[a]/2;switch(f){case"top":i={x:c,y:o.y-l.height};break;case"bottom":i={x:c,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:d};break;case"left":i={x:o.x-l.width,y:d};break;default:i={x:o.x,y:o.y}}let h=(0,t.R)(n);
vendor: 10,184 bytes, line 1
1return h&&(i[s]+=p*("end"===h?1:-1)*(r&&"y"===u?-1:1)),i}async function r(e,n){var r;void 0===n&&(n={});let{x:i,y:o,platform:l,rects:u,elements:s,strategy:a}=e,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=(0,t.h)(n,e),g=(0,t.j)(h),m=s[p?"floating"===d?"reference":"floating":d],v=(0,t._)(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(m)))||r?m:m.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(s.floating)),boundary:f,rootBoundary:c,strategy:a})),y="floating"===d?{x:i,y:o,width:u.floating.width,height:u.floating.height}:u.reference,x=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s.floating)),b=await (null==l.isElement?void 0:l.isElement(x))&&await (null==l.getScale?void 0:l.getScale(x))||{x:1,y:1},w=(0,t._)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:x,strategy:a}):y);return{top:(v.top-w.top+g.top)/b.y,bottom:(w.bottom-v.bottom+g.bottom)/b.y,left:(v.left-w.left+g.left)/b.x,right:(w.right-v.right+g.right)/b.x}}let i=async(e,t,i)=>{let{placement:o="bottom",strategy:l="absolute",middleware:u=[],platform:s}=i,a=s.detectOverflow?s:{...s,detectOverflow:r},f=await (null==s.isRTL?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:p}=n(c,o,f),h=o,g=0,m={};for(let r=0;r<u.length;r++){let i=u[r];if(!i)continue;let{name:v,fn:y}=i,{x:x,y:b,data:w,reset:E}=await y({x:d,y:p,initialPlacement:o,placement:h,strategy:l,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=x?x:d,p=null!=b?b:p,m[v]={...m[v],...w},E&&g<50&&(g++,"object"==typeof E&&(E.placement&&(h=E.placement),E.rects&&(c=!0===E.rects?await s.getElementRects({reference:e,floating:t,strategy:l}):E.rects),{x:d,y:p}=n(c,h,f)),r=-1)}return{x:d,y:p,placement:h,strategy:l,middlewareData:m}};function o(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return t.M.some(t=>e[t]>=0)}function u(e){let n=(0,t.u)(...e.map(e=>e.left)),r=(0,t.u)(...e.map(e=>e.top));return{x:n,y:r,width:(0,t.y)(...e.map(e=>e.right))-n,height:(0,t.y)(...e.map(e=>e.bottom))-r}}let s=new Set(["left","top"]);async function a(e,n){let{placement:r,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),u=(0,t.m)(r),a=(0,t.R)(r),f="y"===(0,t.$)(r),c=s.has(u)?-1:1,d=l&&f?-1:1,p=(0,t.h)(n,e),{mainAxis:h,crossAxis:g,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof m&&(g="end"===a?-1*m:m),f?{x:g*d,y:h*c}:{x:h*c,y:g*d}}var f=e.i(229315);function c(e){let n=(0,f.X)(e),r=parseFloat(n.width)||0,i=parseFloat(n.height)||0,o=(0,f.E)(e),l=o?e.offsetWidth:r,u=o?e.offsetHeight:i,s=(0,t.H)(r)!==l||(0,t.H)(i)!==u;return s&&(r=l,i=u),{width:r,height:i,$:s}}function d(e){return(0,f.m)(e)?e:e.contextElement}function p(e){let n=d(e);if(!(0,f.E)(n))return(0,t.I)(1);let r=n.getBoundingClientRect(),{width:i,height:o,$:l}=c(n),u=(l?(0,t.H)(r.width):r.width)/i,s=(l?(0,t.H)(r.height):r.height)/o;return u&&Number.isFinite(u)||(u=1),s&&Number.isFinite(s)||(s=1),{x:u,y:s}}let h=(0,t.I)(0);function g(e){let t=(0,f.K)(e);return(0,f.i)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:h}function m(e,n,r,i){var o;void 0===n&&(n=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),u=d(e),s=(0,t.I)(1);n&&(i?(0,f.m)(i)&&(s=p(i)):s=p(e));let a=(void 0===(o=r)&&(o=!1),i&&o&&i===(0,f.K)(u))?g(u):(0,t.I)(0),c=(l.left+a.x)/s.x,h=(l.top+a.y)/s.y,m=l.width/s.x,v=l.height/s.y;if(u&&i){let e=(0,f.K)(u),t=(0,f.m)(i)?(0,f.K)(i):i,n=e,r=(0,f.w)(n);for(;r&&t!==n;){let e=p(r),t=r.getBoundingClientRect(),i=(0,f.X)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,h*=e.y,m*=e.x,v*=e.y,c+=o,h+=l,n=(0,f.K)(r),r=(0,f.w)(n)}}return(0,t._)({width:m,height:v,x:c,y:h})}function v(e,t){let n=(0,f.Q)(e).scrollLeft;return t?t.left+n:m((0,f.I)(e)).left+n}function y(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-v(e,n),y:n.top+t.scrollTop}}function x(e,n,r){var i;let o;if("viewport"===n||"layoutViewport"===n)o=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,f.K)(e),o=(0,f.I)(e),l=i.visualViewport,u=o.clientWidth,s=o.clientHeight,a=0,c=0;if(l){let e=!(0,f.i)()||"fixed"===t;r?e||(a=-l.offsetLeft,c=-l.offsetTop):(u=l.width,s=l.height,e&&(a=l.offsetLeft,c=l.offsetTop))}if(0>=v(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(u-=l)}return{width:u,height:s,x:a,y:c}}(e,r,n);else if("document"===n){let n,r,l,u,s,a;i=(0,f.I)(e),n=(0,f.Q)(i),r=i.ownerDocument.body,l=(0,t.y)(i.scrollWidth,i.clientWidth,r.scrollWidth,r.clientWidth),u=(0,t.y)(i.scrollHeight,i.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+v(i),a=-n.scrollTop,"rtl"===(0,f.X)(r).direction&&(s+=(0,t.y)(i.clientWidth,r.clientWidth)-l),o={width:l,height:u,x:s,y:a}}else if((0,f.m)(n)){let e,t,i,l,u,s;t=(e=m(n,!0,"fixed"===r)).top+n.clientTop,i=e.left+n.clientLeft,l=p(n),u=n.clientWidth*l.x,s=n.clientHeight*l.y,o={width:u,height:s,x:i*l.x,y:t*l.y}}else{let t=g(e);o={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t._)(o)}function b(e){return"static"===(0,f.X)(e).position}function w(e,t){if(!(0,f.E)(e)||"fixed"===(0,f.X)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,f.I)(e)===n&&(n=n.ownerDocument.body),n}function E(e,t){let n=(0,f.K)(e);if((0,f.D)(e))return n;if(!(0,f.E)(e)){let t=(0,f.J)(e);for(;t&&!(0,f.Z)(t);){if((0,f.m)(t)&&!b(t))return t;t=(0,f.J)(t)}return n}let r=w(e,t);for(;r&&(0,f.S)(r)&&b(r);)r=w(r,t);return r&&(0,f.Z)(r)&&b(r)&&!(0,f.e)(r)?n:r||(0,f.f)(e)||n}let R=async function(e){let n=this.getOffsetParent||E,r=this.getDimensions,i=await r(e.floating);return{reference:function(e,n,r){let i=(0,f.E)(n),o=(0,f.I)(n),l="fixed"===r,u=m(e,!0,l,n),s={scrollLeft:0,scrollTop:0},a=(0,t.I)(0);if((i||!l)&&(("body"!==(0,f.A)(n)||(0,f.B)(o))&&(s=(0,f.Q)(n)),i)){let e=m(n,!0,l,n);a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}!i&&o&&(a.x=v(o));let c=!o||i||l?(0,t.I)(0):y(o,s);return{x:u.left+s.scrollLeft-a.x-c.x,y:u.top+s.scrollTop-a.y-c.y,width:u.width,height:u.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},S={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:r,offsetParent:i,strategy:o}=e,l="fixed"===o,u=(0,f.I)(i),s=!!n&&(0,f.D)(n.floating);if(i===u||s&&l)return r;let a={scrollLeft:0,scrollTop:0},c=(0,t.I)(1),d=(0,t.I)(0),h=(0,f.E)(i);if((h||!l)&&(("body"!==(0,f.A)(i)||(0,f.B)(u))&&(a=(0,f.Q)(i)),h)){let e=m(i);c=p(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}let g=!u||h||l?(0,t.I)(0):y(u,a);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-a.scrollLeft*c.x+d.x+g.x,y:r.y*c.y-a.scrollTop*c.y+d.y+g.y}},getDocumentElement:f.I,getClippingRect:function(e){let{element:n,boundary:r,rootBoundary:i,strategy:o}=e,l=[..."clippingAncestors"===r?(0,f.D)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,f.G)(e,[],!1).filter(e=>(0,f.m)(e)&&"body"!==(0,f.A)(e)),i=null,o="fixed"===(0,f.X)(e).position,l=o?(0,f.J)(e):e;for(;(0,f.m)(l)&&!(0,f.Z)(l);){let e=(0,f.X)(l),t=(0,f.e)(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=(0,f.J)(l)}return t.set(e,r),r}(n,this._c):[].concat(r),i],u=x(n,l[0],o),s=u.top,a=u.right,c=u.bottom,d=u.left;for(let e=1;e<l.length;e++){let r=x(n,l[e],o);s=(0,t.y)(r.top,s),a=(0,t.u)(r.right,a),c=(0,t.u)(r.bottom,c),d=(0,t.y)(r.left,d)}return{width:a-d,height:c-s,x:d,y:s}},getOffsetParent:E,getElementRects:R,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=c(e);return{width:t,height:n}},getScale:p,isElement:f.m,isRTL:function(e){return"rtl"===(0,f.X)(e).direction}};function T(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let O=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:u}=t,s=await a(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}},C=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(n){let{x:r,y:i,placement:o,platform:l}=n,{mainAxis:u=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=(0,t.h)(e,n),c={x:r,y:i},d=await l.detectOverflow(n,f),p=(0,t.$)(o),h=(0,t.J)(p),g=c[h],m=c[p],v=(e,n)=>(0,t.O)(n+d["y"===e?"top":"left"],n,n-d["y"===e?"bottom":"right"]);u&&(g=v(h,g)),s&&(m=v(p,m));let y=a.fn({...n,[h]:g,[p]:m});return{...y,data:{x:y.x-r,y:y.y-i,enabled:{[h]:u,[p]:s}}}}}},A=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(n){var r,i,o,l,u;let{placement:s,middlewareData:a,rects:f,initialPlacement:c,platform:d,elements:p}=n,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:x=!0,...b}=(0,t.h)(e,n);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};let w=(0,t.m)(s),E=(0,t.$)(c),R=(0,t.m)(c)===c,S=await (null==d.isRTL?void 0:d.isRTL(p.floating)),T=m||(R||!x?[(0,t.t)(c)]:(0,t.P)(c)),O="none"!==y;!m&&O&&T.push(...(0,t.K)(c,x,y,S));let C=[c,...T],A=await d.detectOverflow(n,b),I=[],M=(null==(i=a.flip)?void 0:i.overflows)||[];if(h&&I.push(A[w]),g){let e=(0,t.N)(s,f,S);I.push(A[e[0]],A[e[1]])}if(M=[...M,{placement:s,overflows:I}],!I.every(e=>e<=0)){let e=((null==(o=a.flip)?void 0:o.index)||0)+1,n=C[e];if(n&&("alignment"!==g||E===(0,t.$)(n)||M.every(e=>(0,t.$)(e.placement)!==E||e.overflows[0]>0)))return{data:{index:e,overflows:M},reset:{placement:n}};let r=null==(l=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!r)switch(v){case"bestFit":{let e=null==(u=M.filter(e=>{if(O){let n=(0,t.$)(e.placement);return n===E||"y"===n}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:u[0];e&&(r=e);break}case"initialPlacement":r=c}if(s!==r)return{reset:{placement:r}}}return{}}}},I=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(n){let r,i,{placement:o,rects:l,platform:u,elements:s}=n,{apply:a=()=>{},...f}=(0,t.h)(e,n),c=await u.detectOverflow(n,f),d=(0,t.m)(o),p=(0,t.R)(o),h="y"===(0,t.$)(o),{width:g,height:m}=l.floating;"top"===d||"bottom"===d?(r=d,i=p===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(i=d,r="end"===p?"top":"bottom");let v=m-c.top-c.bottom,y=g-c.left-c.right,x=(0,t.u)(m-c[r],v),b=(0,t.u)(g-c[i],y),w=n.middlewareData.shift,E=!w,R=x,S=b;null!=w&&w.enabled.x&&(S=y),null!=w&&w.enabled.y&&(R=v),E&&!p&&(h?S=g-2*(0,t.y)(c.left,c.right):R=m-2*(0,t.y)(c.top,c.bottom)),await a({...n,availableWidth:S,availableHeight:R});let T=await u.getDimensions(s.floating);return g!==T.width||m!==T.height?{reset:{rects:!0}}:{}}}},M=function(e){return void 0===e&&(e={}),{options:e,fn(n){var r,i,o,l;let{x:u,y:a,placement:f,rects:c,middlewareData:d}=n,{offset:p=0,mainAxis:h=!0,crossAxis:g=!0}=(0,t.h)(e,n),m={x:u,y:a},v=(0,t.$)(f),y=(0,t.J)(v),x=m[y],b=m[v],w=(0,t.h)(p,n),E="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(r=w.mainAxis)?r:0,crossAxis:null!=(i=w.crossAxis)?i:0};if(h){let e="y"===y?"height":"width",t=c.reference[y]-c.floating[e]+E.mainAxis,n=c.reference[y]+c.reference[e]-E.mainAxis;x<t?x=t:x>n&&(x=n)}if(g){let e="y"===y?"width":"height",n=s.has((0,t.m)(f)),r=c.reference[v]-c.floating[e]+(n&&(null==(o=d.offset)?void 0:o[v])||0)+(n?0:E.crossAxis),i=c.reference[v]+c.reference[e]+(n?0:(null==(l=d.offset)?void 0:l[v])||0)-(n?E.crossAxis:0);b<r?b=r:b>i&&(b=i)}return{[y]:x,[v]:b}}}},P=(e,t,n)=>{let r=new Map,o=null!=n?n:{},l={...S,...o.platform,_c:r};return i(e,t,{...o,platform:l})};e.s(["P",0,e=>({name:"arrow",options:e,async fn(n){let{x:r,y:i,placement:o,rects:l,platform:u,elements:s,middlewareData:a}=n,{element:f,padding:c=0}=(0,t.h)(e,n)||{};if(null==f)return{};let d=(0,t.j)(c),p={x:r,y:i},h=(0,t.i)(o),g=(0,t.T)(h),m=await u.getDimensions(f),v="y"===h,y=v?"clientHeight":"clientWidth",x=l.reference[g]+l.reference[h]-p[h]-l.floating[g],b=p[h]-l.reference[h],w=await (null==u.getOffsetParent?void 0:u.getOffsetParent(f)),E=w?w[y]:0;E&&await (null==u.isElement?void 0:u.isElement(w))||(E=s.floating[y]||l.floating[g]);let R=E/2-m[g]/2-1,S=(0,t.u)(d[v?"top":"left"],R),T=(0,t.u)(d[v?"bottom":"right"],R),O
1=E-m[g]-T,C=E/2-m[g]/2+(x/2-b/2),A=(0,t.O)(S,C,O),I=!a.arrow&&null!=(0,t.R)(o)&&C!==A&&l.reference[g]/2-(C<S?S:T)-m[g]/2<0,M=I?C<S?C-S:C-O:0;return{[h]:p[h]+M,data:{[h]:A,centerOffset:C-A-M,...I&&{alignmentOffset:M}},reset:I}}}),"p",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(n){var r,i,o,l;let{rects:u,middlewareData:s,placement:a,platform:f,elements:c}=n,{crossAxis:d=!1,alignment:p,allowedPlacements:h=t.Z,autoAlignment:g=!0,...m}=(0,t.h)(e,n),v=void 0!==p||h===t.Z?((l=p||null)?[...h.filter(e=>(0,t.R)(e)===l),...h.filter(e=>(0,t.R)(e)!==l)]:h.filter(e=>(0,t.m)(e)===e)).filter(e=>!l||(0,t.R)(e)===l||!!g&&(0,t.o)(e)!==e):h,y=(null==(r=s.autoPlacement)?void 0:r.index)||0,x=v[y];if(null==x)return{};if(a!==x)return{reset:{placement:v[0]}};let b=await f.detectOverflow(n,m),w=(0,t.N)(x,u,await (null==f.isRTL?void 0:f.isRTL(c.floating))),E=[b[(0,t.m)(x)],b[w[0]],b[w[1]]],R=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:x,overflows:E}],S=v[y+1];if(S)return{data:{index:y+1,overflows:R},reset:{placement:S}};let T=R.map(e=>{let n=(0,t.R)(e.placement);return[e.placement,n&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),O=(null==(o=T.filter(e=>e[2].slice(0,(0,t.R)(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||T[0][0];return O!==a?{data:{index:y+1,overflows:R},reset:{placement:O}}:{}}}},"n",0,function(e,n,r,i){let o;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,p=d(e),h=l||u?[...p?(0,f.G)(p):[],...n?(0,f.G)(n):[]]:[];h.forEach(e=>{l&&e.addEventListener("scroll",r),u&&e.addEventListener("resize",r)});let g=p&&a?function(e,n,r){let i,o=null,l=(0,f.I)(e);function u(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}function s(r,a){void 0===r&&(r=!1),void 0===a&&(a=1),u();let f=e.getBoundingClientRect(),{left:c,top:d,width:p,height:h}=f;if(r||n(),!p||!h)return;let g={rootMargin:-(0,t.w)(d)+"px "+-(0,t.w)(l.clientWidth-(c+p))+"px "+-(0,t.w)(l.clientHeight-(d+h))+"px "+-(0,t.w)(c)+"px",threshold:(0,t.y)(0,(0,t.u)(1,a))||1},m=!0;function v(t){let n=t[0].intersectionRatio;if(!T(f,e.getBoundingClientRect()))return s();if(n!==a){if(!m)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}m=!1}try{o=new IntersectionObserver(v,{...g,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(v,g)}o.observe(e)}let a=(0,f.K)(e),c=()=>s(r);return a.addEventListener("resize",c),s(!0),()=>{a.removeEventListener("resize",c),u()}}(p,r,u):null,v=-1,y=null;s&&(y=new ResizeObserver(e=>{let[t]=e;t&&t.target===p&&y&&n&&(y.unobserve(n),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(n)})),r()}),p&&!c&&y.observe(p),n&&y.observe(n));let x=c?m(e):null;return c&&function t(){let n=m(e);x&&!T(x,n)&&r(),x=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,c&&cancelAnimationFrame(o)}},"A",0,P,"x",0,A,"c",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(n){let{rects:r,platform:i}=n,{strategy:u="referenceHidden",...s}=(0,t.h)(e,n);switch(u){case"referenceHidden":{let e=o(await i.detectOverflow(n,{...s,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=o(await i.detectOverflow(n,{...s,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},"g",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(n){let{placement:r,elements:i,rects:o,platform:l,strategy:s}=n,{padding:a=2,x:f,y:c}=(0,t.h)(e,n),d=Array.from(await (null==l.getClientRects?void 0:l.getClientRects(i.reference))||[]);if(!d.length)return{};let p=function(e){let n=e.slice().sort((e,t)=>e.y-t.y),r=[],i=null;for(let e=0;e<n.length;e++){let t=n[e];!i||t.y-i.y>i.height/2?r.push([t]):r[r.length-1].push(t),i=t}return r.map(e=>(0,t._)(u(e)))}
1(d),h=(0,t._)(u(d)),g=(0,t.j)(a),m=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&(p[0].left>p[1].right||p[1].left>p[0].right)&&null!=f&&null!=c)return p.find(e=>f>e.left-g.left&&f<e.right+g.right&&c>e.top-g.top&&c<e.bottom+g.bottom)||h;if(p.length>=2){if("y"===(0,t.$)(r)){let e=p[0],n=p[p.length-1],i="top"===(0,t.m)(r),o=e.top,l=n.bottom,u=i?e.left:n.left,s=i?e.right:n.right;return(0,t._)({x:u,y:o,width:s-u,height:l-o})}let e="left"===(0,t.m)(r),n=(0,t.y)(...p.map(e=>e.right)),i=(0,t.u)(...p.map(e=>e.left)),o=p.filter(t=>e?t.left===i:t.right===n),l=o[0].top,u=o[o.length-1].bottom;return(0,t._)({x:i,y:l,width:n-i,height:u-l})}return h}},floating:i.floating,strategy:s});return o.reference.x!==m.reference.x||o.reference.y!==m.reference.y||o.reference.width!==m.reference.width||o.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},"o",0,M,"T",0,O,"q",0,S,"e",0,C,"r",0,I],953760);var k=e.i(271645),j=e.i(174080),D="u">typeof document?k.useLayoutEffect:function(){};function L(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!L(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!L(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function V(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $(e,t){let n=V(e);return Math.round(t*n)/n}function H(e){let t=k.useRef(e);return D(()=>{t.current=e}),t}function W(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:u=!0,whileElementsMounted:s,open:a}=e,[f,c]=k.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=k.useState(r);L(d,r)||p(r);let[h,g]=k.useState(null),[m,v]=k.useState(null),y=k.useCallback(e=>{e!==E.current&&(E.current=e,g(e))},[]),x=k.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),b=o||h,w=l||m,E=k.useRef(null),R=k.useRef(null),S=k.useRef(f),T=null!=s,O=H(s),C=H(i),A=H(a),I=k.useCallback(()=>{if(!E.current||!R.current)return;let e={placement:t,strategy:n,middleware:d};C.current&&(e.platform=C.current),P(E.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==A.current};M.current&&!L(S.current,t)&&(S.current=t,j.flushSync(()=>{c(t)}))})},[d,t,n,C,A]);D(()=>{!1===a&&S.current.isPositioned&&(S.current.isPositioned=!1,c(e=>({...e,isPositioned:!1})))},[a]);let M=k.useRef(!1);D(()=>(M.current=!0,()=>{M.current=!1}),[]),D(()=>{if(b&&(E.current=b),w&&(R.current=w),b&&w){if(O.current)return O.current(b,w,I);I()}},[b,w,I,O,T]);let W=k.useMemo(()=>({reference:E,floating:R,setReference:y,setFloating:x}),[y,x]),B=k.useMemo(()=>({reference:b,floating:w}),[b,w]),_=k.useMemo(()=>{let e={position:n,left:0,top:0};if(!B.floating)return e;let t=$(B.floating,f.x),r=$(B.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...V(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,B.floating,f.x,f.y]);return k.useMemo(()=>({...f,update:I,refs:W,elements:B,floatingStyles:_}),[f,I,W,B,_])}e.s(["x",0,(e,t)=>{let n=A(e);return{name:n.name,fn:n.fn,options:[e,t]}},"n",0,(e,t)=>({fn:M(e).fn,options:[e,t]}),"T",0,(e,t)=>{let n=O(e);return{name:n.name,fn:n.fn,options:[e,t]}},"e",0,(e,t)=>{let n=C(e);return{name:n.name,fn:n.fn,options:[e,t]}},"o",0,(e,t)=>{let n=I(e);return{name:n.name,fn:n.fn,options:[e,t]}},"E",0,W],258950);var B=e.i(146376),_=e.i(46420);e.s(["f",0,function(e){return function(e,t){let{nodeId:n,externalTree:r}=e,i=t.useState("referenceElement"),o=t.useState("floatingElement"),l=t.useState("domReferenceElement"),u=t.useState("open"),s=t.useState("floatingId"),[a,c]=k.useState(null),[d,p]=k.useState(void 0),[h,g]=k.useState(void 0),m=k.useRef(null),v=(0,_.$)(r),y=k.useMemo(()=>({reference:i,floating:o,domReference:l}),[i,o,l]),x=W({...e,elements:{...y,...a&&{reference:a}}}),b=(0,f.m)(d)?d:null,w=void 0===h?t.state.floatingElement:h;t.useSyncedValue("referenceElement",d??null),t.useSyncedValue("domReferenceElement",void 0===d?l:b),t.useSyncedValue("floatingElement",w);let E=k.useCallback(e=>{let t=(0,f.m)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;c(t),x.refs.setReference(t)},[x.refs]),R=k.useCallback(e=>{((0,f.m)(e)||null===e)&&(m.current=e,p(e)),((0,f.m)(x.refs.reference.current)||null===x.refs.reference.current||null!==e&&!(0,f.m)(e))&&x.refs.setReference(e)},[x.refs,p]),S=k.useCallback(e=>{g(e),x.refs.setFloating(e)},[x.refs]),T=k.useMemo(()=>({...x.refs,setReference:R,setFloating:S,setPositionReference:E,domReference:m}),[x.refs,R,S,E]),O=k.useMemo(()=>({...x.elements,domReference:l}),[x.elements,l]),C=k.useMemo(()=>({...x,dataRef:t.context.dataRef,open:u,onOpenChange:t.setOpen,events:t.context.events,floatingId:s,refs:T,elements:O,nodeId:n,rootStore:t}),[x,T,O,n,t,u,s]);return(0,B.f)(()=>{l&&(m.current=l)},[l]),(0,B.f)(()=>{t.context.dataRef.current.floatingContext=C;let e=v?.nodesRef.current.find(e=>e.id===n);e&&(e.context=C)}),k.useMemo(()=>({...x,context:C,refs:T,elements:O,rootStore:t}),[x,T,O,C,t])}(e,e.rootContext)}],988643)},343084,e=>{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,l=Math.floor,u={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e){return e.split("-")[0]}function a(e){return e.split("-")[1]}function f(e){return"x"===e?"y":"x"}function c(e){return"y"===e?"height":"width"}function d(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function p(e){return f(d(e))}function h(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],m=["right","left"],v=["top","bottom"],y=["bottom","top"];function x(e){let t=s(e);return u[t]+e.slice(t.length)}e.s(["O",0,function(e,t,n){return i(e,r(t,n))},"I",0,e=>({x:e,y:e}),"h",0,function(e,t){return"function"==typeof e?e(t):e},"w",0,l,"R",0,a,"i",0,p,"N",0,function(e,t,n){void 0===n&&(n=!1);let r=a(e),i=p(e),o=c(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=x(l)),[l,x(l)]},"T",0,c,"P",0,function(e){let t=x(e);return[h(e),t,h(t)]},"o",0,h,"J",0,f,"K",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:g;return t?g:m;case"left":case"right":return t?v:y;default:return[]}}(s(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(h)))),o},"t",0,x,"j",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}},"m",0,s,"$",0,d,"y",0,i,"u",0,r,"Z",0,n,"_",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}},"H",0,o,"M",0,t])},755838,(e,t,n)=>{var r=e.r(271645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,l=r.useEffect,u=r.useLayoutEffect,s=r.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var f="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,f=r[1];return u(function(){i.value=n,i.getSnapshot=t,a(i)&&f({inst:i})},[e,n,t]),l(function(){return a(i)&&f({inst:i}),e(function(){a(i)&&f({inst:i})})},[e]),s(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:f},752822,(e,t,n)=>{var r=e.r(271645),i=e.r(802239),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=i.useSyncExternalStore,u=r.useRef,s=r.useEffect,a=r.useMemo,f=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var c=u(null);if(null===c.current){var d={hasValue:!1,value:null};c.current=d}else d=c.current;var p=l(e,(c=a(function(){function e(e){if(!s){if(s=!0,l=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return u=t}return u=e}if(t=u,o(l,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(l=e,t):(l=e,u=n)}var l,u,s=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,i]))[0],c[1]);return s(function(){d.hasValue=!0,d.value=p},[p]),f(p),p}},802239,(e,t,n)=>{e.i(247167),t.exports=e.r(755838)},430224,(e,t,n)=>{e.i(247167),t.exports=e.r(752822)}])})();
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.