"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40833],{767269:function(e,n,t){t.d(n,{h:function(){return r}});let r=(e,n=16)=>1/n*(parseInt(`${e}`.replace("px",""))||0)+"rem"},439659:function(e,n,t){t.d(n,{n:function(){return d}});var r=t(867932),o=t(92575),i=t(397458),a=t(205609);let l=["children","size"];function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function s(e){for(var n=1;n{switch(typeof e){case"object":{let n={};if(Array.isArray(e))n=e.map(e=>"string"==typeof e&&isNaN(e)?`body-${e+""}`:`paragraph-${e+""}`);else if("object"==typeof e)for(let[t,r]of Object.entries(e))"string"==typeof r&&isNaN(r)?n[t]=`body-${r+""}`:n[t]=`paragraph-${r+""}`;return n}case"string":if(isNaN(e))return`body-${e+""}`;return`paragraph-${e+""}`;default:return`paragraph-${e+""}`}},d=e=>{let{children:n,size:t="lg"}=e,r=(0,o.Z)(e,l);return(0,i.jsx)(a.x,s(s({as:"p",variant:c(t)},r),{},{children:n}))}},294133:function(e,n,t){t.d(n,{n:function(){return o},o:function(){return r}});let r={"basic-standard":[.5,0,.5,1],"basic-entrance":[0,0,.5,1],"basic-exit":[.5,0,1,1],"expressive-standard":[.5,0,.2,1],"expressive-entrance":[0,0,.2,1],"expressive-exit":[.8,0,1,1],"linear-easing":[0,0,1,1]},o={xs:0,sm:.1,md:.16,lg:.24,xl:.32,"2xl":.4,"3xl":.5}},909617:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),n.humanize=n.shorten=void 0;var r=t(774315),o={none:function(e,n){return e.toLocaleString(n)},thousands:function(e,n){return r.translate({singular:"{COUNT}K",replacements:{COUNT:e.toLocaleString(n)},dictionary:{"de-DE":{singular:"{COUNT}K"},en:{singular:"{COUNT}K"},es:{singular:"{COUNT} k"},"fr-FR":{singular:"{COUNT}K"},"ja-JP":{singular:"{COUNT}千"},"ko-KR":{singular:"{COUNT}천"},"pt-BR":{singular:"{COUNT}Mil"}}})},millions:function(e,n){return r.translate({singular:"{COUNT}M",replacements:{COUNT:e.toLocaleString(n)},dictionary:{"de-DE":{singular:"{COUNT}M"},en:{singular:"{COUNT}M"},es:{singular:"{COUNT} M"},"fr-FR":{singular:"{COUNT}M"},"ja-JP":{singular:"{COUNT}万"},"ko-KR":{singular:"{COUNT}만"},"pt-BR":{singular:"{COUNT}M"}}})},billions:function(e,n){return r.translate({singular:"{COUNT}B",replacements:{COUNT:e.toLocaleString(n)},dictionary:{"de-DE":{singular:"{COUNT}B"},en:{singular:"{COUNT}B"},es:{singular:"{COUNT} G"},"fr-FR":{singular:"{COUNT}B"},"ja-JP":{singular:"{COUNT}億"},"ko-KR":{singular:"{COUNT}억"},"pt-BR":{singular:"{COUNT}B"}}})},infinity:function(){return"∞"}};n.shorten=function(e,n,t){return void 0===t&&(t=0),Math.floor(e/Math.pow(10,n-t))/Math.pow(10,t)},n.humanize=function(e){var t=r.getCurrentLocale();switch(!0){case e<1e4:return o.none(e,t);case e<1e5:return o.thousands(n.shorten(e,3,1),t);case e<1e6:return o.thousands(n.shorten(e,3,0),t);case e<1e8:return o.millions(n.shorten(e,6,1),t);case e<1e9:return o.millions(n.shorten(e,6,0),t);case e<1e11:return o.billions(n.shorten(e,9,1),t);case e<1e12:return o.billions(n.shorten(e,9,0),t);default:return o.infinity()}}},662555:function(e,n,t){n.OI=n.Iu=n.i_=n.BH=void 0;var r=t(774315);Object.defineProperty(n,"BH",{enumerable:!0,get:function(){return r.getCurrentLocale}}),Object.defineProperty(n,"i_",{enumerable:!0,get:function(){return r.setLocale}}),Object.defineProperty(n,"Iu",{enumerable:!0,get:function(){return r.translate}});var o=t(909617);Object.defineProperty(n,"OI",{enumerable:!0,get:function(){return o.humanize}})},774315:function(e,n,t){var r,o=t(173656),i=t(41438).Buffer,a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var n,t=1,r=arguments.length;t1&&console.warn("Attempting to translate tokenized phrase without providing replacements:\n"+e.singular),"{{t "+i.from(JSON.stringify(e)).toString("base64")+" t}}";for(var t={},r=0,o=Object.entries(e.replacements);r1&&console.warn("Attempting to translate tokenized phrase without providing replacements:\n"+t),t)};n.translate=function(e){return"string"==typeof e?y({singular:e}):y(e)}},696198:function(e,n,t){t.d(n,{Y:function(){return i}});var r=t(940117),o=t(652983),i=(0,o.forwardRef)(function(e,n){return o.createElement("svg",(0,r.c)({viewBox:"0 0 24 24",ref:n},e),o.createElement("path",{d:"M12 22a10 10 0 1 1 10-10 10 10 0 0 1-10 10zm0-18a8 8 0 1 0 8 8 8 8 0 0 0-8-8z",fill:"#1a2e3b"}),o.createElement("path",{fill:"#1a2e3b",d:"M11 11h2v6h-2zm1-2a1 1 0 0 1-1-1 1.46 1.46 0 0 1 0-.2.63.63 0 0 1 .06-.18.77.77 0 0 1 .09-.18 1.48 1.48 0 0 1 .12-.15.92.92 0 0 1 .33-.21 1 1 0 0 1 1.09.21A1.05 1.05 0 0 1 13 8a.84.84 0 0 1-.08.38 1 1 0 0 1-.21.33l-.15.12-.18.09-.18.08z"}))})},711212:function(e,n,t){t.d(n,{n:function(){return i}});var r=t(940117),o=t(652983),i=(0,o.forwardRef)(function(e,n){return o.createElement("svg",(0,r.c)({viewBox:"0 0 20 20",ref:n},e),o.createElement("path",{d:"M11.06 10l4.597-4.596a.749.749 0 1 0-1.061-1.06L10 8.938 5.404 4.343a.749.749 0 1 0-1.06 1.061L8.938 10l-4.596 4.596a.749.749 0 1 0 1.061 1.06L10 11.062l4.596 4.596a.749.749 0 1 0 1.06-1.061L11.062 10z",fill:"#1A2E3B",fillRule:"evenodd"}))})},331083:function(e,n,t){t.d(n,{$:function(){return K}});var r=t(43541),o=t(80135);function i(e,n){var t=void 0===n?{min:0,max:1e3}:n,r=t.min,o=t.max;return Math.min(Math.max(e,void 0===r?0:r),void 0===o?1e3:o)}var a=function(e){return(0,r.Y)(l,e)},l={default:"light",type:"COLOR",modes:{dark:function(e){return(0,o.se)(i(900+e/10))},light:function(e){return(0,o.ae)(i((e+200)/4-175))}}};a.primary=a(500),a.secondary=a(1e3);var u=(0,o.iN)(500),s=(0,o.iN)(500),c=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:u,light:s}}),d=(0,o.se)(50),f=(0,o.se)(700),p=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:d,light:f}}),m=(0,o.ae)(700),h=(0,o.ae)(700),v=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:m,light:h}}),g=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:"conic-gradient(#e65050,#764cb4,#42cbff,#7fd02d,#cddb2f,#e8d633,#fdad4f,#e65050)",light:"conic-gradient(#e65050,#764cb4,#42cbff,#7fd02d,#cddb2f,#e8d633,#fdad4f,#e65050)"}}),y=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:"conic-gradient(#fa4343,#503873,#73d2f6,#10b5fc,#8bcf0d,#ffc34e,#fb8920,#fa4343)",light:"conic-gradient(#fa4343,#503873,#73d2f6,#10b5fc,#8bcf0d,#ffc34e,#fb8920,#fa4343)"}}),b=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:"linear-gradient(to right,#42cbff,#7fd02d,#cddb2f,#e8d633,#fdad4f,#e65050,#764cb4)",light:"linear-gradient(to right,#42cbff,#7fd02d,#cddb2f,#e8d633,#fdad4f,#e65050,#764cb4)"}}),x=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:"linear-gradient(to right,#73D2F6,#10B5FC,#8BCF0D,#FFC34E,#FB8920,#FA4343,#9F3D5C,#503873)",light:"linear-gradient(to right,#73D2F6,#10B5FC,#8BCF0D,#FFC34E,#FB8920,#FA4343,#9F3D5C,#503873)"}}),k=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:"#FF4D4D",light:"#FF4D4D"}}),C=(0,o.er)(500),O=(0,o.er)(500),w=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:C,light:O}}),j=(0,o.Q6)(500),P=(0,o.Q6)(500),E=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:j,light:P}}),L=(0,o.ek)(500),N=(0,o.ek)(500),R=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:L,light:N}}),S=(0,o.se)(680),B=(0,o.ae)(100),T=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:S,light:B}}),_=function(e){return(0,r.Y)(F,e)},F={default:"light",type:"COLOR",modes:{dark:function(e){return(0,o.se)(i(-1*(e/5-1e3)))},light:function(e){return e>=300?o.ix:(0,o.ae)(i(-1*(e/2-150)))}}};_.primary=_(400),_.secondary=_(600),_.tertiary=_(800);var M=function(e){return(0,r.Y)(D,e)},D={default:"light",type:"COLOR",modes:{dark:function(e){return(0,o.se)(i(e/2.5))},light:function(e){return(0,o.ae)(i(function(e,n){if(void 0===n&&(n=2),0===n)return Math.round(e);var t=Math.pow(10,n);return Math.round(e*t)/t}(-(e/1.667)+900,0)))}}};M.primary=M(0),M.secondary=M(600);var I=(0,o.ht)(400),z=(0,o.ht)(400),U=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:I,light:z}}),A=(0,o.ht)(400),q=(0,o.ht)(400),Y=(0,r.Y)({default:"light",type:"COLOR",modes:{dark:A,light:q}}),$=(0,o.ht)(400),G=(0,o.ht)(400),K={background:a,format:{primary:c,secondary:p,tertiary:v},rainbow:{conic:{sm:g,xl:y},linear:{sm:b,xl:x}},livestream:k,status:{caution:w,negative:E,positive:R},stroke:T,surface:_,text:M,upsell:{New:(0,r.Y)({default:"light",type:"COLOR",modes:{dark:$,light:G}}),sm:U,xl:Y}}},616708:function(e,n,t){t.d(n,{v:function(){return v}});var r,o,i=t(331083),a=t(940117),l=t(173898),u=t(524777),s=t(43541),c=t(80135),d={default:"light",type:"COLOR",modes:{dark:function(e){var n=.15+e/7500,t=.75+e/1e3;return(0,l.css)(r||(r=(0,a.a)(["\n border: ","px solid rgba(255, 255, 255, ",");\n box-shadow: ",", ",";\n "],["\n border: ","px solid rgba(255, 255, 255, ",");\n box-shadow: ",", ",";\n "])),t,n,p(e),f(e))},light:function(e){var n=1+e/2e3;return(0,l.css)(o||(o=(0,a.a)(["\n border: ","px solid ",";\n box-shadow: ",", ",";\n "],["\n border: ","px solid ",";\n box-shadow: ",", ",";\n "])),n,(0,u.rgba)(c.Sn,.025),p(e),f(e))}}};function f(e){return m({blur:10+e/500,spread:.5+e/2e3,opacity:e/1e5+e/7500})}function p(e){return m({offsetY:10,blur:6+e/500,spread:-5+e/2e3,opacity:e/2e4+e/9e3})}function m(e){var n=e.offsetX,t=e.offsetY,r=e.blur,o=e.spread,i=e.color,a=void 0===i?c.Sn:i,l=e.opacity;return"\n ".concat(void 0===n?0:n,"px\n ").concat(void 0===t?0:t,"px\n ").concat(void 0===r?3:r,"px\n ").concat(void 0===o?1:o,"px\n ").concat((0,u.rgba)(a,void 0===l?.2:l),"\n")}var h={default:"desktop",type:"SIZE",modes:{desktop:function(e){return Math.max(Math.round(1*(8.5+3*Math.pow(1.4,(e+=100)/100)/1.618))/1,10)}}},v={color:i.$,edge:function(e){return(0,s.Y)(d,e)},space:function(e){return"".concat(.25*e/50,"rem")},typography:{size:function(e){return(0,s.Y)(h,e)}}}},43541:function(e,n,t){t.d(n,{Y:function(){return o}});var r={COLOR:"light",SIZE:"desktop"};function o(e,n){if(void 0===n&&(n=500),"SIZE"===e.type){var t=e.modes.desktop;if("string"==typeof t)return t;if("function"==typeof t)return t(n)}if("COLOR"===e.type)return function(t){var o,i,a,l=t.theme;"string"==typeof l&&(a=l),"string"==typeof(null==l?void 0:l.name)&&(a=l.name);var u=(o=a,"function"==typeof(i=e.modes[o])||"string"==typeof i||(console.warn("Invalid Theme: "+o),e.default&&(o=e.default),e.default||(o=r[e.type]),i=e.modes[o]),i);return"string"==typeof u?u:"function"==typeof u?u(n):void 0}}},940117:function(e,n,t){t.d(n,{_:function(){return u},a:function(){return c},b:function(){return a},c:function(){return i},d:function(){return l},e:function(){return s},f:function(){return o}});var r=function(e,n){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function o(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}r(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var i=function(){return(i=Object.assign||function(e){for(var n,t=1,r=arguments.length;tn.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t}function l(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,i=t.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a}function s(e,n,t){if(t||2==arguments.length)for(var r,o=0,i=n.length;o &,\n ",""," ~ &,\n ",""," ~ div > & {\n opacity: 1;\n }\n\n ","\n\n ",";\n "],["\n z-index: 1;\n top: ",";\n left: ",";\n position: absolute;\n width: calc(100% + ",");\n height: calc(100% + ",");\n pointer-events: none;\n border-radius: ",";\n border: "," solid ",";\n opacity: 0;\n transition: 150ms ease-in-out;\n\n ",""," > &,\n ",""," ~ &,\n ",""," ~ div > & {\n opacity: 1;\n }\n\n ","\n\n ",";\n "])),(0,c.rem)(-1*p),(0,c.rem)(-1*p),(0,c.rem)(2*p),(0,c.rem)(2*p),(0,c.rem)(void 0===l?6:l),(0,c.rem)(2),(0,d.iN)(500),n,v,n,v,n,v,t&&(0,s.css)(o||(o=(0,u.a)(["\n opacity: 1;\n "],["\n opacity: 1;\n "]))),h)}),m="'Helvetica Neue', Helvetica, Arial, sans-serif;";(0,s.createGlobalStyle)(l||(l=(0,u.a)(["\n\n :root {\n color-scheme: ","\n }\n\n html {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n font-size: 16px;\n font-family: ",";\n min-height: 100%;\n color: ",";\n background: ",";\n }\n\n body {\n padding: 0;\n margin: 0;\n min-height: 100%;\n overflow-x: hidden;\n }\n\n *, *:before, *:after {\n box-sizing: inherit\n }\n\n blockquote, dl, dd, h1, h2, h3, h4, h5, h6, figure, p, pre, ul, li {\n margin: 0;\n padding: 0;\n }\n\n input {\n font-family: ",";\n }\n\n button {\n background: transparent;\n border-color: transparent;\n padding: 0;\n margin: 0;\n }\n\n a {\n text-decoration: none;\n }\n"],["\n\n :root {\n color-scheme: ","\n }\n\n html {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n font-size: 16px;\n font-family: ",";\n min-height: 100%;\n color: ",";\n background: ",";\n }\n\n body {\n padding: 0;\n margin: 0;\n min-height: 100%;\n overflow-x: hidden;\n }\n\n *, *:before, *:after {\n box-sizing: inherit\n }\n\n blockquote, dl, dd, h1, h2, h3, h4, h5, h6, figure, p, pre, ul, li {\n margin: 0;\n padding: 0;\n }\n\n input {\n font-family: ",";\n }\n\n button {\n background: transparent;\n border-color: transparent;\n padding: 0;\n margin: 0;\n }\n\n a {\n text-decoration: none;\n }\n"])),function(e){return e.theme.name},m,function(e){return e.theme.content.color2},function(e){return e.theme.content.background},m)},997491:function(e,n,t){t.d(n,{j:function(){return o}});var r=t(940117);function o(e){return(void 0===e&&(e=null),e)?[i({style:e,layout:!0}),i({style:e,display:!0})]:[null]}function i(e){var n=e.style,t=e.layout,o=e.display,i={},l={};return(Object.keys(n).map(function(e){return a.includes(e)?i[e]=n[e]:l[e]=n[e]}),void 0!==t&&t)?(0,r.c)({},i):void 0!==o&&o?(0,r.c)({},l):void console.warn("Style split type not provided!")}var a=["alignSelf","bottom","display","flex","flexBasis","float","height","left","margin","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","position","right","top","width","flexGrow","flexShrink","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","justifySelf","placeSelf"]},264190:function(e,n,t){t.d(n,{O:function(){return f}});var r=t(478534),o=t(400414),i=t(436938),a=t(903431),l=t(916227),u=t(919938),s=t(306428),c=t(807204),d=t(652983);function f(e={}){let{isDisabled:n,isReadOnly:t,isRequired:f,isInvalid:m,id:h,onBlur:v,onFocus:g,"aria-describedby":y}=(0,r.K)(e),{defaultChecked:b,isChecked:x,isFocusable:k,onChange:C,isIndeterminate:O,name:w,value:j,tabIndex:P,"aria-label":E,"aria-labelledby":L,"aria-invalid":N,...R}=e,S=function(e,n=[]){let t=Object.assign({},e);for(let e of n)e in t&&delete t[e];return t}(R,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),B=(0,a.W)(C),T=(0,a.W)(v),_=(0,a.W)(g),[F,M]=(0,d.useState)(!1),[D,I]=(0,d.useState)(!1),[z,U]=(0,d.useState)(!1),[A,q]=(0,d.useState)(!1);(0,d.useEffect)(()=>(0,c.BT)(M),[]);let Y=(0,d.useRef)(null),[$,G]=(0,d.useState)(!0),[K,W]=(0,d.useState)(!!b),H=void 0!==x,J=H?x:K,Q=(0,d.useCallback)(e=>{if(t||n){e.preventDefault();return}H||(J?W(e.target.checked):W(!!O||e.target.checked)),null==B||B(e)},[t,n,J,H,O,B]);(0,o.G)(()=>{Y.current&&(Y.current.indeterminate=!!O)},[O]),(0,i.r)(()=>{n&&I(!1)},[n,I]),(0,o.G)(()=>{let e=Y.current;if(!(null==e?void 0:e.form))return;let n=()=>{W(!!b)};return e.form.addEventListener("reset",n),()=>{var t;return null==(t=e.form)?void 0:t.removeEventListener("reset",n)}},[]);let V=n&&!k,Z=(0,d.useCallback)(e=>{" "===e.key&&q(!0)},[q]),X=(0,d.useCallback)(e=>{" "===e.key&&q(!1)},[q]);(0,o.G)(()=>{Y.current&&Y.current.checked!==J&&W(Y.current.checked)},[Y.current]);let ee=(0,d.useCallback)((e={},r=null)=>({...e,ref:r,"data-active":(0,u.PB)(A),"data-hover":(0,u.PB)(z),"data-checked":(0,u.PB)(J),"data-focus":(0,u.PB)(D),"data-focus-visible":(0,u.PB)(D&&F),"data-indeterminate":(0,u.PB)(O),"data-disabled":(0,u.PB)(n),"data-invalid":(0,u.PB)(m),"data-readonly":(0,u.PB)(t),"aria-hidden":!0,onMouseDown:(0,u.v0)(e.onMouseDown,e=>{D&&e.preventDefault(),q(!0)}),onMouseUp:(0,u.v0)(e.onMouseUp,()=>q(!1)),onMouseEnter:(0,u.v0)(e.onMouseEnter,()=>U(!0)),onMouseLeave:(0,u.v0)(e.onMouseLeave,()=>U(!1))}),[A,J,n,D,F,z,O,m,t]),en=(0,d.useCallback)((e={},r=null)=>({...e,ref:r,"data-active":(0,u.PB)(A),"data-hover":(0,u.PB)(z),"data-checked":(0,u.PB)(J),"data-focus":(0,u.PB)(D),"data-focus-visible":(0,u.PB)(D&&F),"data-indeterminate":(0,u.PB)(O),"data-disabled":(0,u.PB)(n),"data-invalid":(0,u.PB)(m),"data-readonly":(0,u.PB)(t)}),[A,J,n,D,F,z,O,m,t]),et=(0,d.useCallback)((e={},t=null)=>({...S,...e,ref:(0,l.lq)(t,e=>{e&&G("LABEL"===e.tagName)}),onClick:(0,u.v0)(e.onClick,()=>{var e;$||(null==(e=Y.current)||e.click(),requestAnimationFrame(()=>{var e;null==(e=Y.current)||e.focus({preventScroll:!0})}))}),"data-disabled":(0,u.PB)(n),"data-checked":(0,u.PB)(J),"data-invalid":(0,u.PB)(m)}),[S,n,J,m,$]),er=(0,d.useCallback)((e={},r=null)=>({...e,ref:(0,l.lq)(Y,r),type:"checkbox",name:w,value:j,id:h,tabIndex:P,onChange:(0,u.v0)(e.onChange,Q),onBlur:(0,u.v0)(e.onBlur,T,()=>I(!1)),onFocus:(0,u.v0)(e.onFocus,_,()=>I(!0)),onKeyDown:(0,u.v0)(e.onKeyDown,Z),onKeyUp:(0,u.v0)(e.onKeyUp,X),required:f,checked:J,disabled:V,readOnly:t,"aria-label":E,"aria-labelledby":L,"aria-invalid":N?!!N:m,"aria-describedby":y,"aria-disabled":n,style:s.N}),[w,j,h,Q,T,_,Z,X,f,J,V,t,E,L,N,m,y,n,P]),eo=(0,d.useCallback)((e={},t=null)=>({...e,ref:t,onMouseDown:(0,u.v0)(e.onMouseDown,p),"data-disabled":(0,u.PB)(n),"data-checked":(0,u.PB)(J),"data-invalid":(0,u.PB)(m)}),[J,n,m]);return{state:{isInvalid:m,isFocused:D,isChecked:J,isActive:A,isHovered:z,isIndeterminate:O,isDisabled:n,isReadOnly:t,isRequired:f},getRootProps:et,getCheckboxProps:ee,getIndicatorProps:en,getInputProps:er,getLabelProps:eo,htmlProps:S}}function p(e){e.preventDefault(),e.stopPropagation()}},474766:function(e,n,t){t.d(n,{X:function(){return k}});var r=t(652983),o=t(157481),i=t(712626),a=t(397458);function l(e){return(0,a.jsx)(i.m.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,a.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function u(e){return(0,a.jsx)(i.m.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,a.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function s(e){let{isIndeterminate:n,isChecked:t,...r}=e;return t||n?(0,a.jsx)(i.m.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,a.jsx)(n?u:l,{...r})}):null}var c=t(264190),d=t(919938),f=t(725065),p=t(450032),m=t(408232),h=t(93141),v={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},g={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},y=(0,f.F4)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),b=(0,f.F4)({from:{opacity:0},to:{opacity:1}}),x=(0,f.F4)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),k=(0,p.G)(function(e,n){let t=(0,o.J)(),l={...t,...e},u=(0,m.jC)("Checkbox",l),f=(0,h.Lr)(e),{spacing:p="0.5rem",className:k,children:C,iconColor:O,iconSize:w,icon:j=(0,a.jsx)(s,{}),isChecked:P,isDisabled:E=null==t?void 0:t.isDisabled,onChange:L,inputProps:N,...R}=f,S=P;(null==t?void 0:t.value)&&f.value&&(S=t.value.includes(f.value));let B=L;(null==t?void 0:t.onChange)&&f.value&&(B=(0,d.PP)(t.onChange,L));let{state:T,getInputProps:_,getCheckboxProps:F,getLabelProps:M,getRootProps:D}=(0,c.O)({...R,isDisabled:E,isChecked:S,onChange:B}),I=function(e){let[n,t]=(0,r.useState)(e),[o,i]=(0,r.useState)(!1);return e!==n&&(i(!0),t(e)),o}(T.isChecked),z=(0,r.useMemo)(()=>({animation:I?T.isIndeterminate?`${b} 20ms linear, ${x} 200ms linear`:`${y} 200ms linear`:void 0,fontSize:w,color:O,...u.icon}),[O,w,I,T.isIndeterminate,u.icon]),U=(0,r.cloneElement)(j,{__css:z,isIndeterminate:T.isIndeterminate,isChecked:T.isChecked});return(0,a.jsxs)(i.m.label,{__css:{...g,...u.container},className:(0,d.cx)("chakra-checkbox",k),...D(),children:[(0,a.jsx)("input",{className:"chakra-checkbox__input",..._(N,n)}),(0,a.jsx)(i.m.span,{__css:{...v,...u.control},className:"chakra-checkbox__control",...F(),children:U}),C&&(0,a.jsx)(i.m.span,{className:"chakra-checkbox__label",...M(),__css:{marginStart:p,...u.label},children:C})]})});k.displayName="Checkbox"},157481:function(e,n,t){t.d(n,{J:function(){return o},z:function(){return r}});var[r,o]=(0,t(396248).k)({name:"CheckboxGroupContext",strict:!1})},529457:function(e,n,t){t.d(n,{NI:function(){return v},NJ:function(){return h},Q6:function(){return g},e:function(){return p}});var r=t(396248),o=t(916227),i=t(450032),a=t(408232),l=t(93141),u=t(712626),s=t(919938),c=t(652983),d=t(397458),[f,p]=(0,r.k)({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),[m,h]=(0,r.k)({strict:!1,name:"FormControlContext"}),v=(0,i.G)(function(e,n){let t=(0,a.jC)("Form",e),{getRootProps:r,htmlProps:i,...p}=function(e){let{id:n,isRequired:t,isInvalid:r,isDisabled:i,isReadOnly:a,...l}=e,u=(0,c.useId)(),d=n||`field-${u}`,f=`${d}-label`,p=`${d}-feedback`,m=`${d}-helptext`,[h,v]=(0,c.useState)(!1),[g,y]=(0,c.useState)(!1),[b,x]=(0,c.useState)(!1),k=(0,c.useCallback)((e={},n=null)=>({id:m,...e,ref:(0,o.lq)(n,e=>{e&&y(!0)})}),[m]),C=(0,c.useCallback)((e={},n=null)=>({...e,ref:n,"data-focus":(0,s.PB)(b),"data-disabled":(0,s.PB)(i),"data-invalid":(0,s.PB)(r),"data-readonly":(0,s.PB)(a),id:void 0!==e.id?e.id:f,htmlFor:void 0!==e.htmlFor?e.htmlFor:d}),[d,i,b,r,a,f]),O=(0,c.useCallback)((e={},n=null)=>({id:p,...e,ref:(0,o.lq)(n,e=>{e&&v(!0)}),"aria-live":"polite"}),[p]),w=(0,c.useCallback)((e={},n=null)=>({...e,...l,ref:n,role:"group"}),[l]);return{isRequired:!!t,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!i,isFocused:!!b,onFocus:()=>x(!0),onBlur:()=>x(!1),hasFeedbackText:h,setHasFeedbackText:v,hasHelpText:g,setHasHelpText:y,id:d,labelId:f,feedbackId:p,helpTextId:m,htmlProps:l,getHelpTextProps:k,getErrorMessageProps:O,getRootProps:w,getLabelProps:C,getRequiredIndicatorProps:(0,c.useCallback)((e={},n=null)=>({...e,ref:n,role:"presentation","aria-hidden":!0,children:e.children||"*"}),[])}}((0,l.Lr)(e)),h=(0,s.cx)("chakra-form-control",e.className);return(0,d.jsx)(m,{value:p,children:(0,d.jsx)(f,{value:t,children:(0,d.jsx)(u.m.div,{...r({},n),className:h,__css:t.container})})})});v.displayName="FormControl";var g=(0,i.G)(function(e,n){let t=h(),r=p(),o=(0,s.cx)("chakra-form__helper-text",e.className);return(0,d.jsx)(u.m.div,{...null==t?void 0:t.getHelpTextProps(e,n),__css:r.helperText,className:o})});g.displayName="FormHelperText"},478534:function(e,n,t){t.d(n,{K:function(){return a},Y:function(){return i}});var r=t(529457),o=t(919938);function i(e){let{isDisabled:n,isInvalid:t,isReadOnly:r,isRequired:i,...l}=a(e);return{...l,disabled:n,readOnly:r,required:i,"aria-invalid":(0,o.Qm)(t),"aria-required":(0,o.Qm)(i),"aria-readonly":(0,o.Qm)(r)}}function a(e){var n,t,i;let a=(0,r.NJ)(),{id:l,disabled:u,readOnly:s,required:c,isRequired:d,isInvalid:f,isReadOnly:p,isDisabled:m,onFocus:h,onBlur:v,...g}=e,y=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==a?void 0:a.hasFeedbackText)&&(null==a?void 0:a.isInvalid)&&y.push(a.feedbackId),(null==a?void 0:a.hasHelpText)&&y.push(a.helpTextId),{...g,"aria-describedby":y.join(" ")||void 0,id:null!=l?l:null==a?void 0:a.id,isDisabled:null!=(n=null!=u?u:m)?n:null==a?void 0:a.isDisabled,isReadOnly:null!=(t=null!=s?s:p)?t:null==a?void 0:a.isReadOnly,isRequired:null!=(i=null!=c?c:d)?i:null==a?void 0:a.isRequired,isInvalid:null!=f?f:null==a?void 0:a.isInvalid,onFocus:(0,o.v0)(null==a?void 0:a.onFocus,h),onBlur:(0,o.v0)(null==a?void 0:a.onBlur,v)}}},494802:function(e,n,t){t.d(n,{J:function(){return s}});var r=t(450032),o=t(408232),i=t(712626),a=t(919938),l=t(397458),u={path:(0,l.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,l.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,l.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,l.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},s=(0,r.G)((e,n)=>{let{as:t,viewBox:r,color:s="currentColor",focusable:c=!1,children:d,className:f,__css:p,...m}=e,h=(0,a.cx)("chakra-icon",f),v=(0,o.mq)("Icon",e),g={ref:n,focusable:c,className:h,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:s,...p,...v}},y=null!=r?r:u.viewBox;if(t&&"string"!=typeof t)return(0,l.jsx)(i.m.svg,{as:t,...g,...m});let b=null!=d?d:u.path;return(0,l.jsx)(i.m.svg,{verticalAlign:"middle",viewBox:y,...g,...m,children:b})});s.displayName="Icon"},205609:function(e,n,t){t.d(n,{x:function(){return c}});var r=t(450032),o=t(408232),i=t(93141),a=t(712626),l=t(919938),u=t(562282),s=t(397458),c=(0,r.G)(function(e,n){let t=(0,o.mq)("Text",e),{className:r,align:c,decoration:d,casing:f,...p}=(0,i.Lr)(e),m=(0,u.o)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,s.jsx)(a.m.p,{ref:n,className:(0,l.cx)("chakra-text",e.className),...m,...p,__css:t})});c.displayName="Text"},945368:function(e,n,t){t.d(n,{r:function(){return s}});var r=t(450032),o=t(408232),i=t(93141),a=t(712626),l=t(919938),u=t(397458),s=(0,r.G)(function(e,n){let t=(0,o.mq)("Link",e),{className:r,isExternal:s,...c}=(0,i.Lr)(e);return(0,u.jsx)(a.m.a,{target:s?"_blank":void 0,rel:s?"noopener":void 0,ref:n,className:(0,l.cx)("chakra-link",r),...c,__css:t})});s.displayName="Link"},751004:function(e,n,t){t.d(n,{xu:function(){return a}});var r=t(712626),o=t(450032),i=t(397458),a=(0,r.m)("div");a.displayName="Box";var l=(0,o.G)(function(e,n){let{size:t,centerContent:r=!0,...o}=e;return(0,i.jsx)(a,{ref:n,boxSize:t,__css:{...r?{display:"flex",alignItems:"center",justifyContent:"center"}:{},flexShrink:0,flexGrow:0},...o})});l.displayName="Square",(0,o.G)(function(e,n){let{size:t,...r}=e;return(0,i.jsx)(l,{size:t,ref:n,borderRadius:"9999px",...r})}).displayName="Circle"},25758:function(e,n,t){t.d(n,{k:function(){return r}});function r(e){let{wasSelected:n,enabled:t,isSelected:r,mode:o="unmount"}=e;return!t||!!r||"keepMounted"===o&&!!n}},562282:function(e,n,t){t.d(n,{o:function(){return r}});function r(e){let n=Object.assign({},e);for(let e in n)void 0===n[e]&&delete n[e];return n}},310124:function(e,n,t){t.d(n,{h:function(){return h}});var r=t(265146),o=t(400414),i=t(396248),a=t(63730),l=t(652983),u=t(397458),[s,c]=(0,i.k)({strict:!1,name:"PortalContext"}),d="chakra-portal",f=e=>(0,u.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),p=e=>{let{appendToParentPortal:n,children:t}=e,[i,p]=(0,l.useState)(null),m=(0,l.useRef)(null),[,h]=(0,l.useState)({});(0,l.useEffect)(()=>h({}),[]);let v=c(),g=(0,r.L)();(0,o.G)(()=>{if(!i)return;let e=i.ownerDocument,t=n&&null!=v?v:e.body;if(!t)return;m.current=e.createElement("div"),m.current.className=d,t.appendChild(m.current),h({});let r=m.current;return()=>{t.contains(r)&&t.removeChild(r)}},[i]);let y=(null==g?void 0:g.zIndex)?(0,u.jsx)(f,{zIndex:null==g?void 0:g.zIndex,children:t}):t;return m.current?(0,a.createPortal)((0,u.jsx)(s,{value:m.current,children:y}),m.current):(0,u.jsx)("span",{ref:e=>{e&&p(e)}})},m=e=>{let{children:n,containerRef:t,appendToParentPortal:r}=e,i=t.current,c=null!=i?i:"undefined"!=typeof window?document.body:void 0,f=(0,l.useMemo)(()=>{let e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className=d),e},[i]),[,p]=(0,l.useState)({});return((0,o.G)(()=>p({}),[]),(0,o.G)(()=>{if(f&&c)return c.appendChild(f),()=>{c.removeChild(f)}},[f,c]),c&&f)?(0,a.createPortal)((0,u.jsx)(s,{value:r?f:null,children:n}),f):null};function h(e){let{containerRef:n,...t}={appendToParentPortal:!0,...e};return n?(0,u.jsx)(m,{containerRef:n,...t}):(0,u.jsx)(p,{...t})}h.className=d,h.selector=".chakra-portal",h.displayName="Portal"},265146:function(e,n,t){t.d(n,{L:function(){return a},h:function(){return l}});var r=t(396248),o=t(397458),[i,a]=(0,r.k)({strict:!1,name:"PortalManagerContext"});function l(e){let{children:n,zIndex:t}=e;return(0,o.jsx)(i,{value:{zIndex:t},children:n})}l.displayName="PortalManager"},365184:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(652983);function o(e){return r.Children.toArray(e).filter(e=>(0,r.isValidElement)(e))}},432835:function(e,n,t){t.d(n,{h:function(){return a}});var r=t(652983),o=t(574868),i=t(592119);function a(e){let{isOpen:n,ref:t}=e,[a,l]=(0,r.useState)(n),[u,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{u||(l(n),s(!0))},[n,u,a]),(0,o.O)(()=>t.current,"animationend",()=>{l(n)}),{present:!(!n&&!a),onComplete(){var e;let n=new((0,i.kR)(t.current)).CustomEvent("animationend",{bubbles:!0});null==(e=t.current)||e.dispatchEvent(n)}}}},903431:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(652983);function o(e,n=[]){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e}),(0,r.useCallback)((...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},n)}},614361:function(e,n,t){t.d(n,{C:function(){return c},G:function(){return f}});var r=t(592119),o=t(955998),i=t(744980),a=t(574868),l=t(400414),u=t(436938),s=t(652983);function c(e,n){let{shouldFocus:t,visible:i,focusRef:a}=n,l=t&&!i;(0,u.r)(()=>{let n;if(!l||function(e){let n=e.current;if(!n)return!1;let t=(0,r.vY)(n);return!(!t||n.contains(t))&&!!(0,o.Wq)(t)}(e))return;let t=(null==a?void 0:a.current)||e.current;if(t)return n=requestAnimationFrame(()=>{t.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(n)}},[l,e,a])}var d={preventScroll:!0,shouldFocus:!1};function f(e,n=d){let{focusRef:t,preventScroll:r,shouldFocus:o,visible:c}=n,f="current"in e?e.current:e,p=o&&c,m=(0,s.useRef)(p),h=(0,s.useRef)(c);(0,l.G)(()=>{!h.current&&c&&(m.current=p),h.current=c},[c,p]);let v=(0,s.useCallback)(()=>{if(c&&f&&m.current&&(m.current=!1,!f.contains(document.activeElement))){if(null==t?void 0:t.current)requestAnimationFrame(()=>{var e;null==(e=t.current)||e.focus({preventScroll:r})});else{let e=(0,i.t5)(f);e.length>0&&requestAnimationFrame(()=>{e[0].focus({preventScroll:r})})}}},[c,r,f,t]);(0,u.r)(()=>{v()},[v]),(0,a.O)(f,"transitionend",v)}},436938:function(e,n,t){t.d(n,{r:function(){return o}});var r=t(652983);function o(e,n){let t=(0,r.useRef)(!1),o=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(t.current&&o.current)return e();o.current=!0},n),(0,r.useEffect)(()=>(t.current=!0,()=>{t.current=!1}),[])}},969158:function(e,n,t){t.d(n,{F:function(){return i}});var r=t(511495),o=t(652983);function i(){let e=(0,o.useContext)(r.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}},670296:function(e,n,t){t.d(n,{u:function(){return j}});var r={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},o=t(592119),i=t(81862),a=t(444047),l=t(322542),u=t(574868),s=t(916227),c=t(919938),d=t(652983),f=e=>{var n;return(null==(n=e.current)?void 0:n.ownerDocument)||document},p=e=>{var n,t;return(null==(t=null==(n=e.current)?void 0:n.ownerDocument)?void 0:t.defaultView)||window},m="chakra-ui:close-tooltip",h=t(310124),v=t(712626),g=t(450032),y=t(408232),b=t(93141),x=t(969158),k=t(29607),C=t(692584),O=t(397458),w=(0,v.m)(k.E.div),j=(0,g.G)((e,n)=>{var t,g;let k;let j=(0,y.mq)("Tooltip",e),P=(0,b.Lr)(e),E=(0,x.F)(),{children:L,label:N,shouldWrapChildren:R,"aria-label":S,hasArrow:B,bg:T,portalProps:_,background:F,backgroundColor:M,bgColor:D,motionProps:I,...z}=P,U=null!=(g=null!=(t=null!=F?F:M)?t:T)?g:D;if(U){j.bg=U;let e=(0,b.K1)(E,"colors",U);j[a.Dq.arrowBg.var]=e}let A=function(e={}){let{openDelay:n=0,closeDelay:t=0,closeOnClick:r=!0,closeOnMouseDown:h,closeOnScroll:v,closeOnPointerDown:g=h,closeOnEsc:y=!0,onOpen:b,onClose:x,placement:k,id:C,isOpen:O,defaultIsOpen:w,arrowSize:j=10,arrowShadowColor:P,arrowPadding:E,modifiers:L,isDisabled:N,gutter:R,offset:S,direction:B,...T}=e,{isOpen:_,onOpen:F,onClose:M}=(0,l.q)({isOpen:O,defaultIsOpen:w,onOpen:b,onClose:x}),{referenceRef:D,getPopperProps:I,getArrowInnerProps:z,getArrowProps:U}=(0,i.D)({enabled:_,placement:k,arrowPadding:E,modifiers:L,gutter:R,offset:S,direction:B}),A=(0,d.useId)(),q=`tooltip-${null!=C?C:A}`,Y=(0,d.useRef)(null),$=(0,d.useRef)(),G=(0,d.useCallback)(()=>{$.current&&(clearTimeout($.current),$.current=void 0)},[]),K=(0,d.useRef)(),W=(0,d.useCallback)(()=>{K.current&&(clearTimeout(K.current),K.current=void 0)},[]),H=(0,d.useCallback)(()=>{W(),M()},[M,W]),J=((0,d.useEffect)(()=>{let e=f(Y);return e.addEventListener(m,H),()=>e.removeEventListener(m,H)},[H,Y]),()=>{let e=f(Y),n=p(Y);e.dispatchEvent(new n.CustomEvent(m))}),Q=(0,d.useCallback)(()=>{if(!N&&!$.current){_&&J();let e=p(Y);$.current=e.setTimeout(F,n)}},[J,N,_,F,n]),V=(0,d.useCallback)(()=>{G();let e=p(Y);K.current=e.setTimeout(H,t)},[t,H,G]),Z=(0,d.useCallback)(()=>{_&&r&&V()},[r,V,_]),X=(0,d.useCallback)(()=>{_&&g&&V()},[g,V,_]),ee=(0,d.useCallback)(e=>{_&&"Escape"===e.key&&V()},[_,V]);(0,u.O)(()=>f(Y),"keydown",y?ee:void 0),(0,u.O)(()=>{let e=Y.current;if(!e)return null;let n=function e(n){return["html","body","#document"].includes(n.localName)?n.ownerDocument.body:(0,o.Re)(n)&&function(e){let{overflow:n,overflowX:t,overflowY:r}=(e.ownerDocument.defaultView||window).getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+r+t)}(n)?n:e("html"===n.localName?n:n.assignedSlot||n.parentElement||n.ownerDocument.documentElement)}(e);return"body"===n.localName?p(Y):n},"scroll",()=>{_&&v&&H()},{passive:!0,capture:!0}),(0,d.useEffect)(()=>{N&&(G(),_&&M())},[N,_,M,G]),(0,d.useEffect)(()=>()=>{G(),W()},[G,W]),(0,u.O)(()=>Y.current,"pointerleave",V);let en=(0,d.useCallback)((e={},n=null)=>({...e,ref:(0,s.lq)(Y,n,D),onPointerEnter:(0,c.v0)(e.onPointerEnter,e=>{"touch"!==e.pointerType&&Q()}),onClick:(0,c.v0)(e.onClick,Z),onPointerDown:(0,c.v0)(e.onPointerDown,X),onFocus:(0,c.v0)(e.onFocus,Q),onBlur:(0,c.v0)(e.onBlur,V),"aria-describedby":_?q:void 0}),[Q,V,X,_,q,Z,D]),et=(0,d.useCallback)((e={},n=null)=>I({...e,style:{...e.style,[a.Dq.arrowSize.var]:j?`${j}px`:void 0,[a.Dq.arrowShadowColor.var]:P}},n),[I,j,P]);return{isOpen:_,show:Q,hide:V,getTriggerProps:en,getTooltipProps:(0,d.useCallback)((e={},n=null)=>{let t={...e.style,position:"relative",transformOrigin:a.Dq.transformOrigin.varRef};return{ref:n,...T,...e,id:q,role:"tooltip",style:t}},[T,q]),getTooltipPositionerProps:et,getArrowProps:U,getArrowInnerProps:z}}({...z,direction:E.direction});if("string"==typeof L||R)k=(0,O.jsx)(v.m.span,{display:"inline-block",tabIndex:0,...A.getTriggerProps(),children:L});else{let e=d.Children.only(L);k=(0,d.cloneElement)(e,A.getTriggerProps(e.props,e.ref))}let q=!!S,Y=A.getTooltipProps({},n),$=q?function(e,n=[]){let t=Object.assign({},e);for(let e of n)e in t&&delete t[e];return t}(Y,["role","id"]):Y,G=function(e,n){let t={};for(let r of n)r in e&&(t[r]=e[r]);return t}(Y,["role","id"]);return N?(0,O.jsxs)(O.Fragment,{children:[k,(0,O.jsx)(C.M,{children:A.isOpen&&(0,O.jsx)(h.h,{..._,children:(0,O.jsx)(v.m.div,{...A.getTooltipPositionerProps(),__css:{zIndex:j.zIndex,pointerEvents:"none"},children:(0,O.jsxs)(w,{variants:r,initial:"exit",animate:"enter",exit:"exit",...I,...$,__css:j,children:[N,q&&(0,O.jsx)(v.m.span,{srOnly:!0,...G,children:S}),B&&(0,O.jsx)(v.m.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,O.jsx)(v.m.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:j.bg}})})]})})})})]}):(0,O.jsx)(O.Fragment,{children:L})});j.displayName="Tooltip"},56548:function(e,n,t){t.d(n,{Lj:function(){return r},Sh:function(){return a},js:function(){return i},p$:function(){return l}});var r={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},o={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function i(e){var n;switch(null!=(n=null==e?void 0:e.direction)?n:"right"){case"right":default:return o.slideRight;case"left":return o.slideLeft;case"bottom":return o.slideDown;case"top":return o.slideUp}}var a={enter:{duration:.2,ease:r.easeOut},exit:{duration:.1,ease:r.easeIn}},l={enter:(e,n)=>({...e,delay:"number"==typeof n?n:null==n?void 0:n.enter}),exit:(e,n)=>({...e,delay:"number"==typeof n?n:null==n?void 0:n.exit})}},306428:function(e,n,t){t.d(n,{N:function(){return r}});var r={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"}},807204:function(e,n,t){t.d(n,{BT:function(){return g}});var r=()=>"undefined"!=typeof document,o=!1,i=null,a=!1,l=!1,u=new Set;function s(e,n){u.forEach(t=>t(e,n))}var c="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function d(e){a=!0,e.metaKey||!c&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(i="keyboard",s("keyboard",e))}function f(e){if(i="pointer","mousedown"===e.type||"pointerdown"===e.type){a=!0;let n=e.composedPath?e.composedPath()[0]:e.target,t=!1;try{t=n.matches(":focus-visible")}catch{}t||s("pointer",e)}}function p(e){(0===e.mozInputSource&&e.isTrusted||0===e.detail&&!e.pointerType)&&(a=!0,i="virtual")}function m(e){e.target!==window&&e.target!==document&&(a||l||(i="virtual",s("virtual",e)),a=!1,l=!1)}function h(){a=!1,l=!0}function v(){return"pointer"!==i}function g(e){!function(){if(!r()||o)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){a=!0,e.apply(this,n)},document.addEventListener("keydown",d,!0),document.addEventListener("keyup",d,!0),document.addEventListener("click",p,!0),window.addEventListener("focus",m,!0),window.addEventListener("blur",h,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",f,!0),document.addEventListener("pointermove",f,!0),document.addEventListener("pointerup",f,!0)):(document.addEventListener("mousedown",f,!0),document.addEventListener("mousemove",f,!0),document.addEventListener("mouseup",f,!0)),o=!0}(),e(v());let n=()=>e(v());return u.add(n),()=>{u.delete(n)}}},692584:function(e,n,t){t.d(n,{M:function(){return y}});var r=t(397458),o=t(652983),i=t(920262),a=t(46106),l=t(216566),u=t(678853),s=t(194798);class c extends o.Component{getSnapshotBeforeUpdate(e){let n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=n.offsetHeight||0,e.width=n.offsetWidth||0,e.top=n.offsetTop,e.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n}){let t=(0,o.useId)(),i=(0,o.useRef)(null),a=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:l}=(0,o.useContext)(s._);return(0,o.useInsertionEffect)(()=>{let{width:e,height:r,top:o,left:u}=a.current;if(n||!i.current||!e||!r)return;i.current.dataset.motionPopId=t;let s=document.createElement("style");return l&&(s.nonce=l),document.head.appendChild(s),s.sheet&&s.sheet.insertRule(` [data-motion-pop-id="${t}"] { position: absolute !important; width: ${e}px !important; height: ${r}px !important; top: ${o}px !important; left: ${u}px !important; } `),()=>{document.head.removeChild(s)}},[n]),(0,r.jsx)(c,{isPresent:n,childRef:i,sizeRef:a,children:o.cloneElement(e,{ref:i})})}let f=({children:e,initial:n,isPresent:t,onExitComplete:i,custom:a,presenceAffectsLayout:s,mode:c})=>{let f=(0,u.h)(p),m=(0,o.useId)(),h=(0,o.useMemo)(()=>({id:m,initial:n,isPresent:t,custom:a,onExitComplete:e=>{for(let n of(f.set(e,!0),f.values()))if(!n)return;i&&i()},register:e=>(f.set(e,!1),()=>f.delete(e))}),s?[Math.random()]:[t]);return(0,o.useMemo)(()=>{f.forEach((e,n)=>f.set(n,!1))},[t]),o.useEffect(()=>{t||f.size||!i||i()},[t]),"popLayout"===c&&(e=(0,r.jsx)(d,{isPresent:t,children:e})),(0,r.jsx)(l.O.Provider,{value:h,children:e})};function p(){return new Map}var m=t(399867),h=t(424092),v=t(308823);let g=e=>e.key||"",y=({children:e,custom:n,initial:t=!0,onExitComplete:l,exitBeforeEnter:u,presenceAffectsLayout:s=!0,mode:c="sync"})=>{var d;(0,v.k)(!u,"Replace exitBeforeEnter with mode='wait'");let p=(0,o.useContext)(m.p).forceRender||(0,i.N)()[0],y=(0,a.t)(),b=function(e){let n=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&n.push(e)}),n}(e),x=b,k=(0,o.useRef)(new Map).current,C=(0,o.useRef)(x),O=(0,o.useRef)(new Map).current,w=(0,o.useRef)(!0);if((0,h.L)(()=>{w.current=!1,function(e,n){e.forEach(e=>{let t=g(e);n.set(t,e)})}(b,O),C.current=x}),d=()=>{w.current=!0,O.clear(),k.clear()},(0,o.useEffect)(()=>()=>d(),[]),w.current)return(0,r.jsx)(r.Fragment,{children:x.map(e=>(0,r.jsx)(f,{isPresent:!0,initial:!!t&&void 0,presenceAffectsLayout:s,mode:c,children:e},g(e)))});x=[...x];let j=C.current.map(g),P=b.map(g),E=j.length;for(let e=0;e{if(-1!==P.indexOf(t))return;let o=O.get(t);if(!o)return;let i=j.indexOf(t),a=e;a||(a=(0,r.jsx)(f,{isPresent:!1,onExitComplete:()=>{k.delete(t);let e=Array.from(O.keys()).filter(e=>!P.includes(e));if(e.forEach(e=>O.delete(e)),C.current=b.filter(n=>{let r=g(n);return r===t||e.includes(r)}),!k.size){if(!1===y.current)return;p(),l&&l()}},custom:n,presenceAffectsLayout:s,mode:c,children:o},g(o)),k.set(t,a)),x.splice(i,0,a)}),x=x.map(e=>{let n=e.key;return k.has(n)?e:(0,r.jsx)(f,{isPresent:!0,presenceAffectsLayout:s,mode:c,children:e},g(e))}),(0,r.jsx)(r.Fragment,{children:k.size?x:x.map(e=>(0,o.cloneElement)(e))})}},920262:function(e,n,t){t.d(n,{N:function(){return a}});var r=t(652983),o=t(46106),i=t(717882);function a(){let e=(0,o.t)(),[n,t]=(0,r.useState)(0),a=(0,r.useCallback)(()=>{e.current&&t(n+1)},[n]);return[(0,r.useCallback)(()=>i.Wi.postRender(a),[a]),n]}},46106:function(e,n,t){t.d(n,{t:function(){return i}});var r=t(652983),o=t(424092);function i(){let e=(0,r.useRef)(!1);return(0,o.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}}}]); //# sourceMappingURL=40833-19ec9bdcebd281a8.js.map