1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f58c112e-f739-6056-ea40-3942f0a8d9dc")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,339669,266332,304244,214098,e=>{"use strict";var t,n=e.i(574354),r=e.i(815175),o=e.i(827303),i=e.i(809928),a=e.i(23407),u=e.i(437303),l=e.i(96080),s=e.i(43178);function c(e){var t=function(e,t){if("object"!==(0,s._)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==(0,s._)(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,s._)(t)?t:String(t)}var f=e.i(41011),d=e.i(966793),v=e.i(383658);function p(){return"u">typeof window}function m(e){return y(e)?(e.nodeName||"").toLowerCase():"#document"}function h(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function g(e){var t;return null==(t=(y(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function y(e){return!!p()&&((0,v._)(e,Node)||(0,v._)(e,h(e).Node))}function w(e){return!!p()&&((0,v._)(e,Element)||(0,v._)(e,h(e).Element))}function b(e){return!!p()&&((0,v._)(e,HTMLElement)||(0,v._)(e,h(e).HTMLElement))}function x(e){return!(!p()||"u"<typeof ShadowRoot)&&((0,v._)(e,ShadowRoot)||(0,v._)(e,h(e).ShadowRoot))}function _(e){var t=D(e),n=t.overflow,r=t.overflowX,o=t.overflowY,i=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+o+r)&&"inline"!==i&&"contents"!==i}function R(e){return/^(table|td|th)$/.test(m(e))}function E(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}var P=/transform|translate|scale|rotate|perspective|filter/,C=/paint|layout|strict|content/,T=function(e){return!!e&&"none"!==e};function O(e){var t=w(e)?D(e):e;return T(t.transform)||T(t.translate)||T(t.scale)||T(t.rotate)||T(t.perspective)||!A()&&(T(t.backdropFilter)||T(t.filter))||P.test(t.willChange||"")||C.test(t.contain||"")}function S(e){for(var t=N(e);b(t)&&!L(t);){if(O(t))return t;if(E(t))break;t=N(t)}return null}function A(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function L(e){return/^(html|body|#document)$/.test(m(e))}function D(e){return h(e).getComputedStyle(e)}function k(e){return w(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function N(e){if("html"===m(e))return e;var t=e.assignedSlot||e.parentNode||x(e)&&e.host||g(e);return x(t)?t.host:t}function M(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!0);var r,o=function e(t){var n=N(t);return L(n)?t.ownerDocument?t.ownerDocument.body:t.body:b(n)&&_(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=h(o);if(!i)return t.concat(o,M(o,[],n));var u=I(a);return t.concat(a,a.visualViewport||[],_(o)?o:[],u&&n?M(u):[])}function I(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["getComputedStyle",0,D,"getContainingBlock",0,S,"getDocumentElement",0,g,"getFrameElement",0,I,"getNodeName",0,m,"getNodeScroll",0,k,"getOverflowAncestors",0,M,"getParentNode",0,N,"getWindow",0,h,"isContainingBlock",0,O,"isElement",0,w,"isHTMLElement",0,b,"isLastTraversableNode",0,L,"isNode",0,y,"isOverflowElement",0,_,"isShadowRoot",0,x,"isTableElement",0,R,"isTopLayer",0,E,"isWebKit",0,A],266332);var F=["top","right","bottom","left"],z=F.reduce(function(e,t){return e.concat(t,t+"-start",t+"-end")},[]),j=Math.min,H=Math.max,W=Math.round,B=Math.floor,V=function(e){return{x:e,y:e}},K={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e,t){return"function"==typeof e?e(t):e}function Y(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function q(e){return"x"===e?"y":"x"}function $(e){return"y"===e?"height":"width"}function Z(e){var t=e[0];return"t"===t||"b"===t?"y":"x"}function G(e,t,n){void 0===n&&(n=!1);var r=U(e),o=q(Z(e)),i=$(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=er(a)),[a,er(a)]}function J(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Q=["left","right"],ee=["right","left"],et=["top","bottom"],en=["bottom","top"];function er(e){var t=Y(e);return K[t]+e.slice(t.length)}function eo(e){return"number"!=typeof e?(0,o._)({top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}}function ei(e){var t=e.x,n=e.y,r=e.width,o=e.height;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}var ea="u"<typeof Element;ea||Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ea||Element.prototype.getRootNode;var eu="data-floating-ui-focusable";function el(e){for(var t,n=e.activeElement;(null==(t=n)||null==(t=t.shadowRoot)?void 0:t.activeElement)!=null;)n=n.shadowRoot.activeElement;return n}function es(e,t){if(!e||!t)return!1;var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;
2if(n&&x(n))for(var r=t;r;){if(e===r)return!0;r=r.parentNode||r.host}return!1}function ec(e){return"composedPath"in e?e.composedPath()[0]:e.target}function ef(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function ed(e){return(null==e?void 0:e.ownerDocument)||document}function ev(e,t,n){return void 0===n&&(n=!0),e.filter(function(e){var r;return e.parentId===t&&(!n||(null==(r=e.context)?void 0:r.open))}).flatMap(function(t){return[t].concat((0,l._)(ev(e,t.id,n)))})}function ep(e,t){var n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}var em="u">typeof document?d.useLayoutEffect:function(){};function eh(e){var t=d.useRef(e);return em(function(){t.current=e}),t}var eg=(0,o._)({},d).useInsertionEffect||function(e){return e()};function ey(e){var t=d.useRef(function(){});return eg(function(){t.current=e}),d.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.apply(t,(0,l._)(n))},[])}var ew=e.i(347284),eb=e.i(245113);function ex(e,t,n){var r,o=e.reference,i=e.floating,a=Z(t),u=q(Z(t)),l=$(u),s=Y(t),c="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,v=o[l]/2-i[l]/2;switch(s){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(U(t)){case"start":r[u]-=v*(n&&c?-1:1);break;case"end":r[u]+=v*(n&&c?-1:1)}return r}function e_(e,t){return(0,n._)(function(){var n,r,o,i,a,u,l,s,c,d,v,p,m,h,g,y,w,b,x,_,R,E,P,C,T,O,S,A,L,D,k;return(0,f._)(this,function(f){switch(f.label){case 0:return void 0===t&&(t={}),r=e.x,o=e.y,i=e.platform,a=e.rects,u=e.elements,l=e.strategy,d=void 0===(c=(s=X(t,e)).boundary)?"clippingAncestors":c,p=void 0===(v=s.rootBoundary)?"viewport":v,h=void 0===(m=s.elementContext)?"floating":m,y=void 0!==(g=s.altBoundary)&&g,b=eo(void 0===(w=s.padding)?0:w),x="floating"===h?"reference":"floating",_=u[y?x:h],E=i.getClippingRect,P={},[4,null==i.isElement?void 0:i.isElement(_)];case 1:if(!(null==(n=f.sent())||n))return[3,2];return C=_,[3,5];case 2:if(T=_.contextElement)return[3,4];return[4,null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)];case 3:T=f.sent(),f.label=4;case 4:C=T,f.label=5;case 5:return[4,E.apply(i,[(P.element=C,P.boundary=d,P.rootBoundary=p,P.strategy=l,P)])];case 6:return R=ei.apply(void 0,[f.sent()]),O="floating"===h?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,[4,null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)];case 7:return S=f.sent(),[4,null==i.isElement?void 0:i.isElement(S)];case 8:if(!f.sent())return[3,10];return[4,null==i.getScale?void 0:i.getScale(S)];case 9:return L=f.sent()||{x:1,y:1},[3,11];case 10:L={x:1,y:1},f.label=11;case 11:if(A=L,!i.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:O,offsetParent:S,strategy:l})];case 12:return k=f.sent(),[3,14];case 13:k=O,f.label=14;case 14:return D=ei.apply(void 0,[k]),[2,{top:(R.top-D.top+b.top)/A.y,bottom:(D.bottom-R.bottom+b.bottom)/A.y,left:(R.left-D.left+b.left)/A.x,right:(D.right-R.right+b.right)/A.x}]}})})()}function eR(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eE(e){return F.some(function(t){return e[t]>=0})}function eP(e){var t=j.apply(void 0,(0,l._)(e.map(function(e){return e.left}))),n=j.apply(void 0,(0,l._)(e.map(function(e){return e.top})));return{x:t,y:n,width:H.apply(void 0,(0,l._)(e.map(function(e){return e.right})))-t,height:H.apply(void 0,(0,l._)(e.map(function(e){return e.bottom})))-n}}var eC=new Set(["left","top"]);function eT(e){var t=D(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=b(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,u=W(n)!==i||W(r)!==a;return u&&(n=i,r=a),{width:n,height:r,$:u}}function eO(e){return w(e)?e:e.contextElement}function eS(e){var t=eO(e);if(!b(t))return V(1);var n=t.getBoundingClientRect(),r=eT(t),o=r.width,i=r.height,a=r.$,u=(a?W(n.width):n.width)/o,l=(a?W(n.height):n.height)/i;return u&&Number.isFinite(u)||(u=1),l&&Number.isFinite(l)||(l=1),{x:u,y:l}}var eA=V(0);function eL(e){var t=h(e);
2return A()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eA}function eD(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);var o,i=e.getBoundingClientRect(),a=eO(e),u=V(1);t&&(r?w(r)&&(u=eS(r)):u=eS(e));var l=(void 0===(o=n)&&(o=!1),r&&(!o||r===h(a))&&o)?eL(a):V(0),s=(i.left+l.x)/u.x,c=(i.top+l.y)/u.y,f=i.width/u.x,d=i.height/u.y;if(a)for(var v=h(a),p=r&&w(r)?h(r):r,m=v,g=I(m);g&&r&&p!==m;){var y=eS(g),b=g.getBoundingClientRect(),x=D(g),_=b.left+(g.clientLeft+parseFloat(x.paddingLeft))*y.x,R=b.top+(g.clientTop+parseFloat(x.paddingTop))*y.y;s*=y.x,c*=y.y,f*=y.x,d*=y.y,s+=_,c+=R,g=I(m=h(g))}return ei({width:f,height:d,x:s,y:c})}function ek(e,t){var n=k(e).scrollLeft;return t?t.left+n:eD(g(e)).left+n}function eN(e,t){var n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ek(e,n),y:n.top+t.scrollTop}}function eM(e,t,n){if("viewport"===t)r=function(e,t){var n=h(e),r=g(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,l=0;if(o){i=o.width,a=o.height;var s=A();(!s||s&&"fixed"===t)&&(u=o.offsetLeft,l=o.offsetTop)}var c=ek(r);if(c<=0){var f=r.ownerDocument,d=f.body,v=getComputedStyle(d),p="CSS1Compat"===f.compatMode&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,m=Math.abs(r.clientWidth-d.clientWidth-p);m<=25&&(i-=m)}else c<=25&&(i+=c);return{width:i,height:a,x:u,y:l}}(e,n);else if("document"===t)o=g(e),i=g(o),a=k(o),u=o.ownerDocument.body,l=H(i.scrollWidth,i.clientWidth,u.scrollWidth,u.clientWidth),s=H(i.scrollHeight,i.clientHeight,u.scrollHeight,u.clientHeight),c=-a.scrollLeft+ek(o),f=-a.scrollTop,"rtl"===D(u).direction&&(c+=H(i.clientWidth,u.clientWidth)-l),r={width:l,height:s,x:c,y:f};else if(w(t))v=(d=eD(t,!0,"fixed"===n)).top+t.clientTop,p=d.left+t.clientLeft,m=b(t)?eS(t):V(1),r={width:t.clientWidth*m.x,height:t.clientHeight*m.y,x:p*m.x,y:v*m.y};else{var r,o,i,a,u,l,s,c,f,d,v,p,m,y=eL(e);r={x:t.x-y.x,y:t.y-y.y,width:t.width,height:t.height}}return ei(r)}function eI(e,t,n){var r=b(t),o=g(t),i="fixed"===n,a=eD(e,!0,i,t),u={scrollLeft:0,scrollTop:0},l=V(0);if(r||!r&&!i)if(("body"!==m(t)||_(o))&&(u=k(t)),r){var s=eD(t,!0,i,t);l.x=s.x+t.clientLeft,l.y=s.y+t.clientTop}else o&&(l.x=ek(o));i&&!r&&o&&(l.x=ek(o));var c=!o||r||i?V(0):eN(o,u);return{x:a.left+u.scrollLeft-l.x-c.x,y:a.top+u.scrollTop-l.y-c.y,width:a.width,height:a.height}}function eF(e){return"static"===D(e).position}function ez(e,t){if(!b(e)||"fixed"===D(e).position)return null;if(t)return t(e);var n=e.offsetParent;return g(e)===n&&(n=n.ownerDocument.body),n}function ej(e,t){var n=h(e);if(E(e))return n;if(!b(e)){for(var r=N(e);r&&!L(r);){if(w(r)&&!eF(r))return r;r=N(r)}return n}for(var o=ez(e,t);o&&R(o)&&eF(o);)o=ez(o,t);return o&&L(o)&&eF(o)&&!O(o)?n:o||S(e)||n}var eH={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.elements,n=e.rect,r=e.offsetParent,o="fixed"===e.strategy,i=g(r),a=!!t&&E(t.floating);if(r===i||a&&o)return n;var u={scrollLeft:0,scrollTop:0},l=V(1),s=V(0),c=b(r);if((c||!c&&!o)&&(("body"!==m(r)||_(i))&&(u=k(r)),c)){var f=eD(r);l=eS(r),s.x=f.x+r.clientLeft,s.y=f.y+r.clientTop}var d=!i||c||o?V(0):eN(i,u);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+s.x+d.x,y:n.y*l.y-u.scrollTop*l.y+s.y+d.y}},getDocumentElement:g,getClippingRect:function(e){for(var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i="clippingAncestors"===n?E(t)?[]:function(e,t){var n=t.get(e);if(n)return n;for(var r=M(e,[],!1).filter(function(e){return w(e)&&"body"!==m(e)}),o=null,i="fixed"===D(e).position,a=i?N(e):e;w(a)&&!L(a);){var u=D(a),l=O(a);l||"fixed"!==u.position||(o=null),(i?l||o:!(!l&&"static"===u.position&&o&&("absolute"===o.position||"fixed"===o.position)||_(a)&&!l&&function e(t,n){var r=N(t);return!(r===n||!w(r)||L(r))&&("fixed"===D(r).position||e(r,n))}(e,a)))?o=u:r=r.filter(function(e){return e!==a}),a=N(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=(0,l._)(i).concat([r]),u=eM(t,a[0],o),s=u.top,c=u.right,f=u.bottom,d=u.left,v=1;v<a.length;v++){var p=eM(t,a[v],o);s=H(p.top,s),c=j(p.right,c),f=j(p.bottom,f),d=H(p.left,d)}return{width:c-d,height:f-s,x:d,y:s}},getOffsetParent:ej,getElementRects:function(e){return(0,n._)(function(){var t,n,r,o;return(0,f._)(this,function(i){switch(i.label){case 0:return t=this.getOffsetParent||ej,[4,(0,this.getDimensions)(e.floating)];case 1:return n=i.sent(),r={},o=[e.reference],[4,t(e.floating)];case 2:return[2,(r.reference=eI.apply(void 0,o.concat([i.sent(),e.strategy])),r.floating={x:0,y:0,width:n.width,height:n.height},r)]}})}).call(this)},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){var t=eT(e);return{width:t.width,height:t.height}},getScale:eS,isElement:w,isRTL:function(e){return"rtl"===D(e).direction}};function eW(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var eB=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return(0,n._)(function(){var r,a,u,l,s,c,d;return(0,f._)(this,function(v){switch(v.label){case 0:var p;return u=t.x,l=t.y,s=t.placement,c=t.middlewareData,[4,(p=e,(0,n._)(function(){var e,n,r,o,i,a,u,l,s,c,d,v,m,h;return(0,f._)(this,function(f){switch(f.label){case 0:return e=t.placement,n=t.platform,r=t.elements,[4,null==n.isRTL?void 0:n.isRTL(r.floating)];case 1:return o=f.sent(),i=Y(e),a=U(e),u="y"===Z(e),l=eC.has(i)?-1:1,s=o&&u?-1:1,v=(d="number"==typeof(c=X(p,t))?{mainAxis:c,crossAxis:0,alignmentAxis:null}
2:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis}).mainAxis,m=d.crossAxis,h=d.alignmentAxis,a&&"number"==typeof h&&(m="end"===a?-1*h:h),[2,u?{x:m*s,y:v*l}:{x:v*l,y:m*s}]}})})())];case 1:if(d=v.sent(),s===(null==(r=c.offset)?void 0:r.placement)&&null!=(a=c.arrow)&&a.alignmentOffset)return[2,{}];return[2,{x:u+d.x,y:l+d.y,data:(0,i._)((0,o._)({},d),{placement:s})}]}})})()}}},eV=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return(0,n._)(function(){var n,u,l,s,c,d,v,p,m,h,g,y,w,b,x,_,R,E,P,C,T,O,S,A,L,D,k,N,M;return(0,f._)(this,function(f){switch(f.label){case 0:return n=t.x,u=t.y,l=t.placement,s=t.platform,v=void 0===(d=(c=X(e,t)).mainAxis)||d,m=void 0!==(p=c.crossAxis)&&p,g=void 0===(h=c.limiter)?{fn:function(e){return{x:e.x,y:e.y}}}:h,y=(0,a._)(c,["mainAxis","crossAxis","limiter"]),w={x:n,y:u},[4,s.detectOverflow(t,y)];case 1:return b=f.sent(),R=w[_=q(x=Z(Y(l)))],E=w[x],v&&(P="y"===_?"top":"left",C="y"===_?"bottom":"right",T=R+b[P],O=R-b[C],R=H(T,j(R,O))),m&&(S="y"===x?"top":"left",A="y"===x?"bottom":"right",L=E+b[S],D=E-b[A],E=H(L,j(E,D))),N=g.fn((0,i._)((0,o._)({},t),(k={},(0,r._)(k,_,R),(0,r._)(k,x,E),k))),[2,(0,i._)((0,o._)({},N),{data:{x:N.x-n,y:N.y-u,enabled:(M={},(0,r._)(M,_,v),(0,r._)(M,x,m),M)}})]}})})()}}},eK=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return(0,n._)(function(){var n,r,o,i,u,s,c,d,v,p,m,h,g,y,w,b,x,_,R,E,P,C,T,O,S,A,L,D,k,N,M,I,F,z,j,H,W,B,V,K;return(0,f._)(this,function(f){switch(f.label){case 0:if(o=t.placement,i=t.middlewareData,u=t.rects,s=t.initialPlacement,c=t.platform,d=t.elements,m=void 0===(p=(v=X(e,t)).mainAxis)||p,g=void 0===(h=v.crossAxis)||h,y=v.fallbackPlacements,b=void 0===(w=v.fallbackStrategy)?"bestFit":w,_=void 0===(x=v.fallbackAxisSideDirection)?"none":x,E=void 0===(R=v.flipAlignment)||R,P=(0,a._)(v,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]),null!=(n=i.arrow)&&n.alignmentOffset)return[2,{}];return C=Y(o),T=Z(s),O=Y(s)===s,[4,null==c.isRTL?void 0:c.isRTL(d.floating)];case 1:var q,$,eo,ei,ea,eu,el,es;return S=f.sent(),A=y||(O||!E?[er(s)]:($=er(q=s),[J(q),$,J($)])),L="none"!==_,!y&&L&&(D=A).push.apply(D,(0,l._)((eo=s,ei=E,ea=_,eu=S,el=U(eo),es=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?ee:Q;return t?Q:ee;case"left":case"right":return t?et:en;default:return[]}}(Y(eo),"start"===ea,eu),el&&(es=es.map(function(e){return e+"-"+el}),ei&&(es=es.concat(es.map(J)))),es))),k=[s].concat((0,l._)(A)),[4,c.detectOverflow(t,P)];case 2:if(N=f.sent(),M=[],I=(null==(r=i.flip)?void 0:r.overflows)||[],m&&M.push(N[C]),g&&(F=G(o,u,S),M.push(N[F[0]],N[F[1]])),I=(0,l._)(I).concat([{placement:o,overflows:M}]),!M.every(function(e){return e<=0})){if((W=k[H=((null==(z=i.flip)?void 0:z.index)||0)+1])&&("alignment"!==g||T===Z(W)||I.every(function(e){return Z(e.placement)!==T||e.overflows[0]>0})))return[2,{data:{index:H,overflows:I},reset:{placement:W}}];if(!(B=null==(j=I.filter(function(e){return e.overflows[0]<=0}).sort(function(e,t){return e.overflows[1]-t.overflows[1]})[0])?void 0:j.placement))switch(b){case"bestFit":(K=null==(V=I.filter(function(e){if(L){var t=Z(e.placement);return t===T||"y"===t}return!0}).map(function(e){return[e.placement,e.overflows.filter(function(e){return e>0}).reduce(function(e,t){return e+t},0)]}).sort(function(e,t){return e[1]-t[1]})[0])?void 0:V[0])&&(B=K);break;case"initialPlacement":B=s}if(o!==B)return[2,{reset:{placement:B}}]}return[2,{}]}})})()}}},eX=function(e){return void 0===e&&(e={}),{name:"size",options:e,fn:function(t){return(0,n._)(function(){var n,r,u,l,s,c,d,v,p,m,h,g,y,w,b,x,_,R,E,P,C,T,O,S,A,L,D,k,N,M,I;return(0,f._)(this,function(f){switch(f.label){case 0:return u=t.placement,l=t.rects,s=t.platform,c=t.elements,p=void 0===(v=(d=X(e,t)).apply)?function(){}:v,m=(0,a._)(d,["apply"]),[4,s.detectOverflow(t,m)];case 1:if(h=f.sent(),g=Y(u),y=U(u),w="y"===Z(u),x=(b=l.floating).width,_=b.height,"top"!==g&&"bottom"!==g)return[3,3];return R=g,[4,null==s.isRTL?void 0:s.isRTL(c.floating)];case 2:return E=y===(f.sent()?"start":"end")?"left":"right",[3,4];case 3:E=g,R="end"===y?"top":"bottom",f.label=4;case 4:return P=_-h.top-h.bottom,C=x-h.left-h.right,T=j(_-h[R],P),O=j(x-h[E],C),S=!t.middlewareData.shift,A=T,L=O,null!=(n=t.middlewareData.shift)&&n.enabled.x&&(L=C),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(A=P),S&&!y&&(D=H(h.left,0),k=H(h.right,0),N=H(h.top,0),M=H(h.bottom,0),w?L=x-2*(0!==D||0!==k?D+k:H(h.left,h.right)):A=_-2*(0!==N||0!==M?N+M:H(h.top,h.bottom))),[4,p((0,i._)((0,o._)({},t),{availableWidth:L,availableHeight:A}))];case 5:return f.sent(),[4,s.getDimensions(c.floating)];case 6:if(I=f.sent(),x!==I.width||_!==I.height)return[2,{reset:{rects:!0}}];return[2,{}]}})})()}}},eY=function(e){return void 0===e&&(e={}),{name:"hide",options:e,fn:function(t){return(0,n._)(function(){var n,r,u,l,s,c,d,v;return(0,f._)(this,function(f){switch(f.label){case 0:switch(n=t.rects,r=t.platform,s=void 0===(l=(u=X(e,t)).strategy)?"referenceHidden":l,c=(0,a._)(u,["strategy"]),s){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,r.detectOverflow(t,(0,i._)((0,o._)({},c),{elementContext:"reference"}))];case 2:return[2,{data:{referenceHiddenOffsets:d=eR(f.sent(),n.reference),referenceHidden:eE(d)}}];case 3:return[4,r.detectOverflow(t,(0,i._)((0,o._)({},c),{altBoundary:!0}))];case 4:return[2,{data:{escapedOffsets:v=eR(f.sent(),n.floating),escaped:eE(v)}}];case 5:return[2,{}];case 6:return[2]}})})()}}},eU=function(e){return{name:"arrow",options:e,fn:function(t){return(0,n._)(function(){var n,i,a,u,l,s,c,d,v,p,m,h,g,y,w,b,x,_,R,E,P,C,T,O,S,A,L,D,k,N,M,I,F,z,W,B,V;return(0,f._)(this,function(f){switch(f.label){case 0:if(n=t.x,i=t.y,a=t.placement,u=t.rects,l=t.platform,s=t.elements,c=t.middlewareData,v=(d=X(e,t)||{}).element,m=void 0===(p=d.padding)?0:p,null==v)return[2,{}];return h=eo(m),g={x:n,y:i},w=$(y=q(Z(a))),[4,l.getDimensions(v)];case 1:return b=f.sent(),_=(x="y"===y)?"top":"left",R=x?"bottom":"right",E=x?"clientHeight":"clientWidth",P=u.reference[w]+u.reference[y]-g[y]-u.floating[w],C=g[y]-u.reference[y],[4,null==l.getOffsetParent?void 0:l.getOffsetParent(v)];case 2:if(S=!(O=(T=f.sent())?T[E]:0))return[3,4];return[4,null==l.isElement?void 0:l.isElement(T)];case 3:S=!f.sent(),f.label=4;case 4:return S&&(O=s.floating[E]||u.floating[w]),A=P/2-C/2,L=O/2-b[w]/2-1,D=j(h[_],L),k=j(h[R],L),N=D,M=O-b[w]-k,F=H(N,j(I=O/2-b[w]/2+A,M)),W=(z=!c.arrow&&null!=U(a)&&I!==F&&u.reference[w]/2-(I<N?D:k)-b[w]/2<0)?I<N?I-N:I-M:0,[2,(V={},(0,r._)(V,y,g[y]+W),(0,r._)(V,"data",(0,o._)((B={},(0,r._)(B,y,F),(0,r._)(B,"centerOffset",I-F-W),B),z&&{alignmentOffset:W})),(0,r._)(V,"reset",z),V)]}})})()}}},eq=function(e){return void 0===e&&(e={}),{name:"inline",options:e,fn:function(t){return(0,n._)(function(){var n,r,o,i,a,u,s,c,d,v,p,m,h,g,y,w;function b(){if(2===h.length&&h[0].left>h[1].right&&null!=d&&null!=v)return h.find(function(e){return d>e.left-y.left&&d<e.right+y.right&&v>e.top-y.top&&v<e.bottom+y.bottom})||g;if(h.length>=2){if("y"===Z(n)){var e=h[0],t=h[h.length-1],r="top"===Y(n),o=e.top,i=t.bottom,a=r?e.left:t.left,u=r?e.right:t.right;return{top:o,bottom:i,left:a,right:u,width:u-a,height:i-o,x:a,y:o}}var s="left"===Y(n),c=H.apply(void 0,(0,l._)(h.map(function(e){return e.right}))),f=j.apply(void 0,(0,l._)(h.map(function(e){return e.left}
2))),p=h.filter(function(e){return s?e.left===f:e.right===c}),m=p[0].top,w=p[p.length-1].bottom;return{top:m,bottom:w,left:f,right:c,width:c-f,height:w-m,x:f,y:m}}return g}return(0,f._)(this,function(l){switch(l.label){case 0:return n=t.placement,r=t.elements,o=t.rects,i=t.platform,a=t.strategy,c=void 0===(s=(u=X(e,t)).padding)?2:s,d=u.x,v=u.y,m=Array.from,[4,null==i.getClientRects?void 0:i.getClientRects(r.reference)];case 1:return h=function(e){for(var t=e.slice().sort(function(e,t){return e.y-t.y}),n=[],r=null,o=0;o<t.length;o++){var i=t[o];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(function(e){return ei(eP(e))})}(p=m.apply(Array,[l.sent()||[]])),g=ei(eP(p)),y=eo(c),[4,i.getElementRects({reference:{getBoundingClientRect:b},floating:r.floating,strategy:a})];case 2:if(w=l.sent(),o.reference.x!==w.reference.x||o.reference.y!==w.reference.y||o.reference.width!==w.reference.width||o.reference.height!==w.reference.height)return[2,{reset:{rects:w}}];return[2,{}]}})})()}}},e$=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,i=t.x,a=t.y,u=t.placement,l=t.rects,s=t.middlewareData,c=X(e,t),f=c.offset,d=c.mainAxis,v=c.crossAxis,p={x:i,y:a},m=Z(u),h=q(m),g=p[h],y=p[m],w=X(void 0===f?0:f,t),b="number"==typeof w?{mainAxis:w,crossAxis:0}:(0,o._)({mainAxis:0,crossAxis:0},w);if(void 0===d||d){var x="y"===h?"height":"width",_=l.reference[h]-l.floating[x]+b.mainAxis,R=l.reference[h]+l.reference[x]-b.mainAxis;g<_?g=_:g>R&&(g=R)}if(void 0===v||v){var E,P,C="y"===h?"width":"height",T=eC.has(Y(u)),O=l.reference[m]-l.floating[C]+(T&&(null==(E=s.offset)?void 0:E[m])||0)+(T?0:b.crossAxis),S=l.reference[m]+l.reference[C]+(T?0:(null==(P=s.offset)?void 0:P[m])||0)-(T?b.crossAxis:0);y<O?y=O:y>S&&(y=S)}return n={},(0,r._)(n,h,g),(0,r._)(n,m,y),n}}},eZ=function(e,t,r){var a,u=new Map,l=(0,o._)({platform:eH},r),c=(0,i._)((0,o._)({},l.platform),{_c:u});return a=(0,i._)((0,o._)({},l),{platform:c}),(0,n._)(function(){var n,r,u,l,c,d,v,p,m,h,g,y,w,b,x,_,R,E,P,C,T,O,S,A,L,D;return(0,f._)(this,function(f){switch(f.label){case 0:return r=void 0===(n=a.placement)?"bottom":n,l=void 0===(u=a.strategy)?"absolute":u,d=void 0===(c=a.middleware)?[]:c,p=(v=a.platform).detectOverflow?v:(0,i._)((0,o._)({},v),{detectOverflow:e_}),[4,null==v.isRTL?void 0:v.isRTL(t)];case 1:return m=f.sent(),[4,v.getElementRects({reference:e,floating:t,strategy:l})];case 2:y=(g=ex(h=f.sent(),r,m)).x,w=g.y,b=r,x=0,_={},R=0,f.label=3;case 3:if(!(R<d.length))return[3,11];if(!(E=d[R]))return[3,10];return P=E.name,[4,(0,E.fn)({x:y,y:w,initialPlacement:r,placement:b,strategy:l,middlewareData:_,rects:h,platform:p,elements:{reference:e,floating:t}})];case 4:if(T=(C=f.sent()).x,O=C.y,S=C.data,A=C.reset,y=null!=T?T:y,w=null!=O?O:w,_[P]=(0,o._)({},_[P],S),!(A&&x<50))return[3,10];if(x++,(void 0===A?"undefined":(0,s._)(A))!=="object")return[3,9];if(A.placement&&(b=A.placement),!A.rects)return[3,8];if(!0!==A.rects)return[3,6];return[4,v.getElementRects({reference:e,floating:t,strategy:l})];case 5:return L=f.sent(),[3,7];case 6:L=A.rects,f.label=7;case 7:h=L,f.label=8;case 8:y=(D=ex(h,b,m)).x,w=D.y,f.label=9;case 9:R=-1,f.label=10;case 10:return R++,[3,3];case 11:return[2,{x:y,y:w,placement:b,strategy:l,middlewareData:_}]}})})()};e.s(["arrow",0,eU,"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,fn:function(t){return(0,n._)(function(){var n,r,o,i,u,s,c,d,v,p,m,h,g,y,w,b,x,_,R,E,P,C,T,O,S,A,L,D;return(0,f._)(this,function(f){switch(f.label){case 0:var k;return i=t.rects,u=t.middlewareData,s=t.placement,c=t.platform,d=t.elements,m=void 0!==(p=(v=X(e,t)).crossAxis)&&p,h=v.alignment,y=void 0===(g=v.allowedPlacements)?z:g,b=void 0===(w=v.autoAlignment)||w,x=(0,a._)(v,["crossAxis","alignment","allowedPlacements","autoAlignment"]),_=void 0!==h||y===z?((k=h||null)?(0,l._)(y.filter(function(e){return U(e)===k})).concat((0,l._)(y.filter(function(e){return U(e)!==k}))):y.filter(function(e){return Y(e)===e})).filter(function(e){return!k||U(e)===k||!!b&&J(e)!==e}):y,[4,c.detectOverflow(t,x)];case 1:if(R=f.sent(),null==(P=_[E=(null==(n=u.autoPlacement)?void 0:n.index)||0]))return[2,{}];return T=[P,i],[4,null==c.isRTL?void 0:c.isRTL(d.floating)];case 2:if(C=G.apply(void 0,T.concat([f.sent()])),s!==P)return[2,{reset:{placement:_[0]}}];if(O=[R[Y(P)],R[C[0]],R[C[1]]],S=(0,l._)((null==(r=u.autoPlacement)?void 0:r.overflows)||[]).concat([{placement:P,overflows:O}]),A=_[E+1])return[2,{data:{index:E+1,overflows:S},reset:{placement:A}}];if((D=(null==(o=(L=S.map(function(e){var t=U(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce(function(e,t){return e+t},0):e.overflows[0],e.overflows]}).sort(function(e,t){return e[1]-t[1]})).filter(function(e){return e[2].slice(0,U(e[0])?2:3).every(function(e){return e<=0})})[0])?void 0:o[0])||L[0][0])!==s)return[2,{data:{index:E+1,overflows:S},reset:{placement:D}}];return[2,{}]}})})()}}},"autoUpdate",0,function(e,t,n,r){void 0===r&&(r={});var a,s=r.ancestorScroll,c=void 0===s||s,f=r.ancestorResize,d=void 0===f||f,v=r.elementResize,p=void 0===v?"function"==typeof ResizeObserver:v,m=r.layoutShift,h=void 0===m?"function"==typeof IntersectionObserver:m,y=r.animationFrame,w=void 0!==y&&y,b=eO(e),x=c||d?(0,l._)(b?M(b):[]).concat((0,l._)(t?M(t):[])):[];x.forEach(function(e){c&&e.addEventListener("scroll",n,{passive:!0}),d&&e.addEventListener("resize",n)});var _=b&&h?function(e,t){var n,r=null,a=g(e);function u(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),u();var f=e.getBoundingClientRect(),d=f.left,v=f.top,p=f.width,m=f.height;if(s||t(),p&&m){var h={rootMargin:-B(v)+"px "+-B(a.clientWidth-(d+p))+"px "+-B(a.clientHeight-(v+m))+"px "+-B(d)+"px",threshold:H(0,j(1,c))||1},g=!0;try{r=new IntersectionObserver(y,(0,i._)((0,o._)({},h),{root:a.ownerDocument}))}catch(e){r=new IntersectionObserver(y,h)}r.observe(e)}function y(t){var r=t[0].intersectionRatio;if(r!==c){if(!g)return l();r?l(!1,r):n=setTimeout(function(){l(!1,1e-7)},1e3)}1!==r||eW(f,e.getBoundingClientRect())||l(),g=!1}}(!0),u}(b,n):null,R=-1,E=null;p&&(E=new ResizeObserver(function(e){var r=(0,u._)(e,1)[0];r&&r.target===b&&E&&t&&(E.unobserve(t),cancelAnimationFrame(R),R=requestAnimationFrame(function(){var e;null==(e=E)||e.observe(t)})),n()}),b&&!w&&E.observe(b),t&&E.observe(t));var P=w?eD(e):null;return w&&function t(){var r=eD(e);P&&!eW(P,r)&&n(),P=r,a=requestAnimationFrame(t)}(),n(),function(){var e;x.forEach(function(e){c&&e.removeEventListener("scroll",n),d&&e.removeEventListener("resize",n)}),null==_||_(),null==(e=E)||e.disconnect(),E=null,w&&cancelAnimationFrame(a)}},"computePosition",0,eZ,"flip",0,eK,"hide",0,eY,"inline",0,eq,"limitShift",0,e$,"offset",0,eB,"shift",0,eV,"size",0,eX],304244);var eG="u">typeof document?d.useLayoutEffect:function(){};function eJ(e,t){if(e===t)return!0;
2if((void 0===e?"undefined":(0,s._)(e))!==(void 0===t?"undefined":(0,s._)(t)))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&(void 0===e?"undefined":(0,s._)(e))==="object"){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eJ(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--;){var n,r,o,i=o[r];if(("_owner"!==i||!e.$$typeof)&&!eJ(e[i],t[i]))return!1}return!0}return e!=e&&t!=t}function eQ(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e0(e,t){var n=eQ(e);return Math.round(t*n)/n}function e1(e){var t=d.useRef(e);return eG(function(){t.current=e}),t}function e2(e){void 0===e&&(e={});var t=e.placement,n=void 0===t?"bottom":t,r=e.strategy,a=void 0===r?"absolute":r,l=e.middleware,s=void 0===l?[]:l,c=e.platform,f=e.elements,v=void 0===f?{}:f,p=v.reference,m=v.floating,h=e.transform,g=void 0===h||h,y=e.whileElementsMounted,w=e.open,b=(0,u._)(d.useState({x:0,y:0,strategy:a,placement:n,middlewareData:{},isPositioned:!1}),2),x=b[0],_=b[1],R=(0,u._)(d.useState(s),2),E=R[0],P=R[1];eJ(E,s)||P(s);var C=(0,u._)(d.useState(null),2),T=C[0],O=C[1],S=(0,u._)(d.useState(null),2),A=S[0],L=S[1],D=d.useCallback(function(e){e!==I.current&&(I.current=e,O(e))},[]),k=d.useCallback(function(e){e!==F.current&&(F.current=e,L(e))},[]),N=p||T,M=m||A,I=d.useRef(null),F=d.useRef(null),z=d.useRef(x),j=null!=y,H=e1(y),W=e1(c),B=e1(w),V=d.useCallback(function(){if(I.current&&F.current){var e={placement:n,strategy:a,middleware:E};W.current&&(e.platform=W.current),eZ(I.current,F.current,e).then(function(e){var t=(0,i._)((0,o._)({},e),{isPositioned:!1!==B.current});K.current&&!eJ(z.current,t)&&(z.current=t,eb.flushSync(function(){_(t)}))})}},[E,n,a,W,B]);eG(function(){!1===w&&z.current.isPositioned&&(z.current.isPositioned=!1,_(function(e){return(0,i._)((0,o._)({},e),{isPositioned:!1})}))},[w]);var K=d.useRef(!1);eG(function(){return K.current=!0,function(){K.current=!1}},[]),eG(function(){if(N&&(I.current=N),M&&(F.current=M),N&&M){if(H.current)return H.current(N,M,V);V()}},[N,M,V,H,j]);var X=d.useMemo(function(){return{reference:I,floating:F,setReference:D,setFloating:k}},[D,k]),Y=d.useMemo(function(){return{reference:N,floating:M}},[N,M]),U=d.useMemo(function(){var e={position:a,left:0,top:0};if(!Y.floating)return e;var t=e0(Y.floating,x.x),n=e0(Y.floating,x.y);return g?(0,o._)((0,i._)((0,o._)({},e),{transform:"translate("+t+"px, "+n+"px)"}),eQ(Y.floating)>=1.5&&{willChange:"transform"}):{position:a,left:t,top:n}},[a,g,Y.floating,x.x,x.y]);return d.useMemo(function(){return(0,i._)((0,o._)({},x),{update:V,refs:X,elements:Y,floatingStyles:U})},[x,V,X,Y,U])}e.s(["arrow",0,function(e,t){var n="arrow",r=function(t){var n="function"==typeof e?e(t):e,r=n.element,o=n.padding;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?eU({element:r.current,padding:o}).fn(t):{}:r?eU({element:r,padding:o}).fn(t):{}};return{name:n,fn:r,options:[e,t]}},"flip",0,function(e,t){var n=eK(e);return{name:n.name,fn:n.fn,options:[e,t]}},"hide",0,function(e,t){var n=eY(e);return{name:n.name,fn:n.fn,options:[e,t]}},"inline",0,function(e,t){var n=eq(e);return{name:n.name,fn:n.fn,options:[e,t]}},"limitShift",0,function(e,t){return{fn:e$(e).fn,options:[e,t]}},"offset",0,function(e,t){var n=eB(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift",0,function(e,t){var n=eV(e);return{name:n.name,fn:n.fn,options:[e,t]}},"size",0,function(e,t){var n=eX(e);return{name:n.name,fn:n.fn,options:[e,t]}},"useFloating",0,e2],214098);var e3="active",e4="selected";(0,l._)(["ArrowLeft","ArrowRight"]).concat((0,l._)(["ArrowUp","ArrowDown"]));var e5=(0,o._)({},d),e9=!1,e7=0,e8=function(){return"floating-ui-"+Math.random().toString(36).slice(2,6)+e7++},e6=e5.useId||function(){var e=(0,u._)(d.useState(function(){return e9?e8():void 0}),2),t=e[0],n=e[1];return em(function(){null==t&&n(e8())},[]),d.useEffect(function(){e9=!0},[]),t},te=d.createContext(null),tt=d.createContext(null),tn=function(){var e;
2return(null==(e=d.useContext(te))?void 0:e.id)||null},tr=function(){return d.useContext(tt)};function to(e){return"data-floating-ui-"+e}function ti(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}var ta=to("safe-polygon");function tu(e,t,n){if(n&&!ep(n))return 0;if("number"==typeof e)return e;if("function"==typeof e){var r=e();return"number"==typeof r?r:null==r?void 0:r[t]}return null==e?void 0:e[t]}function tl(e){return"function"==typeof e?e():e}var ts=function(){},tc=d.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:ts,setState:ts,isInstantPhase:!1}),tf={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},td={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},tv=function(e){var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function tp(){var e;return(null!=(e=navigator.userAgentData)&&e.platform?e.platform:navigator.platform).toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints&&/apple/i.test(navigator.vendor)}function tm(e,t,n){var i=new Map,s="item"===n,f=e;return s&&e&&(e[e3],e[e4],f=(0,a._)(e,[e3,e4].map(c))),(0,o._)({},"floating"===n&&(0,r._)({tabIndex:-1},"data-floating-ui-focusable",""),f,t.map(function(t){var r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce(function(e,t){return t&&Object.entries(t).forEach(function(t){var n,r=(0,u._)(t,2),o=r[0],a=r[1];s&&[e3,e4].includes(o)||(0===o.indexOf("on")?(i.has(o)||i.set(o,[]),"function"==typeof a&&(null==(n=i.get(o))||n.push(a),e[o]=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return null==(e=i.get(o))?void 0:e.map(function(e){return e.apply(void 0,(0,l._)(n))}).find(function(e){return void 0!==e})})):e[o]=a)}),e},{}))}var th=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);e.s(["FloatingDelayGroup",0,function(e){var t=e.children,n=e.delay,r=e.timeoutMs,a=(0,u._)(d.useReducer(function(e,t){return(0,o._)({},e,t)},{delay:n,timeoutMs:void 0===r?0:r,initialDelay:n,currentId:null,isInstantPhase:!1}),2),l=a[0],s=a[1],c=d.useRef(null),f=d.useCallback(function(e){s({currentId:e})},[]);return em(function(){l.currentId?null===c.current?c.current=l.currentId:l.isInstantPhase||s({isInstantPhase:!0}):(l.isInstantPhase&&s({isInstantPhase:!1}),c.current=null)},[l.currentId,l.isInstantPhase]),(0,ew.jsx)(tc.Provider,{value:d.useMemo(function(){return(0,i._)((0,o._)({},l),{setState:s,setCurrentId:f})},[l,f]),children:t})},"useDelayGroup",0,function(e,t){void 0===t&&(t={});var n=e.open,r=e.onOpenChange,o=e.floatingId,i=t.id,a=t.enabled,u=void 0===a||a,l=null!=i?i:o,s=d.useContext(tc),c=s.currentId,f=s.setCurrentId,v=s.initialDelay,p=s.setState,m=s.timeoutMs;return em(function(){!u||c&&(p({delay:{open:1,close:tu(v,"close")}}),c!==l&&r(!1))},[u,l,r,p,c,v]),em(function(){var e=function(){r(!1),p({delay:v,currentId:null})};if(u&&c&&!n&&c===l){if(m){var t=window.setTimeout(e,m);return function(){clearTimeout(t)}}e()}},[u,n,p,c,l,r,v,m]),em(function(){!u||f!==ts&&n&&f(l)},[u,n,f,l]),s},"useDismiss",0,function(e,t){void 0===t&&(t={});var n=e.open,i=e.onOpenChange,a=e.elements,u=e.dataRef,l=t.enabled,s=void 0===l||l,c=t.escapeKey,f=void 0===c||c,v=t.outsidePress,p=void 0===v||v,m=t.outsidePressEvent,h=void 0===m?"pointerdown":m,g=t.referencePress,y=void 0!==g&&g,x=t.referencePressEvent,_=void 0===x?"pointerdown":x,R=t.ancestorScroll,E=void 0!==R&&R,P=t.bubbles,C=t.capture,T=tr(),O=ey("function"==typeof p?p:function(){return!1}),S="function"==typeof p?O:p,k=d.useRef(!1),I=tv(P),F=I.escapeKey,z=I.outsidePress,j=tv(C),H=j.escapeKey,W=j.outsidePress,B=d.useRef(!1),V=ey(function(e){if(n&&s&&f&&"Escape"===e.key&&!B.current){var t,r=null==(t=u.current.floatingContext)?void 0:t.nodeId,o=T?ev(T.nodesRef.current,r):[];if(!F&&(e.stopPropagation(),o.length>0)){var a=!0;if(o.forEach(function(e){var t;if(null!=(t=e.context)&&t.open&&!e.context.dataRef.current.__escapeKeyBubbles){a=!1;return}}),!a)return}i(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}}),K=ey(function(e){var t,n=function(){var t;V(e),null==(t=ec(e))||t.removeEventListener("keydown",n)};null==(t=ec(e))||t.addEventListener("keydown",n)}),X=ey(function(e){var t,n=u.current.insideReactTree;u.current.insideReactTree=!1;var r=k.current;if(k.current=!1,("click"!==h||!r)&&!n&&("function"!=typeof S||S(e))){for(var o=ec(e),l="["+to("inert")+"]",s=ed(a.floating).querySelectorAll(l),c=w(o)?o:null;c&&!L(c);){var f=N(c);if(L(f)||!w(f))break;c=f}if(!(s.length&&w(o)&&!o.matches("html,body")&&!es(o,a.floating)&&Array.from(s).every(function(e){return!es(c,e)}))){if(b(o)&&q){var d=L(o),v=D(o),p=/auto|scroll/,m=d||p.test(v.overflowX),g=d||p.test(v.overflowY),y=m&&o.clientWidth>0&&o.scrollWidth>o.clientWidth,x=g&&o.clientHeight>0&&o.scrollHeight>o.clientHeight,_="rtl"===v.direction,R=x&&(_?e.offsetX<=o.offsetWidth-o.clientWidth:e.offsetX>o.clientWidth),E=y&&e.offsetY>o.clientHeight;if(R||E)return}var P=null==(t=u.current.floatingContext)?void 0:t.nodeId,C=T&&ev(T.nodesRef.current,P).some(function(t){var n;return ef(e,null==(n=t.context)?void 0:n.elements.floating)});if(!(ef(e,a.floating)||ef(e,a.domReference))&&!C){var O=T?ev(T.nodesRef.current,P):[];if(O.length>0){var A=!0;if(O.forEach(function(e){var t;if(null!=(t=e.context)&&t.open&&!e.context.dataRef.current.__outsidePressBubbles){A=!1;return}}),!A)return}i(!1,e,"outside-press")}}}}),Y=ey(function(e){var t,n=function(){var t;X(e),null==(t=ec(e))||t.removeEventListener(h,n)};null==(t=ec(e))||t.addEventListener(h,n)});d.useEffect(function(){var e=function(e){i(!1,e,"ancestor-scroll")},t=function(){window.clearTimeout(o),B.current=!0},r=function(){o=window.setTimeout(function(){B.current=!1},5*!!A())};if(n&&s){u.current.__escapeKeyBubbles=F,u.current.__outsidePressBubbles=z;var o=-1,l=ed(a.floating);f&&(l.addEventListener("keydown",H?K:V,H),l.addEventListener("compositionstart",t),l.addEventListener("compositionend",r)),S&&l.addEventListener(h,W?Y:X,W);var c=[];return E&&(w(a.domReference)&&(c=M(a.domReference)),w(a.floating)&&(c=c.concat(M(a.floating))),!w(a.reference)&&a.reference&&a.reference.contextElement&&(c=c.concat(M(a.reference.contextElement)))),(c=c.filter(function(e){var t;
2return e!==(null==(t=l.defaultView)?void 0:t.visualViewport)})).forEach(function(t){t.addEventListener("scroll",e,{passive:!0})}),function(){f&&(l.removeEventListener("keydown",H?K:V,H),l.removeEventListener("compositionstart",t),l.removeEventListener("compositionend",r)),S&&l.removeEventListener(h,W?Y:X,W),c.forEach(function(t){t.removeEventListener("scroll",e)}),window.clearTimeout(o)}}},[u,a,f,S,h,n,i,E,s,F,z,V,H,K,X,W,Y]),d.useEffect(function(){u.current.insideReactTree=!1},[u,S,h]);var U=d.useMemo(function(){return(0,o._)({onKeyDown:V},y&&(0,o._)((0,r._)({},tf[_],function(e){i(!1,e.nativeEvent,"reference-press")}),"click"!==_&&{onClick:function(e){i(!1,e.nativeEvent,"reference-press")}}))},[V,i,y,_]),q=d.useMemo(function(){var e=function(e){0===e.button&&(k.current=!0)};return(0,r._)({onKeyDown:V,onMouseDown:e,onMouseUp:e},td[h],function(){u.current.insideReactTree=!0})},[V,h,u]);return d.useMemo(function(){return s?{reference:U,floating:q}:{}},[s,U,q])},"useFloating",0,function(e){void 0===e&&(e={});var t,n,r,a,l,s,c,f,v,p,m,h,g,y,b,x=e.nodeId,_=(r=void 0!==(n=(t=(0,i._)((0,o._)({},e),{elements:(0,o._)({reference:null,floating:null},e.elements)})).open)&&n,a=t.onOpenChange,l=t.elements,s=e6(),c=d.useRef({}),f=(0,u._)(d.useState(function(){var e;return e=new Map,{emit:function(t,n){var r;null==(r=e.get(t))||r.forEach(function(e){return e(n)})},on:function(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off:function(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}),1)[0],v=null!=tn(),m=(p=(0,u._)(d.useState(l.reference),2))[0],h=p[1],g=ey(function(e,t,n){c.current.openEvent=e?t:void 0,f.emit("openchange",{open:e,event:t,reason:n,nested:v}),null==a||a(e,t,n)}),y=d.useMemo(function(){return{setPositionReference:h}},[]),b=d.useMemo(function(){return{reference:m||l.reference||null,floating:l.floating||null,domReference:l.reference}},[m,l.reference,l.floating]),d.useMemo(function(){return{dataRef:c,open:r,onOpenChange:g,elements:b,events:f,floatingId:s,refs:y}},[r,g,b,f,s,y])),R=e.rootContext||_,E=R.elements,P=(0,u._)(d.useState(null),2),C=P[0],T=P[1],O=(0,u._)(d.useState(null),2),S=O[0],A=O[1],L=(null==E?void 0:E.domReference)||C,D=d.useRef(null),k=tr();em(function(){L&&(D.current=L)},[L]);var N=e2((0,i._)((0,o._)({},e),{elements:(0,o._)({},E,S&&{reference:S})})),M=d.useCallback(function(e){var t=w(e)?{getBoundingClientRect:function(){return e.getBoundingClientRect()},getClientRects:function(){return e.getClientRects()},contextElement:e}:e;A(t),N.refs.setReference(t)},[N.refs]),I=d.useCallback(function(e){(w(e)||null===e)&&(D.current=e,T(e)),(w(N.refs.reference.current)||null===N.refs.reference.current||null!==e&&!w(e))&&N.refs.setReference(e)},[N.refs]),F=d.useMemo(function(){return(0,i._)((0,o._)({},N.refs),{setReference:I,setPositionReference:M,domReference:D})},[N.refs,I,M]),z=d.useMemo(function(){return(0,i._)((0,o._)({},N.elements),{domReference:L})},[N.elements,L]),j=d.useMemo(function(){return(0,i._)((0,o._)({},N,R),{refs:F,elements:z,nodeId:x})},[N,F,z,x,R]);return em(function(){R.dataRef.current.floatingContext=j;var e=null==k?void 0:k.nodesRef.current.find(function(e){return e.id===x});e&&(e.context=j)}),d.useMemo(function(){return(0,i._)((0,o._)({},N),{context:j,refs:F,elements:z})},[N,F,z,j])},"useFocus",0,function(e,t){void 0===t&&(t={});var n=e.open,r=e.onOpenChange,o=e.events,i=e.dataRef,a=e.elements,u=t.enabled,l=void 0===u||u,s=t.visibleOnly,c=void 0===s||s,f=d.useRef(!1),v=d.useRef(-1),p=d.useRef(!0);d.useEffect(function(){var e=function(){!n&&b(a.domReference)&&a.domReference===el(ed(a.domReference))&&(f.current=!0)},t=function(){p.current=!0},r=function(){p.current=!1};if(l){var o=h(a.domReference);return o.addEventListener("blur",e),tp()&&(o.addEventListener("keydown",t,!0),o.addEventListener("pointerdown",r,!0)),function(){o.removeEventListener("blur",e),tp()&&(o.removeEventListener("keydown",t,!0),o.removeEventListener("pointerdown",r,!0))}}},[a.domReference,n,l]),d.useEffect(function(){var e=function(e){var t=e.reason;("reference-press"===t||"escape-key"===t)&&(f.current=!0)};if(l)return o.on("openchange",e),function(){o.off("openchange",e)}},[o,l]),d.useEffect(function(){return function(){ti(v)}},[]);var m=d.useMemo(function(){return{onMouseLeave:function(){f.current=!1},onFocus:function(e){if(!f.current){var t=ec(e.nativeEvent);if(c&&w(t)){if(tp()&&!e.relatedTarget){if(!p.current&&!(b(t)&&t.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")))return}else if(!function(e){var t;if(!e||((t=navigator.userAgentData)&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent).includes("jsdom/"))return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(t))return}r(!0,e.nativeEvent,"focus")}},onBlur:function(e){f.current=!1;var t=e.relatedTarget,n=e.nativeEvent,o=w(t)&&t.hasAttribute(to("focus-guard"))&&"outside"===t.getAttribute("data-type");v.current=window.setTimeout(function(){var e,u=el(a.domReference?a.domReference.ownerDocument:document);!t&&u===a.domReference||es(null==(e=i.current.floatingContext)?void 0:e.refs.floating.current,u)||es(a.domReference,u)||o||r(!1,n,"focus")})}}},[i,a.domReference,r,c]);return d.useMemo(function(){return l?{reference:m}:{}},[l,m])},"useHover",0,function(e,t){void 0===t&&(t={});var n=e.open,r=e.onOpenChange,a=e.dataRef,u=e.events,l=e.elements,s=t.enabled,c=void 0===s||s,f=t.delay,v=t.handleClose,p=t.mouseOnly,m=void 0!==p&&p,h=t.restMs,g=t.move,y=void 0===g||g,b=tr(),x=tn(),_=eh(void 0===v?null:v),R=eh(void 0===f?0:f),E=eh(n),P=eh(void 0===h?0:h),C=d.useRef(),T=d.useRef(-1),O=d.useRef(),S=d.useRef(-1),A=d.useRef(!0),L=d.useRef(!1),D=d.useRef(function(){}),k=d.useRef(!1),N=ey(function(){var e,t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t});d.useEffect(function(){var e=function(e){e.open||(ti(T),ti(S),A.current=!0,k.current=!1)};if(c)return u.on("openchange",e),function(){u.off("openchange",e)}},[c,u]),d.useEffect(function(){var e=function(e){N()&&r(!1,e,"hover")};if(c&&_.current&&n){var t=ed(l.floating).documentElement;return t.addEventListener("mouseleave",e),function(){t.removeEventListener("mouseleave",e)}}},[l.floating,n,r,c,_,N]);var M=d.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");var o=tu(R.current,"close",C.current);o&&!O.current?(ti(T),T.current=window.setTimeout(function(){return r(!1,e,n)},o)):t&&(ti(T),r(!1,e,n))},[R,r]),I=ey(function(){D.current(),O.current=void 0}),F=ey(function(){if(L.current){var e=ed(l.floating).body;e.style.pointerEvents="",e.removeAttribute(ta),L.current=!1}}),z=ey(function(){return!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)});d.useEffect(function(){var e=function(e){if(ti(T),A.current=!1,!(m&&!ep(C.current)||tl(P.current)>0&&!tu(R.current,"open"))){var t=tu(R.current,"open",C.current);t?T.current=window.setTimeout(function(){E.current||r(!0,e,"hover")},t):n||r(!0,e,"hover")}},t=function(e){if(z())return void F();D.current();var t=ed(l.floating);if(ti(S),k.current=!1,_.current&&a.current.floatingContext){n||ti(T),O.current=_.current((0,i._)((0,o._)({},a.current.floatingContext),{tree:b,x:e.clientX,y:e.clientY,onClose:function(){F(),I(),z()||M(e,!0,"safe-polygon")}}));var r=O.current;t.addEventListener("mousemove",r),D.current=function(){t.removeEventListener("mousemove",r)};return}"touch"===C.current&&es(l.floating,e.relatedTarget)||M(e)},u=function(e){z()||a.current.floatingContext&&(null==_.current||_.current((0,i._)((0,o._)({},a.current.floatingContext),{tree:b,x:e.clientX,y:e.clientY,onClose:function(){F(),I(),z()||M(e)}}))(e))},s=function(){ti(T)},f=function(e){z()||M(e,!1)};if(c&&w(l.domReference)){var d=l.domReference,v=l.floating;return n&&d.addEventListener("mouseleave",u),y&&d.addEventListener("mousemove",e,{once:!0}),d.addEventListener("mouseenter",e),d.addEventListener("mouseleave",t),v&&(v.addEventListener("mouseleave",u),v.addEventListener("mouseenter",s),v.addEventListener("mouseleave",f)),function(){n&&d.removeEventListener("mouseleave",u),y&&d.removeEventListener("mousemove",e),d.removeEventListener("mouseenter",e),d.removeEventListener("mouseleave",t),v&&(v.removeEventListener("mouseleave",u),v.removeEventListener("mouseenter",s),v.removeEventListener("mouseleave",f))}}},[l,c,e,m,y,M,I,F,r,n,E,b,R,_,a,z,P]),em(function(){var e;if(c&&n&&null!=(e=_.current)&&null!=(e=e.__options)&&e.blockPointerEvents&&N()){L.current=!0;var t=l.floating;if(w(l.domReference)&&t){var r,o=ed(l.floating).body;o.setAttribute(ta,"");
2var i=l.domReference,a=null==b||null==(r=b.nodesRef.current.find(function(e){return e.id===x}))||null==(r=r.context)?void 0:r.elements.floating;return a&&(a.style.pointerEvents=""),o.style.pointerEvents="none",i.style.pointerEvents="auto",t.style.pointerEvents="auto",function(){o.style.pointerEvents="",i.style.pointerEvents="",t.style.pointerEvents=""}}}},[c,n,x,l,b,_,N]),em(function(){n||(C.current=void 0,k.current=!1,I(),F())},[n,I,F]),d.useEffect(function(){return function(){I(),ti(T),ti(S),F()}},[c,l.domReference,I,F]);var j=d.useMemo(function(){var e=function(e){C.current=e.pointerType};return{onPointerDown:e,onPointerEnter:e,onMouseMove:function(e){var t=e.nativeEvent;function o(){A.current||E.current||r(!0,t,"hover")}m&&!ep(C.current)||n||0===tl(P.current)||k.current&&Math.pow(e.movementX,2)+Math.pow(e.movementY,2)<2||(ti(S),"touch"===C.current?o():(k.current=!0,S.current=window.setTimeout(o,tl(P.current))))}}},[m,r,n,E,P]);return d.useMemo(function(){return c?{reference:j}:{}},[c,j])},"useInteractions",0,function(e){void 0===e&&(e=[]);var t=e.map(function(e){return null==e?void 0:e.reference}),n=e.map(function(e){return null==e?void 0:e.floating}),r=e.map(function(e){return null==e?void 0:e.item}),o=d.useCallback(function(t){return tm(t,e,"reference")},t),i=d.useCallback(function(t){return tm(t,e,"floating")},n),a=d.useCallback(function(t){return tm(t,e,"item")},r);return d.useMemo(function(){return{getReferenceProps:o,getFloatingProps:i,getItemProps:a}},[o,i,a])},"useMergeRefs",0,function(e){var t=d.useRef(void 0),n=d.useCallback(function(t){var n=e.map(function(e){if(null!=e){if("function"==typeof e){var n=e(t);return"function"==typeof n?n:function(){e(null)}}return e.current=t,function(){e.current=null}}});return function(){n.forEach(function(e){return null==e?void 0:e()})}},e);return d.useMemo(function(){return e.every(function(e){return null==e})?null:function(e){t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))}},e)},"useRole",0,function(e,t){void 0===t&&(t={});var n,a,u=e.open,l=e.elements,s=e.floatingId,c=t.enabled,f=void 0===c||c,v=t.role,p=void 0===v?"dialog":v,m=e6(),h=(null==(n=l.domReference)?void 0:n.id)||m,g=d.useMemo(function(){var e,t;return(null==(e=(t=l.floating)?t.hasAttribute(eu)?t:t.querySelector("["+eu+"]")||t:null)?void 0:e.id)||s},[l.floating,s]),y=null!=(a=th.get(p))?a:p,w=null!=tn(),b=d.useMemo(function(){return"tooltip"===y||"label"===p?(0,r._)({},"aria-"+("label"===p?"labelledby":"describedby"),u?g:void 0):(0,o._)({"aria-expanded":u?"true":"false","aria-haspopup":"alertdialog"===y?"dialog":y,"aria-controls":u?g:void 0},"listbox"===y&&{role:"combobox"},"menu"===y&&{id:h},"menu"===y&&w&&{role:"menuitem"},"select"===p&&{"aria-autocomplete":"none"},"combobox"===p&&{"aria-autocomplete":"list"})},[y,g,w,u,h,p]),x=d.useMemo(function(){var e=(0,o._)({id:g},y&&{role:y});return"tooltip"===y||"label"===p?e:(0,o._)({},e,"menu"===y&&{"aria-labelledby":h})},[y,g,h,p]),_=d.useCallback(function(e){var t=e.active,n=e.selected,r=(0,o._)({role:"option"},t&&{id:g+"-fui-option"});switch(p){case"select":case"combobox":return(0,i._)((0,o._)({},r),{"aria-selected":n})}return{}},[g,p]);return d.useMemo(function(){return f?{reference:b,floating:x,item:_}:{}},[f,b,x,_])}],339669)},484502,850315,960949,e=>{"use strict";var t=e.i(815175),n=e.i(827303),r=e.i(347284),o=e.i(966793),i=e.i(383658),a=/input|select|textarea|button|object/,u="a, input, select, textarea, button, object, [tabindex]";function l(e){var t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function s(e){var t=e.nodeName.toLowerCase(),n=!Number.isNaN(l(e));return(a.test(t)&&!e.disabled||(0,i._)(e,HTMLAnchorElement)&&e.href||n)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;for(var t=e;t&&t!==document.body&&11!==t.nodeType;){if("none"===t.style.display)return!1;t=t.parentNode}return!0}(e)}function c(e){var t=l(e);return(Number.isNaN(t)||t>=0)&&s(e)}var f=e.i(974535),d=e.i(43178);function v(e){return!Array.isArray(e)&&null!==e&&(void 0===e?"undefined":(0,d._)(e))==="object"&&e.type!==o.Fragment}function p(e){var t=o.Children.toArray(e);return 1===t.length&&v(t[0])?t[0]:null}e.s(["isElement",0,v],850315),e.s(["getSingleElementChild",0,p],960949);var m=e.i(23407),h=e.i(376548),g=e.i(900106),y=e.i(106158),w=e.i(6725),b={root:"m_515a97f8"},x=(0,w.factory)(function(e,t){var o=(0,h.useProps)("VisuallyHidden",null,e),i=o.classNames,a=o.className,u=o.style,l=o.styles,s=o.unstyled,c=(o.vars,o.attributes),f=(0,m._)(o,["classNames","className","style","styles","unstyled","vars","attributes"]),d=(0,g.useStyles)({name:"VisuallyHidden",classes:b,props:o,className:a,style:u,classNames:i,styles:l,unstyled:s,attributes:c});return(0,r.jsx)(y.Box,(0,n._)({component:"span",ref:t},d("root"),f))});function _(e){var n=e.children,r=e.active,i=e.refProp,a=e.innerRef,l=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,o.useRef)(null),n=function(e){var t=e.querySelector("[data-autofocus]");if(!t){var n=Array.from(e.querySelectorAll(u));!(t=n.find(c)||n.find(s)||null)&&s(e)&&(t=e)}t&&t.focus({preventScroll:!0})},r=(0,o.useCallback)(function(r){e&&null!==r&&t.current!==r&&(r?(setTimeout(function(){r.getRootNode()&&n(r)}),t.current=r):t.current=null)},[e]);return(0,o.useEffect)(function(){if(e){t.current&&setTimeout(function(){return n(t.current)});var r=function(e){"Tab"===e.key&&t.current&&function(e,t){var n=Array.from(e.querySelectorAll(u)).filter(c);if(!n.length)return t.preventDefault();var r=n[t.shiftKey?0:n.length-1],o=e.getRootNode(),i=r===o.activeElement||e===o.activeElement,a=o.activeElement;if("INPUT"===a.tagName&&"radio"===a.getAttribute("type")&&(i=n.filter(function(e){return"radio"===e.getAttribute("type")&&e.getAttribute("name")===a.getAttribute("name")}
2).includes(r)),i){t.preventDefault();var l=n[t.shiftKey?n.length-1:0];l&&l.focus()}}(t.current,e)};return document.addEventListener("keydown",r),function(){return document.removeEventListener("keydown",r)}}},[e]),r}(void 0===r||r),d=(0,f.useMergedRef)(l,a),v=p(n);return v?(0,o.cloneElement)(v,(0,t._)({},void 0===i?"ref":i,d)):n}function R(e){return(0,r.jsx)(x,(0,n._)({tabIndex:-1,"data-autofocus":!0},e))}x.classes=b,x.displayName="@mantine/core/VisuallyHidden",_.displayName="@mantine/core/FocusTrap",R.displayName="@mantine/core/FocusTrapInitialFocus",_.InitialFocus=R,e.s(["FocusTrap",0,_],484502)},580573,598863,757955,e=>{"use strict";var t=e.i(827303),n=e.i(809928),r=e.i(23407),o=e.i(347284),i=e.i(837618),a=e.i(966793),u=e.i(270444),l=e.i(997386),s=e.i(879894),c=e.i(167766),f=e.i(376548),d=e.i(900106),v=e.i(106158),p=e.i(993540),m={root:"m_9814e45f"},h={zIndex:(0,u.getDefaultZIndex)("modal")},g=(0,s.createVarsResolver)(function(e,t){var n=t.gradient,r=t.color,o=t.backgroundOpacity,a=t.blur,u=t.radius,s=t.zIndex;return{root:{"--overlay-bg":n||(void 0!==r||void 0!==o)&&(0,c.rgba)(r||"#000",null!=o?o:.6)||void 0,"--overlay-filter":a?"blur(".concat((0,i.rem)(a),")"):void 0,"--overlay-radius":void 0===u?void 0:(0,l.getRadius)(u),"--overlay-z-index":null==s?void 0:s.toString()}}}),y=(0,p.polymorphicFactory)(function(e,i){var a=(0,f.useProps)("Overlay",h,e),u=a.classNames,l=a.className,s=a.style,c=a.styles,p=a.unstyled,y=a.vars,w=a.fixed,b=a.center,x=a.children,_=(a.radius,a.zIndex,a.gradient,a.blur,a.color,a.backgroundOpacity,a.mod),R=a.attributes,E=(0,r._)(a,["classNames","className","style","styles","unstyled","vars","fixed","center","children","radius","zIndex","gradient","blur","color","backgroundOpacity","mod","attributes"]),P=(0,d.useStyles)({name:"Overlay",props:a,classes:m,className:l,style:s,classNames:u,styles:c,unstyled:p,attributes:R,vars:y,varsResolver:g});return(0,o.jsx)(v.Box,(0,n._)((0,t._)((0,n._)((0,t._)({ref:i},P("root")),{mod:[{center:b,fixed:w},_]}),E),{children:x}))});y.classes=m,y.displayName="@mantine/core/Overlay",e.s(["Overlay",0,y],580573);var w=e.i(437303),b=e.i(569841),x=e.i(993172),_=e.i(6725),R=e.i(96080),E=e.i(43178),P=e.i(245113),C=e.i(360005),T=e.i(974535);function O(e){var t,n=document.createElement("div");return n.setAttribute("data-portal","true"),"string"==typeof e.className&&(t=n.classList).add.apply(t,(0,R._)(e.className.split(" ").filter(Boolean))),"object"===(0,E._)(e.style)&&Object.assign(n.style,e.style),"string"==typeof e.id&&n.setAttribute("id",e.id),n}var S={reuseTargetNode:!0},A=(0,_.factory)(function(e,n){var i=(0,f.useProps)("Portal",S,e),u=i.children,l=i.target,s=i.reuseTargetNode,c=(0,r._)(i,["children","target","reuseTargetNode"]),d=(0,w._)((0,a.useState)(!1),2),v=d[0],p=d[1],m=(0,a.useRef)(null);return((0,C.useIsomorphicEffect)(function(){return p(!0),m.current=function(e){var t=e.target,n=e.reuseTargetNode,o=(0,r._)(e,["target","reuseTargetNode"]);if(t)return"string"==typeof t?document.querySelector(t)||O(o):t;if(n){var i=document.querySelector("[data-mantine-shared-portal-node]");if(i)return i;var a=O(o);return a.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(a),a}return O(o)}((0,t._)({target:l,reuseTargetNode:s},c)),(0,T.assignRef)(n,m.current),l||s||!m.current||document.body.appendChild(m.current),function(){l||s||!m.current||document.body.removeChild(m.current)}},[l]),v&&m.current)?(0,P.createPortal)((0,o.jsx)(o.Fragment,{children:u}),m.current):null});A.displayName="@mantine/core/Portal";var L=(0,_.factory)(function(e,i){var a=(0,b._)([e,i]),u=a[0],l=a.slice(1),s=u.withinPortal,c=u.children,f=(0,r._)(u,["withinPortal","children"]),d=(0,w._)(l,1)[0];return"test"!==(0,x.useMantineEnv)()&&(void 0===s||s)?(0,o.jsx)(A,(0,n._)((0,t._)({ref:d},f),{children:c})):(0,o.jsx)(o.Fragment,{children:c})});L.displayName="@mantine/core/OptionalPortal",e.s(["OptionalPortal",0,L],598863);var D=e.i(271245);e.s(["useFocusReturn",0,function(e){var t=e.opened,n=e.shouldReturnFocus,r=void 0===n||n,o=(0,a.useRef)(null),i=function(){if(o.current&&"focus"in o.current&&"function"==typeof o.current.focus){var e;null==(e=o.current)||e.focus({preventScroll:!0})}};return(0,D.useDidUpdate)(function(){var e=-1,n=function(t){"Tab"===t.key&&window.clearTimeout(e)};return document.addEventListener("keydown",n),t?o.current=document.activeElement:r&&(e=window.setTimeout(i,10)),function(){window.clearTimeout(e),document.removeEventListener("keydown",n)}},[t,r]),i}],757955)},966674,570864,942079,e=>{"use strict";var t=e.i(827303),n=e.i(809928),r=e.i(23407),o=e.i(437303),i=e.i(347284),a=e.i(966793),u=e.i(81850),l=e.i(110633),s=e.i(270444),c=e.i(997386),f=e.i(879894),d=e.i(901492),v=e.i(900106),p=e.i(993172),m=e.i(376548),h=e.i(878249),g=e.i(680075),y=e.i(580573),w=e.i(598863),b=e.i(241162),x=e.i(355972),_=e.i(897273),R=e.i(757955),E=e.i(974535),P=e.i(837618),C=e.i(899834),T=e.i(106158),O=e.i(6725),S=e.i(569841),A=e.i(815175);function L(e,t,n,r){return"center"===e||"center"===r?{top:t}:"end"===e?{bottom:n}:"start"===e?{top:n}:{}}function D(e,t,n,r,o){return"center"===e||"center"===r?{left:t}:"end"===e?(0,A._)({},"ltr"===o?"right":"left",n):"start"===e?(0,A._)({},"ltr"===o?"left":"right",n):{}}var k={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"},N=(0,a.forwardRef)(function(e,a){var u,l,s,c,f,d,v,p,m,g,y,w,b,x,_,R=(0,S._)([e,a]),E=R[0],P=R.slice(1),C=E.position,T=E.arrowSize,O=E.arrowOffset,
2N=E.arrowRadius,M=E.arrowPosition,I=E.visible,F=E.arrowX,z=E.arrowY,j=E.style,H=(0,r._)(E,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY","style"]),W=(0,o._)(P,1)[0],B=(0,h.useDirection)().dir;return I?(0,i.jsx)("div",(0,n._)((0,t._)({},H),{ref:W,style:(0,t._)({},j,(l=(u={position:C,arrowSize:T,arrowOffset:O,arrowRadius:N,arrowPosition:M,dir:B,arrowX:F,arrowY:z}).position,s=u.arrowSize,c=u.arrowOffset,f=u.arrowRadius,d=u.arrowPosition,v=u.arrowX,p=u.arrowY,m=u.dir,y=(g=(0,o._)(l.split("-"),2))[0],b=void 0===(w=g[1])?"center":w,x=(0,A._)({width:s,height:s,transform:"rotate(45deg)",position:"absolute"},k[y],f),_=-s/2,"left"===y?(0,n._)((0,t._)({},x,L(b,p,c,d)),{right:_,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}):"right"===y?(0,n._)((0,t._)({},x,L(b,p,c,d)),{left:_,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}):"top"===y?(0,n._)((0,t._)({},x,D(b,v,c,d,m)),{bottom:_,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}):"bottom"===y?(0,n._)((0,t._)({},x,D(b,v,c,d,m)),{top:_,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}):{}))})):null});N.displayName="@mantine/core/FloatingArrow",e.s(["FloatingArrow",0,N],570864);var M=e.i(484502),I=(0,O.factory)(function(e,o){var a,u,l,s,c,f=(0,m.useProps)("PopoverDropdown",null,e),d=f.className,v=f.style,p=(f.vars,f.children),h=f.onKeyDownCapture,g=f.variant,y=f.classNames,_=f.styles,O=(0,r._)(f,["className","style","vars","children","onKeyDownCapture","variant","classNames","styles"]),S=(0,x.usePopoverContext)(),A=(0,R.useFocusReturn)({opened:S.opened,shouldReturnFocus:S.returnFocus}),L=S.withRoles?{"aria-labelledby":S.getTargetId(),id:S.getDropdownId(),role:"dialog",tabIndex:-1}:{},D=(0,E.useMergedRef)(o,S.floating);return S.disabled?null:(0,i.jsx)(w.OptionalPortal,(0,n._)((0,t._)({},S.portalProps),{withinPortal:S.withinPortal,children:(0,i.jsx)(b.Transition,(0,n._)((0,t._)({mounted:S.opened},S.transitionProps),{transition:(null==(u=S.transitionProps)?void 0:u.transition)||"fade",duration:null!=(a=null==(l=S.transitionProps)?void 0:l.duration)?a:150,keepMounted:S.keepMounted,exitDuration:"number"==typeof(null==(s=S.transitionProps)?void 0:s.exitDuration)?S.transitionProps.exitDuration:null==(c=S.transitionProps)?void 0:c.duration,children:function(e){var r,o;return(0,i.jsx)(M.FocusTrap,{active:S.trapFocus&&S.opened,innerRef:D,children:(0,i.jsxs)(T.Box,(0,n._)((0,t._)((0,n._)((0,t._)({},L,O),{variant:g,onKeyDownCapture:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{active:!0};return"function"==typeof e&&t.active?function(n){if("Escape"===n.key){var r;e(n),null==(r=t.onTrigger)||r.call(t)}}:t.onKeyDown||C.noop}(function(){var e,t;null==(e=S.onClose)||e.call(S),null==(t=S.onDismiss)||t.call(S)},{active:S.closeOnEscape,onTrigger:A,onKeyDown:h}),"data-position":S.placement,"data-fixed":"fixed"===S.floatingStrategy||void 0}),S.getStyles("dropdown",{className:d,props:f,classNames:y,styles:_,style:[(0,t._)((0,n._)((0,t._)({},e),{zIndex:S.zIndex,top:null!=(r=S.y)?r:0,left:null!=(o=S.x)?o:0,width:"target"===S.width?void 0:(0,P.rem)(S.width)}),S.referenceHidden?{display:"none"}:null),S.resolvedStyles.dropdown,null==_?void 0:_.dropdown,v]})),{children:[p,(0,i.jsx)(N,(0,t._)({ref:S.arrowRef,arrowX:S.arrowX,arrowY:S.arrowY,visible:S.withArrow,position:S.placement,arrowSize:S.arrowSize,arrowRadius:S.arrowRadius,arrowOffset:S.arrowOffset,arrowPosition:S.arrowPosition},S.getStyles("arrow",{props:f,classNames:y,styles:_})))]}))})}}))}))});I.classes=_.default,I.displayName="@mantine/core/PopoverDropdown";var F=e.i(217485);function z(e){var t,n=a.default.version;return"string"!=typeof a.default.version||n.startsWith("18.")?null==e?void 0:e.ref:null==e||null==(t=e.props)?void 0:t.ref}e.s(["getRefProp",0,z],942079);var j=e.i(960949),H={refProp:"ref",popupType:"dialog"},W=(0,O.factory)(function(e,o){var i=(0,m.useProps)("PopoverTarget",H,e),u=i.children,l=i.refProp,s=i.popupType,c=(0,r._)(i,["children","refProp","popupType"]),f=(0,j.getSingleElementChild)(u);if(!f)throw Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, str
2ings, numbers and other primitive values are not supported");var d=(0,x.usePopoverContext)(),v=(0,E.useMergedRef)(d.reference,z(f),o),p=d.withRoles?{"aria-haspopup":s,"aria-expanded":d.opened,"aria-controls":d.opened?d.getDropdownId():void 0,id:d.getTargetId()}:{},h=f.props;return(0,a.cloneElement)(f,(0,t._)((0,n._)((0,t._)({},c,p,d.targetProps),(0,A._)({className:(0,F.default)(d.targetProps.className,c.className,h.className)},l,v)),d.controlled?null:{onClick:function(){var e;d.onToggle(),null==(e=h.onClick)||e.call(h)}}))});W.displayName="@mantine/core/PopoverTarget";var B=e.i(43178),V=e.i(339669),K=e.i(304244),X=e.i(214098),Y=e.i(315104),U=e.i(271245),q=e.i(360005),$={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,withOverlay:!1,hideDetached:!0,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,s.getDefaultZIndex)("popover"),__staticSelector:"Popover",width:"max-content"},Z=(0,f.createVarsResolver)(function(e,t){var n=t.radius,r=t.shadow;return{dropdown:{"--popover-radius":void 0===n?void 0:(0,c.getRadius)(n),"--popover-shadow":(0,c.getShadow)(r)}}});function G(e){var s,c,f,R,E,P,C,T,O,S,A,L,D,k,N,M,I,F,z=(0,m.useProps)("Popover",$,e),j=z.children,H=z.position,W=z.offset,G=z.onPositionChange,J=z.positionDependencies,Q=z.opened,ee=z.transitionProps,et=z.onExitTransitionEnd,en=z.onEnterTransitionEnd,er=z.width,eo=z.middlewares,ei=z.withArrow,ea=z.arrowSize,eu=z.arrowOffset,el=z.arrowRadius,es=z.arrowPosition,ec=z.unstyled,ef=z.classNames,ed=z.styles,ev=z.closeOnClickOutside,ep=z.withinPortal,em=z.portalProps,eh=z.closeOnEscape,eg=z.clickOutsideEvents,ey=z.trapFocus,ew=z.onClose,eb=z.onDismiss,ex=z.onOpen,e_=z.onChange,eR=z.zIndex,eE=z.radius,eP=z.shadow,eC=z.id,eT=z.defaultOpened,eO=z.__staticSelector,eS=z.withRoles,eA=z.disabled,eL=z.returnFocus,eD=z.variant,ek=z.keepMounted,eN=z.vars,eM=z.floatingStrategy,eI=z.withOverlay,eF=z.overlayProps,ez=z.hideDetached,ej=z.attributes,eH=z.preventPositionChangeWhenVisible,eW=(0,r._)(z,["children","position","offset","onPositionChange","positionDependencies","opened","transitionProps","onExitTransitionEnd","onEnterTransitionEnd","width","middlewares","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","unstyled","classNames","styles","closeOnClickOutside","withinPortal","portalProps","closeOnEscape","clickOutsideEvents","trapFocus","onClose","onDismiss","onOpen","onChange","zIndex","radius","shadow","id","defaultOpened","__staticSelector","withRoles","disabled","returnFocus","variant","keepMounted","vars","floatingStrategy","withOverlay","overlayProps","hideDetached","attributes","preventPositionChangeWhenVisible"]),eB=(0,v.useStyles)({name:eO,props:z,classes:_.default,classNames:ef,styles:ed,unstyled:ec,attributes:ej,rootSelector:"dropdown",vars:eN,varsResolver:Z}),eV=(0,d.useResolvedStylesApi)({classNames:ef,styles:ed,props:z}).resolvedStyles,eK=(0,o._)((0,a.useState)(null!=(A=null!=Q?Q:eT)&&A),2),eX=eK[0],eY=eK[1],eU=(0,a.useRef)(H),eq=(0,a.useRef)(null),e$=(0,o._)((0,a.useState)(null),2),eZ=e$[0],eG=e$[1],eJ=(0,o._)((0,a.useState)(null),2),eQ=eJ[0],e0=eJ[1],e1=(0,h.useDirection)().dir,e2=(0,p.useMantineEnv)(),e3=(0,u.useId)(eC),e4=(s={middlewares:eo,width:er,position:(0,g.getFloatingPosition)(e1,H),offset:"number"==typeof W?W+(ei?ea/2:0):W,arrowRef:eq,arrowOffset:eu,onPositionChange:G,positionDependencies:J,opened:Q,defaultOpened:eT,onChange:e_,onOpen:ex,onClose:ew,onDismiss:eb,strategy:eM,dropdownVisible:eX,setDropdownVisible:eY,positionRef:eU,disabled:eA,preventPositionChangeWhenVisible:eH,keepMounted:ek},c=(0,p.useMantineEnv)(),R=(f=(0,o._)((0,Y.useUncontrolled)({value:s.opened,defaultValue:s.defaultOpened,finalValue:!1,onChange:s.onChange}),2))[0],E=f[1],P=(0,a.useRef)(R),S=(0,V.useFloating)({strategy:s.strategy,placement:s.preventPositionChangeWhenVisible?s.positionRef.current:s.position,middleware:(C=function(){return S},T=function(e){if(void 0===e)return{shift:!0,flip:!0};var n=(0,t._)({},e);return void 0===e.shift&&(n.shift=!0),void 0===e.flip&&(n.flip=!0),n}(s.middlewares),O=[(0,X.offset)(s.offset),(0,X.hide)()],s.dropdownVisible&&"test"!==c&&s.preventPositionChangeWhenVisible&&(T.flip=!1),T.flip&&O.push("boolean"==typeof T.flip?(0,X.flip)():(0,X.flip)(T.flip)),T.shift&&O.push((0,X.shift)("boolean"==typeof T.shift?{limiter:(0,X.limitShift)(),padding:5}:(0,t._)({limiter:(0,X.limitShift)(),padding:5},T.shift))),T.inline&&O.push("boolean"==typeof T.inline?(0,X.inline)():(0,X.inline)(T.inline)),O.push((0,X.arrow)({element:s.arrowRef,padding:s.arrowOffset})),(T.size||"target"===s.width)&&O.push((0,X.size)((0,n._)((0,t._)({},"boolean"==typeof T.size?{}:T.size),{apply:function(e){var n,o,i=e.rects,a=e.availableWidth,u=e.availableHeight,l=(0,r._)(e,["rects","availableWidth","availableHeight"]),c=null!=(n=null==(o=C().refs.floating.current)?void 0:o.style)?n:{};
2T.size&&("object"===(0,B._)(T.size)&&T.size.apply?T.size.apply((0,t._)({rects:i,availableWidth:a,availableHeight:u},l)):Object.assign(c,{maxWidth:"".concat(a,"px"),maxHeight:"".concat(u,"px")})),"target"===s.width&&Object.assign(c,{width:"".concat(i.reference.width,"px")})}}))),O),whileElementsMounted:s.keepMounted?void 0:K.autoUpdate}),(0,a.useEffect)(function(){if(S.refs.reference.current&&S.refs.floating.current&&R)return(0,K.autoUpdate)(S.refs.reference.current,S.refs.floating.current,S.update)},[R,S.update]),(0,U.useDidUpdate)(function(){var e;null==(e=s.onPositionChange)||e.call(s,S.placement),s.positionRef.current=S.placement},[S.placement,s.preventPositionChangeWhenVisible]),(0,U.useDidUpdate)(function(){if(R!==P.current){var e,t;R?null==(t=s.onOpen)||t.call(s):null==(e=s.onClose)||e.call(s)}P.current=R},[R,s.onClose,s.onOpen]),(0,q.useIsomorphicEffect)(function(){var e=-1;return R&&(e=window.setTimeout(function(){return s.setDropdownVisible(!0)},4)),function(){window.clearTimeout(e)}},[R,s.position]),{floating:S,controlled:"boolean"==typeof s.opened,opened:R,onClose:function(){R&&!s.disabled&&E(!1)},onToggle:function(){s.disabled||E(!R)}});(0,l.useClickOutside)(function(){ev&&(e4.onClose(),null==eb||eb())},eg,[eZ,eQ]);var e5=(0,a.useCallback)(function(e){eG(e),e4.floating.refs.setReference(e)},[e4.floating.refs.setReference]),e9=(0,a.useCallback)(function(e){e0(e),e4.floating.refs.setFloating(e)},[e4.floating.refs.setFloating]),e7=(0,a.useCallback)(function(){var e;null==ee||null==(e=ee.onExited)||e.call(ee),null==et||et(),eY(!1),eH||(eU.current=H)},[null==ee?void 0:ee.onExited,et,eH,H]),e8=(0,a.useCallback)(function(){var e;null==ee||null==(e=ee.onEntered)||e.call(ee),null==en||en()},[null==ee?void 0:ee.onEntered,en]);return(0,i.jsxs)(x.PopoverContextProvider,{value:{returnFocus:eL,disabled:eA,controlled:e4.controlled,reference:e5,floating:e9,x:e4.floating.x,y:e4.floating.y,arrowX:null==(k=e4.floating)||null==(D=k.middlewareData)||null==(L=D.arrow)?void 0:L.x,arrowY:null==(I=e4.floating)||null==(M=I.middlewareData)||null==(N=M.arrow)?void 0:N.y,opened:e4.opened,arrowRef:eq,transitionProps:(0,n._)((0,t._)({},ee),{onExited:e7,onEntered:e8}),width:er,withArrow:ei,arrowSize:ea,arrowOffset:eu,arrowRadius:el,arrowPosition:es,placement:e4.floating.placement,trapFocus:ey,withinPortal:ep,portalProps:em,zIndex:eR,radius:eE,shadow:eP,closeOnEscape:eh,onDismiss:eb,onClose:e4.onClose,onToggle:e4.onToggle,getTargetId:function(){return"".concat(e3,"-target")},getDropdownId:function(){return"".concat(e3,"-dropdown")},withRoles:eS,targetProps:eW,__staticSelector:eO,classNames:ef,styles:ed,unstyled:ec,variant:eD,keepMounted:ek,getStyles:eB,resolvedStyles:eV,floatingStrategy:eM,referenceHidden:!!ez&&"test"!==e2&&(null==(F=e4.floating.middlewareData.hide)?void 0:F.referenceHidden)},children:[j,eI&&(0,i.jsx)(b.Transition,{transition:"fade",mounted:e4.opened,duration:(null==ee?void 0:ee.duration)||250,exitDuration:(null==ee?void 0:ee.exitDuration)||250,children:function(e){return(0,i.jsx)(w.OptionalPortal,{withinPortal:ep,children:(0,i.jsx)(y.Overlay,(0,t._)({},eF,eB("overlay",{className:null==eF?void 0:eF.className,style:[e,null==eF?void 0:eF.style]})))})}})]})}G.Target=W,G.Dropdown=I,G.displayName="@mantine/core/Popover",G.extend=function(e){return e},e.s(["Popover",0,G],966674)},270444,e=>{"use strict";var t={app:100,modal:200,popover:300,overlay:400,max:9999};e.s(["getDefaultZIndex",0,function(e){return t[e]}])},899834,e=>{"use strict";e.s(["noop",0,function(){}])},110633,680075,355972,897273,e=>{"use strict";var t=e.i(966793),n=["mousedown","touchstart"];e.s(["useClickOutside",0,function(e,r,o){var i=(0,t.useRef)(null),a=r||n;return(0,t.useEffect)(function(){var t=function(t){var n=(null!=t?t:{}).target;if(Array.isArray(o)){var r=!document.body.contains(n)&&(null==n?void 0:n.tagName)!=="HTML";o.every(function(e){return!!e&&!t.composedPath().includes(e)})&&!r&&e(t)}else i.current&&!i.current.contains(n)&&e(t)};return a.forEach(function(e){return document.addEventListener(e,t)}),function(){a.forEach(function(e){return document.removeEventListener(e,t)})}},[i,e,o]),i}],110633);var r=e.i(437303);e.s(["getFloatingPosition",0,function(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){var n=(0,r._)(t.split("-"),2),o=n[0],i=n[1],a="right"===o?"left":"right";return void 0===i?a:"".concat(a,"-").concat(i)}return t}],680075);var o=e.i(676015);e.i(347284);var i=(0,r._)((0,o.createSafeContext)("Popover component was not found in the tree"),2),a=i[0],u=i[1];e.s(["PopoverContextProvider",0,a,"usePopoverContext",0,u],355972),e.s(["default",0,{dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"}],897273)}]); 3 4//# debugId=f58c112e-f739-6056-ea40-3942f0a8d9dc
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.