"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6839],{U9P0:function(e,t,n){n.d(t,{Z:function(){return E}});var r=n("Istr"),o=n("q1tI"),i="right-scroll-bar-position",c="width-before-scroll-bar",a=n("DDpl"),l=(0,n("+8i8")._)(),nothing=function(){},u=o.forwardRef(function(e,t){var n=o.useRef(null),i=o.useState({onScrollCapture:nothing,onWheelCapture:nothing,onTouchMoveCapture:nothing}),c=i[0],u=i[1],s=e.forwardProps,d=e.children,f=e.className,h=e.removeScrollBar,p=e.enabled,v=e.shards,g=e.sideCar,m=e.noIsolation,b=e.inert,y=e.allowPinchZoom,w=e.as,S=void 0===w?"div":w,E=e.gapMode,R=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=(0,a.q)([n,t]),C=(0,r.pi)((0,r.pi)({},R),c);return o.createElement(o.Fragment,null,p&&o.createElement(g,{sideCar:l,removeScrollBar:h,shards:v,noIsolation:m,inert:b,setCallbacks:u,allowPinchZoom:!!y,lockRef:n,gapMode:E}),s?o.cloneElement(o.Children.only(d),(0,r.pi)((0,r.pi)({},C),{ref:O})):o.createElement(S,(0,r.pi)({},C,{className:f,ref:O}),d))});u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u.classNames={fullWidth:c,zeroRight:i};var s=n("uA/v"),d=n("CiFN"),f={left:0,top:0,right:0,gap:0},parse=function(e){return parseInt(e||"",10)||0},getOffset=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[parse(n),parse(r),parse(o)]},getGapWidth=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return f;var t=getOffset(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},h=(0,d.Ws)(),p="data-scroll-locked",getStyles=function(e,t,n,r){var o=e.left,a=e.top,l=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(p,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(i," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(c," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(i," .").concat(i," {\n right: 0 ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(p,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},getCurrentUseCounter=function(){var e=parseInt(document.body.getAttribute(p)||"0",10);return isFinite(e)?e:0},useLockAttribute=function(){o.useEffect(function(){return document.body.setAttribute(p,(getCurrentUseCounter()+1).toString()),function(){var e=getCurrentUseCounter()-1;e<=0?document.body.removeAttribute(p):document.body.setAttribute(p,e.toString())}},[])},RemoveScrollBar=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;useLockAttribute();var c=o.useMemo(function(){return getGapWidth(i)},[i]);return o.createElement(h,{styles:getStyles(c,!t,i,n?"":"!important")})},v=!1;if("undefined"!=typeof window)try{var g=Object.defineProperty({},"passive",{get:function(){return v=!0,!0}});window.addEventListener("test",g,g),window.removeEventListener("test",g,g)}catch(e){v=!1}var m=!!v&&{passive:!1},elementCanBeScrolled=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},locationCouldBeScrolled=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),elementCouldBeScrolled(e,r)){var o=getScrollVariables(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},elementCouldBeScrolled=function(e,t){return"v"===e?elementCanBeScrolled(t,"overflowY"):elementCanBeScrolled(t,"overflowX")},getScrollVariables=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},handleScroll=function(e,t,n,r,o){var i,c=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=c*r,l=n.target,u=t.contains(l),s=!1,d=a>0,f=0,h=0;do{var p=getScrollVariables(e,l),v=p[0],g=p[1]-p[2]-c*v;(v||g)&&elementCouldBeScrolled(e,l)&&(f+=g,h+=v),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(o&&1>Math.abs(f)||!o&&a>f)?s=!0:!d&&(o&&1>Math.abs(h)||!o&&-a>h)&&(s=!0),s},getTouchXY=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},getDeltaXY=function(e){return[e.deltaX,e.deltaY]},extractRef=function(e){return e&&"current"in e?e.current:e},b=0,y=[],w=(0,s.L)(l,function(e){var t=o.useRef([]),n=o.useRef([0,0]),i=o.useRef(),c=o.useState(b++)[0],a=o.useState(d.Ws)[0],l=o.useRef(e);o.useEffect(function(){l.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(c));var t=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(extractRef),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(c))}),function(){document.body.classList.remove("block-interactivity-".concat(c)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(c))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var r,o=getTouchXY(e),c=n.current,a="deltaX"in e?e.deltaX:c[0]-o[0],u="deltaY"in e?e.deltaY:c[1]-o[1],s=e.target,d=Math.abs(a)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=locationCouldBeScrolled(d,s);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=locationCouldBeScrolled(d,s)),!f)return!1;if(!i.current&&"changedTouches"in e&&(a||u)&&(i.current=r),!r)return!0;var h=i.current||r;return handleScroll(h,t,e,"h"===h?a:u,!0)},[]),s=o.useCallback(function(e){if(y.length&&y[y.length-1]===a){var n="deltaY"in e?getDeltaXY(e):getTouchXY(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map(extractRef).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),f=o.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),h=o.useCallback(function(e){n.current=getTouchXY(e),i.current=void 0},[]),p=o.useCallback(function(t){f(t.type,getDeltaXY(t),t.target,u(t,e.lockRef.current))},[]),v=o.useCallback(function(t){f(t.type,getTouchXY(t),t.target,u(t,e.lockRef.current))},[]);o.useEffect(function(){return y.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:v}),document.addEventListener("wheel",s,m),document.addEventListener("touchmove",s,m),document.addEventListener("touchstart",h,m),function(){y=y.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,m),document.removeEventListener("touchmove",s,m),document.removeEventListener("touchstart",h,m)}},[]);var g=e.removeScrollBar,w=e.inert;return o.createElement(o.Fragment,null,w?o.createElement(a,{styles:"\n .block-interactivity-".concat(c," {pointer-events: none;}\n .allow-interactivity-").concat(c," {pointer-events: all;}\n")}):null,g?o.createElement(RemoveScrollBar,{gapMode:e.gapMode}):null)}),S=o.forwardRef(function(e,t){return o.createElement(u,(0,r.pi)({},e,{ref:t,sideCar:w}))});S.classNames=u.classNames;var E=S},Mlv5:function(e,t,n){n.d(t,{ZP:function(){return C}});var r=n("q1tI"),o=n("i8i4"),extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},isObject_1=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},c="object"==typeof i&&i&&i.Object===Object&&i,a="object"==typeof self&&self&&self.Object===Object&&self,l=c||a||Function("return this")(),u=/\s/,trimmedEndIndex=function(e){for(var t=e.length;t--&&u.test(e.charAt(t)););return t},s=/^\s+/,d=l.Symbol,f=Object.prototype,h=f.hasOwnProperty,p=f.toString,v=d?d.toStringTag:void 0,g=Object.prototype.toString,getRawTag=function(e){var t=h.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(e){}var o=p.call(e);return r&&(t?e[v]=n:delete e[v]),o},m=d?d.toStringTag:void 0,isSymbol=function(e){var t;return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==(null==(t=e)?void 0===t?"[object Undefined]":"[object Null]":m&&m in Object(t)?getRawTag(t):g.call(t))},b=0/0,y=/^[-+]0x[0-9a-f]+$/i,w=/^0b[01]+$/i,S=/^0o[0-7]+$/i,E=parseInt,now=function(){return l.Date.now()},toNumber=function(e){if("number"==typeof e)return e;if(isSymbol(e))return b;if(isObject_1(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=isObject_1(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,trimmedEndIndex(t)+1).replace(s,""):t;var r=w.test(e);return r||S.test(e)?E(e.slice(2),r?2:8):y.test(e)?b:+e},R=Math.max,O=Math.min,debounce_1=function(e,t,n){var r,o,i,c,a,l,u=0,s=!1,d=!1,f=!0;if("function"!=typeof e)throw TypeError("Expected a function");function invokeFunc(t){var n=r,i=o;return r=o=void 0,u=t,c=e.apply(i,n)}function shouldInvoke(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||d&&r>=i}function timerExpired(){var e,n,r,o=now();if(shouldInvoke(o))return trailingEdge(o);a=setTimeout(timerExpired,(e=o-l,n=o-u,r=t-e,d?O(r,i-n):r))}function trailingEdge(e){return(a=void 0,f&&r)?invokeFunc(e):(r=o=void 0,c)}function debounced(){var e,n=now(),i=shouldInvoke(n);if(r=arguments,o=this,l=n,i){if(void 0===a)return u=e=l,a=setTimeout(timerExpired,t),s?invokeFunc(e):c;if(d)return clearTimeout(a),a=setTimeout(timerExpired,t),invokeFunc(l)}return void 0===a&&(a=setTimeout(timerExpired,t)),c}return t=toNumber(t)||0,isObject_1(n)&&(s=!!n.leading,i=(d="maxWait"in n)?R(toNumber(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f),debounced.cancel=function(){void 0!==a&&clearTimeout(a),u=0,r=l=o=a=void 0},debounced.flush=function(){return void 0===a?c:trailingEdge(now())},debounced},throttle_1=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return isObject_1(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),debounce_1(e,t,{leading:r,maxWait:t,trailing:o})},patchResizeHandler=function(e,t,n,r){switch(t){case"debounce":return debounce_1(e,n,r);case"throttle":return throttle_1(e,n,r);default:return e}},isFunction=function(e){return"function"==typeof e},isSSR=function(){return"undefined"==typeof window},isDOMElement=function(e){return e instanceof Element||e instanceof HTMLDocument},C=function(e){function ResizeDetector(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,r=e.observerOptions;if(!isSSR()){t&&t.current&&(n.targetRef.current=t.current);var o=n.getElement();o&&(!n.observableElement||n.observableElement!==o)&&(n.observableElement=o,n.resizeObserver.observe(o,r))}},n.getElement=function(){var e=n.props,t=e.querySelector,r=e.targetDomEl;if(isSSR())return null;if(t)return document.querySelector(t);if(r&&isDOMElement(r))return r;if(n.targetRef&&isDOMElement(n.targetRef.current))return n.targetRef.current;var i=(0,o.findDOMNode)(n);if(!i)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return i;default:return i.parentElement}},n.createResizeHandler=function(e){var t=n.props,r=t.handleWidth,o=void 0===r||r,i=t.handleHeight,c=void 0===i||i,a=t.onResize;if(o||c){var l,u=(l=n.setState.bind(n),function(e){var t=e.width,n=e.height;l(function(e){return(e.width!==t||e.height!==n)&&(e.width!==t||c)&&(e.height!==n||o)?(a&&isFunction(a)&&a(t,n),{width:t,height:n}):e})});e.forEach(function(e){var t=e&&e.contentRect||{},r=t.width,o=t.height;n.skipOnMount||isSSR()||u({width:r,height:o}),n.skipOnMount=!1})}},n.getRenderType=function(){var e=n.props,t=e.render,o=e.children;return isFunction(t)?"renderProp":isFunction(o)?"childFunction":(0,r.isValidElement)(o)?"child":Array.isArray(o)?"childArray":"parent"};var i=t.skipOnMount,c=t.refreshMode,a=t.refreshRate,l=void 0===a?1e3:a,u=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=i,n.targetRef=(0,r.createRef)(),n.observableElement=null,isSSR()||(n.resizeHandler=patchResizeHandler(n.createResizeHandler,c,l,u),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}(ResizeDetector,e),ResizeDetector.prototype.componentDidMount=function(){this.attachObserver()},ResizeDetector.prototype.componentDidUpdate=function(){this.attachObserver()},ResizeDetector.prototype.componentWillUnmount=function(){isSSR()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},ResizeDetector.prototype.render=function(){var e,t=this.props,n=t.render,o=t.children,i=t.nodeType,c=void 0===i?"div":i,a=this.state,l={width:a.width,height:a.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return n&&n(l);case"childFunction":return(e=o)(l);case"child":if((e=o).type&&"string"==typeof e.type){l.targetRef;var u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}(l,["targetRef"]);return(0,r.cloneElement)(e,u)}return(0,r.cloneElement)(e,l);case"childArray":return(e=o).map(function(e){return!!e&&(0,r.cloneElement)(e,l)});default:return r.createElement(c,null)}},ResizeDetector}(r.PureComponent);isSSR()?r.useEffect:r.useLayoutEffect}}]);