PageSourceSearch

https://sigmapigammaiota.org/_next/static/chunks/5831-0be2b1f29ae95dca.js

js sigmapigammaiota.org collected 2026-10-08 19:52:27 UTC 154,357 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5831],{22721:function(e,t,n){n.d(t,{E:function(){return a},a:function(){return o}}),n(2265);var r=n(74967);n(57437);let[o,a]=(0,r.createSafeContext)("Accordion component was not found in the tree")},65541:function(e,t,n){n.d(t,{Accordion:function(){return S}});var r=n(57437),o=n(61610),a=n(22320),l=n(28552);n(2265);var i=n(30245),c=n(59105),u=n(99542),s=n(63576),d=n(38329),f=n(11612),m=n(70650),v=n(22721),p=n(23202),h=n(43577),g=n(24626),y=n(95541),b=n(14214);let w={multiple:!1,disableChevronRotation:!1,chevronPosition:"right",variant:"default",chevron:(0,r.jsx)(p.AccordionChevron,{})},x=(0,u.createVarsResolver)((e,t)=>{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,l.h)(r),"--accordion-radius":void 0===o?void 0:(0,c.getRadius)(o)}}});function S(e){let t=(0,s.useProps)("Accordion",w,e),{classNames:n,className:l,style:c,styles:u,unstyled:m,vars:p,children:h,multiple:g,value:y,defaultValue:S,onChange:C,id:k,loop:E,transitionDuration:j,disableChevronRotation:I,chevronPosition:R,chevronSize:_,order:M,chevron:P,variant:A,radius:T,...D}=t,N=(0,o.useId)(k),[z,L]=(0,a.useUncontrolled)({value:y,defaultValue:S,finalValue:g?[]:null,onChange:C}),B=(0,d.useStyles)({name:"Accordion",classes:b.Z,props:t,className:l,style:c,classNames:n,styles:u,unstyled:m,vars:p,varsResolver:x});return(0,r.jsx)(v.a,{value:{isItemActive:e=>Array.isArray(z)?z.includes(e):e===z,onChange:e=>{L(Array.isArray(z)?z.includes(e)?z.filter(t=>t!==e):[...z,e]:e===z?null:e)},getControlId:(0,i.getSafeId)("".concat(N,"-control"),"Accordion.Item component was rendered with invalid value or without value"),getRegionId:(0,i.getSafeId)("".concat(N,"-panel"),"Accordion.Item component was rendered with invalid value or without value"),transitionDuration:j,disableChevronRotation:I,chevronPosition:R,order:M,chevron:P,loop:E,getStyles:B,variant:A,unstyled:m},children:(0,r.jsx)(f.Box,{...B("root"),id:N,...D,variant:A,"data-accordion":!0,children:h})})}S.extend=e=>e,S.withProps=(0,m.getWithProps)(S),S.classes=b.Z,S.displayName="@mantine/core/Accordion",S.Item=g.AccordionItem,S.Panel=y.AccordionPanel,S.Control=h.AccordionControl,S.Chevron=p.AccordionChevron},14214:function(e,t,n){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"}},43577:function(e,t,n){n.d(t,{AccordionControl:function(){return m}});var r=n(57437);n(2265);var o=n(66417),a=n(63576),l=n(11612),i=n(70650),c=n(78289),u=n(22721),s=n(15823),d=n(14214);let f={},m=(0,i.factory)((e,t)=>{let{classNames:n,className:i,style:d,styles:m,vars:v,chevron:p,icon:h,onClick:g,onKeyDown:y,children:b,disabled:w,mod:x,...S}=(0,a.useProps)("AccordionControl",f,e),{value:C}=(0,s.b)(),k=(0,u.E)(),E=k.isItemActive(C),j="number"==typeof k.order,I="h".concat(k.order),R=(0,r.jsxs)(c.UnstyledButton,{...S,...k.getStyles("control",{className:i,classNames:n,style:d,styles:m,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)(l.Box,{component:"span",mod:{rotate:!k.disableChevronRotation&&E,position:k.chevronPosition},...k.getStyles("chevron",{classNames:n,styles:m}),children:p||k.chevron}),(0,r.jsx)("span",{...k.getStyles("label",{classNames:n,styles:m}),children:b}),h&&(0,r.jsx)(l.Box,{component:"span",mod:{"chevron-position":k.chevronPosition},...k.getStyles("icon",{classNames:n,styles:m}),children:h})]});return j?(0,r.jsx)(I,{...k.getStyles("itemTitle",{classNames:n,styles:m}),children:R}):R});m.displayName="@mantine/core/AccordionControl",m.classes=d.Z},15823:function(e,t,n){n.d(t,{b:function(){return a},e:function(){return o}}),n(2265);var r=n(74967);n(57437);let[o,a]=(0,r.createSafeContext)("Accordion.Item component was not found in the tree")},24626:function(e,t,n){n.d(t,{AccordionItem:function(){return d}});var r=n(57437);n(2265);var o=n(63576),a=n(11612),l=n(70650),i=n(22721),c=n(15823),u=n(14214);let s={},d=(0,l.factory)((e,t)=>{let{classNames:n,className:l,style:u,styles:d,vars:f,value:m,mod:v,...p}=(0,o.useProps)("AccordionItem",s,e),h=(0,i.E)();return(0,r.jsx)(c.e,{value:{value:m},children:(0,r.jsx)(a.Box,{ref:t,mod:[{active:h.isItemActive(m)},v],...h.getStyles("item",{className:l,classNames:n,styles:d,style:u,variant:h.variant}),...p})})});d.displayName="@mantine/core/AccordionItem",d.classes=u.Z},95541:function(e,t,n){n.d(t,{AccordionPanel:function(){return d}});var r=n(57437);n(2265);var o=n(63576),a=n(70650),l=n(53201),i=n(22721),c=n(15823),u=n(14214);let s={},d=(0,a.factory)((e,t)=>{var n;let{classNames:a,className:u,style:d,styles:f,vars:m,children:v,...p}=(0,o.useProps)("AccordionPanel",s,e),{value:h}=(0,c.b)(),g=(0,i.E)();return(0,r.jsx)(l.Collapse,{ref:t,...g.getStyles("panel",{className:u,classNames:a,style:d,styles:f}),...p,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},18798:function(e,t,n){n.d(t,{AngleSlider:function(){return b}});var r=n(57437),o=n(2265),a=n(38232),l=n(22320),i=n(91759),c=n(28552),u=n(29488),s=n(99542),d=n(63576),f=n(38329),m=n(11612),v=n(70650),p={root:"m_48204f9b",marks:"m_bb9cdbad",mark:"m_481dd586",thumb:"m_bc02ba3d",label:"m_bb8e875b"};function h(e,t){let n=(0,a.clamp)(e,0,360),r=Math.ceil(n/t);return r>=n/t?r*t==360?0:r*t:Math.round(n/t)*t}let g={step:1,withLabel:!0},y=(0,s.createVarsResolver)((e,t)=>{let{size:n,thumbSize:r}=t;return{root:{"--slider-size":(0,c.h)(n),"--thumb-size":(0,c.h)(r)}}}),b=(0,v.factory)((e,t)=>{let n=(0,d.useProps)("AngleSlider",g,e),{classNames:a,className:c,style:s,styles:v,unstyled:b,vars:w,step:x,value:S,defaultValue:C,onChange:k,onMouseDown:E,withLabel:j,marks:I,thumbSize:R,restrictToMarks:_,formatLabel:M,onChangeEnd:P,disabled:A,onTouchStart:T,name:D,hiddenInputProps:N,"aria-label":z,tabIndex:L,...B}=n,F=(0,o.useRef)(null),[O,V]=(0,l.useUncontrolled)({value:S,defaultValue:C,finalValue:0,onChange:k}),H=(0,f.useStyles)({name:"AngleSlider",classes:p,props:n,className:c,style:s,classNames:a,styles:v,unstyled:b,vars:w,varsResolver:y}),Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(F.current){let n=h(function(e,t){let n=function(e){let t=e.getBoundingClientRect();return[t.left+t.width/2,t.top+t.height/2]}(t);return 360-(180/Math.PI*Math.atan2(e[0]-n[0],e[1]-n[1])+180)}([e.clientX,e.clientY],F.current),x||1),r=_&&Array.isArray(I)?(0,u.findClosestNumber)(n,I.map(e=>e.value)):n;V(r),t&&(null==P||P(r))}},U=(0,o.useCallback)(e=>{Z(e)},[]),W=(0,o.useCallback)(e=>{Z(e,!0),G()},[]),q=(0,o.useCallback)(e=>{e.preventDefault(),Z(e.touches[0])},[]),K=(0,o.useCallback)(e=>{Z(e.changedTouches[0],!0),G()},[]),J=()=>{document.addEventListener("mousemove",U,!1),document.addEventListener("mouseup",W,!1),document.addEventListener("touchmove",q,{passive:!1}),document.addEventListener("touchend",K,!1)},G=()=>{document.removeEventListener("mousemove",U,!1),document.removeEventListener("mouseup",W,!1),document.removeEventListener("touchmove",q,!1),document.removeEventListener("touchend",K,!1)},Y=null==I?void 0:I.map((e,t)=>(0,o.createElement)("div",{...H("mark",{style:{"--angle":"".concat(e.value,"deg")}}),"data-label":e.label||void 0,key:t}));return(0,r.jsxs)(m.Box,{ref:(0,i.useMergedRef)(t,F),...H("root",{focusable:!0}),onMouseDown:e=>{null==E||E(e),J()},onTouchStart:e=>{e.preventDefault(),null==T||T(e),J()},...B,children:[Y&&Y.length>0&&(0,r.jsx)("div",{...H("marks"),children:Y}),j&&(0,r.jsx)("div",{...H("label"),children:"function"==typeof M?M(O):O}),(0,r.jsx)("div",{tabIndex:null!=L?L:A?-1:0,role:"slider","aria-valuemax":360,"aria-valuemin":0,"aria-valuenow":O,onKeyDown:e=>{if(!A){if("ArrowLeft"===e.key||"ArrowDown"===e.key){let e=h(O-x,x);V(e),null==P||P(e)}if("ArrowRight"===e.key||"ArrowUp"===e.key){let e=h(O+x,x);V(e),null==P||P(e)}"Home"===e.key&&(V(0),null==P||P(0)),"End"===e.key&&(V(359),null==P||P(359))}},"aria-label":z,...H("thumb",{style:{transform:"rotate(".concat(O,"deg)")}})}),(0,r.jsx)("input",{type:"hidden",name:D,value:O,...N})]})});b.displayName="@mantine/core/AngleSlider",b.classes=p},67512:function(e,t,n){n.d(t,{AspectRatio:function(){return f}});var r=n(57437);n(2265);var o=n(99542),a=n(63576),l=n(38329),i=n(11612),c=n(70650),u={root:"m_71ac47fc"};let s={},d=(0,o.createVarsResolver)((e,t)=>{let{ratio:n}=t;return{root:{"--ar-ratio":null==n?void 0:n.toString()}}}),f=(0,c.factory)((e,t)=>{let n=(0,a.useProps)("AspectRatio",s,e),{classNames:o,className:c,style:f,styles:m,unstyled:v,vars:p,ratio:h,...g}=n,y=(0,l.useStyles)({name:"AspectRatio",classes:u,props:n,className:c,style:f,classNames:o,styles:m,unstyled:v,vars:p,varsResolver:d});return(0,r.jsx)(i.Box,{ref:t,...y("root"),...g})});f.classes=u,f.displayName="@mantine/core/AspectRatio"}
1,12788:function(e,t,n){n.d(t,{BackgroundImage:function(){return m}});var r=n(57437);n(2265);var o=n(59105),a=n(99542),l=n(63576),i=n(38329),c=n(11612),u=n(23468),s={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)}}}),m=(0,u.polymorphicFactory)((e,t)=>{let n=(0,l.useProps)("BackgroundImage",d,e),{classNames:o,className:a,style:u,styles:m,unstyled:v,vars:p,radius:h,src:g,variant:y,...b}=n,w=(0,i.useStyles)({name:"BackgroundImage",props:n,classes:s,className:a,style:u,classNames:o,styles:m,unstyled:v,vars:p,varsResolver:f});return(0,r.jsx)(c.Box,{ref:t,variant:y,...w("root",{style:{backgroundImage:"url(".concat(g,")")}}),...b})});m.classes=s,m.displayName="@mantine/core/BackgroundImage"},45565:function(e,t,n){n.d(t,{Blockquote:function(){return g}});var r=n(57437),o=n(28552);n(2265);var a=n(59105),l=n(99542),i=n(11749),c=n(78016),u=n(54232),s=n(63576),d=n(38329),f=n(11612),m=n(70650),v={root:"m_ddec01c0",icon:"m_dde7bd57",cite:"m_dde51a35"};let p={iconSize:48},h=(0,l.createVarsResolver)((e,t)=>{let{color:n,iconSize:r,radius:l}=t,s=(0,i.parseThemeColor)({color:n||e.primaryColor,theme:e,colorScheme:"dark"}),d=(0,i.parseThemeColor)({color:n||e.primaryColor,theme:e,colorScheme:"light"});return{root:{"--bq-bg-light":(0,u.m)(d.value,.07),"--bq-bg-dark":(0,u.m)(s.value,.06),"--bq-bd":(0,c.getThemeColor)(n,e),"--bq-icon-size":(0,o.h)(r),"--bq-radius":(0,a.getRadius)(l)}}}),g=(0,m.factory)((e,t)=>{let n=(0,s.useProps)("Blockquote",p,e),{classNames:o,className:a,style:l,styles:i,unstyled:c,vars:u,children:m,icon:g,iconSize:y,cite:b,...w}=n,x=(0,d.useStyles)({name:"Blockquote",classes:v,props:n,className:a,style:l,classNames:o,styles:i,unstyled:c,vars:u,varsResolver:h});return(0,r.jsxs)(f.Box,{component:"blockquote",ref:t,...x("root"),...w,children:[g&&(0,r.jsx)("span",{...x("icon"),children:g}),m,b&&(0,r.jsx)("cite",{...x("cite"),children:b})]})});g.classes=v,g.displayName="@mantine/core/Blockquote"},26139:function(e,t,n){n.d(t,{Breadcrumbs:function(){return p}});var r=n(57437),o=n(2265),a=n(35786),l=n(59105),i=n(99542),c=n(63576),u=n(38329),s=n(11612),d=n(70650),f={root:"m_8b3717df",breadcrumb:"m_f678d540",separator:"m_3b8f2208"};let m={separator:"/"},v=(0,i.createVarsResolver)((e,t)=>{let{separatorMargin:n}=t;return{root:{"--bc-separator-margin":(0,l.getSpacing)(n)}}}),p=(0,d.factory)((e,t)=>{let n=(0,c.useProps)("Breadcrumbs",m,e),{classNames:l,className:i,style:d,styles:p,unstyled:h,vars:g,children:y,separator:b,separatorMargin:w,...x}=n,S=(0,u.useStyles)({name:"Breadcrumbs",classes:f,props:n,className:i,style:d,classNames:l,styles:p,unstyled:h,vars:g,varsResolver:v}),C=o.Children.toArray(y).reduce((e,t,n,r)=>{var l;let i=(0,a.isElement)(t)?(0,o.cloneElement)(t,{...S("breadcrumb",{className:null===(l=t.props)||void 0===l?void 0:l.className}),key:n}):(0,o.createElement)("div",{...S("breadcrumb"),key:n},t);return e.push(i),n!==r.length-1&&e.push((0,o.createElement)(s.Box,{...S("separator"),key:"separator-".concat(n)},b)),e},[]);return(0,r.jsx)(s.Box,{ref:t,...S("root"),...x,children:C})});p.classes=f,p.displayName="@mantine/core/Breadcrumbs"},15017:function(e,t,n){n.d(t,{R:function(){return a},k:function(){return o}}),n(2265);var r=n(74967);n(57437);let[o,a]=(0,r.createSafeContext)("Card component was not found in tree")},24836:function(e,t,n){n.d(t,{Card:function(){return h}});var r=n(57437),o=n(2265),a=n(59105),l=n(99542),i=n(63576),c=n(38329),u=n(23468),s=n(60113),d=n(15017),f=n(25495),m=n(21072);let v={},p=(0,l.createVarsResolver)((e,t)=>{let{padding:n}=t;return{root:{"--card-padding":(0,a.getSpacing)(n)}}}),h=(0,u.polymorphicFactory)((e,t)=>{let n=(0,i.useProps)("Card",v,e),{classNames:a,className:l,style:u,styles:h,unstyled:g,vars:y,children:b,padding:w,...x}=n,S=(0,c.useStyles)({name:"Card",props:n,classes:m.Z,className:l,style:u,classNames:a,styles:h,unstyled:g,vars:y,varsResolver:p}),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)(s.Paper,{ref:t,unstyled:g,...S("root"),...x,children:k})})});h.classes=m.Z,h.displayName="@mantine/core/Card",h.Section=f.CardSection},21072:function(e,t,n){n.d(t,{Z:function(){return r}});var r={root:"m_e615b15f",section:"m_599a2148"}},25495:function(e,t,n){n.d(t,{CardSection:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(11612),l=n(23468),i=n(15017),c=n(21072);let u={},s=(0,l.polymorphicFactory)((e,t)=>{let{classNames:n,className:l,style:c,styles:s,vars:d,withBorder:f,inheritPadding:m,mod:v,...p}=(0,o.useProps)("CardSection",u,e),h=(0,i.R)();return(0,r.jsx)(a.Box,{ref:t,mod:[{"with-border":f,"inherit-padding":m},v],...h.getStyles("section",{className:l,style:c,styles:s,classNames:n}
1),...p})});s.classes=c.Z,s.displayName="@mantine/core/CardSection"},17126:function(e,t,n){n.d(t,{Chip:function(){return b}});var r=n(57437),o=n(61610),a=n(22320);n(2265);var l=n(59105),i=n(99542),c=n(63576),u=n(38329),s=n(40738),d=n(11612),f=n(70650),m=n(7835),v=n(19815),p=n(48790),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,i.createVarsResolver)((e,t)=>{let{size:n,radius:r,variant:o,color:a,autoContrast:i}=t,c=e.variantColorResolver({color:a||e.primaryColor,theme:e,variant:o||"filled",autoContrast:i});return{root:{"--chip-fz":(0,l.getFontSize)(n),"--chip-size":(0,l.getSize)(n,"chip-size"),"--chip-radius":void 0===r?void 0:(0,l.getRadius)(r),"--chip-checked-padding":(0,l.getSize)(n,"chip-checked-padding"),"--chip-padding":(0,l.getSize)(n,"chip-padding"),"--chip-icon-size":(0,l.getSize)(n,"chip-icon-size"),"--chip-bg":a||o?c.background:void 0,"--chip-hover":a||o?c.hover:void 0,"--chip-color":a||o?c.color:void 0,"--chip-bd":a||o?c.border:void 0,"--chip-spacing":(0,l.getSize)(n,"chip-spacing")}}}),b=(0,f.factory)((e,t)=>{let n=(0,c.useProps)("Chip",g,e),{classNames:l,className:i,style:f,styles:p,unstyled:b,vars:w,id:x,checked:S,defaultChecked:C,onChange:k,value:E,wrapperProps:j,type:I,disabled:R,children:_,size:M,variant:P,icon:A,rootRef:T,autoContrast:D,mod:N,...z}=n,L=(0,u.useStyles)({name:"Chip",classes:h,props:n,className:i,style:f,classNames:l,styles:p,unstyled:b,vars:w,varsResolver:y}),B=(0,v.Q)(),F=(0,o.useId)(x),{styleProps:O,rest:V}=(0,s.extractStyleProps)(z),[H,Z]=(0,a.useUncontrolled)({value:S,defaultValue:C,finalValue:!1,onChange:k}),U=B?{checked:B.isChipSelected(E),onChange:e=>{B.onChange(e),null==k||k(e.currentTarget.checked)},type:B.multiple?"checkbox":"radio"}:{},W=U.checked||H;return(0,r.jsxs)(d.Box,{size:M,variant:P,ref:T,mod:N,...L("root"),...O,...j,children:[(0,r.jsx)("input",{type:I,...L("input"),checked:W,onChange:e=>Z(e.currentTarget.checked),id:F,disabled:R,ref:t,value:E,...U,...V}),(0,r.jsxs)("label",{htmlFor:F,"data-checked":W||void 0,"data-disabled":R||void 0,...L("label",{variant:P||"filled"}),children:[W&&(0,r.jsx)("span",{...L("iconWrapper"),children:A||(0,r.jsx)(m.CheckIcon,{...L("checkIcon")})}),(0,r.jsx)("span",{children:_})]})]})});b.classes=h,b.displayName="@mantine/core/Chip",b.Group=p.ChipGroup},19815:function(e,t,n){n.d(t,{A:function(){return r},Q:function(){return o}}),n(2265),n(57437);let[r,o]=(0,n(68013).createOptionalContext)()},48790:function(e,t,n){n.d(t,{ChipGroup:function(){return c}});var r=n(57437),o=n(22320);n(2265);var a=n(63576),l=n(19815);let i={};function c(e){let{value:t,defaultValue:n,onChange:c,multiple:u,children:s}=(0,a.useProps)("ChipGroup",i,e),[d,f]=(0,o.useUncontrolled)({value:t,defaultValue:n,finalValue:u?[]:null,onChange:c});return(0,r.jsx)(l.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:s})}c.displayName="@mantine/core/ChipGroup"},75395:function(e,t,n){n.d(t,{ColorInput:function(){return I}});var r=n(57437),o=n(2265),a=n(22320),l=n(22503),i=n(62887),c=n(59105),u=n(99542),s=n(24612),d=n(38329),f=n(63576),m=n(70650),v=n(98360),p=n(9185),h=n(22397),g=n(7817),y=n(41848),b=n(93920),w=n(37147),x=n(78317),S=n(96428);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,c.getSize)(n,"ci-eye-dropper-icon-size")},colorPreview:{"--ci-preview-size":(0,c.getSize)(n,"ci-preview-size")}}}),I=(0,m.factory)((e,t)=>{let n=(0,f.useProps)("ColorInput",E,e),{classNames:c,styles:u,unstyled:m,disallowInput:x,fixOnBlur:I,popoverProps:R,withPreview:_,withEyeDropper:M,eyeDropperIcon:P,closeOnColorSwatchClick:A,eyeDropperButtonProps:T,value:D,defaultValue:N,onChange:z,onChangeEnd:L,onClick:B,onFocus:
1F,onBlur:O,inputProps:V,format:H,wrapperProps:Z,readOnly:U,withPicker:W,swatches:q,disabled:K,leftSection:J,rightSection:G,swatchesPerRow:Y,...X}=(0,w.useInputProps)("ColorInput",E,e),$=(0,d.useStyles)({name:"ColorInput",props:n,classes:k,classNames:c,styles:u,unstyled:m,rootSelector:"wrapper",vars:n.vars,varsResolver:j}),{resolvedClassNames:Q,resolvedStyles:ee}=(0,s.useResolvedStylesApi)({classNames:c,styles:u,props:n}),[et,en]=(0,o.useState)(!1),[er,eo]=(0,o.useState)(""),[ea,el]=(0,a.useUncontrolled)({value:D,defaultValue:N,finalValue:"",onChange:z}),{supported:ei,open:ec}=(0,l.useEyeDropper)(),eu=(0,r.jsx)(v.ActionIcon,{...T,...$("eyeDropperButton",{className:null==T?void 0:T.className,style:null==T?void 0:T.style}),variant:"subtle",color:"gray",size:V.size,unstyled:m,onClick:()=>ec().then(e=>{if(null==e?void 0:e.sRGBHex){let t=(0,h.convertHsvaTo)(H,(0,g.parseColor)(e.sRGBHex));el(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,i.useDidUpdate)(()=>{(0,g.isColorValid)(ea)&&el((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,opened:et,...R,classNames:Q,styles:ee,unstyled:m,withRoles:!1,disabled:U||!1===W&&(!Array.isArray(q)||0===q.length),children:[(0,r.jsx)(S.Popover.Target,{children:(0,r.jsx)(b.Input,{autoComplete:"off",...X,...V,classNames:Q,styles:ee,disabled:K,ref:t,__staticSelector:"ColorInput",onFocus:e=>{null==F||F(e),en(!0)},onBlur:e=>{I&&el(er),null==O||O(e),en(!1)},onClick:e=>{null==B||B(e),en(!0)},spellCheck:!1,value:ea,onChange:e=>{let t=e.currentTarget.value;el(t),(0,g.isColorValid)(t)&&(null==L||L((0,h.convertHsvaTo)(H,(0,g.parseColor)(t))))},leftSection:J||(_?(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:m,rightSection:G||(M&&!K&&!U&&ei?eu:null)})}),(0,r.jsx)(S.Popover.Dropdown,{onMouseDown:e=>e.preventDefault(),className:k.dropdown,children:(0,r.jsx)(p.ColorPicker,{__staticSelector:"ColorInput",value:ea,onChange:el,onChangeEnd:L,format:H,swatches:q,swatchesPerRow:Y,withPicker:W,size:V.size,focusable:!1,unstyled:m,styles:ee,classNames:Q,onColorSwatchClick:()=>A&&en(!1)})})]})})});I.classes=x.InputBase.classes,I.displayName="@mantine/core/ColorInput"},71683:function(e,t,n){n.d(t,{AlphaSlider:function(){return s}});var r=n(57437),o=n(2265),a=n(28552),l=n(63576),i=n(42759),c=n(7817);let u={},s=(0,o.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:s,color:d,...f}=(0,l.useProps)("AlphaSlider",u,e);return(0,r.jsx)(i._,{...f,ref:t,value:n,onChange:e=>null==o?void 0:o((0,c.NM)(e,2)),onChangeEnd:e=>null==s?void 0:s((0,c.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")}]})});s.displayName="@mantine/core/AlphaSlider"},99407:function(e,t,n){n.d(t,{K:function(){return r},j:function(){return o}}),n(2265),n(57437);let[r,o]=(0,n(68013).createOptionalContext)(null)},9185:function(e,t,n){n.d(t,{ColorPicker:function(){return j}});var r=n(57437),o=n(2265),a=n(22320),l=n(62887),i=n(59105),c=n(99542),u=n(63576),s=n(38329),d=n(11612),f=n(70650),m=n(41848),v=n(71683),p=n(99407),h=n(22397),g=n(7817),y=n(95508),b=n(5572),w=n(70332);function x(e){let{className:t,onChange:n,onChangeEnd:a,value:l,saturationLabel:i,focusable:c=!0,size:u,color:s,onScrubStart:f,onScrubEnd:m,...v}=e,{getStyles:g}=(0,p.j)(),[y,x]=(0,o.useState)({x:l.s/100,y:1-l.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==m||m()},onScrubStart:f});(0,o.useEffect)(()=>{x({x:l.s/100,y:1-l.v/100})},[l.s,l.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":i,"aria-valuenow":y.x,"aria-valuetext":(0,h.convertHsvaTo)("rgba",l),tabIndex:c?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(l.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:s}})})]})}x.displayName="@mantine/core/Saturation";let S=(0,o.forwardRef)((e,t)=>
1{let{className:n,datatype:a,setValue:l,onChangeEnd:i,size:c,focusable:u,data:s,swatchesPerRow:f,...v}=e,h=(0,p.j)(),g=s.map((e,t)=>(0,o.createElement)(m.ColorSwatch,{...h.getStyles("swatch"),unstyled:h.unstyled,component:"button",type:"button",color:e,key:t,radius:"sm",onClick:()=>{l(e),null==i||i(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(87115);let k={swatchesPerRow:7,withPicker:!0,focusable:!0,size:"md",__staticSelector:"ColorPicker"},E=(0,c.createVarsResolver)((e,t)=>{let{size:n,swatchesPerRow:r}=t;return{wrapper:{"--cp-preview-size":(0,i.getSize)(n,"cp-preview-size"),"--cp-width":(0,i.getSize)(n,"cp-width"),"--cp-body-spacing":(0,i.getSpacing)(n),"--cp-swatch-size":"".concat(100/r,"%"),"--cp-thumb-size":(0,i.getSize)(n,"cp-thumb-size"),"--cp-saturation-height":(0,i.getSize)(n,"cp-saturation-height")}}}),j=(0,f.factory)((e,t)=>{let n=(0,u.useProps)("ColorPicker",k,e),{classNames:i,className:c,style:f,styles:b,unstyled:w,vars:j,format:I,value:R,defaultValue:_,onChange:M,onChangeEnd:P,withPicker:A,size:T,saturationLabel:D,hueLabel:N,alphaLabel:z,focusable:L,swatches:B,swatchesPerRow:F,fullWidth:O,onColorSwatchClick:V,__staticSelector:H,mod:Z,...U}=n,W=(0,s.useStyles)({name:H,props:n,classes:C.Z,className:c,style:f,classNames:i,styles:b,unstyled:w,rootSelector:"wrapper",vars:j,varsResolver:E}),q=(0,o.useRef)(I),K=(0,o.useRef)(),J=(0,o.useRef)(-1),G=(0,o.useRef)(!1),Y="hexa"===I||"rgba"===I||"hsla"===I,[X,$,Q]=(0,a.useUncontrolled)({value:R,defaultValue:_,finalValue:"#FFFFFF",onChange:M}),[ee,et]=(0,o.useState)((0,g.parseColor)(X)),en=()=>{window.clearTimeout(J.current),G.current=!0},er=()=>{window.clearTimeout(J.current),J.current=window.setTimeout(()=>{G.current=!1},200)},eo=e=>{et(t=>{let n={...t,...e};return K.current=(0,h.convertHsvaTo)(q.current,n),n}),$(K.current)};return(0,l.useDidUpdate)(()=>{(0,g.isColorValid)(R)&&!G.current&&et((0,g.parseColor)(R))},[R]),(0,l.useDidUpdate)(()=>{q.current=I,$((0,h.convertHsvaTo)(I,ee))},[I]),(0,r.jsx)(p.K,{value:{getStyles:W,unstyled:w},children:(0,r.jsxs)(d.Box,{ref:t,...W("wrapper"),size:T,mod:[{"full-width":O},Z],...U,children:[A&&(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)(q.current,{...ee,s:t,v:n}))},color:X,size:T,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)(q.current,{...ee,h:e})),size:T,focusable:L,"aria-label":N,onScrubStart:en,onScrubEnd:er}),Y&&(0,r.jsx)(v.AlphaSlider,{value:ee.a,onChange:e=>eo({a:e}),onChangeEnd:e=>{null==P||P((0,h.convertHsvaTo)(q.current,{...ee,a:e}))},size:T,color:(0,h.convertHsvaTo)("hex",ee),focusable:L,"aria-label":z,onScrubStart:en,onScrubEnd:er})]}),Y&&(0,r.jsx)(m.ColorSwatch,{color:X,radius:"sm",size:"var(--cp-preview-size)",...W("preview")})]})]}),Array.isArray(B)&&(0,r.jsx)(S,{data:B,swatchesPerRow:F,focusable:L,setValue:$,onChangeEnd:e=>{let t=(0,h.convertHsvaTo)(I,(0,g.parseColor)(e));null==V||V(t),null==P||P(t),Q||et((0,g.parseColor)(e))}})]})})});j.classes=C.Z,j.displayName="@mantine/core/ColorPicker"},87115:function(e,t,n){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"}},42759:function(e,t,n){n.d(t,{_:function(){return y}});var r=n(57437),o=n(2265),a=n(5572),l=n(62887),i=n(91759),c=n(28552),u=n(52602),s=n(63576),d=n(38329),f=n(11612),m=n(70650),v=n(99407),p=n(70332),h=n(87115);let g={},y=(0,m.factory)((e,t)=>{var n;let m=(0,s.useProps)("ColorSlider",g,e),{classNames:y,className:b,style:w,styles:x,unstyled:S,vars:C,onChange:k,onChangeEnd:E,maxValue:j,round:I,size:R="md",focusable:_=!0,value:M,overlays:P,thumbColor:A="transparent",onScrubStart:T,onScrubEnd:D,__staticSelector:N="ColorPicker",...z}=m,L=(0,d.useStyles)({name:N,classes:h.Z,props:m,className:b,style:w,classNames:y,styles:x,unstyled:S}
1),B=(null===(n=(0,v.j)())||void 0===n?void 0:n.getStyles)||L,F=(0,u.useMantineTheme)(),[O,V]=(0,o.useState)({y:0,x:M/j}),H=(0,o.useRef)(O),Z=e=>I?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:T});(0,l.useDidUpdate)(()=>{V({y:0,x:M/j})},[M]);let W=(e,t)=>{e.preventDefault();let n=(0,a.clampUseMovePosition)(t);null==k||k(Z(n.x)),null==E||E(Z(n.x))},q=P.map((e,t)=>(0,o.createElement)("div",{...B("sliderOverlay"),style:e,key:t}));return(0,r.jsxs)(f.Box,{...z,ref:(0,i.useMergedRef)(U,t),...B("slider"),role:"slider","aria-valuenow":M,"aria-valuemax":j,"aria-valuemin":0,tabIndex:_?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowRight":W(e,{x:O.x+.05,y:O.y});break;case"ArrowLeft":W(e,{x:O.x-.05,y:O.y})}},"data-focus-ring":F.focusRing,__vars:{"--cp-thumb-size":"var(--cp-thumb-size-".concat(R,")")},children:[q,(0,r.jsx)(p.b,{position:O,...B("thumb",{style:{top:(0,c.h)(1),background:A}})})]})});y.displayName="@mantine/core/ColorSlider"},95508:function(e,t,n){n.d(t,{HueSlider:function(){return c}});var r=n(57437),o=n(2265),a=n(28552),l=n(63576),i=n(42759);let c=(0,o.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:c,color:u,...s}=(0,l.useProps)("HueSlider",{},e);return(0,r.jsx)(i._,{...s,ref:t,value:n,onChange:o,onChangeEnd:c,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")}]})});c.displayName="@mantine/core/HueSlider"},70332:function(e,t,n){n.d(t,{b:function(){return l}});var r=n(57437),o=n(2265),a=n(11612);let l=(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})});l.displayName="@mantine/core/ColorPickerThumb"},22397:function(e,t,n){n.d(t,{convertHsvaTo:function(){return s}});var r=n(7817);function o(e){let{h:t,s:n,v:o,a}=e,l=t/360*6,i=n/100,c=o/100,u=Math.floor(l),s=c*(1-i),d=c*(1-(l-u)*i),f=c*(1-(1-l+u)*i),m=u%6;return{r:(0,r.NM)(255*[c,d,s,s,f,c][m]),g:(0,r.NM)(255*[f,c,c,d,s,s][m]),b:(0,r.NM)(255*[s,s,f,c,c,d][m]),a:(0,r.NM)(a,2)}}function a(e,t){let{r:n,g:a,b:l,a:i}=o(e);return t?"rgba(".concat(n,", ").concat(a,", ").concat(l,", ").concat((0,r.NM)(i,2),")"):"rgb(".concat(n,", ").concat(a,", ").concat(l,")")}function l(e,t){let{h:n,s:o,v:a,a:l}=e,i=(200-o)*a/100,c={h:Math.round(n),s:Math.round(i>0&&i<200?o*a/100/(i<=100?i:200-i)*100:0),l:Math.round(i/2)};return t?"hsla(".concat(c.h,", ").concat(c.s,"%, ").concat(c.l,"%, ").concat((0,r.NM)(l,2),")"):"hsl(".concat(c.h,", ").concat(c.s,"%, ").concat(c.l,"%)")}function i(e){let t=e.toString(16);return t.length<2?"0".concat(t):t}function c(e){let{r:t,g:n,b:r}=o(e);return"#".concat(i(t)).concat(i(n)).concat(i(r))}let u={hex:c,hexa:e=>(function(e){let t=Math.round(255*e.a);return"".concat(c(e)).concat(i(t))})(e),rgb:e=>a(e,!1),rgba:e=>a(e,!0),hsl:e=>l(e,!1),hsla:e=>l(e,!0)};function s(e,t){return t?e in u?u[e](t):u.hex(t):"#000000"}},7817:function(e,t,n){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 m},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 l(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 i(e){let{r:t,g:n,b:o,a}=e,l=Math.max(t,n,o),i=l-Math.min(t,n,o),c=i?l===t?(n-o)/i:l===n?2+(o-t)/i:4+(t-n)/i:0;return{h:r(60*(c<0?c+6:c),3),s:r(l?i/l*100:0,3),v:r(l/255*100,3),a}}function c(e){let t="#"===e[0]?e.slice(1):e;
1return 3===t.length?i({r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}):i({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 s(e){let t=u.exec(e);return t?i({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:c,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{...c(e),a:r}}let o=t.slice(0,6),a=n(t.slice(6,8));return{...c(o),a}},rgb:s,rgba:s,hsl:l,hsla:l};function m(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}}},41848:function(e,t,n){n.d(t,{ColorSwatch:function(){return v}});var r=n(57437),o=n(28552);n(2265);var a=n(59105),l=n(99542),i=n(63576),c=n(38329),u=n(11612),s=n(23468),d={root:"m_de3d2490",colorOverlay:"m_862f3d1b",shadowOverlay:"m_98ae7f22",alphaOverlay:"m_95709ac0",childrenOverlay:"m_93e74e3"};let f={withShadow:!0},m=(0,l.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,s.polymorphicFactory)((e,t)=>{let n=(0,i.useProps)("ColorSwatch",f,e),{classNames:o,className:a,style:l,styles:s,unstyled:v,vars:p,color:h,size:g,radius:y,withShadow:b,children:w,variant:x,...S}=(0,i.useProps)("ColorSwatch",f,n),C=(0,c.useStyles)({name:"ColorSwatch",props:n,classes:d,className:a,style:l,classNames:o,styles:s,unstyled:v,vars:p,varsResolver:m});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"},47085:function(e,t,n){n.d(t,{useVirtualizedCombobox:function(){return a}});var r=n(2265),o=n(22320);function a(){let{defaultOpened:e,opened:t,onOpenedChange:n,onDropdownClose:a,onDropdownOpen:l,loop:i=!0,totalOptionsCount:c,isOptionDisabled:u=()=>!1,getOptionId:s,selectedOptionIndex:d,setSelectedOptionIndex:f,activeOptionIndex:m,onSelectedOptionSubmit:v}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{totalOptionsCount:0,getOptionId:()=>null,selectedOptionIndex:1,setSelectedOptionIndex:()=>{},onSelectedOptionSubmit:()=>{}},[p,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=()=>{p||(h(!0),null==l||l())},C=()=>{p&&(h(!1),null==a||a())},k=e=>{let t=e>=c?0:e<0?c-1:e;return f(t),s(t)};(0,r.useEffect)(()=>()=>{window.clearTimeout(w.current),window.clearTimeout(x.current)},[]);let E=(0,r.useCallback)(()=>d,[]);return{dropdownOpened:p,openDropdown:S,closeDropdown:C,toggleDropdown:()=>{p?C():S()},selectedOptionIndex:d,getSelectedOptionIndex:E,selectOption:k,selectFirstOption:()=>k(function(e){let{totalOptionsCount:t,isOptionDisabled:n}=e;for(let e=0;e<t;e+=1)if(!n(e))return e;return -1}({isOptionDisabled:u,totalOptionsCount:c})),selectActiveOption:()=>k(null!=m?m:0),selectNextOption:()=>k(function(e){let{currentIndex:t,isOptionDisabled:n,totalOptionsCount:r,loop:o}=e;for(let e=t+1;e<r;e+=1)if(!n(e))return e;if(o){for(let e=0;e<r;e+=1)if(!n(e))return e}return t}({currentIndex:d,isOptionDisabled:u,totalOptionsCount:c,loop:i})),selectPreviousOption:()=>k(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:c,loop:i})),resetSelectedOption:()=>{f(-1)},updateSelectedOptionIndex:()=>{},listId:g.current,setListId:e=>{g.current=e},clickSelectedOption:()=>{null==v||v(d)},searchRef:y,focusSearchInput:()=>{w.current=window.setTimeout(()=>
1y.current.focus(),0)},targetRef:b,focusTarget:()=>{x.current=window.setTimeout(()=>b.current.focus(),0)}}}},46341:function(e,t,n){n.d(t,{Container:function(){return m}});var r=n(57437);n(2265);var o=n(59105),a=n(99542),l=n(63576),i=n(38329),c=n(11612),u=n(70650),s={root:"m_7485cace"};let d={},f=(0,a.createVarsResolver)((e,t)=>{let{size:n,fluid:r}=t;return{root:{"--container-size":r?void 0:(0,o.getSize)(n,"container-size")}}}),m=(0,u.factory)((e,t)=>{let n=(0,l.useProps)("Container",d,e),{classNames:o,className:a,style:u,styles:m,unstyled:v,vars:p,fluid:h,mod:g,...y}=n,b=(0,i.useStyles)({name:"Container",classes:s,props:n,className:a,style:u,classNames:o,styles:m,unstyled:v,vars:p,varsResolver:f});return(0,r.jsx)(c.Box,{ref:t,mod:[{fluid:h},g],...b("root"),...y})});m.classes=s,m.displayName="@mantine/core/Container"},7752:function(e,t,n){n.d(t,{D:function(){return o},M:function(){return a}}),n(2265);var r=n(74967);n(57437);let[o,a]=(0,r.createSafeContext)("Drawer component was not found in tree")},47882:function(e,t,n){n.d(t,{Drawer:function(){return w}});var r=n(57437),o=n(2265),a=n(88002),l=n(63576),i=n(70650),c=n(20188),u=n(54893),s=n(96755),d=n(32991),f=n(32289),m=n(75354);let[v,p]=(0,n(68013).createOptionalContext)();function h(e){let{children:t}=e,[n,l]=(0,o.useState)([]),[i,c]=(0,o.useState)((0,a.getDefaultZIndex)("modal"));return(0,r.jsx)(v,{value:{stack:n,addModal:(e,t)=>{l(t=>[...new Set([...t,e])]),c(e=>"number"==typeof t&&"number"==typeof e?Math.max(e,t):e)},removeModal:e=>l(t=>t.filter(t=>t!==e)),getZIndex:e=>"calc(".concat(i," + ").concat(n.indexOf(e)," + 1)"),currentId:n[n.length-1],maxZIndex:i},children:t})}h.displayName="@mantine/core/DrawerStack";var g=n(12699),y=n(65936);let b={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,a.getDefaultZIndex)("modal"),withOverlay:!0,withCloseButton:!0},w=(0,i.factory)((e,t)=>{let{title:n,withOverlay:i,overlayProps:v,withCloseButton:h,closeButtonProps:y,children:w,opened:x,stackId:S,zIndex:C,...k}=(0,l.useProps)("Drawer",b,e),E=p(),j=!!n||h,I=E&&S?{closeOnEscape:E.currentId===S,trapFocus:E.currentId===S,zIndex:E.getZIndex(S)}:{},R=!1!==i&&(S&&E?E.currentId===S:x);return(0,o.useEffect)(()=>{E&&S&&(x?E.addModal(S,C||(0,a.getDefaultZIndex)("modal")):E.removeModal(S))},[x,S,C]),(0,r.jsxs)(m.DrawerRoot,{ref:t,opened:x,zIndex:E&&S?E.getZIndex(S):C,...k,...I,children:[i&&(0,r.jsx)(f.DrawerOverlay,{visible:R,transitionProps:E&&S?{duration:0}:void 0,...v}),(0,r.jsxs)(s.DrawerContent,{__hidden:!!E&&!!S&&!!x&&S!==E.currentId,children:[j&&(0,r.jsxs)(d.DrawerHeader,{children:[n&&(0,r.jsx)(g.DrawerTitle,{children:n}),h&&(0,r.jsx)(u.DrawerCloseButton,{...y})]}),(0,r.jsx)(c.DrawerBody,{children:w})]})]})});w.classes=y.Z,w.displayName="@mantine/core/Drawer",w.Root=m.DrawerRoot,w.Overlay=f.DrawerOverlay,w.Content=s.DrawerContent,w.Body=c.DrawerBody,w.Header=d.DrawerHeader,w.Title=g.DrawerTitle,w.CloseButton=u.DrawerCloseButton,w.Stack=h},65936:function(e,t,n){n.d(t,{Z:function(){return r}});var r={root:"m_f11b401e",header:"m_5a7c2c9",content:"m_b8a05bbd",inner:"m_31cd769a"}},20188:function(e,t,n){n.d(t,{DrawerBody:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(70650),l=n(21844),i=n(7752),c=n(65936);let u={},s=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:c,styles:s,vars:d,...f}=(0,o.useProps)("DrawerBody",u,e),m=(0,i.M)();return(0,r.jsx)(l.ModalBaseBody,{ref:t,...m.getStyles("body",{classNames:n,style:c,styles:s,className:a}),...f})});s.classes=c.Z,s.displayName="@mantine/core/DrawerBody"},54893:function(e,t,n){n.d(t,{DrawerCloseButton:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(70650),l=n(49034),i=n(7752),c=n(65936);let u={},s=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:c,styles:s,vars:d,...f}=(0,o.useProps)("DrawerCloseButton",u,e),m=(0,i.M)();return(0,r.jsx)(l.ModalBaseCloseButton,{ref:t,...m.getStyles("close",{classNames:n,style:c,styles:s,className:a}),...f})});s.classes=c.Z,s.displayName="@mantine/core/DrawerCloseButton"},96755:function(e,t,n){n.d(t,{DrawerContent:function(){return d}});var r=n(57437);n(2265);var o=n(63576),a=n(70650),l=n(42162),i=n(29600),c=n(7752),u=n(65936);let s={},d=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:u,styles:d,vars:f,children:m,radiu
1s:v,__hidden:p,...h}=(0,o.useProps)("DrawerContent",s,e),g=(0,c.M)(),y=g.scrollAreaComponent||i.NativeScrollArea;return(0,r.jsx)(l.ModalBaseContent,{...g.getStyles("content",{className:a,style:u,styles:d,classNames:n}),innerProps:g.getStyles("inner",{className:a,style:u,styles:d,classNames:n}),ref:t,...h,radius:v||g.radius||0,"data-hidden":p||void 0,children:(0,r.jsx)(y,{style:{height:"calc(100vh - var(--drawer-offset) * 2)"},children:m})})});d.classes=u.Z,d.displayName="@mantine/core/DrawerContent"},32991:function(e,t,n){n.d(t,{DrawerHeader:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(70650),l=n(7386),i=n(7752),c=n(65936);let u={},s=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:c,styles:s,vars:d,...f}=(0,o.useProps)("DrawerHeader",u,e),m=(0,i.M)();return(0,r.jsx)(l.ModalBaseHeader,{ref:t,...m.getStyles("header",{classNames:n,style:c,styles:s,className:a}),...f})});s.classes=c.Z,s.displayName="@mantine/core/DrawerHeader"},32289:function(e,t,n){n.d(t,{DrawerOverlay:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(70650),l=n(34995),i=n(7752),c=n(65936);let u={},s=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:c,styles:s,vars:d,...f}=(0,o.useProps)("DrawerOverlay",u,e),m=(0,i.M)();return(0,r.jsx)(l.ModalBaseOverlay,{ref:t,...m.getStyles("overlay",{classNames:n,style:c,styles:s,className:a}),...f})});s.classes=c.Z,s.displayName="@mantine/core/DrawerOverlay"},75354:function(e,t,n){n.d(t,{DrawerRoot:function(){return b}});var r=n(57437),o=n(28552);n(2265);var a=n(88002),l=n(59105),i=n(99542),c=n(63576),u=n(38329),s=n(70650),d=n(64082),f=n(56082),m=n(7752),v=n(65936);let p={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,i.createVarsResolver)((e,t)=>{let{position:n,size:r,offset:a}=t;return{root:{"--drawer-size":(0,l.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,s.factory)((e,t)=>{let n=(0,c.useProps)("DrawerRoot",g,e),{classNames:o,className:a,style:l,styles:i,unstyled:s,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:l,classNames:o,styles:i,unstyled:s,vars:b,varsResolver:y}),I=("rtl"===E?h:p)[x];return(0,r.jsx)(m.D,{value:{scrollAreaComponent:w,getStyles:j,radius:C},children:(0,r.jsx)(f.ModalBase,{ref:t,...j("root"),transitionProps:{transition:I,...S},unstyled:s,...k})})});b.classes=v.Z,b.displayName="@mantine/core/DrawerRoot"},12699:function(e,t,n){n.d(t,{DrawerTitle:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(70650),l=n(31346),i=n(7752),c=n(65936);let u={},s=(0,a.factory)((e,t)=>{let{classNames:n,className:a,style:c,styles:s,vars:d,...f}=(0,o.useProps)("DrawerTitle",u,e),m=(0,i.M)();return(0,r.jsx)(l.ModalBaseTitle,{ref:t,...m.getStyles("title",{classNames:n,style:c,styles:s,className:a}),...f})});s.classes=c.Z,s.displayName="@mantine/core/DrawerTitle"},79911:function(e,t,n){n.d(t,{Fieldset:function(){return m}});var r=n(57437);n(2265);var o=n(59105),a=n(99542),l=n(63576),i=n(38329),c=n(11612),u=n(70650),s={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)}}}),m=(0,u.factory)((e,t)=>{let n=(0,l.useProps)("Fieldset",d,e),{classNames:o,className:a,style:u,styles:m,unstyled:v,vars:p,legend:h,variant:g,children:y,...b}=n,w=(0,i.useStyles)({name:"Fieldset",classes:s,props:n,className:a,style:u,classNames:o,styles:m,unstyled:v,vars:p,varsResolver:f});return(0,r.jsxs)(c.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]})});m.classes=s,m.displayName="@mantine/core/Fieldset"},1126:function(e,t,n){n.d(t,{FileInput:function(){return h}});var r=n(57437),o=n(2265),a=n(22320),l=n(91759),i=n(24612),c=n(63576),u=n(70650),s=n(32664),d=n(70588),f=n(93920),m=n(78317);let v={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,u.factory)((e,t)=>{let n=(0,c.useProps)("FileInput",v,e),{unstyled:u,vars:p,onChange:h,value:g,defaultValue:y,multiple:b,accept:w,name:x,form:S,valueComponent:C,clearable:k,clearButtonProps:E,readOnly:j,capture:I,fileInputProps:R,rightSection:_,size:M,placeholder:P,component:A,resetRef:T,classNames:D,styles:N,...z}=n,L=(0,o.useRef)(null),{resolvedClassNames:B,resolvedStyles:F}=(0,i.useResolvedStylesApi)({classNames:D,styles:N,props:n}),[O,V]=(0,a.useUncontrolled)({value:g,defaultValue:y,onChange:h,finalValue:b?[]:null}),H=Array.isArray(O)?0!==O.length:null!==O,Z=_||(k&&H&&!j?(0,r.jsx)(s.CloseButton,{...E,variant:"subtle",onClick:()=>V(b?[]:null),size:M,unstyled:u}):null);return(0,o.useEffect)(()=>
1{if(Array.isArray(O)&&0===O.length||null===O){var e;null===(e=L.current)||void 0===e||e.call(L)}},[O]),(0,r.jsx)(d.FileButton,{onChange:V,multiple:b,accept:w,name:x,form:S,resetRef:(0,l.useMergedRef)(L,T),disabled:j,capture:I,inputProps:R,children:e=>(0,r.jsx)(m.InputBase,{component:A||"button",ref:t,rightSection:Z,...e,...z,__staticSelector:"FileInput",multiline:!0,type:"button",pointer:!0,__stylesApiProps:n,unstyled:u,size:M,classNames:D,styles:N,children:H?(0,r.jsx)(C,{value:O}):(0,r.jsx)(f.Input.Placeholder,{__staticSelector:"FileInput",classNames:B,styles:F,children:P})})})});p.classes=m.InputBase.classes,p.displayName="@mantine/core/FileInput";let h=p},50202:function(e,t,n){n.d(t,{FloatingIndicator:function(){return g}});var r=n(57437),o=n(2265),a=n(91759),l=n(99542),i=n(63576),c=n(38329),u=n(11612),s=n(70650),d=n(7582),f=n(82530),m=n(73663),v={root:"m_96b553a6"};let p={},h=(0,l.createVarsResolver)((e,t)=>{let{transitionDuration:n}=t;return{root:{"--transition-duration":"number"==typeof n?"".concat(n,"ms"):n}}}),g=(0,s.factory)((e,t)=>{let n=(0,i.useProps)("FloatingIndicator",p,e),{classNames:l,className:s,style:g,styles:y,unstyled:b,vars:w,target:x,parent:S,transitionDuration:C,mod:k,displayAfterTransitionEnd:E,...j}=n,I=(0,c.useStyles)({name:"FloatingIndicator",classes:v,props:n,className:s,style:g,classNames:l,styles:y,unstyled:b,vars:w,varsResolver:h}),R=(0,o.useRef)(null),{initialized:_,hidden:M}=function(e){let{target:t,parent:n,ref:r,displayAfterTransitionEnd:a}=e,l=(0,o.useRef)(),[i,c]=(0,o.useState)(!1),[u,s]=(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"))},p=()=>{window.clearTimeout(l.current),r.current&&(r.current.style.transitionDuration="0ms"),v(),l.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(p),h.current.observe(t),n&&(g.current=new ResizeObserver(p),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)&&(p(),s(!1))};return n.addEventListener("transitionend",e),()=>{n.removeEventListener("transitionend",e)}}},[n]),(0,d.useTimeout)(()=>{"test"!==(0,m.getEnv)()&&c(!0)},20,{autoInvoke:!0}),(0,f.useMutationObserver)(e=>{e.forEach(e=>{"attributes"===e.type&&"dir"===e.attributeName&&p()})},{attributes:!0,attributeFilter:["dir"]},()=>document.documentElement),{initialized:i,hidden:u}}({target:x,parent:S,ref:R,displayAfterTransitionEnd:E}),P=(0,a.useMergedRef)(t,R);return x&&S?(0,r.jsx)(u.Box,{ref:P,mod:[{initialized:_,hidden:M},k],...I("root"),...j}):null});g.displayName="@mantine/core/FloatingIndicator",g.classes=v},78952:function(e,t,n){n.d(t,{I:function(){return a},e:function(){return o}}),n(2265);var r=n(74967);n(57437);let[o,a]=(0,r.createSafeContext)("HoverCard component was not found in the tree")},81949:function(e,t,n){n.d(t,{HoverCard:function(){return f}});var r=n(57437),o=n(83547);n(2265);var a=n(63576),l=n(12929),i=n(96428),c=n(78952),u=n(1301),s=n(50374);let d={openDelay:0,closeDelay:150,initiallyOpened:!1};function f(e){let{children:t,onOpen:n,onClose:u,openDelay:s,closeDelay:f,initiallyOpened:m,...v}=(0,a.useProps)("HoverCard",d,e),[p,{open:h,close:g}]=(0,o.useDisclosure)(m,{onClose:u,onOpen:n}),{openDropdown:y,closeDropdown:b}=(0,l.useDelayedHover)({open:h,close:g,openDelay:s,closeDelay:f});return(0,r.jsx)(c.e,{value:{openDropdown:y,closeDropdown:b},children:(0,r.jsx)(i.Popover,{...v,opened:p,__staticSelector:"HoverCard",children:t})})}f.displayName="@mantine/core/HoverCard",f.Target=s.HoverCardTarget,f.Dropdown=u.HoverCardDropdown,f.extend=e=>e},1301:function(e,t,n){n.d(t,{HoverCardDropdown:function(){return u}});var r=n(57437);n(2265);var o=n(93246),a=n(63576),l=n(96428),i=n(78952);let c={};function u(e){let{children:t,onMouseEnter:n,onMouseLeave:u,...s}=(0,a.useProps)("HoverCardDropdown",c,e),d=(0,i.I)(),f=(0,o.createEventHandler)(n,d.openDropdown),m=(0,o.createEventHandler)(u,d.closeDropdown);return(0,r.jsx)(l.Popover.Dropdown,{onMouseEnter:f,onMouseLeave:m,...s,children:t})}
1u.displayName="@mantine/core/HoverCardDropdown"},50374:function(e,t,n){n.d(t,{HoverCardTarget:function(){return d}});var r=n(57437),o=n(2265),a=n(35786),l=n(93246),i=n(63576),c=n(96428),u=n(78952);let s={refProp:"ref"},d=(0,o.forwardRef)((e,t)=>{let{children:n,refProp:d,eventPropsWrapperName:f,...m}=(0,i.useProps)("HoverCardTarget",s,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)(),p={onMouseEnter:(0,l.createEventHandler)(n.props.onMouseEnter,v.openDropdown),onMouseLeave:(0,l.createEventHandler)(n.props.onMouseLeave,v.closeDropdown)};return(0,r.jsx)(c.Popover.Target,{refProp:d,ref:t,...m,children:(0,o.cloneElement)(n,f?{[f]:p}:p)})});d.displayName="@mantine/core/HoverCardTarget"},23670:function(e,t,n){n.d(t,{JsonInput:function(){return f}});var r=n(57437),o=n(2265),a=n(22320),l=n(63576),i=n(70650),c=n(78317),u=n(7406);function s(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,i.factory)((e,t)=>{let{value:n,defaultValue:i,onChange:c,formatOnBlur:f,validationError:m,serialize:v,deserialize:p,onFocus:h,onBlur:g,readOnly:y,error:b,...w}=(0,l.useProps)("JsonInput",d,e),[x,S]=(0,a.useUncontrolled)({value:n,defaultValue:i,finalValue:"",onChange:c}),[C,k]=(0,o.useState)(s(x,p));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=s(e.currentTarget.value,p);f&&!y&&t&&""!==e.currentTarget.value.trim()&&S(v(p(e.currentTarget.value),null,2)),k(t)},ref:t,readOnly:y,...w,autoComplete:"off",__staticSelector:"JsonInput",error:C?b:m||!0,"data-monospace":!0})});f.classes=c.InputBase.classes,f.displayName="@mantine/core/JsonInput"},56117:function(e,t,n){n.d(t,{Kbd:function(){return m}});var r=n(57437);n(2265);var o=n(59105),a=n(99542),l=n(63576),i=n(38329),c=n(11612),u=n(70650),s={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")}}}),m=(0,u.factory)((e,t)=>{let n=(0,l.useProps)("Kbd",d,e),{classNames:o,className:a,style:u,styles:m,unstyled:v,vars:p,...h}=n,g=(0,i.useStyles)({name:"Kbd",classes:s,props:n,className:a,style:u,classNames:o,styles:m,unstyled:v,vars:p,varsResolver:f});return(0,r.jsx)(c.Box,{component:"kbd",ref:t,...g("root"),...h})});m.classes=s,m.displayName="@mantine/core/Kbd"},81906:function(e,t,n){n.d(t,{U:function(){return a},Z:function(){return o}}),n(2265);var r=n(74967);n(57437);let[o,a]=(0,r.createSafeContext)("List component was not found in tree")},14853:function(e,t,n){n.d(t,{List:function(){return p}});var r=n(57437);n(2265);var o=n(59105),a=n(99542),l=n(63576),i=n(38329),c=n(11612),u=n(70650),s=n(81906),d=n(29877),f=n(35636);let m={type:"unordered"},v=(0,a.createVarsResolver)((e,t)=>{let{size:n,spacing:r}=t;return{root:{"--list-fz":(0,o.getFontSize)(n),"--list-lh":(0,o.getLineHeight)(n),"--list-spacing":(0,o.getSpacing)(r)}}}),p=(0,u.factory)((e,t)=>{let n=(0,l.useProps)("List",m,e),{classNames:o,className:a,style:u,styles:d,unstyled:p,vars:h,children:g,type:y,withPadding:b,icon:w,spacing:x,center:S,listStyleType:C,mod:k,...E}=n,j=(0,i.useStyles)({name:"List",classes:f.Z,props:n,className:a,style:u,classNames:o,styles:d,unstyled:p,vars:h,varsResolver:v});return(0,r.jsx)(s.Z,{value:{center:S,icon:w,getStyles:j},children:(0,r.jsx)(c.Box,{...j("root",{style:{listStyleType:C}}),component:"unordered"===y?"ul":"ol",mod:[{"with-padding":b},k],ref:t,...E,children:g})})});p.classes=f.Z,p.displayName="@mantine/core/List",p.Item=d.ListItem},35636:function(e,t,n){n.d(t,{Z:function(){return r}});var r={root:"m_abbac491",item:"m_abb6bec2",itemWrapper:"m_75cd9f71",itemIcon:"m_60f83e5b"}},29877:function(e,t,n){n.d(t,{ListItem:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(11612),l=n(70650),i=n(81906),c=n(35636);let u={},s=(0,l.factory)((e,t)=>{let{classNames:n,className:l,style:c,styles:s,vars:d,icon:f,children:m,mod:v,...p}=(0,o.useProps)("ListItem",u,e),h=(0,i.U)(),g=f||h.icon,y={classNames:n,styles:s};return(0,r.jsx)(a.Box,{...h.getStyles("item",{...y,className:l,style:c}
1),component:"li",mod:[{"with-icon":!!g,centered:h.center},v],ref:t,...p,children:(0,r.jsxs)("div",{...h.getStyles("itemWrapper",y),children:[g&&(0,r.jsx)("span",{...h.getStyles("itemIcon",y),children:g}),(0,r.jsx)("span",{...h.getStyles("itemLabel",y),children:m})]})})});s.classes=c.Z,s.displayName="@mantine/core/ListItem"},18238:function(e,t,n){n.d(t,{useDrawersStack:function(){return a},useModalsStack:function(){return o}});var r=n(2265);function o(e){let t=e.reduce((e,t)=>({...e,[t]:!1}),{}),[n,o]=(0,r.useState)(t),a=(0,r.useCallback)(e=>{o(t=>({...t,[e]:!0}))},[]),l=(0,r.useCallback)(e=>o(t=>({...t,[e]:!1})),[]),i=(0,r.useCallback)(e=>o(t=>({...t,[e]:!t[e]})),[]),c=(0,r.useCallback)(()=>o(t),[]),u=(0,r.useCallback)(e=>({opened:n[e],onClose:()=>l(e),stackId:e}),[n]);return{state:n,open:a,close:l,closeAll:c,toggle:i,register:u}}let a=o},55:function(e,t,n){n.d(t,{NavLink:function(){return g}});var r=n(57437),o=n(22320);n(2265);var a=n(59105),l=n(99542),i=n(63576),c=n(38329),u=n(11612),s=n(23468),d=n(23202),f=n(53201),m=n(78289),v={root:"m_f0824112",description:"m_57492dcc",section:"m_690090b5",label:"m_1f6ac4c4",body:"m_f07af9d2",children:"m_e17b862f",chevron:"m_1fd8a00b"};let p={},h=(0,l.createVarsResolver)((e,t)=>{let{variant:n,color:r,childrenOffset:o,autoContrast:l}=t,i=e.variantColorResolver({color:r||e.primaryColor,theme:e,variant:n||"light",autoContrast:l});return{root:{"--nl-bg":r||n?i.background:void 0,"--nl-hover":r||n?i.hover:void 0,"--nl-color":r||n?i.color:void 0},children:{"--nl-offset":(0,a.getSpacing)(o)}}}),g=(0,s.polymorphicFactory)((e,t)=>{let n=(0,i.useProps)("NavLink",p,e),{classNames:a,className:l,style:s,styles:g,unstyled:y,vars:b,opened:w,defaultOpened:x,onChange:S,children:C,onClick:k,active:E,disabled:j,leftSection:I,rightSection:R,label:_,description:M,disableRightSectionRotation:P,noWrap:A,childrenOffset:T,onKeyDown:D,autoContrast:N,mod:z,...L}=n,B=(0,c.useStyles)({name:"NavLink",props:n,classes:v,className:l,style:s,classNames:a,styles:g,unstyled:y,vars:b,varsResolver:h}),[F,O]=(0,o.useUncontrolled)({value:w,defaultValue:x,finalValue:!1,onChange:S}),V=!!C;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.UnstyledButton,{...B("root"),component:"a",ref:t,onClick:e=>{null==k||k(e),V&&(e.preventDefault(),O(!F))},onKeyDown:e=>{null==D||D(e),"Space"===e.nativeEvent.code&&V&&(e.preventDefault(),O(!F))},unstyled:y,mod:[{disabled:j,active:E,expanded:F},z],...L,children:[I&&(0,r.jsx)(u.Box,{component:"span",...B("section"),mod:{position:"left"},children:I}),(0,r.jsxs)(u.Box,{...B("body"),mod:{"no-wrap":A},children:[(0,r.jsx)(u.Box,{component:"span",...B("label"),children:_}),(0,r.jsx)(u.Box,{component:"span",mod:{active:E},...B("description"),children:M})]}),(V||R)&&(0,r.jsx)(u.Box,{...B("section"),component:"span",mod:{rotate:F&&!P,position:"right"},children:V?R||(0,r.jsx)(d.AccordionChevron,{...B("chevron")}):R})]}),V&&(0,r.jsx)(f.Collapse,{in:F,...B("collapse"),children:(0,r.jsx)("div",{...B("children"),children:C})})]})});g.classes=v,g.displayName="@mantine/core/NavLink"},53894:function(e,t,n){n.d(t,{Notification:function(){return h}});var r=n(57437);n(2265);var o=n(59105),a=n(99542),l=n(78016),i=n(63576),c=n(38329),u=n(11612),s=n(70650),d=n(32664),f=n(2874),m={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},p=(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,l.getThemeColor)(r,e):void 0}}}),h=(0,s.factory)((e,t)=>{let n=(0,i.useProps)("Notification",v,e),{className:o,color:a,radius:l,loading:s,withCloseButton:h,withBorder:g,title:y,icon:b,children:w,onClose:x,closeButtonProps:S,classNames:C,style:k,styles:E,unstyled:j,variant:I,vars:R,mod:_,...M}=n,P=(0,c.useStyles)({name:"Notification",classes:m,props:n,className:o,style:k,classNames:C,styles:E,unstyled:j,vars:R,varsResolver:p});return(0,r.jsxs)(u.Box,{...P("root"),mod:[{"data-with-icon":!!b||s,"data-with-border":g},_],ref:t,variant:I,...M,role:"alert",children:[b&&!s&&(0,r.jsx)("div",{...P("icon"),children:b}),s&&(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})]}
1),h&&(0,r.jsx)(d.CloseButton,{iconSize:16,color:"gray",...S,unstyled:j,onClick:x,...P("closeButton")})]})});h.classes=m,h.displayName="@mantine/core/Notification"},51034:function(e,t,n){n.d(t,{NumberFormatter:function(){return i}});var r=n(57437),o=n(1560);n(2265);var a=n(63576);let l={};function i(e){let{value:t,defaultValue:n,...i}=(0,a.useProps)("NumberFormatter",l,e);return void 0===t?null:(0,r.jsx)(o.h3,{displayType:"text",value:t,...i})}i.extend=e=>e,i.displayName="@mantine/core/NumberFormatter"},77623:function(e,t,n){n.d(t,{PasswordInput:function(){return w}});var r=n(57437),o=n(61994),a=n(61610),l=n(22320);n(2265);var i=n(59105),c=n(99542),u=n(24612),s=n(38329),d=n(63576),f=n(40738),m=n(70650),v=n(98360),p=n(93920),h=n(78317),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,c.createVarsResolver)((e,t)=>{let{size:n}=t;return{root:{"--psi-icon-size":(0,i.getSize)(n,"psi-icon-size"),"--psi-button-size":(0,i.getSize)(n,"psi-button-size")}}}),w=(0,m.factory)((e,t)=>{var n;let i=(0,d.useProps)("PasswordInput",y,e),{classNames:c,className:m,style:h,styles:w,unstyled:x,vars:S,required:C,error:k,leftSection:E,disabled:j,id:I,variant:R,inputContainer:_,description:M,label:P,size:A,errorProps:T,descriptionProps:D,labelProps:N,withAsterisk:z,inputWrapperOrder:L,wrapperProps:B,radius:F,rightSection:O,rightSectionWidth:V,rightSectionPointerEvents:H,leftSectionWidth:Z,visible:U,defaultVisible:W,onVisibilityChange:q,visibilityToggleIcon:K,visibilityToggleButtonProps:J,rightSectionProps:G,leftSectionProps:Y,leftSectionPointerEvents:X,withErrorStyles:$,mod:Q,...ee}=i,et=(0,a.useId)(I),[en,er]=(0,l.useUncontrolled)({value:U,defaultValue:W,finalValue:!1,onChange:q}),eo=()=>er(!en),ea=(0,s.useStyles)({name:"PasswordInput",classes:g,props:i,className:m,style:h,classNames:c,styles:w,unstyled:x,vars:S,varsResolver:b}),{resolvedClassNames:el,resolvedStyles:ei}=(0,u.useResolvedStylesApi)({classNames:c,styles:w,props:i}),{styleProps:ec,rest:eu}=(0,f.extractStyleProps)(ee),es=(0,r.jsx)(v.ActionIcon,{...ea("visibilityToggle"),disabled:j,radius:F,"aria-hidden":!J,tabIndex:-1,...J,variant:null!==(n=null==J?void 0:J.variant)&&void 0!==n?n:"subtle",color:"gray",unstyled:x,onTouchEnd:e=>{var t;e.preventDefault(),null==J||null===(t=J.onTouchEnd)||void 0===t||t.call(J,e),eo()},onMouseDown:e=>{var t;e.preventDefault(),null==J||null===(t=J.onMouseDown)||void 0===t||t.call(J,e),eo()},onKeyDown:e=>{var t;null==J||null===(t=J.onKeyDown)||void 0===t||t.call(J,e)," "===e.key&&(e.preventDefault(),eo())},children:(0,r.jsx)(K,{reveal:en})});return(0,r.jsx)(p.Input.Wrapper,{required:C,id:et,label:P,error:k,description:M,size:A,classNames:el,styles:ei,__staticSelector:"PasswordInput",errorProps:T,descriptionProps:D,unstyled:x,withAsterisk:z,inputWrapperOrder:L,inputContainer:_,variant:R,labelProps:{...N,htmlFor:et}
1,mod:Q,...ea("root"),...ec,...B,children:(0,r.jsx)(p.Input,{component:"div",error:k,leftSection:E,size:A,classNames:{...el,input:(0,o.Z)(g.input,el.input)},styles:ei,radius:F,disabled:j,__staticSelector:"PasswordInput",rightSectionWidth:V,rightSection:null!=O?O:es,variant:R,unstyled:x,leftSectionWidth:Z,rightSectionPointerEvents:H||"all",rightSectionProps:G,leftSectionProps:Y,leftSectionPointerEvents:X,withAria:!1,withErrorStyles:$,children:(0,r.jsx)("input",{required:C,"data-invalid":!!k||void 0,"data-with-left-section":!!E||void 0,...ea("innerInput"),disabled:j,id:et,ref:t,...eu,autoComplete:eu.autoComplete||"off",type:en?"text":"password"})})})});w.classes={...h.InputBase.classes,...g},w.displayName="@mantine/core/PasswordInput"},5530:function(e,t,n){n.d(t,{PinInput:function(){return S}});var r=n(57437),o=n(2265),a=n(61610),l=n(22320),i=n(91759),c=n(59105),u=n(99542),s=n(24612),d=n(38329),f=n(63576),m=n(70650),v=n(91653),p=n(93920),h=n(78317);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<Math.min(e,r.length);t+=1)n[t]=" "===r[t]?"":r[t]}return n}var y={root:"m_f1cb205a",pinInput:"m_cb288ead"};let b={number:/^[0-9]+$/,alphanumeric:/^[a-zA-Z0-9]+$/i},w={gap:"sm",length:4,manageFocus:!0,oneTimeCode:!0,placeholder:"○",type:"alphanumeric",ariaLabel:"PinInput"},x=(0,u.createVarsResolver)((e,t)=>{let{size:n}=t;return{root:{"--pin-input-size":(0,c.getSize)(null!=n?n:w.size,"pin-input-size")}}}),S=(0,m.factory)((e,t)=>{let{name:n,form:c,className:u,value:m,defaultValue:h,variant:S,gap:C,style:k,size:E,classNames:j,styles:I,unstyled:R,length:_,onChange:M,onComplete:P,manageFocus:A,autoFocus:T,error:D,radius:N,disabled:z,oneTimeCode:L,placeholder:B,type:F,mask:O,readOnly:V,inputType:H,inputMode:Z,ariaLabel:U,vars:W,id:q,hiddenInputProps:K,rootRef:J,getInputProps:G,...Y}=(0,f.useProps)("PinInput",w,e),X=(0,a.useId)(q),$=(0,d.useStyles)({name:"PinInput",classes:y,props:e,className:u,style:k,classNames:j,styles:I,unstyled:R,vars:W,varsResolver:x}),{resolvedClassNames:Q,resolvedStyles:ee}=(0,s.useResolvedStylesApi)({classNames:j,styles:I,props:e}),[et,en]=(0,o.useState)(-1),[er,eo]=(0,l.useUncontrolled)({value:m?g(null!=_?_:0,m):void 0,defaultValue:null==h?void 0:h.split("").slice(0,null!=_?_:0),finalValue:g(null!=_?_:0,""),onChange:"function"==typeof M?e=>{M(e.join("").trim())}:void 0}),ea=er.join("").trim(),el=(0,o.useRef)([]),ei=e=>{let t=F instanceof RegExp?F:F&&F in b?b[F]:null;return null==t?void 0:t.test(e)},ec=(e,t,n)=>{if(!A){null==n||n.preventDefault();return}if("next"===e){let e=t+1;e<(null!=_?_:0)&&(null==n||n.preventDefault(),el.current[e].focus())}if("prev"===e){let e=t-1;e>-1&&(null==n||n.preventDefault(),el.current[e].focus())}},eu=(e,t)=>{let n=[...er];n[t]=e,eo(n)},es=(e,t)=>{let n=e.target.value,r=2===n.length?n.split("")[n.length-1]:n,o=ei(r);r.length<2?o?(eu(r,t),ec("next",t)):eu("",t):o&&eo(g(null!=_?_:0,n))},ed=(e,t)=>{let{ctrlKey:n,metaKey:r,key:o,shiftKey:a,target:l}=e,i=l.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?ec("prev",t,e):"ArrowRight"===o||"Tab"===o||" "===o?ec("next",t,e):"Delete"===o?eu("",t):"Backspace"===o?0!==t&&(eu("",t),_===t+1?""===e.target.value&&ec("prev",t,e):ec("prev",t,e)):i.length>0&&o===er[t]&&ec("next",t,e)},ef=(e,t)=>{e.target.select(),en(t)},em=()=>{en(-1)},ev=e=>{e.preventDefault();let t=e.clipboardData.getData("text/plain").replace(/[\n\r\s]+/g,"");if(ei(t.trim())){let e=g(null!=_?_:0,t);eo(e),ec("next",e.length-2)}};return(0,o.useEffect)(()=>{ea.length===_&&(null==P||P(ea))},[_,ea]),(0,o.useEffect)(()=>{_!==er.length&&eo(g(null!=_?_:0,er.join("")))},[_,er]),(0,o.useEffect)(()=>{""===m&&eo(g(null!=_?_:0,m))},[m]),(0,o.useEffect)(()=>{z&&en(-1)},[z]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v.Group,{...Y,...$("root"),ref:J,role:"group",id:X,gap:C,unstyled:R,wrap:"nowrap",variant:S,__size:E,dir:"ltr",children:er.map((e,n)=>(0,o.createElement)(p.Input,{component:"input",...$("pinInput",{style:{"--input-padding":"0","--input-text-align":"center"}}),classNames:Q,styles:ee,size:E,__staticSelector:"PinInput",id:"".concat(X,"-").concat(n+1),key:"".concat(X,"-").concat(n),inputMode:Z||("number"===F?"numeric":"text"),onChange:e=>es(e,n),onKeyDown:e=>ed(e,n),onFocus:e=>ef(e,n),onBlur:em,onPaste:ev,type:H||(O?"password":"number"===F?"tel":"text"),radius:N,error:D,variant:S,disabled:z,ref:e=>{0===n&&(0,i.assignRef)(t,e),el.current[n]=e},autoComplete:L?"one-time-code":"off",placeholder:et===n?"":B,value:e,autoFocus:T&&0===n,unstyled:R,"aria-label":U,readOnly:V,...null==G?void 0:G(n)}))}),(0,r.jsx)("input",{type:"hidden",name:n,form:c,value:ea,...K})]})});S.classes={...y,...h.InputBase.classes},S.displayName="@mantine/core/PinInput"},85929:function(e,t,n){n.d(t,{Rating:function(){return j}});var r=n(57437),o=n(2265),a=n(61610),l=n(22320),i=n(38232),c=n(91759),u=n(59105),s=n(99542),d=n(78016),f=n(63576),m=n(38329),v=n(11612),p=n(70650),h=n(64082);let[g,y]=(0,n(74967).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:l,active:i,value:c,readOnly:u,fractionValue:s,color:d,id:f,onBlur:m,onCh
1ange:p,onInputChange:g,style:b,...x}=e,S=y(),C="function"==typeof a?a(c):a,k="function"==typeof o?o(c):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&&p(c),id:f,type:"radio","data-active":i||void 0,"aria-label":null==n?void 0:n(c),value:c,onBlur:m,onChange:g,...x}),(0,r.jsx)(v.Box,{component:u?"div":"label",...S.getStyles("label"),"data-read-only":u||void 0,htmlFor:f,onClick:()=>p(c),__vars:{"--rating-item-z-index":null===(t=1===s?void 0:i?2:0)||void 0===t?void 0:t.toString()},children:(0,r.jsx)(v.Box,{...S.getStyles("symbolBody"),__vars:{"--rating-symbol-clip-path":1===s?void 0:"ltr"===E?"inset(0 ".concat(i?100-100*s:100,"% 0 0)"):"inset(0 0 0 ".concat(i?100-100*s:100,"% )")},children:l?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,s.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,p.factory)((e,t)=>{let n=(0,f.useProps)("Rating",k,e),{classNames:u,className:s,style:d,styles:p,unstyled:y,vars:b,name:w,id:j,value:I,defaultValue:R,onChange:_,fractions:M,count:P,onMouseEnter:A,readOnly:T,onMouseMove:D,onHover:N,onMouseLeave:z,onTouchStart:L,onTouchEnd:B,size:F,variant:O,getSymbolLabel:V,color:H,emptySymbol:Z,fullSymbol:U,highlightSelectedOnly:W,...q}=n,K=(0,m.useStyles)({name:"Rating",classes:S,props:n,className:s,style:d,classNames:u,styles:p,unstyled:y,vars:b,varsResolver:E}),{dir:J}=(0,h.useDirection)(),G=(0,a.useId)(w),Y=(0,a.useId)(j),X=(0,o.useRef)(null),[$,Q]=(0,l.useUncontrolled)({value:I,defaultValue:R,finalValue:0,onChange:_}),[ee,et]=(0,o.useState)(-1),[en,er]=(0,o.useState)(!0),eo=Math.floor(M),ea=Math.floor(P),el=1/eo,ei=C($,el),ec=-1!==ee?ee:ei,eu=e=>{let{left:t,right:n,width:r}=X.current.getBoundingClientRect(),o=r/ea;return(0,i.clamp)(C(("rtl"===J?n-e:e-t)/o+el/2,el),el,ea)},es=()=>en&&et(-1),ed=e=>{T||("number"==typeof e?et(e):et(parseFloat(e.target.value)))},ef=e=>{T||("number"==typeof e?Q(e):Q(parseFloat(e.target.value)))},em=Array(ea).fill(0).map((e,t)=>{let n=t+1,o=Array.from(Array(0===t?eo+1:eo)),a=!T&&Math.ceil(ee)===n;return(0,r.jsx)("div",{"data-active":a||void 0,...K("symbolGroup"),children:o.map((e,o)=>{let a=el*(0===t?o:o+1),l=C(n-1+a,el);return(0,r.jsx)(x,{getSymbolLabel:V,emptyIcon:Z,fullIcon:U,full:W?l===ec:l<=ec,active:l===ec,checked:l===ei,readOnly:T,fractionValue:a,value:l,name:G,onChange:ef,onBlur:es,onInputChange:ed,id:"".concat(Y,"-").concat(t,"-").concat(o)},"".concat(n,"-").concat(l))})},n)});return(0,r.jsx)(g,{value:{getStyles:K},children:(0,r.jsx)(v.Box,{ref:(0,c.useMergedRef)(X,t),...K("root"),onMouseMove:e=>{if(null==D||D(e),T)return;let t=eu(e.clientX);et(t),t!==ee&&(null==N||N(t))},onMouseEnter:e=>{null==A||A(e),T||er(!1)},onMouseLeave:e=>{null==z||z(e),T||(et(-1),er(!0),-1!==ee&&(null==N||N(-1)))},onTouchStart:e=>{let{touches:t}=e;1===t.length&&(T||Q(eu(t[0].clientX)),null==L||L(e))},onTouchEnd:e=>{e.preventDefault(),null==B||B(e)},variant:O,size:F,id:Y,...q,children:em})})});j.classes=S,j.displayName="@mantine/core/Rating"},85911:function(e,t,n){n.d(t,{RingProgress:function(){return y}});var r=n(57437),o=n(2265),a=n(28552),l=n(99542),i=n(63576),c=n(38329),u=n(11612),s=n(70650),d=n(78016),f=n(52602),m=n(33037);function v(e){let{size:t,value:n,offset:o,sum:a,thickness:l,root:i,color:c,lineRoundCaps:s,tooltip:v,getStyles:p,display:h,...g}=e,y=(0,f.useMantineTheme)();return(0,r.jsx)(m.Tooltip.Floating,{disabled:!v,label:v,children:(0,r.jsx)(u.Box,{component:"circle",...g,...p("curve"),__vars:{"--curve-color":c?(0,d.getThemeColor)(c,y):void 0},fill:"none",strokeLinecap:s?"round":"butt",...function(e){let{size:t,thickness:n,sum:r,value:o,root:a,offset:l}=e,i=(.9*t-2*n)/2,c=Math.PI*i*2/100,u=a||void 0===o?"".concat((100-r)*c,", ").concat(r*c):"".concat(o*c,", ").concat((100-o)*c);return{strokeWidth:Number.isNaN(n)?12:n,cx:t/2||0,cy:t/2||0,r:i||0,transform:a?"scale(1, -1) translate(0, -".concat(t,")"):void 0,strokeDasharray:u,strokeDashoffset:a?0:l||0}}({sum:a,size:t,thickness:l,value:n,offset:o,root:i})})})}v.displayName="@mantine/core/Curve";var p={root:"m_b32e4812",svg:"m_d43b5134",curve:"m_b1ca1fbf",label:"m_b23f9dc4"};let h={size:120,thickness:12},g=(0,l.createVarsResolver)((e,t)=>{let{size:n,thickness:r,transitionDuration:o}=t;return{root:{"--rp-size":(0,a.h)(n),"--rp-label-offset":(0,a.h)(2*r),"--rp-transition-duration":o?"".concat(o,"ms"):void 0}}}),y=(0,s.factory)((e,t)=>{let n=(0,i.useProps)("RingProgress",h,e),{classNames:a,className:l,style:s,styles:d,unstyled:f,vars:m,label:y,sections:b,size:w,thickness:x,roundCaps:S,rootColor:C,transitionDuration:k,...E}=n,j=(0,c.useStyles)({name:"RingProgress",classes:p,props:n,className:l,style:s,classNames:a,styles:d,unstyled:f,vars:m,varsResolver:g}
1),I=Math.min(x||12,(w||120)/4),R=(function(e){let{size:t,thickness:n,sections:r,renderRoundedLineCaps:o,rootColor:a}=e,l=r.reduce((e,t)=>e+t.value,0),i=(.9*t-2*n)/2*Math.PI*2,c=i,u=[],s=[];for(let e=0;e<r.length;e+=1)u.push({sum:l,offset:c,data:r[e],root:!1}),c-=r[e].value/100*i;if(u.push({sum:l,offset:c,data:{color:a},root:!0}),s.push({...u[u.length-1],lineRoundCaps:!1}),u.length>2){s.push({...u[0],lineRoundCaps:o}),s.push({...u[u.length-2],lineRoundCaps:o});for(let e=1;e<=u.length-3;e+=1)s.push({...u[e],lineRoundCaps:!1})}else s.push({...u[0],lineRoundCaps:o});return s})({size:w,thickness:I,sections:b,renderRoundedLineCaps:S,rootColor:C}).map((e,t)=>{let{data:n,sum:r,root:a,lineRoundCaps:l,offset:i}=e;return(0,o.createElement)(v,{...n,key:t,size:w,thickness:I,sum:r,offset:i,color:null==n?void 0:n.color,root:a,lineRoundCaps:l,getStyles:j})});return(0,r.jsxs)(u.Box,{...j("root"),size:w,ref:t,...E,children:[(0,r.jsx)("svg",{...j("svg"),children:R}),y&&(0,r.jsx)("div",{...j("label"),children:y})]})});y.classes=p,y.displayName="@mantine/core/RingProgress"},46787:function(e,t,n){n.d(t,{SegmentedControl:function(){return S}});var r=n(57437),o=n(2265),a=n(47431),l=n(22320),i=n(61610),c=n(91759),u=n(59105),s=n(99542),d=n(78016),f=n(17141),m=n(52602),v=n(63576),p=n(38329),h=n(11612),g=n(70650),y=n(50202),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,s.createVarsResolver)((e,t)=>{let{radius:n,color:r,transitionDuration:o,size:a,transitionTimingFunction:l}=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":l,"--sc-padding":(0,u.getSize)(a,"sc-padding"),"--sc-font-size":(0,u.getFontSize)(a)}}}),S=(0,g.factory)((e,t)=>{var n,u,s,d;let g=(0,v.useProps)("SegmentedControl",w,e),{classNames:S,className:C,style:k,styles:E,unstyled:j,vars:I,data:R,value:_,defaultValue:M,onChange:P,size:A,name:T,disabled:D,readOnly:N,fullWidth:z,orientation:L,radius:B,color:F,transitionDuration:O,transitionTimingFunction:V,variant:H,autoContrast:Z,withItemsBorders:U,mod:W,...q}=g,K=(0,p.useStyles)({name:"SegmentedControl",props:g,classes:b,className:C,style:k,classNames:S,styles:E,unstyled:j,vars:I,varsResolver:x}),J=(0,m.useMantineTheme)(),G=R.map(e=>"string"==typeof e?{label:e,value:e}:e),Y=(0,a.useMounted)(),[X,$]=(0,o.useState)(null),[Q,ee]=(0,o.useState)({}),et=(e,t)=>{Q[t]=e,ee(Q)},[en,er]=(0,l.useUncontrolled)({value:_,defaultValue:M,finalValue:Array.isArray(R)&&null!==(d=null!==(s=null===(n=G.find(e=>!e.disabled))||void 0===n?void 0:n.value)&&void 0!==s?s:null===(u=R[0])||void 0===u?void 0:u.value)&&void 0!==d?d:null,onChange:P}),eo=(0,i.useId)(T),ea=G.map(e=>(0,o.createElement)(h.Box,{...K("control"),mod:{active:en===e.value,orientation:L},key:e.value},(0,o.createElement)("input",{...K("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":J.focusRing,key:"".concat(e.value,"-input")}),(0,o.createElement)(h.Box,{component:"label",...K("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!==F?(0,f.getContrastColor)({color:F,theme:J,autoContrast:Z}):void 0},key:"".concat(e.value,"-label")},(0,r.jsx)("span",{...K("innerLabel"),children:e.label})))),el=(0,c.useMergedRef)(t,e=>$(e));return 0===R.length?null:(0,r.jsxs)(h.Box,{...K("root"),variant:H,size:A,ref:el,mod:[{"full-width":z,orientation:L,initialized:Y,"with-items-borders":U},W],...q,role:"radiogroup","data-disabled":D,children:["string"==typeof en&&(0,r.jsx)(y.FloatingIndicator,{target:Q[en],parent:X,component:"span",transitionDuration:"var(--sc-transition-duration)",...K("indicator")}),ea]})});S.classes=b,S.displayName="@mantine/core/SegmentedControl"},90171:function(e,t,n){n.d(t,{SemiCircleProgress:function(){return p}});var r=n(57437),o=n(38232),a=n(28552);n(2265);var l=n(99542),i=n(78016),c=n(63576),u=n(38329),s=n(11612),d=n(70650),f={root:"m_fa528724",svg:"m_62e9e7e2",filledSegment:"m_c573fb6f",label:"m_4fa340f2"};let m={size:200,thickness:12,orientation:"up",fillDirection:"left-to-right",labelPosition:"bottom"},v=(0,l.createVarsResolver)((e,t)=>{let{filledSegmentColor:n,emptySegmentColor:r,orientation:o,fillDirection:l,transitionDuration:c,thickness:u}=t;return{root:{"--scp-filled-segment-color":n?(0,i.getThemeColor)(n,e):void 0,"--scp-empty-segment-color":r?(0,i.getThemeColor)(r,e):void 0,"--scp-rotation":function(e){let{orientation:t,fillDirection:n}=e;return"down"===t?"right-to-left"===n?"rotate(180deg) rotateY(180deg)":"rotate(180deg)":"left-to-right"===n?"rotateY(180deg)":void 0}({orientation:o,fillDirection:l}),"--scp-transition-duration":c?"".concat(c,"ms"):void 0,"--scp-thickness":(0,a.h)(u)}}}),p=(0,d.factory)((e,t)=>{let n=(0,c.useProps)("SemiCircleProgress",m,e),{classNames:a,className:l,style:i,styles:d,unstyled:p,vars:h,size:g,thickness:y,value:b,orientation:w,fillDirection:x,filledSegmentColor:S,emptySegmentColor:C,transitionDuration:k,label:E,labelPosition:j,...I}=n,R=(0,u.useStyles)({name:"SemiCircleProgress",classes:f,props:n,className:l,style:i,classNames:a,styles:d,unstyled:p,vars:h,varsResolver:v}),_=g/2,M=(g-2*y)/2,P=Math.PI*M,A=(0,o.clamp)(b,0,100)*(P/100);return(0,r.jsxs)(s.Box,{ref:t,size:g,...R("root"),...I,children:[E&&(0,r.jsx)("p",{...R("label"),"data-position":j,"data-orientation":w,children:E}),(0,r.jsxs)("svg",{width:g,height:g/2,...R("svg"),children:[(0,r.jsx)("circle",{cx:_,cy:_,r:M,fill:"none",stroke:"var(--scp-empty-segment-color)",strokeWidth:y,strokeDasharray:P,...R("emptySegment",{style:{strokeDashoffset:P}})}),(0,r.jsx)("circle",{cx:_,cy:_,r:M,fill:"none",stroke:"var(--scp-filled-segment-color)",strokeWidth:y,strokeDasharray:P,...R("filledSegment",{style:{strokeDashoffset:A}})})]})]})});p.displayName="@mantine/core/SemiCircleProgress",p.classes=f},18813:function(e,t,n){n.d(t,{Slider:function(){return _}});var r=n(57437),o=n(2265),a=n(22320),l=n(38232),i=n(5572),c=n(91759),u=n(28552),s=n(59105),d=n(29488),f=n(99542),m=n(78016),v=n(63576),p=n(38329),h=n(70650),g=n(64082),y=n(64718),b=n(49023),w=n(81411),x=n(73644),S=n(48622),C=n(90142),k=n(66394),E=n(4313),j=n(21410);let I={radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransitionProps:{transition:"fade",duration:0}
1,labelAlwaysOn:!1,thumbLabel:"",showLabelOnHover:!0,disabled:!1,scale:e=>e},R=(0,f.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,m.getThemeColor)(r,e):void 0,"--slider-radius":void 0===a?void 0:(0,s.getRadius)(a),"--slider-thumb-size":void 0!==o?(0,u.h)(o):"calc(var(--slider-size) * 2)"}}}),_=(0,h.factory)((e,t)=>{let n=(0,v.useProps)("Slider",I,e),{classNames:u,styles:s,value:f,onChange:m,onChangeEnd:h,size:_,min:M,max:P,step:A,precision:T,defaultValue:D,name:N,marks:z,label:L,labelTransitionProps:B,labelAlwaysOn:F,thumbLabel:O,showLabelOnHover:V,thumbChildren:H,disabled:Z,unstyled:U,scale:W,inverted:q,className:K,style:J,vars:G,hiddenInputProps:Y,restrictToMarks:X,...$}=n,Q=(0,p.useStyles)({name:"Slider",props:n,classes:j.Z,classNames:u,className:K,styles:s,style:J,vars:G,varsResolver:R,unstyled:U}),{dir:ee}=(0,g.useDirection)(),[et,en]=(0,o.useState)(!1),[er,eo]=(0,a.useUncontrolled)({value:"number"==typeof f?(0,l.clamp)(f,M,P):f,defaultValue:"number"==typeof D?(0,l.clamp)(D,M,P):D,finalValue:(0,l.clamp)(0,M,P),onChange:m}),ea=(0,o.useRef)(er),el=(0,o.useRef)(),ei=(0,o.useRef)(),ec=(0,k.b)({value:er,min:M,max:P}),eu=W(er),es="function"==typeof L?L(eu):L,ed=null!=T?T:(0,E.p)(A),ef=(0,o.useCallback)(e=>{let{x:t}=e;if(!Z){let e=(0,S.i)({value:t,min:M,max:P,step:A,precision:ed});eo(X&&(null==z?void 0:z.length)?(0,d.findClosestNumber)(e,z.map(e=>e.value)):e),ea.current=e}},[Z,M,P,A,ed,eo,z,X]),{ref:em,active:ev}=(0,i.useMove)(ef,{onScrubEnd:()=>null==h?void 0:h(X&&(null==z?void 0:z.length)?(0,d.findClosestNumber)(ea.current,z.map(e=>e.value)):ea.current)},ee);return(0,r.jsx)(y.Y,{value:{getStyles:Q},children:(0,r.jsxs)(b.l,{...$,ref:(0,c.useMergedRef)(t,el),onKeyDownCapture:e=>{if(!Z){var t,n,r,o,a,l;switch(e.key){case"ArrowUp":{e.preventDefault(),null===(t=ei.current)||void 0===t||t.focus();let n=(0,C.J)(Math.min(Math.max(er+A,M),P),ed);eo(n),null==h||h(n);break}case"ArrowRight":{e.preventDefault(),null===(n=ei.current)||void 0===n||n.focus();let t=(0,C.J)(Math.min(Math.max("rtl"===ee?er-A:er+A,M),P),ed);eo(t),null==h||h(t);break}case"ArrowDown":{e.preventDefault(),null===(r=ei.current)||void 0===r||r.focus();let t=(0,C.J)(Math.min(Math.max(er-A,M),P),ed);eo(t),null==h||h(t);break}case"ArrowLeft":{e.preventDefault(),null===(o=ei.current)||void 0===o||o.focus();let t=(0,C.J)(Math.min(Math.max("rtl"===ee?er+A:er-A,M),P),ed);eo(t),null==h||h(t);break}case"Home":e.preventDefault(),null===(a=ei.current)||void 0===a||a.focus(),eo(M),null==h||h(M);break;case"End":e.preventDefault(),null===(l=ei.current)||void 0===l||l.focus(),eo(P),null==h||h(P)}}},onMouseDownCapture:()=>{var e;return null===(e=el.current)||void 0===e?void 0:e.focus()},size:_,disabled:Z,children:[(0,r.jsx)(x.f,{inverted:q,offset:0,filled:ec,marks:z,min:M,max:P,value:eu,disabled:Z,containerProps:{ref:em,onMouseEnter:V?()=>en(!0):void 0,onMouseLeave:V?()=>en(!1):void 0},children:(0,r.jsx)(w.b,{max:P,min:M,value:eu,position:ec,dragging:ev,label:es,ref:ei,labelTransitionProps:B,labelAlwaysOn:F,thumbLabel:O,showLabelOnHover:V,isHovered:et,disabled:Z,children:H})}),(0,r.jsx)("input",{type:"hidden",name:N,value:eu,...Y})]})})});_.classes=j.Z,_.displayName="@mantine/core/Slider"},60310:function(e,t,n){n.d(t,{Space:function(){return c}});var r=n(57437);n(2265);var o=n(63576),a=n(11612),l=n(70650);let i={},c=(0,l.factory)((e,t)=>{let{w:n,h:l,miw:c,mih:u,...s}=(0,o.useProps)("Space",i,e);return(0,r.jsx)(a.Box,{ref:t,...s,w:n,miw:null!=c?c:n,h:l,mih:null!=u?u:l})});c.displayName="@mantine/core/Space"},9318:function(e,t,n){n.d(t,{Spoiler:function(){return g}});var r=n(57437),o=n(61610),a=n(22320),l=n(64918),i=n(28552);n(2265);var c=n(99542),u=n(63576),s=n(38329),d=n(11612),f=n(70650),m=n(35580),v={root:"m_559cce2d",content:"m_b912df4e",control:"m_b9131032"};let p={maxHeight:100,initialState:!1},h=(0,c.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",p,e),{classNames:c,className:f,style:g,styles:y,unstyled:b,vars:w,initialState:x,maxHeight:S,hideLabel:C,showLabel:k,children:E,controlRef:j,transitionDuration:I,id:R,expanded:_,onExpandedChange:M,...P}
1=n,A=(0,s.useStyles)({name:"Spoiler",classes:v,props:n,className:f,style:g,classNames:c,styles:y,unstyled:b,vars:w,varsResolver:h}),T=(0,o.useId)(R),D="".concat(T,"-region"),[N,z]=(0,a.useUncontrolled)({value:_,defaultValue:x,finalValue:!1,onChange:M}),{ref:L,height:B}=(0,l.useElementSize)(),F=N?C:k,O=null!==F&&S<B;return(0,r.jsxs)(d.Box,{...A("root"),id:T,ref:t,"data-has-spoiler":O||void 0,...P,children:[O&&(0,r.jsx)(m.Anchor,{component:"button",type:"button",ref:j,onClick:()=>z(!N),"aria-expanded":N,"aria-controls":D,...A("control"),children:F}),(0,r.jsx)("div",{...A("content",{style:{maxHeight:N?B?(0,i.h)(B):void 0:(0,i.h)(S)}}),"data-reduce-motion":!0,role:"region",id:D,children:(0,r.jsx)("div",{ref:L,children:E})})]})});g.classes=v,g.displayName="@mantine/core/Spoiler"},89205:function(e,t,n){n.d(t,{TagsInput:function(){return k}});var r=n(57437),o=n(2265),a=n(61610),l=n(91759),i=n(22320),c=n(24612),u=n(38329),s=n(63576),d=n(40738),f=n(70650),m=n(14266),v=n(36293),p=n(12794),h=n(18166),g=n(89883),y=n(78317),b=n(33196),w=n(2296),x=n(71161);function S(e){let{splitChars:t,allowDuplicates:n,maxTags:r,value:o,currentTags:a}=e,l=t?o.split(new RegExp("[".concat(t.join(""),"]"))).map(e=>e.trim()).filter(e=>""!==e):[o],i=n?[...a,...l]:[...new Set([...a,...l])];return r?i.slice(0,r):i}let C={maxTags:1/0,allowDuplicates:!1,acceptValueOnBlur:!0,splitChars:[","],hiddenInputValuesDivider:","},k=(0,f.factory)((e,t)=>{let n=(0,s.useProps)("TagsInput",C,e),{classNames:f,className:y,style:k,styles:E,unstyled:j,vars:I,size:R,value:_,defaultValue:M,onChange:P,onKeyDown:A,maxTags:T,allowDuplicates:D,onDuplicate:N,variant:z,data:L,dropdownOpened:B,defaultDropdownOpened:F,onDropdownOpen:O,onDropdownClose:V,selectFirstOptionOnChange:H,onOptionSubmit:Z,comboboxProps:U,filter:W,limit:q,withScrollArea:K,maxDropdownHeight:J,searchValue:G,defaultSearchValue:Y,onSearchChange:X,readOnly:$,disabled:Q,splitChars:ee,onFocus:et,onBlur:en,onPaste:er,radius:eo,rightSection:ea,rightSectionWidth:el,rightSectionPointerEvents:ei,rightSectionProps:ec,leftSection:eu,leftSectionWidth:es,leftSectionPointerEvents:ed,leftSectionProps:ef,inputContainer:em,inputWrapperOrder:ev,withAsterisk:ep,required:eh,labelProps:eg,descriptionProps:ey,errorProps:eb,wrapperProps:ew,description:ex,label:eS,error:eC,withErrorStyles:ek,name:eE,form:ej,id:eI,clearable:eR,clearButtonProps:e_,hiddenInputProps:eM,hiddenInputValuesDivider:eP,mod:eA,renderOption:eT,onRemove:eD,onClear:eN,scrollAreaProps:ez,acceptValueOnBlur:eL,...eB}=n,eF=(0,a.useId)(eI),eO=(0,m.getParsedComboboxData)(L),eV=(0,v.getOptionsLockup)(eO),eH=(0,o.useRef)(null),eZ=(0,l.useMergedRef)(eH,t),eU=(0,g.useCombobox)({opened:B,defaultOpened:F,onDropdownOpen:O,onDropdownClose:()=>{null==V||V(),eU.resetSelectedOption()}}),{styleProps:eW,rest:{type:eq,autoComplete:eK,...eJ}}=(0,d.extractStyleProps)(eB),[eG,eY]=(0,i.useUncontrolled)({value:_,defaultValue:M,finalValue:[],onChange:P}),[eX,e$]=(0,i.useUncontrolled)({value:G,defaultValue:Y,finalValue:"",onChange:X}),eQ=(0,u.useStyles)({name:"TagsInput",classes:{},props:n,classNames:f,styles:E,unstyled:j}),{resolvedClassNames:e0,resolvedStyles:e1}=(0,c.useResolvedStylesApi)({props:n,styles:E,classNames:f}),e2=e=>{let t=eG.some(t=>t.toLowerCase()===e.toLowerCase());t&&(null==N||N(e)),(!t||t&&D)&&eG.length<T&&(null==Z||Z(e),e$(""),e.length>0&&eY([...eG,e]))},e5=eG.map((e,t)=>(0,r.jsx)(b.Pill,{withRemoveButton:!$,onRemove:()=>{let n=eG.slice();n.splice(t,1),eY(n),null==eD||eD(e)},unstyled:j,disabled:Q,...eQ("pill"),children:e},"".concat(e,"-").concat(t)));(0,o.useEffect)(()=>{H&&eU.selectFirstOption()},[H,eG,eX]);let e6=eR&&eG.length>0&&!Q&&!$&&(0,r.jsx)(p.Combobox.ClearButton,{size:R,...e_,onClear:()=>{var e;eY([]),e$(""),null===(e=eH.current)||void 0===e||e.focus(),eU.openDropdown(),null==eN||eN()}});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(p.Combobox,{store:eU,classNames:e0,styles:e1,unstyled:j,size:R,readOnly:$,__staticSelector:"TagsInput",onOptionSubmit:e=>{null==Z||Z(e),e$(""),eG.length<T&&eY([...eG,eV[e].label]),eU.resetSelectedOption()},...U,children:[(0,r.jsx)(p.Combobox.DropdownTarget,{children:(0,r.jsx)(w.PillsInput,{...eW,__staticSelector:"TagsInput",classNames:e0,styles:e1,unstyled:j,size:R,className:y,style:k,variant:z,disabled:Q,radius:eo,rightSection:ea||e6,rightSectionWidth:el,rightSectionPointerEvents:ei,rightSectionProps:ec,leftSection:eu,leftSectionWidth:es,leftSectionPointerEvents:ed,leftSectionProps:ef,inputContainer:em,inputWrapperOrder:ev,withAsterisk:ep,required:eh,labelProps:eg,descriptionProps:ey,errorProps:eb,wrapperProps:ew,description:ex,label:eS,error:eC,multiline:!0,withErrorStyles:ek,__stylesApiProps:{...n,multiline:!0},id:eF,mod:eA,children:(0,r.jsxs)(b.Pill.Group,{disabled:Q,unstyled:j,...eQ("pillsList"),children:[e5,(0,r.jsx)(p.Combobox.EventsTarget,{autoComplete:eK,children:(0,r.jsx)(w.PillsInput.Field,{...eJ,ref:eZ,...eQ("inputField"),unstyled:j,onKeyDown:e=>{if(null==A||A(e),e.isPropagationStopped())return;let t=eX.trim(),{length:n}=t;
1if(ee.includes(e.key)&&n>0&&(eY(S({splitChars:ee,allowDuplicates:D,maxTags:T,value:eX,currentTags:eG})),e$(""),e.preventDefault()),"Enter"===e.key&&n>0&&!e.nativeEvent.isComposing){if(e.preventDefault(),document.querySelector("#".concat(eU.listId," [data-combobox-option][data-combobox-selected]")))return;e2(t)}"Backspace"===e.key&&0===n&&eG.length>0&&!e.nativeEvent.isComposing&&(null==eD||eD(eG[eG.length-1]),eY(eG.slice(0,eG.length-1)))},onFocus:e=>{null==et||et(e),eU.openDropdown()},onBlur:e=>{null==en||en(e),eL&&e2(eX),eU.closeDropdown()},onPaste:e=>{if(null==er||er(e),e.preventDefault(),e.clipboardData){let t=e.clipboardData.getData("text/plain");eY(S({splitChars:ee,allowDuplicates:D,maxTags:T,value:"".concat(eX).concat(t),currentTags:eG})),e$("")}},value:eX,onChange:e=>e$(e.currentTarget.value),required:eh&&0===eG.length,disabled:Q,readOnly:$,id:eF})})]})})}),(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:q,hiddenWhenEmpty:!0,withScrollArea:K,maxDropdownHeight:J,unstyled:j,labelId:eS?"".concat(eF,"-label"):void 0,"aria-label":eS?void 0:eB["aria-label"],renderOption:eT,scrollAreaProps:ez})]}),(0,r.jsx)(p.Combobox.HiddenInput,{name:eE,form:ej,value:eG,valuesDivider:eP,disabled:Q,...eM})]})});k.classes={...y.InputBase.classes,...p.Combobox.classes},k.displayName="@mantine/core/TagsInput"},36806:function(e,t,n){n.d(t,{ThemeIcon:function(){return m}});var r=n(57437);n(2265);var o=n(59105),a=n(99542),l=n(63576),i=n(38329),c=n(11612),u=n(70650),s={root:"m_7341320d"};let d={},f=(0,a.createVarsResolver)((e,t)=>{let{size:n,radius:r,variant:a,gradient:l,color:i,autoContrast:c}=t,u=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:l,variant:a||"filled",autoContrast:c});return{root:{"--ti-size":(0,o.getSize)(n,"ti-size"),"--ti-radius":void 0===r?void 0:(0,o.getRadius)(r),"--ti-bg":i||a?u.background:void 0,"--ti-color":i||a?u.color:void 0,"--ti-bd":i||a?u.border:void 0}}}),m=(0,u.factory)((e,t)=>{let n=(0,l.useProps)("ThemeIcon",d,e),{classNames:o,className:a,style:u,styles:m,unstyled:v,vars:p,autoContrast:h,...g}=n,y=(0,i.useStyles)({name:"ThemeIcon",classes:s,props:n,className:a,style:u,classNames:o,styles:m,unstyled:v,vars:p,varsResolver:f});return(0,r.jsx)(c.Box,{ref:t,...y("root"),...g})});m.classes=s,m.displayName="@mantine/core/ThemeIcon"},34923:function(e,t,n){n.d(t,{i:function(){return a},w:function(){return o}}),n(2265);var r=n(74967);n(57437);let[o,a]=(0,r.createSafeContext)("Timeline component was not found in tree")},28183:function(e,t,n){n.d(t,{Timeline:function(){return w}});var r=n(57437),o=n(2265),a=n(28552),l=n(59105),i=n(99542),c=n(78016),u=n(17141),s=n(35803),d=n(63576),f=n(38329),m=n(11612),v=n(70650),p=n(34923),h=n(85681),g=n(90412);let y={active:-1,align:"left",reverseActive:!1},b=(0,i.createVarsResolver)((e,t)=>{let{bulletSize:n,lineWidth:r,radius:o,color:i,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,l.getRadius)(o),"--tl-color":i?(0,c.getThemeColor)(i,e):void 0,"--tl-icon-color":(0,s.getAutoContrastValue)(d,e)?(0,u.getContrastColor)({color:i,theme:e,autoContrast:d}):void 0}}}),w=(0,v.factory)((e,t)=>{let n=(0,d.useProps)("Timeline",y,e),{classNames:a,className:l,style:i,styles:c,unstyled:u,vars:s,children:v,active:h,color:w,radius:x,bulletSize:S,align:C,lineWidth:k,reverseActive:E,mod:j,autoContrast:I,...R}=n,_=(0,f.useStyles)({name:"Timeline",classes:g.Z,props:n,className:l,style:i,classNames:a,styles:c,unstyled:u,vars:s,varsResolver:b}),M=o.Children.toArray(v),P=M.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>=M.length-t-1:h>=t),__lineActive:(null===(r=e.props)||void 0===r?void 0:r.lineActive)||(E?h>=M.length-t-1:h-1>=t)})});return(0,r.jsx)(p.w,{value:{getStyles:_},children:(0,r.jsx)(m.Box,{..._("root"),mod:[{align:C},j],ref:t,...R,children:P})})});w.classes=g.Z,w.displayName="@mantine/core/Timeline",w.Item=h.TimelineItem},90412:function(e,t,n){n.d(t,{Z:function(){return r}});var r={root:"m_43657ece",itemTitle:"m_2ebe8099",item:"m_436178ff",itemBullet:"m_8affcee1",itemBody:"m_540e8f41"}},85681:function(e,t,n){n.d(t,{TimelineItem:function(){return m}});var r=n(57437);n(2265);var o=n(59105),a=n(78016),l=n(52602),i=n(63576),c=n(11612),u=n(70650),s=n(34923),d=n(90412);let f={},m=(0,u.factory)((e,t)=>{let{classNames:n,className:u,style:d,styles:m,vars:v,__active:p,__align:h,__lineActive:g,__vars:y,bullet:b,radius:w,color:x,lineVariant:S,children:C,title:k,mod:E,...j}=(0,i.useProps)("TimelineItem",f,e),I=(0,s.i)(),R=(0,l.useMantineTheme)(),_={classNames:n,styles:m};
1return(0,r.jsxs)(c.Box,{...I.getStyles("item",{..._,className:u,style:d}),mod:[{"line-active":g,active:p},E],ref:t,__vars:{"--tli-radius":w?(0,o.getRadius)(w):void 0,"--tli-color":x?(0,a.getThemeColor)(x,R):void 0,"--tli-border-style":S||void 0},...j,children:[(0,r.jsx)(c.Box,{...I.getStyles("itemBullet",_),mod:{"with-child":!!b,align:h,active:p},children:b}),(0,r.jsxs)("div",{...I.getStyles("itemBody",_),children:[k&&(0,r.jsx)("div",{...I.getStyles("itemTitle",_),children:k}),(0,r.jsx)("div",{...I.getStyles("itemContent",_),children:C})]})]})});m.classes=d.Z,m.displayName="@mantine/core/TimelineItem"},70365:function(e,t,n){n.d(t,{Tree:function(){return w}});var r=n(57437),o=n(2265),a=n(50684),l=n(91759),i=n(59105),c=n(99542),u=n(63576),s=n(38329),d=n(11612),f=n(70650),m=n(55782);function v(e,t,n){if(!e||!t)return[];let r=n.indexOf(e),o=n.indexOf(t);return n.slice(Math.min(r,o),Math.max(r,o)+1)}function p(e){let{node:t,getStyles:n,rootIndex:a,controller:l,expandOnClick:i,selectOnClick:c,isSubtree:u,level:s=1,renderNode:d,flatValues:f,allowRangeSelection:h,expandOnSpace:g}=e,y=(0,o.useRef)(null),b=(t.children||[]).map(e=>(0,r.jsx)(p,{node:e,flatValues:f,getStyles:n,rootIndex:void 0,level:s+1,controller:l,expandOnClick:i,isSubtree:!0,renderNode:d,selectOnClick:c,allowRangeSelection:h,expandOnSpace:g},e.value)),w=l.selectedState.includes(t.value),x={...n("label"),onClick:e=>{var n,r;e.stopPropagation(),h&&e.shiftKey&&l.anchorNode?(l.setSelectedState(v(l.anchorNode,t.value,f)),null===(n=y.current)||void 0===n||n.focus()):(i&&l.toggleExpanded(t.value),c&&l.select(t.value),null===(r=y.current)||void 0===r||r.focus())},"data-selected":w||void 0,"data-value":t.value,"data-hovered":l.hoveredNode===t.value||void 0};return(0,r.jsxs)("li",{...n("node",{style:{"--label-offset":"calc(var(--level-offset) * ".concat(s-1,")")}}),role:"treeitem","aria-selected":w,"data-value":t.value,"data-selected":w||void 0,"data-hovered":l.hoveredNode===t.value||void 0,"data-level":s,tabIndex:0===a?0:-1,onKeyDown:e=>{var n,r,o;if("ArrowRight"===e.nativeEvent.code&&(e.stopPropagation(),e.preventDefault(),l.expandedState[t.value]?null===(n=e.currentTarget.querySelector("[role=treeitem]"))||void 0===n||n.focus():l.expand(t.value)),"ArrowLeft"===e.nativeEvent.code&&(e.stopPropagation(),e.preventDefault(),l.expandedState[t.value]&&(t.children||[]).length>0?l.collapse(t.value):u&&(null===(r=(0,m.findElementAncestor)(e.currentTarget,"[role=treeitem]"))||void 0===r||r.focus())),"ArrowDown"===e.nativeEvent.code||"ArrowUp"===e.nativeEvent.code){let t=(0,m.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;let a="ArrowDown"===e.nativeEvent.code?r+1:r-1;if(null===(o=n[a])||void 0===o||o.focus(),e.shiftKey){let e=n[a];e&&l.setSelectedState(v(l.anchorNode,e.dataset.value,f))}}"Space"===e.nativeEvent.code&&g&&(e.stopPropagation(),e.preventDefault(),l.toggleExpanded(t.value))},ref:y,onMouseOver:e=>{e.stopPropagation(),l.setHoveredNode(t.value)},onMouseLeave:e=>{e.stopPropagation(),l.setHoveredNode(null)},children:["function"==typeof d?d({node:t,level:s,selected:w,tree:l,expanded:l.expandedState[t.value]||!1,hasChildren:Array.isArray(t.children)&&t.children.length>0,elementProps:x}):(0,r.jsx)("div",{...x,children:t.label}),l.expandedState[t.value]&&b.length>0&&(0,r.jsx)("ul",{role:"group",...n("subtree"),"data-level":s,children:b})]})}p.displayName="@mantine/core/TreeNode";
1var h=n(78517),g={root:"m_f698e191",subtree:"m_75f3ecf",node:"m_f6970eb1",label:"m_dc283425"};let y={expandOnClick:!0,allowRangeSelection:!0,expandOnSpace:!0},b=(0,c.createVarsResolver)((e,t)=>{let{levelOffset:n}=t;return{root:{"--level-offset":(0,i.getSpacing)(n)}}}),w=(0,f.factory)((e,t)=>{let n=(0,u.useProps)("Tree",y,e),{classNames:i,className:c,style:f,styles:m,unstyled:v,vars:w,data:x,expandOnClick:S,tree:C,renderNode:k,selectOnClick:E,clearSelectionOnOutsideClick:j,allowRangeSelection:I,expandOnSpace:R,levelOffset:_,...M}=n,P=(0,h.useTree)(),A=C||P,T=(0,s.useStyles)({name:"Tree",classes:g,props:n,className:c,style:f,classNames:i,styles:m,unstyled:v,vars:w,varsResolver:b}),D=(0,a.useClickOutside)(()=>j&&A.clearSelected()),N=(0,l.useMergedRef)(t,D),z=(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)(()=>{A.initialize(x)},[x]);let L=x.map((e,t)=>(0,r.jsx)(p,{node:e,getStyles:T,rootIndex:t,expandOnClick:S,selectOnClick:E,controller:A,renderNode:k,flatValues:z,allowRangeSelection:I,expandOnSpace:R},e.value));return(0,r.jsx)(d.Box,{component:"ul",ref:N,...T("root"),...M,role:"tree","aria-multiselectable":A.multiple,"data-tree-root":!0,children:L})});w.displayName="@mantine/core/Tree",w.classes=g},78517:function(e,t,n){n.d(t,{getTreeExpandedState:function(){return s},useTree:function(){return d}});var r=n(2265);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=[];for(let a of e)if(Array.isArray(a.children)&&a.children.length>0){let e=o(a.children,t,n);if(e.currentTreeChecked.length===a.children.length){let t=e.currentTreeChecked.every(e=>e.checked),o={checked:t,indeterminate:!t,value:a.value,hasChildren:!0};r.push(o),n.push(o)}else if(e.currentTreeChecked.length>0){let e={checked:!1,indeterminate:!0,value:a.value,hasChildren:!0};r.push(e),n.push(e)}}else if(t.includes(a.value)){let e={checked:!0,indeterminate:!1,value:a.value,hasChildren:!1};r.push(e),n.push(e)}return{result:n,currentTreeChecked:r}}function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=function e(t,n){for(let r of n){if(r.value===t)return r;if(Array.isArray(r.children)){let n=e(t,r.children);if(n)return n}}return null}(e,t);return r?Array.isArray(r.children)&&0!==r.children.length?(r.children.forEach(e=>{Array.isArray(e.children)&&e.children.length>0?a(e.value,t,n):n.push(e.value)}),n):[r.value]:n}n(57437);var l=n(94942);let i=(0,l.memoize)(function(e,t,n){return 0!==n.length&&(!!n.includes(e)||o(t,n).result.some(t=>t.value===e&&t.checked))}),c=(0,l.memoize)(function(e,t,n){return 0!==n.length&&o(t,n).result.some(t=>t.value===e&&t.indeterminate)});function u(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.forEach(t=>{r[t.value]=t.value in e?e[t.value]:t.value===n,Array.isArray(t.children)&&u(e,t.children,n,r)}),r}function s(e,t){let n=u({},e,[]);return"*"===t?Object.keys(n).reduce((e,t)=>({...e,[t]:!0}),{}):(t.forEach(e=>{n[e]=!0}),n)}function d(){let{initialSelectedState:e=[],initialCheckedState:t=[],initialExpandedState:n={},multiple:l=!1,onNodeCollapse:s,onNodeExpand:d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[f,m]=(0,r.useState)([]),[v,p]=(0,r.useState)(n),[h,g]=(0,r.useState)(e),[y,b]=(0,r.useState)(t),[w,x]=(0,r.useState)(null),[S,C]=(0,r.useState)(null),k=(0,r.useCallback)(e=>{p(t=>u(t,e,h)),b(t=>(function(e,t){let n=[];return e.forEach(e=>n.push(...a(e,t))),Array.from(new Set(n))})(t,e)),m(e)},[h,y]),E=(0,r.useCallback)(e=>{p(t=>{let n={...t,[e]:!t[e]};return n[e]?null==d||d(e):null==s||s(e),n})},[s,d]),j=(0,r.useCallback)(e=>{p(t=>(!1!==t[e]&&(null==s||s(e)),{...t,[e]:!1}))},[s]),I=(0,r.useCallback)(e=>{p(t=>(!0!==t[e]&&(null==d||d(e)),{...t,[e]:!0}))},[d]),R=(0,r.useCallback)(()=>{p(e=>{let t={...e};return Object.keys(t).forEach(e=>{t[e]=!0}),t})},[]),_=(0,r.useCallback)(()=>{p(e=>{let t={...e};return Object.keys(t).forEach(e=>{t[e]=!1}),t})},[]),M=(0,r.useCallback)(e=>g(t=>l?t.includes(e)?(x(null),t.filter(t=>t!==e)):(x(e),[...t,e]):t.includes(e)?(x(null),[]):(x(e),[e])),[]),P=(0,r.useCallback)(e=>{x(e),g(t=>l?t.includes(e)?t:[...t,e]:[e])},[]),A=(0,r.useCallback)(e=>{w===e&&x(null),g(t=>t.filter(t=>t!==e))},[]),T=(0,r.useCallback)(()=>{g([]),x(null)},[]),D=(0,r.useCallback)(e=>{let t=a(e,f);b(e=>Array.from(new Set([...e,...t])))},[f]),N=(0,r.useCallback)(e=>{let t=a(e,f);b(e=>e.filter(e=>!t.includes(e)))},[f]);return{multiple:l,expandedState:v,selectedState:h,checkedState:y,anchorNode:w,initialize:k,toggleExpanded:E,collapse:j,expand:I,expandAllNodes:R,collapseAllNodes:_,setExpandedState:p,checkNode:D,uncheckNode:N,checkAllNodes:(0,r.useCallback)(()=>{b(()=>(function e(t){return t.reduce((t,n)=>(Array.isArray(n.children)&&n.children.length>0?t.push(...e(n.children)):t.push(n.value),t),[])})(f))},[f]),uncheckAllNodes:(0,r.useCallback)(()=>{b([])},[]),setCheckedState:b,toggleSelected:M,select:P,deselect:A,clearSelected:T,setSelectedState:g,hoveredNode:S,setHoveredNode:C,getCheckedNodes:()=>
1o(f,y).result,isNodeChecked:e=>i(e,f,y),isNodeIndeterminate:e=>c(e,f,y)}}},1436:function(e,t,n){n.d(t,{TypographyStylesProvider:function(){return s}});var r=n(57437);n(2265);var o=n(63576),a=n(38329),l=n(11612),i=n(70650),c={root:"m_d6493fad"};let u={},s=(0,i.factory)((e,t)=>{let n=(0,o.useProps)("TypographyStylesProvider",u,e),{classNames:i,className:s,style:d,styles:f,unstyled:m,...v}=n,p=(0,a.useStyles)({name:"TypographyStylesProvider",classes:c,props:n,className:s,style:d,classNames:i,styles:f,unstyled:m});return(0,r.jsx)(l.Box,{ref:t,...p("root"),...v})});s.classes=c,s.displayName="@mantine/core/TypographyStylesProvider"},39276:function(e,t,n){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,...l}=e,i=["light","dark","auto"].includes(t)?t:"light";return(0,r.jsx)("script",{...l,"data-mantine-script":!0,dangerouslySetInnerHTML:{__html:o({defaultColorScheme:i,localStorageKey:n,forceColorScheme:a})}})}},97548:function(e,t,n){n.r(t),n.d(t,{MantineCssVariables:function(){return f}});var r=n(57437),o=n(81318),a=n(261),l=n(52602),i=n(52159);n(2265);var c=n(41200),u=n(11473),s=n(50055);let d=(0,c.defaultCssVariablesResolver)(s.t);function f(e){let{cssVariablesSelector:t,deduplicateCssVariables:n}=e,s=(0,l.useMantineTheme)(),f=(0,a.useMantineStyleNonce)(),m=function(e){let{theme:t,generator:n}=e,r=(0,c.defaultCssVariablesResolver)(t),o=null==n?void 0:n(t);return o?(0,i.R)(r,o):r}({theme:s,generator:(0,a.useMantineCssVariablesResolver)()}),v=":root"===t&&n,p=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}(m):m,h=(0,o.convertCssVariables)(p,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"},41200:function(e,t,n){n.d(t,{defaultCssVariablesResolver:function(){return u}});var r=n(11473),o=n(28552);n(2265),n(57437);var a=n(86664),l=n(17141),i=n(88939);function c(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,l.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,l.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)"}};c(u.variables,e.breakpoints,"breakpoint"),c(u.variables,e.spacing,"spacing"),c(u.variables,e.fontSizes,"font-size"),c(u.variables,e.lineHeights,"line-height"),c(u.variables,e.shadows,"shadow"),c(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,")")}
1),(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,i.getCSSColorVariables)({theme:e,name:n.name,color:n.light,colorScheme:"light",withColorValues:!0})),Object.assign(u.dark,(0,i.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,i.getCSSColorVariables)({theme:e,color:t,colorScheme:"light",withColorValues:!1})),Object.assign(u.dark,(0,i.getCSSColorVariables)({theme:e,color:t,colorScheme:"dark",withColorValues:!1}))});let s=e.headings.sizes;return(0,r.keys)(s).forEach(t=>{u.variables["--mantine-".concat(t,"-font-size")]=s[t].fontSize,u.variables["--mantine-".concat(t,"-line-height")]=s[t].lineHeight,u.variables["--mantine-".concat(t,"-font-weight")]=s[t].fontWeight||e.headings.fontWeight}),u}},88939:function(e,t,n){n.d(t,{getCSSColorVariables:function(){return a}});var r=n(86664);n(2265),n(57437);var o=n(54232);function a(e){let{theme:t,color:n,colorScheme:a,name:l=n,withColorValues:i=!0}=e;if(!t.colors[n])return{};if("light"===a){let e=(0,r.getPrimaryShade)(t,"light"),a={["--mantine-color-".concat(l,"-text")]:"var(--mantine-color-".concat(l,"-filled)"),["--mantine-color-".concat(l,"-filled")]:"var(--mantine-color-".concat(l,"-").concat(e,")"),["--mantine-color-".concat(l,"-filled-hover")]:"var(--mantine-color-".concat(l,"-").concat(9===e?8:e+1,")"),["--mantine-color-".concat(l,"-light")]:(0,o.F)(t.colors[n][e],.1),["--mantine-color-".concat(l,"-light-hover")]:(0,o.F)(t.colors[n][e],.12),["--mantine-color-".concat(l,"-light-color")]:"var(--mantine-color-".concat(l,"-").concat(e,")"),["--mantine-color-".concat(l,"-outline")]:"var(--mantine-color-".concat(l,"-").concat(e,")"),["--mantine-color-".concat(l,"-outline-hover")]:(0,o.F)(t.colors[n][e],.05)};return i?{["--mantine-color-".concat(l,"-0")]:t.colors[n][0],["--mantine-color-".concat(l,"-1")]:t.colors[n][1],["--mantine-color-".concat(l,"-2")]:t.colors[n][2],["--mantine-color-".concat(l,"-3")]:t.colors[n][3],["--mantine-color-".concat(l,"-4")]:t.colors[n][4],["--mantine-color-".concat(l,"-5")]:t.colors[n][5],["--mantine-color-".concat(l,"-6")]:t.colors[n][6],["--mantine-color-".concat(l,"-7")]:t.colors[n][7],["--mantine-color-".concat(l,"-8")]:t.colors[n][8],["--mantine-color-".concat(l,"-9")]:t.colors[n][9],...a}:a}let c=(0,r.getPrimaryShade)(t,"dark"),u={["--mantine-color-".concat(l,"-text")]:"var(--mantine-color-".concat(l,"-4)"),["--mantine-color-".concat(l,"-filled")]:"var(--mantine-color-".concat(l,"-").concat(c,")"),["--mantine-color-".concat(l,"-filled-hover")]:"var(--mantine-color-".concat(l,"-").concat(9===c?8:c+1,")"),["--mantine-color-".concat(l,"-light")]:(0,o.F)(t.colors[n][Math.max(0,c-2)],.15),["--mantine-color-".concat(l,"-light-hover")]:(0,o.F)(t.colors[n][Math.max(0,c-2)],.2),["--mantine-color-".concat(l,"-light-color")]:"var(--mantine-color-".concat(l,"-").concat(Math.max(c-5,0),")"),["--mantine-color-".concat(l,"-outline")]:"var(--mantine-color-".concat(l,"-").concat(Math.max(c-4,0),")"),["--mantine-color-".concat(l,"-outline-hover")]:(0,o.F)(t.colors[n][Math.max(c-4,0)],.05)};return i?{["--mantine-color-".concat(l,"-0")]:t.colors[n][0],["--mantine-color-".concat(l,"-1")]:t.colors[n][1],["--mantine-color-".concat(l,"-2")]:t.colors[n][2],["--mantine-color-".concat(l,"-3")]:t.colors[n][3],["--mantine-color-".concat(l,"-4")]:t.colors[n][4],["--mantine-color-".concat(l,"-5")]:t.colors[n][5],["--mantine-color-".concat(l,"-6")]:t.colors[n][6],["--mantine-color-".concat(l,"-7")]:t.colors[n][7],["--mantine-color-".concat(l,"-8")]:t.colors[n][8],["--mantine-color-".concat(l,"-9")]:t.colors[n][9],...u}:u}},96735:function(e,t,n){n.d(t,{HeadlessMantineProvider:function(){return p},MantineProvider:function(){return v}});var r=n(57437),o=n(92200),a=n(261),l=n(11473),i=n(85598),c=n(28552);n(2265);var u=n(52602);function s(){let e=(0,u.useMantineTheme)(),t=(0,a.useMantineStyleNonce)(),n=(0,l.keys)(e.breakpoints).reduce((t,n)=>{let r=e.breakpoints[n].includes("px"),o=(0,i.px)(e.breakpoints[n]),a=r?"".concat(o-.1,"px"):(0,c.em)(o-.1),l=r?"".concat(o,"px"):(0,c.em)(o);return"".concat(t,"@media (max-width: ").concat(a,") {.mantine-visible-from-").concat(n," {display: none !important;}}@media (min-width: ").concat(l,") {.mantine-hidden-from-").concat(n," {display: none !important;}}")},"");
1return(0,r.jsx)("style",{"data-mantine-styles":"classes",nonce:null==t?void 0:t(),dangerouslySetInnerHTML:{__html:n}})}var d=n(97548),f=n(13373),m=n(27604);function v(e){let{theme:t,children:n,getStyleNonce:l,withStaticClasses:i=!0,withGlobalClasses:c=!0,deduplicateCssVariables:v=!0,withCssVariables:p=!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,m.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:l,cssVariablesResolver:x,cssVariablesSelector:h,withStaticClasses:i,stylesTransform:C},children:(0,r.jsxs)(u.MantineThemeProvider,{theme:t,children:[p&&(0,r.jsx)(d.MantineCssVariables,{cssVariablesSelector:h,deduplicateCssVariables:v}),c&&(0,r.jsx)(s,{}),n]})})}function p(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;r<t;r++)n[r]=arguments[r];n.length>1&&"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",p.displayName="@mantine/core/HeadlessMantineProvider"},6898:function(e,t,n){function r(e){return Array.isArray(e)?e:Array(10).fill(e)}n.r(t),n.d(t,{colorsTuple:function(){return r}})},44389:function(e,t,n){n.d(t,{isMantineColorScheme:function(){return r}});function r(e){return"auto"===e||"dark"===e||"light"===e}},92200:function(e,t,n){n.d(t,{localStorageColorSchemeManager:function(){return o}});var r=n(44389);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)}}}},81318:function(e,t,n){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):"",l=r(e.dark),i=r(e.light),c=l?":host"===t?o("".concat(t,'([data-mantine-color-scheme="dark"])'),l):o("".concat(t,'[data-mantine-color-scheme="dark"]'),l):"",u=i?":host"===t?o("".concat(t,'([data-mantine-color-scheme="light"])'),i):o("".concat(t,'[data-mantine-color-scheme="light"]'),i):"";return"".concat(a).concat(c).concat(u)}n.d(t,{convertCssVariables:function(){return a}})},21803:function(e,t,n){n.d(t,{mergeThemeOverrides:function(){return o}});var r=n(52159);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((e,t)=>(0,r.R)(e,t),{})}n(2265),n(57437)},54334:function(e,t,n){n.d(t,{useComputedColorScheme:function(){return a}});var r=n(99491),o=n(95739);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}},13373:function(e,t,n){n.d(t,{useProviderColorScheme:function(){return l}});var r=n(2265),o=n(27604);function a(e,t){var n;let r="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)").matches;null===(n=t())||void 0===n||n.setAttribute("data-mantine-color-scheme","auto"!==e?e:r?"dark":"light")}function l(e){let{manager:t,defaultColorScheme:n,getRootElement:l,forceColorScheme:i}=e,c=(0,r.useRef)(),[u,s]=(0,r.useState)(()=>t.get(n)),d=i||u,f=(0,r.useCallback)(e=>{i||(a(e,l),s(e),t.set(e))},[t.set,d,i]),m=(0,r.useCallback)(()=>{s(n),a(n,l),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),l)},[]),(0,r.useEffect)(()=>{var e;if(i)return a(i,l),()=>{};void 0===i&&a(u,l),"undefined"!=typeof window&&"matchMedia"in window&&(c.current=window.matchMedia("(prefers-color-scheme: dark)"));let t=e=>
1{"auto"===u&&a(e.matches?"dark":"light",l)};return null===(e=c.current)||void 0===e||e.addEventListener("change",t),()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.removeEventListener("change",t)}},[u,i]),{colorScheme:d,setColorScheme:f,clearColorScheme:m}}},29488:function(e,t,n){n.d(t,{findClosestNumber:function(){return r}});function r(e,t){return 0===t.length?e:t.reduce((t,n)=>Math.abs(n-e)<Math.abs(t-e)?n:t)}},94942:function(e,t,n){n.d(t,{memoize:function(){return r}});function r(e){let t=new Map;return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];let a=JSON.stringify(r);if(t.has(a))return t.get(a);let l=e(...r);return t.set(a,l),l}}},75180:function(e,t,n){n.d(t,{useCounter:function(){return l}});var r=n(2265),o=n(38232);let a={min:-1/0,max:1/0};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,{min:n,max:l}={...a,...t},[i,c]=(0,r.useState)((0,o.clamp)(e,n,l));return[i,{increment:()=>c(e=>(0,o.clamp)(e+1,n,l)),decrement:()=>c(e=>(0,o.clamp)(e-1,n,l)),set:e=>c((0,o.clamp)(e,n,l)),reset:()=>c((0,o.clamp)(e,n,l))}]}},55579:function(e,t,n){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),l=(0,r.useRef)(null),i=(0,r.useRef)(!0),c=()=>window.clearTimeout(l.current);return(0,r.useEffect)(()=>c,[]),[o,(0,r.useCallback)(e=>{c(),i.current&&n.leading?a(e):l.current=window.setTimeout(()=>{i.current=!0,a(e)},t),i.current=!1},[n.leading])]}},48214:function(e,t,n){n.d(t,{useDocumentTitle:function(){return o}});var r=n(27604);function o(e){(0,r.useIsomorphicEffect)(()=>{"string"==typeof e&&e.trim().length>0&&(document.title=e.trim())},[e])}},61770:function(e,t,n){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}},36342:function(e,t,n){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}},22503:function(e,t,n){n.d(t,{useEyeDropper:function(){return a}});var r=n(2265),o=n(27604);function a(){let[e,t]=(0,r.useState)(!1);(0,o.useIsomorphicEffect)(()=>{t("undefined"!=typeof window&&!navigator.userAgent.includes("OPR")&&"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}}},63544:function(e,t,n){n.d(t,{useFavicon:function(){return l}});var r=n(2265),o=n(27604);let a={ico:"image/x-icon",png:"image/png",svg:"image/svg+xml",gif:"image/gif"};function l(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])}},50264:function(e,t,n){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),[l,i]=(0,r.useState)(!1),[c,u]=(0,r.useState)(null),s=(0,r.useRef)(null),d=(0,r.useCallback)(()=>{if(e)return s.current&&s.current.abort(),s.current=new AbortController,i(!0),fetch(e,{signal:s.current.signal,...n}).then(e=>e.json()).then(e=>(a(e),i(!1),e)).catch(e=>(i(!1),"AbortError"!==e.name&&u(e),e))},[e]),f=(0,r.useCallback)(()=>{if(s.current){var e;null===(e=s.current)||void 0===e||e.abort("")}},[]);return(0,r.useEffect)(()=>(t&&d(),()=>{s.current&&s.current.abort("")}),[d,t]),{data:o,loading:l,error:c,refetch:d,abort:f}}},25426:function(e,t,n){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),l=(0,r.useRef)(!1),i=e=>{a(e),l.current=e},c=e=>{l.current||(i(!0),null==t||t(e))},u=t=>{l.current&&!(t.currentTarget instanceof HTMLElement&&t.relatedTarget instanceof HTMLElement&&t.currentTarget.contains(t.relatedTarget))&&(i(!1),null==e||e(t))};return(0,r.useEffect)(()=>
1{if(n.current)return n.current.addEventListener("focusin",c),n.current.addEventListener("focusout",u),()=>{var e,t;null===(e=n.current)||void 0===e||e.removeEventListener("focusin",c),null===(t=n.current)||void 0===t||t.removeEventListener("focusout",u)}},[c,u]),{ref:n,focused:o}}},17455:function(e,t,n){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}},87282:function(e,t,n){n.d(t,{useFullscreen:function(){return i}});var r=n(2265);function o(){let e=window.document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement}let a=["","webkit","moz","ms"];function l(e,t){let{onFullScreen:n,onError:r}=t;return a.forEach(t=>{e.addEventListener("".concat(t,"fullscreenchange"),n),e.addEventListener("".concat(t,"fullscreenerror"),r)}),()=>{a.forEach(t=>{e.removeEventListener("".concat(t,"fullscreenchange"),n),e.removeEventListener("".concat(t,"fullscreenerror"),r)})}}function i(){let[e,t]=(0,r.useState)(!1),n=(0,r.useRef)(),a=(0,r.useCallback)(e=>{t(e.target===o())},[t]),i=(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()=>{if(o())await function(){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}();else{var e,t,r,a,l,i;await ((null===(t=(e=n.current).requestFullscreen)||void 0===t?void 0:t.call(e))||(null===(r=e.msRequestFullscreen)||void 0===r?void 0:r.call(e))||(null===(a=e.webkitEnterFullscreen)||void 0===a?void 0:a.call(e))||(null===(l=e.webkitRequestFullscreen)||void 0===l?void 0:l.call(e))||(null===(i=e.mozRequestFullscreen)||void 0===i?void 0:i.call(e)))}},[]),u=(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,l(n.current,{onFullScreen:a,onError:i})):n.current?l(n.current,{onFullScreen:a,onError:i}):void 0,[n.current]),{ref:u,toggle:c,fullscreen:e}}},2714:function(e,t,n){n.d(t,{useHash:function(){return a}});var r=n(2265),o=n(29419);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)}]}},30735:function(e,t,n){n.d(t,{useHeadroom:function(){return u}});var r=n(2265),o=n(27604),a=n(44451);let l=(e,t)=>e<=t,i=(e,t,n,r,o,a)=>{let i=l(e,t);i&&!n.current?(n.current=!0,null==o||o()):i||!r||n.current?!i&&n.current&&(n.current=!1,null==a||a()):(n.current=!0,null==o||o())},c=()=>{let[e,t]=(0,r.useState)(0),[n,o]=(0,r.useState)(!1),[a,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let n;let r=()=>{l(!0),clearTimeout(n),n=setTimeout(()=>{l(!1)},300)},i=()=>{if(a)return;let n=window.pageYOffset||document.documentElement.scrollTop;o(n<e),t(n)};return window.addEventListener("scroll",i),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",i),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]:{},s=(0,r.useRef)(!1),d=c(),[{y:f}]=(0,a.useWindowScroll)();return(0,o.useIsomorphicEffect)(()=>{i(f,e,s,d,t,u)},[f]),(0,o.useIsomorphicEffect)(()=>
1{l(f,e)&&(null==n||n())},[f,e,n]),!!l(f,e)||!!d}},11603:function(e,t,n){function r(e){return t=>(function(e,t){let{alt:n,ctrl:r,meta:o,mod:a,shift:l,key:i}=e,{altKey:c,ctrlKey:u,metaKey:s,shiftKey:d,key:f}=t;if(n!==c)return!1;if(a){if(!u&&!s)return!1}else if(r!==u||o!==s)return!1;return l===d&&!!i&&(f.toLowerCase()===i.toLowerCase()||t.code.replace("Key","").toLowerCase()===i.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"),plus:t.includes("[plus]")},r=["alt","ctrl","meta","shift","mod"],o=t.find(e=>!r.includes(e));return{...n,key:"[plus]"===o?"+":o}}(e),t)}function o(e){return t=>{let n="nativeEvent"in t?t.nativeEvent:t;e.forEach(e=>{let[o,a,l={preventDefault:!0}]=e;r(o)(n)&&(l.preventDefault&&t.preventDefault(),a(n))})}}n.d(t,{getHotkeyHandler:function(){return o},k:function(){return r}})},95098:function(e,t,n){n.d(t,{useHotkeys:function(){return a}});var r=n(2265),o=n(11603);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,l,i={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)&&(i.preventDefault&&r.preventDefault(),l(r))})};return document.documentElement.addEventListener("keydown",r),()=>document.documentElement.removeEventListener("keydown",r)},[e])}},62189:function(e,t,n){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},[l,i]=(0,r.useState)(a),c=(0,r.useRef)();return(0,r.useEffect)(()=>{let t=()=>{i(!1),c.current&&window.clearTimeout(c.current),c.current=window.setTimeout(()=>{i(!0)},e)};return n.forEach(e=>document.addEventListener(e,t)),c.current=window.setTimeout(()=>{i(!0)},e),()=>{n.forEach(e=>document.removeEventListener(e,t))}},[e]),l}},91220:function(e,t,n){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);return{ref:(0,r.useCallback)(t=>{if("undefined"!=typeof IntersectionObserver){var r,o;t&&!e.current?e.current=new IntersectionObserver(e=>{let[t]=e;return n(t.isIntersecting)}):null===(r=e.current)||void 0===r||r.disconnect(),t?null===(o=e.current)||void 0===o||o.observe(t):n(!1)}},[]),inViewport:t}}},17876:function(e,t,n){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)}]}},55395:function(e,t,n){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}}},9727:function(e,t,n){n.d(t,{useInterval:function(){return o}});var r=n(2265);function o(e,t){let{autoInvoke:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[o,a]=(0,r.useState)(!1),l=(0,r.useRef)(),i=(0,r.useRef)(),c=()=>{a(e=>(e||l.current||(l.current=window.setInterval(i.current,t)),!0))},u=()=>{a(!1),window.clearInterval(l.current),l.current=void 0};return(0,r.useEffect)(()=>(i.current=e,o&&c(),u),[e,o,t]),(0,r.useEffect)(()=>{n&&c()},[]),{start:c,stop:u,toggle:()=>{o?u():c()},active:o}}},24066:function(e,t,n){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}},58298:function(e,t,n){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;r++)t[r]=arguments[r];return n(e=>[...e,...t])},prepend:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(e=>[...t,...e])},insert:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return n(t=>[...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)=>
1n(n=>n.map((n,r)=>e(n,r)?t(n,r):n)),remove:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(e=>e.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))}}]}},40312:function(e,t,n){n.d(t,{R:function(){return c},o:function(){return i}});var r=n(2265),o=n(29419);function a(e){try{return e&&JSON.parse(e)}catch(t){return e}}function l(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 i(e,t){let n="localStorage"===e?"mantine-local-storage":"mantine-session-storage",{getItem:i,setItem:c,removeItem:u}=l(e);return function(l){let{key:s,defaultValue:d,getInitialValueInEffect:f=!0,deserialize:m=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)}=l,p=(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=i(s);return null!==r?m(r):d},[s,d]),[h,g]=(0,r.useState)(p(f)),y=(0,r.useCallback)(e=>{e instanceof Function?g(t=>{let r=e(t);return c(s,v(r)),window.dispatchEvent(new CustomEvent(n,{detail:{key:s,value:e(t)}})),r}):(c(s,v(e)),window.dispatchEvent(new CustomEvent(n,{detail:{key:s,value:e}})),g(e))},[s]),b=(0,r.useCallback)(()=>{u(s),window.dispatchEvent(new CustomEvent(n,{detail:{key:s,value:d}}))},[]);return(0,o.useWindowEvent)("storage",t=>{if(t.storageArea===window[e]&&t.key===s){var n;g(m(null!==(n=t.newValue)&&void 0!==n?n:void 0))}}),(0,o.useWindowEvent)(n,e=>{e.detail.key===s&&g(e.detail.value)}),(0,r.useEffect)(()=>{void 0!==d&&void 0===h&&y(d)},[d,h,y]),(0,r.useEffect)(()=>{let e=p();void 0!==e&&y(e)},[]),[void 0===h?d:h,y,b]}}function c(e){let{getItem:t}=l(e);return function(n){let r,{key:o,defaultValue:l,deserialize:i=a}=n;try{r="undefined"==typeof window||!(e in window)||null===window[e]}catch(e){r=!0}if(r)return l;let c=t(o);return null!==c?i(c):l}}},38477:function(e,t,n){n.d(t,{readLocalStorageValue:function(){return a},useLocalStorage:function(){return o}});var r=n(40312);function o(e){return(0,r.o)("localStorage","use-local-storage")(e)}let a=(0,r.R)("localStorage")},40884:function(e,t,n){n.d(t,{useLogger:function(){return a}});var r=n(2265),o=n(62887);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}},77029:function(e,t,n){n.d(t,{useMap:function(){return a}});var r=n(2265),o=n(17455);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;o<e;o++)r[o]=arguments[o];return Map.prototype.set.apply(t.current,r),n(),t.current},t.current.clear=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];Map.prototype.clear.apply(t.current,r),n()},t.current.delete=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];let a=Map.prototype.delete.apply(t.current,r);return n(),a},t.current}},47431:function(e,t,n){n.d(t,{useMounted:function(){return o}});var r=n(2265);function o(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>t(!0),[]),e}},24898:function(e,t,n){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})},l=()=>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",l),()=>{t.removeEventListener("mousemove",a),e.resetOnExit&&t.removeEventListener("mouseleave",l)}},[o.current]),{ref:o,...t}}},82530:function(e,t,n){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;
1return(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}},97788:function(e,t,n){n.d(t,{useNetwork:function(){return l}});var r=n(2265),o=n(29419);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 l(){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}},54721:function(e,t,n){n.d(t,{useOrientation:function(){return a}});var r=n(2265),o=n(27604);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}},39199:function(e,t,n){n.d(t,{useOs:function(){return i}});var r=n(2265),o=n(27604);function a(e){return/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i.test(e)}function l(){if("undefined"==typeof window)return"undetermined";let{userAgent:e}=window.navigator;return/(iPhone)|(iPad)|(iPod)/i.test(e)||a(e)&&"ontouchend"in document?"ios":a(e)?"macos":/(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":l());return(0,o.useIsomorphicEffect)(()=>{e.getValueInEffect&&n(l)},[]),t}},23370:function(e,t,n){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)),[])}},24810:function(e,t,n){n.d(t,{useQueue:function(){return o}});var r=n(2265);function o(e){let{initialValues:t=[],limit:n}=e,[o,a]=(0,r.useState)({state:t.slice(0,n),queue:t.slice(n)});return{state:o.state,queue:o.queue,add:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return a(e=>{let r=[...e.state,...e.queue,...t];return{state:r.slice(0,n),queue:r.slice(n)}})},update:e=>a(t=>{let r=e([...t.state,...t.queue]);return{state:r.slice(0,n),queue:r.slice(n)}}),cleanQueue:()=>a(e=>({state:e.state,queue:[]}))}}},64918:function(e,t,n){n.d(t,{useElementSize:function(){return l},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,l]=(0,r.useState)(o),i=(0,r.useMemo)(()=>"undefined"!=typeof window?new ResizeObserver(e=>{let r=e[0];r&&(cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{n.current&&l(r.contentRect)}))}):null,[]);return(0,r.useEffect)(()=>(n.current&&(null==i||i.observe(n.current,e)),()=>{null==i||i.disconnect(),t.current&&cancelAnimationFrame(t.current)}),[n.current]),[n,a]}function l(e){let[t,{width:n,height:r}]=a(e);return{ref:t,width:n,height:r}}},39768:function(e,t,n){n.d(t,{useScrollIntoView:function(){return s}});var r=n(2265),o=n(37491),a=n(29419);let l=e=>e<.5?2*e*e:-1+(4-2*e)*e,i=e=>{let{axis:t,target:n,parent:r,alignment:o,offset:a,isList:l}=e;if(!n||!r&&"undefined"==typeof document)return 0;let i=!!r,c=(r||document.body).getBoundingClientRect(),u=n.getBoundingClientRect(),s=e=>u[e]-c[e];if("y"===t){let e=s("top");if(0===e)return 0;if("start"===o){let t=e-a;return t<=u.height*(l?0:1)||!l?t:0}let t=i?c.height:window.innerHeight;if("end"===o){let n=e+a-t+u.height;return n>=-u.height*(l?0:1)||!l?n:0}
1return"center"===o?e-t/2+u.height/2:0}if("x"===t){let e=s("left");if(0===e)return 0;if("start"===o){let t=e-a;return t<=u.width||!l?t:0}let t=i?c.width:window.innerWidth;if("end"===o){let n=e+a-t+u.width;return n>=-u.width||!l?n:0}if("center"===o)return e-t/2+u.width/2}return 0},c=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 s(){let{duration:e=1250,axis:t="y",onScrollFinish:n,easing:s=l,offset:d=0,cancelable:f=!0,isList:m=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=(0,r.useRef)(0),p=(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=c({parent:g.current,axis:t}))&&void 0!==r?r:0,l=i({parent:g.current,target:y.current,axis:t,alignment:o,offset:d,isList:m})-(g.current?0:a);!function r(){0===p.current&&(p.current=performance.now());let o=performance.now()-p.current,i=b||0===e?1:o/e,c=a+l*s(i);u({parent:g.current,axis:t,distance:c}),!h.current&&i<1?v.current=requestAnimationFrame(r):("function"==typeof n&&n(),p.current=0,v.current=0,w())}()},[t,e,s,m,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}}},39693:function(e,t,n){n.d(t,{readSessionStorageValue:function(){return a},useSessionStorage:function(){return o}});var r=n(40312);function o(e){return(0,r.o)("sessionStorage","use-session-storage")(e)}let a=(0,r.R)("sessionStorage")},19167:function(e,t,n){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})),[])]}},98842:function(e,t,n){n.d(t,{useSet:function(){return a}});var r=n(2265),o=n(17455);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;o<e;o++)r[o]=arguments[o];let a=Set.prototype.add.apply(t.current,r);return n(),a},t.current.clear=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];Set.prototype.clear.apply(t.current,r),n()},t.current.delete=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];let a=Set.prototype.delete.apply(t.current,r);return n(),a},t.current}},42217:function(e,t,n){n.d(t,{useShallowEffect:function(){return a}});var r=n(2265),o=n(87867);function a(e,t){(0,r.useEffect)(e,function(e){let t=(0,r.useRef)([]),n=(0,r.useRef)(0);return!function(e,t){if(!e||!t)return!1;if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n+=1)if(!(0,o.shallowEqual)(e[n],t[n]))return!1;return!0}(t.current,e)&&(t.current=e,n.current+=1),[n.current]}(t))}},60044:function(e,t,n){n.d(t,{useStateHistory:function(){return o}});var r=n(2265);function o(e){let[t,n]=(0,r.useState)({history:[e],current:0}),o=(0,r.useCallback)(e=>n(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)}))},[]),l=(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)}))},[]),i=(0,r.useCallback)(()=>{n({history:[e],current:0})},[e]),c=(0,r.useMemo)(()=>({back:a,forward:l,reset:i,set:o}),[a,l,i,o]);return[t.history[t.current],c,t]}},3249:function(e,t,n){n.d(t,{useTextSelection:function(){return a}});var r=n(2265),o=n(17455);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}},29750:function(e,t,n){n.d(t,{E:function(){return a},useThrottledCallback:function(){return l}});var r=n(2265),o=n(44660);function a(e,t){let n=(0,o.useCallbackRef)(e),a=(0,r.useRef)(),l=(0,r.useRef)(),i=(0,r.useRef)(!0),c=(0,r.useRef)(t),u=(0,r.useRef)(-1),s=(0,r.useCallback)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];n(...t),a.current=t,l.current=t,i.current=!1},[n]),d=(0,r.useCallback)(()=>{a.current&&a.current!==l.current?(s(...a.current),u.current=window.setTimeout(d,c.current)):i.current=!0},[s]),f=(0,r.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];i.current?(s(...t),u.current=window.setTimeout(d,c.current)):a.current=t},[s,d]);return(0,r.useEffect)(()=>{c.current=t},[t]),[f,()=>window.clearTimeout(u.current)]}function l(e,t){return a(e,t)[0]}},97993:function(e,t,n){n.d(t,{useThrottledState:function(){return a}});var r=n(2265),o=n(29750);function a(e,t){let[n,a]=(0,r.useState)(e),[l,i]=(0,o.E)(a,t);return(0,r.useEffect)(()=>i,[]),[n,l]}},32959:function(e,t,n){n.d(t,{useThrottledValue:function(){return a}});var r=n(2265),o=n(29750);function a(e,t){let[n,a]=(0,r.useState)(e),l=(0,r.useRef)(e),[i,c]=(0,o.E)(a,t);return(0,r.useEffect)(()=>{e!==l.current&&(l.current=e,i(e))},[i,e]),(0,r.useEffect)(()=>c,[]),n}},7582:function(e,t,n){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<n;a++)r[a]=arguments[a];o.current||(o.current=window.setTimeout(()=>{e(r),o.current=null},t))},[t]),l=(0,r.useCallback)(()=>{o.current&&(window.clearTimeout(o.current),o.current=null)},[]);return(0,r.useEffect)(()=>(n.autoInvoke&&a(),l),[l,a]),{start:a,clear:l}}},4312:function(e,t,n){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]}},46822:function(e,t,n){n.d(t,{useValidatedState:function(){return o}});var r=n(2265);function o(e,t,n){let[o,a]=(0,r.useState)(e),[l,i]=(0,r.useState)(t(e)?e:void 0),[c,u]=(0,r.useState)("boolean"==typeof n?n:t(e));return[{value:o,lastValidValue:l,valid:c},e=>{t(e)?(i(e),u(!0)):u(!1),a(e)}]}},43560:function(e,t,n){n.d(t,{useViewportSize:function(){return l}});var r=n(2265),o=n(29419);let a={passive:!0};function l(){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}},44451:function(e,t,n){n.d(t,{useWindowScroll:function(){return i}});var r=n(2265),o=n(29419);function a(){return"undefined"!=typeof window?{x:window.pageXOffset,y:window.pageYOffset}:{x:0,y:0}}function l(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 i(){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,l]}},29113:function(e,t,n){n.d(t,{lowerFirst:function(){return r}});function r(e){return"string"!=typeof e?"":e.charAt(0).toLowerCase()+e.slice(1)}},90665:function(e,t,n){n.d(t,{range:function(){return r}});function r(e,t){let n=Math.abs(t-e)+1;return e>t?Array.from({length:n},(t,n)=>
1e-n):Array.from({length:n},(t,n)=>n+e)}},87867:function(e,t,n){n.d(t,{shallowEqual:function(){return r}});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<r;o+=1){let r=n[o];if(!(r in t)||e[r]!==t[r])return!1}return!0}},69004:function(e,t,n){n.d(t,{upperFirst:function(){return r}});function r(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.