@mailstep/design-system 0.6.66 → 0.6.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ui/Elements/Portal/index.js +12 -2
- package/ui/index.es.js +14 -3
- package/ui/index.umd.js +1 -1
package/package.json
CHANGED
|
@@ -4,9 +4,19 @@ export var Portal = function (_a) {
|
|
|
4
4
|
var children = _a.children;
|
|
5
5
|
var container = useState(function () { return document.createElement('div'); })[0];
|
|
6
6
|
useEffect(function () {
|
|
7
|
-
|
|
7
|
+
try {
|
|
8
|
+
document.body.appendChild(container);
|
|
9
|
+
}
|
|
10
|
+
catch (e) {
|
|
11
|
+
console.log(e);
|
|
12
|
+
}
|
|
8
13
|
return function () {
|
|
9
|
-
|
|
14
|
+
try {
|
|
15
|
+
document.body.removeChild(container);
|
|
16
|
+
}
|
|
17
|
+
catch (e) {
|
|
18
|
+
console.log(e);
|
|
19
|
+
}
|
|
10
20
|
};
|
|
11
21
|
}, []);
|
|
12
22
|
return ReactDom.createPortal(children, container);
|
package/ui/index.es.js
CHANGED
|
@@ -41951,9 +41951,20 @@ const Pv = ({
|
|
|
41951
41951
|
children: e
|
|
41952
41952
|
}) => {
|
|
41953
41953
|
const [t] = Fe(() => document.createElement("div"));
|
|
41954
|
-
return vt(() =>
|
|
41955
|
-
|
|
41956
|
-
|
|
41954
|
+
return vt(() => {
|
|
41955
|
+
try {
|
|
41956
|
+
document.body.appendChild(t);
|
|
41957
|
+
} catch (r) {
|
|
41958
|
+
console.log(r);
|
|
41959
|
+
}
|
|
41960
|
+
return () => {
|
|
41961
|
+
try {
|
|
41962
|
+
document.body.removeChild(t);
|
|
41963
|
+
} catch (r) {
|
|
41964
|
+
console.log(r);
|
|
41965
|
+
}
|
|
41966
|
+
};
|
|
41967
|
+
}, []), MM.createPortal(e, t);
|
|
41957
41968
|
}, H9e = q.div`
|
|
41958
41969
|
z-index: 5;
|
|
41959
41970
|
`, hW = ({
|
package/ui/index.umd.js
CHANGED
|
@@ -2521,7 +2521,7 @@ Avoid returning a new reference inside your input selector, e.g.
|
|
|
2521
2521
|
box-shadow: dropdownMenuShadow;
|
|
2522
2522
|
color: red2;
|
|
2523
2523
|
z-index: 1;
|
|
2524
|
-
`,qh=({items:e,showMenu:t,className:r,ItemComponent:n=p9e,header:i,footer:o,...l})=>g.jsx(g.Fragment,{children:t&&g.jsxs(h9e,{className:r,...l,children:[i||null,g.jsx(d9e,{items:e,ItemComponent:n}),o||null]})});var g9e=Re.createContext();Re.createContext();var v9e=function(t){return Array.isArray(t)?t[0]:t},m9e=function(t){if(typeof t=="function"){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t.apply(void 0,n)}},b9e=function(t,r){if(typeof t=="function")return m9e(t,r);t!=null&&(t.current=r)},Rj=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})},Fj=typeof window<"u"&&window.document&&window.document.createElement?Re.useLayoutEffect:Re.useEffect,hi="top",ga="bottom",va="right",gi="left",eb="auto",J0=[hi,ga,va,gi],Vc="start",Q0="end",y9e="clippingParents",Vj="viewport",K0="popper",C9e="reference",jj=J0.reduce(function(e,t){return e.concat([t+"-"+Vc,t+"-"+Q0])},[]),Wj=[].concat(J0,[eb]).reduce(function(e,t){return e.concat([t,t+"-"+Vc,t+"-"+Q0])},[]),w9e="beforeRead",x9e="read",S9e="afterRead",E9e="beforeMain",I9e="main",k9e="afterMain",O9e="beforeWrite",P9e="write",T9e="afterWrite",M9e=[w9e,x9e,S9e,E9e,I9e,k9e,O9e,P9e,T9e];function So(e){return e?(e.nodeName||"").toLowerCase():null}function Ui(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function eu(e){var t=Ui(e).Element;return e instanceof t||e instanceof Element}function ma(e){var t=Ui(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tb(e){if(typeof ShadowRoot>"u")return!1;var t=Ui(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L9e(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!ma(o)||!So(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(l){var u=i[l];u===!1?o.removeAttribute(l):o.setAttribute(l,u===!0?"":u)}))})}function D9e(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=l.reduce(function(c,f){return c[f]="",c},{});!ma(i)||!So(i)||(Object.assign(i.style,u),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}const N9e={name:"applyStyles",enabled:!0,phase:"write",fn:L9e,effect:D9e,requires:["computeStyles"]};function Eo(e){return e.split("-")[0]}var tu=Math.max,$h=Math.min,jc=Math.round;function rb(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Hj(){return!/^((?!chrome|android).)*safari/i.test(rb())}function Wc(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&ma(e)&&(i=e.offsetWidth>0&&jc(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&jc(n.height)/e.offsetHeight||1);var l=eu(e)?Ui(e):window,u=l.visualViewport,c=!Hj()&&r,f=(n.left+(c&&u?u.offsetLeft:0))/i,A=(n.top+(c&&u?u.offsetTop:0))/o,p=n.width/i,v=n.height/o;return{width:p,height:v,top:A,right:f+p,bottom:A+v,left:f,x:f,y:A}}function nb(e){var t=Wc(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function zj(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&tb(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function is(e){return Ui(e).getComputedStyle(e)}function B9e(e){return["table","td","th"].indexOf(So(e))>=0}function Ys(e){return((eu(e)?e.ownerDocument:e.document)||window.document).documentElement}function eg(e){return So(e)==="html"?e:e.assignedSlot||e.parentNode||(tb(e)?e.host:null)||Ys(e)}function Gj(e){return!ma(e)||is(e).position==="fixed"?null:e.offsetParent}function R9e(e){var t=/firefox/i.test(rb()),r=/Trident/i.test(rb());if(r&&ma(e)){var n=is(e);if(n.position==="fixed")return null}var i=eg(e);for(tb(i)&&(i=i.host);ma(i)&&["html","body"].indexOf(So(i))<0;){var o=is(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function q0(e){for(var t=Ui(e),r=Gj(e);r&&B9e(r)&&is(r).position==="static";)r=Gj(r);return r&&(So(r)==="html"||So(r)==="body"&&is(r).position==="static")?t:r||R9e(e)||t}function ib(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $0(e,t,r){return tu(e,$h(t,r))}function F9e(e,t,r){var n=$0(e,t,r);return n>r?r:n}function _j(){return{top:0,right:0,bottom:0,left:0}}function Uj(e){return Object.assign({},_j(),e)}function Zj(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var V9e=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Uj(typeof t!="number"?t:Zj(t,J0))};function j9e(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,l=r.modifiersData.popperOffsets,u=Eo(r.placement),c=ib(u),f=[gi,va].indexOf(u)>=0,A=f?"height":"width";if(!(!o||!l)){var p=V9e(i.padding,r),v=nb(o),m=c==="y"?hi:gi,y=c==="y"?ga:va,C=r.rects.reference[A]+r.rects.reference[c]-l[c]-r.rects.popper[A],E=l[c]-r.rects.reference[c],x=q0(o),k=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,P=C/2-E/2,T=p[m],L=k-v[A]-p[y],F=k/2-v[A]/2+P,V=$0(T,F,L),H=c;r.modifiersData[n]=(t={},t[H]=V,t.centerOffset=V-F,t)}}function W9e(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||zj(t.elements.popper,i)&&(t.elements.arrow=i))}const H9e={name:"arrow",enabled:!0,phase:"main",fn:j9e,effect:W9e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hc(e){return e.split("-")[1]}var z9e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G9e(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:jc(r*i)/i||0,y:jc(n*i)/i||0}}function Yj(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,f=e.adaptive,A=e.roundOffsets,p=e.isFixed,v=l.x,m=v===void 0?0:v,y=l.y,C=y===void 0?0:y,E=typeof A=="function"?A({x:m,y:C}):{x:m,y:C};m=E.x,C=E.y;var x=l.hasOwnProperty("x"),k=l.hasOwnProperty("y"),P=gi,T=hi,L=window;if(f){var F=q0(r),V="clientHeight",H="clientWidth";if(F===Ui(r)&&(F=Ys(r),is(F).position!=="static"&&u==="absolute"&&(V="scrollHeight",H="scrollWidth")),F=F,i===hi||(i===gi||i===va)&&o===Q0){T=ga;var _=p&&F===L&&L.visualViewport?L.visualViewport.height:F[V];C-=_-n.height,C*=c?1:-1}if(i===gi||(i===hi||i===ga)&&o===Q0){P=va;var Y=p&&F===L&&L.visualViewport?L.visualViewport.width:F[H];m-=Y-n.width,m*=c?1:-1}}var R=Object.assign({position:u},f&&z9e),W=A===!0?G9e({x:m,y:C},Ui(r)):{x:m,y:C};if(m=W.x,C=W.y,c){var j;return Object.assign({},R,(j={},j[T]=k?"0":"",j[P]=x?"0":"",j.transform=(L.devicePixelRatio||1)<=1?"translate("+m+"px, "+C+"px)":"translate3d("+m+"px, "+C+"px, 0)",j))}return Object.assign({},R,(t={},t[T]=k?C+"px":"",t[P]=x?m+"px":"",t.transform="",t))}function _9e(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,l=o===void 0?!0:o,u=r.roundOffsets,c=u===void 0?!0:u,f={placement:Eo(t.placement),variation:Hc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Yj(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yj(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const U9e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_9e,data:{}};var tg={passive:!0};function Z9e(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,l=n.resize,u=l===void 0?!0:l,c=Ui(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&f.forEach(function(A){A.addEventListener("scroll",r.update,tg)}),u&&c.addEventListener("resize",r.update,tg),function(){o&&f.forEach(function(A){A.removeEventListener("scroll",r.update,tg)}),u&&c.removeEventListener("resize",r.update,tg)}}const Y9e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Z9e,data:{}};var X9e={left:"right",right:"left",bottom:"top",top:"bottom"};function rg(e){return e.replace(/left|right|bottom|top/g,function(t){return X9e[t]})}var J9e={start:"end",end:"start"};function Xj(e){return e.replace(/start|end/g,function(t){return J9e[t]})}function ab(e){var t=Ui(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ob(e){return Wc(Ys(e)).left+ab(e).scrollLeft}function Q9e(e,t){var r=Ui(e),n=Ys(e),i=r.visualViewport,o=n.clientWidth,l=n.clientHeight,u=0,c=0;if(i){o=i.width,l=i.height;var f=Hj();(f||!f&&t==="fixed")&&(u=i.offsetLeft,c=i.offsetTop)}return{width:o,height:l,x:u+ob(e),y:c}}function K9e(e){var t,r=Ys(e),n=ab(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=tu(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=tu(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-n.scrollLeft+ob(e),c=-n.scrollTop;return is(i||r).direction==="rtl"&&(u+=tu(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:l,x:u,y:c}}function sb(e){var t=is(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Jj(e){return["html","body","#document"].indexOf(So(e))>=0?e.ownerDocument.body:ma(e)&&sb(e)?e:Jj(eg(e))}function e1(e,t){var r;t===void 0&&(t=[]);var n=Jj(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ui(n),l=i?[o].concat(o.visualViewport||[],sb(n)?n:[]):n,u=t.concat(l);return i?u:u.concat(e1(eg(l)))}function lb(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function q9e(e,t){var r=Wc(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Qj(e,t,r){return t===Vj?lb(Q9e(e,r)):eu(t)?q9e(t,r):lb(K9e(Ys(e)))}function $9e(e){var t=e1(eg(e)),r=["absolute","fixed"].indexOf(is(e).position)>=0,n=r&&ma(e)?q0(e):e;return eu(n)?t.filter(function(i){return eu(i)&&zj(i,n)&&So(i)!=="body"}):[]}function ebe(e,t,r,n){var i=t==="clippingParents"?$9e(e):[].concat(t),o=[].concat(i,[r]),l=o[0],u=o.reduce(function(c,f){var A=Qj(e,f,n);return c.top=tu(A.top,c.top),c.right=$h(A.right,c.right),c.bottom=$h(A.bottom,c.bottom),c.left=tu(A.left,c.left),c},Qj(e,l,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Kj(e){var t=e.reference,r=e.element,n=e.placement,i=n?Eo(n):null,o=n?Hc(n):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,c;switch(i){case hi:c={x:l,y:t.y-r.height};break;case ga:c={x:l,y:t.y+t.height};break;case va:c={x:t.x+t.width,y:u};break;case gi:c={x:t.x-r.width,y:u};break;default:c={x:t.x,y:t.y}}var f=i?ib(i):null;if(f!=null){var A=f==="y"?"height":"width";switch(o){case Vc:c[f]=c[f]-(t[A]/2-r[A]/2);break;case Q0:c[f]=c[f]+(t[A]/2-r[A]/2);break}}return c}function t1(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,l=o===void 0?e.strategy:o,u=r.boundary,c=u===void 0?y9e:u,f=r.rootBoundary,A=f===void 0?Vj:f,p=r.elementContext,v=p===void 0?K0:p,m=r.altBoundary,y=m===void 0?!1:m,C=r.padding,E=C===void 0?0:C,x=Uj(typeof E!="number"?E:Zj(E,J0)),k=v===K0?C9e:K0,P=e.rects.popper,T=e.elements[y?k:v],L=ebe(eu(T)?T:T.contextElement||Ys(e.elements.popper),c,A,l),F=Wc(e.elements.reference),V=Kj({reference:F,element:P,strategy:"absolute",placement:i}),H=lb(Object.assign({},P,V)),_=v===K0?H:F,Y={top:L.top-_.top+x.top,bottom:_.bottom-L.bottom+x.bottom,left:L.left-_.left+x.left,right:_.right-L.right+x.right},R=e.modifiersData.offset;if(v===K0&&R){var W=R[i];Object.keys(Y).forEach(function(j){var te=[va,ga].indexOf(j)>=0?1:-1,U=[hi,ga].indexOf(j)>=0?"y":"x";Y[j]+=W[U]*te})}return Y}function tbe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,l=r.padding,u=r.flipVariations,c=r.allowedAutoPlacements,f=c===void 0?Wj:c,A=Hc(n),p=A?u?jj:jj.filter(function(y){return Hc(y)===A}):J0,v=p.filter(function(y){return f.indexOf(y)>=0});v.length===0&&(v=p);var m=v.reduce(function(y,C){return y[C]=t1(e,{placement:C,boundary:i,rootBoundary:o,padding:l})[Eo(C)],y},{});return Object.keys(m).sort(function(y,C){return m[y]-m[C]})}function rbe(e){if(Eo(e)===eb)return[];var t=rg(e);return[Xj(e),t,Xj(t)]}function nbe(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,l=r.altAxis,u=l===void 0?!0:l,c=r.fallbackPlacements,f=r.padding,A=r.boundary,p=r.rootBoundary,v=r.altBoundary,m=r.flipVariations,y=m===void 0?!0:m,C=r.allowedAutoPlacements,E=t.options.placement,x=Eo(E),k=x===E,P=c||(k||!y?[rg(E)]:rbe(E)),T=[E].concat(P).reduce(function(ge,se){return ge.concat(Eo(se)===eb?tbe(t,{placement:se,boundary:A,rootBoundary:p,padding:f,flipVariations:y,allowedAutoPlacements:C}):se)},[]),L=t.rects.reference,F=t.rects.popper,V=new Map,H=!0,_=T[0],Y=0;Y<T.length;Y++){var R=T[Y],W=Eo(R),j=Hc(R)===Vc,te=[hi,ga].indexOf(W)>=0,U=te?"width":"height",ie=t1(t,{placement:R,boundary:A,rootBoundary:p,altBoundary:v,padding:f}),Ae=te?j?va:gi:j?ga:hi;L[U]>F[U]&&(Ae=rg(Ae));var me=rg(Ae),fe=[];if(o&&fe.push(ie[W]<=0),u&&fe.push(ie[Ae]<=0,ie[me]<=0),fe.every(function(ge){return ge})){_=R,H=!1;break}V.set(R,fe)}if(H)for(var X=y?3:1,Q=function(se){var ee=T.find(function(ae){var de=V.get(ae);if(de)return de.slice(0,se).every(function(he){return he})});if(ee)return _=ee,"break"},ue=X;ue>0;ue--){var le=Q(ue);if(le==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}const ibe={name:"flip",enabled:!0,phase:"main",fn:nbe,requiresIfExists:["offset"],data:{_skip:!1}};function qj(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function $j(e){return[hi,va,ga,gi].some(function(t){return e[t]>=0})}function abe(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,l=t1(t,{elementContext:"reference"}),u=t1(t,{altBoundary:!0}),c=qj(l,n),f=qj(u,i,o),A=$j(c),p=$j(f);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:A,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":A,"data-popper-escaped":p})}const obe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:abe};function sbe(e,t,r){var n=Eo(e),i=[gi,hi].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=o[0],u=o[1];return l=l||0,u=(u||0)*i,[gi,va].indexOf(n)>=0?{x:u,y:l}:{x:l,y:u}}function lbe(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,l=Wj.reduce(function(A,p){return A[p]=sbe(p,t.rects,o),A},{}),u=l[t.placement],c=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=l}const ube={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lbe};function cbe(e){var t=e.state,r=e.name;t.modifiersData[r]=Kj({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const dbe={name:"popperOffsets",enabled:!0,phase:"read",fn:cbe,data:{}};function fbe(e){return e==="x"?"y":"x"}function Abe(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,l=r.altAxis,u=l===void 0?!1:l,c=r.boundary,f=r.rootBoundary,A=r.altBoundary,p=r.padding,v=r.tether,m=v===void 0?!0:v,y=r.tetherOffset,C=y===void 0?0:y,E=t1(t,{boundary:c,rootBoundary:f,padding:p,altBoundary:A}),x=Eo(t.placement),k=Hc(t.placement),P=!k,T=ib(x),L=fbe(T),F=t.modifiersData.popperOffsets,V=t.rects.reference,H=t.rects.popper,_=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,Y=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(F){if(o){var j,te=T==="y"?hi:gi,U=T==="y"?ga:va,ie=T==="y"?"height":"width",Ae=F[T],me=Ae+E[te],fe=Ae-E[U],X=m?-H[ie]/2:0,Q=k===Vc?V[ie]:H[ie],ue=k===Vc?-H[ie]:-V[ie],le=t.elements.arrow,ge=m&&le?nb(le):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:_j(),ee=se[te],ae=se[U],de=$0(0,V[ie],ge[ie]),he=P?V[ie]/2-X-de-ee-Y.mainAxis:Q-de-ee-Y.mainAxis,Pe=P?-V[ie]/2+X+de+ae+Y.mainAxis:ue+de+ae+Y.mainAxis,we=t.elements.arrow&&q0(t.elements.arrow),ye=we?T==="y"?we.clientTop||0:we.clientLeft||0:0,Ge=(j=R==null?void 0:R[T])!=null?j:0,$e=Ae+he-Ge-ye,Ue=Ae+Pe-Ge,Rr=$0(m?$h(me,$e):me,Ae,m?tu(fe,Ue):fe);F[T]=Rr,W[T]=Rr-Ae}if(u){var Ye,tr=T==="x"?hi:gi,G=T==="x"?ga:va,mt=F[L],It=L==="y"?"height":"width",Ut=mt+E[tr],ut=mt-E[G],on=[hi,gi].indexOf(x)!==-1,Gr=(Ye=R==null?void 0:R[L])!=null?Ye:0,Ja=on?Ut:mt-V[It]-H[It]-Gr+Y.altAxis,Mr=on?mt+V[It]+H[It]-Gr-Y.altAxis:ut,rr=m&&on?F9e(Ja,mt,Mr):$0(m?Ja:Ut,mt,m?Mr:ut);F[L]=rr,W[L]=rr-mt}t.modifiersData[n]=W}}const pbe={name:"preventOverflow",enabled:!0,phase:"main",fn:Abe,requiresIfExists:["offset"]};function hbe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function gbe(e){return e===Ui(e)||!ma(e)?ab(e):hbe(e)}function vbe(e){var t=e.getBoundingClientRect(),r=jc(t.width)/e.offsetWidth||1,n=jc(t.height)/e.offsetHeight||1;return r!==1||n!==1}function mbe(e,t,r){r===void 0&&(r=!1);var n=ma(t),i=ma(t)&&vbe(t),o=Ys(t),l=Wc(e,i,r),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((So(t)!=="body"||sb(o))&&(u=gbe(t)),ma(t)?(c=Wc(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=ob(o))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function bbe(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var c=t.get(u);c&&i(c)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function ybe(e){var t=bbe(e);return M9e.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Cbe(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function wbe(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var eW={placement:"bottom",modifiers:[],strategy:"absolute"};function tW(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function xbe(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?eW:i;return function(u,c,f){f===void 0&&(f=o);var A={placement:"bottom",orderedModifiers:[],options:Object.assign({},eW,o),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},p=[],v=!1,m={state:A,setOptions:function(x){var k=typeof x=="function"?x(A.options):x;C(),A.options=Object.assign({},o,A.options,k),A.scrollParents={reference:eu(u)?e1(u):u.contextElement?e1(u.contextElement):[],popper:e1(c)};var P=ybe(wbe([].concat(n,A.options.modifiers)));return A.orderedModifiers=P.filter(function(T){return T.enabled}),y(),m.update()},forceUpdate:function(){if(!v){var x=A.elements,k=x.reference,P=x.popper;if(tW(k,P)){A.rects={reference:mbe(k,q0(P),A.options.strategy==="fixed"),popper:nb(P)},A.reset=!1,A.placement=A.options.placement,A.orderedModifiers.forEach(function(Y){return A.modifiersData[Y.name]=Object.assign({},Y.data)});for(var T=0;T<A.orderedModifiers.length;T++){if(A.reset===!0){A.reset=!1,T=-1;continue}var L=A.orderedModifiers[T],F=L.fn,V=L.options,H=V===void 0?{}:V,_=L.name;typeof F=="function"&&(A=F({state:A,options:H,name:_,instance:m})||A)}}}},update:Cbe(function(){return new Promise(function(E){m.forceUpdate(),E(A)})}),destroy:function(){C(),v=!0}};if(!tW(u,c))return m;m.setOptions(f).then(function(E){!v&&f.onFirstUpdate&&f.onFirstUpdate(E)});function y(){A.orderedModifiers.forEach(function(E){var x=E.name,k=E.options,P=k===void 0?{}:k,T=E.effect;if(typeof T=="function"){var L=T({state:A,name:x,instance:m,options:P}),F=function(){};p.push(L||F)}})}function C(){p.forEach(function(E){return E()}),p=[]}return m}}var Sbe=[Y9e,dbe,U9e,N9e,ube,ibe,pbe,H9e,obe],Ebe=xbe({defaultModifiers:Sbe}),Ibe=typeof Element<"u",kbe=typeof Map=="function",Obe=typeof Set=="function",Pbe=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ng(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!ng(e[n],t[n]))return!1;return!0}var o;if(kbe&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!ng(n.value[1],t.get(n.value[0])))return!1;return!0}if(Obe&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Pbe&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(Ibe&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!ng(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var Tbe=function(t,r){try{return ng(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const Mbe=na(Tbe);var Lbe=[],Dbe=function(t,r,n){n===void 0&&(n={});var i=Re.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Lbe},l=Re.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=l[0],c=l[1],f=Re.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(m){var y=m.state,C=Object.keys(y.elements);wH.flushSync(function(){c({styles:Rj(C.map(function(E){return[E,y.styles[E]||{}]})),attributes:Rj(C.map(function(E){return[E,y.attributes[E]]}))})})},requires:["computeStyles"]}},[]),A=Re.useMemo(function(){var v={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[f,{name:"applyStyles",enabled:!1}])};return Mbe(i.current,v)?i.current||v:(i.current=v,v)},[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,f]),p=Re.useRef();return Fj(function(){p.current&&p.current.setOptions(A)},[A]),Fj(function(){if(!(t==null||r==null)){var v=n.createPopper||Ebe,m=v(t,r,A);return p.current=m,function(){m.destroy(),p.current=null}}},[t,r,n.createPopper]),{state:p.current?p.current.state:null,styles:u.styles,attributes:u.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},Nbe=function(){},Bbe=function(){return Promise.resolve(null)},Rbe=[];function rW(e){var t=e.placement,r=t===void 0?"bottom":t,n=e.strategy,i=n===void 0?"absolute":n,o=e.modifiers,l=o===void 0?Rbe:o,u=e.referenceElement,c=e.onFirstUpdate,f=e.innerRef,A=e.children,p=Re.useContext(g9e),v=Re.useState(null),m=v[0],y=v[1],C=Re.useState(null),E=C[0],x=C[1];Re.useEffect(function(){b9e(f,m)},[f,m]);var k=Re.useMemo(function(){return{placement:r,strategy:i,onFirstUpdate:c,modifiers:[].concat(l,[{name:"arrow",enabled:E!=null,options:{element:E}}])}},[r,i,c,l,E]),P=Dbe(u||p,m,k),T=P.state,L=P.styles,F=P.forceUpdate,V=P.update,H=Re.useMemo(function(){return{ref:y,style:L.popper,placement:T?T.placement:r,hasPopperEscaped:T&&T.modifiersData.hide?T.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:T&&T.modifiersData.hide?T.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:L.arrow,ref:x},forceUpdate:F||Nbe,update:V||Bbe}},[y,x,r,T,L,V,F]);return v9e(A)(H)}const r1=({children:e})=>{const[t]=I.useState(()=>document.createElement("div"));return I.useEffect(()=>(document.body.appendChild(t),()=>{document.body.removeChild(t)}),[]),Hu.createPortal(e,t)},Fbe=q.div`
|
|
2524
|
+
`,qh=({items:e,showMenu:t,className:r,ItemComponent:n=p9e,header:i,footer:o,...l})=>g.jsx(g.Fragment,{children:t&&g.jsxs(h9e,{className:r,...l,children:[i||null,g.jsx(d9e,{items:e,ItemComponent:n}),o||null]})});var g9e=Re.createContext();Re.createContext();var v9e=function(t){return Array.isArray(t)?t[0]:t},m9e=function(t){if(typeof t=="function"){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t.apply(void 0,n)}},b9e=function(t,r){if(typeof t=="function")return m9e(t,r);t!=null&&(t.current=r)},Rj=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})},Fj=typeof window<"u"&&window.document&&window.document.createElement?Re.useLayoutEffect:Re.useEffect,hi="top",ga="bottom",va="right",gi="left",eb="auto",J0=[hi,ga,va,gi],Vc="start",Q0="end",y9e="clippingParents",Vj="viewport",K0="popper",C9e="reference",jj=J0.reduce(function(e,t){return e.concat([t+"-"+Vc,t+"-"+Q0])},[]),Wj=[].concat(J0,[eb]).reduce(function(e,t){return e.concat([t,t+"-"+Vc,t+"-"+Q0])},[]),w9e="beforeRead",x9e="read",S9e="afterRead",E9e="beforeMain",I9e="main",k9e="afterMain",O9e="beforeWrite",P9e="write",T9e="afterWrite",M9e=[w9e,x9e,S9e,E9e,I9e,k9e,O9e,P9e,T9e];function So(e){return e?(e.nodeName||"").toLowerCase():null}function Ui(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function eu(e){var t=Ui(e).Element;return e instanceof t||e instanceof Element}function ma(e){var t=Ui(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tb(e){if(typeof ShadowRoot>"u")return!1;var t=Ui(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L9e(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!ma(o)||!So(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(l){var u=i[l];u===!1?o.removeAttribute(l):o.setAttribute(l,u===!0?"":u)}))})}function D9e(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=l.reduce(function(c,f){return c[f]="",c},{});!ma(i)||!So(i)||(Object.assign(i.style,u),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}const N9e={name:"applyStyles",enabled:!0,phase:"write",fn:L9e,effect:D9e,requires:["computeStyles"]};function Eo(e){return e.split("-")[0]}var tu=Math.max,$h=Math.min,jc=Math.round;function rb(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Hj(){return!/^((?!chrome|android).)*safari/i.test(rb())}function Wc(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&ma(e)&&(i=e.offsetWidth>0&&jc(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&jc(n.height)/e.offsetHeight||1);var l=eu(e)?Ui(e):window,u=l.visualViewport,c=!Hj()&&r,f=(n.left+(c&&u?u.offsetLeft:0))/i,A=(n.top+(c&&u?u.offsetTop:0))/o,p=n.width/i,v=n.height/o;return{width:p,height:v,top:A,right:f+p,bottom:A+v,left:f,x:f,y:A}}function nb(e){var t=Wc(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function zj(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&tb(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function is(e){return Ui(e).getComputedStyle(e)}function B9e(e){return["table","td","th"].indexOf(So(e))>=0}function Ys(e){return((eu(e)?e.ownerDocument:e.document)||window.document).documentElement}function eg(e){return So(e)==="html"?e:e.assignedSlot||e.parentNode||(tb(e)?e.host:null)||Ys(e)}function Gj(e){return!ma(e)||is(e).position==="fixed"?null:e.offsetParent}function R9e(e){var t=/firefox/i.test(rb()),r=/Trident/i.test(rb());if(r&&ma(e)){var n=is(e);if(n.position==="fixed")return null}var i=eg(e);for(tb(i)&&(i=i.host);ma(i)&&["html","body"].indexOf(So(i))<0;){var o=is(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function q0(e){for(var t=Ui(e),r=Gj(e);r&&B9e(r)&&is(r).position==="static";)r=Gj(r);return r&&(So(r)==="html"||So(r)==="body"&&is(r).position==="static")?t:r||R9e(e)||t}function ib(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $0(e,t,r){return tu(e,$h(t,r))}function F9e(e,t,r){var n=$0(e,t,r);return n>r?r:n}function _j(){return{top:0,right:0,bottom:0,left:0}}function Uj(e){return Object.assign({},_j(),e)}function Zj(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var V9e=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Uj(typeof t!="number"?t:Zj(t,J0))};function j9e(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,l=r.modifiersData.popperOffsets,u=Eo(r.placement),c=ib(u),f=[gi,va].indexOf(u)>=0,A=f?"height":"width";if(!(!o||!l)){var p=V9e(i.padding,r),v=nb(o),m=c==="y"?hi:gi,y=c==="y"?ga:va,C=r.rects.reference[A]+r.rects.reference[c]-l[c]-r.rects.popper[A],E=l[c]-r.rects.reference[c],x=q0(o),k=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,P=C/2-E/2,T=p[m],L=k-v[A]-p[y],F=k/2-v[A]/2+P,V=$0(T,F,L),H=c;r.modifiersData[n]=(t={},t[H]=V,t.centerOffset=V-F,t)}}function W9e(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||zj(t.elements.popper,i)&&(t.elements.arrow=i))}const H9e={name:"arrow",enabled:!0,phase:"main",fn:j9e,effect:W9e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hc(e){return e.split("-")[1]}var z9e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G9e(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:jc(r*i)/i||0,y:jc(n*i)/i||0}}function Yj(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,f=e.adaptive,A=e.roundOffsets,p=e.isFixed,v=l.x,m=v===void 0?0:v,y=l.y,C=y===void 0?0:y,E=typeof A=="function"?A({x:m,y:C}):{x:m,y:C};m=E.x,C=E.y;var x=l.hasOwnProperty("x"),k=l.hasOwnProperty("y"),P=gi,T=hi,L=window;if(f){var F=q0(r),V="clientHeight",H="clientWidth";if(F===Ui(r)&&(F=Ys(r),is(F).position!=="static"&&u==="absolute"&&(V="scrollHeight",H="scrollWidth")),F=F,i===hi||(i===gi||i===va)&&o===Q0){T=ga;var _=p&&F===L&&L.visualViewport?L.visualViewport.height:F[V];C-=_-n.height,C*=c?1:-1}if(i===gi||(i===hi||i===ga)&&o===Q0){P=va;var Y=p&&F===L&&L.visualViewport?L.visualViewport.width:F[H];m-=Y-n.width,m*=c?1:-1}}var R=Object.assign({position:u},f&&z9e),W=A===!0?G9e({x:m,y:C},Ui(r)):{x:m,y:C};if(m=W.x,C=W.y,c){var j;return Object.assign({},R,(j={},j[T]=k?"0":"",j[P]=x?"0":"",j.transform=(L.devicePixelRatio||1)<=1?"translate("+m+"px, "+C+"px)":"translate3d("+m+"px, "+C+"px, 0)",j))}return Object.assign({},R,(t={},t[T]=k?C+"px":"",t[P]=x?m+"px":"",t.transform="",t))}function _9e(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,l=o===void 0?!0:o,u=r.roundOffsets,c=u===void 0?!0:u,f={placement:Eo(t.placement),variation:Hc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Yj(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yj(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const U9e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_9e,data:{}};var tg={passive:!0};function Z9e(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,l=n.resize,u=l===void 0?!0:l,c=Ui(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&f.forEach(function(A){A.addEventListener("scroll",r.update,tg)}),u&&c.addEventListener("resize",r.update,tg),function(){o&&f.forEach(function(A){A.removeEventListener("scroll",r.update,tg)}),u&&c.removeEventListener("resize",r.update,tg)}}const Y9e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Z9e,data:{}};var X9e={left:"right",right:"left",bottom:"top",top:"bottom"};function rg(e){return e.replace(/left|right|bottom|top/g,function(t){return X9e[t]})}var J9e={start:"end",end:"start"};function Xj(e){return e.replace(/start|end/g,function(t){return J9e[t]})}function ab(e){var t=Ui(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ob(e){return Wc(Ys(e)).left+ab(e).scrollLeft}function Q9e(e,t){var r=Ui(e),n=Ys(e),i=r.visualViewport,o=n.clientWidth,l=n.clientHeight,u=0,c=0;if(i){o=i.width,l=i.height;var f=Hj();(f||!f&&t==="fixed")&&(u=i.offsetLeft,c=i.offsetTop)}return{width:o,height:l,x:u+ob(e),y:c}}function K9e(e){var t,r=Ys(e),n=ab(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=tu(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=tu(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-n.scrollLeft+ob(e),c=-n.scrollTop;return is(i||r).direction==="rtl"&&(u+=tu(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:l,x:u,y:c}}function sb(e){var t=is(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Jj(e){return["html","body","#document"].indexOf(So(e))>=0?e.ownerDocument.body:ma(e)&&sb(e)?e:Jj(eg(e))}function e1(e,t){var r;t===void 0&&(t=[]);var n=Jj(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ui(n),l=i?[o].concat(o.visualViewport||[],sb(n)?n:[]):n,u=t.concat(l);return i?u:u.concat(e1(eg(l)))}function lb(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function q9e(e,t){var r=Wc(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Qj(e,t,r){return t===Vj?lb(Q9e(e,r)):eu(t)?q9e(t,r):lb(K9e(Ys(e)))}function $9e(e){var t=e1(eg(e)),r=["absolute","fixed"].indexOf(is(e).position)>=0,n=r&&ma(e)?q0(e):e;return eu(n)?t.filter(function(i){return eu(i)&&zj(i,n)&&So(i)!=="body"}):[]}function ebe(e,t,r,n){var i=t==="clippingParents"?$9e(e):[].concat(t),o=[].concat(i,[r]),l=o[0],u=o.reduce(function(c,f){var A=Qj(e,f,n);return c.top=tu(A.top,c.top),c.right=$h(A.right,c.right),c.bottom=$h(A.bottom,c.bottom),c.left=tu(A.left,c.left),c},Qj(e,l,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Kj(e){var t=e.reference,r=e.element,n=e.placement,i=n?Eo(n):null,o=n?Hc(n):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,c;switch(i){case hi:c={x:l,y:t.y-r.height};break;case ga:c={x:l,y:t.y+t.height};break;case va:c={x:t.x+t.width,y:u};break;case gi:c={x:t.x-r.width,y:u};break;default:c={x:t.x,y:t.y}}var f=i?ib(i):null;if(f!=null){var A=f==="y"?"height":"width";switch(o){case Vc:c[f]=c[f]-(t[A]/2-r[A]/2);break;case Q0:c[f]=c[f]+(t[A]/2-r[A]/2);break}}return c}function t1(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,l=o===void 0?e.strategy:o,u=r.boundary,c=u===void 0?y9e:u,f=r.rootBoundary,A=f===void 0?Vj:f,p=r.elementContext,v=p===void 0?K0:p,m=r.altBoundary,y=m===void 0?!1:m,C=r.padding,E=C===void 0?0:C,x=Uj(typeof E!="number"?E:Zj(E,J0)),k=v===K0?C9e:K0,P=e.rects.popper,T=e.elements[y?k:v],L=ebe(eu(T)?T:T.contextElement||Ys(e.elements.popper),c,A,l),F=Wc(e.elements.reference),V=Kj({reference:F,element:P,strategy:"absolute",placement:i}),H=lb(Object.assign({},P,V)),_=v===K0?H:F,Y={top:L.top-_.top+x.top,bottom:_.bottom-L.bottom+x.bottom,left:L.left-_.left+x.left,right:_.right-L.right+x.right},R=e.modifiersData.offset;if(v===K0&&R){var W=R[i];Object.keys(Y).forEach(function(j){var te=[va,ga].indexOf(j)>=0?1:-1,U=[hi,ga].indexOf(j)>=0?"y":"x";Y[j]+=W[U]*te})}return Y}function tbe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,l=r.padding,u=r.flipVariations,c=r.allowedAutoPlacements,f=c===void 0?Wj:c,A=Hc(n),p=A?u?jj:jj.filter(function(y){return Hc(y)===A}):J0,v=p.filter(function(y){return f.indexOf(y)>=0});v.length===0&&(v=p);var m=v.reduce(function(y,C){return y[C]=t1(e,{placement:C,boundary:i,rootBoundary:o,padding:l})[Eo(C)],y},{});return Object.keys(m).sort(function(y,C){return m[y]-m[C]})}function rbe(e){if(Eo(e)===eb)return[];var t=rg(e);return[Xj(e),t,Xj(t)]}function nbe(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,l=r.altAxis,u=l===void 0?!0:l,c=r.fallbackPlacements,f=r.padding,A=r.boundary,p=r.rootBoundary,v=r.altBoundary,m=r.flipVariations,y=m===void 0?!0:m,C=r.allowedAutoPlacements,E=t.options.placement,x=Eo(E),k=x===E,P=c||(k||!y?[rg(E)]:rbe(E)),T=[E].concat(P).reduce(function(ge,se){return ge.concat(Eo(se)===eb?tbe(t,{placement:se,boundary:A,rootBoundary:p,padding:f,flipVariations:y,allowedAutoPlacements:C}):se)},[]),L=t.rects.reference,F=t.rects.popper,V=new Map,H=!0,_=T[0],Y=0;Y<T.length;Y++){var R=T[Y],W=Eo(R),j=Hc(R)===Vc,te=[hi,ga].indexOf(W)>=0,U=te?"width":"height",ie=t1(t,{placement:R,boundary:A,rootBoundary:p,altBoundary:v,padding:f}),Ae=te?j?va:gi:j?ga:hi;L[U]>F[U]&&(Ae=rg(Ae));var me=rg(Ae),fe=[];if(o&&fe.push(ie[W]<=0),u&&fe.push(ie[Ae]<=0,ie[me]<=0),fe.every(function(ge){return ge})){_=R,H=!1;break}V.set(R,fe)}if(H)for(var X=y?3:1,Q=function(se){var ee=T.find(function(ae){var de=V.get(ae);if(de)return de.slice(0,se).every(function(he){return he})});if(ee)return _=ee,"break"},ue=X;ue>0;ue--){var le=Q(ue);if(le==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}const ibe={name:"flip",enabled:!0,phase:"main",fn:nbe,requiresIfExists:["offset"],data:{_skip:!1}};function qj(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function $j(e){return[hi,va,ga,gi].some(function(t){return e[t]>=0})}function abe(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,l=t1(t,{elementContext:"reference"}),u=t1(t,{altBoundary:!0}),c=qj(l,n),f=qj(u,i,o),A=$j(c),p=$j(f);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:A,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":A,"data-popper-escaped":p})}const obe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:abe};function sbe(e,t,r){var n=Eo(e),i=[gi,hi].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=o[0],u=o[1];return l=l||0,u=(u||0)*i,[gi,va].indexOf(n)>=0?{x:u,y:l}:{x:l,y:u}}function lbe(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,l=Wj.reduce(function(A,p){return A[p]=sbe(p,t.rects,o),A},{}),u=l[t.placement],c=u.x,f=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=l}const ube={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lbe};function cbe(e){var t=e.state,r=e.name;t.modifiersData[r]=Kj({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const dbe={name:"popperOffsets",enabled:!0,phase:"read",fn:cbe,data:{}};function fbe(e){return e==="x"?"y":"x"}function Abe(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,l=r.altAxis,u=l===void 0?!1:l,c=r.boundary,f=r.rootBoundary,A=r.altBoundary,p=r.padding,v=r.tether,m=v===void 0?!0:v,y=r.tetherOffset,C=y===void 0?0:y,E=t1(t,{boundary:c,rootBoundary:f,padding:p,altBoundary:A}),x=Eo(t.placement),k=Hc(t.placement),P=!k,T=ib(x),L=fbe(T),F=t.modifiersData.popperOffsets,V=t.rects.reference,H=t.rects.popper,_=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,Y=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(F){if(o){var j,te=T==="y"?hi:gi,U=T==="y"?ga:va,ie=T==="y"?"height":"width",Ae=F[T],me=Ae+E[te],fe=Ae-E[U],X=m?-H[ie]/2:0,Q=k===Vc?V[ie]:H[ie],ue=k===Vc?-H[ie]:-V[ie],le=t.elements.arrow,ge=m&&le?nb(le):{width:0,height:0},se=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:_j(),ee=se[te],ae=se[U],de=$0(0,V[ie],ge[ie]),he=P?V[ie]/2-X-de-ee-Y.mainAxis:Q-de-ee-Y.mainAxis,Pe=P?-V[ie]/2+X+de+ae+Y.mainAxis:ue+de+ae+Y.mainAxis,we=t.elements.arrow&&q0(t.elements.arrow),ye=we?T==="y"?we.clientTop||0:we.clientLeft||0:0,Ge=(j=R==null?void 0:R[T])!=null?j:0,$e=Ae+he-Ge-ye,Ue=Ae+Pe-Ge,Rr=$0(m?$h(me,$e):me,Ae,m?tu(fe,Ue):fe);F[T]=Rr,W[T]=Rr-Ae}if(u){var Ye,tr=T==="x"?hi:gi,G=T==="x"?ga:va,mt=F[L],It=L==="y"?"height":"width",Ut=mt+E[tr],ut=mt-E[G],on=[hi,gi].indexOf(x)!==-1,Gr=(Ye=R==null?void 0:R[L])!=null?Ye:0,Ja=on?Ut:mt-V[It]-H[It]-Gr+Y.altAxis,Mr=on?mt+V[It]+H[It]-Gr-Y.altAxis:ut,rr=m&&on?F9e(Ja,mt,Mr):$0(m?Ja:Ut,mt,m?Mr:ut);F[L]=rr,W[L]=rr-mt}t.modifiersData[n]=W}}const pbe={name:"preventOverflow",enabled:!0,phase:"main",fn:Abe,requiresIfExists:["offset"]};function hbe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function gbe(e){return e===Ui(e)||!ma(e)?ab(e):hbe(e)}function vbe(e){var t=e.getBoundingClientRect(),r=jc(t.width)/e.offsetWidth||1,n=jc(t.height)/e.offsetHeight||1;return r!==1||n!==1}function mbe(e,t,r){r===void 0&&(r=!1);var n=ma(t),i=ma(t)&&vbe(t),o=Ys(t),l=Wc(e,i,r),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((So(t)!=="body"||sb(o))&&(u=gbe(t)),ma(t)?(c=Wc(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=ob(o))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function bbe(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var c=t.get(u);c&&i(c)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function ybe(e){var t=bbe(e);return M9e.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Cbe(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function wbe(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var eW={placement:"bottom",modifiers:[],strategy:"absolute"};function tW(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function xbe(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?eW:i;return function(u,c,f){f===void 0&&(f=o);var A={placement:"bottom",orderedModifiers:[],options:Object.assign({},eW,o),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},p=[],v=!1,m={state:A,setOptions:function(x){var k=typeof x=="function"?x(A.options):x;C(),A.options=Object.assign({},o,A.options,k),A.scrollParents={reference:eu(u)?e1(u):u.contextElement?e1(u.contextElement):[],popper:e1(c)};var P=ybe(wbe([].concat(n,A.options.modifiers)));return A.orderedModifiers=P.filter(function(T){return T.enabled}),y(),m.update()},forceUpdate:function(){if(!v){var x=A.elements,k=x.reference,P=x.popper;if(tW(k,P)){A.rects={reference:mbe(k,q0(P),A.options.strategy==="fixed"),popper:nb(P)},A.reset=!1,A.placement=A.options.placement,A.orderedModifiers.forEach(function(Y){return A.modifiersData[Y.name]=Object.assign({},Y.data)});for(var T=0;T<A.orderedModifiers.length;T++){if(A.reset===!0){A.reset=!1,T=-1;continue}var L=A.orderedModifiers[T],F=L.fn,V=L.options,H=V===void 0?{}:V,_=L.name;typeof F=="function"&&(A=F({state:A,options:H,name:_,instance:m})||A)}}}},update:Cbe(function(){return new Promise(function(E){m.forceUpdate(),E(A)})}),destroy:function(){C(),v=!0}};if(!tW(u,c))return m;m.setOptions(f).then(function(E){!v&&f.onFirstUpdate&&f.onFirstUpdate(E)});function y(){A.orderedModifiers.forEach(function(E){var x=E.name,k=E.options,P=k===void 0?{}:k,T=E.effect;if(typeof T=="function"){var L=T({state:A,name:x,instance:m,options:P}),F=function(){};p.push(L||F)}})}function C(){p.forEach(function(E){return E()}),p=[]}return m}}var Sbe=[Y9e,dbe,U9e,N9e,ube,ibe,pbe,H9e,obe],Ebe=xbe({defaultModifiers:Sbe}),Ibe=typeof Element<"u",kbe=typeof Map=="function",Obe=typeof Set=="function",Pbe=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ng(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!ng(e[n],t[n]))return!1;return!0}var o;if(kbe&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!ng(n.value[1],t.get(n.value[0])))return!1;return!0}if(Obe&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Pbe&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(Ibe&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!ng(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var Tbe=function(t,r){try{return ng(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const Mbe=na(Tbe);var Lbe=[],Dbe=function(t,r,n){n===void 0&&(n={});var i=Re.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Lbe},l=Re.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),u=l[0],c=l[1],f=Re.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(m){var y=m.state,C=Object.keys(y.elements);wH.flushSync(function(){c({styles:Rj(C.map(function(E){return[E,y.styles[E]||{}]})),attributes:Rj(C.map(function(E){return[E,y.attributes[E]]}))})})},requires:["computeStyles"]}},[]),A=Re.useMemo(function(){var v={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[f,{name:"applyStyles",enabled:!1}])};return Mbe(i.current,v)?i.current||v:(i.current=v,v)},[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,f]),p=Re.useRef();return Fj(function(){p.current&&p.current.setOptions(A)},[A]),Fj(function(){if(!(t==null||r==null)){var v=n.createPopper||Ebe,m=v(t,r,A);return p.current=m,function(){m.destroy(),p.current=null}}},[t,r,n.createPopper]),{state:p.current?p.current.state:null,styles:u.styles,attributes:u.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},Nbe=function(){},Bbe=function(){return Promise.resolve(null)},Rbe=[];function rW(e){var t=e.placement,r=t===void 0?"bottom":t,n=e.strategy,i=n===void 0?"absolute":n,o=e.modifiers,l=o===void 0?Rbe:o,u=e.referenceElement,c=e.onFirstUpdate,f=e.innerRef,A=e.children,p=Re.useContext(g9e),v=Re.useState(null),m=v[0],y=v[1],C=Re.useState(null),E=C[0],x=C[1];Re.useEffect(function(){b9e(f,m)},[f,m]);var k=Re.useMemo(function(){return{placement:r,strategy:i,onFirstUpdate:c,modifiers:[].concat(l,[{name:"arrow",enabled:E!=null,options:{element:E}}])}},[r,i,c,l,E]),P=Dbe(u||p,m,k),T=P.state,L=P.styles,F=P.forceUpdate,V=P.update,H=Re.useMemo(function(){return{ref:y,style:L.popper,placement:T?T.placement:r,hasPopperEscaped:T&&T.modifiersData.hide?T.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:T&&T.modifiersData.hide?T.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:L.arrow,ref:x},forceUpdate:F||Nbe,update:V||Bbe}},[y,x,r,T,L,V,F]);return v9e(A)(H)}const r1=({children:e})=>{const[t]=I.useState(()=>document.createElement("div"));return I.useEffect(()=>{try{document.body.appendChild(t)}catch(r){console.log(r)}return()=>{try{document.body.removeChild(t)}catch(r){console.log(r)}}},[]),Hu.createPortal(e,t)},Fbe=q.div`
|
|
2525
2525
|
z-index: 5;
|
|
2526
2526
|
`,ub=({placement:e,wrapper:t,children:r,onClose:n,parentRef:i})=>{const o=Vo({onClose:n,parentRef:i}),l=t||Fbe;return g.jsx(r1,{children:g.jsx("div",{ref:o,children:g.jsx(rW,{innerRef:o,referenceElement:i.current,placement:e,children:({ref:u,style:c})=>g.jsx(l,{ref:u,style:c,children:r})})})})},Vbe=q.div`
|
|
2527
2527
|
display: block;
|