try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="70388c4e-135e-4ad0-978d-46a71a9c966c",e._sentryDebugIdIdentifier="sentry-dbid-70388c4e-135e-4ad0-978d-46a71a9c966c")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5774],{85811:function(e,t,n){"use strict";var r=n(64278),o=n(2265),a=n(16463),i=n(77641),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&(n<0||r-1?{pathname:e.substring(0,o?r:n),query:o?e.substring(r,n>-1?n:void 0):"",hash:n>-1?e.slice(n):""}:{pathname:e,query:"",hash:""}),i=a.pathname,l=a.query,s=a.hash;return"".concat(t).concat(i).concat(l).concat(s)}(o,location.origin):o}return r}"function"==typeof SuppressedError&&SuppressedError;var c=o.memo(function(e){var t,n=e.color,i=void 0===n?"#0A2FFF":n,l=e.height,c=e.options,d=e.shallowRouting,f=void 0!==d&&d,p=e.disableSameURL,v=void 0===p||p,m=e.startPosition,h=void 0===m?0:m,g=e.delay,y=void 0===g?0:g,b=e.stopDelay,w=void 0===b?0:b,x=e.style,S=e.nonce,C=e.targetPreprocessor,k=e.disableAnchorClick,E=void 0!==k&&k,j=o.createElement("style",{nonce:S},x||"\n #nprogress {\n pointer-events: none;\n }\n\n #nprogress .bar {\n background: ".concat(i,";\n\n position: fixed;\n z-index: 99999;\n top: 0;\n left: 0;\n\n width: 100%;\n height: ").concat(void 0===l?"2px":l,";\n }\n\n /* Fancy blur effect */\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px ").concat(i,", 0 0 5px ").concat(i,";\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n }\n\n /* Remove these to get rid of the spinner */\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n\n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: ").concat(i,";\n border-left-color: ").concat(i,";\n border-radius: 50%;\n\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n }\n\n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n\n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n\n @-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n }\n @keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "));r.configure(c||{});var R=a.usePathname(),T=a.useSearchParams();o.useEffect(function(){t&&clearTimeout(t),t=setTimeout(function(){r.done()},w)},[R,T]);var I=o.useRef([]);return o.useEffect(function(){if(!E){var e,t=function(){e=setTimeout(function(){h>0&&r.set(h),r.start()},y)},n=function(){e&&clearTimeout(e),e=setTimeout(function(){r.done()},w)},o=function(e){if(!e.defaultPrevented){var n,r=e.currentTarget,o=e.target,a=(null==o?void 0:o.getAttribute("data-prevent-nprogress"))==="true"||(null==r?void 0:r.getAttribute("data-prevent-nprogress"))==="true";if(!a)for(var i=o;i&&"a"!==i.tagName.toLowerCase();){if((null===(n=i.parentElement)||void 0===n?void 0:n.getAttribute("data-prevent-nprogress"))==="true"){a=!0;break}i=i.parentElement}if(!a&&"_blank"!==u(r,"target")&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey){var l=u(r,"href"),c=C?C(new URL(l)):new URL(l),d=new URL(location.href);(!f||c.protocol+"//"+c.host+c.pathname!=d.protocol+"//"+d.host+d.pathname||!v)&&(s(c,d)&&v||t())}}},a=new MutationObserver(function(){var e=Array.from(document.querySelectorAll("a")).filter(function(e){var t=u(e,"href"),n="true"===e.getAttribute("data-disable-nprogress"),r=t&&!t.startsWith("tel:")&&!t.startsWith("mailto:")&&!t.startsWith("blob:")&&!t.startsWith("javascript:");return!n&&r&&"_blank"!==u(e,"target")});e.forEach(function(e){e.addEventListener("click",o,!0)}),I.current=e});a.observe(document,{childList:!0,subtree:!0});var i=window.history.pushState;return window.history.pushState=new Proxy(window.history.pushState,{apply:function(e,t,r){return n(),e.apply(t,r)}}),function(){a.disconnect(),I.current.forEach(function(e){e.removeEventListener("click",o,!0)}),I.current=[],window.history.pushState=i}}},[E,C,f,v]),j},function(e,t){return(null==t?void 0:t.memo)!==!1&&(null==t||!t.shouldCompareComplexProps||(null==e?void 0:e.color)===(null==t?void 0:t.color)&&(null==e?void 0:e.height)===(null==t?void 0:t.height)&&(null==e?void 0:e.shallowRouting)===(null==t?void 0:t.shallowRouting)&&(null==e?void 0:e.startPosition)===(null==t?void 0:t.startPosition)&&(null==e?void 0:e.delay)===(null==t?void 0:t.delay)&&(null==e?void 0:e.disableSameURL)===(null==t?void 0:t.disableSameURL)&&(null==e?void 0:e.stopDelay)===(null==t?void 0:t.stopDelay)&&(null==e?void 0:e.nonce)===(null==t?void 0:t.nonce)&&JSON.stringify(null==e?void 0:e.options)===JSON.stringify(null==t?void 0:t.options)&&(null==e?void 0:e.style)===(null==t?void 0:t.style)&&e.disableAnchorClick===t.disableAnchorClick)});c.displayName="AppProgressBar",o.memo(function(e){var t=e.color,n=void 0===t?"#0A2FFF":t,a=e.height,l=e.options,u=e.shallowRouting,c=void 0!==u&&u,d=e.disableSameURL,f=void 0===d||d,p=e.startPosition,v=void 0===p?0:p,m=e.delay,h=void 0===m?0:m,g=e.stopDelay,y=void 0===g?0:g,b=e.style,w=e.nonce,x=o.createElement("style",{nonce:w},b||"\n #nprogress {\n pointer-events: none;\n }\n \n #nprogress .bar {\n background: ".concat(n,";\n \n position: fixed;\n z-index: 99999;\n top: 0;\n left: 0;\n \n width: 100%;\n height: ").concat(void 0===a?"2px":a,";\n }\n \n /* Fancy blur effect */\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px ").concat(n,", 0 0 5px ").concat(n,";\n opacity: 1.0;\n \n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n }\n \n /* Remove these to get rid of the spinner */\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n \n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n \n border: solid 2px transparent;\n border-top-color: ").concat(n,";\n border-left-color: ").concat(n,";\n border-radius: 50%;\n \n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n }\n \n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n \n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n \n @-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n }\n @keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n "));return r.configure(l||{}),o.useEffect(function(){var e,t=function(){e=setTimeout(function(){v>0&&r.set(v),r.start()},h)},n=function(){e&&clearTimeout(e),e=setTimeout(function(){r.done(!0)},y)},o=function(e){var n=new URL(e,location.href),r=new URL(i.route,location.href);c&&(s(n,r)||!f)||t()},a=function(){return n()};return i.events.on("routeChangeStart",o),i.events.on("routeChangeComplete",a),i.events.on("routeChangeError",a),function(){i.events.off("routeChangeStart",o),i.events.off("routeChangeComplete",a),i.events.off("routeChangeError",a)}},[]),x},function(e,t){return(null==t?void 0:t.memo)!==!1&&(null==t||!t.shouldCompareComplexProps||(null==e?void 0:e.color)===(null==t?void 0:t.color)&&(null==e?void 0:e.height)===(null==t?void 0:t.height)&&(null==e?void 0:e.shallowRouting)===(null==t?void 0:t.shallowRouting)&&(null==e?void 0:e.startPosition)===(null==t?void 0:t.startPosition)&&(null==e?void 0:e.delay)===(null==t?void 0:t.delay)&&(null==e?void 0:e.disableSameURL)===(null==t?void 0:t.disableSameURL)&&(null==e?void 0:e.stopDelay)===(null==t?void 0:t.stopDelay)&&(null==e?void 0:e.nonce)===(null==t?void 0:t.nonce)&&JSON.stringify(null==e?void 0:e.options)===JSON.stringify(null==t?void 0:t.options)&&(null==e?void 0:e.style)===(null==t?void 0:t.style))}).displayName="PagesProgressBar",t.Cd=function(e){return o.createElement(o.Suspense,null,o.createElement(c,l({},e)))}},16463:function(e,t,n){"use strict";n.r(t);var r=n(71169),o={};for(var a in r)"default"!==a&&(o[a]=(function(e){return r[e]}).bind(0,a));n.d(t,o)},64278:function(e,t,n){var r,o;void 0!==(o="function"==typeof(r=function(){var e,t,n,r={};r.version="0.2.0";var o=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=a(e,o.minimum,1),r.status=1===e?null:e;var n=r.render(!t),s=n.querySelector(o.barSelector),u=o.speed,c=o.easing;return n.offsetWidth,i(function(t){var a,i;""===o.positionUsing&&(o.positionUsing=r.getPositioningCSS()),l(s,(a=e,(i="translate3d"===o.positionUsing?{transform:"translate3d("+(-1+a)*100+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+(-1+a)*100+"%,0)"}:{"margin-left":(-1+a)*100+"%"}).transition="all "+u+"ms "+c,i)),1===e?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},o.trickleSpeed)};return o.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*o.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var n,a=t.querySelector(o.barSelector),i=e?"-100":(-1+(r.status||0))*100,s=document.querySelector(o.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!o.showSpinner&&(n=t.querySelector(o.spinnerSelector))&&f(n),s!=document.body&&u(s,"nprogress-custom-parent"),s.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var i=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,o){var a;r=t[a=(a=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[a]=function(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}(a)),n.style[r]=o}return function(e,t){var r,o,a=arguments;if(2==a.length)for(r in t)void 0!==(o=t[r])&&t.hasOwnProperty(r)&&n(e,r,o);else n(e,a[1],a[2])}}();function s(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})?r.call(t,n,t,e):r)&&(e.exports=o)},62665:function(e,t,n){"use strict";n.d(t,{h3:function(){return M}});var r,o,a,i,l,s=n(2265);function u(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function c(){}function d(e){return!!(e||"").match(/\d/)}function f(e){return null==e}function p(e){return f(e)||"number"==typeof e&&isNaN(e)||"number"==typeof e&&!isFinite(e)}function v(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function m(e,t){void 0===t&&(t=!0);var n="-"===e[0],r=n&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNegation:n,addNegation:r}}function h(e,t,n){for(var r="",o=n?"0":"",a=0;a<=t-1;a++)r+=e[a]||o;return r}function g(e,t){return Array(t+1).join(e)}function y(e){var t=e+"",n="-"===t[0]?"-":"";n&&(t=t.substring(1));var r=t.split(/[eE]/g),o=r[0],a=r[1];if(!(a=Number(a)))return n+o;o=o.replace(".","");var i=1+a,l=o.length;return i<0?o="0."+g("0",Math.abs(i))+o:i>=l?o+=g("0",i-l):o=(o.substring(0,i)||"0")+"."+o.substring(i),n+o}function b(e,t,n){if(-1!==["","-"].indexOf(e))return e;var r=(-1!==e.indexOf(".")||n)&&t,o=m(e),a=o.beforeDecimal,i=o.afterDecimal,l=o.hasNegation,s=parseFloat("0."+(i||"0")),u=(i.length<=t?"0."+i:s.toFixed(t)).split("."),c=a;return a&&Number(u[0])&&(c=a.split("").reverse().reduce(function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},u[0])),(l?"-":"")+c+(r?".":"")+h(u[1]||"",t,n)}function w(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}(r=l||(l={})).event="event",r.props="prop";var x=(o=function(e,t){for(var n=0,r=0,o=e.length,a=t.length;e[n]===t[n]&&nn&&o-r>n;)r++;return{from:{start:n,end:o-r},to:{start:n,end:a-r}}},i=void 0,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return a&&e.length===a.length&&e.every(function(e,t){return e===a[t]})?i:(a=e,i=o.apply(void 0,e))});function S(e){return Math.max(e.selectionStart,e.selectionEnd)}function C(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,o=e.formattedValueIndex;return t[r]===n[o]}function k(e,t,n,r){var o=e.length;if(t=Math.min(Math.max(t,0),o),"left"===r){for(;t>=0&&!n[t];)t--;-1===t&&(t=n.indexOf(!0))}else{for(;t<=o&&!n[t];)t++;t>o&&(t=n.lastIndexOf(!0))}return -1===t&&(t=o),t}function E(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n0&&-1===f[m];)m--;var g=-1===m||-1===f[m]?0:f[m]+1;return g>h?h:r-gI.length-u.length||TD?A=g:g>e.length-u.length&&(A=g),e=e.substring(0,A),void 0===(r=E?"-"+e:e)&&(r=""),o=RegExp("(-)(.)*(-)"),a=/(-)/.test(r),i=o.test(r),r=r.replace(/-/g,""),a&&!i&&l&&(r="-"+r);var N=(e=((e=r).match(RegExp("(^-)|[0-9]|"+v(w),"g"))||[]).join("")).indexOf(w),B=m(e=e.replace(RegExp(v(w),"g"),function(e,t){return t===N?".":""}),l),L=B.beforeDecimal,V=B.afterDecimal,O=B.addNegation;return p.end-p.start=s.start&&o{let{transitionDuration:n,chevronSize:r,radius:o}=t;return{root:{"--accordion-transition-duration":void 0===n?void 0:"".concat(n,"ms"),"--accordion-chevron-size":void 0===r?void 0:(0,i.h)(r),"--accordion-radius":void 0===o?void 0:(0,s.getRadius)(o)}}});function x(e){let t=(0,c.useProps)("Accordion",b,e),{classNames:n,className:i,style:s,styles:u,unstyled:v,vars:m,children:h,multiple:g,value:x,defaultValue:S,onChange:C,id:k,loop:E,transitionDuration:j,disableChevronRotation:R,chevronPosition:T,chevronSize:I,order:_,chevron:P,variant:M,radius:A,...D}=t,N=(0,o.useId)(k),[B,L]=(0,a.useUncontrolled)({value:x,defaultValue:S,finalValue:g?[]:null,onChange:C}),V=(0,d.useStyles)({name:"Accordion",classes:y.Z,props:t,className:i,style:s,classNames:n,styles:u,unstyled:v,vars:m,varsResolver:w});return(0,r.jsx)(p.a,{value:{isItemActive:e=>Array.isArray(B)?B.includes(e):e===B,onChange:e=>{L(Array.isArray(B)?B.includes(e)?B.filter(t=>t!==e):[...B,e]:e===B?null:e)},getControlId:(0,l.getSafeId)("".concat(N,"-control"),"Accordion.Item component was rendered with invalid value or without value"),getRegionId:(0,l.getSafeId)("".concat(N,"-panel"),"Accordion.Item component was rendered with invalid value or without value"),transitionDuration:j,disableChevronRotation:R,chevronPosition:T,order:_,chevron:P,loop:E,getStyles:V,variant:M,unstyled:v},children:(0,r.jsx)(f.Box,{...V("root"),id:N,...D,variant:M,"data-accordion":!0,children:h})})}x.extend=e=>e,x.classes=y.Z,x.displayName="@mantine/core/Accordion",x.Item=h.AccordionItem,x.Panel=g.AccordionPanel,x.Control=m.AccordionControl,x.Chevron=v.AccordionChevron},91729:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_9bdbb667",panel:"m_df78851f",content:"m_4ba554d4",itemTitle:"m_8fa820a0",control:"m_4ba585b8","control--default":"m_6939a5e9","control--contained":"m_4271d21b",label:"m_df3ffa0f",chevron:"m_3f35ae96",icon:"m_9bd771fe",item:"m_9bd7b098","item--default":"m_fe19b709","item--contained":"m_1f921b3b","item--filled":"m_2cdf939a","item--separated":"m_9f59b069"}},53478:function(e,t,n){"use strict";n.d(t,{AccordionChevron:function(){return a}});var r=n(57437),o=n(20322);function a(e){let{style:t,size:n=16,...a}=e;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:(0,o.h)(n),height:(0,o.h)(n),display:"block"},...a,children:(0,r.jsx)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}n(2265),a.displayName="@mantine/core/AccordionChevron"},62556:function(e,t,n){"use strict";n.d(t,{AccordionControl:function(){return p}});var r=n(57437);n(2265);var o=n(85876),a=n(50591),i=n(31831),l=n(73147),s=n(30712),u=n(22981),c=n(57142),d=n(91729);let f={},p=(0,l.factory)((e,t)=>{let{classNames:n,className:l,style:d,styles:p,vars:v,chevron:m,icon:h,onClick:g,onKeyDown:y,children:b,disabled:w,mod:x,...S}=(0,a.useProps)("AccordionControl",f,e),{value:C}=(0,c.b)(),k=(0,u.E)(),E=k.isItemActive(C),j="number"==typeof k.order,R="h".concat(k.order),T=(0,r.jsxs)(s.UnstyledButton,{...S,...k.getStyles("control",{className:l,classNames:n,style:d,styles:p,variant:k.variant}),unstyled:k.unstyled,mod:["accordion-control",{active:E,"chevron-position":k.chevronPosition,disabled:w},x],ref:t,onClick:e=>{null==g||g(e),k.onChange(C)},type:"button",disabled:w,"aria-expanded":E,"aria-controls":k.getRegionId(C),id:k.getControlId(C),onKeyDown:(0,o.createScopedKeydownHandler)({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:k.loop,orientation:"vertical",onKeyDown:y}),children:[(0,r.jsx)(i.Box,{component:"span",mod:{rotate:!k.disableChevronRotation&&E,position:k.chevronPosition},...k.getStyles("chevron",{classNames:n,styles:p}),children:m||k.chevron}),(0,r.jsx)("span",{...k.getStyles("label",{classNames:n,styles:p}),children:b}),h&&(0,r.jsx)(i.Box,{component:"span",mod:{"chevron-position":k.chevronPosition},...k.getStyles("icon",{classNames:n,styles:p}),children:h})]});return j?(0,r.jsx)(R,{...k.getStyles("itemTitle",{classNames:n,styles:p}),children:T}):T});p.displayName="@mantine/core/AccordionControl",p.classes=d.Z},57142:function(e,t,n){"use strict";n.d(t,{b:function(){return a},e:function(){return o}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("Accordion.Item component was not found in the tree")},2951:function(e,t,n){"use strict";n.d(t,{AccordionItem:function(){return d}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147),l=n(22981),s=n(57142),u=n(91729);let c={},d=(0,i.factory)((e,t)=>{let{classNames:n,className:i,style:u,styles:d,vars:f,value:p,mod:v,...m}=(0,o.useProps)("AccordionItem",c,e),h=(0,l.E)();return(0,r.jsx)(s.e,{value:{value:p},children:(0,r.jsx)(a.Box,{ref:t,mod:[{active:h.isItemActive(p)},v],...h.getStyles("item",{className:i,classNames:n,styles:d,style:u,variant:h.variant}),...m})})});d.displayName="@mantine/core/AccordionItem",d.classes=u.Z},32881:function(e,t,n){"use strict";n.d(t,{AccordionPanel:function(){return d}});var r=n(57437);n(2265);var o=n(50591),a=n(73147),i=n(7662),l=n(22981),s=n(57142),u=n(91729);let c={},d=(0,a.factory)((e,t)=>{var n;let{classNames:a,className:u,style:d,styles:f,vars:p,children:v,...m}=(0,o.useProps)("AccordionPanel",c,e),{value:h}=(0,s.b)(),g=(0,l.E)();return(0,r.jsx)(i.Collapse,{ref:t,...g.getStyles("panel",{className:u,classNames:a,style:d,styles:f}),...m,in:g.isItemActive(h),transitionDuration:null!==(n=g.transitionDuration)&&void 0!==n?n:200,role:"region",id:g.getRegionId(h),"aria-labelledby":g.getControlId(h),children:(0,r.jsx)("div",{...g.getStyles("content",{classNames:a,styles:f}),children:v})})});d.displayName="@mantine/core/AccordionPanel",d.classes=u.Z},18849:function(e,t,n){"use strict";n.d(t,{Affix:function(){return m}});var r=n(57437),o=n(20322);n(2265);var a=n(33123),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d=n(7586),f={root:"m_7f854edf"};let p={position:{bottom:0,right:0},zIndex:(0,a.getDefaultZIndex)("modal"),withinPortal:!0},v=(0,i.createVarsResolver)((e,t)=>{let{zIndex:n,position:r}=t;return{root:{"--affix-z-index":null==n?void 0:n.toString(),"--affix-top":(0,o.h)(null==r?void 0:r.top),"--affix-left":(0,o.h)(null==r?void 0:r.left),"--affix-bottom":(0,o.h)(null==r?void 0:r.bottom),"--affix-right":(0,o.h)(null==r?void 0:r.right)}}}),m=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("Affix",p,e),{classNames:o,className:a,style:i,styles:c,unstyled:m,vars:h,portalProps:g,zIndex:y,withinPortal:b,position:w,...x}=n,S=(0,s.useStyles)({name:"Affix",classes:f,props:n,className:a,style:i,classNames:o,styles:c,unstyled:m,vars:h,varsResolver:v});return(0,r.jsx)(d.OptionalPortal,{...g,withinPortal:b,children:(0,r.jsx)(u.Box,{ref:t,...S("root"),...x})})});m.classes=f,m.displayName="@mantine/core/Affix"},63113:function(e,t,n){"use strict";n.d(t,{T:function(){return o},_:function(){return a}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("AppShell was not found in tree")},68908:function(e,t,n){"use strict";n.d(t,{AppShell:function(){return B}});var r=n(57437),o=n(2265),a=n(33123),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d=n(63113),f=n(9848),p=n(23023),v=n(12924),m=n(37976),h=n(78150),g=n(15274),y=n(41217),b=n(29481),w=n(20322),x=n(1760),S=n(89409);function C(e){return"object"==typeof e?e.base:e}function k(e){let t="object"==typeof e&&null!==e&&void 0!==e.base&&1===Object.keys(e).length;return"number"==typeof e||"string"==typeof e||t}function E(e){return"object"==typeof e&&null!==e&&(1!==Object.keys(e).length||!("base"in e))}var j=n(94120);function R(e){return 0===Number(e)?"0px":(0,j.getSpacing)(e)}function T(e){let{navbar:t,header:n,aside:o,footer:a,padding:i}=e,l=(0,g.useMantineTheme)(),s=(0,h.useMantineContext)(),{media:u,baseStyles:c}=function(e){let{navbar:t,header:n,footer:r,aside:o,padding:a,theme:i}=e,l={},s={},u={};return!function(e){var t,n,r;let{baseStyles:o,minMediaStyles:a,maxMediaStyles:i,navbar:l,theme:s}=e,u=null==l?void 0:l.width,c="translateX(calc(var(--app-shell-navbar-width) * -1))",d="translateX(var(--app-shell-navbar-width))";if(null==l||!l.breakpoint||(null==l?void 0:null===(t=l.collapsed)||void 0===t?void 0:t.mobile)||(i[null==l?void 0:l.breakpoint]=i[null==l?void 0:l.breakpoint]||{},i[null==l?void 0:l.breakpoint]["--app-shell-navbar-width"]="100%",i[null==l?void 0:l.breakpoint]["--app-shell-navbar-offset"]="0px"),k(u)){let e=(0,w.h)(C(u));o["--app-shell-navbar-width"]=e,o["--app-shell-navbar-offset"]=e}if(E(u)&&(void 0!==u.base&&(o["--app-shell-navbar-width"]=(0,w.h)(u.base),o["--app-shell-navbar-offset"]=(0,w.h)(u.base)),(0,b.keys)(u).forEach(e=>{"base"!==e&&(a[e]=a[e]||{},a[e]["--app-shell-navbar-width"]=(0,w.h)(u[e]),a[e]["--app-shell-navbar-offset"]=(0,w.h)(u[e]))})),null==l?void 0:null===(n=l.collapsed)||void 0===n?void 0:n.desktop){let e=l.breakpoint;a[e]=a[e]||{},a[e]["--app-shell-navbar-transform"]=c,a[e]["--app-shell-navbar-transform-rtl"]=d,a[e]["--app-shell-navbar-offset"]="0px !important"}if(null==l?void 0:null===(r=l.collapsed)||void 0===r?void 0:r.mobile){let e=(0,S.getBreakpointValue)(l.breakpoint,s)-.1;i[e]=i[e]||{},i[e]["--app-shell-navbar-width"]="100%",i[e]["--app-shell-navbar-offset"]="0px",i[e]["--app-shell-navbar-transform"]=c,i[e]["--app-shell-navbar-transform-rtl"]=d}}({baseStyles:u,minMediaStyles:l,maxMediaStyles:s,navbar:t,theme:i}),function(e){var t,n,r;let{baseStyles:o,minMediaStyles:a,maxMediaStyles:i,aside:l,theme:s}=e,u=null==l?void 0:l.width,c="translateX(var(--app-shell-aside-width))",d="translateX(calc(var(--app-shell-aside-width) * -1))";if(null==l||!l.breakpoint||(null==l?void 0:null===(t=l.collapsed)||void 0===t?void 0:t.mobile)||(i[null==l?void 0:l.breakpoint]=i[null==l?void 0:l.breakpoint]||{},i[null==l?void 0:l.breakpoint]["--app-shell-aside-width"]="100%",i[null==l?void 0:l.breakpoint]["--app-shell-aside-offset"]="0px"),k(u)){let e=(0,w.h)(C(u));o["--app-shell-aside-width"]=e,o["--app-shell-aside-offset"]=e}if(E(u)&&(void 0!==u.base&&(o["--app-shell-aside-width"]=(0,w.h)(u.base),o["--app-shell-aside-offset"]=(0,w.h)(u.base)),(0,b.keys)(u).forEach(e=>{"base"!==e&&(a[e]=a[e]||{},a[e]["--app-shell-aside-width"]=(0,w.h)(u[e]),a[e]["--app-shell-aside-offset"]=(0,w.h)(u[e]))})),null==l?void 0:null===(n=l.collapsed)||void 0===n?void 0:n.desktop){let e=l.breakpoint;a[e]=a[e]||{},a[e]["--app-shell-aside-transform"]=c,a[e]["--app-shell-aside-transform-rtl"]=d,a[e]["--app-shell-aside-offset"]="0px !important"}if(null==l?void 0:null===(r=l.collapsed)||void 0===r?void 0:r.mobile){let e=(0,S.getBreakpointValue)(l.breakpoint,s)-.1;i[e]=i[e]||{},i[e]["--app-shell-aside-width"]="100%",i[e]["--app-shell-aside-offset"]="0px",i[e]["--app-shell-aside-transform"]=c,i[e]["--app-shell-aside-transform-rtl"]=d}}({baseStyles:u,minMediaStyles:l,maxMediaStyles:s,aside:o,theme:i}),function(e){var t;let{baseStyles:n,minMediaStyles:r,header:o}=e,a=null==o?void 0:o.height,i=null===(t=null==o?void 0:o.offset)||void 0===t||t;if(k(a)){let e=(0,w.h)(C(a));n["--app-shell-header-height"]=e,i&&(n["--app-shell-header-offset"]=e)}E(a)&&(void 0!==a.base&&(n["--app-shell-header-height"]=(0,w.h)(a.base),i&&(n["--app-shell-header-offset"]=(0,w.h)(a.base))),(0,b.keys)(a).forEach(e=>{"base"!==e&&(r[e]=r[e]||{},r[e]["--app-shell-header-height"]=(0,w.h)(a[e]),i&&(r[e]["--app-shell-header-offset"]=(0,w.h)(a[e])))})),(null==o?void 0:o.collapsed)&&(n["--app-shell-header-transform"]="translateY(calc(var(--app-shell-header-height) * -1))",n["--app-shell-header-offset"]="0px !important")}({baseStyles:u,minMediaStyles:l,header:n}),function(e){var t;let{baseStyles:n,minMediaStyles:r,footer:o}=e,a=null==o?void 0:o.height,i=null===(t=null==o?void 0:o.offset)||void 0===t||t;if(k(a)){let e=(0,w.h)(C(a));n["--app-shell-footer-height"]=e,i&&(n["--app-shell-footer-offset"]=e)}E(a)&&(void 0!==a.base&&(n["--app-shell-footer-height"]=(0,w.h)(a.base),i&&(n["--app-shell-footer-offset"]=(0,w.h)(a.base))),(0,b.keys)(a).forEach(e=>{"base"!==e&&(r[e]=r[e]||{},r[e]["--app-shell-footer-height"]=(0,w.h)(a[e]),i&&(r[e]["--app-shell-footer-offset"]=(0,w.h)(a[e])))})),(null==o?void 0:o.collapsed)&&(n["--app-shell-footer-transform"]="translateY(var(--app-shell-footer-height))",n["--app-shell-footer-offset"]="0px !important")}({baseStyles:u,minMediaStyles:l,footer:r}),function(e){let{padding:t,baseStyles:n,minMediaStyles:r}=e;k(t)&&(n["--app-shell-padding"]=R(C(t))),E(t)&&(t.base&&(n["--app-shell-padding"]=R(t.base)),(0,b.keys)(t).forEach(e=>{"base"!==e&&(r[e]=r[e]||{},r[e]["--app-shell-padding"]=R(t[e]))}))}({baseStyles:u,minMediaStyles:l,padding:a}),{baseStyles:u,media:[...(0,x.getSortedBreakpoints)((0,b.keys)(l),i).map(e=>({query:"(min-width: ".concat((0,w.em)(e.px),")"),styles:l[e.value]})),...(0,x.getSortedBreakpoints)((0,b.keys)(s),i).map(e=>({query:"(max-width: ".concat((0,w.em)(e.px),")"),styles:s[e.value]}))]}}({navbar:t,header:n,footer:a,aside:o,padding:i,theme:l});return(0,r.jsx)(y.InlineStyles,{media:u,styles:c,selector:s.cssVariablesSelector})}var I=n(39280),_=n(95067),P=n(4963),M=n(95206),A=n(66553);let D={withBorder:!0,offsetScrollbars:!0,padding:0,transitionDuration:200,transitionTimingFunction:"ease",zIndex:(0,a.getDefaultZIndex)("app")},N=(0,i.createVarsResolver)((e,t)=>{let{transitionDuration:n,transitionTimingFunction:r}=t;return{root:{"--app-shell-transition-duration":"".concat(n,"ms"),"--app-shell-transition-timing-function":r}}}),B=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("AppShell",D,e),{classNames:a,className:i,style:c,styles:f,unstyled:p,vars:v,navbar:m,withBorder:h,padding:g,transitionDuration:y,transitionTimingFunction:b,header:w,zIndex:x,layout:S,disabled:C,aside:k,footer:E,offsetScrollbars:j,mod:R,...I}=n,_=(0,s.useStyles)({name:"AppShell",classes:A.Z,props:n,className:i,style:c,classNames:a,styles:f,unstyled:p,vars:v,varsResolver:N}),B=function(e){let{transitionDuration:t,disabled:n}=e,[r,a]=(0,o.useState)(!0),i=(0,o.useRef)(),l=(0,o.useRef)();return(0,P.useWindowEvent)("resize",()=>{a(!0),clearTimeout(i.current),i.current=window.setTimeout(()=>a(!1),200)}),(0,M.useIsomorphicEffect)(()=>{(0,o.startTransition)(()=>{a(!0),clearTimeout(l.current),l.current=window.setTimeout(()=>a(!1),t||0)})},[n,t]),r}({disabled:C,transitionDuration:y});return(0,r.jsxs)(d.T,{value:{getStyles:_,withBorder:h,zIndex:x,disabled:C,offsetScrollbars:j},children:[(0,r.jsx)(T,{navbar:m,header:w,aside:k,footer:E,padding:g}),(0,r.jsx)(u.Box,{ref:t,..._("root"),mod:[{resizing:B,layout:S,disabled:C},R],...I})]})});B.classes=A.Z,B.displayName="@mantine/core/AppShell",B.Navbar=I.AppShellNavbar,B.Header=v.AppShellHeader,B.Main=m.AppShellMain,B.Aside=f.AppShellAside,B.Footer=p.AppShellFooter,B.Section=_.AppShellSection},66553:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_89ab340",navbar:"m_45252eee",aside:"m_9cdde9a",header:"m_3b16f56b",main:"m_8983817",footer:"m_3840c879",section:"m_6dcfc7c7"}},9848:function(e,t,n){"use strict";n.d(t,{AppShellAside:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147),l=n(63113),s=n(66553);let u={},c=(0,i.factory)((e,t)=>{let{classNames:n,className:i,style:s,styles:c,unstyled:d,vars:f,withBorder:p,zIndex:v,mod:m,...h}=(0,o.useProps)("AppShellAside",u,e),g=(0,l._)();return g.disabled?null:(0,r.jsx)(a.Box,{component:"aside",ref:t,mod:[{"with-border":null!=p?p:g.withBorder},m],...g.getStyles("aside",{className:i,classNames:n,styles:c,style:s}),...h,__vars:{"--app-shell-aside-z-index":"calc(".concat(null!=v?v:g.zIndex," + 1)")}})});c.classes=s.Z,c.displayName="@mantine/core/AppShellAside"},23023:function(e,t,n){"use strict";n.d(t,{AppShellFooter:function(){return f}});var r=n(57437),o=n(66877),a=n(49418);n(2265);var i=n(50591),l=n(31831),s=n(73147),u=n(63113),c=n(66553);let d={},f=(0,s.factory)((e,t)=>{var n;let{classNames:s,className:c,style:f,styles:p,unstyled:v,vars:m,withBorder:h,zIndex:g,mod:y,...b}=(0,i.useProps)("AppShellFooter",d,e),w=(0,u._)();return w.disabled?null:(0,r.jsx)(l.Box,{component:"footer",ref:t,mod:[{"with-border":null!=h?h:w.withBorder},y],...w.getStyles("footer",{className:(0,o.Z)({[a.Z.classNames.zeroRight]:w.offsetScrollbars},c),classNames:s,styles:p,style:f}),...b,__vars:{"--app-shell-footer-z-index":null===(n=null!=g?g:w.zIndex)||void 0===n?void 0:n.toString()}})});f.classes=c.Z,f.displayName="@mantine/core/AppShellFooter"},12924:function(e,t,n){"use strict";n.d(t,{AppShellHeader:function(){return f}});var r=n(57437),o=n(66877),a=n(49418);n(2265);var i=n(50591),l=n(31831),s=n(73147),u=n(63113),c=n(66553);let d={},f=(0,s.factory)((e,t)=>{var n;let{classNames:s,className:c,style:f,styles:p,unstyled:v,vars:m,withBorder:h,zIndex:g,mod:y,...b}=(0,i.useProps)("AppShellHeader",d,e),w=(0,u._)();return w.disabled?null:(0,r.jsx)(l.Box,{component:"header",ref:t,mod:[{"with-border":null!=h?h:w.withBorder},y],...w.getStyles("header",{className:(0,o.Z)({[a.Z.classNames.zeroRight]:w.offsetScrollbars},c),classNames:s,styles:p,style:f}),...b,__vars:{"--app-shell-header-z-index":null===(n=null!=g?g:w.zIndex)||void 0===n?void 0:n.toString()}})});f.classes=c.Z,f.displayName="@mantine/core/AppShellHeader"},37976:function(e,t,n){"use strict";n.d(t,{AppShellMain:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147),l=n(63113),s=n(66553);let u={},c=(0,i.factory)((e,t)=>{let{classNames:n,className:i,style:s,styles:c,vars:d,...f}=(0,o.useProps)("AppShellMain",u,e),p=(0,l._)();return(0,r.jsx)(a.Box,{component:"main",ref:t,...p.getStyles("main",{className:i,style:s,classNames:n,styles:c}),...f})});c.classes=s.Z,c.displayName="@mantine/core/AppShellMain"},39280:function(e,t,n){"use strict";n.d(t,{AppShellNavbar:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147),l=n(63113),s=n(66553);let u={},c=(0,i.factory)((e,t)=>{let{classNames:n,className:i,style:s,styles:c,unstyled:d,vars:f,withBorder:p,zIndex:v,mod:m,...h}=(0,o.useProps)("AppShellNavbar",u,e),g=(0,l._)();return g.disabled?null:(0,r.jsx)(a.Box,{component:"nav",ref:t,mod:[{"with-border":null!=p?p:g.withBorder},m],...g.getStyles("navbar",{className:i,classNames:n,styles:c,style:s}),...h,__vars:{"--app-shell-navbar-z-index":"calc(".concat(null!=v?v:g.zIndex," + 1)")}})});c.classes=s.Z,c.displayName="@mantine/core/AppShellNavbar"},95067:function(e,t,n){"use strict";n.d(t,{AppShellSection:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(869),l=n(63113),s=n(66553);let u={},c=(0,i.polymorphicFactory)((e,t)=>{let{classNames:n,className:i,style:s,styles:c,vars:d,grow:f,mod:p,...v}=(0,o.useProps)("AppShellSection",u,e),m=(0,l._)();return(0,r.jsx)(a.Box,{ref:t,mod:[{grow:f},p],...m.getStyles("section",{className:i,style:s,classNames:n,styles:c}),...v})});c.classes=s.Z,c.displayName="@mantine/core/AppShellSection"},85117:function(e,t,n){"use strict";n.d(t,{AspectRatio:function(){return f}});var r=n(57437);n(2265);var o=n(15593),a=n(50591),i=n(66969),l=n(31831),s=n(73147),u={root:"m_71ac47fc"};let c={},d=(0,o.createVarsResolver)((e,t)=>{let{ratio:n}=t;return{root:{"--ar-ratio":null==n?void 0:n.toString()}}}),f=(0,s.factory)((e,t)=>{let n=(0,a.useProps)("AspectRatio",c,e),{classNames:o,className:s,style:f,styles:p,unstyled:v,vars:m,ratio:h,...g}=n,y=(0,i.useStyles)({name:"AspectRatio",classes:u,props:n,className:s,style:f,classNames:o,styles:p,unstyled:v,vars:m,varsResolver:d});return(0,r.jsx)(l.Box,{ref:t,...y("root"),...g})});f.classes=u,f.displayName="@mantine/core/AspectRatio"},925:function(e,t,n){"use strict";n.d(t,{Autocomplete:function(){return g}});var r=n(57437),o=n(2265),a=n(27011),i=n(15057),l=n(63361),s=n(50591),u=n(73147),c=n(4457),d=n(74432),f=n(71440),p=n(31310),v=n(69165),m=n(73112);let h={},g=(0,u.factory)((e,t)=>{let n=(0,s.useProps)("Autocomplete",h,e),{classNames:u,styles:g,unstyled:y,vars:b,dropdownOpened:w,defaultDropdownOpened:x,onDropdownClose:S,onDropdownOpen:C,onFocus:k,onBlur:E,onClick:j,onChange:R,data:T,value:I,defaultValue:_,selectFirstOptionOnChange:P,onOptionSubmit:M,comboboxProps:A,readOnly:D,disabled:N,filter:B,limit:L,withScrollArea:V,maxDropdownHeight:O,size:z,id:F,renderOption:H,autoComplete:Z,scrollAreaProps:U,...W}=n,K=(0,a.useId)(F),q=(0,c.getParsedComboboxData)(T),G=(0,d.getOptionsLockup)(q),[J,X]=(0,i.useUncontrolled)({value:I,defaultValue:_,finalValue:"",onChange:R}),Y=(0,v.useCombobox)({opened:w,defaultOpened:x,onDropdownOpen:C,onDropdownClose:()=>{null==S||S(),Y.resetSelectedOption()}}),{resolvedClassNames:$,resolvedStyles:Q}=(0,l.useResolvedStylesApi)({props:n,styles:g,classNames:u});return(0,o.useEffect)(()=>{P&&Y.selectFirstOption()},[P,J]),(0,r.jsxs)(f.Combobox,{store:Y,__staticSelector:"Autocomplete",classNames:$,styles:Q,unstyled:y,readOnly:D,onOptionSubmit:e=>{null==M||M(e),X(G[e].label),Y.closeDropdown()},size:z,...A,children:[(0,r.jsx)(f.Combobox.Target,{autoComplete:Z,children:(0,r.jsx)(m.InputBase,{ref:t,...W,size:z,__staticSelector:"Autocomplete",disabled:N,readOnly:D,value:J,onChange:e=>{X(e.currentTarget.value),Y.openDropdown(),P&&Y.selectFirstOption()},onFocus:e=>{Y.openDropdown(),null==k||k(e)},onBlur:e=>{Y.closeDropdown(),null==E||E(e)},onClick:e=>{Y.openDropdown(),null==j||j(e)},classNames:$,styles:Q,unstyled:y,id:K})}),(0,r.jsx)(p.OptionsDropdown,{data:q,hidden:D||N,filter:B,search:J,limit:L,hiddenWhenEmpty:!0,withScrollArea:V,maxDropdownHeight:O,unstyled:y,labelId:W.label?"".concat(K,"-label"):void 0,"aria-label":W.label?void 0:W["aria-label"],renderOption:H,scrollAreaProps:U})]})});g.classes={...m.InputBase.classes,...f.Combobox.classes},g.displayName="@mantine/core/Autocomplete"},42462:function(e,t,n){"use strict";n.d(t,{BackgroundImage:function(){return p}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(50591),l=n(66969),s=n(31831),u=n(869),c={root:"m_2ce0de02"};let d={},f=(0,a.createVarsResolver)((e,t)=>{let{radius:n}=t;return{root:{"--bi-radius":void 0===n?void 0:(0,o.getRadius)(n)}}}),p=(0,u.polymorphicFactory)((e,t)=>{let n=(0,i.useProps)("BackgroundImage",d,e),{classNames:o,className:a,style:u,styles:p,unstyled:v,vars:m,radius:h,src:g,variant:y,...b}=n,w=(0,l.useStyles)({name:"BackgroundImage",props:n,classes:c,className:a,style:u,classNames:o,styles:p,unstyled:v,vars:m,varsResolver:f});return(0,r.jsx)(s.Box,{ref:t,variant:y,...w("root",{style:{backgroundImage:"url(".concat(g,")")}}),...b})});p.classes=c,p.displayName="@mantine/core/BackgroundImage"},41707:function(e,t,n){"use strict";n.d(t,{Breadcrumbs:function(){return m}});var r=n(57437),o=n(2265),a=n(67457),i=n(94120),l=n(15593),s=n(50591),u=n(66969),c=n(31831),d=n(73147),f={root:"m_8b3717df",breadcrumb:"m_f678d540",separator:"m_3b8f2208"};let p={separator:"/"},v=(0,l.createVarsResolver)((e,t)=>{let{separatorMargin:n}=t;return{root:{"--bc-separator-margin":(0,i.getSpacing)(n)}}}),m=(0,d.factory)((e,t)=>{let n=(0,s.useProps)("Breadcrumbs",p,e),{classNames:i,className:l,style:d,styles:m,unstyled:h,vars:g,children:y,separator:b,separatorMargin:w,...x}=n,S=(0,u.useStyles)({name:"Breadcrumbs",classes:f,props:n,className:l,style:d,classNames:i,styles:m,unstyled:h,vars:g,varsResolver:v}),C=o.Children.toArray(y).reduce((e,t,n,r)=>{var i;let l=(0,a.isElement)(t)?(0,o.cloneElement)(t,{...S("breadcrumb",{className:null===(i=t.props)||void 0===i?void 0:i.className}),key:n}):(0,o.createElement)("div",{...S("breadcrumb"),key:n},t);return e.push(l),n!==r.length-1&&e.push((0,o.createElement)(c.Box,{...S("separator"),key:"separator-".concat(n)},b)),e},[]);return(0,r.jsx)(c.Box,{ref:t,...S("root"),...x,children:C})});m.classes=f,m.displayName="@mantine/core/Breadcrumbs"},8244:function(e,t,n){"use strict";n.d(t,{Burger:function(){return m}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(45027),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d=n(30712),f={root:"m_fea6bf1a",burger:"m_d4fb9cad"};let p={},v=(0,a.createVarsResolver)((e,t)=>{let{color:n,size:r,transitionDuration:a,transitionTimingFunction:l}=t;return{root:{"--burger-color":n?(0,i.getThemeColor)(n,e):void 0,"--burger-size":(0,o.getSize)(r,"burger-size"),"--burger-transition-duration":void 0===a?void 0:"".concat(a,"ms"),"--burger-transition-timing-function":l}}}),m=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("Burger",p,e),{classNames:o,className:a,style:i,styles:c,unstyled:m,vars:h,opened:g,children:y,transitionDuration:b,transitionTimingFunction:w,...x}=n,S=(0,s.useStyles)({name:"Burger",classes:f,props:n,className:a,style:i,classNames:o,styles:c,unstyled:m,vars:h,varsResolver:v});return(0,r.jsxs)(d.UnstyledButton,{...S("root"),ref:t,...x,children:[(0,r.jsx)(u.Box,{mod:["reduce-motion",{opened:g}],...S("burger")}),y]})});m.classes=f,m.displayName="@mantine/core/Burger"},95385:function(e,t,n){"use strict";n.d(t,{R:function(){return a},k:function(){return o}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("Card component was not found in tree")},24012:function(e,t,n){"use strict";n.d(t,{Card:function(){return h}});var r=n(57437),o=n(2265),a=n(94120),i=n(15593),l=n(50591),s=n(66969),u=n(869),c=n(12194),d=n(95385),f=n(72922),p=n(33427);let v={},m=(0,i.createVarsResolver)((e,t)=>{let{padding:n}=t;return{root:{"--card-padding":(0,a.getSpacing)(n)}}}),h=(0,u.polymorphicFactory)((e,t)=>{let n=(0,l.useProps)("Card",v,e),{classNames:a,className:i,style:u,styles:h,unstyled:g,vars:y,children:b,padding:w,...x}=n,S=(0,s.useStyles)({name:"Card",props:n,classes:p.Z,className:i,style:u,classNames:a,styles:h,unstyled:g,vars:y,varsResolver:m}),C=o.Children.toArray(b),k=C.map((e,t)=>"object"==typeof e&&e&&"type"in e&&e.type===f.CardSection?(0,o.cloneElement)(e,{"data-first-section":0===t||void 0,"data-last-section":t===C.length-1||void 0}):e);return(0,r.jsx)(d.k,{value:{getStyles:S},children:(0,r.jsx)(c.Paper,{ref:t,unstyled:g,...S("root"),...x,children:k})})});h.classes=p.Z,h.displayName="@mantine/core/Card",h.Section=f.CardSection},33427:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_e615b15f",section:"m_599a2148"}},72922:function(e,t,n){"use strict";n.d(t,{CardSection:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(869),l=n(95385),s=n(33427);let u={},c=(0,i.polymorphicFactory)((e,t)=>{let{classNames:n,className:i,style:s,styles:c,vars:d,withBorder:f,inheritPadding:p,mod:v,...m}=(0,o.useProps)("CardSection",u,e),h=(0,l.R)();return(0,r.jsx)(a.Box,{ref:t,mod:[{"with-border":f,"inherit-padding":p},v],...h.getStyles("section",{className:i,style:s,styles:c,classNames:n}),...m})});c.classes=s.Z,c.displayName="@mantine/core/CardSection"},36363:function(e,t,n){"use strict";n.d(t,{Chip:function(){return b}});var r=n(57437),o=n(27011),a=n(15057);n(2265);var i=n(94120),l=n(15593),s=n(50591),u=n(66969),c=n(17622),d=n(31831),f=n(73147),p=n(47464),v=n(18734),m=n(73248),h={root:"m_f59ffda3",label:"m_be049a53","label--outline":"m_3904c1af","label--filled":"m_fa109255","label--light":"m_f7e165c3",iconWrapper:"m_9ac86df9",checkIcon:"m_d6d72580",input:"m_bde07329"};let g={type:"checkbox"},y=(0,l.createVarsResolver)((e,t)=>{let{size:n,radius:r,variant:o,color:a,autoContrast:l}=t,s=e.variantColorResolver({color:a||e.primaryColor,theme:e,variant:o||"filled",autoContrast:l});return{root:{"--chip-fz":(0,i.getFontSize)(n),"--chip-size":(0,i.getSize)(n,"chip-size"),"--chip-radius":void 0===r?void 0:(0,i.getRadius)(r),"--chip-checked-padding":(0,i.getSize)(n,"chip-checked-padding"),"--chip-padding":(0,i.getSize)(n,"chip-padding"),"--chip-icon-size":(0,i.getSize)(n,"chip-icon-size"),"--chip-bg":a||o?s.background:void 0,"--chip-hover":a||o?s.hover:void 0,"--chip-color":a||o?s.color:void 0,"--chip-bd":a||o?s.border:void 0,"--chip-spacing":(0,i.getSize)(n,"chip-spacing")}}}),b=(0,f.factory)((e,t)=>{let n=(0,s.useProps)("Chip",g,e),{classNames:i,className:l,style:f,styles:m,unstyled:b,vars:w,id:x,checked:S,defaultChecked:C,onChange:k,value:E,wrapperProps:j,type:R,disabled:T,children:I,size:_,variant:P,icon:M,rootRef:A,autoContrast:D,mod:N,...B}=n,L=(0,u.useStyles)({name:"Chip",classes:h,props:n,className:l,style:f,classNames:i,styles:m,unstyled:b,vars:w,varsResolver:y}),V=(0,v.Q)(),O=(0,o.useId)(x),{styleProps:z,rest:F}=(0,c.extractStyleProps)(B),[H,Z]=(0,a.useUncontrolled)({value:S,defaultValue:C,finalValue:!1,onChange:k}),U=V?{checked:V.isChipSelected(E),onChange:e=>{V.onChange(e),null==k||k(e.currentTarget.checked)},type:V.multiple?"checkbox":"radio"}:{},W=U.checked||H;return(0,r.jsxs)(d.Box,{size:_,variant:P,ref:A,mod:N,...L("root"),...z,...j,children:[(0,r.jsx)("input",{type:R,...L("input"),checked:W,onChange:e=>Z(e.currentTarget.checked),id:O,disabled:T,ref:t,value:E,...U,...F}),(0,r.jsxs)("label",{htmlFor:O,"data-checked":W||void 0,"data-disabled":T||void 0,...L("label",{variant:P||"filled"}),children:[W&&(0,r.jsx)("span",{...L("iconWrapper"),children:M||(0,r.jsx)(p.CheckIcon,{...L("checkIcon")})}),(0,r.jsx)("span",{children:I})]})]})});b.classes=h,b.displayName="@mantine/core/Chip",b.Group=m.ChipGroup},18734:function(e,t,n){"use strict";n.d(t,{A:function(){return r},Q:function(){return o}}),n(2265),n(57437);let[r,o]=(0,n(58725).createOptionalContext)()},73248:function(e,t,n){"use strict";n.d(t,{ChipGroup:function(){return s}});var r=n(57437),o=n(15057);n(2265);var a=n(50591),i=n(18734);let l={};function s(e){let{value:t,defaultValue:n,onChange:s,multiple:u,children:c}=(0,a.useProps)("ChipGroup",l,e),[d,f]=(0,o.useUncontrolled)({value:t,defaultValue:n,finalValue:u?[]:null,onChange:s});return(0,r.jsx)(i.A,{value:{isChipSelected:e=>Array.isArray(d)?d.includes(e):e===d,onChange:e=>{let t=e.currentTarget.value;Array.isArray(d)?f(d.includes(t)?d.filter(e=>e!==t):[...d,t]):f(t)},multiple:u},children:c})}s.displayName="@mantine/core/ChipGroup"},31921:function(e,t,n){"use strict";n.d(t,{Code:function(){return p}});var r=n(57437);n(2265);var o=n(15593),a=n(45027),i=n(50591),l=n(66969),s=n(31831),u=n(73147),c={root:"m_b183c0a2"};let d={},f=(0,o.createVarsResolver)((e,t)=>{let{color:n}=t;return{root:{"--code-bg":n?(0,a.getThemeColor)(n,e):void 0}}}),p=(0,u.factory)((e,t)=>{let n=(0,i.useProps)("Code",d,e),{classNames:o,className:a,style:u,styles:p,unstyled:v,vars:m,color:h,block:g,variant:y,mod:b,...w}=n,x=(0,l.useStyles)({name:"Code",props:n,classes:c,className:a,style:u,classNames:o,styles:p,unstyled:v,vars:m,varsResolver:f});return(0,r.jsx)(s.Box,{component:g?"pre":"code",variant:y,ref:t,mod:[{block:g},b],...x("root"),...w,dir:"ltr"})});p.classes=c,p.displayName="@mantine/core/Code"},7662:function(e,t,n){"use strict";n.d(t,{Collapse:function(){return g}});var r=n(57437),o=n(47993),a=n(2265),i=n(15274),l=n(50591),s=n(14194),u=n(31831),c=n(73147),d=n(54887),f=n(87957),p=n(79373);function v(e){return(null==e?void 0:e.current)?e.current.scrollHeight:"auto"}let m="undefined"!=typeof window&&window.requestAnimationFrame,h={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},g=(0,c.factory)((e,t)=>{let{children:n,in:c,transitionDuration:g,transitionTimingFunction:y,style:b,onTransitionEnd:w,animateOpacity:x,...S}=(0,l.useProps)("Collapse",h,e),C=(0,i.useMantineTheme)(),k=(0,o.useReducedMotion)(),E=C.respectReducedMotion&&k?0:g,j=function(e){let{transitionDuration:t,transitionTimingFunction:n="ease",onTransitionEnd:r=()=>{},opened:o}=e,i=(0,a.useRef)(null),l={display:"none",height:0,overflow:"hidden"},[s,u]=(0,a.useState)(o?{}:l),c=e=>{(0,d.flushSync)(()=>u(e))},h=e=>{c(t=>({...t,...e}))};function g(e){let r=t||function(e){if(!e||"string"==typeof e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(e);return{transition:"height ".concat(r,"ms ").concat(n,", opacity ").concat(r,"ms ").concat(n)}}(0,f.useDidUpdate)(()=>{"function"==typeof m&&(o?m(()=>{h({willChange:"height",display:"block",overflow:"hidden"}),m(()=>{let e=v(i);h({...g(e),height:e})})}):m(()=>{let e=v(i);h({...g(e),willChange:"height",height:e}),m(()=>h({height:0,overflow:"hidden"}))}))},[o]);let y=e=>{if(e.target===i.current&&"height"===e.propertyName){if(o){let e=v(i);e===s.height?c({}):h({height:e}),r()}else 0===s.height&&(c(l),r())}};return function(){let{style:e={},refKey:t="ref",...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n[t];return{"aria-hidden":!o,...n,[t]:(0,p.mergeRefs)(i,r),onTransitionEnd:y,style:{boxSizing:"border-box",...e,...s}}}}({opened:c,transitionDuration:E,transitionTimingFunction:y,onTransitionEnd:w});return 0===E?c?(0,r.jsx)(u.Box,{...S,children:n}):null:(0,r.jsx)(u.Box,{...j({style:{opacity:c||!x?1:0,transition:x?"opacity ".concat(E,"ms ").concat(y):"none",...(0,s.getStyleObject)(b,C)},ref:t,...S}),children:n})});g.displayName="@mantine/core/Collapse"},5148:function(e,t,n){"use strict";n.d(t,{ColorInput:function(){return R}});var r=n(57437),o=n(2265),a=n(15057),i=n(89966),l=n(87957),s=n(94120),u=n(15593),c=n(63361),d=n(66969),f=n(50591),p=n(73147),v=n(58323),m=n(36822),h=n(95415),g=n(47534),y=n(3380),b=n(64030),w=n(35093),x=n(73112),S=n(99942);function C(e){let{style:t,...n}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:"var(--ci-eye-dropper-icon-size)",height:"var(--ci-eye-dropper-icon-size)",...t},viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,r.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,r.jsx)("path",{d:"M11 7l6 6"}),(0,r.jsx)("path",{d:"M4 16l11.7 -11.7a1 1 0 0 1 1.4 0l2.6 2.6a1 1 0 0 1 0 1.4l-11.7 11.7h-4v-4z"})]})}var k={eyeDropperIcon:"m_b077c2bc",colorPreview:"m_c5ccdcab",dropdown:"m_5ece2cd7"};let E={format:"hex",fixOnBlur:!0,withPreview:!0,swatchesPerRow:7,withPicker:!0,popoverProps:{transitionProps:{transition:"fade",duration:0}},withEyeDropper:!0},j=(0,u.createVarsResolver)((e,t)=>{let{size:n}=t;return{eyeDropperIcon:{"--ci-eye-dropper-icon-size":(0,s.getSize)(n,"ci-eye-dropper-icon-size")},colorPreview:{"--ci-preview-size":(0,s.getSize)(n,"ci-preview-size")}}}),R=(0,p.factory)((e,t)=>{let n=(0,f.useProps)("ColorInput",E,e),{classNames:s,styles:u,unstyled:p,disallowInput:x,fixOnBlur:R,popoverProps:T,withPreview:I,withEyeDropper:_,eyeDropperIcon:P,closeOnColorSwatchClick:M,eyeDropperButtonProps:A,value:D,defaultValue:N,onChange:B,onChangeEnd:L,onClick:V,onFocus:O,onBlur:z,inputProps:F,format:H,wrapperProps:Z,readOnly:U,withPicker:W,swatches:K,disabled:q,leftSection:G,rightSection:J,swatchesPerRow:X,...Y}=(0,w.useInputProps)("ColorInput",E,e),$=(0,d.useStyles)({name:"ColorInput",props:n,classes:k,classNames:s,styles:u,unstyled:p,rootSelector:"wrapper",vars:n.vars,varsResolver:j}),{resolvedClassNames:Q,resolvedStyles:ee}=(0,c.useResolvedStylesApi)({classNames:s,styles:u,props:n}),[et,en]=(0,o.useState)(!1),[er,eo]=(0,o.useState)(""),[ea,ei]=(0,a.useUncontrolled)({value:D,defaultValue:N,finalValue:"",onChange:B}),{supported:el,open:es}=(0,i.useEyeDropper)(),eu=(0,r.jsx)(v.ActionIcon,{...A,...$("eyeDropperButton",{className:null==A?void 0:A.className,style:null==A?void 0:A.style}),variant:"subtle",color:"gray",size:F.size,unstyled:p,onClick:()=>es().then(e=>{if(null==e?void 0:e.sRGBHex){let t=(0,h.convertHsvaTo)(H,(0,g.parseColor)(e.sRGBHex));ei(t),null==L||L(t)}}).catch(()=>{}),children:P||(0,r.jsx)(C,{...$("eyeDropperIcon")})});return(0,o.useEffect)(()=>{((0,g.isColorValid)(ea)||""===ea.trim())&&eo(ea)},[ea]),(0,l.useDidUpdate)(()=>{(0,g.isColorValid)(ea)&&ei((0,h.convertHsvaTo)(H,(0,g.parseColor)(ea)))},[H]),(0,r.jsx)(b.Input.Wrapper,{...Z,classNames:Q,styles:ee,__staticSelector:"ColorInput",children:(0,r.jsxs)(S.Popover,{__staticSelector:"ColorInput",position:"bottom-start",offset:5,...T,opened:et,classNames:Q,styles:ee,unstyled:p,withRoles:!1,disabled:U||!1===W&&(!Array.isArray(K)||0===K.length),children:[(0,r.jsx)(S.Popover.Target,{children:(0,r.jsx)(b.Input,{autoComplete:"off",...Y,...F,classNames:Q,styles:ee,disabled:q,ref:t,__staticSelector:"ColorInput",onFocus:e=>{null==O||O(e),en(!0)},onBlur:e=>{R&&ei(er),null==z||z(e),en(!1)},onClick:e=>{null==V||V(e),en(!0)},spellCheck:!1,value:ea,onChange:e=>{let t=e.currentTarget.value;ei(t),(0,g.isColorValid)(t)&&(null==L||L((0,h.convertHsvaTo)(H,(0,g.parseColor)(t))))},leftSection:G||(I?(0,r.jsx)(y.ColorSwatch,{color:(0,g.isColorValid)(ea)?ea:"#fff",size:"var(--ci-preview-size)",...$("colorPreview")}):null),readOnly:x||U,pointer:x,unstyled:p,rightSection:J||(_&&!q&&!U&&el?eu:null)})}),(0,r.jsx)(S.Popover.Dropdown,{onMouseDown:e=>e.preventDefault(),className:k.dropdown,children:(0,r.jsx)(m.ColorPicker,{__staticSelector:"ColorInput",value:ea,onChange:ei,onChangeEnd:L,format:H,swatches:K,swatchesPerRow:X,withPicker:W,size:F.size,focusable:!1,unstyled:p,styles:ee,classNames:Q,onColorSwatchClick:()=>M&&en(!1)})})]})})});R.classes=x.InputBase.classes,R.displayName="@mantine/core/ColorInput"},36471:function(e,t,n){"use strict";n.d(t,{AlphaSlider:function(){return c}});var r=n(57437),o=n(2265),a=n(20322),i=n(50591),l=n(88740),s=n(47534);let u={},c=(0,o.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:c,color:d,...f}=(0,i.useProps)("AlphaSlider",u,e);return(0,r.jsx)(l._,{...f,ref:t,value:n,onChange:e=>null==o?void 0:o((0,s.NM)(e,2)),onChangeEnd:e=>null==c?void 0:c((0,s.NM)(e,2)),maxValue:1,round:!1,"data-alpha":!0,overlays:[{backgroundImage:"linear-gradient(45deg, var(--slider-checkers) 25%, transparent 25%), linear-gradient(-45deg, var(--slider-checkers) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--slider-checkers) 75%), linear-gradient(-45deg, var(--mantine-color-body) 75%, var(--slider-checkers) 75%)",backgroundSize:"".concat((0,a.h)(8)," ").concat((0,a.h)(8)),backgroundPosition:"0 0, 0 ".concat((0,a.h)(4),", ").concat((0,a.h)(4)," ").concat((0,a.h)(-4),", ").concat((0,a.h)(-4)," 0")},{backgroundImage:"linear-gradient(90deg, transparent, ".concat(d,")")},{boxShadow:"rgba(0, 0, 0, .1) 0 0 0 ".concat((0,a.h)(1)," inset, rgb(0, 0, 0, .15) 0 0 ").concat((0,a.h)(4)," inset")}]})});c.displayName="@mantine/core/AlphaSlider"},51142:function(e,t,n){"use strict";n.d(t,{K:function(){return r},j:function(){return o}}),n(2265),n(57437);let[r,o]=(0,n(58725).createOptionalContext)(null)},36822:function(e,t,n){"use strict";n.d(t,{ColorPicker:function(){return j}});var r=n(57437),o=n(2265),a=n(15057),i=n(87957),l=n(94120),s=n(15593),u=n(50591),c=n(66969),d=n(31831),f=n(73147),p=n(3380),v=n(36471),m=n(51142),h=n(95415),g=n(47534),y=n(51156),b=n(46706),w=n(21249);function x(e){let{className:t,onChange:n,onChangeEnd:a,value:i,saturationLabel:l,focusable:s=!0,size:u,color:c,onScrubStart:f,onScrubEnd:p,...v}=e,{getStyles:g}=(0,m.j)(),[y,x]=(0,o.useState)({x:i.s/100,y:1-i.v/100}),S=(0,o.useRef)(y),{ref:C}=(0,b.useMove)(e=>{let{x:t,y:r}=e;S.current={x:t,y:r},n({s:Math.round(100*t),v:Math.round((1-r)*100)})},{onScrubEnd:()=>{let{x:e,y:t}=S.current;a({s:Math.round(100*e),v:Math.round((1-t)*100)}),null==p||p()},onScrubStart:f});(0,o.useEffect)(()=>{x({x:i.s/100,y:1-i.v/100})},[i.s,i.v]);let k=(e,t)=>{e.preventDefault();let r=(0,b.clampUseMovePosition)(t);n({s:Math.round(100*r.x),v:Math.round((1-r.y)*100)}),a({s:Math.round(100*r.x),v:Math.round((1-r.y)*100)})};return(0,r.jsxs)(d.Box,{...g("saturation"),ref:C,...v,role:"slider","aria-label":l,"aria-valuenow":y.x,"aria-valuetext":(0,h.convertHsvaTo)("rgba",i),tabIndex:s?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowUp":k(e,{y:y.y-.05,x:y.x});break;case"ArrowDown":k(e,{y:y.y+.05,x:y.x});break;case"ArrowRight":k(e,{x:y.x+.05,y:y.y});break;case"ArrowLeft":k(e,{x:y.x-.05,y:y.y})}},children:[(0,r.jsx)("div",{...g("saturationOverlay",{style:{backgroundColor:"hsl(".concat(i.h,", 100%, 50%)")}})}),(0,r.jsx)("div",{...g("saturationOverlay",{style:{backgroundImage:"linear-gradient(90deg, #fff, transparent)"}})}),(0,r.jsx)("div",{...g("saturationOverlay",{style:{backgroundImage:"linear-gradient(0deg, #000, transparent)"}})}),(0,r.jsx)(w.b,{position:y,...g("thumb",{style:{backgroundColor:c}})})]})}x.displayName="@mantine/core/Saturation";let S=(0,o.forwardRef)((e,t)=>{let{className:n,datatype:a,setValue:i,onChangeEnd:l,size:s,focusable:u,data:c,swatchesPerRow:f,...v}=e,h=(0,m.j)(),g=c.map((e,t)=>(0,o.createElement)(p.ColorSwatch,{...h.getStyles("swatch"),unstyled:h.unstyled,component:"button",type:"button",color:e,key:t,radius:"sm",onClick:()=>{i(e),null==l||l(e)},"aria-label":e,tabIndex:u?0:-1,"data-swatch":!0}));return(0,r.jsx)(d.Box,{...h.getStyles("swatches"),ref:t,...v,children:g})});S.displayName="@mantine/core/Swatches";var C=n(82160);let k={swatchesPerRow:7,withPicker:!0,focusable:!0,size:"md",__staticSelector:"ColorPicker"},E=(0,s.createVarsResolver)((e,t)=>{let{size:n,swatchesPerRow:r}=t;return{wrapper:{"--cp-preview-size":(0,l.getSize)(n,"cp-preview-size"),"--cp-width":(0,l.getSize)(n,"cp-width"),"--cp-body-spacing":(0,l.getSpacing)(n),"--cp-swatch-size":"".concat(100/r,"%"),"--cp-thumb-size":(0,l.getSize)(n,"cp-thumb-size"),"--cp-saturation-height":(0,l.getSize)(n,"cp-saturation-height")}}}),j=(0,f.factory)((e,t)=>{let n=(0,u.useProps)("ColorPicker",k,e),{classNames:l,className:s,style:f,styles:b,unstyled:w,vars:j,format:R,value:T,defaultValue:I,onChange:_,onChangeEnd:P,withPicker:M,size:A,saturationLabel:D,hueLabel:N,alphaLabel:B,focusable:L,swatches:V,swatchesPerRow:O,fullWidth:z,onColorSwatchClick:F,__staticSelector:H,mod:Z,...U}=n,W=(0,c.useStyles)({name:H,props:n,classes:C.Z,className:s,style:f,classNames:l,styles:b,unstyled:w,rootSelector:"wrapper",vars:j,varsResolver:E}),K=(0,o.useRef)(R),q=(0,o.useRef)(),G=(0,o.useRef)(-1),J=(0,o.useRef)(!1),X="hexa"===R||"rgba"===R||"hsla"===R,[Y,$,Q]=(0,a.useUncontrolled)({value:T,defaultValue:I,finalValue:"#FFFFFF",onChange:_}),[ee,et]=(0,o.useState)((0,g.parseColor)(Y)),en=()=>{window.clearTimeout(G.current),J.current=!0},er=()=>{window.clearTimeout(G.current),G.current=window.setTimeout(()=>{J.current=!1},200)},eo=e=>{et(t=>{let n={...t,...e};return q.current=(0,h.convertHsvaTo)(K.current,n),n}),$(q.current)};return(0,i.useDidUpdate)(()=>{(0,g.isColorValid)(T)&&!J.current&&et((0,g.parseColor)(T))},[T]),(0,i.useDidUpdate)(()=>{K.current=R,$((0,h.convertHsvaTo)(R,ee))},[R]),(0,r.jsx)(m.K,{value:{getStyles:W,unstyled:w},children:(0,r.jsxs)(d.Box,{ref:t,...W("wrapper"),size:A,mod:[{"full-width":z},Z],...U,children:[M&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{value:ee,onChange:eo,onChangeEnd:e=>{let{s:t,v:n}=e;return null==P?void 0:P((0,h.convertHsvaTo)(K.current,{...ee,s:t,v:n}))},color:Y,size:A,focusable:L,saturationLabel:D,onScrubStart:en,onScrubEnd:er}),(0,r.jsxs)("div",{...W("body"),children:[(0,r.jsxs)("div",{...W("sliders"),children:[(0,r.jsx)(y.HueSlider,{value:ee.h,onChange:e=>eo({h:e}),onChangeEnd:e=>null==P?void 0:P((0,h.convertHsvaTo)(K.current,{...ee,h:e})),size:A,focusable:L,"aria-label":N,onScrubStart:en,onScrubEnd:er}),X&&(0,r.jsx)(v.AlphaSlider,{value:ee.a,onChange:e=>eo({a:e}),onChangeEnd:e=>{null==P||P((0,h.convertHsvaTo)(K.current,{...ee,a:e}))},size:A,color:(0,h.convertHsvaTo)("hex",ee),focusable:L,"aria-label":B,onScrubStart:en,onScrubEnd:er})]}),X&&(0,r.jsx)(p.ColorSwatch,{color:Y,radius:"sm",size:"var(--cp-preview-size)",...W("preview")})]})]}),Array.isArray(V)&&(0,r.jsx)(S,{data:V,swatchesPerRow:O,focusable:L,setValue:$,onChangeEnd:e=>{let t=(0,h.convertHsvaTo)(R,(0,g.parseColor)(e));null==F||F(t),null==P||P(t),Q||et((0,g.parseColor)(e))}})]})})});j.classes=C.Z,j.displayName="@mantine/core/ColorPicker"},82160:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={wrapper:"m_fee9c77",preview:"m_9dddfbac",body:"m_bffecc3e",sliders:"m_3283bb96",thumb:"m_40d572ba",swatch:"m_d8ee6fd8",swatches:"m_5711e686",saturation:"m_202a296e",saturationOverlay:"m_11b3db02",slider:"m_d856d47d",sliderOverlay:"m_8f327113"}},88740:function(e,t,n){"use strict";n.d(t,{_:function(){return y}});var r=n(57437),o=n(2265),a=n(46706),i=n(87957),l=n(79373),s=n(20322),u=n(15274),c=n(50591),d=n(66969),f=n(31831),p=n(73147),v=n(51142),m=n(21249),h=n(82160);let g={},y=(0,p.factory)((e,t)=>{var n;let p=(0,c.useProps)("ColorSlider",g,e),{classNames:y,className:b,style:w,styles:x,unstyled:S,vars:C,onChange:k,onChangeEnd:E,maxValue:j,round:R,size:T="md",focusable:I=!0,value:_,overlays:P,thumbColor:M="transparent",onScrubStart:A,onScrubEnd:D,__staticSelector:N="ColorPicker",...B}=p,L=(0,d.useStyles)({name:N,classes:h.Z,props:p,className:b,style:w,classNames:y,styles:x,unstyled:S}),V=(null===(n=(0,v.j)())||void 0===n?void 0:n.getStyles)||L,O=(0,u.useMantineTheme)(),[z,F]=(0,o.useState)({y:0,x:_/j}),H=(0,o.useRef)(z),Z=e=>R?Math.round(e*j):e*j,{ref:U}=(0,a.useMove)(e=>{let{x:t,y:n}=e;H.current={x:t,y:n},null==k||k(Z(t))},{onScrubEnd:()=>{let{x:e}=H.current;null==E||E(Z(e)),null==D||D()},onScrubStart:A});(0,i.useDidUpdate)(()=>{F({y:0,x:_/j})},[_]);let W=(e,t)=>{e.preventDefault();let n=(0,a.clampUseMovePosition)(t);null==k||k(Z(n.x)),null==E||E(Z(n.x))},K=P.map((e,t)=>(0,o.createElement)("div",{...V("sliderOverlay"),style:e,key:t}));return(0,r.jsxs)(f.Box,{...B,ref:(0,l.useMergedRef)(U,t),...V("slider"),role:"slider","aria-valuenow":_,"aria-valuemax":j,"aria-valuemin":0,tabIndex:I?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowRight":W(e,{x:z.x+.05,y:z.y});break;case"ArrowLeft":W(e,{x:z.x-.05,y:z.y})}},"data-focus-ring":O.focusRing,__vars:{"--cp-thumb-size":"var(--cp-thumb-size-".concat(T,")")},children:[K,(0,r.jsx)(m.b,{position:z,...V("thumb",{style:{top:(0,s.h)(1),background:M}})})]})});y.displayName="@mantine/core/ColorSlider"},51156:function(e,t,n){"use strict";n.d(t,{HueSlider:function(){return s}});var r=n(57437),o=n(2265),a=n(20322),i=n(50591),l=n(88740);let s=(0,o.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:s,color:u,...c}=(0,i.useProps)("HueSlider",{},e);return(0,r.jsx)(l._,{...c,ref:t,value:n,onChange:o,onChangeEnd:s,maxValue:360,thumbColor:"hsl(".concat(n,", 100%, 50%)"),round:!0,"data-hue":!0,overlays:[{backgroundImage:"linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))"},{boxShadow:"rgba(0, 0, 0, .1) 0 0 0 ".concat((0,a.h)(1)," inset, rgb(0, 0, 0, .15) 0 0 ").concat((0,a.h)(4)," inset")}]})});s.displayName="@mantine/core/HueSlider"},21249:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(57437),o=n(2265),a=n(31831);let i=(0,o.forwardRef)((e,t)=>{let{position:n,...o}=e;return(0,r.jsx)(a.Box,{ref:t,__vars:{"--thumb-y-offset":"".concat(100*n.y,"%"),"--thumb-x-offset":"".concat(100*n.x,"%")},...o})});i.displayName="@mantine/core/ColorPickerThumb"},95415:function(e,t,n){"use strict";n.d(t,{convertHsvaTo:function(){return c}});var r=n(47534);function o(e){let{h:t,s:n,v:o,a}=e,i=t/360*6,l=n/100,s=o/100,u=Math.floor(i),c=s*(1-l),d=s*(1-(i-u)*l),f=s*(1-(1-i+u)*l),p=u%6;return{r:(0,r.NM)(255*[s,d,c,c,f,s][p]),g:(0,r.NM)(255*[f,s,s,d,c,c][p]),b:(0,r.NM)(255*[c,c,f,s,s,d][p]),a:(0,r.NM)(a,2)}}function a(e,t){let{r:n,g:a,b:i,a:l}=o(e);return t?"rgba(".concat(n,", ").concat(a,", ").concat(i,", ").concat((0,r.NM)(l,2),")"):"rgb(".concat(n,", ").concat(a,", ").concat(i,")")}function i(e,t){let{h:n,s:o,v:a,a:i}=e,l=(200-o)*a/100,s={h:Math.round(n),s:Math.round(l>0&&l<200?o*a/100/(l<=100?l:200-l)*100:0),l:Math.round(l/2)};return t?"hsla(".concat(s.h,", ").concat(s.s,"%, ").concat(s.l,"%, ").concat((0,r.NM)(i,2),")"):"hsl(".concat(s.h,", ").concat(s.s,"%, ").concat(s.l,"%)")}function l(e){let t=e.toString(16);return t.length<2?"0".concat(t):t}function s(e){let{r:t,g:n,b:r}=o(e);return"#".concat(l(t)).concat(l(n)).concat(l(r))}let u={hex:s,hexa:e=>(function(e){let t=Math.round(255*e.a);return"".concat(s(e)).concat(l(t))})(e),rgb:e=>a(e,!1),rgba:e=>a(e,!0),hsl:e=>i(e,!1),hsla:e=>i(e,!0)};function c(e,t){return t?e in u?u[e](t):u.hex(t):"#000000"}},47534:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10**t;return Math.round(n*e)/n}n.d(t,{NM:function(){return r},isColorValid:function(){return p},parseColor:function(){return v}});let o={grad:.9,turn:360,rad:360/(2*Math.PI)},a=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function i(e){let t=a.exec(e);return t?function(e){let{h:t,s:n,l:r,a:o}=e,a=(r<50?r:100-r)/100*n;return{h:t,s:a>0?2*a/(r+a)*100:0,v:r+a,a:o}}({h:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"deg";return Number(e)*(o[t]||1)}(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}}function l(e){let{r:t,g:n,b:o,a}=e,i=Math.max(t,n,o),l=i-Math.min(t,n,o),s=l?i===t?(n-o)/l:i===n?2+(o-t)/l:4+(t-n)/l:0;return{h:r(60*(s<0?s+6:s),3),s:r(i?l/i*100:0,3),v:r(i/255*100,3),a}}function s(e){let t="#"===e[0]?e.slice(1):e;return 3===t.length?l({r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}):l({r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:1})}let u=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function c(e){let t=u.exec(e);return t?l({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}}let d={hex:/^#?([0-9A-F]{3}){1,2}$/i,hexa:/^#?([0-9A-F]{4}){1,2}$/i,rgb:/^rgb\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,rgba:/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,hsl:/hsl\(\s*(\d+)\s*,\s*(\d+(?:\.\d+)?%)\s*,\s*(\d+(?:\.\d+)?%)\)/i,hsla:/^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(\d*(?:\.\d+)?)\)$/i},f={hex:s,hexa:function(e){let t="#"===e[0]?e.slice(1):e,n=e=>r(parseInt(e,16)/255,3);if(4===t.length){let e=t.slice(0,3),r=n(t[3]+t[3]);return{...s(e),a:r}}let o=t.slice(0,6),a=n(t.slice(6,8));return{...s(o),a}},rgb:c,rgba:c,hsl:i,hsla:i};function p(e){for(let[,t]of Object.entries(d))if(t.test(e))return!0;return!1}function v(e){if("string"!=typeof e)return{h:0,s:0,v:0,a:1};if("transparent"===e)return{h:0,s:0,v:0,a:0};let t=e.trim();for(let[e,n]of Object.entries(d))if(n.test(t))return f[e](t);return{h:0,s:0,v:0,a:1}}},3380:function(e,t,n){"use strict";n.d(t,{ColorSwatch:function(){return v}});var r=n(57437),o=n(20322);n(2265);var a=n(94120),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(869),d={root:"m_de3d2490",colorOverlay:"m_862f3d1b",shadowOverlay:"m_98ae7f22",alphaOverlay:"m_95709ac0",childrenOverlay:"m_93e74e3"};let f={withShadow:!0},p=(0,i.createVarsResolver)((e,t)=>{let{radius:n,size:r}=t;return{root:{"--cs-radius":void 0===n?void 0:(0,a.getRadius)(n),"--cs-size":(0,o.h)(r)}}}),v=(0,c.polymorphicFactory)((e,t)=>{let n=(0,l.useProps)("ColorSwatch",f,e),{classNames:o,className:a,style:i,styles:c,unstyled:v,vars:m,color:h,size:g,radius:y,withShadow:b,children:w,variant:x,...S}=(0,l.useProps)("ColorSwatch",f,n),C=(0,s.useStyles)({name:"ColorSwatch",props:n,classes:d,className:a,style:i,classNames:o,styles:c,unstyled:v,vars:m,varsResolver:p});return(0,r.jsxs)(u.Box,{ref:t,variant:x,size:g,...C("root",{focusable:!0}),...S,children:[(0,r.jsx)("span",{...C("alphaOverlay")}),b&&(0,r.jsx)("span",{...C("shadowOverlay")}),(0,r.jsx)("span",{...C("colorOverlay",{style:{backgroundColor:h}})}),(0,r.jsx)("span",{...C("childrenOverlay"),children:w})]})});v.classes=d,v.displayName="@mantine/core/ColorSwatch"},49894:function(e,t,n){"use strict";n.d(t,{useVirtualizedCombobox:function(){return a}});var r=n(2265),o=n(15057);function a(){let{defaultOpened:e,opened:t,onOpenedChange:n,onDropdownClose:a,onDropdownOpen:i,loop:l=!0,totalOptionsCount:s,isOptionDisabled:u=()=>!1,getOptionId:c,selectedOptionIndex:d,setSelectedOptionIndex:f,activeOptionIndex:p,onSelectedOptionSubmit:v}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{totalOptionsCount:0,getOptionId:()=>null,selectedOptionIndex:1,setSelectedOptionIndex:()=>{},onSelectedOptionSubmit:()=>{}},[m,h]=(0,o.useUncontrolled)({value:t,defaultValue:e,finalValue:!1,onChange:n}),g=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(-1),x=(0,r.useRef)(-1),S=()=>{m||(h(!0),null==i||i())},C=()=>{m&&(h(!1),null==a||a())},k=e=>{let t=e>=s?0:e<0?s-1:e;return f(t),c(t)};(0,r.useEffect)(()=>()=>{window.clearTimeout(w.current),window.clearTimeout(x.current)},[]);let E=(0,r.useCallback)(()=>d,[]);return{dropdownOpened:m,openDropdown:S,closeDropdown:C,toggleDropdown:()=>{m?C():S()},selectedOptionIndex:d,getSelectedOptionIndex:E,selectOption:k,selectFirstOption:()=>k(function(e){let{totalOptionsCount:t,isOptionDisabled:n}=e;for(let e=0;ek(null!=p?p:0),selectNextOption:()=>k(function(e){let{currentIndex:t,isOptionDisabled:n,totalOptionsCount:r,loop:o}=e;for(let e=t+1;ek(function(e){let{currentIndex:t,isOptionDisabled:n,totalOptionsCount:r,loop:o}=e;for(let e=t-1;e>=0;e-=1)if(!n(e))return e;if(o){for(let e=r-1;e>-1;e-=1)if(!n(e))return e}return t}({currentIndex:d,isOptionDisabled:u,totalOptionsCount:s,loop:l})),resetSelectedOption:()=>{f(-1)},updateSelectedOptionIndex:()=>{},listId:g.current,setListId:e=>{g.current=e},clickSelectedOption:()=>{null==v||v(d)},searchRef:y,focusSearchInput:()=>{w.current=window.setTimeout(()=>y.current.focus(),0)},targetRef:b,focusTarget:()=>{x.current=window.setTimeout(()=>b.current.focus(),0)}}}},85061:function(e,t,n){"use strict";n.d(t,{Dialog:function(){return h}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(50591),l=n(66969),s=n(73147),u=n(18849),c=n(79445),d=n(12194),f=n(93719),p={root:"m_e2125a27",closeButton:"m_5abab665"};let v={shadow:"md",p:"md",withBorder:!1,transitionProps:{transition:"pop-top-right",duration:200},position:{bottom:30,right:30}},m=(0,a.createVarsResolver)((e,t)=>{let{size:n}=t;return{root:{"--dialog-size":(0,o.getSize)(n,"dialog-size")}}}),h=(0,s.factory)((e,t)=>{let n=(0,i.useProps)("Dialog",v,e),{classNames:o,className:a,style:s,styles:h,unstyled:g,vars:y,zIndex:b,position:w,keepMounted:x,opened:S,transitionProps:C,withCloseButton:k,withinPortal:E,children:j,onClose:R,portalProps:T,...I}=n,_=(0,l.useStyles)({name:"Dialog",classes:p,props:n,className:a,style:s,classNames:o,styles:h,unstyled:g,vars:y,varsResolver:m});return(0,r.jsx)(u.Affix,{zIndex:b,position:w,ref:t,withinPortal:E,portalProps:T,unstyled:g,children:(0,r.jsx)(f.Transition,{keepMounted:x,mounted:S,...C,children:e=>(0,r.jsxs)(d.Paper,{unstyled:g,..._("root",{style:e}),...I,children:[k&&(0,r.jsx)(c.CloseButton,{onClick:R,unstyled:g,..._("closeButton")}),j]})})})});h.classes=p,h.displayName="@mantine/core/Dialog"},91601:function(e,t,n){"use strict";n.d(t,{Divider:function(){return v}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(45027),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d={root:"m_3eebeb36",label:"m_9e365f20"};let f={orientation:"horizontal"},p=(0,a.createVarsResolver)((e,t)=>{let{color:n,variant:r,size:a}=t;return{root:{"--divider-color":n?(0,i.getThemeColor)(n,e):void 0,"--divider-border-style":r,"--divider-size":(0,o.getSize)(a,"divider-size")}}}),v=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("Divider",f,e),{classNames:o,className:a,style:i,styles:c,unstyled:v,vars:m,color:h,orientation:g,label:y,labelPosition:b,mod:w,...x}=n,S=(0,s.useStyles)({name:"Divider",classes:d,props:n,className:a,style:i,classNames:o,styles:c,unstyled:v,vars:m,varsResolver:p});return(0,r.jsx)(u.Box,{ref:t,mod:[{orientation:g,"with-label":!!y},w],...S("root"),...x,role:"separator",children:y&&(0,r.jsx)(u.Box,{component:"span",mod:{position:b},...S("label"),children:y})})});v.classes=d,v.displayName="@mantine/core/Divider"},321:function(e,t,n){"use strict";n.d(t,{D:function(){return o},M:function(){return a}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("Drawer component was not found in tree")},45224:function(e,t,n){"use strict";n.d(t,{Drawer:function(){return h}});var r=n(57437);n(2265);var o=n(33123),a=n(50591),i=n(73147),l=n(80144),s=n(84983),u=n(4942),c=n(59436),d=n(35532),f=n(91163),p=n(22508),v=n(18324);let m={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,o.getDefaultZIndex)("modal"),withOverlay:!0,withCloseButton:!0},h=(0,i.factory)((e,t)=>{let{title:n,withOverlay:o,overlayProps:i,withCloseButton:v,closeButtonProps:h,children:g,...y}=(0,a.useProps)("Drawer",m,e),b=!!n||v;return(0,r.jsxs)(f.DrawerRoot,{ref:t,...y,children:[o&&(0,r.jsx)(d.DrawerOverlay,{...i}),(0,r.jsxs)(u.DrawerContent,{children:[b&&(0,r.jsxs)(c.DrawerHeader,{children:[n&&(0,r.jsx)(p.DrawerTitle,{children:n}),v&&(0,r.jsx)(s.DrawerCloseButton,{...h})]}),(0,r.jsx)(l.DrawerBody,{children:g})]})]})});h.classes=v.Z,h.displayName="@mantine/core/Drawer",h.Root=f.DrawerRoot,h.Overlay=d.DrawerOverlay,h.Content=u.DrawerContent,h.Body=l.DrawerBody,h.Header=c.DrawerHeader,h.Title=p.DrawerTitle,h.CloseButton=s.DrawerCloseButton},18324:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_f11b401e",header:"m_5a7c2c9",content:"m_b8a05bbd",inner:"m_31cd769a"}},80144:function(e,t,n){"use strict";n.d(t,{DrawerBody:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(73147),i=n(93271),l=n(321),s=n(18324);let u={},c=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:s,styles:c,vars:d,...f}=(0,o.useProps)("DrawerBody",u,e),p=(0,l.M)();return(0,r.jsx)(i.ModalBaseBody,{ref:t,...p.getStyles("body",{classNames:n,style:s,styles:c,className:a}),...f})});c.classes=s.Z,c.displayName="@mantine/core/DrawerBody"},84983:function(e,t,n){"use strict";n.d(t,{DrawerCloseButton:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(73147),i=n(92628),l=n(321),s=n(18324);let u={},c=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:s,styles:c,vars:d,...f}=(0,o.useProps)("DrawerCloseButton",u,e),p=(0,l.M)();return(0,r.jsx)(i.ModalBaseCloseButton,{ref:t,...p.getStyles("close",{classNames:n,style:s,styles:c,className:a}),...f})});c.classes=s.Z,c.displayName="@mantine/core/DrawerCloseButton"},4942:function(e,t,n){"use strict";n.d(t,{DrawerContent:function(){return d}});var r=n(57437);n(2265);var o=n(50591),a=n(73147),i=n(80514),l=n(52143),s=n(321),u=n(18324);let c={},d=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:u,styles:d,vars:f,children:p,radius:v,...m}=(0,o.useProps)("DrawerContent",c,e),h=(0,s.M)(),g=h.scrollAreaComponent||l.NativeScrollArea;return(0,r.jsx)(i.ModalBaseContent,{...h.getStyles("content",{className:a,style:u,styles:d,classNames:n}),innerProps:h.getStyles("inner",{className:a,style:u,styles:d,classNames:n}),ref:t,...m,radius:v||h.radius||0,children:(0,r.jsx)(g,{style:{height:"100vh"},children:p})})});d.classes=u.Z,d.displayName="@mantine/core/DrawerContent"},59436:function(e,t,n){"use strict";n.d(t,{DrawerHeader:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(73147),i=n(80275),l=n(321),s=n(18324);let u={},c=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:s,styles:c,vars:d,...f}=(0,o.useProps)("DrawerHeader",u,e),p=(0,l.M)();return(0,r.jsx)(i.ModalBaseHeader,{ref:t,...p.getStyles("header",{classNames:n,style:s,styles:c,className:a}),...f})});c.classes=s.Z,c.displayName="@mantine/core/DrawerHeader"},35532:function(e,t,n){"use strict";n.d(t,{DrawerOverlay:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(73147),i=n(69526),l=n(321),s=n(18324);let u={},c=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:s,styles:c,vars:d,...f}=(0,o.useProps)("DrawerOverlay",u,e),p=(0,l.M)();return(0,r.jsx)(i.ModalBaseOverlay,{ref:t,...p.getStyles("overlay",{classNames:n,style:s,styles:c,className:a}),...f})});c.classes=s.Z,c.displayName="@mantine/core/DrawerOverlay"},91163:function(e,t,n){"use strict";n.d(t,{DrawerRoot:function(){return b}});var r=n(57437),o=n(20322);n(2265);var a=n(33123),i=n(94120),l=n(15593),s=n(50591),u=n(66969),c=n(73147),d=n(24895),f=n(23908),p=n(321),v=n(18324);let m={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},h={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},g={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,a.getDefaultZIndex)("modal"),position:"left"},y=(0,l.createVarsResolver)((e,t)=>{let{position:n,size:r,offset:a}=t;return{root:{"--drawer-size":(0,i.getSize)(r,"drawer-size"),"--drawer-flex":function(e){if("top"===e||"bottom"===e)return"0 0 calc(100% - var(--drawer-offset, 0rem) * 2)"}(n),"--drawer-height":"left"===n||"right"===n?void 0:"var(--drawer-size)","--drawer-align":function(e){switch(e){case"top":return"flex-start";case"bottom":return"flex-end";default:return}}(n),"--drawer-justify":"right"===n?"flex-end":void 0,"--drawer-offset":(0,o.h)(a)}}}),b=(0,c.factory)((e,t)=>{let n=(0,s.useProps)("DrawerRoot",g,e),{classNames:o,className:a,style:i,styles:l,unstyled:c,vars:b,scrollAreaComponent:w,position:x,transitionProps:S,radius:C,...k}=n,{dir:E}=(0,d.useDirection)(),j=(0,u.useStyles)({name:"Drawer",classes:v.Z,props:n,className:a,style:i,classNames:o,styles:l,unstyled:c,vars:b,varsResolver:y}),R=("rtl"===E?h:m)[x];return(0,r.jsx)(p.D,{value:{scrollAreaComponent:w,getStyles:j,radius:C},children:(0,r.jsx)(f.ModalBase,{ref:t,...j("root"),transitionProps:{transition:R,...S},unstyled:c,...k})})});b.classes=v.Z,b.displayName="@mantine/core/DrawerRoot"},22508:function(e,t,n){"use strict";n.d(t,{DrawerTitle:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(73147),i=n(52779),l=n(321),s=n(18324);let u={},c=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:s,styles:c,vars:d,...f}=(0,o.useProps)("DrawerTitle",u,e),p=(0,l.M)();return(0,r.jsx)(i.ModalBaseTitle,{ref:t,...p.getStyles("title",{classNames:n,style:s,styles:c,className:a}),...f})});c.classes=s.Z,c.displayName="@mantine/core/DrawerTitle"},98920:function(e,t,n){"use strict";n.d(t,{Fieldset:function(){return p}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(50591),l=n(66969),s=n(31831),u=n(73147),c={root:"m_e9408a47","root--default":"m_84c9523a","root--filled":"m_ef274e49","root--unstyled":"m_eda993d3",legend:"m_90794832","legend--unstyled":"m_74ca27fe"};let d={variant:"default"},f=(0,a.createVarsResolver)((e,t)=>{let{radius:n}=t;return{root:{"--fieldset-radius":void 0===n?void 0:(0,o.getRadius)(n)}}}),p=(0,u.factory)((e,t)=>{let n=(0,i.useProps)("Fieldset",d,e),{classNames:o,className:a,style:u,styles:p,unstyled:v,vars:m,legend:h,variant:g,children:y,...b}=n,w=(0,l.useStyles)({name:"Fieldset",classes:c,props:n,className:a,style:u,classNames:o,styles:p,unstyled:v,vars:m,varsResolver:f});return(0,r.jsxs)(s.Box,{component:"fieldset",ref:t,variant:g,...w("root",{variant:g}),...b,children:[h&&(0,r.jsx)("legend",{...w("legend",{variant:g}),children:h}),y]})});p.classes=c,p.displayName="@mantine/core/Fieldset"},31912:function(e,t,n){"use strict";n.d(t,{FileButton:function(){return s}});var r=n(57437),o=n(2265),a=n(79373),i=n(50591);let l={multiple:!1},s=(0,o.forwardRef)((e,t)=>{let{onChange:n,children:s,multiple:u,accept:c,name:d,form:f,resetRef:p,disabled:v,capture:m,inputProps:h,...g}=(0,i.useProps)("FileButton",l,e),y=(0,o.useRef)();return(0,a.assignRef)(p,()=>{y.current.value=""}),(0,r.jsxs)(r.Fragment,{children:[s({onClick:()=>{var e;v||null===(e=y.current)||void 0===e||e.click()},...g}),(0,r.jsx)("input",{style:{display:"none"},type:"file",accept:c,multiple:u,onChange:e=>{u?n(Array.from(e.currentTarget.files)):n(e.currentTarget.files[0]||null)},ref:(0,a.useMergedRef)(t,y),name:d,form:f,capture:m,...h})]})});s.displayName="@mantine/core/FileButton"},19743:function(e,t,n){"use strict";n.d(t,{FileInput:function(){return v}});var r=n(57437),o=n(2265),a=n(15057),i=n(50591),l=n(73147),s=n(79445),u=n(31912),c=n(64030),d=n(73112);let f={valueComponent:e=>{let{value:t}=e;return(0,r.jsx)("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:Array.isArray(t)?t.map(e=>e.name).join(", "):null==t?void 0:t.name})}},p=(0,l.factory)((e,t)=>{let n=(0,i.useProps)("FileInput",f,e),{unstyled:l,vars:p,onChange:v,value:m,defaultValue:h,multiple:g,accept:y,name:b,form:w,valueComponent:x,clearable:S,clearButtonProps:C,readOnly:k,capture:E,fileInputProps:j,rightSection:R,size:T,placeholder:I,..._}=n,P=(0,o.useRef)(null),[M,A]=(0,a.useUncontrolled)({value:m,defaultValue:h,onChange:v,finalValue:g?[]:null}),D=Array.isArray(M)?0!==M.length:null!==M,N=R||(S&&D&&!k?(0,r.jsx)(s.CloseButton,{...C,variant:"subtle",onClick:()=>A(g?[]:null),size:T,unstyled:l}):null);return(0,o.useEffect)(()=>{if(Array.isArray(M)&&0===M.length||null===M){var e;null===(e=P.current)||void 0===e||e.call(P)}},[M]),(0,r.jsx)(u.FileButton,{onChange:A,multiple:g,accept:y,name:b,form:w,resetRef:P,disabled:k,capture:E,inputProps:j,children:e=>(0,r.jsx)(d.InputBase,{component:"button",ref:t,rightSection:N,...e,..._,__staticSelector:"FileInput",multiline:!0,type:"button",pointer:!0,__stylesApiProps:n,unstyled:l,size:T,children:D?(0,r.jsx)(x,{value:M}):(0,r.jsx)(c.Input.Placeholder,{children:I})})})});p.classes=d.InputBase.classes,p.displayName="@mantine/core/FileInput";let v=p},10481:function(e,t,n){"use strict";n.d(t,{Flex:function(){return h}});var r=n(57437),o=n(20686);n(2265);var a=n(15274),i=n(50591),l=n(66969),s=n(41217),u=n(63597),c=n(54803),d=n(31831),f=n(869),p=n(94341),v={root:"m_8bffd616"};let m={},h=(0,f.polymorphicFactory)((e,t)=>{let n=(0,i.useProps)("Flex",m,e),{classNames:f,className:h,style:g,styles:y,unstyled:b,vars:w,gap:x,rowGap:S,columnGap:C,align:k,justify:E,wrap:j,direction:R,...T}=n,I=(0,l.useStyles)({name:"Flex",classes:v,props:n,className:h,style:g,classNames:f,styles:y,unstyled:b,vars:w}),_=(0,a.useMantineTheme)(),P=(0,c.useRandomClassName)(),M=(0,u.parseStyleProps)({styleProps:{gap:x,rowGap:S,columnGap:C,align:k,justify:E,wrap:j,direction:R},theme:_,data:p.FLEX_STYLE_PROPS_DATA});return(0,r.jsxs)(r.Fragment,{children:[M.hasResponsiveStyles&&(0,r.jsx)(s.InlineStyles,{selector:".".concat(P),styles:M.styles,media:M.media}),(0,r.jsx)(d.Box,{ref:t,...I("root",{className:P,style:(0,o.filterProps)(M.inlineStyles)}),...T})]})});h.classes=v,h.displayName="@mantine/core/Flex"},94341:function(e,t,n){"use strict";n.d(t,{FLEX_STYLE_PROPS_DATA:function(){return r}});let r={gap:{type:"spacing",property:"gap"},rowGap:{type:"spacing",property:"rowGap"},columnGap:{type:"spacing",property:"columnGap"},align:{type:"identity",property:"alignItems"},justify:{type:"identity",property:"justifyContent"},wrap:{type:"identity",property:"flexWrap"},direction:{type:"identity",property:"flexDirection"}}},43506:function(e,t,n){"use strict";n.d(t,{FloatingIndicator:function(){return g}});var r=n(57437),o=n(2265),a=n(79373),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d=n(75058),f=n(64027),p=n(79413),v={root:"m_96b553a6"};let m={},h=(0,i.createVarsResolver)((e,t)=>{let{transitionDuration:n}=t;return{root:{"--transition-duration":"number"==typeof n?"".concat(n,"ms"):n}}}),g=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("FloatingIndicator",m,e),{classNames:i,className:c,style:g,styles:y,unstyled:b,vars:w,target:x,parent:S,transitionDuration:C,mod:k,displayAfterTransitionEnd:E,...j}=n,R=(0,s.useStyles)({name:"FloatingIndicator",classes:v,props:n,className:c,style:g,classNames:i,styles:y,unstyled:b,vars:w,varsResolver:h}),T=(0,o.useRef)(null),{initialized:I,hidden:_}=function(e){let{target:t,parent:n,ref:r,displayAfterTransitionEnd:a}=e,i=(0,o.useRef)(),[l,s]=(0,o.useState)(!1),[u,c]=(0,o.useState)("boolean"==typeof a&&a),v=()=>{if(!t||!n)return;let e=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a={top:e.top-o.top,left:e.left-o.left,width:e.width,height:e.height};r.current&&(r.current.style.transform="translateY(".concat(a.top,"px) translateX(").concat(a.left,"px)"),r.current.style.width="".concat(a.width,"px"),r.current.style.height="".concat(a.height,"px"))},m=()=>{window.clearTimeout(i.current),r.current&&(r.current.style.transitionDuration="0ms"),v(),i.current=window.setTimeout(()=>{r.current&&(r.current.style.transitionDuration="")},30)},h=(0,o.useRef)(),g=(0,o.useRef)();return(0,o.useEffect)(()=>{if(v(),t)return h.current=new ResizeObserver(m),h.current.observe(t),n&&(g.current=new ResizeObserver(m),g.current.observe(n)),()=>{var e,t;null===(e=h.current)||void 0===e||e.disconnect(),null===(t=g.current)||void 0===t||t.disconnect()}},[n,t]),(0,o.useEffect)(()=>{if(n){let e=e=>{(function(e,t){if(!t||!e)return!1;let n=t.parentNode;for(;null!=n;){if(n===e)return!0;n=n.parentNode}return!1})(e.target,n)&&(m(),c(!1))};return document.addEventListener("transitionend",e),()=>{document.removeEventListener("transitionend",e)}}},[n]),(0,d.useTimeout)(()=>{"test"!==(0,p.getEnv)()&&s(!0)},20,{autoInvoke:!0}),(0,f.useMutationObserver)(e=>{e.forEach(e=>{"attributes"===e.type&&"dir"===e.attributeName&&m()})},{attributes:!0,attributeFilter:["dir"]},()=>document.documentElement),{initialized:l,hidden:u}}({target:x,parent:S,ref:T,displayAfterTransitionEnd:E}),P=(0,a.useMergedRef)(t,T);return x&&S?(0,r.jsx)(u.Box,{ref:P,mod:[{initialized:I,hidden:_},k],...R("root"),...j}):null});g.displayName="@mantine/core/FloatingIndicator",g.classes=v},94946:function(e,t,n){"use strict";n.d(t,{Highlight:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(869),i=n(29347),l=n(96293);function s(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}let u={},c=(0,a.polymorphicFactory)((e,t)=>{let{unstyled:n,children:a,highlight:c,highlightStyles:d,color:f,...p}=(0,o.useProps)("Highlight",u,e),v=function(e,t){if(null==t)return[{chunk:e,highlighted:!1}];let n=Array.isArray(t)?t.map(s):s(t);if(!(Array.isArray(n)?n.filter(e=>e.trim().length>0).length>0:""!==n.trim()))return[{chunk:e,highlighted:!1}];let r="string"==typeof n?n.trim():n.filter(e=>0!==e.trim().length).map(e=>e.trim()).sort((e,t)=>t.length-e.length).join("|"),o=RegExp("(".concat(r,")"),"gi");return e.split(o).map(e=>({chunk:e,highlighted:o.test(e)})).filter(e=>{let{chunk:t}=e;return t})}(a,c);return(0,r.jsx)(l.Text,{unstyled:n,ref:t,...p,__staticSelector:"Highlight",children:v.map((e,t)=>{let{chunk:o,highlighted:a}=e;return a?(0,r.jsx)(i.Mark,{unstyled:n,color:f,style:d,"data-highlight":o,children:o},t):(0,r.jsx)("span",{children:o},t)})})});c.classes=l.Text.classes,c.displayName="@mantine/core/Highlight"},44691:function(e,t,n){"use strict";n.d(t,{I:function(){return a},e:function(){return o}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("HoverCard component was not found in the tree")},18119:function(e,t,n){"use strict";n.d(t,{HoverCard:function(){return f}});var r=n(57437),o=n(93059);n(2265);var a=n(50591),i=n(92403),l=n(99942),s=n(44691),u=n(88437),c=n(57586);let d={openDelay:0,closeDelay:150,initiallyOpened:!1};function f(e){let{children:t,onOpen:n,onClose:u,openDelay:c,closeDelay:f,initiallyOpened:p,...v}=(0,a.useProps)("HoverCard",d,e),[m,{open:h,close:g}]=(0,o.useDisclosure)(p,{onClose:u,onOpen:n}),{openDropdown:y,closeDropdown:b}=(0,i.useDelayedHover)({open:h,close:g,openDelay:c,closeDelay:f});return(0,r.jsx)(s.e,{value:{openDropdown:y,closeDropdown:b},children:(0,r.jsx)(l.Popover,{...v,opened:m,__staticSelector:"HoverCard",children:t})})}f.displayName="@mantine/core/HoverCard",f.Target=c.HoverCardTarget,f.Dropdown=u.HoverCardDropdown,f.extend=e=>e},88437:function(e,t,n){"use strict";n.d(t,{HoverCardDropdown:function(){return u}});var r=n(57437);n(2265);var o=n(36367),a=n(50591),i=n(99942),l=n(44691);let s={};function u(e){let{children:t,onMouseEnter:n,onMouseLeave:u,...c}=(0,a.useProps)("HoverCardDropdown",s,e),d=(0,l.I)(),f=(0,o.createEventHandler)(n,d.openDropdown),p=(0,o.createEventHandler)(u,d.closeDropdown);return(0,r.jsx)(i.Popover.Dropdown,{onMouseEnter:f,onMouseLeave:p,...c,children:t})}u.displayName="@mantine/core/HoverCardDropdown"},57586:function(e,t,n){"use strict";n.d(t,{HoverCardTarget:function(){return d}});var r=n(57437),o=n(2265),a=n(67457),i=n(36367),l=n(50591),s=n(99942),u=n(44691);let c={refProp:"ref"},d=(0,o.forwardRef)((e,t)=>{let{children:n,refProp:d,eventPropsWrapperName:f,...p}=(0,l.useProps)("HoverCardTarget",c,e);if(!(0,a.isElement)(n))throw Error("HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let v=(0,u.I)(),m={onMouseEnter:(0,i.createEventHandler)(n.props.onMouseEnter,v.openDropdown),onMouseLeave:(0,i.createEventHandler)(n.props.onMouseLeave,v.closeDropdown)};return(0,r.jsx)(s.Popover.Target,{refProp:d,ref:t,...p,children:(0,o.cloneElement)(n,f?{[f]:m}:m)})});d.displayName="@mantine/core/HoverCardTarget"},99075:function(e,t,n){"use strict";n.d(t,{Image:function(){return v}});var r=n(57437),o=n(2265),a=n(94120),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(869),d={root:"m_9e117634"};let f={},p=(0,i.createVarsResolver)((e,t)=>{let{radius:n,fit:r}=t;return{root:{"--image-radius":void 0===n?void 0:(0,a.getRadius)(n),"--image-object-fit":r}}}),v=(0,c.polymorphicFactory)((e,t)=>{let n=(0,l.useProps)("Image",f,e),{classNames:a,className:i,style:c,styles:v,unstyled:m,vars:h,onError:g,src:y,radius:b,fit:w,fallbackSrc:x,mod:S,...C}=n,[k,E]=(0,o.useState)(!y);(0,o.useEffect)(()=>E(!y),[y]);let j=(0,s.useStyles)({name:"Image",classes:d,props:n,className:i,style:c,classNames:a,styles:v,unstyled:m,vars:h,varsResolver:p});return k&&x?(0,r.jsx)(u.Box,{component:"img",ref:t,src:x,...j("root"),onError:g,mod:["fallback",S],...C}):(0,r.jsx)(u.Box,{component:"img",ref:t,...j("root"),src:y,onError:e=>{null==g||g(e),E(!0)},mod:S,...C})});v.classes=d,v.displayName="@mantine/core/Image"},2156:function(e,t,n){"use strict";n.d(t,{Indicator:function(){return g}});var r=n(57437),o=n(20322);n(2265);var a=n(94120),i=n(15593),l=n(45027),s=n(19955),u=n(58834),c=n(50591),d=n(66969),f=n(31831),p=n(73147),v={root:"m_e5262200",indicator:"m_760d1fb1",processing:"m_885901b1"};let m={position:"top-end",offset:0,inline:!1,withBorder:!1,disabled:!1,processing:!1},h=(0,i.createVarsResolver)((e,t)=>{let{color:n,position:r,offset:i,size:c,radius:d,zIndex:f,autoContrast:p}=t;return{root:{"--indicator-color":n?(0,l.getThemeColor)(n,e):void 0,"--indicator-text-color":(0,u.getAutoContrastValue)(p,e)?(0,s.getContrastColor)({color:n,theme:e}):void 0,"--indicator-size":(0,o.h)(c),"--indicator-radius":void 0===d?void 0:(0,a.getRadius)(d),"--indicator-z-index":null==f?void 0:f.toString(),...function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top-end",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={"--indicator-top":void 0,"--indicator-bottom":void 0,"--indicator-left":void 0,"--indicator-right":void 0,"--indicator-translate-x":void 0,"--indicator-translate-y":void 0},r=(0,o.h)(t),[a,i]=e.split("-");return"top"===a&&(n["--indicator-top"]=r,n["--indicator-translate-y"]="-50%"),"middle"===a&&(n["--indicator-top"]="50%",n["--indicator-translate-y"]="-50%"),"bottom"===a&&(n["--indicator-bottom"]=r,n["--indicator-translate-y"]="50%"),"start"===i&&(n["--indicator-left"]=r,n["--indicator-translate-x"]="-50%"),"center"===i&&(n["--indicator-left"]="50%",n["--indicator-translate-x"]="-50%"),"end"===i&&(n["--indicator-right"]=r,n["--indicator-translate-x"]="50%"),n}(r,i)}}}),g=(0,p.factory)((e,t)=>{let n=(0,c.useProps)("Indicator",m,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:u,children:p,position:g,offset:y,inline:b,label:w,radius:x,color:S,withBorder:C,disabled:k,processing:E,zIndex:j,autoContrast:R,mod:T,...I}=n,_=(0,d.useStyles)({name:"Indicator",classes:v,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,vars:u,varsResolver:h});return(0,r.jsxs)(f.Box,{ref:t,..._("root"),mod:[{inline:b},T],...I,children:[!k&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(f.Box,{mod:{"with-label":!!w,"with-border":C,processing:E},..._("indicator"),children:w})}),p]})});g.classes=v,g.displayName="@mantine/core/Indicator"},28527:function(e,t,n){"use strict";n.d(t,{JsonInput:function(){return f}});var r=n(57437),o=n(2265),a=n(15057),i=n(50591),l=n(73147),s=n(73112),u=n(9399);function c(e,t){if("string"==typeof e&&0===e.trim().length)return!0;try{return t(e),!0}catch(e){return!1}}let d={serialize:JSON.stringify,deserialize:JSON.parse},f=(0,l.factory)((e,t)=>{let{value:n,defaultValue:l,onChange:s,formatOnBlur:f,validationError:p,serialize:v,deserialize:m,onFocus:h,onBlur:g,readOnly:y,error:b,...w}=(0,i.useProps)("JsonInput",d,e),[x,S]=(0,a.useUncontrolled)({value:n,defaultValue:l,finalValue:"",onChange:s}),[C,k]=(0,o.useState)(c(x,m));return(0,r.jsx)(u.Textarea,{value:x,onChange:e=>S(e.currentTarget.value),onFocus:e=>{null==h||h(e),k(!0)},onBlur:e=>{"function"==typeof g&&g(e);let t=c(e.currentTarget.value,m);f&&!y&&t&&""!==e.currentTarget.value.trim()&&S(v(m(e.currentTarget.value),null,2)),k(t)},ref:t,readOnly:y,...w,autoComplete:"off",__staticSelector:"JsonInput",error:C?b:p||!0,"data-monospace":!0})});f.classes=s.InputBase.classes,f.displayName="@mantine/core/JsonInput"},66580:function(e,t,n){"use strict";n.d(t,{Kbd:function(){return p}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(50591),l=n(66969),s=n(31831),u=n(73147),c={root:"m_dc6f14e2"};let d={},f=(0,a.createVarsResolver)((e,t)=>{let{size:n}=t;return{root:{"--kbd-fz":(0,o.getSize)(n,"kbd-fz"),"--kbd-padding":(0,o.getSize)(n,"kbd-padding")}}}),p=(0,u.factory)((e,t)=>{let n=(0,i.useProps)("Kbd",d,e),{classNames:o,className:a,style:u,styles:p,unstyled:v,vars:m,...h}=n,g=(0,l.useStyles)({name:"Kbd",classes:c,props:n,className:a,style:u,classNames:o,styles:p,unstyled:v,vars:m,varsResolver:f});return(0,r.jsx)(s.Box,{component:"kbd",ref:t,...g("root"),...h})});p.classes=c,p.displayName="@mantine/core/Kbd"},5499:function(e,t,n){"use strict";n.d(t,{LoadingOverlay:function(){return g}});var r=n(57437);n(2265);var o=n(33123),a=n(15593),i=n(15274),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d=n(34479),f=n(4179),p=n(93719),v={root:"m_6e45937b",loader:"m_e8eb006c",overlay:"m_df587f17"};let m={transitionProps:{transition:"fade",duration:0},overlayProps:{backgroundOpacity:.75},zIndex:(0,o.getDefaultZIndex)("overlay")},h=(0,a.createVarsResolver)((e,t)=>{let{zIndex:n}=t;return{root:{"--lo-z-index":null==n?void 0:n.toString()}}}),g=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("LoadingOverlay",m,e),{classNames:o,className:a,style:c,styles:g,unstyled:y,vars:b,transitionProps:w,loaderProps:x,overlayProps:S,visible:C,zIndex:k,...E}=n,j=(0,i.useMantineTheme)(),R=(0,s.useStyles)({name:"LoadingOverlay",classes:v,props:n,className:a,style:c,classNames:o,styles:g,unstyled:y,vars:b,varsResolver:h}),T={...m.overlayProps,...S};return(0,r.jsx)(p.Transition,{transition:"fade",...w,mounted:!!C,children:e=>(0,r.jsxs)(u.Box,{...R("root",{style:e}),ref:t,...E,children:[(0,r.jsx)(d.Loader,{...R("loader"),unstyled:y,...x}),(0,r.jsx)(f.Overlay,{...T,...R("overlay"),darkHidden:!0,unstyled:y,color:(null==S?void 0:S.color)||j.white}),(0,r.jsx)(f.Overlay,{...T,...R("overlay"),lightHidden:!0,unstyled:y,color:(null==S?void 0:S.color)||j.colors.dark[5]})]})})});g.classes=v,g.displayName="@mantine/core/LoadingOverlay"},29347:function(e,t,n){"use strict";n.d(t,{Mark:function(){return v}});var r=n(57437);n(2265);var o=n(15593),a=n(50591),i=n(66969),l=n(31831),s=n(73147),u=n(41846);function c(e){let{color:t,theme:n,defaultShade:r}=e,o=(0,u.parseThemeColor)({color:t,theme:n});return o.isThemeColor?void 0===o.shade?"var(--mantine-color-".concat(o.color,"-").concat(r,")"):"var(".concat(o.variable,")"):t}var d={root:"m_bcb3f3c2"};let f={color:"yellow"},p=(0,o.createVarsResolver)((e,t)=>{let{color:n}=t;return{root:{"--mark-bg-dark":c({color:n,theme:e,defaultShade:5}),"--mark-bg-light":c({color:n,theme:e,defaultShade:2})}}}),v=(0,s.factory)((e,t)=>{let n=(0,a.useProps)("Mark",f,e),{classNames:o,className:s,style:u,styles:c,unstyled:v,vars:m,color:h,variant:g,...y}=n,b=(0,i.useStyles)({name:"Mark",props:n,className:s,style:u,classes:d,classNames:o,styles:c,unstyled:v,vars:m,varsResolver:p});return(0,r.jsx)(l.Box,{component:"mark",ref:t,variant:g,...b("root"),...y})});v.classes=d,v.displayName="@mantine/core/Mark"},57334:function(e,t,n){"use strict";n.d(t,{NavLink:function(){return g}});var r=n(57437),o=n(15057);n(2265);var a=n(94120),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(869),d=n(53478),f=n(7662),p=n(30712),v={root:"m_f0824112",description:"m_57492dcc",section:"m_690090b5",label:"m_1f6ac4c4",body:"m_f07af9d2",children:"m_e17b862f",chevron:"m_1fd8a00b"};let m={},h=(0,i.createVarsResolver)((e,t)=>{let{variant:n,color:r,childrenOffset:o,autoContrast:i}=t,l=e.variantColorResolver({color:r||e.primaryColor,theme:e,variant:n||"light",autoContrast:i});return{root:{"--nl-bg":r||n?l.background:void 0,"--nl-hover":r||n?l.hover:void 0,"--nl-color":r||n?l.color:void 0},children:{"--nl-offset":(0,a.getSpacing)(o)}}}),g=(0,c.polymorphicFactory)((e,t)=>{let n=(0,l.useProps)("NavLink",m,e),{classNames:a,className:i,style:c,styles:g,unstyled:y,vars:b,opened:w,defaultOpened:x,onChange:S,children:C,onClick:k,active:E,disabled:j,leftSection:R,rightSection:T,label:I,description:_,disableRightSectionRotation:P,noWrap:M,childrenOffset:A,onKeyDown:D,autoContrast:N,mod:B,...L}=n,V=(0,s.useStyles)({name:"NavLink",props:n,classes:v,className:i,style:c,classNames:a,styles:g,unstyled:y,vars:b,varsResolver:h}),[O,z]=(0,o.useUncontrolled)({value:w,defaultValue:x,finalValue:!1,onChange:S}),F=!!C;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(p.UnstyledButton,{...V("root"),component:"a",ref:t,onClick:e=>{null==k||k(e),F&&(e.preventDefault(),z(!O))},onKeyDown:e=>{null==D||D(e),"Space"===e.nativeEvent.code&&F&&(e.preventDefault(),z(!O))},unstyled:y,mod:[{disabled:j,active:E,expanded:O},B],...L,children:[R&&(0,r.jsx)(u.Box,{component:"span",...V("section"),mod:{position:"left"},children:R}),(0,r.jsxs)(u.Box,{...V("body"),mod:{"no-wrap":M},children:[(0,r.jsx)(u.Box,{component:"span",...V("label"),children:I}),(0,r.jsx)(u.Box,{component:"span",mod:{active:E},...V("description"),children:_})]}),(F||T)&&(0,r.jsx)(u.Box,{...V("section"),component:"span",mod:{rotate:O&&!P,position:"right"},children:F?T||(0,r.jsx)(d.AccordionChevron,{...V("chevron")}):T})]}),(0,r.jsx)(f.Collapse,{in:O,...V("collapse"),children:(0,r.jsx)("div",{...V("children"),children:C})})]})});g.classes=v,g.displayName="@mantine/core/NavLink"},80815:function(e,t,n){"use strict";n.d(t,{Notification:function(){return h}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(45027),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d=n(79445),f=n(34479),p={root:"m_a513464",icon:"m_a4ceffb",loader:"m_b0920b15",body:"m_a49ed24",title:"m_3feedf16",description:"m_3d733a3a",closeButton:"m_919a4d88"};let v={withCloseButton:!0},m=(0,a.createVarsResolver)((e,t)=>{let{radius:n,color:r}=t;return{root:{"--notification-radius":void 0===n?void 0:(0,o.getRadius)(n),"--notification-color":r?(0,i.getThemeColor)(r,e):void 0}}}),h=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("Notification",v,e),{className:o,color:a,radius:i,loading:c,withCloseButton:h,withBorder:g,title:y,icon:b,children:w,onClose:x,closeButtonProps:S,classNames:C,style:k,styles:E,unstyled:j,variant:R,vars:T,mod:I,..._}=n,P=(0,s.useStyles)({name:"Notification",classes:p,props:n,className:o,style:k,classNames:C,styles:E,unstyled:j,vars:T,varsResolver:m});return(0,r.jsxs)(u.Box,{...P("root"),mod:[{"data-with-icon":!!b||c,"data-with-border":g},I],ref:t,variant:R,..._,role:"alert",children:[b&&!c&&(0,r.jsx)("div",{...P("icon"),children:b}),c&&(0,r.jsx)(f.Loader,{size:28,color:a,...P("loader")}),(0,r.jsxs)("div",{...P("body"),children:[y&&(0,r.jsx)("div",{...P("title"),children:y}),(0,r.jsx)(u.Box,{...P("description"),mod:{"data-with-title":!!y},children:w})]}),h&&(0,r.jsx)(d.CloseButton,{iconSize:16,color:"gray",...S,unstyled:j,onClick:x,...P("closeButton")})]})});h.classes=p,h.displayName="@mantine/core/Notification"},47757:function(e,t,n){"use strict";n.d(t,{NumberFormatter:function(){return l}});var r=n(57437),o=n(62665);n(2265);var a=n(50591);let i={};function l(e){let{value:t,defaultValue:n,...l}=(0,a.useProps)("NumberFormatter",i,e);return void 0===t?null:(0,r.jsx)(o.h3,{displayType:"text",value:t,...l})}l.extend=e=>e,l.displayName="@mantine/core/NumberFormatter"},75036:function(e,t,n){"use strict";n.d(t,{NumberInput:function(){return E}});var r=n(57437),o=n(2265),a=n(66877),i=n(62665),l=n(15057),s=n(96236),u=n(79373),c=n(94120),d=n(15593),f=n(63361),p=n(66969),v=n(50591),m=n(73147),h=n(73112),g=n(30712);function y(e){let{direction:t,style:n,...o}=e;return(0,r.jsx)("svg",{style:{width:"var(--ni-chevron-size)",height:"var(--ni-chevron-size)",transform:"up"===t?"rotate(180deg)":void 0,...n},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:(0,r.jsx)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}var b={root:"m_e2f5cd4e",controls:"m_95e17d22",control:"m_80b4b171"};let w=/^-0(\.0*)?$/,x=/^-?0\d+$/;function S(e,t,n){return void 0===e||(void 0===t||e>=t)&&(void 0===n||e<=n)}let C={step:1,clampBehavior:"blur",allowDecimal:!0,allowNegative:!0,withKeyboardEvents:!0,startValue:0},k=(0,d.createVarsResolver)((e,t)=>{let{size:n}=t;return{controls:{"--ni-chevron-size":(0,c.getSize)(n,"ni-chevron-size")}}}),E=(0,m.factory)((e,t)=>{let n=(0,v.useProps)("NumberInput",C,e),{className:c,classNames:d,styles:m,unstyled:E,vars:j,onChange:R,onValueChange:T,value:I,defaultValue:_,max:P,min:M,step:A,hideControls:D,rightSection:N,isAllowed:B,clampBehavior:L,onBlur:V,allowDecimal:O,decimalScale:z,onKeyDown:F,onKeyDownCapture:H,handlersRef:Z,startValue:U,disabled:W,rightSectionPointerEvents:K,allowNegative:q,readOnly:G,size:J,rightSectionWidth:X,stepHoldInterval:Y,stepHoldDelay:$,allowLeadingZeros:Q,withKeyboardEvents:ee,...et}=n,en=(0,p.useStyles)({name:"NumberInput",classes:b,props:n,classNames:d,styles:m,unstyled:E,vars:j,varsResolver:k}),{resolvedClassNames:er,resolvedStyles:eo}=(0,f.useResolvedStylesApi)({classNames:d,styles:m,props:n}),[ea,ei]=(0,l.useUncontrolled)({value:I,defaultValue:_,onChange:R}),el=void 0!==$&&void 0!==Y,es=(0,o.useRef)(null),eu=(0,o.useRef)(null),ec=(0,o.useRef)(0),ed=e=>{let t=String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},ef=e=>{es.current&&void 0!==e&&es.current.setSelectionRange(e,e)},ep=(0,o.useRef)();ep.current=()=>{let e;let t=Math.max(ed(ea),ed(A)),n=10**t;if("number"!=typeof ea||Number.isNaN(ea))e=(0,s.clamp)(U,M,P);else if(void 0!==P){let t=(Math.round(ea*n)+Math.round(A*n))/n;e=t<=P?t:P}else e=(Math.round(ea*n)+Math.round(A*n))/n;let r=e.toFixed(t);ei(parseFloat(r)),null==T||T({floatValue:parseFloat(r),formattedValue:r,value:r},{source:"increment"}),setTimeout(()=>{var e;return ef(null===(e=es.current)||void 0===e?void 0:e.value.length)},0)};let ev=(0,o.useRef)();ev.current=()=>{let e;let t=void 0!==M?M:q?Number.MIN_SAFE_INTEGER:0,n=Math.max(ed(ea),ed(A)),r=10**n;if("number"!=typeof ea||Number.isNaN(ea))e=(0,s.clamp)(U,t,P);else{let n=(Math.round(ea*r)-Math.round(A*r))/r;e=void 0!==t&&n{var e;return ef(null===(e=es.current)||void 0===e?void 0:e.value.length)},0)},(0,u.assignRef)(Z,{increment:ep.current,decrement:ev.current});let em=e=>{e?ep.current():ev.current(),ec.current+=1},eh=e=>{if(em(e),el){let t="number"==typeof Y?Y:Y(ec.current);eu.current=window.setTimeout(()=>eh(e),t)}},eg=(e,t)=>{var n;e.preventDefault(),null===(n=es.current)||void 0===n||n.focus(),em(t),el&&(eu.current=window.setTimeout(()=>eh(t),$))},ey=()=>{eu.current&&window.clearTimeout(eu.current),eu.current=null,ec.current=0},eb=(0,r.jsxs)("div",{...en("controls"),children:[(0,r.jsx)(g.UnstyledButton,{...en("control"),tabIndex:-1,"aria-hidden":!0,disabled:W||"number"==typeof ea&&void 0!==P&&ea>=P,mod:{direction:"up"},onMouseDown:e=>e.preventDefault(),onPointerDown:e=>{eg(e,!0)},onPointerUp:ey,onPointerLeave:ey,children:(0,r.jsx)(y,{direction:"up"})}),(0,r.jsx)(g.UnstyledButton,{...en("control"),tabIndex:-1,"aria-hidden":!0,disabled:W||"number"==typeof ea&&void 0!==M&&ea<=M,mod:{direction:"down"},onMouseDown:e=>e.preventDefault(),onPointerDown:e=>{eg(e,!1)},onPointerUp:ey,onPointerLeave:ey,children:(0,r.jsx)(y,{direction:"down"})})]});return(0,r.jsx)(h.InputBase,{component:i.h3,allowNegative:q,className:(0,a.Z)(b.root,c),size:J,...et,readOnly:G,disabled:W,value:ea,getInputRef:(0,u.useMergedRef)(t,es),onValueChange:(e,t)=>{if("event"===t.source){var n;ei(!(("number"==typeof(n=e.floatValue)?n{null==F||F(e),!G&&ee&&("ArrowUp"===e.key&&(e.preventDefault(),ep.current()),"ArrowDown"===e.key&&(e.preventDefault(),ev.current()))},onKeyDownCapture:e=>{if(null==H||H(e),"Backspace"===e.key){let t=es.current;0===t.selectionStart&&t.selectionStart===t.selectionEnd&&(e.preventDefault(),window.setTimeout(()=>ef(0),0))}},rightSectionPointerEvents:null!=K?K:W?"none":void 0,rightSectionWidth:null!=X?X:"var(--ni-right-section-width-".concat(J||"sm",")"),allowLeadingZeros:Q,onBlur:e=>{null==V||V(e),"blur"===L&&"number"==typeof ea&&(0,s.clamp)(ea,M,P)!==ea&&ei((0,s.clamp)(ea,M,P))},isAllowed:e=>"strict"===L?B?B(e)&&S(e.floatValue,M,P):S(e.floatValue,M,P):!B||B(e)})});E.classes={...h.InputBase.classes,...b},E.displayName="@mantine/core/NumberInput"},75513:function(e,t,n){"use strict";n.d(t,{PasswordInput:function(){return w}});var r=n(57437),o=n(66877),a=n(27011),i=n(15057);n(2265);var l=n(94120),s=n(15593),u=n(63361),c=n(66969),d=n(50591),f=n(17622),p=n(73147),v=n(58323),m=n(64030),h=n(73112),g={root:"m_f61ca620",input:"m_ccf8da4c",innerInput:"m_f2d85dd2",visibilityToggle:"m_b1072d44"};let y={visibilityToggleIcon:e=>{let{reveal:t}=e;return(0,r.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:"var(--psi-icon-size)",height:"var(--psi-icon-size)"},children:(0,r.jsx)("path",{d:t?"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z":"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}},b=(0,s.createVarsResolver)((e,t)=>{let{size:n}=t;return{root:{"--psi-icon-size":(0,l.getSize)(n,"psi-icon-size"),"--psi-button-size":(0,l.getSize)(n,"psi-button-size")}}}),w=(0,p.factory)((e,t)=>{let n=(0,d.useProps)("PasswordInput",y,e),{classNames:l,className:s,style:p,styles:h,unstyled:w,vars:x,required:S,error:C,leftSection:k,disabled:E,id:j,variant:R,inputContainer:T,description:I,label:_,size:P,errorProps:M,descriptionProps:A,labelProps:D,withAsterisk:N,inputWrapperOrder:B,wrapperProps:L,radius:V,rightSection:O,rightSectionWidth:z,rightSectionPointerEvents:F,leftSectionWidth:H,visible:Z,defaultVisible:U,onVisibilityChange:W,visibilityToggleIcon:K,visibilityToggleButtonProps:q,rightSectionProps:G,leftSectionProps:J,leftSectionPointerEvents:X,mod:Y,...$}=n,Q=(0,a.useId)(j),[ee,et]=(0,i.useUncontrolled)({value:Z,defaultValue:U,finalValue:!1,onChange:W}),en=()=>et(!ee),er=(0,c.useStyles)({name:"PasswordInput",classes:g,props:n,className:s,style:p,classNames:l,styles:h,unstyled:w,vars:x,varsResolver:b}),{resolvedClassNames:eo,resolvedStyles:ea}=(0,u.useResolvedStylesApi)({classNames:l,styles:h,props:n}),{styleProps:ei,rest:el}=(0,f.extractStyleProps)($),es=(0,r.jsx)(v.ActionIcon,{...er("visibilityToggle"),disabled:E,radius:V,"aria-hidden":!q,tabIndex:-1,...q,variant:"subtle",color:"gray",unstyled:w,onMouseDown:e=>{var t;e.preventDefault(),null==q||null===(t=q.onMouseDown)||void 0===t||t.call(q,e),en()},onKeyDown:e=>{var t;null==q||null===(t=q.onKeyDown)||void 0===t||t.call(q,e)," "===e.key&&(e.preventDefault(),en())},children:(0,r.jsx)(K,{reveal:ee})});return(0,r.jsx)(m.Input.Wrapper,{required:S,id:Q,label:_,error:C,description:I,size:P,classNames:eo,styles:ea,__staticSelector:"PasswordInput",errorProps:M,descriptionProps:A,unstyled:w,withAsterisk:N,inputWrapperOrder:B,inputContainer:T,variant:R,labelProps:{...D,htmlFor:Q},mod:Y,...er("root"),...ei,...L,children:(0,r.jsx)(m.Input,{component:"div",error:C,leftSection:k,size:P,classNames:{...eo,input:(0,o.Z)(g.input,eo.input)},styles:ea,radius:V,disabled:E,__staticSelector:"PasswordInput",rightSectionWidth:z,rightSection:null!=O?O:es,variant:R,unstyled:w,leftSectionWidth:H,rightSectionPointerEvents:F||"all",rightSectionProps:G,leftSectionProps:J,leftSectionPointerEvents:X,withAria:!1,children:(0,r.jsx)("input",{required:S,"data-invalid":!!C||void 0,"data-with-left-section":!!k||void 0,...er("innerInput"),disabled:E,id:Q,ref:t,...el,autoComplete:el.autoComplete||"off",type:ee?"text":"password"})})})});w.classes={...h.InputBase.classes,...g},w.displayName="@mantine/core/PasswordInput"},5262:function(e,t,n){"use strict";n.d(t,{PinInput:function(){return S}});var r=n(57437),o=n(2265),a=n(27011),i=n(15057),l=n(79373),s=n(94120),u=n(15593),c=n(63361),d=n(66969),f=n(50591),p=n(73147),v=n(86608),m=n(64030),h=n(73112);function g(e,t){if(e<1)return[];let n=Array(e).fill("");if(t){let r=t.trim().split("");for(let t=0;t{let{size:n}=t;return{root:{"--pin-input-size":(0,s.getSize)(null!=n?n:w.size,"pin-input-size")}}}),S=(0,p.factory)((e,t)=>{let{name:n,form:s,className:u,value:p,defaultValue:h,variant:S,gap:C,style:k,size:E,classNames:j,styles:R,unstyled:T,length:I,onChange:_,onComplete:P,manageFocus:M,autoFocus:A,error:D,radius:N,disabled:B,oneTimeCode:L,placeholder:V,type:O,mask:z,readOnly:F,inputType:H,inputMode:Z,ariaLabel:U,vars:W,id:K,hiddenInputProps:q,rootRef:G,...J}=(0,f.useProps)("PinInput",w,e),X=(0,a.useId)(K),Y=(0,d.useStyles)({name:"PinInput",classes:y,props:e,className:u,style:k,classNames:j,styles:R,unstyled:T,vars:W,varsResolver:x}),{resolvedClassNames:$,resolvedStyles:Q}=(0,c.useResolvedStylesApi)({classNames:j,styles:R,props:e}),[ee,et]=(0,o.useState)(-1),[en,er]=(0,i.useUncontrolled)({value:p?g(null!=I?I:0,p):void 0,defaultValue:null==h?void 0:h.split("").slice(0,null!=I?I:0),finalValue:g(null!=I?I:0,""),onChange:"function"==typeof _?e=>{_(e.join("").trim())}:void 0}),eo=en.join("").trim(),ea=(0,o.useRef)([]),ei=e=>{let t=O instanceof RegExp?O:O&&O in b?b[O]:null;return null==t?void 0:t.test(e)},el=(e,t,n)=>{if(!M){null==n||n.preventDefault();return}if("next"===e){let e=t+1;e<(null!=I?I:0)&&(null==n||n.preventDefault(),ea.current[e].focus())}if("prev"===e){let e=t-1;e>-1&&(null==n||n.preventDefault(),ea.current[e].focus())}},es=(e,t)=>{let n=[...en];n[t]=e,er(n)},eu=(e,t)=>{let n=e.target.value,r=2===n.length?n.split("")[n.length-1]:n,o=ei(r);r.length<2?o?(es(r,t),el("next",t)):es("",t):o&&er(g(null!=I?I:0,n))},ec=(e,t)=>{let{ctrlKey:n,metaKey:r,key:o,shiftKey:a,target:i}=e,l=i.value;"numeric"!==Z||"Backspace"===o||"Tab"===o||"Control"===o||"Delete"===o||n&&"v"===o||r&&"v"===o||!Number.isNaN(Number(o))||e.preventDefault(),"ArrowLeft"===o||a&&"Tab"===o?el("prev",t,e):"ArrowRight"===o||"Tab"===o||" "===o?el("next",t,e):"Delete"===o?es("",t):"Backspace"===o?(es("",t),I===t+1?""===e.target.value&&el("prev",t,e):el("prev",t,e)):l.length>0&&o===en[t]&&el("next",t,e)},ed=(e,t)=>{e.target.select(),et(t)},ef=()=>{et(-1)},ep=e=>{e.preventDefault();let t=e.clipboardData.getData("text/plain").replace(/[\n\r\s]+/g,"");if(ei(t.trim())){let e=g(null!=I?I:0,t);er(e),el("next",e.length-2)}};return(0,o.useEffect)(()=>{eo.length===I&&(null==P||P(eo))},[I,eo]),(0,o.useEffect)(()=>{I!==en.length&&er(g(null!=I?I:0,en.join("")))},[I,en]),(0,o.useEffect)(()=>{""===p&&er(g(null!=I?I:0,p))},[p]),(0,o.useEffect)(()=>{B&&et(-1)},[B]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v.Group,{...J,...Y("root"),ref:G,role:"group",id:X,gap:C,unstyled:T,wrap:"nowrap",variant:S,__size:E,children:en.map((e,n)=>(0,o.createElement)(m.Input,{component:"input",...Y("pinInput",{style:{"--input-padding":"0","--input-text-align":"center"}}),classNames:$,styles:Q,size:E,__staticSelector:"PinInput",id:"".concat(X,"-").concat(n+1),key:"".concat(X,"-").concat(n),inputMode:Z||("number"===O?"numeric":"text"),onChange:e=>eu(e,n),onKeyDown:e=>ec(e,n),onFocus:e=>ed(e,n),onBlur:ef,onPaste:ep,type:H||(z?"password":"number"===O?"tel":"text"),radius:N,error:D,variant:S,disabled:B,ref:e=>{0===n&&(0,l.assignRef)(t,e),ea.current[n]=e},autoComplete:L?"one-time-code":"off",placeholder:ee===n?"":V,value:e,autoFocus:A&&0===n,unstyled:T,"aria-label":U,readOnly:F}))}),(0,r.jsx)("input",{type:"hidden",name:n,form:s,value:eo,...q})]})});S.classes={...y,...h.InputBase.classes},S.displayName="@mantine/core/PinInput"},6094:function(e,t,n){"use strict";n.d(t,{p:function(){return a},w:function(){return o}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("Progress.Root component was not found in tree")},55966:function(e,t,n){"use strict";n.d(t,{Progress:function(){return f}});var r=n(57437);n(2265);var o=n(63361),a=n(50591),i=n(73147),l=n(82357),s=n(9177),u=n(1853),c=n(82708);let d={},f=(0,i.factory)((e,t)=>{let n=(0,a.useProps)("Progress",d,e),{value:i,classNames:l,styles:c,vars:f,color:p,striped:v,animated:m,"aria-label":h,...g}=n,{resolvedClassNames:y,resolvedStyles:b}=(0,o.useResolvedStylesApi)({classNames:l,styles:c,props:n});return(0,r.jsx)(s.ProgressRoot,{ref:t,classNames:y,styles:b,vars:f,...g,children:(0,r.jsx)(u.ProgressSection,{value:i,color:p,striped:v,animated:m,"aria-label":h})})});f.classes=c.Z,f.displayName="@mantine/core/Progress",f.Section=u.ProgressSection,f.Root=s.ProgressRoot,f.Label=l.ProgressLabel},82708:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_db6d6462",section:"m_2242eb65","stripes-animation":"m_81a374bd",label:"m_91e40b74"}},82357:function(e,t,n){"use strict";n.d(t,{ProgressLabel:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147),l=n(6094),s=n(82708);let u={},c=(0,i.factory)((e,t)=>{let{classNames:n,className:i,style:s,styles:c,vars:d,...f}=(0,o.useProps)("ProgressLabel",u,e),p=(0,l.p)();return(0,r.jsx)(a.Box,{ref:t,...p.getStyles("label",{className:i,style:s,classNames:n,styles:c}),...f})});c.classes=s.Z,c.displayName="@mantine/core/ProgressLabel"},9177:function(e,t,n){"use strict";n.d(t,{ProgressRoot:function(){return v}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(50591),l=n(66969),s=n(31831),u=n(73147),c=n(6094),d=n(82708);let f={},p=(0,a.createVarsResolver)((e,t)=>{let{size:n,radius:r,transitionDuration:a}=t;return{root:{"--progress-size":(0,o.getSize)(n,"progress-size"),"--progress-radius":void 0===r?void 0:(0,o.getRadius)(r),"--progress-transition-duration":"number"==typeof a?"".concat(a,"ms"):void 0}}}),v=(0,u.factory)((e,t)=>{let n=(0,i.useProps)("ProgressRoot",f,e),{classNames:o,className:a,style:u,styles:v,unstyled:m,vars:h,autoContrast:g,transitionDuration:y,...b}=n,w=(0,l.useStyles)({name:"Progress",classes:d.Z,props:n,className:a,style:u,classNames:o,styles:v,unstyled:m,vars:h,varsResolver:p});return(0,r.jsx)(c.w,{value:{getStyles:w,autoContrast:g},children:(0,r.jsx)(s.Box,{ref:t,...w("root"),...b})})});v.classes=d.Z,v.displayName="@mantine/core/ProgressRoot"},1853:function(e,t,n){"use strict";n.d(t,{ProgressSection:function(){return v}});var r=n(57437);n(2265);var o=n(45027),a=n(19955),i=n(58834),l=n(15274),s=n(50591),u=n(31831),c=n(73147),d=n(6094),f=n(82708);let p={withAria:!0},v=(0,c.factory)((e,t)=>{let{classNames:n,className:c,style:f,styles:v,vars:m,value:h,withAria:g,color:y,striped:b,animated:w,mod:x,...S}=(0,s.useProps)("ProgressSection",p,e),C=(0,d.p)(),k=(0,l.useMantineTheme)();return(0,r.jsx)(u.Box,{ref:t,...C.getStyles("section",{className:c,classNames:n,styles:v,style:f}),...S,...g?{role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":h,"aria-valuetext":"".concat(h,"%")}:{},mod:[{striped:b||w,animated:w},x],__vars:{"--progress-section-width":"".concat(h,"%"),"--progress-section-color":(0,o.getThemeColor)(y,k),"--progress-label-color":(0,i.getAutoContrastValue)(C.autoContrast,k)?(0,a.getContrastColor)({color:y,theme:k}):void 0}})});v.classes=f.Z,v.displayName="@mantine/core/ProgressSection"},40665:function(e,t,n){"use strict";n.d(t,{Rating:function(){return j}});var r=n(57437),o=n(2265),a=n(27011),i=n(15057),l=n(96236),s=n(79373),u=n(94120),c=n(15593),d=n(45027),f=n(50591),p=n(66969),v=n(31831),m=n(73147),h=n(24895);let[g,y]=(0,n(1122).createSafeContext)("Rating was not found in tree");function b(e){let{width:t,height:n,style:o,...a}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:t,height:n,...o},...a,children:(0,r.jsx)("path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"})})}function w(e){let{type:t}=e,n=y();return(0,r.jsx)(b,{...n.getStyles("starSymbol"),"data-filled":"full"===t||void 0})}function x(e){var t;let{getSymbolLabel:n,emptyIcon:o,fullIcon:a,full:i,active:l,value:s,readOnly:u,fractionValue:c,color:d,id:f,onBlur:p,onChange:m,onInputChange:g,style:b,...x}=e,S=y(),C="function"==typeof a?a(s):a,k="function"==typeof o?o(s):o,{dir:E}=(0,h.useDirection)();return(0,r.jsxs)(r.Fragment,{children:[!u&&(0,r.jsx)("input",{...S.getStyles("input"),onKeyDown:e=>" "===e.key&&m(s),id:f,type:"radio","data-active":l||void 0,"aria-label":null==n?void 0:n(s),value:s,onBlur:p,onChange:g,...x}),(0,r.jsx)(v.Box,{component:u?"div":"label",...S.getStyles("label"),"data-read-only":u||void 0,htmlFor:f,onClick:()=>m(s),__vars:{"--rating-item-z-index":null===(t=1===c?void 0:l?2:0)||void 0===t?void 0:t.toString()},children:(0,r.jsx)(v.Box,{...S.getStyles("symbolBody"),__vars:{"--rating-symbol-clip-path":1===c?void 0:"ltr"===E?"inset(0 ".concat(l?100-100*c:100,"% 0 0)"):"inset(0 0 0 ".concat(l?100-100*c:100,"% )")},children:i?C||(0,r.jsx)(w,{type:"full"}):k||(0,r.jsx)(w,{type:"empty"})})})]})}b.displayName="@mantine/core/StarIcon",w.displayName="@mantine/core/StarSymbol",x.displayName="@mantine/core/RatingItem";var S={root:"m_f8d312f2",symbolGroup:"m_61734bb7",starSymbol:"m_5662a89a",input:"m_211007ba",label:"m_21342ee4",symbolBody:"m_fae05d6a"};function C(e,t){var n;let r=(null===(n="".concat(t).split(".")[1])||void 0===n?void 0:n.length)||0;return Number((Math.round(e/t)*t).toFixed(r))}let k={size:"sm",getSymbolLabel:e=>"".concat(e),count:5,fractions:1,color:"yellow"},E=(0,c.createVarsResolver)((e,t)=>{let{size:n,color:r}=t;return{root:{"--rating-size":(0,u.getSize)(n,"rating-size"),"--rating-color":(0,d.getThemeColor)(r,e)}}}),j=(0,m.factory)((e,t)=>{let n=(0,f.useProps)("Rating",k,e),{classNames:u,className:c,style:d,styles:m,unstyled:y,vars:b,name:w,id:j,value:R,defaultValue:T,onChange:I,fractions:_,count:P,onMouseEnter:M,readOnly:A,onMouseMove:D,onHover:N,onMouseLeave:B,onTouchStart:L,onTouchEnd:V,size:O,variant:z,getSymbolLabel:F,color:H,emptySymbol:Z,fullSymbol:U,highlightSelectedOnly:W,...K}=n,q=(0,p.useStyles)({name:"Rating",classes:S,props:n,className:c,style:d,classNames:u,styles:m,unstyled:y,vars:b,varsResolver:E}),{dir:G}=(0,h.useDirection)(),J=(0,a.useId)(w),X=(0,a.useId)(j),Y=(0,o.useRef)(null),[$,Q]=(0,i.useUncontrolled)({value:R,defaultValue:T,finalValue:0,onChange:I}),[ee,et]=(0,o.useState)(-1),[en,er]=(0,o.useState)(!0),eo=Math.floor(_),ea=Math.floor(P),ei=1/eo,el=C($,ei),es=-1!==ee?ee:el,eu=e=>{let{left:t,right:n,width:r}=Y.current.getBoundingClientRect(),o=r/ea;return(0,l.clamp)(C(("rtl"===G?n-e:e-t)/o+ei/2,ei),ei,ea)},ec=()=>en&&et(-1),ed=e=>{A||("number"==typeof e?et(e):et(parseFloat(e.target.value)))},ef=e=>{A||("number"==typeof e?Q(e):Q(parseFloat(e.target.value)))},ep=Array(ea).fill(0).map((e,t)=>{let n=t+1,o=Array.from(Array(0===t?eo+1:eo)),a=!A&&Math.ceil(ee)===n;return(0,r.jsx)("div",{"data-active":a||void 0,...q("symbolGroup"),children:o.map((e,o)=>{let a=ei*(0===t?o:o+1),i=C(n-1+a,ei);return(0,r.jsx)(x,{getSymbolLabel:F,emptyIcon:Z,fullIcon:U,full:W?i===es:i<=es,active:i===es,checked:i===el,readOnly:A,fractionValue:a,value:i,name:J,onChange:ef,onBlur:ec,onInputChange:ed,id:"".concat(X,"-").concat(t,"-").concat(o)},"".concat(n,"-").concat(i))})},n)});return(0,r.jsx)(g,{value:{getStyles:q},children:(0,r.jsx)(v.Box,{ref:(0,s.useMergedRef)(Y,t),...q("root"),onMouseMove:e=>{if(null==D||D(e),A)return;let t=eu(e.clientX);et(t),t!==ee&&(null==N||N(t))},onMouseEnter:e=>{null==M||M(e),A||er(!1)},onMouseLeave:e=>{null==B||B(e),A||(et(-1),er(!0),-1!==ee&&(null==N||N(-1)))},onTouchStart:e=>{let{touches:t}=e;1===t.length&&(A||Q(eu(t[0].clientX)),null==L||L(e))},onTouchEnd:e=>{e.preventDefault(),null==V||V(e)},variant:z,size:O,id:X,...K,children:ep})})});j.classes=S,j.displayName="@mantine/core/Rating"},62364:function(e,t,n){"use strict";n.d(t,{RingProgress:function(){return y}});var r=n(57437),o=n(2265),a=n(20322),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d=n(45027),f=n(15274),p=n(6746);function v(e){let{size:t,value:n,offset:o,sum:a,thickness:i,root:l,color:s,lineRoundCaps:c,tooltip:v,getStyles:m,display:h,...g}=e,y=(0,f.useMantineTheme)();return(0,r.jsx)(p.Tooltip.Floating,{disabled:!v,label:v,children:(0,r.jsx)(u.Box,{component:"circle",...g,...m("curve"),__vars:{"--curve-color":s?(0,d.getThemeColor)(s,y):void 0},fill:"none",strokeLinecap:c?"round":"butt",...function(e){let{size:t,thickness:n,sum:r,value:o,root:a,offset:i}=e,l=(.9*t-2*n)/2,s=Math.PI*l*2/100,u=a||void 0===o?"".concat((100-r)*s,", ").concat(r*s):"".concat(o*s,", ").concat((100-o)*s);return{strokeWidth:Number.isNaN(n)?12:n,cx:t/2||0,cy:t/2||0,r:l||0,transform:a?"scale(1, -1) translate(0, -".concat(t,")"):void 0,strokeDasharray:u,strokeDashoffset:a?0:i||0}}({sum:a,size:t,thickness:i,value:n,offset:o,root:l})})})}v.displayName="@mantine/core/Curve";var m={root:"m_b32e4812",svg:"m_d43b5134",curve:"m_b1ca1fbf",label:"m_b23f9dc4"};let h={size:120,thickness:12},g=(0,i.createVarsResolver)((e,t)=>{let{size:n,thickness:r}=t;return{root:{"--rp-size":(0,a.h)(n),"--rp-label-offset":(0,a.h)(2*r)}}}),y=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("RingProgress",h,e),{classNames:a,className:i,style:c,styles:d,unstyled:f,vars:p,label:y,sections:b,size:w,thickness:x,roundCaps:S,rootColor:C,...k}=n,E=(0,s.useStyles)({name:"RingProgress",classes:m,props:n,className:i,style:c,classNames:a,styles:d,unstyled:f,vars:p,varsResolver:g}),j=Math.min(x||12,(w||120)/4),R=(function(e){let{size:t,thickness:n,sections:r,renderRoundedLineCaps:o,rootColor:a}=e,i=r.reduce((e,t)=>e+t.value,0),l=(.9*t-2*n)/2*Math.PI*2,s=l,u=[],c=[];for(let e=0;e2){c.push({...u[0],lineRoundCaps:o}),c.push({...u[u.length-2],lineRoundCaps:o});for(let e=1;e<=u.length-3;e+=1)c.push({...u[e],lineRoundCaps:!1})}else c.push({...u[0],lineRoundCaps:o});return c})({size:w,thickness:j,sections:b,renderRoundedLineCaps:S,rootColor:C}).map((e,t)=>{let{data:n,sum:r,root:a,lineRoundCaps:i,offset:l}=e;return(0,o.createElement)(v,{...n,key:t,size:w,thickness:j,sum:r,offset:l,color:null==n?void 0:n.color,root:a,lineRoundCaps:i,getStyles:E})});return(0,r.jsxs)(u.Box,{...E("root"),size:w,ref:t,...k,children:[(0,r.jsx)("svg",{...E("svg"),children:R}),y&&(0,r.jsx)("div",{...E("label"),children:y})]})});y.classes=m,y.displayName="@mantine/core/RingProgress"},48234:function(e,t,n){"use strict";n.d(t,{SegmentedControl:function(){return S}});var r=n(57437),o=n(2265),a=n(31601),i=n(15057),l=n(27011),s=n(79373),u=n(94120),c=n(15593),d=n(45027),f=n(19955),p=n(15274),v=n(50591),m=n(66969),h=n(31831),g=n(73147),y=n(43506),b={root:"m_cf365364",indicator:"m_9e182ccd",label:"m_1738fcb2",input:"m_1714d588",control:"m_69686b9b",innerLabel:"m_78882f40"};let w={withItemsBorders:!0},x=(0,c.createVarsResolver)((e,t)=>{let{radius:n,color:r,transitionDuration:o,size:a,transitionTimingFunction:i}=t;return{root:{"--sc-radius":void 0===n?void 0:(0,u.getRadius)(n),"--sc-color":r?(0,d.getThemeColor)(r,e):void 0,"--sc-shadow":r?void 0:"var(--mantine-shadow-xs)","--sc-transition-duration":void 0===o?void 0:"".concat(o,"ms"),"--sc-transition-timing-function":i,"--sc-padding":(0,u.getSize)(a,"sc-padding"),"--sc-font-size":(0,u.getFontSize)(a)}}}),S=(0,g.factory)((e,t)=>{var n,u,c,d;let g=(0,v.useProps)("SegmentedControl",w,e),{classNames:S,className:C,style:k,styles:E,unstyled:j,vars:R,data:T,value:I,defaultValue:_,onChange:P,size:M,name:A,disabled:D,readOnly:N,fullWidth:B,orientation:L,radius:V,color:O,transitionDuration:z,transitionTimingFunction:F,variant:H,autoContrast:Z,withItemsBorders:U,mod:W,...K}=g,q=(0,m.useStyles)({name:"SegmentedControl",props:g,classes:b,className:C,style:k,classNames:S,styles:E,unstyled:j,vars:R,varsResolver:x}),G=(0,p.useMantineTheme)(),J=T.map(e=>"string"==typeof e?{label:e,value:e}:e),X=(0,a.useMounted)(),[Y,$]=(0,o.useState)(null),[Q,ee]=(0,o.useState)({}),et=(e,t)=>{Q[t]=e,ee(Q)},[en,er]=(0,i.useUncontrolled)({value:I,defaultValue:_,finalValue:Array.isArray(T)&&null!==(d=null!==(c=null===(n=J.find(e=>!e.disabled))||void 0===n?void 0:n.value)&&void 0!==c?c:null===(u=T[0])||void 0===u?void 0:u.value)&&void 0!==d?d:null,onChange:P}),eo=(0,l.useId)(A),ea=J.map(e=>(0,o.createElement)(h.Box,{...q("control"),mod:{active:en===e.value,orientation:L},key:e.value},(0,r.jsx)("input",{...q("input"),disabled:D||e.disabled,type:"radio",name:eo,value:e.value,id:"".concat(eo,"-").concat(e.value),checked:en===e.value,onChange:()=>!N&&er(e.value),"data-focus-ring":G.focusRing}),(0,r.jsx)(h.Box,{component:"label",...q("label"),mod:{active:en===e.value&&!(D||e.disabled),disabled:D||e.disabled,"read-only":N},htmlFor:"".concat(eo,"-").concat(e.value),ref:t=>et(t,e.value),__vars:{"--sc-label-color":void 0!==O?(0,f.getContrastColor)({color:O,theme:G,autoContrast:Z}):void 0},children:(0,r.jsx)("span",{...q("innerLabel"),children:e.label})}))),ei=(0,s.useMergedRef)(t,e=>$(e));return 0===T.length?null:(0,r.jsxs)(h.Box,{...q("root"),variant:H,size:M,ref:ei,mod:[{"full-width":B,orientation:L,initialized:X,"with-items-borders":U},W],...K,role:"radiogroup",children:["string"==typeof en&&(0,r.jsx)(y.FloatingIndicator,{target:Q[en],parent:Y,component:"span",transitionDuration:"var(--sc-transition-duration)",...q("indicator")}),ea]})});S.classes=b,S.displayName="@mantine/core/SegmentedControl"},56048:function(e,t,n){"use strict";n.d(t,{Select:function(){return g}});var r=n(57437),o=n(2265),a=n(27011),i=n(15057),l=n(63361),s=n(50591),u=n(73147),c=n(4457),d=n(74432),f=n(71440),p=n(31310),v=n(69165),m=n(73112);let h={searchable:!1,withCheckIcon:!0,allowDeselect:!0,checkIconPosition:"left"},g=(0,u.factory)((e,t)=>{let n=(0,s.useProps)("Select",h,e),{classNames:u,styles:g,unstyled:y,vars:b,dropdownOpened:w,defaultDropdownOpened:x,onDropdownClose:S,onDropdownOpen:C,onFocus:k,onBlur:E,onClick:j,onChange:R,data:T,value:I,defaultValue:_,selectFirstOptionOnChange:P,onOptionSubmit:M,comboboxProps:A,readOnly:D,disabled:N,filter:B,limit:L,withScrollArea:V,maxDropdownHeight:O,size:z,searchable:F,rightSection:H,checkIconPosition:Z,withCheckIcon:U,nothingFoundMessage:W,name:K,form:q,searchValue:G,defaultSearchValue:J,onSearchChange:X,allowDeselect:Y,error:$,rightSectionPointerEvents:Q,id:ee,clearable:et,clearButtonProps:en,hiddenInputProps:er,renderOption:eo,onClear:ea,autoComplete:ei,scrollAreaProps:el,...es}=n,eu=(0,o.useMemo)(()=>(0,c.getParsedComboboxData)(T),[T]),ec=(0,o.useMemo)(()=>(0,d.getOptionsLockup)(eu),[eu]),ed=(0,a.useId)(ee),[ef,ep,ev]=(0,i.useUncontrolled)({value:I,defaultValue:_,finalValue:null,onChange:R}),em="string"==typeof ef?ec[ef]:void 0,[eh,eg]=(0,i.useUncontrolled)({value:G,defaultValue:J,finalValue:em?em.label:"",onChange:X}),ey=(0,v.useCombobox)({opened:w,defaultOpened:x,onDropdownOpen:()=>{null==C||C(),ey.updateSelectedOptionIndex("active",{scrollIntoView:!0})},onDropdownClose:()=>{null==S||S(),ey.resetSelectedOption()}}),{resolvedClassNames:eb,resolvedStyles:ew}=(0,l.useResolvedStylesApi)({props:n,styles:g,classNames:u});(0,o.useEffect)(()=>{P&&ey.selectFirstOption()},[P,ef]),(0,o.useEffect)(()=>{null===I&&eg(""),"string"==typeof I&&em&&eg(em.label)},[I,em]);let ex=et&&!!ef&&!N&&!D&&(0,r.jsx)(f.Combobox.ClearButton,{size:z,...en,onClear:()=>{ep(null,null),eg(""),null==ea||ea()}});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(f.Combobox,{store:ey,__staticSelector:"Select",classNames:eb,styles:ew,unstyled:y,readOnly:D,onOptionSubmit:e=>{null==M||M(e);let t=Y&&ec[e].value===ef?null:ec[e],n=t?t.value:null;ep(n,t),ev||eg("string"==typeof n&&(null==t?void 0:t.label)||""),ey.closeDropdown()},size:z,...A,children:[(0,r.jsx)(f.Combobox.Target,{targetType:F?"input":"button",autoComplete:ei,children:(0,r.jsx)(m.InputBase,{id:ed,ref:t,rightSection:H||ex||(0,r.jsx)(f.Combobox.Chevron,{size:z,error:$,unstyled:y}),rightSectionPointerEvents:Q||(ex?"all":"none"),...es,size:z,__staticSelector:"Select",disabled:N,readOnly:D||!F,value:eh,onChange:e=>{eg(e.currentTarget.value),ey.openDropdown(),P&&ey.selectFirstOption()},onFocus:e=>{F&&ey.openDropdown(),null==k||k(e)},onBlur:e=>{var t;F&&ey.closeDropdown(),eg(null!=ef&&(null===(t=ec[ef])||void 0===t?void 0:t.label)||""),null==E||E(e)},onClick:e=>{F?ey.openDropdown():ey.toggleDropdown(),null==j||j(e)},classNames:eb,styles:ew,unstyled:y,pointer:!F,error:$})}),(0,r.jsx)(p.OptionsDropdown,{data:eu,hidden:D||N,filter:B,search:eh,limit:L,hiddenWhenEmpty:!F||!W,withScrollArea:V,maxDropdownHeight:O,filterOptions:F&&(null==em?void 0:em.label)!==eh,value:ef,checkIconPosition:Z,withCheckIcon:U,nothingFoundMessage:W,unstyled:y,labelId:es.label?"".concat(ed,"-label"):void 0,"aria-label":es.label?void 0:es["aria-label"],renderOption:eo,scrollAreaProps:el})]}),(0,r.jsx)(f.Combobox.HiddenInput,{value:ef,name:K,form:q,disabled:N,...er})]})});g.classes={...m.InputBase.classes,...f.Combobox.classes},g.displayName="@mantine/core/Select"},22637:function(e,t,n){"use strict";n.d(t,{SimpleGrid:function(){return b}});var r=n(57437);n(2265);var o=n(50591),a=n(66969),i=n(54803),l=n(31831),s=n(73147),u=n(29481),c=n(20686),d=n(94120),f=n(1760),p=n(50848),v=n(15274),m=n(41217);function h(e){var t;let{spacing:n,verticalSpacing:o,cols:a,selector:i}=e,l=(0,v.useMantineTheme)(),s=void 0===o?n:o,h=(0,c.filterProps)({"--sg-spacing-x":(0,d.getSpacing)((0,p.getBaseValue)(n)),"--sg-spacing-y":(0,d.getSpacing)((0,p.getBaseValue)(s)),"--sg-cols":null===(t=(0,p.getBaseValue)(a))||void 0===t?void 0:t.toString()}),g=(0,u.keys)(l.breakpoints).reduce((e,t)=>(e[t]||(e[t]={}),"object"==typeof n&&void 0!==n[t]&&(e[t]["--sg-spacing-x"]=(0,d.getSpacing)(n[t])),"object"==typeof s&&void 0!==s[t]&&(e[t]["--sg-spacing-y"]=(0,d.getSpacing)(s[t])),"object"==typeof a&&void 0!==a[t]&&(e[t]["--sg-cols"]=a[t]),e),{}),y=(0,f.getSortedBreakpoints)((0,u.keys)(g),l).filter(e=>(0,u.keys)(g[e.value]).length>0).map(e=>({query:"(min-width: ".concat(l.breakpoints[e.value],")"),styles:g[e.value]}));return(0,r.jsx)(m.InlineStyles,{styles:h,media:y,selector:i})}var g={root:"m_2415a157"};let y={cols:1,spacing:"md"},b=(0,s.factory)((e,t)=>{let n=(0,o.useProps)("SimpleGrid",y,e),{classNames:s,className:u,style:c,styles:d,unstyled:f,vars:p,cols:v,verticalSpacing:m,spacing:b,...w}=n,x=(0,a.useStyles)({name:"SimpleGrid",classes:g,props:n,className:u,style:c,classNames:s,styles:d,unstyled:f,vars:p}),S=(0,i.useRandomClassName)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h,{...n,selector:".".concat(S)}),(0,r.jsx)(l.Box,{ref:t,...x("root",{className:S}),...w})]})});b.classes=g,b.displayName="@mantine/core/SimpleGrid"},45123:function(e,t,n){"use strict";n.d(t,{Skeleton:function(){return v}});var r=n(57437),o=n(20322);n(2265);var a=n(94120),i=n(15593),l=n(50591),s=n(66969),u=n(31831),c=n(73147),d={root:"m_18320242","skeleton-fade":"m_299c329c"};let f={visible:!0,animate:!0},p=(0,i.createVarsResolver)((e,t)=>{let{width:n,height:r,radius:i,circle:l}=t;return{root:{"--skeleton-height":(0,o.h)(r),"--skeleton-width":l?(0,o.h)(r):(0,o.h)(n),"--skeleton-radius":l?"1000px":void 0===i?void 0:(0,a.getRadius)(i)}}}),v=(0,c.factory)((e,t)=>{let n=(0,l.useProps)("Skeleton",f,e),{classNames:o,className:a,style:i,styles:c,unstyled:v,vars:m,width:h,height:g,circle:y,visible:b,radius:w,animate:x,mod:S,...C}=n,k=(0,s.useStyles)({name:"Skeleton",classes:d,props:n,className:a,style:i,classNames:o,styles:c,unstyled:v,vars:m,varsResolver:p});return(0,r.jsx)(u.Box,{ref:t,...k("root"),mod:[{visible:b,animate:x},S],...C})});v.classes=d,v.displayName="@mantine/core/Skeleton"},93564:function(e,t,n){"use strict";n.d(t,{RangeSlider:function(){return j}});var r=n(57437),o=n(2265),a=n(15057),i=n(46706),l=n(20322),s=n(94120),u=n(15593),c=n(45027),d=n(50591),f=n(66969),p=n(73147),v=n(24895),m=n(753),h=n(66542),g=n(23992),y=n(45193),b=n(20698),w=n(56325),x=n(94642),S=n(95208),C=n(19842);let k=(0,u.createVarsResolver)((e,t)=>{let{size:n,color:r,thumbSize:o,radius:a}=t;return{root:{"--slider-size":(0,s.getSize)(n,"slider-size"),"--slider-color":r?(0,c.getThemeColor)(r,e):void 0,"--slider-radius":void 0===a?void 0:(0,s.getRadius)(a),"--slider-thumb-size":void 0!==o?(0,l.h)(o):"calc(var(--slider-size) * 2)"}}}),E={min:0,max:100,minRange:10,step:1,marks:[],label:e=>e,labelTransitionProps:{transition:"fade",duration:0},labelAlwaysOn:!1,showLabelOnHover:!0,disabled:!1,scale:e=>e},j=(0,p.factory)((e,t)=>{let n=(0,d.useProps)("RangeSlider",E,e),{classNames:l,styles:s,value:u,onChange:c,onChangeEnd:p,size:j,min:R,max:T,minRange:I,maxRange:_,step:P,precision:M,defaultValue:A,name:D,marks:N,label:B,labelTransitionProps:L,labelAlwaysOn:V,thumbFromLabel:O,thumbToLabel:z,showLabelOnHover:F,thumbChildren:H,disabled:Z,unstyled:U,scale:W,inverted:K,className:q,style:G,vars:J,hiddenInputProps:X,...Y}=n,$=(0,f.useStyles)({name:"Slider",props:n,classes:C.Z,classNames:l,className:q,styles:s,style:G,vars:J,varsResolver:k,unstyled:U}),{dir:Q}=(0,v.useDirection)(),[ee,et]=(0,o.useState)(-1),[en,er]=(0,o.useState)(!1),[eo,ea]=(0,a.useUncontrolled)({value:u,defaultValue:A,finalValue:[R,T],onChange:c}),ei=(0,o.useRef)(eo),el=(0,o.useRef)([]),es=(0,o.useRef)(void 0),eu=[(0,x.b)({value:eo[0],min:R,max:T}),(0,x.b)({value:eo[1],min:R,max:T})],ec=null!=M?M:(0,S.p)(P),ed=e=>{ea(e),ei.current=e};(0,o.useEffect)(()=>{Array.isArray(u)&&(ei.current=u)},Array.isArray(u)?[u[0],u[1]]:[null,null]);let ef=(e,t,n)=>{let r=[...ei.current];r[t]=e,0===t&&(e>r[1]-(I-1e-9)&&(r[1]=Math.min(e+I,T)),e>(T-(I-1e-9)||R)&&(r[t]=ei.current[t]),r[1]-e>_&&(r[1]=e+_)),1===t&&(e_&&(r[0]=e-_)),r[0]=(0,w.J)(r[0],ec),r[1]=(0,w.J)(r[1],ec),ed(r),n&&(null==p||p(ei.current))},ep=e=>{Z||ef((0,b.i)({value:e,min:R,max:T,step:P,precision:ec}),es.current,!1)},{ref:ev,active:em}=(0,i.useMove)(e=>{let{x:t}=e;return ep(t)},{onScrubEnd:()=>null==p?void 0:p(ei.current)},Q),eh=e=>{var t;ev.current.focus();let n=ev.current.getBoundingClientRect(),r=(t=e.nativeEvent,"TouchEvent"in window&&t instanceof window.TouchEvent?t.touches[0].clientX:t.clientX),o=(0,b.i)({value:r-n.left,max:T,min:R,step:P,containerWidth:n.width}),a=Math.abs(eo[0]-o)>Math.abs(eo[1]-o)?1:0,i="ltr"===Q?a:1===a?0:1;es.current=i},eg=()=>1!==ee&&0!==ee?(et(0),0):ee,ey={max:T,min:R,size:j,labelTransitionProps:L,labelAlwaysOn:V,onBlur:()=>et(-1)},eb=Array.isArray(H);return(0,r.jsx)(m.Y,{value:{getStyles:$},children:(0,r.jsxs)(h.l,{...Y,size:j,ref:t,disabled:Z,children:[(0,r.jsxs)(y.f,{offset:eu[0],marksOffset:eo[0],filled:eu[1]-eu[0],marks:N,inverted:K,min:R,max:T,value:eo[1],disabled:Z,containerProps:{ref:ev,onMouseEnter:F?()=>er(!0):void 0,onMouseLeave:F?()=>er(!1):void 0,onTouchStartCapture:eh,onTouchEndCapture:()=>{es.current=-1},onMouseDownCapture:eh,onMouseUpCapture:()=>{es.current=-1},onKeyDownCapture:e=>{if(!Z)switch(e.key){case"ArrowUp":{e.preventDefault();let t=eg();el.current[t].focus(),ef((0,w.J)(Math.min(Math.max(ei.current[t]+P,R),T),ec),t,!0);break}case"ArrowRight":{e.preventDefault();let t=eg();el.current[t].focus(),ef((0,w.J)(Math.min(Math.max("rtl"===Q?ei.current[t]-P:ei.current[t]+P,R),T),ec),t,!0);break}case"ArrowDown":{e.preventDefault();let t=eg();el.current[t].focus(),ef((0,w.J)(Math.min(Math.max(ei.current[t]-P,R),T),ec),t,!0);break}case"ArrowLeft":{e.preventDefault();let t=eg();el.current[t].focus(),ef((0,w.J)(Math.min(Math.max("rtl"===Q?ei.current[t]+P:ei.current[t]-P,R),T),ec),t,!0)}}}},children:[(0,r.jsx)(g.b,{...ey,value:W(eo[0]),position:eu[0],dragging:em,label:"function"==typeof B?B((0,w.J)(W(eo[0]),ec)):B,ref:e=>{el.current[0]=e},thumbLabel:O,onMouseDown:()=>void(es.current=0),onFocus:()=>et(0),showLabelOnHover:F,isHovered:en,disabled:Z,children:eb?H[0]:H}),(0,r.jsx)(g.b,{...ey,thumbLabel:z,value:W(eo[1]),position:eu[1],dragging:em,label:"function"==typeof B?B((0,w.J)(W(eo[1]),ec)):B,ref:e=>{el.current[1]=e},onMouseDown:()=>void(es.current=1),onFocus:()=>et(1),showLabelOnHover:F,isHovered:en,disabled:Z,children:eb?H[1]:H})]}),(0,r.jsx)("input",{type:"hidden",name:"".concat(D,"_from"),value:eo[0],...X}),(0,r.jsx)("input",{type:"hidden",name:"".concat(D,"_to"),value:eo[1],...X})]})})});j.classes=C.Z,j.displayName="@mantine/core/RangeSlider"},753:function(e,t,n){"use strict";n.d(t,{I:function(){return a},Y:function(){return o}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("SliderProvider was not found in tree")},19842:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_dd36362e",label:"m_c9357328",thumb:"m_c9a9a60a",trackContainer:"m_a8645c2",track:"m_c9ade57f",bar:"m_38aeed47",markWrapper:"m_b7b0423a",mark:"m_dd33bc19",markLabel:"m_68c77a5b"}},70445:function(e,t,n){"use strict";n.d(t,{Slider:function(){return T}});var r=n(57437),o=n(2265),a=n(15057),i=n(96236),l=n(46706),s=n(79373),u=n(20322),c=n(94120),d=n(15593),f=n(45027),p=n(50591),v=n(66969),m=n(73147),h=n(24895),g=n(753),y=n(66542),b=n(23992),w=n(45193),x=n(20698),S=n(56325),C=n(94642),k=n(95208),E=n(19842);let j={radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransitionProps:{transition:"fade",duration:0},labelAlwaysOn:!1,thumbLabel:"",showLabelOnHover:!0,disabled:!1,scale:e=>e},R=(0,d.createVarsResolver)((e,t)=>{let{size:n,color:r,thumbSize:o,radius:a}=t;return{root:{"--slider-size":(0,c.getSize)(n,"slider-size"),"--slider-color":r?(0,f.getThemeColor)(r,e):void 0,"--slider-radius":void 0===a?void 0:(0,c.getRadius)(a),"--slider-thumb-size":void 0!==o?(0,u.h)(o):"calc(var(--slider-size) * 2)"}}}),T=(0,m.factory)((e,t)=>{let n=(0,p.useProps)("Slider",j,e),{classNames:u,styles:c,value:d,onChange:f,onChangeEnd:m,size:T,min:I,max:_,step:P,precision:M,defaultValue:A,name:D,marks:N,label:B,labelTransitionProps:L,labelAlwaysOn:V,thumbLabel:O,showLabelOnHover:z,thumbChildren:F,disabled:H,unstyled:Z,scale:U,inverted:W,className:K,style:q,vars:G,hiddenInputProps:J,...X}=n,Y=(0,v.useStyles)({name:"Slider",props:n,classes:E.Z,classNames:u,className:K,styles:c,style:q,vars:G,varsResolver:R,unstyled:Z}),{dir:$}=(0,h.useDirection)(),[Q,ee]=(0,o.useState)(!1),[et,en]=(0,a.useUncontrolled)({value:"number"==typeof d?(0,i.clamp)(d,I,_):d,defaultValue:"number"==typeof A?(0,i.clamp)(A,I,_):A,finalValue:(0,i.clamp)(0,I,_),onChange:f}),er=(0,o.useRef)(et),eo=(0,o.useRef)(),ea=(0,o.useRef)(),ei=(0,C.b)({value:et,min:I,max:_}),el=U(et),es="function"==typeof B?B(el):B,eu=null!=M?M:(0,k.p)(P),ec=(0,o.useCallback)(e=>{let{x:t}=e;if(!H){let e=(0,x.i)({value:t,min:I,max:_,step:P,precision:eu});en(e),er.current=e}},[H,I,_,P,eu,en]),{ref:ed,active:ef}=(0,l.useMove)(ec,{onScrubEnd:()=>null==m?void 0:m(er.current)},$);return(0,r.jsx)(g.Y,{value:{getStyles:Y},children:(0,r.jsxs)(y.l,{...X,ref:(0,s.useMergedRef)(t,eo),onKeyDownCapture:e=>{if(!H){var t,n,r,o,a,i;switch(e.key){case"ArrowUp":{e.preventDefault(),null===(t=ea.current)||void 0===t||t.focus();let n=(0,S.J)(Math.min(Math.max(et+P,I),_),eu);en(n),null==m||m(n);break}case"ArrowRight":{e.preventDefault(),null===(n=ea.current)||void 0===n||n.focus();let t=(0,S.J)(Math.min(Math.max("rtl"===$?et-P:et+P,I),_),eu);en(t),null==m||m(t);break}case"ArrowDown":{e.preventDefault(),null===(r=ea.current)||void 0===r||r.focus();let t=(0,S.J)(Math.min(Math.max(et-P,I),_),eu);en(t),null==m||m(t);break}case"ArrowLeft":{e.preventDefault(),null===(o=ea.current)||void 0===o||o.focus();let t=(0,S.J)(Math.min(Math.max("rtl"===$?et+P:et-P,I),_),eu);en(t),null==m||m(t);break}case"Home":e.preventDefault(),null===(a=ea.current)||void 0===a||a.focus(),en(I),null==m||m(I);break;case"End":e.preventDefault(),null===(i=ea.current)||void 0===i||i.focus(),en(_),null==m||m(_)}}},onMouseDownCapture:()=>{var e;return null===(e=eo.current)||void 0===e?void 0:e.focus()},size:T,disabled:H,children:[(0,r.jsx)(w.f,{inverted:W,offset:0,filled:ei,marks:N,min:I,max:_,value:el,disabled:H,containerProps:{ref:ed,onMouseEnter:z?()=>ee(!0):void 0,onMouseLeave:z?()=>ee(!1):void 0},children:(0,r.jsx)(b.b,{max:_,min:I,value:el,position:ei,dragging:ef,label:es,ref:ea,labelTransitionProps:L,labelAlwaysOn:V,thumbLabel:O,showLabelOnHover:z,isHovered:Q,disabled:H,children:F})}),(0,r.jsx)("input",{type:"hidden",name:D,value:el,...J})]})})});T.classes=E.Z,T.displayName="@mantine/core/Slider"},66542:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var r=n(57437),o=n(2265),a=n(31831),i=n(753);let l=(0,o.forwardRef)((e,t)=>{let{size:n,disabled:o,variant:l,color:s,thumbSize:u,radius:c,...d}=e,{getStyles:f}=(0,i.I)();return(0,r.jsx)(a.Box,{tabIndex:-1,variant:l,size:n,ref:t,...f("root"),...d})});l.displayName="@mantine/core/SliderRoot"},23992:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});var r=n(57437),o=n(2265),a=n(31831),i=n(93719),l=n(753);let s=(0,o.forwardRef)((e,t)=>{let{max:n,min:s,value:u,position:c,label:d,dragging:f,onMouseDown:p,onKeyDownCapture:v,labelTransitionProps:m,labelAlwaysOn:h,thumbLabel:g,onFocus:y,onBlur:b,showLabelOnHover:w,isHovered:x,children:S=null,disabled:C}=e,{getStyles:k}=(0,l.I)(),[E,j]=(0,o.useState)(!1),R=h||f||E||w&&x;return(0,r.jsxs)(a.Box,{tabIndex:0,role:"slider","aria-label":g,"aria-valuemax":n,"aria-valuemin":s,"aria-valuenow":u,ref:t,__vars:{"--slider-thumb-offset":"".concat(c,"%")},...k("thumb",{focusable:!0}),mod:{dragging:f,disabled:C},onFocus:()=>{j(!0),"function"==typeof y&&y()},onBlur:()=>{j(!1),"function"==typeof b&&b()},onTouchStart:p,onMouseDown:p,onKeyDownCapture:v,onClick:e=>e.stopPropagation(),children:[S,(0,r.jsx)(i.Transition,{mounted:null!=d&&!!R,transition:"fade",duration:0,...m,children:e=>(0,r.jsx)("div",{...k("label",{style:e}),children:d})})]})});s.displayName="@mantine/core/SliderThumb"},45193:function(e,t,n){"use strict";n.d(t,{f:function(){return u}});var r=n(57437),o=n(2265),a=n(31831),i=n(753),l=n(94642);function s(e){let{marks:t,min:n,max:s,disabled:u,value:c,offset:d,inverted:f}=e,{getStyles:p}=(0,i.I)();if(!t)return null;let v=t.map((e,t)=>(0,o.createElement)(a.Box,{...p("markWrapper"),__vars:{"--mark-offset":"".concat((0,l.b)({value:e.value,min:n,max:s}),"%")},key:t},(0,r.jsx)(a.Box,{...p("mark"),mod:{filled:function(e){let{mark:t,offset:n,value:r,inverted:o=!1}=e;return o?"number"==typeof n&&t.value<=n||t.value>=r:"number"==typeof n?t.value>=n&&t.value<=r:t.value<=r}({mark:e,value:c,offset:d,inverted:f}),disabled:u}}),e.label&&(0,r.jsx)("div",{...p("markLabel"),children:e.label})));return(0,r.jsx)("div",{children:v})}function u(e){let{filled:t,children:n,offset:o,disabled:l,marksOffset:u,inverted:c,containerProps:d,...f}=e,{getStyles:p}=(0,i.I)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.Box,{...p("trackContainer"),mod:{disabled:l},...d,children:(0,r.jsxs)(a.Box,{...p("track"),mod:{inverted:c,disabled:l},children:[(0,r.jsx)(a.Box,{mod:{inverted:c,disabled:l},__vars:{"--slider-bar-width":"calc(".concat(t,"% + var(--slider-size))"),"--slider-bar-offset":"calc(".concat(o,"% - var(--slider-size))")},...p("bar")}),n,(0,r.jsx)(s,{...f,offset:u,disabled:l,inverted:c})]})})})}s.displayName="@mantine/core/SliderMarks",u.displayName="@mantine/core/SliderTrack"},20698:function(e,t,n){"use strict";function r(e){let{value:t,containerWidth:n,min:r,max:o,step:a,precision:i}=e,l=(n?Math.min(Math.max(t,0),n)/n:t)*(o-r),s=Math.max((0!==l?Math.round(l/a)*a:0)+r,r);return void 0!==i?Number(s.toFixed(i)):s}n.d(t,{i:function(){return r}})},56325:function(e,t,n){"use strict";function r(e,t){return parseFloat(e.toFixed(t))}n.d(t,{J:function(){return r}})},94642:function(e,t,n){"use strict";function r(e){let{value:t,min:n,max:r}=e;return Math.min(Math.max((t-n)/(r-n)*100,0),100)}n.d(t,{b:function(){return r}})},95208:function(e,t,n){"use strict";function r(e){if(!e)return 0;let t=e.toString().split(".");return t.length>1?t[1].length:0}n.d(t,{p:function(){return r}})},6925:function(e,t,n){"use strict";n.d(t,{Space:function(){return s}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147);let l={},s=(0,i.factory)((e,t)=>{let{w:n,h:i,miw:s,mih:u,...c}=(0,o.useProps)("Space",l,e);return(0,r.jsx)(a.Box,{ref:t,...c,w:n,miw:null!=s?s:n,h:i,mih:null!=u?u:i})});s.displayName="@mantine/core/Space"},70009:function(e,t,n){"use strict";n.d(t,{Spoiler:function(){return g}});var r=n(57437),o=n(2265),a=n(27011),i=n(49814),l=n(20322),s=n(15593),u=n(50591),c=n(66969),d=n(31831),f=n(73147),p=n(22281),v={root:"m_559cce2d",content:"m_b912df4e",control:"m_b9131032"};let m={maxHeight:100,initialState:!1},h=(0,s.createVarsResolver)((e,t)=>{let{transitionDuration:n}=t;return{root:{"--spoiler-transition-duration":void 0!==n?"".concat(n,"ms"):void 0}}}),g=(0,f.factory)((e,t)=>{let n=(0,u.useProps)("Spoiler",m,e),{classNames:s,className:f,style:g,styles:y,unstyled:b,vars:w,initialState:x,maxHeight:S,hideLabel:C,showLabel:k,children:E,controlRef:j,transitionDuration:R,id:T,...I}=n,_=(0,c.useStyles)({name:"Spoiler",classes:v,props:n,className:f,style:g,classNames:s,styles:y,unstyled:b,vars:w,varsResolver:h}),P=(0,a.useId)(T),M="".concat(P,"-region"),[A,D]=(0,o.useState)(x),{ref:N,height:B}=(0,i.useElementSize)(),L=A?C:k,V=null!==L&&SD(e=>!e),"aria-expanded":A,"aria-controls":M,..._("control"),children:L}),(0,r.jsx)("div",{..._("content",{style:{maxHeight:A?B?(0,l.h)(B):void 0:(0,l.h)(S)}}),"data-reduce-motion":!0,role:"region",id:M,children:(0,r.jsx)("div",{ref:N,children:E})})]})});g.classes=v,g.displayName="@mantine/core/Spoiler"},53:function(e,t,n){"use strict";n.d(t,{Switch:function(){return w}});var r=n(57437),o=n(27011),a=n(15057);n(2265);var i=n(94120),l=n(15593),s=n(45027),u=n(50591),c=n(66969),d=n(17622),f=n(31831),p=n(73147),v=n(39712),m=n(20362),h=n(89453),g={root:"m_5f93f3bb",input:"m_926b4011",track:"m_9307d992",thumb:"m_93039a1d",trackLabel:"m_8277e082"};let y={labelPosition:"right"},b=(0,l.createVarsResolver)((e,t)=>{let{radius:n,color:r,size:o}=t;return{root:{"--switch-radius":void 0===n?void 0:(0,i.getRadius)(n),"--switch-height":(0,i.getSize)(o,"switch-height"),"--switch-width":(0,i.getSize)(o,"switch-width"),"--switch-thumb-size":(0,i.getSize)(o,"switch-thumb-size"),"--switch-label-font-size":(0,i.getSize)(o,"switch-label-font-size"),"--switch-track-label-padding":(0,i.getSize)(o,"switch-track-label-padding"),"--switch-color":r?(0,s.getThemeColor)(r,e):void 0}}}),w=(0,p.factory)((e,t)=>{var n;let i=(0,u.useProps)("Switch",y,e),{classNames:l,className:s,style:p,styles:h,unstyled:w,vars:x,color:S,label:C,offLabel:k,onLabel:E,id:j,size:R,radius:T,wrapperProps:I,children:_,thumbIcon:P,checked:M,defaultChecked:A,onChange:D,labelPosition:N,description:B,error:L,disabled:V,variant:O,rootRef:z,mod:F,...H}=i,Z=(0,m.x)(),U=R||(null==Z?void 0:Z.size),W=(0,c.useStyles)({name:"Switch",props:i,classes:g,className:s,style:p,classNames:l,styles:h,unstyled:w,vars:x,varsResolver:b}),{styleProps:K,rest:q}=(0,d.extractStyleProps)(H),G=(0,o.useId)(j),J=Z?{checked:Z.value.includes(q.value),onChange:Z.onChange}:{},[X,Y]=(0,a.useUncontrolled)({value:null!==(n=J.checked)&&void 0!==n?n:M,defaultValue:A,finalValue:!1});return(0,r.jsxs)(v.Z,{...W("root"),__staticSelector:"Switch",__stylesApiProps:i,id:G,size:U,labelPosition:N,label:C,description:B,error:L,disabled:V,bodyElement:"label",labelElement:"span",classNames:l,styles:h,unstyled:w,"data-checked":J.checked||void 0,variant:O,ref:z,mod:F,...K,...I,children:[(0,r.jsx)("input",{...q,disabled:V,checked:X,onChange:e=>{var t;Z?null===(t=J.onChange)||void 0===t||t.call(J,e):null==D||D(e),Y(e.currentTarget.checked)},id:G,ref:t,type:"checkbox",role:"switch",...W("input")}),(0,r.jsxs)(f.Box,{"aria-hidden":"true",mod:{error:L,"label-position":N},...W("track"),children:[(0,r.jsx)(f.Box,{component:"span",mod:"reduce-motion",...W("thumb"),children:P}),(0,r.jsx)("span",{...W("trackLabel"),children:X?E:k})]})]})});w.classes={...g,...v.J},w.displayName="@mantine/core/Switch",w.Group=h.SwitchGroup},20362:function(e,t,n){"use strict";n.d(t,{j:function(){return a},x:function(){return i}});var r=n(2265);let o=(0,r.createContext)(null),a=o.Provider,i=()=>(0,r.useContext)(o)},89453:function(e,t,n){"use strict";n.d(t,{SwitchGroup:function(){return d}});var r=n(57437),o=n(15057);n(2265);var a=n(50591),i=n(73147),l=n(64030),s=n(41124),u=n(20362);let c={},d=(0,i.factory)((e,t)=>{let{value:n,defaultValue:i,onChange:d,size:f,wrapperProps:p,children:v,readOnly:m,...h}=(0,a.useProps)("SwitchGroup",c,e),[g,y]=(0,o.useUncontrolled)({value:n,defaultValue:i,finalValue:[],onChange:d});return(0,r.jsx)(u.j,{value:{value:g,onChange:e=>{let t=e.currentTarget.value;m||y(g.includes(t)?g.filter(e=>e!==t):[...g,t])},size:f},children:(0,r.jsx)(l.Input.Wrapper,{size:f,ref:t,...p,...h,labelElement:"div",__staticSelector:"SwitchGroup",children:(0,r.jsx)(s.m,{role:"group",children:v})})})});d.classes=l.Input.Wrapper.classes,d.displayName="@mantine/core/SwitchGroup"},90132:function(e,t,n){"use strict";n.d(t,{X:function(){return o},g:function(){return a}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("Tabs component was not found in the tree")},50328:function(e,t,n){"use strict";n.d(t,{Tabs:function(){return k}});var r=n(57437),o=n(27011),a=n(15057);n(2265);var i=n(88936),l=n(94120),s=n(15593),u=n(45027),c=n(19955),d=n(58834),f=n(50591),p=n(66969),v=n(31831),m=n(73147),h=n(90132),g=n(73098),y=n(93295),b=n(54445),w=n(98190);let x="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",S={keepMounted:!0,orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,allowTabDeactivation:!1,unstyled:!1,inverted:!1,variant:"default",placement:"left"},C=(0,s.createVarsResolver)((e,t)=>{let{radius:n,color:r,autoContrast:o}=t;return{root:{"--tabs-radius":(0,l.getRadius)(n),"--tabs-color":(0,u.getThemeColor)(r,e),"--tabs-text-color":(0,d.getAutoContrastValue)(o,e)?(0,c.getContrastColor)({color:r,theme:e}):void 0}}}),k=(0,m.factory)((e,t)=>{let n=(0,f.useProps)("Tabs",S,e),{defaultValue:l,value:s,onChange:u,orientation:c,children:d,loop:m,id:g,activateTabWithKeyboard:y,allowTabDeactivation:b,variant:k,color:E,radius:j,inverted:R,placement:T,keepMounted:I,classNames:_,styles:P,unstyled:M,className:A,style:D,vars:N,autoContrast:B,mod:L,...V}=n,O=(0,o.useId)(g),[z,F]=(0,a.useUncontrolled)({value:s,defaultValue:l,finalValue:null,onChange:u}),H=(0,p.useStyles)({name:"Tabs",props:n,classes:w.Z,className:A,style:D,classNames:_,styles:P,unstyled:M,vars:N,varsResolver:C});return(0,r.jsx)(h.X,{value:{placement:T,value:z,orientation:c,id:O,loop:m,activateTabWithKeyboard:y,getTabId:(0,i.getSafeId)("".concat(O,"-tab"),x),getPanelId:(0,i.getSafeId)("".concat(O,"-panel"),x),onChange:F,allowTabDeactivation:b,variant:k,color:E,radius:j,inverted:R,keepMounted:I,unstyled:M,getStyles:H},children:(0,r.jsx)(v.Box,{ref:t,id:O,variant:k,mod:[{orientation:c,inverted:"horizontal"===c&&R,placement:"vertical"===c&&T},L],...H("root"),...V,children:d})})});k.classes=w.Z,k.displayName="@mantine/core/Tabs",k.Tab=b.TabsTab,k.Panel=y.TabsPanel,k.List=g.TabsList},98190:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_89d60db1","list--default":"m_576c9d4",list:"m_89d33d6d",panel:"m_b0c91715",tab:"m_4ec4dce6",tabSection:"m_fc420b1f","tab--default":"m_539e827b","list--outline":"m_6772fbd5","tab--outline":"m_b59ab47c","tab--pills":"m_c3381914"}},73098:function(e,t,n){"use strict";n.d(t,{TabsList:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147),l=n(90132),s=n(98190);let u={},c=(0,i.factory)((e,t)=>{let n=(0,o.useProps)("TabsList",u,e),{children:i,className:s,grow:c,justify:d,classNames:f,styles:p,style:v,mod:m,...h}=n,g=(0,l.g)();return(0,r.jsx)(a.Box,{...h,...g.getStyles("list",{className:s,style:v,classNames:f,styles:p,props:n,variant:g.variant}),ref:t,role:"tablist",variant:g.variant,mod:[{grow:c,orientation:g.orientation,placement:"vertical"===g.orientation&&g.placement,inverted:g.inverted},m],"aria-orientation":g.orientation,__vars:{"--tabs-justify":d},children:i})});c.classes=s.Z,c.displayName="@mantine/core/TabsList"},93295:function(e,t,n){"use strict";n.d(t,{TabsPanel:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(31831),i=n(73147),l=n(90132),s=n(98190);let u={},c=(0,i.factory)((e,t)=>{let n=(0,o.useProps)("TabsPanel",u,e),{children:i,className:s,value:c,classNames:d,styles:f,style:p,mod:v,...m}=n,h=(0,l.g)(),g=h.value===c,y=h.keepMounted||n.keepMounted?i:g?i:null;return(0,r.jsx)(a.Box,{...m,...h.getStyles("panel",{className:s,classNames:d,styles:f,style:[p,g?void 0:{display:"none"}],props:n}),ref:t,mod:[{orientation:h.orientation},v],role:"tabpanel",id:h.getPanelId(c),"aria-labelledby":h.getTabId(c),children:y})});c.classes=s.Z,c.displayName="@mantine/core/TabsPanel"},54445:function(e,t,n){"use strict";n.d(t,{TabsTab:function(){return v}});var r=n(57437);n(2265);var o=n(85876),a=n(45027),i=n(15274),l=n(50591),s=n(73147),u=n(24895),c=n(30712),d=n(90132),f=n(98190);let p={},v=(0,s.factory)((e,t)=>{let n=(0,l.useProps)("TabsTab",p,e),{className:s,children:f,rightSection:v,leftSection:m,value:h,onClick:g,onKeyDown:y,disabled:b,color:w,style:x,classNames:S,styles:C,vars:k,mod:E,...j}=n,R=(0,i.useMantineTheme)(),{dir:T}=(0,u.useDirection)(),I=(0,d.g)(),_=h===I.value,P={classNames:S,styles:C,props:n};return(0,r.jsxs)(c.UnstyledButton,{...j,...I.getStyles("tab",{className:s,style:x,variant:I.variant,...P}),disabled:b,unstyled:I.unstyled,variant:I.variant,mod:[{active:_,disabled:b,orientation:I.orientation,inverted:I.inverted,placement:"vertical"===I.orientation&&I.placement},E],ref:t,role:"tab",id:I.getTabId(h),"aria-selected":_,tabIndex:_||null===I.value?0:-1,"aria-controls":I.getPanelId(h),onClick:e=>{I.onChange(I.allowTabDeactivation&&h===I.value?null:h),null==g||g(e)},__vars:{"--tabs-color":w?(0,a.getThemeColor)(w,R):void 0},onKeyDown:(0,o.createScopedKeydownHandler)({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:I.activateTabWithKeyboard,loop:I.loop,orientation:I.orientation||"horizontal",dir:T,onKeyDown:y}),children:[m&&(0,r.jsx)("span",{...I.getStyles("tabSection",P),"data-position":"left",children:m}),f&&(0,r.jsx)("span",{...I.getStyles("tabLabel",P),children:f}),v&&(0,r.jsx)("span",{...I.getStyles("tabSection",P),"data-position":"right",children:v})]})});v.classes=f.Z,v.displayName="@mantine/core/TabsTab"},24327:function(e,t,n){"use strict";n.d(t,{TagsInput:function(){return k}});var r=n(57437),o=n(2265),a=n(27011),i=n(79373),l=n(15057),s=n(63361),u=n(66969),c=n(50591),d=n(17622),f=n(73147),p=n(4457),v=n(74432),m=n(71440),h=n(31310),g=n(69165),y=n(73112),b=n(43041),w=n(88757),x=n(23161);function S(e){let{splitChars:t,allowDuplicates:n,maxTags:r,value:o,currentTags:a}=e,i=t?o.split(new RegExp("[".concat(t.join(""),"]"))).map(e=>e.trim()).filter(e=>""!==e):[o],l=n?[...a,...i]:[...new Set([...a,...i])];return r?l.slice(0,r):l}let C={maxTags:1/0,allowDuplicates:!1,splitChars:[","],hiddenInputValuesDivider:","},k=(0,f.factory)((e,t)=>{let n=(0,c.useProps)("TagsInput",C,e),{classNames:f,className:y,style:k,styles:E,unstyled:j,vars:R,size:T,value:I,defaultValue:_,onChange:P,onKeyDown:M,maxTags:A,allowDuplicates:D,onDuplicate:N,variant:B,data:L,dropdownOpened:V,defaultDropdownOpened:O,onDropdownOpen:z,onDropdownClose:F,selectFirstOptionOnChange:H,onOptionSubmit:Z,comboboxProps:U,filter:W,limit:K,withScrollArea:q,maxDropdownHeight:G,searchValue:J,defaultSearchValue:X,onSearchChange:Y,readOnly:$,disabled:Q,splitChars:ee,onFocus:et,onBlur:en,onPaste:er,radius:eo,rightSection:ea,rightSectionWidth:ei,rightSectionPointerEvents:el,rightSectionProps:es,leftSection:eu,leftSectionWidth:ec,leftSectionPointerEvents:ed,leftSectionProps:ef,inputContainer:ep,inputWrapperOrder:ev,withAsterisk:em,required:eh,labelProps:eg,descriptionProps:ey,errorProps:eb,wrapperProps:ew,description:ex,label:eS,error:eC,withErrorStyles:ek,name:eE,form:ej,id:eR,clearable:eT,clearButtonProps:eI,hiddenInputProps:e_,hiddenInputValuesDivider:eP,mod:eM,renderOption:eA,onRemove:eD,onClear:eN,scrollAreaProps:eB,...eL}=n,eV=(0,a.useId)(eR),eO=(0,p.getParsedComboboxData)(L),ez=(0,v.getOptionsLockup)(eO),eF=(0,o.useRef)(null),eH=(0,i.useMergedRef)(eF,t),eZ=(0,g.useCombobox)({opened:V,defaultOpened:O,onDropdownOpen:z,onDropdownClose:()=>{null==F||F(),eZ.resetSelectedOption()}}),{styleProps:eU,rest:{type:eW,autoComplete:eK,...eq}}=(0,d.extractStyleProps)(eL),[eG,eJ]=(0,l.useUncontrolled)({value:I,defaultValue:_,finalValue:[],onChange:P}),[eX,eY]=(0,l.useUncontrolled)({value:J,defaultValue:X,finalValue:"",onChange:Y}),e$=(0,u.useStyles)({name:"TagsInput",classes:{},props:n,classNames:f,styles:E,unstyled:j}),{resolvedClassNames:eQ,resolvedStyles:e0}=(0,s.useResolvedStylesApi)({props:n,styles:E,classNames:f}),e1=eG.map((e,t)=>(0,r.jsx)(b.Pill,{withRemoveButton:!$,onRemove:()=>{eJ(eG.filter(t=>e!==t)),null==eD||eD(e)},unstyled:j,disabled:Q,...e$("pill"),children:e},"".concat(e,"-").concat(t))),e5=eT&&eG.length>0&&!Q&&!$&&(0,r.jsx)(m.Combobox.ClearButton,{size:T,...eI,onClear:()=>{var e;eJ([]),eY(""),null===(e=eF.current)||void 0===e||e.focus(),eZ.openDropdown(),null==eN||eN()}});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.Combobox,{store:eZ,classNames:eQ,styles:e0,unstyled:j,size:T,readOnly:$,__staticSelector:"TagsInput",onOptionSubmit:e=>{null==Z||Z(e),eY(""),eG.length{null==M||M(e);let t=eX.trim(),{length:n}=t;if(ee.includes(e.key)&&n>0&&(eJ(S({splitChars:ee,allowDuplicates:D,maxTags:A,value:eX,currentTags:eG})),eY(""),e.preventDefault()),"Enter"===e.key&&n>0&&!e.nativeEvent.isComposing){e.preventDefault();let n=eG.some(e=>e.toLowerCase()===t.toLowerCase());n&&(null==N||N(t)),(!n||n&&D)&&eG.length0&&eJ([...eG,t]))}"Backspace"===e.key&&0===n&&eG.length>0&&!e.nativeEvent.isComposing&&(null==eD||eD(eG[eG.length-1]),eJ(eG.slice(0,eG.length-1)))},onFocus:e=>{null==et||et(e),eZ.openDropdown()},onBlur:e=>{null==en||en(e),eZ.closeDropdown()},onPaste:e=>{if(null==er||er(e),e.preventDefault(),e.clipboardData){let t=e.clipboardData.getData("text/plain");eJ(S({splitChars:ee,allowDuplicates:D,maxTags:A,value:"".concat(eX).concat(t),currentTags:eG})),eY("")}},value:eX,onChange:e=>eY(e.currentTarget.value),required:eh&&0===eG.length,disabled:Q,readOnly:$,id:eV})})]})})}),(0,r.jsx)(h.OptionsDropdown,{data:function(e){let{data:t,value:n}=e,r=n.map(e=>e.trim().toLowerCase());return t.reduce((e,t)=>((0,x.isOptionsGroup)(t)?e.push({group:t.group,items:t.items.filter(e=>-1===r.indexOf(e.label.toLowerCase().trim()))}):-1===r.indexOf(t.label.toLowerCase().trim())&&e.push(t),e),[])}({data:eO,value:eG}),hidden:$||Q,filter:W,search:eX,limit:K,hiddenWhenEmpty:!0,withScrollArea:q,maxDropdownHeight:G,unstyled:j,labelId:eS?"".concat(eV,"-label"):void 0,"aria-label":eS?void 0:eL["aria-label"],renderOption:eA,scrollAreaProps:eB})]}),(0,r.jsx)(m.Combobox.HiddenInput,{name:eE,form:ej,value:eG,valuesDivider:eP,disabled:Q,...e_})]})});k.classes={...y.InputBase.classes,...m.Combobox.classes},k.displayName="@mantine/core/TagsInput"},97439:function(e,t,n){"use strict";n.d(t,{ThemeIcon:function(){return p}});var r=n(57437);n(2265);var o=n(94120),a=n(15593),i=n(50591),l=n(66969),s=n(31831),u=n(73147),c={root:"m_7341320d"};let d={},f=(0,a.createVarsResolver)((e,t)=>{let{size:n,radius:r,variant:a,gradient:i,color:l,autoContrast:s}=t,u=e.variantColorResolver({color:l||e.primaryColor,theme:e,gradient:i,variant:a||"filled",autoContrast:s});return{root:{"--ti-size":(0,o.getSize)(n,"ti-size"),"--ti-radius":void 0===r?void 0:(0,o.getRadius)(r),"--ti-bg":l||a?u.background:void 0,"--ti-color":l||a?u.color:void 0,"--ti-bd":l||a?u.border:void 0}}}),p=(0,u.factory)((e,t)=>{let n=(0,i.useProps)("ThemeIcon",d,e),{classNames:o,className:a,style:u,styles:p,unstyled:v,vars:m,autoContrast:h,...g}=n,y=(0,l.useStyles)({name:"ThemeIcon",classes:c,props:n,className:a,style:u,classNames:o,styles:p,unstyled:v,vars:m,varsResolver:f});return(0,r.jsx)(s.Box,{ref:t,...y("root"),...g})});p.classes=c,p.displayName="@mantine/core/ThemeIcon"},25979:function(e,t,n){"use strict";n.d(t,{i:function(){return a},w:function(){return o}}),n(2265);var r=n(1122);n(57437);let[o,a]=(0,r.createSafeContext)("Timeline component was not found in tree")},64356:function(e,t,n){"use strict";n.d(t,{Timeline:function(){return w}});var r=n(57437),o=n(2265),a=n(20322),i=n(94120),l=n(15593),s=n(45027),u=n(19955),c=n(58834),d=n(50591),f=n(66969),p=n(31831),v=n(73147),m=n(25979),h=n(67943),g=n(37598);let y={active:-1,align:"left",reverseActive:!1},b=(0,l.createVarsResolver)((e,t)=>{let{bulletSize:n,lineWidth:r,radius:o,color:l,autoContrast:d}=t;return{root:{"--tl-bullet-size":(0,a.h)(n),"--tl-line-width":(0,a.h)(r),"--tl-radius":void 0===o?void 0:(0,i.getRadius)(o),"--tl-color":l?(0,s.getThemeColor)(l,e):void 0,"--tl-icon-color":(0,c.getAutoContrastValue)(d,e)?(0,u.getContrastColor)({color:l,theme:e}):void 0}}}),w=(0,v.factory)((e,t)=>{let n=(0,d.useProps)("Timeline",y,e),{classNames:a,className:i,style:l,styles:s,unstyled:u,vars:c,children:v,active:h,color:w,radius:x,bulletSize:S,align:C,lineWidth:k,reverseActive:E,mod:j,autoContrast:R,...T}=n,I=(0,f.useStyles)({name:"Timeline",classes:g.Z,props:n,className:i,style:l,classNames:a,styles:s,unstyled:u,vars:c,varsResolver:b}),_=o.Children.toArray(v),P=_.map((e,t)=>{var n,r;return(0,o.cloneElement)(e,{unstyled:u,__align:C,__active:(null===(n=e.props)||void 0===n?void 0:n.active)||(E?h>=_.length-t-1:h>=t),__lineActive:(null===(r=e.props)||void 0===r?void 0:r.lineActive)||(E?h>=_.length-t-1:h-1>=t)})});return(0,r.jsx)(m.w,{value:{getStyles:I},children:(0,r.jsx)(p.Box,{...I("root"),mod:[{align:C},j],ref:t,...T,children:P})})});w.classes=g.Z,w.displayName="@mantine/core/Timeline",w.Item=h.TimelineItem},37598:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={root:"m_43657ece",itemTitle:"m_2ebe8099",item:"m_436178ff",itemBullet:"m_8affcee1",itemBody:"m_540e8f41"}},67943:function(e,t,n){"use strict";n.d(t,{TimelineItem:function(){return p}});var r=n(57437);n(2265);var o=n(94120),a=n(45027),i=n(15274),l=n(50591),s=n(31831),u=n(73147),c=n(25979),d=n(37598);let f={},p=(0,u.factory)((e,t)=>{let{classNames:n,className:u,style:d,styles:p,vars:v,__active:m,__align:h,__lineActive:g,__vars:y,bullet:b,radius:w,color:x,lineVariant:S,children:C,title:k,mod:E,...j}=(0,l.useProps)("TimelineItem",f,e),R=(0,c.i)(),T=(0,i.useMantineTheme)(),I={classNames:n,styles:p};return(0,r.jsxs)(s.Box,{...R.getStyles("item",{...I,className:u,style:d}),mod:[{"line-active":g,active:m},E],ref:t,__vars:{"--tli-radius":w?(0,o.getRadius)(w):void 0,"--tli-color":x?(0,a.getThemeColor)(x,T):void 0,"--tli-border-style":S||void 0},...j,children:[(0,r.jsx)(s.Box,{...R.getStyles("itemBullet",I),mod:{"with-child":!!b,align:h,active:m},children:b}),(0,r.jsxs)("div",{...R.getStyles("itemBody",I),children:[k&&(0,r.jsx)("div",{...R.getStyles("itemTitle",I),children:k}),(0,r.jsx)("div",{...R.getStyles("itemContent",I),children:C})]})]})});p.classes=d.Z,p.displayName="@mantine/core/TimelineItem"},29355:function(e,t,n){"use strict";n.d(t,{Tree:function(){return b}});var r=n(57437),o=n(2265),a=n(83531),i=n(79373),l=n(94120),s=n(15593),u=n(50591),c=n(66969),d=n(31831),f=n(73147),p=n(48211);function v(e){let{node:t,getStyles:n,rootIndex:a,controller:i,expandOnClick:l,selectOnClick:s,isSubtree:u,level:c=1,renderNode:d,flatValues:f,allowRangeSelection:m}=e,h=(0,o.useRef)(null),g=(t.children||[]).map(e=>(0,r.jsx)(v,{node:e,flatValues:f,getStyles:n,rootIndex:void 0,level:c+1,controller:i,expandOnClick:l,isSubtree:!0,renderNode:d,selectOnClick:s,allowRangeSelection:m},e.value)),y=i.selectedState.includes(t.value),b={...n("label"),onClick:e=>{var n,r;e.stopPropagation(),m&&e.shiftKey&&i.anchorNode?(i.setSelectedState(function(e,t,n){let r=n.indexOf(e),o=n.indexOf(t);return n.slice(Math.min(r,o),Math.max(r,o)+1)}(i.anchorNode,t.value,f)),null===(n=h.current)||void 0===n||n.focus()):(l&&i.toggleExpanded(t.value),s&&i.select(t.value),null===(r=h.current)||void 0===r||r.focus())},"data-selected":y||void 0,"data-value":t.value};return(0,r.jsxs)("li",{...n("node",{style:{"--label-offset":"calc(var(--level-offset) * ".concat(c-1,")")}}),role:"treeitem","aria-selected":y,"data-selected":y||void 0,tabIndex:0===a?0:-1,onKeyDown:e=>{var n,r,o;if("ArrowRight"===e.nativeEvent.code&&(e.stopPropagation(),e.preventDefault(),i.expandedState[t.value]?null===(n=e.currentTarget.querySelector("[role=treeitem]"))||void 0===n||n.focus():i.expand(t.value)),"ArrowLeft"===e.nativeEvent.code&&(e.stopPropagation(),e.preventDefault(),i.expandedState[t.value]&&(t.children||[]).length>0?i.collapse(t.value):u&&(null===(r=(0,p.findElementAncestor)(e.currentTarget,"[role=treeitem]"))||void 0===r||r.focus())),"ArrowDown"===e.nativeEvent.code||"ArrowUp"===e.nativeEvent.code){let t=(0,p.findElementAncestor)(e.currentTarget,"[data-tree-root]");if(!t)return;e.stopPropagation(),e.preventDefault();let n=Array.from(t.querySelectorAll("[role=treeitem]")),r=n.indexOf(e.currentTarget);if(-1===r)return;null===(o=n["ArrowDown"===e.nativeEvent.code?r+1:r-1])||void 0===o||o.focus()}"Space"===e.nativeEvent.code&&l&&(e.stopPropagation(),e.preventDefault(),i.toggleExpanded(t.value))},"data-level":c,ref:h,children:["function"==typeof d?d({node:t,level:c,selected:y,expanded:i.expandedState[t.value]||!1,hasChildren:Array.isArray(t.children)&&t.children.length>0,elementProps:b}):(0,r.jsx)("div",{...b,children:t.label}),i.expandedState[t.value]&&g.length>0&&(0,r.jsx)("ul",{role:"group",...n("subtree"),"data-level":c,children:g})]})}v.displayName="@mantine/core/TreeNode";var m=n(25909),h={root:"m_f698e191",subtree:"m_75f3ecf",node:"m_f6970eb1",label:"m_dc283425"};let g={expandOnClick:!0,allowRangeSelection:!0},y=(0,s.createVarsResolver)((e,t)=>{let{levelOffset:n}=t;return{root:{"--level-offset":(0,l.getSpacing)(n)}}}),b=(0,f.factory)((e,t)=>{let n=(0,u.useProps)("Tree",g,e),{classNames:l,className:s,style:f,styles:p,unstyled:b,vars:w,data:x,expandOnClick:S,tree:C,renderNode:k,selectOnClick:E,clearSelectionOnOutsideClick:j,allowRangeSelection:R,...T}=n,I=(0,m.useTree)(),_=C||I,P=(0,c.useStyles)({name:"Tree",classes:h,props:n,className:s,style:f,classNames:l,styles:p,unstyled:b,vars:w,varsResolver:y}),M=(0,a.useClickOutside)(()=>j&&_.clearSelected()),A=(0,i.useMergedRef)(t,M),D=(0,o.useMemo)(()=>(function e(t){return t.reduce((t,n)=>(t.push(n.value),n.children&&t.push(...e(n.children)),t),[])})(x),[x]);(0,o.useEffect)(()=>{_.initialize(x)},[x]);let N=x.map((e,t)=>(0,r.jsx)(v,{node:e,getStyles:P,rootIndex:t,expandOnClick:S,selectOnClick:E,controller:_,renderNode:k,flatValues:D,allowRangeSelection:R},e.value));return(0,r.jsx)(d.Box,{component:"ul",ref:A,...P("root"),...T,role:"tree","aria-multiselectable":_.multiple,"data-tree-root":!0,children:N})});b.displayName="@mantine/core/Tree",b.classes=h},25909:function(e,t,n){"use strict";n.d(t,{useTree:function(){return o}});var r=n(2265);function o(){let{initialSelectedState:e=[],initialExpandedState:t={},multiple:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[o,a]=(0,r.useState)(t),[i,l]=(0,r.useState)(e),[s,u]=(0,r.useState)(null),c=(0,r.useCallback)(e=>{a(t=>(function e(t,n,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n.forEach(n=>{o[n.value]=n.value in t?t[n.value]:n.value===r,Array.isArray(n.children)&&e(t,n.children,r,o)}),o})(t,e,i))},[i]),d=(0,r.useCallback)(e=>{a(t=>({...t,[e]:!t[e]}))},[]),f=(0,r.useCallback)(e=>{a(t=>({...t,[e]:!1}))},[]),p=(0,r.useCallback)(e=>{a(t=>({...t,[e]:!0}))},[]),v=(0,r.useCallback)(()=>{a(e=>{let t={...e};return Object.keys(t).forEach(e=>{t[e]=!0}),t})},[]),m=(0,r.useCallback)(()=>{a(e=>{let t={...e};return Object.keys(t).forEach(e=>{t[e]=!1}),t})},[]),h=(0,r.useCallback)(e=>l(t=>n?t.includes(e)?(u(null),t.filter(t=>t!==e)):(u(e),[...t,e]):t.includes(e)?(u(null),[]):(u(e),[e])),[]),g=(0,r.useCallback)(e=>{u(e),l(t=>n?t.includes(e)?t:[...t,e]:[e])},[]),y=(0,r.useCallback)(e=>{s===e&&u(null),l(t=>t.filter(t=>t!==e))},[]);return{multiple:n,expandedState:o,selectedState:i,anchorNode:s,initialize:c,toggleExpanded:d,collapse:f,expand:p,expandAllNodes:v,collapseAllNodes:m,setExpandedState:a,toggleSelected:h,select:g,deselect:y,clearSelected:(0,r.useCallback)(()=>{l([]),u(null)},[]),setSelectedState:l}}},99923:function(e,t,n){"use strict";n.d(t,{TypographyStylesProvider:function(){return c}});var r=n(57437);n(2265);var o=n(50591),a=n(66969),i=n(31831),l=n(73147),s={root:"m_d6493fad"};let u={},c=(0,l.factory)((e,t)=>{let n=(0,o.useProps)("TypographyStylesProvider",u,e),{classNames:l,className:c,style:d,styles:f,unstyled:p,...v}=n,m=(0,a.useStyles)({name:"TypographyStylesProvider",classes:s,props:n,className:c,style:d,classNames:l,styles:f,unstyled:p});return(0,r.jsx)(i.Box,{ref:t,...m("root"),...v})});c.classes=s,c.displayName="@mantine/core/TypographyStylesProvider"},72581:function(e,t,n){"use strict";n.d(t,{ColorSchemeScript:function(){return a}});var r=n(57437);let o=e=>{let{defaultColorScheme:t,localStorageKey:n,forceColorScheme:r}=e;return r?'document.documentElement.setAttribute("data-mantine-color-scheme", \''.concat(r,"');"):'try {\n var _colorScheme = window.localStorage.getItem("'.concat(n,'");\n var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "').concat(t,'";\n var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";\n document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme);\n} catch (e) {}\n')};function a(e){let{defaultColorScheme:t="light",localStorageKey:n="mantine-color-scheme-value",forceColorScheme:a,...i}=e,l=["light","dark","auto"].includes(t)?t:"light";return(0,r.jsx)("script",{...i,"data-mantine-script":!0,dangerouslySetInnerHTML:{__html:o({defaultColorScheme:l,localStorageKey:n,forceColorScheme:a})}})}},51344:function(e,t,n){"use strict";n.r(t),n.d(t,{MantineCssVariables:function(){return f}});var r=n(57437),o=n(69589),a=n(78150),i=n(15274),l=n(33138);n(2265);var s=n(79419),u=n(29481),c=n(91870);let d=(0,s.defaultCssVariablesResolver)(c.t);function f(e){let{cssVariablesSelector:t,deduplicateCssVariables:n}=e,c=(0,i.useMantineTheme)(),f=(0,a.useMantineStyleNonce)(),p=function(e){let{theme:t,generator:n}=e,r=(0,s.defaultCssVariablesResolver)(t),o=null==n?void 0:n(t);return o?(0,l.R)(r,o):r}({theme:c,generator:(0,a.useMantineCssVariablesResolver)()}),v=":root"===t&&n,m=v?function(e){let t={variables:{},light:{},dark:{}};return(0,u.keys)(e.variables).forEach(n=>{d.variables[n]!==e.variables[n]&&(t.variables[n]=e.variables[n])}),(0,u.keys)(e.light).forEach(n=>{d.light[n]!==e.light[n]&&(t.light[n]=e.light[n])}),(0,u.keys)(e.dark).forEach(n=>{d.dark[n]!==e.dark[n]&&(t.dark[n]=e.dark[n])}),t}(p):p,h=(0,o.convertCssVariables)(m,t);return h?(0,r.jsx)("style",{"data-mantine-styles":!0,nonce:null==f?void 0:f(),dangerouslySetInnerHTML:{__html:"".concat(h).concat(v?"":"\n ".concat(t,'[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }\n ').concat(t,'[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }\n'))}}):null}f.displayName="@mantine/CssVariables"},79419:function(e,t,n){"use strict";n.d(t,{defaultCssVariablesResolver:function(){return u}});var r=n(29481),o=n(20322);n(2265),n(57437);var a=n(76900),i=n(19955),l=n(92616);function s(e,t,n){(0,r.keys)(t).forEach(r=>Object.assign(e,{["--mantine-".concat(n,"-").concat(r)]:t[r]}))}let u=e=>{let t=(0,a.getPrimaryShade)(e,"light"),n=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:(0,o.h)(e.defaultRadius),u={variables:{"--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-color-scheme":"light dark","--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":n,"--mantine-primary-color-filled":"var(--mantine-color-".concat(e.primaryColor,"-filled)"),"--mantine-primary-color-filled-hover":"var(--mantine-color-".concat(e.primaryColor,"-filled-hover)"),"--mantine-primary-color-light":"var(--mantine-color-".concat(e.primaryColor,"-light)"),"--mantine-primary-color-light-hover":"var(--mantine-color-".concat(e.primaryColor,"-light-hover)"),"--mantine-primary-color-light-color":"var(--mantine-color-".concat(e.primaryColor,"-light-color)")},light:{"--mantine-primary-color-contrast":(0,i.getPrimaryContrastColor)(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":"var(--mantine-color-".concat(e.primaryColor,"-").concat(t,")"),"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)"},dark:{"--mantine-primary-color-contrast":(0,i.getPrimaryContrastColor)(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":"var(--mantine-color-".concat(e.primaryColor,"-4)"),"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)"}};s(u.variables,e.breakpoints,"breakpoint"),s(u.variables,e.spacing,"spacing"),s(u.variables,e.fontSizes,"font-size"),s(u.variables,e.lineHeights,"line-height"),s(u.variables,e.shadows,"shadow"),s(u.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((t,n)=>{u.variables["--mantine-primary-color-".concat(n)]="var(--mantine-color-".concat(e.primaryColor,"-").concat(n,")")}),(0,r.keys)(e.colors).forEach(t=>{let n=e.colors[t];if(n&&"object"==typeof n&&"mantine-virtual-color"in n){Object.assign(u.light,(0,l.getCSSColorVariables)({theme:e,name:n.name,color:n.light,colorScheme:"light",withColorValues:!0})),Object.assign(u.dark,(0,l.getCSSColorVariables)({theme:e,name:n.name,color:n.dark,colorScheme:"dark",withColorValues:!0}));return}n.forEach((e,n)=>{u.variables["--mantine-color-".concat(t,"-").concat(n)]=e}),Object.assign(u.light,(0,l.getCSSColorVariables)({theme:e,color:t,colorScheme:"light",withColorValues:!1})),Object.assign(u.dark,(0,l.getCSSColorVariables)({theme:e,color:t,colorScheme:"dark",withColorValues:!1}))});let c=e.headings.sizes;return(0,r.keys)(c).forEach(t=>{u.variables["--mantine-".concat(t,"-font-size")]=c[t].fontSize,u.variables["--mantine-".concat(t,"-line-height")]=c[t].lineHeight,u.variables["--mantine-".concat(t,"-font-weight")]=c[t].fontWeight||e.headings.fontWeight}),u}},92616:function(e,t,n){"use strict";n.d(t,{getCSSColorVariables:function(){return a}});var r=n(76900);n(2265),n(57437);var o=n(78928);function a(e){let{theme:t,color:n,colorScheme:a,name:i=n,withColorValues:l=!0}=e;if(!t.colors[n])return{};if("light"===a){let e=(0,r.getPrimaryShade)(t,"light"),a={["--mantine-color-".concat(i,"-text")]:"var(--mantine-color-".concat(i,"-filled)"),["--mantine-color-".concat(i,"-filled")]:"var(--mantine-color-".concat(i,"-").concat(e,")"),["--mantine-color-".concat(i,"-filled-hover")]:"var(--mantine-color-".concat(i,"-").concat(9===e?8:e+1,")"),["--mantine-color-".concat(i,"-light")]:(0,o.F)(t.colors[n][e],.1),["--mantine-color-".concat(i,"-light-hover")]:(0,o.F)(t.colors[n][e],.12),["--mantine-color-".concat(i,"-light-color")]:"var(--mantine-color-".concat(i,"-").concat(e,")"),["--mantine-color-".concat(i,"-outline")]:"var(--mantine-color-".concat(i,"-").concat(e,")"),["--mantine-color-".concat(i,"-outline-hover")]:(0,o.F)(t.colors[n][e],.05)};return l?{["--mantine-color-".concat(i,"-0")]:t.colors[n][0],["--mantine-color-".concat(i,"-1")]:t.colors[n][1],["--mantine-color-".concat(i,"-2")]:t.colors[n][2],["--mantine-color-".concat(i,"-3")]:t.colors[n][3],["--mantine-color-".concat(i,"-4")]:t.colors[n][4],["--mantine-color-".concat(i,"-5")]:t.colors[n][5],["--mantine-color-".concat(i,"-6")]:t.colors[n][6],["--mantine-color-".concat(i,"-7")]:t.colors[n][7],["--mantine-color-".concat(i,"-8")]:t.colors[n][8],["--mantine-color-".concat(i,"-9")]:t.colors[n][9],...a}:a}let s=(0,r.getPrimaryShade)(t,"dark"),u={["--mantine-color-".concat(i,"-text")]:"var(--mantine-color-".concat(i,"-4)"),["--mantine-color-".concat(i,"-filled")]:"var(--mantine-color-".concat(i,"-").concat(s,")"),["--mantine-color-".concat(i,"-filled-hover")]:"var(--mantine-color-".concat(i,"-").concat(9===s?8:s+1,")"),["--mantine-color-".concat(i,"-light")]:(0,o.F)(t.colors[n][Math.max(0,s-2)],.15),["--mantine-color-".concat(i,"-light-hover")]:(0,o.F)(t.colors[n][Math.max(0,s-2)],.2),["--mantine-color-".concat(i,"-light-color")]:"var(--mantine-color-".concat(i,"-").concat(Math.max(s-5,0),")"),["--mantine-color-".concat(i,"-outline")]:"var(--mantine-color-".concat(i,"-").concat(Math.max(s-4,0),")"),["--mantine-color-".concat(i,"-outline-hover")]:(0,o.F)(t.colors[n][Math.max(s-4,0)],.05)};return l?{["--mantine-color-".concat(i,"-0")]:t.colors[n][0],["--mantine-color-".concat(i,"-1")]:t.colors[n][1],["--mantine-color-".concat(i,"-2")]:t.colors[n][2],["--mantine-color-".concat(i,"-3")]:t.colors[n][3],["--mantine-color-".concat(i,"-4")]:t.colors[n][4],["--mantine-color-".concat(i,"-5")]:t.colors[n][5],["--mantine-color-".concat(i,"-6")]:t.colors[n][6],["--mantine-color-".concat(i,"-7")]:t.colors[n][7],["--mantine-color-".concat(i,"-8")]:t.colors[n][8],["--mantine-color-".concat(i,"-9")]:t.colors[n][9],...u}:u}},63941:function(e,t,n){"use strict";n.d(t,{HeadlessMantineProvider:function(){return m},MantineProvider:function(){return v}});var r=n(57437),o=n(84955),a=n(78150),i=n(29481),l=n(76726),s=n(20322);n(2265);var u=n(15274);function c(){let e=(0,u.useMantineTheme)(),t=(0,a.useMantineStyleNonce)(),n=(0,i.keys)(e.breakpoints).reduce((t,n)=>{let r=e.breakpoints[n].includes("px"),o=(0,l.px)(e.breakpoints[n]),a=r?"".concat(o-.1,"px"):(0,s.em)(o-.1),i=r?"".concat(o,"px"):(0,s.em)(o);return"".concat(t,"@media (max-width: ").concat(a,") {.mantine-visible-from-").concat(n," {display: none !important;}}@media (min-width: ").concat(i,") {.mantine-hidden-from-").concat(n," {display: none !important;}}")},"");return(0,r.jsx)("style",{"data-mantine-styles":"classes",nonce:null==t?void 0:t(),dangerouslySetInnerHTML:{__html:n}})}var d=n(51344),f=n(64806),p=n(95206);function v(e){let{theme:t,children:n,getStyleNonce:i,withStaticClasses:l=!0,withGlobalClasses:s=!0,deduplicateCssVariables:v=!0,withCssVariables:m=!0,cssVariablesSelector:h=":root",classNamesPrefix:g="mantine",colorSchemeManager:y=(0,o.localStorageColorSchemeManager)(),defaultColorScheme:b="light",getRootElement:w=()=>document.documentElement,cssVariablesResolver:x,forceColorScheme:S,stylesTransform:C}=e,{colorScheme:k,setColorScheme:E,clearColorScheme:j}=(0,f.useProviderColorScheme)({defaultColorScheme:b,forceColorScheme:S,manager:y,getRootElement:w});return!function(e){let{respectReducedMotion:t,getRootElement:n}=e;(0,p.useIsomorphicEffect)(()=>{if(t){var e;null===(e=n())||void 0===e||e.setAttribute("data-respect-reduced-motion","true")}},[t])}({respectReducedMotion:(null==t?void 0:t.respectReducedMotion)||!1,getRootElement:w}),(0,r.jsx)(a.MantineContext.Provider,{value:{colorScheme:k,setColorScheme:E,clearColorScheme:j,getRootElement:w,classNamesPrefix:g,getStyleNonce:i,cssVariablesResolver:x,cssVariablesSelector:h,withStaticClasses:l,stylesTransform:C},children:(0,r.jsxs)(u.MantineThemeProvider,{theme:t,children:[m&&(0,r.jsx)(d.MantineCssVariables,{cssVariablesSelector:h,deduplicateCssVariables:v}),s&&(0,r.jsx)(c,{}),n]})})}function m(e){let{children:t,theme:n}=e;return(0,r.jsx)(a.MantineContext.Provider,{value:{colorScheme:"auto",setColorScheme:()=>{},clearColorScheme:()=>{},getRootElement:()=>document.documentElement,classNamesPrefix:"mantine",cssVariablesSelector:":root",withStaticClasses:!1,headless:!0},children:(0,r.jsx)(u.MantineThemeProvider,{theme:n,children:t})})}!function(){let e=console.error;console.error=function(){for(var t=arguments.length,n=Array(t),r=0;r1&&"string"==typeof n[0]&&n[0].toLowerCase().includes("extra attributes from the server")&&"string"==typeof n[1]&&n[1].toLowerCase().includes("data-mantine-color-scheme")||e(...n)}}(),v.displayName="@mantine/core/MantineProvider",m.displayName="@mantine/core/HeadlessMantineProvider"},92824:function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e:Array(10).fill(e)}n.r(t),n.d(t,{colorsTuple:function(){return r}})},31670:function(e,t,n){"use strict";function r(e){return"auto"===e||"dark"===e||"light"===e}n.d(t,{isMantineColorScheme:function(){return r}})},84955:function(e,t,n){"use strict";n.d(t,{localStorageColorSchemeManager:function(){return o}});var r=n(31670);function o(){let e,{key:t="mantine-color-scheme-value"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{get:e=>{if("undefined"==typeof window)return e;try{let n=window.localStorage.getItem(t);return(0,r.isMantineColorScheme)(n)?n:e}catch(t){return e}},set:e=>{try{window.localStorage.setItem(t,e)}catch(e){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",e)}},subscribe:n=>{e=e=>{e.storageArea===window.localStorage&&e.key===t&&(0,r.isMantineColorScheme)(e.newValue)&&n(e.newValue)},window.addEventListener("storage",e)},unsubscribe:()=>{window.removeEventListener("storage",e)},clear:()=>{window.localStorage.removeItem(t)}}}},69589:function(e,t,n){"use strict";function r(e){return Object.entries(e).map(e=>{let[t,n]=e;return"".concat(t,": ").concat(n,";")}).join("")}function o(e,t){return(Array.isArray(e)?e:[e]).reduce((e,t)=>"".concat(t,"{").concat(e,"}"),t)}function a(e,t){let n=r(e.variables),a=n?o(t,n):"",i=r(e.dark),l=i?o("".concat(t,'[data-mantine-color-scheme="dark"]'),i):"",s=r(e.light),u=s?o("".concat(t,'[data-mantine-color-scheme="light"]'),s):"";return"".concat(a).concat(l).concat(u)}n.d(t,{convertCssVariables:function(){return a}})},71335:function(e,t,n){"use strict";n.d(t,{mergeThemeOverrides:function(){return o}});var r=n(33138);function o(){for(var e=arguments.length,t=Array(e),n=0;n(0,r.R)(e,t),{})}n(2265),n(57437)},86580:function(e,t,n){"use strict";n.d(t,{useComputedColorScheme:function(){return a}});var r=n(24573),o=n(16472);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{getInitialValueInEffect:!0},n=(0,r.useColorScheme)(e,t),{colorScheme:a}=(0,o.useMantineColorScheme)();return"auto"===a?n:a}},16472:function(e,t,n){"use strict";n.d(t,{useMantineColorScheme:function(){return l}});var r=n(2265),o=n(24573),a=n(78150);function i(e){let t=document.createElement("style");return t.setAttribute("data-mantine-styles","inline"),t.innerHTML="*, *::before, *::after {transition: none !important;}",t.setAttribute("data-mantine-disable-transition","true"),e&&t.setAttribute("nonce",e),document.head.appendChild(t),()=>document.querySelectorAll("[data-mantine-disable-transition]").forEach(e=>e.remove())}function l(){let{keepTransitions:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(),n=(0,r.useRef)(),l=(0,r.useContext)(a.MantineContext),s=(0,a.useMantineStyleNonce)(),u=(0,r.useRef)(null==s?void 0:s());if(!l)throw Error("[@mantine/core] MantineProvider was not found in tree");let c=r=>{l.setColorScheme(r),t.current=e?()=>{}:i(u.current),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{var e;null===(e=t.current)||void 0===e||e.call(t)},10)},d=(0,o.useColorScheme)("light",{getInitialValueInEffect:!1}),f="auto"===l.colorScheme?d:l.colorScheme,p=(0,r.useCallback)(()=>c("light"===f?"dark":"light"),[c,f]);return(0,r.useEffect)(()=>()=>{var e;null===(e=t.current)||void 0===e||e.call(t),window.clearTimeout(n.current)},[]),{colorScheme:l.colorScheme,setColorScheme:c,clearColorScheme:()=>{l.clearColorScheme(),t.current=e?()=>{}:i(u.current),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{var e;null===(e=t.current)||void 0===e||e.call(t)},10)},toggleColorScheme:p}}},64806:function(e,t,n){"use strict";n.d(t,{useProviderColorScheme:function(){return i}});var r=n(2265),o=n(95206);function a(e,t){var n;let r="auto"!==e?e:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";null===(n=t())||void 0===n||n.setAttribute("data-mantine-color-scheme",r)}function i(e){let{manager:t,defaultColorScheme:n,getRootElement:i,forceColorScheme:l}=e,s=(0,r.useRef)(),[u,c]=(0,r.useState)(()=>t.get(n)),d=l||u,f=(0,r.useCallback)(e=>{l||(a(e,i),c(e),t.set(e))},[t.set,d,l]),p=(0,r.useCallback)(()=>{c(n),a(n,i),t.clear()},[t.clear,n]);return(0,r.useEffect)(()=>(t.subscribe(f),t.unsubscribe),[t.subscribe,t.unsubscribe]),(0,o.useIsomorphicEffect)(()=>{a(t.get(n),i)},[]),(0,r.useEffect)(()=>{var e;if(l)return a(l,i),()=>{};void 0===l&&a(u,i),s.current=window.matchMedia("(prefers-color-scheme: dark)");let t=e=>{"auto"===u&&a(e.matches?"dark":"light",i)};return null===(e=s.current)||void 0===e||e.addEventListener("change",t),()=>{var e;return null===(e=s.current)||void 0===e?void 0:e.removeEventListener("change",t)}},[u,l]),{colorScheme:d,setColorScheme:f,clearColorScheme:p}}},24077:function(e,t,n){"use strict";n.d(t,{useMatches:function(){return i}});var r=n(25624),o=n(15274);let a=["xs","sm","md","lg","xl"];function i(e,t){let n=(0,o.useMantineTheme)(),i=(0,r.useMediaQuery)("(min-width: ".concat(n.breakpoints.xs,")"),!1,t),l=(0,r.useMediaQuery)("(min-width: ".concat(n.breakpoints.sm,")"),!1,t),s=(0,r.useMediaQuery)("(min-width: ".concat(n.breakpoints.md,")"),!1,t);return function(e,t){if(!t)return e.base;let n=a.indexOf(t);for(;n>=0;){if(a[n]in e)return e[a[n]];n-=1}return e.base}(e,a[[i,l,s,(0,r.useMediaQuery)("(min-width: ".concat(n.breakpoints.lg,")"),!1,t),(0,r.useMediaQuery)("(min-width: ".concat(n.breakpoints.xl,")"),!1,t)].findLastIndex(e=>e)])}},92646:function(e,t,n){"use strict";n.d(t,{createUseExternalEvents:function(){return o}});var r=n(95206);function o(e){return[function(t){let n=Object.keys(t).reduce((n,r)=>(n["".concat(e,":").concat(r)]=e=>t[r](e.detail),n),{});(0,r.useIsomorphicEffect)(()=>(Object.keys(n).forEach(e=>{window.removeEventListener(e,n[e]),window.addEventListener(e,n[e])}),()=>Object.keys(n).forEach(e=>{window.removeEventListener(e,n[e])})),[n])},function(t){return function(){for(var n,r,o=arguments.length,a=Array(o),i=0;i{if("string"!=typeof n||0===n.trim().length)throw Error(t);return"".concat(e,"-").concat(n)}}n.d(t,{getSafeId:function(){return r}})},24573:function(e,t,n){"use strict";n.d(t,{useColorScheme:function(){return o}});var r=n(25624);function o(e,t){return(0,r.useMediaQuery)("(prefers-color-scheme: dark)","dark"===e,t)?"dark":"light"}},40528:function(e,t,n){"use strict";n.d(t,{useCounter:function(){return i}});var r=n(2265),o=n(96236);let a={min:-1/0,max:1/0};function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,{min:n,max:i}={...a,...t},[l,s]=(0,r.useState)((0,o.clamp)(e,n,i));return[l,{increment:()=>s(e=>(0,o.clamp)(e+1,n,i)),decrement:()=>s(e=>(0,o.clamp)(e-1,n,i)),set:e=>s((0,o.clamp)(e,n,i)),reset:()=>s((0,o.clamp)(e,n,i))}]}},82609:function(e,t,n){"use strict";n.d(t,{useDebouncedState:function(){return o}});var r=n(2265);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{leading:!1},[o,a]=(0,r.useState)(e),i=(0,r.useRef)(null),l=(0,r.useRef)(!0),s=()=>window.clearTimeout(i.current);return(0,r.useEffect)(()=>s,[]),[o,(0,r.useCallback)(e=>{s(),l.current&&n.leading?a(e):i.current=window.setTimeout(()=>{l.current=!0,a(e)},t),l.current=!1},[n.leading])]}},51422:function(e,t,n){"use strict";n.d(t,{useDebouncedValue:function(){return o}});var r=n(2265);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{leading:!1},[o,a]=(0,r.useState)(e),i=(0,r.useRef)(!1),l=(0,r.useRef)(null),s=(0,r.useRef)(!1),u=()=>window.clearTimeout(l.current);return(0,r.useEffect)(()=>{i.current&&(!s.current&&n.leading?(s.current=!0,a(e)):(u(),l.current=window.setTimeout(()=>{s.current=!1,a(e)},t)))},[e,n.leading,t]),(0,r.useEffect)(()=>(i.current=!0,u),[]),[o,u]}},93059:function(e,t,n){"use strict";n.d(t,{useDisclosure:function(){return o}});var r=n(2265);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,{onOpen:n,onClose:o}=t||{},[a,i]=(0,r.useState)(e),l=(0,r.useCallback)(()=>{i(e=>e||(null==n||n(),!0))},[n]),s=(0,r.useCallback)(()=>{i(e=>e?(null==o||o(),!1):e)},[o]),u=(0,r.useCallback)(()=>{a?s():l()},[s,l,a]);return[a,{open:l,close:s,toggle:u}]}},98590:function(e,t,n){"use strict";n.d(t,{useDocumentTitle:function(){return o}});var r=n(95206);function o(e){(0,r.useIsomorphicEffect)(()=>{"string"==typeof e&&e.trim().length>0&&(document.title=e.trim())},[e])}},57887:function(e,t,n){"use strict";n.d(t,{useDocumentVisibility:function(){return o}});var r=n(2265);function o(){let[e,t]=(0,r.useState)("visible");return(0,r.useEffect)(()=>{let e=()=>t(document.visibilityState);return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]),e}},80750:function(e,t,n){"use strict";n.d(t,{useEventListener:function(){return o}});var r=n(2265);function o(e,t,n){let o=(0,r.useRef)();return(0,r.useEffect)(()=>{if(o.current)return o.current.addEventListener(e,t,n),()=>{var r;return null===(r=o.current)||void 0===r?void 0:r.removeEventListener(e,t,n)}},[t,n]),o}},89966:function(e,t,n){"use strict";n.d(t,{useEyeDropper:function(){return a}});var r=n(2265),o=n(95206);function a(){let[e,t]=(0,r.useState)(!1);(0,o.useIsomorphicEffect)(()=>{t("undefined"!=typeof window&&"EyeDropper"in window)},[]);let n=(0,r.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?new window.EyeDropper().open(t):Promise.resolve(void 0)},[e]);return{supported:e,open:n}}},31706:function(e,t,n){"use strict";n.d(t,{useFavicon:function(){return i}});var r=n(2265),o=n(95206);let a={ico:"image/x-icon",png:"image/png",svg:"image/svg+xml",gif:"image/gif"};function i(e){let t=(0,r.useRef)();(0,o.useIsomorphicEffect)(()=>{if(!e)return;if(!t.current){document.querySelectorAll('link[rel*="icon"]').forEach(e=>document.head.removeChild(e));let e=document.createElement("link");e.rel="shortcut icon",t.current=e,document.querySelector("head").appendChild(e)}let n=e.split(".");t.current.setAttribute("type",a[n[n.length-1].toLowerCase()]),t.current.setAttribute("href",e)},[e])}},43533:function(e,t,n){"use strict";n.d(t,{useFetch:function(){return o}});var r=n(2265);function o(e){let{autoInvoke:t=!0,...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[o,a]=(0,r.useState)(null),[i,l]=(0,r.useState)(!1),[s,u]=(0,r.useState)(null),c=(0,r.useRef)(null),d=(0,r.useCallback)(()=>{if(e)return c.current&&c.current.abort(),c.current=new AbortController,l(!0),fetch(e,{signal:c.current.signal,...n}).then(e=>e.json()).then(e=>(a(e),l(!1),e)).catch(e=>{throw l(!1),"AbortError"!==e.name&&u(e),e})},[e]),f=(0,r.useCallback)(()=>{if(c.current){var e;null===(e=c.current)||void 0===e||e.abort("")}},[]);return(0,r.useEffect)(()=>(t&&d(),()=>{c.current&&c.current.abort("")}),[d,t]),{data:o,loading:i,error:s,refetch:d,abort:f}}},50721:function(e,t,n){"use strict";n.d(t,{useFocusWithin:function(){return o}});var r=n(2265);function o(){let{onBlur:e,onFocus:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,r.useRef)(),[o,a]=(0,r.useState)(!1),i=(0,r.useRef)(!1),l=e=>{a(e),i.current=e},s=e=>{i.current||(l(!0),null==t||t(e))},u=t=>{i.current&&!(t.currentTarget instanceof HTMLElement&&t.relatedTarget instanceof HTMLElement&&t.currentTarget.contains(t.relatedTarget))&&(l(!1),null==e||e(t))};return(0,r.useEffect)(()=>{if(n.current)return n.current.addEventListener("focusin",s),n.current.addEventListener("focusout",u),()=>{var e,t;null===(e=n.current)||void 0===e||e.removeEventListener("focusin",s),null===(t=n.current)||void 0===t||t.removeEventListener("focusout",u)}},[s,u]),{ref:n,focused:o}}},65954:function(e,t,n){"use strict";n.d(t,{useForceUpdate:function(){return a}});var r=n(2265);let o=e=>(e+1)%1e6;function a(){let[,e]=(0,r.useReducer)(o,0);return e}},49362:function(e,t,n){"use strict";n.d(t,{useFullscreen:function(){return u}});var r=n(2265);function o(){let e=window.document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement}async function a(){let e=window.document;return"function"==typeof e.exitFullscreen?e.exitFullscreen():"function"==typeof e.msExitFullscreen?e.msExitFullscreen():"function"==typeof e.webkitExitFullscreen?e.webkitExitFullscreen():"function"==typeof e.mozCancelFullScreen?e.mozCancelFullScreen():null}async function i(e){var t,n,r,o,a;return(null===(t=e.requestFullscreen)||void 0===t?void 0:t.call(e))||(null===(n=e.msRequestFullscreen)||void 0===n?void 0:n.call(e))||(null===(r=e.webkitEnterFullscreen)||void 0===r?void 0:r.call(e))||(null===(o=e.webkitRequestFullscreen)||void 0===o?void 0:o.call(e))||(null===(a=e.mozRequestFullscreen)||void 0===a?void 0:a.call(e))}let l=["","webkit","moz","ms"];function s(e,t){let{onFullScreen:n,onError:r}=t;return l.forEach(t=>{e.addEventListener("".concat(t,"fullscreenchange"),n),e.addEventListener("".concat(t,"fullscreenerror"),r)}),()=>{l.forEach(t=>{e.removeEventListener("".concat(t,"fullscreenchange"),n),e.removeEventListener("".concat(t,"fullscreenerror"),r)})}}function u(){let[e,t]=(0,r.useState)(!1),n=(0,r.useRef)(),l=(0,r.useCallback)(e=>{t(e.target===o())},[t]),u=(0,r.useCallback)(e=>{t(!1),console.error("[@mantine/hooks] use-fullscreen: Error attempting full-screen mode method: ".concat(e," (").concat(e.target,")"))},[t]),c=(0,r.useCallback)(async()=>{o()?await a():await i(n.current)},[]),d=(0,r.useCallback)(e=>{null===e?n.current=window.document.documentElement:n.current=e},[]);return(0,r.useEffect)(()=>!n.current&&window.document?(n.current=window.document.documentElement,s(n.current,{onFullScreen:l,onError:u})):n.current?s(n.current,{onFullScreen:l,onError:u}):void 0,[]),{ref:d,toggle:c,fullscreen:e}}},18815:function(e,t,n){"use strict";n.d(t,{useHash:function(){return a}});var r=n(2265),o=n(4963);function a(){let{getInitialValueInEffect:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,r.useState)(e?"":window.location.hash||"");return(0,o.useWindowEvent)("hashchange",()=>{let e=window.location.hash;t!==e&&n(e)}),(0,r.useEffect)(()=>{e&&n(window.location.hash)},[]),[t,e=>{let t=e.startsWith("#")?e:"#".concat(e);window.location.hash=t,n(t)}]}},59801:function(e,t,n){"use strict";n.d(t,{useHeadroom:function(){return u}});var r=n(2265),o=n(95206),a=n(4190);let i=(e,t)=>e<=t,l=(e,t,n,r,o,a)=>{let l=i(e,t);l&&!n.current?(n.current=!0,null==o||o()):l||!r||n.current?!l&&n.current&&(n.current=!1,null==a||a()):(n.current=!0,null==o||o())},s=()=>{let[e,t]=(0,r.useState)(0),[n,o]=(0,r.useState)(!1),[a,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let n;let r=()=>{i(!0),clearTimeout(n),n=setTimeout(()=>{i(!1)},300)},l=()=>{if(a)return;let n=window.pageYOffset||document.documentElement.scrollTop;o(n{window.removeEventListener("scroll",l),window.removeEventListener("resize",r)}},[e,a]),n};function u(){let{fixedAt:e=0,onPin:t,onFix:n,onRelease:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=(0,r.useRef)(!1),d=s(),[{y:f}]=(0,a.useWindowScroll)();return(0,o.useIsomorphicEffect)(()=>{l(f,e,c,d,t,u)},[f]),(0,o.useIsomorphicEffect)(()=>{i(f,e)&&(null==n||n())},[f,e,n]),!!i(f,e)||!!d}},30314:function(e,t,n){"use strict";function r(e){return t=>(function(e,t){let{alt:n,ctrl:r,meta:o,mod:a,shift:i,key:l}=e,{altKey:s,ctrlKey:u,metaKey:c,shiftKey:d,key:f}=t;if(n!==s)return!1;if(a){if(!u&&!c)return!1}else if(r!==u||o!==c)return!1;return i===d&&!!l&&(f.toLowerCase()===l.toLowerCase()||t.code.replace("Key","").toLowerCase()===l.toLowerCase())})(function(e){let t=e.toLowerCase().split("+").map(e=>e.trim()),n={alt:t.includes("alt"),ctrl:t.includes("ctrl"),meta:t.includes("meta"),mod:t.includes("mod"),shift:t.includes("shift")},r=["alt","ctrl","meta","shift","mod"],o=t.find(e=>!r.includes(e));return{...n,key:o}}(e),t)}function o(e){return t=>{let n="nativeEvent"in t?t.nativeEvent:t;e.forEach(e=>{let[o,a,i={preventDefault:!0}]=e;r(o)(n)&&(i.preventDefault&&t.preventDefault(),a(n))})}}n.d(t,{getHotkeyHandler:function(){return o},k:function(){return r}})},65071:function(e,t,n){"use strict";n.d(t,{useHotkeys:function(){return a}});var r=n(2265),o=n(30314);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["INPUT","TEXTAREA","SELECT"],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,r.useEffect)(()=>{let r=r=>{e.forEach(e=>{let[a,i,l={preventDefault:!0}]=e;(0,o.k)(a)(r)&&function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!(e.target instanceof HTMLElement)||(n?!t.includes(e.target.tagName):!e.target.isContentEditable&&!t.includes(e.target.tagName))}(r,t,n)&&(l.preventDefault&&r.preventDefault(),i(r))})};return document.documentElement.addEventListener("keydown",r),()=>document.documentElement.removeEventListener("keydown",r)},[e])}},38618:function(e,t,n){"use strict";n.d(t,{useHover:function(){return o}});var r=n(2265);function o(){let[e,t]=(0,r.useState)(!1),n=(0,r.useRef)(null),o=(0,r.useCallback)(()=>t(!0),[]),a=(0,r.useCallback)(()=>t(!1),[]);return(0,r.useEffect)(()=>{if(n.current)return n.current.addEventListener("mouseenter",o),n.current.addEventListener("mouseleave",a),()=>{var e,t;null===(e=n.current)||void 0===e||e.removeEventListener("mouseenter",o),null===(t=n.current)||void 0===t||t.removeEventListener("mouseleave",a)}},[]),{ref:n,hovered:e}}},22462:function(e,t,n){"use strict";n.d(t,{useIdle:function(){return a}});var r=n(2265);let o={events:["keypress","mousemove","touchmove","click","scroll"],initialState:!0};function a(e,t){let{events:n,initialState:a}={...o,...t},[i,l]=(0,r.useState)(a),s=(0,r.useRef)();return(0,r.useEffect)(()=>{let t=()=>{l(!1),s.current&&window.clearTimeout(s.current),s.current=window.setTimeout(()=>{l(!0)},e)};return n.forEach(e=>document.addEventListener(e,t)),()=>{n.forEach(e=>document.removeEventListener(e,t))}},[e]),i}},56106:function(e,t,n){"use strict";n.d(t,{useInViewport:function(){return o}});var r=n(2265);function o(){let e=(0,r.useRef)(null),[t,n]=(0,r.useState)(!1),o=(0,r.useMemo)(()=>"undefined"==typeof IntersectionObserver?null:new IntersectionObserver(e=>{let[t]=e;return n(t.isIntersecting)}),[e]);return(0,r.useEffect)(()=>e.current&&o?(o.observe(e.current),()=>o.disconnect()):()=>null,[]),{ref:e,inViewport:t}}},95768:function(e,t,n){"use strict";n.d(t,{useInputState:function(){return o}});var r=n(2265);function o(e){let[t,n]=(0,r.useState)(e);return[t,e=>{if(e){if("function"==typeof e)n(e);else if("object"==typeof e&&"nativeEvent"in e){let{currentTarget:t}=e;n("checkbox"===t.type?t.checked:t.value)}else n(e)}else n(e)}]}},21519:function(e,t,n){"use strict";n.d(t,{useIntersection:function(){return o}});var r=n(2265);function o(e){let[t,n]=(0,r.useState)(null),o=(0,r.useRef)(null);return{ref:(0,r.useCallback)(t=>{if(o.current&&(o.current.disconnect(),o.current=null),null===t){n(null);return}o.current=new IntersectionObserver(e=>{let[t]=e;n(t)},e),o.current.observe(t)},[null==e?void 0:e.rootMargin,null==e?void 0:e.root,null==e?void 0:e.threshold]),entry:t}}},37093:function(e,t,n){"use strict";n.d(t,{useInterval:function(){return o}});var r=n(2265);function o(e,t){let[n,o]=(0,r.useState)(!1),a=(0,r.useRef)(),i=(0,r.useRef)();(0,r.useEffect)(()=>{i.current=e},[e]);let l=()=>{o(e=>(e||a.current||(a.current=window.setInterval(i.current,t)),!0))},s=()=>{o(!1),window.clearInterval(a.current),a.current=void 0};return{start:l,stop:s,toggle:()=>{n?s():l()},active:n}}},82400:function(e,t,n){"use strict";n.d(t,{useIsFirstRender:function(){return o}});var r=n(2265);function o(){let e=(0,r.useRef)(!0);return!0===e.current?(e.current=!1,!0):e.current}},51571:function(e,t,n){"use strict";n.d(t,{useListState:function(){return o}});var r=n(2265);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],[t,n]=(0,r.useState)(e);return[t,{setState:n,append:function(){for(var e=arguments.length,t=Array(e),r=0;r[...e,...t])},prepend:function(){for(var e=arguments.length,t=Array(e),r=0;r[...t,...e])},insert:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o[...t.slice(0,e),...r,...t.slice(e)])},pop:()=>n(e=>{let t=[...e];return t.pop(),t}),shift:()=>n(e=>{let t=[...e];return t.shift(),t}),apply:e=>n(t=>t.map((t,n)=>e(t,n))),applyWhere:(e,t)=>n(n=>n.map((n,r)=>e(n,r)?t(n,r):n)),remove:function(){for(var e=arguments.length,t=Array(e),r=0;re.filter((e,n)=>!t.includes(n)))},reorder:e=>{let{from:t,to:r}=e;return n(e=>{let n=[...e],o=e[t];return n.splice(t,1),n.splice(r,0,o),n})},swap:e=>{let{from:t,to:r}=e;return n(e=>{let n=[...e],o=n[t],a=n[r];return n.splice(r,1,o),n.splice(t,1,a),n})},setItem:(e,t)=>n(n=>{let r=[...n];return r[e]=t,r}),setItemProp:(e,t,r)=>n(n=>{let o=[...n];return o[e]={...o[e],[t]:r},o}),filter:e=>{n(t=>t.filter(e))}}]}},88122:function(e,t,n){"use strict";n.d(t,{R:function(){return s},o:function(){return l}});var r=n(2265),o=n(4963);function a(e){try{return e&&JSON.parse(e)}catch(t){return e}}function i(e){return{getItem:t=>{try{return window[e].getItem(t)}catch(e){return console.warn("use-local-storage: Failed to get value from storage, localStorage is blocked"),null}},setItem:(t,n)=>{try{window[e].setItem(t,n)}catch(e){console.warn("use-local-storage: Failed to set value to storage, localStorage is blocked")}},removeItem:t=>{try{window[e].removeItem(t)}catch(e){console.warn("use-local-storage: Failed to remove value from storage, localStorage is blocked")}}}}function l(e,t){let n="localStorage"===e?"mantine-local-storage":"mantine-session-storage",{getItem:l,setItem:s,removeItem:u}=i(e);return function(i){let{key:c,defaultValue:d,getInitialValueInEffect:f=!0,deserialize:p=a,serialize:v=e=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"use-local-storage";try{return JSON.stringify(e)}catch(e){throw Error("@mantine/hooks ".concat(t,": Failed to serialize the value"))}})(e,t)}=i,m=(0,r.useCallback)(t=>{let n;try{n="undefined"==typeof window||!(e in window)||null===window[e]||!!t}catch(e){n=!0}if(n)return d;let r=l(c);return null!==r?p(r):d},[c,d]),[h,g]=(0,r.useState)(m(f)),y=(0,r.useCallback)(e=>{e instanceof Function?g(t=>{let r=e(t);return s(c,v(r)),window.dispatchEvent(new CustomEvent(n,{detail:{key:c,value:e(t)}})),r}):(s(c,v(e)),window.dispatchEvent(new CustomEvent(n,{detail:{key:c,value:e}})),g(e))},[c]),b=(0,r.useCallback)(()=>{u(c),window.dispatchEvent(new CustomEvent(n,{detail:{key:c,value:d}}))},[]);return(0,o.useWindowEvent)("storage",t=>{if(t.storageArea===window[e]&&t.key===c){var n;g(p(null!==(n=t.newValue)&&void 0!==n?n:void 0))}}),(0,o.useWindowEvent)(n,e=>{e.detail.key===c&&g(e.detail.value)}),(0,r.useEffect)(()=>{void 0!==d&&void 0===h&&y(d)},[d,h,y]),(0,r.useEffect)(()=>{let e=m();void 0!==e&&y(e)},[]),[void 0===h?d:h,y,b]}}function s(e){let{getItem:t}=i(e);return function(n){let r,{key:o,defaultValue:i,deserialize:l=a}=n;try{r="undefined"==typeof window||!(e in window)||null===window[e]}catch(e){r=!0}if(r)return i;let s=t(o);return null!==s?l(s):i}}},83339:function(e,t,n){"use strict";n.d(t,{readLocalStorageValue:function(){return a},useLocalStorage:function(){return o}});var r=n(88122);function o(e){return(0,r.o)("localStorage","use-local-storage")(e)}let a=(0,r.R)("localStorage")},27229:function(e,t,n){"use strict";n.d(t,{useLogger:function(){return a}});var r=n(2265),o=n(87957);function a(e,t){return(0,r.useEffect)(()=>(console.log("".concat(e," mounted"),...t),()=>console.log("".concat(e," unmounted"))),[]),(0,o.useDidUpdate)(()=>{console.log("".concat(e," updated"),...t)},t),null}},76779:function(e,t,n){"use strict";n.d(t,{useMap:function(){return a}});var r=n(2265),o=n(65954);function a(e){let t=(0,r.useRef)(new Map(e)),n=(0,o.useForceUpdate)();return t.current.set=function(){for(var e=arguments.length,r=Array(e),o=0;ot(!0),[]),e}},27643:function(e,t,n){"use strict";n.d(t,{useMouse:function(){return o}});var r=n(2265);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{resetOnExit:!1},[t,n]=(0,r.useState)({x:0,y:0}),o=(0,r.useRef)(),a=e=>{if(o.current){let t=e.currentTarget.getBoundingClientRect();n({x:Math.max(0,Math.round(e.pageX-t.left-(window.pageXOffset||window.scrollX))),y:Math.max(0,Math.round(e.pageY-t.top-(window.pageYOffset||window.scrollY)))})}else n({x:e.clientX,y:e.clientY})},i=()=>n({x:0,y:0});return(0,r.useEffect)(()=>{let t=(null==o?void 0:o.current)?o.current:document;return t.addEventListener("mousemove",a),e.resetOnExit&&t.addEventListener("mouseleave",i),()=>{t.removeEventListener("mousemove",a),e.resetOnExit&&t.removeEventListener("mouseleave",i)}},[o.current]),{ref:o,...t}}},46706:function(e,t,n){"use strict";n.d(t,{clampUseMovePosition:function(){return a},useMove:function(){return i}});var r=n(2265),o=n(96236);function a(e){return{x:(0,o.clamp)(e.x,0,1),y:(0,o.clamp)(e.y,0,1)}}function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",a=(0,r.useRef)(null),i=(0,r.useRef)(!1),l=(0,r.useRef)(!1),s=(0,r.useRef)(0),[u,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{i.current=!0},[]),(0,r.useEffect)(()=>{var r,u;let d=t=>{let{x:r,y:l}=t;cancelAnimationFrame(s.current),s.current=requestAnimationFrame(()=>{if(i.current&&a.current){a.current.style.userSelect="none";let t=a.current.getBoundingClientRect();if(t.width&&t.height){let a=(0,o.clamp)((r-t.left)/t.width,0,1);e({x:"ltr"===n?a:1-a,y:(0,o.clamp)((l-t.top)/t.height,0,1)})}}})},f=()=>{document.addEventListener("mousemove",g),document.addEventListener("mouseup",m),document.addEventListener("touchmove",b),document.addEventListener("touchend",m)},p=()=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchmove",b),document.removeEventListener("touchend",m)},v=()=>{!l.current&&i.current&&(l.current=!0,"function"==typeof(null==t?void 0:t.onScrubStart)&&t.onScrubStart(),c(!0),f())},m=()=>{l.current&&i.current&&(l.current=!1,c(!1),p(),setTimeout(()=>{"function"==typeof(null==t?void 0:t.onScrubEnd)&&t.onScrubEnd()},0))},h=e=>{v(),e.preventDefault(),g(e)},g=e=>d({x:e.clientX,y:e.clientY}),y=e=>{e.cancelable&&e.preventDefault(),v(),b(e)},b=e=>{e.cancelable&&e.preventDefault(),d({x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY})};return null===(r=a.current)||void 0===r||r.addEventListener("mousedown",h),null===(u=a.current)||void 0===u||u.addEventListener("touchstart",y,{passive:!1}),()=>{a.current&&(a.current.removeEventListener("mousedown",h),a.current.removeEventListener("touchstart",y))}},[n,e]),{ref:a,active:u}}},64027:function(e,t,n){"use strict";n.d(t,{useMutationObserver:function(){return o}});var r=n(2265);function o(e,t,n){let o=(0,r.useRef)(),a=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let r="function"==typeof n?n():n;return(r||a.current)&&(o.current=new MutationObserver(e),o.current.observe(r||a.current,t)),()=>{var e;null===(e=o.current)||void 0===e||e.disconnect()}},[e,t]),a}},44707:function(e,t,n){"use strict";n.d(t,{useNetwork:function(){return i}});var r=n(2265),o=n(4963);function a(){if("undefined"==typeof navigator)return{};let e=navigator,t=e.connection||e.mozConnection||e.webkitConnection;return t?{downlink:null==t?void 0:t.downlink,downlinkMax:null==t?void 0:t.downlinkMax,effectiveType:null==t?void 0:t.effectiveType,rtt:null==t?void 0:t.rtt,saveData:null==t?void 0:t.saveData,type:null==t?void 0:t.type}:{}}function i(){let[e,t]=(0,r.useState)({online:!0}),n=(0,r.useCallback)(()=>t(e=>({...e,...a()})),[]);return(0,o.useWindowEvent)("online",()=>t({online:!0,...a()})),(0,o.useWindowEvent)("offline",()=>t({online:!1,...a()})),(0,r.useEffect)(()=>{let e=navigator;if(e.connection)return t({online:e.onLine,...a()}),e.connection.addEventListener("change",n),()=>e.connection.removeEventListener("change",n);"boolean"==typeof e.onLine&&t(t=>({...t,online:e.onLine}))},[]),e}},31572:function(e,t,n){"use strict";n.d(t,{useOrientation:function(){return a}});var r=n(2265),o=n(95206);function a(){let[e,t]=(0,r.useState)({angle:0,type:"landscape-primary"}),n=e=>{let n=e.currentTarget;t({angle:(null==n?void 0:n.angle)||0,type:(null==n?void 0:n.type)||"landscape-primary"})};return(0,o.useIsomorphicEffect)(()=>{var e;return null===(e=window.screen.orientation)||void 0===e||e.addEventListener("change",n),()=>{var e;return null===(e=window.screen.orientation)||void 0===e?void 0:e.removeEventListener("change",n)}},[]),e}},81430:function(e,t,n){"use strict";n.d(t,{useOs:function(){return i}});var r=n(2265),o=n(95206);function a(){if("undefined"==typeof window)return"undetermined";let{userAgent:e}=window.navigator;return/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i.test(e)?"macos":/(iPhone)|(iPad)|(iPod)/i.test(e)?"ios":/(Win32)|(Win64)|(Windows)|(WinCE)/i.test(e)?"windows":/Android/i.test(e)?"android":/Linux/i.test(e)?"linux":"undetermined"}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{getValueInEffect:!0},[t,n]=(0,r.useState)(e.getValueInEffect?"undetermined":a());return(0,o.useIsomorphicEffect)(()=>{e.getValueInEffect&&n(a)},[]),t}},40737:function(e,t,n){"use strict";n.d(t,{usePageLeave:function(){return o}});var r=n(2265);function o(e){(0,r.useEffect)(()=>(document.documentElement.addEventListener("mouseleave",e),()=>document.documentElement.removeEventListener("mouseleave",e)),[])}},82615:function(e,t,n){"use strict";n.d(t,{usePrevious:function(){return o}});var r=n(2265);function o(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}},89892:function(e,t,n){"use strict";n.d(t,{useQueue:function(){return o}});var r=n(2265);function o(e){let{initialValues:t=[],limit:n}=e,[{state:o,queue:a},i]=(0,r.useState)({state:t.slice(0,n),queue:t.slice(n)});return{state:o,queue:a,add:function(){for(var e=arguments.length,t=Array(e),r=0;r{let r=[...e.state,...e.queue,...t];return{state:r.slice(0,n),queue:r.slice(n)}})},update:e=>i(t=>{let r=e([...t.state,...t.queue]);return{state:r.slice(0,n),queue:r.slice(n)}}),cleanQueue:()=>i(e=>({state:e.state,queue:[]}))}}},49814:function(e,t,n){"use strict";n.d(t,{useElementSize:function(){return i},useResizeObserver:function(){return a}});var r=n(2265);let o={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function a(e){let t=(0,r.useRef)(0),n=(0,r.useRef)(null),[a,i]=(0,r.useState)(o),l=(0,r.useMemo)(()=>"undefined"!=typeof window?new ResizeObserver(e=>{let r=e[0];r&&(cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{n.current&&i(r.contentRect)}))}):null,[]);return(0,r.useEffect)(()=>(n.current&&(null==l||l.observe(n.current,e)),()=>{null==l||l.disconnect(),t.current&&cancelAnimationFrame(t.current)}),[n.current]),[n,a]}function i(e){let[t,{width:n,height:r}]=a(e);return{ref:t,width:n,height:r}}},79802:function(e,t,n){"use strict";n.d(t,{useScrollIntoView:function(){return c}});var r=n(2265),o=n(47993),a=n(4963);let i=e=>e<.5?2*e*e:-1+(4-2*e)*e,l=e=>{let{axis:t,target:n,parent:r,alignment:o,offset:a,isList:i}=e;if(!n||!r&&"undefined"==typeof document)return 0;let l=!!r,s=(r||document.body).getBoundingClientRect(),u=n.getBoundingClientRect(),c=e=>u[e]-s[e];if("y"===t){let e=c("top");if(0===e)return 0;if("start"===o){let t=e-a;return t<=u.height*(i?0:1)||!i?t:0}let t=l?s.height:window.innerHeight;if("end"===o){let n=e+a-t+u.height;return n>=-u.height*(i?0:1)||!i?n:0}return"center"===o?e-t/2+u.height/2:0}if("x"===t){let e=c("left");if(0===e)return 0;if("start"===o){let t=e-a;return t<=u.width||!i?t:0}let t=l?s.width:window.innerWidth;if("end"===o){let n=e+a-t+u.width;return n>=-u.width||!i?n:0}if("center"===o)return e-t/2+u.width/2}return 0},s=e=>{let{axis:t,parent:n}=e;if(!n&&"undefined"==typeof document)return 0;let r="y"===t?"scrollTop":"scrollLeft";if(n)return n[r];let{body:o,documentElement:a}=document;return o[r]+a[r]},u=e=>{let{axis:t,parent:n,distance:r}=e;if(!n&&"undefined"==typeof document)return;let o="y"===t?"scrollTop":"scrollLeft";if(n)n[o]=r;else{let{body:e,documentElement:t}=document;e[o]=r,t[o]=r}};function c(){let{duration:e=1250,axis:t="y",onScrollFinish:n,easing:c=i,offset:d=0,cancelable:f=!0,isList:p=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=(0,r.useRef)(0),m=(0,r.useRef)(0),h=(0,r.useRef)(!1),g=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,o.useReducedMotion)(),w=()=>{v.current&&cancelAnimationFrame(v.current)},x=(0,r.useCallback)(function(){var r;let{alignment:o="start"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.current=!1,v.current&&w();let a=null!==(r=s({parent:g.current,axis:t}))&&void 0!==r?r:0,i=l({parent:g.current,target:y.current,axis:t,alignment:o,offset:d,isList:p})-(g.current?0:a);!function r(){0===m.current&&(m.current=performance.now());let o=performance.now()-m.current,l=b||0===e?1:o/e,s=a+i*c(l);u({parent:g.current,axis:t,distance:s}),!h.current&&l<1?v.current=requestAnimationFrame(r):("function"==typeof n&&n(),m.current=0,v.current=0,w())}()},[t,e,c,p,d,n,b]),S=()=>{f&&(h.current=!0)};return(0,a.useWindowEvent)("wheel",S,{passive:!0}),(0,a.useWindowEvent)("touchmove",S,{passive:!0}),(0,r.useEffect)(()=>w,[]),{scrollableRef:g,targetRef:y,scrollIntoView:x,cancel:w}}},96599:function(e,t,n){"use strict";n.d(t,{readSessionStorageValue:function(){return a},useSessionStorage:function(){return o}});var r=n(88122);function o(e){return(0,r.o)("sessionStorage","use-session-storage")(e)}let a=(0,r.R)("sessionStorage")},80140:function(e,t,n){"use strict";n.d(t,{useSetState:function(){return o}});var r=n(2265);function o(e){let[t,n]=(0,r.useState)(e);return[t,(0,r.useCallback)(e=>n(t=>({...t,..."function"==typeof e?e(t):e})),[])]}},48610:function(e,t,n){"use strict";n.d(t,{useSet:function(){return a}});var r=n(2265),o=n(65954);function a(e){let t=(0,r.useRef)(new Set(e)),n=(0,o.useForceUpdate)();return t.current.add=function(){for(var e=arguments.length,r=Array(e),o=0;on(t=>{let n=[...t.history.slice(0,t.current+1),e];return{history:n,current:n.length-1}}),[]),a=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return n(t=>({history:t.history,current:Math.max(0,t.current-e)}))},[]),i=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return n(t=>({history:t.history,current:Math.min(t.history.length-1,t.current+e)}))},[]),l=(0,r.useMemo)(()=>({set:o,forward:i,back:a}),[]);return[t.history[t.current],l,t]}},33487:function(e,t,n){"use strict";n.d(t,{useTextSelection:function(){return a}});var r=n(2265),o=n(65954);function a(){let e=(0,o.useForceUpdate)(),[t,n]=(0,r.useState)(null),a=()=>{n(document.getSelection()),e()};return(0,r.useEffect)(()=>(n(document.getSelection()),document.addEventListener("selectionchange",a),()=>document.removeEventListener("selectionchange",a)),[]),t}},93729:function(e,t,n){"use strict";n.d(t,{useThrottledCallback:function(){return a}});var r=n(2265),o=n(43896);function a(e,t){let n=(0,o.useCallbackRef)(e),a=(0,r.useRef)(!0),i=(0,r.useRef)(-1);return(0,r.useCallback)(function(){for(var e=arguments.length,r=Array(e),o=0;o{a.current=!0},t))},[t])}},38210:function(e,t,n){"use strict";n.d(t,{useThrottledState:function(){return o}});var r=n(2265);function o(e,t){let[n,o]=(0,r.useState)(e),a=(0,r.useRef)(null),i=(0,r.useRef)(!0),l=()=>window.clearTimeout(a.current),s=(0,r.useCallback)(e=>{i.current&&(o(e),l(),i.current=!1,a.current=window.setTimeout(()=>{i.current=!0},t))},[t]);return(0,r.useEffect)(()=>l,[]),[n,s]}},13308:function(e,t,n){"use strict";n.d(t,{useThrottledValue:function(){return o}});var r=n(2265);function o(e,t){let[n,o]=(0,r.useState)(e),a=(0,r.useRef)(e),i=(0,r.useRef)(!0),l=(0,r.useRef)(-1);return(0,r.useEffect)(()=>{i.current&&a.current!==e&&(o(e),a.current=e,window.clearTimeout(l.current),i.current=!1,l.current=window.setTimeout(()=>{i.current=!0},t))},[e]),(0,r.useEffect)(()=>()=>window.clearTimeout(l.current),[]),n}},75058:function(e,t,n){"use strict";n.d(t,{useTimeout:function(){return o}});var r=n(2265);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{autoInvoke:!1},o=(0,r.useRef)(null),a=(0,r.useCallback)(function(){for(var n=arguments.length,r=Array(n),a=0;a{e(r),o.current=null},t))},[t]),i=(0,r.useCallback)(()=>{o.current&&(window.clearTimeout(o.current),o.current=null)},[]);return(0,r.useEffect)(()=>(n.autoInvoke&&a(),i),[i,a]),{start:a,clear:i}}},85497:function(e,t,n){"use strict";n.d(t,{useToggle:function(){return o}});var r=n(2265);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[!1,!0],[[t],n]=(0,r.useReducer)((e,t)=>{let n=t instanceof Function?t(e[0]):t,r=Math.abs(e.indexOf(n));return e.slice(r).concat(e.slice(0,r))},e);return[t,n]}},83154:function(e,t,n){"use strict";n.d(t,{useValidatedState:function(){return o}});var r=n(2265);function o(e,t,n){let[o,a]=(0,r.useState)(e),[i,l]=(0,r.useState)(t(e)?e:void 0),[s,u]=(0,r.useState)("boolean"==typeof n?n:t(e));return[{value:o,lastValidValue:i,valid:s},e=>{t(e)?(l(e),u(!0)):u(!1),a(e)}]}},73958:function(e,t,n){"use strict";n.d(t,{useViewportSize:function(){return i}});var r=n(2265),o=n(4963);let a={passive:!0};function i(){let[e,t]=(0,r.useState)({width:0,height:0}),n=(0,r.useCallback)(()=>{t({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return(0,o.useWindowEvent)("resize",n,a),(0,o.useWindowEvent)("orientationchange",n,a),(0,r.useEffect)(n,[]),e}},4190:function(e,t,n){"use strict";n.d(t,{useWindowScroll:function(){return l}});var r=n(2265),o=n(4963);function a(){return"undefined"!=typeof window?{x:window.pageXOffset,y:window.pageYOffset}:{x:0,y:0}}function i(e){let{x:t,y:n}=e;if("undefined"!=typeof window){let e={behavior:"smooth"};"number"==typeof t&&(e.left=t),"number"==typeof n&&(e.top=n),window.scrollTo(e)}}function l(){let[e,t]=(0,r.useState)({x:0,y:0});return(0,o.useWindowEvent)("scroll",()=>t(a())),(0,o.useWindowEvent)("resize",()=>t(a())),(0,r.useEffect)(()=>{t(a())},[]),[e,i]}},96236:function(e,t,n){"use strict";function r(e,t,n){return void 0===t&&void 0===n?e:void 0!==t&&void 0===n?Math.max(e,t):void 0===t&&void 0!==n?Math.min(e,n):Math.min(Math.max(e,t),n)}n.d(t,{clamp:function(){return r}})},26973:function(e,t,n){"use strict";function r(e){return"string"!=typeof e?"":e.charAt(0).toLowerCase()+e.slice(1)}n.d(t,{lowerFirst:function(){return r}})},38255:function(e,t,n){"use strict";function r(e,t){let n=Math.abs(t-e)+1;return e>t?Array.from({length:n},(t,n)=>e-n):Array.from({length:n},(t,n)=>n+e)}n.d(t,{range:function(){return r}})},28039:function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;let n=Object.keys(e),{length:r}=n;if(r!==Object.keys(t).length)return!1;for(let o=0;o