!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="389b89c6-7baa-54dc-afb3-c6b50ee0dcff")}catch(e){}}(); (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5384],{6026:function(e,t){var n,r,o;o=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{function t(e,t,n){function r(){var u=Date.now()-s;u=0?o=setTimeout(r,t-u):(o=null,n||(c=e.apply(a,i),a=i=null))}null==t&&(t=100);var o,i,a,s,c,u=function(){a=this,i=arguments,s=Date.now();var u=n&&!o;return o||(o=setTimeout(r,t)),u&&(c=e.apply(a,i),a=i=null),c};return u.clear=function(){o&&(clearTimeout(o),o=null)},u.flush=function(){o&&(c=e.apply(a,i),a=i=null,clearTimeout(o),o=null)},u}t.debounce=t,e.exports=t},18629:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,i){try{return function e(i,a){if(i===a)return!0;if(i&&a&&"object"==typeof i&&"object"==typeof a){var s,c,u,f;if(i.constructor!==a.constructor)return!1;if(Array.isArray(i)){if((s=i.length)!=a.length)return!1;for(c=s;0!=c--;)if(!e(i[c],a[c]))return!1;return!0}if(n&&i instanceof Map&&a instanceof Map){if(i.size!==a.size)return!1;for(f=i.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;for(f=i.entries();!(c=f.next()).done;)if(!e(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&i instanceof Set&&a instanceof Set){if(i.size!==a.size)return!1;for(f=i.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(a)){if((s=i.length)!=a.length)return!1;for(c=s;0!=c--;)if(i[c]!==a[c])return!1;return!0}if(i.constructor===RegExp)return i.source===a.source&&i.flags===a.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===a.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===a.toString();if((s=(u=Object.keys(i)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(t&&i instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!i.$$typeof)&&!e(i[u[c]],a[u[c]]))return!1;return!0}return i!=i&&a!=a}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},6003:(e,t,n)=>{"use strict";n.d(t,{E:()=>ei});var r=n(72303);function o(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function i(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function s(e){var t=i(e).Element;return e instanceof t||e instanceof Element}function c(e){var t=i(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function u(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){return((s(e)?e.ownerDocument:e.document)||window.document).documentElement}function l(e){return o(f(e)).left+a(e).scrollLeft}function p(e){return i(e).getComputedStyle(e)}function d(e){var t=p(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function m(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function h(e){return"html"===u(e)?e:e.assignedSlot||e.parentNode||e.host||f(e)}function v(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(u(t))>=0?t.ownerDocument.body:c(t)&&d(t)?t:e(h(t))}(e),r="body"===u(n),o=i(n),a=r?[o].concat(o.visualViewport||[],d(n)?n:[]):n,s=t.concat(a);return r?s:s.concat(v(h(a)))}function g(e){if(!c(e)||"fixed"===p(e).position)return null;var t=e.offsetParent;if(t){var n=f(t);if("body"===u(t)&&"static"===p(t).position&&"static"!==p(n).position)return n}return t}function y(e){for(var t=i(e),n=g(e);n&&["table","td","th"].indexOf(u(n))>=0&&"static"===p(n).position;)n=g(n);return n&&"body"===u(n)&&"static"===p(n).position?t:n||function(e){for(var t=h(e);c(t)&&0>["html","body"].indexOf(u(t));){var n=p(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var b="bottom",w="right",O="left",x="auto",E=["top",b,w,O],j="start",M="viewport",S="popper",L=E.reduce(function(e,t){return e.concat([t+"-"+j,t+"-end"])},[]),D=[].concat(E,[x]).reduce(function(e,t){return e.concat([t,t+"-"+j,t+"-end"])},[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],A={placement:"bottom",modifiers:[],strategy:"absolute"};function R(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function C(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?T(o):null,a=o?P(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case b:t={x:s,y:n.y+n.height};break;case w:t={x:n.x+n.width,y:c};break;case O:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?z(i):null;if(null!=u){var f="y"===u?"height":"width";switch(a){case j:t[u]=Math.floor(t[u])-Math.floor(n[f]/2-r[f]/2);break;case"end":t[u]=Math.floor(t[u])+Math.ceil(n[f]/2-r[f]/2)}}return t}var W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _(e){var t,n,r,o,a,s=e.popper,c=e.popperRect,u=e.placement,l=e.offsets,p=e.position,d=e.gpuAcceleration,m=e.adaptive,h=(t=l.x,n=l.y,{x:Math.round(t*(r=window.devicePixelRatio||1))/r||0,y:Math.round(n*r)/r||0}),v=h.x,g=h.y,x=l.hasOwnProperty("x"),E=l.hasOwnProperty("y"),j=O,M="top",S=window;if(m){var L=y(s);L===i(s)&&(L=f(s)),"top"===u&&(M=b,g-=L.clientHeight-c.height,g*=d?1:-1),u===O&&(j=w,v-=L.clientWidth-c.width,v*=d?1:-1)}var D=Object.assign({position:p},m&&W);return d?Object.assign(Object.assign({},D),{},((a={})[M]=E?"0":"",a[j]=x?"0":"",a.transform=2>(S.devicePixelRatio||1)?"translate("+v+"px, "+g+"px)":"translate3d("+v+"px, "+g+"px, 0)",a)):Object.assign(Object.assign({},D),{},((o={})[M]=E?g+"px":"",o[j]=x?v+"px":"",o.transform="",o))}var H={left:"right",right:"left",bottom:"top",top:"bottom"};function q(e){return e.replace(/left|right|bottom|top/g,function(e){return H[e]})}var I={start:"end",end:"start"};function U(e){return e.replace(/start|end/g,function(e){return I[e]})}function V(e,t){var n,r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&(n=i(r).ShadowRoot,r instanceof n||r instanceof ShadowRoot)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function N(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function F(e,t){var n,r,s,u,d,m,h,v,g,y,b,w,O,x,E,j;return t===M?N((n=i(e),r=f(e),s=n.visualViewport,u=r.clientWidth,d=r.clientHeight,m=0,h=0,s&&(u=s.width,d=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(m=s.offsetLeft,h=s.offsetTop)),{width:u,height:d,x:m+l(e),y:h})):c(t)?((v=o(t)).top=v.top+t.clientTop,v.left=v.left+t.clientLeft,v.bottom=v.top+t.clientHeight,v.right=v.left+t.clientWidth,v.width=t.clientWidth,v.height=t.clientHeight,v.x=v.left,v.y=v.top,v):N((g=f(e),y=f(g),b=a(g),w=g.ownerDocument.body,O=Math.max(y.scrollWidth,y.clientWidth,w?w.scrollWidth:0,w?w.clientWidth:0),x=Math.max(y.scrollHeight,y.clientHeight,w?w.scrollHeight:0,w?w.clientHeight:0),E=-b.scrollLeft+l(g),j=-b.scrollTop,"rtl"===p(w||y).direction&&(E+=Math.max(y.clientWidth,w?w.clientWidth:0)-O),{width:O,height:x,x:E,y:j}))}function Y(){return{top:0,right:0,bottom:0,left:0}}function X(e){return Object.assign(Object.assign({},Y()),e)}function $(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function G(e,t){void 0===t&&(t={});var n,r,i,a,l,d,m,g,O=t,x=O.placement,j=void 0===x?e.placement:x,L=O.boundary,D=O.rootBoundary,B=O.elementContext,A=void 0===B?S:B,R=O.altBoundary,k=O.padding,T=void 0===k?0:k,P=X("number"!=typeof T?T:$(T,E)),z=e.elements.reference,W=e.rects.popper,_=e.elements[void 0!==R&&R?A===S?"reference":S:A],H=(n=s(_)?_:_.contextElement||f(e.elements.popper),r=void 0===L?"clippingParents":L,i=void 0===D?M:D,m=(d=[].concat("clippingParents"===r?(a=v(h(n)),s(l=["absolute","fixed"].indexOf(p(n).position)>=0&&c(n)?y(n):n)?a.filter(function(e){return s(e)&&V(e,l)&&"body"!==u(e)}):[]):[].concat(r),[i]))[0],(g=d.reduce(function(e,t){var r=F(n,t);return e.top=Math.max(r.top,e.top),e.right=Math.min(r.right,e.right),e.bottom=Math.min(r.bottom,e.bottom),e.left=Math.max(r.left,e.left),e},F(n,m))).width=g.right-g.left,g.height=g.bottom-g.top,g.x=g.left,g.y=g.top,g),q=o(z),I=C({reference:q,element:W,strategy:"absolute",placement:j}),U=N(Object.assign(Object.assign({},W),I)),Y=A===S?U:q,G={top:H.top-Y.top+P.top,bottom:Y.bottom-H.bottom+P.bottom,left:H.left-Y.left+P.left,right:Y.right-H.right+P.right},J=e.modifiersData.offset;if(A===S&&J){var K=J[j];Object.keys(G).forEach(function(e){var t=[w,b].indexOf(e)>=0?1:-1,n=["top",b].indexOf(e)>=0?"y":"x";G[e]+=K[n]*t})}return G}function J(e,t,n){return Math.max(e,Math.min(t,n))}function K(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Q(e){return["top",w,b,O].some(function(t){return e[t]>=0})}var Z=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,p=t.defaultOptions,h=void 0===p?A:p;return function(e,t,n){void 0===n&&(n=h);var p,g,b={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},A),h),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},w=[],O=!1,x={state:b,setOptions:function(n){E(),b.options=Object.assign(Object.assign(Object.assign({},h),b.options),n),b.scrollParents={reference:s(e)?v(e):e.contextElement?v(e.contextElement):[],popper:v(t)};var o,i,a,c,u,f=(i=Object.keys(o=[].concat(r,b.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e},{})).map(function(e){return o[e]}),a=new Map,c=new Set,u=[],i.forEach(function(e){a.set(e.name,e)}),i.forEach(function(e){c.has(e.name)||function e(t){c.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!c.has(t)){var n=a.get(t);n&&e(n)}}),u.push(t)}(e)}),B.reduce(function(e,t){return e.concat(u.filter(function(e){return e.phase===t}))},[]));return b.orderedModifiers=f.filter(function(e){return e.enabled}),b.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:b,name:t,instance:x,options:void 0===n?{}:n});w.push(o||function(){})}}),x.update()},forceUpdate:function(){if(!O){var e,t,n,r,s,p,h,v,g=b.elements,w=g.reference,E=g.popper;if(R(w,E)){b.rects={reference:(t=y(E),n="fixed"===b.options.strategy,r=f(t),s=o(w),p=c(t),h={scrollLeft:0,scrollTop:0},v={x:0,y:0},(p||!p&&!n)&&(("body"!==u(t)||d(r))&&(h=(e=t)!==i(e)&&c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:a(e)),c(t)?(v=o(t),v.x+=t.clientLeft,v.y+=t.clientTop):r&&(v.x=l(r))),{x:s.left+h.scrollLeft-v.x,y:s.top+h.scrollTop-v.y,width:s.width,height:s.height}),popper:m(E)},b.reset=!1,b.placement=b.options.placement,b.orderedModifiers.forEach(function(e){return b.modifiersData[e.name]=Object.assign({},e.data)});for(var j=0;j=0?-1:1,c=(s="function"==typeof i?i(Object.assign(Object.assign({},r),{},{placement:n})):i)[0],u=s[1],c=c||0,u=(u||0)*a,[O,w].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,f=n.boundary,l=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=void 0===d||d,h=n.allowedAutoPlacements,v=t.options.placement,g=T(v)===v,y=c||(g||!m?[q(v)]:function(e){if(T(e)===x)return[];var t=q(e);return[U(e),t,U(t)]}(v)),M=[v].concat(y).reduce(function(e,n){var r,o,i,a,s,c,p,d,v,g,y,b;return e.concat(T(n)===x?(o=(r={placement:n,boundary:f,rootBoundary:l,padding:u,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,d=void 0===(p=r.allowedAutoPlacements)?D:p,0===(y=(g=(v=P(o))?c?L:L.filter(function(e){return P(e)===v}):E).filter(function(e){return d.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,n){return e[n]=G(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[T(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),S=t.rects.reference,B=t.rects.popper,A=new Map,R=!0,k=M[0],z=0;z=0,I=H?"width":"height",V=G(t,{placement:C,boundary:f,rootBoundary:l,altBoundary:p,padding:u}),N=H?_?w:O:_?b:"top";S[I]>B[I]&&(N=q(N));var F=q(N),Y=[];if(i&&Y.push(V[W]<=0),s&&Y.push(V[N]<=0,V[F]<=0),Y.every(function(e){return e})){k=C,R=!1;break}A.set(C,Y)}if(R)for(var X=m?3:1,$=function(e){var t=M.find(function(t){var n=A.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},J=X;J>0&&"break"!==$(J);J--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.padding,f=n.tether,l=void 0===f||f,p=n.tetherOffset,d=void 0===p?0:p,h=G(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:c}),v=T(t.placement),g=P(t.placement),x=!g,E=z(v),M="x"===E?"y":"x",S=t.modifiersData.popperOffsets,L=t.rects.reference,D=t.rects.popper,B="function"==typeof d?d(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):d,A={x:0,y:0};if(S){if(void 0===o||o){var R="y"===E?"top":O,k="y"===E?b:w,C="y"===E?"height":"width",W=S[E],_=S[E]+h[R],H=S[E]-h[k],q=l?-D[C]/2:0,I=g===j?L[C]:D[C],U=g===j?-D[C]:-L[C],V=t.elements.arrow,N=l&&V?m(V):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Y(),X=F[R],$=F[k],K=J(0,L[C],N[C]),Q=x?L[C]/2-q-K-X-B:I-K-X-B,Z=x?-L[C]/2+q+K+$+B:U+K+$+B,ee=t.elements.arrow&&y(t.elements.arrow),et=ee?"y"===E?ee.clientTop||0:ee.clientLeft||0:0,en=t.modifiersData.offset?t.modifiersData.offset[t.placement][E]:0,er=S[E]+Q-en-et,eo=S[E]+Z-en,ei=J(l?Math.min(_,er):_,W,l?Math.max(H,eo):H);S[E]=ei,A[E]=ei-W}if(void 0!==i&&i){var ea="x"===E?"top":O,es="x"===E?b:w,ec=S[M],eu=ec+h[ea],ef=ec-h[es],el=J(eu,ec,ef);S[M]=el,A[M]=el-ec}t.modifiersData[r]=A}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=T(n.placement),s=z(a),c=[O,w].indexOf(a)>=0?"height":"width";if(o&&i){var u=n.modifiersData[r+"#persistent"].padding,f=m(o),l="y"===s?"top":O,p="y"===s?b:w,d=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],v=y(o),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,x=u[l],E=g-f[c]-u[p],j=g/2-f[c]/2+(d/2-h/2),M=J(x,j,E);n.modifiersData[r]=((t={})[s]=M,t.centerOffset=M-j,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,s=void 0===a?0:a;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&V(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:X("number"!=typeof s?s:$(s,E))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=G(t,{elementContext:"reference"}),s=G(t,{altBoundary:!0}),c=K(a,r),u=K(s,o,i),f=Q(c),l=Q(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:l},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]}),ee=n(18629),et=n.n(ee),en=function(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e},{})},er="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,eo=[],ei=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||eo},a=r.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"}},attributes:{}}),s=a[0],c=a[1],u=r.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);c({styles:en(n.map(function(e){return[e,t.styles[e]||{}]})),attributes:en(n.map(function(e){return[e,t.attributes[e]]}))})},requires:["computeStyles"]}},[]),f=r.useMemo(function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[u,{name:"applyStyles",enabled:!1}])};return et()(o.current,e)?o.current||e:(o.current=e,e)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,u]),l=r.useRef();return er(function(){l.current&&l.current.setOptions(f)},[f]),er(function(){if(null!=e&&null!=t){var r=(n.createPopper||Z)(e,t,f);return l.current=r,function(){r.destroy(),l.current=null}}},[e,t,n.createPopper]),{state:l.current?l.current.state:null,styles:s.styles,attributes:s.attributes,update:l.current?l.current.update:null,forceUpdate:l.current?l.current.forceUpdate:null}}},40106:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(72303),o=n(4560),i=n.n(o);function a(e){var t;let{debounce:n,scroll:o,polyfill:a,offsetSize:s}=void 0===e?{debounce:0,scroll:!1,offsetSize:!1}:e,u=a||("undefined"==typeof window?class{}:window.ResizeObserver);if(!u)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[f,l]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),p=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:f}),d=n?"number"==typeof n?n:n.scroll:null,m=n?"number"==typeof n?n:n.resize:null,h=(0,r.useRef)(!1);(0,r.useEffect)(()=>(h.current=!0,()=>void(h.current=!1)));let[v,g,y]=(0,r.useMemo)(()=>{let e=()=>{if(!p.current.element)return;let{left:e,top:t,width:n,height:r,bottom:o,right:i,x:a,y:u}=p.current.element.getBoundingClientRect(),f={left:e,top:t,width:n,height:r,bottom:o,right:i,x:a,y:u};p.current.element instanceof HTMLElement&&s&&(f.height=p.current.element.offsetHeight,f.width=p.current.element.offsetWidth),Object.freeze(f),h.current&&!c(p.current.lastBounds,f)&&l(p.current.lastBounds=f)};return[e,m?i()(e,m):e,d?i()(e,d):e]},[l,s,d,m]);function b(){p.current.scrollContainers&&(p.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",y,!0)),p.current.scrollContainers=null),p.current.resizeObserver&&(p.current.resizeObserver.disconnect(),p.current.resizeObserver=null)}function w(){p.current.element&&(p.current.resizeObserver=new u(y),p.current.resizeObserver.observe(p.current.element),o&&p.current.scrollContainers&&p.current.scrollContainers.forEach(e=>e.addEventListener("scroll",y,{capture:!0,passive:!0})))}return t=!!o,(0,r.useEffect)(()=>{if(t)return window.addEventListener("scroll",y,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",y,!0)},[y,t]),(0,r.useEffect)(()=>(window.addEventListener("resize",g),()=>void window.removeEventListener("resize",g)),[g]),(0,r.useEffect)(()=>{b(),w()},[o,y,g]),(0,r.useEffect)(()=>b,[]),[e=>{e&&e!==p.current.element&&(b(),p.current.element=e,p.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:r,overflowX:o,overflowY:i}=window.getComputedStyle(t);return[r,o,i].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),w())},f,v]}let s=["x","y","top","bottom","left","right","width","height"],c=(e,t)=>s.every(n=>e[n]===t[n])},88138:(e,t,n)=>{"use strict";n.d(t,{Vz:()=>s,cz:()=>c,lr:()=>u});var r=n(72303);function o(){return(o=Object.assign||function(e){for(var t=1;t