"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6579],{32735:function(e,r,t){t.d(r,{H:function(){return l}});var a=t(69079),o=t(78866),n=t(33065);let l={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var i=(0,a.k)((e,{spacing:r,position:t,noWrap:a,grow:i,align:c,count:s})=>({root:{boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:c||"center",flexWrap:a?"nowrap":"wrap",justifyContent:l[t],gap:(0,o.a)({size:r,sizes:e.spacing}),"& > *":{boxSizing:"border-box",maxWidth:i?`calc(${100/s}% - (${(0,n.h)((0,o.a)({size:r,sizes:e.spacing}))} - ${(0,o.a)({size:r,sizes:e.spacing})} / ${s}))`:void 0,flexGrow:i?1:0}}}));r.Z=i},16579:function(e,r,t){t.d(r,{m:function(){return eE}});var a=t(2265),o=t(10239),n=t(54682);let l="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",[i,c]=(0,n.R)("Tabs component was not found in the tree");var s=t(33065),d=t(69079),f=t(32735),b=Object.defineProperty,p=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,v=(e,r,t)=>r in e?b(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,m=(e,r)=>{for(var t in r||(r={}))u.call(r,t)&&v(e,t,r[t]);if(p)for(var t of p(r))g.call(r,t)&&v(e,t,r[t]);return e},y=(0,d.k)((e,r,{variant:t})=>({tabsList:m({display:"flex",flexWrap:"wrap",flexDirection:"vertical"===r.orientation?"column":"row",justifyContent:f.H[r.position],'& [role="tab"]':{flex:r.grow?1:void 0}},function({orientation:e,inverted:r,placement:t},a,o){let n="vertical"===e;return"default"===o?{[n?"left"===t?"borderRight":"borderLeft":r?"borderTop":"borderBottom"]:`${(0,s.h)(2)} solid ${"dark"===a.colorScheme?a.colors.dark[4]:a.colors.gray[3]}`}:"outline"===o?{[n?"left"===t?"borderRight":"borderLeft":r?"borderTop":"borderBottom"]:`${(0,s.h)(1)} solid ${"dark"===a.colorScheme?a.colors.dark[4]:a.colors.gray[3]}`}:"pills"===o?{gap:`calc(${a.spacing.sm} / 2)`}:{}}(r,e,t))})),h=t(96061),w=Object.defineProperty,O=Object.defineProperties,k=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,T=(e,r,t)=>r in e?w(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,S=(e,r)=>{for(var t in r||(r={}))x.call(r,t)&&T(e,t,r[t]);if(P)for(var t of P(r))j.call(r,t)&&T(e,t,r[t]);return e},I=(e,r)=>O(e,k(r)),N=(e,r)=>{var t={};for(var a in e)x.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&P)for(var a of P(e))0>r.indexOf(a)&&j.call(e,a)&&(t[a]=e[a]);return t};let $={grow:!1,position:"left"},C=(0,a.forwardRef)((e,r)=>{let t=(0,o.N4)("TabsList",$,e),{children:n,className:l,grow:i,position:s}=t,d=N(t,["children","className","grow","position"]),{orientation:f,variant:b,color:p,radius:u,inverted:g,placement:v,classNames:m,styles:w,unstyled:O}=c(),{classes:k,cx:P}=y({orientation:f,grow:i,color:p,position:s,radius:u,inverted:g,placement:v},{name:"Tabs",unstyled:O,classNames:m,styles:w,variant:b});return a.createElement(h.x,I(S({},d),{className:P(k.tabsList,l),ref:r,role:"tablist","aria-orientation":f}),n)});C.displayName="@mantine/core/TabsList";var E=t(41236),R=(0,d.k)((e,{orientation:r})=>({panel:{flex:"vertical"===r?1:void 0}})),D=Object.defineProperty,z=Object.defineProperties,L=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,K=(e,r,t)=>r in e?D(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,M=(e,r)=>{for(var t in r||(r={}))W.call(r,t)&&K(e,t,r[t]);if(A)for(var t of A(r))B.call(r,t)&&K(e,t,r[t]);return e},H=(e,r)=>z(e,L(r)),_=(e,r)=>{var t={};for(var a in e)W.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&A)for(var a of A(e))0>r.indexOf(a)&&B.call(e,a)&&(t[a]=e[a]);return t};let V={},q=(0,a.forwardRef)((e,r)=>{let t=(0,o.N4)("TabsPanel",V,e),{value:n,children:l,sx:i,className:s}=t,d=_(t,["value","children","sx","className"]),f=c(),{classes:b,cx:p}=R({orientation:f.orientation,color:f.color,radius:f.radius,inverted:f.inverted,placement:f.placement},{name:"Tabs",unstyled:f.unstyled,classNames:f.classNames,styles:f.styles,variant:f.variant}),u=f.getPanelId(n),g=f.value===n,v=f.keepMounted?l:g?l:null;return(0,a.useEffect)(()=>(f.setMountedPanelIds(e=>[...e,u]),f.setMountedPanelIds(e=>e.filter(e=>e!==u))),[u]),a.createElement(h.x,H(M({},d),{ref:r,sx:[{display:g?void 0:"none"},...(0,E.R)(i)],className:p(b.panel,s),role:"tabpanel",id:u,"aria-labelledby":f.getTabId(n)}),v)});q.displayName="@mantine/core/TabsPanel";var F=t(82550),G=Object.defineProperty,U=Object.defineProperties,Z=Object.getOwnPropertyDescriptors,J=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,Y=(e,r,t)=>r in e?G(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,ee=(e,r)=>{for(var t in r||(r={}))Q.call(r,t)&&Y(e,t,r[t]);if(J)for(var t of J(r))X.call(r,t)&&Y(e,t,r[t]);return e},er=(e,r)=>U(e,Z(r)),et=(0,d.k)((e,r,{variant:t})=>({tabLabel:{},tab:ee({position:"relative",padding:`${e.spacing.xs} ${e.spacing.md}`,paddingLeft:r.withIcon?e.spacing.xs:void 0,paddingRight:r.withRightSection?e.spacing.xs:void 0,fontSize:e.fontSizes.sm,whiteSpace:"nowrap",zIndex:0,display:"flex",alignItems:"center",justifyContent:"horizontal"===r.orientation?"center":void 0,lineHeight:1,"&:disabled":ee({opacity:.5,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"})),"&:focus":{zIndex:1}},function(e,{orientation:r,color:t,radius:a,inverted:o,placement:n},l){let i="vertical"===r,c=e.fn.variant({color:t,variant:"filled"}),d=(0,s.h)(e.fn.radius(a)),f="vertical"===r?"left"===n?`${d} 0 0 ${d}`:` 0 ${d} ${d} 0`:o?`0 0 ${d} ${d}`:`${d} ${d} 0 0`;return"default"===l?er(ee({[i?"left"===n?"borderRight":"borderLeft":o?"borderTop":"borderBottom"]:`${(0,s.h)(2)} solid transparent`,[i?"left"===n?"marginRight":"marginLeft":o?"marginTop":"marginBottom"]:(0,s.h)(-2),borderRadius:f},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]})),{"&[data-active]":ee({borderColor:c.background,color:"dark"===e.colorScheme?e.white:e.black},e.fn.hover({borderColor:c.background}))}):"outline"===l?{borderRadius:f,border:`${(0,s.h)(1)} solid transparent`,[i?"left"===n?"borderRight":"borderLeft":o?"borderTop":"borderBottom"]:"none","&[data-active]":{borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],"&::before":{content:'""',backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,position:"absolute",bottom:i?0:o?"unset":(0,s.h)(-1),top:i?0:o?(0,s.h)(-1):"unset",[i?"width":"height"]:(0,s.h)(1),right:i?"left"===n?(0,s.h)(-1):"unset":0,left:i?"left"===n?"unset":(0,s.h)(-1):0}}}:"pills"===l?er(ee({borderRadius:e.fn.radius(a)},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]})),{"&[data-active]":ee({backgroundColor:c.background,color:e.white},e.fn.hover({backgroundColor:c.background}))}):{}}(e,r,t)),tabRightSection:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginLeft:(0,s.h)(7)}},tabIcon:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginRight:(0,s.h)(7)}}})),ea=t(98437),eo=Object.defineProperty,en=Object.defineProperties,el=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,ec=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,ed=(e,r,t)=>r in e?eo(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,ef=(e,r)=>{for(var t in r||(r={}))ec.call(r,t)&&ed(e,t,r[t]);if(ei)for(var t of ei(r))es.call(r,t)&&ed(e,t,r[t]);return e},eb=(e,r)=>en(e,el(r)),ep=(e,r)=>{var t={};for(var a in e)ec.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&ei)for(var a of ei(e))0>r.indexOf(a)&&es.call(e,a)&&(t[a]=e[a]);return t};let eu={},eg=(0,a.forwardRef)((e,r)=>{let t=(0,o.N4)("TabsTab",eu,e),{value:n,children:l,onKeyDown:i,onClick:s,className:d,icon:f,rightSection:b,color:p}=t,u=ep(t,["value","children","onKeyDown","onClick","className","icon","rightSection","color"]),g=c(),v=!!f,m=!!b,{theme:y,classes:h,cx:w}=et({withIcon:v||m&&!l,withRightSection:m||v&&!l,orientation:g.orientation,color:p||g.color,radius:g.radius,inverted:g.inverted,placement:g.placement},{name:"Tabs",unstyled:g.unstyled,classNames:g.classNames,styles:g.styles,variant:g.variant}),O=n===g.value,k=g.getPanelId(n),P=g.mountedPanelIds.includes(n)?k:void 0;return a.createElement(ea.k,eb(ef({},u),{unstyled:g.unstyled,className:w(h.tab,d),"data-active":O||void 0,ref:r,type:"button",role:"tab",id:g.getTabId(n),"aria-selected":O,tabIndex:O||null===g.value?0:-1,"aria-controls":P,onClick:e=>{g.onTabChange(g.allowTabDeactivation&&n===g.value?null:n),null==s||s(e)},onKeyDown:(0,F.R)({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:g.activateTabWithKeyboard,loop:g.loop,dir:y.dir,orientation:g.orientation,onKeyDown:i})}),f&&a.createElement("span",{className:h.tabIcon},f),l&&a.createElement("span",{className:h.tabLabel},l),b&&a.createElement("span",{className:h.tabRightSection},b))});function ev(e,r){return t=>{if("string"!=typeof t||0===t.trim().length)throw Error(r);return`${e}-${t}`}}eg.displayName="@mantine/core/Tab";var em=t(21518),ey=t(37716);function eh({defaultValue:e,value:r,onTabChange:t,orientation:o,children:n,loop:c,id:s,activateTabWithKeyboard:d,allowTabDeactivation:f,variant:b,color:p,radius:u,inverted:g,placement:v,keepMounted:m=!0,classNames:y,styles:h,unstyled:w}){let O=(0,em.M)(s),[k,P]=(0,a.useState)([]),[x,j]=(0,ey.C)({value:r,defaultValue:e,finalValue:null,onChange:t});return a.createElement(i,{value:{placement:v,value:x,orientation:o,id:O,loop:c,activateTabWithKeyboard:d,getTabId:ev(`${O}-tab`,l),getPanelId:ev(`${O}-panel`,l),onTabChange:j,setMountedPanelIds:P,mountedPanelIds:k,allowTabDeactivation:f,variant:b,color:p,radius:u,inverted:g,keepMounted:m,classNames:y,styles:h,unstyled:w}},n)}eh.displayName="@mantine/core/TabsProvider";var ew=(0,d.k)((e,{orientation:r,placement:t})=>({root:{display:"vertical"===r?"flex":void 0,flexDirection:"right"===t?"row-reverse":"row"}})),eO=Object.defineProperty,ek=Object.defineProperties,eP=Object.getOwnPropertyDescriptors,ex=Object.getOwnPropertySymbols,ej=Object.prototype.hasOwnProperty,eT=Object.prototype.propertyIsEnumerable,eS=(e,r,t)=>r in e?eO(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,eI=(e,r)=>{for(var t in r||(r={}))ej.call(r,t)&&eS(e,t,r[t]);if(ex)for(var t of ex(r))eT.call(r,t)&&eS(e,t,r[t]);return e},eN=(e,r)=>ek(e,eP(r)),e$=(e,r)=>{var t={};for(var a in e)ej.call(e,a)&&0>r.indexOf(a)&&(t[a]=e[a]);if(null!=e&&ex)for(var a of ex(e))0>r.indexOf(a)&&eT.call(e,a)&&(t[a]=e[a]);return t};let eC={orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,allowTabDeactivation:!1,unstyled:!1,inverted:!1,variant:"default",placement:"left"},eE=(0,a.forwardRef)((e,r)=>{let t=(0,o.N4)("Tabs",eC,e),{defaultValue:n,value:l,orientation:i,loop:c,activateTabWithKeyboard:s,allowTabDeactivation:d,children:f,id:b,onTabChange:p,variant:u,color:g,className:v,unstyled:m,classNames:y,styles:w,radius:O,inverted:k,keepMounted:P,placement:x}=t,j=e$(t,["defaultValue","value","orientation","loop","activateTabWithKeyboard","allowTabDeactivation","children","id","onTabChange","variant","color","className","unstyled","classNames","styles","radius","inverted","keepMounted","placement"]),{classes:T,cx:S}=ew({orientation:i,color:g,radius:O,inverted:k,placement:x},{unstyled:m,name:"Tabs",classNames:y,styles:w,variant:u});return a.createElement(eh,{activateTabWithKeyboard:s,defaultValue:n,orientation:i,onTabChange:p,value:l,id:b,loop:c,allowTabDeactivation:d,color:g,variant:u,radius:O,inverted:k,keepMounted:P,placement:x,classNames:y,styles:w,unstyled:m},a.createElement(h.x,eN(eI({},j),{className:S(T.root,v),id:b,ref:r}),f))});eE.List=C,eE.Tab=eg,eE.Panel=q,eE.displayName="@mantine/core/Tabs"},82550:function(e,r,t){t.d(r,{R:function(){return o}});var a=t(76210);function o({parentSelector:e,siblingSelector:r,onKeyDown:t,loop:o=!0,activateOnFocus:n=!1,dir:l="rtl",orientation:i}){return c=>{var s;null==t||t(c);let d=Array.from((null==(s=(0,a.p)(c.currentTarget,e))?void 0:s.querySelectorAll(r))||[]).filter(r=>{var t;return t=c.currentTarget,(0,a.p)(t,e)===(0,a.p)(r,e)}),f=d.findIndex(e=>c.currentTarget===e),b=function(e,r,t){for(let t=e+1;t<r.length;t+=1)if(!r[t].disabled)return t;if(t){for(let e=0;e<r.length;e+=1)if(!r[e].disabled)return e}return e}(f,d,o),p=function(e,r,t){for(let t=e-1;t>=0;t-=1)if(!r[t].disabled)return t;if(t){for(let e=r.length-1;e>-1;e-=1)if(!r[e].disabled)return e}return e}(f,d,o),u="rtl"===l?p:b,g="rtl"===l?b:p;switch(c.key){case"ArrowRight":"horizontal"===i&&(c.stopPropagation(),c.preventDefault(),d[u].focus(),n&&d[u].click());break;case"ArrowLeft":"horizontal"===i&&(c.stopPropagation(),c.preventDefault(),d[g].focus(),n&&d[g].click());break;case"ArrowUp":"vertical"===i&&(c.stopPropagation(),c.preventDefault(),d[p].focus(),n&&d[p].click());break;case"ArrowDown":"vertical"===i&&(c.stopPropagation(),c.preventDefault(),d[b].focus(),n&&d[b].click());break;case"Home":c.stopPropagation(),c.preventDefault(),d[0].disabled||d[0].focus();break;case"End":{c.stopPropagation(),c.preventDefault();let e=d.length-1;d[e].disabled||d[e].focus()}}}}},76210:function(e,r,t){t.d(r,{p:function(){return a}});function a(e,r){let t=e;for(;(t=t.parentElement)&&!t.matches(r););return t}}}]);