"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3149],{16312:function(e,t,n){n.d(t,{D:function(){return r},i:function(){return o}});var[r,o]=(0,n(21276).k)({strict:!1,name:"ButtonGroupContext"})},46691:function(e,t,n){n.d(t,{z:function(){return h}});var r=n(86720),o=n(16312),i=n(98235),a=n(82676),s=n(19819);function l(e){let{children:t,className:n,...o}=e,l=(0,r.isValidElement)(t)?(0,r.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,f=(0,a.cx)("chakra-button__icon",n);return(0,s.jsx)(i.m.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:f,children:l})}l.displayName="ButtonIcon";var f=n(32907);function c(e){let{label:t,placement:n,spacing:o="0.5rem",children:l=(0,s.jsx)(f.$,{color:"currentColor",width:"1em",height:"1em"}),className:c,__css:u,...p}=e,d=(0,a.cx)("chakra-button__spinner",c),m="start"===n?"marginEnd":"marginStart",h=(0,r.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[m]:t?o:0,fontSize:"1em",lineHeight:"normal",...u}),[u,t,m,o]);return(0,s.jsx)(i.m.div,{className:d,...p,__css:h,children:l})}c.displayName="ButtonSpinner";var u=n(68949),p=n(40006),d=n(33332),m=n(59716),h=(0,p.G)((e,t)=>{let n=(0,o.i)(),l=(0,d.mq)("Button",{...n,...e}),{isDisabled:f=null==n?void 0:n.isDisabled,isLoading:p,isActive:h,children:g,leftIcon:y,rightIcon:b,loadingText:w,iconSpacing:x="0.5rem",type:O,spinner:j,spinnerPlacement:k="start",className:D,as:E,...q}=(0,m.Lr)(e),S=(0,r.useMemo)(()=>{let e={...null==l?void 0:l._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...l,...!!n&&{_focus:e}}},[l,n]),{ref:A,type:C}=function(e){let[t,n]=(0,r.useState)(!e);return{ref:(0,r.useCallback)(e=>{e&&n("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(E),N={rightIcon:b,leftIcon:y,iconSpacing:x,children:g};return(0,s.jsxs)(i.m.button,{ref:(0,u.qq)(t,A),as:E,type:null!=O?O:C,"data-active":(0,a.PB)(h),"data-loading":(0,a.PB)(p),__css:S,className:(0,a.cx)("chakra-button",D),...q,disabled:f||p,children:[p&&"start"===k&&(0,s.jsx)(c,{className:"chakra-button__spinner--start",label:w,placement:"start",spacing:x,children:j}),p?w||(0,s.jsx)(i.m.span,{opacity:0,children:(0,s.jsx)(v,{...N})}):(0,s.jsx)(v,{...N}),p&&"end"===k&&(0,s.jsx)(c,{className:"chakra-button__spinner--end",label:w,placement:"end",spacing:x,children:j})]})});function v(e){let{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)(l,{marginEnd:o,children:t}),r,n&&(0,s.jsx)(l,{marginStart:o,children:n})]})}h.displayName="Button"},97111:function(e,t,n){function r(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function o(e){var t;if(!r(e))return!1;let n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}function i(e){var t,n;return null!=(n=null==(t=a(e))?void 0:t.defaultView)?n:window}function a(e){return r(e)?e.ownerDocument:document}function s(e){return a(e).activeElement}n.d(t,{Re:function(){return o},kR:function(){return i},vY:function(){return s}})},94508:function(e,t,n){n.d(t,{x:function(){return c}});var r=n(40006),o=n(33332),i=n(59716),a=n(98235),s=n(82676),l=n(93999),f=n(19819),c=(0,r.G)(function(e,t){let n=(0,o.mq)("Text",e),{className:r,align:c,decoration:u,casing:p,...d}=(0,i.Lr)(e),m=(0,l.o)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,f.jsx)(a.m.p,{ref:t,className:(0,s.cx)("chakra-text",e.className),...m,...d,__css:n})});c.displayName="Text"},59031:function(e,t,n){n.d(t,{X:function(){return f}});var r=n(40006),o=n(33332),i=n(59716),a=n(98235),s=n(82676),l=n(19819),f=(0,r.G)(function(e,t){let n=(0,o.mq)("Heading",e),{className:r,...f}=(0,i.Lr)(e);return(0,l.jsx)(a.m.h2,{ref:t,className:(0,s.cx)("chakra-heading",e.className),...f,__css:n})});f.displayName="Heading"},8253:function(e,t,n){n.d(t,{r:function(){return f}});var r=n(40006),o=n(33332),i=n(59716),a=n(98235),s=n(82676),l=n(19819),f=(0,r.G)(function(e,t){let n=(0,o.mq)("Link",e),{className:r,isExternal:f,...c}=(0,i.Lr)(e);return(0,l.jsx)(a.m.a,{target:f?"_blank":void 0,rel:f?"noopener":void 0,ref:t,className:(0,s.cx)("chakra-link",r),...c,__css:n})});f.displayName="Link"},9636:function(e,t,n){n.d(t,{k:function(){return a}});var r=n(40006),o=n(98235),i=n(19819),a=(0,r.G)(function(e,t){let{direction:n,align:r,justify:a,wrap:s,basis:l,grow:f,shrink:c,...u}=e;return(0,i.jsx)(o.m.div,{ref:t,__css:{display:"flex",flexDirection:n,alignItems:r,justifyContent:a,flexWrap:s,flexBasis:l,flexGrow:f,flexShrink:c},...u})});a.displayName="Flex"},69691:function(e,t,n){n.d(t,{xu:function(){return a}});var r=n(98235),o=n(40006),i=n(19819),a=(0,r.m)("div");a.displayName="Box";var s=(0,o.G)(function(e,t){let{size:n,centerContent:r=!0,...o}=e;return(0,i.jsx)(a,{ref:t,boxSize:n,__css:{...r?{display:"flex",alignItems:"center",justifyContent:"center"}:{},flexShrink:0,flexGrow:0},...o})});s.displayName="Square",(0,o.G)(function(e,t){let{size:n,...r}=e;return(0,i.jsx)(s,{size:n,ref:t,borderRadius:"9999px",...r})}).displayName="Circle"},92517:function(e,t,n){n.d(t,{k:function(){return r}});function r(e){let{wasSelected:t,enabled:n,isSelected:r,mode:o="unmount"}=e;return!n||!!r||"keepMounted"===o&&!!t}},93999:function(e,t,n){n.d(t,{o:function(){return r}});function r(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}},93146:function(e,t,n){n.d(t,{$B:function(){return f},Dq:function(){return o},Ke:function(){return i},mv:function(){return s}});var r=(e,t)=>({var:e,varRef:t?"var(".concat(e,", ").concat(t,")"):"var(".concat(e,")")}),o={arrowShadowColor:r("--popper-arrow-shadow-color"),arrowSize:r("--popper-arrow-size","8px"),arrowSizeHalf:r("--popper-arrow-size-half"),arrowBg:r("--popper-arrow-bg"),transformOrigin:r("--popper-transform-origin"),arrowOffset:r("--popper-arrow-offset")};function i(e){return e.includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0}var a={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},s=e=>a[e],l={scroll:!0,resize:!0};function f(e){return"object"==typeof e?{enabled:!0,options:{...l,...e}}:{enabled:e,options:l}}},36481:function(e,t,n){n.d(t,{D:function(){return ej}});var r,o,i,a,s,l=n(93146),f={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:e=>{let{state:t}=e;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:e=>{let{state:t}=e;return()=>{let e=t.elements.reference;t.elements.popper.style.width="".concat(e.offsetWidth,"px")}}},c={name:"transformOrigin",enabled:!0,phase:"write",fn:e=>{let{state:t}=e;u(t)},effect:e=>{let{state:t}=e;return()=>{u(t)}}},u=e=>{e.elements.popper.style.setProperty(l.Dq.transformOrigin.var,(0,l.mv)(e.placement))},p={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:e=>{let{state:t}=e;d(t)}},d=e=>{var t;if(!e.placement)return;let n=m(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:l.Dq.arrowSize.varRef,height:l.Dq.arrowSize.varRef,zIndex:-1});let t={[l.Dq.arrowSizeHalf.var]:"calc(".concat(l.Dq.arrowSize.varRef," / 2 - 1px)"),[l.Dq.arrowOffset.var]:"calc(".concat(l.Dq.arrowSizeHalf.varRef," * -1)")};for(let n in t)e.elements.arrow.style.setProperty(n,t[n])}},m=e=>e.startsWith("top")?{property:"bottom",value:l.Dq.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:l.Dq.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:l.Dq.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:l.Dq.arrowOffset.varRef}:void 0,h={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:e=>{let{state:t}=e;v(t)},effect:e=>{let{state:t}=e;return()=>{v(t)}}},v=e=>{if(!e.elements.arrow)return;let t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;let n=(0,l.Ke)(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:l.Dq.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},g={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},y={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"},b=n(68949);function w(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function x(e){var t=w(e).Element;return e instanceof t||e instanceof Element}function O(e){var t=w(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function j(e){if("undefined"==typeof ShadowRoot)return!1;var t=w(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var k=Math.max,D=Math.min,E=Math.round;function q(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function S(){return!/^((?!chrome|android).)*safari/i.test(q())}function A(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&O(e)&&(o=e.offsetWidth>0&&E(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&E(r.height)/e.offsetHeight||1);var a=(x(e)?w(e):window).visualViewport,s=!S()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,f=(r.top+(s&&a?a.offsetTop:0))/i,c=r.width/o,u=r.height/i;return{width:c,height:u,top:f,right:l+c,bottom:f+u,left:l,x:l,y:f}}function C(e){var t=w(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function N(e){return e?(e.nodeName||"").toLowerCase():null}function W(e){return((x(e)?e.ownerDocument:e.document)||window.document).documentElement}function L(e){return A(W(e)).left+C(e).scrollLeft}function R(e){return w(e).getComputedStyle(e)}function B(e){var t=R(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function _(e){var t=A(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function P(e){return"html"===N(e)?e:e.assignedSlot||e.parentNode||(j(e)?e.host:null)||W(e)}function M(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(N(t))>=0?t.ownerDocument.body:O(t)&&B(t)?t:e(P(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=w(r),a=o?[i].concat(i.visualViewport||[],B(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(M(P(a)))}function H(e){return O(e)&&"fixed"!==R(e).position?e.offsetParent:null}function T(e){for(var t=w(e),n=H(e);n&&["table","td","th"].indexOf(N(n))>=0&&"static"===R(n).position;)n=H(n);return n&&("html"===N(n)||"body"===N(n)&&"static"===R(n).position)?t:n||function(e){var t=/firefox/i.test(q());if(/Trident/i.test(q())&&O(e)&&"fixed"===R(e).position)return null;var n=P(e);for(j(n)&&(n=n.host);O(n)&&0>["html","body"].indexOf(N(n));){var r=R(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var z="bottom",I="right",V="left",G="auto",U=["top",z,I,V],F="start",X="viewport",Y="popper",$=U.reduce(function(e,t){return e.concat([t+"-"+F,t+"-end"])},[]),K=[].concat(U,[G]).reduce(function(e,t){return e.concat([t,t+"-"+F,t+"-end"])},[]),J=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],Q={placement:"bottom",modifiers:[],strategy:"absolute"};function Z(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var ee={passive:!0};function et(e){return e.split("-")[0]}function en(e){return e.split("-")[1]}function er(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function eo(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?et(o):null,a=o?en(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case z:t={x:s,y:n.y+n.height};break;case I:t={x:n.x+n.width,y:l};break;case V:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var f=i?er(i):null;if(null!=f){var c="y"===f?"height":"width";switch(a){case F:t[f]=t[f]-(n[c]/2-r[c]/2);break;case"end":t[f]=t[f]+(n[c]/2-r[c]/2)}}return t}var ei={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ea(e){var t,n,r,o,i,a,s,l=e.popper,f=e.popperRect,c=e.placement,u=e.variation,p=e.offsets,d=e.position,m=e.gpuAcceleration,h=e.adaptive,v=e.roundOffsets,g=e.isFixed,y=p.x,b=void 0===y?0:y,x=p.y,O=void 0===x?0:x,j="function"==typeof v?v({x:b,y:O}):{x:b,y:O};b=j.x,O=j.y;var k=p.hasOwnProperty("x"),D=p.hasOwnProperty("y"),q=V,S="top",A=window;if(h){var C=T(l),N="clientHeight",L="clientWidth";C===w(l)&&"static"!==R(C=W(l)).position&&"absolute"===d&&(N="scrollHeight",L="scrollWidth"),("top"===c||(c===V||c===I)&&"end"===u)&&(S=z,O-=(g&&C===A&&A.visualViewport?A.visualViewport.height:C[N])-f.height,O*=m?1:-1),(c===V||("top"===c||c===z)&&"end"===u)&&(q=I,b-=(g&&C===A&&A.visualViewport?A.visualViewport.width:C[L])-f.width,b*=m?1:-1)}var B=Object.assign({position:d},h&&ei),_=!0===v?(t={x:b,y:O},n=w(l),r=t.x,o=t.y,{x:E(r*(i=n.devicePixelRatio||1))/i||0,y:E(o*i)/i||0}):{x:b,y:O};return(b=_.x,O=_.y,m)?Object.assign({},B,((s={})[S]=D?"0":"",s[q]=k?"0":"",s.transform=1>=(A.devicePixelRatio||1)?"translate("+b+"px, "+O+"px)":"translate3d("+b+"px, "+O+"px, 0)",s)):Object.assign({},B,((a={})[S]=D?O+"px":"",a[q]=k?b+"px":"",a.transform="",a))}var es={left:"right",right:"left",bottom:"top",top:"bottom"};function el(e){return e.replace(/left|right|bottom|top/g,function(e){return es[e]})}var ef={start:"end",end:"start"};function ec(e){return e.replace(/start|end/g,function(e){return ef[e]})}function eu(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&j(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ep(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ed(e,t,n){var r,o,i,a,s,l,f,c,u,p;return t===X?ep(function(e,t){var n=w(e),r=W(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var f=S();(f||!f&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+L(e),y:l}}(e,n)):x(t)?((r=A(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):ep((o=W(e),a=W(o),s=C(o),l=null==(i=o.ownerDocument)?void 0:i.body,f=k(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=k(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),u=-s.scrollLeft+L(o),p=-s.scrollTop,"rtl"===R(l||a).direction&&(u+=k(a.clientWidth,l?l.clientWidth:0)-f),{width:f,height:c,x:u,y:p}))}function em(){return{top:0,right:0,bottom:0,left:0}}function eh(e){return Object.assign({},em(),e)}function ev(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function eg(e,t){void 0===t&&(t={});var n,r,o,i,a,s,l,f=t,c=f.placement,u=void 0===c?e.placement:c,p=f.strategy,d=void 0===p?e.strategy:p,m=f.boundary,h=f.rootBoundary,v=f.elementContext,g=void 0===v?Y:v,y=f.altBoundary,b=f.padding,w=void 0===b?0:b,j=eh("number"!=typeof w?w:ev(w,U)),E=e.rects.popper,q=e.elements[void 0!==y&&y?g===Y?"reference":Y:g],S=(n=x(q)?q:q.contextElement||W(e.elements.popper),s=(a=[].concat("clippingParents"===(r=void 0===m?"clippingParents":m)?(o=M(P(n)),x(i=["absolute","fixed"].indexOf(R(n).position)>=0&&O(n)?T(n):n)?o.filter(function(e){return x(e)&&eu(e,i)&&"body"!==N(e)}):[]):[].concat(r),[void 0===h?X:h]))[0],(l=a.reduce(function(e,t){var r=ed(n,t,d);return e.top=k(r.top,e.top),e.right=D(r.right,e.right),e.bottom=D(r.bottom,e.bottom),e.left=k(r.left,e.left),e},ed(n,s,d))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),C=A(e.elements.reference),L=eo({reference:C,element:E,strategy:"absolute",placement:u}),B=ep(Object.assign({},E,L)),_=g===Y?B:C,H={top:S.top-_.top+j.top,bottom:_.bottom-S.bottom+j.bottom,left:S.left-_.left+j.left,right:_.right-S.right+j.right},V=e.modifiersData.offset;if(g===Y&&V){var G=V[u];Object.keys(H).forEach(function(e){var t=[I,z].indexOf(e)>=0?1:-1,n=["top",z].indexOf(e)>=0?"y":"x";H[e]+=G[n]*t})}return H}function ey(e,t,n){return k(e,D(t,n))}function eb(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 ew(e){return["top",I,z,V].some(function(t){return e[t]>=0})}var ex=(i=void 0===(o=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=w(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach(function(e){e.addEventListener("scroll",n.update,ee)}),s&&l.addEventListener("resize",n.update,ee),function(){i&&f.forEach(function(e){e.removeEventListener("scroll",n.update,ee)}),s&&l.removeEventListener("resize",n.update,ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=eo({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:et(t.placement),variation:en(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ea(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ea(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];O(o)&&N(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});O(r)&&N(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=K.reduce(function(e,n){var r,o,a,s,l,f;return e[n]=(r=t.rects,a=[V,"top"].indexOf(o=et(n))>=0?-1:1,l=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],f=s[1],l=l||0,f=(f||0)*a,[V,I].indexOf(o)>=0?{x:f,y:l}:{x:l,y:f}),e},{}),s=a[t.placement],l=s.x,f=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=f),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,l=n.fallbackPlacements,f=n.padding,c=n.boundary,u=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=void 0===d||d,h=n.allowedAutoPlacements,v=t.options.placement,g=et(v)===v,y=l||(g||!m?[el(v)]:function(e){if(et(e)===G)return[];var t=el(e);return[ec(e),t,ec(t)]}(v)),b=[v].concat(y).reduce(function(e,n){var r,o,i,a,s,l,p,d,v,g,y,b;return e.concat(et(n)===G?(o=(r={placement:n,boundary:c,rootBoundary:u,padding:f,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,d=void 0===(p=r.allowedAutoPlacements)?K:p,0===(y=(g=(v=en(o))?l?$:$.filter(function(e){return en(e)===v}):U).filter(function(e){return d.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,n){return e[n]=eg(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[et(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),w=t.rects.reference,x=t.rects.popper,O=new Map,j=!0,k=b[0],D=0;D<b.length;D++){var E=b[D],q=et(E),S=en(E)===F,A=["top",z].indexOf(q)>=0,C=A?"width":"height",N=eg(t,{placement:E,boundary:c,rootBoundary:u,altBoundary:p,padding:f}),W=A?S?I:V:S?z:"top";w[C]>x[C]&&(W=el(W));var L=el(W),R=[];if(i&&R.push(N[q]<=0),s&&R.push(N[W]<=0,N[L]<=0),R.every(function(e){return e})){k=E,j=!1;break}O.set(E,R)}if(j)for(var B=m?3:1,_=function(e){var t=b.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},P=B;P>0&&"break"!==_(P);P--);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,l=n.altBoundary,f=n.padding,c=n.tether,u=void 0===c||c,p=n.tetherOffset,d=void 0===p?0:p,m=eg(t,{boundary:a,rootBoundary:s,padding:f,altBoundary:l}),h=et(t.placement),v=en(t.placement),g=!v,y=er(h),b="x"===y?"y":"x",w=t.modifiersData.popperOffsets,x=t.rects.reference,O=t.rects.popper,j="function"==typeof d?d(Object.assign({},t.rects,{placement:t.placement})):d,E="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),q=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(w){if(void 0===o||o){var A,C="y"===y?"top":V,N="y"===y?z:I,W="y"===y?"height":"width",L=w[y],R=L+m[C],B=L-m[N],P=u?-O[W]/2:0,M=v===F?x[W]:O[W],H=v===F?-O[W]:-x[W],G=t.elements.arrow,U=u&&G?_(G):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:em(),Y=X[C],$=X[N],K=ey(0,x[W],U[W]),J=g?x[W]/2-P-K-Y-E.mainAxis:M-K-Y-E.mainAxis,Q=g?-x[W]/2+P+K+$+E.mainAxis:H+K+$+E.mainAxis,Z=t.elements.arrow&&T(t.elements.arrow),ee=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,eo=null!=(A=null==q?void 0:q[y])?A:0,ei=ey(u?D(R,L+J-eo-ee):R,L,u?k(B,L+Q-eo):B);w[y]=ei,S[y]=ei-L}if(void 0!==i&&i){var ea,es,el="x"===y?"top":V,ef="x"===y?z:I,ec=w[b],eu="y"===b?"height":"width",ep=ec+m[el],ed=ec-m[ef],eh=-1!==["top",V].indexOf(h),ev=null!=(es=null==q?void 0:q[b])?es:0,eb=eh?ep:ec-x[eu]-O[eu]-ev+E.altAxis,ew=eh?ec+x[eu]+O[eu]-ev-E.altAxis:ed,ex=u&&eh?(ea=ey(eb,ec,ew))>ew?ew:ea:ey(u?eb:ep,ec,u?ew:ed);w[b]=ex,S[b]=ex-ec}t.modifiersData[r]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,l=et(r.placement),f=er(l),c=[V,I].indexOf(l)>=0?"height":"width";if(a&&s){var u=eh("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ev(t,U)),p=_(a),d="y"===f?"top":V,m="y"===f?z:I,h=r.rects.reference[c]+r.rects.reference[f]-s[f]-r.rects.popper[c],v=s[f]-r.rects.reference[f],g=T(a),y=g?"y"===f?g.clientHeight||0:g.clientWidth||0:0,b=u[d],w=y-p[c]-u[m],x=y/2-p[c]/2+(h/2-v/2),O=ey(b,x,w);r.modifiersData[o]=((n={})[f]=O,n.centerOffset=O-x,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&eu(t.elements.popper,r)&&(t.elements.arrow=r)},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=eg(t,{elementContext:"reference"}),s=eg(t,{altBoundary:!0}),l=eb(a,r),f=eb(s,o,i),c=ew(l),u=ew(f);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}}]}).defaultModifiers)?[]:o,s=void 0===(a=r.defaultOptions)?Q:a,function(e,t,n){void 0===n&&(n=s);var r,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Q,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,f={state:o,setOptions:function(n){var r,l,u,p,d,m="function"==typeof n?n(o.options):n;c(),o.options=Object.assign({},s,o.options,m),o.scrollParents={reference:x(e)?M(e):e.contextElement?M(e.contextElement):[],popper:M(t)};var h=(l=Object.keys(r=[].concat(i,o.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),u=new Map,p=new Set,d=[],l.forEach(function(e){u.set(e.name,e)}),l.forEach(function(e){p.has(e.name)||function e(t){p.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!p.has(t)){var n=u.get(t);n&&e(n)}}),d.push(t)}(e)}),J.reduce(function(e,t){return e.concat(d.filter(function(e){return e.phase===t}))},[]));return o.orderedModifiers=h.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:o,name:t,instance:f,options:void 0===n?{}:n});a.push(i||function(){})}}),f.update()},forceUpdate:function(){if(!l){var e,t,n,r,i,a,s,c,u,p,d,m,h=o.elements,v=h.reference,g=h.popper;if(Z(v,g)){o.rects={reference:(t=T(g),n="fixed"===o.options.strategy,r=O(t),c=O(t)&&(a=E((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=E(i.height)/t.offsetHeight||1,1!==a||1!==s),u=W(t),p=A(v,c,n),d={scrollLeft:0,scrollTop:0},m={x:0,y:0},(r||!r&&!n)&&(("body"!==N(t)||B(u))&&(d=(e=t)!==w(e)&&O(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:C(e)),O(t)?(m=A(t,!0),m.x+=t.clientLeft,m.y+=t.clientTop):u&&(m.x=L(u))),{x:p.left+d.scrollLeft-m.x,y:p.top+d.scrollTop-m.y,width:p.width,height:p.height}),popper:_(g)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var y=0;y<o.orderedModifiers.length;y++){if(!0===o.reset){o.reset=!1,y=-1;continue}var b=o.orderedModifiers[y],x=b.fn,j=b.options,k=void 0===j?{}:j,D=b.name;"function"==typeof x&&(o=x({state:o,options:k,name:D,instance:f})||o)}}}},update:function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(new Promise(function(e){f.forceUpdate(),e(o)}))})})),r},destroy:function(){c(),l=!0}};if(!Z(e,t))return f;function c(){a.forEach(function(e){return e()}),a=[]}return f.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),f}),eO=n(86720);function ej(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:o="absolute",arrowPadding:i=8,eventListeners:a=!0,offset:s,gutter:u=8,flip:d=!0,boundary:m="clippingParents",preventOverflow:v=!0,matchWidth:w,direction:x="ltr"}=e,O=(0,eO.useRef)(null),j=(0,eO.useRef)(null),k=(0,eO.useRef)(null),D=function(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr",o=(null==(t=g[e])?void 0:t[r])||e;return"ltr"===r?o:null!=(n=y[e])?n:o}(r,x),E=(0,eO.useRef)(()=>{}),q=(0,eO.useCallback)(()=>{var e;t&&O.current&&j.current&&(null==(e=E.current)||e.call(E),k.current=ex(O.current,j.current,{placement:D,modifiers:[h,p,c,{...f,enabled:!!w},{name:"eventListeners",...(0,l.$B)(a)},{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:null!=s?s:[0,u]}},{name:"flip",enabled:!!d,options:{padding:8}},{name:"preventOverflow",enabled:!!v,options:{boundary:m}},...null!=n?n:[]],strategy:o}),k.current.forceUpdate(),E.current=k.current.destroy)},[D,t,n,w,a,i,s,u,d,v,m,o]);(0,eO.useEffect)(()=>()=>{var e;O.current||j.current||(null==(e=k.current)||e.destroy(),k.current=null)},[]);let S=(0,eO.useCallback)(e=>{O.current=e,q()},[q]),A=(0,eO.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:(0,b.lq)(S,t)}},[S]),C=(0,eO.useCallback)(e=>{j.current=e,q()},[q]),N=(0,eO.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:(0,b.lq)(C,t),style:{...e.style,position:o,minWidth:w?void 0:"max-content",inset:"0 auto auto 0"}}},[o,C,w]),W=(0,eO.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{size:n,shadowColor:r,bg:o,style:i,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:function(e){let{size:t,shadowColor:n,bg:r,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),n&&(i["--popper-arrow-shadow-color"]=n),r&&(i["--popper-arrow-bg"]=r),i}(e)}},[]),L=(0,eO.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:t,"data-popper-arrow-inner":""}},[]);return{update(){var e;null==(e=k.current)||e.update()},forceUpdate(){var e;null==(e=k.current)||e.forceUpdate()},transformOrigin:l.Dq.transformOrigin.varRef,referenceRef:S,popperRef:C,getPopperProps:N,getArrowProps:W,getArrowInnerProps:L,getReferenceProps:A}}},584:function(e,t,n){n.d(t,{q:function(){return i}});var r=n(44105),o=n(86720);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onClose:t,onOpen:n,isOpen:i,id:a}=e,s=(0,r.W)(n),l=(0,r.W)(t),[f,c]=(0,o.useState)(e.defaultIsOpen||!1),u=void 0!==i?i:f,p=void 0!==i,d=(0,o.useId)(),m=null!=a?a:"disclosure-".concat(d),h=(0,o.useCallback)(()=>{p||c(!1),null==l||l()},[p,l]),v=(0,o.useCallback)(()=>{p||c(!0),null==s||s()},[p,s]),g=(0,o.useCallback)(()=>{u?h():v()},[u,v,h]);return{isOpen:u,onOpen:v,onClose:h,onToggle:g,isControlled:p,getButtonProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"aria-expanded":u,"aria-controls":m,onClick(t){var n;null==(n=e.onClick)||n.call(e,t),g()}}},getDisclosureProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,hidden:!u,id:m}}}}},57303:function(e,t,n){n.d(t,{O:function(){return i}});var r=n(86720),o=n(44105);function i(e,t,n,i){let a=(0,o.W)(n);return(0,r.useEffect)(()=>{let r="function"==typeof e?e():null!=e?e:document;if(n&&r)return r.addEventListener(t,a,i),()=>{r.removeEventListener(t,a,i)}},[t,e,i,a,n]),()=>{let n="function"==typeof e?e():null!=e?e:document;null==n||n.removeEventListener(t,a,i)}}},68949:function(e,t,n){n.d(t,{lq:function(){return o},qq:function(){return i}});var r=n(86720);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>{!function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(n){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}}(t,e)})}}function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>o(...t),t)}}}]);