vendor: 1,303 bytes, line 1
1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[437],{69087:function(e,t,r){r.d(t,{Z:function(){return h}});var n=!1;var o=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?!n:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 6,283 bytes, line 1
1,t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),a=r(46411),i=r(26686),l=r(27563),s=r(20211),c=r(88160),u=r(92190),d=function(e,t,r){for(var n=0,o=0;n=o,o=(0,a.fj)(),38===n&&12===o&&(t[r]=1),!(0,a.r)(o);)(0,a.lp)();return(0,a.tP)(e,a.FK)},p=function(e,t){return(0,a.cE)(function(e,t){var r=-1,n=44;do{switch((0,a.r)(n)){case 0:38===n&&12===(0,a.fj)()&&(t[r]=1),e[r]+=d(a.FK-1,t,r);break;case 2:e[r]+=(0,a.iF)(n);break;case 4:if(44===n){e[++r]=58===(0,a.fj)()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=(0,i.Dp)(n)}}while(n=(0,a.lp)());return e}((0,a.un)(e),t))},f=new WeakMap,m=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||f.get(r))&&!n){f.set(e,!0);for(var o=[],a=p(t,o),i=r.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},b=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function y(e,t){switch((0,i.vp)(e,t)){case 5103:return l.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return l.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return l.G$+e+l.uj+e+l.MS+e+e;case 6828:case 4268:return l.G$+e+l.MS+e+e;case 6165:return l.G$+e+l.MS+"flex-"+e+e;case 5187:return l.G$+e+(0,i.gx)(e,/(\w+).+(:[^]+)/,l.G$+"box-$1$2"+l.MS+"flex-$1$2")+e;case 5443:return l.G$+e+l.MS+"flex-item-"+(0,i.gx)(e,/flex-|-self/,"")+e;case 4675:return l.G$+e+l.MS+"flex-line-pack"+(0,i.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return l.G$+e+l.MS+(0,i.gx)(e,"shrink","negative")+e;case 5292:return l.G$+e+l.MS+(0,i.gx)(e,"basis","preferred-size")+e;case 6060:return l.G$+"box-"+(0,i.gx)(e,"-grow","")+l.G$+e+l.MS+(0,i.gx)(e,"grow","positive")+e;case 4554:return l.G$+(0,i.gx)(e,/([^-])(transform)/g,"$1"+l.G$+"$2")+e;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(e,/(zoom-|grab)/,l.G$+"$1"),/(image-set)/,l.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,i.gx)(e,/(image-set\([^]*)/,l.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(e,/(.+:)(flex-)?(.*)/,l.G$+"box-pack:$3"+l.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+l.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(e,/(.+)-inline(.+)/,l.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,i.to)(e)-1-t>6)switch((0,i.uO)(e,t+1)){case 109:if(45!==(0,i.uO)(e,t+4))break;case 102:return(0,i.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+l.G$+"$2-$3$1"+l.uj+(108==(0,i.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,i.Cw)(e,"stretch")?y((0,i.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,i.uO)(e,t+1))break;case 6444:switch((0,i.uO)(e,(0,i.to)(e)-3-(~(0,i.Cw)(e,"!important")&&10))){case 107:return(0,i.gx)(e,":",":"+l.G$)+e;case 101:return(0,i.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+l.G$+(45===(0,i.uO)(e,14)?"inline-":"")+"box$3$1"+l.G$+"$2$3$1"+l.MS+"$2box$3")+e}break;case 5936:switch((0,i.uO)(e,t+11)){case 114:return l.G$+e+l.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return l.G$+e+l.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return l.G$+e+l.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return l.G$+e+l.MS+e+e}return e}var g=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case l.h5:e.return=y(e.value,e.length);break;case l.lK:return(0,s.q)([(0,a.JG)(e,{value:(0,i.gx)(e.value,"@","@"+l.G$)})],n);case l.Fr:if(e.length)return(0,i.$e)(e.props,(function(t){switch((0,i.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,s.q)([(0,a.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+l.uj+"$1")]})],n);case"::placeholder":return(0,s.q)([(0,a.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+l.G$+"input-$1")]}),(0,a.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+l.uj+"$1")]}),(0,a.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,l.MS+"input-$1")]})],n)}return""}))}}],h=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,a,i=e.stylisPlugins||g,l={},d=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)l[t[r]]=!0;d.push(e)}));var p,f=[m,b],y=[s.P,(0,c.cD)((function(e){p.insert(e)}))],h=(0,c.qR)(f.concat(i,y));a=function(e,t,r,n){var o;p=r,o=e?e+"{"+t.styles+"}":t.styles,(0,s.q)((0,u.MY)(o),h),n&&(v.inserted[t.name]=!0)};var v={key:t,sheet:new o({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:a};return v.sheet.hydrate(d),v}},71068:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(45042),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(0,n.Z)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},45042:function(e,t,r){function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},17925:function(e,t,r){r.d(t,{C:function(){return b},E:function(){return C},T:function(){return h},_:function(){return y},a:function(){return O},b:function(){return x},c:function(){return P},h:function(){return k},i:function(){return f},u:function(){return v},w:function(){return g}});var n=r(67294),o=r(69087),a=r(87462),i=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},l=r(8679),s=r.n(l),c=function(e,t){return s()(e,t)},u=r(70444),d=r(85662),p=r(57639),f=!1,m=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),b=m.Provider,y=function(){return(0,n.useContext)(m)},g=function(e){return(0,n.forwardRef)((function(t,r){var o=(0,n.useContext)(m);return e(t,o,r)}))},h=n.createContext({}),v=function(){return n.useContext(h)},w=i((function(e){return i((function(t){return function(e,t){return"function"==typeof t?t(e):(0,a.Z)({},e,t)}(e,t)}))})),O=function(e){var t=n.useContext(h);return e.theme!==t&&(t=w(t)(e.theme)),n.createElement(h.Provider,{value:t},e.children)};
vendor: 4,577 bytes, line 1
1function x(e){var t=e.displayName||e.name||"Component",r=n.forwardRef((function(t,r){var o=n.useContext(h);return n.createElement(e,(0,a.Z)({theme:o,ref:r},t))}));return r.displayName="WithTheme("+t+")",c(r,e)}var k={}.hasOwnProperty,S="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",P=function(e,t){var r={};for(var n in t)k.call(t,n)&&(r[n]=t[n]);return r[S]=e,r},E=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,u.hC)(t,r,n),(0,p.L)((function(){return(0,u.My)(t,r,n)})),null},C=g((function(e,t,r){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[S],i=[o],l="";"string"==typeof e.className?l=(0,u.fp)(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var s=(0,d.O)(i,void 0,n.useContext(h));l+=t.key+"-"+s.name;var c={};for(var p in e)k.call(e,p)&&"css"!==p&&p!==S&&!f&&(c[p]=e[p]);return c.className=l,r&&(c.ref=r),n.createElement(n.Fragment,null,n.createElement(E,{cache:t,serialized:s,isStringTag:"string"==typeof a}),n.createElement(a,c))}))},70917:function(e,t,r){r.r(t),r.d(t,{CacheProvider:function(){return a.C},ClassNames:function(){return y},Global:function(){return d},ThemeContext:function(){return a.T},ThemeProvider:function(){return a.a},__unsafe_useEmotionCache:function(){return a._},createElement:function(){return u},css:function(){return p},jsx:function(){return u},keyframes:function(){return f},useTheme:function(){return a.u},withEmotionCache:function(){return a.w},withTheme:function(){return a.b}});var n,o,a=r(17925),i=r(67294),l=r(70444),s=r(57639),c=r(85662),u=(r(69087),r(8679),function(e,t){var r=arguments;if(null==t||!a.h.call(t,"css"))return i.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=a.E,o[1]=(0,a.c)(e,t);for(var l=2;l<n;l++)o[l]=r[l];return i.createElement.apply(null,o)});n=u||(u={}),o||(o=n.JSX||(n.JSX={}));var d=(0,a.w)((function(e,t){var r=e.styles,n=(0,c.O)([r],void 0,i.useContext(a.T)),o=i.useRef();return(0,s.j)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(a=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),o.current=[r,a],function(){r.flush()}}),[t]),(0,s.j)((function(){var e=o.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&(0,l.My)(t,n.next,!0),r.tags.length){var a=r.tags[r.tags.length-1].nextElementSibling;r.before=a,r.flush()}t.insert("",n,r,!1)}}),[t,n.name]),null}));function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,c.O)(t)}function f(){var e=p.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var m=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var a=t[n];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var b=function(e){var t=e.cache,r=e.serializedArr;return(0,s.L)((function(){for(var e=0;e<r.length;e++)(0,l.My)(t,r[e],!1)})),null},y=(0,a.w)((function(e,t){var r=!1,n=[],o=function(){if(r&&a.i)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var s=(0,c.O)(o,t.registered);return n.push(s),(0,l.hC)(t,s,!1),t.key+"-"+s.name},s={css:o,cx:function(){if(r&&a.i)throw new Error("cx can only be used during render");for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return function(e,t,r){var n=[],o=(0,l.fp)(e,n,r);return n.length<2?r:o+t(n)}(t.registered,o,m(n))},theme:i.useContext(a.T)},u=e.children(s);return r=!0,i.createElement(i.Fragment,null,i.createElement(b,{cache:t,serializedArr:n}),u)}))},57639:function(e,t,r){var n;r.d(t,{L:function(){return i},j:function(){return l}});var o=r(67294),a=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,i=a||function(e){return e()},l=a||o.useLayoutEffect},85662:function(e,t,r){r.d(t,{O:function(){return y}});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
vendor: 6,457 bytes, line 1
1idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(45042),a=!1,i=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.Z)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,(function(e,t,r){return m={name:t,styles:r,next:m},t}))}return 1===n[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"},p="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function f(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return m={name:o.name,styles:o.styles,next:m},o.name;var i=r;if(void 0!==i.styles){var l=i.next;if(void 0!==l)for(;void 0!==l;)m={name:l.name,styles:l.styles,next:m},l=l.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=f(e,t,r[o])+";";else for(var i in r){var l=r[i];if("object"!=typeof l){var s=l;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":c(s)&&(n+=u(i)+":"+d(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&a)throw new Error(p);if(!Array.isArray(l)||"string"!=typeof l[0]||null!=t&&void 0!==t[l[0]]){var m=f(e,t,l);switch(i){case"animation":case"animationName":n+=u(i)+":"+m+";";break;default:n+=i+"{"+m+"}"}}else for(var b=0;b<l.length;b++)c(l[b])&&(n+=u(i)+":"+d(i,l[b])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var s=m,b=r(e);return m=s,f(e,t,b)}}var y=r;if(null==t)return y;var g=t[y];return void 0!==g?g:y}var m,b=/label:\s*([^\s;{]+)\s*(;|$)/g;function y(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";m=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=f(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++){if(o+=f(r,t,e[i]),n)o+=a[i]}b.lastIndex=0;for(var l,s="";null!==(l=b.exec(o));)s+="-"+l[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:m}}},9391:function(e,t,r){r.r(t),r.d(t,{default:function(){return h}});var n=r(87462),o=r(17925),a=r(85662),i=r(67294),l=r.t(i,2),s=!!l.useInsertionEffect&&l.useInsertionEffect,c=s||function(e){return e()},u=(s||i.useLayoutEffect,r(70444)),d=r(71068),p=!1,f=d.Z,m=function(e){return"theme"!==e},b=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?f:m},y=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,u.hC)(t,r,n),c((function(){return(0,u.My)(t,r,n)})),null},h=function e(t,r){var l,s,c=t.__emotion_real===t,d=c&&t.__emotion_base||t;void 0!==r&&(l=r.label,s=r.target);var f=y(t,r,c),m=f||b(d),h=!m("as");return function(){var v=arguments,w=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==l&&w.push("label:"+l+";"),null==v[0]||void 0===v[0].raw)w.push.apply(w,v);else{var O=v[0];w.push(O[0]);for(var x=v.length,k=1;k<x;k++)w.push(v[k],O[k])}var S=(0,o.w)((function(e,t,r){var n=h&&e.as||d,l="",c=[],p=e;if(null==e.theme){for(var y in p={},e)p[y]=e[y];p.theme=i.useContext(o.T)}"string"==typeof e.className?l=(0,u.fp)(t.registered,c,e.className):null!=e.className&&(l=e.className+" ");var v=(0,a.O)(w.concat(c),t.registered,p);l+=t.key+"-"+v.name,void 0!==s&&(l+=" "+s);var O=h&&void 0===f?b(n):m,x={};for(var k in e)h&&"as"===k||O(k)&&(x[k]=e[k]);return x.className=l,r&&(x.ref=r),i.createElement(i.Fragment,null,i.createElement(g,{cache:t,serialized:v,isStringTag:"string"==typeof n}),i.createElement(n,x))}));return S.displayName=void 0!==l?l:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=d,S.__emotion_styles=w,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return void 0===s&&p?"NO_COMPONENT_SELECTOR":"."+s}}),S.withComponent=function(t,o){return e(t,(0,n.Z)({},r,o,{shouldForwardProp:y(S,o,!0)})).apply(void 0,w)},S}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){h[e]=h(e)}))},48285:function(e,t){t.Z=function(e){function t(e,n,s,c,p){for(var f,m,b,y,w,x=0,k=0,S=0,P=0,E=0,D=0,L=b=f=0,A=0,T=0,$=0,M=0,F=s.length,B=F-1,W="",H="",G="",V="";A<F;){if(m=s.charCodeAt(A),A===B&&0!==k+P+S+x&&(0!==k&&(m=47===k?10:47),P=S=x=0,F++,B++),0===k+P+S+x){if(A===B&&(0<T&&(W=W.replace(d,"")),0<W.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:W+=s.charAt(A)}m=59}
vendor: 4,925 bytes, line 1
1switch(m){case 123:for(f=(W=W.trim()).charCodeAt(0),b=1,M=++A;A<F;){switch(m=s.charCodeAt(A)){case 123:b++;break;case 125:b--;break;case 47:switch(m=s.charCodeAt(A+1)){case 42:case 47:e:{for(L=A+1;L<B;++L)switch(s.charCodeAt(L)){case 47:if(42===m&&42===s.charCodeAt(L-1)&&A+2!==L){A=L+1;break e}break;case 10:if(47===m){A=L+1;break e}}A=L}}break;case 91:m++;case 40:m++;case 34:case 39:for(;A++<B&&s.charCodeAt(A)!==m;);}if(0===b)break;A++}if(b=s.substring(M,A),0===f&&(f=(W=W.replace(u,"").trim()).charCodeAt(0)),64===f){switch(0<T&&(W=W.replace(d,"")),m=W.charCodeAt(1)){case 100:case 109:case 115:case 45:T=n;break;default:T=I}if(M=(b=t(n,T,b,m,p+1)).length,0<R&&(w=l(3,b,T=r(I,W,$),n,j,C,M,m,p,c),W=T.join(""),void 0!==w&&0===(M=(b=w.trim()).length)&&(m=0,b="")),0<M)switch(m){case 115:W=W.replace(O,i);case 100:case 109:case 45:b=W+"{"+b+"}";break;case 107:b=(W=W.replace(g,"$1 $2"))+"{"+b+"}",b=1===z||2===z&&a("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=W+b,112===c&&(H+=b,b="")}else b=""}else b=t(n,r(n,W,$),b,c,p+1);G+=b,b=$=T=L=f=0,W="",m=s.charCodeAt(++A);break;case 125:case 59:if(1<(M=(W=(0<T?W.replace(d,""):W).trim()).length))switch(0===L&&(f=W.charCodeAt(0),45===f||96<f&&123>f)&&(M=(W=W.replace(" ",":")).length),0<R&&void 0!==(w=l(1,W,n,e,j,C,H.length,c,p,c))&&0===(M=(W=w.trim()).length)&&(W="\0\0"),f=W.charCodeAt(0),m=W.charCodeAt(1),f){case 0:break;case 64:if(105===m||99===m){V+=W+s.charAt(A);break}default:58!==W.charCodeAt(M-1)&&(H+=o(W,f,m,W.charCodeAt(2)))}$=T=L=f=0,W="",m=s.charCodeAt(++A)}}switch(m){case 13:case 10:47===k?k=0:0===1+f&&107!==c&&0<W.length&&(T=1,W+="\0"),0<R*_&&l(0,W,n,e,j,C,H.length,c,p,c),C=1,j++;break;case 59:case 125:if(0===k+P+S+x){C++;break}default:switch(C++,y=s.charAt(A),m){case 9:case 32:if(0===P+x+k)switch(E){case 44:case 58:case 9:case 32:y="";break;default:32!==m&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===P+k+x&&(T=$=1,y="\f"+y);break;case 108:if(0===P+k+x+N&&0<L)switch(A-L){case 2:112===E&&58===s.charCodeAt(A-3)&&(N=E);case 8:111===D&&(N=D)}break;case 58:0===P+k+x&&(L=A);break;case 44:0===k+S+P+x&&(T=1,y+="\r");break;case 34:case 39:0===k&&(P=P===m?0:0===P?m:P);break;case 91:0===P+k+S&&x++;break;case 93:0===P+k+S&&x--;break;case 41:0===P+k+x&&S--;break;case 40:if(0===P+k+x){if(0===f)if(2*E+3*D==533);else f=1;S++}break;case 64:0===k+S+P+x+L+b&&(b=1);break;case 42:case 47:if(!(0<P+x+S))switch(k){case 0:switch(2*m+3*s.charCodeAt(A+1)){case 235:k=47;break;case 220:M=A,k=42}break;case 42:47===m&&42===E&&M+2!==A&&(33===s.charCodeAt(M+2)&&(H+=s.substring(M,A+1)),y="",k=0)}}0===k&&(W+=y)}D=E,E=m,A++}if(0<(M=H.length)){if(T=n,0<R&&(void 0!==(w=l(2,H,T,e,j,C,M,c,p,c))&&0===(H=w).length))return V+H+G;if(H=T.join(",")+"{"+H+"}",0!=z*N){switch(2!==z||a(H,2)||(N=0),N){case 111:H=H.replace(v,":-moz-$1")+H;break;case 112:H=H.replace(h,"::-webkit-input-$1")+H.replace(h,"::-moz-$1")+H.replace(h,":-ms-input-$1")+H}N=0}}return V+H+G}function r(e,t,r){var o=t.trim().split(b);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var l=0;for(e=0===i?"":e[0]+" ";l<a;++l)t[l]=n(e,t[l],r).trim();break;default:var s=l=0;for(t=[];l<a;++l)for(var c=0;c<i;++c)t[s++]=n(e[c]+" ",o[l],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(y,"$1"+e.trim());case 58:return e.trim()+t.replace(y,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(y,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",l=2*t+3*r+4*n;if(944===l){e=i.indexOf(":",9)+1;var s=i.substring(e,i.length-1).trim();return s=i.substring(0,e).trim()+s+";",1===z||2===z&&a(s,1)?"-webkit-"+s+s:s}if(0===z||2===z&&!a(i,1))return i;switch(l){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(E,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(s=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+s+i;case 1005:return f.test(i)?i.replace(p,":-webkit-")+i.replace(p,":-moz-")+i:i;case 1e3:switch(t=(s=i.substring(13).trim()).indexOf("-")+1,s.charCo
1deAt(0)+s.charCodeAt(t)){case 226:s=i.replace(w,"tb");break;case 232:s=i.replace(w,"tb-rl");break;case 220:s=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+s+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,l=(s=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+i.replace(s,"-webkit-"+s)+";"+i.replace(s,"-ms-"+s+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return s=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+s+"-ms-flex-"+s+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(k,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(k,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===P.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(s,"-webkit-"+s)+i.replace(s,"-moz-"+s.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),L(2!==t?n:n.replace(S,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function l(e,t,r,n,o,a,i,l,s,u){for(var d,p=0,f=t;p<R;++p)switch(d=D[p].call(c,e,f,r,n,o,a,i,l,s,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function s(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!=typeof e?z=1:(z=2,L=e):z=0),s}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<R){var o=l(-1,r,n,n,j,C,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(I,n,r,0,0);return 0<R&&(void 0!==(o=l(-2,a,n,n,j,C,a.length,0,0,0))&&(a=o)),"",N=0,C=j=1,a}var u=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,f=/zoo|gra/,m=/([,: ])(transform)/g,b=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,v=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,O=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,k=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,C=1,j=1,N=0,z=1,I=[],D=[],R=0,L=null,_=0;return c.use=function e(t){switch(t){case void 0:case null:R=D.length=0;break;default:if("function"==typeof t)D[R++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else _=0|!!t}return e},c.set=s,void 0!==e&&s(e),c}},70444:function(e,t,r){r.d(t,{My:function(){return a},fp:function(){return n},hC:function(){return o}});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},15172:function(e,t,r){r.r(t),r.d(t,{Carousel:function(){return Z},useAnimationOffsetEffect:function(){return K}});var n=r(73623),o=r(34736),a=r(64523),i=r(56057),l=r(9276),s=r(57434),c=r(67294);const[u,d]=function(e){const t=(0,c.createContext)(null);return[({children:e,value:r})=>c.createElement(t.Provider,{value:r},e),()=>{const r=(0,c.useContext)(t);if(null===r)throw new Error(e);return r}]}("[@mantine/carousel] Carousel.Slide was rendered outside of Carousel context");var p=r(71485),f=r(21434),m=r(83687),b=r(2566),y=r(12681),g=Object.defineProperty,h=Object.defineProperties,v=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,k=(e,t,r)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t)=>{for(var r in t||(t={}))O.call(t,r)&&k(e,r,t[r]);if(w)for(var r of w(t))x.call(t,r)&&k(e,r,t[r]);return e},P=(0,p.k)(((e,{controlSize:t,controlsOffset:r,orientation:n,height:o,includeGapInSize:a,breakpoints:i=[],slideGap:l})=>{const s="horizontal"===n,c=t=>{if(!a)return{};const r=(0,f.a)({size:t,sizes:e.spacing});return{["horizontal"===n?"marginRight":"marginBottom"]:`calc(${r} * -1)`}},u=i.some((e=>void 0!==e.slideGap||void 0!==e.slideSize))?(0,m.I)(e,i).reduce(((t,r)=>{const n="maxWidth"in r?"max-width":"min-width",o=(0,f.a)({size:"max-width"===n?r.maxWidth:r.minWidth,sizes:e.breakpoints}),a=void 0===r.slideGap?void 0:(0,b.h)(r.slideGap),i=(0,y.oI)(o)-("max-width"===n?1:0);return t[`@media (${n}: ${(0,b.h)(i)})`]=c(a),t}),{}):null;return{root:{position:"relative"},viewport:{height:(0,b.h)(o),overflow:"hidden"},container:S(S({display:"flex",flexDirection:s?"row":"column",height:(0,b.h)(o)},c(l)),u),controls:{position:"absolute",zIndex:1,left:s?0:`calc(50% - ${(0,b.h)(t)} / 2)`,right:s?0:void 0,top:s?`calc(50% - ${(0,b.h)(t)} / 2)`:0,bottom:s?void 0:0,display:"flex",flexDirection:s?"row":"column",alignItems:"center",justifyContent:"space-between",paddingLeft:s?(0,f.a)({size:r,sizes:e.spacing}):void 0,paddingRight:s?(0,f.a)({size:r,sizes:e.spacing}):void 0,paddingTop:s?void 0:(0,f.a)({size:r,sizes:e.spacing}),paddingBottom:s?void 0:(0,f.a)({size:r,sizes:e.spacing}),pointerEvents:"none"},control:(d=S({display:"flex",justifyContent:"center",alignItems:"center",minWidth:(0,b.h)(t),minHeight:(0,b.h)(t),borderRadius:(0,b.h)(t),pointerEvents:"all",backgroundColor:e.white,color:e.black,boxShadow:e.shadows.md,opacity:"dark"===e.colorScheme?.65:.85,border:`${(0,b.h)(1)} solid ${e.colors.gray[3]}`,transition:`opacity 150ms ${e.transitionTimingFunction}`},e.fn.hover({opacity:1})),p={"&:active":e.activeStyles},h(d,v(p))),indicators:{position:"absolute",bottom:s?e.spacing.md:0,top:s?void 0:0,left:s?0:void 0,right:s?0:e.spacing.md,display:"flex",flexDirection:s?"row":"column",justifyContent:"center",gap:(0,b.h)(8),pointerEvents:"none"},indicator:{pointerEvents:"all",width:s?(0,b.h)(25):(0,b.h)(5),height:s?(0,b.h)(5):(0,b.h)(25),borderRadius:e.radius.xl,backgroundColor:e.white,boxShadow:e.shadows.sm,opacity:.6,transition:`opacity 150ms ${e.transitionTimingFunction}
1`,"&[data-active]":{opacity:1}}};var d,p})),E=Object.defineProperty,C=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,z=(e,t,r)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))j.call(t,r)&&z(e,r,t[r]);if(C)for(var r of C(t))N.call(t,r)&&z(e,r,t[r]);return e},D=(0,p.k)(((e,{size:t,gap:r,orientation:n,includeGapInSize:o,breakpoints:a=[]})=>{const i=(t,r)=>{const a=(0,f.a)({size:t,sizes:e.spacing}),i=(0,b.h)(r);return I({flex:`0 0 ${i}`},o?{["horizontal"===n?"paddingRight":"paddingBottom"]:a}:{["horizontal"===n?"marginRight":"marginBottom"]:a})},l=a.some((e=>void 0!==e.slideGap||void 0!==e.slideSize))?(0,m.I)(e,a).reduce(((t,n)=>{const o="maxWidth"in n?"max-width":"min-width",a=(0,f.a)({size:"max-width"===o?n.maxWidth:n.minWidth,sizes:e.breakpoints}),l=void 0===n.slideGap?r:n.slideGap,s=(0,y.oI)(a)-("max-width"===o?1:0);return t[`@media (${o}: ${(0,b.h)(s)})`]=i(l,n.slideSize),t}),{}):null;return{slide:I(I({position:"relative"},i(r,t)),l)}})),R=Object.defineProperty,L=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,T=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const $=(0,c.forwardRef)(((e,t)=>{var r=e,{children:n,className:o,size:i,gap:l}=r,s=((e,t)=>{var r={};for(var n in e)_.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&L)for(var n of L(e))t.indexOf(n)<0&&A.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","size","gap"]);const u=d(),{classes:p,cx:f}=D({gap:void 0===l?u.slideGap:l,size:void 0===i?u.slideSize:i,orientation:u.orientation,includeGapInSize:u.includeGapInSize,breakpoints:u.breakpoints},{name:"Carousel",classNames:u.classNames,styles:u.styles,unstyled:u.unstyled,variant:u.variant});return c.createElement(a.x,((e,t)=>{for(var r in t||(t={}))_.call(t,r)&&T(e,r,t[r]);if(L)for(var r of L(t))A.call(t,r)&&T(e,r,t[r]);return e})({className:f(p.slide,o),ref:t},s),n)}));function M({dir:e,orientation:t,direction:r}){return"previous"===r?"horizontal"===t?90*("ltr"===e?1:-1):-180:"horizontal"===t?90*("ltr"===e?-1:1):0}$.displayName="@mantine/carousel/CarouselSlide";var F=Object.defineProperty,B=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,G=(e,t,r)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const V={controlSize:26,controlsOffset:"sm",slideSize:"100%",slideGap:0,orientation:"horizontal",align:"center",slidesToScroll:1,includeGapInSize:!0,draggable:!0,dragFree:!1,loop:!1,speed:10,initialSlide:0,inViewThreshold:0,withControls:!0,withIndicators:!1,skipSnaps:!1,containScroll:"",withKeyboardEvents:!0},Y=(0,c.forwardRef)(((e,t)=>{const r=(0,n.N4)("Carousel",V,e),{children:d,className:p,getEmblaApi:f,onNextSlide:m,onPreviousSlide:b,onSlideChange:y,nextControlLabel:g,previousControlLabel:h,controlSize:v,controlsOffset:w,classNames:O,styles:x,unstyled:k,slideSize:S,slideGap:E,orientation:C,height:j,align:N,slidesToScroll:z,includeGapInSize:I,draggable:D,dragFree:R,loop:L,speed:_,initialSlide:A,inViewThreshold:T,withControls:$,withIndicators:F,plugins:Y,nextControlIcon:Z,previousControlIcon:K,breakpoints:U,skipSnaps:q,containScroll:X,withKeyboardEvents:J,variant:Q}=r,ee=((e,t)=>{var r={};for(var n in e)W.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&B)for(var n of B(e))t.indexOf(n)<0&&H.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","getEmblaApi","onNextSlide","onPreviousSlide","onSlideChange","nextControlLabel","previousControlLabel","controlSize","controlsOffset","classNames","styles","unstyled","slideSize","slideGap","orientation","height","align","slidesToScroll","includeGapInSize","draggable","dragFree","loop","speed","initialSlide","inViewThreshold","withControls","withIndicators","plugins","nextControlIcon","previousControlIcon","breakpoints","skipSnaps","containScroll","withKeyboardEvents","variant"]),{classes:te,cx:re,theme:ne}=P({controlSize:v,controlsOffset:w,orientation:C,height:j,includeGapInSize:I,breakpoints:U,slideGap:E},{name:"Carousel",classNames:O,styles:x,unstyled:k,variant:Q}),[oe,ae]=(0,s.Z)({axis:"horizontal"===C?"x":"y",direction:"horizontal"===C?ne.dir:void 0,startIndex:A,loop:L,align:N,slidesToScroll:z,draggable:D,dragFree:R,speed:_,inViewThreshold:T,skipSnaps:q,containScroll:X},Y),[ie,le]=(0,c.useState)(0),[se,ce]=(0,c.useState)(0),ue=(0,c.useCallback)((e=>ae&&ae.scrollTo(e)),[ae]),de=(0,c.useCallback)((()=>
1{if(!ae)return;const e=ae.selectedScrollSnap();le(e),null==y||y(e)}),[ae,le]),pe=(0,c.useCallback)((()=>{null==ae||ae.scrollPrev(),null==b||b()}),[ae]),fe=(0,c.useCallback)((()=>{null==ae||ae.scrollNext(),null==m||m()}),[ae]),me=(0,c.useCallback)((e=>{J&&("ArrowRight"===e.key&&(e.preventDefault(),fe()),"ArrowLeft"===e.key&&(e.preventDefault(),pe()))}),[ae]);(0,c.useEffect)((()=>{if(ae)return null==f||f(ae),de(),ce(ae.scrollSnapList().length),ae.on("select",de),()=>{ae.off("select",de)}}),[ae,z]),(0,c.useEffect)((()=>{ae&&(ae.reInit(),ce(ae.scrollSnapList().length),le((e=>(0,l.u)(e,0,c.Children.toArray(d).length-1))))}),[c.Children.toArray(d).length,z]);const be=(null==ae?void 0:ae.canScrollPrev())||!1,ye=(null==ae?void 0:ae.canScrollNext())||!1,ge=Array(se).fill(0).map(((e,t)=>c.createElement(o.k,{key:t,"data-active":t===ie||void 0,className:te.indicator,"aria-hidden":!0,tabIndex:-1,onClick:()=>ue(t)})));return c.createElement(u,{value:{slideGap:E,slideSize:S,embla:ae,orientation:C,includeGapInSize:I,breakpoints:U,classNames:O,styles:x,unstyled:k,variant:Q}},c.createElement(a.x,((e,t)=>{for(var r in t||(t={}))W.call(t,r)&&G(e,r,t[r]);if(B)for(var r of B(t))H.call(t,r)&&G(e,r,t[r]);return e})({className:re(te.root,p),ref:t,onKeyDownCapture:me},ee),c.createElement("div",{className:te.viewport,ref:oe},c.createElement("div",{className:te.container},d)),F&&c.createElement("div",{className:te.indicators},ge),$&&c.createElement("div",{className:te.controls},c.createElement(o.k,{onClick:pe,className:te.control,"aria-label":h,"data-inactive":!be||void 0,tabIndex:be?0:-1},void 0!==K?K:c.createElement(i.D,{style:{transform:`rotate(${M({dir:ne.dir,orientation:C,direction:"previous"})}deg)`}})),c.createElement(o.k,{onClick:fe,className:te.control,"aria-label":g,"data-inactive":!ye||void 0,tabIndex:ye?0:-1},void 0!==Z?Z:c.createElement(i.D,{style:{transform:`rotate(${M({dir:ne.dir,orientation:C,direction:"next"})}deg)`}})))))}));Y.Slide=$,Y.displayName="@mantine/carousel/Carousel";const Z=Y;function K(e,t){(0,c.useEffect)((()=>{e&&window.setTimeout((()=>{e.reInit()}),t)}),[e,t])}},56057:function(e,t,r){r.d(t,{D:function(){return p}});var n=r(67294),o=r(2566),a=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&c(e,r,t[r]);return e},d=(e,t)=>{var r={};for(var n in e)l.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&i)for(var n of i(e))t.indexOf(n)<0&&s.call(e,n)&&(r[n]=e[n]);return r};function p(e){const t=e,{style:r}=t,a=d(t,["style"]);return n.createElement("svg",u({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:u({width:(0,o.h)(16),height:(0,o.h)(16)},r)},a),n.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}},49834:function(e,t,r){r.d(t,{A:function(){return D}});var n=r(67294),o=r(73623),a=r(74574),i=r(2566),l=r(71485),s=r(21434),c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e},g=(e,t)=>u(e,d(t));const h=["subtle","filled","outline","light","default","transparent","gradient"],v={xs:(0,i.h)(18),sm:(0,i.h)(22),md:(0,i.h)(28),lg:(0,i.h)(34),xl:(0,i.h)(44)};function w({variant:e,theme:t,color:r,gradient:n}){const o=t.fn.variant({color:r,variant:e,gradient:n});return"gradient"===e?{border:0,backgroundImage:o.background,color:o.color,"&:hover":t.fn.hover({backgroundSize:"200%"})}:h.includes(e)?y({border:`${(0,i.h)(1)} solid ${o.border}`,backgroundColor:o.background,color:o.color},t.fn.hover({backgroundColor:o.hover})):null}var O=(0,l.k)(((e,{radius:t,color:r,gradient:n},{variant:o,size:a})=>({root:g(y({position:"relative",borderRadius:e.fn.radius(t),padding:0,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center",height:(0,s.a)({size:a,sizes:v}),minHeight:(0,s.a)({size:a,sizes:v}),width:(0,s.a)({size:a,sizes:v}),minWidth:(0,s.a)({size:a,sizes:v})},w({variant:o,theme:e,color:r,gradient:n})),{"&:active":e.activeStyles,"& [data-action-icon-loader]":{maxWidth:"70%"},"&:disabled, &[data-disabled]":{color:e.colors.gray["dark"===e.colorScheme?6:4],cursor:"not-allowed",backgroundColor:"transparent"===o?void 0:e.fn.theme
1Color("gray","dark"===e.colorScheme?8:1),borderColor:"transparent"===o?void 0:e.fn.themeColor("gray","dark"===e.colorScheme?8:1),backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":g(y({content:'""'},e.fn.cover((0,i.h)(-1))),{backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:e.fn.radius(t),cursor:"not-allowed"})}})}))),x=r(20966),k=r(34736),S=Object.defineProperty,P=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&j(e,r,t[r]);if(P)for(var r of P(t))C.call(t,r)&&j(e,r,t[r]);return e};const z={color:"gray",size:"md",variant:"subtle"},I=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("ActionIcon",z,e),{className:a,color:i,children:l,radius:s,size:c,variant:u,gradient:d,disabled:p,loaderProps:f,loading:m,unstyled:b,__staticSelector:y}=r,g=((e,t)=>{var r={};for(var n in e)E.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&P)for(var n of P(e))t.indexOf(n)<0&&C.call(e,n)&&(r[n]=e[n]);return r})(r,["className","color","children","radius","size","variant","gradient","disabled","loaderProps","loading","unstyled","__staticSelector"]),{classes:h,cx:v,theme:w}=O({radius:s,color:i,gradient:d},{name:["ActionIcon",y],unstyled:b,size:c,variant:u}),S=n.createElement(x.a,N({color:w.fn.variant({color:i,variant:u}).color,size:"100%","data-action-icon-loader":!0},f));return n.createElement(k.k,N({className:v(h.root,a),ref:t,disabled:p,"data-disabled":p||void 0,"data-loading":m||void 0,unstyled:b},g),m?S:l)}));I.displayName="@mantine/core/ActionIcon";const D=(0,a.F)(I)},64523:function(e,t,r){r.d(t,{x:function(){return g}});var n=r(67294),o=r(74574),a=r(12756),i=r(73623),l=r(59638),s=r(16405);function c(e,t){return"function"==typeof e?e(t):e}function u(e,t,r){const n=(0,i.rZ)(),{css:o,cx:a}=(0,l.Z)();return Array.isArray(e)?a(r,o((0,s.M)(t,n)),e.map((e=>o(c(e,n))))):a(r,o(c(e,n)),o((0,s.M)(t,n)))}var d=Object.defineProperty,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const y=(0,n.forwardRef)(((e,t)=>{var r=e,{className:o,component:i,style:l,sx:s}=r,c=((e,t)=>{var r={};for(var n in e)f.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&p)for(var n of p(e))t.indexOf(n)<0&&m.call(e,n)&&(r[n]=e[n]);return r})(r,["className","component","style","sx"]);const{systemStyles:d,rest:y}=(0,a.x)(c),g=i||"div";return n.createElement(g,((e,t)=>{for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e})({ref:t,className:u(s,d,o),style:l},y))}));y.displayName="@mantine/core/Box";const g=(0,o.F)(y)},12756:function(e,t,r){r.d(t,{x:function(){return s}});var n=r(67078),o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,l=(e,t)=>{var r={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&o)for(var n of o(e))t.indexOf(n)<0&&i.call(e,n)&&(r[n]=e[n]);return r};function s(e){const t=e,{m:r,mx:o,my:a,mt:i,mb:s,ml:c,mr:u,p:d,px:p,py:f,pt:m,pb:b,pl:y,pr:g,bg:h,c:v,opacity:w,ff:O,fz:x,fw:k,lts:S,ta:P,lh:E,fs:C,tt:j,td:N,w:z,miw:I,maw:D,h:R,mih:L,mah:_,bgsz:A,bgp:T,bgr:$,bga:M,pos:F,top:B,left:W,bottom:H,right:G,inset:V,display:Y}=t,Z=l(t,["m","mx","my","mt","mb","ml","mr","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","w","miw","maw","h","mih","mah","bgsz","bgp","bgr","bga","pos","top","left","bottom","right","inset","display"]);return{systemStyles:(0,n.L)({m:r,mx:o,my:a,mt:i,mb:s,ml:c,mr:u,p:d,px:p,py:f,pt:m,pb:b,pl:y,pr:g,bg:h,c:v,opacity:w,ff:O,fz:x,fw:k,lts:S,ta:P,lh:E,fs:C,tt:j,td:N,w:z,miw:I,maw:D,h:R,mih:L,mah:_,bgsz:A,bgp:T,bgr:$,bga:M,pos:F,top:B,left:W,bottom:H,right:G,inset:V,display:Y}),rest:Z}}},16405:function(e,t,r){r.d(t,{M:function(){return y}});var n=r(12681),o=r(21434);function a({value:e,theme:t,getValue:r,property:a}){if(null==e)return;if("object"==typeof e){const i=function(e,t){const r=Object.keys(e).filter((e=>"base"!==e)).sort(((e,r)=>(0,n.oI)((0,o.a)({size:e,sizes:t.breakpoints}))-(0,n.oI)((0,o.a)({size:r,sizes:t.breakpoints}))));return"base"in e?["base",...r]:r}(e,t).reduce(((n,o)=>
1{if("base"===o&&void 0!==e.base){const o=r(e.base,t);return Array.isArray(a)?(a.forEach((e=>{n[e]=o})),n):(n[a]=o,n)}const i=r(e[o],t);return Array.isArray(a)?(n[t.fn.largerThan(o)]={},a.forEach((e=>{n[t.fn.largerThan(o)][e]=i})),n):(n[t.fn.largerThan(o)]={[a]:i},n)}),{});return i}const i=r(e,t);return Array.isArray(a)?a.reduce(((e,t)=>(e[t]=i,e)),{}):{[a]:i}}var i=r(2566);const l=["-xs","-sm","-md","-lg","-xl"];const s={identity:function(e){return e},color:function(e,t){return"dimmed"===e?"dark"===t.colorScheme?t.colors.dark[2]:t.colors.gray[6]:t.fn.variant({variant:"filled",color:e,primaryFallback:!1}).background},size:function(e){return(0,i.h)(e)},fontSize:function(e,t){return(0,o.a)({size:e,sizes:t.fontSizes})},spacing:function(e,t){return l.includes(e)?`calc(${(0,o.a)({size:e.replace("-",""),sizes:t.spacing})} * -1)`:(0,o.a)({size:e,sizes:t.spacing})}};var c=r(2893),u=Object.defineProperty,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e};function y(e,t,r=c.w){return Object.keys(r).reduce(((n,o)=>(o in e&&void 0!==e[o]&&n.push(a({value:e[o],getValue:s[r[o].type],property:r[o].property,theme:t})),n)),[]).reduce(((e,t)=>(Object.keys(t).forEach((r=>{"object"==typeof t[r]&&null!==t[r]?e[r]=r in e?b(b({},e[r]),t[r]):t[r]:e[r]=t[r]})),e)),{})}},2893:function(e,t,r){r.d(t,{w:function(){return n}});const n={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"color",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"identity",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"identity",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"identity",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"}}},67841:function(e,t,r){r.d(t,{z:function(){return G}});var n=r(67294),o=r(73623),a=r(21434),i=r(74574),l=r(71485),s=r(2566),c=(0,l.k)(((e,{orientation:t,buttonBorderWidth:r})=>({root:{display:"flex",flexDirection:"vertical"===t?"column":"row","& [data-button]":{"&:first-of-type:not(:last-of-type)":{borderBottomRightRadius:0,["vertical"===t?"borderBottomLeftRadius":"borderTopRightRadius"]:0,["vertical"===t?"borderBottomWidth":"borderRightWidth"]:`calc(${(0,s.h)(r)} / 2)`},"&:last-of-type:not(:first-of-type)":{borderTopLeftRadius:0,["vertical"===t?"borderTopRightRadius":"borderBottomLeftRadius"]:0,["vertical"===t?"borderTopWidth":"borderLeftWidth"]:`calc(${(0,s.h)(r)} / 2)`},"&:not(:first-of-type):not(:last-of-type)":{borderRadius:0,["vertical"===t?"borderTopWidth":"borderLeftWidth"]:`calc(${(0,s.h)(r)} / 2)`,["vertical"===t?"borderBottomWidth":"borderRightWidth"]:`calc(${(0,s.h)(r)} / 2)`},"& + [data-button]":{["vertical"===t?"marginTop":"marginLeft"]:`calc(${r} * -1)`,"@media (min-resolution: 192dpi)":{["vertical"===t?"marginTop":"marginLeft"]:0}}}}}))),u=r(64523),d=Object.defineProperty,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const y={orientation:"horizontal",buttonBorderWidth:1},g=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("ButtonGroup",y,e),{className:a,orientation:i,buttonBorderWidth:l,unstyled:s}=r,d=((e,t)=>{var r={};for(var n in e)f.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&p)for(var n of p(e))t.indexOf(n)<0&&m.call(e,n)&&(r[n]=e[n]);return r})(r,["className","orientation","buttonBorderWidth","unstyled"]),{classes:g,cx:h}=c({orientation:i,buttonBorderWidth:l},{name:"ButtonGroup",unstyled:s});return n.createElement(u.x,((e,t)=>{for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e})({className:h(g.root,a),ref:t},d))}));g.displayName="@mantine/core/ButtonGroup";var h=r(35227),v=Object.defineProperty,w=Object.defineProperties,O=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,P=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))k.call(t,r)&&P(e,r,t[r]);if(x)for(var r of x(t))S.call(t,r)&&P(e,r,t[r]);return e},C=(e,t)=>w(e,O(t));const j=["filled","outline","light","white","default","subtle","gradient"],N={xs:{height:h.J.xs,paddingLeft:(0,s.h)(14),paddingRight:(0,s.h)(14)},sm:{height:h.J.sm,paddingLeft:(0,s.h)(18),paddingRight:(0,s.h)(18)},md:{height:h.J.md,paddingLeft:(0,s.h)(22),paddingRight:(0,s.h)(22)},lg:{height:h.J.lg,paddingLeft:(0,s.h)(26),paddingRight:(0,s.h)(26)},xl:{height:h.J.xl,paddingLeft:(0,s.h)(32),paddingRight:(0,s.h)(32)},"compact-xs":{height:(0,s.h)(22),paddingLeft:(0,s.h)(7),paddingRight:(0,s.h)(7)},"compact-sm":{height:(0,s.h)(26),paddingLeft:(0,s.h)(8),paddingRight:(0,s.h)(8)},"compact-md":{height:(0,s.h)(30),paddingLeft:(0,s.h)(10),paddingRight:(0,s.h)(10)},"compact-lg":{height:(0,s.h)(34),paddingLeft:(0,s.h)(12),paddingRight:(0,s.h)(12)}
1,"compact-xl":{height:(0,s.h)(40),paddingLeft:(0,s.h)(14),paddingRight:(0,s.h)(14)}};function z({compact:e,size:t,withLeftIcon:r,withRightIcon:n}){if(e)return N[`compact-${t}`];const o=N[t];return o?C(E({},o),{paddingLeft:r?`calc(${o.paddingLeft} / 1.5)`:o.paddingLeft,paddingRight:n?`calc(${o.paddingRight} / 1.5)`:o.paddingRight}):{}}const I=e=>({display:e?"block":"inline-block",width:e?"100%":"auto"});function D({variant:e,theme:t,color:r,gradient:n}){if(!j.includes(e))return null;const o=t.fn.variant({color:r,variant:e,gradient:n});return"gradient"===e?E({border:0,backgroundImage:o.background,color:o.color},t.fn.hover({backgroundSize:"200%"})):E({border:`${(0,s.h)(1)} solid ${o.border}`,backgroundColor:o.background,color:o.color},t.fn.hover({backgroundColor:o.hover}))}var R=(0,l.k)(((e,{radius:t,fullWidth:r,compact:n,withLeftIcon:o,withRightIcon:i,color:l,gradient:c},{variant:u,size:d})=>({root:C(E(C(E(E(E(E({},z({compact:n,size:d,withLeftIcon:o,withRightIcon:i})),e.fn.fontStyles()),e.fn.focusStyles()),I(r)),{borderRadius:e.fn.radius(t),fontWeight:600,position:"relative",lineHeight:1,fontSize:(0,a.a)({size:d,sizes:e.fontSizes}),userSelect:"none",cursor:"pointer"}),D({variant:u,theme:e,color:l,gradient:c})),{"&:active":e.activeStyles,"&:disabled, &[data-disabled]":{borderColor:"transparent",backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],color:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[5],cursor:"not-allowed",backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":C(E({content:'""'},e.fn.cover((0,s.h)(-1))),{backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:e.fn.radius(t),cursor:"not-allowed"})}}),icon:{display:"flex",alignItems:"center"},leftIcon:{marginRight:e.spacing.xs},rightIcon:{marginLeft:e.spacing.xs},centerLoader:{position:"absolute",left:"50%",transform:"translateX(-50%)",opacity:.5},inner:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",overflow:"visible"},label:{whiteSpace:"nowrap",height:"100%",overflow:"hidden",display:"flex",alignItems:"center"}}))),L=r(20966),_=r(34736),A=Object.defineProperty,T=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,r)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,B=(e,t)=>{for(var r in t||(t={}))$.call(t,r)&&F(e,r,t[r]);if(T)for(var r of T(t))M.call(t,r)&&F(e,r,t[r]);return e};const W={size:"sm",type:"button",variant:"filled",loaderPosition:"left"},H=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Button",W,e),{className:i,size:l,color:s,type:c,disabled:u,children:d,leftIcon:p,rightIcon:f,fullWidth:m,variant:b,radius:y,uppercase:g,compact:h,loading:v,loaderPosition:w,loaderProps:O,gradient:x,classNames:k,styles:S,unstyled:P}=r,E=((e,t)=>{var r={};for(var n in e)$.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&T)for(var n of T(e))t.indexOf(n)<0&&M.call(e,n)&&(r[n]=e[n]);return r})(r,["className","size","color","type","disabled","children","leftIcon","rightIcon","fullWidth","variant","radius","uppercase","compact","loading","loaderPosition","loaderProps","gradient","classNames","styles","unstyled"]),{classes:C,cx:j,theme:z}=R({radius:y,color:s,fullWidth:m,compact:h,gradient:x,withLeftIcon:!!p,withRightIcon:!!f},{name:"Button",unstyled:P,classNames:k,styles:S,variant:b,size:l}),I=z.fn.variant({color:s,variant:b}),D=n.createElement(L.a,B({color:I.color,size:`calc(${(0,a.a)({size:l,sizes:N}).height} / 2)`},O));return n.createElement(_.k,B({className:j(C.root,i),type:c,disabled:u,"data-button":!0,"data-disabled":u||void 0,"data-loading":v||void 0,ref:t,unstyled:P},E),n.createElement("div",{className:C.inner},(p||v&&"left"===w)&&n.createElement("span",{className:j(C.icon,C.leftIcon)},v&&"left"===w?D:p),v&&"center"===w&&n.createElement("span",{className:C.centerLoader},D),n.createElement("span",{className:C.label,style:{textTransform:g?"uppercase":void 0}},d),(f||v&&"right"===w)&&n.createElement("span",{className:j(C.icon,C.rightIcon)},v&&"right"===w?D:f)))}));H.displayName="@mantine/core/Button",H.Group=g;const G=(0,i.F)(H)},43523:function(e,t,r){r.d(t,{M:function(){return m}});var n=r(67294),o=r(73623),a=r(74574),i=(0,r(71485).k)(((e,{inline:t})=>({root:{display:t?"inline-flex":"flex",alignItems:"center",justifyContent:"center"}}))),l=r(64523),s=Object.defineProperty,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const f=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Center",{},e),{inline:a,className:s,unstyled:f,variant:m}=r,b=((e,t)=>{var r={};for(var n in e)u.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&c)for(var n of c(e))t.indexOf(n)<0&&d.call(e,n)&&(r[n]=e[n]);return r})(r,["inline","className","unstyled","variant"]),{classes:y,cx:g}=i({inline:a},{name:"Center",unstyled:f,variant:m});return n.createElement(l.x,((e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e})({ref:t,className:g(y.root,s)},b))}));f.displayName="@mantine/core/Center";const m=(0,a.F)(f)},87092:function(e,t,r){r.d(t,{X:function(){return H}});var n=r(67294),o=r(73623),a=r(83051);const i=(0,n.createContext)(null),l=i.Provider;var s=r(15851),c=r(94151),u=Object.defineProperty,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e};const y={size:"sm"},g=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("CheckboxGroup",y,e),{children:a,value:i,defaultValue:u,onChange:m,size:g,wrapperProps:h}=r,v=((e,t)=>{var r={};for(var n in e)p.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))t.indexOf(n)<0&&f.call(e,n)&&(r[n]=e[n]);return r})(r,["children","value","defaultValue","onChange","size","wrapperProps"]),[w,O]=(0,s.C)({value:i,defaultValue:u,finalValue:[],onChange:m});return n.createElement(l,{value:{value:w,onChange:e=>{const t=e.currentTarget.value;O(w.includes(t)?w.filter((e=>e!==t)):[...w,t])},size:g}},n.createElement(c.I.Wrapper,b(b({labelElement:"div",size:g,__staticSelector:"CheckboxGroup",ref:t},h),v),a))}));g.displayName="@mantine/core/CheckboxGroup";var h=r(56183),v=r(2566),w=r(71485),O=r(21434),x=r(6483),k=Object.defineProperty,S=Object.defineProperties,P=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,N=(e,t,r)=>t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,z=(e,t)=>{for(var r in t||(t={}))C.call(t,r)&&N(e,r,t[r]);if(E)for(var r of E(t))j.call(t,r)&&N(e,r,t[r]);return e},I=(e,t)=>S(e,P(t));const D={xs:(0,v.h)(16),sm:(0,v.h)(20),md:(0,v.h)(24),lg:(0,v.h)(30),xl:(0,v.h)(36)};var R=(0,w.k)(((e,{radius:t,color:r,transitionDuration:n,labelPosition:o,error:a,indeterminate:i},{size:l})=>{const s=(0,O.a)({size:l,sizes:D}),c=e.fn.variant({variant:"filled",color:r});return{icon:I(z({},e.fn.cover()),{ref:(0,x.A)("icon"),color:i?"inherit":e.white,transform:i?"none":`translateY(${(0,v.h)(5)}) scale(0.5)`,opacity:i?1:0,transitionProperty:"opacity, transform",transitionTimingFunction:"ease",transitionDuration:`${n}ms`,pointerEvents:"none",width:"60%",position:"absolute",zIndex:1,margin:"auto","@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}}),inner:{position:"relative",width:s,height:s,order:"left"===o?2:1}
1,input:I(z({},e.fn.focusStyles()),{appearance:"none",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:`${(0,v.h)(1)} solid ${a?e.fn.variant({variant:"filled",color:"red"}).background:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,width:s,height:s,borderRadius:e.fn.radius(t),padding:0,display:"block",margin:0,transition:`border-color ${n}ms ease, background-color ${n}ms ease`,cursor:e.cursorType,"&:checked":{backgroundColor:c.background,borderColor:c.background,[`& + .${(0,x.A)("icon")}`]:{opacity:1,color:e.white,transform:"translateY(0) scale(1)"}},"&:disabled":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],borderColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[3],cursor:"not-allowed",pointerEvents:"none",[`& + .${(0,x.A)("icon")}`]:{color:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[5]}}})}})),L=r(12756),_=r(4846),A=Object.defineProperty,T=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,r)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,B=(e,t)=>{for(var r in t||(t={}))$.call(t,r)&&F(e,r,t[r]);if(T)for(var r of T(t))M.call(t,r)&&F(e,r,t[r]);return e};const W={size:"sm",transitionDuration:100,icon:h.P,labelPosition:"right"},H=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Checkbox",W,e),{className:l,style:s,sx:c,checked:u,disabled:d,color:p,label:f,indeterminate:m,id:b,size:y,radius:g,wrapperProps:h,children:v,classNames:w,styles:O,transitionDuration:x,icon:k,unstyled:S,labelPosition:P,description:E,error:C,variant:j}=r,N=((e,t)=>{var r={};for(var n in e)$.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&T)for(var n of T(e))t.indexOf(n)<0&&M.call(e,n)&&(r[n]=e[n]);return r})(r,["className","style","sx","checked","disabled","color","label","indeterminate","id","size","radius","wrapperProps","children","classNames","styles","transitionDuration","icon","unstyled","labelPosition","description","error","variant"]),z=(0,n.useContext)(i),I=(0,a.M)(b),{systemStyles:D,rest:A}=(0,L.x)(N),{classes:F}=R({radius:g,color:p,transitionDuration:x,labelPosition:P,error:!!C,indeterminate:m},{name:"Checkbox",classNames:w,styles:O,unstyled:S,variant:j,size:(null==z?void 0:z.size)||y}),H=z?{checked:z.value.includes(A.value),onChange:z.onChange}:{};return n.createElement(_.Z,B(B({className:l,sx:c,style:s,id:I,size:(null==z?void 0:z.size)||y,labelPosition:P,label:f,description:E,error:C,disabled:d,__staticSelector:"Checkbox",classNames:w,styles:O,unstyled:S,"data-checked":H.checked||void 0,variant:j},D),h),n.createElement("div",{className:F.inner},n.createElement("input",B(B({id:I,ref:t,type:"checkbox",className:F.input,checked:u,disabled:d},A),H)),n.createElement(k,{indeterminate:m,className:F.icon})))}));H.displayName="@mantine/core/Checkbox",H.Group=g},56183:function(e,t,r){r.d(t,{P:function(){return p},n:function(){return d}});var n=r(67294),o=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&s(e,r,t[r]);if(a)for(var r of a(t))l.call(t,r)&&s(e,r,t[r]);return e},u=(e,t)=>
1{var r={};for(var n in e)i.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&a)for(var n of a(e))t.indexOf(n)<0&&l.call(e,n)&&(r[n]=e[n]);return r};function d(e){const t=e,{width:r,height:o,style:a}=t,i=u(t,["width","height","style"]);return n.createElement("svg",c({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:c({width:r,height:o},a)},i),n.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function p(e){var t=e,{indeterminate:r}=t,o=u(t,["indeterminate"]);return r?n.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6"},o),n.createElement("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})):n.createElement(d,c({},o))}},80971:function(e,t,r){r.d(t,{P:function(){return S}});var n=r(67294),o=r(2566),a=r(73623),i=r(74574),l=r(49834),s=Object.defineProperty,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e},m=(e,t)=>{var r={};for(var n in e)u.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&c)for(var n of c(e))t.indexOf(n)<0&&d.call(e,n)&&(r[n]=e[n]);return r};function b(e){const t=e,{width:r,height:o,style:a}=t,i=m(t,["width","height","style"]);return n.createElement("svg",f({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:f({width:r,height:o},a)},i),n.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}b.displayName="@mantine/core/CloseIcon";var y=Object.defineProperty,g=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,w=(e,t,r)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const O={xs:(0,o.h)(12),sm:(0,o.h)(16),md:(0,o.h)(20),lg:(0,o.h)(28),xl:(0,o.h)(34)},x={size:"sm"},k=(0,n.forwardRef)(((e,t)=>{const r=(0,a.N4)("CloseButton",x,e),{iconSize:i,size:s,children:c}=r,u=((e,t)=>{var r={};for(var n in e)h.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&g)for(var n of g(e))t.indexOf(n)<0&&v.call(e,n)&&(r[n]=e[n]);return r})(r,["iconSize","size","children"]),d=(0,o.h)(i||O[s]);return n.createElement(l.A,((e,t)=>{for(var r in t||(t={}))h.call(t,r)&&w(e,r,t[r]);if(g)for(var r of g(t))v.call(t,r)&&w(e,r,t[r]);return e})({ref:t,__staticSelector:"CloseButton",size:s},u),c||n.createElement(b,{width:d,height:d}))}));k.displayName="@mantine/core/CloseButton";const S=(0,i.F)(k)},31003:function(e,t,r){r.d(t,{U:function(){return I}});var n=r(67294),o=r(73678),a=r(73623),i=r(73935),l=r(37048),s=r(80665),c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e},g=(e,t)=>u(e,d(t)),h=(e,t)=>{var r={};for(var n in e)f.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&p)for(var n of p(e))t.indexOf(n)<0&&m.call(e,n)&&(r[n]=e[n]);return r};function v(e){return(null==e?void 0:e.current)?e.current.scrollHeight:"auto"}const w="undefined"!=typeof window&&window.requestAnimationFrame;function O({transitionDuration:e,transitionTimingFunction:t="ease",onTransitionEnd:r=(()=>{}),opened:o}){const a=(0,n.useRef)(null),c={display:"none",height:0,overflow:"hidden"}
1,[u,d]=(0,n.useState)(o?{}:c),p=e=>{(0,i.flushSync)((()=>d(e)))},f=e=>{p((t=>y(y({},t),e)))};function m(r){const n=e||function(e){if(!e||"string"==typeof e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(r);return{transition:`height ${n}ms ${t}`}}(0,l.l)((()=>{w(o?()=>{f({willChange:"height",display:"block",overflow:"hidden"}),w((()=>{const e=v(a);f(g(y({},m(e)),{height:e}))}))}:()=>{const e=v(a);f(g(y({},m(e)),{willChange:"height",height:e})),w((()=>f({height:0,overflow:"hidden"})))})}),[o]);const b=e=>{if(e.target===a.current&&"height"===e.propertyName)if(o){const e=v(a);e===u.height?p({}):f({height:e}),r()}else 0===u.height&&(p(c),r())};return function(e={}){var t=e,{style:r={},refKey:n="ref"}=t,i=h(t,["style","refKey"]);const l=i[n];return g(y({"aria-hidden":!o},i),{[n]:(0,s.l)(a,l),onTransitionEnd:b,style:y(y({boxSizing:"border-box"},r),u)})}}var x=r(12756),k=r(64523),S=Object.defineProperty,P=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&j(e,r,t[r]);if(P)for(var r of P(t))C.call(t,r)&&j(e,r,t[r]);return e};const z={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},I=(0,n.forwardRef)(((e,t)=>{const r=(0,a.N4)("Collapse",z,e),{children:i,in:l,transitionDuration:s,transitionTimingFunction:c,style:u,onTransitionEnd:d,animateOpacity:p}=r,f=((e,t)=>{var r={};for(var n in e)E.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&P)for(var n of P(e))t.indexOf(n)<0&&C.call(e,n)&&(r[n]=e[n]);return r})(r,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),m=(0,a.rZ)(),b=(0,o.J)(),y=!!m.respectReducedMotion&&b?0:s,{systemStyles:g,rest:h}=(0,x.x)(f),v=O({opened:l,transitionDuration:y,transitionTimingFunction:c,onTransitionEnd:d});return 0===y?l?n.createElement(k.x,N({},h),i):null:n.createElement(k.x,N({},v(N(N({style:u,ref:t},h),g))),n.createElement("div",{style:{opacity:l||!p?1:0,transition:p?`opacity ${y}ms ${c}`:"none"}},i))}));I.displayName="@mantine/core/Collapse"},85411:function(e,t,r){r.d(t,{k:function(){return y}});var n=r(67294),o=r(73623),a=r(2566),i=r(83367),l=r(66033),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const b={},y=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("AlphaSlider",b,e),{value:s,onChange:y,onChangeEnd:g,color:h,__staticSelector:v}=r,w=((e,t)=>{var r={};for(var n in e)p.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))t.indexOf(n)<0&&f.call(e,n)&&(r[n]=e[n]);return r})(r,["value","onChange","onChangeEnd","color","__staticSelector"]),O=(0,o.rZ)(),x="dark"===O.colorScheme?O.colors.dark[4]:O.colors.gray[3];return n.createElement(i._,(k=((e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e})({},w),S={ref:t,value:s,onChange:e=>y((0,l.NM)(e,2)),onChangeEnd:e=>g((0,l.NM)(e,2)),maxValue:1,round:!1,__staticSelector:v||"AlphaSlider",overlays:[{backgroundImage:`linear-gradient(45deg, ${x} 25%, transparent 25%), linear-gradient(-45deg, ${x} 25%, transparent 25%), linear-gradient(45deg, transparent 75%, ${x} 75%), linear-gradient(-45deg, ${"dark"===O.colorScheme?O.colors.dark[7]:O.white} 75%, ${x} 75%)`,backgroundSize:`${(0,a.h)(8)} ${(0,a.h)(8)}`,backgroundPosition:`0 0, 0 ${(0,a.h)(4)}, ${(0,a.h)(4)} -${(0,a.h)(4)}, -${(0,a.h)(4)} 0`},{backgroundImage:`linear-gradient(90deg, transparent, ${h})`},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,a.h)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,a.h)(4)} inset`}]},c(k,u(S))));var k,S}));y.displayName="@mantine/core/AlphaSlider"},48334:function(e,t,r){r.d(t,{z:function(){return q}});var n=r(67294),o=r(15851),a=r(37048),i=r(73623),l=r(2566),s=r(21434),c=r(21380),u=r(48562),d=r(85411),p=r(47776),f=r(19507),m=r(71485),b=r(6483),y=r(78293),g=Object.defineProperty,h=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))v.call(t,r)&&O(e,r,t[r]);if(h)for(var r of h(t))w.call(t,r)&&O(e,r,t[r]);return e};const k={xs:(0,l.h)(100),sm:(0,l.h)(110),md:(0,l.h)(120),lg:(0,l.h)(140),xl:(0,l.h)(160)};var S=(0,m.k)(((e,t,{size:r})=>({saturationThumb:{ref:(0,b.A)("saturationThumb")},saturation:{boxSizing:"border-box",position:"relative",height:(0,s.a)({size:r,sizes:k}),borderRadius:e.radius.sm,margin:`calc(${(0,s.a)({size:r,sizes:y.J})} / 2)`,WebkitTapHighlightColor:"transparent",[`&:focus .${(0,b.A)("saturationThumb")}`]:x({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),[`&:focus:not(:focus-visible) .${(0,b.A)("saturationThumb")}`]:x({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)},saturationOverlay:x({boxSizing:"border-box",borderRadius:e.radius.sm},e.fn.cover(`calc(${(0,s.a)({size:r,sizes:y.J})} * -1 / 2 - ${(0,l.h)(1)})`))}))),P=r(12549);
1function E({value:e,onChange:t,onChangeEnd:r,focusable:o=!0,__staticSelector:a="saturation",size:i,color:l,saturationLabel:s,classNames:c,styles:u,unstyled:d,variant:m}){const{classes:b}=S(null,{classNames:c,styles:u,name:a,unstyled:d,variant:m,size:i}),[y,g]=(0,n.useState)({x:e.s/100,y:1-e.v/100}),h=(0,n.useRef)(y),{ref:v}=(0,p.r)((({x:e,y:r})=>{h.current={x:e,y:r},t({s:Math.round(100*e),v:Math.round(100*(1-r))})}),{onScrubEnd:()=>{const{x:e,y:t}=h.current;r({s:Math.round(100*e),v:Math.round(100*(1-t))})}});(0,n.useEffect)((()=>{g({x:e.s/100,y:1-e.v/100})}),[e.s,e.v]);const w=(e,n)=>{e.preventDefault();const o=(0,p.E)(n);t({s:Math.round(100*o.x),v:Math.round(100*(1-o.y))}),r({s:Math.round(100*o.x),v:Math.round(100*(1-o.y))})};return n.createElement("div",{className:b.saturation,ref:v,role:"slider","aria-label":s,"aria-valuenow":y.x,"aria-valuetext":(0,P.Rt)("rgba",e),tabIndex:o?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowUp":w(e,{y:y.y-.05,x:y.x});break;case"ArrowDown":w(e,{y:y.y+.05,x:y.x});break;case"ArrowRight":w(e,{x:y.x+.05,y:y.y});break;case"ArrowLeft":w(e,{x:y.x-.05,y:y.y})}}},n.createElement("div",{className:b.saturationOverlay,style:{backgroundColor:`hsl(${e.h}, 100%, 50%)`}}),n.createElement("div",{className:b.saturationOverlay,style:{backgroundImage:"linear-gradient(90deg, #fff, transparent)"}}),n.createElement("div",{className:b.saturationOverlay,style:{backgroundImage:"linear-gradient(0deg, #000, transparent)"}}),n.createElement(f.b,{__staticSelector:a,classNames:c,styles:u,position:y,className:b.saturationThumb,style:{backgroundColor:l},size:i}))}E.displayName="@mantine/core/Saturation";var C=(0,m.k)(((e,{swatchesPerRow:t})=>({swatch:{width:`calc(${100/t}% - ${(0,l.h)(4)})`,height:0,paddingBottom:`calc(${100/t}% - ${(0,l.h)(4)})`,margin:(0,l.h)(2),boxSizing:"content-box"},swatches:{boxSizing:"border-box",marginLeft:(0,l.h)(-2),marginRight:(0,l.h)(-2),display:"flex",flexWrap:"wrap"}}))),j=Object.defineProperty,N=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,D=(e,t,r)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))z.call(t,r)&&D(e,r,t[r]);if(N)for(var r of N(t))I.call(t,r)&&D(e,r,t[r]);return e},L=(e,t)=>{var r={};for(var n in e)z.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&N)for(var n of N(e))t.indexOf(n)<0&&I.call(e,n)&&(r[n]=e[n]);return r};function _(e){var t=e,{data:r,swatchesPerRow:o=10,focusable:a=!0,classNames:i,styles:l,__staticSelector:s="color-picker",unstyled:u,setValue:d,onChangeEnd:p,variant:f,size:m}=t,b=L(t,["data","swatchesPerRow","focusable","classNames","styles","__staticSelector","unstyled","setValue","onChangeEnd","variant","size"]);const{classes:y}=C({swatchesPerRow:o},{classNames:i,styles:l,name:s,unstyled:u,variant:f,size:m}),g=r.map(((e,t)=>n.createElement(c.b,{className:y.swatch,component:"button",type:"button",color:e,key:t,radius:"sm",onClick:()=>{d(e),null==p||p(e)},style:{cursor:"pointer"},"aria-label":e,tabIndex:a?0:-1})));return n.createElement("div",R({className:y.swatches},b),g)}_.displayName="@mantine/core/Swatches";var A=r(42223),T=r(66033),$=r(64523),M=Object.defineProperty,F=Object.defineProperties,B=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,V=(e,t,r)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Y=(e,t)=>{for(var r in t||(t={}))H.call(t,r)&&V(e,r,t[r]);if(W)for(var r of W(t))G.call(t,r)&&V(e,r,t[r]);return e},Z=(e,t)=>F(e,B(t));const K={xs:26,sm:34,md:42,lg:50,xl:54},U={swatchesPerRow:10,size:"sm",withPicker:!0,focusable:!0,__staticSelector:"ColorPicker"},q=(0,n.forwardRef)(((e,t)=>{const r=(0,i.N4)("ColorPicker",U,e),{value:p,defaultValue:f,onChange:m,onChangeEnd:b,format:y,swatches:g,swatchesPerRow:h,size:v,withPicker:w,fullWidth:O,focusable:x,__staticSelector:k,saturationLabel:S,hueLabel:C,alphaLabel:j,className:N,styles:z,classNames:I,unstyled:D,onColorSwatchClick:R,variant:L}=r,M=((e,t)=>{var r={};for(var n in e)H.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&W)for(var n of W(e))t.indexOf(n)<0&&G.call(e,n)&&(r[n]=e[n]);return r})(r,["value","defaultValue","onChange","onChangeEnd","format","swatches","swatchesPerRow","size","withPicker","fullWidth","focusable","__staticSelector","saturationLabel","hueLabel","alphaLabel","className","styles","classNames","unstyled","onColorSwatchClick","variant"]),{classes:F,cx:B}=(0,A.Z)({fullWidth:O}
1,{classNames:I,styles:z,name:k,unstyled:D,variant:L,size:v}),V=(0,n.useRef)(y),q=(0,n.useRef)(null),X=(0,n.useRef)(!0),J="hexa"===y||"rgba"===y||"hsla"===y,[Q,ee,te]=(0,o.C)({value:p,defaultValue:f,finalValue:"#FFFFFF",onChange:m}),[re,ne]=(0,n.useState)((0,T.lu)(Q)),oe=e=>{X.current=!1,ne((t=>{const r=Y(Y({},t),e);return q.current=(0,P.Rt)(V.current,r),r})),ee(q.current),setTimeout((()=>{X.current=!0}),0)};return(0,a.l)((()=>{(0,T.fi)(p)&&X.current&&(ne((0,T.lu)(p)),X.current=!0)}),[p]),(0,a.l)((()=>{V.current=y,ee((0,P.Rt)(y,re))}),[y]),n.createElement($.x,Y({className:B(F.wrapper,N),ref:t},M),w&&n.createElement(n.Fragment,null,n.createElement(E,{value:re,onChange:oe,onChangeEnd:({s:e,v:t})=>null==b?void 0:b((0,P.Rt)(V.current,Z(Y({},re),{s:e,v:t}))),color:Q,styles:z,classNames:I,size:v,focusable:x,saturationLabel:S,__staticSelector:k}),n.createElement("div",{className:F.body},n.createElement("div",{className:F.sliders},n.createElement(u.Q,{value:re.h,onChange:e=>oe({h:e}),onChangeEnd:e=>null==b?void 0:b((0,P.Rt)(V.current,Z(Y({},re),{h:e}))),size:v,styles:z,classNames:I,focusable:x,"aria-label":C,__staticSelector:k}),J&&n.createElement(d.k,{value:re.a,onChange:e=>oe({a:e}),onChangeEnd:e=>{null==b||b((0,P.Rt)(V.current,Z(Y({},re),{a:e})))},size:v,color:(0,P.Rt)("hex",re),style:{marginTop:(0,l.h)(6)},styles:z,classNames:I,focusable:x,"aria-label":j,__staticSelector:k})),J&&n.createElement(c.b,{color:Q,radius:"sm",size:(0,s.a)({size:v,sizes:K}),className:F.preview}))),Array.isArray(g)&&n.createElement(_,{data:g,style:{marginTop:(0,l.h)(5)},swatchesPerRow:h,focusable:x,classNames:I,styles:z,__staticSelector:k,setValue:ee,onChangeEnd:e=>{const t=(0,P.Rt)(y,(0,T.lu)(e));null==R||R(t),null==b||b(t),te||ne((0,T.lu)(e))}}))}));q.displayName="@mantine/core/ColorPicker"},42223:function(e,t,r){r.d(t,{J:function(){return i}});var n=r(2566),o=r(71485),a=r(21434);const i={xs:(0,n.h)(180),sm:(0,n.h)(200),md:(0,n.h)(240),lg:(0,n.h)(280),xl:(0,n.h)(320)};var l=(0,o.k)(((e,{fullWidth:t},{size:r})=>({preview:{},wrapper:{boxSizing:"border-box",width:t?"100%":(0,a.a)({size:r,sizes:i}),padding:(0,n.h)(1)},body:{display:"flex",boxSizing:"border-box",paddingTop:`calc(${(0,a.a)({size:r,sizes:e.spacing})} / 2)`},sliders:{flex:1,boxSizing:"border-box","&:not(:only-child)":{marginRight:e.spacing.xs}},slider:{boxSizing:"border-box","& + &":{marginTop:(0,n.h)(5)}},swatch:{cursor:"pointer"}})));t.Z=l},83367:function(e,t,r){r.d(t,{_:function(){return j}});var n=r(67294),o=r(47776),a=r(37048),i=r(80665),l=r(2566),s=r(19507),c=r(71485),u=r(6483),d=r(21434),p=r(78293),f=Object.defineProperty,m=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))b.call(t,r)&&g(e,r,t[r]);if(m)for(var r of m(t))y.call(t,r)&&g(e,r,t[r]);return e},v=(0,c.k)(((e,t,{size:r})=>({sliderThumb:{ref:(0,u.A)("sliderThumb")},slider:{position:"relative",height:`calc(${(0,d.a)({size:r,sizes:p.J})} + ${(0,l.h)(2)})`,boxSizing:"border-box",marginLeft:`calc(${(0,d.a)({size:r,sizes:p.J})} / 2)`,marginRight:`calc(${(0,d.a)({size:r,sizes:p.J})} / 2)`,outline:0,[`&:focus .${(0,u.A)("sliderThumb")}`]:h({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),[`&:focus:not(:focus-visible) .${(0,u.A)("sliderThumb")}`]:h({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)},sliderOverlay:{position:"absolute",boxSizing:"border-box",top:0,bottom:0,left:`calc(${(0,d.a)({size:r,sizes:p.J})} * -1 / 2 - ${(0,l.h)(1)})`,right:`calc(${(0,d.a)({size:r,sizes:p.J})} * -1 / 2 - ${(0,l.h)(1)})`,borderRadius:1e3}}))),w=r(64523),O=Object.defineProperty,x=Object.defineProperties,k=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,C=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const j=(0,n.forwardRef)(((e,t)=>{var r=e,{value:c,onChange:u,onChangeEnd:d,maxValue:p,round:f,size:m="md",thumbColor:b="transparent",__staticSelector:y="ColorSlider",focusable:g=!0,overlays:h,classNames:O,styles:j,className:N,unstyled:z,variant:I}=r,D=((e,t)=>{var r={};for(var n in e)P.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&S)for(var n of S(e))t.indexOf(n)<0&&E.call(e,n)&&(r[n]=e[n]);return r})(r,["value","onChange","onChangeEnd","maxValue","round","size","thumbColor","__staticSelector","focusable","overlays","classNames","styles","className","unstyled","variant"]);const{classes:R,cx:L}=v(null,{classNames:O,styles:j,name:y,unstyled:z,variant:I,size:m}
1),[_,A]=(0,n.useState)({y:0,x:c/p}),T=(0,n.useRef)(_),$=e=>f?Math.round(e*p):e*p,{ref:M}=(0,o.r)((({x:e,y:t})=>{T.current={x:e,y:t},u($(e))}),{onScrubEnd:()=>{const{x:e}=T.current;d($(e))}});(0,a.l)((()=>{A({y:0,x:c/p})}),[c]);const F=(e,t)=>{e.preventDefault();const r=(0,o.E)(t);u($(r.x)),d($(r.x))},B=h.map(((e,t)=>n.createElement("div",{className:R.sliderOverlay,style:e,key:t})));return n.createElement(w.x,(W=((e,t)=>{for(var r in t||(t={}))P.call(t,r)&&C(e,r,t[r]);if(S)for(var r of S(t))E.call(t,r)&&C(e,r,t[r]);return e})({},D),H={ref:(0,i.Y)(M,t),className:L(R.slider,N),role:"slider","aria-valuenow":c,"aria-valuemax":p,"aria-valuemin":0,tabIndex:g?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowRight":F(e,{x:_.x+.05,y:_.y});break;case"ArrowLeft":F(e,{x:_.x-.05,y:_.y})}}},x(W,k(H))),B,n.createElement(s.b,{__staticSelector:y,classNames:O,styles:j,position:_,style:{top:(0,l.h)(1),backgroundColor:b},className:R.sliderThumb,size:m}));var W,H}));j.displayName="@mantine/core/ColorSlider"},48562:function(e,t,r){r.d(t,{Q:function(){return b}});var n=r(67294),o=r(73623),a=r(2566),i=r(83367),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const m={},b=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("HueSlider",m,e),{value:l,onChange:b,onChangeEnd:y,__staticSelector:g}=r,h=((e,t)=>{var r={};for(var n in e)d.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))t.indexOf(n)<0&&p.call(e,n)&&(r[n]=e[n]);return r})(r,["value","onChange","onChangeEnd","__staticSelector"]);return n.createElement(i._,(v=((e,t)=>{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e})({},h),w={ref:t,value:l,onChange:b,onChangeEnd:y,maxValue:360,thumbColor:`hsl(${l}, 100%, 50%)`,round:!0,__staticSelector:g||"HueSlider",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 ${(0,a.h)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,a.h)(4)} inset`}]},s(v,c(w))));var v,w}));b.displayName="@mantine/core/HueSlider"},19507:function(e,t,r){r.d(t,{b:function(){return d}});var n=r(67294),o=r(78293),a=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&c(e,r,t[r]);return e};function d({position:e,className:t,styles:r,classNames:a,style:i,size:l,__staticSelector:s,unstyled:c,variant:d}){const{classes:p,cx:f}=(0,o.Z)(null,{classNames:a,styles:r,name:s,unstyled:c,size:l,variant:d});return n.createElement("div",{className:f(p.thumb,t),style:u({left:`calc(${100*e.x}% - ${o.J[l]} / 2)`,top:`calc(${100*e.y}% - ${o.J[l]} / 2)`},i)})}d.displayName="@mantine/core/Thumb"},78293:function(e,t,r){r.d(t,{J:function(){return i}});var n=r(2566),o=r(71485),a=r(21434);const i={xs:(0,n.h)(8),sm:(0,n.h)(12),md:(0,n.h)(16),lg:(0,n.h)(20),xl:(0,n.h)(22)};var l=(0,o.k)(((e,t,{size:r})=>{const o=(0,a.a)({size:r,sizes:i});return{thumb:{overflow:"hidden",boxSizing:"border-box",position:"absolute",boxShadow:`0 0 ${(0,n.h)(1)} rgba(0, 0, 0, .6)`,border:`${(0,n.h)(2)} solid ${e.white}`,backgroundColor:"transparent",width:o,height:o,borderRadius:o}}}));t.Z=l},12549:function(e,t,r){r.d(t,{Rt:function(){return u}});var n=r(66033);function o({h:e,s:t,v:r,a:o}){const a=e/360*6,i=t/100,l=r/100,s=Math.floor(a),c=l*(1-i),u=l*(1-(a-s)*i),d=l*(1-(1-a+s)*i),p=s%6;return{r:(0,n.NM)(255*[l,u,c,c,d,l][p]),g:(0,n.NM)(255*[d,l,l,u,c,c][p]),b:(0,n.NM)(255*[c,c,d,l,l,u][p]),a:(0,n.NM)(o,2)}}function a(e,t){const{r:r,g:a,b:i,a:l}=o(e);return t?`rgba(${r}, ${a}, ${i}, ${(0,n.NM)(l,2)})`:`rgb(${r}, ${a}, ${i})`}function i({h:e,s:t,v:r,a:o},a){const i=(200-t)*r/100,l=Math.round(e),s=Math.round(i>0&&i<200?t*r/100/(i<=100?i:200-i)*100:0),c=Math.round(i/2);return a?`hsla(${l}, ${s}%, ${c}%, ${(0,n.NM)(o,2)})`:`hsl(${l}, ${s}%, ${c}%)`}function l(e){const t=e.toString(16);return t.length<2?`0${t}`:t}function s(e){const{r:t,g:r,b:n}=o(e);return`#${l(t)}${l(r)}${l(n)}`}const c={hex:s,hexa:e=>function(e){const t=Math.round(255*e.a);return`${s(e)}${l(t)}`}(e),rgb:e=>a(e,!1),rgba:e=>a(e,!0),hsl:e=>i(e,!1),hsla:e=>i(e,!0)};function u(e,t){return t?e in c?c[e](t):c.hex(t):"#000000"}},66033:function(e,t,r){r.d(t,{NM:function(){return p},fi:function(){return k},lu:function(){return S}});var n=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>
1{for(var r in t||(t={}))l.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&c(e,r,t[r]);return e},d=(e,t)=>o(e,a(t));function p(e,t=0,r=10**t){return Math.round(r*e)/r}const f={grad:.9,turn:360,rad:360/(2*Math.PI)};function m(e,t="deg"){return Number(e)*(f[t]||1)}const b=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function y(e){const t=b.exec(e);return t?function({h:e,s:t,l:r,a:n}){const o=t*((r<50?r:100-r)/100);return{h:e,s:o>0?2*o/(r+o)*100:0,v:r+o,a:n}}({h:m(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 g({r:e,g:t,b:r,a:n}){const o=Math.max(e,t,r),a=o-Math.min(e,t,r),i=a?o===e?(t-r)/a:o===t?2+(r-e)/a:4+(e-t)/a:0;return{h:p(60*(i<0?i+6:i),3),s:p(o?a/o*100:0,3),v:p(o/255*100,3),a:n}}function h(e){const t="#"===e[0]?e.slice(1):e;return 3===t.length?g({r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}):g({r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:1})}const v=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function w(e){const t=v.exec(e);return t?g({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}}const O={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},x={hex:h,hexa:function(e){const t="#"===e[0]?e.slice(1):e,r=e=>p(parseInt(e,16)/255,3);if(4===t.length){const e=t.slice(0,3),n=r(t[3]+t[3]);return d(u({},h(e)),{a:n})}const n=t.slice(0,6),o=r(t.slice(6,8));return d(u({},h(n)),{a:o})},rgb:w,rgba:w,hsl:y,hsla:y};function k(e){for(const[,t]of Object.entries(O))if(t.test(e))return!0;return!1}function S(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};const t=e.trim();for(const[e,r]of Object.entries(O))if(r.test(t))return x[e](t);return{h:0,s:0,v:0,a:1}}},21380:function(e,t,r){r.d(t,{b:function(){return E}});var n=r(67294),o=r(2566),a=r(73623),i=r(74574),l=r(71485),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e},y=(e,t)=>c(e,u(t)),g=(0,l.k)(((e,{radius:t},{size:r})=>{const n="dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3];return{root:y(b({},e.fn.focusStyles()),{width:(0,o.h)(r),height:(0,o.h)(r),WebkitTapHighlightColor:"transparent",border:0,borderRadius:e.fn.radius(t),appearance:"none",WebkitAppearance:"none",padding:0,position:"relative",overflow:"hidden"}),overlay:y(b({},e.fn.cover()),{position:"absolute",borderRadius:e.fn.radius(t)}),children:{display:"inline-flex",justifyContent:"center",alignItems:"center"},shadowOverlay:{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,o.h)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,o.h)(4)} inset`,zIndex:1},alphaOverlay:{backgroundImage:`linear-gradient(45deg, ${n} 25%, transparent 25%), linear-gradient(-45deg, ${n} 25%, transparent 25%), linear-gradient(45deg, transparent 75%, ${n} 75%), linear-gradient(-45deg, ${"dark"===e.colorScheme?e.colors.dark[7]:e.white} 75%, ${n} 75%)`,backgroundSize:`${(0,o.h)(8)} ${(0,o.h)(8)}`,backgroundPosition:`0 0, 0 ${(0,o.h)(4)}, ${(0,o.h)(4)} -${(0,o.h)(4)}, -${(0,o.h)(4)} 0`}}})),h=r(64523),v=Object.defineProperty,w=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,k=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const S={size:(0,o.h)(25),radius:(0,o.h)(25),withShadow:!0}
1,P=(0,n.forwardRef)(((e,t)=>{const r=(0,a.N4)("ColorSwatch",S,e),{color:o,size:i,radius:l,className:s,children:c,classNames:u,styles:d,unstyled:p,withShadow:f,variant:m}=r,b=((e,t)=>{var r={};for(var n in e)O.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&w)for(var n of w(e))t.indexOf(n)<0&&x.call(e,n)&&(r[n]=e[n]);return r})(r,["color","size","radius","className","children","classNames","styles","unstyled","withShadow","variant"]),{classes:y,cx:v}=g({radius:l},{classNames:u,styles:d,unstyled:p,name:"ColorSwatch",size:i,variant:m});return n.createElement(h.x,((e,t)=>{for(var r in t||(t={}))O.call(t,r)&&k(e,r,t[r]);if(w)for(var r of w(t))x.call(t,r)&&k(e,r,t[r]);return e})({className:v(y.root,s),ref:t},b),n.createElement("div",{className:v(y.alphaOverlay,y.overlay)}),f&&n.createElement("div",{className:v(y.shadowOverlay,y.overlay)}),n.createElement("div",{className:y.overlay,style:{backgroundColor:o}}),n.createElement("div",{className:v(y.children,y.overlay)},c))}));P.displayName="@mantine/core/ColorSwatch";const E=(0,i.F)(P)},57327:function(e,t,r){r.d(t,{k:function(){return g}});var n=r(67294),o=r(73623),a=r(63706),i=r(6683),l=r(64523),s=r(16405),c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const y={},g=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Flex",y,e),{gap:c,rowGap:g,columnGap:h,align:v,justify:w,wrap:O,direction:x,sx:k}=r,S=((e,t)=>{var r={};for(var n in e)f.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&p)for(var n of p(e))t.indexOf(n)<0&&m.call(e,n)&&(r[n]=e[n]);return r})(r,["gap","rowGap","columnGap","align","justify","wrap","direction","sx"]);return n.createElement(l.x,(P=((e,t)=>{for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e})({},S),E={sx:[{display:"flex"},e=>(0,s.M)({gap:c,rowGap:g,columnGap:h,align:v,justify:w,wrap:O,direction:x},e,i.c),...(0,a.R)(k)],ref:t},u(P,d(E))));var P,E}));g.displayName="@mantine/core/Flex"},6683:function(e,t,r){r.d(t,{c:function(){return n}});const n={gap:{type:"spacing",property:"gap"},rowGap:{type:"spacing",property:"rowGap"},columnGap:{type:"spacing",property:"columnGap"},align:{type:"identity",property:"alignItems"},justify:{type:"identity",property:"justifyContent"},wrap:{type:"identity",property:"flexWrap"},direction:{type:"identity",property:"flexDirection"}}},63468:function(e,t,r){r.d(t,{Y:function(){return E}});var n=r(67294),o=r(73623),a=r(2566),i=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e},m=(e,t)=>l(e,s(t));function b(e,t,r,n){return"center"===e||"center"===n?{top:t}:"end"===e?{bottom:r}:"start"===e?{top:r}:{}}function y(e,t,r,n,o){return"center"===e||"center"===n?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:r}:"start"===e?{["ltr"===o?"left":"right"]:r}:{}}const g={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function h({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:o,arrowX:i,arrowY:l,dir:s}){const[c,u="center"]=e.split("-"),d={width:(0,a.h)(t),height:(0,a.h)(t),transform:"rotate(45deg)",position:"absolute",[g[c]]:(0,a.h)(n)},p=(0,a.h)(-t/2);return"left"===c?m(f(f({},d),b(u,l,r,o)),{right:p,borderLeftColor:"transparent",borderBottomColor:"transparent"}):"right"===c?m(f(f({},d),b(u,l,r,o)),{left:p,borderRightColor:"transparent",borderTopColor:"transparent"}):"top"===c?m(f(f({},d),y(u,i,r,o,s)),{bottom:p,borderTopColor:"transparent",borderLeftColor:"transparent"}):"bottom"===c?m(f(f({},d),y(u,i,r,o,s)),{top:p,borderBottomColor:"transparent",borderRightColor:"transparent"}):{}}var v=Object.defineProperty,w=Object.defineProperties,O=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,P=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const E=(0,n.forwardRef)(((e,t)=>{var r=e,{position:a,arrowSize:i,arrowOffset:l,arrowRadius:s,arrowPosition:c,visible:u,arrowX:d,arrowY:p}=r,f=((e,t)=>{var r={};for(var n in e)k.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&x)for(var n of x(e))t.indexOf(n)<0&&S.call(e,n)&&(r[n]=e[n]);return r})(r,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const m=(0,o.rZ)();return u?n.createElement("div",(b=((e,t)=>{for(var r in t||(t={}))k.call(t,r)&&P(e,r,t[r]);if(x)for(var r of x(t))S.call(t,r)&&P(e,r,t[r]);return e})({},f),y={ref:t,style:h({position:a,arrowSize:i,arrowOffset:l,arrowRadius:s,arrowPosition:c,dir:m.dir,arrowX:d,arrowY:p})},w(b,O(y)))):null;var b,y}));E.displayName="@mantine/core/FloatingArrow"},14870:function(e,t,r){function n(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){const[e,r]=t.split("-"),n="right"===e?"left"
1:"right";return void 0===r?n:`${n}-${r}`}return t}r.d(t,{_:function(){return n}})},27347:function(e,t,r){r.d(t,{U:function(){return o}});var n=r(67294);function o({open:e,close:t,openDelay:r,closeDelay:o}){const a=(0,n.useRef)(-1),i=(0,n.useRef)(-1),l=()=>{window.clearTimeout(a.current),window.clearTimeout(i.current)};return(0,n.useEffect)((()=>l),[]),{openDropdown:()=>{l(),0===r?e():a.current=window.setTimeout(e,r)},closeDropdown:()=>{l(),0===o?t():i.current=window.setTimeout(t,o)}}}},30212:function(e,t,r){r.d(t,{L:function(){return i}});var n=r(67294),o=r(24750),a=r(37048);function i({opened:e,floating:t,position:r,positionDependencies:i}){const[l,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{if(t.refs.reference.current&&t.refs.floating.current)return(0,o.Me)(t.refs.reference.current,t.refs.floating.current,t.update)}),[t.refs.reference.current,t.refs.floating.current,e,l,r]),(0,a.l)((()=>{t.update()}),i),(0,a.l)((()=>{s((e=>e+1))}),[e])}},45272:function(e,t,r){r.d(t,{i:function(){return l}});var n=r(67294),o=r(36883),a=r(95909),i=r(80665);function l({children:e,active:t=!0,refProp:r="ref"}){const l=(0,a.P)(t),s=(0,i.Y)(l,null==e?void 0:e.ref);return(0,o.k)(e)?(0,n.cloneElement)(e,{[r]:s}):e}l.displayName="@mantine/core/FocusTrap"},71232:function(e,t,r){r.d(t,{Z:function(){return f}});var n=r(67294),o=r(73623);var a=r(89893),i=r(64523),l=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const p={position:"left",spacing:"md"},f=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Group",p,e),{className:l,position:f,align:m,children:b,noWrap:y,grow:g,spacing:h,unstyled:v,variant:w}=r,O=((e,t)=>{var r={};for(var n in e)c.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&u.call(e,n)&&(r[n]=e[n]);return r})(r,["className","position","align","children","noWrap","grow","spacing","unstyled","variant"]),x=function(e){return n.Children.toArray(e).filter(Boolean)}(b),{classes:k,cx:S}=(0,a.Z)({align:m,grow:g,noWrap:y,spacing:h,position:f,count:x.length},{unstyled:v,name:"Group",variant:w});return n.createElement(i.x,((e,t)=>{for(var r in t||(t={}))c.call(t,r)&&d(e,r,t[r]);if(s)for(var r of s(t))u.call(t,r)&&d(e,r,t[r]);return e})({className:S(k.root,l),ref:t},O),x)}));f.displayName="@mantine/core/Group"},89893:function(e,t,r){r.d(t,{H:function(){return i}});var n=r(71485),o=r(21434),a=r(2566);const i={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var l=(0,n.k)(((e,{spacing:t,position:r,noWrap:n,grow:l,align:s,count:c})=>({root:{boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:s||"center",flexWrap:n?"nowrap":"wrap",justifyContent:i[r],gap:(0,o.a)({size:t,sizes:e.spacing}),"& > *":{boxSizing:"border-box",maxWidth:l?`calc(${100/c}% - (${(0,a.h)((0,o.a)({size:t,sizes:e.spacing}))} - ${(0,o.a)({size:t,sizes:e.spacing})} / ${c}))`:void 0,flexGrow:l?1:0}}})));t.Z=l},5410:function(e,t,r){r.d(t,{y:function(){return y}});var n=r(67294),o=r(73623),a=r(74574),i=r(95117),l=r(46525);function s(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}var c=Object.defineProperty,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const m={highlightColor:"yellow"},b=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Highlight",m,e),{children:a,highlight:c,highlightColor:b,highlightStyles:y,unstyled:g}=r,h=((e,t)=>{var r={};for(var n in e)d.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))t.indexOf(n)<0&&p.call(e,n)&&(r[n]=e[n]);return r})(r,["children","highlight","highlightColor","highlightStyles","unstyled"]),v=function(e,t){if(null==t)return[{chunk:e,highlighted:!1}];const r=Array.isArray(t)?t.map(s):s(t);if(!(Array.isArray(r)?r.filter((e=>e.trim().length>0)).length>0:""!==r.trim()))return[{chunk:e,highlighted:!1}];const n="string"==typeof r?r.trim():r.filter((e=>0!==e.trim().length)).map((e=>e.trim())).join("|"),o=new RegExp(`(${n})`,"gi");return e.split(o).map((e=>({chunk:e,highlighted:o.test(e)}))).filter((({chunk:e})=>e))}(a,c);return n.createElement(i.x,((e,t)=>{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e})({unstyled:g,ref:t,__staticSelector:"Highlight"},h),v.map((({chunk:e,highlighted:t},r)=>t?n.createElement(l.v,{unstyled:g,key:r,color:b,sx:y,"data-highlight":e},e):n.createElement("span",{key:r},e))))}));b.displayName="@mantine/core/Highlight";const y=(0,a.F)(b)},4846:function(e,t,r){r.d(t,{Z:function(){return S}});var n=r(67294),o=r(2566),a=r(71485),i=r(21434),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>
1{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e};const b={xs:(0,o.h)(16),sm:(0,o.h)(20),md:(0,o.h)(24),lg:(0,o.h)(30),xl:(0,o.h)(36)};var y=(0,a.k)(((e,{labelPosition:t},{size:r})=>{return{root:{},body:{display:"flex","&:has(input:disabled) label":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}},labelWrapper:(n=m({},e.fn.fontStyles()),o={display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:r in b?(0,i.a)({size:r,sizes:e.fontSizes}):void 0,lineHeight:r in b?(0,i.a)({size:r,sizes:b}):void 0,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,cursor:e.cursorType,order:"left"===t?1:2},s(n,c(o))),description:{marginTop:`calc(${e.spacing.xs} / 2)`,["left"===t?"paddingRight":"paddingLeft"]:e.spacing.sm},error:{marginTop:`calc(${e.spacing.xs} / 2)`,["left"===t?"paddingRight":"paddingLeft"]:e.spacing.sm},label:{cursor:e.cursorType,["left"===t?"paddingRight":"paddingLeft"]:e.spacing.sm,"&:disabled, &[data-disabled]":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}};var n,o})),g=r(64523),h=r(94151),v=Object.defineProperty,w=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,k=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const S=(0,n.forwardRef)(((e,t)=>{var r=e,{__staticSelector:o,className:a,classNames:i,styles:l,unstyled:s,children:c,label:u,description:d,id:p,disabled:f,error:m,size:b,labelPosition:v,bodyElement:S="div",labelElement:P="label",variant:E}=r,C=((e,t)=>{var r={};for(var n in e)O.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&w)for(var n of w(e))t.indexOf(n)<0&&x.call(e,n)&&(r[n]=e[n]);return r})(r,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","bodyElement","labelElement","variant"]);const{classes:j,cx:N}=y({labelPosition:v},{name:o,styles:l,classNames:i,unstyled:s,variant:E,size:b});return n.createElement(g.x,((e,t)=>{for(var r in t||(t={}))O.call(t,r)&&k(e,r,t[r]);if(w)for(var r of w(t))x.call(t,r)&&k(e,r,t[r]);return e})({className:N(j.root,a),ref:t},C),n.createElement(g.x,{component:S,htmlFor:"label"===S?p:void 0,className:N(j.body)},c,n.createElement("div",{className:j.labelWrapper},null!=u&&n.createElement(g.x,{component:P,htmlFor:"label"===P?p:void 0,className:j.label,"data-disabled":f||void 0},u),d&&n.createElement(h.I.Description,{className:j.description},d),m&&"boolean"!==m&&n.createElement(h.I.Error,{className:j.error},m))))}));S.displayName="@mantine/core/InlineInput"},94151:function(e,t,r){r.d(t,{I:function(){return Pe}});var n=r(67294),o=r(73623),a=r(2566),i=r(74574),l=r(71485),s=r(21434),c=(0,l.k)(((e,t,{size:r})=>({label:{display:"inline-block",fontSize:(0,s.a)({size:r,sizes:e.fontSizes}),fontWeight:500,color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[9],wordBreak:"break-word",cursor:"default",WebkitTapHighlightColor:"transparent"},required:{color:e.fn.variant({variant:"filled",color:"red"}).background}}))),u=r(64523),d=Object.defineProperty,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const y={labelElement:"label",size:"sm"},g=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("InputLabel",y,e),{labelElement:a,children:i,required:l,size:s,classNames:d,styles:g,unstyled:h,className:v,htmlFor:w,__staticSelector:O,variant:x,onMouseDown:k}=r,S=((e,t)=>{var r={};for(var n in e)f.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&p)for(var n of p(e))t.indexOf(n)<0&&m.call(e,n)&&(r[n]=e[n]);return r})(r,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector","variant","onMouseDown"]),{classes:P,cx:E}=c(null,{name:["InputWrapper",O],classNames:d,styles:g,unstyled:h,variant:x,size:s});return n.createElement(u.x,((e,t)=>{for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e})({component:a,ref:t,className:E(P.label,v),htmlFor:"label"===a?w:void 0,onMouseDown:e=>{null==k||k(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},S),i,l&&n.createElement("span",{className:P.required,"aria-hidden":!0}," *"))}));g.displayName="@mantine/core/InputLabel";var h=(0,l.k)(((e,t,{size:r})=>({error:{wordBreak:"break-word",color:e.fn.variant({variant:"filled",color:"red"}).background,fontSize:`calc(${(0,s.a)({size:r,sizes:e.fontSizes})} - ${(0,a.h)(2)})`,lineHeight:1.2,display:"block"}}
1))),v=r(95117),w=Object.defineProperty,O=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,S=(e,t,r)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const P={size:"sm"},E=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("InputError",P,e),{children:a,className:i,classNames:l,styles:s,unstyled:c,size:u,__staticSelector:d,variant:p}=r,f=((e,t)=>{var r={};for(var n in e)x.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&O)for(var n of O(e))t.indexOf(n)<0&&k.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:m,cx:b}=h(null,{name:["InputWrapper",d],classNames:l,styles:s,unstyled:c,variant:p,size:u});return n.createElement(v.x,((e,t)=>{for(var r in t||(t={}))x.call(t,r)&&S(e,r,t[r]);if(O)for(var r of O(t))k.call(t,r)&&S(e,r,t[r]);return e})({className:b(m.error,i),ref:t},f),a)}));E.displayName="@mantine/core/InputError";var C=(0,l.k)(((e,t,{size:r})=>({description:{wordBreak:"break-word",color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],fontSize:`calc(${(0,s.a)({size:r,sizes:e.fontSizes})} - ${(0,a.h)(2)})`,lineHeight:1.2,display:"block"}}))),j=Object.defineProperty,N=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,D=(e,t,r)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const R={size:"sm"},L=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("InputDescription",R,e),{children:a,className:i,classNames:l,styles:s,unstyled:c,size:u,__staticSelector:d,variant:p}=r,f=((e,t)=>{var r={};for(var n in e)z.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&N)for(var n of N(e))t.indexOf(n)<0&&I.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:m,cx:b}=C(null,{name:["InputWrapper",d],classNames:l,styles:s,unstyled:c,variant:p,size:u});return n.createElement(v.x,((e,t)=>{for(var r in t||(t={}))z.call(t,r)&&D(e,r,t[r]);if(N)for(var r of N(t))I.call(t,r)&&D(e,r,t[r]);return e})({color:"dimmed",className:b(m.description,i),ref:t,unstyled:c},f),a)}));L.displayName="@mantine/core/InputDescription";const _=(0,n.createContext)({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),A=_.Provider;function T(e,{hasDescription:t,hasError:r}){const n=e.findIndex((e=>"input"===e)),o=e[n-1],a=e[n+1];return{offsetBottom:t&&"description"===a||r&&"error"===a,offsetTop:t&&"description"===o||r&&"error"===o}}var $=Object.defineProperty,M=Object.defineProperties,F=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,G=(e,t,r)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,V=(e,t)=>{for(var r in t||(t={}))W.call(t,r)&&G(e,r,t[r]);if(B)for(var r of B(t))H.call(t,r)&&G(e,r,t[r]);return e},Y=(0,l.k)((e=>{return{root:(t=V({},e.fn.fontStyles()),r={lineHeight:e.lineHeight},M(t,F(r)))};var t,r})),Z=Object.defineProperty,K=Object.defineProperties,U=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,Q=(e,t,r)=>t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ee=(e,t)=>{for(var r in t||(t={}))X.call(t,r)&&Q(e,r,t[r]);if(q)for(var r of q(t))J.call(t,r)&&Q(e,r,t[r]);return e},te=(e,t)=>K(e,U(t));const re={labelElement:"label",size:"sm",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},ne=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("InputWrapper",re,e),{className:a,label:i,children:l,required:s,id:c,error:d,description:p,labelElement:f,labelProps:m,descriptionProps:b,errorProps:y,classNames:h,styles:v,size:w,inputContainer:O,__staticSelector:x,unstyled:k,inputWrapperOrder:S,withAsterisk:P,variant:C}=r,j=((e,t)=>{var r={};for(var n in e)X.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&q)for(var n of q(e))t.indexOf(n)<0&&J.call(e,n)&&(r[n]=e[n]);return r})(r,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk","variant"]),{classes:N,cx:z}=Y(null,{classNames:h,styles:v,name:["InputWrapper",x],unstyled:k,variant:C,size:w}),I={classNames:h,styles:v,unstyled:k,size:w,variant:C,__staticSelector:x},D="boolean"==typeof P?P:s,R=c?`${c}-error`:null==y?void 0:y.id,_=c?`${c}-description`:null==b?void 0:b.id,$=`${!!d&&"boolean"!=typeof d?R:""} ${p?_:""}`,M=$.trim().length>0?$.trim():void 0,F=i&&n.createElement(g,ee(ee({key:"label",labelElement:f,id:c?`${c}-label`:void 0,htmlFor:c,required:D},I),m),i),B=p&&n.createElement(L,te(ee(ee({key:"description"},b),I),{size:(null==b?void 0:b.size)||I.size,id:(null==b?void 0:b.id)||_}),p),W=n.createElement(n.Fragment,{key:"input"},O(l)),H="boolean"!=typeof d&&d&&n.createElement(E,te(ee(ee({},y),I),{size:(null==y?void 0:y.size)||I.size,key:"error",id:(null==y?void 0:y.id)||R}),d),G=S.map((e=>{switch(e){case"label":return F;case"input":return W;case"description":return B;case"error":return H;default:return null}}));return n.createElement(A,{value:ee({describedBy:M},T(S,{hasDescription:!!B,hasError:!!H}))},n.createElement(u.x,ee({className:z(N.root,a),ref:t},j),G))}));
1ne.displayName="@mantine/core/InputWrapper";var oe=r(63706),ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(e,t,r)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ue={},de=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("InputPlaceholder",ue,e),{sx:a}=r,i=((e,t)=>{var r={};for(var n in e)le.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ie)for(var n of ie(e))t.indexOf(n)<0&&se.call(e,n)&&(r[n]=e[n]);return r})(r,["sx"]);return n.createElement(u.x,((e,t)=>{for(var r in t||(t={}))le.call(t,r)&&ce(e,r,t[r]);if(ie)for(var r of ie(t))se.call(t,r)&&ce(e,r,t[r]);return e})({component:"span",sx:[e=>e.fn.placeholderStyles(),...(0,oe.R)(a)],ref:t},i))}));de.displayName="@mantine/core/InputPlaceholder";var pe=r(35227),fe=r(12756),me=Object.defineProperty,be=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(e,t,r)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Oe=(e,t)=>{for(var r in t||(t={}))he.call(t,r)&&we(e,r,t[r]);if(ge)for(var r of ge(t))ve.call(t,r)&&we(e,r,t[r]);return e},xe=(e,t)=>be(e,ye(t));const ke={size:"sm",variant:"default"},Se=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Input",ke,e),{className:i,error:l,required:s,disabled:c,variant:d,icon:p,style:f,rightSectionWidth:m,iconWidth:b,rightSection:y,rightSectionProps:g,radius:h,size:v,wrapperProps:w,classNames:O,styles:x,__staticSelector:k,multiline:S,sx:P,unstyled:E,pointer:C}=r,j=((e,t)=>{var r={};for(var n in e)he.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ge)for(var n of ge(e))t.indexOf(n)<0&&ve.call(e,n)&&(r[n]=e[n]);return r})(r,["className","error","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:N,offsetTop:z,describedBy:I}=(0,n.useContext)(_),{classes:D,cx:R}=(0,pe.Z)({radius:h,multiline:S,invalid:!!l,rightSectionWidth:m?(0,a.h)(m):void 0,iconWidth:b,withRightSection:!!y,offsetBottom:N,offsetTop:z,pointer:C},{classNames:O,styles:x,name:["Input",k],unstyled:E,variant:d,size:v}),{systemStyles:L,rest:A}=(0,fe.x)(j);return n.createElement(u.x,Oe(Oe({className:R(D.wrapper,i),sx:P,style:f},L),w),p&&n.createElement("div",{className:D.icon},p),n.createElement(u.x,xe(Oe({component:"input"},A),{ref:t,required:s,"aria-invalid":!!l,"aria-describedby":I,disabled:c,"data-disabled":c||void 0,"data-with-icon":!!p||void 0,"data-invalid":!!l||void 0,className:D.input})),y&&n.createElement("div",xe(Oe({},g),{className:D.rightSection}),y))}));Se.displayName="@mantine/core/Input",Se.Wrapper=ne,Se.Label=g,Se.Description=L,Se.Error=E,Se.Placeholder=de;const Pe=(0,i.F)(Se)},35227:function(e,t,r){r.d(t,{J:function(){return b}});var n=r(2566),o=r(71485),a=r(21434),i=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e},m=(e,t)=>l(e,s(t));const b={xs:(0,n.h)(30),sm:(0,n.h)(36),md:(0,n.h)(42),lg:(0,n.h)(50),xl:(0,n.h)(60)},y=["default","filled","unstyled"];function g({theme:e,variant:t}){return y.includes(t)?"default"===t?{border:`${(0,n.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,transition:"border-color 100ms ease","&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:"filled"===t?{border:`${(0,n.h)(1)} solid transparent`,backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],"&:focus, &:focus-within":e.focusRingStyles.inputStyles(e)}:{borderWidth:0,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,backgroundColor:"transparent",minHeight:(0,n.h)(28),outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}:null}
1var h=(0,o.k)(((e,{multiline:t,radius:r,invalid:o,rightSectionWidth:i,withRightSection:l,iconWidth:s,offsetBottom:c,offsetTop:u,pointer:d},{variant:p,size:y})=>{const h=e.fn.variant({variant:"filled",color:"red"}).background,v="default"===p||"filled"===p?{minHeight:(0,a.a)({size:y,sizes:b}),paddingLeft:`calc(${(0,a.a)({size:y,sizes:b})} / 3)`,paddingRight:l?i||(0,a.a)({size:y,sizes:b}):`calc(${(0,a.a)({size:y,sizes:b})} / 3)`,borderRadius:e.fn.radius(r)}:"unstyled"===p&&l?{paddingRight:i||(0,a.a)({size:y,sizes:b})}:null;return{wrapper:{position:"relative",marginTop:u?`calc(${e.spacing.xs} / 2)`:void 0,marginBottom:c?`calc(${e.spacing.xs} / 2)`:void 0,"&:has(input:disabled)":{"& .mantine-Input-rightSection":{display:"none"}}},input:m(f(f(m(f({},e.fn.fontStyles()),{height:t?"unstyled"===p?void 0:"auto":(0,a.a)({size:y,sizes:b}),WebkitTapHighlightColor:"transparent",lineHeight:t?e.lineHeight:`calc(${(0,a.a)({size:y,sizes:b})} - ${(0,n.h)(2)})`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:(0,a.a)({size:y,sizes:e.fontSizes}),width:"100%",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,display:"block",textAlign:"left",cursor:d?"pointer":void 0}),g({theme:e,variant:p})),v),{"&:disabled, &[data-disabled]":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,cursor:"not-allowed",pointerEvents:"none","&::placeholder":{color:e.colors.dark[2]}},"&[data-invalid]":{color:h,borderColor:h,"&::placeholder":{opacity:1,color:h}},"&[data-with-icon]":{paddingLeft:"number"==typeof s?(0,n.h)(s):(0,a.a)({size:y,sizes:b})},"&::placeholder":m(f({},e.fn.placeholderStyles()),{opacity:1}),"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button, &::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{appearance:"none"},"&[type=number]":{MozAppearance:"textfield"}}),icon:{pointerEvents:"none",position:"absolute",zIndex:1,left:0,top:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",width:s?(0,n.h)(s):(0,a.a)({size:y,sizes:b}),color:o?e.colors.red["dark"===e.colorScheme?6:7]:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[5]},rightSection:{position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",justifyContent:"center",width:i||(0,a.a)({size:y,sizes:b})}}}));t.Z=h},66261:function(e,t,r){r.d(t,{k:function(){return y}});var n=r(73623),o=r(83051),a=r(12756),i=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e},m=(e,t)=>l(e,s(t)),b=(e,t)=>{var r={};for(var n in e)u.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&c)for(var n of c(e))t.indexOf(n)<0&&d.call(e,n)&&(r[n]=e[n]);return r};function y(e,t,r){const i=(0,n.N4)(e,t,r),{label:l,description:s,error:c,required:u,classNames:d,styles:p,className:y,unstyled:g,__staticSelector:h,sx:v,errorProps:w,labelProps:O,descriptionProps:x,wrapperProps:k,id:S,size:P,style:E,inputContainer:C,inputWrapperOrder:j,withAsterisk:N,variant:z}=i,I=b(i,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk","variant"]),D=(0,o.M)(S),{systemStyles:R,rest:L}=(0,a.x)(I),_=f({label:l,description:s,error:c,required:u,classNames:d,className:y,__staticSelector:h,sx:v,errorProps:w,labelProps:O,descriptionProps:x,unstyled:g,styles:p,id:D,size:P,style:E,inputContainer:C,inputWrapperOrder:j,withAsterisk:N,variant:z},k);return m(f({},L),{classNames:d,styles:p,unstyled:g,wrapperProps:f(f({},_),R),inputProps:{required:u,classNames:d,styles:p,unstyled:g,id:D,size:P,__staticSelector:h,error:c,variant:z}})}},20966:function(e,t,r){r.d(t,{a:function(){return M}});var n=r(67294),o=r(2566),a=r(73623),i=r(21434),l=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&d(e,r,t[r]);if(s)for(var r of s(t))u.call(t,r)&&d(e,r,t[r]);return e},f=(e,t)=>{var r={};for(var n in e)c.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&u.call(e,n)&&(r[n]=e[n]);return r};var m=Object.defineProperty,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>
1{for(var r in t||(t={}))y.call(t,r)&&h(e,r,t[r]);if(b)for(var r of b(t))g.call(t,r)&&h(e,r,t[r]);return e},w=(e,t)=>{var r={};for(var n in e)y.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&b)for(var n of b(e))t.indexOf(n)<0&&g.call(e,n)&&(r[n]=e[n]);return r};var O=Object.defineProperty,x=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,P=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))k.call(t,r)&&P(e,r,t[r]);if(x)for(var r of x(t))S.call(t,r)&&P(e,r,t[r]);return e},C=(e,t)=>{var r={};for(var n in e)k.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&x)for(var n of x(e))t.indexOf(n)<0&&S.call(e,n)&&(r[n]=e[n]);return r};var j=r(64523),N=Object.defineProperty,z=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,R=(e,t,r)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,L=(e,t)=>{for(var r in t||(t={}))I.call(t,r)&&R(e,r,t[r]);if(z)for(var r of z(t))D.call(t,r)&&R(e,r,t[r]);return e},_=(e,t)=>{var r={};for(var n in e)I.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&z)for(var n of z(e))t.indexOf(n)<0&&D.call(e,n)&&(r[n]=e[n]);return r};const A={bars:function(e){var t=e,{size:r,color:o}=t;const a=f(t,["size","color"]),{style:i}=a,l=f(a,["style"]);return n.createElement("svg",p({viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:o,style:p({width:r},i)},l),n.createElement("rect",{y:"10",width:"15",height:"120",rx:"6"},n.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},n.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("rect",{x:"60",width:"15",height:"140",rx:"6"},n.createElement("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},n.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},n.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))},oval:function(e){var t=e,{size:r,color:o}=t;const a=w(t,["size","color"]),{style:i}=a,l=w(a,["style"]);return n.createElement("svg",v({viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:o,style:v({width:r,height:r},i)},l),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(2.5 2.5)",strokeWidth:"5"},n.createElement("circle",{strokeOpacity:".5",cx:"16",cy:"16",r:"16"}),n.createElement("path",{d:"M32 16c0-9.94-8.06-16-16-16"},n.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"})))))},dots:function(e){var t=e,{size:r,color:o}=t;const a=C(t,["size","color"]),{style:i}=a,l=C(a,["style"]);return n.createElement("svg",E({viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:o,style:E({width:r},i)},l),n.createElement("circle",{cx:"15",cy:"15",r:"15"},n.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;
115",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3"},n.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),n.createElement("circle",{cx:"105",cy:"15",r:"15"},n.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),n.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}},T={xs:(0,o.h)(18),sm:(0,o.h)(22),md:(0,o.h)(36),lg:(0,o.h)(44),xl:(0,o.h)(58)},$={size:"md"};function M(e){const t=(0,a.N4)("Loader",$,e),{size:r,color:o,variant:l}=t,s=_(t,["size","color","variant"]),c=(0,a.rZ)(),u=l in A?l:c.loader;return n.createElement(j.x,L({role:"presentation",component:A[u]||A.bars,size:(0,i.a)({size:r,sizes:T}),color:c.fn.variant({variant:"filled",primaryFallback:!1,color:o||c.primaryColor}).background},s))}M.displayName="@mantine/core/Loader"},49737:function(e,t,r){r.d(t,{f:function(){return N}});var n=r(67294),o=r(58332),a=r(73623),i=r(71485),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e},b=(0,i.k)((e=>{return{root:(t=m({},e.fn.cover()),r={display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},s(t,c(r)))};var t,r})),y=r(94277),g=r(64523),h=r(20966),v=r(17577),w=Object.defineProperty,O=Object.defineProperties,x=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,E=(e,t,r)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,C=(e,t)=>{for(var r in t||(t={}))S.call(t,r)&&E(e,r,t[r]);if(k)for(var r of k(t))P.call(t,r)&&E(e,r,t[r]);return e};const j={overlayOpacity:.75,transitionDuration:0,radius:0,zIndex:(0,o.w)("overlay")},N=(0,n.forwardRef)(((e,t)=>{const r=(0,a.N4)("LoadingOverlay",j,e),{className:o,visible:i,loaderProps:l,overlayOpacity:s,overlayColor:c,transitionDuration:u,exitTransitionDuration:d,zIndex:p,style:f,loader:m,radius:w,overlayBlur:E,unstyled:N,variant:z,keepMounted:I}=r,D=((e,t)=>{var r={};for(var n in e)S.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&k)for(var n of k(e))t.indexOf(n)<0&&P.call(e,n)&&(r[n]=e[n]);return r})(r,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled","variant","keepMounted"]),{classes:R,cx:L,theme:_}=b(null,{name:"LoadingOverlay",unstyled:N,variant:z}),A=`calc(${p} + 1)`;return n.createElement(y.u,{keepMounted:I,duration:u,exitDuration:d,mounted:i,transition:"fade"},(e=>{return n.createElement(g.x,C({className:L(R.root,o),style:(r=C(C({},e),f),a={zIndex:p},O(r,x(a))),ref:t},D),m?n.createElement("div",{style:{zIndex:A}},m):n.createElement(h.a,C({style:{zIndex:A}},l)),n.createElement(v.a,{opacity:s,zIndex:p,radius:w,blur:E,unstyled:N,color:c||("dark"===_.colorScheme?_.colors.dark[5]:_.white)}));var r,a}))}));N.displayName="@mantine/core/LoadingOverlay"},46525:function(e,t,r){r.d(t,{v:function(){return f}});var n=r(67294),o=r(73623),a=(0,r(71485).k)(((e,{color:t})=>({root:{backgroundColor:e.fn.themeColor(t,"dark"===e.colorScheme?5:2),color:"dark"===e.colorScheme?e.colors.dark[9]:"inherit"}}))),i=r(64523),l=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const p={color:"yellow"},f=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Mark",p,e),{color:l,className:f,unstyled:m,variant:b}=r,y=((e,t)=>{var r={};for(var n in e)c.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&u.call(e,n)&&(r[n]=e[n]);return r})(r,["color","className","unstyled","variant"]),{classes:g,cx:h}=a({color:l},{unstyled:m,name:"Mark",variant:b});return n.createElement(i.x,((e,t)=>{for(var r in t||(t={}))c.call(t,r)&&d(e,r,t[r]);if(s)for(var r of s(t))u.call(t,r)&&d(e,r,t[r]);return e})({component:"mark",ref:t,className:h(g.root,f)},y))}));f.displayName="@mantine/core/Mark"},49441:function(e,t,r){r.d(t,{v:function(){return Re}});var n=r(67294);var o=r(37764);var a=r(15851),i=r(37048),l=r(73623),s=r(10542);const c="Menu component was not found in the tree",u="Menu.Target component children should be an element or a component that accepts ref. Fragments, str
1ings, numbers and other primitive values are not supported",[d,p]=(0,s.R)(c);var f=r(71485),m=r(2566),b=(0,f.k)((e=>({divider:{marginTop:(0,m.h)(4),marginBottom:(0,m.h)(4),borderTop:`${(0,m.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]}`}}))),y=r(64523),g=Object.defineProperty,h=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const x={},k=(0,n.forwardRef)(((e,t)=>{const r=(0,l.N4)("MenuDivider",x,e),{children:o,className:a}=r,i=((e,t)=>{var r={};for(var n in e)v.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&h)for(var n of h(e))t.indexOf(n)<0&&w.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className"]),{classNames:s,styles:c,unstyled:u,variant:d}=p(),{classes:f,cx:m}=b(null,{name:"Menu",classNames:s,styles:c,unstyled:u,variant:d});return n.createElement(y.x,((e,t)=>{for(var r in t||(t={}))v.call(t,r)&&O(e,r,t[r]);if(h)for(var r of h(t))w.call(t,r)&&O(e,r,t[r]);return e})({className:m(f.divider,a),ref:t},i))}));k.displayName="@mantine/core/MenuDivider";var S=r(47828),P=r(45528),E=Object.defineProperty,C=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,z=(e,t,r)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))j.call(t,r)&&z(e,r,t[r]);if(C)for(var r of C(t))N.call(t,r)&&z(e,r,t[r]);return e},D=(e,t)=>{var r={};for(var n in e)j.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&C)for(var n of C(e))t.indexOf(n)<0&&N.call(e,n)&&(r[n]=e[n]);return r};const R={};function L(e){const t=(0,l.N4)("MenuDropdown",R,e),{children:r,onMouseEnter:o,onMouseLeave:a}=t,i=D(t,["children","onMouseEnter","onMouseLeave"]),s=(0,n.useRef)(),c=p(),u=(0,S.x)(o,(()=>"hover"===c.trigger&&c.openDropdown())),d=(0,S.x)(a,(()=>"hover"===c.trigger&&c.closeDropdown()));return n.createElement(P.J.Dropdown,I({onMouseEnter:u,onMouseLeave:d,role:"menu","aria-orientation":"vertical"},i),n.createElement("div",{tabIndex:-1,"data-menu-dropdown":!0,"data-autofocus":!0,onKeyDown:e=>{var t;"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),null==(t=s.current.querySelectorAll("[data-menu-item]:not(:disabled)")[0])||t.focus())},ref:s,style:{outline:0}},r))}L.displayName="@mantine/core/MenuDropdown";var _=r(38078),A=r(74574),T=r(80665),$=Object.defineProperty,M=Object.defineProperties,F=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,G=(e,t,r)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,V=(e,t)=>{for(var r in t||(t={}))W.call(t,r)&&G(e,r,t[r]);if(B)for(var r of B(t))H.call(t,r)&&G(e,r,t[r]);return e},Y=(0,f.k)(((e,{color:t,radius:r})=>{return{item:(n=V({},e.fn.fontStyles()),o={WebkitTapHighlightColor:"transparent",fontSize:e.fontSizes.sm,border:0,backgroundColor:"transparent",outline:0,width:"100%",textAlign:"left",textDecoration:"none",boxSizing:"border-box",padding:`${e.spacing.xs} ${e.spacing.sm}`,cursor:"pointer",borderRadius:e.fn.radius(r),color:t?e.fn.variant({variant:"filled",primaryFallback:!1,color:t}).background:"dark"===e.colorScheme?e.colors.dark[0]:e.black,display:"flex",alignItems:"center","&:disabled":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],pointerEvents:"none",userSelect:"none"},"&[data-hovered]":{backgroundColor:t?e.fn.variant({variant:"light",color:t}).background:"dark"===e.colorScheme?e.fn.rgba(e.colors.dark[3],.35):e.colors.gray[1]}},M(n,F(o))),itemLabel:{flex:1},itemIcon:{display:"flex",justifyContent:"center",alignItems:"center",marginRight:e.spacing.xs},itemRightSection:{}};var n,o})),Z=Object.defineProperty,K=Object.defineProperties,U=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,Q=(e,t,r)=>t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ee={},te=(0,n.forwardRef)(((e,t)=>{const r=(0,l.N4)("MenuItem",ee,e),{children:o,className:a,color:i,closeMenuOnClick:s,icon:c,rightSection:u}=r,d=((e,t)=>{var r={};for(var n in e)X.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&q)for(var n of q(e))t.indexOf(n)<0&&J.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","color","closeMenuOnClick","icon","rightSection"]),f=p(),{classes:m,cx:b,theme:g}=Y({radius:f.radius,color:i},{name:"Menu",classNames:f.classNames,styles:f.styles,unstyled:f.unstyled,variant:f.variant}),h=(0,n.useRef)(),v=f.getItemIndex(h.current),w=d,O=(0,S.x)(w.onMouseLeave,(()=>f.setHovered(-1))),x=(0,S.x)(w.onMouseEnter,(()=>f.setHovered(f.getItemIndex(h.current)))),k=(0,S.x)(w.onClick,(()=>{"boolean"==typeof s?s&&f.closeDropdownImmediately():f.closeOnItemClick&&f.closeDropdownImmediately()})),P=(0,S.x)(w.onFocus,(()=>f.setHovered(f.getItemIndex(h.current))));return n.createElement(y.x,(E=((e,t)=>{for(var r in t||(t={}))X.call(t,r)&&Q(e,r,t[r]);if(q)for(var r of q(t))J.call(t,r)&&Q(e,r,t[r]);return e})({component:"button",type:"button"},d),C={tabIndex:-1,onFocus:P,className:b(m.item,a),ref:(0,T.Y)(h,t),role:"menuitem","data-menu-item":!0,"data-hovered":f.hovered===v||void 0,onMouseEnter:x,onMouseLeave:O,onClick:k,onKeyDown:(0,_.R)({siblingSelector:"[data-menu-item]",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:f.loop,dir:g.dir,orientation:"vertical",onKeyDown:w.onKeydown})},K(E,U(C))),c&&n.createElement("div",{className:m.itemIcon},c),o&&n.createElement("div",{className:m.itemLabel},o),u&&n.createElement("div",{className:m.itemRightSection},u));var E,C}));te.displayName="@mantine/core/MenuItem";const re=(0,A.F)(te);var ne=(0,f.k)((e=>({label:{color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],fontWeight:500,fontSize:e.fontSizes.xs,padding:`calc(${e.spacing.xs} / 2) ${e.spacing.sm}`,cursor:"default"}}
1))),oe=r(95117),ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(e,t,r)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ue={},de=(0,n.forwardRef)(((e,t)=>{const r=(0,l.N4)("MenuLabel",ue,e),{children:o,className:a}=r,i=((e,t)=>{var r={};for(var n in e)le.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ie)for(var n of ie(e))t.indexOf(n)<0&&se.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className"]),{classNames:s,styles:c,unstyled:u,variant:d}=p(),{classes:f,cx:m}=ne(null,{name:"Menu",classNames:s,styles:c,unstyled:u,variant:d});return n.createElement(oe.x,((e,t)=>{for(var r in t||(t={}))le.call(t,r)&&ce(e,r,t[r]);if(ie)for(var r of ie(t))se.call(t,r)&&ce(e,r,t[r]);return e})({className:m(f.label,a),ref:t},i),o)}));de.displayName="@mantine/core/MenuLabel";var pe=r(36883),fe=Object.defineProperty,me=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ge=(e,t,r)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const he={refProp:"ref"},ve=(0,n.forwardRef)(((e,t)=>{const r=(0,l.N4)("MenuTarget",he,e),{children:o,refProp:a}=r,i=((e,t)=>{var r={};for(var n in e)be.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&me)for(var n of me(e))t.indexOf(n)<0&&ye.call(e,n)&&(r[n]=e[n]);return r})(r,["children","refProp"]);if(!(0,pe.k)(o))throw new Error(u);const s=p(),c=(0,S.x)(o.props.onClick,(()=>"click"===s.trigger&&s.toggleDropdown())),d=(0,S.x)(o.props.onMouseEnter,(()=>"hover"===s.trigger&&s.openDropdown())),f=(0,S.x)(o.props.onMouseLeave,(()=>"hover"===s.trigger&&s.closeDropdown()));return n.createElement(P.J.Target,((e,t)=>{for(var r in t||(t={}))be.call(t,r)&&ge(e,r,t[r]);if(me)for(var r of me(t))ye.call(t,r)&&ge(e,r,t[r]);return e})({refProp:a,popupType:"menu",ref:t},i),(0,n.cloneElement)(o,{onClick:c,onMouseEnter:d,onMouseLeave:f,"data-expanded":!!s.opened||void 0}))}));ve.displayName="@mantine/core/MenuTarget";var we=(0,f.k)({dropdown:{padding:(0,m.h)(4)}}),Oe=r(27347),xe=Object.defineProperty,ke=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,je=(e,t,r)=>t in e?xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ne=(e,t)=>{for(var r in t||(t={}))Ee.call(t,r)&&je(e,r,t[r]);if(Pe)for(var r of Pe(t))Ce.call(t,r)&&je(e,r,t[r]);return e},ze=(e,t)=>ke(e,Se(t)),Ie=(e,t)=>{var r={};for(var n in e)Ee.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Pe)for(var n of Pe(e))t.indexOf(n)<0&&Ce.call(e,n)&&(r[n]=e[n]);return r};const De={closeOnItemClick:!0,loop:!0,trigger:"click",openDelay:0,closeDelay:100};function Re(e){const t=(0,l.N4)("Menu",De,e),{children:r,onOpen:s,onClose:c,opened:u,defaultOpened:p,onChange:f,closeOnItemClick:m,loop:b,closeOnEscape:y,trigger:g,openDelay:h,closeDelay:v,classNames:w,styles:O,unstyled:x,radius:k,variant:S}=t,E=Ie(t,["children","onOpen","onClose","opened","defaultOpened","onChange","closeOnItemClick","loop","closeOnEscape","trigger","openDelay","closeDelay","classNames","styles","unstyled","radius","variant"]),{classes:C,cx:j}=we(),[N,{setHovered:z,resetHovered:I}]=function(){const[e,t]=(0,n.useState)(-1);return[e,{setHovered:t,resetHovered:()=>t(-1)}]}(),[D,R]=(0,a.C)({value:u,defaultValue:p,finalValue:!1,onChange:f}),L=()=>{R(!1),D&&(null==c||c())},_=()=>{R(!0),!D&&(null==s||s())},A=()=>D?L():_(),{openDropdown:T,closeDropdown:$}=(0,Oe.U)({open:_,close:L,closeDelay:v,openDelay:h});return(0,i.l)((()=>{I()}),[D]),n.createElement(d,{value:{opened:D,toggleDropdown:A,getItemIndex:e=>function(e,t,r){var n;return r?Array.from((null==(n=(0,o.p)(r,t))?void 0:n.querySelectorAll(e))||[]).findIndex((e=>e===r)):null}("[data-menu-item]","[data-menu-dropdown]",e),hovered:N,setHovered:z,closeOnItemClick:m,closeDropdown:"click"===g?L:$,openDropdown:"click"===g?_:T,closeDropdownImmediately:L,loop:b,trigger:g,radius:k,classNames:w,styles:O,unstyled:x,variant:S}},n.createElement(P.J,ze(Ne({},E),{radius:k,opened:D,onChange:A,defaultOpened:p,trapFocus:"click"===g&&D,closeOnEscape:y&&"click"===g,__staticSelector:"Menu",classNames:ze(Ne({},w),{dropdown:j(C.dropdown,null==w?void 0:w.dropdown)}),styles:O,unstyled:x,variant:S}),r))}
1Re.displayName="@mantine/core/Menu",Re.Item=re,Re.Label=de,Re.Dropdown=L,Re.Target=ve,Re.Divider=k},94491:function(e,t,r){r.d(t,{u:function(){return G}});var n=r(67294),o=r(73623),a=r(10542);const[i,l]=(0,a.R)("Modal component was not found in tree");var s=r(2566),c=r(71485),u=r(21434);const d={xs:(0,s.h)(320),sm:(0,s.h)(380),md:(0,s.h)(440),lg:(0,s.h)(620),xl:(0,s.h)(780)};var p=(0,c.k)(((e,{yOffset:t,xOffset:r,centered:n,fullScreen:o},{size:a})=>({content:{flex:o?"0 0 100%":`0 0 ${(0,u.a)({size:a,sizes:d})}`,maxWidth:"100%",maxHeight:o?void 0:`calc(100dvh - (${(0,s.h)(t)} * 2))`,height:o?"100vh":void 0,borderRadius:o?0:void 0,overflowY:"auto"},inner:{paddingTop:o?0:t,paddingBottom:o?0:t,paddingLeft:o?0:r,paddingRight:o?0:r,display:"flex",justifyContent:"center",alignItems:n?"center":"flex-start"}}))),f=r(60767),m=Object.defineProperty,b=Object.defineProperties,y=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,w=(e,t,r)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,O=(e,t)=>{for(var r in t||(t={}))h.call(t,r)&&w(e,r,t[r]);if(g)for(var r of g(t))v.call(t,r)&&w(e,r,t[r]);return e},x=(e,t)=>b(e,y(t)),k=(e,t)=>{var r={};for(var n in e)h.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&g)for(var n of g(e))t.indexOf(n)<0&&v.call(e,n)&&(r[n]=e[n]);return r};const S=x(O({},f.K),{yOffset:"5dvh",xOffset:"5vw"});function P(e){const t=(0,o.N4)("ModalRoot",S,e),{classNames:r,variant:a,size:l,yOffset:s,xOffset:c,scrollAreaComponent:u,radius:d,centered:m,fullScreen:b}=t,y=k(t,["classNames","variant","size","yOffset","xOffset","scrollAreaComponent","radius","centered","fullScreen"]),{classes:g,cx:h}
1=p({yOffset:s,xOffset:c,centered:m,fullScreen:b},{name:"Modal",variant:a,size:l});return n.createElement(i,{value:{yOffset:s,scrollAreaComponent:u,radius:d}},n.createElement(f.e,O({__staticSelector:"Modal",size:l,variant:a,classNames:x(O({},r),{content:h(g.content,null==r?void 0:r.content),inner:h(g.inner,null==r?void 0:r.inner)})},y)))}var E=Object.defineProperty,C=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,z=(e,t,r)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const I={shadow:"xl"},D=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("ModalContent",I,e),{children:a,scrollAreaComponent:i}=r,c=((e,t)=>{var r={};for(var n in e)j.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&C)for(var n of C(e))t.indexOf(n)<0&&N.call(e,n)&&(r[n]=e[n]);return r})(r,["children","scrollAreaComponent"]),u=l(),d=i||u.scrollAreaComponent||f.e.NativeScrollArea;return n.createElement(f.e.Content,((e,t)=>{for(var r in t||(t={}))j.call(t,r)&&z(e,r,t[r]);if(C)for(var r of C(t))N.call(t,r)&&z(e,r,t[r]);return e})({ref:t,radius:u.radius},c),n.createElement(d,{style:{maxHeight:`calc(100dvh - (${(0,s.h)(u.yOffset)} * 2))`}},a))}));var R=Object.defineProperty,L=Object.defineProperties,_=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,M=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t)=>{for(var r in t||(t={}))T.call(t,r)&&M(e,r,t[r]);if(A)for(var r of A(t))$.call(t,r)&&M(e,r,t[r]);return e},B=(e,t)=>{var r={};for(var n in e)T.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&A)for(var n of A(e))t.indexOf(n)<0&&$.call(e,n)&&(r[n]=e[n]);return r};const W=(H=F({},f.K),L(H,_({transitionProps:{duration:200,transition:"pop"},withOverlay:!0,withCloseButton:!0})));var H;function G(e){const t=(0,o.N4)("Modal",W,e),{title:r,withOverlay:a,overlayProps:i,withCloseButton:l,closeButtonProps:s,children:c}=t,u=B(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),d=!!r||l;return n.createElement(P,F({},u),a&&n.createElement(f.e.Overlay,F({},i)),n.createElement(D,null,d&&n.createElement(f.e.Header,null,r&&n.createElement(f.e.Title,null,r),l&&n.createElement(f.e.CloseButton,F({},s))),n.createElement(f.e.Body,null,c)))}G.Root=P,G.CloseButton=f.e.CloseButton,G.Overlay=f.e.Overlay,G.Content=D,G.Header=f.e.Header,G.Title=f.e.Title,G.Body=f.e.Body,G.NativeScrollArea=f.e.NativeScrollArea},60767:function(e,t,r){r.d(t,{e:function(){return Le},K:function(){return Re}});var n=r(67294),o=r(44794),a=r(83051),i=r(84137),l=r(96362),s=r(58332),c=r(73623),u=r(10542);const[d,p]=(0,u.R)("ModalBase component was not found in tree");var f=r(71485),m=(0,f.k)((()=>({close:{marginLeft:"auto",marginRight:0}}))),b=r(80971),y=Object.defineProperty,g=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,w=(e,t,r)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const O={size:"sm"},x=(0,n.forwardRef)(((e,t)=>{const r=p(),o=(0,c.N4)(`${r.__staticSelector}CloseButton`,O,e),{className:a}=o,i=((e,t)=>{var r={};for(var n in e)h.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&g)for(var n of g(e))t.indexOf(n)<0&&v.call(e,n)&&(r[n]=e[n]);return r})(o,["className"]),{classes:l,cx:s}=m(null,r.stylesApi);return n.createElement(b.P,((e,t)=>{for(var r in t||(t={}))h.call(t,r)&&w(e,r,t[r]);if(g)for(var r of g(t))v.call(t,r)&&w(e,r,t[r]);return e})({className:s(l.close,a),ref:t,onClick:r.onClose},i))}));var k=(0,f.k)((()=>({overlay:{}}))),S=r(94277),P=r(17577),E=Object.defineProperty,C=Object.defineProperties,j=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,D=(e,t,r)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))z.call(t,r)&&D(e,r,t[r]);if(N)for(var r of N(t))I.call(t,r)&&D(e,r,t[r]);return e};const L={},_=(0,n.forwardRef)(((e,t)=>{const r=p(),o=(0,c.N4)(`${r.__staticSelector}Overlay`,L,e),{onClick:a,transitionProps:i,style:l,className:s}=o,u=((e,t)=>{var r={};for(var n in e)z.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&N)for(var n of N(e))t.indexOf(n)<0&&I.call(e,n)&&(r[n]=e[n]);return r})(o,["onClick","transitionProps","style","className"]),{classes:d,cx:f}=k(null,r.stylesApi),m=e=>{null==a||a(e),r.closeOnClickOutside&&r.onClose()};return n.createElement(S.u,(b=R(R({mounted:r.opened},r.transitionProps),i),C(b,j({transition:"fade"}))),(e=>n.createElement(P.a,R({ref:t,onClick:m,fixed:!0,style:R(R({},l),e),className:f(d.overlay,s),zIndex:r.zIndex},u))));var b}));var A=(0,f.k)(((e,{zIndex:t})=>({inner:{position:"fixed",width:"100%",top:0,bottom:0,maxHeight:"100%",zIndex:t,pointerEvents:"none"},content:{pointerEvents:"all"}}))),T=r(45272),$=r(82623),M=Object.defineProperty,F=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,H=(e,t,r)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,G=(e,t)=>{for(var r in t||(t={}))B.call(t,r)&&H(e,r,t[r]);if(F)for(var r of F(t))W.call(t,r)&&H(e,r,t[r]);return e};const V={},Y=(0,n.forwardRef)(((e,t)=>{const r=p(),o=(0,c.N4)(`${r.__staticSelector}Content`,V,e),{className:a,transitionProps:i,style:l,onKeyDown:s}=o,u=((e,t)=>{var r={};for(var n in e)B.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&F)for(var n of F(e))t.indexOf(n)<0&&W.call(e,n)&&(r[n]=e[n]);return r})(o,["className","transitionProps","style","onKeyDown"]),{classes:d,cx:f}=A({zIndex:r.zIndex},r.stylesApi),m=e=>{var t;"true"!==(null==(t=e.target)?void 0:t.getAttribute("data-mantine-stop-propagation"))&&"Escape"===e.key&&r.closeOnEscape&&r.onClose(),null==s||s(e)};return n.createElement(S.u,G(G({mounted:r.opened,transition:"pop"},r.transitionProps),i),(e=>n.createElement("div",{className:f(d.inner)},n.createElement(T.i,{active:r.opened&&r.trapFocus},n.createElement($.X,G({component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":r.bodyMounted?r.getBodyId():void 0,"aria-labelledby":r.titleMounted?r.getTitleId():void 0,onKeyDown:m,ref:t,className:f(d.content,a),style:G(G({},l),e),shadow:r.shadow},u),u.children)))))}));var Z=r(21434),K=r(2566),U=(0,f.k)(((e,{padding:t})=>{const r=(0,Z.a)({size:t,sizes:e.spacing});return{header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:r,paddingRight:`calc(${r} - ${(0,K.h)(5)})`,position:"sticky",top:0,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,zIndex:1e3}}})),q=r(64523),X=Object.defineProperty,J=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(e,t,r)=>t in e?X(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const re={},ne=(0,n.forwardRef)(((e,t)=>{const r=p(),o=(0,c.N4)(`${r.__staticSelector}Header`,re,e),{className:a}=o,i=((e,t)=>{var r={};
1for(var n in e)Q.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&J)for(var n of J(e))t.indexOf(n)<0&&ee.call(e,n)&&(r[n]=e[n]);return r})(o,["className"]),{classes:l,cx:s}=U({padding:r.padding},r.stylesApi);return n.createElement(q.x,((e,t)=>{for(var r in t||(t={}))Q.call(t,r)&&te(e,r,t[r]);if(J)for(var r of J(t))ee.call(t,r)&&te(e,r,t[r]);return e})({ref:t,className:s(l.header,a)},i))}));var oe=(0,f.k)((e=>({title:{lineHeight:1,padding:0,margin:0,fontWeight:400,fontSize:e.fontSizes.md}}))),ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(e,t,r)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ue={},de=(0,n.forwardRef)(((e,t)=>{const r=p(),o=(0,c.N4)(`${r.__staticSelector}Title`,ue,e),{className:a}=o,i=((e,t)=>{var r={};for(var n in e)le.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ie)for(var n of ie(e))t.indexOf(n)<0&&se.call(e,n)&&(r[n]=e[n]);return r})(o,["className"]),{classes:l,cx:s}=oe(null,r.stylesApi);return(0,n.useEffect)((()=>(r.setTitleMounted(!0),()=>r.setTitleMounted(!1))),[]),n.createElement(q.x,((e,t)=>{for(var r in t||(t={}))le.call(t,r)&&ce(e,r,t[r]);if(ie)for(var r of ie(t))se.call(t,r)&&ce(e,r,t[r]);return e})({component:"h2",id:r.getTitleId(),className:s(l.title,a),ref:t},i))}));var pe=(0,f.k)(((e,{padding:t})=>({body:{padding:(0,Z.a)({size:t,sizes:e.spacing}),"&:not(:only-child)":{paddingTop:0}}}))),fe=Object.defineProperty,me=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ge=(e,t,r)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const he={},ve=(0,n.forwardRef)(((e,t)=>{const r=p(),o=(0,c.N4)(`${r.__staticSelector}Body`,he,e),{className:a}=o,i=((e,t)=>{var r={};for(var n in e)be.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&me)for(var n of me(e))t.indexOf(n)<0&&ye.call(e,n)&&(r[n]=e[n]);return r})(o,["className"]),{classes:l,cx:s}=pe({padding:r.padding},r.stylesApi);return(0,n.useEffect)((()=>(r.setBodyMounted(!0),()=>r.setBodyMounted(!1))),[]),n.createElement(q.x,((e,t)=>{for(var r in t||(t={}))be.call(t,r)&&ge(e,r,t[r]);if(me)for(var r of me(t))ye.call(t,r)&&ge(e,r,t[r]);return e})({id:r.getBodyId(),className:s(l.body,a),ref:t},i))}));var we=r(73678);var Oe=(0,f.k)((()=>({root:{}}))),xe=r(83143),ke=Object.defineProperty,Se=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ne=(e,t,r)=>t in e?ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ze=(e,t)=>{for(var r in t||(t={}))Ce.call(t,r)&&Ne(e,r,t[r]);if(Ee)for(var r of Ee(t))je.call(t,r)&&Ne(e,r,t[r]);return e},Ie=(e,t)=>Se(e,Pe(t)),De=(e,t)=>{var r={};for(var n in e)Ce.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ee)for(var n of Ee(e))t.indexOf(n)<0&&je.call(e,n)&&(r[n]=e[n]);return r};const Re={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,s.w)("modal"),padding:"md",size:"md",shadow:"xl"};function Le(e){const t=(0,c.N4)("ModalBase",Re,e),{opened:r,onClose:s,children:u,closeOnClickOutside:p,__staticSelector:f,transitionProps:m,withinPortal:b,portalProps:y,keepMounted:g,target:h,zIndex:v,lockScroll:w,trapFocus:O,closeOnEscape:x,returnFocus:k,padding:S,shadow:P,id:E,size:C,variant:j,classNames:N,unstyled:z,styles:I,className:D}=t,R=De(t,["opened","onClose","children","closeOnClickOutside","__staticSelector","transitionProps","withinPortal","portalProps","keepMounted","target","zIndex","lockScroll","trapFocus","closeOnEscape","returnFocus","padding","shadow","id","size","variant","classNames","unstyled","styles","className"]),{classes:L,cx:_}=Oe(null,{name:f,classNames:N,styles:I,unstyled:z,variant:j,size:C}),A=(0,a.M)(E),[T,$]=(0,n.useState)(!1),[M,F]=(0,n.useState)(!1),B="number"==typeof(null==m?void 0:m.duration)?null==m?void 0:m.duration:200,W=function({opened:e,transitionDuration:t}){const[r,o]=(0,n.useState)(e),a=(0,n.useRef)(),i=(0,we.J)()?0:t;return(0,n.useEffect)((()=>(e?(o(!0),window.clearTimeout(a.current)):0===i?o(!1):a.current=window.setTimeout((()=>o(!1)),i),()=>window.clearTimeout(a.current))),[e,i]),r}({opened:r,transitionDuration:B});return(0,i.s)("keydown",(e=>{!O&&"Escape"===e.key&&x&&s()})),(0,l.u)({opened:r,shouldReturnFocus:O&&k}),n.createElement(xe.q,Ie(ze({},y),{withinPortal:b,target:h}),n.createElement(d,{value:{__staticSelector:f,opened:r,onClose:s,closeOnClickOutside:p,transitionProps:Ie(ze({},m),{duration:B,keepMounted:g}),zIndex:v,padding:S,id:A,getTitleId:()=>`${A}-title`,getBodyId:()=>`${A}-body`,titleMounted:T,bodyMounted:M,setTitleMounted:$,setBodyMounted:F,trapFocus:O,closeOnEscape:x,shadow:P,stylesApi:{name:f,size:C,variant:j,classNames:N,styles:I,unstyled:z}}},n.createElement(o.Z,{enabled:W&&w},n.createElement(q.x,ze({className:_(L.root,D)},R),u))))}Le.CloseButton=x,Le.Overlay=_,Le.Content=Y,Le.Header=ne,Le.Title=de,Le.Body=ve,Le.NativeScrollArea=function({children:e}){return n.createElement(n.Fragment,null,e)}},12593:function(e,t,r){r.d(t,{P:function(){return O}});var n=r(67294),o=r(73623),a=r(71485),i=r(2566),l=(0,a.k)(((e,{color:t,radius:r,withTitle:n})=>{const o=e.fn.radius(r),a=e.fn.variant({variant:"filled",color:t});return{closeButton:e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0]}),icon:{boxSizing:"border-box",marginRight:e.spacing.md,width:(0,i.h)(28),height:(0,i.h)(28),borderRadius:(0,i.h)(28),display:"flex",flex:"none",alignItems:"center",justifyContent:"center",backgroundColor:a.background,color:e.white},root:{overflow:"hidden",boxSizing:"border-box",position:"relative",display:"flex",alignItems:"center",paddingLeft:(0,i.h)(22),paddingRight:e.spacing.xs,paddingTop:e.spacing.xs,paddingBottom:e.spacing.xs,borderRadius:o,backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,boxShadow:e.shadows.lg,"&::before":{content:'""',dis
1play:"block",position:"absolute",width:(0,i.h)(6),top:o,bottom:o,left:(0,i.h)(4),borderRadius:o,backgroundColor:a.background},"&[data-with-icon]":{paddingLeft:e.spacing.xs,"&::before":{display:"none"}},"&[data-with-border]":{border:`${(0,i.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`}},body:{flex:1,overflow:"hidden",marginRight:e.spacing.xs},loader:{marginRight:e.spacing.md},title:{lineHeight:1.4,marginBottom:(0,i.h)(2),overflow:"hidden",textOverflow:"ellipsis",color:"dark"===e.colorScheme?e.white:e.colors.gray[9]},description:{color:n?"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:1.4,overflow:"hidden",textOverflow:"ellipsis"}}})),s=r(64523),c=r(20966),u=r(95117),d=r(80971),p=Object.defineProperty,f=Object.defineProperties,m=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&h(e,r,t[r]);if(b)for(var r of b(t))g.call(t,r)&&h(e,r,t[r]);return e};const w={withCloseButton:!0},O=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Notification",w,e),{className:a,color:i,radius:p,loading:h,withCloseButton:O,withBorder:x,title:k,icon:S,children:P,onClose:E,closeButtonProps:C,classNames:j,styles:N,unstyled:z,variant:I}=r,D=((e,t)=>{var r={};for(var n in e)y.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&b)for(var n of b(e))t.indexOf(n)<0&&g.call(e,n)&&(r[n]=e[n]);return r})(r,["className","color","radius","loading","withCloseButton","withBorder","title","icon","children","onClose","closeButtonProps","classNames","styles","unstyled","variant"]),{classes:R,cx:L}=l({color:i,radius:p,withTitle:!!k},{name:"Notification",classNames:j,styles:N,unstyled:z,variant:I});return n.createElement(s.x,v({className:L(R.root,a),"data-with-icon":!!S||h||void 0,"data-with-border":x||void 0,role:"alert",ref:t},D),S&&!h&&n.createElement("div",{className:R.icon},S),h&&n.createElement(c.a,{size:28,color:i,className:R.loader}),n.createElement("div",{className:R.body},k&&n.createElement(u.x,{className:R.title,size:"sm",weight:500},k),n.createElement(u.x,{color:"dimmed",className:R.description,size:"sm"},P)),O&&n.createElement(d.P,(_=v({iconSize:16,color:"gray"},C),A={onClick:E,className:R.closeButton},f(_,m(A)))));var _,A}));O.displayName="@mantine/core/Notification"},17577:function(e,t,r){r.d(t,{a:function(){return E}});var n=r(67294),o=r(58332),a=r(73623),i=r(74574),l=r(71485),s=r(2566),c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e},g=(0,l.k)(((e,{color:t,opacity:r,blur:n,radius:o,gradient:a,fixed:i,zIndex:l})=>{return{root:(c=y({},e.fn.cover(0)),p={position:i?"fixed":"absolute",backgroundColor:a?void 0:e.fn.rgba(t,r),backgroundImage:a,backdropFilter:n?`blur(${(0,s.h)(n)})`:void 0,borderRadius:e.fn.radius(o),zIndex:l,"&[data-center]":{display:"flex",alignItems:"center",justifyContent:"center"}},u(c,d(p)))};var c,p})),h=r(64523),v=Object.defineProperty,w=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,k=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const S={opacity:.6,color:"#000",zIndex:(0,o.w)("modal"),radius:0},P=(0,n.forwardRef)(((e,t)=>{const r=(0,a.N4)("Overlay",S,e),{variant:o,opacity:i,color:l,blur:s,gradient:c,zIndex:u,radiu
1s:d,children:p,className:f,classNames:m,styles:b,unstyled:y,center:v,fixed:P}=r,E=((e,t)=>{var r={};for(var n in e)O.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&w)for(var n of w(e))t.indexOf(n)<0&&x.call(e,n)&&(r[n]=e[n]);return r})(r,["variant","opacity","color","blur","gradient","zIndex","radius","children","className","classNames","styles","unstyled","center","fixed"]),{classes:C,cx:j}=g({color:l,opacity:i,blur:s,radius:d,gradient:c,fixed:P,zIndex:u},{name:"Overlay",classNames:m,styles:b,unstyled:y,variant:o});return n.createElement(h.x,((e,t)=>{for(var r in t||(t={}))O.call(t,r)&&k(e,r,t[r]);if(w)for(var r of w(t))x.call(t,r)&&k(e,r,t[r]);return e})({ref:t,className:j(C.root,f),"data-center":v||void 0},E),p)}));P.displayName="@mantine/core/Overlay";const E=(0,i.F)(P)},77124:function(e,t,r){r.d(t,{Kk:function(){return O},Tx:function(){return h},hu:function(){return x},lH:function(){return v},m2:function(){return y},wk:function(){return w}});var n=r(67294),o=r(21434),a=r(46545),i=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e},m=(e,t)=>l(e,s(t)),b=(e,t)=>{var r={};for(var n in e)u.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&c)for(var n of c(e))t.indexOf(n)<0&&d.call(e,n)&&(r[n]=e[n]);return r};function y(e){return`calc(${(0,o.a)({size:e,sizes:a.J})} / 2)`}function g(e){var t=e,{size:r,style:o,children:a,path:i}=t,l=b(t,["size","style","children","path"]);return n.createElement("svg",f({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",style:f({width:r,height:r},o)},l),n.createElement("path",{d:i,fill:"currentColor"}))}const h=e=>n.createElement(g,m(f({},e),{path:"M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z"})),v=e=>n.createElement(g,m(f({},e),{path:"M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z"})),w=e=>n.createElement(g,m(f({},e),{path:"M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z"})),O=e=>n.createElement(g,m(f({},e),{path:"M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z"})),x=e=>n.createElement(g,m(f({},e),{path:"M2 8c0-.733.6-1.333 1.333-1.333.734 0 1.334.6 1.334 1.333s-.6 1.333-1.334 1.333C2.6 9.333 2 8.733 2 8zm9.333 0c0-.733.6-1.333 1.334-1.333C13.4 6.667 14 7.267 14 8s-.6 1.333-1.333 1.333c-.734 0-1.334-.6-1.334-1.333zM6.667 8c0-.733.6-1.333 1.333-1.333s1.333.6 1.333 1.333S8.733 9.333 8 9.333 6.667 8.733 6.667 8z"}))},77944:function(e,t,r){r.d(t,{t:function(){return de}});var n=r(67294),o=r(73623),a=r(21434),i=r(41354),l=r(47828),s=r(10542);const[c,u]=(0,s.R)("Pagination.Root component was not found in tree"),d={siblings:1,boundaries:1};function p(e){const{total:t,value:r,defaultValue:a,onChange:s,disabled:u,children:p,siblings:f,boundaries:m,color:b,radius:y,onNextPage:g,onPreviousPage:h,onFirstPage:v,onLastPage:w,getItemProps:O,classNames:x,styles:k,unstyled:S,variant:P,size:E}=(0,o.N4)("PaginationRoot",d,e),{range:C,setPage:j,next:N,previous:z,active:I,first:D,last:R}=(0,i.h)({page:r,initialPage:a,onChange:s,total:t,siblings:f,boundaries:m}),L=(0,l.x)(g,N),_=(0,l.x)(h,z),A=(0,l.x)(v,D),T=(0,l.x)(w,R);return n.createElement(c,{value:{total:t,range:C,active:I,disabled:u,color:b,radius:y,getItemProps:O,onChange:j,onNext:L,onPrevious:_,onFirst:A,onLast:T,stylesApi:{name:"Pagination",classNames:x,styles:k,unstyled:S,variant:P,size:E}}},p)}var f=r(46545),m=r(34736),b=Object.defineProperty,y=Object.defineProperties,g=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const x={withPadding:!0},k=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("PaginationControl",x,e),{active:a,className:i,disabled:l,withPadding:s}=r,c=((e,t)=>{var r={};for(var n in e)v.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&h)for(var n of h(e))t.indexOf(n)<0&&w.call(e,n)&&(r[n]=e[n]);return r})(r,["active","className","disabled","withPadding"]),d=u(),{classes:p,cx:b}=(0,f.Z)({color:d.color,radius:d.radius,withPadding:s},d.stylesApi);return n.createElement(m.k,(k=((e,t)=>{for(var r in t||(t={}))v.call(t,r)&&O(e,r,t[r]);if(h)for(var r of h(t))w.call(t,r)&&O(e,r,t[r]);return e})({},c),S={disabled:l,"data-active":a||void 0,"data-disabled":l||void 0,ref:t,className:b(p.control,i)},y(k,g(S))));var k,S}));k.displayName="@mantine/core/PaginationControl";var S=r(77124),P=r(71485),E=(0,P.k)(((e,t,{size:r})=>({dots:{height:(0,a.a)({size:r,sizes:f.J}),minWidth:(0,a.a)({size:r,sizes:f.J}),display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"}}))),C=r(64523),j=Object.defineProperty,N=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,D=(e,t,r)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const R={icon:S.hu},L=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("PaginationDots",R,e),{className:a,icon:i}=r,l=((e,t)=>{var r={};for(var n in e)z.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&N)for(var n of N(e))t.indexOf(n)<0&&I.call(e,n)&&(r[n]=e[n]);return r})(r,["className","icon"]),s=u(),{classes:c,cx:d}=E(null,s.stylesApi);return n.createElement(C.x,((e,t)=>{for(var r in t||(t={}))z.call(t,r)&&D(e,r,t[r]);if(N)for(var r of N(t))I.call(t,r)&&D(e,r,t[r]);return e})({ref:t,className:d(c.dots,a)},l),n.createElement(i,{size:(0,S.m2)(s.stylesApi.size)}))}));L.displayName="@mantine/core/PaginationDots";var _=Object.defineProperty,A=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,M=(e,t,r)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t)=>{for(var r in t||(t={}))T.call(t,r)&&M(e,r,t[r]);if(A)for(var r of A(t))$.call(t,r)&&M(e,r,t[r]);return e};function B({dotsIcon:e}){const t=u(),r=t.range.map(((r,o)=>{var a;return"dots"===r?n.createElement(L,{icon:e,key:o}):n.createElement(k,F({key:o,active:r===t.active,"aria-current":r===t.active?"page":void 0,onClick:()=>t.onChange(r),disabled:t.disabled},null==(a=t.getItemProps)?void 0:a.call(t,r)),r)}));return n.createElement(n.Fragment,null,r)}B.displayName="@mantine/core/PaginationItems";var W=r(74574),H=(0,P.k)((e=>({icon:{transform:"rtl"===e.dir?"rotate(180deg)":"unset"}}))),G=Object.defineProperty,V=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,K=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,U=(e,t)=>{for(var r in t||(t={}))Y.call(t,r)&&K(e,r,t[r]);if(V)for(var r of V(t))Z.call(t,r)&&K(e,r,t[r]);return e},q=(e,t)=>
1{var r={};for(var n in e)Y.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&V)for(var n of V(e))t.indexOf(n)<0&&Z.call(e,n)&&(r[n]=e[n]);return r};function X({icon:e,name:t,action:r,type:a}){const i={icon:e},l=(0,n.forwardRef)(((e,l)=>{const s=(0,o.N4)(t,i,e),{icon:c}=s,d=q(s,["icon"]),{classes:p}=H(),f=u(),m="next"===a?f.active===f.total:1===f.active;return n.createElement(k,U({disabled:f.disabled||m,ref:l,onClick:f[r],withPadding:!1},d),n.createElement(c,{className:p.icon,size:(0,S.m2)(f.stylesApi.size)}))}));return l.displayName=`@mantine/core/${t}`,(0,W.F)(l)}const J=X({icon:S.Tx,name:"PaginationNext",action:"onNext",type:"next"}),Q=X({icon:S.lH,name:"PaginationPrevious",action:"onPrevious",type:"previous"}),ee=X({icon:S.wk,name:"PaginationFirst",action:"onFirst",type:"previous"}),te=X({icon:S.Kk,name:"PaginationLast",action:"onLast",type:"next"});var re=r(71232),ne=Object.defineProperty,oe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,le=(e,t,r)=>t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,se=(e,t)=>{for(var r in t||(t={}))ae.call(t,r)&&le(e,r,t[r]);if(oe)for(var r of oe(t))ie.call(t,r)&&le(e,r,t[r]);return e},ce=(e,t)=>{var r={};for(var n in e)ae.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&oe)for(var n of oe(e))t.indexOf(n)<0&&ie.call(e,n)&&(r[n]=e[n]);return r};const ue={withControls:!0,siblings:1,boundaries:1};function de(e){const t=(0,o.N4)("Pagination",ue,e),{withEdges:r,withControls:i,classNames:l,styles:s,unstyled:c,variant:u,size:d,total:f,value:m,defaultValue:b,onChange:y,disabled:g,siblings:h,boundaries:v,color:w,radius:O,onNextPage:x,onPreviousPage:k,onFirstPage:S,onLastPage:P,getItemProps:E,getControlProps:C,spacing:j,nextIcon:N,previousIcon:z,lastIcon:I,firstIcon:D,dotsIcon:R}=t,L=ce(t,["withEdges","withControls","classNames","styles","unstyled","variant","size","total","value","defaultValue","onChange","disabled","siblings","boundaries","color","radius","onNextPage","onPreviousPage","onFirstPage","onLastPage","getItemProps","getControlProps","spacing","nextIcon","previousIcon","lastIcon","firstIcon","dotsIcon"]),_=(0,o.rZ)();return f<=0?null:n.createElement(p,{classNames:l,styles:s,unstyled:c,variant:u,size:d,total:f,value:m,defaultValue:b,onChange:y,disabled:g,siblings:h,boundaries:v,color:w,radius:O,onNextPage:x,onPreviousPage:k,onFirstPage:S,onLastPage:P,getItemProps:E},n.createElement(re.Z,se({spacing:null!=j?j:`calc(${(0,a.a)({size:d,sizes:_.spacing})} / 2)`},L),r&&n.createElement(ee,se({icon:D},null==C?void 0:C("first"))),i&&n.createElement(Q,se({icon:z},null==C?void 0:C("previous"))),n.createElement(B,{dotsIcon:R}),i&&n.createElement(J,se({icon:N},null==C?void 0:C("next"))),r&&n.createElement(te,se({icon:I},null==C?void 0:C("last")))))}de.displayName="@mantine/core/Pagination",de.Root=p,de.Items=B,de.Control=k,de.Dots=L,de.Next=J,de.Previous=Q,de.Last=te,de.First=ee},46545:function(e,t,r){r.d(t,{J:function(){return i}});var n=r(2566),o=r(71485),a=r(21434);const i={xs:(0,n.h)(22),sm:(0,n.h)(26),md:(0,n.h)(32),lg:(0,n.h)(38),xl:(0,n.h)(44)};var l=(0,o.k)(((e,{color:t,radius:r,withPadding:o},{size:l})=>{const s=e.fn.variant({color:t,variant:"filled"});return{control:{cursor:"pointer",userSelect:"none",display:"flex",alignItems:"center",justifyContent:"center",border:`${(0,n.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,height:(0,a.a)({size:l,sizes:i}),minWidth:(0,a.a)({size:l,sizes:i}),padding:o?`0 calc(${(0,a.a)({size:l,sizes:e.spacing})} / 2)`:void 0,fontSize:(0,a.a)({size:l,sizes:e.fontSizes}),borderRadius:e.fn.radius(r),lineHeight:1,backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,"&:not([data-disabled])":e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]}),"&:active:not([data-disabled])":e.activeStyles,"&[data-disabled]":{opacity:.4,cursor:"not-allowed",pointerEvents:"none"},"&[data-active]":{borderColor:"transparent",color:s.color,backgroundColor:s.background,"&:not([data-disabled])":e.fn.hover({backgroundColor:s.hover})}}}}));t.Z=l},82623:function(e,t,r){r.d(t,{X:function(){return g}});var n=r(67294),o=r(73623),a=r(74574),i=r(71485),l=r(2566),s=(0,i.k)(((e,{radius:t,shadow:r})=>({root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,boxSizing:"border-box",borderRadius:e.fn.radius(t),boxShadow:e.shadows[r]||r||"none","&[data-with-border]":{border:`${(0,l.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`}}}))),c=r(64523),u=Object.defineProperty,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const b={},y=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Paper",b,e),{className:a,children:i,radius:l,withBorder:u,shadow:y,unstyled:g,variant:h}=r,v=((e,t)=>{var r={};for(var n in e)p.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))t.indexOf(n)<0&&f.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:w,cx:O}
1=s({radius:l,shadow:y},{name:"Paper",unstyled:g,variant:h});return n.createElement(c.x,((e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e})({className:O(w.root,a),"data-with-border":u||void 0,ref:t},v),i)}));y.displayName="@mantine/core/Paper";const g=(0,a.F)(y)},45528:function(e,t,r){r.d(t,{J:function(){return le}});var n=r(67294),o=r(83051),a=r(10753),i=r(58332),l=r(73623),s=r(15851),c=r(37048),u=r(24750),d=r(57398),p=r(42675),f=r(30212);function m(e,t){const r=[(0,u.cv)(e.offset)];return e.middlewares.shift&&r.push((0,u.uY)({limiter:(0,u.dr)()})),e.middlewares.flip&&r.push((0,u.RR)()),e.middlewares.inline&&r.push((0,u.Qo)()),r.push((0,d.x7)({element:e.arrowRef,padding:e.arrowOffset})),(e.middlewares.size||"target"===e.width)&&r.push((0,u.dp)({apply({rects:r,availableWidth:n,availableHeight:o}){var a,i;const l=null!=(i=null==(a=t().refs.floating.current)?void 0:a.style)?i:{};e.middlewares.size&&Object.assign(l,{maxWidth:`${n}px`,maxHeight:`${o}px`}),"target"===e.width&&Object.assign(l,{width:`${r.reference.width}px`})}})),r}var b=r(10542);const y="Popover component was not found in the tree",g="Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported",[h,v]=(0,b.R)(y);var w=r(80665),O=r(36883),x=r(64143),k=Object.defineProperty,S=Object.defineProperties,P=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,N=(e,t,r)=>t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,z=(e,t)=>{for(var r in t||(t={}))C.call(t,r)&&N(e,r,t[r]);if(E)for(var r of E(t))j.call(t,r)&&N(e,r,t[r]);return e};const I={refProp:"ref",popupType:"dialog",shouldOverrideDefaultTargetId:!0},D=(0,n.forwardRef)(((e,t)=>{const r=(0,l.N4)("PopoverTarget",I,e),{children:o,refProp:a,popupType:i,shouldOverrideDefaultTargetId:s}=r,c=((e,t)=>{var r={};for(var n in e)C.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&E)for(var n of E(e))t.indexOf(n)<0&&j.call(e,n)&&(r[n]=e[n]);return r})(r,["children","refProp","popupType","shouldOverrideDefaultTargetId"]);if(!(0,O.k)(o))throw new Error(g);const u=c,d=v(),p=(0,w.Y)(d.reference,o.ref,t),f=d.withRoles?{"aria-haspopup":i,"aria-expanded":d.opened,"aria-controls":d.getDropdownId(),id:s?d.getTargetId():o.props.id}:{};return(0,n.cloneElement)(o,z((m=z(z(z({},u),f),d.targetProps),b={className:(0,x.Z)(d.targetProps.className,u.className,o.props.className),[a]:p},S(m,P(b))),d.controlled?null:{onClick:d.onToggle}));var m,b}));D.displayName="@mantine/core/PopoverTarget";var R=r(2566),L=r(43185);function _(e,t={active:!0}){return"function"==typeof e&&t.active?r=>{var n;"Escape"===r.key&&(e(r),null==(n=t.onTrigger)||n.call(t))}:t.onKeyDown||L.Z}var A=r(96362),T=(0,r(71485).k)(((e,{radius:t,shadow:r})=>({dropdown:{position:"absolute",backgroundColor:e.white,background:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:`${(0,R.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]}`,padding:`${e.spacing.sm} ${e.spacing.md}`,boxShadow:e.shadows[r]||r||"none",borderRadius:e.fn.radius(t),"&:focus":{outline:0}},arrow:{backgroundColor:"inherit",border:`${(0,R.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]}`,zIndex:1}}))),$=r(83143),M=r(94277),F=r(45272),B=r(64523),W=r(63468),H=Object.defineProperty,G=Object.defineProperties,V=Object.getOwnPropertyDescriptors,Y=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,U=(e,t,r)=>t in e?H(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>{for(var r in t||(t={}))Z.call(t,r)&&U(e,r,t[r]);if(Y)for(var r of Y(t))K.call(t,r)&&U(e,r,t[r]);return e},X=(e,t)=>G(e,V(t)),J=(e,t)=>{var r={};for(var n in e)Z.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Y)for(var n of Y(e))t.indexOf(n)<0&&K.call(e,n)&&(r[n]=e[n]);return r};const Q={};function ee(e){var t;const r=(0,l.N4)("PopoverDropdown",Q,e),{style:o,className:a,children:i,onKeyDownCapture:s}=r,c=J(r,["style","className","children","onKeyDownCapture"]),u=v(),{
1classes:d,cx:p}=T({radius:u.radius,shadow:u.shadow},{name:u.__staticSelector,classNames:u.classNames,styles:u.styles,unstyled:u.unstyled,variant:u.variant}),f=(0,A.u)({opened:u.opened,shouldReturnFocus:u.returnFocus}),m=u.withRoles?{"aria-labelledby":u.getTargetId(),id:u.getDropdownId(),role:"dialog"}:{};return u.disabled?null:n.createElement($.q,X(q({},u.portalProps),{withinPortal:u.withinPortal}),n.createElement(M.u,X(q({mounted:u.opened},u.transitionProps),{transition:u.transitionProps.transition||"fade",duration:null!=(t=u.transitionProps.duration)?t:150,keepMounted:u.keepMounted,exitDuration:"number"==typeof u.transitionProps.exitDuration?u.transitionProps.exitDuration:u.transitionProps.duration}),(e=>{var t,r;return n.createElement(F.i,{active:u.trapFocus},n.createElement(B.x,q(X(q({},m),{tabIndex:-1,ref:u.floating,style:X(q(q({},o),e),{zIndex:u.zIndex,top:null!=(t=u.y)?t:0,left:null!=(r=u.x)?r:0,width:"target"===u.width?void 0:(0,R.h)(u.width)}),className:p(d.dropdown,a),onKeyDownCapture:_(u.onClose,{active:u.closeOnEscape,onTrigger:f,onKeyDown:s}),"data-position":u.placement}),c),i,n.createElement(W.Y,{ref:u.arrowRef,arrowX:u.arrowX,arrowY:u.arrowY,visible:u.withArrow,position:u.placement,arrowSize:u.arrowSize,arrowRadius:u.arrowRadius,arrowOffset:u.arrowOffset,arrowPosition:u.arrowPosition,className:d.arrow})))}
1)))}ee.displayName="@mantine/core/PopoverDropdown";var te=r(14870),re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=(e,t)=>{var r={};for(var n in e)ne.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&re)for(var n of re(e))t.indexOf(n)<0&&oe.call(e,n)&&(r[n]=e[n]);return r};const ie={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!1,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,i.w)("popover"),__staticSelector:"Popover",width:"max-content"};function le(e){var t,r,i,u,d,b;const y=(0,n.useRef)(null),g=(0,l.N4)("Popover",ie,e),{children:v,position:w,offset:O,onPositionChange:x,positionDependencies:k,opened:S,transitionProps:P,width:E,middlewares:C,withArrow:j,arrowSize:N,arrowOffset:z,arrowRadius:I,arrowPosition:D,unstyled:R,classNames:L,styles:_,closeOnClickOutside:A,withinPortal:T,portalProps:$,closeOnEscape:M,clickOutsideEvents:F,trapFocus:B,onClose:W,onOpen:H,onChange:G,zIndex:V,radius:Y,shadow:Z,id:K,defaultOpened:U,__staticSelector:q,withRoles:X,disabled:J,returnFocus:Q,variant:ee,keepMounted:re}=g,ne=ae(g,["children","position","offset","onPositionChange","positionDependencies","opened","transitionProps","width","middlewares","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","unstyled","classNames","styles","closeOnClickOutside","withinPortal","portalProps","closeOnEscape","clickOutsideEvents","trapFocus","onClose","onOpen","onChange","zIndex","radius","shadow","id","defaultOpened","__staticSelector","withRoles","disabled","returnFocus","variant","keepMounted"]),[oe,le]=(0,n.use
1State)(null),[se,ce]=(0,n.useState)(null),ue=(0,o.M)(K),de=(0,l.rZ)(),pe=function(e){const[t,r]=(0,s.C)({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),n=(0,p.YF)({placement:e.position,middleware:m(e,(()=>n))});return(0,f.L)({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies,floating:n}),(0,c.l)((()=>{var t;null==(t=e.onPositionChange)||t.call(e,n.placement)}),[n.placement]),(0,c.l)((()=>{var t,r;e.opened?null==(r=e.onOpen)||r.call(e):null==(t=e.onClose)||t.call(e)}),[e.opened]),{floating:n,controlled:"boolean"==typeof e.opened,opened:t,onClose:()=>{var t;null==(t=e.onClose)||t.call(e),r(!1)},onToggle:()=>{var n,o;t?(null==(n=e.onClose)||n.call(e),r(!1)):(null==(o=e.onOpen)||o.call(e),r(!0))}}}({middlewares:C,width:E,position:(0,te._)(de.dir,w),offset:"number"==typeof O?O+(j?N/2:0):O,arrowRef:y,arrowOffset:z,onPositionChange:x,positionDependencies:k,opened:S,defaultOpened:U,onChange:G,onOpen:H,onClose:W});(0,a.O)((()=>pe.opened&&A&&pe.onClose()),F,[oe,se]);const fe=(0,n.useCallback)((e=>{le(e),pe.floating.reference(e)}),[pe.floating.reference]),me=(0,n.useCallback)((e=>{ce(e),pe.floating.floating(e)}),[pe.floating.floating]);return n.createElement(h,{value:{returnFocus:Q,disabled:J,controlled:pe.controlled,reference:fe,floating:me,x:pe.floating.x,y:pe.floating.y,arrowX:null==(i=null==(r=null==(t=pe.floating)?void 0:t.middlewareData)?void 0:r.arrow)?void 0:i.x,arrowY:null==(b=null==(d=null==(u=pe.floating)?void 0:u.middlewareData)?void 0:d.arrow)?void 0:b.y,opened:pe.opened,arrowRef:y,transitionProps:P,width:E,withArrow:j,arrowSize:N,arrowOffset:z,arrowRadius:I,arrowPosition:D,placement:pe.floating.placement,trapFocus:B,withinPortal:T,portalProps:$,zIndex:V,radius:Y,shadow:Z,closeOnEscape:M,onClose:pe.onClose,onToggle:pe.onToggle,getTargetId:()=>`${ue}-target`,getDropdownId:()=>`${ue}-dropdown`,withRoles:X,targetProps:ne,__staticSelector:q,classNames:L,styles:_,unstyled:R,variant:ee,keepMounted:re}},v)}le.Target=D,le.Dropdown=ee,le.displayName="@mantine/core/Popover"},83143:function(e,t,r){r.d(t,{q:function(){return p}});var n=r(67294),o=r(40254),a=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&c(e,r,t[r]);return e},d=(e,t)=>{var r={};for(var n in e)l.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&i)for(var n of i(e))t.indexOf(n)<0&&s.call(e,n)&&(r[n]=e[n]);return r};function p(e){var t=e,{withinPortal:r=!0,children:a}=t,i=d(t,["withinPortal","children"]);return r?n.createElement(o.h,u({},i),a):n.createElement(n.Fragment,null,a)}p.displayName="@mantine/core/OptionalPortal"},40254:function(e,t,r){r.d(t,{h:function(){return g}});var n=r(67294),o=r(73935),a=r(10129),i=r(73623),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e},b=(e,t)=>s(e,c(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))t.indexOf(n)<0&&p.call(e,n)&&(r[n]=e[n]);return r};function g(e){const t=(0,i.N4)("Portal",{},e),{children:r,target:l,className:s,innerRef:c}=t,u=y(t,["children","target","className","innerRef"]),d=(0,i.rZ)(),[p,f]=(0,n.useState)(!1),g=(0,n.useRef)();return(0,a.Y)((()=>(f(!0),g.current=l?"string"==typeof l?document.querySelector(l):l:document.createElement("div"),l||document.body.appendChild(g.current),()=>{!l&&document.body.removeChild(g.current)})),[l]),p?(0,o.createPortal)(n.createElement("div",b(m({className:s,dir:d.dir},u),{ref:c}),r),g.current):null}g.displayName="@mantine/core/Portal"},3941:function(e,t,r){r.d(t,{E:function(){return E}});var n=r(67294),o=r(73623),a=r(2566),i=r(70917),l=r(71485),s=r(21434);const c={xs:(0,a.h)(3),sm:(0,a.h)(5),md:(0,a.h)(8),lg:(0,a.h)(12),xl:(0,a.h)(16)},u=(0,i.keyframes)({from:{backgroundPosition:"0 0"},to:{backgroundPosition:`${(0,a.h)(40)} 0`}});var d=(0,l.k)(((e,{color:t,radius:r},{size:n})=>({root:{position:"relative",height:(0,s.a)({size:n,sizes:c}),backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],borderRadius:e.fn.radius(r),overflow:"hidden"},bar:{position:"absolute",top:0,bottom:0,left:0,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:t||e.primaryColor}).background,transition:"width 100ms linear","&[data-animate]":{animation:`${u} 1000ms linear infinite`},"&[data-striped]":{backgroundSize:`${(0,a.h)(20)} ${(0,a.h)(20)}`,backgroundImage:"linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)"},"&:last-of-type":{borderTopRightRadius:e.fn.radius(r),borderBottomRightRadius:e.fn.radius(r)},"&:first-of-type":{borderTopLeftRadius:e.fn.radius(r),borderBottomLeftRadius:e.fn.radius(r)},"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},label:{color:e.white,fontSize:`calc(${(0,s.a)({size:n,sizes:c})}
1 * 0.65)`,fontWeight:700,userSelect:"none",overflow:"hidden",whiteSpace:"nowrap"}}))),p=r(88393),f=r(64523),m=r(95117),b=Object.defineProperty,y=Object.defineProperties,g=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))v.call(t,r)&&O(e,r,t[r]);if(h)for(var r of h(t))w.call(t,r)&&O(e,r,t[r]);return e},k=(e,t)=>y(e,g(t)),S=(e,t)=>{var r={};for(var n in e)v.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&h)for(var n of h(e))t.indexOf(n)<0&&w.call(e,n)&&(r[n]=e[n]);return r};const P={size:"md",radius:"sm",striped:!1,animate:!1,label:""},E=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Progress",P,e),{className:a,value:i,color:l,size:s,radius:c,striped:u,animate:b,label:y,"aria-label":g,classNames:h,styles:v,sections:w,unstyled:O,variant:E}=r,C=S(r,["className","value","color","size","radius","striped","animate","label","aria-label","classNames","styles","sections","unstyled","variant"]),{classes:j,cx:N,theme:z}=d({color:l,radius:c},{name:"Progress",classNames:h,styles:v,unstyled:O,variant:E,size:s}),I=Array.isArray(w)?function(e){return e.reduce(((e,t)=>(e.sections.push(k(x({},t),{accumulated:e.accumulated})),e.accumulated+=t.value,e)),{accumulated:0,sections:[]}).sections}(w).map(((e,t)=>{var r=e,{tooltip:o,accumulated:a,value:i,label:l,color:s}=r,c=S(r,["tooltip","accumulated","value","label","color"]);return n.createElement(p.u.Floating,{label:o,disabled:!o,key:t},n.createElement(f.x,k(x({},c),{className:N(j.bar,c.className),"data-striped":u||b||void 0,"data-animate":b||void 0,sx:{width:`${i}%`,left:`${a}%`,backgroundColor:z.fn.variant({variant:"filled",primaryFallback:!1,color:s||z.primaryColor}).background}}),l&&n.createElement(m.x,{className:j.label},l)))})):null;return n.createElement(f.x,x({className:N(j.root,a),ref:t},C),I||n.createElement("div",{role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":i,"aria-label":g,className:j.bar,style:{width:`${i}%`},"data-striped":u||b||void 0,"data-animate":b||void 0},y?n.createElement(m.x,{className:j.label},y):""))}));E.displayName="@mantine/core/Progress"},88854:function(e,t,r){r.d(t,{x:function(){return P}});var n=r(67294),o=r(70403),a=r(73623),i=r(63706),l=r(71485),s=r(2566),c=r(6483),u=(0,l.k)(((e,{scrollbarSize:t,offsetScrollbars:r,scrollbarHovered:n,hidden:o})=>({root:{overflow:"hidden"},viewport:{width:"100%",height:"100%",paddingRight:r?(0,s.h)(t):void 0,paddingBottom:r?(0,s.h)(t):void 0},scrollbar:{display:o?"none":"flex",userSelect:"none",touchAction:"none",boxSizing:"border-box",padding:`calc(${(0,s.h)(t)} / 5)`,transition:"background-color 150ms ease, opacity 150ms ease","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0],[`& .${(0,c.A)("thumb")}`]:{backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.white,.5):e.fn.rgba(e.black,.5)}},'&[data-orientation="vertical"]':{width:(0,s.h)(t)},'&[data-orientation="horizontal"]':{flexDirection:"column",height:(0,s.h)(t)},'&[data-state="hidden"]':{display:"none",opacity:0}},thumb:{ref:(0,c.A)("thumb"),flex:1,backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.white,.4):e.fn.rgba(e.black,.4),borderRadius:(0,s.h)(t),position:"relative",transition:"background-color 150ms ease",display:o?"none":void 0,overflow:"hidden","&::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%",minWidth:(0,s.h)(44),minHeight:(0,s.h)(44)}},corner:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],transition:"opacity 150ms ease",opacity:n?1:0,display:o?"none":void 0}}))),d=r(64523),p=Object.defineProperty,f=Object.defineProperties,m=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&h(e,r,t[r]);if(b)for(var r of b(t))g.call(t,r)&&h(e,r,t[r]);return e},w=(e,t)=>f(e,m(t)),O=(e,t)=>{var r={};for(var n in e)y.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&b)for(var n of b(e))t.indexOf(n)<0&&g.call(e,n)&&(r[n]=e[n]);return r};const x={scrollbarSize:12,scrollHideDelay:1e3,type:"hover",offsetScrollbars:!1},k=(0,n.forwardRef)(((e,t)=>{const r=(0,a.N4)("ScrollArea",x,e),{children:i,className:l,classNames:s,styles:c,scrollbarSize:p,scrollHideDelay:f,type:m,dir:b,offsetScrollbars:y,viewportRef:g,onScrollPositionChange:h,unstyled:k,variant:S,viewportProps:P}=r,E=O(r,["children","className","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","variant","viewportProps"]),[C,j]=(0,n.use
1State)(!1),N=(0,a.rZ)(),{classes:z,cx:I}=u({scrollbarSize:p,offsetScrollbars:y,scrollbarHovered:C,hidden:"never"===m},{name:"ScrollArea",classNames:s,styles:c,unstyled:k,variant:S});return n.createElement(o.fC,{type:"never"===m?"always":m,scrollHideDelay:f,dir:b||N.dir,ref:t,asChild:!0},n.createElement(d.x,v({className:I(z.root,l)},E),n.createElement(o.l_,w(v({},P),{className:z.viewport,ref:g,onScroll:"function"==typeof h?({currentTarget:e})=>h({x:e.scrollLeft,y:e.scrollTop}):void 0}),i),n.createElement(o.LW,{orientation:"horizontal",className:z.scrollbar,forceMount:!0,onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1)},n.createElement(o.bU,{className:z.thumb})),n.createElement(o.LW,{orientation:"vertical",className:z.scrollbar,forceMount:!0,onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1)},n.createElement(o.bU,{className:z.thumb})),n.createElement(o.Ns,{className:z.corner})))})),S=(0,n.forwardRef)(((e,t)=>{const r=(0,a.N4)("ScrollAreaAutosize",x,e),{children:o,classNames:l,styles:s,scrollbarSize:c,scrollHideDelay:u,type:p,dir:f,offsetScrollbars:m,viewportRef:b,onScrollPositionChange:y,unstyled:g,sx:h,variant:S,viewportProps:P}=r,E=O(r,["children","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","sx","variant","viewportProps"]);return n.createElement(d.x,w(v({},E),{ref:t,sx:[{display:"flex"},...(0,i.R)(h)]}),n.createElement(d.x,{sx:{display:"flex",flexDirection:"column",flex:1}},n.createElement(k,{classNames:l,styles:s,scrollHideDelay:u,scrollbarSize:c,type:p,dir:f,offsetScrollbars:m,viewportRef:b,onScrollPositionChange:y,unstyled:g,variant:S,viewportProps:P},o)))}));S.displayName="@mantine/core/ScrollAreaAutosize",k.displayName="@mantine/core/ScrollArea",k.Autosize=S;const P=k},69469:function(e,t,r){r.d(t,{M:function(){return S}});var n=r(67294),o=r(73623),a=r(71485),i=r(21434),l=r(12681),s=r(2566),c=r(83687),u=Object.defineProperty,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e},y=(0,a.k)(((e,{spacing:t,breakpoints:r,cols:n,verticalSpacing:o})=>{const a=null!=o,u=(0,c.I)(e,r).reduce(((r,n)=>{var c,u;const d="maxWidth"in n?"max-width":"min-width",p=(0,i.a)({size:"max-width"===d?n.maxWidth:n.minWidth,sizes:e.breakpoints,units:"em"}),f=(0,l.oI)(p)-("max-width"===d?1:0);return r[`@media (${d}: ${(0,s.em)(f)})`]={gridTemplateColumns:`repeat(${n.cols}, minmax(0, 1fr))`,gap:`${(0,i.a)({size:null!=(c=n.verticalSpacing)?c:a?o:t,sizes:e.spacing})} ${(0,i.a)({size:null!=(u=n.spacing)?u:t,sizes:e.spacing})}`},r}),{});return{root:b({boxSizing:"border-box",display:"grid",gridTemplateColumns:`repeat(${n}, minmax(0, 1fr))`,gap:`${(0,i.a)({size:a?o:t,sizes:e.spacing})} ${(0,i.a)({size:t,sizes:e.spacing})}`},u)}})),g=r(64523),h=Object.defineProperty,v=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,x=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const k={breakpoints:[],cols:1,spacing:"md"},S=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("SimpleGrid",k,e),{className:a,breakpoints:i,cols:l,spacing:s,verticalSpacing:c,children:u,unstyled:d,variant:p}=r,f=((e,t)=>{var r={};for(var n in e)w.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&v)for(var n of v(e))t.indexOf(n)<0&&O.call(e,n)&&(r[n]=e[n]);return r})(r,["className","breakpoints","cols","spacing","verticalSpacing","children","unstyled","variant"]),{classes:m,cx:b}=y({breakpoints:i,cols:l,spacing:s,verticalSpacing:c},{name:"SimpleGrid",unstyled:d,variant:p});return n.createElement(g.x,((e,t)=>{for(var r in t||(t={}))w.call(t,r)&&x(e,r,t[r]);if(v)for(var r of v(t))O.call(t,r)&&x(e,r,t[r]);return e})({className:b(m.root,a),ref:t},f),u)}));S.displayName="@mantine/core/SimpleGrid"},83687:function(e,t,r){r.d(t,{I:function(){return a}});var n=r(12681),o=r(21434);function a(e,t){if(0===t.length)return t;const r="maxWidth"in t[0]?"maxWidth":"minWidth",a=[...t].sort(((t,a)=>(0,n.oI)((0,o.a)({size:a[r],sizes:e.breakpoints}))-(0,n.oI)((0,o.a)({size:t[r],sizes:e.breakpoints}))));return"minWidth"===r?a.reverse():a}},97564:function(e,t,r){r.d(t,{K:function(){return b}});var n=r(67294),o=r(73623),a=r(71485),i=r(21434),l=(0,a.k)(((e,{spacing:t,align:r,justify:n})=>({root:{display:"flex",flexDirection:"column",alignItems:r,justifyContent:n,gap:(0,i.a)({size:t,sizes:e.spacing})}}))),s=r(64523),c=Object.defineProperty,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const m={spacing:"md",align:"stretch",justify:"flex-start"},b=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Stack",m,e),{spacing:a,className:i,align:c,justify:b,unstyled:y,variant:g}=r,h=((e,t)=>{var r={};for(var n in e)d.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))t.indexOf(n)<0&&p.call(e,n)&&(r[n]=e[n]);return r})(r,["spacing","className","align","justify","unstyled","variant"]),{classes:v,cx:w}=l({spacing:a,align:c,justify:b},{name:"Stack",unstyled:y,variant:g});return n.createElement(s.x,((e,t)=>{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e})({className:w(v.root,i),ref:t},h))}));b.displayName="@mantine/core/Stack"},95078:function(e,t,r){r.d(t,{i:function(){return E}});var n=r(67294),o=r(73623),a=r(71485),i=r(2566),l=r(21434),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e},y=(0,a.k)(((e,{captionSide:t,horizontalSpacing:r,verticalSpacing:n,fontSize:o,withBorder:a,withColumnBorders:s})=>{const d=`${(0,i.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`;return{root:(p=b({},e.fn.fontStyles()),f={width:"100%",borderCollapse:"collapse",captionSide:t,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,border:a?d:void 0,"& > caption":{marginTop:"top"===t?0:e.spacing.xs,marginBottom:"bottom"===t?0:e.spacing.xs,fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]},"& > thead > tr > th, & > tfoot > tr > th, & > tbody > tr > th":{textAlign:"left",fontWeight:"bold",color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],fontSize:(0,l.a)({size:o,sizes:e.fontSizes}),padding:`${(0,l.a)({size:n,sizes:e.spacing})} ${(0,l.a)({size:r,sizes:e.spacing})}`},"& > thead > tr > th":{borderBottom:d},"& > tfoot > tr > th, & > tbody > tr > th":{borderTop:d},"& > tbody > tr > td":{padding:`${(0,l.a)({size:n,sizes:e.spacing})} ${(0,l.a)({size:r,sizes:e.spacing})}`,borderTop:d,fontSize:(0,l.a)({size:o,sizes:e.fontSizes})},"& > tbody > tr:first-of-type > td, & > tbody > tr:first-of-type > th":{borderTop:"none"},"& > thead > tr > th, & > tbody > tr > td":{borderRight:s?d:"none","&:last-of-type":{borderRight:"none",borderLeft:s?d:"none"}},"& > tbody > tr > th":{borderRight:s?d:"none"},"&[data-striped] > tbody > tr:nth-of-type(odd)":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]},"&[data-hover] > tbody > tr":e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1]})},c(p,u(f)))};var p,f})),g=r(64523),h=Object.defineProperty,v=Object.defineProperties,w=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,S=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const P={striped:!1,highlightOnHover:!1,captionSide:"top",horizontalSpacing:"xs",fontSize:"sm",verticalSpacing:7,withBorder:!1,withColumnBorders:!1},E=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Table",P,e),{className:a,children:i,striped:l,highlightOnHover:s,captionSide:c,horizontalSpacing:u,verticalSpacing:d,fontSize:p,unstyled:f,withBorder:m,withColumnBorders:b,variant:h}=r,E=((e,t)=>{var r={};for(var n in e)x.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&O)for(var n of O(e))t.indexOf(n)<0&&k.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","striped","highlightOnHover","captionSide","horizontalSpacing","verticalSpacing","fontSize","unstyled","withBorder","withColumnBorders","variant"]),{classes:C,cx:j}=y({captionSide:c,verticalSpacing:d,horizontalSpacing:u,fontSize:p,withBorder:m,withColumnBorders:b},{unstyled:f,name:"Table",variant:h});return n.createElement(g.x,(N=((e,t)=>{for(var r in t||(t={}))x.call(t,r)&&S(e,r,t[r]);if(O)for(var r of O(t))k.call(t,r)&&S(e,r,t[r]);return e})({},E),z={component:"table",ref:t,className:j(C.root,a),"data-striped":l||void 0,"data-hover":s||void 0},v(N,w(z))),i);var N,z}));E.displayName="@mantine/core/Table"},80579:function(e,t,r){r.d(t,{m:function(){return xe}});var n=r(67294),o=r(73623),a=r(10542);const i={context:"Tabs component was not found in the tree",value:"Tabs.Tab or Tabs.Panel component was rendered with invali
1d value or without value"},[l,s]=(0,a.R)(i.context);var c=r(2566),u=r(71485),d=r(89893),p=Object.defineProperty,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&y(e,r,t[r]);if(f)for(var r of f(t))b.call(t,r)&&y(e,r,t[r]);return e};function h({orientation:e,inverted:t,placement:r},n,o){const a="vertical"===e;return"default"===o?{[a?"left"===r?"borderRight":"borderLeft":t?"borderTop":"borderBottom"]:`${(0,c.h)(2)} solid ${"dark"===n.colorScheme?n.colors.dark[4]:n.colors.gray[3]}`}:"outline"===o?{[a?"left"===r?"borderRight":"borderLeft":t?"borderTop":"borderBottom"]:`${(0,c.h)(1)} solid ${"dark"===n.colorScheme?n.colors.dark[4]:n.colors.gray[3]}`}:"pills"===o?{gap:`calc(${n.spacing.sm} / 2)`}:{}}var v=(0,u.k)(((e,t,{variant:r})=>{const n="vertical"===t.orientation;return{tabsList:g({display:"flex",flexWrap:"wrap",flexDirection:n?"column":"row",justifyContent:d.H[t.position],'& [role="tab"]':{flex:t.grow?1:void 0}},h(t,e,r))}})),w=r(64523),O=Object.defineProperty,x=Object.defineProperties,k=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,C=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const j={grow:!1,position:"left"},N=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("TabsList",j,e),{children:a,className:i,grow:l,position:c}=r,u=((e,t)=>{var r={};for(var n in e)P.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&S)for(var n of S(e))t.indexOf(n)<0&&E.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","grow","position"]),{orientation:d,variant:p,color:f,radius:m,inverted:b,placement:y,classNames:g,styles:h,unstyled:O}=s(),{classes:N,cx:z}=v({orientation:d,grow:l,color:f,position:c,radius:m,inverted:b,placement:y},{name:"Tabs",unstyled:O,classNames:g,styles:h,variant:p});return n.createElement(w.x,(I=((e,t)=>{for(var r in t||(t={}))P.call(t,r)&&C(e,r,t[r]);if(S)for(var r of S(t))E.call(t,r)&&C(e,r,t[r]);return e})({},u),D={className:z(N.tabsList,i),ref:t,role:"tablist","aria-orientation":d},x(I,k(D))),a);var I,D}));N.displayName="@mantine/core/TabsList";var z=r(63706),I=(0,u.k)(((e,{orientation:t})=>({panel:{flex:"vertical"===t?1:void 0}}))),D=Object.defineProperty,R=Object.defineProperties,L=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,$=(e,t,r)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const M={},F=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("TabsPanel",M,e),{value:a,children:i,sx:l,className:c}=r,u=((e,t)=>{var r={};for(var n in e)A.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&_)for(var n of _(e))t.indexOf(n)<0&&T.call(e,n)&&(r[n]=e[n]);return r})(r,["value","children","sx","className"]),d=s(),{classes:p,cx:f}=I({orientation:d.orientation,color:d.color,radius:d.radius,inverted:d.inverted,placement:d.placement},{name:"Tabs",unstyled:d.unstyled,classNames:d.classNames,styles:d.styles,variant:d.variant}),m=d.getPanelId(a),b=d.value===a,y=d.keepMounted||b?i:null;return(0,n.useEffect)((()=>(d.setMountedPanelIds((e=>[...e,m])),d.setMountedPanelIds((e=>e.filter((e=>e!==m)))))),[m]),n.createElement(w.x,(g=((e,t)=>{for(var r in t||(t={}))A.call(t,r)&&$(e,r,t[r]);if(_)for(var r of _(t))T.call(t,r)&&$(e,r,t[r]);return e})({},u),h={ref:t,sx:[{display:b?void 0:"none"},...(0,z.R)(l)],className:f(p.panel,c),role:"tabpanel",id:m,"aria-labelledby":d.getTabId(a)},R(g,L(h))),y);var g,h}));F.displayName="@mantine/core/TabsPanel";var B=r(38078),W=Object.defineProperty,H=Object.defineProperties,G=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,K=(e,t,r)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,U=(e,t)=>{for(var r in t||(t={}))Y.call(t,r)&&K(e,r,t[r]);if(V)for(var r of V(t))Z.call(t,r)&&K(e,r,t[r]);return e},q=(e,t)=>
1H(e,G(t));function X(e,{orientation:t,color:r,radius:n,inverted:o,placement:a},i){const l="vertical"===t,s=e.fn.variant({color:r,variant:"filled"}),u=(0,c.h)(e.fn.radius(n)),d="vertical"===t?"left"===a?`${u} 0 0 ${u}`:` 0 ${u} ${u} 0`:o?`0 0 ${u} ${u}`:`${u} ${u} 0 0`;return"default"===i?q(U({[l?"left"===a?"borderRight":"borderLeft":o?"borderTop":"borderBottom"]:`${(0,c.h)(2)} solid transparent`,[l?"left"===a?"marginRight":"marginLeft":o?"marginTop":"marginBottom"]:(0,c.h)(-2),borderRadius:d},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]})),{"&[data-active]":U({borderColor:s.background,color:"dark"===e.colorScheme?e.white:e.black},e.fn.hover({borderColor:s.background}))}):"outline"===i?{borderRadius:d,border:`${(0,c.h)(1)} solid transparent`,[l?"left"===a?"borderRight":"borderLeft":o?"borderTop":"borderBottom"]:"none","&[data-active]":{borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],"&::before":{content:'""',backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,position:"absolute",bottom:l?0:o?"unset":(0,c.h)(-1),top:l?0:o?(0,c.h)(-1):"unset",[l?"width":"height"]:(0,c.h)(1),right:l?"left"===a?(0,c.h)(-1):"unset":0,left:l?"left"===a?"unset":(0,c.h)(-1):0}}}:"pills"===i?q(U({borderRadius:e.fn.radius(n)},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]})),{"&[data-active]":U({backgroundColor:s.background,color:e.white},e.fn.hover({backgroundColor:s.background}))}):{}}var J=(0,u.k)(((e,t,{variant:r})=>({tabLabel:{},tab:U({position:"relative",padding:`${e.spacing.xs} ${e.spacing.md}`,paddingLeft:t.withIcon?e.spacing.xs:void 0,paddingRight:t.withRightSection?e.spacing.xs:void 0,fontSize:e.fontSizes.sm,whiteSpace:"nowrap",zIndex:0,display:"flex",alignItems:"center",justifyContent:"horizontal"===t.orientation?"center":void 0,lineHeight:1,"&:disabled":U({opacity:.5,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"})),"&:focus":{zIndex:1}},X(e,t,r)),tabRightSection:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginLeft:(0,c.h)(7)}},tabIcon:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginRight:(0,c.h)(7)}}}))),Q=r(34736),ee=Object.defineProperty,te=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ie=(e,t,r)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const le={},se=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("TabsTab",le,e),{value:a,children:i,onKeyDown:l,onClick:c,className:u,icon:d,rightSection:p,color:f}=r,m=((e,t)=>{var r={};for(var n in e)oe.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ne)for(var n of ne(e))t.indexOf(n)<0&&ae.call(e,n)&&(r[n]=e[n]);return r})(r,["value","children","onKeyDown","onClick","className","icon","rightSection","color"]),b=s(),y=!!d,g=!!p,{theme:h,classes:v,cx:w}=J({withIcon:y||g&&!i,withRightSection:g||y&&!i,orientation:b.orientation,color:f||b.color,radius:b.radius,inverted:b.inverted,placement:b.placement},{name:"Tabs",unstyled:b.unstyled,classNames:b.classNames,styles:b.styles,variant:b.variant}),O=a===b.value,x=b.getPanelId(a),k=b.mountedPanelIds.includes(a)?x:void 0;return n.createElement(Q.k,(S=((e,t)=>{for(var r in t||(t={}))oe.call(t,r)&&ie(e,r,t[r]);if(ne)for(var r of ne(t))ae.call(t,r)&&ie(e,r,t[r]);return e})({},m),P={unstyled:b.unstyled,className:w(v.tab,u),"data-active":O||void 0,ref:t,type:"button",role:"tab",id:b.getTabId(a),"aria-selected":O,tabIndex:O||null===b.value?0:-1,"aria-controls":k,onClick:e=>{b.onTabChange(b.allowTabDeactivation&&a===b.value?null:a),null==c||c(e)},onKeyDown:(0,B.R)({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:b.activateTabWithKeyboard,loop:b.loop,dir:h.dir,orientation:b.orientation,onKeyDown:l})},te(S,re(P))),d&&n.createElement("span",{className:v.tabIcon},d),i&&n.createElement("span",{className:v.tabLabel},i),p&&n.createElement("span",{className:v.tabRightSection},p));var S,P}));
1se.displayName="@mantine/core/Tab";var ce=r(31986),ue=r(83051),de=r(15851);function pe({defaultValue:e,value:t,onTabChange:r,orientation:o,children:a,loop:s,id:c,activateTabWithKeyboard:u,allowTabDeactivation:d,variant:p,color:f,radius:m,inverted:b,placement:y,keepMounted:g=!0,classNames:h,styles:v,unstyled:w}){const O=(0,ue.M)(c),[x,k]=(0,n.useState)([]),[S,P]=(0,de.C)({value:t,defaultValue:e,finalValue:null,onChange:r});return n.createElement(l,{value:{placement:y,value:S,orientation:o,id:O,loop:s,activateTabWithKeyboard:u,getTabId:(0,ce.A)(`${O}-tab`,i.value),getPanelId:(0,ce.A)(`${O}-panel`,i.value),onTabChange:P,setMountedPanelIds:k,mountedPanelIds:x,allowTabDeactivation:d,variant:p,color:f,radius:m,inverted:b,keepMounted:g,classNames:h,styles:v,unstyled:w}},a)}pe.displayName="@mantine/core/TabsProvider";var fe=(0,u.k)(((e,{orientation:t,placement:r})=>({root:{display:"vertical"===t?"flex":void 0,flexDirection:"right"===r?"row-reverse":"row"}}))),me=Object.defineProperty,be=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(e,t,r)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Oe={orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,allowTabDeactivation:!1,unstyled:!1,inverted:!1,variant:"default",placement:"left"},xe=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Tabs",Oe,e),{defaultValue:a,value:i,orientation:l,loop:s,activateTabWithKeyboard:c,allowTabDeactivation:u,children:d,id:p,onTabChange:f,variant:m,color:b,className:y,unstyled:g,classNames:h,styles:v,radius:O,inverted:x,keepMounted:k,placement:S}=r,P=((e,t)=>{var r={};for(var n in e)he.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ge)for(var n of ge(e))t.indexOf(n)<0&&ve.call(e,n)&&(r[n]=e[n]);return r})(r,["defaultValue","value","orientation","loop","activateTabWithKeyboard","allowTabDeactivation","children","id","onTabChange","variant","color","className","unstyled","classNames","styles","radius","inverted","keepMounted","placement"]),{classes:E,cx:C}=fe({orientation:l,color:b,radius:O,inverted:x,placement:S},{unstyled:g,name:"Tabs",classNames:h,styles:v,variant:m});return n.createElement(pe,{activateTabWithKeyboard:c,defaultValue:a,orientation:l,onTabChange:f,value:i,id:p,loop:s,allowTabDeactivation:u,color:b,variant:m,radius:O,inverted:x,keepMounted:k,placement:S,classNames:h,styles:v,unstyled:g},n.createElement(w.x,(j=((e,t)=>{for(var r in t||(t={}))he.call(t,r)&&we(e,r,t[r]);if(ge)for(var r of ge(t))ve.call(t,r)&&we(e,r,t[r]);return e})({},P),N={className:C(E.root,y),id:p,ref:t},be(j,ye(N))),d));var j,N}));xe.List=N,xe.Tab=se,xe.Panel=F,xe.displayName="@mantine/core/Tabs"},95117:function(e,t,r){r.d(t,{x:function(){return N}});var n=r(67294),o=r(73623),a=r(74574),i=r(71485),l=r(21434),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e};function y({underline:e,strikethrough:t}){const r=[];return e&&r.push("underline"),t&&r.push("line-through"),r.length>0?r.join(" "):"none"}function g({theme:e,color:t}){return"dimmed"===t?e.fn.dimmed():"string"==typeof t&&(t in e.colors||t.split(".")[0]in e.colors)?e.fn.variant({variant:"filled",color:t}).background:t||"inherit"}function h(e){return"number"==typeof e?{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical"}:null}function v({theme:e,truncate:t}){return"start"===t?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",direction:"ltr"===e.dir?"rtl":"ltr",textAlign:"ltr"===e.dir?"right":"left"}:t?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:null}var w=(0,i.k)(((e,{color:t,lineClamp:r,truncate:n,inline:o,inherit:a,underline:i,gradient:s,weight:d,transform:p,align:f,strikethrough:m,italic:w},{size:O})=>{const x=e.fn.variant({variant:"gradient",gradient:s});return{root:(k=b(b(b(b({},e.fn.fontStyles()),e.fn.focusStyles()),h(r)),v({theme:e,truncate:n})),S={color:g({color:t,theme:e}),fontFamily:a?"inherit":e.fontFamily,fontSize:a||void 0===O?"inherit":(0,l.a)({size:O,sizes:e.fontSizes}),lineHeight:a?"inherit":o?1:e.lineHeight,textDecoration:y({underline:i,strikethrough:m}),WebkitTapHighlightColor:"transparent",fontWeight:a?"inherit":d,textTransform:p,textAlign:f,fontStyle:w?"italic":void 0},c(k,u(S))),gradient:{backgroundImage:x.background,WebkitBackgroun
1dClip:"text",WebkitTextFillColor:"transparent"}};var k,S})),O=r(64523),x=Object.defineProperty,k=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,E=(e,t,r)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const C={variant:"text"},j=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Text",C,e),{className:a,size:i,weight:l,transform:s,color:c,align:u,variant:d,lineClamp:p,truncate:f,gradient:m,inline:b,inherit:y,underline:g,strikethrough:h,italic:v,classNames:x,styles:j,unstyled:N,span:z,__staticSelector:I}=r,D=((e,t)=>{var r={};for(var n in e)S.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&k)for(var n of k(e))t.indexOf(n)<0&&P.call(e,n)&&(r[n]=e[n]);return r})(r,["className","size","weight","transform","color","align","variant","lineClamp","truncate","gradient","inline","inherit","underline","strikethrough","italic","classNames","styles","unstyled","span","__staticSelector"]),{classes:R,cx:L}=w({color:c,lineClamp:p,truncate:f,inline:b,inherit:y,underline:g,strikethrough:h,italic:v,weight:l,transform:s,align:u,gradient:m},{unstyled:N,name:I||"Text",variant:d,size:i});return n.createElement(O.x,((e,t)=>{for(var r in t||(t={}))S.call(t,r)&&E(e,r,t[r]);if(k)for(var r of k(t))P.call(t,r)&&E(e,r,t[r]);return e})({ref:t,className:L(R.root,{[R.gradient]:"gradient"===d},a),component:z?"span":"div"},D))}));j.displayName="@mantine/core/Text";const N=(0,a.F)(j)},80061:function(e,t,r){r.d(t,{o:function(){return b}});var n=r(67294),o=r(66261),a=r(94151),i=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e};const m={type:"text",size:"sm",__staticSelector:"TextInput"},b=(0,n.forwardRef)(((e,t)=>{const r=(0,o.k)("TextInput",m,e),{inputProps:i,wrapperProps:p}=r,b=((e,t)=>{var r={};for(var n in e)u.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&c)for(var n of c(e))t.indexOf(n)<0&&d.call(e,n)&&(r[n]=e[n]);return r})(r,["inputProps","wrapperProps"]);return n.createElement(a.I.Wrapper,f({},p),n.createElement(a.I,(y=f(f({},i),b),l(y,s({ref:t})))));var y}));b.displayName="@mantine/core/TextInput"},88393:function(e,t,r){r.d(t,{u:function(){return ae}});var n=r(67294),o=r(36883),a=r(80665),i=r(58332),l=r(73623),s=r(42675);const c=(0,n.createContext)(!1),u=c.Provider,d=()=>(0,n.useContext)(c);function p({children:e,openDelay:t=0,closeDelay:r=0}){return n.createElement(u,{value:!0},n.createElement(s.e0,{delay:{open:t,close:r}},e))}p.displayName="@mantine/core/TooltipGroup";var f=r(71485),m=Object.defineProperty,b=Object.defineProperties,y=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,w=(e,t,r)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,O=(e,t)=>{for(var r in t||(t={}))h.call(t,r)&&w(e,r,t[r]);if(g)for(var r of g(t))v.call(t,r)&&w(e,r,t[r]);return e};function x(e,t){if(!t)return{backgroundColor:"dark"===e.colorScheme?e.colors.gray[2]:e.colors.gray[9],color:"dark"===e.colorScheme?e.black:e.white};const r=e.fn.variant({variant:"filled",color:t,primaryFallback:!1});return{backgroundColor:r.background,color:r.color}}var k=(0,f.k)(((e,{color:t,radius:r,width:n,multiline:o})=>{return{tooltip:(a=O(O({},e.fn.fontStyles()),x(e,t)),i={lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,borderRadius:e.fn.radius(r),padding:`calc(${e.spacing.xs} / 2) ${e.spacing.xs}`,position:"absolute",whiteSpace:o?"unset":"nowrap",pointerEvents:"none",width:n},b(a,y(i))),arrow:{backgroundColor:"inherit",border:0,zIndex:1}};var a,i}));const S={children:"Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"};var P=r(24750),E=r(37317);var C=r(83143),j=r(64523),N=Object.defineProperty,z=Object.defineProperties,I=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,_=(e,t,r)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,A=(e,t)=>
1{for(var r in t||(t={}))R.call(t,r)&&_(e,r,t[r]);if(D)for(var r of D(t))L.call(t,r)&&_(e,r,t[r]);return e},T=(e,t)=>z(e,I(t)),$=(e,t)=>{var r={};for(var n in e)R.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&D)for(var n of D(e))t.indexOf(n)<0&&L.call(e,n)&&(r[n]=e[n]);return r};const M={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:(0,i.w)("popover")};function F(e){var t;const r=(0,l.N4)("TooltipFloating",M,e),{children:i,refProp:c,withinPortal:u,portalProps:d,style:p,className:f,classNames:m,styles:b,unstyled:y,radius:g,color:h,label:v,offset:w,position:O,multiline:x,width:N,zIndex:z,disabled:I,variant:D}=r,R=$(r,["children","refProp","withinPortal","portalProps","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled","variant"]),{handleMouseMove:L,x:_,y:F,opened:B,boundaryRef:W,floating:H,setOpened:G}=function({offset:e,position:t}){const[r,o]=(0,n.useState)(!1),a=(0,n.useRef)(),{x:i,y:l,reference:c,floating:u,refs:d,update:p,placement:f}=(0,s.YF)({placement:t,middleware:[(0,P.uY)({crossAxis:!0,padding:5,rootBoundary:"document"})]}),m=f.includes("right")?e:t.includes("left")?-1*e:0,b=f.includes("bottom")?e:t.includes("top")?-1*e:0,y=(0,n.useCallback)((({clientX:e,clientY:t})=>{c({getBoundingClientRect(){return{width:0,height:0,x:e,y:t,left:e+m,top:t+b,right:e,bottom:t}}})}),[c]);return(0,n.useEffect)((()=>{if(d.floating.current){const e=a.current;e.addEventListener("mousemove",y);const t=(0,E.Kx)(d.floating.current);return t.forEach((e=>{e.addEventListener("scroll",p)})),()=>{e.removeEventListener("mousemove",y),t.forEach((e=>{e.removeEventListener("scroll",p)}))}}}),[c,d.floating.current,p,y,r]),{handleMouseMove:y,x:i,y:l,opened:r,setOpened:o,boundaryRef:a,floating:u}}({offset:w,position:O}),{classes:V,cx:Y}=k({radius:g,color:h,multiline:x,width:N},{name:"TooltipFloating",classNames:m,styles:b,unstyled:y,variant:D});if(!(0,o.k)(i))throw new Error(S.children);const Z=(0,a.Y)(W,i.ref);return n.createElement(n.Fragment,null,n.createElement(C.q,T(A({},d),{withinPortal:u}),n.createElement(j.x,T(A({},R),{ref:H,className:Y(V.tooltip,f),style:T(A({},p),{zIndex:z,display:!I&&B?"block":"none",top:null!=F?F:"",left:null!=(t=Math.round(_))?t:""})}),v)),(0,n.cloneElement)(i,T(A({},i.props),{[c]:Z,onMouseEnter:e=>{var t,r;null==(r=(t=i.props).onMouseEnter)||r.call(t,e),L(e),G(!0)},onMouseLeave:e=>{var t,r;null==(r=(t=i.props).onMouseLeave)||r.call(t,e),G(!1)}})))}F.displayName="@mantine/core/TooltipFloating";var B=r(57398),W=r(83051),H=r(37048),G=r(30212);var V=r(14870),Y=r(94277),Z=r(63468),K=Object.defineProperty,U=Object.defineProperties,q=Object.getOwnPropertyDescriptors,X=Object.getOwnPropertySymbols,J=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,ee=(e,t,r)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,te=(e,t)=>{for(var r in t||(t={}))J.call(t,r)&&ee(e,r,t[r]);if(X)for(var r of X(t))Q.call(t,r)&&ee(e,r,t[r]);return e},re=(e,t)=>U(e,q(t));const ne={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:(0,i.w)("popover"),positionDependencies:[]},oe=(0,n.forwardRef)(((e,t)=>{var r;const i=(0,n.useRef)(null),c=(0,l.N4)("Tooltip",ne,e),{children:u,position:p,refProp:f,label:m,openDelay:b,closeDelay:y,onPositionChange:g,opened:h,withinPortal:v,portalProps:w,radius:O,color:x,classNames:E,styles:N,unstyled:z,style:I,className:D,withArrow:R,arrowSize:L,arrowOffset:_,arrowRadius:A,arrowPosition:T,offset:$,transitionProps:M,multiline:F,width:K,events:U,zIndex:q,disabled:ee,positionDependencies:oe,onClick:ae,onMouseEnter:ie,onMouseLeave:le,inline:se,variant:ce,keepMounted:ue}=c,de=((e,t)=>{var r={};for(var n in e)J.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&X)for(var n of X(e))t.indexOf(n)<0&&Q.call(e,n)&&(r[n]=e[n]);return r})(c,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","portalProps","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transitionProps","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline","variant","keepMounted"]),{classes:pe,cx:fe,theme:me}
1=k({radius:O,color:x,width:K,multiline:F},{name:"Tooltip",classNames:E,styles:N,unstyled:z,variant:ce}),be=function(e){const[t,r]=(0,n.useState)(!1),o="boolean"==typeof e.opened?e.opened:t,a=d(),i=(0,W.M)(),{delay:l,currentId:c,setCurrentId:u}=(0,s.tj)(),p=(0,n.useCallback)((e=>{r(e),e&&u(i)}),[u,i]),{x:f,y:m,reference:b,floating:y,context:g,refs:h,update:v,placement:w,middlewareData:{arrow:{x:O,y:x}={}}}=(0,s.YF)({placement:e.position,open:o,onOpenChange:p,middleware:[(0,P.cv)(e.offset),(0,P.uY)({padding:8}),(0,P.RR)(),(0,B.x7)({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[(0,P.Qo)()]:[]]}),{getReferenceProps:k,getFloatingProps:S}=(0,s.NI)([(0,s.XI)(g,{enabled:e.events.hover,delay:a?l:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),(0,s.KK)(g,{enabled:e.events.focus,keyboardOnly:!0}),(0,s.qs)(g,{role:"tooltip"}),(0,s.bQ)(g,{enabled:void 0===typeof e.opened}),(0,s.Qu)(g,{id:i})]);return(0,G.L)({opened:o,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:h,update:v}}),(0,H.l)((()=>{var t;null==(t=e.onPositionChange)||t.call(e,w)}),[w]),{x:f,y:m,arrowX:O,arrowY:x,reference:b,floating:y,getFloatingProps:S,getReferenceProps:k,isGroupPhase:o&&c&&c!==i,opened:o,placement:w}}({position:(0,V._)(me.dir,p),closeDelay:y,openDelay:b,onPositionChange:g,opened:h,events:U,arrowRef:i,arrowOffset:_,offset:$+(R?L/2:0),positionDependencies:[...oe,u],inline:se});if(!(0,o.k)(u))throw new Error(S.children);const ye=(0,a.Y)(be.reference,u.ref,t);return n.createElement(n.Fragment,null,n.createElement(C.q,re(te({},w),{withinPortal:v}),n.createElement(Y.u,re(te({keepMounted:ue,mounted:!ee&&be.opened},M),{transition:M.transition||"fade",duration:be.isGroupPhase?10:null!=(r=M.duration)?r:100}),(e=>{var t,r;return n.createElement(j.x,te(te({},de),be.getFloatingProps({ref:be.floating,className:pe.tooltip,style:re(te(te({},I),e),{zIndex:q,top:null!=(t=be.y)?t:0,left:null!=(r=be.x)?r:0})})),m,n.createElement(Z.Y,{ref:i,arrowX:be.arrowX,arrowY:be.arrowY,visible:R,position:be.placement,arrowSize:L,arrowOffset:_,arrowRadius:A,arrowPosition:T,className:pe.arrow}))}))),(0,n.cloneElement)(u,be.getReferenceProps(te({onClick:ae,onMouseEnter:ie,onMouseLeave:le,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[f]:ye,className:fe(D,u.props.className)},u.props))))}));oe.Group=p,oe.Floating=F,oe.displayName="@mantine/core/Tooltip";const ae=oe},94277:function(e,t,r){r.d(t,{u:function(){return y}});var n=r(67294),o=r(89979),a=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&c(e,r,t[r]);return e};const d={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};var p=r(73678),f=r(37048),m=r(73623);function b({duration:e,exitDuration:t,timingFunction:r,mounted:o,onEnter:a,onExit:i,onEntered:l,onExited:s}){const c=(0,m.rZ)(),u=(0,p.J)(),d=!!c.respectReducedMotion&&u,[b,y]=(0,n.useState)(d?0:e),[g,h]=(0,n.useState)(o?"entered":"exited"),v=(0,n.useRef)(-1);return(0,f.l)((()=>{(r=>{const n=r?a:i,o=r?l:s;h(r?"pre-entering":"pre-exiting"),window.clearTimeout(v.current);const c=d?0:r?e:t;if(y(c),0===c)"function"==typeof n&&n(),"function"==typeof o&&o(),h(r?"entered":"exited");else{const e=window.setTimeout((()=>{"function"==typeof n&&n(),h(r?"entering":"exiting")}),10);v.current=window.setTimeout((()=>{window.clearTimeout(e),"function"==typeof o&&o(),h(r?"entered":"exited")}),c)}})(o)}),[o]),(0,n.useEffect)((()=>()=>window.clearTimeout(v.current)),[]),{transitionDuration:b,transitionStatus:g,transitionTimingFunction:r||c.transitionTimingFunction}}function y({keepMounted:e,transition:t,duration:r=250,exitDuration:a=r,mounted:i,children:l,timingFunction:s,onExit:c,onEntered:p,onEnter:f,onExited:m}){const{transitionDuration:y,transitionStatus:g,transitionTimingFunction:h}=b({mounted:i,exitDuration:a,duration:r,timingFunction:s,onExit:c,onEntered:p,onEnter:f,onExited:m});return 0===y?i?n.createElement(n.Fragment,null,l({})):e?l({display:"none"}):null:"exited"===g?e?l({display:"none"}):null:n.createElement(n.Fragment,null,l(function({transition:e,state:t,duration:r,timingFunction:n}){const a={transitionDuration:`${r}ms`,transitionTimingFunction:n};return"string"==typeof e?e in o.p?u(u(u({transitionProperty:o.p[e].transitionProperty},a),o.p[e].common),o.p[e][d[t]]):null:u(u(u({transitionProperty:e.transitionProperty},a),e.common),e[d[t]])}({transition:t,duration:y,state:g,timingFunction:h}
1)))}y.displayName="@mantine/core/Transition"},89979:function(e,t,r){r.d(t,{p:function(){return m}});var n=r(2566),o=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))s.call(t,r)&&u(e,r,t[r]);if(l)for(var r of l(t))c.call(t,r)&&u(e,r,t[r]);return e},p=(e,t)=>a(e,i(t));const f={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${(0,n.h)(10)})`},transitionProperty:"transform, opacity"},m={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(-${(0,n.h)(20)}) skew(-10deg, -5deg)`}
1,common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(${(0,n.h)(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,n.h)(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,n.h)(20)}) rotate(5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:p(d({},f),{common:{transformOrigin:"center center"}}),"pop-bottom-left":p(d({},f),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":p(d({},f),{common:{transformOrigin:"bottom right"}}),"pop-top-left":p(d({},f),{common:{transformOrigin:"top left"}}),"pop-top-right":p(d({},f),{common:{transformOrigin:"top right"}})}},19821:function(e,t,r){r.d(t,{l:function(){return k}});var n=r(67294),o=r(73623),a=r(71485),i=r(2566);var l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e},b=(e,t)=>s(e,c(t)),y=(0,a.k)((e=>{const t=(r=e.headings.sizes,Object.keys(r)).reduce(((t,r)=>{const n=e.headings.sizes[r];return t[`& ${r}`]=b(m({fontFamily:e.headings.fontFamily,fontWeight:n.fontWeight||e.headings.fontWeight,marginTop:"number"==typeof n.lineHeight?`calc(${e.spacing.xl} * ${n.lineHeight})`:e.spacing.xl,marginBottom:e.spacing.sm},n),{[e.fn.smallerThan("sm")]:{fontSize:`calc(${(0,i.h)(n.fontSize)} / 1.3)`}}),t}),{});var r;return{root:b(m(b(m({},e.fn.fontStyles()),{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,fontSize:e.fontSizes.md,[e.fn.smallerThan("sm")]:{fontSize:e.fontSizes.sm}}),t),{"& img":{maxWidth:"100%",marginBottom:e.spacing.xs},"& p":{marginTop:0,marginBottom:e.spacing.lg},"& mark":{backgroundColor:e.fn.themeColor("yellow","dark"===e.colorScheme?5:2),color:"dark"===e.colorScheme?e.colors.dark[9]:"inherit"},"& hr":{marginTop:e.spacing.md,marginBottom:e.spacing.sm,borderBottom:0,borderLeft:0,borderRight:0,borderTop:`${(0,i.h)(1)} dashed ${e.colors.gray["dark"===e.colorScheme?4:6]}`},"& a":b(m({},e.fn.focusStyles()),{color:e.colors[e.primaryColor]["dark"===e.colorScheme?4:6],textDecoration:"none","&:hover":{textDecoration:"underline"}}),"& pre":{padding:e.spacing.xs,lineHeight:e.lineHeight,margin:0,marginTop:e.spacing.md,marginBottom:e.spacing.md,overflowX:"auto",fontFamily:e.fontFamilyMonospace,fontSize:e.fontSizes.sm,borderRadius:e.radius.sm,backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0],"& code":{backgroundColor:"transparent",padding:0,borderRadius:0,color:"inherit",border:0}},"& code":{lineHeight:e.lineHeight,padding:`${(0,i.h)(1)} ${(0,i.h)(5)}`,borderRadius:e.radius.sm,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,backgroundColor:"dark"===e.colorScheme?e.colors.dark[9]:e.colors.gray[0],fontFamily:e.fontFamilyMonospace,fontSize:e.fontSizes.xs,border:`${(0,i.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[9]:e.colors.gray[3]}`},"& ul, & ol":{marginBottom:e.spacing.md,paddingLeft:38,"& li":{marginTop:e.spacing.xs}},"& table":{width:"100%",borderCollapse:"collapse",captionSide:"bottom",marginBottom:e.spacing.md,"& caption":{marginTop:e.spacing.xs,fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]},"& th":{textAlign:"left",fontWeight:"bold",color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],fontSize:14,padding:`${(0,i.h)(7)} ${(0,i.h)(10)}`},"& thead th":{borderBottom:`${(0,i.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`},"& tfoot th":{borderTop:`${(0,i.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`},"& td":{padding:`${(0,i.h)(7)} ${(0,i.h)(10)}`,borderBottom:`${(0,i.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,fontSize:14},"& tr:last-of-type td":{borderBottom:"none"}},"& blockquote":{fontSize:e.fontSizes.lg,lineHeight:e.lineHeight,margin:`${e.spacing.md} 0`,borderTopRightRadius:e.radius.sm,borderBottomRightRadius:e.radius.sm,padding:`${e.spacing.md} ${e.spacing.lg}`,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,borderLeft:`${(0,i.h)(6)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,"& cite":{display:"block",fontSize:e.fontSizes.sm,marginTop:e.spacing.xs,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],overflow:"hidden",textOverflow:"ellipsis"}}})}})),g=r(64523),h=Object.defineProperty,v=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,x=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;
1const k=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("TypographyStylesProvider",{},e),{className:a,unstyled:i,variant:l}=r,s=((e,t)=>{var r={};for(var n in e)w.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&v)for(var n of v(e))t.indexOf(n)<0&&O.call(e,n)&&(r[n]=e[n]);return r})(r,["className","unstyled","variant"]),{classes:c,cx:u}=y(null,{name:"TypographyStylesProvider",unstyled:i,variant:l});return n.createElement(g.x,((e,t)=>{for(var r in t||(t={}))w.call(t,r)&&x(e,r,t[r]);if(v)for(var r of v(t))O.call(t,r)&&x(e,r,t[r]);return e})({className:u(c.root,a),ref:t},s))}));k.displayName="@mantine/core/TypographyStylesProvider"},34736:function(e,t,r){r.d(t,{k:function(){return k}});var n=r(67294),o=r(73623),a=r(74574),i=r(71485),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e},b=(0,i.k)((e=>{return{root:(t=m(m({},e.fn.focusStyles()),e.fn.fontStyles()),r={cursor:"pointer",border:0,padding:0,appearance:"none",fontSize:e.fontSizes.md,backgroundColor:"transparent",textAlign:"left",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,textDecoration:"none",boxSizing:"border-box"},s(t,c(r)))};var t,r})),y=r(64523),g=Object.defineProperty,h=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const x=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("UnstyledButton",{},e),{className:a,component:i="button",unstyled:l,variant:s}=r,c=((e,t)=>{var r={};for(var n in e)v.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&h)for(var n of h(e))t.indexOf(n)<0&&w.call(e,n)&&(r[n]=e[n]);return r})(r,["className","component","unstyled","variant"]),{classes:u,cx:d}=b(null,{name:"UnstyledButton",unstyled:l,variant:s});return n.createElement(y.x,((e,t)=>{for(var r in t||(t={}))v.call(t,r)&&O(e,r,t[r]);if(h)for(var r of h(t))w.call(t,r)&&O(e,r,t[r]);return e})({component:i,ref:t,className:d(u.root,a),type:"button"===i?"button":void 0},c))}));x.displayName="@mantine/core/UnstyledButton";const k=(0,a.F)(x)},65329:function(e,t,r){r.r(t),r.d(t,{AVAILABLE_TRANSITIONS:function(){return z},Accordion:function(){return et},ActionIcon:function(){return tt.A},Affix:function(){return pt},Alert:function(){return It},AlphaSlider:function(){return Bc.k},Anchor:function(){return Ut},AppShell:function(){return Ln},Aside:function(){return un},AspectRatio:function(){return qn},Autocomplete:function(){return ha},Avatar:function(){return bi},BackgroundImage:function(){return _i},Badge:function(){return nl},Blockquote:function(){return jl},Box:function(){return H.x},Breadcrumbs:function(){return Fl},Burger:function(){return Ul},Button:function(){return ql.z},COLOR_PICKER_SIZES:function(){return Mc.J},Card:function(){return hs},CardSection:function(){return cs},Center:function(){return vs.M},CheckIcon:function(){return Os.n},Checkbox:function(){return ws.X},CheckboxIcon:function(){return Os.P},ChevronIcon:function(){return We.D},Chip:function(){return Zs},CloseButton:function(){return St.P},Code:function(){return dc},Col:function(){return ap},Collapse:function(){return Ne.U},ColorInput:function(){return $c},ColorPicker:function(){return mc.z},ColorSchemeProvider:function(){return p},ColorSwatch:function(){return Pc.b},Container:function(){return qc},CopyButton:function(){return iu},DEFAULT_THEME:function(){return l.t0},Dialog:function(){return ju},Divider:function(){return mo},Drawer:function(){return pd},FileButton:function(){return Od},FileInput:function(){return Ld},Flex:function(){return _d.k},FocusTrap:function(){return Td.i},Footer:function(){return vn},Global:function(){return S},GlobalStyles:function(){return f.n},Grid:function(){return wp},Group:function(){return Op.Z},Header:function(){return rn},Highlight:function(){return xp.y},HoverCard:function(){return ef},HueSlider:function(){return Fc.Q},INPUT_SIZES:function(){return Uf.J},Image:function(){return Nf},Indicator:function(){return Kf},Input:function(){return la.I},InputBase:function(){return im},JsonInput:function(){return Dm},Kbd:function(){return Bm},List:function(){return mb},Loader:function(){return bb.a},LoadingOverlay:function(){return yb.f},MANTINE_COLORS:function(){return l.As},MANTINE_SIZES:function(){return l.j1},MantineProvider:function(){return s.Me},Mark:function(){return gb.v},MediaQuery:function(){return vb},Menu:function(){return wb.v},Modal:function(){return Ob.u},ModalBase:function(){return Ru.e},ModalBaseDefaultProps:function(){return Ru.K},MultiSelect:function(){return Dy},NativeSelect:function(){return Hy},NavLink:function(){return cg},Navbar:function(){return zr},NormalizeCSS:function(){return m.r},Notification:function(){return ug.P},NumberInput:function(){return Cg},OptionalPortal:function(){return rt.q},Overlay:function(){return jg.a},Pagination:function(){return Ng.t},Paper:function(){return Xl.X}
1,PasswordInput:function(){return Qg},PinInput:function(){return mh},Popover:function(){return Uo.J},Portal:function(){return bh.h},Progress:function(){return yh.E},Radio:function(){return ev},RangeSlider:function(){return xx},Rating:function(){return Nv},RemoveScroll:function(){return n.Z},RingProgress:function(){return lw},ScrollArea:function(){return $o.x},SegmentedControl:function(){return jw},Select:function(){return Fw},SelectChevronIcon:function(){return Hb},SimpleGrid:function(){return Bw.M},Skeleton:function(){return iO},Slider:function(){return dx},Space:function(){return Nx},Spoiler:function(){return Tx},Stack:function(){return $x.K},StarIcon:function(){return sv},Step:function(){return ak},Stepper:function(){return kk},Switch:function(){return oS},Table:function(){return aS.i},Tabs:function(){return iS.m},Text:function(){return Dt.x},TextInput:function(){return gg.o},Textarea:function(){return Om},ThemeIcon:function(){return ES},Timeline:function(){return WS},TimelineItem:function(){return LS},Title:function(){return lP},Tooltip:function(){return zv.u},TransferList:function(){return PP},Transition:function(){return hu.u},TypographyStylesProvider:function(){return EP.l},UnstyledButton:function(){return ce.k},__unsafe_do_no_use_FLEX_SYSTEM_PROPS:function(){return Ad.c},__unsafe_do_no_use_SYSTEM_PROPS:function(){return Il.w},clsx:function(){return i.Z},createEmotionCache:function(){return j.Z},createPolymorphicComponent:function(){return o.F},createStyles:function(){return x.k},defaultMantineEmotionCache:function(){return C.w},em:function(){return h.em},extractSystemStyles:function(){return Nl.x},filterProps:function(){return g.L},getBreakpointValue:function(){return b.oI},getDefaultZIndex:function(){return y.w},getSize:function(){return w.a},getSortedBreakpoints:function(){return Ww.I},getStylesRef:function(){return k.A},getSystemStyles:function(){return zl.M},keyframes:function(){return O.keyframes},packSx:function(){return a.R},px:function(){return v.px},rem:function(){return h.h},useComponentDefaultProps:function(){return s.N4},useCss:function(){return P.Z},useEmotionCache:function(){return E.S},useInputProps:function(){return ia.k},useMantineColorScheme:function(){return d},useMantineTheme:function(){return s.rZ},validateJson:function(){return lm}});var n=r(44794),o=r(74574),a=r(63706),i=r(64143),l=r(91699),s=r(73623),c=r(67294);const u=(0,c.createContext)(null);function d(){const e=(0,c.useContext)(u);if(!e)throw new Error("useMantineColorScheme hook was called outside of context, make sure your app is wrapped with ColorSchemeProvider component");return e}function p({colorScheme:e,toggleColorScheme:t,children:r}){return c.createElement(u.Provider,{value:{colorScheme:e,toggleColorScheme:t}},r)}p.displayName="@mantine/core/ColorSchemeProvider";var f=r(13316),m=r(48470),b=r(12681),y=r(58332),g=r(67078),h=r(2566),v=r(41219),w=r(21434),O=r(70917),x=r(71485),k=r(6483);function S({styles:e}){const t=(0,s.rZ)();return c.createElement(O.Global,{styles:(0,O.css)("function"==typeof e?e(t):e)})}var P=r(59638),E=r(81471),C=r(694),j=r(69087),N=r(89979);const z=Object.keys(N.p);var I=r(31986),D=r(83051),R=r(15851),L=r(10542);const _={context:"Accordion component was not found in the tree",itemContext:"Accordion.Item component was not found in the tree",value:"Accordion.Item component was rendered with invalid value or without value"},[A,T]=(0,L.R)(_.context);function $({children:e,multiple:t,value:r,defaultValue:n,onChange:o,id:a,loop:i,transitionDuration:l,disableChevronRotation:s,chevronPosition:u,chevronSize:d,order:p,chevron:f,variant:m,radius:b,classNames:y,styles:g,unstyled:h}){const v=(0,D.M)(a),[w,O]=(0,R.C)({value:r,defaultValue:n,finalValue:t?[]:null,onChange:o});return c.createElement(A,{value:{isItemActive:e=>Array.isArray(w)?w.includes(e):e===w,onChange:e=>{const t=Array.isArray(w)?w.includes(e)?w.filter((t=>t!==e)):[...w,e]:e===w?null:e;O(t)},getControlId:(0,I.A)(`${v}-control`,_.value),getRegionId:(0,I.A)(`${v}-panel`,_.value),transitionDuration:l,disableChevronRotation:s,chevronPosition:u,chevronSize:d,order:p,chevron:f,loop:i,variant:m,radius:b,classNames:y,styles:g,unstyled:h}},e)}const[M,F]=(0,L.R)(_.itemContext);function B(e,t,{radius:r}){const n="dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],o="dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],a=e.fn.radius(r);return"default"===t?{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,borderBottom:`${(0,h.h)(1)} solid ${n}`}:"contained"===t?{border:`${(0,h.h)(1)} solid ${n}`,transition:"background-color 150ms ease","&[data-active]":{backgroundColor:o},"&:first-of-type":{borderTopRightRadius:a,borderTopLeftRadius:a,"& > [data-accordion-control]":{borderTopRightRadius:a,borderTopLeftRadius:a}},"&:last-of-type":{borderBottomRightRadius:a,borderBottomLeftRadius:a,"& > [data-accordion-control]":{borderBottomRightRadius:a,borderBottomLeftRadius:a}},"& + &":{borderTop:0}}:"filled"===t?{borderRadius:a,"&[data-active]":{backgroundColor:o}}:"separated"===t?{borderRadius:a,backgroundColor:o,border:`${(0,h.h)(1)} solid transparent`,transition:"background-color 150ms ease","& + &":{marginTop:e.spacing.md},"&[data-active]":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,borderColor:n}}:{}}var W=(0,x.k)(((e,t,{variant:r})=>({item:B(e,r,t)}))),H=r(64523),G=Object.defineProperty,V=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,K=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const U={},q=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("AccordionItem",U,e),{children:n,className:o,value:a}=r,i=((e,t)=>{var r={};for(var n in e)Y.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&V)for(var n of V(e))t.indexOf(n)<0&&Z.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","value"]),l=T(),{classes:u,cx:d}=W({radius:l.radius},{name:"Accordion",classNames:l.classNames,styles:l.styles,unstyled:l.unstyled,variant:l.variant});return c.createElement(M,{value:{value:a}},c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Y.call(t,r)&&K(e,r,t[r]);if(V)for(var r of V(t))Z.call(t,r)&&K(e,r,t[r]);return e})({ref:t,className:d(u.item,o),"data-active":l.isItemActive(a)||void 0},i),n))}));q.displayName="@mantine/core/AccordionItem";var X=r(38078),J=Object.defineProperty,Q=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,oe=(e,t,r)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ae=(e,t)=>{for(var r in t||(t={}))re.call(t,r)&&oe(e,r,t[r]);if(te)for(var r of te(t))ne.call(t,r)&&oe(e,r,t[r]);return e};function ie(e,t){return"default"===t||"contained"===t?e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]}):{}}var le=(0,x.k)(((e,{transitionDuration:t,chevronPosition:r,chevronSize:n},{variant:o})=>{return{icon:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:"left"
1===r?0:e.spacing.sm,marginLeft:"left"===r?e.spacing.lg:0},chevron:{display:"flex",alignItems:"center",justifyContent:"center",transition:`transform ${t}ms ease`,marginRight:"right"===r?0:e.spacing.sm,marginLeft:"right"===r?e.spacing.lg:0,width:(0,h.h)(n),minWidth:(0,h.h)(n),"&[data-rotate]":{transform:"rotate(180deg)"}},label:{color:"inherit",fontWeight:400,flex:1,overflow:"hidden",textOverflow:"ellipsis",paddingTop:e.spacing.md,paddingBottom:e.spacing.md},itemTitle:{margin:0,padding:0},control:(a=ae(ae(ae({},e.fn.focusStyles()),e.fn.fontStyles()),ie(e,o)),i={width:"100%",display:"flex",alignItems:"center",flexDirection:"right"===r?"row-reverse":"row",paddingRight:e.spacing.md,paddingLeft:"right"===r?`calc(${e.spacing.md} + ${(0,h.h)(4)})`:e.spacing.xs,textAlign:"left",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,"&:disabled":ae({opacity:.4,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"}))},Q(a,ee(i)))};var a,i})),se=le,ce=r(34736),ue=Object.defineProperty,de=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ye=(e,t,r)=>t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ge={},he=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("AccordionControl",ge,e),{disabled:n,onKeyDown:o,onClick:a,chevron:i,children:l,className:u,icon:d}=r,p=((e,t)=>{var r={};for(var n in e)me.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&fe)for(var n of fe(e))t.indexOf(n)<0&&be.call(e,n)&&(r[n]=e[n]);return r})(r,["disabled","onKeyDown","onClick","chevron","children","className","icon"]),f=T(),{value:m}=F(),{classes:b,cx:y}=se({transitionDuration:f.transitionDuration,chevronPosition:f.chevronPosition,chevronSize:f.chevronSize,radius:f.radius},{name:"Accordion",classNames:f.classNames,styles:f.styles,unstyled:f.unstyled,variant:f.variant}),g=f.isItemActive(m),h="number"==typeof f.order,v=`h${f.order}`,w=c.createElement(ce.k,(O=((e,t)=>{for(var r in t||(t={}))me.call(t,r)&&ye(e,r,t[r]);if(fe)for(var r of fe(t))be.call(t,r)&&ye(e,r,t[r]);return e})({},p),x={ref:t,"data-accordion-control":!0,disabled:n,className:y(b.control,u),onClick:e=>{null==a||a(e),f.onChange(m)},type:"button","data-active":g||void 0,"aria-expanded":g,"aria-controls":f.getRegionId(m),id:f.getControlId(m),unstyled:f.unstyled,onKeyDown:(0,X.R)({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:f.loop,orientation:"vertical",onKeyDown:o})},de(O,pe(x))),c.createElement("span",{className:b.chevron,"data-rotate":!f.disableChevronRotation&&g||void 0},i||f.chevron),c.createElement("span",{className:b.label},l),d&&c.createElement("span",{className:b.icon},d));var O,x;return h?c.createElement(v,{className:b.itemTitle},w):w}));he.displayName="@mantine/core/AccordionControl";var ve=Object.defineProperty,we=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Pe=(e,t,r)=>t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ee=(e,t)=>{for(var r in t||(t={}))ke.call(t,r)&&Pe(e,r,t[r]);if(xe)for(var r of xe(t))Se.call(t,r)&&Pe(e,r,t[r]);return e},Ce=(0,x.k)(((e,t)=>{return{panel:(r=Ee({},e.fn.fontStyles()),n={wordBreak:"break-word",lineHeight:e.lineHeight},we(r,Oe(n))),content:{padding:e.spacing.md,paddingTop:`calc(${e.spacing.xs} / 2)`}};var r,n})),je=Ce,Ne=r(31003),ze=Object.defineProperty,Ie=Object.defineProperties,De=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ae=(e,t,r)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Te=(e,t)=>{for(var r in t||(t={}))Le.call(t,r)&&Ae(e,r,t[r]);if(Re)for(var r of Re(t))_e.call(t,r)&&Ae(e,r,t[r]);return e},$e=(e,t)=>Ie(e,De(t)),Me=(e,t)=>{var r={};for(var n in e)Le.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Re)for(var n of Re(e))t.indexOf(n)<0&&_e.call(e,n)&&(r[n]=e[n]);return r};const Fe={};function Be(e){const t=(0,s.N4)("AccordionPanel",Fe,e),{children:r,className:n}=t,o=Me(t,["children","className"]),a=T(),{value:i}=F(),{classNames:l,styles:u,unstyled:d}=T(),{classes:p,cx:f}=je({radius:a.radius},{name:"Accordion",classNames:l,styles:u,unstyled:d,variant:a.variant});return c.createElement(Ne.U,$e(Te({},o),{className:f(p.panel,n),in:a.isItemActive(i),transitionDuration:a.transitionDuration,role:"region",id:a.getRegionId(i),"aria-labelledby":a.getControlId(i)}),c.createElement("div",{className:p.content},r))}Be.displayName="@mantine/core/AccordionPanel";var We=r(56057),He=Object.defineProperty,Ge=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Ue=(e,t,r)=>t in e?He(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qe=(e,t)=>
1{for(var r in t||(t={}))Ze.call(t,r)&&Ue(e,r,t[r]);if(Ye)for(var r of Ye(t))Ke.call(t,r)&&Ue(e,r,t[r]);return e},Xe=(e,t)=>Ge(e,Ve(t)),Je=(e,t)=>{var r={};for(var n in e)Ze.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ye)for(var n of Ye(e))t.indexOf(n)<0&&Ke.call(e,n)&&(r[n]=e[n]);return r};const Qe={multiple:!1,disableChevronRotation:!1,transitionDuration:200,chevronPosition:"right",variant:"default",chevronSize:24,chevron:c.createElement(We.D,null)};function et(e){const t=(0,s.N4)("Accordion",Qe,e),{id:r,loop:n,children:o,multiple:a,value:i,defaultValue:l,onChange:u,transitionDuration:d,disableChevronRotation:p,chevronPosition:f,chevronSize:m,order:b,chevron:y,classNames:g,styles:h,unstyled:v,variant:w,radius:O}=t,x=Je(t,["id","loop","children","multiple","value","defaultValue","onChange","transitionDuration","disableChevronRotation","chevronPosition","chevronSize","order","chevron","classNames","styles","unstyled","variant","radius"]);return c.createElement($,{id:r,multiple:a,value:i,defaultValue:l,onChange:u,loop:n,transitionDuration:d,disableChevronRotation:p,chevronPosition:f,chevronSize:m,order:b,chevron:y,variant:w,radius:O,classNames:g,styles:h,unstyled:v},c.createElement(H.x,Xe(qe({},x),{"data-accordion":!0}),o))}et.Item=q,et.Control=he,et.Panel=Be,et.displayName="@mantine/core/Accordion";var tt=r(49834),rt=r(83143),nt=Object.defineProperty,ot=Object.defineProperties,at=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,ct=(e,t,r)=>t in e?nt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ut=(e,t)=>{for(var r in t||(t={}))lt.call(t,r)&&ct(e,r,t[r]);if(it)for(var r of it(t))st.call(t,r)&&ct(e,r,t[r]);return e};const dt={position:{bottom:0,right:0},zIndex:(0,y.w)("modal"),withinPortal:!0},pt=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Affix",dt,e),{target:n,position:o,zIndex:i,sx:l,withinPortal:u,portalProps:d}=r,p=((e,t)=>{var r={};for(var n in e)lt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&it)for(var n of it(e))t.indexOf(n)<0&&st.call(e,n)&&(r[n]=e[n]);return r})(r,["target","position","zIndex","sx","withinPortal","portalProps"]);return c.createElement(rt.q,(f=ut({},d),ot(f,at({withinPortal:u,target:n}))),c.createElement(H.x,ut({sx:[ut({position:"fixed",zIndex:i},o),...(0,a.R)(l)],ref:t},p)));var f}));pt.displayName="@mantine/core/Affix";var ft=Object.defineProperty,mt=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,vt=(e,t,r)=>t in e?ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wt=(e,t)=>{for(var r in t||(t={}))gt.call(t,r)&&vt(e,r,t[r]);if(yt)for(var r of yt(t))ht.call(t,r)&&vt(e,r,t[r]);return e},Ot=(e,t)=>mt(e,bt(t));function xt({variant:e,color:t,theme:r}){if("filled"===e){return{backgroundColor:r.fn.variant({variant:"filled",color:t}).background,color:r.white}}if("outline"===e){const e=r.fn.variant({variant:"outline",color:t});return{color:e.color,borderColor:e.border,backgroundColor:"dark"===r.colorScheme?r.colors.dark[6]:r.white}}if("light"===e){const e=r.fn.variant({variant:"light",color:t});return{backgroundColor:e.background,color:e.color}}return null}var kt=(0,x.k)(((e,{radius:t,color:r},{variant:n})=>({root:wt(Ot(wt({},e.fn.fontStyles()),{position:"relative",overflow:"hidden",paddingTop:e.spacing.sm,paddingBottom:e.spacing.sm,paddingLeft:e.spacing.md,paddingRight:e.spacing.sm,borderRadius:e.fn.radius(t),border:`${(0,h.h)(1)} solid transparent`}),xt({variant:n,color:r,theme:e})),wrapper:{display:"flex"},body:{flex:1},title:{boxSizing:"border-box",margin:0,marginBottom:e.spacing.xs,display:"flex",alignItems:"center",justifyContent:"space-between",lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,fontWeight:700,"&[data-with-close-button]":{paddingRight:e.spacing.md}},label:{display:"block",overflow:"hidden",textOverflow:"ellipsis"},icon:{lineHeight:1,width:(0,h.h)(20),height:(0,h.h)(20),display:"flex",alignItems:"center",justifyContent:"flex-start",marginRight:e.spacing.md,marginTop:1},message:Ot(wt({},e.fn.fontStyles()),{lineHeight:e.lineHeight,textOverflow:"ellipsis",overflow:"hidden",fontSize:e.fontSizes.sm,color:"filled"===n?e.white:"dark"===e.colorScheme?"light"===n?e.white:e.colors.dark[0]:e.black}),closeButton:{width:(0,h.h)(10),height:(0,h.h)(10),color:"filled"===n?e.white:"dark"===e.colorScheme?"light"===n?e.white:e.colors.dark[0]:e.black}}))),St=r(80971),Pt=Object.defineProperty,Et=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,Nt=(e,t,r)=>t in e?Pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;
1const zt={variant:"light"},It=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Alert",zt,e),{id:n,className:o,title:a,variant:i,children:l,color:u,classNames:d,icon:p,styles:f,onClose:m,radius:b,withCloseButton:y,closeButtonLabel:g,unstyled:h}=r,v=((e,t)=>{var r={};for(var n in e)Ct.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Et)for(var n of Et(e))t.indexOf(n)<0&&jt.call(e,n)&&(r[n]=e[n]);return r})(r,["id","className","title","variant","children","color","classNames","icon","styles","onClose","radius","withCloseButton","closeButtonLabel","unstyled"]),{classes:w,cx:O}=kt({color:u,radius:b},{classNames:d,styles:f,unstyled:h,variant:i,name:"Alert"}),x=(0,D.M)(n),k=a&&`${x}-title`,S=`${x}-body`;return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Ct.call(t,r)&&Nt(e,r,t[r]);if(Et)for(var r of Et(t))jt.call(t,r)&&Nt(e,r,t[r]);return e})({id:x,role:"alert","aria-labelledby":k,"aria-describedby":S,className:O(w.root,w[i],o),ref:t},v),c.createElement("div",{className:w.wrapper},p&&c.createElement("div",{className:w.icon},p),c.createElement("div",{className:w.body},a&&c.createElement("div",{className:w.title,"data-with-close-button":y||void 0},c.createElement("span",{id:k,className:w.label},a)),c.createElement("div",{id:S,className:w.message},l)),y&&c.createElement(St.P,{className:w.closeButton,onClick:m,variant:"transparent",size:16,iconSize:16,"aria-label":g})))}));It.displayName="@mantine/core/Alert";var Dt=r(95117),Rt=Object.defineProperty,Lt=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Tt=(e,t,r)=>t in e?Rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$t=(e,t)=>{for(var r in t||(t={}))_t.call(t,r)&&Tt(e,r,t[r]);if(Lt)for(var r of Lt(t))At.call(t,r)&&Tt(e,r,t[r]);return e};function Mt({theme:e,color:t}){return"dimmed"===t?e.fn.dimmed():e.fn.themeColor(t||e.primaryColor,"dark"===e.colorScheme?4:7,!1,!0)}var Ft=(0,x.k)(((e,{color:t,underline:r})=>({root:$t({backgroundColor:"transparent",cursor:"pointer",padding:0,border:0,color:Mt({theme:e,color:t})},e.fn.hover({textDecoration:r?"underline":"none"}))}))),Bt=Object.defineProperty,Wt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Vt=(e,t,r)=>t in e?Bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yt=(e,t)=>{for(var r in t||(t={}))Ht.call(t,r)&&Vt(e,r,t[r]);if(Wt)for(var r of Wt(t))Gt.call(t,r)&&Vt(e,r,t[r]);return e};const Zt={underline:!0},Kt=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Anchor",Zt,e),{component:n,className:o,unstyled:a,variant:i,size:l,color:u,underline:d}=r,p=((e,t)=>{var r={};for(var n in e)Ht.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Wt)for(var n of Wt(e))t.indexOf(n)<0&&Gt.call(e,n)&&(r[n]=e[n]);return r})(r,["component","className","unstyled","variant","size","color","underline"]),{classes:f,cx:m}=Ft({color:u,underline:d},{name:"Anchor",unstyled:a,variant:i,size:l}),b="button"===n?{type:"button"}:null;return c.createElement(Dt.x,Yt(Yt({component:n||"a",ref:t,className:m(f.root,o),size:l},b),p))}));Kt.displayName="@mantine/core/Anchor";const Ut=(0,o.F)(Kt),qt=(0,c.createContext)({zIndex:1e3,fixed:!1,layout:"default"}),Xt=qt.Provider;function Jt(){return(0,c.useContext)(qt)}function Qt(e,t){if(!e)return[];const r=Object.keys(e).filter((e=>"base"!==e)).map((r=>[(0,w.a)({size:r,sizes:t.breakpoints,units:"em"}),e[r]]));return r.sort(((e,t)=>(0,b.oI)(e[0])-(0,b.oI)(t[0]))),r}var er=Object.defineProperty,tr=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,nr=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,ir=(e,t,r)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lr=(e,t)=>{for(var r in t||(t={}))or.call(t,r)&&ir(e,r,t[r]);if(nr)for(var r of nr(t))ar.call(t,r)&&ir(e,r,t[r]);return e},sr=(e,t)=>tr(e,rr(t)),cr=(0,x.k)(((e,{height:t,width:r,fixed:n,position:o,hiddenBreakpoint:a,zIndex:i,section:l,withBorder:s,layout:c})=>{const u="object"==typeof r&&null!==r?Qt(r,e).reduce(((e,[t,r])=>(e[`@media (min-width: ${(0,h.em)(t)})`]={width:(0,h.h)(r),minWidth:(0,h.h)(r)},e)),{}):null,d=s?{["navbar"===l?"borderRight":"borderLeft"]:`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[2]}`}:{};return{root:sr(lr(lr(sr(lr(lr({},e.fn.fontStyles()),o),{top:"alt"===c?0:(null==o?void 0:o.top)||"var(--mantine-header-height)",bottom:0,zIndex:i,height:t?(0,h.h)(t):"alt"===c?"auto":"calc(100vh - var(--mantine-header-height, 0rem) - var(--mantine-footer-height, 0rem))",width:(null==r?void 0:r.base)?(0,h.h)(null==r?void 0:r.base):"100%",position:n?"fixed":"static",boxSizing:"border-box",display:"flex",flexDirection:"column",backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white}),d),u),{"&[data-hidden]":{[`@media (max-width: ${(0,h.em)((0,b.oI)((0,w.a)({size:a,sizes:e.breakpoints}))-1)})`]:{display:"none"}}})}})),ur=Object.defineProperty,dr=Object.getOwnPropertySymbols,pr=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,mr=(e,t,r)=>t in e?ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,br=(e,t)=>{for(var r in t||(t={}))pr.call(t,r)&&mr(e,r,t[r]);if(dr)for(var r of dr(t))fr.call(t,r)&&mr(e,r,t[r]);return e};const yr=(0,c.forwardRef)(((e,t)=>{var r=e,{width:n,height:o,fixed:a=!1,position:i,zIndex:l,hiddenBreakpoint:s="md",hidden:u=!1,withBorder:d=!0,className:p,classNames:f,styles:m,children:b,section:g,__staticSelector:v,unstyled:w,variant:O}=r,x=((e,t)=>{var r={};for(var n in e)pr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&dr)for(var n of dr(e))t.indexOf(n)<0&&fr.call(e,n)&&(r[n]=e[n]);return r})(r,["width","height","fixed","position","zIndex","hiddenBreakpoint","hidden","withBorder","className","classNames","styles","children","section","__staticSelector","unstyled","variant"]);const k=Jt(),{classes:P,cx:E,theme:C}=cr({width:n,height:o,fixed:k.fixed||a,position:i,hiddenBreakpoint:s,zIndex:l||k.zIndex||(0,y.w)("app"),section:g,withBorder:d,layout:k.layout},{classNames:f,styles:m,name:v,unstyled:w,variant:O}),j=Qt(n,C).reduce(((e,[t,r])=>(e[`@media (min-width: ${(0,h.em)(t)})`]={[`--mantine-${g}-width`]:(0,h.h)(r)},e)),{});return c.createElement(H.x,br({component:"navbar"===g?"nav":"aside",ref:t,"data-hidden":u||void 0,className:E(P.root,p)},x),b,c.createElement(S,{styles:()=>({":root":br({[`--mantine-${g}-width`]:(null==n?void 0:n.base)?(0,h.h)(n.base):"0rem"},j)})}))}));yr.displayName="@mantine/core/HorizontalSection";var gr=Object.defineProperty,hr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,Or=(e,t,r)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const xr=(0,c.forwardRef)(((e,t)=>{var r=e,{children:n,grow:o=!1,sx:i}=r,l=((e,t)=>{var r={};for(var n in e)vr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&hr)for(var n of hr(e))t.indexOf(n)<0&&wr.call(e,n)&&(r[n]=e[n]);return r})(r,["children","grow","sx"]);return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))vr.call(t,r)&&Or(e,r,t[r]);if(hr)for(var r of hr(t))wr.call(t,r)&&Or(e,r,t[r]);return e})({ref:t,sx:[{flex:o?1:0,boxSizing:"border-box"},...(0,a.R)(i)]},l),n)}));xr.displayName="@mantine/core/Section";
1const kr=(0,o.F)(xr);var Sr=Object.defineProperty,Pr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,jr=(e,t,r)=>t in e?Sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Nr={fixed:!1,position:{top:0,left:0},hiddenBreakpoint:"md",hidden:!1},zr=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Navbar",Nr,e);return c.createElement(yr,((e,t)=>{for(var r in t||(t={}))Er.call(t,r)&&jr(e,r,t[r]);if(Pr)for(var r of Pr(t))Cr.call(t,r)&&jr(e,r,t[r]);return e})({section:"navbar",__staticSelector:"Navbar",ref:t},r))}));zr.Section=kr,zr.displayName="@mantine/core/Navbar";var Ir=Object.defineProperty,Dr=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,Lr=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,Tr=(e,t,r)=>t in e?Ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$r=(e,t)=>{for(var r in t||(t={}))_r.call(t,r)&&Tr(e,r,t[r]);if(Lr)for(var r of Lr(t))Ar.call(t,r)&&Tr(e,r,t[r]);return e},Mr=(e,t)=>Dr(e,Rr(t)),Fr=(0,x.k)(((e,{height:t,fixed:r,position:n,zIndex:o,borderPosition:a,layout:i})=>{const l="object"==typeof t&&null!==t?Qt(t,e).reduce(((e,[t,r])=>(e[`@media (min-width: ${(0,h.em)(t)}
1)`]={height:(0,h.h)(r),minHeight:(0,h.h)(r)},e)),{}):null;return{root:Mr($r(Mr($r($r({},e.fn.fontStyles()),n),{zIndex:o,left:"alt"===i?"var(--mantine-navbar-width, 0)":0,right:"alt"===i?"var(--mantine-aside-width, 0)":0,height:"object"==typeof t?(0,h.h)(null==t?void 0:t.base)||"100%":(0,h.h)(t),maxHeight:"object"==typeof t?(0,h.h)(null==t?void 0:t.base)||"100%":(0,h.h)(t),position:r?"fixed":"static",boxSizing:"border-box",backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white}),l),{borderBottom:"bottom"===a?`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[2]}`:void 0,borderTop:"top"===a?`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[2]}`:void 0})}})),Br=Object.defineProperty,Wr=Object.getOwnPropertySymbols,Hr=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable,Vr=(e,t,r)=>t in e?Br(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yr=(e,t)=>{for(var r in t||(t={}))Hr.call(t,r)&&Vr(e,r,t[r]);if(Wr)for(var r of Wr(t))Gr.call(t,r)&&Vr(e,r,t[r]);return e};const Zr=(0,c.forwardRef)(((e,t)=>{var r=e,{children:n,className:o,classNames:a,styles:i,height:l,fixed:s=!1,withBorder:u=!0,position:d,zIndex:p,section:f,unstyled:m,__staticSelector:b,variant:g}=r,v=((e,t)=>{var r={};for(var n in e)Hr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Wr)for(var n of Wr(e))t.indexOf(n)<0&&Gr.call(e,n)&&(r[n]=e[n]);return r})(r,["children","className","classNames","styles","height","fixed","withBorder","position","zIndex","section","unstyled","__staticSelector","variant"]);const w=Jt(),O=p||w.zIndex||(0,y.w)("app"),{classes:x,cx:k,theme:P}=Fr({height:l,fixed:w.fixed||s,position:d,zIndex:"number"==typeof O&&"default"===w.layout?O+1:O,layout:w.layout,borderPosition:u?"header"===f?"bottom":"top":"none"},{name:b,classNames:a,styles:i,unstyled:m,variant:g}),E="object"==typeof l&&null!==l?Qt(l,P).reduce(((e,[t,r])=>(e[`@media (min-width: ${(0,h.em)(t)})`]={[`--mantine-${f}-height`]:(0,h.h)(r)},e)),{}):null;return c.createElement(H.x,Yr({component:"header"===f?"header":"footer",className:k(x.root,o),ref:t},v),n,c.createElement(S,{styles:()=>({":root":Yr({[`--mantine-${f}-height`]:"object"==typeof l?(0,h.h)(null==l?void 0:l.base)||"100%":(0,h.h)(l)},E)})}))}));Zr.displayName="@mantine/core/VerticalSection";var Kr=Object.defineProperty,Ur=Object.defineProperties,qr=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,en=(e,t,r)=>t in e?Kr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const tn={fixed:!1,position:{top:0,left:0,right:0}},rn=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Header",tn,e);return c.createElement(Zr,(n=((e,t)=>{for(var r in t||(t={}))Jr.call(t,r)&&en(e,r,t[r]);if(Xr)for(var r of Xr(t))Qr.call(t,r)&&en(e,r,t[r]);return e})({section:"header",__staticSelector:"Header"},r),Ur(n,qr({ref:t}))));var n}));rn.displayName="@mantine/core/Header";var nn=Object.defineProperty,on=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,sn=(e,t,r)=>t in e?nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const cn={fixed:!1,position:{top:0,right:0},hiddenBreakpoint:"md",hidden:!1},un=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Aside",cn,e);return c.createElement(yr,((e,t)=>{for(var r in t||(t={}))an.call(t,r)&&sn(e,r,t[r]);if(on)for(var r of on(t))ln.call(t,r)&&sn(e,r,t[r]);return e})({section:"aside",__staticSelector:"Aside",ref:t},r))}));un.Section=kr,un.displayName="@mantine/core/Aside";var dn=Object.defineProperty,pn=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,mn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,gn=(e,t,r)=>t in e?dn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const hn={fixed:!1,position:{bottom:0,left:0,right:0}},vn=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Footer",hn,e);return c.createElement(Zr,(n=((e,t)=>{for(var r in t||(t={}))bn.call(t,r)&&gn(e,r,t[r]);if(mn)for(var r of mn(t))yn.call(t,r)&&gn(e,r,t[r]);return e})({section:"footer",__staticSelector:"Footer"},r),pn(n,fn({ref:t}))));var n}));vn.displayName="@mantine/core/Footer";var wn=Object.defineProperty,On=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable,Sn=(e,t,r)=>t in e?wn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pn=(e,t)=>{for(var r in t||(t={}))xn.call(t,r)&&Sn(e,r,t[r]);if(On)for(var r of On(t))kn.call(t,r)&&Sn(e,r,t[r]);return e};function En(e,t){const r=(0,w.a)({size:e.padding,sizes:t.spacing}),n=e.navbarOffsetBreakpoint?(0,w.a)({size:e.navbarOffsetBreakpoint,sizes:t.breakpoints}):null,o=e.asideOffsetBreakpoint?(0,w.a)({size:e.asideOffsetBreakpoint,sizes:t.breakpoints}):null;if(!e.fixed)return{padding:r};const a=(0,b.oI)(n),i=(0,b.oI)(o);return Pn({minHeight:"100vh",paddingTop:`calc(var(--mantine-header-height, 0px) + ${r})`,paddingBottom:`calc(var(--mantine-footer-height, 0px) + ${r})`,paddingLeft:`calc(var(--mantine-navbar-width, 0px) + ${r})`,paddingRight:`calc(var(--mantine-aside-width, 0px) + ${r})`},a===i?{[`@media (max-width: ${(0,h.em)(a-1)})`]:{paddingLeft:r,paddingRight:r}}:{[`@media (max-width: ${(0,h.em)(a-1)})`]:{paddingLeft:r},[`@media (max-width: ${(0,h.em)(i-1)})`]:{paddingRight:r}})}var Cn=(0,x.k)(((e,t)=>({root:{boxSizing:"border-box"},body:{display:"flex",boxSizing:"border-box"},main:Pn({flex:1,width:"100vw",boxSizing:"border-box"},En(t,e))}))),jn=Object.defineProperty,Nn=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,Dn=(e,t,r)=>t in e?jn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Rn={fixed:!0,padding:"md"},Ln=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("AppShell",Rn,e),{children:n,navbar:o,header:a,footer:i,aside:l,fixed:u,zIndex:d,padding:p,navbarOffsetBreakpoint:f,asideOffsetBreakpoint:m,className:b,styles:y,classNames:g,unstyled:h,hidden:v,layout:w,variant:O}=r,x=((e,t)=>{var r={};for(var n in e)zn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Nn)for(var n of Nn(e))t.indexOf(n)<0&&In.call(e,n)&&(r[n]=e[n]);return r})(r,["children","navbar","header","footer","aside","fixed","zIndex","padding","navbarOffsetBreakpoint","asideOffsetBreakpoint","className","styles","classNames","unstyled","hidden","layout","variant"]),{classes:k,cx:S}=Cn({padding:p,fixed:u,navbarOffsetBreakpoint:f,asideOffsetBreakpoint:m},{styles:y,classNames:g,unstyled:h,name:"AppShell",variant:O});return v?c.createElement(c.Fragment,null,n):c.createElement(Xt,{value:{fixed:u,zIndex:d,layout:w}},c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))zn.call(t,r)&&Dn(e,r,t[r]);if(Nn)for(var r of Nn(t))In.call(t,r)&&Dn(e,r,t[r]);return e})({className:S(k.root,b),ref:t},x),a,c.createElement("div",{className:k.body},o,c.createElement("main",{className:k.main},n),l),i))}));Ln.displayName="@mantine/core/AppShell";var _n=Object.defineProperty,An=Object.defineProperties,Tn=Object.getOwnPropertyDescriptors,$n=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Bn=(e,t,r)=>t in e?_n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wn=(e,t)=>{for(var r in t||(t={}))Mn.call(t,r)&&Bn(e,r,t[r]);if($n)for(var r of $n(t))Fn.call(t,r)&&Bn(e,r,t[r]);return e},Hn=(0,x.k)(((e,{ratio:t})=>{return{root:{position:"relative",maxWidth:"100%","&::before":{content:'""',height:0,display:"block",paddingBottom:1/t*100+"%"}
1,"&::after":{content:'""',display:"table",clear:"both"},"& > *:not(style)":(r=Wn({},e.fn.cover()),n={overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},An(r,Tn(n))),"& > img, & > video":{objectFit:"cover"}}};var r,n})),Gn=Hn,Vn=Object.defineProperty,Yn=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,Un=(e,t,r)=>t in e?Vn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const qn=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("AspectRatio",{},e),{className:n,ratio:o,children:a,unstyled:i,variant:l}=r,u=((e,t)=>{var r={};for(var n in e)Zn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Yn)for(var n of Yn(e))t.indexOf(n)<0&&Kn.call(e,n)&&(r[n]=e[n]);return r})(r,["className","ratio","children","unstyled","variant"]),{classes:d,cx:p}=Gn({ratio:o},{name:"AspectRatio",unstyled:i,variant:l});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Zn.call(t,r)&&Un(e,r,t[r]);if(Yn)for(var r of Yn(t))Kn.call(t,r)&&Un(e,r,t[r]);return e})({ref:t,className:p(d.root,n)},u),a)}));qn.displayName="@mantine/core/AspectRatio";var Xn=r(37048),Jn=r(80665);function Qn({data:e}){const t=[],r=[],n=e.reduce(((e,t,n)=>(t.group?e[t.group]?e[t.group].push(n):e[t.group]=[n]:r.push(n),e)),{});return Object.keys(n).forEach((r=>{t.push(...n[r].map((t=>e[t])))})),t.push(...r.map((t=>e[t]))),t}var eo=r(89058);const to={xs:(0,h.h)(1),sm:(0,h.h)(2),md:(0,h.h)(3),lg:(0,h.h)(4),xl:(0,h.h)(5)};function ro(e,t){const r=e.fn.variant({variant:"outline",color:t}).border;return"string"==typeof t&&(t in e.colors||t.split(".")[0]in e.colors)?r:void 0===t?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]:t}var no=(0,x.k)(((e,{color:t},{size:r,variant:n})=>({root:{},withLabel:{borderTop:"0 !important"},left:{"&::before":{display:"none"}},right:{"&::after":{display:"none"}},label:{display:"flex",alignItems:"center","&::before":{content:'""',flex:1,height:(0,h.h)(1),borderTop:`${(0,w.a)({size:r,sizes:to})} ${n} ${ro(e,t)}`,marginRight:e.spacing.xs},"&::after":{content:'""',flex:1,borderTop:`${(0,w.a)({size:r,sizes:to})} ${n} ${ro(e,t)}`,marginLeft:e.spacing.xs}},labelDefaultStyles:{color:"dark"===t?e.colors.dark[1]:e.fn.themeColor(t,"dark"===e.colorScheme?5:e.fn.primaryShade(),!1)},horizontal:{border:0,borderTopWidth:(0,h.h)((0,w.a)({size:r,sizes:to})),borderTopColor:ro(e,t),borderTopStyle:n,margin:0},vertical:{border:0,alignSelf:"stretch",height:"auto",borderLeftWidth:(0,h.h)((0,w.a)({size:r,sizes:to})),borderLeftColor:ro(e,t),borderLeftStyle:n}}))),oo=Object.defineProperty,ao=Object.defineProperties,io=Object.getOwnPropertyDescriptors,lo=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,uo=(e,t,r)=>t in e?oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,po=(e,t)=>{for(var r in t||(t={}))so.call(t,r)&&uo(e,r,t[r]);if(lo)for(var r of lo(t))co.call(t,r)&&uo(e,r,t[r]);return e};const fo={orientation:"horizontal",size:"xs",labelPosition:"left",variant:"solid"},mo=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Divider",fo,e),{className:n,color:o,orientation:a,size:i,label:l,labelPosition:u,labelProps:d,variant:p,styles:f,classNames:m,unstyled:b}=r,y=((e,t)=>{var r={};for(var n in e)so.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&lo)for(var n of lo(e))t.indexOf(n)<0&&co.call(e,n)&&(r[n]=e[n]);return r})(r,["className","color","orientation","size","label","labelPosition","labelProps","variant","styles","classNames","unstyled"]),{classes:g,cx:v}=no({color:o},{classNames:m,styles:f,unstyled:b,name:"Divider",variant:p,size:i}),w="vertical"===a,O="horizontal"===a,x=!!l&&O,k=!(null==d?void 0:d.color);return c.createElement(H.x,po({ref:t,className:v(g.root,{[g.vertical]:w,[g.horizontal]:O,[g.withLabel]:x},n),role:"separator"},y),x&&c.createElement(Dt.x,(S=po({},d),P={size:(null==d?void 0:d.size)||"xs",mt:(0,h.h)(2),className:v(g.label,g[u],{[g.labelDefaultStyles]:k})},ao(S,io(P))),l));var S,P}));mo.displayName="@mantine/core/Divider";var bo=Object.defineProperty,yo=Object.defineProperties,go=Object.getOwnPropertyDescriptors,ho=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,wo=Object.prototype.propertyIsEnumerable,Oo=(e,t,r)=>t in e?bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xo=(e,t)=>{for(var r in t||(t={}))vo.call(t,r)&&Oo(e,r,t[r]);if(ho)for(var r of ho(t))wo.call(t,r)&&Oo(e,r,t[r]);return e},ko=(0,x.k)(((e,t,{size:r})=>{return{item:(n=xo({},e.fn.fontStyles()),o={boxSizing:"border-box",wordBreak:"break-all",textAlign:"left",width:"100%",padding:`calc(${(0,w.a)({size:r,sizes:e.spacing})} / 1.5) ${(0,w.a)({size:r,sizes:e.spacing})}`,cursor:"pointer",fontSize:(0,w.a)({size:r,sizes:e.fontSizes}),color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,borderRadius:e.fn.radius(),"&[data-hovered]":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[1]},"&[data-selected]":xo({backgroundColor:e.fn.variant({variant:"filled"}).background,color:e.fn.variant({variant:"filled"}).color},e.fn.hover({backgroundColor:e.fn.variant({variant:"filled"}).hover})),"&[data-disabled]":{cursor:"default",color:e.colors.dark[2]}},yo(n,go(o))),nothingFound:{boxSizing:"border-box",color:e.colors.gray[6],paddingTop:`calc(${(0,w.a)({size:r,sizes:e.spacing})} / 2)`,paddingBottom:`calc(${(0,w.a)({size:r,sizes:e.spacing})} / 2)`,textAlign:"center"},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`calc(${(0,w.a)({size:r,sizes:e.spacing})} / 1.5) ${(0,w.a)({size:r,sizes:e.spacing})}`},separatorLabel:{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}};var n,o})),So=ko,Po=Object.defineProperty,Eo=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable,No=(e,t,r)=>t in e?Po(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zo=(e,t)=>{for(var r in t||(t={}))Co.call(t,r)&&No(e,r,t[r]);if(Eo)for(var r of Eo(t))jo.call(t,r)&&No(e,r,t[r]);return e};function Io({data:e,hovered:t,classNames:r,styles:n,isItemSelected:o,uuid:a,__staticSelector:i,onItemHover:l,onItemSelect:s,itemsRefs:u,itemComponent:d,size:p,nothingFound:f,creatable:m,createLabel:b,unstyled:y,variant:g}){const{classes:h}=So(null,{classNames:r,styles:n,unstyled:y,name:i,variant:g,size:p}),v=[],w=[];let O=null;const x=(e,r)=>{const n="function"==typeof o&&o(e.value);return c.createElement(d,zo({key:e.value,className:h.item,"data-disabled":e.disabled||void 0,"data-hovered":!e.disabled&&t===r||void 0,"data-selected":!e.disabled&&n||void 0,selected:n,onMouseEnter:()=>l(r),id:`${a}-${r}`,role:"option",tabIndex:-1,"aria-selected":t===r,ref:t=>{u&&u.current&&(u.current[e.value]=t)},onMouseDown:e.disabled?null:t=>{t.preventDefault(),s(e)},disabled:e.disabled,variant:g},e))};let k=null;if(e.forEach(((e,t)=>{e.creatable?O=t:e.group?(k!==e.group&&(k=e.group,w.push(c.createElement("div",{className:h.separator,key:`__mantine-divider-${t}`},c.createElement(mo,{classNames:{label:h.separatorLabel},label:e.group})))),w.push(x(e,t))):v.push(x(e,t))})),m){const r=e[O];v.push(c.createElement("div",{key:(0,eo.k)(),className:h.item,"data-hovered":t===O||void 0,onMouseEnter:()=>l(O),onMouseDown:e=>{e.preventDefault(),s(r)},tabIndex:-1,ref:e=>{u&&u.current&&(u.current[r.value]=e)}},b))}return w.length>0&&v.length>0&&v.unshift(c.createElement("div",{className:h.separator,key:"empty-group-separator"},c.createElement(mo,null))),w.length>0||v.length>0?c.createElement(c.Fragment,null,w,v):c.createElement(Dt.x,{size:p,unstyled:y,className:h.nothingFound},f)}Io.displayName="@mantine/core/SelectItems";var Do=Object.defineProperty,Ro=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,_o=Object.prototype.propertyIsEnumerable,Ao=(e,t,r)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const To=(0,c.forwardRef)(((e,t)=>{var r=e,{label:n,value:o}=r,a=((e,t)=>{var r={};for(var n in e)Lo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ro)for(var n of Ro(e))t.indexOf(n)<0&&_o.call(e,n)&&(r[n]=e[n]);return r})(r,["label","value"]);return c.createElement("div",((e,t)=>
1{for(var r in t||(t={}))Lo.call(t,r)&&Ao(e,r,t[r]);if(Ro)for(var r of Ro(t))_o.call(t,r)&&Ao(e,r,t[r]);return e})({ref:t},a),n||o)}));To.displayName="@mantine/core/DefaultItem";var $o=r(88854),Mo=Object.defineProperty,Fo=Object.defineProperties,Bo=Object.getOwnPropertyDescriptors,Wo=Object.getOwnPropertySymbols,Ho=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Vo=(e,t,r)=>t in e?Mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yo=(e,t)=>{for(var r in t||(t={}))Ho.call(t,r)&&Vo(e,r,t[r]);if(Wo)for(var r of Wo(t))Go.call(t,r)&&Vo(e,r,t[r]);return e};const Zo=(0,c.forwardRef)(((e,t)=>{var r,n,o=e,{style:a}=o,i=((e,t)=>{var r={};for(var n in e)Ho.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Wo)for(var n of Wo(e))t.indexOf(n)<0&&Go.call(e,n)&&(r[n]=e[n]);return r})(o,["style"]);return c.createElement($o.x,(r=Yo({},i),n={style:Yo({width:"100%"},a),viewportProps:{tabIndex:-1},viewportRef:t},Fo(r,Bo(n))),i.children)}));Zo.displayName="@mantine/core/SelectScrollArea";var Ko=(0,x.k)((()=>({dropdown:{},itemsWrapper:{padding:(0,h.h)(4),display:"flex",width:"100%",boxSizing:"border-box"}}))),Uo=r(45528),qo=Object.defineProperty,Xo=Object.getOwnPropertySymbols,Jo=Object.prototype.hasOwnProperty,Qo=Object.prototype.propertyIsEnumerable,ea=(e,t,r)=>t in e?qo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ta=(e,t)=>{for(var r in t||(t={}))Jo.call(t,r)&&ea(e,r,t[r]);if(Xo)for(var r of Xo(t))Qo.call(t,r)&&ea(e,r,t[r]);return e},ra=(e,t)=>{var r={};for(var n in e)Jo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Xo)for(var n of Xo(e))t.indexOf(n)<0&&Qo.call(e,n)&&(r[n]=e[n]);return r};function na({opened:e,transitionProps:t={transition:"fade",duration:0},shadow:r,withinPortal:n,portalProps:o,children:a,__staticSelector:i,onDirectionChange:l,switchDirectionOnFlip:s,zIndex:u,dropdownPosition:d,positionDependencies:p=[],classNames:f,styles:m,unstyled:b,readOnly:y,variant:g}){return c.createElement(Uo.J,{unstyled:b,classNames:f,styles:m,width:"target",withRoles:!1,opened:e,middlewares:{flip:"flip"===d,shift:!1},position:"flip"===d?"bottom":d,positionDependencies:p,zIndex:u,__staticSelector:i,withinPortal:n,portalProps:o,transitionProps:t,shadow:r,disabled:y,onPositionChange:e=>s&&(null==l?void 0:l("top"===e?"column-reverse":"column")),variant:g},a)}function oa({data:e,limit:t,value:r,filter:n}){const o=[];for(let a=0;a<e.length&&(n(r,e[a])&&o.push(e[a]),!(o.length>=t));a+=1);return o}na.Target=Uo.J.Target,na.Dropdown=function(e){var t=e,{children:r,component:n="div",maxHeight:o=220,direction:a="column",id:i,innerRef:l,__staticSelector:s,styles:u,classNames:d,unstyled:p}=t,f=ra(t,["children","component","maxHeight","direction","id","innerRef","__staticSelector","styles","classNames","unstyled"]);const{classes:m}=Ko(null,{name:s,styles:u,classNames:d,unstyled:p});return c.createElement(Uo.J.Dropdown,ta({p:0,onMouseDown:e=>e.preventDefault()},f),c.createElement("div",{style:{maxHeight:(0,h.h)(o),display:"flex"}},c.createElement(H.x,{component:n||"div",id:`${i}-items`,"aria-labelledby":`${i}-label`,role:"listbox",onMouseDown:e=>e.preventDefault(),style:{flex:1,overflowY:n!==Zo?"auto":void 0},"data-combobox-popover":!0,tabIndex:-1,ref:l},c.createElement("div",{className:m.itemsWrapper,style:{flexDirection:a}},r))))};var aa=(0,x.k)((()=>({wrapper:{position:"relative"}}))),ia=r(66261),la=r(94151),sa=Object.defineProperty,ca=Object.defineProperties,ua=Object.getOwnPropertyDescriptors,da=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable,ma=(e,t,r)=>t in e?sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ba=(e,t)=>{for(var r in t||(t={}))pa.call(t,r)&&ma(e,r,t[r]);if(da)for(var r of da(t))fa.call(t,r)&&ma(e,r,t[r]);return e},ya=(e,t)=>ca(e,ua(t));const ga={required:!1,size:"sm",shadow:"sm",limit:5,itemComponent:To,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:function(e,t){return t.value.toLowerCase().trim().includes(e.toLowerCase().trim())},switchDirectionOnFlip:!1,zIndex:(0,y.w)("popover"),dropdownPosition:"flip",maxDropdownHeight:"auto",positionDependencies:[]},ha=(0,c.forwardRef)(((e,t)=>{const r=(0,ia.k)("Autocomplete",ga,e),{inputProps:n,wrapperProps:o,shadow:a,data:i,limit:l,value:s,defaultValue:u,onChange:d,unstyled:p,itemComponent:f,onItemSubmit:m,onKeyDown:b,onFocus:y,onBlur:g,onClick:h,transitionProps:v,initiallyOpened:w,classNames:O,styles:x,filter:k,nothingFound:S,onDropdownClose:P,onDropdownOpen:E,withinPortal:C,switchDirectionOnFlip:j,zIndex:N,dropdownPosition:z,maxDropdownHeight:I,dropdownComponent:D,positionDependencies:L,readOnly:_,hoverOnSearchChange:A}=r,T=((e,t)=>{var r={};for(var n in e)pa.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&da)for(var n of da(e))t.indexOf(n)<0&&fa.call(e,n)&&(r[n]=e[n]);return r}
1)(r,["inputProps","wrapperProps","shadow","data","limit","value","defaultValue","onChange","unstyled","itemComponent","onItemSubmit","onKeyDown","onFocus","onBlur","onClick","transitionProps","initiallyOpened","classNames","styles","filter","nothingFound","onDropdownClose","onDropdownOpen","withinPortal","switchDirectionOnFlip","zIndex","dropdownPosition","maxDropdownHeight","dropdownComponent","positionDependencies","readOnly","hoverOnSearchChange"]),{classes:$}=aa(null,{classNames:O,styles:x,name:"Autocomplete",unstyled:p}),[M,F]=(0,c.useState)(w),[B,W]=(0,c.useState)(-1),[H,G]=(0,c.useState)("column"),V=(0,c.useRef)(null),[Y,Z]=(0,c.useState)(!1),[K,U]=(0,R.C)({value:s,defaultValue:u,finalValue:"",onChange:d}),q=e=>{F(e);const t=e?E:P;"function"==typeof t&&t()};(0,Xn.l)((()=>{W(A&&K?0:-1)}),[K,A]);const X=Qn({data:oa({data:i.map((e=>"string"==typeof e?{value:e}:e)),value:K,limit:l,filter:k})}),J=M&&(X.length>0||0===X.length&&!!S);return c.createElement(la.I.Wrapper,ya(ba({},o),{__staticSelector:"Autocomplete"}),c.createElement(na,{opened:J,transitionProps:v,shadow:"sm",withinPortal:C,__staticSelector:"Autocomplete",onDirectionChange:G,switchDirectionOnFlip:j,zIndex:N,dropdownPosition:z,positionDependencies:L,classNames:O,styles:x,unstyled:p,readOnly:_,variant:n.variant},c.createElement(na.Target,null,c.createElement("div",{className:$.wrapper,"aria-controls":n.id,onMouseLeave:()=>W(-1),tabIndex:-1},c.createElement(la.I,ya(ba(ba({type:"search",autoComplete:"off"},n),T),{readOnly:_,"data-mantine-stop-propagation":M,ref:(0,Jn.Y)(t,V),onKeyDown:e=>{if(Y)return;"function"==typeof b&&b(e);const t="column"===H,r=()=>{W((e=>e<X.length-1?e+1:e))},n=()=>{W((e=>e>0?e-1:e))};switch(e.key){case"ArrowUp":e.preventDefault(),t?n():r();break;case"ArrowDown":e.preventDefault(),t?r():n();break;case"Enter":X[B]&&M&&(e.preventDefault(),U(X[B].value),"function"==typeof m&&m(X[B]),q(!1));break;case"Escape":M&&(e.preventDefault(),q(!1))}},classNames:O,styles:x,__staticSelector:"Autocomplete",value:K,onChange:e=>{U(e.currentTarget.value),q(!0)},onFocus:e=>{"function"==typeof y&&y(e),q(!0)},onBlur:e=>{"function"==typeof g&&g(e),q(!1)},onClick:e=>{"function"==typeof h&&h(e),q(!0)},onCompositionStart:()=>Z(!0),onCompositionEnd:()=>Z(!1),role:"combobox","aria-haspopup":"listbox","aria-owns":J?`${n.id}-items`:null,"aria-expanded":J,"aria-autocomplete":"list","aria-controls":J?`${n.id}-items`:null,"aria-activedescendant":B>=0?`${n.id}-${B}`:null})))),c.createElement(na.Dropdown,{component:D||Zo,maxHeight:I,direction:H,id:n.id,__staticSelector:"Autocomplete",classNames:O,styles:x},c.createElement(Io,{data:X,hovered:B,classNames:O,styles:x,uuid:n.id,__staticSelector:"Autocomplete",onItemHover:W,onItemSelect:e=>{U(e.value),"function"==typeof m&&m(e),q(!1)},itemComponent:f,size:n.size,nothingFound:S,variant:n.variant}))))}));ha.displayName="@mantine/core/Autocomplete";var va=Object.defineProperty,wa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,ka=(e,t,r)=>t in e?va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sa=(e,t)=>{for(var r in t||(t={}))Oa.call(t,r)&&ka(e,r,t[r]);if(wa)for(var r of wa(t))xa.call(t,r)&&ka(e,r,t[r]);return e},Pa=(e,t)=>{var r={};for(var n in e)Oa.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&wa)for(var n of wa(e))t.indexOf(n)<0&&xa.call(e,n)&&(r[n]=e[n]);return r};function Ea(e){const t=e,{style:r}=t,n=Pa(t,["style"]);return c.createElement("svg",Sa({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r},n),c.createElement("path",{d:"M0.877014 7.49988C0.877014 3.84219 3.84216 0.877045 7.49985 0.877045C11.1575 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1575 14.1227 7.49985 14.1227C3.84216 14.1227 0.877014 11.1575 0.877014 7.49988ZM7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.97196 2.38774 10.3131 3.30727 11.3213C4.19074 9.94119 5.73818 9.02499 7.50023 9.02499C9.26206 9.02499 10.8093 9.94097 11.6929 11.3208C12.6121 10.3127 13.1727 8.97172 13.1727 7.49988C13.1727 4.36686 10.6328 1.82704 7.49985 1.82704ZM10.9818 11.9787C10.2839 10.7795 8.9857 9.97499 7.50023 9.97499C6.01458 9.97499 4.71624 10.7797 4.01845 11.9791C4.97952 12.7272 6.18765 13.1727 7.49985 13.1727C8.81227 13.1727 10.0206 12.727 10.9818 11.9787ZM5.14999 6.50487C5.14999 5.207 6.20212 4.15487 7.49999 4.15487C8.79786 4.15487 9.84999 5.207 9.84999 6.50487C9.84999 7.80274 8.79786 8.85487 7.49999 8.85487C6.20212 8.85487 5.14999 7.80274 5.14999 6.50487ZM7.49999 5.10487C6.72679 5.10487 6.09999 5.73167 6.09999 6.50487C6.09999 7.27807 6.72679 7.90487 7.49999 7.90487C8.27319 7.90487 8.89999 7.27807 8.89999 6.50487C8.89999 5.73167 8.27319 5.10487 7.49999 5.10487Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var Ca=Object.defineProperty,ja=Object.defineProperties,Na=Object.getOwnPropertyDescriptors,za=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable,Ra=(e,t,r)=>t in e?Ca(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,La=(e,t)=>{for(var r in t||(t={}))Ia.call(t,r)&&Ra(e,r,t[r]);if(za)for(var r of za(t))Da.call(t,r)&&Ra(e,r,t[r]);return e},_a=(e,t)=>ja(e,Na(t));const Aa=(0,c.createContext)(null);function Ta({spacing:e,children:t}){return c.createElement(Aa.Provider,{value:{spacing:e}},t)}var $a=(0,x.k)(((e,{spacing:t})=>({root:{display:"flex",paddingLeft:(0,w.a)({size:t,sizes:e.spacing})}}))),Ma=Object.defineProperty,Fa=Object.getOwnPropertySymbols,Ba=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Ha=(e,t,r)=>t in e?Ma(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ga={},Va=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("AvatarGroup",Ga,e),{children:n,spacing:o="sm",unstyled:a,className:i,variant:l}=r,u=((e,t)=>{var r={};for(var n in e)Ba.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Fa)for(var n of Fa(e))t.indexOf(n)<0&&Wa.call(e,n)&&(r[n]=e[n]);return r})(r,["children","spacing","unstyled","className","variant"]),{classes:d,cx:p}=$a({spacing:o},{name:"AvatarGroup",unstyled:a,variant:l});return c.createElement(Ta,{spacing:o},c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Ba.call(t,r)&&Ha(e,r,t[r]);if(Fa)for(var r of Fa(t))Wa.call(t,r)&&Ha(e,r,t[r]);return e})({ref:t,className:p(d.root,i)},u),n))}));Va.displayName="@mantine/core/AvatarGroup";var Ya=Object.defineProperty,Za=Object.defineProperties,Ka=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,Ja=(e,t,r)=>t in e?Ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qa=(e,t)=>{for(var r in t||(t={}))qa.call(t,r)&&Ja(e,r,t[r]);if(Ua)for(var r of Ua(t))Xa.call(t,r)&&Ja(e,r,t[r]);return e},ei=(e,t)=>Za(e,Ka(t));const ti=["filled","light","gradient","outline"],ri={xs:(0,h.h)(16),sm:(0,h.h)(26),md:(0,h.h)(38),lg:(0,h.h)(56),xl:(0,h.h)(84)};function ni({withinGroup:e,spacing:t,theme:r}){return e?{marginLeft:`calc(${(0,w.a)({size:t,sizes:r.spacing})} * -1)`,backgroundColor:`${"dark"===r.colorScheme?r.colors.dark[7]:r.white}`,border:`${(0,h.h)(2)} solid ${"dark"===r.colorScheme?r.colors.dark[7]:r.white}`}:null}var oi=(0,x.k)(((e,{radius:t,withinGroup:r,spacing:n,color:o,gradient:a},{variant:i,size:l})=>{const s=function({theme:e,variant:t,color:r,gradient:n}){const o=e.fn.variant({variant:t,color:r,gradient:n});return ti.includes(t)?{placeholder:{color:o.color,backgroundColor:o.background,backgroundImage:"gradient"===t?o.background:void 0,border:`${(0,h.h)("gradient"===t?0:1)} solid ${o.border}`},placeholderIcon:{color:o.color}}:{}}({theme:e,color:o,gradient:a,variant:i});return{root:Qa(ei(Qa({},e.fn.focusStyles()),{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",display:"block",userSelect:"none",overflow:"hidden",borderRadius:e.fn.radius(t),textDecoration:"none",border:0,backgroundColor:"transparent",padding:0,width:(0,w.a)({size:l,sizes:ri}),minWidth:(0,w.a)({size:l,sizes:ri}),height:(0,w.a)({size:l,sizes:ri})}),ni({withinGroup:r,spacing:n,theme:e})),image:{objectFit:"cover",width:"100%",height:"100%",display:"block"},placeholder:Qa(ei(Qa({},e.fn.fontStyles()),{fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",userSelect:"none",borderRadius:e.fn.radius(t),fontSize:`calc(${(0,w.a)({size:l,sizes:ri})} / 2.5)`}),s.placeholder),placeholderIcon:Qa({width:"70%",height:"70%"},s.placeholderIcon)}})),ai=Object.defineProperty,ii=Object.defineProperties,li=Object.getOwnPropertyDescriptors,si=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,di=(e,t,r)=>t in e?ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pi=(e,t)=>{for(var r in t||(t={}))ci.call(t,r)&&di(e,r,t[r]);if(si)for(var r of si(t))ui.call(t,r)&&di(e,r,t[r]);return e};const fi={size:"md",color:"gray",variant:"light"},mi=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Avatar",fi,e),{className:n,size:o,src:a,alt:i,radius:l,children:u,color:d,variant:p,gradient:f,classNames:m,styles:b,imageProps:y,unstyled:g}=r,h=((e,t)=>{var r={};for(var n in e)ci.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&si)for(var n of si(e))t.indexOf(n)<0&&ui.call(e,n)&&(r[n]=e[n]);return r})(r,["className","size","src","alt","radius","children","color","variant","gradient","classNames","styles","imageProps","unstyled"]),v=function(){const e=(0,c.useContext)(Aa);return e?_a(La({},e),{withinGroup:!0}):{spacing:null,withinGroup:!1}}
1(),[w,O]=(0,c.useState)(!a),{classes:x,cx:k}=oi({color:d,radius:l,withinGroup:v.withinGroup,spacing:v.spacing,gradient:f},{classNames:m,styles:b,unstyled:g,name:"Avatar",variant:p,size:o});return(0,c.useEffect)((()=>{O(!a)}),[a]),c.createElement(H.x,pi({component:"div",className:k(x.root,n),ref:t},h),w?c.createElement("div",{className:x.placeholder,title:i},u||c.createElement(Ea,{className:x.placeholderIcon})):c.createElement("img",(S=pi({},y),P={className:x.image,src:a,alt:i,onError:()=>O(!0)},ii(S,li(P)))));var S,P}));mi.displayName="@mantine/core/Avatar",mi.Group=Va;const bi=(0,o.F)(mi);var yi=Object.defineProperty,gi=Object.defineProperties,hi=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,xi=(e,t,r)=>t in e?yi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ki=(e,t)=>{for(var r in t||(t={}))wi.call(t,r)&&xi(e,r,t[r]);if(vi)for(var r of vi(t))Oi.call(t,r)&&xi(e,r,t[r]);return e},Si=(0,x.k)(((e,{radius:t,src:r})=>{return{root:(n=ki({},e.fn.focusStyles()),o={backgroundSize:"cover",backgroundPosition:"center",display:"block",width:"100%",border:0,textDecoration:"none",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,backgroundImage:`url('${r}')`,borderRadius:e.fn.radius(t)},gi(n,hi(o)))};var n,o})),Pi=Si,Ei=Object.defineProperty,Ci=Object.defineProperties,ji=Object.getOwnPropertyDescriptors,Ni=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Di=(e,t,r)=>t in e?Ei(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ri={radius:0},Li=(0,c.forwardRef)(((e,t)=>
1{const r=(0,s.N4)("BackgroundImage",Ri,e),{src:n,radius:o,variant:a,unstyled:i,className:l}=r,u=((e,t)=>{var r={};for(var n in e)zi.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ni)for(var n of Ni(e))t.indexOf(n)<0&&Ii.call(e,n)&&(r[n]=e[n]);return r})(r,["src","radius","variant","unstyled","className"]),{classes:d,cx:p}=Pi({radius:o,src:n},{name:"BackgroundImage",variant:a,unstyled:i});return c.createElement(H.x,(f=((e,t)=>{for(var r in t||(t={}))zi.call(t,r)&&Di(e,r,t[r]);if(Ni)for(var r of Ni(t))Ii.call(t,r)&&Di(e,r,t[r]);return e})({},u),m={ref:t,className:p(d.root,l)},Ci(f,ji(m))));var f,m}));Li.displayName="@mantine/core/BackgroundImage";const _i=(0,o.F)(Li);var Ai=Object.defineProperty,Ti=Object.defineProperties,$i=Object.getOwnPropertyDescriptors,Mi=Object.getOwnPropertySymbols,Fi=Object.prototype.hasOwnProperty,Bi=Object.prototype.propertyIsEnumerable,Wi=(e,t,r)=>t in e?Ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Hi=(e,t)=>{for(var r in t||(t={}))Fi.call(t,r)&&Wi(e,r,t[r]);if(Mi)for(var r of Mi(t))Bi.call(t,r)&&Wi(e,r,t[r]);return e};const Gi=["light","filled","outline","dot","gradient"],Vi={xs:{fontSize:(0,h.h)(9),height:(0,h.h)(16)},sm:{fontSize:(0,h.h)(10),height:(0,h.h)(18)},md:{fontSize:(0,h.h)(11),height:(0,h.h)(20)},lg:{fontSize:(0,h.h)(13),height:(0,h.h)(26)},xl:{fontSize:(0,h.h)(16),height:(0,h.h)(32)}},Yi={xs:(0,h.h)(4),sm:(0,h.h)(4),md:(0,h.h)(6),lg:(0,h.h)(8),xl:(0,h.h)(10)};function Zi({theme:e,variant:t,color:r,size:n,gradient:o}){if(!Gi.includes(t))return null;if("dot"===t){const t=(0,w.a)({size:n,sizes:Yi});return{backgroundColor:"transparent",color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],border:`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[3]}`,paddingLeft:`calc(${(0,w.a)({size:n,sizes:e.spacing})} / 1.5 - ${t} / 2)`,"&::before":{content:'""',display:"block",width:t,height:t,borderRadius:t,backgroundColor:e.fn.themeColor(r,"dark"===e.colorScheme?4:e.fn.primaryShade("light"),!0),marginRight:t}}}const a=e.fn.variant({color:r,variant:t,gradient:o});return{background:a.background,color:a.color,border:`${(0,h.h)("gradient"===t?0:1)} solid ${a.border}`}}var Ki=(0,x.k)(((e,{color:t,radius:r,gradient:n,fullWidth:o},{variant:a,size:i})=>{const{fontSize:l,height:s}=i in Vi?Vi[i]:Vi.md;return{leftSection:{marginRight:`calc(${e.spacing.xs} / 2)`},rightSection:{marginLeft:`calc(${e.spacing.xs} / 2)`},inner:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},root:Hi((c=Hi(Hi({},e.fn.focusStyles()),e.fn.fontStyles()),u={fontSize:l,height:s,WebkitTapHighlightColor:"transparent",lineHeight:`calc(${s} - ${(0,h.h)(2)})`,textDecoration:"none",padding:`0 calc(${(0,w.a)({size:i,sizes:e.spacing})} / 1.5)`,boxSizing:"border-box",display:o?"flex":"inline-flex",alignItems:"center",justifyContent:"center",width:o?"100%":"auto",textTransform:"uppercase",borderRadius:e.fn.radius(r),fontWeight:700,letterSpacing:(0,h.h)(.25),cursor:"inherit",textOverflow:"ellipsis",overflow:"hidden"},Ti(c,$i(u))),Zi({theme:e,variant:a,color:t,size:i,gradient:n}))};var c,u})),Ui=Ki,qi=Object.defineProperty,Xi=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,el=(e,t,r)=>t in e?qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const tl={variant:"light",size:"md",radius:"xl"},rl=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Badge",tl,e),{className:n,color:o,variant:a,fullWidth:i,children:l,size:u,leftSection:d,rightSection:p,radius:f,gradient:m,classNames:b,styles:y,unstyled:g}=r,h=((e,t)=>{var r={};for(var n in e)Ji.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Xi)for(var n of Xi(e))t.indexOf(n)<0&&Qi.call(e,n)&&(r[n]=e[n]);return r})(r,["className","color","variant","fullWidth","children","size","leftSection","rightSection","radius","gradient","classNames","styles","unstyled"]),{classes:v,cx:w}=Ui({fullWidth:i,color:o,radius:f,gradient:m},{classNames:b,styles:y,name:"Badge",unstyled:g,variant:a,size:u});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Ji.call(t,r)&&el(e,r,t[r]);if(Xi)for(var r of Xi(t))Qi.call(t,r)&&el(e,r,t[r]);return e})({className:w(v.root,n),ref:t},h),d&&c.createElement("span",{className:v.leftSection},d),c.createElement("span",{className:v.inner},l),p&&c.createElement("span",{className:v.rightSection},p))}));rl.displayName="@mantine/core/Badge";const nl=(0,o.F)(rl);var ol=Object.defineProperty,al=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,ll=Object.prototype.propertyIsEnumerable,sl=(e,t,r)=>t in e?ol(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,cl=(e,t)=>{for(var r in t||(t={}))il.call(t,r)&&sl(e,r,t[r]);if(al)for(var r of al(t))ll.call(t,r)&&sl(e,r,t[r]);return e},ul=(e,t)=>
1{var r={};for(var n in e)il.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&al)for(var n of al(e))t.indexOf(n)<0&&ll.call(e,n)&&(r[n]=e[n]);return r};function dl(e){const t=e,{style:r}=t,n=ul(t,["style"]);return c.createElement("svg",cl({viewBox:"0 0 409.294 409.294",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:cl({width:(0,h.h)(20),height:(0,h.h)(20)},r)},n),c.createElement("path",{d:"M0 204.647v175.412h175.412V204.647H58.471c0-64.48 52.461-116.941 116.941-116.941V29.235C78.684 29.235 0 107.919 0 204.647zM409.294 87.706V29.235c-96.728 0-175.412 78.684-175.412 175.412v175.412h175.412V204.647H292.353c0-64.48 52.461-116.941 116.941-116.941z"}))}var pl=Object.defineProperty,fl=Object.defineProperties,ml=Object.getOwnPropertyDescriptors,bl=Object.getOwnPropertySymbols,yl=Object.prototype.hasOwnProperty,gl=Object.prototype.propertyIsEnumerable,hl=(e,t,r)=>t in e?pl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vl=(e,t)=>{for(var r in t||(t={}))yl.call(t,r)&&hl(e,r,t[r]);if(bl)for(var r of bl(t))gl.call(t,r)&&hl(e,r,t[r]);return e},wl=(0,x.k)(((e,{color:t})=>{return{root:(r=vl({},e.fn.fontStyles()),n={fontSize:e.fontSizes.lg,lineHeight:e.lineHeight,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,margin:0,borderTopRightRadius:e.radius.sm,borderBottomRightRadius:e.radius.sm,padding:`${e.spacing.md} ${e.spacing.lg}`},fl(r,ml(n))),inner:{display:"flex"},body:{flex:1,overflow:"hidden",textOverflow:"ellipsis"},icon:{color:e.fn.variant({variant:"filled",color:t}).background,marginRight:e.spacing.lg,marginTop:(0,h.h)(2),width:(0,h.h)(22)},cite:{display:"block",fontSize:e.fontSizes.sm,marginTop:e.spacing.xs,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],overflow:"hidden",textOverflow:"ellipsis"}};var r,n})),Ol=wl,xl=Object.defineProperty,kl=Object.getOwnPropertySymbols,Sl=Object.prototype.hasOwnProperty,Pl=Object.prototype.propertyIsEnumerable,El=(e,t,r)=>t in e?xl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Cl={color:"gray",icon:c.createElement(dl,null)},jl=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Blockquote",Cl,e),{className:n,color:o,icon:a,cite:i,children:l,classNames:u,styles:d,unstyled:p,variant:f}=r,m=((e,t)=>{var r={};for(var n in e)Sl.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&kl)for(var n of kl(e))t.indexOf(n)<0&&Pl.call(e,n)&&(r[n]=e[n]);return r})(r,["className","color","icon","cite","children","classNames","styles","unstyled","variant"]),{classes:b,cx:y}=Ol({color:o},{classNames:u,styles:d,unstyled:p,name:"Blockquote",variant:f});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Sl.call(t,r)&&El(e,r,t[r]);if(kl)for(var r of kl(t))Pl.call(t,r)&&El(e,r,t[r]);return e})({component:"blockquote",className:y(b.root,n),ref:t},m),c.createElement("div",{className:b.inner},a&&c.createElement("div",{className:b.icon},a),c.createElement("div",{className:b.body},l,i&&c.createElement("cite",{className:b.cite},i))))}
1));jl.displayName="@mantine/core/Blockquote";var Nl=r(12756),zl=r(16405),Il=r(2893),Dl=r(36883),Rl=(0,x.k)((e=>({root:{display:"flex",alignItems:"center"},breadcrumb:{lineHeight:1,whiteSpace:"nowrap",WebkitTapHighlightColor:"transparent"},separator:{marginLeft:e.spacing.xs,marginRight:e.spacing.xs,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[7],lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center"}}))),Ll=Object.defineProperty,_l=Object.getOwnPropertySymbols,Al=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,$l=(e,t,r)=>t in e?Ll(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ml={separator:"/"},Fl=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Breadcrumbs",Ml,e),{className:n,children:o,separator:a,classNames:i,styles:l,unstyled:u,variant:d}=r,p=((e,t)=>{var r={};for(var n in e)Al.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&_l)for(var n of _l(e))t.indexOf(n)<0&&Tl.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","separator","classNames","styles","unstyled","variant"]),{classes:f,cx:m}=Rl(null,{classNames:i,styles:l,unstyled:u,name:"Breadcrumbs",variant:d}),b=c.Children.toArray(o).reduce(((e,t,r,n)=>{var o;const i=(0,Dl.k)(t)?c.cloneElement(t,{className:m(f.breadcrumb,null==(o=t.props)?void 0:o.className),key:r}):c.createElement("div",{className:f.breadcrumb,key:r},t);return e.push(i),r!==n.length-1&&e.push(c.createElement(Dt.x,{size:"sm",className:f.separator,key:`separator-${r}`},a)),e}),[]);return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Al.call(t,r)&&$l(e,r,t[r]);if(_l)for(var r of _l(t))Tl.call(t,r)&&$l(e,r,t[r]);return e})({className:m(f.root,n),ref:t},p),b)}));Fl.displayName="@mantine/core/Breadcrumbs";const Bl={xs:(0,h.h)(12),sm:(0,h.h)(18),md:(0,h.h)(24),lg:(0,h.h)(34),xl:(0,h.h)(42)};var Wl=(0,x.k)(((e,{color:t,transitionDuration:r},{size:n})=>{const o=(0,w.a)({size:n,sizes:Bl}),a=t||("dark"===e.colorScheme?e.white:e.black);return{root:{borderRadius:e.radius.sm,width:`calc(${o} + ${e.spacing.xs})`,height:`calc(${o} + ${e.spacing.xs})`,padding:`calc(${e.spacing.xs} / 2)`,cursor:"pointer"},burger:{position:"relative",userSelect:"none",boxSizing:"border-box","&, &::before, &::after":{display:"block",width:o,height:`calc(${o} / 12)`,backgroundColor:a,outline:`${(0,h.h)(1)} solid transparent`,transitionProperty:"background-color, transform",transitionDuration:`${r}ms`,"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},"&::before, &::after":{position:"absolute",content:'""',left:0},"&::before":{top:`calc((${o} / 3) * -1)`},"&::after":{top:`calc(${o} / 3)`},"&[data-opened]":{backgroundColor:"transparent","&::before":{transform:`translateY(calc(${o} / 3)) rotate(45deg)`},"&::after":{transform:`translateY(calc(-${o} / 3)) rotate(-45deg)`}}}}})),Hl=Object.defineProperty,Gl=Object.getOwnPropertySymbols,Vl=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable,Zl=(e,t,r)=>t in e?Hl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Kl={size:"md",transitionDuration:300},Ul=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Burger",Kl,e),{className:n,opened:o,color:a,size:i,classNames:l,styles:u,transitionDuration:d,variant:p}=r,f=((e,t)=>{var r={};for(var n in e)Vl.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Gl)for(var n of Gl(e))t.indexOf(n)<0&&Yl.call(e,n)&&(r[n]=e[n]);return r})(r,["className","opened","color","size","classNames","styles","transitionDuration","variant"]),{classes:m,cx:b}=Wl({color:a,transitionDuration:d},{classNames:l,styles:u,name:"Burger",variant:p,size:i});return c.createElement(ce.k,((e,t)=>{for(var r in t||(t={}))Vl.call(t,r)&&Zl(e,r,t[r]);if(Gl)for(var r of Gl(t))Yl.call(t,r)&&Zl(e,r,t[r]);return e})({className:b(m.root,n),ref:t},f),c.createElement("div",{"data-opened":o||void 0,className:m.burger}))}));Ul.displayName="@mantine/core/Burger";var ql=r(67841),Xl=r(82623);const Jl=(0,c.createContext)({padding:0}),Ql=Jl.Provider;var es=(0,x.k)(((e,{padding:t,withBorder:r,inheritPadding:n})=>{const o=(0,w.a)({size:t,sizes:e.spacing}),a=`calc(-1 * ${o})`,i="dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3];return{cardSection:{display:"block",marginLeft:a,marginRight:a,paddingLeft:n?o:void 0,paddingRight:n?o:void 0,borderTop:r?`${(0,h.h)(1)} solid ${i}`:void 0,borderBottom:r?`${(0,h.h)(1)} solid ${i}`:void 0,"& + &":{borderTop:0},"&[data-first]":{marginTop:a,borderTop:0,borderBottom:r?`${(0,h.h)(1)} solid ${i}`:void 0},"&[data-last]":{marginBottom:a,borderBottom:0}}}})),ts=es,rs=Object.defineProperty,ns=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,is=(e,t,r)=>
1t in e?rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ls={withBorder:!1,inheritPadding:!1},ss=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("CardSection",ls,e),{className:n,withBorder:o,inheritPadding:a,unstyled:i,variant:l}=r,u=((e,t)=>{var r={};for(var n in e)os.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ns)for(var n of ns(e))t.indexOf(n)<0&&as.call(e,n)&&(r[n]=e[n]);return r})(r,["className","withBorder","inheritPadding","unstyled","variant"]),{classes:d,cx:p}=ts({padding:(0,c.useContext)(Jl).padding,withBorder:o,inheritPadding:a},{name:"Card",unstyled:i,variant:l});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))os.call(t,r)&&is(e,r,t[r]);if(ns)for(var r of ns(t))as.call(t,r)&&is(e,r,t[r]);return e})({className:p(d.cardSection,n),ref:t},u))}));ss.displayName="@mantine/core/CardSection";const cs=(0,o.F)(ss);var us=(0,x.k)((e=>({root:{position:"relative",overflow:"hidden",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white}}))),ds=Object.defineProperty,ps=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,ms=Object.prototype.propertyIsEnumerable,bs=(e,t,r)=>t in e?ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ys={padding:"md"},gs=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Card",ys,e),{className:n,padding:o,radius:a,children:i,unstyled:l,variant:u}=r,d=((e,t)=>{var r={};for(var n in e)fs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ps)for(var n of ps(e))t.indexOf(n)<0&&ms.call(e,n)&&(r[n]=e[n]);return r})(r,["className","padding","radius","children","unstyled","variant"]),{classes:p,cx:f}=us(null,{name:"Card",unstyled:l,variant:u}),m=c.Children.toArray(i),b=m.map(((e,t)=>"object"==typeof e&&e&&"type"in e&&e.type===cs?(0,c.cloneElement)(e,{variant:u,padding:o,"data-first":0===t||void 0,"data-last":t===m.length-1||void 0}):e));return c.createElement(Ql,{value:{padding:o}},c.createElement(Xl.X,((e,t)=>{for(var r in t||(t={}))fs.call(t,r)&&bs(e,r,t[r]);if(ps)for(var r of ps(t))ms.call(t,r)&&bs(e,r,t[r]);return e})({className:f(p.root,n),radius:a,p:o,ref:t},d),b))}));gs.Section=cs,gs.displayName="@mantine/core/Card";const hs=(0,o.F)(gs);var vs=r(43523),ws=r(87092),Os=r(56183);const xs=(0,c.createContext)(null),ks=xs.Provider,Ss={};function Ps(e){const{value:t,defaultValue:r,onChange:n,multiple:o,children:a}=(0,s.N4)("ChipGroup",Ss,e),[i,l]=(0,R.C)({value:t,defaultValue:r,finalValue:o?[]:null,onChange:n});return c.createElement(ks,{value:{isChipSelected:e=>Array.isArray(i)?i.includes(e):e===i,onChange:e=>{const t=e.currentTarget.value;Array.isArray(i)?l(i.includes(t)?i.filter((e=>e!==t)):[...i,t]):l(t)},multiple:o}},a)}Ps.displayName="@mantine/core/ChipGroup";var Es=Object.defineProperty,Cs=Object.defineProperties,js=Object.getOwnPropertyDescriptors,Ns=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,Is=Object.prototype.propertyIsEnumerable,Ds=(e,t,r)=>t in e?Es(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rs=(e,t)=>{for(var r in t||(t={}))zs.call(t,r)&&Ds(e,r,t[r]);if(Ns)for(var r of Ns(t))Is.call(t,r)&&Ds(e,r,t[r]);return e},Ls=(e,t)=>Cs(e,js(t));const _s={xs:(0,h.h)(24),sm:(0,h.h)(28),md:(0,h.h)(32),lg:(0,h.h)(36),xl:(0,h.h)(40)},As={xs:(0,h.h)(10),sm:(0,h.h)(12),md:(0,h.h)(14),lg:(0,h.h)(16),xl:(0,h.h)(18)},Ts={xs:(0,h.h)(16),sm:(0,h.h)(20),md:(0,h.h)(24),lg:(0,h.h)(28),xl:(0,h.h)(32)},$s={xs:(0,h.h)(7.5),sm:(0,h.h)(10),md:(0,h.h)(11.5),lg:(0,h.h)(13),xl:(0,h.h)(15)};var Ms=(0,x.k)(((e,{radius:t,color:r},{size:n,variant:o})=>{const a=function(e,{color:t},r){const n=e.fn.variant({variant:"filled",color:t}),o=e.fn.variant({variant:"light",color:t});return"light"===r?{label:Rs({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1]},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),checked:Ls(Rs({color:o.color,backgroundColor:o.background},e.fn.hover({backgroundColor:o.hover})),{"&, &:hover":{backgroundColor:e.fn.variant({variant:"light",color:t}).background}})}:"filled"===r?{label:Rs({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1]},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),checked:Rs({color:n.color,backgroundColor:n.background},e.fn.hover({backgroundColor:n.hover}))}:"outline"===r?{label:Rs({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),checked:{border:`${(0,h.h)(1)} solid ${n.background}`}}:{label:null,checked:null}}(e,{color:r},o);return{root:{},label:Ls(Rs(Ls(Rs({ref:(0,k.A)("label")},e.fn.fontStyles()),{boxSizing:"border-box",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,display:"inline-flex",alignItems:"center",userSelect:"none",border:`${(0,h.h)(1)} solid transparent`,borderRadius:e.fn.radius(t),height:(0,w.a)({size:n,sizes:_s}),fontSize:(0,w.a)({size:n,sizes:e.fontSizes}),lineHeight:`calc(${(0,w.a)({size:n,sizes:_s})} - ${(0,h.h)(2)})`,paddingLeft:(0,w.a)({size:n,sizes:Ts}),paddingRight:(0,w.a)({size:n,sizes:Ts}),cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 100ms ease",WebkitTapHighlightColor:"transparent"}),a.label),{"&[data-disabled]":Ls(Rs({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],borderColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1]})),{[`& .${(0,k.A)("iconWrapper")}`]:{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}),"&[data-checked]":{paddingLeft:(0,w.a)({size:n,sizes:$s}),paddingRight:(0,w.a)({size:n,sizes:$s}),"&:not([data-disabled])":a.checked}}),iconWrapper:{ref:(0,k.A)("iconWrapper"),color:"filled"===o?e.white:e.fn.variant({variant:"filled",color:r}).background,width:`calc(${(0,w.a)({size:n,sizes:As})}
1 + (${(0,w.a)({size:n,sizes:e.spacing})} / 1.5))`,maxWidth:`calc(${(0,w.a)({size:n,sizes:As})} + (${(0,w.a)({size:n,sizes:e.spacing})} / 1.5))`,height:(0,w.a)({size:n,sizes:As}),display:"inline-block",verticalAlign:"middle",overflow:"hidden"},checkIcon:{width:(0,w.a)({size:n,sizes:As}),height:`calc(${(0,w.a)({size:n,sizes:As})} / 1.1)`,display:"block"},input:{width:0,height:0,padding:0,opacity:0,margin:0,"&:disabled + label":Ls(Rs({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],borderColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1]})),{[`& .${(0,k.A)("iconWrapper")}`]:{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]},"&[data-checked]":{paddingLeft:(0,w.a)({size:n,sizes:$s}),paddingRight:(0,w.a)({size:n,sizes:$s}),"&:not([data-disabled])":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],borderColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}}),"&:focus":{outline:"none",[`& + .${(0,k.A)("label")}`]:Rs({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),"&:focus:not(:focus-visible)":{[`& + .${(0,k.A)("label")}`]:Rs({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)}}}}})),Fs=Object.defineProperty,Bs=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Gs=(e,t,r)=>t in e?Fs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vs=(e,t)=>{for(var r in t||(t={}))Ws.call(t,r)&&Gs(e,r,t[r]);if(Bs)for(var r of Bs(t))Hs.call(t,r)&&Gs(e,r,t[r]);return e};const Ys={type:"checkbox",size:"sm",radius:"xl",variant:"outline"},Zs=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Chip",Ys,e),{radius:n,type:o,size:a,variant:i,disabled:l,id:u,color:d,children:p,className:f,classNames:m,style:b,styles:y,checked:g,defaultChecked:h,onChange:v,sx:w,wrapperProps:O,value:x,unstyled:k}=r,S=((e,t)=>{var r={};for(var n in e)Ws.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Bs)for(var n of Bs(e))t.indexOf(n)<0&&Hs.call(e,n)&&(r[n]=e[n]);return r})(r,["radius","type","size","variant","disabled","id","color","children","className","classNames","style","styles","checked","defaultChecked","onChange","sx","wrapperProps","value","unstyled"]),P=(0,c.useContext)(xs),E=(0,D.M)(u),{systemStyles:C,rest:j}=(0,Nl.x)(S),{classes:N,cx:z}=Ms({radius:n,color:d},{classNames:m,styles:y,unstyled:k,name:"Chip",variant:i,size:a}),[I,L]=(0,R.C)({value:g,defaultValue:h,finalValue:!1,onChange:v}),_=P?{checked:P.isChipSelected(x),onChange:P.onChange,type:P.multiple?"checkbox":"radio"}:{},A=_.checked||I;return c.createElement(H.x,Vs(Vs({className:z(N.root,f),style:b,sx:w},C),O),c.createElement("input",Vs(Vs({type:o,className:N.input,checked:A,onChange:e=>L(e.currentTarget.checked),id:E,disabled:l,ref:t,value:x},_),j)),c.createElement("label",{htmlFor:E,"data-checked":A||void 0,"data-disabled":l||void 0,className:N.label},A&&c.createElement("span",{className:N.iconWrapper},c.createElement(Os.n,{className:N.checkIcon})),p))}));Zs.displayName="@mantine/core/Chip",Zs.Group=Ps;var Ks=Object.defineProperty,Us=Object.defineProperties,qs=Object.getOwnPropertyDescriptors,Xs=Object.getOwnPropertySymbols,Js=Object.prototype.hasOwnProperty,Qs=Object.prototype.propertyIsEnumerable,ec=(e,t,r)=>t in e?Ks(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tc=(e,t)=>{for(var r in t||(t={}))Js.call(t,r)&&ec(e,r,t[r]);if(Xs)for(var r of Xs(t))Qs.call(t,r)&&ec(e,r,t[r]);return e},rc=(0,x.k)(((e,{color:t})=>{const r=t||("dark"===e.colorScheme?"dark":"gray"),n=e.fn.variant({color:r,variant:"light"});return{root:(o=tc({},e.fn.fontStyles()),a={lineHeight:e.lineHeight,padding:`${(0,h.h)(2)} calc(${e.spacing.xs} / 2)`,borderRadius:e.radius.sm,color:"dark"===e.colorScheme?"dark"===r?e.colors.dark[0]:e.white:e.colors.dark[7],backgroundColor:"dark"===e.colorScheme&&"dark"===r?e.colors.dark[5]:n.background,fontFamily:e.fontFamilyMonospace,fontSize:e.fontSizes.xs},Us(o,qs(a))),block:{padding:e.spacing.xs,margin:0,overflowX:"auto"}};var o,a})),nc=rc,oc=Object.defineProperty,ac=Object.getOwnPropertySymbols,ic=Object.prototype.hasOwnProperty,lc=Object.prototype.propertyIsEnumerable,sc=(e,t,r)=>t in e?oc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,cc=(e,t)=>{for(var r in t||(t={}))ic.call(t,r)&&sc(e,r,t[r]);if(ac)for(var r of ac(t))lc.call(t,r)&&sc(e,r,t[r]);return e};const uc={},dc=(0,c.forwardRef)(((e,t)=>
1{const r=(0,s.N4)("Code",uc,e),{className:n,children:o,block:a,color:i,unstyled:l,variant:u}=r,d=((e,t)=>{var r={};for(var n in e)ic.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ac)for(var n of ac(e))t.indexOf(n)<0&&lc.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","block","color","unstyled","variant"]),{classes:p,cx:f}=nc({color:i},{name:"Code",unstyled:l,variant:u});return a?c.createElement(H.x,cc({component:"pre",dir:"ltr",className:f(p.root,p.block,n),ref:t},d),o):c.createElement(H.x,cc({component:"code",className:f(p.root,n),ref:t,dir:"ltr"},d),o)}));dc.displayName="@mantine/core/Code";var pc=r(43010),fc=r(43185),mc=r(48334),bc=Object.defineProperty,yc=Object.getOwnPropertySymbols,gc=Object.prototype.hasOwnProperty,hc=Object.prototype.propertyIsEnumerable,vc=(e,t,r)=>t in e?bc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wc=(e,t)=>{for(var r in t||(t={}))gc.call(t,r)&&vc(e,r,t[r]);if(yc)for(var r of yc(t))hc.call(t,r)&&vc(e,r,t[r]);return e},Oc=(e,t)=>{var r={};for(var n in e)gc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&yc)for(var n of yc(e))t.indexOf(n)<0&&hc.call(e,n)&&(r[n]=e[n]);return r};function xc(e){var t=e,{size:r,style:n}=t,o=Oc(t,["size","style"]);return c.createElement("svg",wc({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-color-picker",style:wc({width:r,height:r},n),viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},o),c.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),c.createElement("path",{d:"M11 7l6 6"}),c.createElement("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 kc=r(12549),Sc=r(66033),Pc=r(21380),Ec=Object.defineProperty,Cc=Object.defineProperties,jc=Object.getOwnPropertyDescriptors,Nc=Object.getOwnPropertySymbols,zc=Object.prototype.hasOwnProperty,Ic=Object.prototype.propertyIsEnumerable,Dc=(e,t,r)=>t in e?Ec(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rc=(e,t)=>{for(var r in t||(t={}))zc.call(t,r)&&Dc(e,r,t[r]);if(Nc)for(var r of Nc(t))Ic.call(t,r)&&Dc(e,r,t[r]);return e},Lc=(e,t)=>Cc(e,jc(t));const _c={xs:(0,h.h)(16),sm:(0,h.h)(18),md:(0,h.h)(22),lg:(0,h.h)(28),xl:(0,h.h)(36)},Ac={xs:(0,h.h)(14),sm:(0,h.h)(16),md:(0,h.h)(18),lg:(0,h.h)(20),xl:(0,h.h)(22)},Tc={size:"sm",format:"hex",fixOnBlur:!0,withPreview:!0,swatchesPerRow:10,withPicker:!0,transitionProps:{transition:"fade",duration:0},dropdownZIndex:(0,y.w)("popover"),withinPortal:!0,shadow:"md",withEyeDropper:!0},$c=(0,c.forwardRef)(((e,t)=>{const r=(0,ia.k)("ColorInput",Tc,e),{wrapperProps:n,inputProps:o,format:a,onChange:i,onChangeEnd:l,onFocus:u,onBlur:d,onClick:p,value:f,defaultValue:m,disallowInput:b,fixOnBlur:y,withPreview:g,swatchesPerRow:h,withPicker:v,icon:O,transitionProps:x,dropdownZIndex:k,withinPortal:S,portalProps:P,swatches:E,shadow:C,classNames:j,styles:N,unstyled:z,readOnly:I,withEyeDropper:D,eyeDropperIcon:L,rightSection:_,closeOnColorSwatchClick:A,disabled:T,eyeDropperLabel:$}=r,M=((e,t)=>{var r={};for(var n in e)zc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Nc)for(var n of Nc(e))t.indexOf(n)<0&&Ic.call(e,n)&&(r[n]=e[n]);return r})(r,["wrapperProps","inputProps","format","onChange","onChangeEnd","onFocus","onBlur","onClick","value","defaultValue","disallowInput","fixOnBlur","withPreview","swatchesPerRow","withPicker","icon","transitionProps","dropdownZIndex","withinPortal","portalProps","swatches","shadow","classNames","styles","unstyled","readOnly","withEyeDropper","eyeDropperIcon","rightSection","closeOnColorSwatchClick","disabled","eyeDropperLabel"]),F=(0,s.rZ)(),[B,W]=(0,c.useState)(!1),[H,G]=(0,c.useState)(""),[V,Y]=(0,R.C)({value:f,defaultValue:m,finalValue:"",onChange:i}),{supported:Z,open:K}=(0,pc.s)(),U=c.createElement(tt.A,{sx:{color:"dark"===F.colorScheme?F.colors.dark[0]:F.black},size:o.size,"aria-label":$,onClick:()=>K().then((({sRGBHex:e})=>{const t=(0,kc.Rt)(a,(0,Sc.lu)(e));Y(t),null==l||l(t)})).catch(fc.Z)},L||c.createElement(xc,{size:(0,w.a)({size:o.size,sizes:Ac})}));return(0,c.useEffect)((()=>{((0,Sc.fi)(V)||""===V.trim())&&G(V)}),[V]),(0,Xn.l)((()=>{(0,Sc.fi)(V)&&Y((0,kc.Rt)(a,(0,Sc.lu)(V)))}),[a]),c.createElement(la.I.Wrapper,Lc(Rc({},n),{__staticSelector:"ColorInput"}),c.createElement(Uo.J,{__staticSelector:"ColorInput",position:"bottom-start",offset:5,zIndex:k,withinPortal:S,portalProps:P,transitionProps:x,opened:B,shadow:C,classNames:j,styles:N,unstyled:z,disabled:I||!1===v&&(!Array.isArray(E)||0===E.length)},c.createElement(Uo.J.Target,null,c.createElement("div",null,c.createElement(la.I,Lc(Rc(Rc({autoComplete:"off"},M),o),{disabled:T,ref:t,__staticSelector:"ColorInput",onFocus:e=>{null==u||u(e),W(!0)},onBlur:e=>{y&&Y(H),null==d||d(e),W(!1)},onClick:e=>{null==p||p(e),W(!0)},spellCheck:!1,value:V,onChange:e=>{const t=e.currentTarget.value;Y(t),(0,Sc.fi)(t)&&(null==l||l((0,kc.Rt)(a,(0,Sc.lu)(t))))},icon:O||(g?c.createElement(Pc.b,{color:(0,Sc.fi)(V)?V:"#fff",size:(0,w.a)({size:o.size,sizes:_c})}):null),readOnly:b||I,sx:{cursor:b?"pointer":void 0},unstyled:z,classNames:j,styles:N,rightSection:_||(D&&!T&&!I&&Z?U:null)})))),c.createElement(Uo.J.Dropdown,{onMouseDown:e=>e.preventDefault(),p:o.size},c.createElement(mc.z,{__staticSelector:"ColorInput",value:V,onChange:Y,onChangeEnd:l,format:a,swatches:E,swatchesPerRow:h,withPicker:v,size:o.size,focusable:!1,unstyled:z,styles:N,classNames:j,onColorSwatchClick:()=>A&&W(!1)}))))}
1));$c.displayName="@mantine/core/ColorInput";var Mc=r(42223),Fc=r(48562),Bc=r(85411),Wc=(0,x.k)(((e,{fluid:t,sizes:r},{size:n})=>({root:{paddingLeft:e.spacing.md,paddingRight:e.spacing.md,maxWidth:t?"100%":(0,w.a)({size:n,sizes:r}),marginLeft:"auto",marginRight:"auto"}}))),Hc=Wc,Gc=Object.defineProperty,Vc=Object.getOwnPropertySymbols,Yc=Object.prototype.hasOwnProperty,Zc=Object.prototype.propertyIsEnumerable,Kc=(e,t,r)=>t in e?Gc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Uc={sizes:{xs:(0,h.h)(540),sm:(0,h.h)(720),md:(0,h.h)(960),lg:(0,h.h)(1140),xl:(0,h.h)(1320)}},qc=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Container",Uc,e),{className:n,fluid:o,size:a,unstyled:i,sizes:l,variant:u}=r,d=((e,t)=>{var r={};for(var n in e)Yc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Vc)for(var n of Vc(e))t.indexOf(n)<0&&Zc.call(e,n)&&(r[n]=e[n]);return r})(r,["className","fluid","size","unstyled","sizes","variant"]),{classes:p,cx:f}=Hc({fluid:o,sizes:l},{unstyled:i,name:"Container",variant:u,size:a});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Yc.call(t,r)&&Kc(e,r,t[r]);if(Vc)for(var r of Vc(t))Zc.call(t,r)&&Kc(e,r,t[r]);return e})({className:f(p.root,n),ref:t},d))}));qc.displayName="@mantine/core/Container";var Xc=r(18060),Jc=Object.defineProperty,Qc=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,ru=(e,t,r)=>t in e?Jc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nu=(e,t)=>{for(var r in t||(t={}))eu.call(t,r)&&ru(e,r,t[r]);if(Qc)for(var r of Qc(t))tu.call(t,r)&&ru(e,r,t[r]);return e},ou=(e,t)=>{var r={};for(var n in e)eu.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Qc)for(var n of Qc(e))t.indexOf(n)<0&&tu.call(e,n)&&(r[n]=e[n]);return r};const au={timeout:1e3};function iu(e){const t=(0,s.N4)("CopyButton",au,e),{children:r,timeout:n,value:o}=t,a=ou(t,["children","timeout","value"]),i=(0,Xc.V)({timeout:n});return c.createElement(c.Fragment,null,r(nu({copy:()=>i.copy(o),copied:i.copied},a)))}iu.displayName="@mantine/core/CopyButton";var lu=Object.defineProperty,su=Object.defineProperties,cu=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,pu=Object.prototype.propertyIsEnumerable,fu=(e,t,r)=>t in e?lu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mu=(e,t)=>{for(var r in t||(t={}))du.call(t,r)&&fu(e,r,t[r]);if(uu)for(var r of uu(t))pu.call(t,r)&&fu(e,r,t[r]);return e};const bu={xs:(0,h.h)(160),sm:(0,h.h)(200),md:(0,h.h)(340),lg:(0,h.h)(400),xl:(0,h.h)(500)};var yu=(0,x.k)(((e,t,{size:r})=>{return{root:(n=mu({},e.fn.fontStyles()),o={color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,position:"relative",width:(0,w.a)({size:r,sizes:bu}),maxWidth:`calc(100vw - ${e.spacing.xl} * 2)`,minHeight:(0,h.h)(50)},su(n,cu(o))),closeButton:{position:"absolute",top:`calc(${e.spacing.md} / 2)`,right:`calc(${e.spacing.md} / 2)`}};var n,o})),gu=yu,hu=r(94277),vu=Object.defineProperty,wu=Object.getOwnPropertySymbols,Ou=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,ku=(e,t,r)=>t in e?vu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Su=(e,t)=>{for(var r in t||(t={}))Ou.call(t,r)&&ku(e,r,t[r]);if(wu)for(var r of wu(t))xu.call(t,r)&&ku(e,r,t[r]);return e},Pu=(e,t)=>{var r={};for(var n in e)Ou.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&wu)for(var n of wu(e))t.indexOf(n)<0&&xu.call(e,n)&&(r[n]=e[n]);return r};const Eu={shadow:"md",p:"md",withBorder:!1,size:"md",transition:"pop-top-right",transitionDuration:200};function Cu(e){const t=(0,s.N4)("Dialog",Eu,e),{withCloseButton:r,onClose:n,position:o,shadow:a,children:i,className:l,style:u,classNames:d,styles:p,opened:f,withBorder:m,size:b,transition:y,transitionDuration:g,transitionTimingFunction:h,unstyled:v,variant:w,keepMounted:O}=t,x=Pu(t,["withCloseButton","onClose","position","shadow","children","className","style","classNames","styles","opened","withBorder","size","transition","transitionDuration","transitionTimingFunction","unstyled","variant","keepMounted"]),{classes:k,cx:S}=gu(null,{classNames:d,styles:p,unstyled:v,name:"Dialog",variant:w,size:b});return c.createElement(hu.u,{keepMounted:O,mounted:f,transition:y,duration:g,timingFunction:h},(e=>c.createElement(Xl.X,Su({className:S(k.root,l),style:Su(Su({},u),e),shadow:a,withBorder:m,unstyled:v},x),r&&c.createElement(St.P,{onClick:n,className:k.closeButton}),i)))}const ju=(0,c.forwardRef)(((e,t)=>{var r=e,{zIndex:n=(0,y.w)("modal")}=r,o=Pu(r,["zIndex"]);const a=(0,s.rZ)();return c.createElement(pt,{zIndex:n,position:o.position||{bottom:a.spacing.xl,right:a.spacing.xl},ref:t},c.createElement(Cu,Su({},o)))}));ju.displayName="@mantine/core/Dialog";const[Nu,zu]=(0,L.R)("Drawer component was not found in tree"),Iu={xs:(0,h.h)(320),sm:(0,h.h)(38
10),md:(0,h.h)(440),lg:(0,h.h)(620),xl:(0,h.h)(780)};var Du=(0,x.k)(((e,{position:t},{size:r})=>({header:{zIndex:1e3},content:{flex:"right"===t||"left"===t?`0 0 ${(0,w.a)({size:r,sizes:Iu})}`:"0 0 100%",maxWidth:"100%",maxHeight:"100%",height:"right"===t||"left"===t?"100%":(0,w.a)({size:r,sizes:Iu}),borderRadius:0,overflowY:"auto"},inner:{display:"flex",justifyContent:"right"===t?"flex-end":"flex-start",alignItems:"bottom"===t?"flex-end":"flex-start"}}))),Ru=r(60767),Lu=Object.defineProperty,_u=Object.defineProperties,Au=Object.getOwnPropertyDescriptors,Tu=Object.getOwnPropertySymbols,$u=Object.prototype.hasOwnProperty,Mu=Object.prototype.propertyIsEnumerable,Fu=(e,t,r)=>t in e?Lu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Bu=(e,t)=>{for(var r in t||(t={}))$u.call(t,r)&&Fu(e,r,t[r]);if(Tu)for(var r of Tu(t))Mu.call(t,r)&&Fu(e,r,t[r]);return e},Wu=(e,t)=>_u(e,Au(t)),Hu=(e,t)=>{var r={};for(var n in e)$u.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Tu)for(var n of Tu(e))t.indexOf(n)<0&&Mu.call(e,n)&&(r[n]=e[n]);return r};const Gu={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},Vu={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},Yu=Wu(Bu({},Ru.K),{position:"left"});function Zu(e){const t=(0,s.N4)("DrawerRoot",Yu,e),{classNames:r,variant:n,size:o,scrollAreaComponent:a,position:i,transitionProps:l}=t,u=Hu(t,["classNames","variant","size","scrollAreaComponent","position","transitionProps"]),{classes:d,cx:p,theme:f}=Du({position:i},{name:"Drawer",variant:n,size:o}),m=("rtl"===f.dir?Vu:Gu)[i];return c.createElement(Nu,{value:{scrollAreaComponent:a}},c.createElement(Ru.e,Bu({__staticSelector:"Drawer",size:o,variant:n,transitionProps:Bu({transition:m,duration:200},l),classNames:Wu(Bu({},r),{content:p(d.content,null==r?void 0:r.content),inner:p(d.inner,null==r?void 0:r.inner)})},u)))}var Ku=Object.defineProperty,Uu=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,Ju=(e,t,r)=>t in e?Ku(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Qu={shadow:"xl"},ed=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("ModalContent",Qu,e),{children:n,scrollAreaComponent:o}=r,a=((e,t)=>{var r={};for(var n in e)qu.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Uu)for(var n of Uu(e))t.indexOf(n)<0&&Xu.call(e,n)&&(r[n]=e[n]);return r})(r,["children","scrollAreaComponent"]),i=zu(),l=o||i.scrollAreaComponent||Ru.e.NativeScrollArea;return c.createElement(Ru.e.Content,((e,t)=>{for(var r in t||(t={}))qu.call(t,r)&&Ju(e,r,t[r]);if(Uu)for(var r of Uu(t))Xu.call(t,r)&&Ju(e,r,t[r]);return e})({ref:t,radius:0},a),c.createElement(l,{style:{height:"100vh"}},n))}));var td=Object.defineProperty,rd=Object.defineProperties,nd=Object.getOwnPropertyDescriptors,od=Object.getOwnPropertySymbols,ad=Object.prototype.hasOwnProperty,id=Object.prototype.propertyIsEnumerable,ld=(e,t,r)=>t in e?td(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,sd=(e,t)=>{for(var r in t||(t={}))ad.call(t,r)&&ld(e,r,t[r]);if(od)for(var r of od(t))id.call(t,r)&&ld(e,r,t[r]);return e},cd=(e,t)=>{var r={};for(var n in e)ad.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&od)for(var n of od(e))t.indexOf(n)<0&&id.call(e,n)&&(r[n]=e[n]);return r};const ud=(dd=sd({},Ru.K),rd(dd,nd({withOverlay:!0,withCloseButton:!0})));var dd;function pd(e){const t=(0,s.N4)("Drawer",ud,e),{title:r,withOverlay:n,overlayProps:o,withCloseButton:a,closeButtonProps:i,children:l}=t,u=cd(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),d=!!r||a;return c.createElement(Zu,sd({},u),n&&c.createElement(Ru.e.Overlay,sd({},o)),c.createElement(ed,null,d&&c.createElement(Ru.e.Header,null,r&&c.createElement(Ru.e.Title,null,r),a&&c.createElement(Ru.e.CloseButton,sd({},i))),c.createElement(Ru.e.Body,null,l)))}pd.Root=Zu,pd.CloseButton=Ru.e.CloseButton,pd.Overlay=Ru.e.Overlay,pd.Content=ed,pd.Header=Ru.e.Header,pd.Title=Ru.e.Title,pd.Body=Ru.e.Body,pd.NativeScrollArea=Ru.e.NativeScrollArea;var fd=r(83979),md=Object.defineProperty,bd=Object.getOwnPropertySymbols,yd=Object.prototype.hasOwnProperty,gd=Object.prototype.propertyIsEnumerable,hd=(e,t,r)=>t in e?md(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vd=(e,t)=>{for(var r in t||(t={}))yd.call(t,r)&&hd(e,r,t[r]);if(bd)for(var r of bd(t))gd.call(t,r)&&hd(e,r,t[r]);return e};const wd={multiple:!1},Od=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("FileButton",wd,e),{onChange:n,children:o,multiple:a,accept:i,name:l,form:u,resetRef:d,disabled:p,capture:f,inputProps:m}=r,b=((e,t)=>{var r={};for(var n in e)yd.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&bd)for(var n of bd(e))t.indexOf(n)<0&&gd.call(e,n)&&(r[n]=e[n]);return r})(r,["onChange","children","multiple","accept","name","form","resetRef","disabled","capture","inputProps"]),y=(0,c.useRef)();return(0,fd.k)(d,(()=>{y.current.value=""})),c.createElement(c.Fragment,null,o(vd({onClick:()=>{!p&&y.current.click()}},b)),c.createElement("input",vd({style:{display:"none"},type:"file",accept:i,multiple:a,onChange:e=>{n(a?Array.from(e.currentTarget.files):e.currentTarget.files[0]||null)},ref:(0,Jn.Y)(t,y),name:l,form:u,capture:f},m)))}));Od.displayName="@mantine/core/FileButton";var xd=(0,x.k)((()=>({placeholder:{},input:{cursor:"pointer"}}))),kd=Object.defineProperty,Sd=Object.defineProperties,Pd=Object.getOwnPropertyDescriptors,Ed=Object.getOwnPropertySymbols,Cd=Object.prototype.hasOwnProperty,jd=Object.prototype.propertyIsEnumerable,Nd=(e,t,r)=>t in e?kd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zd=(e,t)=>{for(var r in t||(t={}))Cd.call(t,r)&&Nd(e,r,t[r]);if(Ed)for(var r of Ed(t))jd.call(t,r)&&Nd(e,r,t[r]);return e},Id=(e,t)=>Sd(e,Pd(t));const Dd={size:"sm",valueComponent:({value:e})=>c.createElement(Dt.x,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Array.isArray(e)?e.map((e=>e.name)).join(", "):null==e?void 0:e.name)},Rd=(0,c.forwardRef)(((e,t)=>{const r=(0,ia.k)("FileInput",Dd,e),{inputProps:n,wrapperProps:o,placeholder:a,value:i,defaultValue:l,onCh
1ange:s,multiple:u,accept:d,name:p,form:f,classNames:m,styles:b,unstyled:y,valueComponent:g,rightSection:h,clearable:v,clearButtonProps:w,readOnly:O,capture:x,fileInputProps:k}=r,S=((e,t)=>{var r={};for(var n in e)Cd.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ed)for(var n of Ed(e))t.indexOf(n)<0&&jd.call(e,n)&&(r[n]=e[n]);return r})(r,["inputProps","wrapperProps","placeholder","value","defaultValue","onChange","multiple","accept","name","form","classNames","styles","unstyled","valueComponent","rightSection","clearable","clearButtonProps","readOnly","capture","fileInputProps"]),P=(0,c.useRef)(),{classes:E,cx:C}=xd(null,{name:"FileInput",classNames:m,styles:b,unstyled:y}),[j,N]=(0,R.C)({value:i,defaultValue:l,onChange:s,finalValue:u?[]:null}),z=Array.isArray(j)?0!==j.length:null!==j,I=h||(v&&z&&!O?c.createElement(St.P,Id(zd({},w),{variant:"transparent",onClick:()=>N(u?[]:null),size:n.size,unstyled:y})):null);return(0,c.useEffect)((()=>{(Array.isArray(j)&&0===j.length||null===j)&&P.current()}),[j]),c.createElement(la.I.Wrapper,Id(zd({},o),{__staticSelector:"FileInput"}),c.createElement(Od,{onChange:N,multiple:u,accept:d,name:p,form:f,resetRef:P,disabled:O,capture:x,inputProps:k},(e=>c.createElement(la.I,Id(zd(zd(zd({multiline:!0},e),n),S),{component:"button",type:"button",ref:t,__staticSelector:"FileInput",rightSection:I,classNames:Id(zd({},m),{input:C(E.input,null==m?void 0:m.input)})}),z?c.createElement(g,{value:j}):c.createElement(la.I.Placeholder,{className:E.placeholder},a)))))}));Rd.displayName="@mantine/core/FileInput";const Ld=Rd;var _d=r(57327),Ad=r(6683),Td=r(45272);const[$d,Md]=(0,L.R)("Grid component was not found in tree");var Fd=Object.defineProperty,Bd=Object.getOwnPropertySymbols,Wd=Object.prototype.hasOwnProperty,Hd=Object.prototype.propertyIsEnumerable,Gd=(e,t,r)=>t in e?Fd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vd=(e,t)=>{for(var r in t||(t={}))Wd.call(t,r)&&Gd(e,r,t[r]);if(Bd)for(var r of Bd(t))Hd.call(t,r)&&Gd(e,r,t[r]);return e};const Yd=(e,t)=>"content"===e?"auto":"auto"===e?"0rem":e?100/(t/e)+"%":void 0,Zd=(e,t,r)=>r||"auto"===e||"content"===e?"unset":Yd(e,t),Kd=(e,t)=>{if(e)return"auto"===e||t?1:0},Ud=(e,t)=>0===e?0:e?100/(t/e)+"%":void 0,qd=(e,t)=>void 0!==e?`calc(${(0,w.a)({size:e,sizes:t.spacing})} / 2)`:void 0;function Xd({sizes:e,offsets:t,orders:r,theme:n,columns:o,gutters:a,grow:i}){return l.j1.reduce(((l,s)=>(l[`@media (min-width: ${(0,h.em)(n.breakpoints[s])})`]={order:r[s],flexBasis:Yd(e[s],o),padding:qd(a[s],n),flexShrink:0,width:"content"===e[s]?"auto":void 0,maxWidth:Zd(e[s],o,i),marginLeft:Ud(t[s],o),flexGrow:Kd(e[s],i)},l)),{})}var Jd=(0,x.k)(((e,{gutter:t,gutterXs:r,gutterSm:n,gutterMd:o,gutterLg:a,gutterXl:i,grow:l,offset:s,offsetXs:c,offsetSm:u,offsetMd:d,offsetLg:p,offsetXl:f,columns:m,span:b,xs:y,sm:g,md:h,lg:v,xl:w,order:O,orderXs:x,orderSm:k,orderMd:S,orderLg:P,orderXl:E})=>({col:Vd({boxSizing:"border-box",flexGrow:Kd(b,l),order:O,padding:qd(t,e),marginLeft:Ud(s,m),flexBasis:Yd(b,m),flexShrink:0,width:"content"===b?"auto":void 0,maxWidth:Zd(b,m,l)},Xd({sizes:{xs:y,sm:g,md:h,lg:v,xl:w},offsets:{xs:c,sm:u,md:d,lg:p,xl:f},orders:{xs:x,sm:k,md:S,lg:P,xl:E},gutters:{xs:r,sm:n,md:o,lg:a,xl:i},theme:e,columns:m,grow:l}))}))),Qd=Object.defineProperty,ep=Object.getOwnPropertySymbols,tp=Object.prototype.hasOwnProperty,rp=Object.prototype.propertyIsEnumerable,np=(e,t,r)=>t in e?Qd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const op={};const ap=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("GridCol",op,e),{children:n,span:o,offset:a,offsetXs:i,offsetSm:l,offsetMd:u,offsetLg:d,offsetXl:p,xs:f,sm:m,md:b,lg:y,xl:g,order:h,orderXs:v,orderSm:w,orderMd:O,orderLg:x,orderXl:k,className:S,unstyled:P,variant:E}=r,C=((e,t)=>{var r={};for(var n in e)tp.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ep)for(var n of ep(e))t.indexOf(n)<0&&rp.call(e,n)&&(r[n]=e[n]);return r})(r,["children","span","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","xs","sm","md","lg","xl","order","orderXs","orderSm","orderMd","orderLg","orderXl","className","unstyled","variant"]),j=Md(),N=o||j.columns,{classes:z,cx:I}=Jd({gutter:j.gutter,gutterXs:j.gutterXs,gutterSm:j.gutterSm,gutterMd:j.gutterMd,gutterLg:j.gutterLg,gutterXl:j.gutterXl,offset:a,offsetXs:i,offsetSm:l,offsetMd:u,offsetLg:d,offsetXl:p,xs:f,sm:m,md:b,lg:y,xl:g,order:h,orderXs:v,orderSm:w,orderMd:O,orderLg:x,orderXl:k,grow:j.grow,columns:j.columns,span:N},{unstyled:P,name:"Grid",variant:E});return!function(e){return"auto"===e||"content"===e||"number"==typeof e&&e>0&&e%1==0}(N)||N>
1j.columns?null:c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))tp.call(t,r)&&np(e,r,t[r]);if(ep)for(var r of ep(t))rp.call(t,r)&&np(e,r,t[r]);return e})({className:I(z.col,S),ref:t},C),n)}));ap.displayName="@mantine/core/Col";var ip=Object.defineProperty,lp=Object.getOwnPropertySymbols,sp=Object.prototype.hasOwnProperty,cp=Object.prototype.propertyIsEnumerable,up=(e,t,r)=>t in e?ip(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dp=(e,t)=>{for(var r in t||(t={}))sp.call(t,r)&&up(e,r,t[r]);if(lp)for(var r of lp(t))cp.call(t,r)&&up(e,r,t[r]);return e};function pp(e,t){return l.j1.reduce(((r,n)=>(void 0!==e[n]&&(r[`@media (min-width: ${t.breakpoints[n]})`]={margin:`calc(-${(0,w.a)({size:e[n],sizes:t.spacing})} / 2)`}),r)),{})}var fp=(0,x.k)(((e,{justify:t,align:r,gutter:n,gutterXs:o,gutterSm:a,gutterMd:i,gutterLg:l,gutterXl:s})=>({root:dp({margin:`calc(-${(0,w.a)({size:n,sizes:e.spacing})} / 2)`,display:"flex",flexWrap:"wrap",justifyContent:t,alignItems:r},pp({xs:o,sm:a,md:i,lg:l,xl:s},e))}))),mp=Object.defineProperty,bp=Object.getOwnPropertySymbols,yp=Object.prototype.hasOwnProperty,gp=Object.prototype.propertyIsEnumerable,hp=(e,t,r)=>t in e?mp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const vp={gutter:"md",justify:"flex-start",align:"stretch",columns:12},wp=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Grid",vp,e),{gutter:n,gutterXs:o,gutterSm:a,gutterMd:i,gutterLg:l,gutterXl:u,children:d,grow:p,justify:f,align:m,columns:b,className:y,unstyled:g,variant:h}=r,v=((e,t)=>{var r={};for(var n in e)yp.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&bp)for(var n of bp(e))t.indexOf(n)<0&&gp.call(e,n)&&(r[n]=e[n]);return r})(r,["gutter","gutterXs","gutterSm","gutterMd","gutterLg","gutterXl","children","grow","
1justify","align","columns","className","unstyled","variant"]),{classes:w,cx:O}=fp({gutter:n,justify:f,align:m,gutterXs:o,gutterSm:a,gutterMd:i,gutterLg:l,gutterXl:u},{unstyled:g,name:"Grid",variant:h});return c.createElement($d,{value:{gutter:n,gutterXs:o,gutterSm:a,gutterMd:i,gutterLg:l,gutterXl:u,grow:p,columns:b}},c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))yp.call(t,r)&&hp(e,r,t[r]);if(bp)for(var r of bp(t))gp.call(t,r)&&hp(e,r,t[r]);return e})({className:O(w.root,y),ref:t},v),d))}));wp.Col=ap,wp.displayName="@mantine/core/Grid";var Op=r(71232),xp=r(5410),kp=r(91759);const Sp="HoverCard component was not found in the tree",Pp="HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported",[Ep,Cp]=(0,L.R)(Sp);var jp=r(47828),Np=Object.defineProperty,zp=Object.getOwnPropertySymbols,Ip=Object.prototype.hasOwnProperty,Dp=Object.prototype.propertyIsEnumerable,Rp=(e,t,r)=>t in e?Np(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Lp=(e,t)=>{for(var r in t||(t={}))Ip.call(t,r)&&Rp(e,r,t[r]);if(zp)for(var r of zp(t))Dp.call(t,r)&&Rp(e,r,t[r]);return e},_p=(e,t)=>{var r={};for(var n in e)Ip.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&zp)for(var n of zp(e))t.indexOf(n)<0&&Dp.call(e,n)&&(r[n]=e[n]);return r};const Ap={};function Tp(e){const t=(0,s.N4)("HoverCardDropdown",Ap,e),{children:r,onMouseEnter:n,onMouseLeave:o}=t,a=_p(t,["children","onMouseEnter","onMouseLeave"]),i=Cp(),l=(0,jp.x)(n,i.openDropdown),u=(0,jp.x)(o,i.closeDropdown);return c.createElement(Uo.J.Dropdown,Lp({onMouseEnter:l,onMouseLeave:u},a),r)}Tp.displayName="@mantine/core/HoverCardDropdown";var $p=Object.defineProperty,Mp=Object.getOwnPropertySymbols,Fp=Object.prototype.hasOwnProperty,Bp=Object.prototype.propertyIsEnumerable,Wp=(e,t,r)=>t in e?$p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Hp={refProp:"ref"},Gp=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("HoverCardTarget",Hp,e),{children:n,refProp:o}=r,a=((e,t)=>{var r={};for(var n in e)Fp.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Mp)for(var n of Mp(e))t.indexOf(n)<0&&Bp.call(e,n)&&(r[n]=e[n]);return r})(r,["children","refProp"]);if(!(0,Dl.k)(n))throw new Error(Pp);const i=Cp(),l=(0,jp.x)(n.props.onMouseEnter,i.openDropdown),u=(0,jp.x)(n.props.onMouseLeave,i.closeDropdown);return c.createElement(Uo.J.Target,((e,t)=>{for(var r in t||(t={}))Fp.call(t,r)&&Wp(e,r,t[r]);if(Mp)for(var r of Mp(t))Bp.call(t,r)&&Wp(e,r,t[r]);return e})({refProp:o,ref:t},a),(0,c.cloneElement)(n,{onMouseEnter:l,onMouseLeave:u}))}));Gp.displayName="@mantine/core/HoverCardTarget";var Vp=r(27347),Yp=Object.defineProperty,Zp=Object.getOwnPropertySymbols,Kp=Object.prototype.hasOwnProperty,Up=Object.prototype.propertyIsEnumerable,qp=(e,t,r)=>t in e?Yp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xp=(e,t)=>{for(var r in t||(t={}))Kp.call(t,r)&&qp(e,r,t[r]);if(Zp)for(var r of Zp(t))Up.call(t,r)&&qp(e,r,t[r]);return e},Jp=(e,t)=>{var r={};for(var n in e)Kp.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Zp)for(var n of Zp(e))t.indexOf(n)<0&&Up.call(e,n)&&(r[n]=e[n]);return r};const Qp={openDelay:0,closeDelay:150,initiallyOpened:!1};function ef(e){const t=(0,s.N4)("HoverCard",Qp,e),{children:r,onOpen:n,onClose:o,openDelay:a,closeDelay:i,initiallyOpened:l}=t,u=Jp(t,["children","onOpen","onClose","openDelay","closeDelay","initiallyOpened"]),[d,{open:p,close:f}]=(0,kp.q)(l,{onClose:o,onOpen:n}),{openDropdown:m,closeDropdown:b}=(0,Vp.U)({open:p,close:f,openDelay:a,closeDelay:i});return c.createElement(Ep,{value:{openDropdown:m,closeDropdown:b}},c.createElement(Uo.J,Xp({opened:d,__staticSelector:"HoverCard"},u),r))}ef.displayName="@mantine/core/HoverCard",ef.Target=Gp,ef.Dropdown=Tp;var tf=Object.defineProperty,rf=Object.getOwnPropertySymbols,nf=Object.prototype.hasOwnProperty,of=Object.prototype.propertyIsEnumerable,af=(e,t,r)=>t in e?tf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lf=(e,t)=>{for(var r in t||(t={}))nf.call(t,r)&&af(e,r,t[r]);if(rf)for(var r of rf(t))of.call(t,r)&&af(e,r,t[r]);return e},sf=(e,t)=>
1{var r={};for(var n in e)nf.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&rf)for(var n of rf(e))t.indexOf(n)<0&&of.call(e,n)&&(r[n]=e[n]);return r};function cf(e){const t=e,{width:r,height:n,style:o}=t,a=sf(t,["width","height","style"]);return c.createElement("svg",lf({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:lf({width:r,height:n},o)},a),c.createElement("path",{d:"M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var uf=Object.defineProperty,df=Object.defineProperties,pf=Object.getOwnPropertyDescriptors,ff=Object.getOwnPropertySymbols,mf=Object.prototype.hasOwnProperty,bf=Object.prototype.propertyIsEnumerable,yf=(e,t,r)=>t in e?uf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gf=(e,t)=>{for(var r in t||(t={}))mf.call(t,r)&&yf(e,r,t[r]);if(ff)for(var r of ff(t))bf.call(t,r)&&yf(e,r,t[r]);return e},hf=(e,t)=>df(e,pf(t)),vf=(0,x.k)(((e,{radius:t})=>({root:{},imageWrapper:{position:"relative"},figure:{margin:0},image:hf(gf({},e.fn.fontStyles()),{display:"block",width:"100%",height:"100%",border:0,borderRadius:e.fn.radius(t)}),caption:{color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[7],marginTop:e.spacing.xs},placeholder:hf(gf({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0],borderRadius:e.fn.radius(t)})}))),wf=Object.defineProperty,Of=Object.defineProperties,xf=Object.getOwnPropertyDescriptors,kf=Object.getOwnPropertySymbols,Sf=Object.prototype.hasOwnProperty,Pf=Object.prototype.propertyIsEnumerable,Ef=(e,t,r)=>t in e?wf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Cf=(e,t)=>{for(var r in t||(t={}))Sf.call(t,r)&&Ef(e,r,t[r]);if(kf)for(var r of kf(t))Pf.call(t,r)&&Ef(e,r,t[r]);return e};const jf={fit:"cover",width:"100%",height:"auto",radius:0},Nf=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Image",jf,e),{className:n,alt:o,src:a,fit:i,width:l,height:u,radius:d,imageProps:p,withPlaceholder:f,placeholder:m,imageRef:b,classNames:y,styles:g,caption:v,unstyled:w,style:O,variant:x}=r,k=((e,t)=>{var r={};for(var n in e)Sf.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&kf)for(var n of kf(e))t.indexOf(n)<0&&Pf.call(e,n)&&(r[n]=e[n]);return r})(r,["className","alt","src","fit","width","height","radius","imageProps","withPlaceholder","placeholder","imageRef","classNames","styles","caption","unstyled","style","variant"]),{classes:S,cx:P}=vf({radius:d},{classNames:y,styles:g,unstyled:w,name:"Image",variant:x}),[E,C]=(0,c.useState)(!a),j=f&&E;return(0,Xn.l)((()=>{C(!a)}),[a]),c.createElement(H.x,Cf({className:P(S.root,n),style:Cf({width:(0,h.h)(l)},O),ref:t},k),c.createElement("figure",{className:S.figure},c.createElement("div",{className:S.imageWrapper},c.createElement("img",((e,t)=>Of(e,xf(t)))(Cf({src:a,alt:o,ref:b},p),{className:P(S.image,null==p?void 0:p.className),onError:e=>{C(!0),"function"==typeof(null==p?void 0:p.onError)&&p.onError(e)},style:Cf(Cf({objectFit:i,width:(0,h.h)(l),height:(0,h.h)(u)},j&&{overflow:"hidden"}),null==p?void 0:p.style)})),j&&c.createElement("div",{className:S.placeholder,title:o},m||c.createElement("div",null,c.createElement(cf,{width:(0,h.h)(40),height:(0,h.h)(40)})))),!!v&&c.createElement(Dt.x,{component:"figcaption",size:"sm",align:"center",className:S.caption},v)))}));Nf.displayName="@mantine/core/Image";var zf=Object.defineProperty,If=Object.defineProperties,Df=Object.getOwnPropertyDescriptors,Rf=Object.getOwnPropertySymbols,Lf=Object.prototype.hasOwnProperty,_f=Object.prototype.propertyIsEnumerable,Af=(e,t,r)=>t in e?zf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Tf=(e,t)=>{for(var r in t||(t={}))Lf.call(t,r)&&Af(e,r,t[r]);if(Rf)for(var r of Rf(t))_f.call(t,r)&&Af(e,r,t[r]);return e},$f=(e,t)=>If(e,Df(t));const Mf=e=>(0,O.keyframes)({from:{boxShadow:`0 0 ${(0,h.h)(.5)} 0 ${e}`,opacity:.6},to:{boxShadow:`0 0 ${(0,h.h)(.5)} ${(0,h.h)(4.4)} ${e}`,opacity:0}
1});function Ff(e,t=0){const r={},[n,o]=e.split("-");let a="",i="";return"top"===n&&(r.top=t,i="-50%"),"middle"===n&&(r.top="50%",i="-50%"),"bottom"===n&&(r.bottom=t,i="50%"),"start"===o&&(r.left=t,a="-50%"),"center"===o&&(r.left="50%",a="-50%"),"end"===o&&(r.right=t,a="50%"),r.transform=`translate(${a}, ${i})`,r}var Bf=(0,x.k)(((e,{radius:t,color:r,position:n,offset:o,inline:a,withBorder:i,withLabel:l,zIndex:s},{size:c})=>{const{background:u}=e.fn.variant({variant:"filled",primaryFallback:!1,color:r||e.primaryColor}),d=(0,h.h)(c);return{root:{position:"relative",display:a?"inline-block":"block"},indicator:$f(Tf({},Ff(n,o)),{zIndex:s,position:"absolute",[l?"minWidth":"width"]:d,height:d,display:"flex",justifyContent:"center",alignItems:"center",fontSize:e.fontSizes.xs,paddingLeft:l?`calc(${e.spacing.xs} / 2)`:0,paddingRight:l?`calc(${e.spacing.xs} / 2)`:0,borderRadius:e.fn.radius(t),backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:r||e.primaryColor}).background,border:i?`${(0,h.h)(2)} solid ${"dark"===e.colorScheme?e.colors.dark[7]:e.white}`:void 0,color:e.white,whiteSpace:"nowrap"}),processing:{animation:`${Mf(u)} 1000ms linear infinite`},common:$f(Tf({},Ff(n,o)),{position:"absolute",[l?"minWidth":"width"]:d,height:d,borderRadius:e.fn.radius(t)})}})),Wf=Object.defineProperty,Hf=Object.getOwnPropertySymbols,Gf=Object.prototype.hasOwnProperty,Vf=Object.prototype.propertyIsEnumerable,Yf=(e,t,r)=>t in e?Wf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Zf={position:"top-end",offset:0,inline:!1,withBorder:!1,disabled:!1,processing:!1,size:10,radius:1e3,zIndex:(0,y.w)("app")}
1,Kf=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Indicator",Zf,e),{children:n,position:o,offset:a,size:i,radius:l,inline:u,withBorder:d,className:p,color:f,styles:m,label:b,classNames:y,disabled:g,zIndex:h,unstyled:v,processing:w,variant:O}=r,x=((e,t)=>{var r={};for(var n in e)Gf.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Hf)for(var n of Hf(e))t.indexOf(n)<0&&Vf.call(e,n)&&(r[n]=e[n]);return r})(r,["children","position","offset","size","radius","inline","withBorder","className","color","styles","label","classNames","disabled","zIndex","unstyled","processing","variant"]),{classes:k,cx:S}=Bf({position:o,offset:a,radius:l,inline:u,color:f,withBorder:d,zIndex:h,withLabel:!!b},{name:"Indicator",classNames:y,styles:m,unstyled:v,variant:O,size:i});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Gf.call(t,r)&&Yf(e,r,t[r]);if(Hf)for(var r of Hf(t))Vf.call(t,r)&&Yf(e,r,t[r]);return e})({ref:t,className:S(k.root,p)},x),!g&&c.createElement(c.Fragment,null,c.createElement("div",{className:S(k.indicator,k.common)},b),w&&c.createElement("div",{className:S(k.processing,k.common)})),n)}));Kf.displayName="@mantine/core/Indicator";var Uf=r(35227),qf=Object.defineProperty,Xf=Object.defineProperties,Jf=Object.getOwnPropertyDescriptors,Qf=Object.getOwnPropertySymbols,em=Object.prototype.hasOwnProperty,tm=Object.prototype.propertyIsEnumerable,rm=(e,t,r)=>t in e?qf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nm=(e,t)=>{for(var r in t||(t={}))em.call(t,r)&&rm(e,r,t[r]);if(Qf)for(var r of Qf(t))tm.call(t,r)&&rm(e,r,t[r]);return e};const om={size:"sm",__staticSelector:"InputBase"},am=(0,c.forwardRef)(((e,t)=>{const r=(0,ia.k)("InputBase",om,e),{inputProps:n,wrapperProps:o}=r,a=((e,t)=>{var r={};for(var n in e)em.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Qf)for(var n of Qf(e))t.indexOf(n)<0&&tm.call(e,n)&&(r[n]=e[n]);return r})(r,["inputProps","wrapperProps"]);return c.createElement(la.I.Wrapper,nm({},o),c.createElement(la.I,((e,t)=>Xf(e,Jf(t)))(nm(nm({},n),a),{ref:t})))}));am.displayName="@mantine/core/InputBase";const im=(0,o.F)(am);function lm(e,t){if("string"==typeof e&&0===e.trim().length)return!0;try{return t(e),!0}catch(e){return!1}}var sm=(0,x.k)(((e,t,{size:r})=>({input:{fontFamily:e.fontFamilyMonospace,fontSize:`calc(${(0,w.a)({size:r,sizes:e.fontSizes})} - ${(0,h.h)(2)})`}}))),cm=r(90869),um=(0,x.k)((e=>({input:{paddingTop:e.spacing.xs,paddingBottom:e.spacing.xs}}))),dm=Object.defineProperty,pm=Object.defineProperties,fm=Object.getOwnPropertyDescriptors,mm=Object.getOwnPropertySymbols,bm=Object.prototype.hasOwnProperty,ym=Object.prototype.propertyIsEnumerable,gm=(e,t,r)=>t in e?dm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hm=(e,t)=>{for(var r in t||(t={}))bm.call(t,r)&&gm(e,r,t[r]);if(mm)for(var r of mm(t))ym.call(t,r)&&gm(e,r,t[r]);return e},vm=(e,t)=>pm(e,fm(t));const wm={autosize:!1,size:"sm",__staticSelector:"Textarea"},Om=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Textarea",wm,e),{autosize:n,maxRows:o,minRows:a,label:i,error:l,description:u,id:d,className:p,required:f,style:m,wrapperProps:b,classNames:y,styles:g,size:h,__staticSelector:v,sx:w,errorProps:O,descriptionProps:x,labelProps:k,inputWrapperOrder:S,inputContainer:P,unstyled:E,withAsterisk:C,variant:j}=r,N=((e,t)=>{var r={};for(var n in e)bm.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&mm)for(var n of mm(e))t.indexOf(n)<0&&ym.call(e,n)&&(r[n]=e[n]);return r})(r,["autosize","maxRows","minRows","label","error","description","id","className","required","style","wrapperProps","classNames","styles","size","__staticSelector","sx","errorProps","descriptionProps","labelProps","inputWrapperOrder","inputContainer","unstyled","withAsterisk","variant"]),z=(0,D.M)(d),{classes:I,cx:R}=um(),{systemStyles:L,rest:_}=(0,Nl.x)(N),A=hm({required:f,ref:t,error:l,id:z,classNames:vm(hm({},y),{input:R(I.input,null==y?void 0:y.input)}),styles:g,__staticSelector:v,size:h,multiline:!0,unstyled:E,variant:j},_);return c.createElement(la.I.Wrapper,hm(hm({label:i,error:l,id:z,description:u,required:f,style:m,className:p,classNames:y,styles:g,size:h,__staticSelector:v,sx:w,errorProps:O,labelProps:k,descriptionProps:x,inputContainer:P,inputWrapperOrder:S,unstyled:E,withAsterisk:C,variant:j},L),b),n?c.createElement(la.I,vm(hm({},A),{component:cm.Z,maxRows:o,minRows:a})):c.createElement(la.I,vm(hm({},A),{component:"textarea",rows:a})))}));Om.displayName="@mantine/core/Textarea";var xm=Object.defineProperty,km=Object.defineProperties,Sm=Object.getOwnPropertyDescriptors,Pm=Object.getOwnPropertySymbols,Em=Object.prototype.hasOwnProperty,Cm=Object.prototype.propertyIsEnumerable,jm=(e,t,r)=>t in e?xm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nm=(e,t)=>{for(var r in t||(t={}))Em.call(t,r)&&jm(e,r,t[r]);if(Pm)for(var r of Pm(t))Cm.call(t,r)&&jm(e,r,t[r]);return e},zm=(e,t)=>
1km(e,Sm(t));const Im={formatOnBlur:!1,size:"sm",serialize:JSON.stringify,deserialize:JSON.parse},Dm=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("JsonInput",Im,e),{value:n,defaultValue:o,onChange:a,onFocus:i,onBlur:l,error:u,formatOnBlur:d,size:p,validationError:f,classNames:m,unstyled:b,readOnly:y,variant:g,serialize:h,deserialize:v}=r,w=((e,t)=>{var r={};for(var n in e)Em.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Pm)for(var n of Pm(e))t.indexOf(n)<0&&Cm.call(e,n)&&(r[n]=e[n]);return r})(r,["value","defaultValue","onChange","onFocus","onBlur","error","formatOnBlur","size","validationError","classNames","unstyled","readOnly","variant","serialize","deserialize"]),{classes:O,cx:x}=sm(null,{name:"JsonInput",unstyled:b,size:p,variant:g}),[k,S]=(0,R.C)({value:n,defaultValue:o,finalValue:"",onChange:a}),[P,E]=(0,c.useState)(lm(k,v));return c.createElement(Om,Nm({value:k,onChange:e=>S(e.currentTarget.value),onFocus:e=>{"function"==typeof i&&i(e),E(!0)},onBlur:e=>{"function"==typeof l&&l(e);const t=lm(e.currentTarget.value,v);d&&!y&&t&&""!==e.currentTarget.value.trim()&&S(h(v(e.currentTarget.value),null,2)),E(t)},error:P?u:f||!0,__staticSelector:"JsonInput",classNames:zm(Nm({},m),{input:x(O.input,null==m?void 0:m.input)}),autoComplete:"off",ref:t,unstyled:b,readOnly:y,size:p,variant:g},w))}));Dm.displayName="@mantine/core/JsonInput";const Rm={xs:{padding:`${(0,h.h)(2)} ${(0,h.h)(4)}`,fontSize:(0,h.h)(10)},sm:{padding:`${(0,h.h)(3)} ${(0,h.h)(5)}`,fontSize:(0,h.h)(12)},md:{padding:`${(0,h.h)(4)} ${(0,h.h)(7)}`,fontSize:(0,h.h)(14)},lg:{padding:`${(0,h.h)(5)} ${(0,h.h)(9)}`,fontSize:(0,h.h)(16)},xl:{padding:`${(0,h.h)(8)} ${(0,h.h)(14)}`,fontSize:(0,h.h)(20)}};var Lm=(0,x.k)(((e,t,{size:r})=>{const n=r in Rm?Rm[r]:Rm.sm;return{root:{lineHeight:e.lineHeight,fontFamily:e.fontFamilyMonospace,fontSize:n.fontSize,fontWeight:700,backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0],color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],padding:n.padding,borderRadius:e.radius.sm,border:`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,borderBottom:`${(0,h.h)(3)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`}}})),_m=Object.defineProperty,Am=Object.getOwnPropertySymbols,Tm=Object.prototype.hasOwnProperty,$m=Object.prototype.propertyIsEnumerable,Mm=(e,t,r)=>t in e?_m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Fm={size:"sm"},Bm=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Kbd",Fm,e),{className:n,children:o,unstyled:a,variant:i,size:l}=r,u=((e,t)=>{var r={};for(var n in e)Tm.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Am)for(var n of Am(e))t.indexOf(n)<0&&$m.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","unstyled","variant","size"]),{classes:d,cx:p}=Lm(null,{name:"Kbd",unstyled:a,variant:i,size:l});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Tm.call(t,r)&&Mm(e,r,t[r]);if(Am)for(var r of Am(t))$m.call(t,r)&&Mm(e,r,t[r]);return e})({component:"kbd",className:p(d.root,n),ref:t},u),o)}));Bm.displayName="@mantine/core/Kbd";const[Wm,Hm]=(0,L.R)("List component was not found in tree");var Gm=(0,x.k)(((e,{spacing:t,center:r})=>({itemWrapper:{ref:(0,k.A)("itemWrapper"),display:"inline-flex",flexDirection:"column",whiteSpace:"normal"},item:{whiteSpace:"nowrap",lineHeight:r?1:e.lineHeight,"&:not(:first-of-type)":{marginTop:(0,w.a)({size:t,sizes:e.spacing})},"&[data-with-icon]":{listStyle:"none",[`& .${(0,k.A)("itemWrapper")}`]:{display:"inline-flex",alignItems:r?"center":"flex-start",flexDirection:"row"}}},itemIcon:{display:"inline-block",verticalAlign:"middle",marginRight:e.spacing.sm}}))),Vm=Object.defineProperty,Ym=Object.getOwnPropertySymbols,Zm=Object.prototype.hasOwnProperty,Km=Object.prototype.propertyIsEnumerable,Um=(e,t,r)=>t in e?Vm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const qm={},Xm=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("ListItem",qm,e),{className:n,children:o,icon:a}=r,i=((e,t)=>{var r={};for(var n in e)Zm.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ym)for(var n of Ym(e))t.indexOf(n)<0&&Km.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","icon"]),{icon:l,spacing:u,center:d,listStyleType:p,size:f,withPadding:m,classNames:b,styles:y,unstyled:g,variant:h}=Hm(),v=a||l,{classes:w,cx:O}=Gm({withPadding:m,listStyleType:p,center:d,spacing:u},{classNames:b,styles:y,unstyled:g,name:"List",variant:h,size:f});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Zm.call(t,r)&&Um(e,r,t[r]);if(Ym)for(var r of Ym(t))Km.call(t,r)&&Um(e,r,t[r]);return e})({component:"li",className:O(w.item,n),"data-with-icon":!!v||void 0,ref:t},i),c.createElement("div",{className:w.itemWrapper},v&&c.createElement("span",{className:w.itemIcon},v),c.createElement("span",null,o)))}));Xm.displayName="@mantine/core/ListItem";var Jm=Object.defineProperty,Qm=Object.defineProperties,eb=Object.getOwnPropertyDescriptors,tb=Object.getOwnPropertySymbols,rb=Object.prototype.hasOwnProperty,nb=Object.prototype.propertyIsEnumerable,ob=(e,t,r)=>t in e?Jm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ab=(e,t)=>
1{for(var r in t||(t={}))rb.call(t,r)&&ob(e,r,t[r]);if(tb)for(var r of tb(t))nb.call(t,r)&&ob(e,r,t[r]);return e},ib=(e,t)=>Qm(e,eb(t)),lb=(0,x.k)(((e,{withPadding:t,listStyleType:r},{size:n})=>({root:ib(ab({},e.fn.fontStyles()),{listStyleType:r,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,fontSize:(0,w.a)({size:n,sizes:e.fontSizes}),lineHeight:e.lineHeight,margin:0,paddingLeft:t?e.spacing.xl:0,listStylePosition:"inside"})}))),sb=Object.defineProperty,cb=Object.getOwnPropertySymbols,ub=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,pb=(e,t,r)=>t in e?sb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const fb={type:"unordered",size:"md",spacing:0},mb=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("List",fb,e),{children:n,type:o,size:a,listStyleType:i,withPadding:l,center:u,spacing:d,icon:p,className:f,styles:m,classNames:b,unstyled:y,variant:g}=r,h=((e,t)=>{var r={};for(var n in e)ub.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&cb)for(var n of cb(e))t.indexOf(n)<0&&db.call(e,n)&&(r[n]=e[n]);return r})(r,["children","type","size","listStyleType","withPadding","center","spacing","icon","className","styles","classNames","unstyled","variant"]),{classes:v,cx:w}=lb({withPadding:l,listStyleType:i,center:u,spacing:d},{classNames:b,styles:m,name:"List",unstyled:y,size:a,variant:g});return c.createElement(Wm,{value:{spacing:d,center:u,icon:p,listStyleType:i,size:a,withPadding:l,classNames:b,styles:m,unstyled:y,variant:g}},c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))ub.call(t,r)&&pb(e,r,t[r]);if(cb)for(var r of cb(t))db.call(t,r)&&pb(e,r,t[r]);return e})({component:"unordered"===o?"ul":"ol",className:w(v.root,f),ref:t},h),n))}));mb.Item=Xm,mb.displayName="@mantine/core/List";var bb=r(20966),yb=r(49737),gb=r(46525),hb=(0,x.k)(((e,{smallerThan:t,largerThan:r,query:n,styles:o})=>{const a={},i=(0,w.a)({size:r,sizes:e.breakpoints}),l=(0,w.a)({size:t,sizes:e.breakpoints}),s="function"==typeof o?o(e):o;return void 0!==r&&void 0!==t?a[`@media (min-width: ${(0,h.em)(i)}) and (max-width: ${(0,h.em)((0,b.oI)(l)-1)})`]=s:(void 0!==r&&(a[`@media (min-width: ${(0,w.a)({size:r,sizes:e.breakpoints})})`]=s),void 0!==t&&(a[`@media (max-width: ${(0,h.em)((0,b.oI)((0,w.a)({size:t,sizes:e.breakpoints}))-1)})`]=s)),n&&(a[`@media ${n}`]=s),{media:a}}));function vb(e){var t;const{children:r,smallerThan:n,largerThan:o,query:a,styles:i,className:l}=(0,s.N4)("MediaQuery",{},e),{classes:u,cx:d}=hb({smallerThan:n,largerThan:o,query:a,styles:i},{name:"MediaQuery"}),p=c.Children.only(r);return"object"==typeof p&&null!==p&&"props"in p?c.cloneElement(p,{className:d(u.media,null==(t=p.props)?void 0:t.className,l)}):p}vb.displayName="@mantine/core/MediaQuery";var wb=r(49441),Ob=r(94491),xb=r(32819);const kb={xs:(0,h.h)(16),sm:(0,h.h)(22),md:(0,h.h)(26),lg:(0,h.h)(30),xl:(0,h.h)(36)},Sb={xs:(0,h.h)(10),sm:(0,h.h)(12),md:(0,h.h)(14),lg:(0,h.h)(16),xl:(0,h.h)(18)};var Pb=(0,x.k)(((e,{disabled:t,radius:r,readOnly:n},{size:o,variant:a})=>({defaultValue:{display:"flex",alignItems:"center",backgroundColor:t?"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[3]:"dark"===e.colorScheme?e.colors.dark[7]:"filled"===a?e.white:e.colors.gray[1],color:t?"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[7]:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],height:(0,w.a)({size:o,sizes:kb}),paddingLeft:`calc(${(0,w.a)({size:o,sizes:e.spacing})} / 1.5)`,paddingRight:t||n?(0,w.a)({size:o,sizes:e.spacing}):0,fontWeight:500,fontSize:(0,w.a)({size:o,sizes:Sb}),borderRadius:(0,w.a)({size:r,sizes:e.radius}),cursor:t?"not-allowed":"default",userSelect:"none",maxWidth:`calc(100% - ${(0,h.h)(10)})`},defaultValueRemove:{color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[7],marginLeft:`calc(${(0,w.a)({size:o,sizes:e.spacing})} / 6)`},defaultValueLabel:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}))),Eb=Object.defineProperty,Cb=Object.getOwnPropertySymbols,jb=Object.prototype.hasOwnProperty,Nb=Object.prototype.propertyIsEnumerable,zb=(e,t,r)=>t in e?Eb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ib=(e,t)=>
1{for(var r in t||(t={}))jb.call(t,r)&&zb(e,r,t[r]);if(Cb)for(var r of Cb(t))Nb.call(t,r)&&zb(e,r,t[r]);return e},Db=(e,t)=>{var r={};for(var n in e)jb.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Cb)for(var n of Cb(e))t.indexOf(n)<0&&Nb.call(e,n)&&(r[n]=e[n]);return r};const Rb={xs:16,sm:22,md:24,lg:26,xl:30};function Lb(e){var t=e,{label:r,classNames:n,styles:o,className:a,onRemove:i,disabled:l,readOnly:s,size:u,radius:d="sm",variant:p,unstyled:f}=t,m=Db(t,["label","classNames","styles","className","onRemove","disabled","readOnly","size","radius","variant","unstyled"]);const{classes:b,cx:y}=Pb({disabled:l,readOnly:s,radius:d},{name:"MultiSelect",classNames:n,styles:o,unstyled:f,size:u,variant:p});return c.createElement("div",Ib({className:y(b.defaultValue,a)},m),c.createElement("span",{className:b.defaultValueLabel},r),!l&&!s&&c.createElement(St.P,{"aria-hidden":!0,onMouseDown:i,size:Rb[u],radius:2,color:"blue",variant:"transparent",iconSize:"70%",className:b.defaultValueRemove,tabIndex:-1,unstyled:f}))}Lb.displayName="@mantine/core/MultiSelect/DefaultValue";var _b=Object.defineProperty,Ab=Object.getOwnPropertySymbols,Tb=Object.prototype.hasOwnProperty,$b=Object.prototype.propertyIsEnumerable,Mb=(e,t,r)=>t in e?_b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fb=(e,t)=>{for(var r in t||(t={}))Tb.call(t,r)&&Mb(e,r,t[r]);if(Ab)for(var r of Ab(t))$b.call(t,r)&&Mb(e,r,t[r]);return e},Bb=(e,t)=>{var r={};for(var n in e)Tb.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ab)for(var n of Ab(e))t.indexOf(n)<0&&$b.call(e,n)&&(r[n]=e[n]);return r};const Wb={xs:(0,h.h)(14),sm:(0,h.h)(18),md:(0,h.h)(20),lg:(0,h.h)(24),xl:(0,h.h)(28)};function Hb(e){var t=e,{size:r,error:n,style:o}=t,a=Bb(t,["size","error","style"]);const i=(0,s.rZ)(),l=(0,w.a)({size:r,sizes:Wb});return c.createElement("svg",Fb({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Fb({color:n?i.colors.red[6]:i.colors.gray[6],width:l,height:l},o),"data-chevron":!0},a),c.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var Gb=Object.defineProperty,Vb=Object.defineProperties,Yb=Object.getOwnPropertyDescriptors,Zb=Object.getOwnPropertySymbols,Kb=Object.prototype.hasOwnProperty,Ub=Object.prototype.propertyIsEnumerable,qb=(e,t,r)=>t in e?Gb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xb=(e,t)=>{for(var r in t||(t={}))Kb.call(t,r)&&qb(e,r,t[r]);if(Zb)for(var r of Zb(t))Ub.call(t,r)&&qb(e,r,t[r]);return e},Jb=(e,t)=>Vb(e,Yb(t));function Qb({shouldClear:e,clearButtonProps:t,onClear:r,size:n,error:o}){return e?c.createElement(St.P,Jb(Xb({},t),{variant:"transparent",onClick:r,size:n,onMouseDown:e=>e.preventDefault()})):c.createElement(Hb,{error:o,size:n})}Qb.displayName="@mantine/core/SelectRightSection";var ey=Object.defineProperty,ty=Object.defineProperties,ry=Object.getOwnPropertyDescriptors,ny=Object.getOwnPropertySymbols,oy=Object.prototype.hasOwnProperty,ay=Object.prototype.propertyIsEnumerable,iy=(e,t,r)=>t in e?ey(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ly=(e,t)=>{for(var r in t||(t={}))oy.call(t,r)&&iy(e,r,t[r]);if(ny)for(var r of ny(t))ay.call(t,r)&&iy(e,r,t[r]);return e},sy=(e,t)=>ty(e,ry(t)),cy=(e,t)=>{var r={};for(var n in e)oy.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ny)for(var n of ny(e))t.indexOf(n)<0&&ay.call(e,n)&&(r[n]=e[n]);return r};function uy(e){var t=e,{styles:r,rightSection:n,rightSectionWidth:o,theme:a}=t,i=cy(t,["styles","rightSection","rightSectionWidth","theme"]);if(n)return{rightSection:n,rightSectionWidth:o,styles:r};const l="function"==typeof r?r(a):r;return{rightSection:!i.readOnly&&!(i.disabled&&i.shouldClear)&&c.createElement(Qb,ly({},i)),styles:sy(ly({},l),{rightSection:sy(ly({},null==l?void 0:l.rightSection),{pointerEvents:i.shouldClear?void 0:"none"})})}}var dy=Object.defineProperty,py=Object.defineProperties,fy=Object.getOwnPropertyDescriptors,my=Object.getOwnPropertySymbols,by=Object.prototype.hasOwnProperty,yy=Object.prototype.propertyIsEnumerable,gy=(e,t,r)=>t in e?dy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hy=(e,t)=>{for(var r in t||(t={}))by.call(t,r)&&gy(e,r,t[r]);if(my)for(var r of my(t))yy.call(t,r)&&gy(e,r,t[r]);return e},vy=(e,t)=>py(e,fy(t)),wy=(0,x.k)(((e,{invalid:t},{size:r})=>({wrapper:{position:"relative","&:has(input:disabled)":{cursor:"not-allowed",pointerEvents:"none","& .mantine-MultiSelect-input"
1:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,"&::placeholder":{color:e.colors.dark[2]}},"& .mantine-MultiSelect-defaultValue":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[3],color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[7]}}},values:{minHeight:`calc(${(0,w.a)({size:r,sizes:Uf.J})} - ${(0,h.h)(2)})`,display:"flex",alignItems:"center",flexWrap:"wrap",marginLeft:`calc(-${e.spacing.xs} / 2)`,boxSizing:"border-box","&[data-clearable]":{marginRight:(0,w.a)({size:r,sizes:Uf.J})}},value:{margin:`calc(${e.spacing.xs} / 2 - ${(0,h.h)(2)}) calc(${e.spacing.xs} / 2)`},searchInput:vy(hy({},e.fn.fontStyles()),{flex:1,minWidth:(0,h.h)(60),backgroundColor:"transparent",border:0,outline:0,fontSize:(0,w.a)({size:r,sizes:e.fontSizes}),padding:0,marginLeft:`calc(${e.spacing.xs} / 2)`,appearance:"none",color:"inherit",maxHeight:(0,w.a)({size:r,sizes:kb}),"&::placeholder":{opacity:1,color:t?e.colors.red[e.fn.primaryShade()]:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]},"&:disabled":{cursor:"not-allowed",pointerEvents:"none"}}),searchInputEmpty:{width:"100%"},searchInputInputHidden:{flex:0,width:0,minWidth:0,margin:0,overflow:"hidden"},searchInputPointer:{cursor:"pointer","&:disabled":{cursor:"not-allowed",pointerEvents:"none"}},input:{cursor:"pointer","&:disabled":{cursor:"not-allowed",pointerEvents:"none"}}}))),Oy=Object.defineProperty,xy=Object.defineProperties,ky=Object.getOwnPropertyDescriptors,Sy=Object.getOwnPropertySymbols,Py=Object.prototype.hasOwnProperty,Ey=Object.prototype.propertyIsEnumerable,Cy=(e,t,r)=>t in e?Oy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,jy=(e,t)=>{for(var r in t||(t={}))Py.call(t,r)&&Cy(e,r,t[r]);if(Sy)for(var r of Sy(t))Ey.call(t,r)&&Cy(e,r,t[r]);return e},Ny=(e,t)=>xy(e,ky(t));function zy(e,t){if(!Array.isArray(e))return;if(0===t.length)return[];const r=t.map((e=>"object"==typeof e?e.value:e));return e.filter((e=>r.includes(e)))}const Iy={size:"sm",valueComponent:Lb,itemComponent:To,transitionProps:{transition:"fade",duration:0},maxDropdownHeight:220,shadow:"sm",searchable:!1,filter:function(e,t,r){return!t&&r.label.toLowerCase().trim().includes(e.toLowerCase().trim())},limit:1/0,clearSearchOnChange:!0,clearable:!1,clearSearchOnBlur:!1,disabled:!1,initiallyOpened:!1,creatable:!1,shouldCreate:function(e,t){return!!e&&!t.some((t=>t.value.toLowerCase()===e.toLowerCase()))},switchDirectionOnFlip:!1,zIndex:(0,y.w)("popover"),selectOnBlur:!1,positionDependencies:[],dropdownPosition:"flip"},Dy=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("MultiSelect",Iy,e),{className:n,style:o,required:a,label:i,description:l,size:u,error:d,classNames:p,styles:f,wrapperProps:m,value:b,defaultValue:y,data:g,onChange:h,valueComponent:v,itemComponent:w,id:O,transitionProps:x,maxDropdownHeight:k,shadow:S,nothingFound:P,onFocus:E,onBlur:C,searchable:j,placeholder:N,filter:z,limit:I,clearSearchOnChange:L,clearable:_,clearSearchOnBlur:A,variant:T,onSearchChange:$,searchValue:M,disabled:F,initiallyOpened:B,radius:W,icon:H,rightSection:G,rightSectionWidth:V,creatable:Y,getCreateLabel:Z,shouldCreate:K,onCreate:U,sx:q,dropdownComponent:X,onDropdownClose:J,onDropdownOpen:Q,maxSelectedValues:ee,withinPortal:te,portalProps:re,switchDirectionOnFlip:ne,zIndex:oe,selectOnBlur:ae,name:ie,dropdownPosition:le,errorProps:se,labelProps:ce,descriptionProps:ue,form:de,positionDependencies:pe,onKeyDown:fe,unstyled:me,inputContainer:be,inputWrapperOrder:ye,readOnly:ge,withAsterisk:he,clearButtonProps:ve,hoverOnSearchChange:we,disableSelectedItemFiltering:Oe}=r,xe=((e,t)=>{var r={};for(var n in e)Py.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Sy)for(var n of Sy(e))t.indexOf(n)<0&&Ey.call(e,n)&&(r[n]=e[n]);return r})(r,["className","style","required","label","description","size","error","classNames","styles","wrapperProps","value","defaultValue","data","onChange","valueComponent","itemComponent","id","transitionProps","maxDropdownHeight","shadow","nothingFound","onFocus","onBlur","searchable","placeholder","filter","limit","clearSearchOnChange","clearable","clearSearchOnBlur","variant","onSearchChange","searchValue","disabled","initiallyOpened","radius","icon","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","onCreate","sx","dropdownComponent","onDropdownClose","onDropdownOpen","maxSelectedValues","withinPortal","portalProps","
1switchDirectionOnFlip","zIndex","selectOnBlur","name","dropdownPosition","errorProps","labelProps","descriptionProps","form","positionDependencies","onKeyDown","unstyled","inputContainer","inputWrapperOrder","readOnly","withAsterisk","clearButtonProps","hoverOnSearchChange","disableSelectedItemFiltering"]),{classes:ke,cx:Se,theme:Pe}=wy({invalid:!!d},{name:"MultiSelect",classNames:p,styles:f,unstyled:me,size:u,variant:T}),{systemStyles:Ee,rest:Ce}=(0,Nl.x)(xe),je=(0,c.useRef)(),Ne=(0,c.useRef)({}),ze=(0,D.M)(O),[Ie,De]=(0,c.useState)(B),[Re,Le]=(0,c.useState)(-1),[_e,Ae]=(0,c.useState)("column"),[Te,$e]=(0,R.C)({value:M,defaultValue:"",finalValue:void 0,onChange:$}),[Me,Fe]=(0,c.useState)(!1),{scrollIntoView:Be,targetRef:We,scrollableRef:He}=(0,xb.g)({duration:0,offset:5,cancelable:!1,isList:!0}),Ge=Y&&"function"==typeof Z;let Ve=null;const Ye=Qn({data:g.map((e=>"string"==typeof e?{label:e,value:e}:e))}),[Ze,Ke]=(0,R.C)({value:zy(b,g),defaultValue:zy(y,g),finalValue:[],onChange:h}),Ue=(0,c.useRef)(!!ee&&ee<Ze.length),qe=e=>{if(!ge){const t=Ze.filter((t=>t!==e));Ke(t),ee&&t.length<ee&&(Ue.current=!1)}},Xe=function({data:e,searchable:t,limit:r,searchValue:n,filter:o,value:a,disableSelectedItemFiltering:i}){if(!t&&0===a.length)return e;if(!t){const t=[];for(let r=0;r<e.length;r+=1)!i&&a.some((t=>t===e[r].value&&!e[r].disabled))||t.push(e[r]);return t}const l=[];for(let t=0;t<e.length&&(o(n,!i&&a.some((r=>r===e[t].value&&!e[t].disabled)),e[t])&&l.push(e[t]),!(l.length>=r));t+=1);return l}({data:Ye,searchable:j,searchValue:Te,limit:I,filter:z,value:Ze,disableSelectedItemFiltering:Oe});Ge&&K(Te,Ye)&&(Ve=Z(Te),Xe.push({label:Te,value:Te,creatable:!0}));const Je=Math.min(Re,Xe.length-1),Qe=(e,t,r)=>{let n=e;for(;r(n);)if(n=t(n),!Xe[n].disabled)return n;return e};(0,Xn.l)((()=>{Le(we&&Te?0:-1)}),[Te,we]),(0,Xn.l)((()=>{!F&&Ze.length>g.length&&De(!1),ee&&Ze.length<ee&&(Ue.current=!1),ee&&Ze.length>=ee&&(Ue.current=!0,De(!1))}),[Ze]);const et=e=>{if(!ge)if(L&&$e(""),Ze.includes(e.value))qe(e.value);else{if(e.creatable&&"function"==typeof U){const t=U(e.value);null!=t&&Ke("string"==typeof t?[...Ze,t]:[...Ze,t.value])}else Ke([...Ze,e.value]);Ze.length===ee-1&&(Ue.current=!0,De(!1)),1===Xe.length&&De(!1)}},tt=Ze.map((e=>{let t=Ye.find((t=>t.value===e&&!t.disabled));return!t&&Ge&&(t={value:e,label:e}),t})).filter((e=>!!e)).map(((e,t)=>c.createElement(v,Ny(jy({},e),{variant:T,disabled:F,className:ke.value,readOnly:ge,onRemove:t=>{t.preventDefault(),t.stopPropagation(),qe(e.value)},key:e.value,size:u,styles:f,classNames:p,radius:W,index:t})))),rt=!ge&&(Xe.length>0?Ie:Ie&&!!P);return(0,Xn.l)((()=>{const e=rt?Q:J;"function"==typeof e&&e()}),[rt]),c.createElement(la.I.Wrapper,jy(jy({required:a,id:ze,label:i,error:d,description:l,size:u,className:n,style:o,classNames:p,styles:f,__staticSelector:"MultiSelect",sx:q,errorProps:se,descriptionProps:ue,labelProps:ce,inputContainer:be,inputWrapperOrder:ye,unstyled:me,withAsterisk:he,variant:T},Ee),m),c.createElement(na,{opened:rt,transitionProps:x,shadow:"sm",withinPortal:te,portalProps:re,__staticSelector:"MultiSelect",onDirectionChange:Ae,switchDirectionOnFlip:ne,zIndex:oe,dropdownPosition:le,positionDependencies:[...pe,Te],classNames:p,styles:f,unstyled:me,variant:T},c.createElement(na.Target,null,c.createElement("div",{className:ke.wrapper,role:"combobox","aria-haspopup":"listbox","aria-owns":Ie&&rt?`${ze}-items`:null,"aria-controls":ze,"aria-expanded":Ie,onMouseLeave:()=>Le(-1),tabIndex:-1},c.createElement("input",{type:"hidden",name:ie,value:Ze.join(","),form:de,disabled:F}),c.createElement(la.I,jy({__staticSelector:"MultiSelect",style:{overflow:"hidden"},component:"div",multiline:!0,size:u,variant:T,disabled:F,error:d,required:a,radius:W,icon:H,unstyled:me,onMouseDown:e=>{var t;e.preventDefault(),!F&&!Ue.current&&De(!Ie),null==(t=je.current)||t.focus()},classNames:Ny(jy({},p),{input:Se({[ke.input]:!j},null==p?void 0:p.input)})},uy({theme:Pe,rightSection:G,rightSectionWidth:V,styles:f,size:u,shouldClear:_&&Ze.length>0,onClear:()=>{var e;$e(""),Ke([]),null==(e=je.current)||e.focus(),ee&&(Ue.current=!1)},error:d,disabled:F,clearButtonProps:ve,readOnly:ge})),c.createElement("div",{className:ke.values,"data-clearable":_||void 0},tt,c.createElement("input",jy({ref:(0,Jn.Y)(t,je),type:"search",id:ze,className:Se(ke.searchInput,{[ke.searchInputPointer]:!j,[ke.searchInputInputHidden]:!Ie&&Ze.length>0||!j&&Ze.length>0,[ke.searchInputEmpty]:0===Ze.length}),onKeyDown:e=>{if(Me)return;if(null==fe||fe(e),ge)return;if("Backspace"!==e.key&&ee&&Ue.current)return;const t="column"===_e,r=()=>{Le((e=>{var r;const n=Qe(e,(e=>e+1),(e=>e<Xe.length-1));return Ie&&(We.current=Ne.current[null==(r=Xe[n])?void 0:r.value],Be({alignment:t?"end":"start"})),n}))},n=()=>{Le((e=>{var r;const n=Qe(e,(e=>e-1),(e=>e>0));return Ie&&(We.current=Ne.current[null==(r=Xe[n])?void 0:r.value],Be({alignment:t?"start":"end"})),n}))};switch(e.key){case"ArrowUp":e.preventDefault(),De(!0),t?n():r();break;case"ArrowDown":e.preventDefault(),De(!0),t?r():n();break;case"Enter":e.preventDefault(),Xe[Je]&&Ie?et(Xe[Je]):De(!0);break;case" ":j||(e.preventDefault(),Xe[Je]&&Ie?et(Xe[Je]):De(!0));break;case"Backspace":Ze.length>0&&0===Te.length&&(Ke(Ze.slice(0,-1)),De(!0),ee&&(Ue.current=!1));break;case"Home":if(!j){e.preventDefault(),Ie||De(!0);const r=Xe.findIndex((e=>!e.disabled));Le(r),Be({alignment:t?"end":"start"})}break;case"End":if(!j){e.preventDefault(),Ie||De(!0);const r=Xe.map((e=>!!e.disabled)).lastIndexOf(!1);Le(r),Be({alignment:t?"end":"start"})}break;case"Escape":De(!1)}},value:Te,onChange:e=>{$e(e.currentTarget.value),!F&&!Ue.current&&j&&De(!0)},onFocus:e=>{"function"==typeof E&&E(e),!F&&!Ue.current&&j&&De(!0)},onBlur:e=>{"function"==typeof C&&C(e),ae&&Xe[Je]&&Ie&&et(Xe[Je]),A&&$e(""),De(!1)},readOnly:!j||Ue.current||ge,placeholder:0===Ze.length?N:void 0,disabled:F,"data-mantine-stop-propagation":Ie,autoComplete:"off",onCompositionStart:()=>Fe(!0),onCompositionEnd:()=>Fe(!1)},Ce)))))),c.createElement(na.Dropdown,{component:X||Zo,maxHeight:k,direction:_e,
1id:ze,innerRef:He,__staticSelector:"MultiSelect",classNames:p,styles:f},c.createElement(Io,{data:Xe,hovered:Je,classNames:p,styles:f,uuid:ze,__staticSelector:"MultiSelect",onItemHover:Le,onItemSelect:et,itemsRefs:Ne,itemComponent:w,size:u,nothingFound:P,isItemSelected:e=>Ze.includes(e),creatable:Y&&!!Ve,createLabel:Ve,unstyled:me,variant:T}))))}));Dy.displayName="@mantine/core/MultiSelect";var Ry=Object.defineProperty,Ly=Object.defineProperties,_y=Object.getOwnPropertyDescriptors,Ay=Object.getOwnPropertySymbols,Ty=Object.prototype.hasOwnProperty,$y=Object.prototype.propertyIsEnumerable,My=(e,t,r)=>t in e?Ry(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fy=(e,t)=>{for(var r in t||(t={}))Ty.call(t,r)&&My(e,r,t[r]);if(Ay)for(var r of Ay(t))$y.call(t,r)&&My(e,r,t[r]);return e},By=(e,t)=>Ly(e,_y(t));const Wy={size:"sm"},Hy=(0,c.forwardRef)(((e,t)=>{const r=(0,ia.k)("NativeSelect",Wy,e),{inputProps:n,wrapperProps:o,data:a,onChange:i,value:l,classNames:u,styles:d,rightSection:p,rightSectionWidth:f}=r,m=((e,t)=>{var r={};for(var n in e)Ty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ay)for(var n of Ay(e))t.indexOf(n)<0&&$y.call(e,n)&&(r[n]=e[n]);return r})(r,["inputProps","wrapperProps","data","onChange","value","classNames","styles","rightSection","rightSectionWidth"]),b=(0,s.rZ)(),y=a.map((e=>"string"==typeof e?{label:e,value:e}:e)).map((e=>c.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label)));return c.createElement(la.I.Wrapper,By(Fy({},o),{__staticSelector:"NativeSelect"}),c.createElement(la.I,Fy(By(Fy(Fy({},n),m),{onChange:i,component:"select",ref:t,value:null===l?"":l,__staticSelector:"NativeSelect",pointer:"pointer"===b.cursorType}),uy({theme:b,rightSection:p,rightSectionWidth:f,styles:d,shouldClear:!1,size:n.size,error:o.error,readOnly:!1})),y))}));Hy.displayName="@mantine/core/NativeSelect";var Gy=Object.defineProperty,Vy=Object.defineProperties,Yy=Object.getOwnPropertyDescriptors,Zy=Object.getOwnPropertySymbols,Ky=Object.prototype.hasOwnProperty,Uy=Object.prototype.propertyIsEnumerable,qy=(e,t,r)=>t in e?Gy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xy=(e,t)=>{for(var r in t||(t={}))Ky.call(t,r)&&qy(e,r,t[r]);if(Zy)for(var r of Zy(t))Uy.call(t,r)&&qy(e,r,t[r]);return e},Jy=(e,t)=>Vy(e,Yy(t));const Qy=["filled","light","subtle"];function eg({theme:e,variant:t,color:r}){if(!Qy.includes(t))return null;const n=e.fn.variant({variant:t,color:r});return{"&[data-active]":Xy({backgroundColor:n.background,color:n.color},e.fn.hover({backgroundColor:n.hover}))}}var tg=(0,x.k)(((e,{noWrap:t,childrenOffset:r,alignIcon:n,color:o},{variant:a})=>({root:Jy(Xy(Xy({display:"flex",alignItems:"center",width:"100%",padding:`${(0,h.h)(8)} ${e.spacing.sm}`,userSelect:"none"},eg({theme:e,variant:a,color:o})),e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]})),{"&[data-disabled]":{opacity:.4,pointerEvents:"none"}}),icon:{marginRight:e.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",alignSelf:"center"===n?"center":"flex-start",paddingTop:"center"===n?void 0:(0,h.h)(4)},rightSection:{marginLeft:e.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",transition:`transform 150ms ${e.transitionTimingFunction}`,"&[data-rotate]":{transform:"rotate(90deg)"}},body:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:t?"nowrap":void 0},label:{},description:{display:"block","&[data-active]":{color:"inherit"}},children:{paddingLeft:(0,w.a)({size:r,sizes:e.spacing})}}))),rg=Object.defineProperty,ng=Object.getOwnPropertySymbols,og=Object.prototype.hasOwnProperty,ag=Object.prototype.propertyIsEnumerable,ig=(e,t,r)=>t in e?rg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const lg={variant:"light",childrenOffset:"lg"}
1,sg=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("NavLink",lg,e),{label:n,description:o,icon:a,rightSection:i,className:l,classNames:u,styles:d,unstyled:p,active:f,color:m,variant:b,noWrap:y,children:g,opened:v,defaultOpened:w,onChange:O,disableRightSectionRotation:x,childrenOffset:k,disabled:S,onClick:P}=r,E=((e,t)=>{var r={};for(var n in e)og.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ng)for(var n of ng(e))t.indexOf(n)<0&&ag.call(e,n)&&(r[n]=e[n]);return r})(r,["label","description","icon","rightSection","className","classNames","styles","unstyled","active","color","variant","noWrap","children","opened","defaultOpened","onChange","disableRightSectionRotation","childrenOffset","disabled","onClick"]),{classes:C,cx:j}=tg({color:m,noWrap:y,childrenOffset:k,alignIcon:o?"top":"center"},{name:"NavLink",classNames:u,styles:d,unstyled:p,variant:b}),[N,z]=(0,R.C)({value:v,defaultValue:w,finalValue:!1,onChange:O}),I=!!g;return c.createElement(c.Fragment,null,c.createElement(ce.k,((e,t)=>{for(var r in t||(t={}))og.call(t,r)&&ig(e,r,t[r]);if(ng)for(var r of ng(t))ag.call(t,r)&&ig(e,r,t[r]);return e})({ref:t,className:j(C.root,l),"data-active":f||void 0,onClick:e=>{I?(e.preventDefault(),null==P||P(e),z(!N)):null==P||P(e)},unstyled:p,"data-expanded":N||void 0,"data-disabled":S||void 0,disabled:S},E),a&&c.createElement("span",{className:C.icon},a),c.createElement("span",{className:C.body},c.createElement(Dt.x,{component:"span",size:"sm",className:C.label},n),c.createElement(Dt.x,{component:"span",color:"dimmed",size:"xs","data-active":f||void 0,className:C.description},o)),(I||i)&&c.createElement("span",{className:C.rightSection,"data-rotate":N&&!x||void 0},I?i||c.createElement(We.D,{width:(0,h.h)(14),height:(0,h.h)(14),style:{transform:"rotate(-90deg)"}}):i)),c.createElement(Ne.U,{in:N},c.createElement("div",{className:C.children},g)))}));sg.displayName="@mantine/core/NavLink";const cg=(0,o.F)(sg);var ug=r(12593),dg=r(9276),pg=r(50064);const fg=(e,t,r)=>Number.isInteger(e)&&e>=0&&0===t?"numeric":!Number.isInteger(e)&&e>=0&&0!==t?"decimal":Number.isInteger(e)&&e<0&&0===t||!Number.isInteger(e)&&e<0&&0!==t?"ios"===r?"text":"decimal":"numeric";function mg({direction:e,size:t}){return c.createElement("svg",{style:{width:(0,h.h)(t),height:(0,h.h)(t),transform:"up"===e?"rotate(180deg)":void 0},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}const bg={xs:(0,h.h)(20),sm:(0,h.h)(24),md:(0,h.h)(30),lg:(0,h.h)(34),xl:(0,h.h)(36)};var yg=(0,x.k)(((e,{radius:t},{size:r})=>({rightSection:{display:"flex",flexDirection:"column",height:`calc(100% - ${(0,h.h)(2)})`,margin:(0,h.h)(1),overflow:"hidden",borderTopRightRadius:e.fn.radius(t),borderBottomRightRadius:e.fn.radius(t)},control:{margin:0,position:"relative",flex:"0 0 50%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:(0,w.a)({size:r,sizes:bg}),padding:0,WebkitTapHighlightColor:"transparent",borderBottom:`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,borderLeft:`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,borderTop:0,borderRight:0,backgroundColor:"transparent",marginRight:(0,h.h)(1),color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,"&:not(:disabled):hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]},"&:disabled":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}},controlUp:{},controlDown:{borderBottom:0}}))),gg=r(80061),hg=Object.defineProperty,vg=Object.defineProperties,wg=Object.getOwnPropertyDescriptors,Og=Object.getOwnPropertySymbols,xg=Object.prototype.hasOwnProperty,kg=Object.prototype.propertyIsEnumerable,Sg=(e,t,r)=>t in e?hg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Pg={xs:(0,h.h)(10),sm:(0,h.h)(14),md:(0,h.h)(16),lg:(0,h.h)(18),xl:(0,h.h)(20)},Eg={step:1,hideControls:!1,size:"sm",precision:0,noClampOnBlur:!1,removeTrailingZeros:!1,decimalSeparator:".",formatter:e=>e||"",parser:e=>{if("-"===e)return e;let t=e;"."===t[0]&&(t=`0${e}`);const r=parseFloat(t);return Number.isNaN(r)?"":e},type:"text"},Cg=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("NumberInput",Eg,e),{readOnly:n,disabled:o,value:a,onChange:i,decimalSeparator:l,thousandsSeparator:u,min:d,max:p,startValue:f,step:m,stepHoldInterval:b,stepHoldDelay:y,onFocus:g,onBlur:v,onKeyDown:O,onKeyUp:x,hideControls:k,radius:S,variant:P,precision:E,removeTrailingZeros:C,defaultValue:j,noClampOnBlur:N,handlersRef:z,classNames:I,styles:D,size:R,rightSection:L,rightSectionWidth:_,formatter:A,parser:T,inputMode:$,unstyled:M,type:F}=r,B=((e,t)=>{var r={};for(var n in e)xg.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Og)for(var n of Og(e))t.indexOf(n)<0&&kg.call(e,n)&&(r[n]=e[n]);return r})(r,["readOnly","disabled","value","onChange","decimalSeparator","thous
1andsSeparator","min","max","startValue","step","stepHoldInterval","stepHoldDelay","onFocus","onBlur","onKeyDown","onKeyUp","hideControls","radius","variant","precision","removeTrailingZeros","defaultValue","noClampOnBlur","handlersRef","classNames","styles","size","rightSection","rightSectionWidth","formatter","parser","inputMode","unstyled","type"]),{classes:W,cx:H}=yg({radius:S},{classNames:I,styles:D,unstyled:M,name:"NumberInput",variant:P,size:R}),G=e=>{if(""===e)return"";let t=e.toFixed(E);return C&&E>0&&(t=t.replace(new RegExp(`[0]{0,${E}}$`),""),t.endsWith(".")&&(t=t.slice(0,-1))),t},V=e=>(e=>{let t=e;return l&&(t=t.replace(".",l)),A(t)})(G(e)),[Y,Z]=(0,c.useState)("number"==typeof a?a:"number"==typeof j?j:""),[K,U]=(0,c.useState)((()=>V(Y))),q=(0,c.useRef)(),[X,J]=(0,c.useState)(!1),Q=(e,t)=>{if(!X||t){const t=V(e);t!==K&&U(t)}e!==Y&&Z(e)},ee="number"==typeof d?d:-1/0,te="number"==typeof p?p:1/0,re=(0,c.useRef)();re.current=()=>{var e;let t;t=""===Y?null!=(e=null!=f?f:d)?e:0:parseFloat(G((0,dg.u)(Y+m,ee,te))),Q(t,!0),null==i||i(t)};const ne=(0,c.useRef)();ne.current=()=>{var e;let t;t=""===Y?null!=(e=null!=f?f:d)?e:0:parseFloat(G((0,dg.u)(Y-m,ee,te))),Q(t,!0),null==i||i(t)},(0,fd.k)(z,{increment:re.current,decrement:ne.current}),(0,c.useEffect)((()=>{X||Q(void 0===a?Y:a,!0)}),[a,X]);const oe=void 0!==y&&void 0!==b,ae=(0,c.useRef)(null),ie=(0,c.useRef)(0),le=()=>{ae.current&&window.clearTimeout(ae.current),ae.current=null,ie.current=0},se=e=>{e?re.current():ne.current(),ie.current+=1},ce=e=>{if(se(e),oe){const t="number"==typeof b?b:b(ie.current);ae.current=window.setTimeout((()=>ce(e)),t)}},ue=(e,t)=>
1{e.preventDefault(),q.current.focus(),se(t),oe&&(ae.current=window.setTimeout((()=>ce(t)),y))};(0,c.useEffect)((()=>(le(),le)),[]);const de=c.createElement("div",{className:W.rightSection},c.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:Y>=p,className:H(W.control,W.controlUp),onPointerDown:e=>{ue(e,!0)},onPointerUp:le,onPointerLeave:le},c.createElement(mg,{size:(0,w.a)({size:R,sizes:Pg}),direction:"up"})),c.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:Y<=d,className:H(W.control,W.controlDown),onPointerDown:e=>{ue(e,!1)},onPointerUp:le,onPointerLeave:le},c.createElement(mg,{size:(0,w.a)({size:R,sizes:Pg}),direction:"down"}))),pe=e=>{let t=e;t[0]!==`${l}`&&"."!==t[0]||(t=`0${t}`);const r=parseFloat(G(parseFloat((e=>{let t=e;return l&&(t=t.replaceAll(u,"").replace(l,".")),T(t)})(t)))),n=N?r:(0,dg.u)(r,ee,te),o=Number.isNaN(n)?"":n,a=Y!==o;U(e),Q(o),a&&(null==i||i(o))};return c.createElement(gg.o,((e,t)=>vg(e,wg(t)))(((e,t)=>{for(var r in t||(t={}))xg.call(t,r)&&Sg(e,r,t[r]);if(Og)for(var r of Og(t))kg.call(t,r)&&Sg(e,r,t[r]);return e})({},B),{type:F,variant:P,value:K,disabled:o,readOnly:n,ref:(0,Jn.Y)(q,t),onChange:e=>{e.nativeEvent.isComposing||pe(e.target.value)},onFocus:e=>{J(!0),null==g||g(e)},onBlur:e=>{J(!1),null==v||v(e)},onKeyDown:e=>{"function"==typeof O&&O(e),!e.repeat||!oe||"ArrowUp"!==e.key&&"ArrowDown"!==e.key?n||("ArrowUp"===e.key?ue(e,!0):"ArrowDown"===e.key&&ue(e,!1)):e.preventDefault()},onKeyUp:e=>{"function"==typeof x&&x(e),"ArrowUp"!==e.key&&"ArrowDown"!==e.key||le()},rightSection:L||(o||n||k||"unstyled"===P?null:de),rightSectionWidth:null!=_?_:`calc(${(0,w.a)({size:R,sizes:bg})} + ${(0,h.h)(1)})`,radius:S,max:p,min:d,step:m,size:R,styles:D,classNames:I,inputMode:$||fg(m,E,(0,pg.i)()),__staticSelector:"NumberInput",unstyled:M}))}));Cg.displayName="@mantine/core/NumberInput";var jg=r(17577),Ng=r(77944);var zg=Object.defineProperty,Ig=Object.defineProperties,Dg=Object.getOwnPropertyDescriptors,Rg=Object.getOwnPropertySymbols,Lg=Object.prototype.hasOwnProperty,_g=Object.prototype.propertyIsEnumerable,Ag=(e,t,r)=>t in e?zg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Tg=(e,t)=>{for(var r in t||(t={}))Lg.call(t,r)&&Ag(e,r,t[r]);if(Rg)for(var r of Rg(t))_g.call(t,r)&&Ag(e,r,t[r]);return e},$g=(e,t)=>Ig(e,Dg(t)),Mg=(0,x.k)(((e,{rightSectionWidth:t},{size:r})=>({visibilityToggle:{},input:{position:"relative",overflow:"hidden"},innerInput:$g(Tg(Tg({},e.fn.fontStyles()),e.fn.cover(0)),{backgroundColor:"transparent",border:`${(0,h.h)(1)} solid transparent`,borderLeftWidth:0,borderRightWidth:0,boxSizing:"border-box",display:"block",width:`calc(100% - ${(0,h.h)(t)})`,paddingLeft:`calc(${(0,w.a)({size:r,sizes:Uf.J})} / 3)`,fontSize:(0,w.a)({size:r,sizes:e.fontSizes}),height:`calc(${(0,w.a)({size:r,sizes:Uf.J})} - ${(0,h.h)(2)})`,lineHeight:`calc(${(0,w.a)({size:r,sizes:Uf.J})} - ${(0,h.h)(4)})`,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,"&::-ms-reveal, &::-ms-clear":{display:"none"},"&:focus":{outline:0},"&:disabled":{cursor:"not-allowed",pointerEvents:"none",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,"&::placeholder":{color:e.colors.dark[2]}},"&::placeholder":$g(Tg({},e.fn.placeholderStyles()),{opacity:1}),"&[data-invalid]":{color:e.fn.variant({variant:"filled",color:"red"}).background,"&::placeholder":{opacity:1,color:e.fn.variant({variant:"filled",color:"red"}).background}},"&[data-with-icon]":{paddingLeft:(0,w.a)({size:r,sizes:Uf.J})}})}))),Fg=Object.defineProperty,Bg=Object.defineProperties,Wg=Object.getOwnPropertyDescriptors,Hg=Object.getOwnPropertySymbols,Gg=Object.prototype.hasOwnProperty,Vg=Object.prototype.propertyIsEnumerable,Yg=(e,t,r)=>t in e?Fg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Zg=(e,t)=>{for(var r in t||(t={}))Gg.call(t,r)&&Yg(e,r,t[r]);if(Hg)for(var r of Hg(t))Vg.call(t,r)&&Yg(e,r,t[r]);return e},Kg=(e,t)=>Bg(e,Wg(t));const Ug={xs:(0,h.h)(22),sm:(0,h.h)(26),md:(0,h.h)(28),lg:(0,h.h)(32),xl:(0,h.h)(40)},qg={xs:(0,h.h)(12),sm:(0,h.h)(15),md:(0,h.h)(17),lg:(0,h.h)(19),xl:(0,h.h)(21)},Xg={xs:(0,h.h)(28),sm:(0,h.h)(32),md:(0,h.h)(34),lg:(0,h.h)(44),xl:(0,h.h)(54)},Jg={size:"sm",toggleTabIndex:-1,visibilityToggleIcon:({reveal:e,size:t})=>c.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:t,height:t}},c.createElement("path",{d:e?"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"})),__staticSelector:"PasswordInput"},Qg=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("PasswordInput",Jg,e),{radius:n,disabled:o,size:a,toggleTabIndex:i,className:l,id:u,label:d,error:p,required:f,style:m,icon:b,description:y,wrapperProps:g,classNames:h,styles:v,variant:O,visibilityToggleIcon:x,__staticSelector:k,sx:S,labelProps:P,descriptionProps:E,errorProps:C,unstyled:j,visibilityToggleLabel:N,withAsterisk:z,inputContainer:I,iconWidth:L,inputWrapperOrder:_,visible:A,defaultVisible:T,onVisibilityChange:$}=r,M=((e,t)=>{var r={};for(var n in e)Gg.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Hg)for(var n of Hg(e))t.indexOf(n)<0&&Vg.call(e,n)&&(r[n]=e[n]);return r})(r,["radius","disabled","size","toggleTabIndex","className","id","label","error","required","style","icon","description","wrapperProps","classNames","styles","variant","visibilityToggleIcon","__staticSelector","sx","labelProps","descriptionProps","errorProps","unstyled","visibilityToggleLabel","withAsterisk","inputContainer","iconWidth","inputWrapperOrder","visible","defaultVisible","onVisibilityChange"]),F=(0,w.a)({size:a,sizes:Xg}),{classes:B}=Mg({rightSectionWidth:F},{name:"PasswordInput",classNames:h,styles:v,unstyled:j,size:a,variant:O}),W=(0,D.M)(u),{systemStyles:H,rest:G}=(0,Nl.x)(M),[V,Y]=(0,R.C)({value:A,defaultValue:T,finalValue:!1,onChange:$}),Z=()=>Y(!V),K=c.createElement(tt.A,{className:B.visibilityToggle,tabIndex:i,radius:n,size:(0,w.a)({size:a,sizes:Ug}),"aria-hidden":!N,"aria-label":N,unstyled:j,onMouseDown:e=>{e.preventDefault(),Z()},onKeyDown:e=>{" "===e.key&&(e.preventDefault(),Z())}},c.createElement(x,{reveal:V,size:(0,w.a)({size:a,sizes:qg})}));return c.createElement(la.I.Wrapper,Zg(Zg({required:f,id:W,label:d,error:p,description:y,size:a,className:l,style:m,classNames:h,styles:v,__staticSelector:k,sx:S,errorProps:C,descriptionProps:E,labelProps:P,unstyled:j,withAsterisk:z,inputWrapperOrder:_,inputContainer:I,variant:O},H),g),c.createElement(la.I,{component:"div",error:p,icon:b,size:a,classNames:Kg(Zg({},h),{input:B.input}
1),styles:v,radius:n,disabled:o,__staticSelector:k,rightSectionWidth:F,rightSection:!o&&K,variant:O,unstyled:j,iconWidth:L},c.createElement("input",Zg({type:V?"text":"password",required:f,"data-invalid":!!p||void 0,"data-with-icon":!!b||void 0,className:B.innerInput,disabled:o,id:W,ref:t,autoComplete:"off"},G))))}));function eh(e,t){if(e<1)return[];const r=new Array(e).fill("");if(t){const n=t.trim().split("");for(let t=0;t<Math.min(e,n.length);t+=1)r[t]=n[t]}return r}Qg.displayName="@mantine/core/PasswordInput";const th={xs:(0,h.h)(28),sm:(0,h.h)(32),md:(0,h.h)(36),lg:(0,h.h)(40),xl:(0,h.h)(48)};var rh=(0,x.k)(((e,t,{size:r})=>({root:{},input:{width:(0,w.a)({size:r,sizes:th}),height:(0,w.a)({size:r,sizes:th}),textAlign:"center",minHeight:"auto",padding:0,lineHeight:(0,w.a)({size:r,sizes:th}),"&::selection":{background:"transparent"}}}))),nh=Object.defineProperty,oh=Object.defineProperties,ah=Object.getOwnPropertyDescriptors,ih=Object.getOwnPropertySymbols,lh=Object.prototype.hasOwnProperty,sh=Object.prototype.propertyIsEnumerable,ch=(e,t,r)=>t in e?nh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uh=(e,t)=>{for(var r in t||(t={}))lh.call(t,r)&&ch(e,r,t[r]);if(ih)for(var r of ih(t))sh.call(t,r)&&ch(e,r,t[r]);return e},dh=(e,t)=>oh(e,ah(t));const ph={number:/^[0-9]+$/,alphanumeric:/^[a-zA-Z0-9]+$/i},fh={spacing:"sm",size:"sm",length:4,manageFocus:!0,placeholder:"○",type:"alphanumeric"},mh=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("PinInput",fh,e),{name:n,form:o,className:a,value:i,defaultValue:l,variant:u,spacing:d,size:p,classNames:f,styles:m,unstyled:b,sx:y,length:g,onChange:h,onComplete:v,manageFocus:w,autoFocus:O,error:x,radius:k,disabled:S,oneTimeCode:P,placeholder:E,type:C,mask:j,"aria-label":N,readOnly:z,inputType:I,inputMode:L}=r,_=((e,t)=>{var r={};for(var n in e)lh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ih)for(var n of ih(e))t.indexOf(n)<0&&sh.call(e,n)&&(r[n]=e[n]);return r})(r,["name","form","className","value","defaultValue","variant","spacing","size","classNames","styles","unstyled","sx","length","onChange","onComplete","manageFocus","autoFocus","error","radius","disabled","oneTimeCode","placeholder","type","mask","aria-label","readOnly","inputType","inputMode"]),A=(0,D.M)(n),{classes:T,cx:$}=rh(null,{name:"PinInput",classNames:f,styles:m,unstyled:b,variant:u,size:p}),[M,F]=(0,c.useState)(-1),[B,W]=(0,R.C)({value:i,defaultValue:l,finalValue:"",onChange:h}),H=(0,c.useRef)([]),G=e=>{const t=C instanceof RegExp?C:C in ph?ph[C]:null;return null==t?void 0:t.test(e)},V=(e,t)=>{if(w){if("next"===e){const e=t+1;H.current[e<g?e:t].focus()}if("prev"===e){const e=t-1;H.current[e>-1?e:t].focus()}}},Y=(e,t)=>{const r=[...eh(g,B)];r[t]=e,W(r.join(""))},Z=()=>{F(-1)},K=e=>{e.preventDefault();const t=e.clipboardData.getData("Text");G(t)&&W(t)};return(0,c.useEffect)((()=>{B.length===g&&(null==v||v(B))}),[B]),c.createElement(c.Fragment,null,c.createElement(Op.Z,uh({role:"group",spacing:d,ref:t,className:$(T.root,a),sx:y,unstyled:b,id:A,noWrap:!0},_),eh(g,B).map(((e,t)=>c.createElement(la.I,{__staticSelector:"PinInput",id:`${A}-${t+1}`,key:`${A}-${t}`,inputMode:L||("number"===C?"numeric":"text"),onChange:e=>((e,t)=>{const r=e.target.value,n=2===r.length?r.split("")[r.length-1]:r,o=G(n);n.length<2?o?(Y(n,t),V("next",t)):Y("",t):o&&W(r)})(e,t),onKeyDown:e=>((e,t)=>{"ArrowLeft"===e.key?(e.preventDefault(),V("prev",t)):"ArrowRight"===e.key?(e.preventDefault(),V("next",t)):"Delete"===e.key?(e.preventDefault(),Y("",t)):"Backspace"===e.key&&(e.preventDefault(),Y("",t),g===t+1?""===e.target.value&&V("prev",t):V("prev",t))})(e,t),onFocus:e=>((e,t)=>{e.target.select(),F(t)})(e,t),onBlur:Z,onPaste:K,type:I||(j?"password":"number"===C?"tel":"text"),radius:k,error:x,variant:u,size:p,disabled:S,ref:e=>{H.current[t]=e},autoComplete:P?"one-time-code":"off",placeholder:M===t?"":E,value:e,autoFocus:O&&0===t,classNames:dh(uh({},f),{input:$(T.input,null==f?void 0:f.input)}),styles:m,unstyled:b,"aria-label":N,readOnly:z})))),c.createElement("input",{type:"hidden",name:n,form:o,value:B}))}));mh.displayName="@mantine/core/PinInput";var bh=r(40254),yh=r(3941),gh=Object.defineProperty,hh=Object.getOwnPropertySymbols,vh=Object.prototype.hasOwnProperty,wh=Object.prototype.propertyIsEnumerable,Oh=(e,t,r)=>t in e?gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xh=(e,t)=>{for(var r in t||(t={}))vh.call(t,r)&&Oh(e,r,t[r]);if(hh)for(var r of hh(t))wh.call(t,r)&&Oh(e,r,t[r]);return e},kh=(e,t)=>{var r={};for(var n in e)vh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&hh)for(var n of hh(e))t.indexOf(n)<0&&wh.call(e,n)&&(r[n]=e[n]);return r};const Sh=(0,c.createContext)(null),Ph=Sh.Provider;var Eh=Object.defineProperty,Ch=Object.getOwnPropertySymbols,jh=Object.prototype.hasOwnProperty,Nh=Object.prototype.propertyIsEnumerable,zh=(e,t,r)=>t in e?Eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ih=(e,t)=>{for(var r in t||(t={}))jh.call(t,r)&&zh(e,r,t[r]);if(Ch)for(var r of Ch(t))Nh.call(t,r)&&zh(e,r,t[r]);return e};const Dh={size:"sm"},Rh=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("RadioGroup",Dh,e),{children:n,value:o,defaultValue:a,onChange:i,size:l,wrapperProps:u,unstyled:d,name:p}=r,f=((e,t)=>{var r={};
1for(var n in e)jh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ch)for(var n of Ch(e))t.indexOf(n)<0&&Nh.call(e,n)&&(r[n]=e[n]);return r})(r,["children","value","defaultValue","onChange","size","wrapperProps","unstyled","name"]),m=(0,D.M)(p),[b,y]=(0,R.C)({value:o,defaultValue:a,finalValue:"",onChange:i});return c.createElement(Ph,{value:{value:b,onChange:e=>y(e.currentTarget.value),size:l,name:m}},c.createElement(la.I.Wrapper,Ih(Ih({labelElement:"div",size:l,__staticSelector:"RadioGroup",ref:t,unstyled:d},u),f),n))}));Rh.displayName="@mantine/core/RadioGroup";var Lh=Object.defineProperty,_h=Object.defineProperties,Ah=Object.getOwnPropertyDescriptors,Th=Object.getOwnPropertySymbols,$h=Object.prototype.hasOwnProperty,Mh=Object.prototype.propertyIsEnumerable,Fh=(e,t,r)=>t in e?Lh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Bh=(e,t)=>{for(var r in t||(t={}))$h.call(t,r)&&Fh(e,r,t[r]);if(Th)for(var r of Th(t))Mh.call(t,r)&&Fh(e,r,t[r]);return e},Wh=(e,t)=>_h(e,Ah(t));const Hh={xs:(0,h.h)(16),sm:(0,h.h)(20),md:(0,h.h)(24),lg:(0,h.h)(30),xl:(0,h.h)(36)},Gh={xs:(0,h.h)(6),sm:(0,h.h)(8),md:(0,h.h)(10),lg:(0,h.h)(14),xl:(0,h.h)(16)};var Vh=(0,x.k)(((e,{color:t,transitionDuration:r,labelPosition:n,error:o},{size:a})=>{const i=e.fn.variant({variant:"filled",color:t}),l=e.fn.variant({variant:"filled",color:"red"}).background;return{inner:{order:"left"===n?2:1,position:"relative",alignSelf:"flex-start"},icon:{ref:(0,k.A)("icon"),color:e.white,opacity:0,transform:`scale(0.75) translateY(${(0,h.h)(2)})`,transition:`opacity ${r}ms ${e.transitionTimingFunction}`,pointerEvents:"none",width:(0,w.a)({sizes:Gh,size:a}),height:(0,w.a)({sizes:Gh,size:a}),position:"absolute",top:`calc(50% - ${(0,w.a)({sizes:Gh,size:a})} / 2)`,left:`calc(50% - ${(0,w.a)({sizes:Gh,size:a})} / 2)`},radio:Wh(Bh({},e.fn.focusStyles()),{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:`${(0,h.h)(1)} solid ${o?l:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,position:"relative",appearance:"none",width:(0,w.a)({sizes:Hh,size:a}),height:(0,w.a)({sizes:Hh,size:a}),borderRadius:(0,w.a)({sizes:Hh,size:a}),margin:0,display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"background-color, border-color",transitionTimingFunction:e.transitionTimingFunction,transitionDuration:`${r}ms`,cursor:e.cursorType,"&:checked":{background:i.background,borderColor:i.background,[`& + .${(0,k.A)("icon")}`]:{opacity:1,transform:"scale(1)"}},"&:disabled":{borderColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[4],backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],[`& + .${(0,k.A)("icon")}`]:{color:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[4]}}})}})),Yh=r(4846),Zh=Object.defineProperty,Kh=Object.getOwnPropertySymbols,Uh=Object.prototype.hasOwnProperty,qh=Object.prototype.propertyIsEnumerable,Xh=(e,t,r)=>t in e?Zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Jh=(e,t)=>{for(var r in t||(t={}))Uh.call(t,r)&&Xh(e,r,t[r]);if(Kh)for(var r of Kh(t))qh.call(t,r)&&Xh(e,r,t[r]);return e};const Qh={icon:function(e){const t=e,{width:r,height:n,style:o}=t,a=kh(t,["width","height","style"]);return c.createElement("svg",xh({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 5 5",style:xh({width:r,height:n},o)},a),c.createElement("path",{fill:"currentColor",d:"M0 2.5a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0z"}))},transitionDuration:100,size:"sm",labelPosition:"right"},ev=(0,c.forwardRef)(((e,t)=>{var r,n;const o=(0,s.N4)("Radio",Qh,e),{className:a,style:i,id:l,label:u,size:d,title:p,disabled:f,color:m,classNames:b,styles:y,sx:g,icon:h,transitionDuration:v,wrapperProps:w,unstyled:O,labelPosition:x,description:k,error:S,variant:P}=o,E=((e,t)=>{var r={};for(var n in e)Uh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Kh)for(var n of Kh(e))t.indexOf(n)<0&&qh.call(e,n)&&(r[n]=e[n]);return r})(o,["className","style","id","label","size","title","disabled","color","classNames","styles","sx","icon","transitionDuration","wrapperProps","unstyled","labelPosition","description","error","variant"]),C=(0,c.useContext)(Sh),j=null!=(r=null==C?void 0:C.size)?r:d,N=e.size?d:j,{classes:z}=Vh({color:m,transitionDuration:v,labelPosition:x,error:!!S},{name:"Radio",classNames:b,styles:y,unstyled:O,variant:P,size:N}),{systemStyles:I,rest:R}=(0,Nl.x)(E),L=(0,D.M)(l),_=C?{checked:C.value===R.value,name:null!=(n=R.name)?n:C.name,onChange:C.onChange}:{};
1return c.createElement(Yh.Z,Jh(Jh({className:a,sx:g,style:i,id:L,size:N,labelPosition:x,label:u,description:k,error:S,disabled:f,__staticSelector:"Radio",classNames:b,styles:y,unstyled:O,"data-checked":_.checked||void 0,variant:P},I),w),c.createElement("div",{className:z.inner},c.createElement("input",Jh(Jh({ref:t,className:z.radio,type:"radio",id:L,disabled:f},R),_)),c.createElement(h,{className:z.icon,"aria-hidden":!0})))}));ev.displayName="@mantine/core/Radio",ev.Group=Rh;var tv=Object.defineProperty,rv=Object.getOwnPropertySymbols,nv=Object.prototype.hasOwnProperty,ov=Object.prototype.propertyIsEnumerable,av=(e,t,r)=>t in e?tv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,iv=(e,t)=>{for(var r in t||(t={}))nv.call(t,r)&&av(e,r,t[r]);if(rv)for(var r of rv(t))ov.call(t,r)&&av(e,r,t[r]);return e},lv=(e,t)=>{var r={};for(var n in e)nv.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&rv)for(var n of rv(e))t.indexOf(n)<0&&ov.call(e,n)&&(r[n]=e[n]);return r};function sv(e){const t=e,{width:r,height:n,style:o}=t,a=lv(t,["width","height","style"]);return c.createElement("svg",iv({viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:iv({width:r,height:n},o)},a),c.createElement("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"}))}sv.displayName="@mantine/core/StarIcon";const cv={xs:(0,h.h)(14),sm:(0,h.h)(18),md:(0,h.h)(20),lg:(0,h.h)(28),xl:(0,h.h)(32)};var uv=(0,x.k)(((e,{type:t,color:r},{size:n})=>{const o="light"===e.colorScheme?e.colors.gray[3]:e.colors.gray[8],a=e.fn.variant({variant:"filled",color:r,primaryFallback:!1}).background;return{icon:{stroke:"empty"===t?o:a,fill:"empty"===t?o:a,width:(0,w.a)({size:n,sizes:cv}),height:(0,w.a)({size:n,sizes:cv})}}}));function dv({size:e,type:t,color:r}){const{classes:n}=uv({type:t,color:r},{name:"Rating",size:e});return c.createElement(sv,{className:n.icon})}dv.displayName="@mantine/core/StarSymbol";var pv=(0,x.k)((e=>({input:{height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0,"&:focus":{[`& + .${(0,k.A)("label")}`]:{outline:"always"===e.focusRing||"auto"===e.focusRing?`${(0,h.h)(1)} solid ${e.colors[e.primaryColor]["dark"===e.colorScheme?7:5]}`:void 0},"&:focus:not(:focus-visible)":{[`& + .${(0,k.A)("label")}`]:{outline:"auto"===e.focusRing||"never"===e.focusRing?"none":void 0}}}},label:{ref:(0,k.A)("label"),display:"block",boxSizing:"border-box",margin:(0,h.h)(1),top:0,left:0,cursor:"pointer",position:"absolute",zIndex:0,"&[data-read-only]":{cursor:"default"},"&:last-of-type":{position:"relative",zIndex:0}},symbolBody:{display:"grid",placeContent:"center",placeItems:"center"}}))),fv=Object.defineProperty,mv=Object.getOwnPropertySymbols,bv=Object.prototype.hasOwnProperty,yv=Object.prototype.propertyIsEnumerable,gv=(e,t,r)=>t in e?fv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hv=(e,t)=>{for(var r in t||(t={}))bv.call(t,r)&&gv(e,r,t[r]);if(mv)for(var r of mv(t))yv.call(t,r)&&gv(e,r,t[r]);return e},vv=(e,t)=>{var r={};for(var n in e)bv.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&mv)for(var n of mv(e))t.indexOf(n)<0&&yv.call(e,n)&&(r[n]=e[n]);return r};function wv(e){var t=e,{size:r,getSymbolLabel:n,emptyIcon:o,fullIcon:a,full:i,active:l,value:s,readOnly:u,fractionValue:d,classNames:p,styles:f,unstyled:m,color:b,id:y,variant:g,onChange:h}=t,v=vv(t,["size","getSymbolLabel","emptyIcon","fullIcon","full","active","value","readOnly","fractionValue","classNames","styles","unstyled","color","id","variant","onChange"]);const{classes:w}=pv(null,{name:"Rating",classNames:p,styles:f,unstyled:m,size:r,variant:g}),O="function"==typeof a?a(s):a,x="function"==typeof o?o(s):o;return c.createElement(c.Fragment,null,!u&&c.createElement("input",hv({onKeyDown:e=>" "===e.key&&h(s),className:w.input,id:y,type:"radio","data-active":l,"aria-label":n(s),value:s,onChange:h},v)),c.createElement(H.x,{component:u?"div":"label",className:w.label,"data-read-only":u||void 0,htmlFor:y,sx:1===d?void 0:{zIndex:l?2:0},onClick:()=>h(s)},c.createElement(H.x,{className:w.symbolBody,sx:1===d?void 0:{clipPath:`inset(0 ${l?100-100*d:100}% 0 0)`}},i?O||c.createElement(dv,{color:b,size:r,type:"full"}):x||c.createElement(dv,{color:b,size:r,type:"empty"}))))}wv.displayName="@mantine/core/RatingItem";var Ov=(0,x.k)((()=>({root:{display:"flex",width:"max-content","&:has(input:disabled)":{pointerEvents:"none",cursor:"not-allowed"}},symbolGroup:{position:"relative",transition:"transform 100ms ease",'&[data-active="true"]':{zIndex:1,transform:"scale(1.2)"}}}))),xv=Object.defineProperty,kv=Object.getOwnPropertySymbols,Sv=Object.prototype.hasOwnProperty,Pv=Object.prototype.propertyIsEnumerable,Ev=(e,t,r)=>t in e?xv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;function Cv(e,t){var r;const n=Math.round(e/t)*t,o=(null==(r=`${t}`.split(".")[1])?void 0:r.length)||0;return Number(n.toFixed(o))}const jv={size:"sm",getSymbolLabel:e=>`${e}`,count:5,fractions:1,color:"yellow"},Nv=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Rating",jv,e),{defaultValue:n,value:o,emptySymbol:a,fullSymbol:i,size:l,count:u,fractions:d,onChange:p,onHover:f,getSymbolLabel:m,name:b,readOnly:y,className:g,classNames:h,styles:v,unstyled:w,onMouseEnter:O,onMouseMove:x,onMouseLeave:k,highlightSelectedOnly:S,color:P,id:E,variant:C}=r,j=((e,t)=>{var r={};for(var n in e)Sv.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&kv)for(var n of kv(e))t.indexOf(n)<0&&Pv.call(e,n)&&(r[n]=e[n]);return r})(r,["defaultValue","value","emptySymbol","fullSymbol","size","count","fractions","onChange","onHover","getSymbolLabel","name","readOnly","className","classNames","styles","unstyled","onMouseEnter","onMouseMove","onMouseLeave","highlightSelectedOnly","color","id","variant"]),{classes:N,cx:z,theme:I}=Ov(null,{name:"Rating",classNames:h,styles:v,unstyled:w,variant:C,size:l}),L=(0,D.M)(b),_=(0,D.M)(E),A=(0,c.useRef)(null),[T,$]=(0,R.C)({value:o,defaultValue:n,finalValue:0,onChange:p}),[M,F]=(0,c.useState)(-1),[B,W]=(0,c.useState)(!0),G=Math.floor(d),V=Math.floor(u),Y=1/G,Z=Cv(T,Y),K=-1!==M?M:Z,U=()=>B&&F(-1),q=e=>{y||$("number"==typeof e?e:parseFloat(e.target.value))},X=Array(V).fill(0).map(((e,t)=>{const r=t+1,n=Array.from(new Array(0===t?G+1:G)),o=!y&&Math.ceil(M)===r;return c.createElement("div",{key:r,"data-active":o,className:N.symbolGroup},n.map(((e,n)=>{const o=Y*(0===t?n:n+1),s=Cv(r-1+o,Y);return c.createElement(wv,{key:`${r}-${s}`,size:l,variant:C,getSymbolLabel:m,emptyIcon:a,fullIcon:i,full:S?s===K:s<=K,active:s===K,checked:s===Z,readOnly:y,fractionValue:o,value:s,name:L,onChange:q,onBlur:U,classNames:h,styles:v,unstyled:w,color:P,id:`${_}-${t}-${n}`})})))}));return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Sv.call(t,r)&&Ev(e,r,t[r]);if(kv)for(var r of kv(t))Pv.call(t,r)&&Ev(e,r,t[r]);return e})({ref:(0,Jn.Y)(A,t),className:z(N.root,g),onMouseMove:e=>{if(null==x||x(e),y)return;const{left:t,right:r,width:n}=A.current.getBoundingClientRect(),o=n/V,a=("rtl"===I.dir?r-e.clientX:e.clientX-t)/o,i=(0,dg.u)(Cv(a+Y/2,Y),Y,V);F(i),i!==M&&(null==f||f(i))},onMouseEnter:e=>{null==O||O(e),!y&&W(!1)},onMouseLeave:e=>{null==k||k(e),y||(F(-1),W(!0),-1!==M&&(null==f||f(-1)))}},j),X)}));Nv.displayName="@mantine/core/Rating";var zv=r(88393),Iv=Object.defineProperty,Dv=Object.defineProperties,Rv=Object.getOwnPropertyDescriptors,Lv=Object.getOwnPropertySymbols,_v=Object.prototype.hasOwnProperty,Av=Object.prototype.propertyIsEnumerable,Tv=(e,t,r)=>t in e?Iv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$v=(e,t)=>
1{for(var r in t||(t={}))_v.call(t,r)&&Tv(e,r,t[r]);if(Lv)for(var r of Lv(t))Av.call(t,r)&&Tv(e,r,t[r]);return e},Mv=(e,t)=>Dv(e,Rv(t)),Fv=(e,t)=>{var r={};for(var n in e)_v.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Lv)for(var n of Lv(e))t.indexOf(n)<0&&Av.call(e,n)&&(r[n]=e[n]);return r};function Bv(e){var t=e,{size:r,value:n,offset:o,sum:a,thickness:i,root:l,color:u,lineRoundCaps:d,tooltip:p}=t,f=Fv(t,["size","value","offset","sum","thickness","root","color","lineRoundCaps","tooltip"]);const m=(0,s.rZ)(),b=m.fn.themeColor(u||("dark"===m.colorScheme?"dark":"gray"),u?m.fn.primaryShade():"dark"===m.colorScheme?4:1,!1);return c.createElement(zv.u.Floating,{disabled:!p,label:p},c.createElement("circle",$v(Mv($v({},f),{fill:"none",strokeLinecap:d?"round":"butt",stroke:b}),function({size:e,thickness:t,sum:r,value:n,root:o,offset:a}){const i=(.9*e-2*t)/2,l=Math.PI*i*2/100;return{strokeWidth:t,cx:e/2,cy:e/2,r:i,transform:o?`scale(1, -1) translate(0, -${e})`:null,strokeDasharray:o?`${(100-r)*l}, ${r*l}`:`${n*l}, ${(100-n)*l}`,strokeDashoffset:o?0:a}}({sum:a,size:r,thickness:i,value:n,offset:o,root:l}))))}Bv.displayName="@mantine/core/Curve";var Wv=Object.defineProperty,Hv=Object.defineProperties,Gv=Object.getOwnPropertyDescriptors,Vv=Object.getOwnPropertySymbols,Yv=Object.prototype.hasOwnProperty,Zv=Object.prototype.propertyIsEnumerable,Kv=(e,t,r)=>t in e?Wv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Uv=(e,t)=>{for(var r in t||(t={}))Yv.call(t,r)&&Kv(e,r,t[r]);if(Vv)for(var r of Vv(t))Zv.call(t,r)&&Kv(e,r,t[r]);return e},qv=(e,t)=>Hv(e,Gv(t));var Xv=(0,x.k)({root:{position:"relative"},label:{position:"absolute",top:"50%",transform:"translateY(-50%)"}}),Jv=Object.defineProperty,Qv=Object.defineProperties,ew=Object.getOwnPropertyDescriptors,tw=Object.getOwnPropertySymbols,rw=Object.prototype.hasOwnProperty,nw=Object.prototype.propertyIsEnumerable,ow=(e,t,r)=>t in e?Jv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,aw=(e,t)=>{for(var r in t||(t={}))rw.call(t,r)&&ow(e,r,t[r]);if(tw)for(var r of tw(t))nw.call(t,r)&&ow(e,r,t[r]);return e};const iw={size:120,thickness:12},lw=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("RingProgress",iw,e),{className:n,style:o,label:a,sections:i,size:l,thickness:u,classNames:d,styles:p,roundCaps:f,rootColor:m,unstyled:b,variant:y}=r,g=((e,t)=>{var r={};for(var n in e)rw.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&tw)for(var n of tw(e))t.indexOf(n)<0&&nw.call(e,n)&&(r[n]=e[n]);return r})(r,["className","style","label","sections","size","thickness","classNames","styles","roundCaps","rootColor","unstyled","variant"]),{classes:h,cx:v}=Xv(null,{name:"RingProgress",classNames:d,styles:p,unstyled:b,variant:y}),w=function({size:e,thickness:t,sections:r,renderRoundedLineCaps:n,rootColor:o}){const a=r.reduce(((e,t)=>e+t.value),0),i=Math.PI*((.9*e-2*t)/2)*2;let l=i;const s=[],c=[];for(let e=0;e<r.length;e+=1)s.push({sum:a,offset:l,data:r[e],root:!1}),l-=r[e].value/100*i;if(s.push({sum:a,offset:l,data:{color:o},root:!0}),c.push(qv(Uv({},s[s.length-1]),{lineRoundCaps:!1})),s.length>2){c.push(qv(Uv({},s[0]),{lineRoundCaps:n})),c.push(qv(Uv({},s[s.length-2]),{lineRoundCaps:n}));for(let e=1;e<=s.length-3;e+=1)c.push(qv(Uv({},s[e]),{lineRoundCaps:!1}))}else c.push(qv(Uv({},s[0]),{lineRoundCaps:n}));return c}({size:l,thickness:u,sections:i,renderRoundedLineCaps:f,rootColor:m}).map((({data:e,sum:t,root:r,lineRoundCaps:n,offset:o},a)=>c.createElement(Bv,((e,t)=>Qv(e,ew(t)))(aw({},e),{key:a,size:l,thickness:u,sum:t,offset:o,color:null==e?void 0:e.color,root:r,lineRoundCaps:n}))));return c.createElement(H.x,aw({style:aw({width:l,height:l},o),className:v(h.root,n),ref:t},g),c.createElement("svg",{style:{width:l,height:l,transform:"rotate(-90deg)"}},w),a&&c.createElement("div",{className:h.label,style:{right:2*u,left:2*u}},a))}));lw.displayName="@mantine/core/RingProgress";var sw=r(73678),cw=r(12185),uw=r(10129),dw=Object.defineProperty,pw=Object.defineProperties,fw=Object.getOwnPropertyDescriptors,mw=Object.getOwnPropertySymbols,bw=Object.prototype.hasOwnProperty,yw=Object.prototype.propertyIsEnumerable,gw=(e,t,r)=>t in e?dw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hw=(e,t)=>{for(var r in t||(t={}))bw.call(t,r)&&gw(e,r,t[r]);if(mw)for(var r of mw(t))yw.call(t,r)&&gw(e,r,t[r]);return e},vw=(e,t)=>pw(e,fw(t));const ww={xs:`${(0,h.h)(3)} ${(0,h.h)(6)}`,sm:`${(0,h.h)(5)} ${(0,h.h)(10)}`,md:`${(0,h.h)(7)} ${(0,h.h)(14)}`,lg:`${(0,h.h)(9)} ${(0,h.h)(16)}`,xl:`${(0,h.h)(12)} ${(0,h.h)(20)}`};var Ow=(0,x.k)(((e,{fullWidth:t,color:r,radius:n,shouldAnimate:o,transitionDuration:a,transitionTimingFunction:i,orientation:l},{size:s})=>{const c="vertical"===l,u=e.fn.variant({variant:"filled",color:r});return{label:vw(hw(hw({ref:(0,k.A)("label")},e.fn.focusStyles()),e.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",borderRadius:e.fn.radius(n),fontWeight:500,fontSize:s in e.fontSizes?e.fontSizes[s]:e.fontSizes.sm,curs
1or:"pointer",display:"block",textAlign:"center",padding:ww[s in ww?s:"sm"],whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",userSelect:"none",color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[7],transition:`color ${o?0:a}ms ${i||e.transitionTimingFunction}`,"&:hover":{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black},"&[data-disabled]":{"&, &:hover":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"}},"&[data-active]":{"&, &:hover":{color:r||"dark"===e.colorScheme?e.white:e.black}}}),control:{ref:(0,k.A)("control"),position:"relative",boxSizing:"border-box",flex:1,zIndex:2,transition:`border-left-color ${o?0:a}ms ${i||e.transitionTimingFunction}`,"&:not(:first-of-type)":{borderStyle:"solid",borderWidth:c?`${(0,h.h)(1)} 0 0 0`:`0 0 0 ${(0,h.h)(1)}`,borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}},input:{height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0,"&:focus":{outline:"none",[`& + .${(0,k.A)("label")}`]:hw({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),"&:focus:not(:focus-visible)":{[`& + .${(0,k.A)("label")}`]:hw({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)}},"&:disabled + label":{"&, &:hover":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"}}},root:{position:"relative",display:t||c?"flex":"inline-flex",width:c&&!t?"max-content":"auto",flexDirection:c?"column":"row",backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[1],borderRadius:e.fn.radius(n),overflow:"hidden",padding:4},controlActive:{borderLeftColor:"transparent !important",borderTopColor:"transparent !important",[`& + .${(0,k.A)("control")}`]:{[c?"borderTopColor":"borderLeftColor"]:"transparent !important"},borderRadius:e.fn.radius(n),boxShadow:o?r||"dark"===e.colorScheme?"none":e.shadows.xs:void 0,backgroundColor:o?r?u.background:"dark"===e.colorScheme?e.colors.dark[5]:e.white:void 0},indicator:{boxSizing:"border-box",borderRadius:e.fn.radius(n),position:"absolute",zIndex:1,boxShadow:r||"dark"===e.colorScheme?"none":e.shadows.xs,transition:`transform ${o?0:a}ms ${e.transitionTimingFunction}, width ${o?0:a/2}ms ${i||e.transitionTimingFunction}`,backgroundColor:r?u.background:"dark"===e.colorScheme?e.colors.dark[5]:e.white}}})),xw=Object.defineProperty,kw=Object.getOwnPropertySymbols,Sw=Object.prototype.hasOwnProperty,Pw=Object.prototype.propertyIsEnumerable,Ew=(e,t,r)=>t in e?xw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Cw={disabled:!1,size:"sm",transitionDuration:200},jw=(0,c.forwardRef)(((e,t)=>{var r,n,o,a;const i=(0,s.N4)("SegmentedControl",Cw,e),{className:l,disabled:u,data:d,name:p,value:f,onChange:m,color:b,fullWidth:y,radius:g,size:h,transitionDuration:v,transitionTimingFunction:w,classNames:O,styles:x,defaultValue:k,orientation:S,unstyled:P,variant:E,readOnly:C}=i,j=((e,t)=>{var r={};for(var n in e)Sw.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&kw)for(var n of kw(e))t.indexOf(n)<0&&Pw.call(e,n)&&(r[n]=e[n]);return r})(i,["className","disabled","data","name","value","onChange","color","fullWidth","radius","size","transitionDuration","transitionTimingFunction","classNames","styles","defaultValue","orientation","unstyled","variant","readOnly"]),N=(0,s.rZ)(),z=(0,sw.J)(),I=!!N.respectReducedMotion&&z,L=d.map((e=>"string"==typeof e?{label:e,value:e}:e)),_=(0,c.useRef)(),[A,T]=(0,c.useState)(!1),[$,M]=(0,R.C)({value:f,defaultValue:k,finalValue:Array.isArray(L)&&null!=(a=null!=(o=null==(r=L.find((e=>!e.disabled)))?void 0:r.value)?o:null==(n=L[0])?void 0:n.value)?a:null,onChange:m}),{classes:F,cx:B}=Ow({fullWidth:y,color:b,radius:g,shouldAnimate:I||!A,transitionDuration:v,transitionTimingFunction:w,orientation:S},{name:"SegmentedControl",classNames:O,styles:x,unstyled:P,variant:E,size:h}),[W,G]=(0,c.useState)({width:0,height:0,translate:[0,0]}),V=(0,D.M)(p),Y=(0,c.useRef)({}),[Z,K]=(0,cw.y)();(0,uw.Y)((()=>{_.current?T(!0):(_.current=!0,T(!1))})),(0,c.useEffect)((()=>
1{if($ in Y.current&&Z.current){const e=Y.current[$],t=e.getBoundingClientRect(),r=e.offsetWidth/t.width,n=t.width*r||0,o=t.height*r||0,a=K.width-e.parentElement.offsetLeft+4-n,i=e.parentElement.offsetLeft-4;G({width:n,height:o,translate:["rtl"===N.dir?a:i,e.parentElement.offsetTop-4]})}}),[$,K]);const U=L.map((e=>c.createElement("div",{className:B(F.control,{[F.controlActive]:$===e.value}),key:e.value},c.createElement("input",{className:F.input,disabled:u||e.disabled,type:"radio",name:V,value:e.value,id:`${V}-${e.value}`,checked:$===e.value,onChange:()=>!C&&M(e.value)}),c.createElement("label",{className:F.label,"data-active":$===e.value&&!(u||e.disabled)||void 0,"data-disabled":u||e.disabled||void 0,htmlFor:`${V}-${e.value}`,ref:t=>{Y.current[e.value]=t}},e.label)))),q=(0,Jn.Y)(Z,t);return 0===L.length?null:c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Sw.call(t,r)&&Ew(e,r,t[r]);if(kw)for(var r of kw(t))Pw.call(t,r)&&Ew(e,r,t[r]);return e})({className:B(F.root,l),ref:q},j),"string"==typeof $&&A&&c.createElement(H.x,{component:"span",className:F.indicator,sx:{width:W.width,height:W.height,transform:`translate(${W.translate[0]}px, ${W.translate[1]}px)`}}),U)}));jw.displayName="@mantine/core/SegmentedControl";var Nw=(0,x.k)((()=>({input:{"&:not(:disabled)":{cursor:"pointer","&::selection":{backgroundColor:"transparent"}}}}))),zw=Object.defineProperty,Iw=Object.defineProperties,Dw=Object.getOwnPropertyDescriptors,Rw=Object.getOwnPropertySymbols,Lw=Object.prototype.hasOwnProperty,_w=Object.prototype.propertyIsEnumerable,Aw=(e,t,r)=>t in e?zw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Tw=(e,t)=>{for(var r in t||(t={}))Lw.call(t,r)&&Aw(e,r,t[r]);if(Rw)for(var r of Rw(t))_w.call(t,r)&&Aw(e,r,t[r]);return e},$w=(e,t)=>Iw(e,Dw(t));const Mw={required:!1,size:"sm",shadow:"sm",itemComponent:To,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:function(e,t){return t.label.toLowerCase().trim().includes(e.toLowerCase().trim())},maxDropdownHeight:220,searchable:!1,clearable:!1,limit:1/0,disabled:!1,creatable:!1,shouldCreate:function(e,t){return!!e&&!t.some((t=>t.label.toLowerCase()===e.toLowerCase()))},selectOnBlur:!1,switchDirectionOnFlip:!1,filterDataOnExactSearchMatch:!1,zIndex:(0,y.w)("popover"),positionDependencies:[],dropdownPosition:"flip"},Fw=(0,c.forwardRef)(((e,t)=>{const r=(0,ia.k)("Select",Mw,e),{inputProps:n,wrapperProps:o,shadow:a,data:i,value:l,defaultValue:s,onChange:u,itemComponent:d,onKeyDown:p,onBlur:f,onFocus:m,transitionProps:b,initiallyOpened:y,unstyled:g,classNames:h,styles:v,filter:w,maxDropdownHeight:O,searchable:x,clearable:k,nothingFound:S,limit:P,disabled:E,onSearchChange:C,searchValue:j,rightSection:N,rightSectionWidth:z,creatable:I,getCreateLabel:D,shouldCreate:L,selectOnBlur:_,onCreate:A,dropdownComponent:T,onDropdownClose:$,onDropdownOpen:M,withinPortal:F,portalProps:B,switchDirectionOnFlip:W,zIndex:H,name:G,dropdownPosition:V,allowDeselect:Y,placeholder:Z,filterDataOnExactSearchMatch:K,form:U,positionDependencies:q,readOnly:X,clearButtonProps:J,hoverOnSearchChange:Q}=r,ee=((e,t)=>{var r={};for(var n in e)Lw.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Rw)for(var n of Rw(e))t.indexOf(n)<0&&_w.call(e,n)&&(r[n]=e[n]);return r})(r,["inputProps","wrapperProps","shadow","data","value","defaultValue","onChange","itemComponent","onKeyDown","onBlur","onFocus","transitionProps","initiallyOpened","unstyled","classNames","styles","filter","maxDropdownHeight","searchable","clearable","nothingFound","limit","disabled","onSearchChange","searchValue","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","selectOnBlur","onCreate","dropdownComponent","onDropdownClose","onDropdownOpen","withinPortal","portalProps","switchDirectionOnFlip","zIndex","name","dropdownPosition","allowDeselect","placeholder","filterDataOnExactSearchMatch","form","positionDependencies","readOnly","clearButtonProps","hoverOnSearchChange"]),{classes:te,cx:re,theme:ne}=Nw(),[oe,ae]=(0,c.useState)(y),[ie,le]=(0,c.useState)(-1),se=(0,c.useRef)(),ce=(0,c.useRef)({}),[ue,de]=(0,c.useState)("column"),pe="column"===ue,{scrollIntoView:fe,targetRef
1:me,scrollableRef:be}=(0,xb.g)({duration:0,offset:5,cancelable:!1,isList:!0}),ye=void 0===Y?k:Y,ge=e=>{if(oe!==e){ae(e);const t=e?M:$;"function"==typeof t&&t()}},he=I&&"function"==typeof D;let ve=null;const we=Qn({data:i.map((e=>"string"==typeof e?{label:e,value:e}:e))}),[Oe,xe,ke]=(0,R.C)({value:l,defaultValue:s,finalValue:null,onChange:u}),Se=we.find((e=>e.value===Oe)),[Pe,Ee]=(0,R.C)({value:j,defaultValue:(null==Se?void 0:Se.label)||"",finalValue:void 0,onChange:C}),Ce=e=>{Ee(e),x&&"function"==typeof C&&C(e)};(0,c.useEffect)((()=>{const e=we.find((e=>e.value===Oe));e?Ce(e.label):he&&Oe||Ce("")}),[Oe]),(0,c.useEffect)((()=>{!Se||x&&oe||Ce(Se.label)}),[null==Se?void 0:Se.label]);const je=e=>{if(!X)if(ye&&(null==Se?void 0:Se.value)===e.value)xe(null),ge(!1);else{if(e.creatable&&"function"==typeof A){const t=A(e.value);null!=t&&xe("string"==typeof t?t:t.value)}else xe(e.value);ke||Ce(e.label),le(-1),ge(!1),se.current.focus()}},Ne=function({data:e,searchable:t,limit:r,searchValue:n,filter:o,value:a,filterDataOnExactSearchMatch:i}){if(!t)return e;const l=null!=a&&e.find((e=>e.value===a))||null;if(l&&!i&&(null==l?void 0:l.label)===n){if(r){if(r>=e.length)return e;const t=e.indexOf(l),n=t+r,o=n-e.length;return o>0?e.slice(t-o):e.slice(t,n)}return e}const s=[];for(let t=0;t<e.length&&(o(n,e[t])&&s.push(e[t]),!(s.length>=r));t+=1);return s}({data:we,searchable:x,limit:P,searchValue:Pe,filter:w,filterDataOnExactSearchMatch:K,value:Oe});he&&L(Pe,Ne)&&(ve=D(Pe),Ne.push({label:Pe,value:Pe,creatable:!0}));const ze=(e,t,r)=>{let n=e;for(;r(n);)if(n=t(n),!Ne[n].disabled)return n;return e};(0,Xn.l)((()=>{le(Q&&Pe?0:-1)}),[Pe,Q]);const Ie=Oe?Ne.findIndex((e=>e.value===Oe)):0,De=!X&&(Ne.length>0?oe:oe&&!!S),Re=()=>{le((e=>{var t;const r=ze(e,(e=>e-1),(e=>e>0));return me.current=ce.current[null==(t=Ne[r])?void 0:t.value],De&&fe({alignment:pe?"start":"end"}),r}))},Le=()=>{le((e=>{var t;const r=ze(e,(e=>e+1),(e=>e<Ne.length-1));return me.current=ce.current[null==(t=Ne[r])?void 0:t.value],De&&fe({alignment:pe?"end":"start"}),r}))},_e=()=>window.setTimeout((()=>{var e;me.current=ce.current[null==(e=Ne[Ie])?void 0:e.value],fe({alignment:pe?"end":"start"})}),50);(0,Xn.l)((()=>{De&&_e()}),[De]);return c.createElement(la.I.Wrapper,$w(Tw({},o),{__staticSelector:"Select"}),c.createElement(na,{opened:De,transitionProps:b,shadow:a,withinPortal:F,portalProps:B,__staticSelector:"Select",onDirectionChange:de,switchDirectionOnFlip:W,zIndex:H,dropdownPosition:V,positionDependencies:[...q,Pe],classNames:h,styles:v,unstyled:g,variant:n.variant},c.createElement(na.Target,null,c.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-owns":De?`${n.id}-items`:null,"aria-controls":n.id,"aria-expanded":De,onMouseLeave:()=>le(-1),tabIndex:-1},c.createElement("input",{type:"hidden",name:G,value:Oe||"",form:U,disabled:E}),c.createElement(la.I,Tw($w(Tw(Tw({autoComplete:"off",type:"search"},n),ee),{ref:(0,Jn.Y)(t,se),onKeyDown:e=>{switch("function"==typeof p&&p(e),e.key){case"ArrowUp":e.preventDefault(),oe?pe?Re():Le():(le(Ie),ge(!0),_e());break;case"ArrowDown":e.preventDefault(),oe?pe?Le():Re():(le(Ie),ge(!0),_e());break;case"Home":if(!x){e.preventDefault(),oe||ge(!0);const t=Ne.findIndex((e=>!e.disabled));le(t),De&&fe({alignment:pe?"end":"start"})}break;case"End":if(!x){e.preventDefault(),oe||ge(!0);const t=Ne.map((e=>!!e.disabled)).lastIndexOf(!1);le(t),De&&fe({alignment:pe?"end":"start"})}break;case"Escape":e.preventDefault(),ge(!1),le(-1);break;case" ":x||(e.preventDefault(),Ne[ie]&&oe?je(Ne[ie]):(ge(!0),le(Ie),_e()));break;case"Enter":x||e.preventDefault(),Ne[ie]&&oe&&(e.preventDefault(),je(Ne[ie]))}},__staticSelector:"Select",value:Pe,placeholder:Z,onChange:e=>{X||(Ce(e.currentTarget.value),k&&""===e.currentTarget.value&&xe(null),le(-1),ge(!0))},"aria-autocomplete":"list","aria-controls":De?`${n.id}-items`:null,"aria-activedescendant":ie>=0?`${n.id}-${ie}`:null,onMouseDown:()=>{X||(ge(!oe),Oe&&!oe&&le(Ie))},onBlur:e=>{"function"==typeof f&&f(e);const t=we.find((e=>e.value===Oe));_&&Ne[ie]&&oe&&je(Ne[ie]),Ce((null==t?void 0:t.label)||""),ge(!1)},onFocus:e=>{"function"==typeof m&&m(e),x&&ge(!0)},readOnly:!x||X,disabled:E,"data-mantine-stop-propagation":De,name:null,classNames:$w(Tw({},h),{input:re({[te.input]:!x},null==h?void 0:h.input)})}),uy({theme:ne,rightSection:N,rightSectionWidth:z,styles:v,size:n.size,shouldClear:k&&!!Se,onClear:()=>{var e;X||(xe(null),ke||Ce(""),null==(e=se.current)||e.focus())},error:o.error,clearButtonProps:J,disabled:E,readOnly:X}))))),c.createElement(na.Dropdown,{component:T||Zo,maxHeight:O,direction:ue,id:n.id,innerRef:be,__staticSelector:"Select",classNames:h,styles:v},c.createElement(Io,{data:Ne,hovered:ie,classNames:h,styles:v,isItemSelected:e=>e===Oe,uuid:n.id,__staticSelector:"Select",onItemHover:le,onItemSelect:je,itemsRefs:ce,itemComponent:d,size:n.size,nothingFound:S,creatable:he&&!!ve,createLabel:ve,"aria-label":o.label,unstyled:g,variant:n.variant}))))}));Fw.displayName="@mantine/core/Select";var Bw=r(69469),Ww=r(83687),Hw=Object.defineProperty,Gw=Object.defineProperties,Vw=Object.getOwnPropertyDescriptors,Yw=Object.getOwnPropertySymbols,Zw=Object.prototype.hasOwnProperty,Kw=Object.prototype.propertyIsEnumerable,Uw=(e,t,r)=>t in e?Hw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qw=(e,t)=>{for(var r in t||(t={}))Zw.call(t,r)&&Uw(e,r,t[r]);if(Yw)for(var r of Yw(t))Kw.call(t,r)&&Uw(e,r,t[r]);return e},Xw=(e,t)=>Gw(e,Vw(t));
1const Jw=(0,O.keyframes)({"from, to":{opacity:.4},"50%":{opacity:1}});var Qw=(0,x.k)(((e,{height:t,width:r,radius:n,circle:o,animate:a})=>({root:{height:(0,h.h)(t),width:o?(0,h.h)(t):(0,h.h)(r),borderRadius:o?(0,h.h)(t):e.fn.radius(n),position:"relative",WebkitTransform:"translateZ(0)"},visible:{overflow:"hidden","&::before":Xw(qw({},e.fn.cover(0)),{content:'""',background:"dark"===e.colorScheme?e.colors.dark[7]:e.white,zIndex:10}),"&::after":Xw(qw({},e.fn.cover(0)),{content:'""',background:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],animation:a?`${Jw} 1500ms linear infinite`:"none",zIndex:11})}}))),eO=Object.defineProperty,tO=Object.getOwnPropertySymbols,rO=Object.prototype.hasOwnProperty,nO=Object.prototype.propertyIsEnumerable,oO=(e,t,r)=>t in e?eO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const aO={height:"auto",width:"100%",visible:!0,animate:!0},iO=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Skeleton",aO,e),{height:n,width:o,visible:a,animate:i,className:l,circle:u,radius:d,unstyled:p,variant:f}=r,m=((e,t)=>{var r={};for(var n in e)rO.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&tO)for(var n of tO(e))t.indexOf(n)<0&&nO.call(e,n)&&(r[n]=e[n]);return r})(r,["height","width","visible","animate","className","circle","radius","unstyled","variant"]),{classes:b,cx:y}=Qw({height:n,width:o,circle:u,radius:d,animate:i},{name:"Skeleton",unstyled:p,variant:f});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))rO.call(t,r)&&oO(e,r,t[r]);if(tO)for(var r of tO(t))nO.call(t,r)&&oO(e,r,t[r]);return e})({className:y(b.root,{[b.visible]:a},l),ref:t},m))}));iO.displayName="@mantine/core/Skeleton";var lO=r(47776);function sO({value:e,min:t,max:r}){const n=(e-t)/(r-t)*100;return Math.min(Math.max(n,0),100)}function cO({value:e,containerWidth:t,min:r,max:n,step:o,precision:a}){const i=(t?Math.min(Math.max(e,0),t)/t:e)*(n-r),l=(0!==i?Math.round(i/o)*o:0)+r,s=Math.max(l,r);return void 0!==a?Number(s.toFixed(a)):s}var uO=Object.defineProperty,dO=Object.defineProperties,pO=Object.getOwnPropertyDescriptors,fO=Object.getOwnPropertySymbols,mO=Object.prototype.hasOwnProperty,bO=Object.prototype.propertyIsEnumerable,yO=(e,t,r)=>t in e?uO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gO=(e,t)=>{for(var r in t||(t={}))mO.call(t,r)&&yO(e,r,t[r]);if(fO)for(var r of fO(t))bO.call(t,r)&&yO(e,r,t[r]);return e},hO=(e,t)=>dO(e,pO(t));const vO={xs:(0,h.h)(4),sm:(0,h.h)(6),md:(0,h.h)(8),lg:(0,h.h)(10),xl:(0,h.h)(12)};var wO=(0,x.k)((e=>({root:hO(gO({},e.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",outline:0,display:"flex",flexDirection:"column",alignItems:"center",touchAction:"none",position:"relative"})}))),OO=Object.defineProperty,xO=Object.defineProperties,kO=Object.getOwnPropertyDescriptors,SO=Object.getOwnPropertySymbols,PO=Object.prototype.hasOwnProperty,EO=Object.prototype.propertyIsEnumerable,CO=(e,t,r)=>t in e?OO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,jO=(e,t)=>{for(var r in t||(t={}))PO.call(t,r)&&CO(e,r,t[r]);if(SO)for(var r of SO(t))EO.call(t,r)&&CO(e,r,t[r]);return e},NO=(e,t)=>xO(e,kO(t)),zO=(0,x.k)(((e,{color:t,disabled:r,thumbSize:n},{size:o})=>({label:{position:"absolute",top:(0,h.h)(-36),backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[9],fontSize:e.fontSizes.xs,color:e.white,padding:`calc(${e.spacing.xs} / 2)`,borderRadius:e.radius.sm,whiteSpace:"nowrap",pointerEvents:"none",userSelect:"none",touchAction:"none"},thumb:NO(jO({},e.fn.focusStyles()),{boxSizing:"border-box",position:"absolute",display:r?"none":"flex",height:n?(0,h.h)(n):`calc(${(0,w.a)({sizes:vO,size:o})} * 2)`,width:n?(0,h.h)(n):`calc(${(0,w.a)({sizes:vO,size:o})} * 2)`,backgroundColor:"dark"===e.colorScheme?e.fn.themeColor(t,e.fn.primaryShade()):e.white,border:`${(0,h.h)(4)} solid ${"dark"===e.colorScheme?e.white:e.fn.themeColor(t,e.fn.primaryShade())}`,color:"dark"===e.colorScheme?e.white:e.fn.themeColor(t,e.fn.primaryShade()),transform:"translate(-50%, -50%)",top:"50%",cursor:"pointer",borderRadius:1e3,alignItems:"center",justifyContent:"center",transitionDuration:"100ms",transitionProperty:"box-shadow, transform",transitionTimingFunction:e.transitionTimingFunction,zIndex:3,userSelect:"none",touchAction:"none"}),dragging:{transform:"translate(-50%, -50%) scale(1.05)",boxShadow:e.shadows.sm}})));
1const IO=(0,c.forwardRef)((({max:e,min:t,value:r,position:n,label:o,dragging:a,onMouseDown:i,onKeyDownCapture:l,color:s,classNames:u,styles:d,size:p,labelTransition:f,labelTransitionDuration:m,labelTransitionTimingFunction:b,labelAlwaysOn:y,thumbLabel:g,onFocus:h,onBlur:v,showLabelOnHover:w,isHovered:O,children:x=null,disabled:k,unstyled:S,thumbSize:P,variant:E},C)=>{const{classes:j,cx:N,theme:z}=zO({color:s,disabled:k,thumbSize:P},{name:"Slider",classNames:u,styles:d,unstyled:S,variant:E,size:p}),[I,D]=(0,c.useState)(!1),R=y||a||I||w&&O;return c.createElement(H.x,{tabIndex:0,role:"slider","aria-label":g,"aria-valuemax":e,"aria-valuemin":t,"aria-valuenow":r,ref:C,className:N(j.thumb,{[j.dragging]:a}),onFocus:()=>{D(!0),"function"==typeof h&&h()},onBlur:()=>{D(!1),"function"==typeof v&&v()},onTouchStart:i,onMouseDown:i,onKeyDownCapture:l,onClick:e=>e.stopPropagation(),style:{["rtl"===z.dir?"right":"left"]:`${n}%`}},x,c.createElement(hu.u,{mounted:null!=o&&R,duration:m,transition:f,timingFunction:b||z.transitionTimingFunction},(e=>c.createElement("div",{style:e,className:j.label},o))))}));function DO({mark:e,offset:t,value:r,inverted:n=!1}){return n?"number"==typeof t&&e.value<=t||e.value>=r:"number"==typeof t?e.value>=t&&e.value<=r:e.value<=r}IO.displayName="@mantine/core/SliderThumb";var RO=(0,x.k)(((e,{color:t,disabled:r,thumbSize:n},{size:o})=>({marksContainer:{position:"absolute",right:n?(0,h.h)(n/2):(0,w.a)({sizes:vO,size:o}),left:n?(0,h.h)(n/2):(0,w.a)({sizes:vO,size:o}),"&:has(~ input:disabled)":{"& .mantine-Slider-markFilled":{border:`${(0,h.h)(2)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]}`,borderColor:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}}},markWrapper:{position:"absolute",top:`calc(${(0,h.h)((0,w.a)({sizes:vO,size:o}))} / 2)`,zIndex:2,height:0},mark:{boxSizing:"border-box",border:`${(0,h.h)(2)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]}`,height:(0,w.a)({sizes:vO,size:o}),width:(0,w.a)({sizes:vO,size:o}),borderRadius:1e3,transform:`translateX(calc(-${(0,w.a)({sizes:vO,size:o})} / 2))`,backgroundColor:e.white,pointerEvents:"none"},markFilled:{borderColor:r?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:t}).background},markLabel:{transform:`translate(-50%, calc(${e.spacing.xs} / 2))`,fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],whiteSpace:"nowrap",cursor:"pointer",userSelect:"none"}})));function LO({marks:e,color:t,size:r,thumbSize:n,min:o,max:a,value:i,classNames:l,styles:s,offset:u,onCh
1ange:d,disabled:p,unstyled:f,inverted:m,variant:b}){const{classes:y,cx:g}=RO({color:t,disabled:p,thumbSize:n},{name:"Slider",classNames:l,styles:s,unstyled:f,variant:b,size:r}),h=e.map(((e,t)=>c.createElement(H.x,{className:y.markWrapper,sx:{left:`${sO({value:e.value,min:o,max:a})}%`},key:t},c.createElement("div",{className:g(y.mark,{[y.markFilled]:DO({mark:e,value:i,offset:u,inverted:m})})}),e.label&&c.createElement("div",{className:y.markLabel,onMouseDown:t=>{t.stopPropagation(),!p&&d(e.value)},onTouchStart:t=>{t.stopPropagation(),!p&&d(e.value)}},e.label))));return c.createElement("div",{className:y.marksContainer},h)}LO.displayName="@mantine/core/SliderMarks";var _O=(0,x.k)(((e,{radius:t,color:r,disabled:n,inverted:o,thumbSize:a},{size:i})=>({trackContainer:{display:"flex",alignItems:"center",width:"100%",height:`calc(${(0,w.a)({sizes:vO,size:i})} * 2)`,cursor:"pointer","&:has(~ input:disabled)":{"&":{pointerEvents:"none"},"& .mantine-Slider-thumb":{display:"none"},"& .mantine-Slider-track::before":{content:'""',backgroundColor:o?"dar
1k"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]},"& .mantine-Slider-bar":{backgroundColor:o?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}}},track:{position:"relative",height:(0,w.a)({sizes:vO,size:i}),width:"100%",marginRight:a?(0,h.h)(a/2):(0,w.a)({size:i,sizes:vO}),marginLeft:a?(0,h.h)(a/2):(0,w.a)({size:i,sizes:vO}),"&::before":{content:'""',position:"absolute",top:0,bottom:0,borderRadius:e.fn.radius(t),right:`calc(${a?(0,h.h)(a/2):(0,w.a)({size:i,sizes:vO})} * -1)`,left:`calc(${a?(0,h.h)(a/2):(0,w.a)({size:i,sizes:vO})} * -1)`,backgroundColor:o?n?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:r}).background:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],zIndex:0}},bar:{position:"absolute",zIndex:1,top:0,bottom:0,backgroundColor:o?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]:n?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:r}).background,borderRadius:e.fn.radius(t)}}))),AO=Object.defineProperty,TO=Object.defineProperties,$O=Object.getOwnPropertyDescriptors,MO=Object.getOwnPropertySymbols,FO=Object.prototype.hasOwnProperty,BO=Object.prototype.propertyIsEnumerable,WO=(e,t,r)=>t in e?AO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,HO=(e,t)=>{for(var r in t||(t={}))FO.call(t,r)&&WO(e,r,t[r]);if(MO)for(var r of MO(t))BO.call(t,r)&&WO(e,r,t[r]);return e},GO=(e,t)=>TO(e,$O(t)),VO=(e,t)=>{var r={};for(var n in e)FO.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&MO)for(var n of MO(e))t.indexOf(n)<0&&BO.call(e,n)&&(r[n]=e[n]);return r};function YO(e){var t=e,{filled:r,size:n,thumbSize:o,color:a,classNames:i,styles:l,radius:s,children:u,offset:d,disabled:p,marksOffset:f,unstyled:m,inverted:b,variant:y,containerProps:g}=t,v=VO(t,["filled","size","thumbSize","color","classNames","styles","radius","children","offset","disabled","marksOffset","unstyled","inverted","variant","containerProps"]);const{classes:O}=_O({color:a,radius:s,disabled:p,inverted:b,thumbSize:o},{name:"Slider",classNames:i,styles:l,unstyled:m,variant:y,size:n});return c.createElement(c.Fragment,null,c.createElement("div",HO({className:O.trackContainer},g),c.createElement("div",{className:O.track},c.createElement(H.x,{className:O.bar,sx:{left:`calc(${d}% - ${o?(0,h.h)(o/2):(0,w.a)({size:n,sizes:vO})})`,width:`calc(${r}% + 2 * ${o?(0,h.h)(o/2):(0,w.a)({size:n,sizes:vO})})`}}),u)),c.createElement(LO,GO(HO({},v),{size:n,thumbSize:o,color:a,offset:f,classNames:i,styles:l,disabled:p,unstyled:m,inverted:b,variant:y})))}YO.displayName="@mantine/core/SliderTrack";var ZO=Object.defineProperty,KO=Object.defineProperties,UO=Object.getOwnPropertyDescriptors,qO=Object.getOwnPropertySymbols,XO=Object.prototype.hasOwnProperty,JO=Object.prototype.propertyIsEnumerable,QO=(e,t,r)=>t in e?ZO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ex=(0,c.forwardRef)(((e,t)=>{var r=e,{className:n,size:o,classNames:a,styles:i,disabled:l,unstyled:s,variant:u}=r,d=((e,t)=>{var r={};for(var n in e)XO.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&qO)for(var n of qO(e))t.indexOf(n)<0&&JO.call(e,n)&&(r[n]=e[n]);return r})(r,["className","size","classNames","styles","disabled","unstyled","variant"]);const{classes:p,cx:f}=wO(null,{name:"Slider",classNames:a,styles:i,unstyled:s,variant:u,size:o});return c.createElement(H.x,((e,t)=>KO(e,UO(t)))(((e,t)=>{for(var r in t||(t={}))XO.call(t,r)&&QO(e,r,t[r]);if(qO)for(var r of qO(t))JO.call(t,r)&&QO(e,r,t[r]);return e})({},d),{tabIndex:-1,className:f(p.root,n),ref:t}))}));function tx(e,t){return parseFloat(e.toFixed(t))}function rx(e){if(!e)return 0;const t=e.toString().split(".");return t.length>1?t[1].length:0}ex.displayName="@mantine/core/SliderRoot";var nx=Object.defineProperty,ox=Object.defineProperties,ax=Object.getOwnPropertyDescriptors,ix=Object.getOwnPropertySymbols,lx=Object.prototype.hasOwnProperty,sx=Object.prototype.propertyIsEnumerable,cx=(e,t,r)=>t in e?nx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ux={size:"md",radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransition:"skew-down",labelTransitionDuration:0,labelAlwaysOn:!1,thumbLabel:"",showLabelO
1nHover:!0,disabled:!1,scale:e=>e},dx=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Slider",ux,e),{classNames:n,styles:o,color:a,value:i,onChange:l,onChangeEnd:u,size:d,radius:p,min:f,max:m,step:b,precision:y,defaultValue:g,name:h,marks:v,label:w,labelTransition:O,labelTransitionDuration:x,labelTransitionTimingFunction:k,labelAlwaysOn:S,thumbLabel:P,showLabelOnHover:E,thumbChildren:C,disabled:j,unstyled:N,thumbSize:z,scale:I,inverted:D,variant:L}=r,_=((e,t)=>{var r={};for(var n in e)lx.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ix)for(var n of ix(e))t.indexOf(n)<0&&sx.call(e,n)&&(r[n]=e[n]);return r})(r,["classNames","styles","color","value","onChange","onChangeEnd","size","radius","min","max","step","precision","defaultValue","name","marks","label","labelTransition","labelTransitionDuration","labelTransitionTimingFunction","labelAlwaysOn","thumbLabel","showLabelOnHover","thumbChildren","disabled","unstyled","thumbSize","scale","inverted","variant"]),A=null!=y?y:rx(b),T=(0,s.rZ)(),[$,M]=(0,c.useState)(!1),[F,B]=(0,R.C)({value:"number"==typeof i?(0,dg.u)(i,f,m):i,defaultValue:"number"==typeof g?(0,dg.u)(g,f,m):g,finalValue:(0,dg.u)(0,f,m),onChange:l}),W=(0,c.useRef)(F),H=(0,c.useRef)(),G=(0,c.useRef)(),V=sO({value:F,min:f,max:m}),Y=I(F),Z="function"==typeof w?w(Y):w,K=(0,c.useCallback)((({x:e})=>{if(!j){const t=cO({value:e,min:f,max:m,step:b,precision:A});B(t),W.current=t}}),[j,f,m,b,A,B]),{ref:U,active:q}=(0,lO.r)(K,{onScrubEnd:()=>null==u?void 0:u(W.current)},T.dir);return c.createElement(ex,((e,t)=>ox(e,ax(t)))(((e,t)=>{for(var r in t||(t={}))lx.call(t,r)&&cx(e,r,t[r]);if(ix)for(var r of ix(t))sx.call(t,r)&&cx(e,r,t[r]);return e})({},_),{ref:(0,Jn.Y)(t,H),onKeyDownCapture:e=>{if(!j)switch(e.key){case"ArrowUp":{e.preventDefault(),G.current.focus();const t=tx(Math.min(Math.max(F+b,f),m),A);null==u||u(t),B(t);break}case"ArrowRight":{e.preventDefault(),G.current.focus();const t=tx(Math.min(Math.max("rtl"===T.dir?F-b:F+b,f),m),A);null==u||u(t),B(t);break}case"ArrowDown":{e.preventDefault(),G.current.focus();const t=tx(Math.min(Math.max(F-b,f),m),A);null==u||u(t),B(t);break}case"ArrowLeft":{e.preventDefault(),G.current.focus();const t=tx(Math.min(Math.max("rtl"===T.dir?F+b:F-b,f),m),A);null==u||u(t),B(t);break}case"Home":e.preventDefault(),G.current.focus(),null==u||u(f),B(f);break;case"End":e.preventDefault(),G.current.focus(),null==u||u(m),B(m)}},onMouseDownCapture:()=>{var e;return null==(e=H.current)?void 0:e.focus()},size:d,classNames:n,styles:o,disabled:j,unstyled:N,variant:L}),c.createElement(YO,{inverted:D,offset:0,filled:V,marks:v,size:d,thumbSize:z,radius:p,color:a,min:f,max:m,value:Y,onChange:B,classNames:n,styles:o,disabled:j,unstyled:N,variant:L,containerProps:{ref:U,onMouseEnter:E?()=>M(!0):void 0,onMouseLeave:E?()=>M(!1):void 0}},c.createElement(IO,{max:m,min:f,value:Y,position:V,dragging:q,color:a,size:d,label:Z,ref:G,labelTransition:O,labelTransitionDuration:x,labelTransitionTimingFunction:k,labelAlwaysOn:S,classNames:n,styles:o,thumbLabel:P,showLabelOnHover:E,isHovered:$,disabled:j,unstyled:N,thumbSize:z,variant:L},C)),c.createElement("input",{type:"hidden",name:h,value:Y}))}));dx.displayName="@mantine/core/Slider";var px=Object.defineProperty,fx=Object.defineProperties,mx=Object.getOwnPropertyDescriptors,bx=Object.getOwnPropertySymbols,yx=Object.prototype.hasOwnProperty,gx=Object.prototype.propertyIsEnumerable,hx=(e,t,r)=>t in e?px(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vx=(e,t)=>{for(var r in t||(t={}))yx.call(t,r)&&hx(e,r,t[r]);if(bx)for(var r of bx(t))gx.call(t,r)&&hx(e,r,t[r]);return e},wx=(e,t)=>fx(e,mx(t));const Ox={size:"md",radius:"xl",min:0,max:100,minRange:10,step:1,marks:[],label:e=>e,labelTransition:"skew-down",labelTransitionDuration:0,labelAlwaysOn:!1,thumbFromLabel:"",thumbToLabel:"",showLabelOnHover:!0,disabled:!1,scale:e=>e},xx=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("RangeSlider",Ox,e),{classNames:n,styles:o,color:a,value:i,onChange:l,onChangeEnd:u,size:d,radius:p,min:f,max:m,minRange:b,maxRange:y,step:g,precision:h,defaultValue:v,name:w,marks:O,label:x,labelTransition:k,labelTransitionDuration:S,labelTransitionTimingFunction:P,labelAlwaysOn:E,thumbFromLabel:C,thumbToLabel:j,showLabelO
1nHover:N,thumbChildren:z,disabled:I,unstyled:D,thumbSize:L,scale:_,inverted:A,variant:T}=r,$=((e,t)=>{var r={};for(var n in e)yx.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&bx)for(var n of bx(e))t.indexOf(n)<0&&gx.call(e,n)&&(r[n]=e[n]);return r})(r,["classNames","styles","color","value","onChange","onChangeEnd","size","radius","min","max","minRange","maxRange","step","precision","defaultValue","name","marks","label","labelTransition","labelTransitionDuration","labelTransitionTimingFunction","labelAlwaysOn","thumbFromLabel","thumbToLabel","showLabelOnHover","thumbChildren","disabled","unstyled","thumbSize","scale","inverted","variant"]),M=null!=h?h:rx(g),F=(0,s.rZ)(),[B,W]=(0,c.useState)(-1),[H,G]=(0,c.useState)(!1),[V,Y]=(0,R.C)({value:i,defaultValue:v,finalValue:[f,m],onChange:l}),Z=(0,c.useRef)(V),K=(0,c.useRef)([]),U=(0,c.useRef)(void 0),q=[sO({value:V[0],min:f,max:m}),sO({value:V[1],min:f,max:m})],X=e=>{Y(e),Z.current=e};(0,c.useEffect)((()=>{Array.isArray(i)&&(Z.current=i)}),Array.isArray(i)?[i[0],i[1]]:[null,null]);const J=(e,t,r)=>{const n=[...Z.current];n[t]=e,0===t&&(e>n[1]-(b-1e-9)&&(n[1]=Math.min(e+b,m)),e>(m-(b-1e-9)||f)&&(n[t]=Z.current[t]),n[1]-e>y&&(n[1]=e+y)),1===t&&(e<n[0]+b&&(n[0]=Math.max(e-b,f)),e<n[0]+b&&(n[t]=Z.current[t]),e-n[0]>y&&(n[0]=e-y)),X(n),r&&(null==u||u(Z.current))},{ref:Q,active:ee}=(0,lO.r)((({x:e})=>(e=>{if(!I){const t=cO({value:e,min:f,max:m,step:g,precision:M});J(t,U.current,!1)}})(e)),{onScrubEnd:()=>null==u?void 0:u(Z.current)},F.dir);function te(e){U.current=e}const re=e=>{Q.current.focus();const t=Q.current.getBoundingClientRect(),r=function(e){if("TouchEvent"in window&&e instanceof window.TouchEvent)return e.touches[0].clientX;return e.clientX}(e.nativeEvent),n=cO({value:r-t.left,max:m,min:f,step:g,containerWidth:t.width}),o=Math.abs(V[0]-n)>Math.abs(V[1]-n)?1:0,a="ltr"===F.dir?o:1===o?0:1;U.current=a},ne=()=>1!==B&&0!==B?(W(0),0):B,oe={max:m,min:f,color:a,size:d,labelTransition:k,labelTransitionDuration:S,labelTransitionTimingFunction:P,labelAlwaysOn:E,onBlur:()=>W(-1),classNames:n,styles:o},ae=Array.isArray(z);return c.createElement(ex,wx(vx({},$),{size:d,ref:t,styles:o,classNames:n,disabled:I,unstyled:D,variant:T}),c.createElement(YO,{offset:q[0],marksOffset:V[0],filled:q[1]-q[0],marks:O,inverted:A,size:d,thumbSize:L,radius:p,color:a,min:f,max:m,value:V[1],styles:o,classNames:n,onChange:e=>{const t=Math.abs(V[0]-e)>Math.abs(V[1]-e)?1:0,r=[...V];r[t]=e,X(r)},disabled:I,unstyled:D,variant:T,containerProps:{ref:Q,onMouseEnter:N?()=>G(!0):void 0,onMouseLeave:N?()=>G(!1):void 0,onTouchStartCapture:re,onTouchEndCapture:()=>{U.current=-1},onMouseDownCapture:re,onMouseUpCapture:()=>{U.current=-1},onKeyDownCapture:e=>{if(!I)switch(e.key){case"ArrowUp":{e.preventDefault();const t=ne();K.current[t].focus(),J(tx(Math.min(Math.max(Z.current[t]+g,f),m),M),t,!0);break}case"ArrowRight":{e.preventDefault();const t=ne();K.current[t].focus(),J(tx(Math.min(Math.max("rtl"===F.dir?Z.current[t]-g:Z.current[t]+g,f),m),M),t,!0);break}case"ArrowDown":{e.preventDefault();const t=ne();K.current[t].focus(),J(tx(Math.min(Math.max(Z.current[t]-g,f),m),M),t,!0);break}case"ArrowLeft":{e.preventDefault();const t=ne();K.current[t].focus(),J(tx(Math.min(Math.max("rtl"===F.dir?Z.current[t]+g:Z.current[t]-g,f),m),M),t,!0);break}}}}},c.createElement(IO,wx(vx({},oe),{value:_(V[0]),position:q[0],dragging:ee,label:"function"==typeof x?x(_(V[0])):x,ref:e=>{K.current[0]=e},thumbLabel:C,onMouseDown:()=>te(0),onFocus:()=>W(0),showLabelOnHover:N,isHovered:H,disabled:I,unstyled:D,thumbSize:L,variant:T}),ae?z[0]:z),c.createElement(IO,wx(vx({},oe),{thumbLabel:j,value:_(V[1]),position:q[1],dragging:ee,label:"function"==typeof x?x(_(V[1])):x,ref:e=>{K.current[1]=e},onMouseDown:()=>te(1),onFocus:()=>W(1),showLabelOnHover:N,isHovered:H,disabled:I,unstyled:D,thumbSize:L,variant:T}),ae?z[1]:z)),c.createElement("input",{type:"hidden",name:`${w}_from`,value:V[0]}),c.createElement("input",{type:"hidden",name:`${w}_to`,value:V[1]}))}));xx.displayName="@mantine/core/RangeSlider";var kx=Object.defineProperty,Sx=Object.getOwnPropertySymbols,Px=Object.prototype.hasOwnProperty,Ex=Object.prototype.propertyIsEnumerable,Cx=(e,t,r)=>t in e?kx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const jx={w:0,h:0},Nx=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Space",jx,e),{w:n,h:o}=r,a=((e,t)=>{var r={};for(var n in e)Px.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);
1if(null!=e&&Sx)for(var n of Sx(e))t.indexOf(n)<0&&Ex.call(e,n)&&(r[n]=e[n]);return r})(r,["w","h"]);return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Px.call(t,r)&&Cx(e,r,t[r]);if(Sx)for(var r of Sx(t))Ex.call(t,r)&&Cx(e,r,t[r]);return e})({ref:t,w:n,miw:n,h:o,mih:o},a))}));Nx.displayName="@mantine/core/Space";var zx=(0,x.k)(((e,{transitionDuration:t})=>({control:{},root:{position:"relative"},content:{display:"flex",flexDirection:"column",overflow:"hidden",transitionProperty:"max-height",transitionTimingFunction:e.transitionTimingFunction,transitionDuration:`${t}ms`,"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}}}))),Ix=Object.defineProperty,Dx=Object.getOwnPropertySymbols,Rx=Object.prototype.hasOwnProperty,Lx=Object.prototype.propertyIsEnumerable,_x=(e,t,r)=>t in e?Ix(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ax={maxHeight:100,transitionDuration:200,initialState:!1},Tx=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Spoiler",Ax,e),{className:n,children:o,maxHeight:a,hideLabel:i,showLabel:l,transitionDuration:u,controlRef:d,initialState:p,classNames:f,styles:m,unstyled:b,variant:y}=r,g=((e,t)=>{var r={};for(var n in e)Rx.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Dx)for(var n of Dx(e))t.indexOf(n)<0&&Lx.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","maxHeight","hideLabel","showLabel","transitionDuration","controlRef","initialState","classNames","styles","unstyled","variant"]),{classes:v,cx:w}=zx({transitionDuration:u},{name:"Spoiler",classNames:f,styles:m,unstyled:b,variant:y}),[O,x]=(0,c.useState)(p),{ref:k,height:S}=(0,cw.h)(),P=a<S,E=O?i:l;return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))Rx.call(t,r)&&_x(e,r,t[r]);if(Dx)for(var r of Dx(t))Lx.call(t,r)&&_x(e,r,t[r]);return e})({className:w(v.root,n),ref:t},g),c.createElement("div",{className:v.content,style:{maxHeight:O?S?(0,h.h)(S):void 0:(0,h.h)(a)}},c.createElement("div",{ref:k},o)),P&&c.createElement(Ut,{component:"button",ref:d,onClick:()=>x((e=>!e)),className:v.control},E))}));Tx.displayName="@mantine/core/Spoiler";var $x=r(97564),Mx=Object.defineProperty,Fx=Object.defineProperties,Bx=Object.getOwnPropertyDescriptors,Wx=Object.getOwnPropertySymbols,Hx=Object.prototype.hasOwnProperty,Gx=Object.prototype.propertyIsEnumerable,Vx=(e,t,r)=>t in e?Mx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yx=(e,t)=>{for(var r in t||(t={}))Hx.call(t,r)&&Vx(e,r,t[r]);if(Wx)for(var r of Wx(t))Gx.call(t,r)&&Vx(e,r,t[r]);return e},Zx=(e,t)=>Fx(e,Bx(t));const Kx={xs:(0,h.h)(34),sm:(0,h.h)(36),md:(0,h.h)(42),lg:(0,h.h)(48),xl:(0,h.h)(52)};var Ux=(0,x.k)(((e,{color:t,iconSize:r,radius:n,allowStepClick:o,iconPosition:a,orientation:i},{size:l})=>{const s=r?(0,h.h)(r):(0,w.a)({size:l,sizes:Kx}),c="xl"===l||"lg"===l?e.spacing.md:e.spacing.sm,u=e.fn.radius(n),d=e.fn.variant({variant:"filled",color:t||e.primaryColor,primaryFallback:!1}),p=`calc(${e.spacing.xs} / 2)`,f={step:{justifyContent:"flex-start",minHeight:`calc(${s} + ${e.spacing.xl} + ${p})`,marginTop:p,overflow:"hidden","&:first-of-type":{marginTop:0},[`&:last-of-type .${(0,k.A)("verticalSeparator")}`]:{display:"none"}}};return{stepLoader:{},step:Yx({display:"flex",flexDirection:"left"===a?"row":"row-reverse",cursor:o?"pointer":"default"},"vertical"===i?f.step:{alignItems:"center"}),stepWrapper:{position:"relative"},verticalSeparator:{top:`calc(${s} + ${p})`,left:`calc(${s} / 2)`,height:"100vh",position:"absolute",borderLeft:`${(0,h.h)(2)} solid ${"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1]}`,ref:(0,k.A)("verticalSeparator")},verticalSeparatorActive:{borderColor:e.fn.variant({variant:"filled",color:t}).background},stepIcon:{boxSizing:"border-box",height:s,width:s,minWidth:s,borderRadius:u,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1],border:`${(0,h.h)(2)} solid ${"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[1]}`,transition:"background-color 150ms ease, border-color 150ms ease",position:"relative",fontWeight:700,color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[7],fontSize:(0,w.a)({size:l,sizes:e.fontSizes}),"&[data-progress]":{borderColor:d.background},"&[data-completed]":{backgroundColor:d.background,borderColor:d.background,color:e.white}},stepCompletedIcon:Zx(Yx({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",color:e.white}),stepBody:Yx({display:"flex",flexDirection:"column",marginLeft:"left"===a?c:void 0,marginRight:"right"===a?c:void 0},"vertical"===i?{marginTop:`calc(${r} / 4)`}:null),stepLabel:{textAlign:a,fontWeight:500,fontSize:(0,w.a)({size:l,sizes:e.fontSizes}),lineHeight:1},stepDescription:{textAlign:a,marginTop:`calc(${(0,w.a)({size:l,sizes:e.spacing})} / 3)`,marginBottom:`calc(${(0,w.a)({size:l,sizes:e.spacing})} / 3)`,fontSize:`calc(${(0,w.a)({size:l,sizes:e.fontSizes})} - ${(0,h.h)(2)})`,lineHeight:1}}})),qx=Object.defineProperty,Xx=Object.getOwnPropertySymbols,Jx=Object.prototype.hasOwnProperty,Qx=Object.prototype.propertyIsEnumerable,ek=(e,t,r)=>t in e?qx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tk=(e,t)=>{for(var r in t||(t={}))Jx.call(t,r)&&ek(e,r,t[r]);if(Xx)for(var r of Xx(t))Qx.call(t,r)&&ek(e,r,t[r]);return e};const rk={xs:16,sm:18,md:20,lg:22,xl:24},nk={withIcon:!0,size:"md",radius:"xl",allowStepClick:!0,iconPosition:"left",__staticSelector:"Step"},ok=(e,t)=>"function"==typeof e?c.createElement(e,{step:t}):e,ak=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("StepperStep",nk,e),{className:n,step:o,state:a,color:i,icon:l,completedIcon:u,progressIcon:d,label:p,description:f,withIcon:m,iconSize:b,size:y,radius:g,loading:h,allowStepClick:v,allowStepSelect:O,iconPosition:x,__staticSelector:k,classNames:S,styles:P,unstyled:E,orientation:C,variant:j}=r,N=((e,t)=>{var r={};for(var n in e)Jx.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Xx)for(var n of Xx(e))t.indexOf(n)<0&&Qx.call(e,n)&&(r[n]=e[n]);return r})(r,["className","step","state","color","icon","completedIcon","progressIcon","label","description","withIcon","iconSize","size","radius","loading","allowStepClick","allowStepSelect","iconPosition","__staticSelector","classNames","styles","unstyled","orientation","variant"]),{classes:z,cx:I}=Ux({color:i,iconSize:b,radius:g,allowStepClick:v,iconPosition:x,orientation:C},{name:k,classNames:S,styles:P,unstyled:E,variant:j,size:y}),D=(0,w.a)({size:y,sizes:rk}),R="stepCompleted"===a?null:"stepProgress"===a?d:l,L={"data-progress":"stepProgress"===a||void 0,"data-completed":"stepCompleted"===a||void 0};return c.createElement(ce.k,tk(tk({className:I(z.step,n),tabIndex:v?0:-1,ref:t},L),N),m&&c.createElement("div",{className:z.stepWrapper},c.createElement("div",tk({className:z.stepIcon},L),c.createElement(hu.u,{mounted:"stepCompleted"===a,transition:"pop",duration:200},(e=>c.createElement("div",{className:z.stepCompletedIcon,style:e},h?c.createElement(bb.a,{color:"#fff",size:D,className:z.stepLoader}):ok(u,o)||c.createElement(Os.P,{indeterminate:!1,width:D,height:D})))),"stepCompleted"!==a?h?c.createElement(bb.a,{size:D,color:i}):ok(R||l,o):null),"vertical"===C&&c.createElement("div",{className:I(z.verticalSeparator,{[z.verticalSeparatorActive]:"stepCompleted"===a})})),(p||f)&&c.createElement("div",{className:z.stepBody},p&&c.createElement(Dt.x,{className:z.stepLabel},ok(p,o)),f&&c.createElement(Dt.x,{className:z.stepDescription,color:"dimmed"},ok(f,o))))}));function ik(e){return null}ak.displayName="@mantine/core/Step",ik.displayName="@mantine/core/StepCompleted";var lk=Object.defineProperty,sk=Object.defineProperties,ck=Object.getOwnPropertyDescriptors,uk=Object.getOwnPropertySymbols,dk=Object.prototype.hasOwnProperty,pk=Object.prototype.propertyIsEnumerable,fk=(e,t,r)=>t in e?lk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mk=(e,t)=>{for(var r in t||(t={}
1))dk.call(t,r)&&fk(e,r,t[r]);if(uk)for(var r of uk(t))pk.call(t,r)&&fk(e,r,t[r]);return e},bk=(e,t)=>sk(e,ck(t)),yk=(0,x.k)(((e,{contentPadding:t,color:r,orientation:n,iconPosition:o,iconSize:a,breakpoint:i},{size:l})=>{const s=void 0!==i,c=(0,b.oI)((0,w.a)({size:i,sizes:e.breakpoints})),u=void 0!==a?`calc(${(0,h.h)(a)} / 2 - ${(0,h.h)(1)})`:`calc(${(0,w.a)({size:l,sizes:Kx})} / 2 - ${(0,h.h)(1)})`,d={steps:{flexDirection:"column",alignItems:"left"===o?"flex-start":"flex-end"},separator:{width:(0,h.h)(2),minHeight:e.spacing.xl,marginLeft:"left"===o?u:0,marginRight:"right"===o?u:0,marginTop:`calc(${e.spacing.xs} / 2)`,marginBottom:`calc(${e.spacing.xs} - ${(0,h.h)(2)})`}},p={steps:{[`@media (max-width: ${(0,h.em)(c-1)})`]:d.steps},separator:{[`@media (max-width: ${(0,h.em)(c-1)})`]:d.separator}};return{root:{},steps:mk(mk({display:"flex",boxSizing:"border-box",alignItems:"center"},"vertical"===n?d.steps:null),s?p.steps:null),separator:mk(mk({boxSizing:"border-box",transition:"background-color 150ms ease",flex:1,height:(0,h.h)(2),backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],marginLeft:e.spacing.md,marginRight:e.spacing.md},"vertical"===n?d.separator:null),s?p.separator:null),separatorActive:{backgroundColor:e.fn.variant({variant:"filled",color:r||e.primaryColor,primaryFallback:!1}).background},content:bk(mk({},e.fn.fontStyles()),{paddingTop:(0,w.a)({size:t,sizes:e.spacing})})}})),gk=Object.defineProperty,hk=Object.getOwnPropertySymbols,vk=Object.prototype.hasOwnProperty,wk=Object.prototype.propertyIsEnumerable,Ok=(e,t,r)=>t in e?gk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const xk={contentPadding:"md",size:"md",radius:"xl",orientation:"horizontal",iconPosition:"left",allowNextStepsSelect:!0},kk=(0,c.forwardRef)(((e,t)=>{var r,n,o;const a=(0,s.N4)("Stepper",xk,e),{className:i,children:l,onStepClick:u,active:d,icon:p,completedIcon:f,progressIcon:m,color:b,iconSize:y,contentPadding:g,size:h,radius:v,orientation:w,breakpoint:O,iconPosition:x,allowNextStepsSelect:k,classNames:S,styles:P,unstyled:E,variant:C}=a,j=((e,t)=>{var r={};for(var n in e)vk.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&hk)for(var n of hk(e))t.indexOf(n)<0&&wk.call(e,n)&&(r[n]=e[n]);return r})(a,["className","children","onStepClick","active","icon","completedIcon","progressIcon","color","iconSize","contentPadding","size","radius","orientation","breakpoint","iconPosition","allowNextStepsSelect","classNames","styles","unstyled","variant"]),{classes:N,cx:z}=yk({contentPadding:g,color:b,orientation:w,iconPosition:x,iconSize:y,breakpoint:O},{name:"Stepper",classNames:S,styles:P,unstyled:E,variant:C,size:h}),I=c.Children.toArray(l),D=I.filter((e=>e.type!==ik)),R=I.find((e=>e.type===ik)),L=D.reduce(((e,t,r)=>{const n=d===r?"stepProgress":d>r?"stepCompleted":"stepInactive",o="function"==typeof u&&("boolean"==typeof t.props.allowStepSelect?t.props.allowStepSelect:"stepCompleted"===n||k);return e.push((0,c.cloneElement)(t,{__staticSelector:"Stepper",icon:t.props.icon||p||r+1,key:r,step:r,variant:C,state:n,onClick:()=>o&&u(r),allowStepClick:o,completedIcon:t.props.completedIcon||f,progressIcon:t.props.progressIcon||m,color:t.props.color||b,iconSize:y,size:h,radius:v,classNames:S,styles:P,iconPosition:t.props.iconPosition||x,orientation:w,unstyled:E})),"horizontal"===w&&r!==D.length-1&&e.push(c.createElement("div",{className:z(N.separator,{[N.separatorActive]:r<d}),key:`separator-${r}`})),e}),[]),_=null==(n=null==(r=D[d])?void 0:r.props)?void 0:n.children,A=null==(o=null==R?void 0:R.props)?void 0:o.children,T=d>D.length-1?A:_;return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))vk.call(t,r)&&Ok(e,r,t[r]);if(hk)for(var r of hk(t))wk.call(t,r)&&Ok(e,r,t[r]);return e})({className:z(N.root,i),ref:t},j),c.createElement("div",{className:N.steps},L),T&&c.createElement("div",{className:N.content},T))}));kk.Step=ak,kk.Completed=ik,kk.displayName="@mantine/core/Stepper";const Sk=(0,c.createContext)(null),Pk=Sk.Provider;var Ek=Object.defineProperty,Ck=Object.getOwnPropertySymbols,jk=Object.prototype.hasOwnProperty,Nk=Object.prototype.propertyIsEnumerable,zk=(e,t,r)=>t in e?Ek(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ik=(e,t)=>{for(var r in t||(t={}))jk.call(t,r)&&zk(e,r,t[r]);if(Ck)for(var r of Ck(t))Nk.call(t,r)&&zk(e,r,t[r]);return e};const Dk={size:"sm"},Rk=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("SwitchGroup",Dk,e),{children:n,value:o,defaultValue:a,onChange:i,size:l,wrapperProps:u}=r,d=((e,t)=>{var r={};for(var n in e)jk.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ck)for(var n of Ck(e))t.indexOf(n)<0&&Nk.call(e,n)&&(r[n]=e[n]);return r})(r,["children","value","defaultValue","onChange","size","wrapperProps"]),[p,f]=(0,R.C)({value:o,defaultValue:a,finalValue:[],onChange:i});return c.createElement(Pk,{value:{value:p,onChange:e=>{const t=e.currentTarget.value;f(p.includes(t)?p.filter((e=>e!==t)):[...p,t])},size:l}},c.createElement(la.I.Wrapper,Ik(Ik({labelElement:"div",size:l,__staticSelector:"SwitchGroup",ref:t},u),d),n))}));Rk.displayName="@mantine/core/SwitchGroup";var Lk=Object.defineProperty,_k=Object.defineProperties,Ak=Object.getOwnPropertyDescriptors,Tk=Object.getOwnPropertySymbols,$k=Object.prototype.hasOwnProperty,Mk=Object.prototype.propertyIsEnumerable,Fk=(e,t,r)=>t in e?Lk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Bk=(e,t)=>{for(var r in t||(t={}))$k.call(t,r)&&Fk(e,r,t[r]);if(Tk)for(var r of Tk(t))Mk.call(t,r)&&Fk(e,r,t[r]);return e},Wk=(e,t)=>_k(e,Ak(t));const Hk={xs:(0,h.h)(16),sm:(0,h.h)(20),md:(0,h.h)(24),lg:(0,h.h)(30),xl:(0,h.h)(36)},Gk={xs:(0,h.h)(32),sm:(0,h.h)(38),md:(0,h.h)(46),lg:(0,h.h)(56),xl:(0,h.h)(72)},Vk={xs:(0,h.h)(12),sm:(0,h.h)(14),md:(0,h.h)(18),lg:(0,h.h)(22),xl:(0,h.h)(28)},Yk={xs:(0,h.h)(5),sm:(0,h.h)(6),md:(0,h.h)(7),lg:(0,h.h)(9),xl:(0,h.h)(11)},Zk={xs:(0,h.h)(4),sm:(0,h.h)(5),md:(0,h.h)(6),lg:(0,h.h)(8),xl:(0,h.h)(10)};var Kk=(0,x.k)(((e,{radius:t,color:r,labelPosition:n,error:o},{size:a})=>{const i=(0,w.a)({size:a,sizes:Vk}),l=(0,w.a)({size:t,sizes:e.radius}),s=e.fn.variant({variant:"filled",color:r}),c=(0,w.a)({size:a,sizes:Gk}),u=(0,h.h)("xs"===a?1:2),d=e.fn.variant({variant:"filled",color:"red"}).background;return{root:{position:"relative"}
1,input:{height:0,width:0,overflow:"hidden",whiteSpace:"nowrap",padding:0,WebkitClipPath:"inset(50%)",clipPath:"inset(50%)",position:"absolute"},track:Wk(Bk({},e.fn.focusStyles("input:focus + &")),{cursor:e.cursorType,overflow:"hidden",WebkitTapHighlightColor:"transparent",position:"relative",borderRadius:l,backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[2],border:`${(0,h.h)(1)} solid ${o?d:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,height:(0,w.a)({size:a,sizes:Hk}),minWidth:c,margin:0,transitionProperty:"background-color, border-color",transitionTimingFunction:e.transitionTimingFunction,transitionDuration:"150ms",boxSizing:"border-box",appearance:"none",display:"flex",alignItems:"center",fontSize:(0,w.a)({size:a,sizes:Yk}),fontWeight:600,order:"left"===n?2:1,userSelect:"none",zIndex:0,lineHeight:0,color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[6],transition:`color 150ms ${e.transitionTimingFunction}`,"input:checked + &":{backgroundColor:s.background,borderColor:s.background,color:e.white,transition:`color 150ms ${e.transitionTimingFunction}`},"input:disabled + &":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],cursor:"not-allowed",pointerEvents:"none"}}),thumb:{position:"absolute",zIndex:1,borderRadius:l,boxSizing:"border-box",display:"flex",backgroundColor:e.white,height:i,width:i,border:`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.white:e.colors.gray[3]}`,left:u,transition:`left 150ms ${e.transitionTimingFunction}`,"& > *":{margin:"auto"},"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":""},"input:checked + * > &":{left:`calc(100% - ${i} - ${u})`,borderColor:e.white},"input:disabled + * > &":{borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],backgroundColor:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[0]}},trackLabel:{height:"100%",display:"grid",placeContent:"center",minWidth:`calc(${c} - ${i})`,paddingInline:(0,w.a)({size:a,sizes:Zk}),marginLeft:`calc(${i} + ${u})`,transition:`margin 150ms ${e.transitionTimingFunction}`,"input:checked + * > &":{marginLeft:0,marginRight:`calc(${i} + ${u})`}}}})),Uk=Object.defineProperty,qk=Object.defineProperties,Xk=Object.getOwnPropertyDescriptors,Jk=Object.getOwnPropertySymbols,Qk=Object.prototype.hasOwnProperty,eS=Object.prototype.propertyIsEnumerable,tS=(e,t,r)=>t in e?Uk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rS=(e,t)=>{for(var r in t||(t={}))Qk.call(t,r)&&tS(e,r,t[r]);if(Jk)for(var r of Jk(t))eS.call(t,r)&&tS(e,r,t[r]);return e};const nS={offLabel:"",onLabel:"",size:"sm",radius:"xl",error:!1},oS=(0,c.forwardRef)(((e,t)=>{var r;const n=(0,s.N4)("Switch",nS,e),{className:o,color:a,label:i,offLabel:l,onLabel:u,id:d,style:p,size:f,radius:m,wrapperProps:b,children:y,unstyled:g,styles:h,classNames:v,thumbIcon:w,sx:O,checked:x,defaultChecked:k,onChange:S,labelPosition:P,description:E,error:C,disabled:j,variant:N}=n,z=((e,t)=>{var r={};for(var n in e)Qk.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Jk)for(var n of Jk(e))t.indexOf(n)<0&&eS.call(e,n)&&(r[n]=e[n]);return r})(n,["className","color","label","offLabel","onLabel","id","style","size","radius","wrapperProps","children","unstyled","styles","classNames","thumbIcon","sx","checked","defaultChecked","onChange","labelPosition","description","error","disabled","variant"]),I=(0,c.useContext)(Sk),L=(null==I?void 0:I.size)||f,{classes:_,cx:A}=Kk({color:a,radius:m,labelPosition:P,error:!!C},{name:"Switch",classNames:v,styles:h,unstyled:g,size:L,variant:N}),{systemStyles:T,rest:$}=(0,Nl.x)(z),M=(0,D.M)(d),F=I?{checked:I.value.includes($.value),onChange:I.onChange}:{},[B,W]=(0,R.C)({value:null!=(r=F.checked)?r:x,defaultValue:k,finalValue:!1});return c.createElement(Yh.Z,rS(rS({className:A(o,_.root),sx:O,style:p,id:M,size:(null==I?void 0:I.size)||f,labelPosition:P,label:i,description:E,error:C,disabled:j,bodyElement:"label",labelElement:"span",__staticSelector:"Switch",classNames:v,styles:h,unstyled:g,"data-checked":F.checked||void 0,variant:N},T),b),c.createElement("input",((e,t)=>
1qk(e,Xk(t)))(rS({},$),{disabled:j,checked:B,onChange:e=>{I?F.onChange(e):null==S||S(e),W(e.currentTarget.checked)},id:M,ref:t,type:"checkbox",role:"switch",className:_.input})),c.createElement("div",{className:_.track,"aria-hidden":!0},c.createElement("div",{className:_.thumb},w),c.createElement("div",{className:_.trackLabel},B?u:l)))}));oS.displayName="@mantine/core/Switch",oS.Group=Rk;var aS=r(95078),iS=r(80579),lS=Object.defineProperty,sS=Object.defineProperties,cS=Object.getOwnPropertyDescriptors,uS=Object.getOwnPropertySymbols,dS=Object.prototype.hasOwnProperty,pS=Object.prototype.propertyIsEnumerable,fS=(e,t,r)=>t in e?lS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mS=(e,t)=>{for(var r in t||(t={}))dS.call(t,r)&&fS(e,r,t[r]);if(uS)for(var r of uS(t))pS.call(t,r)&&fS(e,r,t[r]);return e},bS=(e,t)=>sS(e,cS(t));const yS={xs:(0,h.h)(16),sm:(0,h.h)(20),md:(0,h.h)(26),lg:(0,h.h)(32),xl:(0,h.h)(40)},gS=["filled","light","gradient","outline","default"];function hS({theme:e,variant:t,color:r,gradient:n}){if(!gS.includes(t))return null;const o=e.fn.variant({variant:t,color:r||e.primaryColor,gradient:n,primaryFallback:!1});return{backgroundColor:o.background,color:o.color,backgroundImage:"gradient"===t?o.background:void 0,border:`${(0,h.h)("gradient"===t?0:1)} solid ${o.border}`}}var vS=(0,x.k)(((e,{color:t,radius:r,gradient:n},{variant:o,size:a})=>{const i=(0,w.a)({size:a,sizes:yS});return{root:mS(bS(mS({},e.fn.fontStyles()),{display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:i,height:i,minWidth:i,minHeight:i,borderRadius:e.fn.radius(r)}),hS({theme:e,variant:o,gradient:n,color:t}))}})),wS=Object.defineProperty,OS=Object.getOwnPropertySymbols,xS=Object.prototype.hasOwnProperty,kS=Object.prototype.propertyIsEnumerable,SS=(e,t,r)=>t in e?wS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const PS={size:"md",variant:"filled"},ES=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("ThemeIcon",PS,e),{className:n,size:o,radius:a,variant:i,color:l,children:u,gradient:d,unstyled:p}=r,f=((e,t)=>{var r={};for(var n in e)xS.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&OS)for(var n of OS(e))t.indexOf(n)<0&&kS.call(e,n)&&(r[n]=e[n]);return r})(r,["className","size","radius","variant","color","children","gradient","unstyled"]),{classes:m,cx:b}=vS({variant:i,radius:a,color:l,gradient:d},{name:"ThemeIcon",unstyled:p,variant:i,size:o});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))xS.call(t,r)&&SS(e,r,t[r]);if(OS)for(var r of OS(t))kS.call(t,r)&&SS(e,r,t[r]);return e})({className:b(m.root,n),ref:t},f),u)}));ES.displayName="@mantine/core/ThemeIcon";var CS=(0,x.k)(((e,{bulletSize:t,color:r,radius:n,align:o,lineVariant:a,lineWidth:i})=>{const l=e.fn.variant({variant:"filled",color:r}),s=(0,h.h)(t),c=(0,h.h)(i);return{itemBody:{},itemContent:{},itemBullet:{boxSizing:"border-box",width:s,height:s,borderRadius:e.fn.radius(n),border:`${c} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,position:"absolute",top:0,left:"left"===o?`calc(-${s} / 2 - ${c} / 2)`:"auto",right:"right"===o?`calc(-${s} / 2 - ${c} / 2)`:"auto",display:"flex",alignItems:"center",justifyContent:"center",color:e.white,"&[data-with-child]":{borderWidth:(0,h.h)(1),backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],color:"dark"===e.colorScheme?e.colors.dark[0]:e.black},"&[data-active]":{borderColor:l.background,backgroundColor:e.white,"&[data-with-child]":{backgroundColor:l.background,color:e.white}}},item:{position:"relative",boxSizing:"border-box",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,paddingLeft:"left"===o?e.spacing.xl:0,paddingRight:"right"===o?e.spacing.xl:0,textAlign:o,"&:not(:last-of-type)::before":{display:"block"},"&:not(:first-of-type)":{marginTop:e.spacing.xl},"&::before":{boxSizing:"border-box",position:"absolute",top:0,left:"left"===o?`calc(${c} * -1)`:"auto",right:"right"===o?`calc(${c} * -1)`:"auto",bottom:`calc(${e.spacing.xl} * -1)`,borderLeft:`${c} ${a} ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}
1`,content:'""',display:"none"},"&[data-line-active]":{"&::before":{borderLeftColor:l.background}}},itemTitle:{fontWeight:500,lineHeight:1,marginBottom:`calc(${e.spacing.xs} / 2)`,textAlign:o}}})),jS=Object.defineProperty,NS=Object.getOwnPropertySymbols,zS=Object.prototype.hasOwnProperty,IS=Object.prototype.propertyIsEnumerable,DS=(e,t,r)=>t in e?jS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const RS={bulletSize:20,radius:"xl",lineWidth:4,lineVariant:"solid"},LS=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("TimelineItem",RS,e),{className:n,bullet:o,title:a,bulletSize:i,radius:l,lineWidth:u,active:d,lineActive:p,classNames:f,styles:m,children:b,color:y,align:g,lineVariant:h,unstyled:v,variant:w}=r,O=((e,t)=>{var r={};for(var n in e)zS.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&NS)for(var n of NS(e))t.indexOf(n)<0&&IS.call(e,n)&&(r[n]=e[n]);return r})(r,["className","bullet","title","bulletSize","radius","lineWidth","active","lineActive","classNames","styles","children","color","align","lineVariant","unstyled","variant"]),{classes:x,cx:k}=CS({bulletSize:i,color:y,radius:l,align:g,lineVariant:h,lineWidth:u},{name:"Timeline",classNames:f,styles:m,unstyled:v,variant:w});return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))zS.call(t,r)&&DS(e,r,t[r]);if(NS)for(var r of NS(t))IS.call(t,r)&&DS(e,r,t[r]);return e})({className:k(x.item,n),"data-line-active":p||void 0,"data-active":d||void 0,ref:t},O),c.createElement("div",{className:x.itemBullet,"data-with-child":!!o||void 0,"data-active":d||void 0},o),c.createElement("div",{className:x.itemBody},a&&c.createElement(Dt.x,{className:x.itemTitle},a),c.createElement("div",{className:x.itemContent},b)))}));LS.displayName="@mantine/core/TimelineItem";var _S=(0,x.k)((()=>({root:{}}))),AS=Object.defineProperty,TS=Object.getOwnPropertySymbols,$S=Object.prototype.hasOwnProperty,MS=Object.prototype.propertyIsEnumerable,FS=(e,t,r)=>t in e?AS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const BS={active:-1,radius:"xl",bulletSize:20,align:"left",lineWidth:4,reverseActive:!1},WS=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Timeline",BS,e),{className:n,children:o,active:i,color:l,radius:u,bulletSize:d,align:p,lineWidth:f,classNames:m,styles:b,sx:y,reverseActive:g,unstyled:v,variant:w}=r,O=((e,t)=>{var r={};for(var n in e)$S.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&TS)for(var n of TS(e))t.indexOf(n)<0&&MS.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","active","color","radius","bulletSize","align","lineWidth","classNames","styles","sx","reverseActive","unstyled","variant"]),{classes:x,cx:k}=_S(null,{name:"Timeline",classNames:m,styles:b,unstyled:v,variant:w}),S=c.Children.toArray(o),P=S.map(((e,t)=>c.cloneElement(e,{variant:w,classNames:m,styles:b,align:p,lineWidth:f,radius:e.props.radius||u,color:e.props.color||l,bulletSize:e.props.bulletSize||d,unstyled:v,active:e.props.active||(g?i>=S.length-t-1:i>=t),lineActive:e.props.lineActive||(g?i>=S.length-t-1:i-1>=t)}))),E="left"===p?{paddingLeft:`calc(${(0,h.h)(d)} / 2 + ${(0,h.h)(f)} / 2)`}:{paddingRight:`calc(${(0,h.h)(d)} / 2 + ${(0,h.h)(f)} / 2)`};return c.createElement(H.x,((e,t)=>{for(var r in t||(t={}))$S.call(t,r)&&FS(e,r,t[r]);if(TS)for(var r of TS(t))MS.call(t,r)&&FS(e,r,t[r]);return e})({className:k(x.root,n),ref:t,sx:[E,...(0,a.R)(y)]},O),P)}));WS.Item=LS,WS.displayName="@mantine/core/Timeline";var HS=Object.defineProperty,GS=Object.defineProperties,VS=Object.getOwnPropertyDescriptors,YS=Object.getOwnPropertySymbols,ZS=Object.prototype.hasOwnProperty,KS=Object.prototype.propertyIsEnumerable,US=(e,t,r)=>t in e?HS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qS=(e,t)=>{for(var r in t||(t={}))ZS.call(t,r)&&US(e,r,t[r]);if(YS)for(var r of YS(t))KS.call(t,r)&&US(e,r,t[r]);return e},XS=(e,t)=>GS(e,VS(t));function JS(e,t,r){return void 0!==e?e in r.headings.sizes?r.headings.sizes[e].fontSize:(0,h.h)(e):r.headings.sizes[t].fontSize}function QS(e,t,r){return void 0!==e&&e in r.headings.sizes?r.headings.sizes[e].lineHeight:r.headings.sizes[t].lineHeight}var eP=(0,x.k)(((e,{element:t,weight:r,inline:n},{size:o})=>({root:XS(qS({},e.fn.fontStyles()),{fontFamily:e.headings.fontFamily,fontWeight:r||e.headings.sizes[t].fontWeight||e.headings.fontWeight,fontSize:JS(o,t,e),lineHeight:n?1:QS(o,t,e),margin:0})}
1))),tP=Object.defineProperty,rP=Object.getOwnPropertySymbols,nP=Object.prototype.hasOwnProperty,oP=Object.prototype.propertyIsEnumerable,aP=(e,t,r)=>t in e?tP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const iP={order:1},lP=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("Title",iP,e),{className:n,order:o,children:a,unstyled:i,size:l,weight:u,inline:d,variant:p}=r,f=((e,t)=>{var r={};for(var n in e)nP.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&rP)for(var n of rP(e))t.indexOf(n)<0&&oP.call(e,n)&&(r[n]=e[n]);return r})(r,["className","order","children","unstyled","size","weight","inline","variant"]),{classes:m,cx:b}=eP({element:`h${o}`,weight:u,inline:d},{name:"Title",unstyled:i,variant:p,size:l});return[1,2,3,4,5,6].includes(o)?c.createElement(Dt.x,((e,t)=>{for(var r in t||(t={}))nP.call(t,r)&&aP(e,r,t[r]);if(rP)for(var r of rP(t))oP.call(t,r)&&aP(e,r,t[r]);return e})({variant:p,component:`h${o}`,ref:t,className:b(m.root,n)},f),a):null}));lP.displayName="@mantine/core/Title";var sP=r(77124);const cP=(0,h.h)(7);var uP=(0,x.k)(((e,{reversed:t,native:r,radius:n})=>{const o=(0,h.h)(e.fn.radius(n));return{transferList:{flex:1,display:"flex",flexDirection:"column"},transferListItem:{display:"block",width:`calc(100% - (${cP} * 2))`,padding:cP,marginLeft:`calc(${e.spacing.sm} - ${cP})`,marginRight:`calc(${e.spacing.sm} - ${cP})`,borderRadius:e.fn.radius(n),"&:first-of-type":{marginTop:`calc(${e.spacing.sm} - ${cP})`},"&:last-of-type":{marginBottom:`calc(${e.spacing.sm} - ${cP})`}},transferListItemHovered:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]},transferListItems:{overflow:r?"auto":"hidden"},transferListHeader:{display:"flex",flexDirection:t?"row-reverse":"row"},transferListBody:{flex:1,borderRadius:e.fn.radius(n),backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,border:`${(0,h.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`},transferListTitle:{marginBottom:(0,h.h)(5)},transferListSearch:{borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderTopLeftRadius:t?0:`calc(${o} - ${(0,h.h)(1)})`,borderTopRightRadius:t?`calc(${o} - ${(0,h.h)(1)})`:0,display:"block",borderBottomColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]},transferListControl:{borderTop:0,borderRightWidth:t?void 0:0,borderLeftWidth:t?0:void 0,borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4],"&:last-of-type":{borderTopLeftRadius:t?`calc(${o} - ${(0,h.h)(1)})`:0,borderTopRightRadius:t?0:`calc(${o} - ${(0,h.h)(1)})`},"&:disabled":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:"transparent",borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`${(0,h.h)(7)} ${(0,h.h)(12)}`},separatorLabel:{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}}));const dP={Prev:sP.lH,Next:sP.Tx,First:sP.wk,Last:sP.Kk},pP={Next:sP.lH,Prev:sP.Tx,Last:sP.wk,First:sP.Kk};function fP({className:e,data:t,onSelect:r,selection:n,itemComponent:o,listComponent:a,transferIcon:i,transferAllIcon:l,transferAllMatchingFilter:s,searchPlaceholder:u,query:d,onSearch:p,filter:f,nothingFound:m,placeholder:b,title:y,showTransferAll:g,reversed:v,onMoveAll:w,onMove:O,height:x,radius:k,classNames:S,styles:P,limit:E,unstyled:C,variant:j}){const{classes:N,cx:z,theme:I}=uP({reversed:v,native:a!==Zo,radius:k},{name:"TransferList",classNames:S,styles:P,unstyled:C,variant:j}),D=[],R=[],[L,_]=(0,c.useState)(-1),A=t.filter((e=>f(d,e))).slice(0,E),T=a||"div",$="rtl"===I.dir?pP:dP,M=(0,c.useRef)({}),F=Qn({data:A}),{scrollIntoView:B,targetRef:W,scrollableRef:H}=(0,xb.g)({duration:0,offset:5,cancelable:!1,isList:!0});let G=null;F.forEach(((e,t)=>{const a=c.createElement(ce.k,{unstyled:C,tabIndex:-1,onClick:()=>r(e.value),key:e.value,onMouseEnter:()=>_(t),className:z(N.transferListItem,{[N.transferListItemHovered]:t===L}),ref:t=>{M&&M.current&&(M.current[e.value]=t)}},c.createElement(o,{data:e,selected:n.includes(e.value),radius:k}));e.group?(G!==e.group&&(G=e.group,R.push(c.createElement("div",{className:N.separator,key:G},c.createElement(mo,{classNames:{label:N.separatorLabel},label:G})))),R.push(a)):D.push(a)})),R.length>0&&D.length>0&&D.unshift(c.createElement("div",{className:N.separator},c.createElement(mo,{unstyled:C,classNames:{label:N.separatorLabel}}
1)));const V=v?c.createElement($.Prev,{size:"1rem"}):c.createElement($.Next,{size:"1rem"}),Y=v?c.createElement($.First,{size:"1rem"}):c.createElement($.Last,{size:"1rem"});return c.createElement("div",{className:z(N.transferList,e)},y&&c.createElement(Dt.x,{weight:500,unstyled:C,className:N.transferListTitle},y),c.createElement("div",{className:N.transferListBody},c.createElement("div",{className:N.transferListHeader},c.createElement(gg.o,{unstyled:C,value:d,onChange:e=>{p(e.currentTarget.value),_(0)},onFocus:()=>_(0),onBlur:()=>_(-1),placeholder:u,radius:0,onKeyDown:e=>{switch(e.key){case"Enter":e.preventDefault(),A[L]&&r(A[L].value);break;case"ArrowDown":e.preventDefault(),_((e=>{var t;const r=e<A.length-1?e+1:e;return W.current=M.current[null==(t=A[r])?void 0:t.value],B({alignment:"end"}),r}));break;case"ArrowUp":e.preventDefault(),_((e=>{var t;const r=e>0?e-1:e;return W.current=M.current[null==(t=A[r])?void 0:t.value],B({alignment:"start"}),r}))}},sx:{flex:1},classNames:{input:N.transferListSearch}}),c.createElement(tt.A,{variant:"default",size:36,radius:0,className:N.transferListControl,disabled:0===n.length,onClick:O,unstyled:C},i?c.createElement(i,{reversed:v}):V),g&&c.createElement(tt.A,{variant:"default",size:36,radius:0,className:N.transferListControl,disabled:s?0===A.length:0===t.length,onClick:w,unstyled:C},l?c.createElement(l,{reversed:v}):Y)),c.createElement(T,{ref:H,onMouseLeave:()=>_(-1),className:N.transferListItems,style:{height:(0,h.h)(x),position:"relative",overflowX:"hidden"}},R.length>0||D.length>0?c.createElement(c.Fragment,null,R,D):c.createElement(Dt.x,{color:"dimmed",unstyled:C,size:"sm",align:"center",mt:"sm"},!d&&b?b:m))))}fP.displayName="@mantine/core/RenderList";const mP=c.memo((({data:e,selected:t,radius:r})=>c.createElement(ws.X,{checked:t,onChange:()=>{},label:e.label,tabIndex:-1,radius:r,sx:{pointerEvents:"none"}})));var bP=Object.defineProperty,yP=Object.defineProperties,gP=Object.getOwnPropertyDescriptors,hP=Object.getOwnPropertySymbols,vP=Object.prototype.hasOwnProperty,wP=Object.prototype.propertyIsEnumerable,OP=(e,t,r)=>t in e?bP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xP=(e,t)=>{for(var r in t||(t={}))vP.call(t,r)&&OP(e,r,t[r]);if(hP)for(var r of hP(t))wP.call(t,r)&&OP(e,r,t[r]);return e},kP=(e,t)=>yP(e,gP(t));const SP={itemComponent:mP,filter:function(e,t){return t.label.toLowerCase().trim().includes(e.toLowerCase().trim())},titles:[null,null],placeholder:[null,null],listHeight:150,listComponent:Zo,showTransferAll:!0,limit:1/0,transferAllMatchingFilter:!1},PP=(0,c.forwardRef)(((e,t)=>{const r=(0,s.N4)("TransferList",SP,e),{value:n,onChange:o,itemComponent:a,searchPlaceholder:i,searchValues:l,onSearch:u,filter:d,nothingFound:p,placeholder:f,titles:m,initialSelection:b,listHeight:y,listComponent:g,showTransferAll:h,breakpoint:v,radius:w,classNames:O,styles:x,limit:k,unstyled:S,transferIcon:P,transferAllIcon:E,variant:C,transferAllMatchingFilter:j}=r,N=((e,t)=>{var r={};for(var n in e)vP.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&hP)for(var n of hP(e))t.indexOf(n)<0&&wP.call(e,n)&&(r[n]=e[n]);return r})(r,["value","onChange","itemComponent","searchPlaceholder","searchValues","onSearch","filter","nothingFound","placeholder","titles","initialSelection","listHeight","listComponent","showTransferAll","breakpoint","radius","classNames","styles","limit","unstyled","transferIcon","transferAllIcon","variant","transferAllMatchingFilter"]),[z,I]=function(e=[[],[]]){const[t,r]=(0,c.useState)(e);return[t,{select:(e,t)=>r((r=>{const n=r[e];let o=n;"string"==typeof t&&(o=n.includes(t)?n.filter((e=>e!==t)):[...n,t]);const a=[...r];return a[e]=o,a})),deselect:(e,t)=>r((r=>{const n=[...r];return n[e]=r[e].filter((e=>!t.includes(e))),n})),deselectAll:e=>r((t=>{const r=[...t];return r[e]=[],r}))}]}(b),[D,L]=(0,R.C)({value:l,defaultValue:["",""],finalValue:["",""],onChange:u}),_=e=>{const t=Array(2),r=0===e?1:0;if(j){const o=D[e],a=n[e].filter((e=>d(o,e))).slice(0,k),i=n[e].filter((e=>!d(o,e)));t[e]=i,t[r]=[...n[r],...a]}else t[e]=[],t[r]=[...n[r],...n[e]];o(t),I.deselectAll(e)},A=e=>{const t=0===e?1:0,r=Array(2),a=n[e].reduce(((t,r)=>(z[e].includes(r.value)?t.current.push(r):t.filtered.push(r),t)),{filtered:[],current:[]}
1);r[e]=a.filtered,r[t]=[...a.current,...n[t]],o(r),I.deselectAll(e)},T=v?[{maxWidth:v,cols:1}]:[],$={itemComponent:a,listComponent:g,transferIcon:P,transferAllIcon:E,filter:d,height:y,showTransferAll:h,classNames:O,styles:x,limit:k,radius:w};return c.createElement(Bw.M,xP({cols:2,spacing:"xl",breakpoints:T,ref:t,unstyled:S},N),c.createElement(fP,kP(xP({},$),{data:n[0],selection:z[0],onSelect:e=>I.select(0,e),onMoveAll:()=>_(0),onMove:()=>A(0),title:m[0],placeholder:Array.isArray(f)?f[0]:f,searchPlaceholder:Array.isArray(i)?i[0]:i,nothingFound:Array.isArray(p)?p[0]:p,query:D[0],onSearch:e=>L([e,D[1]]),unstyled:S,variant:C,transferAllMatchingFilter:j})),c.createElement(fP,kP(xP({},$),{data:n[1],selection:z[1],onSelect:e=>I.select(1,e),onMoveAll:()=>_(1),onMove:()=>A(1),title:m[1],placeholder:Array.isArray(f)?f[1]:f,searchPlaceholder:Array.isArray(i)?i[1]:i,nothingFound:Array.isArray(p)?p[1]:p,query:D[1],onSearch:e=>L([D[0],e]),reversed:!0,unstyled:S,variant:C,transferAllMatchingFilter:j})))}));PP.displayName="@mantine/core/TransferList";var EP=r(19821)},42675:function(e,t,r){var n;r.d(t,{KK:function(){return G},NI:function(){return K},Qu:function(){return R},XI:function(){return N},YF:function(){return Y},bQ:function(){return H},e0:function(){return D},qs:function(){return V},tj:function(){return I}});var o=r(67294),a=(r(73935),r(37317)),i=r(57398),l="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;let s=!1,c=0;const u=()=>"floating-ui-"+c++;const d=(n||(n=r.t(o,2)))["useId".toString()]||function(){const[e,t]=o.useState((()=>s?u():void 0));return l((()=>{null==e&&t(u())}),[]),o.useEffect((()=>{s||(s=!0)}),[]),e};function p(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){e.set(t,(e.get(t)||[]).filter((e=>e!==r)))}}}const f=o.createContext(null),m=o.createContext(null),b=()=>{var e;return(null==(e=o.useContext(f))?void 0:e.id)||null},y=()=>o.useContext(m);function g(e){return(null==e?void 0:e.ownerDocument)||document}function h(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function v(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}function w(e){return g(e).defaultView||window}function O(e){return!!e&&e instanceof w(e).Element}function x(e){return!!e&&e instanceof w(e).HTMLElement}function k(e){if(0===e.mozInputSource&&e.isTrusted)return!0;const t=/Android/i;return(t.test(h())||t.test(v()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}function S(e){return 0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"!==e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail}function P(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function E(e){const t=(0,o.useRef)(e);return l((()=>{t.current=e})),t}const C="data-floating-ui-safe-polygon";function j(e,t,r){return r&&!P(r)?0:"number"==typeof e?e:null==e?void 0:e[t]}const N=function(e,t){let{enabled:r=!0,delay:n=0,handleClose:a=null,mouseOnly:i=!1,restMs:s=0,move:c=!0}=void 0===t?{}:t;const{open:u,onOpenChange:d,dataRef:p,events:f,elements:{domReference:m,floating:h},refs:v}=e,w=y(),x=b(),k=E(a),S=E(n),N=o.useRef(),z=o.useRef(),I=o.useRef(),D=o.useRef(),R=o.useRef(!0),L=o.useRef(!1),_=o.useRef((()=>{})),A=o.useCallback((()=>{var e;const t=null==(e=p.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[p]);o.useEffect((()=>{if(r)return f.on("dismiss",e),()=>{f.off("dismiss",e)};function e(){clearTimeout(z.current),clearTimeout(D.current),R.current=!0}}),[r,f]),o.useEffect((()=>{if(!r||!k.current||!u)return;function e(){A()&&d(!1)}const t=g(h).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[h,u,d,r,k,p,A]);const T=o.useCallback((function(e){void 0===e&&(e=!0);const t=j(S.current,"close",N.current);t&&!I.current?(clearTimeout(z.current),z.current=setTimeout((()=>d(!1)),t)):e&&(clearTimeout(z.current),d(!1))}),[S,d]),$=o.useCallback((()=>{_.current(),I.current=void 0}),[]),M=o.useCallback((()=>
1{if(L.current){const e=g(v.floating.current).body;e.style.pointerEvents="",e.removeAttribute(C),L.current=!1}}),[v]);return o.useEffect((()=>{if(r&&O(m)){const e=m;return u&&e.addEventListener("mouseleave",a),null==h||h.addEventListener("mouseleave",a),c&&e.addEventListener("mousemove",n,{once:!0}),e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",o),()=>{u&&e.removeEventListener("mouseleave",a),null==h||h.removeEventListener("mouseleave",a),c&&e.removeEventListener("mousemove",n),e.removeEventListener("mouseenter",n),e.removeEventListener("mouseleave",o)}}function t(){return!!p.current.openEvent&&["click","mousedown"].includes(p.current.openEvent.type)}function n(e){if(clearTimeout(z.current),R.current=!1,i&&!P(N.current)||s>0&&0===j(S.current,"open"))return;p.current.openEvent=e;const t=j(S.current,"open",N.current);t?z.current=setTimeout((()=>{d(!0)}),t):d(!0)}function o(r){if(t())return;_.current();const n=g(h);if(clearTimeout(D.current),k.current){u||clearTimeout(z.current),I.current=k.current({...e,tree:w,x:r.clientX,y:r.clientY,onClose(){M(),$(),T()}});const t=I.current;return n.addEventListener("mousemove",t),void(_.current=()=>{n.removeEventListener("mousemove",t)})}T()}function a(r){t()||null==k.current||k.current({...e,tree:w,x:r.clientX,y:r.clientY,onClose(){M(),$(),T()}})(r)}}),[m,h,r,e,i,s,c,T,$,M,d,u,w,S,k,p]),l((()=>{var e;if(r&&u&&null!=(e=k.current)&&e.__options.blockPointerEvents&&A()){const e=g(h).body;if(e.setAttribute(C,""),e.style.pointerEvents="none",L.current=!0,O(m)&&h){var t,n;const e=m,r=null==w||null==(t=w.nodesRef.current.find((e=>e.id===x)))||null==(n=t.context)?void 0:n.elements.floating;return r&&(r.style.pointerEvents=""),e.style.pointerEvents="auto",h.style.pointerEvents="auto",()=>{e.style.pointerEvents="",h.style.pointerEvents=""}}}}),[r,u,x,h,m,w,k,p,A]),l((()=>{u||(N.current=void 0,$(),M())}),[u,$,M]),o.useEffect((()=>()=>{$(),clearTimeout(z.current),clearTimeout(D.current),M()}),[r,$,M]),o.useMemo((()=>{if(!r)return{};function e(e){N.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(){u||0===s||(clearTimeout(D.current),D.current=setTimeout((()=>{R.current||d(!0)}),s))}},floating:{onMouseEnter(){clearTimeout(z.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),T(!1)}}}}),[f,r,s,u,d,T])},z=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),I=()=>o.useContext(z),D=e=>{let{children:t,delay:r,timeoutMs:n=0}=e;const[a,i]=o.useReducer(((e,t)=>({...e,...t})),{delay:r,timeoutMs:n,initialDelay:r,currentId:null,isInstantPhase:!1}),s=o.useRef(null),c=o.useCallback((e=>{i({currentId:e})}),[]);return l((()=>{a.currentId?null===s.current?s.current=a.currentId:i({isInstantPhase:!0}):(i({isInstantPhase:!1}),s.current=null)}),[a.currentId]),o.createElement(z.Provider,{value:o.useMemo((()=>({...a,setState:i,setCurrentId:c})),[a,i,c])},t)},R=(e,t)=>{let{open:r,onOpenChange:n}=e,{id:a}=t;const{currentId:i,setCurrentId:l,initialDelay:s,setState:c,timeoutMs:u}=I();o.useEffect((()=>
1{i&&(c({delay:{open:1,close:j(s,"close")}}),i!==a&&n(!1))}),[a,n,c,i,s]),o.useEffect((()=>{function e(){n(!1),c({delay:s,currentId:null})}if(!r&&i===a){if(u){const t=window.setTimeout(e,u);return()=>{clearTimeout(t)}}e()}}),[r,c,i,a,n,s,u]),o.useEffect((()=>{r&&l(a)}),[r,l,a])};function L(e){let t=e.activeElement;for(;null!=(null==(r=t)||null==(n=r.shadowRoot)?void 0:n.activeElement);){var r,n;t=t.shadowRoot.activeElement}return t}function _(e,t){if(!e||!t)return!1;const r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&(n=r,"undefined"!=typeof ShadowRoot&&(n instanceof w(n).ShadowRoot||n instanceof ShadowRoot))){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}var n;return!1}function A(e,t){let r=e.filter((e=>{var r;return e.parentId===t&&(null==(r=e.context)?void 0:r.open)}))||[],n=r;for(;n.length;)n=e.filter((e=>{var t;return null==(t=n)?void 0:t.some((t=>{var r;return e.parentId===t.id&&(null==(r=e.context)?void 0:r.open)}))}))||[],r=r.concat(n);return r}function T(e){return"composedPath"in e?e.composedPath()[0]:e.target}const $=(n||(n=r.t(o,2)))["useInsertionEffect".toString()]||(e=>e());function M(e){const t=o.useRef((()=>{0}));return $((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)}),[])}function F(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}const B={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},W={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},H=function(e,t){let{open:r,onOpenChange:n,events:i,nodeId:l,elements:{reference:s,domReference:c,floating:u},dataRef:d}=e,{enabled:p=!0,escapeKey:f=!0,outsidePress:m=!0,outsidePressEvent:h="pointerdown",referencePress:v=!1,referencePressEvent:w="pointerdown",ancestorScroll:P=!1,bubbles:E=!0}=void 0===t?{}:t;const C=y(),j=null!=b(),N=M("function"==typeof m?m:()=>!1),z="function"==typeof m?N:m,I=o.useRef(!1),{escapeKeyBubbles:D,outsidePressBubbles:R}=function(e){var t,r;return void 0===e&&(e=!0),{escapeKeyBubbles:"boolean"==typeof e?e:null==(t=e.escapeKey)||t,outsidePressBubbles:"boolean"==typeof e?e:null==(r=e.outsidePress)||r}}(E);return o.useEffect((()=>{if(!r||!p)return;function e(e){if("Escape"===e.key){const e=C?A(C.nodesRef.current,l):[];if(e.length>0){let t=!0;if(e.forEach((e=>{var r;null==(r=e.context)||!r.open||e.context.dataRef.current.__escapeKeyBubbles||(t=!1)})),!t)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1)}}function t(e){const t=I.current;if(I.current=!1,t)return;if("function"==typeof z&&!z(e))return;const r=T(e);if(x(r)&&u){const t=u.ownerDocument.defaultView||window,n=r.scrollWidth>r.clientWidth,o=r.scrollHeight>r.clientHeight;let a=o&&e.offsetX>r.clientWidth;if(o){"rtl"===t.getComputedStyle(r).direction&&(a=e.offsetX<=r.offsetWidth-r.clientWidth)}if(a||n&&e.offsetY>r.clientHeight)return}const o=C&&A(C.nodesRef.current,l).some((t=>{var r;return F(e,null==(r=t.context)?void 0:r.elements.floating)}));if(F(e,u)||F(e,c)||o)return;const a=C?A(C.nodesRef.current,l):[];if(a.length>0){let e=!0;if(a.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:j?{preventScroll:!0}:k(e)||S(e)}}),n(!1)}function o(){n(!1)}d.current.__escapeKeyBubbles=D,d.current.__outsidePressBubbles=R;const m=g(u);f&&m.addEventListener("keydown",e),z&&m.addEventListener(h,t);let b=[];return P&&(O(c)&&(b=(0,a.Kx)(c)),O(u)&&(b=b.concat((0,a.Kx)(u))),!O(s)&&s&&s.contextElement&&(b=b.concat((0,a.Kx)(s.contextElement)))),b=b.filter((e=>{var t;return e!==(null==(t=m.defaultView)?void 0:t.visualViewport)})),b.forEach((e=>{e.addEventListener("scroll",o,{passive:!0})})),()=>{f&&m.removeEventListener("keydown",e),z&&m.removeEventListener(h,t),b.forEach((e=>{e.removeEventListener("scroll",o)}))}}),[d,u,c,s,f,z,h,i,C,l,r,n,P,p,D,R,j]),o.useEffect((()=>{I.current=!1}),[z,h]),o.useMemo((()=>p?{reference:{[B[w]]:()=>{v&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1))}},floating:{[W[h]]:()=>{I.current=!0}}}:{}),[p,i,v,h,w,n])},G=function(e,t){let{open:r,onOpenChange:n,dataRef:a,events:i,refs:l,elements:{floating:s,domReference:c}}=e,{enabled:u=!0,keyboardOnly:d=!0}=void 0===t?{}:t;const p=o.useRef(""),f=o.useRef(!1),m=o.useRef();return o.useEffect((()=>
1{if(!u)return;const e=g(s).defaultView||window;function t(){!r&&x(c)&&c===L(g(c))&&(f.current=!0)}return e.addEventListener("blur",t),()=>{e.removeEventListener("blur",t)}}),[s,c,r,u]),o.useEffect((()=>{if(u)return i.on("dismiss",e),()=>{i.off("dismiss",e)};function e(e){"referencePress"!==e.type&&"escapeKey"!==e.type||(f.current=!0)}}),[i,u]),o.useEffect((()=>()=>{clearTimeout(m.current)}),[]),o.useMemo((()=>u?{reference:{onPointerDown(e){let{pointerType:t}=e;p.current=t,f.current=!(!t||!d)},onMouseLeave(){f.current=!1},onFocus(e){var t;f.current||"focus"===e.type&&"mousedown"===(null==(t=a.current.openEvent)?void 0:t.type)&&a.current.openEvent&&F(a.current.openEvent,c)||(a.current.openEvent=e.nativeEvent,n(!0))},onBlur(e){f.current=!1;const t=e.relatedTarget,r=O(t)&&t.hasAttribute("data-floating-ui-focus-guard")&&"outside"===t.getAttribute("data-type");m.current=setTimeout((()=>{_(l.floating.current,t)||_(c,t)||r||n(!1)}))}}}:{}),[u,d,c,l,a,n])};const V=function(e,t){let{open:r}=e,{enabled:n=!0,role:a="dialog"}=void 0===t?{}:t;const i=d(),l=d();return o.useMemo((()=>{const e={id:i,role:a};return n?"tooltip"===a?{reference:{"aria-describedby":r?i:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===a?"dialog":a,"aria-controls":r?i:void 0,..."listbox"===a&&{role:"combobox"},..."menu"===a&&{id:l}},floating:{...e,..."menu"===a&&{"aria-labelledby":l}}}:{}}),[n,a,r,i,l])};function Y(e){void 0===e&&(e={});const{open:t=!1,onOpenChange:r,nodeId:n}=e,a=(0,i.YF)(e),s=y(),c=o.useRef(null),u=o.useRef({}),d=o.useState((()=>p()))[0],[f,m]=o.useState(null),b=o.useCallback((e=>{const t=O(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;a.refs.setReference(t)}),[a.refs]),g=o.useCallback((e=>{(O(e)||null===e)&&(c.current=e,m(e)),(O(a.refs.reference.current)||null===a.refs.reference.current||null!==e&&!O(e))&&a.refs.setReference(e)}),[a.refs]),h=o.useMemo((()=>({...a.refs,setReference:g,setPositionReference:b,domReference:c})),[a.refs,g,b]),v=o.useMemo((()=>({...a.elements,domReference:f})),[a.elements,f]),w=M(r),x=o.useMemo((()=>({...a,refs:h,elements:v,dataRef:u,nodeId:n,events:d,open:t,onOpenChange:w})),[a,n,d,t,w,h,v]);return l((()=>{const e=null==s?void 0:s.nodesRef.current.find((e=>e.id===n));e&&(e.context=x)})),o.useMemo((()=>({...a,context:x,refs:h,reference:g,positionReference:b})),[a,h,x,g,b])}function Z(e,t,r){const n=new Map;return{..."floating"===r&&{tabIndex:-1},...e,...t.map((e=>e?e[r]:null)).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[r,o]=t;var a;0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof o&&(null==(a=n.get(r))||a.push(o),e[r]=function(){for(var e,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];null==(e=n.get(r))||e.forEach((e=>e(...o)))})):e[r]=o})),e):e),{})}}const K=function(e){void 0===e&&(e=[]);const t=e,r=o.useCallback((t=>Z(t,e,"reference")),t),n=o.useCallback((t=>Z(t,e,"floating")),t),a=o.useCallback((t=>Z(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return o.useMemo((()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:a})),[r,n,a])}},57398:function(e,t,r){r.d(t,{YF:function(){return u},x7:function(){return i}});var n=r(24750),o=r(67294),a=r(73935);const i=e=>{const{element:t,padding:r}=e;return{name:"arrow",options:e,fn(e){return o=t,Object.prototype.hasOwnProperty.call(o,"current")?null!=t.current?(0,n.x7)({element:t.current,padding:r}).fn(e):{}:t?(0,n.x7)({element:t,padding:r}).fn(e):{};var o}}};var l="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function s(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function c(e){const t=o.useRef(e);return l((()=>{t.current=e})),t}function u(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:u,whileElementsMounted:d,open:p}
1=e,[f,m]=o.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[b,y]=o.useState(i);s(b,i)||y(i);const g=o.useRef(null),h=o.useRef(null),v=o.useRef(f),w=c(d),O=c(u),[x,k]=o.useState(null),[S,P]=o.useState(null),E=o.useCallback((e=>{g.current!==e&&(g.current=e,k(e))}),[]),C=o.useCallback((e=>{h.current!==e&&(h.current=e,P(e))}),[]),j=o.useCallback((()=>{if(!g.current||!h.current)return;const e={placement:t,strategy:r,middleware:b};O.current&&(e.platform=O.current),(0,n.oo)(g.current,h.current,e).then((e=>{const t={...e,isPositioned:!0};N.current&&!s(v.current,t)&&(v.current=t,a.flushSync((()=>{m(t)})))}))}),[b,t,r,O]);l((()=>{!1===p&&v.current.isPositioned&&(v.current.isPositioned=!1,m((e=>({...e,isPositioned:!1}))))}),[p]);const N=o.useRef(!1);l((()=>(N.current=!0,()=>{N.current=!1})),[]),l((()=>{if(x&&S){if(w.current)return w.current(x,S,j);j()}}),[x,S,j,w]);const z=o.useMemo((()=>({reference:g,floating:h,setReference:E,setFloating:C})),[E,C]),I=o.useMemo((()=>({reference:x,floating:S})),[x,S]);return o.useMemo((()=>({...f,update:j,refs:z,elements:I,reference:E,floating:C})),[f,j,z,I,E,C])}},13316:function(e,t,r){r.d(t,{n:function(){return m}});var n=r(67294),o=r(70917),a=Object.defineProperty,i=Object.defineProperties,l=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&d(e,r,t[r]);if(s)for(var r of s(t))u.call(t,r)&&d(e,r,t[r]);return e},f=(e,t)=>i(e,l(t));function m({theme:e}){return n.createElement(o.Global,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:"dark"===e.colorScheme?"dark":"light"},body:f(p({},e.fn.fontStyles()),{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:e.lineHeight,fontSize:e.fontSizes.md,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})}})}},73623:function(e,t,r){r.d(t,{Me:function(){return A},N4:function(){return _},T1:function(){return L},O2:function(){return R},rZ:function(){return D}});var n=r(67294),o=r(17925),a=r(70917),i=r(91699),l=r(13316),s=r(2566);function c(e,t,r,n=s.h){Object.keys(t).forEach((o=>{e[`--mantine-${r}-${o}`]=n(t[o])}))}function u({theme:e}){const t={"--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-transition-timing-function":e.transitionTimingFunction,"--mantine-line-height":`${e.lineHeight}`,"--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}`};c(t,e.shadows,"shadow"),c(t,e.fontSizes,"font-size"),c(t,e.radius,"radius"),c(t,e.spacing,"spacing"),c(t,e.breakpoints,"breakpoints",s.em),Object.keys(e.colors).forEach((r=>{e.colors[r].forEach(((e,n)=>{t[`--mantine-color-${r}-${n}`]=e}))}));const r=e.headings.sizes;return Object.keys(r).forEach((e=>{t[`--mantine-${e}-font-size`]=r[e].fontSize,t[`--mantine-${e}-line-height`]=`${r[e].lineHeight}`})),n.createElement(a.Global,{styles:{":root":t}})}var d=r(68728),p=r(12681),f=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,w=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&v(e,r,t[r]);if(y)for(var r of y(t))h.call(t,r)&&v(e,r,t[r]);return e},O=(e,t)=>m(e,b(t));function x(e,t){return(0,d.P)(function(e,t){var r;if(!t)return e;const n=Object.keys(e).reduce(((r,n)=>{if("headings"===n&&t.headings){const n=t.headings.sizes?Object.keys(e.headings.sizes).reduce(((r,n)=>(r[n]=w(w({},e.headings.sizes[n]),t.headings.sizes[n]),r)),{}):e.headings.sizes;return O(w({},r),{headings:O(w(w({},e.headings),t.headings),{sizes:n})})}if("breakpoints"===n&&t.breakpoints){const n=w(w({},e.breakpoints),t.breakpoints);return O(w({},r),{breakpoints:Object.fromEntries(Object.entries(n).sort(((e,t)=>(0,p.oI)(e[1])-(0,p.oI)(t[1]))))})}return r[n]="object"==typeof t[n]?w(w({},e[n]),t[n]):"number"==typeof t[n]||"boolean"==typeof t[n]||"function"==typeof t[n]?t[n]:t[n]||e[n],r}),{});if((null==t?void 0:t.fontFamily)&&!(null==(r=null==t?void 0:t.headings)?void 0:r.fontFamily)&&(n.headings.fontFamily=t.fontFamily),!(n.primaryColor in n.colors))throw new Error("MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");return n}(e,t))}var k=r(67078),S=r(48470),P=Object.defineProperty,E=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,N=(e,t,r)=>t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,z=(e,t)=>{for(var r in t||(t={}))C.call(t,r)&&N(e,r,t[r]);if(E)for(var r of E(t))j.call(t,r)&&N(e,r,t[r]);return e};const I=(0,n.createContext)({theme:i.t0});function D(){var e;return(null==(e=(0,n.useContext)(I))?void 0:e.theme)||i.t0}function R(e){const t=D(),r=e=>{var r,n,o,a;return{styles:(null==(r=t.components[e])?void 0:r.styles)||{},classNames:(null==(n=t.components[e])?void 0:n.classNames)||{},variants:null==(o=t.components[e])?void 0:o.variants,sizes:null==(a=t.components[e])?void 0:a.sizes}};return Array.isArray(e)?e.map(r):[r(e)]}function L(){var e;return null==(e=(0,n.useContext)(I))?void 0:e.emotionCache}function _(e,t,r){var n;const o=D(),a=null==(n=o.components[e])?void 0:n.defaultProps,i="function"==typeof a?a(o):a;return z(z(z({},t),i),(0,k.L)(r))}function A({theme:e,emotionCache:t,withNormalizeCSS:r=!1,withGlobalStyles:s=!1,withCSSVariables:c=!1,inherit:d=!1,children:p}){const f=(0,n.useContext)(I),m=x(i.t0,d?z(z({},f.theme),e):e);return n.createElement(o.a,{theme:m},n.createElement(I.Provider,{value:{theme:m,emotionCache:t}},r&&n.createElement(S.r,null),s&&n.createElement(l.n,{theme:m}),c&&n.createElement(u,{theme:m}),"function"==typeof m.globalStyles&&n.createElement(a.Global,{styles:m.globalStyles(m)}),p))}A.displayName="@mantine/core/MantineProvider"},48470:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(67294),o=r(70917);const a={html:{fontFamily:"sans-serif",lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:0},"article, aside, footer, header, nav, section, figcaption, figure, main":{display:"block"},h1:{fontSize:"2em"},hr:{boxSizing:"content-box",height:0,overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{background:"transparent",textDecorationSkip:"objects"},"a:active, a:hover":{outlineWidth:0},"abbr[title]":{borderBottom:"none",textDecoration:"underline"},"b, strong":{fontWeight:"bolder"},"code, kbp, samp":{fontFamily:"monospace, monospace",fontSize:"1em"},dfn:{fontStyle:"italic"},mark:{backgroundColor:"#ff0",color:"#000"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sup:{top:"-0.5em"},sub:{bottom:"-0.25em"},"audio, video":{display:"inline-block"},"audio:not([controls])":{display:"none",height:0},img:{borderStyle:"none",verticalAlign:"middle"},"svg:not(:root)":{overflow:"hidden"},"button, input, optgroup, select, textarea":{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},"button, [type=reset], [type=submit]":{WebkitAppearance:"button"},"button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner":{borderStyle:"none",padding:0},"button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring":{outline:`${(0,r(2566).h)(1)} dotted ButtonText`},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},progress:{display:"inline-block",verticalAlign:"baseline"},textarea:{overflow:"auto"},"[type=checkbox], [type=radio]":{boxSizing:"border-box",padding:0},"[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button":{height:"auto"},"[type=search]":{appearance:"none"},"[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration":{appearance:"none"},"::-webkit-file-upload-button":{appearance:"button",font:"inherit"},"details, menu":{display:"block"},summary:{display:"list-item"},canvas:{display:"inline-block"},template:{display:"none"}};function i(){return n.createElement(o.Global,{styles:a})}},91699:function(e,t,r){r.d(t,{t0:function(){return s},As:function(){return a},j1:function(){return i}});const n={dark:["#C1C2C5","#A6A7AB","#909296","#5c5f66","#373A40","#2C2E33","#25262b","#1A1B1E","#141517","#101113"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]};var o=r(68728);const a=Object.keys(n),i=["xs","sm","md","lg","xl"],l={dir:"ltr",primaryShade:{light:6,dark:8},focusRing:"auto",loader:"oval",colorScheme:"light",white:"#fff",black:"#000",defaultRadius:"sm",transitionTimingFunction:"ease",colors:n,lineHeight:1.55,fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",primaryColor:"blue",respectReducedMotion:!0,cursorType:"default",defaultGradient:{from:"indigo",to:"cyan",deg:45},shadows:{xs:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1)",sm:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 0.625rem 0.9375rem -0.3125rem, rgba(0, 0, 0, 0.04) 0 0.4375rem 0.4375rem -0.3125rem",md:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 1.25rem 1.5625rem -0.3125rem, rgba(0, 0, 0, 0.04) 0 0.625rem 0.625rem -0.3125rem",lg:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 1.75rem 1.4375rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 0.75rem 0.75rem -0.4375rem",xl:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem"},radius:{xs:"0.125rem",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"2rem"},spacing:{xs:"0.625rem",sm:"0.75rem",md:"1rem",lg:"1.25rem",xl:"1.5rem"},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},headings:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontWeight:700,sizes:{h1:{fontSize:"2.125rem",lineHeight:1.3,fontWeight:void 0},h2:{fontSize:"1.625rem",lineHeight:1.35,fontWeight:void 0},h3:{fontSize:"1.375rem",lineHeight:1.4,fontWeight:void 0},h4:{fontSize:"1.125rem",lineHeight:1.45,fontWeight:void 0},h5:{fontSize:"1rem",lineHeight:1.5,fontWeight:void 0},h6:{fontSize:"0.875rem",lineHeight:1.5,fontWeight:void 0}}},other:{},components:{},activeStyles:{transform:"translateY(0.0625rem)"},datesLocale:"en",globalStyles:void 0,focusRingStyles:{styles:e=>({outlineOffset:"0.125rem",outline:`0.125rem solid ${e.colors[e.primaryColor]["dark"===e.colorScheme?7:5]}`}),resetStyles:()=>({outline:"none"}),inputStyles:e=>({outline:"none",borderColor:e.colors[e.primaryColor]["object"==typeof e.primaryShade?e.primaryShade[e.colorScheme]:e.primaryShade]})}},s=(0,o.P)(l)},68728:function(e,t,r){r.d(t,{P:function(){return C}});var n=Object.defineProperty,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,l=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,s=(e,t)=>{for(var r in t||(t={}))a.call(t,r)&&l(e,r,t[r]);if(o)for(var r of o(t))i.call(t,r)&&l(e,r,t[r]);return e};function c(e){return t=>"number"==typeof e.primaryShade?e.primaryShade:e.primaryShade[t||e.colorScheme]}function u(e){const t=c(e);return(r,n,o=!0,a=!0)=>
1{if("string"==typeof r&&r.includes(".")){const[t,o]=r.split("."),i=parseInt(o,10);if(t in e.colors&&i>=0&&i<10)return e.colors[t]["number"!=typeof n||a?i:n]}const i="number"==typeof n?n:t();return r in e.colors?e.colors[r][i]:o?e.colors[e.primaryColor][i]:r}}function d(e){let t="";for(let r=1;r<e.length-1;r+=1)t+=`${e[r]} ${r/(e.length-1)*100}%, `;return`${e[0]} 0%, ${t}${e[e.length-1]} 100%`}function p(e){const t=u(e),r=c(e);return n=>{const o={from:(null==n?void 0:n.from)||e.defaultGradient.from,to:(null==n?void 0:n.to)||e.defaultGradient.to,deg:(null==n?void 0:n.deg)||e.defaultGradient.deg};return`linear-gradient(${o.deg}deg, ${t(o.from,r(),!1)} 0%, ${t(o.to,r(),!1)} 100%)`}}var f=r(12681);function m(e){return/^#?([0-9A-F]{3}){1,2}$/i.test(e)?function(e){let t=e.replace("#","");if(3===t.length){const e=t.split("");t=[e[0],e[0],e[1],e[1],e[2],e[2]].join("")}const r=parseInt(t,16);return{r:r>>16&255,g:r>>8&255,b:255&r,a:1}}(e):e.startsWith("rgb")?function(e){const[t,r,n,o]=e.replace(/[^0-9,.]/g,"").split(",").map(Number);return{r:t,g:r,b:n,a:o||1}}(e):{r:0,g:0,b:0,a:1}}function b(e,t){if("string"!=typeof e||t>1||t<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var(--"))return e;const{r:r,g:n,b:o}=m(e);return`rgba(${r}, ${n}, ${o}, ${t})`}var y=r(2566);const g={fontStyles:function(e){return()=>({fontFamily:e.fontFamily||"sans-serif"})},themeColor:u,focusStyles:function(e){return t=>({WebkitTapHighlightColor:"transparent",[t||"&:focus"]:s({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),[t?t.replace(":focus",":focus:not(:focus-visible)"):"&:focus:not(:focus-visible)"]:s({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)})},linearGradient:function(e,...t){return`linear-gradient(${e}deg, ${d(t)})`},radialGradient:function(...e){return`radial-gradient(circle, ${d(e)})`},smallerThan:f.I4,largerThan:f.u4,rgba:b,cover:function(e=0){return{position:"absolute",top:(0,y.h)(e),right:(0,y.h)(e),left:(0,y.h)(e),bottom:(0,y.h)(e)}},darken:function(e,t){if("string"==typeof e&&e.startsWith("var(--"))return e;const{r:r,g:n,b:o,a:a}=m(e),i=1-t,l=e=>Math.round(e*i);return`rgba(${l(r)}, ${l(n)}, ${l(o)}, ${a})`},lighten:function(e,t){if("string"==typeof e&&e.startsWith("var(--"))return e;const{r:r,g:n,b:o,a:a}=m(e),i=e=>Math.round(e+(255-e)*t);return`rgba(${i(r)}, ${i(n)}, ${i(o)}, ${a})`},radius:function(e){return t=>{if("number"==typeof t)return(0,y.h)(t);const r="number"==typeof e.defaultRadius?e.defaultRadius:e.radius[e.defaultRadius]||e.defaultRadius;return e.radius[t]||t||r}},variant:function(e){const t=u(e),r=c(e),n=p(e);return({variant:o,color:a,gradient:i,primaryFallback:l})=>{const s=function(e,t){if("string"==typeof e&&e.includes(".")){const[r,n]=e.split("."),o=parseInt(n,10);if(r in t.colors&&o>=0&&o<10)return{isSplittedColor:!0,key:r,shade:o}}return{isSplittedColor:!1}}(a,e);switch(o){case"light":return{border:"transparent",background:b(t(a,"dark"===e.colorScheme?8:0,l,!1),"dark"===e.colorScheme?.2:1),color:"dark"===a?"dark"===e.colorScheme?e.colors.dark[0]:e.colors.dark[9]:t(a,"dark"===e.colorScheme?2:r("light")),hover:b(t(a,"dark"===e.colorScheme?7:1,l,!1),"dark"===e.colorScheme?.25:.65)};case"subtle":return{border:"transparent",background:"transparent",color:"dark"===a?"dark"===e.colorScheme?e.colors.dark[0]:e.colors.dark[9]:t(a,"dark"===e.colorScheme?2:r("light")),hover:b(t(a,"dark"===e.colorScheme?8:0,l,!1),"dark"===e.colorScheme?.2:1)};case"outline":return{border:t(a,"dark"===e.colorScheme?5:r("light")),background:"transparent",color:t(a,"dark"===e.colorScheme?5:r("light")),hover:"dark"===e.colorScheme?b(t(a,5,l,!1),.05):b(t(a,0,l,!1),.35)};case"default":return{border:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4],background:"dark"===e.colorScheme?e.colors.dark[6]:e.white,color:"dark"===e.colorScheme?e.white:e.black,hover:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]};case"white":return{border:"transparent",background:e.white,color:t(a,r()),hover:null};case"transparent":return{border:"transparent",color:"dark"===a?"dark"===e.colorScheme?e.colors.dark[0]:e.colors.dark[9]:t(a,"dark"===e.colorScheme?2:r("light")),background:"transparent",hover:null};case"gradient":return{background:n(i),color:e.white,border:"transparent",hover:null};default:{const n=r(),o=s.isSplittedColor?s.shade:n,i=s.isSplittedColor?s.key:a;return{border:"transparent",background:t(i,o,l),color:e.white,hover:t(i,9===o?8:o+1)}}}}},primaryShade:c,hover:function(e){return{"@media (hover: hover)":{"&:hover":e},"@media (hover: none)":{"&:active":e}}},gradient:p,primaryColor:function(e){return t=>{const r=c(e)(t);return e.colors[e.primaryColor][r]}},placeholderStyles:function(e){return()=>({userSelect:"none",color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]})},dimmed:function(e){return()=>"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]}};var h=Object.defineProperty,v=Object.defineProperties,w=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,S=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))x.call(t,r)&&S(e,r,t[r]);if(O)for(var r of O(t))k.call(t,r)&&S(e,r,t[r]);return e},E=(e,t)=>v(e,w(t));function C(e){return E(P({},e),{fn:{fontStyles:g.fontStyles(e),themeColor:g.themeColor(e),focusStyles:g.focusStyles(e),largerThan:g.largerThan(e),smallerThan:g.smallerThan(e),radialGradient:g.radialGradient,linearGradient:g.linearGradient,gradient:g.gradient(e),rgba:g.rgba,cover:g.cover,lighten:g.lighten,darken:g.dar
1ken,primaryShade:g.primaryShade(e),radius:g.radius(e),variant:g.variant(e),hover:g.hover,primaryColor:g.primaryColor(e),placeholderStyles:g.placeholderStyles(e),dimmed:g.dimmed(e)}})}},12681:function(e,t,r){r.d(t,{I4:function(){return l},oI:function(){return a},u4:function(){return i}});var n=r(2566),o=r(21434);function a(e){return"number"==typeof e?e:"string"==typeof e&&e.includes("rem")?16*Number(e.replace("rem","")):"string"==typeof e&&e.includes("em")?16*Number(e.replace("em","")):Number(e)}function i(e){return t=>`@media (min-width: ${(0,n.em)(a((0,o.a)({size:t,sizes:e.breakpoints})))})`}function l(e){return t=>`@media (max-width: ${(0,n.em)(a((0,o.a)({size:t,sizes:e.breakpoints}))-1)})`}},67078:function(e,t,r){function n(e){return Object.keys(e).reduce(((t,r)=>(void 0!==e[r]&&(t[r]=e[r]),t)),{})}r.d(t,{L:function(){return n}})},58332:function(e,t,r){r.d(t,{w:function(){return o}});const n={app:100,modal:200,popover:300,overlay:400,max:9999};function o(e){return n[e]}},21434:function(e,t,r){r.d(t,{a:function(){return o}});var n=r(2566);function o({size:e,sizes:t,units:r}){return e in t?t[e]:"number"==typeof e?"em"===r?(0,n.em)(e):(0,n.h)(e):e||t.md}},41219:function(e,t,r){function n(e){return"number"==typeof e?e:"string"==typeof e?e.includes("px")?Number(e.replace("px","")):e.includes("rem")?16*Number(e.replace("rem","")):Number(e):NaN}r.d(t,{px:function(){return n}})},2566:function(e,t,r){function n(e){return t=>{if("number"==typeof t)return`${t/16}${e}`;if("string"==typeof t){const r=t.replace("px","");if(!Number.isNaN(Number(r)))return`${Number(r)/16}${e}`}return t}}r.d(t,{em:function(){return a},h:function(){return o}});const o=n("rem"),a=n("em")},71485:function(e,t,r){r.d(t,{k:function(){return m}});var n=r(59638),o=r(73623);function a({cx:e,classes:t,context:r,classNames:n,name:o,cache:a}){const i=r.reduce(((e,t)=>(Object.keys(t.classNames).forEach((r=>{"string"!=typeof e[r]?e[r]=`${t.classNames[r]}`:e[r]=`${e[r]} ${t.classNames[r]}`})),e)),{});return Object.keys(t).reduce(((r,l)=>
1(r[l]=e(t[l],i[l],null!=n&&n[l],Array.isArray(o)?o.filter(Boolean).map((e=>`${(null==a?void 0:a.key)||"mantine"}-${e}-${l}`)).join(" "):o?`${(null==a?void 0:a.key)||"mantine"}-${o}-${l}`:null),r)),{})}var i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))s.call(t,r)&&u(e,r,t[r]);if(l)for(var r of l(t))c.call(t,r)&&u(e,r,t[r]);return e};function p(e,t){return t&&Object.keys(t).forEach((r=>{e[r]?e[r]=d(d({},e[r]),t[r]):e[r]=d({},t[r])})),e}function f(e,t,r,n){const o=e=>"function"==typeof e?e(t,r||{},n):e||{};return Array.isArray(e)?e.map((e=>o(e.styles))).reduce(((e,t)=>p(e,t)),{}):o(e)}function m(e){const t="function"==typeof e?e:()=>e;return function(e,r){const i=(0,o.rZ)(),l=(0,o.O2)(null==r?void 0:r.name),s=(0,o.T1)(),c={variant:null==r?void 0:r.variant,size:null==r?void 0:r.size},{css:u,cx:d}=(0,n.Z)(),m=t(i,e,c),b=f(null==r?void 0:r.styles,i,e,c),y=f(l,i,e,c),g=function({ctx:e,theme:t,params:r,variant:n,size:o}){return e.reduce(((e,a)=>(a.variants&&n in a.variants&&p(e,a.variants[n](t,r,{variant:n,size:o})),a.sizes&&o in a.sizes&&p(e,a.sizes[o](t,r,{variant:n,size:o})),e)),{})}({ctx:l,theme:i,params:e,variant:null==r?void 0:r.variant,size:null==r?void 0:r.size}),h=Object.fromEntries(Object.keys(m).map((e=>[e,d({[u(m[e])]:!(null==r?void 0:r.unstyled)},u(g[e]),u(y[e]),u(b[e]))])));return{classes:a({cx:d,classes:h,context:l,classNames:null==r?void 0:r.classNames,name:null==r?void 0:r.name,cache:s}),cx:d,theme:i}}}},694:function(e,t,r){r.d(t,{w:function(){return n}});const n=(0,r(69087).Z)({key:"mantine",prepend:!0})},6483:function(e,t,r){function n(e){return`___ref-${e||""}`}r.d(t,{A:function(){return n}})},59638:function(e,t,r){r.d(t,{Z:function(){return y}});
1var n=r(64143),o=r(85662),a=r(70444),i=r(67294);var l=r(81471),s=Object.defineProperty,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e};const m="ref";const{cssFactory:b}={cssFactory:function(e){const{cache:t}=e,r=(...e)=>{const{ref:r,args:n}=function(e){let t;if(1!==e.length)return{args:e,ref:t};const[r]=e;if(!(r instanceof Object))return{args:e,ref:t};if(!(m in r))return{args:e,ref:t};t=r[m];const n=f({},r);return delete n[m],{args:[n],ref:t}}(e),i=(0,o.O)(n,t.registered);return(0,a.My)(t,i,!1),`${t.key}-${i.name}${void 0===r?"":` ${r}`}`};return{css:r,cx:(...e)=>function(e,t,r){const n=[],o=(0,a.fp)(e,n,r);return n.length<2?r:o+t(n)}(t.registered,r,(0,n.Z)(e))}}};function y(){const e=(0,l.S)();return function(e,t){const r=(0,i.useRef)();return(!r.current||t.length!==r.current.prevDeps.length||r.current.prevDeps.map(((e,r)=>e===t[r])).indexOf(!1)>=0)&&(r.current={v:e(),prevDeps:[...t]}),r.current.v}((()=>b({cache:e})),[e])}},81471:function(e,t,r){r.d(t,{S:function(){return a}});var n=r(694),o=r(73623);function a(){return(0,o.T1)()||n.w}},47828:function(e,t,r){function n(e,t){return r=>{null==e||e(r),null==t||t(r)}}r.d(t,{x:function(){return n}})},74574:function(e,t,r){function n(e){return e}r.d(t,{F:function(){return n}})},10542:function(e,t,r){r.d(t,{R:function(){return o}});var n=r(67294);function o(e){const t=(0,n.createContext)(null);return[({children:e,value:r})=>n.createElement(t.Provider,{value:r},e),()=>{const r=(0,n.useContext)(t);if(null===r)throw new Error(e);return r}]}},38078:function(e,t,r){r.d(t,{R:function(){return o}});var n=r(37764);function o({parentSelector:e,siblingSelector:t,onKeyDown:r,loop:o=!0,activateOnFocus:a=!1,dir:i="rtl",orientation:l}){return s=>{var c;null==r||r(s);const u=Array.from((null==(c=(0,n.p)(s.currentTarget,e))?void 0:c.querySelectorAll(t))||[]).filter((t=>function(e,t,r){return(0,n.p)(e,r)===(0,n.p)(t,r)}(s.currentTarget,t,e))),d=u.findIndex((e=>s.currentTarget===e)),p=function(e,t,r){for(let r=e+1;r<t.length;r+=1)if(!t[r].disabled)return r;if(r)for(let e=0;e<t.length;e+=1)if(!t[e].disabled)return e;return e}(d,u,o),f=function(e,t,r){for(let r=e-1;r>=0;r-=1)if(!t[r].disabled)return r;if(r)for(let e=t.length-1;e>-1;e-=1)if(!t[e].disabled)return e;return e}(d,u,o),m="rtl"===i?f:p,b="rtl"===i?p:f;switch(s.key){case"ArrowRight":"horizontal"===l&&(s.stopPropagation(),s.preventDefault(),u[m].focus(),a&&u[m].click());break;case"ArrowLeft":"horizontal"===l&&(s.stopPropagation(),s.preventDefault(),u[b].focus(),a&&u[b].click());break;case"ArrowUp":"vertical"===l&&(s.stopPropagation(),s.preventDefault(),u[f].focus(),a&&u[f].click());break;case"ArrowDown":"vertical"===l&&(s.stopPropagation(),s.preventDefault(),u[p].focus(),a&&u[p].click());break;case"Home":s.stopPropagation(),s.preventDefault(),!u[0].disabled&&u[0].focus();break;case"End":{s.stopPropagation(),s.preventDefault();const e=u.length-1;!u[e].disabled&&u[e].focus();break}}}}},37764:function(e,t,r){function n(e,t){let r=e;for(;(r=r.parentElement)&&!r.matches(t););return r}r.d(t,{p:function(){return n}})},31986:function(e,t,r){function n(e,t){return r=>{if("string"!=typeof r||0===r.trim().length)throw new Error(t);return`${e}-${r}`}}r.d(t,{A:function(){return n}})},36883:function(e,t,r){r.d(t,{k:function(){return o}});var n=r(67294);function o(e){return!Array.isArray(e)&&null!==e&&("object"==typeof e&&e.type!==n.Fragment)}},43185:function(e,t,r){r.d(t,{Z:function(){return n}});const n=()=>{}},63706:function(e,t,r){function n(e){return Array.isArray(e)?e:[e]}r.d(t,{R:function(){return n}})},64143:function(e,t,r){function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}r.d(t,{Z:function(){return o}})},45555:function(e,t,r){r.r(t),r.d(t,{Calendar:function(){return on},CalendarHeader:function(){return U},DATES_PROVIDER_DEFAULT_SETTINGS:function(){return de},DateInput:function(){return Nn},DatePicker:function(){return Bn},DatePickerInput:function(){return mo},DateTimePicker:function(){return Ho}
1,DatesProvider:function(){return fe},Day:function(){return Ve},DecadeLevel:function(){return Hr},DecadeLevelGroup:function(){return qr},HiddenDatesInput:function(){return gn},Month:function(){return dt},MonthLevel:function(){return vt},MonthLevelGroup:function(){return jt},MonthPicker:function(){return Xo},MonthPickerInput:function(){return la},MonthsList:function(){return ar},PickerControl:function(){return Ut},PickerInputBase:function(){return no},TimeInput:function(){return Io},WeekdaysRow:function(){return et},YearLevel:function(){return fr},YearLevelGroup:function(){return wr},YearPicker:function(){return ba},YearPickerInput:function(){return Pa},YearsList:function(){return _r},getEndOfWeek:function(){return Pe},getMonthDays:function(){return Ee},getStartOfWeek:function(){return Se},getWeekdayNames:function(){return Ye},isSameMonth:function(){return Ce},pickCalendarProps:function(){return un},useDatesContext:function(){return ke}});var n=r(67294),o=r(73623),a=r(64523),i=r(34736),l=r(56057),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))f.call(t,r)&&m(e,r,t[r]);return e},y=(e,t)=>c(e,u(t)),g=(e,t)=>{var r={};for(var n in e)p.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))t.indexOf(n)<0&&f.call(e,n)&&(r[n]=e[n]);return r};function h(e){var t=e,{direction:r,style:a}=t,i=g(t,["direction","style"]);const s=(0,o.rZ)();return n.createElement(l.D,y(b({},i),{style:y(b({},a),{transform:"next"===r&&"ltr"===s.dir||"previous"===r&&"rtl"===s.dir?"rotate(270deg)":"rotate(90deg)"})}))}h.displayName="@mantine/dates/Chevron";var v=r(71485),w=r(21434),O=r(2566),x=Object.defineProperty,k=Object.defineProperties,S=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&j(e,r,t[r]);if(P)for(var r of P(t))C.call(t,r)&&j(e,r,t[r]);return e},z=(e,t)=>k(e,S(t));const I={xs:(0,O.h)(30),sm:(0,O.h)(36),md:(0,O.h)(42),lg:(0,O.h)(48),xl:(0,O.h)(54)};var D=(0,v.k)(((e,{radius:t,isStatic:r},{size:n})=>{const o=e.fn.variant({variant:"filled"}),a=e.fn.variant({variant:"light"});return{day:z(N({width:(0,w.a)({size:n,sizes:I}),height:(0,w.a)({size:n,sizes:I}),fontSize:(0,w.a)({size:n,sizes:e.fontSizes}),display:"inline-flex",justifyContent:"center",alignItems:"center",userSelect:r?void 0:"none",cursor:r?"default":"pointer",borderRadius:e.fn.radius(t)},r?null:e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),{"&:active":r?void 0:e.activeStyles,"&[data-disabled]":z(N({color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4],cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"})),{"&:active":{transform:"none"}}),"&[data-weekend]":{color:e.colors.red[e.fn.primaryShade()]},"&[data-outside]":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]},"&[data-in-range]":N({backgroundColor:a.background,borderRadius:0},r?null:e.fn.hover({backgroundColor:a.hover})),"&[data-first-in-range]":{borderTopLeftRadius:e.radius.sm,borderBottomLeftRadius:e.radius.sm},"&[data-last-in-range]":{borderTopRightRadius:e.radius.sm,borderBottomRightRadius:e.radius.sm},"&[data-selected]":N({color:o.color,backgroundColor:o.background},r?null:e.fn.hover({backgroundColor:o.hover})),"&[data-hidden]":{display:"none"}})}})),R=Object.defineProperty,L=Object.defineProperties,_=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,M=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t)=>{for(var r in t||(t={}))T.call(t,r)&&M(e,r,t[r]);if(A)for(var r of A(t))$.call(t,r)&&M(e,r,t[r]);return e},B=(e,t)=>L(e,_(t)),W=(0,v.k)(((e,t,{size:r})=>{const n=(0,w.a)({size:r,sizes:I});return{calendarHeaderControlIcon:{},calendarHeader:{display:"flex",maxWidth:`calc(${n} * 7 + ${(0,O.h)(7)})`},calendarHeaderControl:B(F({width:n,height:n,borderRadius:e.fn.radius(),display:"flex",justifyContent:"center",alignItems:"center",userSelect:"none"},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),{"&:active":e.activeStyles,"&[data-disabled]":B(F({opacity:.2,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"})),{"&:active":{transform:"none"}})}),calendarHeaderLevel:B(F({height:n,borderRadius:e.fn.radius(),display:"flex",justifyContent:"center",alignItems:"center",userSelect:"none",flex:1,fontSize:(0,w.a)({size:r,sizes:e.fontSizes}),fontWeight:500,textTransform:"capitalize"},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]}
1)),{"&:active":e.activeStyles,"&[data-static]":B(F({cursor:"default",userSelect:"unset"},e.fn.hover({backgroundColor:"transparent"})),{"&:active":{transform:"none"}})})}})),H=Object.defineProperty,G=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,Z=(e,t,r)=>t in e?H(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const K={nextDisabled:!1,previousDisabled:!1,hasNextLevel:!0,withNext:!0,withPrevious:!0,size:"sm"},U=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("CalendarHeader",K,e),{className:l,nextIcon:s,previousIcon:c,nextLabel:u,previousLabel:d,onNext:p,onPrevious:f,onLevelClick:m,label:b,classNames:y,styles:g,unstyled:v,nextDisabled:w,previousDisabled:O,hasNextLevel:x,levelControlAriaLabel:k,withNext:S,withPrevious:P,__staticSelector:E,__preventFocus:C,__stopPropagation:j,size:N,variant:z}=r,I=((e,t)=>{var r={};for(var n in e)V.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&G)for(var n of G(e))t.indexOf(n)<0&&Y.call(e,n)&&(r[n]=e[n]);return r})(r,["className","nextIcon","previousIcon","nextLabel","previousLabel","onNext","onPrevious","onLevelClick","label","classNames","styles","unstyled","nextDisabled","previousDisabled","hasNextLevel","levelControlAriaLabel","withNext","withPrevious","__staticSelector","__preventFocus","__stopPropagation","size","variant"]),{classes:D,cx:R}=W(null,{name:["CalendarHeader",E],classNames:y,styles:g,unstyled:v,size:N,variant:z}),L=C?e=>e.preventDefault():void 0;return n.createElement(a.x,((e,t)=>{for(var r in t||(t={}))V.call(t,r)&&Z(e,r,t[r]);if(G)for(var r of G(t))Y.call(t,r)&&Z(e,r,t[r]);return e})({className:R(D.calendarHeader,l),ref:t},I),P&&n.createElement(i.k,{className:D.calendarHeaderControl,"data-previous":!0,"aria-label":d,onClick:f,unstyled:v,onMouseDown:L,disabled:O,"data-disabled":O||void 0,tabIndex:C?-1:0,"data-mantine-stop-propagation":j||void 0},c||n.createElement(h,{className:D.calendarHeaderControlIcon,direction:"previous","data-previous":!0})),n.createElement(i.k,{component:x?"button":"div",className:D.calendarHeaderLevel,onClick:x?m:void 0,unstyled:v,onMouseDown:x?L:void 0,disabled:!x,"data-static":!x||void 0,"aria-label":k,tabIndex:C||!x?-1:0,"data-mantine-stop-propagation":j||void 0},b),S&&n.createElement(i.k,{className:D.calendarHeaderControl,"data-next":!0,"aria-label":u,onClick:p,unstyled:v,onMouseDown:L,disabled:w,"data-disabled":w||void 0,tabIndex:C?-1:0,"data-mantine-stop-propagation":j||void 0},s||n.createElement(h,{className:D.calendarHeaderControlIcon,direction:"next","data-next":!0})))}));U.displayName="@mantine/dates/CalendarHeader";var q=r(27484),X=r.n(q),J=r(15851),Q=r(9276);function ee(e,t){return e?"month"===e?0:"year"===e?1:2:t}function te(e,t,r){return 0===(n=(0,Q.u)(ee(e,0),ee(t,0),ee(r,2)))?"month":1===n?"year":"decade";var n}var re=(0,v.k)((()=>({calendar:{}}))),ne=(0,v.k)(((e,t,{size:r})=>({monthLevelGroup:{display:"flex","& [data-month-level]:not(:last-of-type)":{marginRight:(0,w.a)({size:r,sizes:e.spacing})}}}))),oe=(0,v.k)((e=>({monthLevel:{},calendarHeader:{marginBottom:e.spacing.xs}}))),ae=Object.defineProperty,ie=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(e,t,r)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ue=(e,t)=>{for(var r in t||(t={}))le.call(t,r)&&ce(e,r,t[r]);if(ie)for(var r of ie(t))se.call(t,r)&&ce(e,r,t[r]);return e};const de={locale:"en",firstDayOfWeek:1,weekendDays:[0,6],labelSeparator:"–"},pe=(0,n.createContext)(de);function fe({settings:e,children:t}){return n.createElement(pe.Provider,{value:ue(ue({},de),e)},t)}var me=Object.defineProperty,be=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(e,t,r)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Oe=(e,t)=>{for(var r in t||(t={}))he.call(t,r)&&we(e,r,t[r]);if(ge)for(var r of ge(t))ve.call(t,r)&&we(e,r,t[r]);return e},xe=(e,t)=>be(e,ye(t));function ke(){const e=(0,n.useContext)(pe),t=(0,n.useCallback)((t=>t||e.locale),[e.locale]),r=(0,n.useCallback)((t=>"number"==typeof t?t:e.firstDayOfWeek),[e.firstDayOfWeek]),o=(0,n.useCallback)((t=>Array.isArray(t)?t:e.weekendDays),[e.weekendDays]),a=(0,n.useCallback)((t=>"string"==typeof t?t:e.labelSeparator),[e.labelSeparator]);return xe(Oe({},e),{getLocale:t,getFirstDayOfWeek:r,getWeekendDays:o,getLabelSeparator:a})}function Se(e,t=1){const r=new Date(e);for(;r.getDay()!==t;)r.setDate(r.getDate()-1);return r}function Pe(e,t=1){const r=new Date(e),n=0===t?6:t-1;for(;r.getDay()!==n;)r.setDate(r.getDate()+1);return r}function Ee(e,t=1){const r=e.getMonth(),n=new Date(e.getFullYear(),r,1),o=Pe(new Date(e.getFullYear(),e.getMonth()+1,0),t),a=Se(n,t),i=[];for(;a<=o;){const e=[];for(let t=0;t<7;t+=1)e.push(new Date(a)),a.setDate(a.getDate()+1);i.push(e)}return i}function Ce(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function je(e,t){return!(t instanceof Date)||X()(e).isBefore(X()(t).add(1,"day"),"day")}function Ne(e,t){return!(t instanceof Date)||X()(e).isAfter(X()(t).subtract(1,"day"),"day")}var ze=Object.defineProperty,Ie=Object.defineProperties,De=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ae=(e,t,r)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Te=(e,t)=>
1{for(var r in t||(t={}))Le.call(t,r)&&Ae(e,r,t[r]);if(Re)for(var r of Re(t))_e.call(t,r)&&Ae(e,r,t[r]);return e},$e=(0,v.k)((e=>{return{monthThead:{},monthRow:{},monthTbody:{},monthCell:{padding:0,"&[data-with-spacing]":{padding:(0,O.h)(.5)}},month:(t=Te({},e.fn.fontStyles()),r={borderCollapse:"collapse",tableLayout:"fixed","& *":{boxSizing:"border-box"}},Ie(t,De(r)))};var t,r}));var Me=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,He=(e,t,r)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ge={tabIndex:0,size:"sm"},Ve=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Day",Ge,e),{className:a,date:l,radius:s,disabled:c,styles:u,classNames:d,unstyled:p,__staticSelector:f,weekend:m,outside:b,selected:y,renderDay:g,inRange:h,firstInRange:v,lastInRange:w,hidden:O,static:x,variant:k,size:S}=r,P=((e,t)=>{var r={};for(var n in e)Be.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Fe)for(var n of Fe(e))t.indexOf(n)<0&&We.call(e,n)&&(r[n]=e[n]);return r})(r,["className","date","radius","disabled","styles","classNames","unstyled","__staticSelector","weekend","outside","selected","renderDay","inRange","firstInRange","lastInRange","hidden","static","variant","size"]),{classes:E,cx:C}=D({radius:s,isStatic:x},{name:["Day",f],classNames:d,styles:u,unstyled:p,variant:k,size:S});return n.createElement(i.k,((e,t)=>{for(var r in t||(t={}))Be.call(t,r)&&He(e,r,t[r]);if(Fe)for(var r of Fe(t))We.call(t,r)&&He(e,r,t[r]);return e})({component:x?"div":"button",ref:t,className:C(E.day,a),disabled:c,"data-today":X()(l).isSame(new Date,"day")||void 0,"data-hidden":O||void 0,"data-disabled":c||void 0,"data-weekend":!c&&!b&&m||void 0,"data-outside":!c&&b||void 0,"data-selected":!c&&y||void 0,"data-in-range":h&&!c||void 0,"data-first-in-range":v&&!c||void 0,"data-last-in-range":w&&!c||void 0,unstyled:p},P),(null==g?void 0:g(l))||l.getDate())}));function Ye({locale:e,format:t="dd",firstDayOfWeek:r=1}){const n=X()().day(r),o=[];for(let r=0;r<7;r+=1)"string"==typeof t?o.push(X()(n).add(r,"days").locale(e).format(t)):o.push(t(X()(n).add(r,"days").toDate()));return o}Ve.displayName="@mantine/dates/Day";var Ze=(0,v.k)(((e,t,{size:r})=>({weekdaysRow:{},weekday:{color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[5],fontWeight:400,fontSize:(0,w.a)({size:r,sizes:e.fontSizes}),textTransform:"capitalize",paddingBottom:`calc(${(0,w.a)({size:r,sizes:e.spacing})} / 2)`}}))),Ke=Object.defineProperty,Ue=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Je=(e,t,r)=>t in e?Ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Qe={weekdayFormat:"dd",cellComponent:"th",size:"sm"},et=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("WeekdaysRow",Qe,e),{className:i,locale:l,firstDayOfWeek:s,weekdayFormat:c,cellComponent:u,__staticSelector:d,classNames:p,styles:f,unstyled:m,variant:b,size:y}=r,g=((e,t)=>{var r={};for(var n in e)qe.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ue)for(var n of Ue(e))t.indexOf(n)<0&&Xe.call(e,n)&&(r[n]=e[n]);return r})(r,["className","locale","firstDayOfWeek","weekdayFormat","cellComponent","__staticSelector","classNames","styles","unstyled","variant","size"]),h=ke(),{classes:v,cx:w}=Ze(null,{name:["WeekdaysRow",d],classNames:p,styles:f,unstyled:m,variant:b,size:y}),O=Ye({locale:h.getLocale(l),format:c,firstDayOfWeek:h.getFirstDayOfWeek(s)}).map(((e,t)=>n.createElement(u,{key:t,className:v.weekday},e)));return n.createElement(a.x,((e,t)=>{for(var r in t||(t={}))qe.call(t,r)&&Je(e,r,t[r]);if(Ue)for(var r of Ue(t))Xe.call(t,r)&&Je(e,r,t[r]);return e})({component:"tr",ref:t,className:w(v.weekdaysRow,i)},g),O)}));et.displayName="@mantine/dates/WeekdaysRow";var tt=Object.defineProperty,rt=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,lt=(e,t,r)=>t in e?tt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,st=(e,t)=>{for(var r in t||(t={}))at.call(t,r)&<(e,r,t[r]);if(ot)for(var r of ot(t))it.call(t,r)&<(e,r,t[r]);return e},ct=(e,t)=>
1rt(e,nt(t));const ut={size:"sm",withCellSpacing:!0},dt=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Month",ut,e),{className:i,classNames:l,styles:s,unstyled:c,__staticSelector:u,locale:d,firstDayOfWeek:p,weekdayFormat:f,month:m,weekendDays:b,getDayProps:y,excludeDate:g,minDate:h,maxDate:v,renderDay:w,hideOutsideDates:O,hideWeekdays:x,getDayAriaLabel:k,static:S,__getDayRef:P,__onDayKeyDown:E,__onDayClick:C,__onDayMouseEnter:j,__preventFocus:N,__stopPropagation:z,withCellSpacing:I,size:D,variant:R}=r,L=((e,t)=>{var r={};for(var n in e)at.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ot)for(var n of ot(e))t.indexOf(n)<0&&it.call(e,n)&&(r[n]=e[n]);return r})(r,["className","classNames","styles","unstyled","__staticSelector","locale","firstDayOfWeek","weekdayFormat","month","weekendDays","getDayProps","excludeDate","minDate","maxDate","renderDay","hideOutsideDates","hideWeekdays","getDayAriaLabel","static","__getDayRef","__onDayKeyDown","__onDayClick","__onDayMouseEnter","__preventFocus","__stopPropagation","withCellSpacing","size","variant"]),_=ke(),{classes:A,cx:T}=$e(null,{name:["Month",u],classNames:l,styles:s,unstyled:c,variant:R,size:D}),$={__staticSelector:u||"Month",classNames:l,styles:s,unstyled:c,variant:R,size:D},M=Ee(m,_.getFirstDayOfWeek(p)),F=function(e,t,r,n,o,a,i){const l=e.flat().filter((e=>{var l;return je(e,r)&&Ne(e,t)&&!(null==o?void 0:o(e))&&!(null==(l=null==n?void 0:n(e))?void 0:l.disabled)&&(!a||Ce(e,i))})),s=l.find((e=>{var t;return null==(t=null==n?void 0:n(e))?void 0:t.selected}));if(s)return s;return l.find((e=>X()().isSame(e,"date")))||l[0]}(M,h,v,y,g,O,m),B=M.map(((e,t)=>{const r=e.map(((e,r)=>{const o=!Ce(e,m),a=(null==k?void 0:k(e))||X()(e).locale(d||_.locale).format("D MMMM YYYY"),i=null==y?void 0:y(e),l=X()(e).isSame(F,"date");return n.createElement("td",{key:e.toString(),className:A.monthCell,"data-with-spacing":I||void 0},n.createElement(Ve,ct(st(ct(st({},$),{"data-mantine-stop-propagation":z||void 0,renderDay:w,date:e,weekend:_.getWeekendDays(b).includes(e.getDay()),outside:o,hidden:!!O&&o,"aria-label":a,static:S,disabled:(null==g?void 0:g(e))||!je(e,v)||!Ne(e,h),ref:e=>null==P?void 0:P(t,r,e)}),i),{onKeyDown:n=>{var o;null==(o=null==i?void 0:i.onKeyDown)||o.call(i,n),null==E||E(n,{rowIndex:t,cellIndex:r,date:e})},onMouseEnter:t=>{var r;null==(r=null==i?void 0:i.onMouseEnter)||r.call(i,t),null==j||j(t,e)},onClick:t=>{var r;null==(r=null==i?void 0:i.onClick)||r.call(i,t),null==C||C(t,e)},onMouseDown:e=>{var t;null==(t=null==i?void 0:i.onMouseDown)||t.call(i,e),N&&e.preventDefault()},tabIndex:N||!l?-1:0})))}));return n.createElement("tr",{key:t,className:A.monthRow},r)}));return n.createElement(a.x,st({component:"table",className:T(A.month,i),ref:t},L),!x&&n.createElement("thead",{className:A.monthThead},n.createElement(et,ct(st({},$),{locale:d,firstDayOfWeek:p,weekdayFormat:f}))),n.createElement("tbody",{className:A.monthTbody},B))}));dt.displayName="@mantine/dates/Month";var pt=Object.defineProperty,ft=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,yt=(e,t,r)=>t in e?pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gt=(e,t)=>{for(var r in t||(t={}))mt.call(t,r)&&yt(e,r,t[r]);if(ft)for(var r of ft(t))bt.call(t,r)&&yt(e,r,t[r]);return e};const ht={monthLabelFormat:"MMMM YYYY"},vt=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("MonthLevel",ht,e),{month:i,locale:l,firstDayOfWeek:s,weekdayFormat:c,weekendDays:u,getDayProps:d,excludeDate:p,minDate:f,maxDate:m,renderDay:b,hideOutsideDates:y,hideWeekdays:g,getDayAriaLabel:h,__getDayRef:v,__onDayKeyDown:w,__onDayClick:O,__onDayMouseEnter:x,withCellSpacing:k,__preventFocus:S,__stopPropagation:P,nextIcon:E,previousIcon:C,nextLabel:j,previousLabel:N,onNext:z,onPrevious:I,onLevelClick:D,nextDisabled:R,previousDisabled:L,hasNextLevel:_,levelControlAriaLabel:A,withNext:T,withPrevious:$,className:M,monthLabelFormat:F,classNames:B,styles:W,unstyled:H,__staticSelector:G,size:V,variant:Y,static:Z}=r,K=((e,t)=>{var r={};for(var n in e)mt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ft)for(var n of ft(e))t.indexOf(n)<0&&bt.call(e,n)&&(r[n]=e[n]);return r})(r,["month","locale","firstDayOfWeek","weekdayFormat","weekendDays","getDayProps","excludeDate","minDate","maxDate","renderDay","hideOutsideDates","hideWeekdays","getDayAriaLabel","__getDayRef","__onDayKeyDown","__onDayCl
1ick","__onDayMouseEnter","withCellSpacing","__preventFocus","__stopPropagation","nextIcon","previousIcon","nextLabel","previousLabel","onNext","onPrevious","onLevelClick","nextDisabled","previousDisabled","hasNextLevel","levelControlAriaLabel","withNext","withPrevious","className","monthLabelFormat","classNames","styles","unstyled","__staticSelector","size","variant","static"]),{classes:q,cx:J}=oe(null,{name:["MonthLevel",G],classNames:B,styles:W,unstyled:H,variant:Y,size:V}),Q=ke(),ee={__staticSelector:G||"MonthLevel",classNames:B,styles:W,unstyled:H,variant:Y,size:V},te="boolean"==typeof R?R:!!m&&!X()(i).endOf("month").isBefore(m),re="boolean"==typeof L?L:!!f&&!X()(i).startOf("month").isAfter(f);return n.createElement(a.x,gt({className:J(q.monthLevel,M),"data-month-level":!0,ref:t},K),n.createElement(U,gt({label:"function"==typeof F?F(i):X()(i).locale(l||Q.locale).format(F),className:q.calendarHeader,__preventFocus:S,__stopPropagation:P,nextIcon:E,previousIcon:C,nextLabel:j,previousLabel:N,onNext:z,onPrevious:I,onLevelClick:D,nextDisabled:te,previousDisabled:re,hasNextLevel:_,levelControlAriaLabel:A,withNext:T,withPrevious:$},ee)),n.createElement(dt,gt({month:i,locale:l,firstDayOfWeek:s,weekdayFormat:c,weekendDays:u,getDayProps:d,excludeDate:p,minDate:f,maxDate:m,renderDay:b,hideOutsideDates:y,hideWeekdays:g,getDayAriaLabel:h,__getDayRef:v,__onDayKeyDown:w,__onDayClick:O,__onDayMouseEnter:x,__preventFocus:S,__stopPropagation:P,static:Z,withCellSpacing:k},ee)))}));function wt({controlsRef:e,direction:t,levelIndex:r,rowIndex:n,cellIndex:o,size:a}){var i,l;const s=function({direction:e,levelIndex:t,rowIndex:r,cellIndex:n,size:o}){switch(e){case"up":return 0===t&&0===r?null:0===r?{levelIndex:t-1,rowIndex:n<=o[t-1][o[t-1].length-1]-1?o[t-1].length-1:o[t-1].length-2,cellIndex:n}:{levelIndex:t,rowIndex:r-1,cellIndex:n};case"down":return r===o[t].length-1||r===o[t].length-2&&n>=o[t][o[t].length-1]?{levelIndex:t+1,rowIndex:0,cellIndex:n}:{levelIndex:t,rowIndex:r+1,cellIndex:n};case"left":return 0===t&&0===r&&0===n?null:0===r&&0===n?{levelIndex:t-1,rowIndex:o[t-1].length-1,cellIndex:o[t-1][o[t-1].length-1]-1}:0===n?{levelIndex:t,rowIndex:r-1,cellIndex:o[t][r-1]-1}:{levelIndex:t,rowIndex:r,cellIndex:n-1};case"right":return r===o[t].length-1&&n===o[t][r]-1?{levelIndex:t+1,rowIndex:0,cellIndex:0}:n===o[t][r]-1?{levelIndex:t,rowIndex:r+1,cellIndex:0}:{levelIndex:t,rowIndex:r,cellIndex:n+1};default:return{levelIndex:t,rowIndex:r,cellIndex:n}}}({direction:t,size:a,rowIndex:n,cellIndex:o,levelIndex:r});if(!s)return;const c=null==(l=null==(i=e.current[s.levelIndex])?void 0:i[s.rowIndex])?void 0:l[s.cellIndex];c&&(c.disabled||c.getAttribute("data-hidden")||c.getAttribute("data-outside")?wt({controlsRef:e,direction:t,levelIndex:s.levelIndex,cellIndex:s.cellIndex,rowIndex:s.rowIndex,size:a}):c.focus())}function Ot({controlsRef:e,levelIndex:t,rowIndex:r,cellIndex:n,event:o}){const a=function(e){switch(e){case"ArrowDown":return"down";case"ArrowUp":return"up";case"ArrowRight":return"right";case"ArrowLeft":return"left";default:return null}}(o.key);if(a){o.preventDefault();const i=function(e){return e.current.map((e=>e.map((e=>e.length))))}(e);wt({controlsRef:e,direction:a,levelIndex:t,rowIndex:r,cellIndex:n,size:i})}}vt.displayName="@mantine/dates/MonthLevel";var xt=Object.defineProperty,kt=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Et=(e,t,r)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ct={numberOfColumns:1},jt=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("MonthLevelGroup",Ct,e),{month:i,locale:l,firstDayOfWeek:s,weekdayFormat:c,weekendDays:u,getDayProps:d,excludeDate:p,minDate:f,maxDate:m,renderDay:b,hideOutsideDates:y,hideWeekdays:g,getDayAriaLabel:h,__onDayClick:v,__onDayMouseEnter:w,withCellSpacing:O,__preventFocus:x,nextIcon:k,previousIcon:S,nextLabel:P,previousLabel:E,onNext:C,onPrevious:j,onLevelClick:N,nextDisabled:z,previousDisabled:I,hasNextLevel:D,className:R,classNames:L,styles:_,unstyled:A,numberOfColumns:T,levelControlAriaLabel:$,monthLabelFormat:M,__staticSelector:F,__stopPropagation:B,size:W,variant:H,static:G}=r,V=((e,t)=>{var r={};for(var n in e)St.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&kt)for(var n of kt(e))t.indexOf(n)<0&&Pt.call(e,n)&&(r[n]=e[n]);return r})(r,["month","locale","firstDayOfWeek","weekdayFormat","weekendDays","getDayProps","excludeDate","minDate","maxDate","renderDay","hideOutsideDates","hideWeekdays","getDayAriaLabel","__onDayCl
1ick","__onDayMouseEnter","withCellSpacing","__preventFocus","nextIcon","previousIcon","nextLabel","previousLabel","onNext","onPrevious","onLevelClick","nextDisabled","previousDisabled","hasNextLevel","className","classNames","styles","unstyled","numberOfColumns","levelControlAriaLabel","monthLabelFormat","__staticSelector","__stopPropagation","size","variant","static"]),{classes:Y,cx:Z}=ne(null,{name:["MonthLevelGroup",F],classNames:L,styles:_,unstyled:A,variant:H,size:W}),K=(0,n.useRef)([]),U=Array(T).fill(0).map(((e,t)=>{const r=X()(i).add(t,"months").toDate();return n.createElement(vt,{key:t,month:r,withNext:t===T-1,withPrevious:0===t,monthLabelFormat:M,__stopPropagation:B,__onDayClick:v,__onDayMouseEnter:w,__onDayKeyDown:(e,r)=>Ot({levelIndex:t,rowIndex:r.rowIndex,cellIndex:r.cellIndex,event:e,controlsRef:K}),__getDayRef:(e,r,n)=>{Array.isArray(K.current[t])||(K.current[t]=[]),Array.isArray(K.current[t][e])||(K.current[t][e]=[]),K.current[t][e][r]=n},levelControlAriaLabel:"function"==typeof $?$(r):$,locale:l,firstDayOfWeek:s,weekdayFormat:c,weekendDays:u,getDayProps:d,excludeDate:p,minDate:f,maxDate:m,renderDay:b,hideOutsideDates:y,hideWeekdays:g,getDayAriaLabel:h,__preventFocus:x,nextIcon:k,previousIcon:S,nextLabel:P,previousLabel:E,onNext:C,onPrevious:j,onLevelClick:N,nextDisabled:z,previousDisabled:I,hasNextLevel:D,classNames:L,styles:_,unstyled:A,__staticSelector:F||"MonthLevelGroup",size:W,variant:H,static:G,withCellSpacing:O})}));return n.createElement(a.x,((e,t)=>{for(var r in t||(t={}))St.call(t,r)&&Et(e,r,t[r]);if(kt)for(var r of kt(t))Pt.call(t,r)&&Et(e,r,t[r]);return e})({className:Z(Y.monthLevelGroup,R),ref:t},V),U)}));jt.displayName="@mantine/dates/MonthLevelGroup";var Nt=(0,v.k)(((e,t,{size:r})=>({yearLevelGroup:{display:"flex","& [data-year-level]:not(:last-of-type)":{marginRight:(0,w.a)({size:r,sizes:e.spacing})}}}))),zt=(0,v.k)((e=>({yearLevel:{},calendarHeader:{marginBottom:e.spacing.xs}})));function It(e,t,r){return!(!t&&!r)&&(!(!t||!X()(e).isBefore(t,"month"))||!(!r||!X()(e).isAfter(r,"month")))}var Dt=(0,v.k)((()=>({monthsList:{borderCollapse:"collapse",borderWidth:0,cursor:"pointer"},monthsListCell:{padding:0,"&[data-with-spacing]":{padding:(0,O.h)(.5)}},monthsListRow:{}})));var Rt=Object.defineProperty,Lt=Object.defineProperties,_t=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Mt=(e,t,r)=>t in e?Rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ft=(e,t)=>{for(var r in t||(t={}))Tt.call(t,r)&&Mt(e,r,t[r]);if(At)for(var r of At(t))$t.call(t,r)&&Mt(e,r,t[r]);return e},Bt=(e,t)=>Lt(e,_t(t)),Wt=(0,v.k)(((e,t,{size:r})=>{const n=e.fn.variant({variant:"filled"}),o=e.fn.variant({variant:"light"});return{pickerControl:Bt(Ft({fontSize:(0,w.a)({size:r,sizes:e.fontSizes}),height:(0,w.a)({size:r,sizes:I}),width:`calc((${(0,w.a)({size:r,sizes:I})} * 7) / 3 + ${(0,O.h)(1.5)})`,display:"flex",justifyContent:"center",alignItems:"center",userSelect:"none",borderRadius:e.fn.radius()},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),{"&:active":e.activeStyles,"&[data-in-range]":Ft({backgroundColor:o.background,borderRadius:0},e.fn.hover({backgroundColor:o.hover})),"&[data-first-in-range]":{borderRadius:0,borderTopLeftRadius:e.radius.sm,borderBottomLeftRadius:e.radius.sm},"&[data-last-in-range]":{borderRadius:0,borderTopRightRadius:e.radius.sm,borderBottomRightRadius:e.radius.sm},"&[data-last-in-range][data-first-in-range]":{borderRadius:e.radius.sm},"&[data-selected]":Ft({color:n.color,backgroundColor:n.background},e.fn.hover({backgroundColor:n.hover})),"&[data-disabled]":Bt(Ft({color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4],cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"})),{"&:active":{transform:"none"}})})}})),Ht=Object.defineProperty,Gt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Zt=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Kt={size:"sm"},Ut=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("PickerControl",Kt,e),{className:a,children:l,disabled:s,selected:c,classNames:u,styles:d,unstyled:p,firstInRange:f,lastInRange:m,inRange:b,__staticSelector:y,size:g,variant:h}=r,v=((e,t)=>{var r={};for(var n in e)Vt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Gt)for(var n of Gt(e))t.indexOf(n)<0&&Yt.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","disabled","selected","classNames","styles","unstyled","firstInRange","lastInRange","inRange","__staticSelector","size","variant"]),{classes:w,cx:O}=Wt(null,{name:["PickerControl",y],classNames:u,styles:d,unstyled:p,variant:h,size:g});return n.createElement(i.k,((e,t)=>{for(var r in t||(t={}))Vt.call(t,r)&&Zt(e,r,t[r]);if(Gt)for(var r of Gt(t))Yt.call(t,r)&&Zt(e,r,t[r]);return e})({className:O(w.pickerControl,a),ref:t,unstyled:p,"data-picker-control":!0,"data-selected":c&&!s||void 0,"data-disabled":s||void 0,"data-in-range":b&&!s&&!c||void 0,"data-first-in-range":f&&!s||void 0,"data-last-in-range":m&&!s||void 0,disabled:s},v),l)}));Ut.displayName="@mantine/dates/PickerControl";var qt=Object.defineProperty,Xt=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,rr=(e,t,r)=>t in e?qt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nr=(e,t)=>
1{for(var r in t||(t={}))er.call(t,r)&&rr(e,r,t[r]);if(Qt)for(var r of Qt(t))tr.call(t,r)&&rr(e,r,t[r]);return e};const or={monthsListFormat:"MMM",size:"sm",withCellSpacing:!0},ar=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("MonthsList",or,e),{year:i,className:l,monthsListFormat:s,locale:c,minDate:u,maxDate:d,getMonthControlProps:p,classNames:f,styles:m,unstyled:b,__staticSelector:y,__getControlRef:g,__onControlKeyDown:h,__onControlClick:v,__onControlMouseEnter:w,__preventFocus:O,size:x,variant:k,__stopPropagation:S,withCellSpacing:P}=r,E=((e,t)=>{var r={};for(var n in e)er.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Qt)for(var n of Qt(e))t.indexOf(n)<0&&tr.call(e,n)&&(r[n]=e[n]);return r})(r,["year","className","monthsListFormat","locale","minDate","maxDate","getMonthControlProps","classNames","styles","unstyled","__staticSelector","__getControlRef","__onControlKeyDown","__onControlClick","__onControlMouseEnter","__preventFocus","size","variant","__stopPropagation","withCellSpacing"]),{classes:C,cx:j}=Dt(null,{name:["MonthsList",y],classNames:f,styles:m,unstyled:b,variant:k,size:x}),N=ke(),z=function(e){const t=X()(e).startOf("year").toDate(),r=[[],[],[],[]];let n=0;for(let e=0;e<4;e+=1)for(let o=0;o<3;o+=1)r[e].push(X()(t).add(n,"months").toDate()),n+=1;return r}(i),I=function(e,t,r,n){const o=e.flat().filter((e=>{var o;return!It(e,t,r)&&!(null==(o=null==n?void 0:n(e))?void 0:o.disabled)})),a=o.find((e=>{var t;return null==(t=null==n?void 0:n(e))?void 0:t.selected}));if(a)return a;return o.find((e=>X()().isSame(e,"month")))||o[0]}(z,u,d,p),D=z.map(((e,t)=>{const r=e.map(((e,r)=>{const o=null==p?void 0:p(e),a=X()(e).isSame(I,"month");return n.createElement("td",{key:r,className:C.monthsListCell,"data-with-spacing":P||void 0},n.createElement(Ut,(i=nr({variant:k,size:x,classNames:f,styles:m,unstyled:b,__staticSelector:y||"MonthsList","data-mantine-stop-propagation":S||void 0,disabled:It(e,u,d),ref:e=>null==g?void 0:g(t,r,e)},o),Xt(i,Jt({onKeyDown:n=>{var a;null==(a=null==o?void 0:o.onKeyDown)||a.call(o,n),null==h||h(n,{rowIndex:t,cellIndex:r,date:e})},onClick:t=>{var r;null==(r=null==o?void 0:o.onClick)||r.call(o,t),null==v||v(t,e)},onMouseEnter:t=>{var r;null==(r=null==o?void 0:o.onMouseEnter)||r.call(o,t),null==w||w(t,e)},onMouseDown:e=>{var t;null==(t=null==o?void 0:o.onMouseDown)||t.call(o,e),O&&e.preventDefault()},tabIndex:O||!a?-1:0}))),X()(e).locale(N.getLocale(c)).format(s)));var i}));return n.createElement("tr",{key:t,className:C.monthsListRow},r)}));return n.createElement(a.x,nr({component:"table",ref:t,className:j(C.monthsList,l)},E),n.createElement("tbody",null,D))}));ar.displayName="@mantine/dates/MonthsList";var ir=Object.defineProperty,lr=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,ur=(e,t,r)=>t in e?ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dr=(e,t)=>{for(var r in t||(t={}))sr.call(t,r)&&ur(e,r,t[r]);if(lr)for(var r of lr(t))cr.call(t,r)&&ur(e,r,t[r]);return e};const pr={yearLabelFormat:"YYYY",size:"sm"},fr=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("YearLevel",pr,e),{year:i,locale:l,minDate:s,maxDate:c,monthsListFormat:u,getMonthControlProps:d,__getControlRef:p,__onControlKeyDown:f,__onControlClick:m,__onControlMouseEnter:b,withCellSpacing:y,__preventFocus:g,nextIcon:h,previousIcon:v,nextLabel:w,previousLabel:O,onNext:x,onPrevious:k,onLevelClick:S,nextDisabled:P,previousDisabled:E,hasNextLevel:C,levelControlAriaLabel:j,withNext:N,withPrevious:z,className:I,yearLabelFormat:D,classNames:R,styles:L,unstyled:_,__staticSelector:A,__stopPropagation:T,size:$,variant:M}=r,F=((e,t)=>{var r={};for(var n in e)sr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&lr)for(var n of lr(e))t.indexOf(n)<0&&cr.call(e,n)&&(r[n]=e[n]);return r})(r,["year","locale","minDate","maxDate","monthsListFormat","getMonthControlProps","__getControlRef","__onControlKeyDown","__onControlClick","__onControlMouseEnter","withCellSpacing","__preventFocus","nextIcon","previousIcon","nextLabel","previousLabel","onNext","onPrevious","onLevelClick","nextDisabled","previousDisabled","hasNextLevel","levelControlAriaLabel","withNext","withPrevious","className","yearLabelFormat","classNames","styles","unstyled","__staticSelector","__stopPropagation","size","variant"]),{classes:B,cx:W}=zt(null,{name:["YearLevel",A],classNames:R,styles:L,unstyled:_,size:$,variant:M}),H=ke(),G={__staticSelector:A||"YearLevel",classNames:R,styles:L,unstyled:_,size:$,variant:M},V="boolean"==typeof P?P:!!c&&!X()(i).endOf("year").isBefore(c),Y="boolean"==typeof E?E:!!s&&!X()(i).startOf("year").isAfter(s);return n.createElement(a.x,dr({className:W(B.yearLevel,I),"data-year-level":!0,ref:t},F),n.createElement(U,dr({label:"function"==typeof D?D(i):X()(i).locale(l||H.locale).format(D),className:B.calendarHeader,__preventFocus:g,__stopPropagation:T,nextIcon:h,previousIcon:v,nextLabel:w,previousLabel:O,onNext:x,onPrevious:k,onLevelClick:S,nextDisabled:V,previousDisabled:Y,hasNextLevel:C,levelControlAriaLabel:j,withNext:N,withPrevious:z},G)),n.createElement(ar,dr({year:i,locale:l,minDate:s,maxDate:c,monthsListFormat:u,getMonthControlProps:d,__getControlRef:p,__onControlKeyDown:f,__onControlClick:m,__onControlMouseEnter:b,__preventFocus:g,__stopPropagation:T,withCellSpacing:y},G)))}));fr.displayName="@mantine/dates/YearLevel";var mr=Object.defineProperty,br=Object.getOwnPropertySymbols,yr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,hr=(e,t,r)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const vr={numberOfColumns:1,size:"sm"},wr=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("YearLevelGroup",vr,e),{year:i,locale:l,minDate:s,maxDate:c,monthsListFormat:u,getMonthControlProps:d,__onControlClick:p,__onControlMouseEnter:f,withCellSpacing:m,__preventFocus:b,nextIcon:y,previousIcon:g,nextLabel:h,previousLabel:v,onNext:w,onPrevious:O,onLevelClick:x,nextDisabled:k,previousDisabled:S,hasNextLevel:P,className:E,
1classNames:C,styles:j,unstyled:N,__staticSelector:z,__stopPropagation:I,numberOfColumns:D,levelControlAriaLabel:R,yearLabelFormat:L,variant:_,size:A}=r,T=((e,t)=>{var r={};for(var n in e)yr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&br)for(var n of br(e))t.indexOf(n)<0&&gr.call(e,n)&&(r[n]=e[n]);return r})(r,["year","locale","minDate","maxDate","monthsListFormat","getMonthControlProps","__onControlClick","__onControlMouseEnter","withCellSpacing","__preventFocus","nextIcon","previousIcon","nextLabel","previousLabel","onNext","onPrevious","onLevelClick","nextDisabled","previousDisabled","hasNextLevel","className","classNames","styles","unstyled","__staticSelector","__stopPropagation","numberOfColumns","levelControlAriaLabel","yearLabelFormat","variant","size"]),{classes:$,cx:M}=Nt(null,{name:["YearLevelGroup",z],styles:j,classNames:C,unstyled:N,variant:_,size:A}),F=(0,n.useRef)([]),B=Array(D).fill(0).map(((e,t)=>{const r=X()(i).add(t,"years").toDate();return n.createElement(fr,{key:t,variant:_,size:A,monthsListFormat:u,year:r,withNext:t===D-1,withPrevious:0===t,yearLabelFormat:L,__stopPropagation:I,__onControlClick:p,__onControlMouseEnter:f,__onControlKeyDown:(e,r)=>Ot({levelIndex:t,rowIndex:r.rowIndex,cellIndex:r.cellIndex,event:e,controlsRef:F}),__getControlRef:(e,r,n)=>{Array.isArray(F.current[t])||(F.current[t]=[]),Array.isArray(F.current[t][e])||(F.current[t][e]=[]),F.current[t][e][r]=n},levelControlAriaLabel:"function"==typeof R?R(r):R,locale:l,minDate:s,maxDate:c,__preventFocus:b,nextIcon:y,previousIcon:g,nextLabel:h,previousLabel:v,onNext:w,onPrevious:O,onLevelClick:x,nextDisabled:k,previousDisabled:S,hasNextLevel:P,getMonthControlProps:d,classNames:C,styles:j,unstyled:N,__staticSelector:z||"YearLevelGroup",withCellSpacing:m})}));return n.createElement(a.x,((e,t)=>{for(var r in t||(t={}))yr.call(t,r)&&hr(e,r,t[r]);if(br)for(var r of br(t))gr.call(t,r)&&hr(e,r,t[r]);return e})({className:M($.yearLevelGroup,E),ref:t},T),B)}));wr.displayName="@mantine/dates/YearLevelGroup";var Or=(0,v.k)((e=>({decadeLevelGroup:{display:"flex",gap:e.spacing.md}})));function xr(e){const t=e.getFullYear(),r=t-t%10;let n=0;const o=[[],[],[],[]];for(let e=0;e<4;e+=1){const t=3===e?1:3;for(let a=0;a<t;a+=1)o[e].push(new Date(r+n,0)),n+=1}return o}var kr=(0,v.k)((e=>({decadeLevel:{},calendarHeader:{marginBottom:e.spacing.xs}})));function Sr(e,t,r){return!(!t&&!r)&&(!(!t||!X()(e).isBefore(t,"year"))||!(!r||!X()(e).isAfter(r,"year")))}var Pr=(0,v.k)((()=>({yearsList:{borderCollapse:"collapse",borderWidth:0},yearsListCell:{padding:0,"&[data-with-spacing]":{padding:(0,O.h)(.5)}},yearsListRow:{}})));var Er=Object.defineProperty,Cr=Object.defineProperties,jr=Object.getOwnPropertyDescriptors,Nr=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable,Dr=(e,t,r)=>t in e?Er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rr=(e,t)=>{for(var r in t||(t={}))zr.call(t,r)&&Dr(e,r,t[r]);if(Nr)for(var r of Nr(t))Ir.call(t,r)&&Dr(e,r,t[r]);return e};const Lr={yearsListFormat:"YYYY",size:"sm",withCellSpacing:!0},_r=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("YearsList",Lr,e),{decade:i,className:l,yearsListFormat:s,locale:c,minDate:u,maxDate:d,getYearControlProps:p,classNames:f,styles:m,unstyled:b,__staticSelector:y,__getControlRef:g,__onControlKeyDown:h,__onControlClick:v,__onControlMouseEnter:w,__preventFocus:O,__stopPropagation:x,size:k,variant:S,withCellSpacing:P}=r,E=((e,t)=>{var r={};for(var n in e)zr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Nr)for(var n of Nr(e))t.indexOf(n)<0&&Ir.call(e,n)&&(r[n]=e[n]);return r})(r,["decade","className","yearsListFormat","locale","minDate","maxDate","getYearControlProps","classNames","styles","unstyled","__staticSelector","__getControlRef","__onControlKeyDown","__onControlClick","__onControlMouseEnter","__preventFocus","__stopPropagation","size","variant","withCellSpacing"]),{classes:C,cx:j}=Pr(null,{name:["YearsList",y],classNames:f,styles:m,unstyled:b,variant:S,size:k}),N=ke(),z=xr(i),I=function(e,t,r,n){const o=e.flat().filter((e=>{var o;return!Sr(e,t,r)&&!(null==(o=null==n?void 0:n(e))?void 0:o.disabled)})),a=o.find((e=>{var t;return null==(t=null==n?void 0:n(e))?void 0:t.selected}));if(a)return a;return o.find((e=>X()().isSame(e,"year")))||o[0]}(z,u,d,p),D=z.map(((e,t)=>{const r=e.map(((e,r)=>{const o=null==p?void 0:p(e),a=X()(e).isSame(I,"year");return n.createElement("td",{key:r,className:C.yearsListCell,"data-with-spacing":P||void 0},n.createElement(Ut,(i=Rr({size:k,variant:S,classNames:f,styles:m,unstyled:b,__staticSelector:y||"YearsList","data-mantine-stop-propagation":x||void 0,disabled:Sr(e,u,d),ref:e=>null==g?void 0:g(t,r,e)},o),Cr(i,jr({onKeyDown:n=>{var a;null==(a=null==o?void 0:o.onKeyDown)||a.call(o,n),null==h||h(n,{rowIndex:t,cellIndex:r,date:e})},onClick:t=>{var r;null==(r=null==o?void 0:o.onClick)||r.call(o,t),null==v||v(t,e)},onMouseEnter:t=>{var r;null==(r=null==o?void 0:o.onMouseEnter)||r.call(o,t),null==w||w(t,e)},onMouseDown:e=>{var t;null==(t=null==o?void 0:o.onMouseDown)||t.call(o,e),O&&e.preventDefault()},tabIndex:O||!a?-1:0}))),X()(e).locale(N.getLocale(c)).format(s)));var i}));return n.createElement("tr",{key:t,className:C.yearsListRow},r)}));return n.createElement(a.x,Rr({component:"table",ref:t,className:j(C.yearsList,l)},E),n.createElement("tbody",null,D))}));_r.displayName="@mantine/dates/YearsList";var Ar=Object.defineProperty,Tr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable,Fr=(e,t,r)=>t in e?Ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Br=(e,t)=>
1{for(var r in t||(t={}))$r.call(t,r)&&Fr(e,r,t[r]);if(Tr)for(var r of Tr(t))Mr.call(t,r)&&Fr(e,r,t[r]);return e};const Wr={decadeLabelFormat:"YYYY"},Hr=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("DecadeLevel",Wr,e),{decade:i,locale:l,minDate:s,maxDate:c,yearsListFormat:u,getYearControlProps:d,__getControlRef:p,__onControlKeyDown:f,__onControlClick:m,__onControlMouseEnter:b,withCellSpacing:y,__preventFocus:g,nextIcon:h,previousIcon:v,nextLabel:w,previousLabel:O,onNext:x,onPrevious:k,nextDisabled:S,previousDisabled:P,levelControlAriaLabel:E,withNext:C,withPrevious:j,className:N,decadeLabelFormat:z,classNames:I,styles:D,unstyled:R,__staticSelector:L,__stopPropagation:_,variant:A,size:T}=r,$=((e,t)=>{var r={};for(var n in e)$r.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Tr)for(var n of Tr(e))t.indexOf(n)<0&&Mr.call(e,n)&&(r[n]=e[n]);return r})(r,["decade","locale","minDate","maxDate","yearsListFormat","getYearControlProps","__getControlRef","__onControlKeyDown","__onControlClick","__onControlMouseEnter","withCellSpacing","__preventFocus","nextIcon","previousIcon","nextLabel","previousLabel","onNext","onPrevious","nextDisabled","previousDisabled","levelControlAriaLabel","withNext","withPrevious","className","decadeLabelFormat","classNames","styles","unstyled","__staticSelector","__stopPropagation","variant","size"]),{classes:M,cx:F}=kr(null,{name:["DecadeLevel",L],classNames:I,styles:D,unstyled:R,variant:A,size:T}),B=ke(),[W,H]=function(e){const t=xr(e);return[t[0][0],t[3][0]]}(i),G={__staticSelector:L||"DecadeLevel",classNames:I,styles:D,unstyled:R,variant:A,size:T},V="boolean"==typeof S?S:!!c&&!X()(H).endOf("year").isBefore(c),Y="boolean"==typeof P?P:!!s&&!X()(W).startOf("year").isAfter(s),Z=(e,t)=>X()(e).locale(l||B.locale).format(t);return n.createElement(a.x,Br({className:F(M.decadeLevel,N),"data-decade-level":!0,ref:t},$),n.createElement(U,Br({label:"function"==typeof z?z(W,H):`${Z(W,z)} – ${Z(H,z)}`,className:M.calendarHeader,__preventFocus:g,__stopPropagation:_,nextIcon:h,previousIcon:v,nextLabel:w,previousLabel:O,onNext:x,onPrevious:k,nextDisabled:V,previousDisabled:Y,hasNextLevel:!1,levelControlAriaLabel:E,withNext:C,withPrevious:j},G)),n.createElement(_r,Br({decade:i,locale:l,minDate:s,maxDate:c,yearsListFormat:u,getYearControlProps:d,__getControlRef:p,__onControlKeyDown:f,__onControlClick:m,__onControlMouseEnter:b,__preventFocus:g,__stopPropagation:_,withCellSpacing:y},G)))}));Hr.displayName="@mantine/dates/DecadeLevel";var Gr=Object.defineProperty,Vr=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable,Kr=(e,t,r)=>t in e?Gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ur={numberOfColumns:1},qr=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("DecadeLevelGroup",Ur,e),{decade:i,locale:l,minDate:s,maxDate:c,yearsListFormat:u,getYearControlProps:d,__onControlClick:p,__onControlMouseEnter:f,withCellSpacing:m,__preventFocus:b,nextIcon:y,previousIcon:g,nextLabel:h,previousLabel:v,onNext:w,onPrevious:O,nextDisabled:x,previousDisabled:k,className:S,classNames:P,styles:E,unstyled:C,__staticSelector:j,__stopPropagation:N,numberOfColumns:z,levelControlAriaLabel:I,decadeLabelFormat:D,variant:R,size:L}=r,_=((e,t)=>{var r={};for(var n in e)Yr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Vr)for(var n of Vr(e))t.indexOf(n)<0&&Zr.call(e,n)&&(r[n]=e[n]);return r})(r,["decade","locale","minDate","maxDate","yearsListFormat","getYearControlProps","__onControlClick","__onControlMouseEnter","withCellSpacing","__preventFocus","nextIcon","previousIcon","nextLabel","previousLabel","onNext","onPrevious","nextDisabled","previousDisabled","className","classNames","styles","unstyled","__staticSelector","__stopPropagation","numberOfColumns","levelControlAriaLabel","decadeLabelFormat","variant","size"]),{classes:A,cx:T}=Or(null,{name:["DecadeLevelGroup",j],styles:E,classNames:P,unstyled:C,variant:R,size:L}),$=(0,n.useRef)([]),M=Array(z).fill(0).map(((e,t)=>{const r=X()(i).add(10*t,"years").toDate();return n.createElement(Hr,{key:t,variant:R,size:L,yearsListFormat:u,decade:r,withNext:t===z-1,withPrevious:0===t,decadeLabelFormat:D,__onControlClick:p,__onControlMouseEnter:f,__onControlKeyDown:(e,r)=>Ot({levelIndex:t,rowIndex:r.rowIndex,cellIndex:r.cellIndex,event:e,controlsRef:$}),__getControlRef:(e,r,n)=>{Array.isArray($.current[t])||($.current[t]=[]),Array.isArray($.current[t][e])||($.current[t][e]=[]),$.current[t][e][r]=n},levelControlAriaLabel:"function"==typeof I?I(r):I,locale:l,minDate:s,maxDate:c,__preventFocus:b,__stopPropagation:N,nextIcon:y,previousIcon:g,nextLabel:h,previousLabel:v,onNext:w,onPrevious:O,nextDisabled:x,previousDisabled:k,getYearControlProps:d,__staticSelector:j||"DecadeLevelGroup",classNames:P,styles:E,unstyled:C,withCellSpacing:m})}));return n.createElement(a.x,((e,t)=>{for(var r in t||(t={}))Yr.call(t,r)&&Kr(e,r,t[r]);if(Vr)for(var r of Vr(t))Zr.call(t,r)&&Kr(e,r,t[r]);return e})({className:T(A.decadeLevelGroup,S),ref:t},_),M)}));qr.displayName="@mantine/dates/DecadeLevelGroup";
1var Xr=Object.defineProperty,Jr=Object.getOwnPropertySymbols,Qr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,tn=(e,t,r)=>t in e?Xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rn=(e,t)=>{for(var r in t||(t={}))Qr.call(t,r)&&tn(e,r,t[r]);if(Jr)for(var r of Jr(t))en.call(t,r)&&tn(e,r,t[r]);return e};const nn={maxLevel:"decade",minLevel:"month",__updateDateOnYearSelect:!0,__updateDateOnMonthSelect:!0},on=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("Calendar",nn,e),{maxLevel:i,minLevel:l,defaultLevel:s,level:c,onLevelChange:u,date:d,defaultDate:p,onDateChange:f,numberOfColumns:m,columnsToScroll:b,ariaLabels:y,onYearSelect:g,onMonthSelect:h,onYearMouseEnter:v,onMonthMouseEnter:w,__updateDateOnYearSelect:O,__updateDateOnMonthSelect:x,firstDayOfWeek:k,weekdayFormat:S,weekendDays:P,getDayProps:E,excludeDate:C,renderDay:j,hideOutsideDates:N,hideWeekdays:z,getDayAriaLabel:I,monthLabelFormat:D,nextIcon:R,previousIcon:L,__onDayClick:_,__onDayMouseEnter:A,withCellSpacing:T,monthsListFormat:$,getMonthControlProps:M,yearLabelFormat:F,yearsListFormat:B,getYearControlProps:W,decadeLabelFormat:H,minDate:G,maxDate:V,locale:Y,className:Z,classNames:K,styles:U,__staticSelector:q,unstyled:Q,variant:ee,size:ne,__preventFocus:oe,__stopPropagation:ae,onNextDecade:ie,onPreviousDecade:le,onNextYear:se,onPreviousYear:ce,onNextMonth:ue,onPreviousMonth:de,static:pe}=r,fe=((e,t)=>{var r={};for(var n in e)Qr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Jr)for(var n of Jr(e))t.indexOf(n)<0&&en.call(e,n)&&(r[n]=e[n]);return r})(r,["maxLevel","minLevel","defaultLevel","level","onLevelChange","date","defaultDate","onDateChange","numberOfColumns","columnsToScroll","ariaLabels","onYearSelect","onMonthSelect","onYearMouseEnter","onMonthMouseEnter","__updateDateOnYearSelect","__updateDateOnMonthSelect","firstDayOfWeek","weekdayFormat","weekendDays","getDayProps","excludeDate","renderDay","hideOutsideDates","hideWeekdays","getDayAriaLabel","monthLabelFormat","nextIcon","previousIcon","__onDayCl
1ick","__onDayMouseEnter","withCellSpacing","monthsListFormat","getMonthControlProps","yearLabelFormat","yearsListFormat","getYearControlProps","decadeLabelFormat","minDate","maxDate","locale","className","classNames","styles","__staticSelector","unstyled","variant","size","__preventFocus","__stopPropagation","onNextDecade","onPreviousDecade","onNextYear","onPreviousYear","onNextMonth","onPreviousMonth","static"]),{classes:me,cx:be}=re(null,{name:["Calendar",q],classNames:K,styles:U,unstyled:Q,variant:ee,size:ne}),[ye,ge]=(0,J.C)({value:c?te(c,l,i):void 0,defaultValue:s?te(s,l,i):void 0,finalValue:te(void 0,l,i),onChange:u}),[he,ve]=(0,J.C)({value:d,defaultValue:p,finalValue:null,onChange:f}),we={__staticSelector:q||"Calendar",styles:U,classNames:K,unstyled:Q,variant:ee,size:ne},Oe=b||m||1,xe=he||new Date;return n.createElement(a.x,rn({className:be(me.calendar,Z),ref:t},fe),"month"===ye&&n.createElement(jt,rn({month:xe,minDate:G,maxDate:V,firstDayOfWeek:k,weekdayFormat:S,weekendDays:P,getDayProps:E,excludeDate:C,renderDay:j,hideOutsideDates:N,hideWeekdays:z,getDayAriaLabel:I,onNext:()=>{const e=X()(xe).add(Oe,"month").toDate();null==ue||ue(e),ve(e)},onPrevious:()=>{const e=X()(xe).subtract(Oe,"month").toDate();null==de||de(e),ve(e)},hasNextLevel:"month"!==i,onLevelClick:()=>ge("year"),numberOfColumns:m,locale:Y,levelControlAriaLabel:null==y?void 0:y.monthLevelControl,nextLabel:null==y?void 0:y.nextMonth,nextIcon:R,previousLabel:null==y?void 0:y.previousMonth,previousIcon:L,monthLabelFormat:D,__onDayClick:_,__onDayMouseEnter:A,__preventFocus:oe,__stopPropagation:ae,static:pe,withCellSpacing:T},we)),"year"===ye&&n.createElement(wr,rn({year:xe,numberOfColumns:m,minDate:G,maxDate:V,monthsListFormat:$,getMonthControlProps:M,locale:Y,onNext:()=>{const e=X()(xe).add(Oe,"year").toDate();null==se||se(e),ve(e)},onPrevious:()=>{const e=X()(xe).subtract(Oe,"year").toDate();null==ce||ce(e),ve(e)},hasNextLevel:"month"!==i&&"year"!==i,onLevelClick:()=>ge("decade"),levelControlAriaLabel:null==y?void 0:y.yearLevelControl,nextLabel:null==y?void 0:y.nextYear,nextIcon:R,previousLabel:null==y?void 0:y.previousYear,previousIcon:L,yearLabelFormat:F,__onControlMouseEnter:w,__onControlClick:(e,t)=>{x&&ve(t),ge(te("month",l,i)),null==h||h(t)},__preventFocus:oe,__stopPropagation:ae,withCellSpacing:T},we)),"decade"===ye&&n.createElement(qr,rn({decade:xe,minDate:G,maxDate:V,yearsListFormat:B,getYearControlProps:W,locale:Y,onNext:()=>{const e=X()(xe).add(10*Oe,"year").toDate();null==ie||ie(e),ve(e)},onPrevious:()=>{const e=X()(xe).subtract(10*Oe,"year").toDate();null==le||le(e),ve(e)},numberOfColumns:m,nextLabel:null==y?void 0:y.nextDecade,nextIcon:R,previousLabel:null==y?void 0:y.previousDecade,previousIcon:L,decadeLabelFormat:H,__onControlMouseEnter:v,__onControlClick:(e,t)=>{O&&ve(t),ge(te("year",l,i)),null==g||g(t)},__preventFocus:oe,__stopPropagation:ae,withCellSpacing:T},we)))}));on.displayName="@mantine/dates/Calendar";var an=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,cn=(e,t)=>{var r={};for(var n in e)ln.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&an)for(var n of an(e))t.indexOf(n)<0&&sn.call(e,n)&&(r[n]=e[n]);return r};function un(e){const t=e,{maxLevel:r,minLevel:n,defaultLevel:o,level:a,onLevelChange:i,nextIcon:l,previousIcon:s,date:c,defaultDate:u,onDateChange:d,numberOfColumns:p,columnsToScroll:f,ariaLabels:m,onYearSelect:b,onMonthSelect:y,onYearMouseEnter:g,onMonthMouseEnter:h,onNextMonth:v,onPreviousMonth:w,onNextYear:O,onPreviousYear:x,onNextDecade:k,onPreviousDecade:S,withCellSpacing:P,__updateDateOnYearSelect:E,__updateDateOnMonthSelect:C,firstDayOfWeek:j,weekdayFormat:N,weekendDays:z,getDayProps:I,excludeDate:D,renderDay:R,hideOutsideDates:L,hideWeekdays:_,getDayAriaLabel:A,monthLabelFormat:T,monthsListFormat:$,getMonthControlProps:M,yearLabelFormat:F,yearsListFormat:B,getYearControlProps:W,decadeLabelFormat:H,allowSingleDateInRange:G,allowDeselect:V,minDate:Y,maxDate:Z,locale:K}=t;return{calendarProps:{maxLevel:r,minLevel:n,defaultLevel:o,level:a,onLevelChange:i,nextIcon:l,previousIcon:s,date:c,defaultDate:u,onDateChange:d,numberOfColumns:p,columnsToScroll:f,ariaLabels:m,onYearSelect:b,onMonthSelect:y,onYearMouseEnter:g,onMonthMouseEnter:h,onNextMonth:v,onPreviousMonth:w,onNextYear:O,onPreviousYear:x,onNextDecade:k,onPreviousDecade:S,withCellSpacing:P,__updateDateOnYearSelect:E,__updateDateOnMonthSelect:C,firstDayOfWeek:j,weekdayFormat:N,weekendDays:z,getDayProps:I,excludeDate:D,renderDay:R,hideOutsideDates:L,hideWeekdays:_,getDayAriaLabel:A,monthLabelFormat:T,monthsListFormat:$,getMonthControlProps:M,yearLabelFormat:F,yearsListFormat:B,getYearControlProps:W,decadeLabelFormat:H,allowSingleDateInRange:G,allowDeselect:V,minDate:Y,maxDate:Z,locale:K},others:cn(t,["maxLevel","minLevel","defaultLevel","level","onLevelChange","nextIcon","previousIcon","date","defaultDate","onDateChange","numberOfColumns","columnsToScroll","ariaLabels","onYearSelect","onMonthSelect","onYearMouseEnter","onMonthMouseEnter","onNextMonth","onPreviousMonth","onNextYear","onPreviousYear","onNextDecade","onPreviousDecade","withCellSpacing","__updateDateOnYearSelect","__updateDateOnMonthSelect","firstDayOfWeek","weekdayFormat","weekendDays","getDayProps","excludeDate","renderDay","hideOutsideDates","hideWeekdays","getDayAriaLabel","monthLabelFormat","monthsListFormat","getMonthControlProps","yearLabelFormat","yearsListFormat","getYearControlProps","decadeLabelFormat","allowSingleDateInRange","allowDeselect","minDate","maxDate","locale"])}}var dn=r(66261),pn=r(80971),fn=r(94151),mn=r(45528),bn=r(37048);function yn(e,t){if("range"===t&&Array.isArray(e)){const[t,r]=e;return t?r?`${t.toISOString()} – ${r.toISOString()}`:`${t.toISOString()} –`:""}return"multiple"===t&&Array.isArray(e)?e.map((e=>e.toISOString())).join(", "):!Array.isArray(e)&&e?e.toISOString():""}function gn({value:e,type:t,name:r,form:o}){return n.createElement("input",{type:"hidden",value:yn(e,t),name:r,form:o})}function hn(e,t){if(!e||!t)return t;const r=e.getHours(),n=e.getMinutes(),o=e.getSeconds(),a=e.getMilliseconds(),i=new Date(t);return i.setHours(r),i.setMinutes(n),i.setSeconds(o),i.setMilliseconds(a),i}gn.displayName="@mantine/dates/HiddenDatesInput";var vn=Object.defineProperty,wn=Object.defineProperties,On=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Pn=(e,t,r)=>t in e?vn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,En=(e,t)=>{for(var r in t||(t={}))kn.call(t,r)&&Pn(e,r,t[r]);if(xn)for(var r of xn(t))Sn.call(t,r)&&Pn(e,r,t[r]);return e},Cn=(e,t)=>wn(e,On(t));const jn={valueFormat:"MMMM D, YYYY",fixOnBlur:!0,preserveTime:!0,size:"sm"},Nn=(0,n.forwardRef)(((e,t)=>{const r=(0,dn.k)("DateInput",jn,e),{inputProps:o,wrapperProps:a,value:i,defaultValue:l,onCh
1ange:s,clearable:c,clearButtonProps:u,popoverProps:d,getDayProps:p,locale:f,valueFormat:m,dateParser:b,minDate:y,maxDate:g,fixOnBlur:h,onFocus:v,onBlur:w,onClick:O,readOnly:x,name:k,form:S,rightSection:P,unstyled:E,classNames:C,styles:j,allowDeselect:N,preserveTime:z,date:I,defaultDate:D,onDateChange:R}=r,L=((e,t)=>{var r={};for(var n in e)kn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&xn)for(var n of xn(e))t.indexOf(n)<0&&Sn.call(e,n)&&(r[n]=e[n]);return r})(r,["inputProps","wrapperProps","value","defaultValue","onChange","clearable","clearButtonProps","popoverProps","getDayProps","locale","valueFormat","dateParser","minDate","maxDate","fixOnBlur","onFocus","onBlur","onClick","readOnly","name","form","rightSection","unstyled","classNames","styles","allowDeselect","preserveTime","date","defaultDate","onDateChange"]),{calendarProps:_,others:A}=un(L),T=ke(),$=b||(e=>{const t=X()(e,m,T.getLocale(f)).toDate();return Number.isNaN(t.getTime())?function(e){const t=new Date(e);return Number.isNaN(t.getTime())||!e?null:t}(e):t}),M=void 0!==N?N:c,F=e=>e?X()(e).locale(T.getLocale(f)).format(m):"",[B,W,H]=(0,J.C)({value:i,defaultValue:l,finalValue:null,onChange:s}),[G,V]=(0,J.C)({value:I,defaultValue:l||D,finalValue:null,onChange:R});(0,n.useEffect)((()=>{H&&V(i)}),[H,i]);const[Y,Z]=(0,n.useState)(F(B));(0,n.useEffect)((()=>{Z(F(B))}),[T.getLocale(f)]);const[K,U]=(0,n.useState)(!1),q=P||(c&&B&&!x?n.createElement(pn.P,En({variant:"transparent",onMouseDown:e=>e.preventDefault(),tabIndex:-1,onClick:()=>{W(null),!H&&Z(""),U(!1)},unstyled:E},u)):null);return(0,bn.l)((()=>{void 0!==i&&!K&&Z(F(i))}),[i]),n.createElement(n.Fragment,null,n.createElement(fn.I.Wrapper,Cn(En({},a),{__staticSelector:"DateInput"}),n.createElement(mn.J,En({opened:K,trapFocus:!1,position:"bottom-start",disabled:x,withRoles:!1},d),n.createElement(mn.J.Target,null,n.createElement(fn.I,Cn(En(En({"data-dates-input":!0,"data-read-only":x||void 0,autoComplete:"off",ref:t,value:Y,onChange:e=>{const t=e.currentTarget.value;if(Z(t),""===t.trim()&&c)W(null);else{const e=$(t);(function({date:e,maxDate:t,minDate:r}){return!(null==e||Number.isNaN(e.getTime())||t&&X()(e).isAfter(t,"date")||r&&X()(e).isBefore(r,"date"))})({date:e,minDate:y,maxDate:g})&&(W(e),V(e))}},onBlur:e=>{null==w||w(e),U(!1),h&&Z(F(B))},onFocus:e=>{null==v||v(e),U(!0)},onClick:e=>{null==O||O(e),U(!0)},readOnly:x,rightSection:q},o),A),{__staticSelector:"DateInput"}))),n.createElement(mn.J.Dropdown,{onMouseDown:e=>e.preventDefault(),"data-dates-dropdown":!0},n.createElement(on,Cn(En({__staticSelector:"DateInput"},_),{classNames:C,styles:j,unstyled:E,__preventFocus:!0,minDate:y,maxDate:g,locale:f,getDayProps:e=>Cn(En({},null==p?void 0:p(e)),{selected:X()(B).isSame(e,"day"),onClick:()=>{const t=z?hn(B,e):e,r=c&&M&&X()(B).isSame(e,"day")?null:t;W(r),!H&&Z(F(r)),U(!1)}}),size:o.size,date:G,onDateChange:V}))))),n.createElement(gn,{name:k,form:S,value:B,type:"default"}))}));Nn.displayName="@mantine/dates/DateInput";const zn=e=>"range"===e?[null,null]:"multiple"===e?[]:null;function In({type:e,value:t,defaultValue:r,onChange:o}){const a=(0,n.useRef)(e),[i,l]=(0,J.C)({value:t,defaultValue:r,onChange:o,finalValue:zn(e)});let s=i;return a.current!==e&&(a.current=e,void 0===t&&(s=void 0!==r?r:zn(e),l(s))),[s,l]}function Dn(e,t){const r=[...t].sort(((e,t)=>e.getTime()-t.getTime()));return X()(r[0]).startOf("day").subtract(1,"ms").isBefore(e)&&X()(r[1]).endOf("day").add(1,"ms").isAfter(e)}function Rn({type:e,level:t,value:r,defaultValue:o,onChange:a,allowSingleDateInRange:i,allowDeselect:l,onMouseLeave:s}){const[c,u]=In({type:e,value:r,defaultValue:o,onChange:a}),[d,p]=(0,n.useState)("range"===e&&c[0]&&!c[1]?c[0]:null),[f,m]=(0,n.useState)(null),b=e=>d instanceof Date&&f instanceof Date?Dn(e,[f,d]):c[0]instanceof Date&&c[1]instanceof Date&&Dn(e,c),y=e=>c[0]instanceof Date&&(!!X()(e).isSame(c[0],t)&&!(f&&X()(f).isBefore(c[0]))),g=e=>c[1]instanceof Date?X()(e).isSame(c[1],t):!!(c[0]instanceof Date&&f)&&(X()(f).isBefore(c[0])&&X()(e).isSame(c[0],t));return{onDateChange:r=>{if("range"===e){if(d instanceof Date&&!c[1]){if(X()(r).isSame(d,t)&&!i)return p(null),m(null),void u([null,
1null]);const e=[r,d];return e.sort(((e,t)=>e.getTime()-t.getTime())),u(e),m(null),void p(null)}return c[0]&&!c[1]&&X()(r).isSame(c[0],t)&&!i?(p(null),m(null),void u([null,null])):(u([r,null]),m(null),void p(r))}"multiple"!==e?c&&l&&X()(r).isSame(c,t)?u(null):u(r):c.some((e=>X()(e).isSame(r,t)))?u(c.filter((e=>!X()(e).isSame(r,t)))):u([...c,r])},onRootMouseLeave:"range"===e?e=>{null==s||s(e),m(null)}:s,onHoveredDateChange:"range"===e&&d?m:()=>{},getControlProps:r=>{if("range"===e)return{selected:c.some((e=>e&&X()(e).isSame(r,t))),inRange:b(r),firstInRange:y(r),lastInRange:g(r),"data-autofocus":!!c[0]&&X()(c[0]).isSame(r,t)||void 0};if("multiple"===e)return{selected:c.some((e=>e&&X()(e).isSame(r,t))),"data-autofocus":!!c[0]&&X()(c[0]).isSame(r,t)||void 0};const n=X()(c).isSame(r,t);return{selected:n,"data-autofocus":n||void 0}},_value:c,setValue:u}}var Ln=Object.defineProperty,_n=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,$n=(e,t,r)=>t in e?Ln(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mn=(e,t)=>{for(var r in t||(t={}))An.call(t,r)&&$n(e,r,t[r]);if(_n)for(var r of _n(t))Tn.call(t,r)&&$n(e,r,t[r]);return e};const Fn={type:"default",numberOfColumns:1},Bn=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("DatePicker",Fn,e),{type:a,defaultValue:i,value:l,onChange:s,__staticSelector:c,getDayProps:u,allowSingleDateInRange:d,allowDeselect:p,onMouseLeave:f,numberOfColumns:m}=r,b=((e,t)=>{var r={};for(var n in e)An.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&_n)for(var n of _n(e))t.indexOf(n)<0&&Tn.call(e,n)&&(r[n]=e[n]);return r})(r,["type","defaultValue","value","onChange","__staticSelector","getDayProps","allowSingleDateInRange","allowDeselect","onMouseLeave","numberOfColumns"]),{onDateChange:y,onRootMouseLeave:g,onHoveredDateChange:h,getControlProps:v}=Rn({type:a,level:"day",allowDeselect:p,allowSingleDateInRange:d,value:l,defaultValue:i,onChange:s,onMouseLeave:f});return n.createElement(on,Mn({ref:t,minLevel:"month",__staticSelector:c||"DatePicker",onMouseLeave:g,hideOutsideDates:1!==m,numberOfColumns:m,__onDayMouseEnter:(e,t)=>h(t),__onDayClick:(e,t)=>y(t),getDayProps:e=>Mn(Mn({},v(e)),null==u?void 0:u(e))},b))}));Bn.displayName="@mantine/dates/DatePicker";var Wn=r(91759);function Hn({type:e,value:t,defaultValue:r,onChange:n,locale:o,format:a,closeOnChange:i,sortDates:l,labelSeparator:s}){const c=ke(),[u,d]=(0,Wn.q)(!1),[p,f]=In({type:e,value:t,defaultValue:r,onChange:n}),m=function({type:e,date:t,locale:r,format:n,labelSeparator:o}){const a=e=>X()(e).locale(r).format(n);return"default"===e?null===t?"":a(t):"multiple"===e?t.map(a).join(", "):"range"===e?t[0]&&t[1]?`${a(t[0])} ${o} ${a(t[1])}`:t[0]?`${a(t[0])} ${o} `:"":""}({type:e,date:p,locale:c.getLocale(o),format:a,labelSeparator:c.getLabelSeparator(s)}),b=t=>{i&&("default"===e&&d.close(),"range"===e&&t[0]&&t[1]&&d.close()),f(l&&"multiple"===e?[...t].sort(((e,t)=>e.getTime()-t.getTime())):t)},y="range"===e?!!p[0]:"multiple"===e?p.length>0:null!==p;return{_value:p,setValue:b,onClear:()=>b("range"===e?[null,null]:"multiple"===e?[]:null),shouldClear:y,formattedValue:m,dropdownOpened:u,dropdownHandlers:d}}function Gn({minDate:e,maxDate:t}){const r=new Date;return e||t?X()(r).isBefore(e)?e:X()(r).isAfter(t)?t:r:r}var Vn=r(94491),Yn=(0,v.k)((()=>({placeholder:{},input:{cursor:"pointer",lineHeight:"unset","&[data-read-only]":{cursor:"default"}}}))),Zn=Object.defineProperty,Kn=Object.defineProperties,Un=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,Qn=(e,t,r)=>t in e?Zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eo=(e,t)=>{for(var r in t||(t={}))Xn.call(t,r)&&Qn(e,r,t[r]);if(qn)for(var r of qn(t))Jn.call(t,r)&&Qn(e,r,t[r]);return e},to=(e,t)=>Kn(e,Un(t));const ro={},no=(0,n.forwardRef)(((e,t)=>{const r=(0,dn.k)("PickerInputBase",ro,e),{inputProps:o,wrapperProps:a,placeholder:i,classNames:l,styles:s,unstyled:c,popoverProps:u,modalProps:d,dropdownType:p,children:f,formattedValue:m,dropdownHandlers:b,dropdownOpened:y,onClick:g,clearable:h,onClear:v,clearButtonProps:w,rightSection:O,shouldClear:x,readOnly:k,disabled:S,value:P,name:E,form:C,type:j}=r,N=((e,t)=>{var r={};for(var n in e)Xn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&qn)for(var n of qn(e))t.indexOf(n)<0&&Jn.call(e,n)&&(r[n]=e[n]);return r})(r,["inputProps","wrapperProps","placeholder","classNames","styles","unstyled","popoverProps","modalProps","dropdownType","children","formattedValue","dropdownHandlers","dropdownOpened","onClick","clearable","onClear","clearButtonProps","rightSection","shouldClear","readOnly","disabled","value","name","form","type"]),{classes:z,cx:I}=Yn(null,{name:o.__staticSelector,classNames:l,styles:s,unstyled:c,variant:o.variant,size:o.size}),D=O||(h&&x&&!k&&!S?n.createElement(pn.P,eo({variant:"transparent",onClick:v,unstyled:c,size:o.size},w)):null),R=()=>{"range"===j&&P[0]&&!P[1]&&v(),b.close()},L=a.label;return n.createElement(n.Fragment,null,"modal"===p&&!k&&n.createElement(Vn.u,eo({opened:y,onClose:R,withCloseButton:!1,size:"auto","data-dates-modal":!0,unstyled:c},d),f),n.createElement(fn.I.Wrapper,eo({},a),n.createElement(mn.J,eo({position:"bottom-start",opened:y,onClose:R,disabled:"modal"===p||k,trapFocus:!0,returnFocus:!0,unstyled:c},u),n.createElement(mn.J.Target,{shouldOverrideDefaultTargetId:!L},n.createElement(fn.I,eo(to(eo({"aria-label":m,"data-dates-input":!0,"data-read-only":k||void 0,disabled:S,component:"button",type:"button",multiline:!0,onClick:e=>
1{null==g||g(e),b.toggle()},rightSection:D},o),{ref:t,classNames:to(eo({},l),{input:I(z.input,null==l?void 0:l.input)})}),N),m||n.createElement(fn.I.Placeholder,{className:z.placeholder,sx:{color:o.error?"inherit":void 0}},i))),n.createElement(mn.J.Dropdown,{"data-dates-dropdown":!0},f))),n.createElement(gn,{value:P,name:E,form:C,type:j}))}));no.displayName="@mantine/dates/PickerInputBase";var oo=Object.defineProperty,ao=Object.defineProperties,io=Object.getOwnPropertyDescriptors,lo=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,uo=(e,t,r)=>t in e?oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,po=(e,t)=>{for(var r in t||(t={}))so.call(t,r)&&uo(e,r,t[r]);if(lo)for(var r of lo(t))co.call(t,r)&&uo(e,r,t[r]);return e};const fo={type:"default",valueFormat:"MMMM D, YYYY",closeOnChange:!0,sortDates:!0,dropdownType:"popover"},mo=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("DatePickerInput",fo,e),{type:a,value:i,defaultValue:l,onChange:s,valueFormat:c,labelSeparator:u,locale:d,classNames:p,styles:f,unstyled:m,closeOnChange:b,size:y,variant:g,dropdownType:h,sortDates:v,maxDate:w,minDate:O,defaultDate:x}=r,k=((e,t)=>{var r={};for(var n in e)so.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&lo)for(var n of lo(e))t.indexOf(n)<0&&co.call(e,n)&&(r[n]=e[n]);return r})(r,["type","value","defaultValue","onChange","valueFormat","labelSeparator","locale","classNames","styles","unstyled","closeOnChange","size","variant","dropdownType","sortDates","maxDate","minDate","defaultDate"]),{calendarProps:S,others:P}=un(k),{_value:E,setValue:C,formattedValue:j,dropdownHandlers:N,dropdownOpened:z,onClear:I,shouldClear:D}=Hn({type:a,value:i,defaultValue:l,onChange:s,locale:d,format:c,labelSeparator:u,closeOnChange:b,sortDates:v}),R=x||Gn({maxDate:w,minDate:O});return n.createElement(no,po({formattedValue:j,dropdownOpened:z,dropdownHandlers:N,classNames:p,styles:f,unstyled:m,__staticSelector:"DatePickerInput",ref:t,onClear:I,shouldClear:D,value:E,type:a,size:y,variant:g,dropdownType:h},P),n.createElement(Bn,(L=po({},S),_={size:y,variant:g,type:a,value:E,defaultDate:Array.isArray(E)?E[0]||R:E||R,onChange:C,locale:d,classNames:p,styles:f,unstyled:m,__staticSelector:"DatePickerInput",__stopPropagation:"popover"===h,maxDate:w,minDate:O},ao(L,io(_)))));var L,_}));mo.displayName="@mantine/dates/DatePickerInput";var bo=r(49834),yo=r(35227),go=r(56183),ho=r(80665),vo=(0,v.k)((e=>({timeWrapper:{display:"flex",marginTop:e.spacing.md},timeInput:{flex:1,marginRight:e.spacing.md}}))),wo=r(80061),Oo=(0,v.k)((e=>({input:{paddingTop:0,paddingBottom:0,appearance:"none","&::-webkit-calendar-picker-indicator":{display:"none"},"&::-webkit-clear-button":{display:"none"},"&::-webkit-datetime-edit-hour-field, &::-webkit-datetime-edit-minute-field, &::-webkit-datetime-edit-second-field":{paddingTop:0,maxHeight:(0,O.h)(30),display:"inline","&:focus":{backgroundColor:e.fn.variant({variant:"filled"}).background,color:e.white}}}}))),xo=Object.defineProperty,ko=Object.defineProperties,So=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,Eo=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable,jo=(e,t,r)=>t in e?xo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,No=(e,t)=>{for(var r in t||(t={}))Eo.call(t,r)&&jo(e,r,t[r]);if(Po)for(var r of Po(t))Co.call(t,r)&&jo(e,r,t[r]);return e};const zo={},Io=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("TimeInput",zo,e),{classNames:a,withSeconds:i,variant:l,size:s,styles:c,unstyled:u}=r,d=((e,t)=>{var r={};for(var n in e)Eo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Po)for(var n of Po(e))t.indexOf(n)<0&&Co.call(e,n)&&(r[n]=e[n]);return r})(r,["classNames","withSeconds","variant","size","styles","unstyled"]),{classes:p,cx:f}=Oo(null,{name:"TimeInput",classNames:a,styles:c,unstyled:u,variant:l,size:s});return n.createElement(wo.o,No({type:"time",step:i?1:60,classNames:(m=No({},a),b={input:f(p.input,null==a?void 0:a.input)},ko(m,So(b))),styles:c,unstyled:u,variant:l,size:s,ref:t,__staticSelector:"TimeInput"},d));var m,b}));Io.displayName="@mantine/dates/TimeInput";var Do=Object.defineProperty,Ro=Object.defineProperties,Lo=Object.getOwnPropertyDescriptors,_o=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,$o=(e,t,r)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mo=(e,t)=>{for(var r in t||(t={}))Ao.call(t,r)&&$o(e,r,t[r]);if(_o)for(var r of _o(t))To.call(t,r)&&$o(e,r,t[r]);return e},Fo=(e,t)=>Ro(e,Lo(t)),Bo=(e,t)=>{var r={};for(var n in e)Ao.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&_o)for(var n of _o(e))t.indexOf(n)<0&&To.call(e,n)&&(r[n]=e[n]);return r};const Wo={size:"sm",dropdownType:"popover"},Ho=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("DateTimePicker",Wo,e),{value:a,defaultValue:i,onChange:l,valueFormat:s,locale:c,classNames:u,styles:d,unstyled:p,timeInputProps:f,submitButtonProps:m,withSeconds:b,level:y,defaultLevel:g,size:h,variant:v,dropdownType:w}=r,O=Bo(r,["value","defaultValue","onChange","valueFormat","locale","classNames","styles","unstyled","timeInputProps","
1submitButtonProps","withSeconds","level","defaultLevel","size","variant","dropdownType"]),x=s||(b?"DD/MM/YYYY HH:mm:ss":"DD/MM/YYYY HH:mm"),{classes:k,cx:S}=vo(null,{name:"DateTimePicker",classNames:u,styles:d,unstyled:p,variant:v,size:h}),P=(0,n.useRef)(),E=(0,ho.Y)(P,null==f?void 0:f.ref),C=un(O),{calendarProps:j}=C,N=Bo(j,["allowSingleDateInRange"]),{others:z}=C,I=ke(),[D,R]=(0,J.C)({value:a,defaultValue:i,finalValue:null,onChange:l}),L=e=>e?X()(e).format(b?"HH:mm:ss":"HH:mm"):"",[_,A]=(0,n.useState)(L(D)),[T,$]=(0,n.useState)(y||g||"month"),[M,F]=(0,Wn.q)(!1),B=D?X()(D).locale(I.getLocale(c)).format(x):"";(0,bn.l)((()=>{M||A(L(D))}),[D,M]),(0,bn.l)((()=>{M&&$("month")}),[M]);const W="popover"===w;return n.createElement(no,Mo({formattedValue:B,dropdownOpened:M,dropdownHandlers:F,classNames:u,styles:d,unstyled:p,__staticSelector:"DateTimePicker",ref:t,onClear:()=>R(null),shouldClear:!!D,value:D,type:"default",size:h,variant:v,dropdownType:w},z),n.createElement(Bn,Fo(Mo({},N),{size:h,variant:v,type:"default",value:D,defaultDate:D,onChange:e=>{var t;R(hn(D,e)),null==(t=P.current)||t.focus()},locale:c,classNames:u,styles:d,unstyled:p,__staticSelector:"DateTimePicker",__stopPropagation:W,level:y,defaultLevel:g,onLevelChange:e=>{var t;$(e),null==(t=N.onLevelChange)||t.call(N,e)}})),"month"===T&&n.createElement("div",{className:k.timeWrapper},n.createElement(Io,Fo(Mo({value:_,withSeconds:b,ref:E,unstyled:p},f),{className:S(k.timeInput,null==f?void 0:f.className),onChange:e=>{var t;null==(t=null==f?void 0:f.onChange)||t.call(f,e);const r=e.currentTarget.value;if(A(r),r){const[e,t,n]=r.split(":").map(Number),o=new Date;o.setHours(e),o.setMinutes(t),void 0!==n&&o.setSeconds(n),R(hn(o,D||new Date))}},onKeyDown:e=>{var t;null==(t=null==f?void 0:f.onKeyDown)||t.call(f,e),"Enter"===e.key&&(e.preventDefault(),F.close())},size:h,"data-mantine-stop-propagation":W||void 0})),n.createElement(bo.A,Fo(Mo({variant:"default",size:yo.J[h],unstyled:p,"data-mantine-stop-propagation":W||void 0,children:n.createElement(go.n,{width:`calc(${yo.J[h]} / 3)`})},m),{onClick:e=>{var t;null==(t=null==m?void 0:m.onClick)||t.call(m,e),F.close()}}))))}
1));Ho.displayName="@mantine/dates/DateTimePicker";var Go=Object.defineProperty,Vo=Object.getOwnPropertySymbols,Yo=Object.prototype.hasOwnProperty,Zo=Object.prototype.propertyIsEnumerable,Ko=(e,t,r)=>t in e?Go(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Uo=(e,t)=>{for(var r in t||(t={}))Yo.call(t,r)&&Ko(e,r,t[r]);if(Vo)for(var r of Vo(t))Zo.call(t,r)&&Ko(e,r,t[r]);return e};const qo={type:"default"},Xo=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("MonthPicker",qo,e),{type:a,defaultValue:i,value:l,onChange:s,__staticSelector:c,getMonthControlProps:u,allowSingleDateInRange:d,allowDeselect:p,onMouseLeave:f,onMonthSelect:m}=r,b=((e,t)=>{var r={};for(var n in e)Yo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Vo)for(var n of Vo(e))t.indexOf(n)<0&&Zo.call(e,n)&&(r[n]=e[n]);return r})(r,["type","defaultValue","value","onChange","__staticSelector","getMonthControlProps","allowSingleDateInRange","allowDeselect","onMouseLeave","onMonthSelect"]),{onDateChange:y,onRootMouseLeave:g,onHoveredDateChange:h,getControlProps:v}=Rn({type:a,level:"month",allowDeselect:p,allowSingleDateInRange:d,value:l,defaultValue:i,onChange:s,onMouseLeave:f});return n.createElement(on,Uo({ref:t,minLevel:"year",__updateDateOnMonthSelect:!1,__staticSelector:c||"MonthPicker",onMouseLeave:g,onMonthMouseEnter:(e,t)=>h(t),onMonthSelect:e=>{y(e),null==m||m(e)},getMonthControlProps:e=>Uo(Uo({},v(e)),null==u?void 0:u(e))},b))}));Xo.displayName="@mantine/dates/MonthPicker";var Jo=Object.defineProperty,Qo=Object.defineProperties,ea=Object.getOwnPropertyDescriptors,ta=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,oa=(e,t,r)=>t in e?Jo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,aa=(e,t)=>{for(var r in t||(t={}))ra.call(t,r)&&oa(e,r,t[r]);if(ta)for(var r of ta(t))na.call(t,r)&&oa(e,r,t[r]);return e};const ia={type:"default",valueFormat:"MMMM YYYY",closeOnChange:!0,sortDates:!0,dropdownType:"popover"},la=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("MonthPickerInput",ia,e),{type:a,value:i,defaultValue:l,onChange:s,valueFormat:c,labelSeparator:u,locale:d,classNames:p,styles:f,unstyled:m,closeOnChange:b,variant:y,size:g,dropdownType:h,sortDates:v,minDate:w,maxDate:O}=r,x=((e,t)=>{var r={};for(var n in e)ra.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ta)for(var n of ta(e))t.indexOf(n)<0&&na.call(e,n)&&(r[n]=e[n]);return r})(r,["type","value","defaultValue","onChange","valueFormat","labelSeparator","locale","classNames","styles","unstyled","closeOnChange","variant","size","dropdownType","sortDates","minDate","maxDate"]),{calendarProps:k,others:S}=un(x),{_value:P,setValue:E,formattedValue:C,dropdownHandlers:j,dropdownOpened:N,onClear:z,shouldClear:I}=Hn({type:a,value:i,defaultValue:l,onChange:s,locale:d,format:c,labelSeparator:u,closeOnChange:b,sortDates:v});return n.createElement(no,aa({formattedValue:C,dropdownOpened:N,dropdownHandlers:j,classNames:p,styles:f,unstyled:m,__staticSelector:"MonthPickerInput",ref:t,onClear:z,shouldClear:I,value:P,type:a,variant:y,size:g,dropdownType:h},S),n.createElement(Xo,(D=aa({},k),R={type:a,value:P,defaultDate:Array.isArray(P)?P[0]||Gn({maxDate:O,minDate:w}):P||Gn({maxDate:O,minDate:w}),onChange:E,locale:d,classNames:p,styles:f,unstyled:m,__staticSelector:"MonthPickerInput",__stopPropagation:"popover"===h,variant:y,size:g,minDate:w,maxDate:O},Qo(D,ea(R)))));var D,R}));la.displayName="@mantine/dates/MonthPickerInput";var sa=Object.defineProperty,ca=Object.getOwnPropertySymbols,ua=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable,pa=(e,t,r)=>t in e?sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fa=(e,t)=>{for(var r in t||(t={}))ua.call(t,r)&&pa(e,r,t[r]);if(ca)for(var r of ca(t))da.call(t,r)&&pa(e,r,t[r]);return e};const ma={type:"default"},ba=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("YearPicker",ma,e),{type:a,defaultValue:i,value:l,onChange:s,__staticSelector:c,getYearControlProps:u,allowSingleDateInRange:d,allowDeselect:p,onMouseLeave:f,onYearSelect:m}=r,b=((e,t)=>{var r={};for(var n in e)ua.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ca)for(var n of ca(e))t.indexOf(n)<0&&da.call(e,n)&&(r[n]=e[n]);return r})(r,["type","defaultValue","value","onChange","__staticSelector","getYearControlProps","allowSingleDateInRange","allowDeselect","onMouseLeave","onYearSelect"]),{onDateChange:y,onRootMouseLeave:g,onHoveredDateChange:h,getControlProps:v}=Rn({type:a,level:"year",allowDeselect:p,allowSingleDateInRange:d,value:l,defaultValue:i,onChange:s,onMouseLeave:f});return n.createElement(on,fa({ref:t,minLevel:"decade",__updateDateOnYearSelect:!1,__staticSelector:c||"YearPicker",onMouseLeave:g,onYearMouseEnter:(e,t)=>h(t),onYearSelect:e=>{y(e),null==m||m(e)},getYearControlProps:e=>fa(fa({},v(e)),null==u?void 0:u(e))},b))}));ba.displayName="@mantine/dates/YearPicker";var ya=Object.defineProperty,ga=Object.defineProperties,ha=Object.getOwnPropertyDescriptors,va=Object.getOwnPropertySymbols,wa=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,xa=(e,t,r)=>t in e?ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ka=(e,t)=>{for(var r in t||(t={}))wa.call(t,r)&&xa(e,r,t[r]);if(va)for(var r of va(t))Oa.call(t,r)&&xa(e,r,t[r]);return e};const Sa={type:"default",valueFormat:"YYYY",closeOnChange:!0,sortDates:!0,dropdownType:"popover"},Pa=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("YearPickerInput",Sa,e),{type:a,value:i,defaultValue:l,onCh
1ange:s,valueFormat:c,labelSeparator:u,locale:d,classNames:p,styles:f,unstyled:m,closeOnChange:b,size:y,variant:g,dropdownType:h,sortDates:v,minDate:w,maxDate:O}=r,x=((e,t)=>{var r={};for(var n in e)wa.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&va)for(var n of va(e))t.indexOf(n)<0&&Oa.call(e,n)&&(r[n]=e[n]);return r})(r,["type","value","defaultValue","onChange","valueFormat","labelSeparator","locale","classNames","styles","unstyled","closeOnChange","size","variant","dropdownType","sortDates","minDate","maxDate"]),{calendarProps:k,others:S}=un(x),{_value:P,setValue:E,formattedValue:C,dropdownHandlers:j,dropdownOpened:N,onClear:z,shouldClear:I}=Hn({type:a,value:i,defaultValue:l,onChange:s,locale:d,format:c,labelSeparator:u,closeOnChange:b,sortDates:v});return n.createElement(no,ka({formattedValue:C,dropdownOpened:N,dropdownHandlers:j,classNames:p,styles:f,unstyled:m,__staticSelector:"YearPickerInput",ref:t,onClear:z,shouldClear:I,value:P,type:a,size:y,variant:g,dropdownType:h},S),n.createElement(ba,(D=ka({},k),R={size:y,variant:g,type:a,value:P,defaultDate:Array.isArray(P)?P[0]||Gn({maxDate:O,minDate:w}):P||Gn({maxDate:O,minDate:w}),onChange:E,locale:d,classNames:p,styles:f,unstyled:m,__staticSelector:"YearPickerInput",__stopPropagation:"popover"===h,minDate:w,maxDate:O},ga(D,ha(R)))));var D,R}));Pa.displayName="@mantine/dates/YearPickerInput"},46223:function(e,t,r){r.r(t),r.d(t,{Dropzone:function(){return xe},EXE_MIME_TYPE:function(){return Oe},IMAGE_MIME_TYPE:function(){return ye},MIME_TYPES:function(){return be},MS_EXCEL_MIME_TYPE:function(){return ve},MS_POWERPOINT_MIME_TYPE:function(){return we},MS_WORD_MIME_TYPE:function(){return he},PDF_MIME_TYPE:function(){return ge}});var n=r(67294),o=r(58332),a=r(73623),i=r(83143),l=r(64523),s=r(91759),c=r(41582),u=r(49737),d=r(83979);const[p,f]=function(e){const t=(0,n.createContext)(null);return[({children:e,value:r})=>n.createElement(t.Provider,{value:r},e),()=>{const r=(0,n.useContext)(t);if(null===r)throw new Error(e);return r}]}("Dropzone component was not found in tree");var m=r(22146);var b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t)=>{var r={};for(var n in e)y.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&b)for(var n of b(e))t.indexOf(n)<0&&g.call(e,n)&&(r[n]=e[n]);return r};function v(e){const t=t=>{const r=(0,a.N4)(`Dropzone${(0,m.j)(e)}`,{},t),{children:o}=r,i=h(r,["children"]),l=f(),s=(c=o,Array.isArray(c)||null===c||"object"!=typeof c||c.type===n.Fragment?n.createElement("span",null,o):o);var c;return l[e]?(0,n.cloneElement)(s,i):null};return t.displayName=`@mantine/dropzone/${(0,m.j)(e)}`,t}const w=v("accept"),O=v("reject"),x=v("idle");var k=r(71485),S=r(2566),P=r(21434),E=Object.defineProperty,C=Object.defineProperties,j=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,D=(e,t,r)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))z.call(t,r)&&D(e,r,t[r]);if(N)for(var r of N(t))I.call(t,r)&&D(e,r,t[r]);return e},L=(0,k.k)(((e,{padding:t,radius:r})=>{const n=e.fn.variant({color:"red",variant:"light"}),o=e.fn.variant({color:e.primaryColor,variant:"light"});return{root:(a=R(R({},e.fn.fontStyles()),e.fn.focusStyles()),i={boxSizing:"border-box",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:`${(0,S.h)(2)} dashed ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,padding:(0,P.a)({size:t,sizes:e.spacing}),borderRadius:e.fn.radius(r),cursor:"pointer",userSelect:"none",transition:"background-color 150ms ease",position:"relative","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]},"&[data-loading]":{cursor:"default","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white}},"&[data-accept]":{backgroundColor:"dark"===e.colorScheme?o.background:e.colors[e.primaryColor][0],borderColor:"dark"===e.colorScheme?o.border:e.colors[e.primaryColor][4],"&:hover":{backgroundColor:"dark"===e.colorScheme?o.background:e.colors[e.primaryColor][0]}},"&[data-reject]":{backgroundColor:"dark"===e.colorScheme?n.background:e.colors.red[0],borderColor:"dark"===e.colorScheme?n.border:e.colors.red[4],"&:hover":{backgroundColor:"dark"===e.colorScheme?n.background:e.colors.red[0]}}},C(a,j(i))),inner:{pointerEvents:"none",userSelect:"none"}};var a,i})),_=Object.defineProperty,A=Object.defineProperties,T=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,B=(e,t,r)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,W=(e,t)=>{for(var r in t||(t={}))M.call(t,r)&&B(e,r,t[r]);if($)for(var r of $(t))F.call(t,r)&&B(e,r,t[r]);return e},H=(e,t)=>
1A(e,T(t)),G=(e,t)=>{var r={};for(var n in e)M.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&$)for(var n of $(e))t.indexOf(n)<0&&F.call(e,n)&&(r[n]=e[n]);return r};const V={padding:"md",loading:!1,multiple:!0,maxSize:1/0,autoFocus:!1,activateOnClick:!0,activateOnDrag:!0,dragEventsBubbling:!0,activateOnKeyboard:!0,useFsAccessApi:!0};function Y(e){const t=(0,a.N4)("Dropzone",V,e),{className:r,padding:o,radius:i,disabled:s,classNames:f,styles:m,loading:b,multiple:y,maxSize:g,accept:h,children:v,onDropAny:w,onDrop:O,onReject:x,openRef:k,name:S,unstyled:P,maxFiles:E,autoFocus:C,activateOnClick:j,activateOnDrag:N,dragEventsBubbling:z,activateOnKeyboard:I,onDragEnter:D,onDragLeave:R,onDragOver:_,onFileDialogCancel:A,onFileDialogOpen:T,preventDropOnDocument:$,useFsAccessApi:M,getFilesFromEvent:F,validator:B,variant:Y}=t,Z=G(t,["className","padding","radius","disabled","classNames","styles","loading","multiple","maxSize","accept","children","onDropAny","onDrop","onReject","openRef","name","unstyled","maxFiles","autoFocus","activateOnClick","activateOnDrag","dragEventsBubbling","activateOnKeyboard","onDragEnter","onDragLeave","onDragOver","onFileDialogCancel","onFileDialogOpen","preventDropOnDocument","useFsAccessApi","getFilesFromEvent","validator","variant"]),{classes:K,cx:U}=L({radius:i,padding:o},{name:"Dropzone",classNames:f,styles:m,unstyled:P,variant:Y}),{getRootProps:q,getInputProps:X,isDragAccept:J,isDragReject:Q,open:ee}=(0,c.uI)(W({onDrop:w,onDropAccepted:O,onDropRejected:x,disabled:s||b,accept:Array.isArray(h)?h.reduce(((e,t)=>H(W({},e),{[t]:[]})),{}):h,multiple:y,maxSize:g,maxFiles:E,autoFocus:C,noClick:!j,noDrag:!N,noDragEventsBubbling:!z,noKeyboard:!I,onDragEnter:D,onDragLeave:R,onDragOver:_,onFileDialogCancel:A,onFileDialogOpen:T,preventDropOnDocument:$,useFsAccessApi:M,validator:B},F?{getFilesFromEvent:F}:null));(0,d.k)(k,ee);const te=!J&&!Q;return n.createElement(p,{value:{accept:J,reject:Q,idle:te}},n.createElement(l.x,H(W(W({},Z),q()),{"data-accept":J||void 0,"data-reject":Q||void 0,"data-idle":te||void 0,"data-loading":b||void 0,className:U(K.root,r)}),n.createElement(u.f,{visible:b,radius:i,unstyled:P}),n.createElement("input",H(W({},X()),{name:S})),n.createElement("div",{className:K.inner},v)))}Y.displayName="@mantine/dropzone/Dropzone",Y.Accept=w,Y.Reject=O,Y.Idle=x;const Z=Y;var K=Object.defineProperty,U=Object.defineProperties,q=Object.getOwnPropertyDescriptors,X=Object.getOwnPropertySymbols,J=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,ee=(e,t,r)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,te=(e,t)=>{for(var r in t||(t={}))J.call(t,r)&&ee(e,r,t[r]);if(X)for(var r of X(t))Q.call(t,r)&&ee(e,r,t[r]);return e},re=(0,k.k)((e=>{return{wrapper:(t=te({},e.fn.cover(0)),r={position:"fixed",backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,display:"flex",padding:e.spacing.xs,transition:"opacity 100ms ease"},U(t,q(r))),dropzone:{flex:1}};var t,r})),ne=Object.defineProperty,oe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(e,t,r)=>t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ue=(e,t)=>{for(var r in t||(t={}))le.call(t,r)&&ce(e,r,t[r]);if(ie)for(var r of ie(t))se.call(t,r)&&ce(e,r,t[r]);return e},de=(e,t)=>oe(e,ae(t)),pe=(e,t)=>{var r={};for(var n in e)le.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ie)for(var n of ie(e))t.indexOf(n)<0&&se.call(e,n)&&(r[n]=e[n]);return r};const fe={padding:"md",loading:!1,multiple:!0,maxSize:1/0,autoFocus:!1,activateOnClick:!0,activateOnDrag:!0,dragEventsBubbling:!0,activateOnKeyboard:!0,active:!0,zIndex:(0,o.w)("max"),withinPortal:!0};function me(e){const t=(0,a.N4)("DropzoneFullScreen",fe,e),{classNames:r,styles:o,sx:c,className:u,style:d,unstyled:p,active:f,onDrop:m,onReject:b,zIndex:y,withinPortal:g,portalProps:h}=t,v=pe(t,["classNames","styles","sx","className","style","unstyled","active","onDrop","onReject","zIndex","withinPortal","portalProps"]),[w,O]=n.useState(0),[x,{open:k,close:S}]=(0,s.q)(!1),{classes:P,cx:E}=re(null,{name:"DropzoneFullScreen",classNames:r,styles:o,unstyled:p}),C=e=>{e.dataTransfer.types.includes("Files")&&(O((e=>e+1)),k())},j=()=>{O((e=>e-1))};return(0,n.useEffect)((()=>{0===w&&S()}),[w]),(0,n.useEffect)((()=>
1{if(f)return document.addEventListener("dragenter",C,!1),document.addEventListener("dragleave",j,!1),()=>{document.removeEventListener("dragenter",C,!1),document.removeEventListener("dragleave",j,!1)}}),[f]),n.createElement(i.q,de(ue({},h),{withinPortal:g}),n.createElement(l.x,{className:E(P.wrapper,u),sx:c,style:de(ue({},d),{opacity:x?1:0,pointerEvents:x?"all":"none",zIndex:y})},n.createElement(Y,de(ue({},v),{classNames:r,styles:o,unstyled:p,className:P.dropzone,onDrop:e=>{null==m||m(e),S()},onReject:e=>{null==b||b(e),S()}}))))}me.displayName="@mantine/dropzone/DropzoneFullScreen";const be={png:"image/png",gif:"image/gif",jpeg:"image/jpeg",svg:"image/svg+xml",webp:"image/webp",avif:"image/avif",mp4:"video/mp4",zip:"application/zip",csv:"text/csv",pdf:"application/pdf",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",exe:"application/vnd.microsoft.portable-executable"},ye=[be.png,be.gif,be.jpeg,be.svg,be.webp,be.avif],ge=[be.pdf],he=[be.doc,be.docx],ve=[be.xls,be.xlsx],we=[be.ppt,be.pptx],Oe=[be.exe];Z.FullScreen=me;const xe=Z},82636:function(e,t,r){r.r(t),r.d(t,{FORM_INDEX:function(){return m},Form:function(){return ne},createFormContext:function(){return U},hasLength:function(){return he},isEmail:function(){return ye},isInRange:function(){return ve},isNotEmpty:function(){return me},joiResolver:function(){return fe},matches:function(){return be},matchesField:function(){return we},superstructResolver:function(){return ae},useForm:function(){return K},yupResolver:function(){return ie},zodResolver:function(){return oe}});var n=r(67294),o=r(64063),a=r.n(o);function i(e){return null===e||"object"!=typeof e?{}:Object.keys(e).reduce(((t,r)=>{const n=e[r];return null!=n&&!1!==n&&(t[r]=n),t}),{})}var l=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&d(e,r,t[r]);if(s)for(var r of s(t))u.call(t,r)&&d(e,r,t[r]);return e};function f(e,t){if(null===t||"object"!=typeof t)return{};const r=p({},t);return Object.keys(t).forEach((t=>{t.includes(`${String(e)}.`)&&delete r[t]})),r}const m="__MANTINE_FORM_INDEX__";function b(e,t){return!!t&&("boolean"==typeof t?t:!!Array.isArray(t)&&t.includes(e.replace(/[.][0-9]/g,`.${m}`)))}var y=r(60150);function g(e){return"string"!=typeof e?[]:e.split(".")}function h(e,t,r){const n=g(e);if(0===n.length)return r;const o=(0,y.Y)(r);if(1===n.length)return o[n[0]]=t,o;let a=o[n[0]];for(let e=1;e<n.length-1;e+=1){if(void 0===a)return o;a=a[n[e]]}return a[n[n.length-1]]=t,o}function v(e,t){const r=g(e);if(0===r.length||"object"!=typeof t||null===t)return;let n=t[r[0]];for(let e=1;e<r.length&&void 0!==n;e+=1)n=n[r[e]];return n}function w(e){const t=i(e);return{hasErrors:Object.keys(t).length>0,errors:t}}function O(e,t,r="",n={}){return"object"!=typeof e||null===e?n:Object.keys(e).reduce(((n,o)=>{const a=e[o],i=`${""===r?"":`${r}.`}${o}`,l=v(i,t);let s=!1;return"function"==typeof a&&(n[i]=a(l,t,i)),"object"==typeof a&&Array.isArray(l)&&(s=!0,l.forEach(((e,r)=>O(a,t,`${i}.${r}`,n)))),"object"==typeof a&&"object"==typeof l&&null!==l&&(s||O(a,t,i,n)),n}),n)}function x(e,t){return w("function"==typeof e?e(t):O(e,t))}function k(e,t,r){if("string"!=typeof e)return{hasError:!1,error:null};const n=x(t,r),o=Object.keys(n.errors).find((t=>e.split(".").every(((e,r)=>e===t.split(".")[r]))));return{hasError:!!o,error:o?n.errors[o]:null}}var S=Object.defineProperty,P=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&j(e,r,t[r]);if(P)for(var r of P(t))C.call(t,r)&&j(e,r,t[r]);return e};var z=Object.defineProperty,I=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,L=(e,t,r)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t)=>
1{for(var r in t||(t={}))D.call(t,r)&&L(e,r,t[r]);if(I)for(var r of I(t))R.call(t,r)&&L(e,r,t[r]);return e};function A(e,t){const r=e.substring(t.length+1).split(".")[0];return parseInt(r,10)}function T(e,t,r,n){if(void 0===t)return r;const o=`${String(e)}`;let a=r;-1===n&&(a=f(`${o}.${t}`,a));const i=_({},a),l=new Set;return Object.entries(a).filter((([e])=>{if(!e.startsWith(`${o}.`))return!1;const r=A(e,o);return!Number.isNaN(r)&&r>=t})).forEach((([e,t])=>{const r=A(e,o),a=e.replace(`${o}.${r}`,`${o}.${r+n}`);i[a]=t,l.add(a),l.has(e)||delete i[e]})),i}function $(e,t){const r=Object.keys(e);if("string"==typeof t){const n=r.filter((e=>e.startsWith(`${t}.`)));return e[t]||n.some((t=>e[t]))||!1}return r.some((t=>e[t]))}var M=Object.defineProperty,F=Object.defineProperties,B=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,V=(e,t,r)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Y=(e,t)=>{for(var r in t||(t={}))H.call(t,r)&&V(e,r,t[r]);if(W)for(var r of W(t))G.call(t,r)&&V(e,r,t[r]);return e},Z=(e,t)=>F(e,B(t));function K({initialValues:e={},initialErrors:t={},initialDirty:r={},initialTouched:o={},clearInputErrorOnChange:l=!0,validateInputOnChange:s=!1,validateInputOnBlur:c=!1,transformValues:u=(e=>e),validate:d}={}
1){const[p,m]=(0,n.useState)(o),[y,g]=(0,n.useState)(r),[w,O]=(0,n.useState)(e),[S,P]=(0,n.useState)(i(t)),E=(0,n.useRef)(e),C=e=>{E.current=e},j=(0,n.useCallback)((()=>m({})),[]),z=(0,n.useCallback)((e=>P((t=>i("function"==typeof e?e(t):e)))),[]),I=(0,n.useCallback)((()=>P({})),[]),D=(0,n.useCallback)((()=>{O(e),I(),C(e),g({}),j()}),[]),R=(0,n.useCallback)(((e,t)=>z((r=>Z(Y({},r),{[e]:t})))),[]),L=(0,n.useCallback)((e=>z((t=>{if("string"!=typeof e)return t;const r=Y({},t);return delete r[e],r}))),[]),_=(0,n.useCallback)((e=>g((t=>{if("string"!=typeof e)return t;const r=f(e,t);return delete r[e],r}))),[]),A=(0,n.useCallback)(((e,t)=>{const r=b(e,s);_(e),m((t=>Z(Y({},t),{[e]:!0}))),O((n=>{const o=h(e,t,n);if(r){const t=k(e,d,o);t.hasError?R(e,t.error):L(e)}return o})),!r&&l&&R(e,null)}),[]),M=(0,n.useCallback)((e=>{O((t=>{const r="function"==typeof e?e(t):e;return Y(Y({},t),r)})),l&&I()}),[]),F=(0,n.useCallback)(((e,t)=>{_(e),O((r=>function(e,{from:t,to:r},n){const o=v(e,n);if(!Array.isArray(o))return n;const a=[...o],i=o[t];return a.splice(t,1),a.splice(r,0,i),h(e,a,n)}(e,t,r))),P((r=>function(e,{from:t,to:r},n){const o=`${e}.${t}`,a=`${e}.${r}`,i=N({},n);return Object.keys(n).every((e=>{let t,r;if(e.startsWith(o)&&(t=e,r=e.replace(o,a)),e.startsWith(a)&&(t=e.replace(a,o),r=e),t&&r){const e=i[t],n=i[r];return void 0===n?delete i[t]:i[t]=n,void 0===e?delete i[r]:i[r]=e,!1}return!0})),i}(e,t,r)))}),[]),B=(0,n.useCallback)(((e,t)=>{_(e),O((r=>function(e,t,r){const n=v(e,r);return Array.isArray(n)?h(e,n.filter(((e,r)=>r!==t)),r):r}(e,t,r))),P((r=>T(e,t,r,-1)))}),[]),W=(0,n.useCallback)(((e,t,r)=>{_(e),O((n=>function(e,t,r,n){const o=v(e,n);if(!Array.isArray(o))return n;const a=[...o];return a.splice("number"==typeof r?r:a.length,0,t),h(e,a,n)}(e,t,r,n))),P((t=>T(e,r,t,1)))}),[]),H=(0,n.useCallback)((()=>{const e=x(d,w);return P(e.errors),e}),[w,d]),G=(0,n.useCallback)((e=>{const t=k(e,d,w);return t.hasError?R(e,t.error):L(e),t}),[w,d]),V=(0,n.useCallback)((e=>{e.preventDefault(),D()}),[]),K=(0,n.useCallback)((e=>$(p,e)),[p]),U=(0,n.useCallback)((e=>e?!k(e,d,w).hasError:!x(d,w).hasErrors),[w,d]);return{values:w,errors:S,setValues:M,setErrors:z,setFieldValue:A,setFieldError:R,clearFieldError:L,clearErrors:I,reset:D,validate:H,validateField:G,reorderListItem:F,removeListItem:B,insertListItem:W,getInputProps:(e,{type:t="input",withError:r=!0,withFocus:n=!0}={})=>{var o;const a={onChange:(o=t=>A(e,t),e=>{if(e)if("function"==typeof e)o(e);else if("object"==typeof e&&"nativeEvent"in e){const{currentTarget:t}=e;t instanceof HTMLInputElement?"checkbox"===t.type?o(t.checked):o(t.value):(t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)&&o(t.value)}else o(e);else o(e)})};return r&&(a.error=S[e]),"checkbox"===t?a.checked=v(e,w):a.value=v(e,w),n&&(a.onFocus=()=>m((t=>Z(Y({},t),{[e]:!0}))),a.onBlur=()=>{if(b(e,c)){const t=k(e,d,w);t.hasError?R(e,t.error):L(e)}}),a},onSubmit:(e,t)=>r=>{null==r||r.preventDefault();const n=H();n.hasErrors?null==t||t(n.errors,w,r):null==e||e(u(w),r)},onReset:V,isDirty:e=>{if(e){const t=v(e,y);if("boolean"==typeof t)return t;const r=v(e,w),n=v(e,E.current);return!a()(r,n)}return Object.keys(y).length>0?$(y):!a()(w,E.current)},isTouched:K,setTouched:m,setDirty:g,resetTouched:j,resetDirty:e=>{const t=e?Y(Y({},w),e):w;C(t),g({})},isValid:U,getTransformedValues:e=>u(e||w)}}function U(){const e=(0,n.createContext)(null);return[function({form:t,children:r}){return n.createElement(e.Provider,{value:t},r)},function(){const t=(0,n.useContext)(e);if(!t)throw new Error("useFormContext was called outside of FormProvider context");return t},K]}var q=Object.defineProperty,X=Object.defineProperties,J=Object.getOwnPropertyDescriptors,Q=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(e,t,r)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const ne=(0,n.forwardRef)(((e,t)=>{var r,o,a=e,{form:i,onSubmit:l,onReset:s}=a,c=((e,t)=>{var r={};for(var n in e)ee.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Q)for(var n of Q(e))t.indexOf(n)<0&&te.call(e,n)&&(r[n]=e[n]);return r})(a,["form","onSubmit","onReset"]);return n.createElement("form",(r=((e,t)=>{for(var r in t||(t={}))ee.call(t,r)&&re(e,r,t[r]);if(Q)for(var r of Q(t))te.call(t,r)&&re(e,r,t[r]);return e})({},c),o={onSubmit:i.onSubmit(l),onReset:e=>{null==s||s(e),i.onReset(e)},ref:t},X(r,J(o))))}));function oe(e){return t=>{const r=e.safeParse(t);if(r.success)return{};const n={};
1return r.error.errors.forEach((e=>{n[e.path.join(".")]=e.message})),n}}function ae(e){return function(t){const r={},[n]=e.validate(t);return n?(n.failures().forEach((e=>{const t=e.path.join(" ");r[e.path.join(".")]=`${t}: ${e.message}`})),r):r}}function ie(e){const t=e;return e=>{try{return t.validateSync(e,{abortEarly:!1}),{}}catch(e){const t={};return e.inner.forEach((e=>{t[e.path.replaceAll("[",".").replaceAll("]","")]=e.message})),t}}}var le=Object.defineProperty,se=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,de=(e,t,r)=>t in e?le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pe=(e,t)=>{for(var r in t||(t={}))ce.call(t,r)&&de(e,r,t[r]);if(se)for(var r of se(t))ue.call(t,r)&&de(e,r,t[r]);return e};function fe(e,t){const r=e;return e=>{const n=r.validate(e,pe({abortEarly:!1},t));if(!n.error)return{};const o={};return n.error.details.forEach((e=>{o[e.path.join(".")]=e.message})),o}}function me(e){const t=e||!0;return e=>"string"==typeof e?e.trim().length>0?null:t:Array.isArray(e)?e.length>0?null:t:null==e||!1===e?t:null}function be(e,t){const r=t||!0;return t=>"string"!=typeof t?r:e.test(t)?null:r}function ye(e){return be(/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e)}function ge(e,t){if("number"==typeof e)return t.length===e;const{max:r,min:n}=e;let o=!0;return"number"==typeof r&&t.length>r&&(o=!1),"number"==typeof n&&t.length<n&&(o=!1),o}function he(e,t){const r=t||!0;return t=>"string"==typeof t?ge(e,t.trim())?null:r:"object"==typeof t&&null!==t&&"length"in t&&ge(e,t)?null:r}function ve({min:e,max:t},r){const n=r||!0;return r=>{if("number"!=typeof r)return n;let o=!0;return"number"==typeof e&&r<e&&(o=!1),"number"==typeof t&&r>t&&(o=!1),o?null:n}}function we(e,t){const r=t||!0;return(t,n)=>n&&e in n&&t===n[e]?null:r}},93587:function(e,t,r){r.r(t),r.d(t,{assignRef:function(){return ut.k},clamp:function(){return s.u},clampUseMovePosition:function(){return ne.E},getHotkeyHandler:function(){return ct.yr},lowerFirst:function(){return dt},mergeRefs:function(){return U.l},randomId:function(){return pt.k},range:function(){return ft.w},shallowEqual:function(){return pe},upperFirst:function(){return mt.j},useClickOutside:function(){return n.O},useClipboard:function(){return o.V},useColorScheme:function(){return i},useCounter:function(){return y},useDebouncedState:function(){return g},useDebouncedValue:function(){return h},useDidUpdate:function(){return k.l},useDisclosure:function(){return He.q},useDocumentTitle:function(){return w},useDocumentVisibility:function(){return O},useElementSize:function(){return ce.h},useEventListener:function(){return We},useEyeDropper:function(){return st.s},useFavicon:function(){return nt},useFocusReturn:function(){return x.u},useFocusTrap:function(){return S.P},useFocusWithin:function(){return Ge},useForceUpdate:function(){return P.N},useFullscreen:function(){return Ne},useHash:function(){return Se},useHeadroom:function(){return lt},useHotkeys:function(){return Pe.A},useHover:function(){return Ie},useId:function(){return E.M},useIdle:function(){return L},useInputState:function(){return Be.U},useIntersection:function(){return ke},useInterval:function(){return _.Y},useIsomorphicEffect:function(){return v.Y},useListState:function(){return V},useLocalStorage:function(){return Y._},useLogger:function(){return ze},useMediaQuery:function(){return a.a},useMergedRef:function(){return U.Y},useMouse:function(){return re},useMove:function(){return ne.r},useNetwork:function(){return Je},useOs:function(){return Re.i},usePageLeave:function(){return ie},usePagination:function(){return oe.h},usePrevious:function(){return tt},useQueue:function(){return ae.L},useReducedMotion:function(){return le.J},useResizeObserver:function(){return ce.y},useScrollIntoView:function(){return se.g},useScrollLock:function(){return de},useSessionStorage:function(){return K},useSetState:function(){return Fe},useShallowEffect:function(){return me},useTextSelection:function(){return et},useTimeout:function(){return Qe.K},useToggle:function(){return be},useUncontrolled:function(){return ye.C},useValidatedState:function(){return De},useViewportSize:function(){return ve},useWindowEvent:function(){return ge.s},useWindowScroll:function(){return xe}});var n=r(10753),o=r(18060),a=r(34065);function i(e,t){return(0,a.a)("(prefers-color-scheme: dark)","dark"===e,t)?"dark":"light"}var l=r(67294),s=r(9276),c=Object.defineProperty,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>
1{for(var r in t||(t={}))d.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&f(e,r,t[r]);return e};const b={min:-1/0,max:1/0};function y(e=0,t){const{min:r,max:n}=m(m({},b),t),[o,a]=(0,l.useState)((0,s.u)(e,r,n));return[o,{increment:()=>a((e=>(0,s.u)(e+1,r,n))),decrement:()=>a((e=>(0,s.u)(e-1,r,n))),set:e=>a((0,s.u)(e,r,n)),reset:()=>a((0,s.u)(e,r,n))}]}function g(e,t,r={leading:!1}){const[n,o]=(0,l.useState)(e),a=(0,l.useRef)(null),i=(0,l.useRef)(!0),s=()=>window.clearTimeout(a.current);(0,l.useEffect)((()=>s),[]);return[n,e=>{s(),i.current&&r.leading?o(e):a.current=window.setTimeout((()=>{i.current=!0,o(e)}),t),i.current=!1}]}function h(e,t,r={leading:!1}){const[n,o]=(0,l.useState)(e),a=(0,l.useRef)(!1),i=(0,l.useRef)(null),s=(0,l.useRef)(!1),c=()=>window.clearTimeout(i.current);return(0,l.useEffect)((()=>{a.current&&(!s.current&&r.leading?(s.current=!0,o(e)):(c(),i.current=window.setTimeout((()=>{s.current=!1,o(e)}),t)))}),[e,r.leading,t]),(0,l.useEffect)((()=>(a.current=!0,c)),[]),[n,c]}var v=r(10129);function w(e){(0,v.Y)((()=>{"string"==typeof e&&e.trim().length>0&&(document.title=e.trim())}),[e])}function O(){const[e,t]=(0,l.useState)("visible");return(0,l.useEffect)((()=>{const e=()=>t(document.visibilityState);return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)}),[]),e}var x=r(96362),k=r(37048),S=r(95909),P=r(52165),E=r(83051),C=Object.defineProperty,j=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,I=(e,t,r)=>t in e?C(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,D=(e,t)=>{for(var r in t||(t={}))N.call(t,r)&&I(e,r,t[r]);if(j)for(var r of j(t))z.call(t,r)&&I(e,r,t[r]);return e};const R={events:["keypress","mousemove","touchmove","click","scroll"],initialState:!0};function L(e,t){const{events:r,initialState:n}=D(D({},R),t),[o,a]=(0,l.useState)(n),i=(0,l.useRef)();return(0,l.useEffect)((()=>{const t=()=>{a(!1),i.current&&window.clearTimeout(i.current),i.current=window.setTimeout((()=>{a(!0)}),e)};return r.forEach((e=>document.addEventListener(e,t))),()=>{r.forEach((e=>document.removeEventListener(e,t)))}}),[e]),o}var _=r(65217),A=Object.defineProperty,T=Object.defineProperties,$=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,W=(e,t,r)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,H=(e,t)=>{for(var r in t||(t={}))F.call(t,r)&&W(e,r,t[r]);if(M)for(var r of M(t))B.call(t,r)&&W(e,r,t[r]);return e},G=(e,t)=>T(e,$(t));function V(e=[]){const[t,r]=(0,l.useState)(e);return[t,{setState:r,append:(...e)=>r((t=>[...t,...e])),prepend:(...e)=>r((t=>[...e,...t])),insert:(e,...t)=>r((r=>[...r.slice(0,e),...t,...r.slice(e)])),pop:()=>r((e=>{const t=[...e];return t.pop(),t})),shift:()=>r((e=>{const t=[...e];return t.shift(),t})),apply:e=>r((t=>t.map(((t,r)=>e(t,r))))),applyWhere:(e,t)=>r((r=>r.map(((r,n)=>e(r,n)?t(r,n):r)))),remove:(...e)=>r((t=>t.filter(((t,r)=>!e.includes(r))))),reorder:({from:e,to:t})=>r((r=>{const n=[...r],o=r[e];return n.splice(e,1),n.splice(t,0,o),n})),setItem:(e,t)=>r((r=>{const n=[...r];return n[e]=t,n})),setItemProp:(e,t,n)=>r((r=>{const o=[...r];return o[e]=G(H({},o[e]),{[t]:n}),o})),filter:e=>{r((t=>t.filter(e)))}}]}var Y=r(21997),Z=r(28738);function K(e){return(0,Z.o)("sessionStorage","use-session-storage")(e)}var U=r(80665),q=Object.defineProperty,X=Object.getOwnPropertySymbols,J=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,ee=(e,t,r)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,te=(e,t)=>{for(var r in t||(t={}))J.call(t,r)&&ee(e,r,t[r]);if(X)for(var r of X(t))Q.call(t,r)&&ee(e,r,t[r]);return e};function re(e={resetOnExit:!1}){const[t,r]=(0,l.useState)({x:0,y:0}),n=(0,l.useRef)(),o=e=>{if(n.current){const t=e.currentTarget.getBoundingClientRect(),n=Math.max(0,Math.round(e.pageX-t.left-(window.pageXOffset||window.scrollX))),o=Math.max(0,Math.round(e.pageY-t.top-(window.pageYOffset||window.scrollY)));r({x:n,y:o})}else r({x:e.clientX,y:e.clientY})},a=()=>r({x:0,y:0});return(0,l.useEffect)((()=>{const t=(null==n?void 0:n.current)?n.current:document;return t.addEventListener("mousemove",o),e.resetOnExit&&t.addEventListener("mouseleave",a),()=>{t.removeEventListener("mousemove",o),e.resetOnExit&&t.removeEventListener("mouseleave",a)}}),[n.current]),te({ref:n},t)}var ne=r(47776),oe=r(41354),ae=r(81772);function ie(e){(0,l.useEffect)((()=>(document.documentElement.addEventListener("mouseleave",e),()=>document.documentElement.removeEventListener("mouseleave",e))),[])}var le=r(73678),se=r(32819),ce=r(12185);const ue=({disableBodyPadding:e})=>{const t=e?null:"undefined"==typeof window||"undefined"==typeof document?0:parseInt(window.getComputedStyle(document.body).paddingRight,10)+(window.innerWidth-document.documentElement.clientWidth);return`body {\n --removed-scroll-width: ${t}px;\n touch-action: none;\n overflow: hidden !important;\n position: relative !important;\n ${t?"padding-right: var(--removed-scroll-width) !important;":""}\n `};function de(e,t={disableBodyPadding:!1}){const[r,n]=(0,l.useState)(e||!1),o=(0,l.useRef)(0),{disableBodyPadding:a}=t,i=(0,l.useRef)(null),s=()=>{o.current=window.scrollY;const e=ue({disableBodyPadding:a}),t=function(){const e=document.createElement("style");return e.type="text/css",e.setAttribute("mantine-scroll-lock",""),e}();var r,n;n=e,(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t),i.current=t},c=()=>{(null==i?void 0:i.current)&&(i.current.parentNode.removeChild(i.current),i.current=null)};return(0,l.useEffect)((()=>(r?s():c(),c)),[r]),(0,l.useEffect)((()=>{void 0!==e&&n(e)}),[e]),(0,l.useEffect)((()=>{void 0===e&&"undefined"!=typeof window&&"hidden"===window.document.body.style.overflow&&n(!0)}),[n]),[r,n]}function pe(e,t){if(e===t)return!0;
1if(!(e instanceof Object&&t instanceof Object))return!1;const r=Object.keys(e),{length:n}=r;if(n!==Object.keys(t).length)return!1;for(let o=0;o<n;o+=1){const n=r[o];if(!(n in t))return!1;if(e[n]!==t[n])return!1}return!0}function fe(e){const t=(0,l.useRef)([]),r=(0,l.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 r=0;r<e.length;r+=1)if(!pe(e[r],t[r]))return!1;return!0}(t.current,e)||(t.current=e,r.current+=1),[r.current]}function me(e,t){(0,l.useEffect)(e,fe(t))}function be(e=[!1,!0]){const[[t],r]=(0,l.useReducer)(((e,t)=>{const r=t instanceof Function?t(e[0]):t,n=Math.abs(e.indexOf(r));return e.slice(n).concat(e.slice(0,n))}),e);return[t,r]}var ye=r(15851),ge=r(84137);const he={passive:!0};function ve(){const[e,t]=(0,l.useState)({width:0,height:0}),r=(0,l.useCallback)((()=>{t({width:window.innerWidth||0,height:window.innerHeight||0})}),[]);return(0,ge.s)("resize",r,he),(0,ge.s)("orientationchange",r,he),(0,l.useEffect)(r,[]),e}function we(){return"undefined"!=typeof window?{x:window.pageXOffset,y:window.pageYOffset}:{x:0,y:0}}function Oe({x:e,y:t}){if("undefined"!=typeof window){const r={behavior:"smooth"};"number"==typeof e&&(r.left=e),"number"==typeof t&&(r.top=t),window.scrollTo(r)}}function xe(){const[e,t]=(0,l.useState)({x:0,y:0});return(0,ge.s)("scroll",(()=>t(we()))),(0,ge.s)("resize",(()=>t(we()))),(0,l.useEffect)((()=>{t(we())}),[]),[e,Oe]}function ke(e){const[t,r]=(0,l.useState)(null),n=(0,l.useRef)();return{ref:(0,l.useCallback)((t=>{n.current&&(n.current.disconnect(),n.current=null),null!==t?(n.current=new IntersectionObserver((([e])=>{r(e)}),e),n.current.observe(t)):r(null)}),[null==e?void 0:e.rootMargin,null==e?void 0:e.root,null==e?void 0:e.threshold]),entry:t}}function Se(){const[e,t]=(0,l.useState)("");return(0,ge.s)("hashchange",(()=>{const r=window.location.hash;e!==r&&t(r)})),(0,l.useEffect)((()=>{t(window.location.hash)}),[]),[e,e=>{const r=e.startsWith("#")?e:`#${e}`;window.location.hash=r,t(r)}]}var Pe=r(4736);function Ee(){const e=window.document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement}const Ce=["","webkit","moz","ms"];function je(e,{onFullScreen:t,onError:r}){return Ce.forEach((n=>{e.addEventListener(`${n}fullscreenchange`,t),e.addEventListener(`${n}fullscreenerror`,r)})),()=>{Ce.forEach((n=>{e.removeEventListener(`${n}fullscreenchange`,t),e.removeEventListener(`${n}fullscreenerror`,r)}))}}function Ne(){const[e,t]=(0,l.useState)(!1),r=(0,l.useRef)(),n=(0,l.useCallback)((e=>{t(e.target===Ee())}),[t]),o=(0,l.useCallback)((e=>{t(!1),console.error(`[@mantine/hooks] use-fullscreen: Error attempting full-screen mode method: ${e} (${e.target})`)}),[t]),a=(0,l.useCallback)((async()=>{Ee()?await async function(){const 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}():await async function(e){var t,r,n,o,a;const i=e;return(null==(t=i.requestFullscreen)?void 0:t.call(i))||(null==(r=i.msRequestFullscreen)?void 0:r.call(i))||(null==(n=i.webkitEnterFullscreen)?void 0:n.call(i))||(null==(o=i.webkitRequestFullscreen)?void 0:o.call(i))||(null==(a=i.mozRequestFullscreen)?void 0:a.call(i))}(r.current)}),[]),i=(0,l.useCallback)((e=>{r.current=null===e?window.document.documentElement:e}),[]);return(0,l.useEffect)((()=>!r.current&&window.document?(r.current=window.document.documentElement,je(r.current,{onFullScreen:n,onError:o})):r.current?je(r.current,{onFullScreen:n,onError:o}):void 0),[]),{ref:i,toggle:a,fullscreen:e}}function ze(e,t){return(0,l.useEffect)((()=>(console.log(`${e} mounted`,...t),()=>console.log(`${e} unmounted`))),[]),(0,k.l)((()=>{console.log(`${e} updated`,...t)}),t),null}function Ie(){const[e,t]=(0,l.useState)(!1),r=(0,l.useRef)(null),n=(0,l.useCallback)((()=>t(!0)),[]),o=(0,l.useCallback)((()=>t(!1)),[]);return(0,l.useEffect)((()=>{if(r.current)return r.current.addEventListener("mouseenter",n),r.current.addEventListener("mouseleave",o),()=>{var e,t;null==(e=r.current)||e.removeEventListener("mouseenter",n),null==(t=r.current)||t.removeEventListener("mouseleave",o)}}),[]),{ref:r,hovered:e}}function De(e,t,r){const[n,o]=(0,l.useState)(e),[a,i]=(0,l.useState)(t(e)?e:void 0),[s,c]=(0,l.useState)("boolean"==typeof r?r:t(e));return[{value:n,lastValidValue:a,valid:s},e=>{t(e)?(i(e),c(!0)):c(!1),o(e)}]}var Re=r(50064),Le=Object.defineProperty,_e=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,$e=(e,t,r)=>t in e?Le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Me=(e,t)=>{for(var r in t||(t={}))Ae.call(t,r)&&$e(e,r,t[r]);if(_e)for(var r of _e(t))Te.call(t,r)&&$e(e,r,t[r]);return e};function Fe(e){const[t,r]=(0,l.useState)(e);return[t,(0,l.useCallback)((e=>r((t=>Me(Me({},t),"function"==typeof e?e(t):e)))),[])]}var Be=r(41246);function We(e,t,r){const n=(0,l.useRef)();return(0,l.useEffect)((()=>
1{if(n.current)return n.current.addEventListener(e,t,r),()=>{var o;return null==(o=n.current)?void 0:o.removeEventListener(e,t,r)}}),[t,r]),n}var He=r(91759);function Ge({onBlur:e,onFocus:t}={}){const r=(0,l.useRef)(),[n,o]=(0,l.useState)(!1),a=(0,l.useRef)(!1),i=e=>{o(e),a.current=e},s=e=>{a.current||(i(!0),null==t||t(e))},c=t=>{a.current&&!function(e){return e.currentTarget instanceof HTMLElement&&e.relatedTarget instanceof HTMLElement&&e.currentTarget.contains(e.relatedTarget)}(t)&&(i(!1),null==e||e(t))};return(0,l.useEffect)((()=>{if(r.current)return r.current.addEventListener("focusin",s),r.current.addEventListener("focusout",c),()=>{var e,t;null==(e=r.current)||e.removeEventListener("focusin",s),null==(t=r.current)||t.removeEventListener("focusout",c)}}),[s,c]),{ref:r,focused:n}}var Ve=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Ue=(e,t,r)=>t in e?Ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qe=(e,t)=>{for(var r in t||(t={}))Ze.call(t,r)&&Ue(e,r,t[r]);if(Ye)for(var r of Ye(t))Ke.call(t,r)&&Ue(e,r,t[r]);return e};
1function Xe(){if("undefined"==typeof navigator)return{};const 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 Je(){const[e,t]=(0,l.useState)({online:!0}),r=(0,l.useCallback)((()=>t((e=>qe(qe({},e),Xe())))),[]);return(0,ge.s)("online",(()=>t(qe({online:!0},Xe())))),(0,ge.s)("offline",(()=>t(qe({online:!1},Xe())))),(0,l.useEffect)((()=>{const e=navigator;if(e.connection)return t(qe({online:e.onLine},Xe())),e.connection.addEventListener("change",r),()=>e.connection.removeEventListener("change",r)}),[]),e}var Qe=r(98697);function et(){const e=(0,P.N)(),[t,r]=(0,l.useState)(null),n=()=>{r(document.getSelection()),e()};return(0,l.useEffect)((()=>(r(document.getSelection()),document.addEventListener("selectionchange",n),()=>document.removeEventListener("selectionchange",n))),[]),t}function tt(e){const t=(0,l.useRef)();return(0,l.useEffect)((()=>{t.current=e}),[e]),t.current}const rt={ico:"image/x-icon",png:"image/png",svg:"image/svg+xml",gif:"image/gif"};function nt(e){const t=(0,l.useRef)();(0,v.Y)((()=>{if(!e)return;if(!t.current){document.querySelectorAll('link[rel*="icon"]').forEach((e=>document.head.removeChild(e)));const e=document.createElement("link");e.rel="shortcut icon",t.current=e,document.querySelector("head").appendChild(e)}const r=e.split(".");t.current.setAttribute("type",rt[r[r.length-1].toLowerCase()]),t.current.setAttribute("href",e)}),[e])}const ot=(e,t)=>e<=t,at=(e,t)=>e<=t,it=(e,t,r)=>!at(e,t)&&!ot(e,r);function lt({fixedAt:e=0,onPin:t,onFix:r,onRelease:n}={}){const o=(0,l.useRef)(0),[{y:a}]=xe();return(0,v.Y)((()=>{at(a,o.current)&&(null==t||t())}),[a,t]),(0,v.Y)((()=>{ot(a,e)&&(null==r||r())}),[a,e,r]),(0,v.Y)((()=>{it(a,o.current,e)&&(null==n||n())}),[a,n]),(0,v.Y)((()=>{o.current=window.scrollY}),[a]),!!at(a,o.current)||!!ot(a,e)}var st=r(43010),ct=r(94707),ut=r(83979);function dt(e){return"string"!=typeof e?"":e.charAt(0).toLowerCase()+e.slice(1)}var pt=r(89058),ft=r(96822),mt=r(22146)},10753:function(e,t,r){r.d(t,{O:function(){return a}});var n=r(67294);const o=["mousedown","touchstart"];function a(e,t,r){const a=(0,n.useRef)();return(0,n.useEffect)((()=>{const n=t=>{const{target:n}=null!=t?t:{};if(Array.isArray(r)){const o=(null==n?void 0:n.hasAttribute("data-ignore-outside-clicks"))||!document.body.contains(n)&&"HTML"!==n.tagName;r.every((e=>!!e&&!t.composedPath().includes(e)))&&!o&&e()}else a.current&&!a.current.contains(n)&&e()};return(t||o).forEach((e=>document.addEventListener(e,n))),()=>{(t||o).forEach((e=>document.removeEventListener(e,n)))}}),[a,e,r]),a}},18060:function(e,t,r){r.d(t,{V:function(){return o}});var n=r(67294);function o({timeout:e=2e3}={}){const[t,r]=(0,n.useState)(null),[o,a]=(0,n.useState)(!1),[i,l]=(0,n.use
1State)(null);return{copy:t=>{"clipboard"in navigator?navigator.clipboard.writeText(t).then((()=>{return t=!0,clearTimeout(i),l(setTimeout((()=>a(!1)),e)),void a(t);var t})).catch((e=>r(e))):r(new Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{a(!1),r(null),clearTimeout(i)},error:t,copied:o}}},37048:function(e,t,r){r.d(t,{l:function(){return o}});var n=r(67294);function o(e,t){const r=(0,n.useRef)(!1);(0,n.useEffect)((()=>()=>{r.current=!1}),[]),(0,n.useEffect)((()=>{if(r.current)return e();r.current=!0}),t)}},91759:function(e,t,r){r.d(t,{q:function(){return o}});var n=r(67294);function o(e=!1,t){const{onOpen:r,onClose:o}=t||{},[a,i]=(0,n.useState)(e),l=(0,n.useCallback)((()=>{i((e=>e||(null==r||r(),!0)))}),[r]),s=(0,n.useCallback)((()=>{i((e=>e?(null==o||o(),!1):e))}),[o]),c=(0,n.useCallback)((()=>{a?s():l()}),[s,l,a]);return[a,{open:l,close:s,toggle:c}]}},43010:function(e,t,r){r.d(t,{s:function(){return a}});var n=r(67294),o=r(10129);function a(){const[e,t]=(0,n.useState)(!1);(0,o.Y)((()=>{t("undefined"!=typeof window&&"EyeDropper"in window)}),[]);const r=(0,n.useCallback)(((t={})=>{if(e){return(new window.EyeDropper).open(t)}}),[e]);return{supported:e,open:r}}},96362:function(e,t,r){r.d(t,{u:function(){return a}});var n=r(67294),o=r(37048);function a({opened:e,shouldReturnFocus:t=!0}){const r=(0,n.useRef)(),a=()=>{var e;r.current&&"focus"in r.current&&"function"==typeof r.current.focus&&(null==(e=r.current)||e.focus({preventScroll:!0}))};return(0,o.l)((()=>{let n=-1;const o=e=>{"Tab"===e.key&&window.clearTimeout(n)};return document.addEventListener("keydown",o),e?r.current=document.activeElement:t&&(n=window.setTimeout(a,10)),()=>{window.clearTimeout(n),document.removeEventListener("keydown",o)}}),[e,t]),a}},95909:function(e,t,r){r.d(t,{P:function(){return p}});var n=r(67294);const o=/input|select|textarea|button|object/,a="a, input, select, textarea, button, object, [tabindex]";function i(e){return"none"===e.style.display}function l(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function s(e){const t=e.nodeName.toLowerCase(),r=!Number.isNaN(l(e));return(o.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;let t=e;for(;t&&t!==document.body&&11!==t.nodeType;){if(i(t))return!1;t=t.parentNode}return!0}(e)}function c(e){const t=l(e);return(Number.isNaN(t)||t>=0)&&s(e)}function u(e){return Array.from(e.querySelectorAll(a)).filter(c)}var d=r(89058);function p(e=!0){const t=(0,n.useRef)(),r=(0,n.useRef)(null),o=e=>{let t=e.querySelector("[data-autofocus]");if(!t){const r=Array.from(e.querySelectorAll(a));t=r.find(c)||r.find(s)||null,!t&&s(e)&&(t=e)}t&&t.focus({preventScroll:!0})},i=(0,n.useCallback)((n=>{e&&(null!==n?(r.current=function(e,t="body > :not(script)"){const r=(0,d.k)(),n=Array.from(document.querySelectorAll(t)).map((t=>{var n;if((null==(n=null==t?void 0:t.shadowRoot)?void 0:n.contains(e))||t.contains(e))return;const o=t.getAttribute("aria-hidden"),a=t.getAttribute("data-hidden"),i=t.getAttribute("data-focus-id");return t.setAttribute("data-focus-id",r),null===o||"false"===o?t.setAttribute("aria-hidden","true"):a||i||t.setAttribute("data-hidden",o),{node:t,ariaHidden:a||null}}));return()=>{n.forEach((e=>{e&&r===e.node.getAttribute("data-focus-id")&&(null===e.ariaHidden?e.node.removeAttribute("aria-hidden"):e.node.setAttribute("aria-hidden",e.ariaHidden),e.node.removeAttribute("data-focus-id"),e.node.removeAttribute("data-hidden"))}))}}(n),t.current!==n&&(n?(setTimeout((()=>{n.getRootNode()&&o(n)})),t.current=n):t.current=null)):r.current&&(r.current(),r.current=null))}),[e]);return(0,n.useEffect)((()=>{if(!e)return;t.current&&setTimeout((()=>o(t.current)));const n=e=>{"Tab"===e.key&&t.current&&function(e,t){const r=u(e);if(!r.length)return void t.preventDefault();const n=r[t.shiftKey?0:r.length-1],o=e.getRootNode();if(n!==o.activeElement&&e!==o.activeElement)return;t.preventDefault();const a=r[t.shiftKey?r.length-1:0];a&&a.focus()}(t.current,e)};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n),r.current&&r.current()}}),[e]),i}},52165:function(e,t,r){r.d(t,{N:function(){return a}});var n=r(67294);const o=e=>(e+1)%1e6;function a(){const[,e]=(0,n.useReducer)(o,0);return e}},94707:function(e,t,r){r.d(t,{k:function(){return p},yr:function(){return f}});var n=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>
1{for(var r in t||(t={}))l.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&c(e,r,t[r]);return e},d=(e,t)=>o(e,a(t));function p(e){return t=>function(e,t){const{alt:r,ctrl:n,meta:o,mod:a,shift:i,key:l}=e,{altKey:s,ctrlKey:c,metaKey:u,shiftKey:d,key:p}=t;if(r!==s)return!1;if(a){if(!c&&!u)return!1}else{if(n!==c)return!1;if(o!==u)return!1}return i===d&&!(!l||p.toLowerCase()!==l.toLowerCase()&&t.code.replace("Key","").toLowerCase()!==l.toLowerCase())}(function(e){const t=e.toLowerCase().split("+").map((e=>e.trim())),r={alt:t.includes("alt"),ctrl:t.includes("ctrl"),meta:t.includes("meta"),mod:t.includes("mod"),shift:t.includes("shift")},n=["alt","ctrl","meta","shift","mod"],o=t.find((e=>!n.includes(e)));return d(u({},r),{key:o})}(e),t)}function f(e){return t=>{const r="nativeEvent"in t?t.nativeEvent:t;e.forEach((([e,n,o={preventDefault:!0}])=>{p(e)(r)&&(o.preventDefault&&t.preventDefault(),n(r))}))}}},4736:function(e,t,r){r.d(t,{A:function(){return a}});var n=r(67294),o=r(94707);function a(e,t=["INPUT","TEXTAREA","SELECT"],r=!1){(0,n.useEffect)((()=>{const n=n=>{e.forEach((([e,a,i={preventDefault:!0}])=>{(0,o.k)(e)(n)&&function(e,t,r=!1){return!(e.target instanceof HTMLElement)||(r||!e.target.isContentEditable)&&!t.includes(e.target.tagName)}(n,t,r)&&(i.preventDefault&&n.preventDefault(),a(n))}))};return document.documentElement.addEventListener("keydown",n),()=>document.documentElement.removeEventListener("keydown",n)}),[e])}},83051:function(e,t,r){r.d(t,{M:function(){return l}});var n=r(67294),o=r(10129);const a=n["useId".toString()]||(()=>{});var i=r(89058);function l(e){const t=function(){const e=a();return e?`mantine-${e.replace(/:/g,"")}`:""}(),[r,l]=(0,n.useState)(t);return(0,o.Y)((()=>
1{l((0,i.k)())}),[]),"string"==typeof e?e:"undefined"==typeof window?t:r}},41246:function(e,t,r){r.d(t,{U:function(){return a}});var n=r(67294);function o(e){return t=>{if(t)if("function"==typeof t)e(t);else if("object"==typeof t&&"nativeEvent"in t){const{currentTarget:r}=t;"checkbox"===r.type?e(r.checked):e(r.value)}else e(t);else e(t)}}function a(e){const[t,r]=(0,n.useState)(e);return[t,o(r)]}},65217:function(e,t,r){r.d(t,{Y:function(){return o}});var n=r(67294);function o(e,t){const[r,o]=(0,n.useState)(!1),a=(0,n.useRef)(),i=(0,n.useRef)();(0,n.useEffect)((()=>{i.current=e}),[e]);const l=()=>{o((e=>(e||a.current||(a.current=window.setInterval(i.current,t)),!0)))},s=()=>{o(!1),window.clearInterval(a.current),a.current=void 0};return{start:l,stop:s,toggle:()=>{r?s():l()},active:r}}},10129:function(e,t,r){r.d(t,{Y:function(){return o}});var n=r(67294);const o="undefined"!=typeof document?n.useLayoutEffect:n.useEffect},28738:function(e,t,r){r.d(t,{o:function(){return i}});var n=r(67294),o=r(84137);function a(e){try{return JSON.parse(e)}catch(t){return e}}function i(e,t){const r="localStorage"===e?"mantine-local-storage":"mantine-session-storage";return function({key:i,defaultValue:l,getInitialValueInEffect:s=!0,deserialize:c=a,serialize:u=(e=>function(e,t){try{return JSON.stringify(e)}catch(e){throw new Error(`@mantine/hooks ${t}: Failed to serialize the value`)}}(e,t))}){const d=(0,n.useCallback)((t=>{if("undefined"==typeof window||!(e in window)||null===window[e]||t)return l;const r=window[e].getItem(i);return null!==r?c(r):l}),[i,l]),[p,f]=(0,n.useState)(d(s)),m=(0,n.useCallback)((t=>{t instanceof Function?f((n=>{const o=t(n);return window[e].setItem(i,u(o)),window.dispatchEvent(new CustomEvent(r,{detail:{key:i,value:t(n)}})),o})):(window[e].setItem(i,u(t)),window.dispatchEvent(new CustomEvent(r,{detail:{key:i,value:t}})),f(t))}),[i]),b=(0,n.useCallback)((()=>{window[e].removeItem(i),window.dispatchEvent(new CustomEvent(r,{detail:{key:i,value:l}}))}),[]);return(0,o.s)("storage",(t=>{var r;t.storageArea===window[e]&&t.key===i&&f(c(null!=(r=t.newValue)?r:void 0))})),(0,o.s)(r,(e=>{e.detail.key===i&&f(e.detail.value)})),(0,n.useEffect)((()=>{void 0!==l&&void 0===p&&m(l)}),[l,p,m]),(0,n.useEffect)((()=>{s&&f(d())}),[i]),[void 0===p?l:p,m,b]}}},21997:function(e,t,r){r.d(t,{_:function(){return o}});var n=r(28738);function o(e){return(0,n.o)("localStorage","use-local-storage")(e)}},34065:function(e,t,r){r.d(t,{a:function(){return o}});var n=r(67294);function o(e,t,{getInitialValueInEffect:r}={getInitialValueInEffect:!0}){const[o,a]=(0,n.useState)(r?t:function(e,t){return"boolean"==typeof t?t:"undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia(e).matches}(e,t)),i=(0,n.useRef)();return(0,n.useEffect)((()=>{if("matchMedia"in window)return i.current=window.matchMedia(e),a(i.current.matches),function(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch(r){return e.addListener(t),()=>e.removeListener(t)}}(i.current,(e=>a(e.matches)))}),[e]),o}},80665:function(e,t,r){r.d(t,{Y:function(){return i},l:function(){return a}});var n=r(67294),o=r(83979);function a(...e){return t=>{e.forEach((e=>(0,o.k)(e,t)))}}function i(...e){return(0,n.useCallback)(a(...e),e)}},47776:function(e,t,r){r.d(t,{E:function(){return a},r:function(){return i}});var n=r(67294),o=r(9276);const a=e=>({x:(0,o.u)(e.x,0,1),y:(0,o.u)(e.y,0,1)});function i(e,t,r="ltr"){const a=(0,n.useRef)(),i=(0,n.useRef)(!1),l=(0,n.useRef)(!1),s=(0,n.useRef)(0),[c,u]=(0,n.use
1State)(!1);return(0,n.useEffect)((()=>{i.current=!0}),[]),(0,n.useEffect)((()=>{const n=({x:t,y:n})=>{cancelAnimationFrame(s.current),s.current=requestAnimationFrame((()=>{if(i.current&&a.current){a.current.style.userSelect="none";const i=a.current.getBoundingClientRect();if(i.width&&i.height){const a=(0,o.u)((t-i.left)/i.width,0,1);e({x:"ltr"===r?a:1-a,y:(0,o.u)((n-i.top)/i.height,0,1)})}}}))},c=()=>{!l.current&&i.current&&(l.current=!0,"function"==typeof(null==t?void 0:t.onScrubStart)&&t.onScrubStart(),u(!0),document.addEventListener("mousemove",f),document.addEventListener("mouseup",d),document.addEventListener("touchmove",b),document.addEventListener("touchend",d))},d=()=>{l.current&&i.current&&(l.current=!1,u(!1),document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",b),document.removeEventListener("touchend",d),setTimeout((()=>{"function"==typeof(null==t?void 0:t.onScrubEnd)&&t.onScrubEnd()}),0))},p=e=>{c(),e.preventDefault(),f(e)},f=e=>n({x:e.clientX,y:e.clientY}),m=e=>{e.cancelable&&e.preventDefault(),c(),b(e)},b=e=>{e.cancelable&&e.preventDefault(),n({x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY})};return a.current.addEventListener("mousedown",p),a.current.addEventListener("touchstart",m,{passive:!1}),()=>{a.current&&(a.current.removeEventListener("mousedown",p),a.current.removeEventListener("touchstart",m))}}),[r,e]),{ref:a,active:c}}},50064:function(e,t,r){r.d(t,{i:function(){return i}});var n=r(67294),o=r(10129);function a(){if("undefined"==typeof window)return"undetermined";const{userAgent:e}=window.navigator;return/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i.test(e)?"macos":/(iPhone)|(iPad)|(iPod)/i.test(e)?"ios":/(Win32)|(Win64)|(Windows)|(WinCE)/i.test(e)?"windows":/Android/i.test(e)?"android":/Linux/i.test(e)?"linux":"undetermined"}function i(e={getValueInEffect:!0}){const[t,r]=(0,n.useState)(e.getValueInEffect?"undetermined":a());return(0,o.Y)((()=>{e.getValueInEffect&&r(a)}),[]),t}},41354:function(e,t,r){r.d(t,{h:function(){return l}});var n=r(67294),o=r(15851),a=r(96822);const i="dots";function l({total:e,siblings:t=1,boundaries:r=1,page:l,initialPage:s=1,onChange:c}){const u=Math.max(Math.trunc(e),0),[d,p]=(0,o.C)({value:l,onChange:c,defaultValue:s,finalValue:s}),f=e=>{p(e<=0?1:e>u?u:e)};return{range:(0,n.useMemo)((()=>{if(2*t+3+2*r>=u)return(0,a.w)(1,u);const e=Math.max(d-t,r),n=Math.min(d+t,u-r),o=e>r+2,l=n<u-(r+1);if(!o&&l){const e=2*t+r+2;return[...(0,a.w)(1,e),i,...(0,a.w)(u-(r-1),u)]}if(o&&!l){const e=r+1+2*t;return[...(0,a.w)(1,r),i,...(0,a.w)(u-e,u)]}return[...(0,a.w)(1,r),i,...(0,a.w)(e,n),i,...(0,a.w)(u-r+1,u)]}),[u,t,d]),active:d,setPage:f,next:()=>f(d+1),previous:()=>f(d-1),first:()=>f(1),last:()=>f(u)}}},81772:function(e,t,r){r.d(t,{L:function(){return o}});var n=r(67294);function o({initialValues:e=[],limit:t}){const[{state:r,queue:o},a]=(0,n.useState)({state:e.slice(0,t),queue:e.slice(t)});return{state:r,queue:o,add:(...e)=>a((r=>{const n=[...r.state,...r.queue,...e];return{state:n.slice(0,t),queue:n.slice(t)}})),update:e=>a((r=>{const n=e([...r.state,...r.queue]);return{state:n.slice(0,t),queue:n.slice(t)}})),cleanQueue:()=>a((e=>({state:e.state,queue:[]})))}}},73678:function(e,t,r){r.d(t,{J:function(){return o}});var n=r(34065);function o(e,t){return(0,n.a)("(prefers-reduced-motion: reduce)",e,t)}},12185:function(e,t,r){r.d(t,{h:function(){return l},y:function(){return i}});var n=r(67294),o=r(10129);const a={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function i(){const e=(0,n.useRef)(0),t=(0,n.useRef)(null),[r,i]=(0,n.useState)(a),l=(0,n.useMemo)((()=>"undefined"!=typeof window?new ResizeObserver((r=>{const n=r[0];n&&(cancelAnimationFrame(e.current),e.current=requestAnimationFrame((()=>{t.current&&i(n.contentRect)})))})):null),[]);return(0,o.Y)((()=>(t.current&&(l.observe(t.current),i(t.current.getBoundingClientRect())),()=>{l.disconnect(),e.current&&cancelAnimationFrame(e.current)})),[t.current]),[t,r]}function l(){const[e,{width:t,height:r}]=i();return{ref:e,width:t,height:r}}},32819:function(e,t,r){r.d(t,{g:function(){return u}});var n=r(67294),o=r(73678),a=r(84137);const i=e=>e<.5?2*e*e:(4-2*e)*e-1,l=({axis:e,target:t,parent:r,alignment:n,offset:o,isList:a})=>{if(!t||!r&&"undefined"==typeof document)return 0;const i=!!r,l=(r||document.body).getBoundingClientRect(),s=t.getBoundingClientRect(),c=e=>s[e]-l[e];
1if("y"===e){const e=c("top");if(0===e)return 0;if("start"===n){const t=e-o;return t<=s.height*(a?0:1)||!a?t:0}const t=i?l.height:window.innerHeight;if("end"===n){const r=e+o-t+s.height;return r>=-s.height*(a?0:1)||!a?r:0}return"center"===n?e-t/2+s.height/2:0}if("x"===e){const e=c("left");if(0===e)return 0;if("start"===n){const t=e-o;return t<=s.width||!a?t:0}const t=i?l.width:window.innerWidth;if("end"===n){const r=e+o-t+s.width;return r>=-s.width||!a?r:0}return"center"===n?e-t/2+s.width/2:0}return 0},s=({axis:e,parent:t})=>{if(!t&&"undefined"==typeof document)return 0;const r="y"===e?"scrollTop":"scrollLeft";if(t)return t[r];const{body:n,documentElement:o}=document;return n[r]+o[r]},c=({axis:e,parent:t,distance:r})=>{if(!t&&"undefined"==typeof document)return;const n="y"===e?"scrollTop":"scrollLeft";if(t)t[n]=r;else{const{body:e,documentElement:t}=document;e[n]=r,t[n]=r}};function u({duration:e=1250,axis:t="y",onScrollFinish:r,easing:u=i,offset:d=0,cancelable:p=!0,isList:f=!1}={}){const m=(0,n.useRef)(0),b=(0,n.useRef)(0),y=(0,n.useRef)(!1),g=(0,n.useRef)(null),h=(0,n.useRef)(null),v=(0,o.J)(),w=()=>{m.current&&cancelAnimationFrame(m.current)},O=(0,n.useCallback)((({alignment:n="start"}={})=>{var o;y.current=!1,m.current&&w();const a=null!=(o=s({parent:g.current,axis:t}))?o:0,i=l({parent:g.current,target:h.current,axis:t,alignment:n,offset:d,isList:f})-(g.current?0:a);!function n(){0===b.current&&(b.current=performance.now());const o=performance.now()-b.current,l=v||0===e?1:o/e,s=a+i*u(l);c({parent:g.current,axis:t,distance:s}),!y.current&&l<1?m.current=requestAnimationFrame(n):("function"==typeof r&&r(),b.current=0,m.current=0,w())}()}),[t,e,u,f,d,r,v]),x=()=>{p&&(y.current=!0)};return(0,a.s)("wheel",x,{passive:!0}),(0,a.s)("touchmove",x,{passive:!0}),(0,n.useEffect)((()=>w),[]),{scrollableRef:g,targetRef:h,scrollIntoView:O,cancel:w}}},98697:function(e,t,r){r.d(t,{K:function(){return o}});var n=r(67294);function o(e,t,r={autoInvoke:!1}){const o=(0,n.useRef)(null),a=(0,n.useRef)(null),i=(0,n.useCallback)(((...e)=>{a.current||(a.current=window.setTimeout((()=>{o.current(e),a.current=null}),t))}),[t]),l=(0,n.useCallback)((()=>{a.current&&(window.clearTimeout(a.current),a.current=null)}),[]);return(0,n.useEffect)((()=>{o.current=e}),[e]),(0,n.useEffect)((()=>(r.autoInvoke&&i(),l)),[l,t,r.autoInvoke,i]),{start:i,clear:l}}},15851:function(e,t,r){r.d(t,{C:function(){return o}});var n=r(67294);function o({value:e,defaultValue:t,finalValue:r,onChange:o=(()=>{})}){const[a,i]=(0,n.useState)(void 0!==t?t:r);return void 0!==e?[e,o,!0]:[a,e=>{i(e),null==o||o(e)},!1]}},84137:function(e,t,r){r.d(t,{s:function(){return o}});var n=r(67294);function o(e,t,r){(0,n.useEffect)((()=>(window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r))),[e,t])}},83979:function(e,t,r){function n(e,t){"function"==typeof e?e(t):"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}r.d(t,{k:function(){return n}})},9276:function(e,t,r){function n(e,t,r){return Math.min(Math.max(e,t),r)}r.d(t,{u:function(){return n}})},89058:function(e,t,r){function n(){return`mantine-${Math.random().toString(36).slice(2,11)}`}r.d(t,{k:function(){return n}})},96822:function(e,t,r){function n(e,t){const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))}r.d(t,{w:function(){return n}})},22146:function(e,t,r){function n(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}r.d(t,{j:function(){return n}})},93120:function(e,t,r){r.r(t),r.d(t,{ModalsProvider:function(){return G},closeAllModals:function(){return z},closeModal:function(){return N},modals:function(){return R},openConfirmModal:function(){return I},openContextModal:function(){return D},openModal:function(){return j},useModals:function(){return d}});var n=r(67294),o=r(94491),a=r(58332),i=r(89058);const l=(0,n.createContext)(null);l.displayName="@mantine/modals/ModalsContext";var s=r(64523),c=r(71232),u=r(67841);function d(){const e=(0,n.useContext)(l);if(!e)throw new Error("[@mantine/modals] useModals hook was called outside of context, wrap your app with ModalsProvider component");return e}var p=Object.defineProperty,f=Object.defineProperties,m=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>
1{for(var r in t||(t={}))y.call(t,r)&&h(e,r,t[r]);if(b)for(var r of b(t))g.call(t,r)&&h(e,r,t[r]);return e},w=(e,t)=>f(e,m(t));function O({id:e,cancelProps:t,confirmProps:r,labels:o={cancel:"",confirm:""},closeOnConfirm:a=!0,closeOnCancel:i=!0,groupProps:l,onCancel:p,onConfirm:f,children:m}){const{cancel:b,confirm:y}=o,g=d();return n.createElement(n.Fragment,null,m&&n.createElement(s.x,{mb:"md"},m),n.createElement(c.Z,v({position:"right"},l),n.createElement(u.z,w(v({variant:"default"},t),{onClick:r=>{"function"==typeof(null==t?void 0:t.onClick)&&(null==t||t.onClick(r)),"function"==typeof p&&p(),i&&g.closeModal(e)}}),(null==t?void 0:t.children)||b),n.createElement(u.z,w(v({},r),{onClick:t=>{"function"==typeof(null==r?void 0:r.onClick)&&(null==r||r.onClick(t)),"function"==typeof f&&f(),a&&g.closeModal(e)}}),(null==r?void 0:r.children)||y)))}function x(e,t){var r,n,o,a;t&&"confirm"===e.type&&(null==(n=(r=e.props).onCancel)||n.call(r)),null==(a=(o=e.props).onClose)||a.call(o)}function k(e,t){switch(t.type){case"OPEN":return{current:t.modal,modals:[...e.modals,t.modal]};case"CLOSE":{const r=e.modals.find((e=>e.id===t.modalId));if(!r)return e;x(r,t.canceled);const n=e.modals.filter((e=>e.id!==t.modalId));return{current:n[n.length-1]||e.current,modals:n}}case"CLOSE_ALL":return e.modals.length?(e.modals.concat().reverse().forEach((e=>{x(e,t.canceled)})),{current:e.current,modals:[]}):e;default:return e}}const S="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;const[P,E]=(C="mantine-modals",[function(e){const t=Object.keys(e).reduce(((t,r)=>(t[`${C}:${r}`]=t=>e[r](t.detail),t)),{});S((()=>(Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e]),window.addEventListener(e,t[e])})),()=>Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e])})))),[t])},function(e){return(...t)=>{return r=`${C}:${String(e)}`,n=t[0],void window.dispatchEvent(new CustomEvent(r,{detail:n}));var r,n}}]);var C;const j=E("openModal"),N=E("closeModal"),z=E("closeAllModals"),I=E("openConfirmModal"),D=e=>E("openContextModal")(e),R={open:j,close:N,closeAll:z,openConfirmModal:I,openContextModal:D};var L=Object.defineProperty,_=Object.defineProperties,A=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,B=(e,t)=>{for(var r in t||(t={}))$.call(t,r)&&F(e,r,t[r]);if(T)for(var r of T(t))M.call(t,r)&&F(e,r,t[r]);return e},W=(e,t)=>_(e,A(t)),H=(e,t)=>{var r={};for(var n in e)$.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&T)for(var n of T(e))t.indexOf(n)<0&&M.call(e,n)&&(r[n]=e[n]);return r};function G({children:e,modalProps:t,labels:r,modals:s}){const[c,u]=(0,n.useReducer)(k,{modals:[],current:null}),d=(0,n.useRef)(c);d.current=c;const p=(0,n.useCallback)((e=>{u({type:"CLOSE_ALL",canceled:e})}),[d,u]),f=(0,n.useCallback)((e=>{var t=e,{modalId:r}=t,n=H(t,["modalId"]);const o=r||(0,i.k)();return u({type:"OPEN",modal:{id:o,type:"content",props:n}}),o}),[u]),m=(0,n.useCallback)((e=>{var t=e,{modalId:r}=t,n=H(t,["modalId"]);const o=r||(0,i.k)();return u({type:"OPEN",modal:{id:o,type:"confirm",props:n}}),o}),[u]),b=(0,n.useCallback)(((e,t)=>{var r=t,{modalId:n}=r,o=H(r,["modalId"]);const a=n||(0,i.k)();return u({type:"OPEN",modal:{id:a,type:"context",props:o,ctx:e}}),a}),[u]),y=(0,n.useCallback)(((e,t)=>{u({type:"CLOSE",modalId:e,canceled:t})}),[d,u]);P({openModal:f,openConfirmModal:m,openContextModal:e=>{var t=e,{modal:r}=t,n=H(t,["modal"]);return b(r,n)},closeModal:y,closeContextModal:y,closeAllModals:p});const g={modals:c.modals,openModal:f,openConfirmModal:m,openContextModal:b,closeModal:y,closeContextModal:y,closeAll:p},{modalProps:h,content:v}=(()=>{const e=d.current.current;switch(null==e?void 0:e.type){case"context":{const t=e.props,{innerProps:r}=t,o=H(t,["innerProps"]),a=s[e.ctx];return{modalProps:o,content:n.createElement(a,{innerProps:r,context:g,id:e.id})}}case"confirm":{const{modalProps:t,confirmProps:o}=function(e){if(!e)return{confirmProps:{},modalProps:{}};const t=e,{id:r,children:n,onCancel:o,onConfirm:a,closeOnConfirm:i,closeOnCancel:l,cancelProps:s,confirmProps:c,groupProps:u,labels:d}=t,p=H(t,["id","children","onCancel","onConfirm","closeOnConfirm","closeOnCancel","cancelProps","confirmProps","groupProps","labels"]);return{confirmProps:{id:r,children:n,onCancel:o,onConfirm:a,closeOnConfirm:i,closeOnCancel:l,cancelProps:s,confirmProps:c,groupProps:u,labels:d},modalProps:B({id:r},p)}}(e.props);return{modalProps:t,content:n.createElement(O,W(B({},o),{id:e.id,labels:e.props.labels||r}))}}case"content":{const t=e.props,{children:r}=t;return{modalProps:H(t,["children"]),content:n.createElement(n.Fragment,null,r)}}default:return{modalProps:{},content:null}}})();return n.createElement(l.Provider,{value:g},n.createElement(o.u,W(B(B({zIndex:(0,a.w)("modal")+1},t),h),{opened:c.modals.length>0,onClose:()=>y(c.current.id)}),v),e)}},23926:function(e,t,r){r.r(t),r.d(t,{Notifications:function(){return fe},cleanNotifications:function(){return v},cleanNotificationsQueue:function(){return w},hideNotification:function(){return h},notifications:function(){return x},showNotification:function(){return g},updateNotification:function(){return O}});var n=r(67294),o=r(38103),a=r(61373),i=r(2566),l=r(58332),s=r(40254),c=r(64523),u=r(52165),d=r(73678),p=r(37048);const f="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;const[m,b]=(y="mantine-notifications",[function(e){const t=Object.keys(e).reduce(((t,r)=>(t[`${y}:${r}`]=t=>e[r](t.detail),t)),{});f((()=>(Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e]),window.addEventListener(e,t[e])}
1)),()=>Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e])})))),[t])},function(e){return(...t)=>{return r=`${y}:${String(e)}`,n=t[0],void window.dispatchEvent(new CustomEvent(r,{detail:n}));var r,n}}]);var y;const g=b("show"),h=b("hide"),v=b("clean"),w=b("cleanQueue"),O=b("update"),x={show:g,hide:h,clean:v,cleanQueue:w,update:O};var k=function([e,t],r){const n={};return"top"===e&&(n.top=r),"bottom"===e&&(n.bottom=r),"left"===t&&(n.left=r),"right"===t&&(n.right=r),"center"===t&&(n.left="50%",n.transform="translateX(-50%)"),n},S=Object.defineProperty,P=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&j(e,r,t[r]);if(P)for(var r of P(t))C.call(t,r)&&j(e,r,t[r]);return e};const z={left:"translateX(-100%)",right:"translateX(100%)","top-center":"translateY(-100%)","bottom-center":"translateY(100%)"},I={left:"translateX(0)",right:"translateX(0)","top-center":"translateY(0)","bottom-center":"translateY(0)"};var D=function({state:e,maxHeight:t,positioning:r,transitionDuration:n}){const[o,a]=r,i="center"===a?`${o}-center`:a,l={opacity:0,maxHeight:t,transform:z[i],transitionDuration:`${n}ms, ${n}ms, ${n}ms`,transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21), cubic-bezier(.51,.3,0,1.21), linear",transitionProperty:"opacity, transform, max-height"},s={opacity:1,transform:I[i]},c={opacity:0,maxHeight:0,transform:z[i]},u={entering:s,entered:s,exiting:c,exited:c};return N(N({},l),u[e])},R=r(12593);var L=function(e,t){return"number"==typeof t?t:!1!==t&&!1!==e&&e},_=Object.defineProperty,A=Object.defineProperties,T=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,B=(e,t,r)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,W=(e,t)=>{for(var r in t||(t={}))M.call(t,r)&&B(e,r,t[r]);if($)for(var r of $(t))F.call(t,r)&&B(e,r,t[r]);return e},H=(e,t)=>
1A(e,T(t)),G=(e,t)=>{var r={};for(var n in e)M.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&$)for(var n of $(e))t.indexOf(n)<0&&F.call(e,n)&&(r[n]=e[n]);return r};function V(e){var t=e,{notification:r,autoClose:o,onHide:a,innerRef:i}=t,l=G(t,["notification","autoClose","onHide","innerRef"]);const s=r,{autoClose:c,message:u}=s,d=G(s,["autoClose","message"]),p=L(o,c),f=(0,n.useRef)(),m=()=>{a(r.id),window.clearTimeout(f.current)},b=()=>{clearTimeout(f.current)},y=()=>{"number"==typeof p&&(f.current=window.setTimeout(m,p))};return(0,n.useEffect)((()=>{"function"==typeof r.onOpen&&r.onOpen(r)}),[]),(0,n.useEffect)((()=>(y(),b)),[o,r.autoClose]),n.createElement(R.P,H(W(W({},d),l),{onClose:m,onMouseEnter:b,onMouseLeave:y,ref:i}),u)}V.displayName="@mantine/notifications/NotificationContainer";var Y=V,Z=(0,r(71485).k)(((e,{zIndex:t})=>({notifications:{width:`calc(100% - ${e.spacing.md} * 2)`,boxSizing:"border-box",position:"fixed",zIndex:t},notification:{"&:not(:first-of-type)":{marginTop:e.spacing.sm}}}))),K=r(81772),U=r(89058),q=Object.defineProperty,X=Object.defineProperties,J=Object.getOwnPropertyDescriptors,Q=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(e,t,r)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ne=(e,t)=>{for(var r in t||(t={}))ee.call(t,r)&&re(e,r,t[r]);if(Q)for(var r of Q(t))te.call(t,r)&&re(e,r,t[r]);return e},oe=(e,t)=>X(e,J(t));var ae=function({limit:e}){const{state:t,queue:r,update:n,cleanQueue:o}=(0,K.L)({initialValues:[],limit:e});return{notifications:t,queue:r,showNotification:e=>{const t=e.id||(0,U.k)();return n((r=>e.id&&r.some((t=>t.id===e.id))?r:[...r,oe(ne({},e),{id:t})])),t},updateNotification:e=>n((t=>{const r=t.findIndex((t=>t.id===e.id));if(-1===r)return t;const n=[...t];return n[r]=e,n})),hideNotification:e=>n((t=>t.filter((t=>t.id!==e||("function"==typeof t.onClose&&t.onClose(t),!1))))),cleanQueue:o,clean:()=>n((()=>[]))}},ie=Object.defineProperty,le=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ue=(e,t,r)=>t in e?ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,de=(e,t)=>{for(var r in t||(t={}))se.call(t,r)&&ue(e,r,t[r]);if(le)for(var r of le(t))ce.call(t,r)&&ue(e,r,t[r]);return e};const pe=["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"],fe=e=>{var t=e,{className:r,position:f="bottom-right",autoClose:b=4e3,transitionDuration:y=250,containerWidth:g=(0,i.h)(440),notificationMaxHeight:h=(0,i.h)(200),limit:v=5,zIndex:w=(0,l.w)("overlay"),style:O,children:x,target:S}=t,P=((e,t)=>{var r={};for(var n in e)se.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&le)for(var n of le(e))t.indexOf(n)<0&&ce.call(e,n)&&(r[n]=e[n]);return r})(t,["className","position","autoClose","transitionDuration","containerWidth","notificationMaxHeight","limit","zIndex","style","children","target"]);const E=(0,u.N)(),C=(0,n.useRef)({}),j=(0,n.useRef)(0),{notifications:N,showNotification:z,updateNotification:I,hideNotification:R,clean:L,cleanQueue:_}=ae({limit:v}),{classes:A,cx:T,theme:$}=Z({zIndex:w}),M=(0,d.J)(),F=!!$.respectReducedMotion&&M?1:y,B=(pe.includes(f)?f:"bottom-right").split("-");(0,p.l)((()=>{N.length>j.current&&setTimeout((()=>E()),0),j.current=N.length}),[N]),m({show:z,hide:R,update:I,clean:L,cleanQueue:_});const W=N.map((e=>n.createElement(o.ZP,{key:e.id,timeout:F,onEnter:()=>C.current[e.id].offsetHeight,nodeRef:{current:C.current[e.id]}},(t=>n.createElement(Y,{innerRef:t=>{C.current[e.id]=t},notification:e,onHide:R,className:A.notification,autoClose:b,sx:[de({},D({state:t,positioning:B,transitionDuration:F,maxHeight:h})),...Array.isArray(e.sx)?e.sx:[e.sx]]})))));return n.createElement(s.h,{target:S},n.createElement(c.x,de({className:T(A.notifications,r),style:O,sx:de({maxWidth:g},k(B,$.spacing.md))},P),n.createElement(a.Z,null,W)))};fe.displayName="@mantine/notifications/Notifications",fe.show=x.show,fe.hide=x.hide,fe.update=x.update,fe.clean=x.clean,fe.cleanQueue=
1x.cleanQueue},68300:function(e,t,r){r.r(t),r.d(t,{NavigationProgress:function(){return D},completeNavigationProgress:function(){return O},decrementNavigationProgress:function(){return w},incrementNavigationProgress:function(){return v},nprogress:function(){return x},resetNavigationProgress:function(){return g},setNavigationProgress:function(){return h},startNavigationProgress:function(){return b},stopNavigationProgress:function(){return y}});var n=r(58332),o=r(73623),a=r(83143),i=r(3941),l=r(73678),s=r(65217),c=r(37048),u=r(67294);const d="undefined"!=typeof window?u.useLayoutEffect:u.useEffect;const[p,f]=(m="mantine-nprogress",[function(e){const t=Object.keys(e).reduce(((t,r)=>(t[`${m}:${r}`]=t=>e[r](t.detail),t)),{});d((()=>(Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e]),window.addEventListener(e,t[e])})),()=>Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e])})))),[t])},function(e){return(...t)=>{return r=`${m}:${String(e)}`,n=t[0],void window.dispatchEvent(new CustomEvent(r,{detail:n}));var r,n}}]);var m;const b=f("start"),y=f("stop"),g=f("reset"),h=f("set"),v=f("increment"),w=f("decrement"),O=f("complete"),x={start:b,stop:y,reset:g,set:h,increment:v,decrement:w,complete:O};var k=Object.defineProperty,S=Object.defineProperties,P=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,N=(e,t,r)=>t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,z=(e,t)=>{for(var r in t||(t={}))C.call(t,r)&&N(e,r,t[r]);if(E)for(var r of E(t))j.call(t,r)&&N(e,r,t[r]);return e},I=(e,t)=>S(e,P(t));function D({initialProgress:e=0,color:t,size:r=3,stepInterval:d=500,transitionDuration:f=300,exitTimeout:m=500,exitTransitionDuration:b=400,onFinish:y,autoReset:g=!1,withinPortal:h=!0,portalProps:v,zIndex:w=(0,n.w)("max"),progressLabel:O}){const x=(0,o.rZ)(),k=(0,l.J)(),S=!!x.respectReducedMotion&&k,[P,E]=(0,u.useState)(e),[C,j]=(0,u.useState)(!0),[N,D]=(0,u.useState)(!1),R=(0,u.useRef)(),L=(0,u.useRef)(),_=(0,s.Y)((()=>{E((e=>{let t=0;return e>=0&&e<=20?t=10:e>=20&&e<=50?t=4:e>=50&&e<=80?t=2:e>=80&&e<=99&&(t=.5),e+t}))}),d),A=()=>_.stop(),T=()=>{D(!0),A(),E(0),window.setTimeout((()=>D(!1)),0)};return(0,c.l)((()=>{P>=100?(A(),null==y||y(),L.current=window.setTimeout((()=>{L.current=null,j(!1),g&&(R.current=window.setTimeout((()=>{R.current=null,T()}),S?0:b))}),m)):C||(L.current&&(window.clearTimeout(L.current),L.current=null),R.current&&(window.clearTimeout(R.current),R.current=null),j(!0))}),[P]),p({start:()=>{_.stop(),_.start()},stop:A,set:e=>E(e),increment:e=>E((t=>Math.min(t+e,100))),decrement:e=>E((t=>Math.max(t-e,0))),reset:T,complete:()=>E(100)}),u.createElement(a.q,I(z({},v),{withinPortal:h}),!N&&u.createElement(i.E,{radius:0,value:P,size:r,color:t,styles:{root:{position:"fixed",top:0,left:0,right:0,zIndex:w,backgroundColor:"transparent",transitionProperty:"opacity",transitionTimingFunction:x.transitionTimingFunction,transitionDuration:`${S||100!==P?0:b}ms`,opacity:C?1:0},bar:{position:"relative",transitionProperty:"width",transitionTimingFunction:x.transitionTimingFunction,transitionDuration:`${S||!C?0:f}ms`}},"aria-label":O}))}},72479:function(e,t,r){r.r(t),r.d(t,{Prism:function(){return X}});var n=r(80579),o=r(67294),a=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,r={},n={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,r){var o,a;switch(r=r||{},n.util.type(t)){case"Object":if(a=n.util.objId(t),r[a])return r[a];for(var i in o={},r[a]=o,t)t.hasOwnProperty(i)&&(o[i]=e(t[i],r));return o;case"Array":return a=n.util.objId(t),r[a]?r[a]:(o=[],r[a]=o,t.forEach((function(t,n){o[n]=e(t,r)})),o);default:return t}},getLanguage:function(t){for(;t;){var r=e.exec(t.className);if(r)return r[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,r){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+r)},isActive:function(e,t,r){for(var n="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;
vendor: 4,192 bytes, line 1
1if(o.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var r=n.util.clone(n.languages[e]);for(var o in t)r[o]=t[o];return r},insertBefore:function(e,t,r,o){var a=(o=o||n.languages)[e],i={};for(var l in a)if(a.hasOwnProperty(l)){if(l==t)for(var s in r)r.hasOwnProperty(s)&&(i[s]=r[s]);r.hasOwnProperty(l)||(i[l]=a[l])}var c=o[e];return o[e]=i,n.languages.DFS(n.languages,(function(t,r){r===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,r,o,a){a=a||{};var i=n.util.objId;for(var l in t)if(t.hasOwnProperty(l)){r.call(t,l,t[l],o||l);var s=t[l],c=n.util.type(s);"Object"!==c||a[i(s)]?"Array"!==c||a[i(s)]||(a[i(s)]=!0,e(s,r,l,a)):(a[i(s)]=!0,e(s,r,null,a))}}},plugins:{},highlight:function(e,t,r){var a={code:e,grammar:t,language:r};return n.hooks.run("before-tokenize",a),a.tokens=n.tokenize(a.code,a.grammar),n.hooks.run("after-tokenize",a),o.stringify(n.util.encode(a.tokens),a.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var o=new l;return s(o,o.head,e),i(e,o,t,o.head,0),function(e){var t=[],r=e.head.next;for(;r!==e.tail;)t.push(r.value),r=r.next;return t}(o)},hooks:{all:{},add:function(e,t){var r=n.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=n.hooks.all[e];if(r&&r.length)for(var o,a=0;o=r[a++];)o(t)}},Token:o};function o(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function a(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,t,r,l,u,d){for(var p in r)if(r.hasOwnProperty(p)&&r[p]){var f=r[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var b=f[m],y=b.inside,g=!!b.lookbehind,h=!!b.greedy,v=b.alias;if(h&&!b.pattern.global){var w=b.pattern.toString().match(/[imsuy]*$/)[0];b.pattern=RegExp(b.pattern.source,w+"g")}for(var O=b.pattern||b,x=l.next,k=u;x!==t.tail&&!(d&&k>=d.reach);k+=x.value.length,x=x.next){var S=x.value;if(t.length>e.length)return;if(!(S instanceof o)){var P,E=1;if(h){if(!(P=a(O,k,e,g))||P.index>=e.length)break;var C=P.index,j=P.index+P[0].length,N=k;for(N+=x.value.length;C>=N;)N+=(x=x.next).value.length;if(k=N-=x.value.length,x.value instanceof o)continue;for(var z=x;z!==t.tail&&(N<j||"string"==typeof z.value);z=z.next)E++,N+=z.value.length;E--,S=e.slice(k,N),P.index-=k}else if(!(P=a(O,0,S,g)))continue;C=P.index;var I=P[0],D=S.slice(0,C),R=S.slice(C+I.length),L=k+S.length;d&&L>d.reach&&(d.reach=L);var _=x.prev;if(D&&(_=s(t,_,D),k+=D.length),c(t,_,E),x=s(t,_,new o(p,y?n.tokenize(I,y):I,v,I)),R&&s(t,x,R),E>1){var A={cause:p+","+m,reach:L};i(e,t,r,x.prev,k,A),d&&A.reach>d.reach&&(d.reach=A.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}function c(e,t,r){for(var n=t.next,o=0;o<r&&n!==e.tail;o++)n=n.next;t.next=n,n.prev=t,e.length-=o}return o.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach((function(t){o+=e(t,r)})),o}var a={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),n.hooks.run("wrap",a);var l="";for(var s in a.attributes)l+=" "+s+'="'+(a.attributes[s]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+l+">"+a.content+"</"+a.tag+">"},n}(),i=a;a.default=a,i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>
1\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},i.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
1CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
vendor: 8,379 bytes, line 1
1&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=n.variable[1].inside,i=0;i<o.length;i++)a[o[i]]=e.languages.bash[o[i]];e.languages.shell=e.languages.bash}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),i.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),i.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},i.languages.c.string],char:i.languages.c.char,comment:i.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:i.languages.c}}}}),i.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete i.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return r}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(i),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(i),function(e){var t,r=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+r.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[r,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var n={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"}
vendor: 9,728 bytes, line 1
1,color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,number:o})}(i),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(e){var t=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var r=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<value>>/g,(function(){return e}));return RegExp(r,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return n}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(i),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2}
vendor: 6,876 bytes, line 1
1)*)/.source+"(?:"+e+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return n})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(r){t!==r&&(e.languages.markdown[t].inside.content.inside[r]=e.languages.markdown[r])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var r=0,n=t.length;r<n;r++){var o=t[r];if("code"===o.type){var a=o.content[1],i=o.content[3];if(a&&i&&"code-language"===a.type&&"code-block"===i.type&&"string"==typeof a.content){var l=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,s]:i.alias.push(s):i.alias=[s]}}else e(o.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var r="",n=0,o=t.classes.length;n<o;n++){var a=t.classes[n],c=/language-(.+)/.exec(a);if(c){r=c[1];break}}var u,d=e.languages[r];if(d)t.content=e.highlight((u=t.content,u.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var r;if("#"===(t=t.toLowerCase())[0])return r="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(r);var n=l[t];return n||e}))),d,r);else if(r&&"none"!==r&&e.plugins.autoloader){var p="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=p,e.plugins.autoloader.loadLanguages(r,(function(){var t=document.getElementById(p);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}}));var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(i),i.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:i.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},i.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),r=0;r<t.length;){var n=t[r++];if("keyword"===n.type&&"mutation"===n.content){var o=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){r+=2;var a=p(/^\($/,/^\)$/);if(-1===a)continue;for(;r<a;r++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),o.push(i.content))}r=a+1}
vendor: 15,145 bytes, line 1
1if(d(["punctuation","property-query"])&&"{"===u(0).content&&(r++,f(u(0),"property-mutation"),o.length>0)){var l=p(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=r;s<l;s++){var c=t[s];"variable"===c.type&&o.indexOf(c.content)>=0&&f(c,"variable-input")}}}}function u(e){return t[r+e]}function d(e,t){t=t||0;for(var r=0;r<e.length;r++){var n=u(r+t);if(!n||n.type!==e[r])return!1}return!0}function p(e,n){for(var o=1,a=r;a<t.length;a++){var i=t[a],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))o++;else if(n.test(l)&&0===--o)return a}return-1}function f(e,t){var r=e.alias;r?Array.isArray(r)||(e.alias=r=[r]):e.alias=r=[],r.push(t)}})),i.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,n=t.inside.interpolation,o=n.inside["interpolation-punctuation"],a=n.pattern.source;function i(t,n){if(e.languages[t])return{pattern:RegExp("((?:"+n+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,r,n){var o={code:t,grammar:r,language:n};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function c(t){var r={};r["interpolation-punctuation"]=o;var a=e.tokenize(t,r);if(3===a.length){var i=[1,1];i.push.apply(i,s(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,i)}return new e.Token("interpolation",a,n.alias,t)}function u(t,r,n){var o=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),i=0,u={},d=s(o.map((function(e){if("string"==typeof e)return e;for(var r,o=e.content;-1!==t.indexOf(r=l(i++,n)););return u[r]=o,r})).join(""),r,n),p=Object.keys(u);return i=0,function e(t){for(var r=0;r<t.length;r++){if(i>=p.length)return;var n=t[r];if("string"==typeof n||"string"==typeof n.content){var o=p[i],a="string"==typeof n?n:n.content,l=a.indexOf(o);if(-1!==l){++i;var s=a.substring(0,l),d=c(u[o]),f=a.substring(l+o.length),m=[];if(s&&m.push(s),m.push(d),f){var b=[f];e(b),m.push.apply(m,b)}"string"==typeof n?(t.splice.apply(t,[r,1].concat(m)),r+=m.length-1):n.content=m}}else{var y=n.content;Array.isArray(y)?e(y):e([y])}}}(d),new e.Token(n,d,"language-"+n,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(r){for(var n=0,o=r.length;n<o;n++){var a=r[n];if("string"!=typeof a){var i=a.content;if(Array.isArray(i))if("template-string"===a.type){var l=i[1];if(3===i.length&&"string"!=typeof l&&"embedded-code"===l.type){var s=p(l),c=l.alias,d=Array.isArray(c)?c[0]:c,f=e.languages[d];if(!f)continue;i[1]=u(s,f,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)}))}(i),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(i),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],n=0;n<r.length;n++){var o=r[n],a=e.languages.javascript[o];"RegExp"===e.util.type(a)&&(a=e.languages.javascript[o]={pattern:a});var i=a.inside||{};a.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(i),function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return e=e.replace(/<S>/g,(function(){return r})).replace(/<BRACES>/g,(function(){return n})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var r=[],n=0;n<t.length;n++){var o=t[n],a=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var s=i(o);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(s+=i(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(s=i(t[n-1])+s,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&l(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(i),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(r){var n=t[r],o=[];/^\w+$/.test(r)||o.push(/\w+/.exec(r)[0]),"diff"===r&&o.push("bold"),e.languages.diff[r]={pattern:RegExp("^(?:["+n+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),i.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete i.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,n,o,a){if(r.language===n){var i=r.tokenStack=[];r.code=r.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,l=i.length;-1!==r.code.indexOf(o=t(n,l));)++l;return i[l]=e,o})),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,n){if(r.language===n&&r.tokenStack){r.grammar=e.languages[n];var o=0,a=Object.keys(r.tokenStack);!function i(l){for(var s=0;s<l.length&&!(o>=a.length);s++){var c=l[s];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=r.tokenStack[u],p="str
1ing"==typeof c?c:c.content,f=t(n,u),m=p.indexOf(f);if(m>-1){++o;var b=p.substring(0,m),y=new e.Token(n,e.tokenize(d,r.grammar),"language-"+n,d),g=p.substring(m+f.length),h=[];b&&h.push.apply(h,i([b])),h.push(y),g&&h.push.apply(h,i([g])),"string"==typeof c?l.splice.apply(l,[s,1].concat(h)):c.content=h}}else c.content&&i(c.content)}return l}(r.tokens)}}}})}(i),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(i),i.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.webmanifest=i.languages.json,i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},i.languages.objectivec=i.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.objc=i.languages.objectivec,i.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,al
vendor: 8,953 bytes, line 1
1ias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside.interpolation.inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),i.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:r,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),i.languages.scss.atrule.inside.rest=i.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},n={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:r,punctuation:/[{}()\[\];:,]/};n.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:n}},n.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:n}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:n}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:n}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:n}}
1,"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:n.interpolation}},rest:n}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:n.interpolation,comment:n.comment,punctuation:/[{},]/}},func:n.func,string:n.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:n.interpolation,punctuation:/[{}()\[\];:.]/}}(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var r=e.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0}(i),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var l={Prism:i,theme:{plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]}};function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var u=/\r\n|\r|\n/,d=function(e){0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},p=function(e,t){var r=e.length;return r>0&&e[r-1]===t?e:e.concat(t)},f=function(e,t){var r=e.plain,n=Object.create(null),o=e.styles.reduce((function(e,r){var n=r.languages,o=r.style;return n&&!n.includes(t)||r.types.forEach((function(t){var r=c({},e[t],o);e[t]=r})),e}),n);return o.root=r,o.plain=c({},r,{backgroundColor:null}),o};function m(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===t.indexOf(n)&&(r[n]=e[n]);return r}var b=function(e){function t(){for(var t=this,r=[],n=arguments.length;n--;)r[n]=arguments[n];e.apply(this,r),s(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var r=e.theme?f(e.theme,e.language):void 0;return t.themeDict=r})),s(this,"getLineProps",(function(e){var r=e.key,n=e.className,o=e.style,a=c({},m(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(a.style=i.plain),void 0!==o&&(a.style=void 0!==a.style?c({},a.style,o):o),void 0!==r&&(a.key=r),n&&(a.className+=" "+n),a})),s(this,"getStyleForToken",(function(e){var r=e.types,n=e.empty,o=r.length,a=t.getThemeDict(t.props);if(void 0!==a){if(1===o&&"plain"===r[0])return n?{display:"inline-block"}:void 0;if(1===o&&!n)return a[r[0]];var i=n?{display:"inline-block"}:{},l=r.map((function(e){return a[e]}));
1return Object.assign.apply(Object,[i].concat(l))}})),s(this,"getTokenProps",(function(e){var r=e.key,n=e.className,o=e.style,a=e.token,i=c({},m(e,["key","className","style","token"]),{className:"token "+a.types.join(" "),children:a.content,style:t.getStyleForToken(a),key:void 0});return void 0!==o&&(i.style=void 0!==i.style?c({},i.style,o):o),void 0!==r&&(i.key=r),n&&(i.className+=" "+n),i})),s(this,"tokenize",(function(e,t,r,n){var o={code:t,grammar:r,language:n,tokens:[]};e.hooks.run("before-tokenize",o);var a=o.tokens=e.tokenize(o.code,o.grammar,o.language);return e.hooks.run("after-tokenize",o),a}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,r=e.language,n=e.code,o=e.children,a=this.getThemeDict(this.props),i=t.languages[r];return o({tokens:function(e){for(var t=[[]],r=[e],n=[0],o=[e.length],a=0,i=0,l=[],s=[l];i>-1;){for(;(a=n[i]++)<o[i];){var c=void 0,f=t[i],m=r[i][a];if("string"==typeof m?(f=i>0?f:["plain"],c=m):(f=p(f,m.type),m.alias&&(f=p(f,m.alias)),c=m.content),"string"==typeof c){var b=c.split(u),y=b.length;l.push({types:f,content:b[0]});for(var g=1;g<y;g++)d(l),s.push(l=[]),l.push({types:f,content:b[g]})}else i++,t.push(f),r.push(c),n.push(0),o.push(c.length)}i--,t.pop(),r.pop(),n.pop(),o.pop()}return d(l),s}(void 0!==i?this.tokenize(t,n,i,r):[n]),className:"prism-code language-"+r,style:void 0!==a?a.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(o.Component),y=b,g=r(88854),h=r(73623),v=r(64523),w=r(88393),O=r(49834),x=r(18060);function k({copied:e}){return o.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:"1rem",he
1ight:"1rem"}},e?o.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}):o.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}k.displayName="@mantine/prism/CopyIcon";var S=r(71485),P=r(2566),E=(0,S.k)(((e,{colorScheme:t,native:r,maxLineSize:n,radius:o})=>({scrollArea:{},root:{position:"relative"},code:{boxSizing:"border-box",position:"relative",fontFamily:e.fontFamilyMonospace,lineHeight:1.7,fontSize:(0,P.h)(13),overflowX:r?"auto":void 0,borderRadius:e.fn.radius(o),padding:`${e.spacing.sm} 0`,"&.mantine-Prism-code":{marginTop:0,marginBottom:0}},copy:{position:"absolute",top:e.spacing.xs,right:"ltr"===e.dir?e.spacing.xs:"unset",left:"rtl"===e.dir?e.spacing.xs:"unset",zIndex:2,"&, &:hover":{backgroundColor:"dark"===t?e.colors.dark[8]:e.colors.gray[0]}},line:{display:"flex",width:"100%",padding:`0 ${e.spacing.md}`},lineNumber:{color:"dark"===t?e.colors.dark[4]:e.colors.gray[4],textAlign:"right",width:`calc(8 * ${(0,P.h)(n)})`,marginRight:"ltr"===e.dir?e.spacing.xs:void 0,marginLeft:"rtl"===e.dir?e.spacing.xs:void 0,userSelect:"none"},lineContent:{width:"100%"}}))),C=E,j=Object.defineProperty,N=Object.defineProperties,z=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,L=(e,t,r)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t)=>{for(var r in t||(t={}))D.call(t,r)&&L(e,r,t[r]);if(I)for(var r of I(t))R.call(t,r)&&L(e,r,t[r]);return e},A=(e,t)=>
1N(e,z(t));const T={noCopy:!1,copyLabel:"Copy code",copiedLabel:"Copied",withLineNumbers:!1,trim:!0,highlightLines:{},scrollAreaComponent:g.x,getPrismTheme:(e,t)=>"dark"===t?(e=>({plain:{color:e.colors.gray[4],backgroundColor:e.colors.dark[8]},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted","selector","atrule"],style:{color:e.colors.teal[4]}},{types:["number"],style:{color:e.colors.blue[4]}},{types:["builtin","char","constant","function"],style:{color:e.colors.orange[5]}},{types:["punctuation"],style:{color:e.colors.gray[5]}},{types:["variable"],style:{color:e.colors.gray[5]}},{types:["class-name","attr-name"],style:{color:e.colors.yellow[5]}},{types:["tag","deleted"],style:{color:e.colors.red[6]}},{types:["operator"],style:{color:e.colors.gray[5]}},{types:["boolean"],style:{color:e.colors.red[6]}},{types:["keyword"],style:{color:e.colors.indigo[3]}},{types:["doctype"],style:{color:e.colors.gray[5]}},{types:["url"],style:{color:e.colors.gray[5]}}]}))(e):(e=>({plain:{color:e.colors.gray[9],backgroundColor:e.fn.rgba(e.colors.gray[0],.65)},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted"],style:{color:e.colors.indigo[9]}},{types:["number"],style:{color:e.colors.blue[7]}},{types:["builtin","char","constant","function","selector","atrule"],style:{color:e.colors.lime[9]}},{types:["punctuation"],style:{color:e.colors.gray[7]}},{types:["variable"],style:{color:e.colors.violet[9]}},{types:["attr-name"],style:{color:e.colors.green[9]}},{types:["class-name"],style:{color:e.colors.red[9]}},{types:["tag","deleted"],style:{color:e.colors.violet[9]}},{types:["operator"],style:{color:e.colors.red[9]}},{types:["boolean"],style:{color:e.colors.red[9]}},{types:["keyword"],style:{color:e.colors.red[9]}},{types:["doctype"],style:{color:e.colors.gray[7]}},{types:["url"],style:{color:e.colors.gray[7]}}]}))(e)},$=(0,o.forwardRef)(((e,t)=>{const r=(0,h.N4)("Prism",T,e),{className:n,children:a,language:i,noCopy:s,classNames:c,styles:u,copyLabel:d,copiedLabel:p,withLineNumbers:f,highlightLines:m,scrollAreaComponent:b,colorScheme:S,trim:P,unstyled:E,radius:j,getPrismTheme:N,variant:z}=r,L=((e,t)=>{var r={};for(var n in e)D.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&I)for(var n of I(e))t.indexOf(n)<0&&R.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","language","noCopy","classNames","styles","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","colorScheme","trim","unstyled","radius","getPrismTheme","variant"]),$=P&&"string"==typeof a?a.trim():a,M=$.split("\n").length.toString().length,F=(0,h.rZ)(),B=(0,x.V)(),W=S||F.colorScheme,{classes:H,cx:G}=C({colorScheme:W,native:b!==g.x,maxLineSize:M,radius:j},{name:"Prism",classNames:c,styles:u,unstyled:E,variant:z});return o.createElement(v.x,A(_({className:G(H.root,n),ref:t},L),{translate:"no"}),!s&&o.createElement(w.u,{label:B.copied?p:d,position:"left",withArrow:!0,arrowSize:6,offset:6,color:B.copied?"teal":void 0,unstyled:E},o.createElement(O.A,{className:H.copy,"aria-label":B.copied?p:d,onClick:()=>B.copy($),unstyled:E},o.createElement(k,{copied:B.copied}))),o.createElement(y,A(_({},l),{theme:N(F,W),code:$,language:i}),(({className:e,style:t,tokens:r,getLineProps:n,getTokenProps:a})=>o.createElement(b,{className:H.scrollArea,dir:"ltr"},o.createElement("pre",{className:G(H.code,e),style:t,dir:"ltr"},r.map(((e,t)=>{var i,l,s,c;if(t===r.length-1&&1===e.length&&"\n"===e[0].content)return null;const u=t+1,d=n({line:e,key:t}),p=u in m,b="dark"===W?F.fn.rgba(F.fn.themeColor(null==(i=m[u])?void 0:i.color,9),.25):F.fn.themeColor(null==(l=m[u])?void 0:l.color,0);return o.createElement("div",A(_({},d),{className:G(H.line,d.className),style:_({},p?{backgroundColor:b}:null)}),f&&o.createElement("div",{className:H.lineNumber,style:{color:p?F.fn.themeColor(null==(s=m[u])?void 0:s.color,"dark"===W?5:8):void 0}},(null==(c=m[u])?void 0:c.label)||u),o.createElement("div",{className:H.lineContent},e.map(((e,t)=>{var r,n;const i=a({token:e,key:t});return o.createElement("span",A(_({},i),{style:A(_({}
1,i.style),{color:p?F.fn.themeColor(null==(r=m[u])?void 0:r.color,"dark"===W?5:8):null==(n=null==i?void 0:i.style)?void 0:n.color})}))}))))})).filter(Boolean))))))}));$.displayName="@mantine/prism/Prism";var M=(0,S.k)(((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:(0,P.h)(34),border:`${(0,P.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[3]}`,borderBottom:0,fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[7],backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.radius.sm},"&:not(:first-of-type)":{borderLeft:0},"&:last-of-type":{borderTopRightRadius:e.radius.sm},"&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.colors.gray[0]},"&[data-active]":{color:"dark"===e.colorScheme?e.white:e.black,backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.fn.rgba(e.colors.gray[0],.65),"&::before":{backgroundColor:"transparent"}}},prism:{borderRadius:e.fn.radius(t),borderTopRightRadius:0,borderTopLeftRadius:0,border:`${(0,P.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`,borderTop:0,overflow:"hidden"},code:{borderTopRightRadius:0,borderTopLeftRadius:0,border:0}}))),F=M,B=Object.defineProperty,W=Object.defineProperties,H=Object.getOwnPropertyDescriptors,G=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,Z=(e,t,r)=>t in e?B(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,K=(e,t)=>{for(var r in t||(t={}))V.call(t,r)&&Z(e,r,t[r]);if(G)for(var r of G(t))Y.call(t,r)&&Z(e,r,t[r]);return e},U=(e,t)=>W(e,H(t)),q=(e,t)=>{var r={};for(var n in e)V.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&G)for(var n of G(e))t.indexOf(n)<0&&Y.call(e,n)&&(r[n]=e[n]);return r};const X=$;X.Tabs=function(e){const{classes:t}=F({radius:e.radius});return o.createElement(n.m,U(K({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))},X.Tab=n.m.Tab,X.TabsList=n.m.List,X.Panel=function(e){var t=e,{language:r,children:a,radius:i,noCopy:l,copyLabel:s,copiedLabel:c,withLineNumbers:u,highlightLines:d,scrollAreaComponent:p,trim:f,getPrismTheme:m,colorScheme:b,variant:y}=t,g=q(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:h}=F({radius:i});return o.createElement(n.m.Panel,K({},g),o.createElement($,{language:r,classNames:{root:h.prism,code:h.code},radius:i,noCopy:l,copyLabel:s,copiedLabel:c,withLineNumbers:u,highlightLines:d,scrollAreaComponent:p,trim:f,getPrismTheme:m,colorScheme:b,variant:y},a))}},2070:function(e,t,r){r.r(t),r.d(t,{SpotlightProvider:function(){return $e},closeSpotlight:function(){return f},openSpotlight:function(){return p},registerSpotlightActions:function(){return y},removeSpotlightActions:function(){return g},spotlight:function(){return h},toggleSpotlight:function(){return m},triggerSpotlightAction:function(){return b},useSpotlight:function(){return a}});var n=r(67294);const o=(0,n.createContext)(null);function a(){const e=(0,n.useContext)(o);if(!e)throw new Error("[@mantine/spotlight] SpotlightProvider was not found in tree");return e}var i=r(15851),l=r(91759);const s="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;const[c,u]=(d="mantine-spotlight",[function(e){const t=Object.keys(e).reduce(((t,r)=>(t[`${d}:${r}`]=t=>e[r](t.detail),t)),{});s((()=>(Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e]),window.addEventListener(e,t[e])})),()=>Object.keys(t).forEach((e=>{window.removeEventListener(e,t[e])})))),[t])},function(e){return(...t)=>{return r=`${d}:${String(e)}`,n=t[0],void window.dispatchEvent(new CustomEvent(r,{detail:n}));var r,n}}]);var d;const p=u("open"),f=u("close"),m=u("toggle"),b=u("triggerAction"),y=u("registerActions"),g=u("removeActions"),h={open:p,close:f,toggle:m,triggerAction:b,registerActions:y,removeActions:g};var v=r(88854),w=r(58332),O=r(73623),x=r(94491),k=r(80061);function S(e){const t=function({data:e}){const t=[],r=[],n=e.reduce(((e,t,n)=>(t.group?e[t.group]?e[t.group].push(n):e[t.group]=[n]:r.push(n),e)),{});
1return Object.keys(n).forEach((r=>{t.push(...n[r].map((t=>e[t])))})),t.push(...r.map((t=>e[t]))),t}({data:e}),r=[],n=[];let o=null;return t.forEach(((e,t)=>{e.group?(o!==e.group&&(o=e.group,n.push({type:"label",label:o})),n.push({type:"item",item:e,index:t})):r.push({type:"item",item:e,index:t})})),{grouped:n,unGrouped:r,items:[...n,...r],hasItems:n.length>0||r.length>0}}var P=r(37048),E=r(34736),C=r(71232),j=r(43523),N=r(5410),z=r(95117),I=r(71485),D=r(2566),R=Object.defineProperty,L=Object.defineProperties,_=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,M=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t)=>{for(var r in t||(t={}))T.call(t,r)&&M(e,r,t[r]);if(A)for(var r of A(t))$.call(t,r)&&M(e,r,t[r]);return e},B=(0,I.k)(((e,{radius:t})=>{return{action:(r=F({position:"relative",display:"block",width:"100%",padding:`${(0,D.h)(10)} ${(0,D.h)(12)}`,borderRadius:e.fn.radius(t)},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[1]})),n={"&[data-hovered]":F({backgroundColor:e.fn.primaryColor(),color:e.white},e.fn.hover({backgroundColor:e.fn.primaryColor()}))},L(r,_(n))),actionDescription:{color:e.fn.dimmed(),"&[data-hovered]":{color:e.white,opacity:.7}},actionIcon:{color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],"&[data-hovered]":{color:e.white,opacity:.7}},actionBody:{},actionHighlight:{"& [data-highlight]":{color:"dark"===e.colorScheme?e.colors.dark[9]:e.black}}};var r,n})),W=Object.defineProperty,H=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,Y=(e,t,r)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Z=(e,t)=>{for(var r in t||(t={}))G.call(t,r)&&Y(e,r,t[r]);if(H)for(var r of H(t))V.call(t,r)&&Y(e,r,t[r]);return e},K=(e,t)=>{var r={};for(var n in e)G.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&H)for(var n of H(e))t.indexOf(n)<0&&V.call(e,n)&&(r[n]=e[n]);return r};function U(e){var t=e,{action:r,styles:o,classNames:a,hovered:i,onTrigger:l,highlightQuery:s,highlightColor:c,query:u,radius:d}=t,p=K(t,["action","styles","classNames","hovered","onTrigger","highlightQuery","highlightColor","query","radius"]);const{classes:f}=B({radius:d},{styles:o,classNames:a,name:"Spotlight"});return n.createElement(E.k,Z({className:f.action,"data-hovered":i||void 0,tabIndex:-1,onMouseDown:e=>e.preventDefault(),onClick:l},p),n.createElement(C.Z,{noWrap:!0},r.icon&&n.createElement(j.M,{className:f.actionIcon,"data-hovered":i||void 0},r.icon),n.createElement("div",{className:f.actionBody},n.createElement(N.y,{highlightColor:c,className:f.actionHighlight,highlight:s?u:null},r.title),r.description&&n.createElement(z.x,{size:"xs",className:f.actionDescription,"data-hovered":i||void 0},r.description))))}U.displayName="@mantine/spotlight/DefaultAction";var q=(0,I.k)((e=>({nothingFound:{},actions:{padding:`calc(${e.spacing.xs} / 2)`},actionsGroup:{textTransform:"uppercase",fontSize:e.spacing.xs,fontWeight:700,padding:`${(0,D.h)(10)} ${(0,D.h)(12)}`,paddingBottom:0,paddingTop:e.spacing.md}}))),X=Object.defineProperty,J=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(e,t,r)=>t in e?X(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,re=(e,t)=>{for(var r in t||(t={}))Q.call(t,r)&&te(e,r,t[r]);if(J)for(var r of J(t))ee.call(t,r)&&te(e,r,t[r]);return e},ne=(e,t)=>{var r={};for(var n in e)Q.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&J)for(var n of J(e))t.indexOf(n)<0&&ee.call(e,n)&&(r[n]=e[n]);return r};function oe(e){var t=e,{actions:r,styles:o,classNames:a,actionComponent:i,hovered:l,onActionTrigger:s,query:c,nothingFoundMessage:u,highlightQuery:d,highlightColor:p,radius:f,variant:m}=t,b=ne(t,["actions","styles","classNames","actionComponent","hovered","onActionTrigger","query","nothingFoundMessage","highlightQuery","highlightColor","radius","variant"]);const{classes:y}=q(null,{name:"Spotlight",classNames:a,styles:o,variant:m}),g=r.map((e=>"item"===e.type?n.createElement(i,{query:c,key:e.item.id,action:e.item,hovered:e.index===l,classNames:a,styles:o,radius:f,onTrigger:()=>s(e.item),highlightQuery:d,highlightColor:p}):n.createElement(z.x,{className:y.actionsGroup,color:"dimmed",key:e.label},e.label))),h=g.length>0||!!u&&c.trim().length>0;return n.createElement(n.Fragment,null,h&&n.createElement("div",re({className:y.actions},b),g.length>
10?g:n.createElement(z.x,{c:"dimmed",className:y.nothingFound,ta:"center",fz:"lg",py:"md"},u)))}oe.displayName="@mantine/spotlight/ActionsList";var ae=(0,I.k)((e=>({content:{position:"relative",overflow:"hidden"},searchInput:{border:0,borderBottomRightRadius:0,borderBottomLeftRadius:0,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,"&, &:focus-within":{borderBottom:`${(0,D.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[2]}`}}}))),ie=Object.defineProperty,le=Object.defineProperties,se=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,pe=(e,t,r)=>t in e?ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fe=(e,t)=>{for(var r in t||(t={}))ue.call(t,r)&&pe(e,r,t[r]);if(ce)for(var r of ce(t))de.call(t,r)&&pe(e,r,t[r]);return e},me=(e,t)=>le(e,se(t)),be=(e,t)=>{var r={};for(var n in e)ue.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ce)for(var n of ce(e))t.indexOf(n)<0&&de.call(e,n)&&(r[n]=e[n]);return r};const ye={closeOnActionTrigger:!0,highlightQuery:!1,size:600,yOffset:120,filter:function(e,t){const r=e.trim().toLowerCase(),n=[[],[]];return t.forEach((e=>{var t,o,a;(null==(t=e.title)?void 0:t.toLowerCase().includes(r))?n[0].push(e):((null==(o=e.description)?void 0:o.toLowerCase().includes(r))||(a=e.keywords,Array.isArray(a)?a.map((e=>e.trim())).join(",").toLowerCase().trim():"string"==typeof a?a.toLowerCase().trim():"").includes(r))&&n[1].push(e)})),n.flat()},limit:10,actionComponent:U,scrollAreaComponent:function(e){return n.createElement(v.x.Autosize,fe({mah:"calc(100vh - 18rem)"},e))},actionsWrapperComponent:"div",zIndex:(0,w.w)("max"),overlayProps:{opacity:.2,blur:7}};function ge(e){const t=(0,O.N4)("Spotlight",ye,e),{query:r,onQueryChange:o,actions:a,onClose:i,opened:l,classNames:s,styles:c,closeOnActionTrigger:u,highlightQuery:d,highlightColor:p,className:f,searchPlaceholder:m,searchIcon:b,filter:y,nothingFoundMessage:g,limit:h,actionComponent:v,actionsWrapperComponent:w,scrollAreaComponent:E,searchInputProps:C,variant:j,radius:N}=t,z=be(t,["query","onQueryChange","actions","onClose","opened","classNames","styles","closeOnActionTrigger","highlightQuery","highlightColor","className","searchPlaceholder","searchIcon","filter","nothingFoundMessage","limit","actionComponent","actionsWrapperComponent","scrollAreaComponent","searchInputProps","variant","radius"]),[I,D]=(0,n.useState)(-1),[R,L]=(0,n.useState)(!1),{classes:_,cx:A}=ae(null,{name:"Spotlight",classNames:s,styles:c,variant:j}),T=()=>{D(-1),i()},$=S(y(r,a).slice(0,h)).items,M=$.map((e=>"item"===e.type?e.item:void 0)).filter((e=>e));(0,P.l)((()=>{M.length-1<I&&D(M.length-1)}),[M.length]);return n.createElement(x.u,fe({opened:l,onClose:T,padding:0,radius:N,scrollAreaComponent:x.u.NativeScrollArea,classNames:me(fe({},s),{content:A(_.content,null==s?void 0:s.content)}),styles:c,withCloseButton:!1},z),n.createElement(k.o,me(fe({size:"lg"},C),{value:r,onChange:e=>{o(e.currentTarget.value),-1===I&&D(0)},onKeyDown:e=>{var t,r;if(!R)switch(e.key){case"ArrowDown":e.preventDefault(),D((e=>e<M.length-1?e+1:0));break;case"ArrowUp":e.preventDefault(),D((e=>e>0?e-1:M.length-1));break;case"Enter":{e.preventDefault();const n=M[I];null==(t=null==n?void 0:n.onTrigger)||t.call(n,n),(null!=(r=null==n?void 0:n.closeOnTrigger)?r:u)&&(null==n?void 0:n.onTrigger)&&T();break}case"Escape":e.preventDefault(),T()}},onCompositionStart:()=>L(!0),onCompositionEnd:()=>L(!1),classNames:{input:_.searchInput},placeholder:m,icon:b}
1)),n.createElement(w,null,n.createElement(E,null,n.createElement(oe,{highlightQuery:d,highlightColor:p,actions:$,actionComponent:v,hovered:I,query:r,nothingFoundMessage:g,onActionTrigger:e=>{var t;e.onTrigger(e),(null!=(t=e.closeOnTrigger)?t:u)&&T()},styles:c,classNames:s,radius:N,variant:j}))))}ge.displayName="@mantine/spotlight/Spotlight";var he=r(89058),ve=Object.defineProperty,we=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Pe=(e,t,r)=>t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ee=(e,t)=>{for(var r in t||(t={}))ke.call(t,r)&&Pe(e,r,t[r]);if(xe)for(var r of xe(t))Se.call(t,r)&&Pe(e,r,t[r]);return e},Ce=(e,t)=>we(e,Oe(t));function je(e){return function(e){const t=new Set;return e.reduceRight(((e,r)=>(t.has(r.id)||(t.add(r.id),e.push(r)),e)),[]).reverse()}(e.map((e=>function(e){return Ce(Ee({},e),{id:e.id||(0,he.k)()})}(e))))}var Ne=r(4736);function ze(e,t,r,n){(0,Ne.A)(function(e,t){return null===e?[]:Array.isArray(e)?e.map((e=>[e,t])):[[e,t]]}(e,t),r,n)}var Ie=Object.defineProperty,De=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,_e=(e,t,r)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ae=(e,t)=>{for(var r in t||(t={}))Re.call(t,r)&&_e(e,r,t[r]);if(De)for(var r of De(t))Le.call(t,r)&&_e(e,r,t[r]);return e},Te=(e,t)=>{var r={};for(var n in e)Re.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&De)for(var n of De(e))t.indexOf(n)<0&&Le.call(e,n)&&(r[n]=e[n]);return r};function $e(e){var t=e,{actions:r,children:a,shortcut:s="mod + K",query:u,onSpotlightClose:d,onSpotlightOpen:p,onQueryChange:f,onActionsChange:m,cleanQueryOnClose:b=!0,transitionProps:y={duration:150},disabled:g=!1,tagsToIgnore:h=["INPUT","TEXTAREA","SELECT"],triggerOnContentEditable:v=!1}=t,w=Te(t,["actions","children","shortcut","query","onSpotlightClose","onSpotlightOpen","onQueryChange","onActionsChange","cleanQueryOnClose","transitionProps","disabled","tagsToIgnore","triggerOnContentEditable"]);const O=(0,n.useRef)(-1),[x,k]=(0,i.C)({value:u,defaultValue:"",finalValue:"",onChange:f}),[S,{registerActions:P,removeActions:E,triggerAction:C}]=function({actions:e,onActionsChange:t}){return[(0,n.useMemo)((()=>je(e)),[e]),{registerActions:r=>null==t?void 0:t(je([...e,...r])),removeActions:r=>null==t?void 0:t(e.filter((e=>!r.includes(e.id)))),triggerAction:t=>{var r;const n=e.find((e=>e.id===t));null==(r=null==n?void 0:n.onTrigger)||r.call(n,n)}}]}({actions:r,onActionsChange:m}),j=e=>{k(e),null==f||f(e)},[N,{open:z,close:I,toggle:D}]=(0,l.q)(!1,{onClose:()=>{null==d||d(),b&&(O.current=window.setTimeout((()=>{j("")}),y.duration||150))},onOpen:()=>{null==p||p(),window.clearTimeout(O.current)}}),R={openSpotlight:z,closeSpotlight:I,toggleSpotlight:D,registerActions:P,removeActions:E,triggerAction:C,opened:N,actions:S,query:x};return ze(s,z,h,v),c({open:z,close:I,toggle:D,registerActions:P,removeActions:E,triggerAction:C}),n.createElement(o.Provider,{value:R},!g&&n.createElement(ge,Ae({actions:S,onClose:I,opened:N,query:x,onQueryChange:j,transitionProps:y},w)),a)}$e.displayName="@mantine/spotlight/SpotlightProvider"},729:function(e,t,r){r.r(t),r.d(t,{DEFAULT_LABELS:function(){return ie},Link:function(){return $r},RichTextEditor:function(){return Tr},useRichTextEditorContext:function(){return l}});var n=r(67294),o=r(73623),a=r(64523);const[i,l]=function(e){const t=(0,n.createContext)(null);return[({children:e,value:r})=>n.createElement(t.Provider,{value:r},e),()=>{const r=(0,n.useContext)(t);if(null===r)throw new Error(e);return r}]}("RichTextEditor was not found in tree");var s=r(19821),c=r(58899),u=r(2566),d=r(71485),p=Object.defineProperty,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&y(e,r,t[r]);if(f)for(var r of f(t))b.call(t,r)&&y(e,r,t[r]);return e};function h(e,t){if(!e)return null;const r="dark"===t.colorScheme?5:7;return{pre:{background:"dark"===t.colorScheme?t.colors.dark[8]:t.fn.rgba(t.colors.gray[0],.65),borderRadius:t.fn.radius(),color:"dark"===t.colorScheme?t.colors.dark[0]:t.colors.gray[9],fontFamily:t.fontFamilyMonospace,padding:`${t.spacing.md} ${t.spacing.xl}`,"& code":{background:"none",color:"inherit",fontSize:t.fontSizes.sm,padding:0}," & .hljs-comment, & .hljs-quote":{color:"dark"===t.colorScheme?t.colors.dark[2]:t.colors.gray[5]},"& .hljs-variable, & .hljs-template-variable, & .hljs-attribute, & .hljs-tag, & .hljs-name, & .hljs-regexp, & .hljs-link, & .hljs-name, & .hljs-selector-id, & .hljs-selector-class":{color:t.colors.red[r]},"& .hljs-number, & .hljs-meta, & .hljs-built_in, & .hljs-builtin-name, & .hljs-literal, & .hljs-type, & .hljs-params":{color:t.colors["dark"===t.colorScheme?"cyan":"blue"][r]},"& .hljs-string, & .hljs-symbol, & .hljs-bullet":{color:t.colors.red[r]},"& .hljs-title, & .hljs-section":{color:t.colors["dark"===t.colorScheme?"yellow":"pink"][r]},"& .hljs-keyword, & .hljs-selector-tag":{color:t.colors.violet[r]},"& .hljs-emphasis":{fontStyle:"italic"},"& .hljs-strong":{fontWeight:700}}}}function v(e){return e?{"& li > p":{margin:0},"& ul li, & ol li":{marginTop:(0,u.h)(2)},"& ul, & ol":{marginTop:(0,u.h)(5),marginBottom:(0,u.h)(5)},"& p":{marginBottom:(0,u.h)(7)},"& h1, & h2, & h3, & h4, & h5, & h6, & p":{marginTop:0}}:null}
1var w=(0,d.k)(((e,{withCodeHighlightStyles:t,withTypographyStyles:r})=>({typographyStylesProvider:g({},v(r)),content:g({backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,borderRadius:e.fn.radius(),"& .ProseMirror":{outline:0,padding:e.spacing.md},"& .ProseMirror > *:last-child":{marginBottom:0},"& .ProseMirror p.is-editor-empty:first-of-type::before":g({content:"attr(data-placeholder)",pointerEvents:"none",userSelect:"none",float:"left",height:0},e.fn.placeholderStyles())},h(t,e))}))),O=Object.defineProperty,x=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,P=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const E={},C=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditorContent",E,e),{className:i}=r,u=((e,t)=>{var r={};for(var n in e)k.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&x)for(var n of x(e))t.indexOf(n)<0&&S.call(e,n)&&(r[n]=e[n]);return r})(r,["className"]),{editor:d,withCodeHighlightStyles:p,withTypographyStyles:f,classNames:m,styles:b,unstyled:y,variant:g}=l(),{classes:h,cx:v}=w({withCodeHighlightStyles:p,withTypographyStyles:f},{name:"RichTextEditor",classNames:m,styles:b,unstyled:y,variant:g});return n.createElement(s.l,{className:v(h.typographyStylesProvider,i),unstyled:!f||y,ref:t},n.createElement(a.x,((e,t)=>{for(var r in t||(t={}))k.call(t,r)&&P(e,r,t[r]);if(x)for(var r of x(t))S.call(t,r)&&P(e,r,t[r]);return e})({component:c.kg,editor:d,className:h.content},u)))}));C.displayName="@mantine/tiptap/Content";var j=r(34736),N=Object.defineProperty,z=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,R=(e,t,r)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,L=(e,t)=>{for(var r in t||(t={}))I.call(t,r)&&R(e,r,t[r]);if(z)for(var r of z(t))D.call(t,r)&&R(e,r,t[r]);return e},_=(0,d.k)((e=>{const t=e.fn.variant({variant:"light"});return{control:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,minWidth:(0,u.h)(26),height:(0,u.h)(26),display:"flex",justifyContent:"center",alignItems:"center",border:`${(0,u.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,borderRadius:e.fn.radius(),cursor:"default","&[data-interactive]":L({cursor:"pointer"},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]})),"&[data-active]":{backgroundColor:t.background,color:t.color,"&:hover":L({},e.fn.hover({backgroundColor:t.hover}))}}}})),A=Object.defineProperty,T=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,r)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const B={interactive:!0},W=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditorControl",B,e),{className:a,active:i,children:s,interactive:c}=r,u=((e,t)=>{var r={};for(var n in e)$.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&T)for(var n of T(e))t.indexOf(n)<0&&M.call(e,n)&&(r[n]=e[n]);return r})(r,["className","active","children","interactive"]),{classNames:d,styles:p,unstyled:f,variant:m}=l(),{classes:b,cx:y}=_(null,{name:"RichTextEditor",classNames:d,styles:p,unstyled:f,variant:m});return n.createElement(j.k,((e,t)=>{for(var r in t||(t={}))$.call(t,r)&&F(e,r,t[r]);if(T)for(var r of T(t))M.call(t,r)&&F(e,r,t[r]);return e})({className:y(b.control,a),"data-rich-text-editor-control":!0,tabIndex:c?0:-1,"data-interactive":c||void 0,"data-active":i||void 0,"aria-pressed":i&&c||void 0,"aria-hidden":!c||void 0,ref:t,unstyled:f},u),s)}));W.displayName="@mantine/tiptap/Control";var H=(0,d.k)((e=>({controlsGroup:{display:"flex","& [data-rich-text-editor-control]":{borderRadius:0,"&:not(:last-of-type)":{borderRight:0},"&:last-of-type":{borderTopRightRadius:e.fn.radius(),borderBottomRightRadius:e.fn.radius()},"&:first-of-type":{borderTopLeftRadius:e.fn.radius(),borderBottomLeftRadius:e.fn.radius()}}}}))),G=Object.defineProperty,V=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,K=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const U={},q=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditorControlsGroup",U,e),{className:i,children:s}=r,c=((e,t)=>{var r={};for(var n in e)Y.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&V)for(var n of V(e))t.indexOf(n)<0&&Z.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children"]),{classNames:u,styles:d,unstyled:p}=l(),{classes:f,cx:m}=H(null,{name:"RichTextEditor",classNames:u,styles:d,unstyled:p});return n.createElement(a.x,((e,t)=>{for(var r in t||(t={}))Y.call(t,r)&&K(e,r,t[r]);if(V)for(var r of V(t))Z.call(t,r)&&K(e,r,t[r]);return e})({className:m(f.controlsGroup,i),ref:t},c),s)}));
1q.displayName="@mantine/tiptap/ControlsGroup";var X=r(71232),J=(0,d.k)(((e,{sticky:t,stickyOffset:r})=>({toolbar:{position:t?"sticky":"static",top:t?(0,u.h)(r):void 0,padding:`${e.spacing.xs} ${e.spacing.md}`,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,zIndex:1,borderTopRightRadius:e.fn.radius(),borderTopLeftRadius:e.fn.radius(),borderBottom:`${(0,u.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`}}))),Q=Object.defineProperty,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ne=(e,t,r)=>t in e?Q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const oe={stickyOffset:0},ae=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditorToolbar",oe,e),{className:a,children:i,sticky:s,stickyOffset:c}=r,u=((e,t)=>{var r={};for(var n in e)te.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ee)for(var n of ee(e))t.indexOf(n)<0&&re.call(e,n)&&(r[n]=e[n]);return r})(r,["className","children","sticky","stickyOffset"]),d=l(),{classes:p,cx:f}=J({sticky:s,stickyOffset:c},{name:"RichTextEditor",classNames:d.classNames,styles:d.styles,unstyled:d.unstyled,variant:d.variant});return n.createElement(X.Z,((e,t)=>{for(var r in t||(t={}))te.call(t,r)&&ne(e,r,t[r]);if(ee)for(var r of ee(t))re.call(t,r)&&ne(e,r,t[r]);return e})({className:f(p.toolbar,a),ref:t},u),i)}));ae.displayName="@mantine/tiptap/Toolbar";const ie={linkControlLabel:"Link",colorPickerControlLabel:"Text color",highlightControlLabel:"Highlight text",colorControlLabel:e=>`Set text color ${e}`,boldControlLabel:"Bold",italicControlLabel:"Italic",underlineControlLabel:"Underline",strikeControlLabel:"Strikethrough",clearFormattingControlLabel:"Clear formatting",unlinkControlLabel:"Remove link",bulletListControlLabel:"Bullet list",orderedListControlLabel:"Ordered list",h1ControlLabel:"Heading 1",h2ControlLabel:"Heading 2",h3ControlLabel:"Heading 3",h4ControlLabel:"Heading 4",h5ControlLabel:"Heading 5",h6ControlLabel:"Heading 6",blockquoteControlLabel:"Blockquote",alignLeftControlLabel:"Align text: left",alignCenterControlLabel:"Align text: center",alignRightControlLabel:"Align text: right",alignJustifyControlLabel:"Align text: justify",codeControlLabel:"Code",codeBlockControlLabel:"Code block",subscriptControlLabel:"Subscript",superscriptControlLabel:"Superscript",unsetColorControlLabel:"Unset color",hrControlLabel:"Horizontal line",linkEditorInputLabel:"Enter URL",linkEditorInputPlaceholder:"https://example.com/",linkEditorExternalLink:"Open link in a new tab",linkEditorInternalLink:"Open link in the same tab",linkEditorSave:"Save",colorPickerCancel:"Cancel",colorPickerClear:"Clear color",colorPickerColorPicker:"Color picker",colorPickerPalette:"Color palette",colorPickerSave:"Save",colorPickerColorLabel:e=>`Set text color ${e}`};var le=(0,d.k)((e=>({root:{position:"relative",border:`${(0,u.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,borderRadius:e.fn.radius()}}))),se=r(49281),ce=r(6051),ue=r(25955),de=r(17242),pe=r(19837),fe=r(12535),me=r(29540),be=r(22818),ye=r(66922),ge=r(45169),he=r(71224),ve=r(27595),we=r(5890),Oe=r(79977),xe=r(58454),ke=r(9734),Se=r(74669),Pe=r(90849),Ee=r(93661),Ce=r(87392),je=r(36564),Ne=r(49550),ze=r(24081),Ie=r(31922),De=r(43715),Re=Object.defineProperty,Le=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Te=(e,t,r)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const $e=(0,n.forwardRef)(((e,t)=>{var r=e,{className:o,active:a,icon:i}=r,l=((e,t)=>{var r={};for(var n in e)_e.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Le)for(var n of Le(e))t.indexOf(n)<0&&Ae.call(e,n)&&(r[n]=e[n]);return r})(r,["className","active","icon"]);return n.createElement(W,((e,t)=>{for(var r in t||(t={}))_e.call(t,r)&&Te(e,r,t[r]);if(Le)for(var r of Le(t))Ae.call(t,r)&&Te(e,r,t[r]);return e})({active:a,ref:t},l),n.createElement(i,{size:"1rem"}))}));$e.displayName="@mantine/tiptap/ControlBase";var Me=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,He=(e,t,r)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ge=(e,t)=>
1{for(var r in t||(t={}))Be.call(t,r)&&He(e,r,t[r]);if(Fe)for(var r of Fe(t))We.call(t,r)&&He(e,r,t[r]);return e};function Ve({label:e,isActive:t,operation:r,icon:o}){return(0,n.forwardRef)(((a,i)=>{const{editor:s,labels:c}=l(),u=c[e];return n.createElement($e,Ge({"aria-label":u,title:u,active:!!(null==t?void 0:t.name)&&(null==s?void 0:s.isActive(t.name,t.attributes)),ref:i,onClick:()=>null==s?void 0:s.chain().focus()[r.name](r.attributes).run(),icon:o},a))}))}var Ye=Object.defineProperty,Ze=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Je=(e,t,r)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qe=(e,t)=>{for(var r in t||(t={}))qe.call(t,r)&&Je(e,r,t[r]);if(Ue)for(var r of Ue(t))Xe.call(t,r)&&Je(e,r,t[r]);return e},et=(e,t)=>Ze(e,Ke(t));const tt=Ve({label:"boldControlLabel",icon:e=>n.createElement(se.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"bold"},operation:{name:"toggleBold"}}),rt=Ve({label:"italicControlLabel",icon:e=>n.createElement(ce.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"italic"},operation:{name:"toggleItalic"}}),nt=Ve({label:"underlineControlLabel",icon:e=>n.createElement(ue.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"underline"},operation:{name:"toggleUnderline"}}),ot=Ve({label:"strikeControlLabel",icon:e=>n.createElement(de.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"strike"},operation:{name:"toggleStrike"}}),at=Ve({label:"clearFormattingControlLabel",icon:e=>n.createElement(pe.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"unsetAllMarks"}}),it=Ve({label:"unlinkControlLabel",icon:e=>n.createElement(fe.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"unsetLink"}}),lt=Ve({label:"bulletListControlLabel",icon:e=>n.createElement(me.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"bulletList"},operation:{name:"toggleBulletList"}}),st=Ve({label:"orderedListControlLabel",icon:e=>n.createElement(be.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"orderedList"},operation:{name:"toggleOrderedList"}}),ct=Ve({label:"h1ControlLabel",icon:e=>n.createElement(ye.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"heading",attributes:{level:1}},operation:{name:"toggleHeading",attributes:{level:1}}}),ut=Ve({label:"h2ControlLabel",icon:e=>n.createElement(ge.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"heading",attributes:{level:2}},operation:{name:"toggleHeading",attributes:{level:2}}}),dt=Ve({label:"h3ControlLabel",icon:e=>n.createElement(he.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"heading",attributes:{level:3}},operation:{name:"toggleHeading",attributes:{level:3}}}),pt=Ve({label:"h4ControlLabel",icon:e=>n.createElement(ve.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"heading",attributes:{level:4}},operation:{name:"toggleHeading",attributes:{level:4}}}),ft=Ve({label:"h5ControlLabel",icon:e=>n.createElement(we.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"heading",attributes:{level:5}},operation:{name:"toggleHeading",attributes:{level:5}}}),mt=Ve({label:"h6ControlLabel",icon:e=>n.createElement(Oe.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"heading",attributes:{level:6}},operation:{name:"toggleHeading",attributes:{level:6}}}),bt=Ve({label:"blockquoteControlLabel",icon:e=>n.createElement(xe.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"blockquote"},operation:{name:"toggleBlockquote"}}),yt=Ve({label:"alignLeftControlLabel",icon:e=>n.createElement(ke.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"setTextAlign",attributes:"left"}}),gt=Ve({label:"alignRightControlLabel",icon:e=>n.createElement(Se.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"setTextAlign",attributes:"right"}}),ht=Ve({label:"alignCenterControlLabel",icon:e=>n.createElement(Pe.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"setTextAlign",attributes:"center"}}),vt=Ve({label:"alignJustifyControlLabel",icon:e=>n.createElement(Ee.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"setTextAlign",attributes:"justify"}}),wt=Ve({label:"subscriptControlLabel",icon:e=>n.createElement(Ce.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"subscript"},operation:{name:"toggleSubscript"}}
1),Ot=Ve({label:"superscriptControlLabel",icon:e=>n.createElement(je.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"superscript"},operation:{name:"toggleSuperscript"}}),xt=Ve({label:"codeControlLabel",icon:e=>n.createElement(Ne.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"code"},operation:{name:"toggleCode"}}),kt=Ve({label:"codeBlockControlLabel",icon:e=>n.createElement(Ne.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"codeBlock"},operation:{name:"toggleCodeBlock"}}),St=Ve({label:"highlightControlLabel",icon:e=>n.createElement(ze.Z,et(Qe({},e),{stroke:1.5})),isActive:{name:"highlight"},operation:{name:"toggleHighlight"}}),Pt=Ve({label:"hrControlLabel",icon:e=>n.createElement(Ie.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"setHorizontalRule"}}),Et=Ve({label:"unsetColorControlLabel",icon:e=>n.createElement(De.Z,et(Qe({},e),{stroke:1.5})),operation:{name:"unsetColor"}});var Ct=r(78667),jt=r(33296),Nt=r(45528),zt=r(80061),It=r(88393),Dt=r(67841),Rt=r(41246),Lt=r(91759),_t=r(84137),At=Object.defineProperty,Tt=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,Ft=(e,t,r)=>t in e?At(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Bt=(e,t)=>{for(var r in t||(t={}))$t.call(t,r)&&Ft(e,r,t[r]);if(Tt)for(var r of Tt(t))Mt.call(t,r)&&Ft(e,r,t[r]);return e},Wt=(0,d.k)((e=>{const t=e.fn.variant({variant:"light"});return{linkEditor:{display:"flex"},linkEditorInput:{borderTopRightRadius:0,borderBottomRightRadius:0,borderRight:0},linkEditorExternalControl:{backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.colors.dark[7],.5):e.white,border:`${(0,u.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,height:(0,u.h)(24),width:(0,u.h)(24),display:"flex",justifyContent:"center",alignItems:"center",borderRadius:e.fn.radius(),"&[data-active]":Bt({backgroundColor:t.background,borderColor:t.border,color:t.color},e.fn.hover({background:t.hover}))},linkEditorSave:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}})),Ht=Object.defineProperty,Gt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Ut=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qt=(e,t)=>{for(var r in t||(t={}))Zt.call(t,r)&&Ut(e,r,t[r]);if(Yt)for(var r of Yt(t))Kt.call(t,r)&&Ut(e,r,t[r]);return e},Xt=(e,t)=>{var r={};for(var n in e)Zt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Yt)for(var n of Yt(e))t.indexOf(n)<0&&Kt.call(e,n)&&(r[n]=e[n]);return r};const Jt=e=>{var t=e,{size:r}=t,o=Xt(t,["size"]);return n.createElement(Ct.Z,qt({size:r,stroke:1.5},o))},Qt={initialExternal:!1},er=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditorLinkControl",Qt,e),{icon:a,popoverProps:i,disableTooltips:s,initialExternal:c}=r,d=Xt(r,["icon","popoverProps","disableTooltips","initialExternal"]),{editor:p,labels:f,classNames:m,styles:b,unstyled:y,variant:g}=l(),{classes:h}=Wt(null,{name:"RichTextEditor",classNames:m,styles:b,unstyled:y,variant:g}),[v,w]=(0,Rt.U)(""),[O,x]=(0,n.useState)(c),[k,{open:S,close:P}]=(0,Lt.q)(!1),E=()=>{S();const e=null==p?void 0:p.getAttributes("link");w((null==e?void 0:e.href)||""),x("_blank"===(null==e?void 0:e.target))},C=()=>{P(),w(""),x(c)},N=()=>{C(),""===v?p.chain().focus().extendMarkRange("link").unsetLink().run():p.chain().focus().extendMarkRange("link").setLink({href:v,target:O?"_blank":null}).run()};return(0,_t.s)("edit-link",E,!1),n.createElement(Nt.J,qt({trapFocus:!0,shadow:"md",withinPortal:!0,opened:k,onClose:C,offset:-44,zIndex:1e4,unstyled:y},i),n.createElement(Nt.J.Target,null,n.createElement($e,(z=qt({icon:a||Jt,"aria-label":f.linkControlLabel,title:f.linkControlLabel,onClick:E,active:null==p?void 0:p.isActive("link"),unstyled:y},d),Gt(z,Vt({ref:t}))))),n.createElement(Nt.J.Dropdown,{sx:e=>({backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white})},n.createElement("div",{className:h.linkEditor},n.createElement(zt.o,{placeholder:f.linkEditorInputPlaceholder,"aria-label":f.linkEditorInputLabel,type:"url",value:v,onCh
1ange:w,classNames:{input:h.linkEditorInput},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),N())},unstyled:y,rightSection:n.createElement(It.u,{label:O?f.linkEditorExternalLink:f.linkEditorInternalLink,events:{hover:!0,focus:!0,touch:!0},withinPortal:!0,withArrow:!0,disabled:s,unstyled:y,zIndex:1e4},n.createElement(j.k,{onClick:()=>x((e=>!e)),"data-active":O||void 0,className:h.linkEditorExternalControl,unstyled:y},n.createElement(jt.Z,{size:(0,u.h)(14),stroke:1.5})))}),n.createElement(Dt.z,{variant:"default",onClick:N,className:h.linkEditorSave,unstyled:y},f.linkEditorSave))));var z}));var tr=r(21380),rr=r(69469),nr=r(48334),or=r(49834),ar=r(77373),ir=r(17742),lr=r(1605),sr=r(77249),cr=Object.defineProperty,ur=Object.defineProperties,dr=Object.getOwnPropertyDescriptors,pr=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,br=(e,t,r)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yr=(e,t)=>{for(var r in t||(t={}))fr.call(t,r)&&br(e,r,t[r]);if(pr)for(var r of pr(t))mr.call(t,r)&&br(e,r,t[r]);return e};const gr={},hr=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditorColorPickerControl",gr,e),{popoverProps:a,colors:i,colorPickerProps:s}=r,c=((e,t)=>{var r={};for(var n in e)fr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&pr)for(var n of pr(e))t.indexOf(n)<0&&mr.call(e,n)&&(r[n]=e[n]);return r})(r,["popoverProps","colors","colorPickerProps"]),{editor:u,labels:d,unstyled:p}=l(),[f,{toggle:m,close:b}]=(0,Lt.q)(!1),[y,g]=(0,n.useState)("palette"),h=(0,o.rZ)(),v=(null==u?void 0:u.getAttributes("textStyle").color)||("dark"===h.colorScheme?h.colors.dark[1]:h.black),w=(e,t=!0)=>{u.chain().focus().setColor(e).run(),t&&b()},O=i.map(((e,t)=>n.createElement(tr.b,{key:t,component:"button",color:e,onClick:()=>w(e),size:26,radius:"xs",sx:{cursor:"pointer"},title:d.colorPickerColorLabel(e),"aria-label":d.colorPickerColorLabel(e),unstyled:p})));return n.createElement(Nt.J,yr({opened:f,withinPortal:!0,trapFocus:!0,onClose:b,unstyled:p},a),n.createElement(Nt.J.Target,null,n.createElement(W,(x=yr({"aria-label":d.colorPickerControlLabel,title:d.colorPickerControlLabel},c),ur(x,dr({ref:t,onClick:m}))),n.createElement(tr.b,{color:v,size:14,unstyled:p}))),n.createElement(Nt.J.Dropdown,{sx:()=>({backgroundColor:"dark"===h.colorScheme?h.colors.dark[7]:h.white})},"palette"===y&&n.createElement(rr.M,{cols:7,spacing:2},O),"colorPicker"===y&&n.createElement(nr.z,yr({defaultValue:v,onChange:e=>w(e,!1),unstyled:p},s)),n.createElement(It.u.Group,{closeDelay:200},n.createElement(X.Z,{position:"right",spacing:"xs",mt:"sm"},"palette"===y&&n.createElement(or.A,{variant:"default",onClick:b,unstyled:p,title:d.colorPickerCancel,"aria-label":d.colorPickerCancel},n.createElement(ar.Z,{stroke:1.5,size:"1rem"})),n.createElement(or.A,{variant:"default",onClick:()=>{u.chain().focus().unsetColor().run(),b()},unstyled:p,title:d.colorPickerClear,"aria-label":d.colorPickerClear},n.createElement(De.Z,{stroke:1.5,size:"1rem"})),"palette"===y?n.createElement(or.A,{variant:"default",onClick:()=>g("colorPicker"),unstyled:p,title:d.colorPickerColorPicker,"aria-label":d.colorPickerColorPicker},n.createElement(ir.Z,{stroke:1.5,size:"1rem"})):n.createElement(or.A,{variant:"default",onClick:()=>g("palette"),unstyled:p,"aria-label":d.colorPickerPalette,title:d.colorPickerPalette},n.createElement(lr.Z,{stroke:1.5,size:"1rem"})),"colorPicker"===y&&n.createElement(or.A,{variant:"default",onClick:b,unstyled:p,title:d.colorPickerSave,"aria-label":d.colorPickerSave},n.createElement(sr.Z,{stroke:1.5,size:"1rem"}))))));var x}));hr.displayName="@mantine/tiptap/ColorPickerControl";var vr=Object.defineProperty,wr=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,Pr=(e,t,r)=>t in e?vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Er={},Cr=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditorColorControl",Er,e),{color:a}=r,i=((e,t)=>{var r={};for(var n in e)kr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&xr)for(var n of xr(e))t.indexOf(n)<0&&Sr.call(e,n)&&(r[n]=e[n]);return r})(r,["color"]),{editor:s,labels:c,unstyled:u}=l(),d=(null==s?void 0:s.getAttributes("textStyle").color)||null,p=c.colorControl
1Label(a);return n.createElement(W,(f=((e,t)=>{for(var r in t||(t={}))kr.call(t,r)&&Pr(e,r,t[r]);if(xr)for(var r of xr(t))Sr.call(t,r)&&Pr(e,r,t[r]);return e})({active:d===a,"aria-label":p,title:p,onClick:()=>s.chain().focus().setColor(a).run()},i),wr(f,Or({ref:t}))),n.createElement(tr.b,{color:a,size:14,unstyled:u}));var f}));var jr=Object.defineProperty,Nr=Object.defineProperties,zr=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Lr=(e,t,r)=>t in e?jr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_r=(e,t)=>{for(var r in t||(t={}))Dr.call(t,r)&&Lr(e,r,t[r]);if(Ir)for(var r of Ir(t))Rr.call(t,r)&&Lr(e,r,t[r]);return e};const Ar={withCodeHighlightStyles:!0,withTypographyStyles:!0},Tr=(0,n.forwardRef)(((e,t)=>{const r=(0,o.N4)("RichTextEditor",Ar,e),{editor:l,children:s,className:c,labels:u,withCodeHighlightStyles:d,withTypographyStyles:p,classNames:f,styles:m,unstyled:b,variant:y}=r,g=((e,t)=>{var r={};for(var n in e)Dr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Ir)for(var n of Ir(e))t.indexOf(n)<0&&Rr.call(e,n)&&(r[n]=e[n]);return r})(r,["editor","children","className","labels","withCodeHighlightStyles","withTypographyStyles","classNames","styles","unstyled","variant"]),{classes:h,cx:v}=le(null,{name:"RichTextEditor",classNames:f,styles:m,unstyled:b,variant:y}),w=(0,n.useMemo)((()=>_r(_r({},ie),u)),[u]);return n.createElement(i,{value:{editor:l,labels:w,withCodeHighlightStyles:d,withTypographyStyles:p,classNames:f,styles:m,unstyled:b,variant:y}},n.createElement(a.x,(O=_r({className:v(h.root,c)},g),Nr(O,zr({ref:t}))),s));var O}));Tr.Content=C,Tr.Control=W,Tr.ControlsGroup=q,Tr.Toolbar=ae,Tr.Bold=tt,Tr.Italic=rt,Tr.Strikethrough=ot,Tr.Underline=nt,Tr.ClearFormatting=at,Tr.H1=ct,Tr.H2=ut,Tr.H3=dt,Tr.H4=pt,Tr.H5=ft,Tr.H6=mt,Tr.BulletList=lt,Tr.OrderedList=st,Tr.Link=er,Tr.Unlink=it,Tr.Blockquote=bt,Tr.AlignLeft=yt,Tr.AlignRight=gt,Tr.AlignCenter=ht,Tr.AlignJustify=vt,Tr.Superscript=Ot,Tr.Subscript=wt,Tr.Code=xt,Tr.CodeBlock=kt,Tr.ColorPicker=hr,Tr.Color=Cr,Tr.Highlight=St,Tr.Hr=Pt,Tr.UnsetColor=Et,Tr.displayName="@mantine/tiptap/RichTextEditor";const $r=r(37986).ZP.extend({addKeyboardShortcuts:()=>({"Mod-k":()=>(window.dispatchEvent(new Event("edit-link")),!0)})}).configure({openOnClick:!1})},99045:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(15172);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},39147:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AreaChart=void 0;var n=m(r(67294)),o=r(96817),a=m(r(36891)),i=m(r(67191)),l=m(r(25894)),s=m(r(38584)),c=m(r(97901)),u=m(r(39380)),d=m(r(54716)),p=r(23551),f=["data","x","y","withLegend","withTooltip","tooltipComponent","legendComponent","children","curveType","tooltipProps","legendProps"];function m(e){return e&&e.__esModule?e:{default:e}}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===y(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var v=function(e){var t,r,m,v=e.data,w=e.x,O=e.y,x=e.withLegend,k=void 0!==x&&x,S=e.withTooltip,P=void 0===S||S,E=e.tooltipComponent,C=void 0===E?
1null:E,j=e.legendComponent,N=void 0===j?null:j,z=e.children,I=e.curveType,D=void 0===I?"monotone":I,R=e.tooltipProps,L=void 0===R?{}:R,_=e.legendProps,A=void 0===_?{}:_,T=h(e,f),$=(0,o.useTeachfloorTheme)(),M=(0,c.default)(),F=M.containerRef,B=M.width,W=M.height,H=(0,u.default)(),G=(0,d.default)({yAxisWidthModifier:function(e){return e+5}}),V=G.yAxisWidth,Y=G.chartRef,Z=Array.isArray(O)?O.reduce((function(e,t){return e[t.value]=t.formatter||function(e){return e},e}),{}):g({},O.value||O,O.formatter||function(e){return e});return n.default.createElement(o.Box,{ref:F,w:"100%",h:"100%"},B&&W?n.default.createElement(p.AreaChart,b({ref:Y,data:v,width:B,height:W},T),n.default.createElement(p.CartesianGrid,{vertical:!1,horizontal:!0,strokeDasharray:"4",opacity:.5}),"string"==typeof w?n.default.createElement(p.XAxis,{dataKey:w,tickSize:4,style:{fontSize:12},tick:n.default.createElement(l.default,null),axisLine:{stroke:$.fn.rgba($.colors.gray[4],.5)},tickLine:{stroke:$.fn.rgba($.colors.gray[4],.5)}}):null,O?n.default.createElement(n.default.Fragment,null,n.default.createElement(p.YAxis,{tick:n.default.createElement(s.default,{formatter:(m=O.value||O,Z[m])}),style:{fontSize:12},axisLine:{stroke:$.fn.rgba($.colors.gray[4],.5)},tickLine:{stroke:$.fn.rgba($.colors.gray[4],.5)},width:V}),"string"==typeof O?n.default.createElement(p.Area,{type:D,dataKey:O,strokeWidth:2,stroke:H(0),isAnimationActive:!1,dot:!1,fill:"url(#color".concat(O,")")}):"object"!==y(O)||Array.isArray(O)?Array.isArray(O)?O.map((function(e,t){return"object"!==y(e)||Array.isArray(e)?"string"==typeof e?n.default.createElement(p.Area,{key:"".concat(e).concat(t),type:"natural",dataKey:e,strokeWidth:2,stroke:H(t),isAnimationActive:!1,dot:!1,fill:"url(#color".concat(e,")")}):null:n.default.createElement(p.Area,{key:"".concat(e.value).concat(t),type:e.type||D,dataKey:e.value,name:e.label,strokeWidth:2,stroke:H(t),isAnimationActive:!1,dot:!1,fill:"url(#color".concat(e.value,")")})})):null:n.default.createElement(p.Area,{type:O.type||D,dataKey:O.value,name:O.label,strokeWidth:2,stroke:H(0),isAnimationActive:!1,dot:!1,fill:"url(#color".concat(O.value,")")})):null,(r={allowEscapeViewBox:{x:!1,y:!0},animationDuration:150,wrapperStyle:{zIndex:1e3}},P?C?n.default.createElement(p.Tooltip,b({cursor:{fill:"transparent"},content:C},r,L)):n.default.createElement(p.Tooltip,b({cursor:{fill:"transparent"},content:n.default.createElement(a.default,{formatters:Z})},r,L)):null),k?N?n.default.createElement(p.Legend,b({content:N,wrapperStyle:{paddingLeft:60}},A)):n.default.createElement(p.Legend,b({content:n.default.createElement(i.default,null),wrapperStyle:{paddingLeft:60}},A)):null,n.default.createElement("defs",null,(t=function(e,t){return n.default.createElement("linearGradient",{id:"color".concat(e),x1:"0",y1:"0",x2:"0",y2:"1"},n.default.createElement("stop",{offset:"5%",stopColor:H(t),stopOpacity:.8}),n.default.createElement("stop",{offset:"95%",stopColor:H(t),stopOpacity:0}))},"string"==typeof O?t(O,0):"object"!==y(O)||Array.isArray(O)?Array.isArray(O)?O.map((function(e,r){return"object"!==y(e)||Array.isArray(e)?"string"==typeof e?t(e,r):null:t(e.value,r)})):null:t(O.value,0))),z):null)};t.AreaChart=v;var w=v;t.default=w},35722:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BarChart=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==g(e)&&"function"!=typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(67294)),o=r(96817),a=m(r(36891)),i=m(r(67191)),l=m(r(25894)),s=m(r(38584)),c=m(r(97901)),u=m(r(39380)),d=m(r(54716)),p=r(23551),f=["data","x","y","withLegend","withTooltip","withFocusBar","tooltipComponent","legendComponent","children","tooltipProps","legendProps"];function m(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(this,arguments)}function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===g(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function O(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var x=function(e){var t,r,m,b=e.data,w=e.x,x=e.y,k=e.withLegend,S=void 0!==k&&k,P=e.withTooltip,E=void 0===P||P,C=e.withFocusBar,j=void 0!==C&&C,N=e.tooltipComponent,z=void 0===N?null:N,I=e.legendComponent,D=void 0===I?null:I,R=e.children,L=e.tooltipProps,_=void 0===L?{}:L,A=e.legendProps,T=void 0===A?{}:A,$=O(e,f),M=(0,o.useTeachfloorTheme)(),F=(0,c.default)(),B=F.containerRef,W=F.width,H=F.height,G=v((0,n.useState)(null),2),V=G[0],Y=G[1],Z=v((0,n.useState)(!0),2),K=Z[0],U=Z[1],q=(0,u.default)(),X=(0,d.default)({yAxisWidthModifier:function(e){return e+5}}),J=X.yAxisWidth,Q=X.chartRef,ee=Array.isArray(x)?x.reduce((function(e,t){return e[t.value]=t.formatter||function(e){return e},e}),{}):h({},x.value||x,x.formatter||function(e){return e});return n.default.createElement(o.Box,{ref:B,w:"100%",h:"100%"},W&&H?n.default.createElement(p.BarChart,y({ref:Q,data:b,width:W,height:H,onMouseMove:function(e){j&&(e.isTooltipActive?(Y(e.activeTooltipIndex),U(!1)):(Y(null),U(!0)))},onMouseLeave:function(){return U(!0)}},$),n.default.createElement(p.CartesianGrid,{vertical:!1,horizontal:!0,strokeDasharray:"4",opacity:.5}),"string"==typeof w?n.default.createElement(p.XAxis,{dataKey:w,tickSize:4,tick:n.default.createElement(l.default,null),style:{fontSize:12},axisLine:{stroke:M.fn.rgba(M.colors.gray[4],.5)},tickLine:{stroke:M.fn.rgba(M.colors.gray[4],.5)}}):null,(m=function(e,t,r,o){return e.map((function(e,a){return n.default.createElement(p.Cell,{key:"cell-".concat(a),fill:r===a||o?q(t):q(t,1)})}))},x?n.default.createElement(n.default.Fragment,null,n.default.createElement(p.YAxis,{tick:n.default.createElement(s.default,{formatter:(r=x.value||x,ee[r])}),style:{fontSize:12},axisLine:{stroke:M.fn.rgba(M.colors.gray[4],.5)},tickLine:{stroke:M.fn.rgba(M.colors.gray[4],.5)},width:J}),"string"==typeof x?n.default.createElement(p.Bar,{dataKey:x,fill:q(0),isAnimationActive:!1},m(b,0,V,K)):"object"!==g(x)||Array.isArray(x)?Array.isArray(x)?x.map((function(e,t){return"object"!==g(e)||Array.isArray(e)?"
1string"==typeof e?n.default.createElement(p.Bar,{key:"".concat(e).concat(t),dataKey:e,fill:q(t),isAnimationActive:!1,radius:[4,4,0,0]},m(b,t,V,K)):null:n.default.createElement(p.Bar,{key:"".concat(e.value).concat(t),dataKey:e.value,name:e.label,fill:q(t),isAnimationActive:!1,radius:[4,4,0,0]},m(b,t,V,K))})):null:n.default.createElement(p.Bar,{dataKey:x.value,name:x.label,fill:q(0),isAnimationActive:!1,radius:[4,4,0,0]},m(b,0,V,K))):null),(t={allowEscapeViewBox:{x:!1,y:!0},animationDuration:150,wrapperStyle:{zIndex:1e3}},E?z?n.default.createElement(p.Tooltip,y({cursor:{fill:"transparent"},content:z},t,_)):n.default.createElement(p.Tooltip,y({cursor:{fill:"transparent"},content:n.default.createElement(a.default,{formatters:ee})},t,_)):null),S?D?n.default.createElement(p.Legend,y({content:D,wrapperStyle:{paddingLeft:60}},T)):n.default.createElement(p.Legend,y({content:n.default.createElement(i.default,null),wrapperStyle:{paddingLeft:60}},T)):null,R):null)};t.BarChart=x;var k=x;t.default=k},44846:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DonutChart=void 0;var n=d(r(67294)),o=r(96817),a=d(r(36891)),i=d(r(67191)),l=d(r(97901)),s=d(r(39380)),c=r(23551),u=["data","withLegend","withTooltip","tooltipComponent","legendComponent","children","thickness","size","paddingAngle","strokeWidth","withLabels","labelsType","labelsPosition","pieProps","tooltipProps","legendProps"];function d(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m=Math.PI/180,b=function(e){var t,r=e.data,d=e.withLegend,b=void 0!==d&&d,y=e.withTooltip,g=void 0===y||y,h=e.tooltipComponent,v=void 0===h?null:h,w=e.legendComponent,O=void 0===w?null:w,x=e.children,k=e.thickness,S=void 0===k?30:k,P=e.size,E=void 0===P?180:P,C=e.paddingAngle,j=void 0===C?0:C,N=e.strokeWidth,z=void 0===N?0:N,I=e.withLabels,D=void 0!==I&&I,R=e.labelsType,L=void 0===R?"value":R,_=e.labelsPosition,A=void 0===_?"outside":_,T=e.pieProps,$=void 0===T?{}:T,M=e.tooltipProps,F=void 0===M?{}:M,B=e.legendProps,W=void 0===B?{}:B,H=f(e,u),G=(0,o.useTeachfloorTheme)(),V=(0,l.default)(),Y=V.containerRef,Z=V.width,K=V.height,U=(0,s.default)(),q=r.map((function(e,t){return n.default.createElement(c.Cell,{key:t,fill:e.color||U(t),strokeWidth:z})}));return n.default.createElement(o.Box,{ref:Y,w:"100%",h:"100%"},Z&&K?n.default.createElement(c.PieChart,p({data:r,width:Z,height:K},H),n.default.createElement(c.Pie,p({data:r,dataKey:"value",fill:U(0),isAnimationActive:!1,innerRadius:E/2-S,outerRadius:E/2,paddingAngle:j,label:!!D&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"value",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"outside";return function(r){var o=r.x,a=r.y,i=r.cx,l=r.cy,s=r.percent,c=r.value,u=r.midAngle,d=r.innerRadius,p=r.outerRadius,f=function(){return"percent"===e?"".concat((100*s).toFixed(2),"%"):c};if("inside"===t){var b=d+.5*(p-d);return n.default.createElement("text",{x:i+b*Math.cos(-u*m),y:l+b*Math.sin(-u*m),fill:"white",textAnchor:"middle",dominantBaseline:"central",fontFamily:G.fontFamily,fontSize:12},f())}return n.default.createElement("text",{x:o,y:a,cx:i,cy:l,textAnchor:o>i?"start":"end",fill:G.colors.gray[6],fontFamily:G.fontFamily,fontSize:12},n.default.createElement("tspan",{x:o},f()))}}(L||"value",A||"outside")},$),q),(t={allowEscapeViewBox:{x:!1,y:!0},animationDuration:150,wrapperStyle:{zIndex:1e3}},g?v?n.default.createElement(c.Tooltip,p({cursor:{fill:"transparent"},content:v},t,F)):n.default.createElement(c.Tooltip,p({cursor:{fill:"transparent"},content:n.default.createElement(a.default,null)},t,F)):null),b?O?n.default.createElement(c.Legend,p({content:O,wrapperStyle:{},align:"right",verticalAlign:"middle",layout:"vetical"},W)):n.default.createElement(c.Legend,p({content:n.default.createElement(i.default,null),wrapperStyle:{},align:"right",verticalAlign:"middle",layout:"vetical"},W)):null,x):null)};t.DonutChart=b;var y=b;t.default=y},67191:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=(o=r(67294))&&o.__esModule?o:{default:o},i=r(96817),l=["payload","align","verticalAlign"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){var t=e.payload,r=e.align;e.verticalAlign,d(e,l);return t&&t.length?a.default.createElement(i.Group,{spacing:"lg",position:r,sx:c({},c(c({},function(){switch(r){case"left":case"right":return{flexDirection:"column",alignItems:"flex-start",gap:"0.5rem"};default:return{}}}()),{}))},t.map((function(e,t){var r=e.value,n=e.color;return a.default.createElement(i.Group,{spacing:"xs",noWrap:!0,key:"item-".concat(t)},a.default.createElement(i.ColorSwatch,{size:12,radius:"sm",color:n,withShadow:!1}),a.default.createElement(i.Text,{size:"sm",color:"dimmed"},r))}))):null};t.default=p},54663:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LineChart=void 0;var n=m(r(67294)),o=r(96817),a=m(r(36891)),i=m(r(67191)),l=m(r(25894)),s=m(r(38584)),c=m(r(97901)),u=m(r(39380)),d=m(r(54716)),p=r(23551),f=["data","x","y","withLegend","withTooltip","tooltipComponent","legendComponent","children","curveType","tooltipProps","legendProps"];function m(e){return e&&e.__esModule?e:{default:e}}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===y(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var v=function(e){var t,r,m=e.data,v=e.x,w=e.y,O=e.withLegend,x=void 0!==O&&O,k=e.withTooltip,S=void 0===k||k,P=e.tooltipComponent,E=void 0===P?null:P,C=e.legendComponent,j=void 0===C?null:C,N=e.children,z=e.curveType,I=void 0===z?"monotone":z,D=e.tooltipProps,R=void 0===D?{}:D,L=e.legendProps,_=void 0===L?{}:L,A=h(e,f),T=(0,o.useTeachfloorTheme)(),$=(0,c.default)(),M=$.containerRef,F=$.width,B=$.height,W=(0,u.default)(),H=(0,d.default)({yAxisWidthModifier:function(e){return e+5}}),G=H.yAxisWidth,V=H.chartRef,Y=Array.isArray(w)?w.reduce((function(e,t){return e[t.value]=t.formatter||function(e){return e},e}),{}):g({},w.value||w,w.formatter||function(e){return e});return n.default.createElement(o.Box,{ref:M,w:"100%",h:"100%"},F&&B?n.default.createElement(p.LineChart,b({ref:V,data:m,width:F,height:B},A),n.default.createElement(p.CartesianGrid,{vertical:!1,horizontal:!0,strokeDasharray:"4",opacity:.5}),"string"==typeof v?n.default.createElement(p.XAxis,{dataKey:v,tickSize:4,style:{fontSize:12}
1,tick:n.default.createElement(l.default,null),axisLine:{stroke:T.fn.rgba(T.colors.gray[4],.5)},tickLine:{stroke:T.fn.rgba(T.colors.gray[4],.5)}}):null,w?n.default.createElement(n.default.Fragment,null,n.default.createElement(p.YAxis,{tick:n.default.createElement(s.default,{formatter:(r=w.value||w,Y[r])}),style:{fontSize:12},axisLine:{stroke:T.fn.rgba(T.colors.gray[4],.5)},tickLine:{stroke:T.fn.rgba(T.colors.gray[4],.5)},width:G}),"string"==typeof w?n.default.createElement(p.Line,{type:I,dataKey:w,strokeWidth:2,stroke:W(0),isAnimationActive:!1,dot:!1}):"object"!==y(w)||Array.isArray(w)?Array.isArray(w)?w.map((function(e,t){return"object"!==y(e)||Array.isArray(e)?"string"==typeof e?n.default.createElement(p.Line,{key:"".concat(e).concat(t),type:"natural",dataKey:e,strokeWidth:2,stroke:W(t),isAnimationActive:!1,dot:!1}):null:n.default.createElement(p.Line,{key:"".concat(e.value).concat(t),type:e.type||I,dataKey:e.value,name:e.label,strokeWidth:2,stroke:W(t),isAnimationActive:!1,dot:!1})})):null:n.default.createElement(p.Line,{type:w.type||I,dataKey:w.value,name:w.label,strokeWidth:2,stroke:W(0),isAnimationActive:!1,dot:!1})):null,(t={allowEscapeViewBox:{x:!1,y:!0},animationDuration:150,wrapperStyle:{zIndex:1e3}},S?E?n.default.createElement(p.Tooltip,b({cursor:{fill:"transparent"},content:E},t,R)):n.default.createElement(p.Tooltip,b({cursor:{fill:"transparent"},content:n.default.createElement(a.default,{formatters:Y})},t,R)):null),x?j?n.default.createElement(p.Legend,b({content:j,wrapperStyle:{paddingLeft:60}},_)):n.default.createElement(p.Legend,b({content:n.default.createElement(i.default,null),wrapperStyle:{paddingLeft:60}},_)):null,N):null)};t.LineChart=v;var w=v;t.default=w},36891:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(67294))&&n.__esModule?n:{default:n},a=r(96817),i=["active","payload","label","formatters"];function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.active,r=e.payload,n=e.label,s=e.formatters;l(e,i);return t&&r&&r.length?o.default.createElement(a.Box,{p:"md",py:6,radius:"sm",sx:function(e){return{backgroundColor:"#FFF",borderRadius:e.radius.sm,boxShadow:e.shadows.sm,border:"1px solid ".concat(e.colors.gray[2])}},miw:120},o.default.createElement(a.SimpleGrid,{verticalSpacing:4},n?o.default.createElement(a.Text,{size:"sm",weight:500},n):null,o.default.createElement(a.SimpleGrid,{verticalSpacing:0},r.map((function(e){var t=e.name,r=e.dataKey,n=e.value,i=e.color,l=e.payload;return o.default.createElement(a.Group,{key:"".concat(r).concat(i).concat(n),position:"apart",spacing:"lg",noWrap:!0},o.default.createElement(a.Group,{spacing:"xs",noWrap:!0},o.default.createElement(a.ColorSwatch,{size:8,color:i||l.fill,withShadow:!1}),o.default.createElement(a.Text,{size:"sm",color:"dimmed"},t||r)),o.default.createElement(a.Text,{size:"sm"},s&&s[r]?s[r](n):n))}))))):null};t.default=s},25894:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(67294))&&n.__esModule?n:{default:n};var a=function(e){var t=e.fill,r=e.x,n=e.y,a=e.payload,i=e.style;return o.default.createElement("g",null,o.default.createElement("text",{x:r,y:n,fill:t,textAnchor:"middle",style:i},o.default.createElement("tspan",{x:r,dy:"0.9em"},a.value)))};t.default=a},38584:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(67294))&&n.__esModule?n:{default:n};var a=function(e){var t=e.fill,r=e.x,n=e.y,a=e.payload,i=e.formatter,l=e.style;return o.default.createElement("g",null,o.default.createElement("text",{x:r,y:n,fill:t,textAnchor:"end",style:l,className:"recharts-cartesian-y-axis-tick-value"},o.default.createElement("tspan",{x:r,dy:"0.355em"},i?i(a.value):a.value)))};t.default=a}
1,88302:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AreaChart",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"BarChart",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"DonutChart",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"LineChart",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Recharts",{enumerable:!0,get:function(){return n.default}});var n=s(r(23551)),o=s(r(54663)),a=s(r(39147)),i=s(r(35722)),l=s(r(44846));function s(e){return e&&e.__esModule?e:{default:e}}},39380:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(67294),o=r(96817),a=function(){var e=(0,o.useTeachfloorTheme)(),t=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=["blue","teal","violet","orange","indigo","green","pink"];if(e.colors.brand&&(o[0]="brand"),o[t])return e.colors[o[t]][n];var a=(215+137.508*t)%360;return{0:.1,1:.2,2:.3,3:.4,4:.6,5:.8,6:1}[n]?e.fn.rgba(r(a,60,54),n):r(a,60,54)},r=function(e,t,r){t/=100,r/=100;var n=(1-Math.abs(2*r-1))*t,o=n*(1-Math.abs(e/60%2-1)),a=r-n/2,i=0,l=0,s=0;return e>=0&&e<60?(i=n,l=o,s=0):e>=60&&e<120?(i=o,l=n,s=0):e>=120&&e<180?(i=0,l=n,s=o):e>=180&&e<240?(i=0,l=o,s=n):e>=240&&e<300?(i=o,l=0,s=n):e>=300&&e<360&&(i=n,l=0,s=o),i=Math.round(255*(i+a)).toString(16).padStart(2,"0"),l=Math.round(255*(l+a)).toString(16).padStart(2,"0"),s=Math.round(255*(s+a)).toString(16).padStart(2,"0"),"#".concat(i).concat(l).concat(s)};return(0,n.useMemo)((function(){return t}),[])};t.default=a},97901:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(67294);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(){var e=(0,o.useRef)(null),t=l((0,o.useState)({width:0,height:0}),2),r=t[0],n=t[1];return(0,o.useEffect)((function(){var t=function(){e.current&&n({width:e.current.offsetWidth,height:e.current.offsetHeight})};return t(),window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[]),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
vendor: 1,808 bytes, line 1
1t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({containerRef:e},r)};t.default=c},54716:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(67294);function o(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}
1var s=function(e){var t=e.yAxisWidthModifier,r=a((0,n.useState)(void 0),2),i=r[0],l=r[1],s=(0,n.useCallback)((function(e){if(null!=e&&null!=e.container){var t=o(e.container.querySelectorAll(".recharts-cartesian-y-axis-tick-value")).map((function(e){var t=e.getBoundingClientRect();return null!=t&&null!=t.width?t.width:0})).reduce((function(e,t){return e<t?t:e}),0);l(t)}}),[l]);return{yAxisWidth:(0,n.useMemo)((function(){return null!=t&&null!=i?t(i):i}),[t,i]),chartRef:s}};t.default=s},73448:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o,a,i,l,s=f(r(67294)),c=f(r(45697)),u=r(80075),d=r(34688),p=["loading","dots","progress","size"];function f(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}function b(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var g=(0,u.keyframes)(n||(n=y(["\n\t0%, 100% { opacity: 1; }\n\t50% { opacity: .4; }\n"]))),h={sm:4,md:6,lg:8,xl:10},v=u.styled.div(o||(o=y(["\n display: inline-block;\n line-height: 1;\n font-size: ","px;\n"])),(function(e){return h[e.size]||e.size})),w=u.styled.div(a||(a=y(["\n background: ",";\n display: inline-block;\n vertical-align: top;\n width: ","px;\n height: ","px;\n border-radius: 3em;\n margin: 0 ","px;\n\n ",";\n\n ",";\n"])),d.styles.color.medium,(function(e){return h[e.size]||e.size}),(function(e){return h[e.size]||e.size}),(function(e){return.5*(h[e.size]||e.size)}),(function(e){return e.active&&(0,u.css)(i||(i=y(["\n background: ",";\n "])),d.styles.color.mediumdark)}),(function(e){return e.loading&&(0,u.css)(l||(l=y(["\n animation: "," 1.5s ease-in-out infinite;\n\n &:nth-child(1) {\n animation-delay: 0s;\n }\n\n &:nth-child(2) {\n animation-delay: 0.3s;\n }\n\n &:nth-child(3) {\n animation-delay: 0.6s;\n }\n\n &:nth-child(4) {\n animation-delay: 0.9s;\n }\n "])),g)})),O=function(e){for(var t=e.loading,r=e.dots,n=e.progress,o=e.size,a=b(e,p),i=[],l=0;l<(a.steps?a.steps:r);l+=1)i.push(s.default.createElement(w,{loading:a.isLoading?a.isLoading:t,active:l===n-1,key:l,size:o}));return s.default.createElement(v,m({size:o},a),i)};O.propTypes={loading:c.default.bool,dots:c.default.number,progress:c.default.number,size:c.default.oneOf(["sm","md","lg","xl"])},O.defaultProps={loading:!1,dots:4,progress:0,size:"sm"};var x=O;t.default=x},46363:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProgressDots",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(73448))&&n.__esModule?n:{default:n}},12151:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(65329);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},15714:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(45555);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},9884:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(46223);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},73298:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(82636);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))}
1,75068:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(93587);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},96817:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(75068);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(12151);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=r(73298);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var i=r(15714);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var l=r(99045);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var s=r(9884);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=r(5888);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=r(22582);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var d=r(35090);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var p=r(8643);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=r(52200);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var m=r(8532);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))}));var b=r(45707);Object.keys(b).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))}));var y=r(46363);Object.keys(y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))}));var g=r(88302);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))}));var h=r(80075);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var v=r(65899);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}));var w=r(34688);
1Object.keys(w).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))}))},5888:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(93120);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},35090:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(23926);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},22582:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(68300);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},8643:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(72479);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},52200:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2070);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},80075:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"css",{enumerable:!0,get:function(){return a.css}}),Object.defineProperty(t,"keyframes",{enumerable:!0,get:function(){return a.keyframes}}),Object.defineProperty(t,"styled",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(9391))&&n.__esModule?n:{default:n},a=r(70917)},34688:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.styles=void 0;var r={primary:"#0062FF",secondary:"#FFC542",tertiary:"#92929D",lightest:"#FFFFFF",lighter:"#FAFAFB",light:"#F3F3F3",mediumlight:"#EEEEEE",medium:"#DDDDDD",mediumdark:"#999999",dark:"#666666",darker:"#444444",darkest:"#333333",success:"#3dc763",danger:"#FC5A5A",warning:"#E69D00"},n={color:r,colors:r,typography:{type:{primary:'"Roboto", sans-serif',code:'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace'},weight:{regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},size:{s1:12,s2:14,s3:16,m1:18,m2:20,m3:22,l1:24,l2:28,l3:32}},spacing:{padding:{none:0,xsmall:5,small:10,medium:20,large:30},margin:{none:0,xsmall:5,small:10,medium:20,large:30},borderRadius:{xsmall:2,small:4,default:6,large:8}},responsive:{columns:12,breakpoints:{xs:0,sm:576,md:768,lg:992,xl:1200}}};t.styles=n},65899:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.useTeachfloorTheme=t.theme=t.TeachfloorProvider=void 0;var n=u(r(67294)),o=u(r(45697)),a=r(12151),i=r(15714),l=r(5888),s=r(52200),c=r(35090);function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}var p=(0,a.createEmotionCache)({key:"teachfloor"}),f={colorScheme:"light",focusRing:"auto",focusRingStyles:{},respectReducedMotion:!0,cursorType:"pointer",defaultRadius:6,white:"#FFF",black:"#333",colors:{brand:["#C5DBFF","#9CC2FF","#76ABFF","#5496FF","#3683FF","#1A72FF","#0062FF","#0058E6","#004FCF","#0047BA"]},primaryColor:"brand",primaryShade:{light:6,dark:6},activeStyles:{transform:"scale(0.98)"}};t.theme=f;var m=a.useMantineTheme;t.useTeachfloorTheme=m;var b=function(e){var t=e.children,r=e.theme,o=e.mantineProps,u=void 0===o?{}:o,m=e.datesProps,b=void 0===m?{}:m,y=e.notificationsProps,g=void 0===y?{}:y,h=e.modalsProps,v=void 0===h?{}:h,w=e.spotlightProps,O=void 0===w?{}:w;return n.default.createElement(a.MantineProvider,d({theme:r||f,emotionCache:p,withGlobalStyles:!0,withNormalizeCSS:!0},u),n.default.createElement(i.DatesProvider,b,n.default.createElement(c.Notifications,g),n.default.createElement(l.ModalsProvider,v,n.default.createElement(s.SpotlightProvider,d({actions:[]},O),t))))};t.TeachfloorProvider=b,b.propTypes={children:o.default.node,mantineProps:o.default.object,notificationsProps:o.default.object,modalsProps:o.default.object,spotlightProps:o.default.object,datesProps:o.default.object},b.defaultProps={mantineProps:{theme:f}}}
1,8532:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(729);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},97271:function(e,t){t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth: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.