"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4754],{59029:function(e,t,n){var r=n(11527);t.Z=function(e){var t=e.className,n=e.color,i=e.size,o=void 0===i?32:i,a=e.ignoreColor;return(0,r.jsx)("svg",{className:t,width:o,height:o,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M5 11c0-3.309 2.691-6 6-6s6 2.691 6 6-2.691 6-6 6-6-2.691-6-6Zm15.707 8.293-3.395-3.396A7.952 7.952 0 0 0 19 11c0-4.411-3.589-8-8-8s-8 3.589-8 8 3.589 8 8 8a7.952 7.952 0 0 0 4.897-1.688l3.396 3.395a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414Z",fill:a?void 0:void 0===n?"#181B32":n})})}},84313:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(50959),i=n(16120),o=function(e){if(e&&e.addEventListener){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:c,i=(0,r.useRef)(t);(0,r.useEffect)(function(){i.current=t},[t]),(0,r.useEffect)(function(){var t=function(t){var n=e.current;n&&!n.contains(t.target)&&i.current(t)};return n.forEach(function(e){o(document,e,t)}),function(){n.forEach(function(e){a(document,e,t)})}},[n,e])}},78467:function(e,t,n){n.d(t,{Z:function(){return Z}});var r,i=n(22405),o=n(68673),a=n(50959),c=n(10422),s=n(48161),u=n(77592),l=n(97754),f=n.n(l),d=n(84041),h=n(19752),m=n(41691),v=n(11527),w=["className","anchorRef","position","setPosition","isVisible","triggerRect","onDismiss","dismissOnClickOutside","unmountChildrenOnClose","style","isDark","dark","children","arrowProps","htmlProps"],g=(0,a.forwardRef)(function(e,t){var n,c,u,l=e.className,g=e.anchorRef,b=(e.position,e.setPosition),Z=void 0===b?h.Z:b,k=e.isVisible,y=e.triggerRect,E=e.onDismiss,C=e.dismissOnClickOutside,N=e.unmountChildrenOnClose,x=e.style,L=e.isDark,O=e.dark,P=e.children,R=e.arrowProps,S=e.htmlProps,j=(0,o.Z)(e,w),Y=(0,a.useRef)(null),T=t||Y,X=(0,s.Z)(Y,k),D=(0,d.Z)({isOpen:k,unmountChildrenOnClose:N});(0,a.useEffect)(function(){var e=function(e){!E||!T||"function"==typeof T||!T.current||T.current.contains(e.target)||g&&g.current&&g.current.contains(e.target)||E()};return C?(document.addEventListener("mousedown",e),document.addEventListener("touchstart",e)):(document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[C,E]);var B=R&&!1!==R.visible,A=(0,m.Z)(Z,y,X);return(0,v.jsxs)(a.Fragment,{children:[B?(0,v.jsx)(p,{width:19,height:"10",viewBox:"0 0 19 10",xmlns:"http://www.w3.org/2000/svg",className:f()("absolute fill-current z-snackbar",L||O?"text-base-dark":"text-white",null==R?void 0:R.className),style:(n=y.width/2-9.5,c=(A.top||0)+2,u=A.left||0,(null==R?void 0:R.triggerPosition)==="center"?u+=n:(null==R?void 0:R.triggerPosition)==="end"&&(u+=2*n),(0,i.Z)((0,i.Z)((0,i.Z)({},null==R?void 0:R.style),A),{},{top:c,left:u})),$_css:null==R?void 0:R.css,children:r||(r=(0,v.jsx)("path",{d:"M19 10H0L7.5898 1.56689C8.35635 0.715171 9.68035 0.680351 10.4906 1.4906L19 10Z"}))}):null,(0,v.jsx)("div",(0,i.Z)((0,i.Z)((0,i.Z)({role:"tooltip",style:(0,i.Z)((0,i.Z)({},x),A),ref:T,className:f()("shadow-tooltip absolute z-dialog whitespace-no-wrap rounded-5",L||O?"bg-base-dark text-white":"bg-white text-base-main",B?"mt-12":"",l)},j),S),{},{children:D&&P}))]})}),p=(0,u.ZP)("svg").withConfig({componentId:"sc-l7z6o-0"})(["",""],function(e){return e.$_css}),b=["position","isVisible","anchorRef"],Z=(0,a.forwardRef)(function(e,t){var n=e.position,r=e.isVisible,a=e.anchorRef,u=(0,o.Z)(e,b),l=(0,s.Z)(a,r);return r?c.createPortal((0,v.jsx)(g,(0,i.Z)({position:n,isVisible:r,triggerRect:l,anchorRef:a,ref:t},u)),document.body):null})},34466:function(e,t,n){var r=n(22405),i=n(68673),o=n(77592),a=n(90889),c=n(93234),s=n(11527),u=["className","isDark","isAnimated","children"],l=(0,o.F4)(["\n from {\n background-position: 100% 0\n }\n to {\n background-position: -100% 0\n }\n"]),f=o.ZP.div.withConfig({componentId:"sc-4x7fgg-0"})(["\n animation-duration: 1.5s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-name: ",";\n animation-timing-function: linear;\n background: ",";\n background-size: 200% 100%;\n"],l,function(e){return e.isDark?"linear-gradient(to right, ".concat(c.YY," 8%, ").concat(c.tU," 18%, ").concat(c.YY," 33%)"):"linear-gradient(to right, ".concat(c.e7," 8%, ").concat(c.grayMain," 18%, ").concat(c.e7," 33%)")});t.Z=function(e){var t=e.className,n=void 0===t?"":t,o=e.isDark,c=e.isAnimated,l=e.children,d=(0,i.Z)(e,u);return c?(0,s.jsx)(f,(0,r.Z)((0,r.Z)({className:n,isDark:o},d),{},{children:l})):(0,s.jsx)("div",(0,r.Z)((0,r.Z)({className:(0,a.Z)(n,o?"bg-gray-main-dark-mode":"bg-gray-light")},d),{},{children:l}))}},19752:function(e,t){t.Z=function(e,t,n){var r={bottom:Number(e.bottom),height:Number(e.height),left:Number(e.left),right:Number(e.right),top:Number(e.top),width:Number(e.width)},i={bottom:Number(t.bottom),height:Number(t.height),left:Number(t.left),right:Number(t.right),top:Number(t.top),width:Number(t.width)},o={top:r.top-i.height<0,right:window.innerWidthr[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},w=function(e,t){return"v"===e?h(t):m(t)},g=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},p=function(e,t,n,r,i){var o=n.target,a=t.contains(o),c=!1,s=r>0,u=0,l=0;do{var f=g(e,o),d=f[0],h=f[1]-f[2]-d;(d||h)&&w(e,o)&&(u+=h,l+=d),o=o.parentNode}while(!a&&o!==document.body||a&&(t.contains(o)||t===o));return s&&(i&&0===u||!i&&r>u)?c=!0:!s&&(i&&0===l||!i&&-r>l)&&(c=!0),c},b=!1;if("undefined"!=typeof window)try{var Z=Object.defineProperty({},"passive",{get:function(){return b=!0,!0}});window.addEventListener("test",Z,Z),window.removeEventListener("test",Z,Z)}catch(e){b=!1}var k=!!b&&{passive:!1},y=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},E=function(e){return[e.deltaX,e.deltaY]},C=function(e){return e&&"current"in e?e.current:e},N=0,x=[],L=(0,l.L)(a,function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(N++)[0],a=i.useState(function(){return(0,d.Ws)()})[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var t=[e.lockRef.current].concat((e.shards||[]).map(C)).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-"+o)}),function(){document.body.classList.remove("block-interactivity-"+o),t.forEach(function(e){return e.classList.remove("allow-interactivity-"+o)})}}},[e.inert,e.lockRef.current,e.shards]);var s=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var i,o=y(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],l=e.target,f=Math.abs(s)>Math.abs(u)?"h":"v",d=v(f,l);if(!d)return!0;if(d?i=f:(i="v"===f?"h":"v",d=v(f,l)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=i),!i)return!0;var h=r.current||i;return p(h,t,e,"h"===h?s:u,!0)},[]),u=i.useCallback(function(e){if(x.length&&x[x.length-1]===a){var n="deltaY"in e?E(e):y(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.preventDefault();return}if(!r){var i=(c.current.shards||[]).map(C).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!c.current.noIsolation)&&e.preventDefault()}}},[]),l=i.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),h=i.useCallback(function(e){n.current=y(e),r.current=void 0},[]),m=i.useCallback(function(t){l(t.type,E(t),t.target,s(t,e.lockRef.current))},[]),w=i.useCallback(function(t){l(t.type,y(t),t.target,s(t,e.lockRef.current))},[]);i.useEffect(function(){return x.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:w}),document.addEventListener("wheel",u,k),document.addEventListener("touchmove",u,k),document.addEventListener("touchstart",h,k),function(){x=x.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,k),document.removeEventListener("touchmove",u,k),document.removeEventListener("touchstart",h,k)}},[]);var g=e.removeScrollBar,b=e.inert;return i.createElement(i.Fragment,null,b?i.createElement(a,{styles:"\n .block-interactivity-"+o+" {pointer-events: none;}\n .allow-interactivity-"+o+" {pointer-events: all;}\n"}):null,g?i.createElement(f.jp,{gapMode:"margin"}):null)}),O=i.forwardRef(function(e,t){return i.createElement(u,r.pi({},e,{ref:t,sideCar:L}))});O.classNames=u.classNames;var P=O},35233:function(e,t,n){n.d(t,{q:function(){return c}});var r=n(50959);function i(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a=new WeakMap;function c(e,t){var n,c,s,u=(n=t||null,c=function(t){return e.forEach(function(e){return i(e,t)})},(s=(0,r.useState)(function(){return{value:n,callback:c,facade:{get current(){return s.value},set current(value){var e=s.value;e!==value&&(s.value=value,s.callback(value,e))}}}})[0]).callback=c,s.facade);return o(function(){var t=a.get(u);if(t){var n=new Set(t),r=new Set(e),o=u.current;n.forEach(function(e){r.has(e)||i(e,null)}),r.forEach(function(e){n.has(e)||i(e,o)})}a.set(u,e)},[e]),u}}}]);