1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3077],{91792:function(e,t,n){n.d(t,{KK:function(){return W},NI:function(){return _},Qu:function(){return F},XI:function(){return P},YF:function(){return N},bQ:function(){return B},e0:function(){return D},qs:function(){return H},tj:function(){return L}});var r,o=n(75224),i=n(94674),l=n(2265);n(54887);var u="undefined"!=typeof document?l.useLayoutEffect:l.useEffect;let c=!1,a=0,s=()=>"floating-ui-"+a++,f=(r||(r=n.t(l,2)))["useId".toString()]||function(){let[e,t]=l.useState(()=>c?s():void 0);return u(()=>{null==e&&t(s())},[]),l.useEffect(()=>{c||(c=!0)},[]),e},d=l.createContext(null),p=l.createContext(null),m=()=>{var e;return(null==(e=l.useContext(d))?void 0:e.id)||null},v=()=>l.useContext(p);function g(e){return(null==e?void 0:e.ownerDocument)||document}function h(e){return g(e).defaultView||window}function w(e){return!!e&&(e instanceof Element||e instanceof h(e).Element)}function y(e){return!!e&&(e instanceof HTMLElement||e instanceof h(e).HTMLElement)}function x(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function b(e,t){if(!e||!t)return!1;let n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&function(e){if("undefined"==typeof ShadowRoot)return!1;let t=h(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function E(e){return"data-floating-ui-"+e}function R(e){let t=(0,l.useRef)(e);return u(()=>{t.current=e}),t}let k=E("safe-polygon");function T(e,t,n){return n&&!x(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function P(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:c,floating:a},refs:s}=e,{enabled:f=!0,delay:d=0,handleClose:p=null,mouseOnly:h=!1,restMs:y=0,move:E=!0}=t,P=v(),C=m(),L=R(p),D=R(d),F=l.useRef(),A=l.useRef(),M=l.useRef(),O=l.useRef(),S=l.useRef(!0),V=l.useRef(!1),I=l.useRef(()=>{}),K=l.useCallback(()=>{var e;let t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[o]);l.useEffect(()=>{if(f)return i.on("dismiss",e),()=>{i.off("dismiss",e)};function e(){clearTimeout(A.current),clearTimeout(O.current),S.current=!0}},[f,i]),l.useEffect(()=>{if(!f||!L.current||!n)return;function e(e){K()&&r(!1,e)}let t=g(a).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[a,n,r,f,L,o,K]);let B=l.useCallback(function(e,t){void 0===t&&(t=!0);let n=T(D.current,"close",F.current);n&&!M.current?(clearTimeout(A.current),A.current=setTimeout(()=>r(!1,e),n)):t&&(clearTimeout(A.current),r(!1,e))},[D,r]),N=l.useCallback(()=>{I.current(),M.current=void 0},[]),W=l.useCallback(()=>{if(V.current){let e=g(s.floating.current).body;e.style.pointerEvents="",e.removeAttribute(k),V.current=!1}},[s]);return l.useEffect(()=>{if(f&&w(c))return n&&c.addEventListener("mouseleave",u),null==a||a.addEventListener("mouseleave",u),E&&c.addEventListener("mousemove",i,{once:!0}),c.addEventListener("mouseenter",i),c.addEventListener("mouseleave",l),()=>{n&&c.removeEventListener("mouseleave",u),null==a||a.removeEventListener("mouseleave",u),E&&c.removeEventListener("mousemove",i),c.removeEventListener("mouseenter",i),c.removeEventListener("mouseleave",l)};function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function i(e){if(clearTimeout(A.current),S.current=!1,h&&!x(F.current)||y>0&&0===T(D.current,"open"))return;let t=T(D.current,"open",F.current);t?A.current=setTimeout(()=>{r(!0,e)},t):r(!0,e)}function l(r){if(t())return;I.current();let o=g(a);if(clearTimeout(O.current),L.current){n||clearTimeout(A.current),M.current=L.current({...e,tree:P,x:r.clientX,y:r.clientY,onClose(){W(),N(),B(r)}});let t=M.current;o.addEventListener("mousemove",t),I.current=()=>{o.removeEventListener("mousemove",t)};return}"touch"===F.current&&b(a,r.relatedTarget)||B(r)}function u(n){t()||null==L.current||L.current({...e,tree:P,x:n.clientX,y:n.clientY,onClose(){W(),N(),B(n)}})(n)}},[c,a,f,e,h,y,E,B,N,W,r,n,P,D,L,o]),u(()=>{var e,t,r;if(f&&n&&null!=(e=L.current)&&e.__options.blockPointerEvents&&K()){let e=g(a).body;if(e.setAttribute(k,""),e.style.pointerEvents="none",V.current=!0,w(c)&&a){let e=null==P?void 0:null==(t=P.nodesRef.current.find(e=>e.id===C))?void 0:null==(r=t.context)?void 0:r.elements.floating;return e&&(e.style.pointerEvents=""),c.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{c.style.pointerEvents="",a.style.pointerEvents=""}}}},[f,n,C,a,c,P,L,o,K]),u(()=>{n||(F.current=void 0,N(),W())},[n,N,W]),l.useEffect(()=>()=>{N(),clearTimeout(A.current),clearTimeout(O.current),W()},[f,N,W]),l.useMemo(()=>
1{if(!f)return{};function e(e){F.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){n||0===y||(clearTimeout(O.current),O.current=setTimeout(()=>{S.current||r(!0,e.nativeEvent)},y))}},floating:{onMouseEnter(){clearTimeout(A.current)},onMouseLeave(e){i.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),B(e.nativeEvent,!1)}}}},[i,f,y,n,r,B])}let C=l.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),L=()=>l.useContext(C),D=e=>{let{children:t,delay:n,timeoutMs:r=0}=e,[o,i]=l.useReducer((e,t)=>({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),c=l.useRef(null),a=l.useCallback(e=>{i({currentId:e})},[]);return u(()=>{o.currentId?null===c.current?c.current=o.currentId:i({isInstantPhase:!0}):(i({isInstantPhase:!1}),c.current=null)},[o.currentId]),l.createElement(C.Provider,{value:l.useMemo(()=>({...o,setState:i,setCurrentId:a}),[o,i,a])},t)},F=(e,t)=>{let{open:n,onOpenChange:r}=e,{id:o}=t,{currentId:i,setCurrentId:l,initialDelay:c,setState:a,timeoutMs:s}=L();u(()=>{i&&(a({delay:{open:1,close:T(c,"close")}}),i!==o&&r(!1))},[o,r,a,i,c]),u(()=>{function e(){r(!1),a({delay:c,currentId:null})}if(!n&&i===o){if(s){let t=window.setTimeout(e,s);return()=>{clearTimeout(t)}}e()}},[n,a,i,o,r,c,s]),u(()=>{n&&l(o)},[n,l,o])};function A(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let M=(r||(r=n.t(l,2)))["useInsertionEffect".toString()]||(e=>e());function O(e){let t=l.useRef(()=>{});return M(()=>{t.current=e}),l.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function S(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}let V={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},I={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},K=e=>{var t,n;return{escapeKeyBubbles:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePressBubbles:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function B(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,nodeId:u,elements:{reference:c,domReference:a,floating:s},dataRef:f}=e,{enabled:d=!0,escapeKey:p=!0,outsidePress:x=!0,outsidePressEvent:b="pointerdown",referencePress:E=!1,referencePressEvent:R="pointerdown",ancestorScroll:k=!1,bubbles:T}=t,P=v(),C=null!=m(),L=O("function"==typeof x?x:()=>!1),D="function"==typeof x?L:x,F=l.useRef(!1),{escapeKeyBubbles:M,outsidePressBubbles:B}=K(T),N=O(e=>{if(!n||!d||!p||"Escape"!==e.key)return;let t=P?A(P.nodesRef.current,u):[];if(!M&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1,"nativeEvent"in e?e.nativeEvent:e)}),W=O(e=>{var t;let n=F.current;if(F.current=!1,n||"function"==typeof D&&!D(e))return;let o="composedPath"in e?e.composedPath()[0]:e.target;if(y(o)&&s){let t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,n=o.clientHeight>0&&o.scrollHeight>o.clientHeight,r=n&&e.offsetX>o.clientWidth;if(n&&"rtl"===h(s).getComputedStyle(o).direction&&(r=e.offsetX<=o.offsetWidth-o.clientWidth),r||t&&e.offsetY>o.clientHeight)return}let l=P&&A(P.nodesRef.current,u).some(t=>{var n;return S(e,null==(n=t.context)?void 0:n.elements.floating)});if(S(e,s)||S(e,a)||l)return;let c=P?A(P.nodesRef.current,u):[];if(c.length>0){let e=!0;if(c.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:C?{preventScroll:!0}:function(e){if(0===e.mozInputSource&&e.isTrusted)return!0;let t=/Android/i;return(t.test(function(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}())||t.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}(e)||0===(t=e).width&&0===t.height||1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"!==t.pointerType||t.width<1&&t.height<1&&0===t.pressure&&0===t.detail}}),r(!1,e)});return l.useEffect(()=>{if(!n||!d)return;function e(e){r(!1,e)}f.current.__escapeKeyBubbles=M,f.current.__outsidePressBubbles=B;let t=g(s);p&&t.addEventListener("keydown",N),D&&t.addEventListener(b,W);let i=[];return k&&(w(a)&&(i=(0,o.Kx)(a)),w(s)&&(i=i.concat((0,o.Kx)(s))),!w(c)&&c&&c.contextElement&&(i=i.concat((0,o.Kx)(c.contextElement)))),(i=i.filter(e=>{var n;
1return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{p&&t.removeEventListener("keydown",N),D&&t.removeEventListener(b,W),i.forEach(t=>{t.removeEventListener("scroll",e)})}},[f,s,a,c,p,D,b,n,r,k,d,M,B,N,W]),l.useEffect(()=>{F.current=!1},[D,b]),l.useMemo(()=>d?{reference:{onKeyDown:N,[V[R]]:e=>{E&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1,e.nativeEvent))}},floating:{onKeyDown:N,[I[b]]:()=>{F.current=!0}}}:{},[d,i,E,b,R,r,N])}function N(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:r,nodeId:o}=e,[c,a]=l.useState(null),s=(null==(t=e.elements)?void 0:t.reference)||c,d=(0,i.YF)(e),p=v(),m=O((e,t)=>{e&&(h.current.openEvent=t),null==r||r(e,t)}),g=l.useRef(null),h=l.useRef({}),y=l.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],x=f(),b=l.useCallback(e=>{let t=w(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;d.refs.setReference(t)},[d.refs]),E=l.useCallback(e=>{(w(e)||null===e)&&(g.current=e,a(e)),(w(d.refs.reference.current)||null===d.refs.reference.current||null!==e&&!w(e))&&d.refs.setReference(e)},[d.refs]),R=l.useMemo(()=>({...d.refs,setReference:E,setPositionReference:b,domReference:g}),[d.refs,E,b]),k=l.useMemo(()=>({...d.elements,domReference:s}),[d.elements,s]),T=l.useMemo(()=>({...d,refs:R,elements:k,dataRef:h,nodeId:o,floatingId:x,events:y,open:n,onOpenChange:m}),[d,o,x,y,n,m,R,k]);return u(()=>{let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===o);e&&(e.context=T)}),l.useMemo(()=>({...d,context:T,refs:R,elements:k}),[d,R,k,T])}function W(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:o,events:i,refs:u,elements:{floating:c,domReference:a}}=e,{enabled:s=!0,keyboardOnly:f=!0}=t,d=l.useRef(""),p=l.useRef(!1),m=l.useRef();return l.useEffect(()=>{if(!s)return;let e=g(c).defaultView||window;function t(){!n&&y(a)&&a===function(e){let t=e.activeElement;for(;(null==(n=t)?void 0:null==(r=n.shadowRoot)?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}(g(a))&&(p.current=!0)}return e.addEventListener("blur",t),()=>{e.removeEventListener("blur",t)}},[c,a,n,s]),l.useEffect(()=>{if(s)return i.on("dismiss",e),()=>{i.off("dismiss",e)};function e(e){("referencePress"===e.type||"escapeKey"===e.type)&&(p.current=!0)}},[i,s]),l.useEffect(()=>()=>{clearTimeout(m.current)},[]),l.useMemo(()=>s?{reference:{onPointerDown(e){let{pointerType:t}=e;d.current=t,p.current=!!(t&&f)},onMouseLeave(){p.current=!1},onFocus(e){var t;p.current||"focus"===e.type&&(null==(t=o.current.openEvent)?void 0:t.type)==="mousedown"&&S(o.current.openEvent,a)||r(!0,e.nativeEvent)},onBlur(e){p.current=!1;let t=e.relatedTarget,n=w(t)&&t.hasAttribute(E("focus-guard"))&&"outside"===t.getAttribute("data-type");m.current=setTimeout(()=>{b(u.floating.current,t)||b(a,t)||n||r(!1,e.nativeEvent)})}}}:{},[s,f,a,u,o,r])}function z(e,t,n){let r=new Map;return{..."floating"===n&&{tabIndex:-1},...e,...t.map(e=>e?e[n]:null).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var i;null==(i=r.get(n))||i.push(o),e[n]=function(){for(var e,t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)}}}else e[n]=o}),e),{})}}function _(e){void 0===e&&(e=[]);let t=e,n=l.useCallback(t=>z(t,e,"reference"),t),r=l.useCallback(t=>z(t,e,"floating"),t),o=l.useCallback(t=>z(t,e,"item"),e.map(e=>null==e?void 0:e.item));return l.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function H(e,t){void 0===t&&(t={});let{open:n,floatingId:r}=e,{enabled:o=!0,role:i="dialog"}=t,u=f();return l.useMemo(()=>{let e={id:r,role:i};return o?"tooltip"===i?{reference:{"aria-describedby":n?r:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===i?"dialog":i,"aria-controls":n?r:void 0,..."listbox"===i&&{role:"combobox"},..."menu"===i&&{id:u}},floating:{...e,..."menu"===i&&{"aria-labelledby":u}}}:{}},[o,i,n,r,u])}},20151:function(e,t,n){n.d(t,{Qo:function(){return s},RR:function(){return c},cv:function(){return d},dp:function(){return v},dr:function(){return m},oo:function(){return i},uY:function(){return p},x7:function(){return u}});var r=n(47848);function o(e,t,n){let o,{reference:i,floating:l}=e,u=(0,r.Qq)(t),c=(0,r.Wh)(t),a=(0,r.I4)(c),s=(0,r.k3)(t),f="y"===u,d=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,m=i[a]/2-l[a]/2;switch(s){case"top":o={x:d,y:i.y-l.height};break;case"bottom":o={x:d,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-l.width,y:p};break;default:o={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":o[c]-=m*(n&&f?-1:1);break;case"end":o[c]+=m*(n&&f?-1:1)}return o}let i=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:u}=n,c=l.filter(Boolean),a=await (null==u.isRTL?void 0:u.isRTL(t)),s=await u.getElementRects({reference:e,floating:t,strategy:i}
1),{x:f,y:d}=o(s,r,a),p=r,m={},v=0;for(let n=0;n<c.length;n++){let{name:l,fn:g}=c[n],{x:h,y:w,data:y,reset:x}=await g({x:f,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:m,rects:s,platform:u,elements:{reference:e,floating:t}});f=null!=h?h:f,d=null!=w?w:d,m={...m,[l]:{...m[l],...y}},x&&v<=50&&(v++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(s=!0===x.rects?await u.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:d}=o(s,p,a)),n=-1)}return{x:f,y:d,placement:p,strategy:i,middlewareData:m}};async function l(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:u,elements:c,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=(0,r.ku)(t,e),v=(0,r.yd)(m),g=c[p?"floating"===d?"reference":"floating":d],h=(0,r.JB)(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(c.floating)),boundary:s,rootBoundary:f,strategy:a})),w="floating"===d?{...u.floating,x:o,y:i}:u.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c.floating)),x=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},b=(0,r.JB)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:y,strategy:a}):w);return{top:(h.top-b.top+v.top)/x.y,bottom:(b.bottom-h.bottom+v.bottom)/x.y,left:(h.left-b.left+v.left)/x.x,right:(b.right-h.right+v.right)/x.x}}let u=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:l,platform:u,elements:c,middlewareData:a}=t,{element:s,padding:f=0}=(0,r.ku)(e,t)||{};if(null==s)return{};let d=(0,r.yd)(f),p={x:n,y:o},m=(0,r.Wh)(i),v=(0,r.I4)(m),g=await u.getDimensions(s),h="y"===m,w=h?"clientHeight":"clientWidth",y=l.reference[v]+l.reference[m]-p[m]-l.floating[v],x=p[m]-l.reference[m],b=await (null==u.getOffsetParent?void 0:u.getOffsetParent(s)),E=b?b[w]:0;E&&await (null==u.isElement?void 0:u.isElement(b))||(E=c.floating[w]||l.floating[v]);let R=E/2-g[v]/2-1,k=(0,r.VV)(d[h?"top":"left"],R),T=(0,r.VV)(d[h?"bottom":"right"],R),P=E-g[v]-T,C=E/2-g[v]/2+(y/2-x/2),L=(0,r.uZ)(k,C,P),D=!a.arrow&&null!=(0,r.hp)(i)&&C!==L&&l.reference[v]/2-(C<k?k:T)-g[v]/2<0,F=D?C<k?C-k:C-P:0;return{[m]:p[m]+F,data:{[m]:L,centerOffset:C-L-F,...D&&{alignmentOffset:F}},reset:D}}}),c=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,u,c;let{placement:a,middlewareData:s,rects:f,initialPlacement:d,platform:p,elements:m}=t,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:h,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:x=!0,...b}=(0,r.ku)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let E=(0,r.k3)(a),R=(0,r.k3)(d)===d,k=await (null==p.isRTL?void 0:p.isRTL(m.floating)),T=h||(R||!x?[(0,r.pw)(d)]:(0,r.gy)(d));h||"none"===y||T.push(...(0,r.KX)(d,x,y,k));let P=[d,...T],C=await l(t,b),L=[],D=(null==(o=s.flip)?void 0:o.overflows)||[];if(v&&L.push(C[E]),g){let e=(0,r.i8)(a,f,k);L.push(C[e[0]],C[e[1]])}if(D=[...D,{placement:a,overflows:L}],!L.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=P[e];if(t)return{data:{index:e,overflows:D},reset:{placement:t}};let n=null==(u=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:u.placement;if(!n)switch(w){case"bestFit":{let e=null==(c=D.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:c[0];e&&(n=e);break}case"initialPlacement":n=d}if(a!==n)return{reset:{placement:n}}}return{}}}};function a(e){let t=(0,r.VV)(...e.map(e=>e.left)),n=(0,r.VV)(...e.map(e=>e.top));return{x:t,y:n,width:(0,r.Fp)(...e.map(e=>e.right))-t,height:(0,r.Fp)(...e.map(e=>e.bottom))-n}}let s=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:i,platform:l,strategy:u}=t,{padding:c=2,x:s,y:f}=(0,r.ku)(e,t),d=Array.from(await (null==l.getClientRects?void 0:l.getClientRects(o.reference))||[]),p=function(e){let t=e.slice().sort((e,t)=>
1e.y-t.y),n=[],o=null;for(let e=0;e<t.length;e++){let r=t[e];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map(e=>(0,r.JB)(a(e)))}(d),m=(0,r.JB)(a(d)),v=(0,r.yd)(c),g=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=s&&null!=f)return p.find(e=>s>e.left-v.left&&s<e.right+v.right&&f>e.top-v.top&&f<e.bottom+v.bottom)||m;if(p.length>=2){if("y"===(0,r.Qq)(n)){let e=p[0],t=p[p.length-1],o="top"===(0,r.k3)(n),i=e.top,l=t.bottom,u=o?e.left:t.left,c=o?e.right:t.right;return{top:i,bottom:l,left:u,right:c,width:c-u,height:l-i,x:u,y:i}}let e="left"===(0,r.k3)(n),t=(0,r.Fp)(...p.map(e=>e.right)),o=(0,r.VV)(...p.map(e=>e.left)),i=p.filter(n=>e?n.left===o:n.right===t),l=i[0].top,u=i[i.length-1].bottom;return{top:l,bottom:u,left:o,right:t,width:t-o,height:u-l,x:o,y:l}}return m}},floating:o.floating,strategy:u});return i.reference.x!==g.reference.x||i.reference.y!==g.reference.y||i.reference.width!==g.reference.width||i.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}};async function f(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),u=(0,r.k3)(n),c=(0,r.hp)(n),a="y"===(0,r.Qq)(n),s=["left","top"].includes(u)?-1:1,f=l&&a?-1:1,d=(0,r.ku)(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return c&&"number"==typeof v&&(m="end"===c?-1*v:v),a?{x:m*f,y:p*s}:{x:p*s,y:m*f}}let d=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:u}=t,c=await f(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:l}}}}},p=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i}=t,{mainAxis:u=!0,crossAxis:c=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=(0,r.ku)(e,t),f={x:n,y:o},d=await l(t,s),p=(0,r.Qq)((0,r.k3)(i)),m=(0,r.Rn)(p),v=f[m],g=f[p];if(u){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=v+d[e],o=v-d[t];v=(0,r.uZ)(n,v,o)}
1if(c){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=g+d[e],o=g-d[t];g=(0,r.uZ)(n,g,o)}let h=a.fn({...t,[m]:v,[p]:g});return{...h,data:{x:h.x-n,y:h.y-o}}}}},m=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:o,placement:i,rects:l,middlewareData:u}=t,{offset:c=0,mainAxis:a=!0,crossAxis:s=!0}=(0,r.ku)(e,t),f={x:n,y:o},d=(0,r.Qq)(i),p=(0,r.Rn)(d),m=f[p],v=f[d],g=(0,r.ku)(c,t),h="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(a){let e="y"===p?"height":"width",t=l.reference[p]-l.floating[e]+h.mainAxis,n=l.reference[p]+l.reference[e]-h.mainAxis;m<t?m=t:m>n&&(m=n)}if(s){var w,y;let e="y"===p?"width":"height",t=["top","left"].includes((0,r.k3)(i)),n=l.reference[d]-l.floating[e]+(t&&(null==(w=u.offset)?void 0:w[d])||0)+(t?0:h.crossAxis),o=l.reference[d]+l.reference[e]+(t?0:(null==(y=u.offset)?void 0:y[d])||0)-(t?h.crossAxis:0);v<n?v=n:v>o&&(v=o)}return{[p]:m,[d]:v}}}},v=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,o;let{placement:i,rects:u,platform:c,elements:a}=t,{apply:s=()=>{},...f}=(0,r.ku)(e,t),d=await l(t,f),p=(0,r.k3)(i),m=(0,r.hp)(i),v="y"===(0,r.Qq)(i),{width:g,height:h}=u.floating;"top"===p||"bottom"===p?(n=p,o=m===(await (null==c.isRTL?void 0:c.isRTL(a.floating))?"start":"end")?"left":"right"):(o=p,n="end"===m?"top":"bottom");let w=h-d[n],y=g-d[o],x=!t.middlewareData.shift,b=w,E=y;if(v){let e=g-d.left-d.right;E=m||x?(0,r.VV)(y,e):e}else{let e=h-d.top-d.bottom;b=m||x?(0,r.VV)(w,e):e}if(x&&!m){let e=(0,r.Fp)(d.left,0),t=(0,r.Fp)(d.right,0),n=(0,r.Fp)(d.top,0),o=(0,r.Fp)(d.bottom,0);v?E=g-2*(0!==e||0!==t?e+t:(0,r.Fp)(d.left,d.right)):b=h-2*(0!==n||0!==o?n+o:(0,r.Fp)(d.top,d.bottom))}await s({...t,availableWidth:E,availableHeight:b});let R=await c.getDimensions(a.floating);return g!==R.width||h!==R.height?{reset:{rects:!0}}:{}}}}},54016:function(e,t,n){n.d(t,{Me:function(){return x},Qo:function(){return T},RR:function(){return E},dp:function(){return R},dr:function(){return P},oo:function(){return C},uY:function(){return b},x7:function(){return k}});var r=n(47848),o=n(20151),i=n(75224);function l(e){let t=(0,i.Dx)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,l=(0,i.Re)(e),u=l?e.offsetWidth:n,c=l?e.offsetHeight:o,a=(0,r.NM)(n)!==u||(0,r.NM)(o)!==c;return a&&(n=u,o=c),{width:n,height:o,$:a}}function u(e){return(0,i.kK)(e)?e:e.contextElement}function c(e){let t=u(e);if(!(0,i.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:o,height:c,$:a}=l(t),s=(a?(0,r.NM)(n.width):n.width)/o,f=(a?(0,r.NM)(n.height):n.height)/c;return s&&Number.isFinite(s)||(s=1),f&&Number.isFinite(f)||(f=1),{x:s,y:f}}let a=(0,r.ze)(0);function s(e){let t=(0,i.Jj)(e);return(0,i.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:a}function f(e,t,n,o){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let a=e.getBoundingClientRect(),f=u(e),d=(0,r.ze)(1);t&&(o?(0,i.kK)(o)&&(d=c(o)):d=c(e));let p=(void 0===(l=n)&&(l=!1),o&&(!l||o===(0,i.Jj)(f))&&l)?s(f):(0,r.ze)(0),m=(a.left+p.x)/d.x,v=(a.top+p.y)/d.y,g=a.width/d.x,h=a.height/d.y;if(f){let e=(0,i.Jj)(f),t=o&&(0,i.kK)(o)?(0,i.Jj)(o):o,n=e.frameElement;for(;n&&o&&t!==e;){let e=c(n),t=n.getBoundingClientRect(),r=(0,i.Dx)(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;m*=e.x,v*=e.y,g*=e.x,h*=e.y,m+=o,v+=l,n=(0,i.Jj)(n).frameElement}}return(0,r.JB)({width:g,height:h,x:m,y:v})}let d=[":popover-open",":modal"];function p(e){let t=!1,n=0,r=0;d.forEach(n=>{!function(n){try{t=t||e.matches(n)}catch(e){}}(n)});let o=(0,i.gQ)(e);if(t&&o){let e=o.getBoundingClientRect();n=e.x,r=e.y}return[t,n,r]}function m(e){return f((0,i.tF)(e)).left+(0,i.Lw)(e).scrollLeft}function v(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,i.Jj)(e),r=(0,i.tF)(e),o=n.visualViewport,l=r.clientWidth,u=r.clientHeight,c=0,a=0;if(o){l=o.width,u=o.height;let e=(0,i.Pf)();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,a=o.offsetTop)}return{width:l,height:u,x:c,y:a}}(e,n);else if("document"===t)o=function(e){let t=(0,i.tF)(e),n=(0,i.Lw)(e),o=e.ownerDocument.body,l=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),u=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),c=-n.scrollLeft+m(e),a=-n.scrollTop;return"rtl"===(0,i.Dx)(o).direction&&(c+=(0,r.Fp)(t.clientWidth,o.clientWidth)-l),{width:l,height:u,x:c,y:a}}((0,i.tF)(e));else if((0,i.kK)(t))o=function(e,t){let n=f(e,!0,"fixed"===t),o=n.top+e.clientTop,l=n.left+e.clientLeft,u=(0,i.Re)(e)?c(e):(0,r.ze)(1),a=e.clientWidth*u.x;return{width:a,height:e.clientHeight*u.y,x:l*u.x,y:o*u.y}}(t,n);else{let n=s(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function g(e,t){return(0,i.Re)(e)&&"fixed"!==(0,i.Dx)(e).position?t?t(e):e.offsetParent:null}function h(e,t){let n=(0,i.Jj)(e);if(!(0,i.Re)(e))return n;let r=g(e,t);for(;r&&(0,i.Ze)(r)&&"static"===(0,i.Dx)(r).position;)r=g(r,t);return r&&("html"===(0,i.wk)(r)||"body"===(0,i.wk)(r)&&"static"===(0,i.Dx)(r).position&&!(0,i.hT)(r))?n:r||(0,i.gQ)(e)||n}let w=async function(e){let t=this.getOffsetParent||h,n=this.getDimensions;return{reference:function(e,t,n,o){let l=(0,i.Re)(t),u=(0,i.tF)(t),c="fixed"===n,a=f(e,!0,c,t),s={scrollLeft:0,scrollTop:0},d=(0,r.ze)(0);if(l||!l&&!c){if(("body"!==(0,i.wk)(t)||(0,i.ao)(u))&&(s=(0,i.Lw)(t)),l){let e=f(t,!0,c,t);d.x=e.x+t.clientLeft,d.y=e.y+t.clientTop}else u&&(d.x=m(u))}let v=a.left+s.scrollLeft-d.x,g=a.top+s.scrollTop-d.y,[h,w,y]=p(o);return h&&(v+=w,g+=y,l&&(v+=t.clientLeft,g+=t.clientTop)),{x:v,y:g,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy,e.floating),floating:{x:0,y:0,...await n(e.floating)}}},y={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:l}=e,u=(0,i.tF)(o),[a]=t?p(t.floating):[!1];if(o===u||a)return n;let s={scrollLeft:0,scrollTop:0},d=(0,r.ze)(1),m=(0,r.ze)(0),v=(0,i.Re)(o);if((v||!v&&"fixed"!==l)&&(("body"!==(0,i.wk)(o)||(0,i.ao)(u))&&(s=(0,i.Lw)(o)),(0,i.Re)(o))){let e=f(o);d=c(o),m.x=e.x+o.clientLeft,m.y=e.y+o.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-s.scrollLeft*d.x+m.x,y:n.y*d.y-s.scrollTop*d.y+m.y}},getDocumentElement:i.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,u=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=(0,i.Kx)(e,[],!1).filter(e=>(0,i.kK)(e)&&"body"!==(0,i.wk)(e)),o=null,l="fixed"===(0,i.Dx)(e).position,u=l?(0,i.Ow)(e):e;for(;(0,i.kK)(u)&&!(0,i.Py)(u);){let t=(0,i.Dx)(u),n=(0,i.hT)(u);n||"fixed"!==t.position||(o=null),(l?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,i.ao)(u)&&!n&&function e(t,n){let r=(0,i.Ow)(t);return!(r===n||!(0,i.kK)(r)||(0,i.Py)(r))&&("fixed"===(0,i.Dx)(r).position||e(r,n))}(e,u))?r=r.filter(e=>e!==u):o=t,u=(0,i.Ow)(u)}return t.set(e,r),r}(t,this._c):[].concat(n),o],c=u[0],a=u.reduce((e,n)=>{let o=v(t,n,l);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e},v(t,c,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:h,getElementRects:w,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=l(e);return{width:t,height:n}},getScale:c,isElement:i.kK,isRTL:function(e){return"rtl"===(0,i.Dx)(e).direction}};function x(e,t,n,o){let l;void 0===o&&(o={});let{ancestorScroll:c=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:p=!1}=o,m=u(e),v=c||a?[...m?(0,i.Kx)(m):[],...(0,i.Kx)(t)]:[];
1v.forEach(e=>{c&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let g=m&&d?function(e,t){let n,o=null,l=(0,i.tF)(e);function u(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function i(c,a){void 0===c&&(c=!1),void 0===a&&(a=1),u();let{left:s,top:f,width:d,height:p}=e.getBoundingClientRect();if(c||t(),!d||!p)return;let m=(0,r.GW)(f),v=(0,r.GW)(l.clientWidth-(s+d)),g={rootMargin:-m+"px "+-v+"px "+-(0,r.GW)(l.clientHeight-(f+p))+"px "+-(0,r.GW)(s)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,a))||1},h=!0;function w(e){let t=e[0].intersectionRatio;if(t!==a){if(!h)return i();t?i(!1,t):n=setTimeout(()=>{i(!1,1e-7)},100)}h=!1}try{o=new IntersectionObserver(w,{...g,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(w,g)}o.observe(e)}(!0),u}(m,n):null,h=-1,w=null;s&&(w=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&w&&(w.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),m&&!p&&w.observe(m),w.observe(t));let y=p?f(e):null;return p&&function t(){let r=f(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;v.forEach(e=>{c&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=w)||e.disconnect(),w=null,p&&cancelAnimationFrame(l)}}let b=o.uY,E=o.RR,R=o.dp,k=o.x7,T=o.Qo,P=o.dr,C=(e,t,n)=>{let r=new Map,i={platform:y,...n},l={...i.platform,_c:r};return(0,o.oo)(e,t,{...i,platform:l})}},94674:function(e,t,n){n.d(t,{YF:function(){return d},x7:function(){return l}});var r=n(54016),o=n(2265),i=n(54887);let l=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:o}).fn(t):{}:n?(0,r.x7)({element:n,padding:o}).fn(t):{}}});var u="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function c(e,t){let n,r,o;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(!c(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=a(e);return Math.round(t*n)/n}function f(e){let t=o.useRef(e);return u(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:l=[],platform:d,elements:{reference:p,floating:m}={},transform:v=!0,whileElementsMounted:g,open:h}=e,[w,y]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,b]=o.useState(l);c(x,l)||b(l);
1let[E,R]=o.useState(null),[k,T]=o.useState(null),P=o.useCallback(e=>{e!==F.current&&(F.current=e,R(e))},[]),C=o.useCallback(e=>{e!==A.current&&(A.current=e,T(e))},[]),L=p||E,D=m||k,F=o.useRef(null),A=o.useRef(null),M=o.useRef(w),O=null!=g,S=f(g),V=f(d),I=o.useCallback(()=>{if(!F.current||!A.current)return;let e={placement:t,strategy:n,middleware:x};V.current&&(e.platform=V.current),(0,r.oo)(F.current,A.current,e).then(e=>{let t={...e,isPositioned:!0};K.current&&!c(M.current,t)&&(M.current=t,i.flushSync(()=>{y(t)}))})},[x,t,n,V]);u(()=>{!1===h&&M.current.isPositioned&&(M.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[h]);let K=o.useRef(!1);u(()=>(K.current=!0,()=>{K.current=!1}),[]),u(()=>{if(L&&(F.current=L),D&&(A.current=D),L&&D){if(S.current)return S.current(L,D,I);I()}},[L,D,I,S,O]);let B=o.useMemo(()=>({reference:F,floating:A,setReference:P,setFloating:C}),[P,C]),N=o.useMemo(()=>({reference:L,floating:D}),[L,D]),W=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=s(N.floating,w.x),r=s(N.floating,w.y);return v?{...e,transform:"translate("+t+"px, "+r+"px)",...a(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,v,N.floating,w.x,w.y]);return o.useMemo(()=>({...w,update:I,refs:B,elements:N,floatingStyles:W}),[w,I,B,N,W])}},75224:function(e,t,n){function r(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof o(e).Node}function u(e){return e instanceof Element||e instanceof o(e).Element}function c(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function s(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function f(e){return["table","td","th"].includes(r(e))}function d(e){let t=m(),n=g(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function p(e){let t=w(e);for(;c(t)&&!v(t);){if(d(t))return t;t=w(t)}return null}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(r(e))}function g(e){return o(e).getComputedStyle(e)}function h(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function w(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||a(e)&&e.host||i(e);return a(t)?t.host:t}n.d(t,{Dx:function(){return g},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function e(t){let n=w(t);return v(n)?t.ownerDocument?t.ownerDocument.body:t.body:c(n)&&s(n)?n:e(n)}(t),u=l===(null==(i=t.ownerDocument)?void 0:i.body),a=o(l);return u?n.concat(a,a.visualViewport||[],s(l)?l:[],a.frameElement&&r?e(a.frameElement):[]):n.concat(l,e(l,[],r))}},Lw:function(){return h},Ow:function(){return w},Pf:function(){return m},Py:function(){return v},Re:function(){return c},Ze:function(){return f},ao:function(){return s},gQ:function(){return p},hT:function(){return d},kK:function(){return u},tF:function(){return i},wk:function(){return r}})},47848:function(e,t,n){n.d(t,{Fp:function(){return o},GW:function(){return l},I4:function(){return v},JB:function(){return k},KX:function(){return b},NM:function(){return i},Qq:function(){return g},Rn:function(){return m},VV:function(){return r},Wh:function(){return h},gy:function(){return y},hp:function(){return p},i8:function(){return w},k3:function(){return d},ku:function(){return f},pw:function(){return E},uZ:function(){return s},yd:function(){return R},ze:function(){return u}});let r=Math.min,o=Math.max,i=Math.round,l=Math.floor,u=e=>({x:e,y:e}
1),c={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function s(e,t,n){return o(e,r(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(d(e))?"y":"x"}function h(e){return m(g(e))}function w(e,t,n){void 0===n&&(n=!1);let r=p(e),o=h(e),i=v(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=E(l)),[l,E(l)]}function y(e){let t=E(e);return[x(e),t,x(t)]}function x(e){return e.replace(/start|end/g,e=>a[e])}function b(e,t,n,r){let o=p(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(d(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(x)))),i}function E(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function k(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},71551:function(e,t,n){n.d(t,{Y:function(){return a}});var r=n(2265),o=n(24895),i=n(20322);function l(e,t,n,r){return"center"===e||"center"===r?{top:t}:"end"===e?{bottom:n}:"start"===e?{top:n}:{}}function u(e,t,n,r,o){return"center"===e||"center"===r?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:n}:"start"===e?{["ltr"===o?"left":"right"]:n}:{}}let c={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"},a=(0,r.forwardRef)((e,t)=>{let{position:n,arrowSize:a,arrowOffset:s,arrowRadius:f,arrowPosition:d,visible:p,arrowX:m,arrowY:v,style:g,...h}=e,{dir:w}=(0,o.gm)();return p?r.createElement("div",{...h,ref:t,style:{...g,...function(e){let{position:t,arrowSize:n,arrowOffset:r,arrowRadius:o,arrowPosition:a,arrowX:s,arrowY:f,dir:d}=e,[p,m="center"]=t.split("-"),v={width:(0,i.h)(n),height:(0,i.h)(n),transform:"rotate(45deg)",position:"absolute",[c[p]]:(0,i.h)(o)},g=(0,i.h)(-n/2);return"left"===p?{...v,...l(m,f,r,a),right:g,borderLeftColor:"transparent",borderBottomColor:"transparent"}:"right"===p?{...v,...l(m,f,r,a),left:g,borderRightColor:"transparent",borderTopColor:"transparent"}:"top"===p?{...v,...u(m,s,r,a,d),bottom:g,borderTopColor:"transparent",borderLeftColor:"transparent"}:"bottom"===p?{...v,...u(m,s,r,a,d),top:g,borderBottomColor:"transparent",borderRightColor:"transparent"}:{}}({position:n,arrowSize:a,arrowOffset:s,arrowRadius:f,arrowPosition:d,dir:w,arrowX:m,arrowY:v})}}):null});a.displayName="@mantine/core/FloatingArrow"},49630:function(e,t,n){n.d(t,{_:function(){return r}});function r(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){let[e,n]=t.split("-"),r="right"===e?"left":"right";return void 0===n?r:"".concat(r,"-").concat(n)}return t}},86463:function(e,t,n){n.d(t,{L:function(){return l}});var r=n(2265),o=n(54016),i=n(87957);function l(e){let{opened:t,floating:n,position:l,positionDependencies:u}=e,[c,a]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(n.refs.reference.current&&n.refs.floating.current)return(0,o.Me)(n.refs.reference.current,n.refs.floating.current,n.update)},[n.refs.reference.current,n.refs.floating.current,t,c,l]),(0,i.l)(()=>{n.update()},u),(0,i.l)(()=>{a(e=>e+1)},[t])}},23077:function(e,t,n){n.d(t,{J:function(){return z}});var r=n(2265),o=n(27011);let i=["mousedown","touchstart"];var l=n(33123),u=n(94120),c=n(15593),a=n(50591),s=n(30072),f=n(24895),d=n(49630);let[p,m]=(0,n(1122).R)("Popover component was not found in the tree");var v=n(58365),g=n(79373),h=n(20322);let w=()=>{};var y=n(33115),x=n(73147),b=n(71551),E=n(47167),R=n(10438),k=n(41392),T={dropdown:"m-38a85659",arrow:"m-a31dc6c1"};let P={},C=(0,x.d)((e,t)=>{var n,o,i,l,u;let c=(0,a.w)("PopoverDropdown",P,e),{className:s,style:f,vars:d,children:p,onKeyDownCapture:x,variant:T,classNames:C,styles:L,...D}=c,F=m(),A=(0,v.u)({opened:F.opened,shouldReturnFocus:F.returnFocus}),M=F.withRoles?{"aria-labelledby":F.getTargetId(),id:F.getDropdownId(),role:"dialog",tabIndex:-1}:{},O=(0,g.Yx)(t,F.floating);return F.disabled?null:r.createElement(R.q,{...F.portalProps,withinPortal:F.withinPortal},r.createElement(k.u,{mounted:F.opened,...F.transitionProps,transition:(null===(n=F.transitionProps)||void 0===n?void 0:n.transition)||"fade",duration:null!==(u=null===(o=F.transitionProps)||void 0===o?void 0:o.duration)&&void 0!==u?u:150,keepMounted:F.keepMounted,exitDuration:"number"==typeof(null===(i=F.transitionProps)||void 0===i?void 0:i.exitDuration)?F.transitionProps.exitDuration:null===(l=F.transitionProps)||void 0===l?void 0:l.duration},e=>{var t,n;return r.createElement(E.i,{active:F.trapFocus},r.createElement(y.x,{...M,...D,variant:T,ref:O,onKeyDownCapture:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{active:!0};return"function"==typeof e&&t.active?n=>{if("Escape"===n.key){var r;e(n),null===(r=t.onTrigger)||void 0===r||r.call(t)}}:t.onKeyDown||w}(F.onClose,{active:F.closeOnEscape,onTrigger:A,onKeyDown:x}),"data-position":F.placement,...F.getStyles("dropdown",{className:s,props:c,classNames:C,styles:L,style:[{...e,zIndex:F.zIndex,top:null!==(t=F.y)&&void 0!==t?t:0,left:null!==(n=F.x)&&void 0!==n?n:0,width:"target"===F.width?void 0:(0,h.h)(F.width)},f]})},p,r.createElement(b.Y,{ref:F.arrowRef,arrowX:F.arrowX,arrowY:F.arrowY,visible:F.withArrow,position:F.placement,arrowSize:F.arrowSize,arrowRadius:F.arrowRadius,arrowOffset:F.arrowOffset,arrowPosition:F.arrowPosition,...F.getStyles("arrow",{props:c,classNames:C,styles:L})})))}))});C.classes=T,C.displayName="@mantine/core/PopoverDropdown";var L=n(44839),D=n(67457);let F={refProp:"ref",popupType:"dialog"},A=(0,x.d)((e,t)=>{let{children:n,refProp:o,popupType:i,...l}=(0,a.w)("PopoverTarget",F,e);if(!(0,D.k)(n))throw Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, str
1ings, numbers and other primitive values are not supported");let u=m(),c=(0,g.Yx)(u.reference,n.ref,t),s=u.withRoles?{"aria-haspopup":i,"aria-expanded":u.opened,"aria-controls":u.getDropdownId(),id:u.getTargetId()}:{};return(0,r.cloneElement)(n,{...l,...s,...u.targetProps,className:(0,L.Z)(u.targetProps.className,l.className,n.props.className),[o]:c,...u.controlled?null:{onClick:u.onToggle}})});A.displayName="@mantine/core/PopoverTarget";var M=n(20151),O=n(54016),S=n(94674),V=n(91792),I=n(15057),K=n(87957),B=n(86463);let N={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,l.w)("popover"),__staticSelector:"Popover",width:"max-content"},W=(0,c.Z)((e,t)=>{let{radius:n,shadow:r}=t;return{dropdown:{"--popover-radius":void 0===n?void 0:(0,u.H5)(n),"--popover-shadow":(0,u.Xj)(r)}}});function z(e){var t,n,l,u,c,m;let v=(0,a.w)("Popover",N,e),{children:g,position:h,offset:w,onPositionChange:y,positionDependencies:x,opened:b,transitionProps:E,width:R,middlewares:k,withArrow:P,arrowSize:C,arrowOffset:L,arrowRadius:D,arrowPosition:F,unstyled:A,classNames:z,styles:_,closeOnClickOutside:H,withinPortal:Y,portalProps:j,closeOnEscape:J,clickOutsideEvents:Q,trapFocus:X,onClose:q,onOpen:Z,onChange:G,zIndex:$,radius:U,shadow:ee,id:et,defaultOpened:en,__staticSelector:er,withRoles:eo,disabled:ei,returnFocus:el,variant:eu,keepMounted:ec,vars:ea,...es}=v,ef=(0,s.y)({name:er,props:v,classes:T,classNames:z,styles:_,unstyled:A,rootSelector:"dropdown",vars:ea,varsResolver:W}),ed=(0,r.useRef)(null),[ep,em]=(0,r.useState)(null),[ev,eg]=(0,r.useState)(null),{dir:eh}=(0,f.gm)(),ew=(0,o.M)(et),ey=function(e){let[t,n]=(0,I.C)({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),r=(0,V.YF)({placement:e.position,middleware:function(e,t){var n,r,o,i;let l=[(0,M.cv)(e.offset)];return(null===(n=e.middlewares)||void 0===n?void 0:n.shift)&&l.push((0,O.uY)({limiter:(0,O.dr)()})),(null===(r=e.middlewares)||void 0===r?void 0:r.flip)&&l.push((0,O.RR)()),(null===(o=e.middlewares)||void 0===o?void 0:o.inline)&&l.push((0,O.Qo)()),l.push((0,S.x7)({element:e.arrowRef,padding:e.arrowOffset})),((null===(i=e.middlewares)||void 0===i?void 0:i.size)||"target"===e.width)&&l.push((0,O.dp)({apply(n){var r,o,i;let{rects:l,availableWidth:u,availableHeight:c}=n,a=null!==(i=null===(r=t().refs.floating.current)||void 0===r?void 0:r.style)&&void 0!==i?i:{};(null===(o=e.middlewares)||void 0===o?void 0:o.size)&&Object.assign(a,{maxWidth:"".concat(u,"px"),maxHeight:"".concat(c,"px")}),"target"===e.width&&Object.assign(a,{width:"".concat(l.reference.width,"px")})}})),l}(e,()=>r)});return(0,B.L)({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies||[],floating:r}),(0,K.l)(()=>{var t;null===(t=e.onPositionChange)||void 0===t||t.call(e,r.placement)},[r.placement]),(0,K.l)(()=>{var t,n;e.opened?null===(n=e.onOpen)||void 0===n||n.call(e):null===(t=e.onClose)||void 0===t||t.call(e)},[e.opened]),{floating:r,controlled:"boolean"==typeof e.opened,opened:t,onClose:()=>{if(t){var r;null===(r=e.onClose)||void 0===r||r.call(e),n(!1)}},onToggle:()=>{var r,o;t?(null===(r=e.onClose)||void 0===r||r.call(e),n(!1)):(null===(o=e.onOpen)||void 0===o||o.call(e),n(!0))}}}({middlewares:k,width:R,position:(0,d._)(eh,h),offset:"number"==typeof w?w+(P?C/2:0):w,arrowRef:ed,arrowOffset:L,onPositionChange:y,positionDependencies:x,opened:b,defaultOpened:en,onChange:G,onOpen:Z,onClose:q});!function(e,t,n){let o=(0,r.useRef)();(0,r.useEffect)(()=>{let r=t=>{let{target:r}=null!=t?t:{};if(Array.isArray(n)){let o=(null==r?void 0:r.hasAttribute("data-ignore-outside-clicks"))||!document.body.contains(r)&&"HTML"!==r.tagName;n.every(e=>!!e&&!t.composedPath().includes(e))&&!o&&e()}else o.current&&!o.current.contains(r)&&e()};return(t||i).forEach(e=>document.addEventListener(e,r)),()=>
1{(t||i).forEach(e=>document.removeEventListener(e,r))}},[o,e,n])}(()=>H&&ey.onClose(),Q,[ep,ev]);let ex=(0,r.useCallback)(e=>{em(e),ey.floating.refs.setReference(e)},[ey.floating.refs.setReference]),eb=(0,r.useCallback)(e=>{eg(e),ey.floating.refs.setFloating(e)},[ey.floating.refs.setFloating]);return r.createElement(p,{value:{returnFocus:el,disabled:ei,controlled:ey.controlled,reference:ex,floating:eb,x:ey.floating.x,y:ey.floating.y,arrowX:null===(l=ey.floating)||void 0===l?void 0:null===(n=l.middlewareData)||void 0===n?void 0:null===(t=n.arrow)||void 0===t?void 0:t.x,arrowY:null===(m=ey.floating)||void 0===m?void 0:null===(c=m.middlewareData)||void 0===c?void 0:null===(u=c.arrow)||void 0===u?void 0:u.y,opened:ey.opened,arrowRef:ed,transitionProps:E,width:R,withArrow:P,arrowSize:C,arrowOffset:L,arrowRadius:D,arrowPosition:F,placement:ey.floating.placement,trapFocus:X,withinPortal:Y,portalProps:j,zIndex:$,radius:U,shadow:ee,closeOnEscape:J,onClose:ey.onClose,onToggle:ey.onToggle,getTargetId:()=>"".concat(ew,"-target"),getDropdownId:()=>"".concat(ew,"-dropdown"),withRoles:eo,targetProps:es,__staticSelector:er,classNames:z,styles:_,unstyled:A,variant:eu,keepMounted:ec,getStyles:ef}},g)}z.Target=A,z.Dropdown=C,z.displayName="@mantine/core/Popover",z.extend=e=>e}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.