"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8607],{16743:function(e,n,t){t.d(n,{O:function(){return v}});var a=t(59690),i=t(26245),o=t(52366),l=t(35155),r=t(81103),d=t(25432),u={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},s=t(46256),c=t(67294);function v(e={}){let n=(0,a.K)(e),{isDisabled:t,isReadOnly:v,isRequired:p,isInvalid:h,id:m,onBlur:b,onFocus:k,"aria-describedby":y}=n,{defaultChecked:w,isChecked:g,isFocusable:B,onChange:P,isIndeterminate:x,name:C,value:_,tabIndex:S,"aria-label":E,"aria-labelledby":M,"aria-invalid":L,...j}=e,N=function(e,n=[]){let t=Object.assign({},e);for(let e of n)e in t&&delete t[e];return t}(j,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),D=(0,l.W)(P),K=(0,l.W)(b),q=(0,l.W)(k),[R,T]=(0,c.useState)(!1),[G,I]=(0,c.useState)(!1),[O,U]=(0,c.useState)(!1),[F,z]=(0,c.useState)(!1);(0,c.useEffect)(()=>(0,s.BT)(T),[]);let H=(0,c.useRef)(null),[A,Q]=(0,c.useState)(!0),[W,X]=(0,c.useState)(!!w),Y=void 0!==g,$=Y?g:W,J=(0,c.useCallback)(e=>{if(v||t){e.preventDefault();return}Y||($?X(e.target.checked):X(!!x||e.target.checked)),null==D||D(e)},[v,t,$,Y,x,D]);(0,i.G)(()=>{H.current&&(H.current.indeterminate=!!x)},[x]),(0,o.r)(()=>{t&&I(!1)},[t,I]),(0,i.G)(()=>{let e=H.current;(null==e?void 0:e.form)&&(e.form.onreset=()=>{X(!!w)})},[]);let V=t&&!B,Z=(0,c.useCallback)(e=>{" "===e.key&&z(!0)},[z]),ee=(0,c.useCallback)(e=>{" "===e.key&&z(!1)},[z]);(0,i.G)(()=>{if(!H.current)return;let e=H.current.checked!==$;e&&X(H.current.checked)},[H.current]);let en=(0,c.useCallback)((e={},n=null)=>({...e,ref:n,"data-active":(0,d.PB)(F),"data-hover":(0,d.PB)(O),"data-checked":(0,d.PB)($),"data-focus":(0,d.PB)(G),"data-focus-visible":(0,d.PB)(G&&R),"data-indeterminate":(0,d.PB)(x),"data-disabled":(0,d.PB)(t),"data-invalid":(0,d.PB)(h),"data-readonly":(0,d.PB)(v),"aria-hidden":!0,onMouseDown:(0,d.v0)(e.onMouseDown,e=>{G&&e.preventDefault(),z(!0)}),onMouseUp:(0,d.v0)(e.onMouseUp,()=>z(!1)),onMouseEnter:(0,d.v0)(e.onMouseEnter,()=>U(!0)),onMouseLeave:(0,d.v0)(e.onMouseLeave,()=>U(!1))}),[F,$,t,G,R,O,x,h,v]),et=(0,c.useCallback)((e={},n=null)=>({...N,...e,ref:(0,r.lq)(n,e=>{e&&Q("LABEL"===e.tagName)}),onClick:(0,d.v0)(e.onClick,()=>{var e;A||(null==(e=H.current)||e.click(),requestAnimationFrame(()=>{var e;null==(e=H.current)||e.focus()}))}),"data-disabled":(0,d.PB)(t),"data-checked":(0,d.PB)($),"data-invalid":(0,d.PB)(h)}),[N,t,$,h,A]),ea=(0,c.useCallback)((e={},n=null)=>({...e,ref:(0,r.lq)(H,n),type:"checkbox",name:C,value:_,id:m,tabIndex:S,onChange:(0,d.v0)(e.onChange,J),onBlur:(0,d.v0)(e.onBlur,K,()=>I(!1)),onFocus:(0,d.v0)(e.onFocus,q,()=>I(!0)),onKeyDown:(0,d.v0)(e.onKeyDown,Z),onKeyUp:(0,d.v0)(e.onKeyUp,ee),required:p,checked:$,disabled:V,readOnly:v,"aria-label":E,"aria-labelledby":M,"aria-invalid":L?!!L:h,"aria-describedby":y,"aria-disabled":t,style:u}),[C,_,m,J,K,q,Z,ee,p,$,V,v,E,M,L,h,y,t,S]),ei=(0,c.useCallback)((e={},n=null)=>({...e,ref:n,onMouseDown:(0,d.v0)(e.onMouseDown,f),onTouchStart:(0,d.v0)(e.onTouchStart,f),"data-disabled":(0,d.PB)(t),"data-checked":(0,d.PB)($),"data-invalid":(0,d.PB)(h)}),[$,t,h]);return{state:{isInvalid:h,isFocused:G,isChecked:$,isActive:F,isHovered:O,isIndeterminate:x,isDisabled:t,isReadOnly:v,isRequired:p},getRootProps:et,getCheckboxProps:en,getInputProps:ea,getLabelProps:ei,htmlProps:N}}function f(e){e.preventDefault(),e.stopPropagation()}},33838:function(e,n,t){t.d(n,{r:function(){return u}});var a=t(35059),i=t(91639),o=t(33179),l=t(66384),r=t(25432),d=t(85893),u=(0,a.G)(function(e,n){let t=(0,i.mq)("Link",e),{className:a,isExternal:u,...s}=(0,o.Lr)(e);return(0,d.jsx)(l.m.a,{target:u?"_blank":void 0,rel:u?"noopener":void 0,ref:n,className:(0,r.cx)("chakra-link",a),...s,__css:t})});u.displayName="Link"},53922:function(e,n,t){t.d(n,{x:function(){return u}});var a=t(94060),i=t(38267),o=t(25432),l=t(46256),r=t(67294),d={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function u(e={}){let{defaultChecked:n,isChecked:t,isFocusable:u,isDisabled:c,isReadOnly:v,isRequired:f,onChange:p,isInvalid:h,name:m,value:b,id:k,"data-radiogroup":y,"aria-describedby":w,...g}=e,B=`radio-${(0,r.useId)()}`,P=(0,i.NJ)(),x=(0,a.X)(),C=P&&!(x||y)?P.id:B;C=null!=k?k:C;let _=null!=c?c:null==P?void 0:P.isDisabled,S=null!=v?v:null==P?void 0:P.isReadOnly,E=null!=f?f:null==P?void 0:P.isRequired,M=null!=h?h:null==P?void 0:P.isInvalid,[L,j]=(0,r.useState)(!1),[N,D]=(0,r.useState)(!1),[K,q]=(0,r.useState)(!1),[R,T]=(0,r.useState)(!1),[G,I]=(0,r.useState)(!!n),O=void 0!==t,U=O?t:G;(0,r.useEffect)(()=>(0,l.BT)(j),[]);let F=(0,r.useCallback)(e=>{if(S||_){e.preventDefault();return}O||I(e.target.checked),null==p||p(e)},[O,_,S,p]),z=(0,r.useCallback)(e=>{" "===e.key&&T(!0)},[T]),H=(0,r.useCallback)(e=>{" "===e.key&&T(!1)},[T]),A=(0,r.useCallback)((e={},n=null)=>({...e,ref:n,"data-active":(0,o.PB)(R),"data-hover":(0,o.PB)(K),"data-disabled":(0,o.PB)(_),"data-invalid":(0,o.PB)(M),"data-checked":(0,o.PB)(U),"data-focus":(0,o.PB)(N),"data-focus-visible":(0,o.PB)(N&&L),"data-readonly":(0,o.PB)(S),"aria-hidden":!0,onMouseDown:(0,o.v0)(e.onMouseDown,()=>T(!0)),onMouseUp:(0,o.v0)(e.onMouseUp,()=>T(!1)),onMouseEnter:(0,o.v0)(e.onMouseEnter,()=>q(!0)),onMouseLeave:(0,o.v0)(e.onMouseLeave,()=>q(!1))}),[R,K,_,M,U,N,S,L]),{onFocus:Q,onBlur:W}=null!=P?P:{},X=(0,r.useCallback)((e={},n=null)=>{let t=_&&!u;return{...e,id:C,ref:n,type:"radio",name:m,value:b,onChange:(0,o.v0)(e.onChange,F),onBlur:(0,o.v0)(W,e.onBlur,()=>D(!1)),onFocus:(0,o.v0)(Q,e.onFocus,()=>D(!0)),onKeyDown:(0,o.v0)(e.onKeyDown,z),onKeyUp:(0,o.v0)(e.onKeyUp,H),checked:U,disabled:t,readOnly:S,required:E,"aria-invalid":(0,o.Qm)(M),"aria-disabled":(0,o.Qm)(t),"aria-required":(0,o.Qm)(E),"data-readonly":(0,o.PB)(S),"aria-describedby":w,style:d}},[_,u,C,m,b,F,W,Q,z,H,U,S,E,M,w]);return{state:{isInvalid:M,isFocused:N,isChecked:U,isActive:R,isHovered:K,isDisabled:_,isReadOnly:S,isRequired:E},getCheckboxProps:A,getInputProps:X,getLabelProps:(e={},n=null)=>({...e,ref:n,onMouseDown:(0,o.v0)(e.onMouseDown,s),onTouchStart:(0,o.v0)(e.onTouchStart,s),"data-disabled":(0,o.PB)(_),"data-checked":(0,o.PB)(U),"data-invalid":(0,o.PB)(M)}),getRootProps:(e,n=null)=>({...e,ref:n,"data-disabled":(0,o.PB)(_),"data-checked":(0,o.PB)(U),"data-invalid":(0,o.PB)(M)}),htmlProps:g}}function s(e){e.preventDefault(),e.stopPropagation()}},94060:function(e,n,t){t.d(n,{E:function(){return v},X:function(){return c}});var a=t(40918),i=t(35059),o=t(66384),l=t(25432),r=t(55227),d=t(67294),u=t(85893),[s,c]=(0,r.k)({name:"RadioGroupContext",strict:!1}),v=(0,i.G)((e,n)=>{let{colorScheme:t,size:i,variant:r,children:c,className:v,isDisabled:f,isFocusable:p,...h}=e,{value:m,onChange:b,getRootProps:k,name:y,htmlProps:w}=(0,a.a)(h),g=(0,d.useMemo)(()=>({name:y,size:i,onChange:b,colorScheme:t,value:m,variant:r,isDisabled:f,isFocusable:p}),[y,i,b,t,m,r,f,p]);return(0,u.jsx)(s,{value:g,children:(0,u.jsx)(o.m.div,{...k(w,n),className:(0,l.cx)("chakra-radio-group",v),children:c})})});v.displayName="RadioGroup"},40918:function(e,n,t){t.d(n,{a:function(){return l}});var a=t(25432),i=t(81103),o=t(67294);function l(e={}){let{onChange:n,value:t,defaultValue:l,name:r,isDisabled:d,isFocusable:u,isNative:s,...c}=e,[v,f]=(0,o.useState)(l||""),p=void 0!==t,h=p?t:v,m=(0,o.useRef)(null),b=(0,o.useCallback)(()=>{let e=m.current;if(!e)return;let n="input:not(:disabled):checked",t=e.querySelector(n);if(t){t.focus();return}n="input:not(:disabled)";let a=e.querySelector(n);null==a||a.focus()},[]),k=(0,o.useId)(),y=`radio-${k}`,w=r||y,g=(0,o.useCallback)(e=>{let t=e&&(0,a.Kn)(e)&&(0,a.Kn)(e.target)?e.target.value:e;p||f(t),null==n||n(String(t))},[n,p]),B=(0,o.useCallback)((e={},n=null)=>({...e,ref:(0,i.lq)(n,m),role:"radiogroup"}),[]),P=(0,o.useCallback)((e={},n=null)=>{let t=s?"checked":"isChecked";return{...e,ref:n,name:w,[t]:null!=h?e.value===h:void 0,onChange(e){g(e)},"data-radiogroup":!0}},[s,w,g,h]);return{getRootProps:B,getRadioProps:P,name:w,ref:m,focus:b,setValue:f,value:h,onChange:g,isDisabled:d,isFocusable:u,htmlProps:c}}},18691:function(e,n,t){t.d(n,{P:function(){return v}});var a=t(25432),i=t(35059),o=t(66384),l=t(85893),r=(0,i.G)(function(e,n){let{children:t,placeholder:i,className:r,...d}=e;return(0,l.jsxs)(o.m.select,{...d,ref:n,className:(0,a.cx)("chakra-select",r),children:[i&&(0,l.jsx)("option",{value:"",children:i}),t]})});r.displayName="SelectField";var d=t(59690),u=t(91639),s=t(33179),c=t(67294),v=(0,i.G)((e,n)=>{var t;let i=(0,u.jC)("Select",e),{rootProps:c,placeholder:v,icon:f,color:p,height:m,h:b,minH:k,minHeight:y,iconColor:w,iconSize:g,...B}=(0,s.Lr)(e),[P,x]=function(e,n){let t={},a={};for(let[i,o]of Object.entries(e))n.includes(i)?t[i]=o:a[i]=o;return[t,a]}(B,s.oE),C=(0,d.Y)(x),_={paddingEnd:"2rem",...i.field,_focus:{zIndex:"unset",...null==(t=i.field)?void 0:t._focus}};return(0,l.jsxs)(o.m.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:p},...P,...c,children:[(0,l.jsx)(r,{ref:n,height:null!=b?b:m,minH:null!=k?k:y,placeholder:v,...C,__css:_,children:e.children}),(0,l.jsx)(h,{"data-disabled":(0,a.PB)(C.disabled),...(w||p)&&{color:w||p},__css:i.icon,...g&&{fontSize:g},children:f})]})});v.displayName="Select";var f=e=>(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),p=(0,o.m)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),h=e=>{let{children:n=(0,l.jsx)(f,{}),...t}=e,a=(0,c.cloneElement)(n,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,l.jsx)(p,{...t,className:"chakra-select__icon-wrapper",children:(0,c.isValidElement)(n)?a:null})};h.displayName="SelectIcon"},76060:function(e,n,t){t.d(n,{r:function(){return c}});var a=t(16743),i=t(35059),o=t(91639),l=t(33179),r=t(66384),d=t(25432),u=t(67294),s=t(85893),c=(0,i.G)(function(e,n){let t=(0,o.jC)("Switch",e),{spacing:i="0.5rem",children:c,...v}=(0,l.Lr)(e),{state:f,getInputProps:p,getCheckboxProps:h,getRootProps:m,getLabelProps:b}=(0,a.O)(v),k=(0,u.useMemo)(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...t.container}),[t.container]),y=(0,u.useMemo)(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...t.track}),[t.track]),w=(0,u.useMemo)(()=>({userSelect:"none",marginStart:i,...t.label}),[i,t.label]);return(0,s.jsxs)(r.m.label,{...m(),className:(0,d.cx)("chakra-switch",e.className),__css:k,children:[(0,s.jsx)("input",{className:"chakra-switch__input",...p({},n)}),(0,s.jsx)(r.m.span,{...h(),className:"chakra-switch__track",__css:y,children:(0,s.jsx)(r.m.span,{__css:t.thumb,className:"chakra-switch__thumb","data-checked":(0,d.PB)(f.isChecked),"data-hover":(0,d.PB)(f.isHovered)})}),c&&(0,s.jsx)(r.m.span,{className:"chakra-switch__label",...b(),__css:w,children:c})]})});c.displayName="Switch"},46256:function(e,n,t){t.d(n,{BT:function(){return m}});var a=!1,i=null,o=!1,l=!1,r=new Set;function d(e,n){r.forEach(t=>t(e,n))}var u="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function s(e){o=!0,e.metaKey||!u&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(i="keyboard",d("keyboard",e))}function c(e){if(i="pointer","mousedown"===e.type||"pointerdown"===e.type){o=!0;let n=e.composedPath?e.composedPath()[0]:e.target,t=!1;try{t=n.matches(":focus-visible")}catch{}t||d("pointer",e)}}function v(e){(0===e.mozInputSource&&e.isTrusted||0===e.detail&&!e.pointerType)&&(o=!0,i="virtual")}function f(e){e.target!==window&&e.target!==document&&(o||l||(i="virtual",d("virtual",e)),o=!1,l=!1)}function p(){o=!1,l=!0}function h(){return"pointer"!==i}function m(e){!function(){if("undefined"==typeof window||a)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){o=!0,e.apply(this,n)},document.addEventListener("keydown",s,!0),document.addEventListener("keyup",s,!0),document.addEventListener("click",v,!0),window.addEventListener("focus",f,!0),window.addEventListener("blur",p,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",c,!0),document.addEventListener("pointermove",c,!0),document.addEventListener("pointerup",c,!0)):(document.addEventListener("mousedown",c,!0),document.addEventListener("mousemove",c,!0),document.addEventListener("mouseup",c,!0)),a=!0}(),e(h());let n=()=>e(h());return r.add(n),()=>{r.delete(n)}}}}]);
//# sourceMappingURL=8607-29c52916d5108906.js.map