(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[618],{831:(e,t,n)=>{var r=n(68988),i=n(22180);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},2872:function(e,t,n){var r;!function(e,i,o){function a(e){var t=this;t.next=function(){var e,n,r=t.w,i=t.X,o=t.i;return t.w=r=r+0x61c88647|0,n=i[o+34&127],e=i[o=o+1&127],n^=n<<13,e^=e<<17,n^=n>>>15,e^=e>>>12,n=i[o]=n^e,t.i=o,n+(r^r>>>16)|0},!function(e,t){var n,r,i,o,a,l=[],s=128;for(t===(0|t)?(r=t,t=null):(t+="\0",r=0,s=Math.max(s,t.length)),i=0,o=-32;o>>15,r^=r<<4,r^=r>>>13,o>=0&&(a=a+0x61c88647|0,i=0==(n=l[127&o]^=r+a)?i+1:0);for(i>=128&&(l[127&(t&&t.length||0)]=-1),i=127,o=512;o>0;--o)r=l[i+34&127],n=l[i=i+1&127],r^=r<<13,n^=n<<17,r^=r>>>15,n^=n>>>12,l[i]=r^n;e.w=a,e.X=l,e.i=i}(t,e)}function l(e,t){return t.i=e.i,t.w=e.w,t.X=e.X.slice(),t}function s(e,t){null==e&&(e=+new Date);var n=new a(e),r=t&&t.state,i=function(){return(n.next()>>>0)/0x100000000};return i.double=function(){do var e=((n.next()>>>11)+(n.next()>>>0)/0x100000000)/2097152;while(0===e);return e},i.int32=n.next,i.quick=i,r&&(r.X&&l(r,n),i.state=function(){return l(n,{})}),i}i&&i.exports?i.exports=s:n.amdD&&n.amdO?void 0===(r=(function(){return s}).call(t,n,t,i))||(i.exports=r):this.xor4096=s}(0,e=n.nmd(e),n.amdD)},2921:e=>{"use strict";e.exports=function(e,t){return"string"==typeof e?a(e):"number"==typeof e?o(e,t):null},e.exports.format=o,e.exports.parse=a;var t=/\B(?=(\d{3})+(?!\d))/g,n=/(?:\.0*|(\.[^0]+)0+)$/,r={b:1,kb:1024,mb:1048576,gb:0x40000000,tb:0x10000000000,pb:0x4000000000000},i=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function o(e,i){if(!Number.isFinite(e))return null;var o=Math.abs(e),a=i&&i.thousandsSeparator||"",l=i&&i.unitSeparator||"",s=i&&void 0!==i.decimalPlaces?i.decimalPlaces:2,c=!!(i&&i.fixedDecimals),u=i&&i.unit||"";u&&r[u.toLowerCase()]||(u=o>=r.pb?"PB":o>=r.tb?"TB":o>=r.gb?"GB":o>=r.mb?"MB":o>=r.kb?"KB":"B");var f=(e/r[u.toLowerCase()]).toFixed(s);return c||(f=f.replace(n,"$1")),a&&(f=f.split(".").map(function(e,n){return 0===n?e.replace(t,a):e}).join(".")),f+l+u}function a(e){if("number"==typeof e&&!isNaN(e))return e;if("string"!=typeof e)return null;var t,n=i.exec(e),o="b";return(n?(t=parseFloat(n[1]),o=n[4].toLowerCase()):(t=parseInt(e,10),o="b"),isNaN(t))?null:Math.floor(r[o]*t)}},3056:(e,t,n)=>{"use strict";n.d(t,{a:()=>ep});var r=n(55729),i=n(57864);let o=/input|select|textarea|button|object/,a="a, input, select, textarea, button, object, [tabindex]";function l(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function s(e){let t=e.nodeName.toLowerCase(),n=!Number.isNaN(l(e));return(o.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&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("none"===t.style.display)return!1;t=t.parentNode}return!0}(e)}function c(e){let t=l(e);return(Number.isNaN(t)||t>=0)&&s(e)}var u=n(94466);let f=e=>{let{disableBodyPadding:t}=e,n=t?null:"undefined"==typeof document?0:parseInt(window.getComputedStyle(document.body).paddingRight,10)+(window.innerWidth-document.documentElement.clientWidth);return"body {\n --removed-scroll-width: ".concat(n,"px;\n touch-action: none;\n overflow: hidden !important;\n position: relative !important;\n ").concat(n?"padding-right: var(--removed-scroll-width) !important;":"","\n ")};var p=n(13768),d=n(54352),h=n(61946),m=n(38169),g=Object.defineProperty,y=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&x(e,n,t[n]);if(y)for(var n of y(t))b.call(t,n)&&x(e,n,t[n]);return e};let k={xs:320,sm:380,md:440,lg:620,xl:780};var O=(0,m.r)((e,{overflow:t,size:n,centered:r,zIndex:i,fullScreen:o})=>({close:{},overlay:{display:o?"none":void 0},root:{position:"fixed",zIndex:i,top:0,left:0,right:0,bottom:0},inner:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowY:"auto",padding:o?0:`${2*e.spacing.xl}px ${e.spacing.md}px`,display:"flex",justifyContent:"center",alignItems:r?"center":"flex-start"},title:{marginRight:e.spacing.md,textOverflow:"ellipsis",display:"block",wordBreak:"break-word"},modal:w({position:"relative",width:o?"100vw":e.fn.size({sizes:k,size:n}),borderRadius:o?0:void 0,outline:0,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,marginTop:r?"auto":void 0,marginBottom:r?"auto":void 0,zIndex:1},o?{position:"absolute",top:0,left:0,right:0,bottom:0,maxHeight:"100vh",overflowY:"auto"}:{}),header:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:e.spacing.md,marginRight:-9},body:{maxHeight:"inside"===t?"calc(100vh - 185px)":null,overflowY:"inside"===t?"auto":null,wordBreak:"break-word"}})),E=n(77523),S=n(5158),C=n(15719);function P({transitions:e,duration:t=250,exitDuration:n=t,mounted:i,children:o,timingFunction:a,onExit:l,onEntered:s,onEnter:c,onExited:u}){let{transitionDuration:f,transitionStatus:p,transitionTimingFunction:d}=(0,C.p)({mounted:i,duration:t,exitDuration:n,timingFunction:a,onExit:l,onEntered:s,onEnter:c,onExited:u});if(0===f)return i?r.createElement(r.Fragment,null,o({})):null;if("exited"===p)return null;let h=Object.keys(e).reduce((t,n)=>(t[n]=(0,S.y)({duration:e[n].duration,transition:e[n].transition,timingFunction:e[n].timingFunction||d,state:p}),t),{});return r.createElement(r.Fragment,null,o(h))}P.displayName="@mantine/core/GroupedTransition";var A=n(50433),j=n(98863),T=n(51663),I=(0,m.r)((e,{zIndex:t})=>({root:{position:"absolute",top:0,bottom:0,left:0,right:0,zIndex:t}})),z=Object.defineProperty,R=Object.defineProperties,N=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t)=>{for(var n in t||(t={}))L.call(t,n)&&F(e,n,t[n]);if(D)for(var n of D(t))M.call(t,n)&&F(e,n,t[n]);return e},B=(e,t)=>R(e,N(t)),H=(e,t)=>{var n={};for(var r in e)L.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&D)for(var r of D(e))0>t.indexOf(r)&&M.call(e,r)&&(n[r]=e[r]);return n};let $={opacity:.6,color:"#fff",zIndex:(0,d.I)("modal"),radius:0,blur:0},U=(0,r.forwardRef)((e,t)=>{let n=(0,h.a1)("Overlay",$,e),{opacity:i,blur:o,color:a,gradient:l,zIndex:s,radius:c,sx:u,unstyled:f,className:p}=n,d=H(n,["opacity","blur","color","gradient","zIndex","radius","sx","unstyled","className"]),{classes:m,cx:g}=I({zIndex:s},{name:"Overlay",unstyled:f}),y=l?{backgroundImage:l}:{backgroundColor:a},v=e=>r.createElement(A.a,_({ref:t,className:g(m.root,p),sx:[e=>B(_({},y),{opacity:i,borderRadius:e.fn.size({size:c,sizes:e.radius})}),...(0,j.n)(u)]},e));return o?r.createElement(A.a,_({className:g(m.root,p),sx:[{backdropFilter:`blur(${o}px)`},...(0,j.n)(u)]},d),v()):v(d)});U.displayName="@mantine/core/Overlay";let W=(0,T.K)(U);var V=(0,m.r)((e,{radius:t,shadow:n,withBorder: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[n]||n||"none",border:r?`1px solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`:void 0}})),q=Object.defineProperty,Y=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,X=(e,t,n)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z=(e,t)=>{for(var n in t||(t={}))K.call(t,n)&&X(e,n,t[n]);if(Y)for(var n of Y(t))G.call(t,n)&&X(e,n,t[n]);return e},Q=(e,t)=>{var n={};for(var r in e)K.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&Y)for(var r of Y(e))0>t.indexOf(r)&&G.call(e,r)&&(n[r]=e[r]);return n};let J={},ee=(0,r.forwardRef)((e,t)=>{let n=(0,h.a1)("Paper",J,e),{className:i,children:o,radius:a,withBorder:l,shadow:s,unstyled:c}=n,u=Q(n,["className","children","radius","withBorder","shadow","unstyled"]),{classes:f,cx:p}=V({radius:a,shadow:s,withBorder:l},{name:"Paper",unstyled:c});return r.createElement(A.a,Z({className:p(f.root,i),ref:t},u),o)});ee.displayName="@mantine/core/Paper";let et=(0,T.K)(ee);var en=n(37948),er=n(45003),ei=Object.defineProperty,eo=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,es=(e,t,n)=>t in e?ei(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ec=(e,t)=>{for(var n in t||(t={}))ea.call(t,n)&&es(e,n,t[n]);if(eo)for(var n of eo(t))el.call(t,n)&&es(e,n,t[n]);return e},eu=(e,t)=>{var n={};for(var r in e)ea.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&eo)for(var r of eo(e))0>t.indexOf(r)&&el.call(e,r)&&(n[r]=e[r]);return n};let ef={size:"md",transitionDuration:250,overflow:"outside",padding:"lg",shadow:"lg",closeOnClickOutside:!0,closeOnEscape:!0,trapFocus:!0,withCloseButton:!0,withinPortal:!0,lockScroll:!0,withFocusReturn:!0,overlayBlur:0,zIndex:(0,d.I)("modal"),exitTransitionDuration:0};function ep(e){var t,n,o;let l=(0,h.a1)("Modal",ef,e),{className:d,opened:m,title:g,onClose:y,children:v,withCloseButton:b,overlayOpacity:x,size:w,transitionDuration:k,exitTransitionDuration:S,closeButtonLabel:C,overlayColor:j,overflow:T,transition:I,padding:z,shadow:R,radius:N,id:D,classNames:L,styles:M,closeOnClickOutside:F,trapFocus:_,closeOnEscape:B,centered:H,target:$,withinPortal:U,zIndex:V,overlayBlur:q,transitionTimingFunction:Y,fullScreen:K,unstyled:G,lockScroll:X,withFocusReturn:Z}=l,Q=eu(l,["className","opened","title","onClose","children","withCloseButton","overlayOpacity","size","transitionDuration","exitTransitionDuration","closeButtonLabel","overlayColor","overflow","transition","padding","shadow","radius","id","classNames","styles","closeOnClickOutside","trapFocus","closeOnEscape","centered","target","withinPortal","zIndex","overlayBlur","transitionTimingFunction","fullScreen","unstyled","lockScroll","withFocusReturn"]),J=(0,i.B)(D),ee=`${J}-title`,ei=`${J}-body`,{classes:eo,cx:ea,theme:el}=O({size:w,overflow:T,centered:H,zIndex:V,fullScreen:K},{unstyled:G,classNames:L,styles:M,name:"Modal"}),es=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)(),n=(0,r.useRef)(null),i=(0,r.useCallback)(r=>{if(e&&null!==r&&(n.current=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body > :not(script)",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;let r=t.getAttribute("aria-hidden");return(null===r||"false"===r)&&t.setAttribute("aria-hidden","true"),{node:t,ariaHidden:r}});return()=>{n.forEach(e=>{e&&(null===e.ariaHidden?e.node.removeAttribute("aria-hidden"):e.node.setAttribute("aria-hidden",e.ariaHidden))})}}(r),t.current!==r))if(r){let e=()=>{let e=r.querySelector("[data-autofocus]");if(!e){let t=Array.from(r.querySelectorAll(a));!(e=t.find(c)||t.find(s)||null)&&s(r)&&(e=r)}e&&e.focus({preventScroll:!0})};setTimeout(()=>{r.getRootNode()&&e()}),t.current=r}else t.current=null},[e]);return(0,r.useEffect)(()=>{if(!e)return;let r=e=>{"Tab"===e.key&&t.current&&function(e,t){let n=Array.from(e.querySelectorAll(a)).filter(c);if(!n.length)return t.preventDefault();let r=n[t.shiftKey?0:n.length-1],i=e.getRootNode();if(r!==i.activeElement&&e!==i.activeElement)return;t.preventDefault();let o=n[t.shiftKey?n.length-1:0];o&&o.focus()}(t.current,e)};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),n.current&&n.current()}},[e]),i}(_&&m),ep=(0,r.useRef)(null),ed=(0,u.p)(es,ep),eh="number"==typeof x?x:"dark"===el.colorScheme?.85:.75;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{disableBodyPadding:!1},[n,i]=(0,r.useState)(e||!1),o=(0,r.useRef)(0),{disableBodyPadding:a}=t,l=(0,r.useRef)(null),s=()=>{o.current=window.scrollY;let e=f({disableBodyPadding:a}),t=function(){let e=document.createElement("style");return e.type="text/css",e.setAttribute("mantine-scroll-lock",""),e}();t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.head||document.getElementsByTagName("head")[0]).appendChild(t),l.current=t},c=()=>{(null==l?void 0:l.current)&&(l.current.parentNode.removeChild(l.current),l.current=null)};(0,r.useEffect)(()=>(n?s():c(),c),[n]),(0,r.useEffect)(()=>{void 0!==e&&i(e)},[e]),(0,r.useEffect)(()=>{void 0===e&&"hidden"===window.document.body.style.overflow&&i(!0)},[i])}(X&&m);let em=e=>{!_&&"Escape"===e.key&&B&&y()};(0,r.useEffect)(()=>{if(!_)return window.addEventListener("keydown",em),()=>window.removeEventListener("keydown",em)},[_]),function(e){let{opened:t,shouldReturnFocus:n=!0}=e,i=(0,r.useRef)(),o=()=>{var e;i.current&&"focus"in i.current&&"function"==typeof i.current.focus&&(null==(e=i.current)||e.focus({preventScroll:!0}))};(0,p.C)(()=>{let e=-1,r=t=>{"Tab"===t.key&&window.clearTimeout(e)};return document.addEventListener("keydown",r),t?i.current=document.activeElement:n&&(e=window.setTimeout(o,10)),()=>{window.clearTimeout(e),document.removeEventListener("keydown",r)}},[t,n])}({opened:m,shouldReturnFocus:_&&Z});let eg=(0,r.useRef)(null);t="mousedown",n=e=>{eg.current=e.target},(0,r.useEffect)(()=>(window.addEventListener(t,n,void 0),()=>window.removeEventListener(t,n,o)),[t,n]);let ey=()=>{eg.current===ep.current&&F&&y()};return r.createElement(E.r,{withinPortal:U,target:$},r.createElement(P,{mounted:m,duration:k,exitDuration:S,timingFunction:Y,transitions:{modal:{duration:k,transition:I||(K?"fade":"pop")},overlay:{duration:k/2,transition:"fade",timingFunction:"ease"}}},e=>r.createElement(r.Fragment,null,r.createElement(A.a,ec({id:J,className:ea(eo.root,d)},Q),r.createElement("div",{style:e.overlay},r.createElement(W,{className:eo.overlay,sx:{position:"fixed"},zIndex:0,blur:q,color:j||("dark"===el.colorScheme?el.colors.dark[9]:el.black),opacity:eh,unstyled:G})),r.createElement("div",{role:"presentation",className:eo.inner,onClick:ey,onKeyDown:e=>{var t;(null==(t=e.target)?void 0:t.getAttribute("data-mantine-stop-propagation"))!=="true"&&"Escape"===e.key&&B&&y()},ref:ed},r.createElement(et,{className:eo.modal,shadow:R,p:z,radius:N,role:"dialog","aria-labelledby":ee,"aria-describedby":ei,"aria-modal":!0,tabIndex:-1,style:e.modal,unstyled:G,onClick:e=>e.stopPropagation()},(g||b)&&r.createElement("div",{className:eo.header},r.createElement(en.E,{id:ee,className:eo.title},g),b&&r.createElement(er.J,{iconSize:16,onClick:y,"aria-label":C,className:eo.close})),r.createElement("div",{id:ei,className:eo.body},v)))))))}ep.displayName="@mantine/core/Modal"},4140:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5158:(e,t,n)=>{"use strict";n.d(t,{y:()=>w});var r=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))s.call(t,n)&&c(e,n,t[n]);return e},f=(e,t)=>i(e,o(t));let p={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(.9) translateY(10px)"},transitionProperty:"transform, opacity"},d={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(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) 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:f(u({},p),{common:{transformOrigin:"center center"}}),"pop-bottom-left":f(u({},p),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":f(u({},p),{common:{transformOrigin:"bottom right"}}),"pop-top-left":f(u({},p),{common:{transformOrigin:"top left"}}),"pop-top-right":f(u({},p),{common:{transformOrigin:"top right"}})};var h=Object.defineProperty,m=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,v=(e,t,n)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b=(e,t)=>{for(var n in t||(t={}))g.call(t,n)&&v(e,n,t[n]);if(m)for(var n of m(t))y.call(t,n)&&v(e,n,t[n]);return e};let x={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function w({transition:e,state:t,duration:n,timingFunction:r}){let i={transitionDuration:`${n}ms`,transitionTimingFunction:r};return"string"==typeof e?e in d?b(b(b({transitionProperty:d[e].transitionProperty},i),d[e].common),d[e][x[t]]):null:b(b(b({transitionProperty:e.transitionProperty},i),e.common),e[x[t]])}},7296:e=>{"use strict";let t=e=>"object"==typeof e&&null!==e,n=Symbol("skip"),r=e=>t(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),i=(e,t,o,a=new WeakMap)=>{if(o={deep:!1,target:{},...o},a.has(e))return a.get(e);a.set(e,o.target);let{target:l}=o;delete o.target;let s=e=>e.map(e=>r(e)?i(e,t,o,a):e);if(Array.isArray(e))return s(e);for(let[c,u]of Object.entries(e)){let f=t(c,u,e);if(f===n)continue;let[p,d,{shouldRecurse:h=!0}={}]=f;"__proto__"!==p&&(o.deep&&h&&r(d)&&(d=Array.isArray(d)?s(d):i(d,t,o,a)),l[p]=d)}return l};e.exports=(e,n,r)=>{if(!t(e))throw TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return i(e,n,r)},e.exports.mapObjectSkip=n},9329:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{_:()=>r})},11581:(e,t,n)=>{"use strict";n.d(t,{m:()=>I});var r=n(55729),i=n(55272),o=n.n(i);function a(e){return null===e||"object"!=typeof e?{}:Object.keys(e).reduce((t,n)=>{let r=e[n];return null!=r&&!1!==r&&(t[n]=r),t},{})}var l=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&f(e,n,t[n]);if(s)for(var n of s(t))u.call(t,n)&&f(e,n,t[n]);return e};function d(e,t){if(null===t||"object"!=typeof t)return{};let n=p({},t);return Object.keys(t).forEach(t=>{t.includes(`${String(e)}.`)&&delete n[t]}),n}function h(e,t){return!!t&&("boolean"==typeof t?t:!!Array.isArray(t)&&t.includes(e.replace(/[.][0-9]/g,".__MANTINE_FORM_INDEX__")))}function m(e){return"string"!=typeof e?[]:e.split(".")}function g(e,t,n){let r=m(e);if(0===r.length)return n;let i=function e(t){if("object"!=typeof t)return t;var n,r,i=Object.prototype.toString.call(t);if("[object Object]"===i){if(t.constructor!==Object&&"function"==typeof t.constructor)for(n in r=new t.constructor,t)t.hasOwnProperty(n)&&r[n]!==t[n]&&(r[n]=e(t[n]));else for(n in r={},t)"__proto__"===n?Object.defineProperty(r,n,{value:e(t[n]),configurable:!0,enumerable:!0,writable:!0}):r[n]=e(t[n]);return r}if("[object Array]"===i){for(r=Array(n=t.length);n--;)r[n]=e(t[n]);return r}return"[object Set]"===i?(r=new Set,t.forEach(function(t){r.add(e(t))}),r):"[object Map]"===i?(r=new Map,t.forEach(function(t,n){r.set(e(n),e(t))}),r):"[object Date]"===i?new Date(+t):"[object RegExp]"===i?((r=new RegExp(t.source,t.flags)).lastIndex=t.lastIndex,r):"[object DataView]"===i?new t.constructor(e(t.buffer)):"[object ArrayBuffer]"===i?t.slice(0):"Array]"===i.slice(-6)?new t.constructor(t):t}(n);if(1===r.length)return i[r[0]]=t,i;let o=i[r[0]];for(let e=1;e0,errors:t}}function b(e,t){return"function"==typeof e?v(e(t)):v(function e(t,n,r="",i={}){return"object"!=typeof t||null===t?i:Object.keys(t).reduce((i,o)=>{let a=t[o],l=`${""===r?"":`${r}.`}${o}`,s=y(l,n),c=!1;return"function"==typeof a&&(i[l]=a(s,n,l)),"object"==typeof a&&Array.isArray(s)&&(c=!0,s.forEach((t,r)=>e(a,n,`${l}.${r}`,i))),"object"!=typeof a||"object"!=typeof s||null===s||c||e(a,n,l,i),i},i)}(e,t))}function x(e,t,n){if("string"!=typeof e)return{hasError:!1,error:null};let r=b(t,n),i=Object.keys(r.errors).find(t=>e.split(".").every((e,n)=>e===t.split(".")[n]));return{hasError:!!i,error:i?r.errors[i]:null}}function w(e,t){let n=Object.keys(e);if("string"==typeof t){let r=n.filter(e=>e.startsWith(`${t}.`));return e[t]||r.some(t=>e[t])||!1}return n.some(t=>e[t])}var k=Object.defineProperty,O=Object.defineProperties,E=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,A=(e,t,n)=>t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,j=(e,t)=>{for(var n in t||(t={}))C.call(t,n)&&A(e,n,t[n]);if(S)for(var n of S(t))P.call(t,n)&&A(e,n,t[n]);return e},T=(e,t)=>O(e,E(t));function I({initialValues:e={},initialErrors:t={},initialDirty:n={},initialTouched:i={},clearInputErrorOnChange:l=!0,validateInputOnChange:s=!1,validateInputOnBlur:c=!1,transformValues:u=e=>e,validate:f}={}){let[p,m]=(0,r.useState)(i),[v,k]=(0,r.useState)(n),[O,E]=(0,r.useState)(e),[S,C]=(0,r.useState)(a(t)),P=(0,r.useRef)(e),A=e=>{P.current=e},z=(0,r.useCallback)(()=>m({}),[]),R=e=>{A(e||O),k({})},N=(0,r.useCallback)(e=>C(t=>a("function"==typeof e?e(t):e)),[]),D=(0,r.useCallback)(()=>C({}),[]),L=(0,r.useCallback)(()=>{E(e),D(),R(e),z()},[]),M=(0,r.useCallback)((e,t)=>N(n=>T(j({},n),{[e]:t})),[]),F=(0,r.useCallback)(e=>N(t=>{if("string"!=typeof e)return t;let n=j({},t);return delete n[e],n}),[]),_=(0,r.useCallback)(e=>k(t=>{if("string"!=typeof e)return t;let n=d(e,t);return delete n[e],n}),[]),B=(0,r.useCallback)((e,t)=>{let n=h(e,s);_(e),m(t=>T(j({},t),{[e]:!0})),E(r=>{let i=g(e,t,r);if(n){let t=x(e,f,i);t.hasError?M(e,t.error):F(e)}return i}),!n&&l&&M(e,null)},[]),H=(0,r.useCallback)(e=>{E(t=>{let n="function"==typeof e?e(t):e;return j(j({},t),n)}),l&&D()},[]),$=(0,r.useCallback)((e,t)=>{_(e),E(n=>(function(e,{from:t,to:n},r){let i=y(e,r);if(!Array.isArray(i))return r;let o=[...i],a=i[t];return o.splice(t,1),o.splice(n,0,a),g(e,o,r)})(e,t,n))},[]),U=(0,r.useCallback)((e,t)=>{_(e),E(n=>(function(e,t,n){let r=y(e,n);return Array.isArray(r)?g(e,r.filter((e,n)=>n!==t),n):n})(e,t,n)),C(t=>d(e,t))},[]),W=(0,r.useCallback)((e,t,n)=>{_(e),E(r=>(function(e,t,n,r){let i=y(e,r);if(!Array.isArray(i))return r;let o=[...i];return o.splice("number"==typeof n?n:o.length,0,t),g(e,o,r)})(e,t,n,r))},[]),V=(0,r.useCallback)(()=>{let e=b(f,O);return C(e.errors),e},[O,f]),q=(0,r.useCallback)(e=>{let t=x(e,f,O);return t.hasError?M(e,t.error):F(e),t},[O,f]),Y=(0,r.useCallback)(e=>{e.preventDefault(),L()},[]),K=(0,r.useCallback)(e=>w(p,e),[p]),G=(0,r.useCallback)(e=>e?!x(e,f,O).hasError:!b(f,O).hasErrors,[O,f]);return{values:O,errors:S,setValues:H,setErrors:N,setFieldValue:B,setFieldError:M,clearFieldError:F,clearErrors:D,reset:L,validate:V,validateField:q,reorderListItem:$,removeListItem:U,insertListItem:W,getInputProps:(e,{type:t="input",withError:n="input"===t,withFocus:r=!0}={})=>{var i;let o={onChange:(i=t=>B(e,t),e=>{if(e)if("function"==typeof e)i(e);else if("object"==typeof e&&"nativeEvent"in e){let{currentTarget:t}=e;t instanceof HTMLInputElement?"checkbox"===t.type?i(t.checked):i(t.value):(t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)&&i(t.value)}else i(e);else i(e)})};return n&&(o.error=S[e]),"checkbox"===t?o.checked=y(e,O):o.value=y(e,O),r&&(o.onFocus=()=>m(t=>T(j({},t),{[e]:!0})),o.onBlur=()=>{if(h(e,c)){let t=x(e,f,O);t.hasError?M(e,t.error):F(e)}}),o},onSubmit:(e,t)=>n=>{null==n||n.preventDefault();let r=V();r.hasErrors?null==t||t(r.errors,O,n):e(u(O),n)},onReset:Y,isDirty:e=>{if(e){let t=y(e,v);if("boolean"==typeof t)return t;let n=y(e,O),r=y(e,P.current);return!o()(n,r)}return Object.keys(v).length>0?w(v):!o()(O,P.current)},isTouched:K,setTouched:m,setDirty:k,resetTouched:z,resetDirty:R,isValid:G}}},12364:(e,t,n)=>{var r=n(23356),i=n(23169),o=n(22479),a=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,f,p,d,h=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=s,r=c;return s=c=void 0,h=t,f=e.apply(r,n)}function b(e){var n=e-d,r=e-h;return void 0===d||n>=t||n<0||g&&r>=u}function x(){var e,n,r,o=i();if(b(o))return w(o);p=setTimeout(x,(e=o-d,n=o-h,r=t-e,g?l(r,u-n):r))}function w(e){return(p=void 0,y&&s)?v(e):(s=c=void 0,f)}function k(){var e,n=i(),r=b(n);if(s=arguments,c=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(x,t),m?v(e):f;if(g)return clearTimeout(p),p=setTimeout(x,t),v(d)}return void 0===p&&(p=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,y="trailing"in n?!!n.trailing:y),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,s=d=c=p=void 0},k.flush=function(){return void 0===p?f:w(i())},k}},13445:(e,t,n)=>{"use strict";n.d(t,{B:()=>m});var r=n(55729),i=n(61946),o=(0,n(38169).r)((e,{spacing:t,align:n,justify:r})=>({root:{display:"flex",flexDirection:"column",alignItems:n,justifyContent:r,gap:e.fn.size({size:t,sizes:e.spacing})}})),a=n(50433),l=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&f(e,n,t[n]);if(s)for(var n of s(t))u.call(t,n)&&f(e,n,t[n]);return e},d=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))0>t.indexOf(r)&&u.call(e,r)&&(n[r]=e[r]);return n};let h={spacing:"md",align:"stretch",justify:"flex-start"},m=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Stack",h,e),{spacing:l,className:s,align:c,justify:u,unstyled:f}=n,m=d(n,["spacing","className","align","justify","unstyled"]),{classes:g,cx:y}=o({spacing:l,align:c,justify:u},{name:"Stack",unstyled:f});return r.createElement(a.a,p({className:y(g.root,s),ref:t},m))});m.displayName="@mantine/core/Stack"},13692:(e,t,n)=>{"use strict";n.d(t,{_:()=>N});var r=n(55729),i=n(61946),o=n(13768),a=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(l)for(var n of l(t))c.call(t,n)&&u(e,n,t[n]);return e};function p(e){return r.createElement("svg",f({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.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 d=n(38169),h=Object.defineProperty,m=Object.defineProperties,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&x(e,n,t[n]);if(y)for(var n of y(t))b.call(t,n)&&x(e,n,t[n]);return e},k=(e,t)=>m(e,g(t)),O=(0,d.r)((e,{radius:t})=>({root:{},imageWrapper:{position:"relative"},figure:{margin:0},image:k(w({},e.fn.fontStyles()),{display:"block",width:"100%",height:"100%",border:0,borderRadius:e.fn.size({size:t,sizes:e.radius})}),caption:{color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[7],marginTop:e.spacing.xs},placeholder:k(w({},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.size({size:t,sizes:e.radius})})})),E=n(50433),S=n(37948),C=Object.defineProperty,P=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,T=(e,t,n)=>t in e?C(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))A.call(t,n)&&T(e,n,t[n]);if(P)for(var n of P(t))j.call(t,n)&&T(e,n,t[n]);return e},z=(e,t)=>{var n={};for(var r in e)A.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&P)for(var r of P(e))0>t.indexOf(r)&&j.call(e,r)&&(n[r]=e[r]);return n};let R={fit:"cover",width:"100%",height:"auto",radius:0},N=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Image",R,e),{className:a,alt:l,src:s,fit:c,width:u,height:f,radius:d,imageProps:h,withPlaceholder:m,placeholder:g,imageRef:y,classNames:v,styles:b,caption:x,unstyled:w,style:k}=n,C=z(n,["className","alt","src","fit","width","height","radius","imageProps","withPlaceholder","placeholder","imageRef","classNames","styles","caption","unstyled","style"]),{classes:P,cx:A}=O({radius:d},{classNames:v,styles:b,unstyled:w,name:"Image"}),[j,T]=(0,r.useState)(!s);return(0,o.C)(()=>{T(!s)},[s]),r.createElement(E.a,I({className:A(P.root,a),ref:t,style:I({width:u},k)},C),r.createElement("figure",{className:P.figure},r.createElement("div",{className:P.imageWrapper},r.createElement("img",I({className:P.image,src:s,alt:l,style:{objectFit:c,width:u,height:f},ref:y,onError:e=>{T(!0),"function"==typeof(null==h?void 0:h.onError)&&h.onError(e)}},h)),m&&j&&r.createElement("div",{className:P.placeholder,title:l},g||r.createElement("div",null,r.createElement(p,{style:{width:40,height:40}})))),!!x&&r.createElement(S.E,{component:"figcaption",size:"sm",align:"center",className:P.caption},x)))});N.displayName="@mantine/core/Image"},15719:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var r=n(55729),i=n(50225),o=n(13768),a=n(61946);function l({duration:e,exitDuration:t,timingFunction:n,mounted:l,onEnter:s,onExit:c,onEntered:u,onExited:f}){let p=(0,a.xd)(),d=(0,i.I)(),h=!!p.respectReducedMotion&&d,[m,g]=(0,r.useState)(l?"entered":"exited"),y=h?0:e,v=(0,r.useRef)(-1),b=n=>{let r=n?s:c,i=n?u:f;if(g(n?"pre-entering":"pre-exiting"),window.clearTimeout(v.current),0===(y=h?0:n?e:t))"function"==typeof r&&r(),"function"==typeof i&&i(),g(n?"entered":"exited");else{let e=window.setTimeout(()=>{"function"==typeof r&&r(),g(n?"entering":"exiting")},10);v.current=window.setTimeout(()=>{window.clearTimeout(e),"function"==typeof i&&i(),g(n?"entered":"exited")},y)}};return(0,o.C)(()=>{b(l)},[l]),(0,r.useEffect)(()=>()=>window.clearTimeout(v.current),[]),{transitionDuration:y,transitionStatus:m,transitionTimingFunction:n||p.transitionTimingFunction}}},16141:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,a=null;function l(...e){if(!l.enabled)return;let r=Number(new Date);l.diff=r-(n||r),l.prev=n,l.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";i++;let o=t.formatters[r];if("function"==typeof o){let t=e[i];n=o.call(l,t),e.splice(i,1),i--}return n}),t.formatArgs.call(l,e),(l.log||t.log).apply(l,e)}return l.namespace=e,l.useColors=t.useColors(),l.color=t.selectColor(e),l.extend=r,l.destroy=t.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(l),l}function r(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e,t){let n=0,r=0,i=-1,o=0;for(;n"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let n of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean)))"-"===n[0]?t.skips.push(n.slice(1)):t.names.push(n)},t.enabled=function(e){for(let n of t.skips)if(i(e,n))return!1;for(let n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(67264),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";n.d(t,{Y:()=>y});var r=n(55729),i=n(61946),o=n(38169);let a={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var l=(0,o.r)((e,{spacing:t,position:n,noWrap:r,grow:i,align:o,count:l})=>({root:{boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:o||"center",flexWrap:r?"nowrap":"wrap",justifyContent:a[n],gap:e.fn.size({size:t,sizes:e.spacing}),"& > *":{boxSizing:"border-box",maxWidth:i?`calc(${100/l}% - ${e.fn.size({size:t,sizes:e.spacing})-e.fn.size({size:t,sizes:e.spacing})/l}px)`:void 0,flexGrow:+!!i}}})),s=n(50433),c=Object.defineProperty,u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&d(e,n,t[n]);if(u)for(var n of u(t))p.call(t,n)&&d(e,n,t[n]);return e},m=(e,t)=>{var n={};for(var r in e)f.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&p.call(e,r)&&(n[r]=e[r]);return n};let g={position:"left",spacing:"md"},y=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Group",g,e),{className:o,position:a,align:c,children:u,noWrap:f,grow:p,spacing:d,unstyled:y}=n,v=m(n,["className","position","align","children","noWrap","grow","spacing","unstyled"]),b=r.Children.toArray(u).filter(Boolean),{classes:x,cx:w}=l({align:c,grow:p,noWrap:f,spacing:d,position:a,count:b.length},{unstyled:y,name:"Group"});return r.createElement(s.a,h({className:w(x.root,o),ref:t},v),b)});y.displayName="@mantine/core/Group"},18255:(e,t,n)=>{"use strict";n.d(t,{B:()=>M});var r=n(55729),i=n(61946);let[o,a]=(0,n(85803).F)("List component was not found in tree");var l=n(38169),s=(0,l.r)((e,{spacing:t,center:n},r)=>({itemWrapper:{ref:r("itemWrapper"),display:"inline-flex",flexDirection:"column",whiteSpace:"normal"},item:{whiteSpace:"nowrap",lineHeight:n?1:e.lineHeight,"&:not(:first-of-type)":{marginTop:e.fn.size({size:t,sizes:e.spacing})}},withIcon:{listStyle:"none",[`& .${r("itemWrapper")}`]:{display:"inline-flex",alignItems:n?"center":"flex-start",flexDirection:"row"}},itemIcon:{display:"inline-block",verticalAlign:"middle",marginRight:e.spacing.sm}})),c=n(50433),u=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&h(e,n,t[n]);if(f)for(var n of f(t))d.call(t,n)&&h(e,n,t[n]);return e},g=(e,t)=>{var n={};for(var r in e)p.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&f)for(var r of f(e))0>t.indexOf(r)&&d.call(e,r)&&(n[r]=e[r]);return n};let y={},v=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("ListItem",y,e),{className:o,children:l,icon:u}=n,f=g(n,["className","children","icon"]),{icon:p,spacing:d,center:h,listStyleType:v,size:b,withPadding:x,classNames:w,styles:k,unstyled:O}=a(),E=u||p,{classes:S,cx:C}=s({withPadding:x,size:b,listStyleType:v,center:h,spacing:d},{classNames:w,styles:k,unstyled:O,name:"List"});return r.createElement(c.a,m({component:"li",className:C(S.item,{[S.withIcon]:E},o),ref:t},f),r.createElement("div",{className:S.itemWrapper},E&&r.createElement("span",{className:S.itemIcon},E),r.createElement("span",null,l)))});v.displayName="@mantine/core/ListItem";var b=Object.defineProperty,x=Object.defineProperties,w=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,S=(e,t,n)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,C=(e,t)=>{for(var n in t||(t={}))O.call(t,n)&&S(e,n,t[n]);if(k)for(var n of k(t))E.call(t,n)&&S(e,n,t[n]);return e},P=(e,t)=>x(e,w(t)),A=(0,l.r)((e,{withPadding:t,size:n,listStyleType:r})=>({root:P(C({},e.fn.fontStyles()),{listStyleType:r,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,fontSize:e.fn.size({size:n,sizes:e.fontSizes}),lineHeight:e.lineHeight,margin:0,paddingLeft:t?e.spacing.xl:0,listStylePosition:"inside"})})),j=Object.defineProperty,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,R=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&R(e,n,t[n]);if(T)for(var n of T(t))z.call(t,n)&&R(e,n,t[n]);return e},D=(e,t)=>{var n={};for(var r in e)I.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&T)for(var r of T(e))0>t.indexOf(r)&&z.call(e,r)&&(n[r]=e[r]);return n};let L={type:"unordered",size:"md",spacing:0},M=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("List",L,e),{children:a,type:l,size:s,listStyleType:u,withPadding:f,center:p,spacing:d,icon:h,className:m,styles:g,classNames:y,unstyled:v}=n,b=D(n,["children","type","size","listStyleType","withPadding","center","spacing","icon","className","styles","classNames","unstyled"]),{classes:x,cx:w}=A({withPadding:f,size:s,listStyleType:u,center:p,spacing:d},{classNames:y,styles:g,name:"List",unstyled:v});return r.createElement(o,{value:{spacing:d,center:p,icon:h,listStyleType:u,size:s,withPadding:f,classNames:y,styles:g,unstyled:v}},r.createElement(c.a,N({component:"unordered"===l?"ul":"ol",className:w(x.root,m),ref:t},b),a))});M.Item=v,M.displayName="@mantine/core/List"},20444:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),o="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;o?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(93409))},23169:(e,t,n)=>{var r=n(45516);e.exports=function(){return r.Date.now()}},24170:(e,t,n)=>{e.exports=n(48823)},24802:(e,t,n)=>{"use strict";n.d(t,{A:()=>el});var r=n(55729);let i=function(e){return function(t,n){var i=(0,r.useRef)(!1);e(function(){return function(){i.current=!1}},[]),e(function(){if(i.current)return t();i.current=!0},n)}}(r.useEffect);var o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},a=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i-1&&(i=setTimeout(function(){f.delete(e)},t)),f.set(e,u(u({},n),{timer:i}))},d=new Map,h=function(e,t){d.set(e,t),t.then(function(t){return d.delete(e),t}).catch(function(){d.delete(e)})},m={},g=function(e,t){m[e]&&m[e].forEach(function(e){return e(t)})},y=function(e,t){return m[e]||(m[e]=[]),m[e].push(t),function(){var n=m[e].indexOf(t);m[e].splice(n,1)}},v=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},b=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},E=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},z=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i-1&&R.splice(e,1)}}return function(){l()}},[n,o]),(0,c.A)(function(){l()}),{}},L=function(e,t){var n=t.retryInterval,i=t.retryCount,o=(0,r.useRef)(),a=(0,r.useRef)(0),l=(0,r.useRef)(!1);return i?{onBefore:function(){l.current||(a.current=0),l.current=!1,o.current&&clearTimeout(o.current)},onSuccess:function(){a.current=0},onError:function(){a.current+=1,-1===i||a.current<=i?o.current=setTimeout(function(){l.current=!0,e.refresh()},null!=n?n:Math.min(1e3*Math.pow(2,a.current),3e4)):a.current=0},onCancel:function(){a.current=0,o.current&&clearTimeout(o.current)}}:{}};var M=n(47687),F=n.n(M),_=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},B=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};let q=function(){var e=V((0,r.useState)({}),2)[1];return(0,r.useCallback)(function(){return e({})},[])};var Y=n(3512),K=function(){return(K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},Z=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Q=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},en=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},er=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},ea=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i{var r=n(57857),i=n(38316),o=n(53922),a=n(62030),l=n(2872),s=n(32372),c=n(28904);c.alea=r,c.xor128=i,c.xorwow=o,c.xorshift7=a,c.xor4096=l,c.tychei=s,e.exports=c},26993:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var r=n(55729),i=n(5158),o=n(15719);function a({transition:e,duration:t=250,exitDuration:n=t,mounted:a,children:l,timingFunction:s,onExit:c,onEntered:u,onEnter:f,onExited:p}){let{transitionDuration:d,transitionStatus:h,transitionTimingFunction:m}=(0,o.p)({mounted:a,exitDuration:n,duration:t,timingFunction:s,onExit:c,onEntered:u,onEnter:f,onExited:p});return 0===d?a?r.createElement(r.Fragment,null,l({})):null:"exited"===h?null:r.createElement(r.Fragment,null,l((0,i.y)({transition:e,duration:d,state:h,timingFunction:m})))}a.displayName="@mantine/core/Transition"},27189:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(99410),i=n(1983),o=n(49737);function a(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n(55729),s=n(56760);let c={disabled:!1},u=l.createContext(null);var f=function(e){return e.scrollTop},p="unmounted",d="exited",h="entering",m="entered",g="exiting",y=function(e){function t(t,n){var r,i=e.call(this,t,n)||this,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=d,i.appearStatus=h):r=m:r=t.unmountOnExit||t.mountOnEnter?p:d,i.state={status:r},i.nextCallback=null,i}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==m&&(t=h):(n===h||n===m)&&(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);n&&f(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[s.findDOMNode(this),r],o=i[0],a=i[1],l=this.getTimeouts(),u=r?l.appear:l.enter;if(!e&&!n||c.disabled)return void this.safeSetState({status:m},function(){t.props.onEntered(o)});this.props.onEnter(o,a),this.safeSetState({status:h},function(){t.props.onEntering(o,a),t.onTransitionEnd(u,function(){t.safeSetState({status:m},function(){t.props.onEntered(o,a)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);if(!t||c.disabled)return void this.safeSetState({status:d},function(){e.props.onExited(r)});this.props.onExit(r),this.safeSetState({status:g},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:d},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!n||r)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,i.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.createElement(u.Provider,{value:null},"function"==typeof n?n(e,r):l.cloneElement(l.Children.only(n),r))},t}(l.Component);function v(){}y.contextType=u,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},y.UNMOUNTED=p,y.EXITED=d,y.ENTERING=h,y.ENTERED=m,y.EXITING=g;var b=function(e,t){return e&&t&&t.split(" ").forEach(function(t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=a(e.className,t):e.setAttribute("class",a(e.className&&e.className.baseVal||"",t))})},x=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i{"use strict";n.d(t,{Z:()=>i,k:()=>r});let[r,i]=(0,n(85803).F)("Grid component was not found in tree")},28392:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p=u;)e/=2,t/=2,n>>>=1;return(e+n)/t};return y.int32=function(){return 0|g.g(4)},y.quick=function(){return g.g(4)/0x100000000},y.double=y,h(m(g.S),o),(t.pass||n||function(e,t,n,r){return(r&&(r.S&&d(r,g),e.state=function(){return d(g,{})}),n)?(a.random=e,t):e})(y,f,"global"in t?t.global:this==a,t.state)}function p(e){var t,n=e.length,r=this,i=0,o=r.i=r.j=0,a=r.S=[];for(n||(e=[n++]);i<256;)a[i]=i++;for(i=0;i<256;i++)a[i]=a[o=255&o+e[i%n]+(t=a[i])],a[o]=t;(r.g=function(e){for(var t,n=0,i=r.i,o=r.j,a=r.S;e--;)t=a[i=255&i+1],n=256*n+a[255&(a[i]=a[o=255&o+t])+(a[o]=t)];return r.i=i,r.j=o,n})(256)}function d(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function h(e,t){for(var n,r=e+"",i=0;i{"use strict";n.d(t,{A:()=>x});var r=n(66177),i=n(13779),o=n(86653),a=n(42863),l=n(91645),s=n(59982);function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}var u=n(18508);function f(e){var t=c();return function(){var n,r=(0,s.A)(e);return n=t?Reflect.construct(r,arguments,(0,s.A)(this).constructor):r.apply(this,arguments),(0,u.A)(this,n)}}var p=n(55729),d=n(56760),h=n(32988),m=n.n(h),g={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=g.F1&&t<=g.F12)return!1;switch(t){case g.ALT:case g.CAPS_LOCK:case g.CONTEXT_MENU:case g.CTRL:case g.DOWN:case g.END:case g.ESC:case g.HOME:case g.INSERT:case g.LEFT:case g.MAC_FF_META:case g.META:case g.NUMLOCK:case g.NUM_CENTER:case g.PAGE_DOWN:case g.PAGE_UP:case g.PAUSE:case g.PRINT_SCREEN:case g.RIGHT:case g.SHIFT:case g.UP:case g.WIN_KEY:case g.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=g.ZERO&&e<=g.NINE||e>=g.NUM_ZERO&&e<=g.NUM_MULTIPLY||e>=g.A&&e<=g.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case g.SPACE:case g.QUESTION_MARK:case g.NUM_PLUS:case g.NUM_MINUS:case g.NUM_PERIOD:case g.NUM_DIVISION:case g.SEMICOLON:case g.DASH:case g.EQUALS:case g.COMMA:case g.PERIOD:case g.SLASH:case g.APOSTROPHE:case g.SINGLE_QUOTE:case g.OPEN_SQUARE_BRACKET:case g.BACKSLASH:case g.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},y=function(e){(0,l.A)(n,e);var t=f(n);function n(){var e;(0,o.A)(this,n);for(var r=arguments.length,i=Array(r),a=0;a=a&&rs?"true":"false","aria-posinset":s+1,"aria-setsize":c,tabIndex:i?-1:0},p.createElement("div",{className:"".concat(o,"-first")},f),p.createElement("div",{className:"".concat(o,"-second")},f)));return l&&(d=l(d,this.props)),d}}]),n}(p.Component);function v(){}var b=function(e){(0,l.A)(n,e);var t=f(n);function n(e){(0,o.A)(this,n),(r=t.call(this,e)).stars=void 0,r.rate=void 0,r.onHover=function(e,t){var n=r.props.onHoverChange,i=r.getStarValue(t,e.pageX);i!==r.state.cleanedValue&&r.setState({hoverValue:i,cleanedValue:null}),n(i)},r.onMouseLeave=function(){var e=r.props.onHoverChange;r.setState({hoverValue:void 0,cleanedValue:null}),e(void 0)},r.onClick=function(e,t){var n=r.props.allowClear,i=r.state.value,o=r.getStarValue(t,e.pageX),a=!1;n&&(a=o===i),r.onMouseLeave(),r.changeValue(a?0:o),r.setState({cleanedValue:a?o:null})},r.onFocus=function(){var e=r.props.onFocus;r.setState({focused:!0}),e&&e()},r.onBlur=function(){var e=r.props.onBlur;r.setState({focused:!1}),e&&e()},r.onKeyDown=function(e){var t=e.keyCode,n=r.props,i=n.count,o=n.allowHalf,a=n.onKeyDown,l="rtl"===n.direction,s=r.state.value;t===g.RIGHT&&s0&&!l||t===g.RIGHT&&s>0&&l?(o?s-=.5:s-=1,r.changeValue(s),e.preventDefault()):t===g.LEFT&&sy/2?o-=.5:!i&&t-g{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(55729),i=n(83244),o="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,c=s||!o,[u,f]=(0,r.useState)(!1),p=(0,r.useRef)(null),d=(0,r.useCallback)(e=>{p.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(c||u)return;let e=p.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},l.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!u){let e=(0,i.requestIdleCallback)(()=>f(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,n,t,u,p.current]),[d,u,(0,r.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31008:(e,t,n)=>{"use strict";n.d(t,{YV:()=>W});var r=n(6029),i=n(55729),o=n(56760);let{min:a,max:l,abs:s,floor:c}=Math,u=(e,t,n)=>a(n,l(t,e)),f=e=>[...e].sort((e,t)=>e-t),p="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},d=e=>{let t,n;return()=>(t||(t=!0,n=e()),n)},h=(e,t,n)=>{let r=n?"unshift":"push";for(let n=0;n{let n=e.t[t];return -1===n?e.o:n},g=(e,t,n)=>{let r=-1===e.t[t];return e.t[t]=n,e.i=a(t,e.i),r},y=(e,t)=>{if(!e.l)return 0;if(e.i>=t)return e.u[t];e.i<0&&(e.u[0]=0,e.i=0);let n=e.i,r=e.u[n];for(;n{for(;n<=r;){let i=c((n+r)/2),o=y(e,i);if(o<=t){if(o+m(e,i)>t)return i;n=i+1}else r=i-1}return u(n,0,e.l-1)},b=(e,t,n)=>{let r=t-e.l;return e.i=n?-1:a(t-1,e.i),e.l=t,r>0?(h(e.u,r),h(e.t,r,n),e.o*r):(e.u.splice(r),(n?e.t.splice(0,-r):e.t.splice(r)).reduce((t,n)=>t-(-1===n?e.o:n),0))},x="undefined"!=typeof window,w=()=>document.documentElement,k=e=>e.ownerDocument,O=e=>e.defaultView,E=d(()=>!!x&&"rtl"===getComputedStyle(w()).direction),S=d(()=>/iP(hone|od|ad)/.test(navigator.userAgent)),C=d(()=>"scrollBehavior"in w().style),P=e=>l(e.h(),e.v()),A=e=>!!e.v(),j=(e,t=40,n=4,r=0,i,o=!1)=>{let c=!!r,u=1,p=0,d=0,x=0,w=0,k=0,O=0,E=0,C=0,P=c?[0,l(r-1,0)]:null,A=[0,0],j=0,T=((e,t,n)=>({o:n?n[1]:t,t:n&&n[0]?h(n[0].slice(0,a(e,n[0].length)),l(0,e-n[0].length)):h([],e),l:e,i:-1,u:h([],e)}))(e,t,i),I=new Set,z=()=>x-d,R=()=>z()+k+w,N=e=>((e,t,n,r)=>{if(r=a(r,e.l-1),y(e,r)<=t){let i=v(e,t+n,r);return[v(e,t,r,i),i]}{let i=v(e,t,void 0,r);return[i,v(e,t+n,i)]}})(T,e,p,A[0]),D=()=>(e=>e.l?y(e,e.l-1)+m(e,e.l-1):0)(T),L=e=>y(T,e)-k,M=e=>m(T,e),F=e=>{e&&(S()&&0!==E?k+=e:w+=e)};return{p:()=>u,_:()=>(e=>[e.t.slice(),e.o])(T),m:()=>{let e,t;return O?[e,t]=A:([e,t]=A=N(l(0,R())),P&&(e=a(e,P[0]),t=l(t,P[1]))),1!==E&&(e-=l(0,n)),2!==E&&(t+=l(0,n)),[l(e,0),a(t,T.l-1)]},S:()=>v(T,R()),$:()=>v(T,R()+p),I:e=>-1===T.t[e],k:()=>!!P&&T.t.slice(l(0,P[0]-1),a(T.l-1,P[1]+1)+1).includes(-1),T:L,R:M,M:()=>T.l,C:()=>x,H:()=>0!==E,v:()=>p,W:()=>d,h:D,B:()=>(O=w,w=0,[O,2===C||z()+p>=D()]),J:(e,t)=>{let n=[e,t];return I.add(n),()=>{I.delete(n)}},O:(e,t)=>{let n,r,i=0;switch(e){case 1:{let e=O;O=0;let n=t-x,o=s(n);e&&o=-p&&a<=D()&&(i+=1,r=o>p);break}case 2:i=8,0!==E&&(n=!0,i+=1),E=0,C=0,P=null;break;case 3:{let e=t.filter(([e,t])=>T.t[e]!==t);if(!e.length)break;for(let[t,n]of(F(e.reduce((e,[t,n])=>((2===C||(P?!c&&tp&&(F(((e,t)=>{let n=0,r=[];e.t.forEach((e,i)=>{-1!==e&&(r.push(e),i{i&e&&t(r)}))}}},T=setTimeout,I=(e,t)=>t&&E()?-e:e,z=(e,t,n,r,i,o)=>{let a=Date.now,l=0,s=!1,c=!1,u=!1,f=!1,p=(()=>{let t,n=()=>{null!=t&&clearTimeout(t)},r=()=>{n(),t=T(()=>{t=null,(()=>{if(s||c)return s=!1,p();u=!1,e.O(2)})()},150)};return r.L=n,r})(),d=()=>{l=a(),u&&(f=!0),o&&e.O(6,o()),e.O(1,r()),p()},h=t=>{if(s||!e.H()||t.ctrlKey)return;let r=a()-l;150>r&&50{c=!0,u=f=!1},g=()=>{c=!1,S()&&(u=!0)};return t.addEventListener("scroll",d),t.addEventListener("wheel",h,{passive:!0}),t.addEventListener("touchstart",m,{passive:!0}),t.addEventListener("touchend",g,{passive:!0}),{P:()=>{t.removeEventListener("scroll",d),t.removeEventListener("wheel",h),t.removeEventListener("touchstart",m),t.removeEventListener("touchend",g),p.L()},A:()=>{let[t,o]=e.B();t&&(i(I(t,n),o,f),f=!1,o&&e.v()>e.h()&&e.O(1,r()))}}},R=(e,t)=>{let n,r,i,o=t?"scrollLeft":"scrollTop",a=t?"overflowX":"overflowY",l=async(r,a)=>{if(!n)return void p(()=>l(r,a));i&&i();let s=()=>{let t;return[new Promise((n,r)=>{t=n,i=r,A(e)&&T(r,150)}),e.J(2,()=>{t&&t()})]};if(a&&C()){for(;e.O(8,r()),e.k();){let[e,t]=s();try{await e}catch(e){return}finally{t()}}n.scrollTo({[t?"left":"top"]:I(r(),t),behavior:"smooth"})}else for(;;){let[i,a]=s();try{n[o]=I(r(),t),e.O(7),await i}catch(e){return}finally{a()}}};return{V(l){n=l,r=z(e,l,t,()=>I(l[o],t),(t,n,r)=>{if(r){let e=l.style,t=e[a];e[a]="hidden",T(()=>{e[a]=t})}n?(l[o]=e.C()+t,i&&i()):l[o]+=t})},X(){r&&r.P()},Y(e){l(()=>e)},j(t){t+=e.C(),l(()=>t)},q(t,{align:n,smooth:r,offset:i=0}={}){if(t=u(t,0,e.M()-1),"nearest"===n){let r=e.T(t),i=e.C();if(ri+e.v()))return;n="end"}}l(()=>i+e.W()+e.T(t)+("end"===n?e.R(t)-e.v():"center"===n?(e.R(t)-e.v())/2:0),r)},D:()=>{r&&r.A()}}},N=e=>{let t;return{U(n){(t||(t=new(O(k(n))).ResizeObserver(e))).observe(n)},F(e){t.unobserve(e)},P(){t&&t.disconnect()}}},D=(e,t)=>{let n,r=t?"width":"height",i=new WeakMap,o=N(t=>{let o=[];for(let{target:a,contentRect:l}of t)if(a.offsetParent)if(a===n)e.O(4,l[r]);else{let e=i.get(a);null!=e&&o.push([e,l[r]])}o.length&&e.O(3,o)});return{G(e){o.U(n=e)},K:(e,t)=>(i.set(e,t),o.U(e),()=>{i.delete(e),o.F(e)}),X:o.P}},L=x?i.useLayoutEffect:i.useEffect,M="current",F=(e,t)=>{if(Array.isArray(e))for(let n of e)F(n,t);else null==e||"boolean"==typeof e||t.push(e)},_=(e,t)=>{let n=e.key;return null!=n?n:"_"+t},B=e=>{let t=(0,i.useRef)();return t[M]||(t[M]=e())},H=e=>{let t=(0,i.useRef)(e);return L(()=>{t[M]=e},[e]),t},$=(0,i.memo)(({N:e,Z:t,ee:n,te:o,ne:a,oe:l,re:s,ie:c})=>{let u=(0,i.useRef)(null);L(()=>t(u[M],n),[n]);let f=(0,i.useMemo)(()=>{let e={position:a&&c?void 0:"absolute",[s?"height":"width"]:"100%",[s?"top":"left"]:0,[s?E()?"right":"left":"top"]:o,visibility:!a||c?"visible":"hidden"};return s&&(e.display="flex"),e},[o,a,c,s]);return(0,r.jsx)(l,"string"==typeof l?{ref:u,style:f,children:e}:{ref:u,style:f,index:n,children:e})}),U=(e,t)=>(0,i.useMemo)(()=>{if("function"==typeof e)return[e,t||0];let n=(e=>{let t=[];return F(e,t),t})(e);return[e=>n[e],n.length]},[e,t]),W=(0,i.forwardRef)(({children:e,count:t,overscan:n,itemSize:a,shift:l,horizontal:s,keepMounted:c,cache:u,startMargin:d=0,ssrCount:h,as:m="div",item:g="div",scrollRef:y,onScroll:v,onScrollEnd:b},x)=>{let[w,k]=U(e,t),O=(0,i.useRef)(null),E=(0,i.useRef)(!!h),S=H(v),C=H(b),[A,T,I,z]=B(()=>{let e=!!s,t=j(k,a,n,h,u,!a);return[t,D(t,e),R(t,e),e]});k!==A.M()&&A.O(5,[k,l]),d!==A.W()&&A.O(6,d);let[N,F]=(0,i.useReducer)(A.p,void 0,A.p),[W,V]=A.m(),q=A.H(),Y=A.h(),K=[],G=e=>{let t=w(e);return(0,r.jsx)($,{Z:T.K,ee:e,te:A.T(e),ne:A.I(e),oe:g,N:t,re:z,ie:E[M]},_(t,e))};L(()=>{E[M]=!1;let e=A.J(1,e=>{e?(0,o.flushSync)(F):F()}),t=A.J(4,()=>{S[M]&&S[M](A.C())}),n=A.J(8,()=>{C[M]&&C[M]()}),r=e=>{T.G(e),I.V(e)};return y?p(()=>r(y[M])):r(O[M].parentElement),()=>{e(),t(),n(),T.X(),I.X()}},[]),L(()=>{I.D()},[N]),(0,i.useImperativeHandle)(x,()=>({get cache(){return A._()},get scrollOffset(){return A.C()},get scrollSize(){return P(A)},get viewportSize(){return A.v()},findStartIndex:A.S,findEndIndex:A.$,getItemOffset:A.T,getItemSize:A.R,scrollToIndex:I.q,scrollTo:I.Y,scrollBy:I.j}),[]);for(let e=W;e<=V;e++)K.push(G(e));if(c){let e=[],t=[];f(c).forEach(n=>{nV&&t.push(G(n))}),K.unshift(...e),K.push(...t)}return(0,r.jsx)(m,{ref:O,style:{overflowAnchor:"none",flex:"none",position:"relative",visibility:"hidden",width:z?Y:"100%",height:z?"100%":Y,pointerEvents:q?"none":void 0},children:K})})},32372:function(e,t,n){var r;!function(e,i,o){function a(e){var t=this,n="";t.next=function(){var e=t.b,n=t.c,r=t.d,i=t.a;return e=e<<25^e>>>7^n,n=n-r|0,r=r<<24^r>>>8^i,i=i-e|0,t.b=e=e<<20^e>>>12^n,t.c=n=n-r|0,t.d=r<<16^n>>>16^i,t.a=i-e|0},t.a=0,t.b=0,t.c=-0x61c88647,t.d=0x517cc1b7,e===Math.floor(e)?(t.a=e/0x100000000|0,t.b=0|e):n+=e;for(var r=0;r>>0)/0x100000000};return i.double=function(){do var e=((n.next()>>>11)+(n.next()>>>0)/0x100000000)/2097152;while(0===e);return e},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&l(r,n),i.state=function(){return l(n,{})}),i}i&&i.exports?i.exports=s:n.amdD&&n.amdO?void 0===(r=(function(){return s}).call(t,n,t,i))||(i.exports=r):this.tychei=s}(0,e=n.nmd(e),n.amdD)},32988:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t{"use strict";n.d(t,{A:()=>o});var r=n(55729),i=function(e,t){return!Object.is(e,t)};let o=function(e,t){void 0===t&&(t=i);var n=(0,r.useRef)(),o=(0,r.useRef)();return t(o.current,e)&&(n.current=o.current,o.current=e),n.current}},38316:function(e,t,n){var r;!function(e,i,o){function a(e){var t=this,n="";t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var e=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^e^e>>>8},e===(0|e)?t.x=e:n+=e;for(var r=0;r>>0)/0x100000000};return i.double=function(){do var e=((n.next()>>>11)+(n.next()>>>0)/0x100000000)/2097152;while(0===e);return e},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&l(r,n),i.state=function(){return l(n,{})}),i}i&&i.exports?i.exports=s:n.amdD&&n.amdO?void 0===(r=(function(){return s}).call(t,n,t,i))||(i.exports=r):this.xor128=s}(0,e=n.nmd(e),n.amdD)},42035:(e,t,n)=>{"use strict";n.d(t,{H:()=>m});var r=n(55729),i=n(61946),o=n(78102),a=n(94466),l=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&f(e,n,t[n]);if(s)for(var n of s(t))u.call(t,n)&&f(e,n,t[n]);return e},d=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))0>t.indexOf(r)&&u.call(e,r)&&(n[r]=e[r]);return n};let h={multiple:!1},m=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("FileButton",h,e),{onChange:l,children:s,multiple:c,accept:u,name:f,form:m,resetRef:g,disabled:y,capture:v}=n,b=d(n,["onChange","children","multiple","accept","name","form","resetRef","disabled","capture"]),x=(0,r.useRef)();return(0,o.b)(g,()=>{x.current.value=""}),r.createElement(r.Fragment,null,s(p({onClick:()=>{y||x.current.click()}},b)),r.createElement("input",{style:{display:"none"},type:"file",accept:u,multiple:c,onChange:e=>{c?l(Array.from(e.currentTarget.files)):l(e.currentTarget.files[0]||null)},ref:(0,a.p)(t,x),name:f,form:m,capture:v}))});m.displayName="@mantine/core/FileButton"},42542:(e,t,n)=>{"use strict";function r(e){return new DataView(e.buffer,e.byteOffset)}n.d(t,{Tm:()=>eZ}),n(31838);let i={len:1,get:(e,t)=>r(e).getUint8(t),put:(e,t,n)=>(r(e).setUint8(t,n),t+1)},o={len:2,get:(e,t)=>r(e).getUint16(t,!0),put:(e,t,n)=>(r(e).setUint16(t,n,!0),t+2)},a={len:2,get:(e,t)=>r(e).getUint16(t),put:(e,t,n)=>(r(e).setUint16(t,n),t+2)},l={len:4,get:(e,t)=>r(e).getUint32(t,!0),put:(e,t,n)=>(r(e).setUint32(t,n,!0),t+4)},s={len:4,get:(e,t)=>r(e).getUint32(t),put:(e,t,n)=>(r(e).setUint32(t,n),t+4)},c={len:4,get:(e,t)=>r(e).getInt32(t),put:(e,t,n)=>(r(e).setInt32(t,n),t+4)},u={len:8,get:(e,t)=>r(e).getBigUint64(t,!0),put:(e,t,n)=>(r(e).setBigUint64(t,n,!0),t+8)};class f{constructor(e,t){this.len=e,this.encoding=t,this.textDecoder=new TextDecoder(t)}get(e,t){return this.textDecoder.decode(e.subarray(t,t+this.len))}}class p extends Error{constructor(){super("End-Of-Stream"),this.name="EndOfStreamError"}}class d extends Error{constructor(e="The operation was aborted"){super(e),this.name="AbortError"}}class h{constructor(){this.maxStreamReadSize=1048576,this.endOfStream=!1,this.interrupted=!1,this.peekQueue=[]}async peek(e,t,n){let r=await this.read(e,t,n);return this.peekQueue.push(e.subarray(t,t+r)),r}async read(e,t,n){if(0===n)return 0;let r=this.readFromPeekBuffer(e,t,n);if(0===(r+=await this.readRemainderFromStream(e,t+r,n-r)))throw new p;return r}readFromPeekBuffer(e,t,n){let r=n,i=0;for(;this.peekQueue.length>0&&r>0;){let n=this.peekQueue.pop();if(!n)throw Error("peekData should be defined");let o=Math.min(n.length,r);e.set(n.subarray(0,o),t+i),i+=o,r-=o,o0&&!this.endOfStream;){let n=Math.min(r,this.maxStreamReadSize);if(this.interrupted)throw new d;let o=await this.readFromStream(e,t+i,n);if(0===o)break;i+=o,r-=o}return i}}class m extends h{constructor(e){super(),this.reader=e}async abort(){return this.close()}async close(){this.reader.releaseLock()}}class g extends m{async readFromStream(e,t,n){let r=await this.reader.read(new Uint8Array(n));return(r.done&&(this.endOfStream=r.done),r.value)?(e.set(r.value,t),r.value.byteLength):0}}class y extends h{constructor(e){super(),this.reader=e,this.buffer=null,this.bufferOffset=0}async readFromStream(e,t,n){let r=0;if(this.buffer){let i=Math.min(this.buffer.byteLength-this.bufferOffset,n);e.set(this.buffer.subarray(this.bufferOffset,this.bufferOffset+i),t),this.bufferOffset+=i,r+=i,n-=i,t+=i,this.bufferOffset>=this.buffer.byteLength&&(this.buffer=null,this.bufferOffset=0)}for(;n>0&&!this.endOfStream;){let i=await this.reader.read();if(i.done){this.endOfStream=!0;break}if(i.value){let o=i.value;if(o.byteLength>n)return e.set(o.subarray(0,n),t),this.buffer=o,this.bufferOffset=n,r+=n;e.set(o,t),r+=o.byteLength,n-=o.byteLength,t+=o.byteLength}}if(0===r&&this.endOfStream)throw new p;return r}abort(){return this.interrupted=!0,this.reader.cancel()}async close(){await this.abort(),this.reader.releaseLock()}}class v{constructor(e){this.numBuffer=new Uint8Array(8),this.position=0,this.onClose=e?.onClose,e?.abortSignal&&e.abortSignal.addEventListener("abort",()=>{this.abort()})}async readToken(e,t=this.position){let n=new Uint8Array(e.len);if(await this.readBuffer(n,{position:t})t)return this.position+=t,t}return this.position+=e,e}async close(){await this.abort(),await this.onClose?.()}normalizeOptions(e,t){if(!this.supportsRandomAccess()&&t&&void 0!==t.position&&t.position0)return await this.ignore(r),this.readBuffer(e,t);if(r<0)throw Error("`options.position` must be equal or greater than `tokenizer.position`");if(0===n.length)return 0;let i=await this.streamReader.read(e,0,n.length);if(this.position+=i,(!t||!t.mayBeLess)&&i0){let i=new Uint8Array(n.length+t);return r=await this.peekBuffer(i,{mayBeLess:n.mayBeLess}),e.set(i.subarray(t)),r-t}if(t<0)throw Error("Cannot peek from a negative offset in a stream")}if(n.length>0){try{r=await this.streamReader.peek(e,0,n.length)}catch(e){if(t?.mayBeLess&&e instanceof p)return 0;throw e}if(!n.mayBeLess&&r>1|(21845&M)<<1;F=(61680&(F=(52428&F)>>2|(13107&F)<<2))>>4|(3855&F)<<4,L[M]=((65280&F)>>8|(255&F)<<8)>>1}for(var _=function(e,t,n){for(var r,i=e.length,o=0,a=new E(t);o>s]=c}else for(o=0,r=new E(i);o>15-e[o]);return r},B=new O(288),M=0;M<144;++M)B[M]=8;for(var M=144;M<256;++M)B[M]=9;for(var M=256;M<280;++M)B[M]=7;for(var M=280;M<288;++M)B[M]=8;for(var H=new O(32),M=0;M<32;++M)H[M]=5;var $=_(B,9,1),U=_(H,5,1),W=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},V=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&n},q=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},Y=function(e){return(e+7)/8|0},K=function(e,t,n){return(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length),new O(e.subarray(t,n))},G=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],X=function(e,t,n){var r=Error(t||G[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,X),!n)throw r;return r},Z=function(e,t,n,r){var i=e.length,o=r?r.length:0;if(!i||t.f&&!t.l)return n||new O(0);var a=!n,l=a||2!=t.i,s=t.i;a&&(n=new O(3*i));var c=function(e){var t=n.length;if(e>t){var r=new O(Math.max(2*t,e));r.set(n),n=r}},u=t.f||0,f=t.p||0,p=t.b||0,d=t.l,h=t.d,m=t.m,g=t.n,y=8*i;do{if(!d){u=V(e,f,1);var v=V(e,f+1,3);if(f+=3,v)if(1==v)d=$,h=U,m=9,g=5;else if(2==v){var b=V(e,f,31)+257,x=V(e,f+10,15)+4,w=b+V(e,f+5,31)+1;f+=14;for(var k=new O(w),E=new O(19),S=0;S>4;if(D<16)k[S++]=D;else{var L=0,M=0;for(16==D?(M=3+V(e,f,3),f+=2,L=k[S-1]):17==D?(M=3+V(e,f,7),f+=3):18==D&&(M=11+V(e,f,127),f+=7);M--;)k[S++]=L}}var F=k.subarray(0,b),B=k.subarray(b);m=W(F),g=W(B),d=_(F,m,1),h=_(B,g,1)}else X(1);else{var D=Y(f)+4,H=e[D-4]|e[D-3]<<8,G=D+H;if(G>i){s&&X(0);break}l&&c(p+H),n.set(e.subarray(D,G),p),t.b=p+=H,t.p=f=8*G,t.f=u;continue}if(f>y){s&&X(0);break}}l&&c(p+131072);for(var Z=(1<>4;if((f+=15&L)>y){s&&X(0);break}if(L||X(2),ee<256)n[p++]=ee;else if(256==ee){J=f,d=null;break}else{var et=ee-254;if(ee>264){var S=ee-257,en=C[S];et=V(e,f,(1<>4;er||X(3),f+=15&er;var B=N[ei];if(ei>3){var en=P[ei];B+=q(e,f)&(1<y){s&&X(0);break}l&&c(p+131072);var eo=p+et;if(p>8},J=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},ee=function(e,t){for(var n=[],r=0;rp&&(p=o[r].s);var d=new E(p+1),h=et(n[u-1],d,0);if(h>t){var r=0,m=0,g=h-t,y=1<t)m+=y-(1<>=g;m>0;){var b=o[r].s;d[b]=0&&m;--r){var x=o[r].s;d[x]==t&&(--d[x],++m)}h=t}return{t:new O(d),l:h}},et=function(e,t,n){return -1==e.s?Math.max(et(e.l,t,n+1),et(e.r,t,n+1)):t[e.s]=n},en=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new E(++t),r=0,i=e[0],o=1,a=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==i&&l!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(i),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(i);o=1,i=e[l]}return{c:n.subarray(0,r),n:t}},er=function(e,t){for(var n=0,r=0;r>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o4&&!N[A[L-1]];--L);var M=c+5<<3,F=er(i,B)+er(o,H)+a,$=er(i,g)+er(o,b)+a+14+3*L+er(I,N)+2*I[16]+3*I[17]+7*I[18];if(s>=0&&M<=F&&M<=$)return ei(t,u,e.subarray(s,s+c));if(Q(t,u,1+($15&&(Q(t,u,q[z]>>5&127),u+=q[z]>>12)}}else f=null,p=B,d=null,h=H;for(var z=0;z255){var Y=K>>18&31;J(t,u,f[Y+257]),u+=p[Y+257],Y>7&&(Q(t,u,K>>23&31),u+=C[Y]);var G=31&K;J(t,u,d[G]),u+=h[G],G>3&&(J(t,u,K>>5&8191),u+=P[G])}else J(t,u,f[K]),u+=p[K]}return J(t,u,f[256]),u+p[256]},ea=new S([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),el=new O(0),es=function(e,t,n,r,i,o){var a=o.z||e.length,l=new O(r+a+5*(1+Math.ceil(a/7e3))+i),s=l.subarray(r,l.length-i),c=o.l,u=7&(o.r||0);if(t){u&&(s[0]=o.r>>3);for(var f=ea[t-1],p=f>>13,d=8191&f,h=(1<7e3||I>24576)&&(_>423||!c)){u=eo(e,s,0,x,w,k,j,I,N,T-N,u),I=A=j=0,N=T;for(var B=0;B<286;++B)w[B]=0;for(var B=0;B<30;++B)k[B]=0}var H=2,$=0,U=d,W=M-F&32767;if(_>2&&L==b(T-W))for(var V=Math.min(p,_)-1,q=Math.min(32767,T),G=Math.min(258,_);W<=q&&--U&&M!=F;){if(e[T+H]==e[T+H-W]){for(var X=0;XH){if(H=X,$=W,X>V)break;for(var Z=Math.min(W,X-2),Q=0,B=0;BQ&&(Q=et,F=J)}}}F=m[M=F],W+=M-F&32767}if($){x[I++]=0x10000000|z[H]<<18|D[$];var en=31&z[H],er=31&D[$];j+=C[en]+P[er],++w[257+en],++k[er],R=T+H,++A}else x[I++]=e[T],++w[e[T]]}}for(T=Math.max(T,R);T=a&&(s[u/8|0]=c,el=a),u=ei(s,u+1,e.subarray(T,el))}o.i=a}return K(l,0,r+Y(u)+i)},ec=function(){var e=-1;return{p:function(t){for(var n=e,r=0;r>>8;e=n},d:function(){return~e}}},eu=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=0|n.length,a=0;a!=o;){for(var l=Math.min(a+2655,o);a>16),i=(65535&i)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},ef=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),a=new O(o.length+e.length);a.set(o),a.set(e,o.length),e=a,i.w=o.length}return es(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,r,i)},ep=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n},ed=function(e,t,n){for(var r=e(),i=e.toString(),o=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/\s+/g,"").split(","),a=0;a>>0},ek=function(e,t){return ew(e,t)+0x100000000*ew(e,t+4)},eO=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},eE=function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:2*(9==t.level),e[9]=3,0!=t.mtime&&eO(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}},eS=function(e){(31!=e[0]||139!=e[1]||8!=e[2])&&X(6,"invalid gzip data");var t=e[3],n=10;4&t&&(n+=(e[10]|e[11]<<8)+2);for(var r=(t>>3&1)+(t>>4&1);r>0;r-=!e[n++]);return n+(2&t)},eC=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},eP=function(e){return 10+(e.filename?e.filename.length+1:0)},eA=function(e,t){var n=t.level;if(e[0]=120,e[1]=(0==n?0:n<6?1:9==n?3:2)<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var r=eu();r.p(t.dictionary),eO(e,2,r.d())}},ej=function(e,t){return((15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&X(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&X(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function eT(e,t){return ef(e,t||{},0,0)}function eI(e,t){return Z(e,{i:2},t&&t.out,t&&t.dictionary)}var ez="undefined"!=typeof TextEncoder&&new TextEncoder,eR="undefined"!=typeof TextDecoder&&new TextDecoder;try{eR.decode(el,{stream:!0})}catch(e){}var eN=function(e){for(var t="",n=0;;){var r=e[n++],i=(r>127)+(r>223)+(r>239);if(n+i>e.length)return{s:t,r:K(e,n-1)};i?3==i?t+=String.fromCharCode(55296|(r=((15&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536)>>10,56320|1023&r):1&i?t+=String.fromCharCode((31&r)<<6|63&e[n++]):t+=String.fromCharCode((15&r)<<12|(63&e[n++])<<6|63&e[n++]):t+=String.fromCharCode(r)}},eD=function(e,t){for(;1!=ex(e,t);t+=4+ex(e,t+2));return[ek(e,t+12),ek(e,t+4),ek(e,t+20)]},eL=function(e){var t=0;if(e)for(var n in e){var r=e[n].length;r>65535&&X(9),t+=r+4}return t},eM=("function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout,n(81488));let eF={LocalFileHeader:0x4034b50,DataDescriptor:0x8074b50,CentralFileHeader:0x2014b50,EndOfCentralDirectory:0x6054b50},e_={get:e=>(o.get(e,6),{signature:l.get(e,0),compressedSize:l.get(e,8),uncompressedSize:l.get(e,12)}),len:16},eB={get(e){let t=o.get(e,6);return{signature:l.get(e,0),minVersion:o.get(e,4),dataDescriptor:!!(8&t),compressedMethod:o.get(e,8),compressedSize:l.get(e,18),uncompressedSize:l.get(e,22),filenameLength:o.get(e,26),extraFieldLength:o.get(e,28),filename:null}},len:30},eH={get:e=>({signature:l.get(e,0),nrOfThisDisk:o.get(e,4),nrOfThisDiskWithTheStart:o.get(e,6),nrOfEntriesOnThisDisk:o.get(e,8),nrOfEntriesOfSize:o.get(e,10),sizeOfCd:l.get(e,12),offsetOfStartOfCd:l.get(e,16),zipFileCommentLength:o.get(e,20)}),len:22},e$={get(e){let t=o.get(e,8);return{signature:l.get(e,0),minVersion:o.get(e,6),dataDescriptor:!!(8&t),compressedMethod:o.get(e,10),compressedSize:l.get(e,20),uncompressedSize:l.get(e,24),filenameLength:o.get(e,28),extraFieldLength:o.get(e,30),fileCommentLength:o.get(e,32),relativeOffsetOfLocalHeader:l.get(e,42),filename:null}},len:46};function eU(e){let t=new Uint8Array(l.len);return l.put(t,0,e),t}let eW=eM("tokenizer:inflate"),eV=eU(eF.DataDescriptor),eq=eU(eF.EndOfCentralDirectory);class eY{constructor(e){this.tokenizer=e,this.syncBuffer=new Uint8Array(262144)}async isZip(){return await this.peekSignature()===eF.LocalFileHeader}peekSignature(){return this.tokenizer.peekToken(l)}async findEndOfCentralDirectoryLocator(){let e=this.tokenizer,t=Math.min(16384,e.fileInfo.size),n=this.syncBuffer.subarray(0,t);await this.tokenizer.readBuffer(n,{position:e.fileInfo.size-t});for(let r=n.length-4;r>=0;r--)if(n[r]===eq[0]&&n[r+1]===eq[1]&&n[r+2]===eq[2]&&n[r+3]===eq[3])return e.fileInfo.size-t+r;return -1}async readCentralDirectory(){if(!this.tokenizer.supportsRandomAccess())return void eW("Cannot reading central-directory without random-read support");eW("Reading central-directory...");let e=this.tokenizer.position,t=await this.findEndOfCentralDirectoryLocator();if(t>0){eW("Central-directory 32-bit signature found");let n=await this.tokenizer.readToken(eH,t),r=[];this.tokenizer.setPosition(n.offsetOfStartOfCd);for(let e=0;en)return -1;for(let i=0;i<=n-r;i++){let n=!0;for(let o=0;o=0?n:t;if(i.handler){let t=new Uint8Array(r);await this.tokenizer.readBuffer(t),e.push(t)}else await this.tokenizer.ignore(r)}eW(`Found data-descriptor-signature at pos=${this.tokenizer.position}`),i.handler&&await this.inflate(r,function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(e),i.handler)}else i.handler?(eW(`Reading compressed-file-data: ${r.compressedSize} bytes`),t=new Uint8Array(r.compressedSize),await this.tokenizer.readBuffer(t),await this.inflate(r,t,i.handler)):(eW(`Ignoring compressed-file-data: ${r.compressedSize} bytes`),await this.tokenizer.ignore(r.compressedSize));if(eW(`Reading data-descriptor at pos=${this.tokenizer.position}`),r.dataDescriptor&&0x8074b50!==(await this.tokenizer.readToken(e_)).signature)throw Error(`Expected data-descriptor-signature at position ${this.tokenizer.position-e_.len}`)}while(!n)}async iterateOverCentralDirectory(e,t){for(let n of e){let e=t(n);if(e.handler){this.tokenizer.setPosition(n.relativeOffsetOfLocalHeader);let t=await this.readLocalFileHeader();if(t){await this.tokenizer.ignore(t.extraFieldLength);let r=new Uint8Array(n.compressedSize);await this.tokenizer.readBuffer(r),await this.inflate(t,r,e.handler)}}if(e.stop)break}}inflate(e,t,n){var r,i,o,a,l,s;if(0===e.compressedMethod)return n(t);return eW(`Decompress filename=${e.filename}, compressed-size=${t.length}`),n(31==t[0]&&139==t[1]&&8==t[2]?(o=void 0,(a=eS(i=t))+8>i.length&&X(6,"invalid gzip data"),Z(i.subarray(a,-8),{i:2},o&&o.out||new O(eC(i)),o&&o.dictionary)):(15&t[0])!=8||t[0]>>4>7||(t[0]<<8|t[1])%31?eI(t,r):(l=t,s=r,Z(l.subarray(ej(l,s&&s.dictionary),-4),{i:2},s&&s.out,s&&s.dictionary)))}async readLocalFileHeader(){let e=await this.tokenizer.peekToken(l);if(e===eF.LocalFileHeader){let e=await this.tokenizer.readToken(eB);return e.filename=await this.tokenizer.readToken(new f(e.filenameLength,"utf-8")),e}if(e===eF.CentralFileHeader)return!1;if(0xe011cfd0===e)throw Error("Encrypted ZIP");throw Error("Unexpected signature")}}let eK=Object.prototype.toString;new globalThis.TextDecoder("utf8");function eG(e){let{byteLength:t}=e;return 6===t?0x100000000*e.getUint16(0)+e.getUint32(2):5===t?0x100000000*e.getUint8(0)+e.getUint32(1):4===t?e.getUint32(0):3===t?65536*e.getUint8(0)+e.getUint16(1):2===t?e.getUint16(0):1===t?e.getUint8(0):void 0}new globalThis.TextEncoder,Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));let eX={get:(e,t)=>127&e[t+3]|e[t+2]<<7|e[t+1]<<14|e[t]<<21,len:4};async function eZ(e){return new e0().fromStream(e)}function eQ(e){switch(e){case"application/epub+zip":return{ext:"epub",mime:"application/epub+zip"};case"application/vnd.oasis.opendocument.text":return{ext:"odt",mime:"application/vnd.oasis.opendocument.text"};case"application/vnd.oasis.opendocument.text-template":return{ext:"ott",mime:"application/vnd.oasis.opendocument.text-template"};case"application/vnd.oasis.opendocument.spreadsheet":return{ext:"ods",mime:"application/vnd.oasis.opendocument.spreadsheet"};case"application/vnd.oasis.opendocument.spreadsheet-template":return{ext:"ots",mime:"application/vnd.oasis.opendocument.spreadsheet-template"};case"application/vnd.oasis.opendocument.presentation":return{ext:"odp",mime:"application/vnd.oasis.opendocument.presentation"};case"application/vnd.oasis.opendocument.presentation-template":return{ext:"otp",mime:"application/vnd.oasis.opendocument.presentation-template"};case"application/vnd.oasis.opendocument.graphics":return{ext:"odg",mime:"application/vnd.oasis.opendocument.graphics"};case"application/vnd.oasis.opendocument.graphics-template":return{ext:"otg",mime:"application/vnd.oasis.opendocument.graphics-template"};case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};case"application/vnd.ms-excel.sheet.macroEnabled":return{ext:"xlsm",mime:"application/vnd.ms-excel.sheet.macroEnabled.12"};case"application/vnd.openxmlformats-officedocument.spreadsheetml.template":return{ext:"xltx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.template"};case"application/vnd.ms-excel.template.macroEnabled":return{ext:"xltm",mime:"application/vnd.ms-excel.template.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return{ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};case"application/vnd.ms-word.document.macroEnabled":return{ext:"docm",mime:"application/vnd.ms-word.document.macroEnabled.12"};case"application/vnd.openxmlformats-officedocument.wordprocessingml.template":return{ext:"dotx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.template"};case"application/vnd.ms-word.template.macroEnabledTemplate":return{ext:"dotm",mime:"application/vnd.ms-word.template.macroEnabled.12"};case"application/vnd.openxmlformats-officedocument.presentationml.template":return{ext:"potx",mime:"application/vnd.openxmlformats-officedocument.presentationml.template"};case"application/vnd.ms-powerpoint.template.macroEnabled":return{ext:"potm",mime:"application/vnd.ms-powerpoint.template.macroEnabled.12"};case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return{ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"};case"application/vnd.ms-powerpoint.presentation.macroEnabled":return{ext:"pptm",mime:"application/vnd.ms-powerpoint.presentation.macroEnabled.12"};case"application/vnd.ms-visio.drawing":return{ext:"vsdx",mime:"application/vnd.visio"};case"application/vnd.ms-package.3dmanufacturing-3dmodel+xml":return{ext:"3mf",mime:"model/3mf"}}}function eJ(e,t,n){for(let[r,i]of(n={offset:0,...n},t.entries()))if(n.mask){if(i!==(n.mask[r]&e[r+n.offset]))return!1}else if(i!==e[r+n.offset])return!1;return!0}class e0{constructor(e){this.detectors=[...e?.customDetectors??[],{id:"core",detect:this.detectConfident},{id:"core.imprecise",detect:this.detectImprecise}],this.tokenizerOptions={abortSignal:e?.signal}}async fromTokenizer(e){let t=e.position;for(let n of this.detectors){let r=await n.detect(e);if(r)return r;if(t!==e.position)return}}async fromBuffer(e){if(!(e instanceof Uint8Array||e instanceof ArrayBuffer))throw TypeError(`Expected the \`input\` argument to be of type \`Uint8Array\` or \`ArrayBuffer\`, got \`${typeof e}\``);let t=e instanceof Uint8Array?e:new Uint8Array(e);if(t?.length>1)return this.fromTokenizer(new x(t,this.tokenizerOptions))}async fromBlob(e){return this.fromStream(e.stream())}async fromStream(e){let t=await function(e,t){let n=function(e){try{let t=e.getReader({mode:"byob"});if(t instanceof ReadableStreamDefaultReader)return new y(t);return new g(t)}catch(t){if(t instanceof TypeError)return new y(e.getReader());throw t}}(e),r=t??{},i=r.onClose;return r.onClose=async()=>{if(await n.close(),i)return i()},new b(n,r)}(e,this.tokenizerOptions);try{return await this.fromTokenizer(t)}finally{await t.close()}}async toDetectionStream(e,t){let n,r,{sampleSize:i=4100}=t,o=e.getReader({mode:"byob"});try{let{value:e,done:t}=await o.read(new Uint8Array(i));if(r=e,!t&&e)try{n=await this.fromBuffer(e.slice(0,i))}catch(e){if(!(e instanceof p))throw e;n=void 0}r=e}finally{o.releaseLock()}let a=new TransformStream({async start(e){e.enqueue(r)},transform(e,t){t.enqueue(e)}}),l=e.pipeThrough(a);return l.fileType=n,l}check(e,t){return eJ(this.buffer,e,t)}checkString(e,t){return this.check([...e].map(e=>e.charCodeAt(0)),t)}detectConfident=async e=>{if(this.buffer=new Uint8Array(4100),void 0===e.fileInfo.size&&(e.fileInfo.size=Number.MAX_SAFE_INTEGER),this.tokenizer=e,await e.peekBuffer(this.buffer,{length:12,mayBeLess:!0}),this.check([66,77]))return{ext:"bmp",mime:"image/bmp"};if(this.check([11,119]))return{ext:"ac3",mime:"audio/vnd.dolby.dd-raw"};if(this.check([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(this.check([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if(this.check([37,33]))return(await e.peekBuffer(this.buffer,{length:24,mayBeLess:!0}),this.checkString("PS-Adobe-",{offset:2})&&this.checkString(" EPSF-",{offset:14}))?{ext:"eps",mime:"application/eps"}:{ext:"ps",mime:"application/postscript"};if(this.check([31,160])||this.check([31,157]))return{ext:"Z",mime:"application/x-compress"};if(this.check([199,113]))return{ext:"cpio",mime:"application/x-cpio"};if(this.check([96,234]))return{ext:"arj",mime:"application/x-arj"};if(this.check([239,187,191]))return this.tokenizer.ignore(3),this.detectConfident(e);if(this.check([71,73,70]))return{ext:"gif",mime:"image/gif"};if(this.check([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(this.check([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(this.check([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(this.checkString("ID3")){await e.ignore(6);let t=await e.readToken(eX);return e.position+t>e.fileInfo.size?{ext:"mp3",mime:"audio/mpeg"}:(await e.ignore(t),this.fromTokenizer(e))}if(this.checkString("MP+"))return{ext:"mpc",mime:"audio/x-musepack"};if((67===this.buffer[0]||70===this.buffer[0])&&this.check([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(this.check([255,216,255]))return this.check([247],{offset:3})?{ext:"jls",mime:"image/jls"}:{ext:"jpg",mime:"image/jpeg"};if(this.check([79,98,106,1]))return{ext:"avro",mime:"application/avro"};if(this.checkString("FLIF"))return{ext:"flif",mime:"image/flif"};if(this.checkString("8BPS"))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(this.checkString("MPCK"))return{ext:"mpc",mime:"audio/x-musepack"};if(this.checkString("FORM"))return{ext:"aif",mime:"audio/aiff"};if(this.checkString("icns",{offset:0}))return{ext:"icns",mime:"image/icns"};if(this.check([80,75,3,4])){let t;return await new eY(e).unzip(e=>{switch(e.filename){case"META-INF/mozilla.rsa":return t={ext:"xpi",mime:"application/x-xpinstall"},{stop:!0};case"META-INF/MANIFEST.MF":return t={ext:"jar",mime:"application/java-archive"},{stop:!0};case"mimetype":return{async handler(e){t=eQ(new TextDecoder("utf-8").decode(e).trim())},stop:!0};case"[Content_Types].xml":return{async handler(e){let n=new TextDecoder("utf-8").decode(e),r=n.indexOf('.main+xml"');if(-1===r){let e="application/vnd.ms-package.3dmanufacturing-3dmodel+xml";n.includes(`ContentType="${e}"`)&&(t=eQ(e))}else{let e=(n=n.slice(0,Math.max(0,r))).lastIndexOf('"');t=eQ(n.slice(Math.max(0,e+1)))}},stop:!0};default:if(/classes\d*\.dex/.test(e.filename))return t={ext:"apk",mime:"application/vnd.android.package-archive"},{stop:!0};return{}}}),t??{ext:"zip",mime:"application/zip"}}if(this.checkString("OggS")){await e.ignore(28);let t=new Uint8Array(8);return(await e.readBuffer(t),eJ(t,[79,112,117,115,72,101,97,100]))?{ext:"opus",mime:"audio/ogg; codecs=opus"}:eJ(t,[128,116,104,101,111,114,97])?{ext:"ogv",mime:"video/ogg"}:eJ(t,[1,118,105,100,101,111,0])?{ext:"ogm",mime:"video/ogg"}:eJ(t,[127,70,76,65,67])?{ext:"oga",mime:"audio/ogg"}:eJ(t,[83,112,101,101,120,32,32])?{ext:"spx",mime:"audio/ogg"}:eJ(t,[1,118,111,114,98,105,115])?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"}}if(this.check([80,75])&&(3===this.buffer[2]||5===this.buffer[2]||7===this.buffer[2])&&(4===this.buffer[3]||6===this.buffer[3]||8===this.buffer[3]))return{ext:"zip",mime:"application/zip"};if(this.checkString("MThd"))return{ext:"mid",mime:"audio/midi"};if(this.checkString("wOFF")&&(this.check([0,1,0,0],{offset:4})||this.checkString("OTTO",{offset:4})))return{ext:"woff",mime:"font/woff"};if(this.checkString("wOF2")&&(this.check([0,1,0,0],{offset:4})||this.checkString("OTTO",{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(this.check([212,195,178,161])||this.check([161,178,195,212]))return{ext:"pcap",mime:"application/vnd.tcpdump.pcap"};if(this.checkString("DSD "))return{ext:"dsf",mime:"audio/x-dsf"};if(this.checkString("LZIP"))return{ext:"lz",mime:"application/x-lzip"};if(this.checkString("fLaC"))return{ext:"flac",mime:"audio/x-flac"};if(this.check([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(this.checkString("wvpk"))return{ext:"wv",mime:"audio/wavpack"};if(this.checkString("%PDF")){try{if(1350===await e.ignore(1350)){var t;let n=new Uint8Array(Math.min(0xa00000,e.fileInfo.size-1350));if(await e.readBuffer(n,{mayBeLess:!0}),t=new TextEncoder().encode("AIPrivateData"),-1!==function(e,t){let n=e.length,r=t.length;if(0===r||r>n)return -1;let i=n-r;for(let n=0;n<=i;n++){let i=!0;for(let o=0;o>=1;let o=new Uint8Array(r+1);return await e.readBuffer(o),o}async function r(){let e=await n(),t=await n();t[0]^=128>>t.length-1;let r=Math.min(6,t.length),i=new DataView(e.buffer),o=new DataView(t.buffer,t.length-r,r);return{id:eG(i),len:eG(o)}}async function o(t){for(;t>0;){let n=await r();if(17026===n.id)return(await e.readToken(new f(n.len))).replaceAll(/\00.*$/g,"");await e.ignore(n.len),--t}}let t=await r();switch(await o(t.len)){case"webm":return{ext:"webm",mime:"video/webm"};case"matroska":return{ext:"mkv",mime:"video/x-matroska"};default:return}}if(this.checkString("SQLi"))return{ext:"sqlite",mime:"application/x-sqlite3"};if(this.check([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(this.checkString("Cr24"))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(this.checkString("MSCF")||this.checkString("ISc("))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(this.check([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(this.check([197,208,211,198]))return{ext:"eps",mime:"application/eps"};if(this.check([40,181,47,253]))return{ext:"zst",mime:"application/zstd"};if(this.check([127,69,76,70]))return{ext:"elf",mime:"application/x-elf"};if(this.check([33,66,68,78]))return{ext:"pst",mime:"application/vnd.ms-outlook"};if(this.checkString("PAR1"))return{ext:"parquet",mime:"application/x-parquet"};if(this.check([207,250,237,254]))return{ext:"macho",mime:"application/x-mach-binary"};if(this.check([4,34,77,24]))return{ext:"lz4",mime:"application/x-lz4"};if(this.check([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(this.checkString("#!AMR"))return{ext:"amr",mime:"audio/amr"};if(this.checkString("{\\rtf"))return{ext:"rtf",mime:"application/rtf"};if(this.check([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(this.checkString("IMPM"))return{ext:"it",mime:"audio/x-it"};if(this.checkString("-lh0-",{offset:2})||this.checkString("-lh1-",{offset:2})||this.checkString("-lh2-",{offset:2})||this.checkString("-lh3-",{offset:2})||this.checkString("-lh4-",{offset:2})||this.checkString("-lh5-",{offset:2})||this.checkString("-lh6-",{offset:2})||this.checkString("-lh7-",{offset:2})||this.checkString("-lzs-",{offset:2})||this.checkString("-lz4-",{offset:2})||this.checkString("-lz5-",{offset:2})||this.checkString("-lhd-",{offset:2}))return{ext:"lzh",mime:"application/x-lzh-compressed"};if(this.check([0,0,1,186])){if(this.check([33],{offset:4,mask:[241]}))return{ext:"mpg",mime:"video/MP1S"};if(this.check([68],{offset:4,mask:[196]}))return{ext:"mpg",mime:"video/MP2P"}}if(this.checkString("ITSF"))return{ext:"chm",mime:"application/vnd.ms-htmlhelp"};if(this.check([202,254,186,190]))return{ext:"class",mime:"application/java-vm"};if(this.checkString("DRACO"))return{ext:"drc",mime:"application/vnd.google.draco"};if(this.check([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(this.checkString("=1e3&&e<=1050)return{ext:"dwg",mime:"image/vnd.dwg"}}if(this.checkString("070707"))return{ext:"cpio",mime:"application/x-cpio"};if(this.checkString("BLENDER"))return{ext:"blend",mime:"application/x-blender"};if(this.checkString("!"))return(await e.ignore(8),"debian-binary"===await e.readToken(new f(13,"ascii")))?{ext:"deb",mime:"application/x-deb"}:{ext:"ar",mime:"application/x-unix-archive"};if(this.checkString("WEBVTT")&&["\n","\r"," "," ","\0"].some(e=>this.checkString(e,{offset:6})))return{ext:"vtt",mime:"text/vtt"};if(this.check([137,80,78,71,13,10,26,10])){async function a(){return{length:await e.readToken(c),type:await e.readToken(new f(4,"latin1"))}}await e.ignore(8);do{let t=await a();if(t.length<0)return;switch(t.type){case"IDAT":return{ext:"png",mime:"image/png"};case"acTL":return{ext:"apng",mime:"image/apng"};default:await e.ignore(t.length+4)}}while(e.position+8=16){let e=new DataView(this.buffer.buffer).getUint32(12,!0);if(e>12&&this.buffer.length>=e+16)try{let t=new TextDecoder().decode(this.buffer.slice(16,e+16));if(JSON.parse(t).files)return{ext:"asar",mime:"application/x-asar"}}catch{}}return this.check([6,14,43,52,2,5,1,1,13,1,2,1,1,2])?{ext:"mxf",mime:"application/mxf"}:this.checkString("SCRM",{offset:44})?{ext:"s3m",mime:"audio/x-s3m"}:this.check([71])&&this.check([71],{offset:188})||this.check([71],{offset:4})&&this.check([71],{offset:196})?{ext:"mts",mime:"video/mp2t"}:this.check([66,79,79,75,77,79,66,73],{offset:60})?{ext:"mobi",mime:"application/x-mobipocket-ebook"}:this.check([68,73,67,77],{offset:128})?{ext:"dcm",mime:"application/dicom"}:this.check([76,0,0,0,1,20,2,0,0,0,0,0,192,0,0,0,0,0,0,70])?{ext:"lnk",mime:"application/x.ms.shortcut"}:this.check([98,111,111,107,0,0,0,0,109,97,114,107,0,0,0,0])?{ext:"alias",mime:"application/x.apple.alias"}:this.checkString("Kaydara FBX Binary \0")?{ext:"fbx",mime:"application/x.autodesk.fbx"}:this.check([76,80],{offset:34})&&(this.check([0,0,1],{offset:8})||this.check([1,0,2],{offset:8})||this.check([2,0,2],{offset:8}))?{ext:"eot",mime:"application/vnd.ms-fontobject"}:this.check([6,6,237,245,216,29,70,229,189,49,239,231,254,116,183,29])?{ext:"indd",mime:"application/x-indesign"}:(await e.peekBuffer(this.buffer,{length:Math.min(512,e.fileInfo.size),mayBeLess:!0}),function(e,t=0){let n=Number.parseInt(new f(6).get(e,148).replace(/\0.*$/,"").trim(),8);if(Number.isNaN(n))return!1;let r=256;for(let n=t;n{if(this.buffer=new Uint8Array(4100),await e.peekBuffer(this.buffer,{length:Math.min(8,e.fileInfo.size),mayBeLess:!0}),this.check([0,0,1,186])||this.check([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(this.check([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(this.check([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(this.check([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(this.buffer.length>=2&&this.check([255,224],{offset:0,mask:[255,224]})){if(this.check([16],{offset:1,mask:[22]}))return this.check([8],{offset:1,mask:[8]}),{ext:"aac",mime:"audio/aac"};if(this.check([2],{offset:1,mask:[6]}))return{ext:"mp3",mime:"audio/mpeg"};if(this.check([4],{offset:1,mask:[6]}))return{ext:"mp2",mime:"audio/mpeg"};if(this.check([6],{offset:1,mask:[6]}))return{ext:"mp1",mime:"audio/mpeg"}}};async readTiffTag(e){let t=await this.tokenizer.readToken(e?a:o);switch(this.tokenizer.ignore(10),t){case 50341:return{ext:"arw",mime:"image/x-sony-arw"};case 50706:return{ext:"dng",mime:"image/x-adobe-dng"}}}async readTiffIFD(e){let t=await this.tokenizer.readToken(e?a:o);for(let n=0;n=6){if(this.checkString("CR",{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(n>=8){let t=(e?a:o).get(this.buffer,8),n=(e?a:o).get(this.buffer,10);if(28===t&&254===n||31===t&&11===n)return{ext:"nef",mime:"image/x-nikon-nef"}}}return await this.tokenizer.ignore(n),await this.readTiffIFD(e)??{ext:"tif",mime:"image/tiff"}}if(43===t)return{ext:"tif",mime:"image/tiff"}}}},46978:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(55729),i=n(39084);function o(e){let t=(0,r.useRef)(null),n=(0,r.useRef)(null);return n.current&&n.current.update(e),(0,r.useEffect)(()=>(n.current=new(0,i.LC)({...e,ref:t}),()=>{n.current=null}),[]),r.createElement("div",{ref:t})}},47687:(e,t,n)=>{var r=n(12364),i=n(23356);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},48823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let r=n(14761),i=n(13514),o=n(6029),a=i._(n(55729)),l=i._(n(56760)),s=r._(n(97186)),c=n(3502),u=n(30377),f=n(78082);n(29028);let p=n(31996);function d(e){return"/"===e[0]?e.slice(1):e}let h="function"==typeof l.preload,m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},g=new Set,y="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",v=new Map([["default",function(e){var t;let{config:n,src:r,width:i,quality:o}=e,a=o||(null==(t=n.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)t>=i[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,i,l),f=c.length-1;return{sizes:l||"w"!==u?l:"100vw",srcSet:c.map((e,r)=>s({config:t,src:n,quality:a,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:a,width:c[f]})}}function w(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function k(e){var t;let n=(null==(t=e.config)?void 0:t.loader)||"default",r=v.get(n);if(r)return r(e);throw Object.defineProperty(Error('Unknown "loader" found in "next.config.js". Expected: '+c.VALID_LOADERS.join(", ")+". Received: "+n),"__NEXT_ERROR_CODE",{value:"E338",enumerable:!1,configurable:!0})}function O(e,t,n,r,i,o){e&&e.src!==y&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentNode&&(g.add(t),"blur"===r&&o(!0),null==i?void 0:i.current)){let{naturalWidth:t,naturalHeight:n}=e;i.current({naturalWidth:t,naturalHeight:n})}}))}let E=e=>{let{imgAttributes:t,heightInt:n,widthInt:r,qualityInt:i,layout:l,className:s,imgStyle:c,blurStyle:u,isLazy:f,placeholder:p,loading:d,srcString:h,config:m,unoptimized:g,loader:y,onLoadingCompleteRef:v,setBlurComplete:b,setIntersection:w,onLoad:k,onError:E,isVisible:S,noscriptSizes:C,...P}=e;return d=f?"lazy":d,(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{...P,...t,decoding:"async","data-nimg":l,className:s,style:{...c,...u},ref:(0,a.useCallback)(e=>{w(e),(null==e?void 0:e.complete)&&O(e,h,l,p,v,b)},[w,h,l,p,v,b]),onLoad:e=>{O(e.currentTarget,h,l,p,v,b),k&&k(e)},onError:e=>{"blur"===p&&b(!0),E&&E(e)}}),(f||"blur"===p)&&(0,o.jsx)("noscript",{children:(0,o.jsx)("img",{...P,loading:d,decoding:"async","data-nimg":l,style:c,className:s,...x({config:m,src:h,unoptimized:g,layout:l,width:r,quality:i,sizes:C,loader:y})})})]})};function S(e){var t;let n,{src:r,sizes:i,unoptimized:l=!1,priority:p=!1,loading:d,lazyRoot:v=null,lazyBoundary:O,className:S,quality:C,width:P,height:A,style:j,objectFit:T,objectPosition:I,onLoadingComplete:z,placeholder:R="empty",blurDataURL:N,...D}=e,L=(0,a.useContext)(f.ImageConfigContext),M=(0,a.useMemo)(()=>{var e;let t=m||L||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),r=t.deviceSizes.sort((e,t)=>e-t),i=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:n,deviceSizes:r,qualities:i}},[L]),F=i?"responsive":"intrinsic";"layout"in D&&(D.layout&&(F=D.layout),delete D.layout);let _=k;if("loader"in D){if(D.loader){let e=D.loader;_=t=>{let{config:n,...r}=t;return e(r)}}delete D.loader}let B="";if("object"==typeof(t=r)&&(b(t)||void 0!==t.src)){let e=b(r)?r.default:r;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(N=N||e.blurDataURL,B=e.src,(!F||"fill"!==F)&&(A=A||e.height,P=P||e.width,!e.height||!e.width))throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0})}let H=!p&&("lazy"===d||void 0===d);((r="string"==typeof r?r:B).startsWith("data:")||r.startsWith("blob:"))&&(l=!0,H=!1),g.has(r)&&(H=!1),M.unoptimized&&(l=!0);let[$,U]=(0,a.useState)(!1),[W,V,q]=(0,u.useIntersection)({rootRef:v,rootMargin:O||"200px",disabled:!H}),Y=!H||V,K={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},G={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},X=!1,Z=w(P),Q=w(A),J=w(C),ee=Object.assign({},j,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:T,objectPosition:I}),et="blur"!==R||$?{}:{backgroundSize:T||"cover",backgroundPosition:I||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'+N+'")'};if("fill"===F)K.display="block",K.position="absolute",K.top=0,K.left=0,K.bottom=0,K.right=0;else if(void 0!==Z&&void 0!==Q){let e=Q/Z,t=isNaN(e)?"100%":""+100*e+"%";"responsive"===F?(K.display="block",K.position="relative",X=!0,G.paddingTop=t):"intrinsic"===F?(K.display="inline-block",K.position="relative",K.maxWidth="100%",X=!0,G.maxWidth="100%",n="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27"+Z+"%27%20height=%27"+Q+"%27/%3e"):"fixed"===F&&(K.display="inline-block",K.position="relative",K.width=Z,K.height=Q)}let en={src:y,srcSet:void 0,sizes:void 0};Y&&(en=x({config:M,src:r,unoptimized:l,layout:F,width:Z,quality:J,sizes:i,loader:_}));let er=r,ei=h?void 0:{imageSrcSet:en.srcSet,imageSizes:en.sizes,crossOrigin:D.crossOrigin,referrerPolicy:D.referrerPolicy},eo=a.default.useLayoutEffect,ea=(0,a.useRef)(z),el=(0,a.useRef)(r);(0,a.useEffect)(()=>{ea.current=z},[z]),eo(()=>{el.current!==r&&(q(),el.current=r)},[q,r]);let es={isLazy:H,imgAttributes:en,heightInt:Q,widthInt:Z,qualityInt:J,layout:F,className:S,imgStyle:ee,blurStyle:et,loading:d,config:M,unoptimized:l,placeholder:R,loader:_,srcString:er,onLoadingCompleteRef:ea,setBlurComplete:U,setIntersection:W,isVisible:Y,noscriptSizes:i,...D};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("span",{style:K,children:[X?(0,o.jsx)("span",{style:G,children:n?(0,o.jsx)("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:n}):null}):null,(0,o.jsx)(E,{...es})]}),!h&&p?(0,o.jsx)(s.default,{children:(0,o.jsx)("link",{rel:"preload",as:"image",href:en.srcSet?void 0:en.src,...ei},"__nimg-"+en.src+en.srcSet+en.sizes)}):null]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49693:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55729),i=n(3512),o=n(639);let a=function(e){o.A&&!(0,i.Tn)(e)&&console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof e,'".')),(0,r.useEffect)(function(){null==e||e()},[])}},49914:(e,t,n)=>{"use strict";n.d(t,{W:()=>_});var r=n(55729),i=n(61946),o=n(94408),a=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))u.call(t,n)&&p(e,n,t[n]);if(c)for(var n of c(t))f.call(t,n)&&p(e,n,t[n]);return e},h=(e,t)=>l(e,s(t)),m=(e,t)=>{var n={};for(var r in e)u.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))0>t.indexOf(r)&&f.call(e,r)&&(n[r]=e[r]);return n};function g(e){var{size:t,value:n,offset:a,sum:l,thickness:s,root:c,color:u,lineRoundCaps:f,tooltip:p}=e,g=m(e,["size","value","offset","sum","thickness","root","color","lineRoundCaps","tooltip"]);let y=(0,i.xd)(),v=y.fn.themeColor(u||("dark"===y.colorScheme?"dark":"gray"),u?y.fn.primaryShade():"dark"===y.colorScheme?4:1,!1);return r.createElement(o.m.Floating,{disabled:!p,label:p},r.createElement("circle",d(h(d({},g),{fill:"none",strokeLinecap:f?"round":"butt",stroke:v}),function({size:e,thickness:t,sum:n,value:r,root:i,offset:o}){let a=(.9*e-2*t)/2,l=Math.PI*a*2/100,s=i?`${(100-n)*l}, ${n*l}`:`${r*l}, ${(100-r)*l}`;return{strokeWidth:t,cx:e/2,cy:e/2,r:a,transform:i?`scale(1, -1) translate(0, -${e})`:null,strokeDasharray:s,strokeDashoffset:i?0:o}}({sum:l,size:t,thickness:s,value:n,offset:a,root:c}))))}g.displayName="@mantine/core/Curve";var y=Object.defineProperty,v=Object.defineProperties,b=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,O=(e,t,n)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&O(e,n,t[n]);if(x)for(var n of x(t))k.call(t,n)&&O(e,n,t[n]);return e},S=(e,t)=>v(e,b(t)),C=(0,n(38169).r)({root:{position:"relative"},label:{position:"absolute",top:"50%",transform:"translateY(-50%)"}}),P=n(50433),A=Object.defineProperty,j=Object.defineProperties,T=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,N=(e,t,n)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||(t={}))z.call(t,n)&&N(e,n,t[n]);if(I)for(var n of I(t))R.call(t,n)&&N(e,n,t[n]);return e},L=(e,t)=>j(e,T(t)),M=(e,t)=>{var n={};for(var r in e)z.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&I)for(var r of I(e))0>t.indexOf(r)&&R.call(e,r)&&(n[r]=e[r]);return n};let F={size:120,thickness:12},_=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("RingProgress",F,e),{className:o,style:a,label:l,sections:s,size:c,thickness:u,classNames:f,styles:p,roundCaps:d,rootColor:h,unstyled:m}=n,y=M(n,["className","style","label","sections","size","thickness","classNames","styles","roundCaps","rootColor","unstyled"]),{classes:v,cx:b}=C(null,{classNames:f,styles:p,unstyled:m,name:"RingProgress"}),x=(function({size:e,thickness:t,sections:n,renderRoundedLineCaps:r,rootColor:i}){let o=n.reduce((e,t)=>e+t.value,0),a=(.9*e-2*t)/2*Math.PI*2,l=a,s=[],c=[];for(let e=0;e2){c.push(S(E({},s[0]),{lineRoundCaps:r})),c.push(S(E({},s[s.length-2]),{lineRoundCaps:r}));for(let e=1;e<=s.length-3;e+=1)c.push(S(E({},s[e]),{lineRoundCaps:!1}))}else c.push(S(E({},s[0]),{lineRoundCaps:r}));return c})({size:c,thickness:u,sections:s,renderRoundedLineCaps:d,rootColor:h}).map(({data:e,sum:t,root:n,lineRoundCaps:i,offset:o},a)=>r.createElement(g,L(D({},e),{key:a,size:c,thickness:u,sum:t,offset:o,color:null==e?void 0:e.color,root:n,lineRoundCaps:i})));return r.createElement(P.a,D({style:D({width:c,height:c},a),className:b(v.root,o),ref:t},y),r.createElement("svg",{width:c,height:c,style:{transform:"rotate(-90deg)"}},x),l&&r.createElement("div",{className:v.label,style:{right:2*u,left:2*u}},l))});_.displayName="@mantine/core/RingProgress"},53922:function(e,t,n){var r;!function(e,i,o){function a(e){var t=this,n="";t.next=function(){var e=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^(e^e<<1))|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,e===(0|e)?t.x=e:n+=e;for(var r=0;r>>4),t.next()}function l(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t.v=e.v,t.d=e.d,t}function s(e,t){var n=new a(e),r=t&&t.state,i=function(){return(n.next()>>>0)/0x100000000};return i.double=function(){do var e=((n.next()>>>11)+(n.next()>>>0)/0x100000000)/2097152;while(0===e);return e},i.int32=n.next,i.quick=i,r&&("object"==typeof r&&l(r,n),i.state=function(){return l(n,{})}),i}i&&i.exports?i.exports=s:n.amdD&&n.amdO?void 0===(r=(function(){return s}).call(t,n,t,i))||(i.exports=r):this.xorwow=s}(0,e=n.nmd(e),n.amdD)},54026:(e,t)=>{"use strict";t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(0===n.length)return!0;var r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t})}return!0}},54383:(e,t,n)=>{"use strict";n.d(t,{oz:()=>rR});var r={};n.r(r),n.d(r,{boolean:()=>v,booleanish:()=>b,commaOrSpaceSeparated:()=>E,commaSeparated:()=>O,number:()=>w,overloadedBoolean:()=>x,spaceSeparated:()=>k});var i={};n.r(i),n.d(i,{attentionMarkers:()=>tz,contentInitial:()=>tC,disable:()=>tR,document:()=>tS,flow:()=>tA,flowInitial:()=>tP,insideSpan:()=>tI,string:()=>tj,text:()=>tT});var o=n(6029);let a=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s={};function c(e,t){return((t||s).jsx?l:a).test(e)}let u=/[ \t\n\f\r]/g;function f(e){return"object"==typeof e?"text"===e.type&&p(e.value):p(e)}function p(e){return""===e.replace(u,"")}class d{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function h(e,t){let n={},r={},i=-1;for(;++i"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),I=j({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function z(e,t){return t in e?e[t]:t}function R(e,t){return z(e,t.toLowerCase())}let N=j({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:R,properties:{xmlns:null,xmlnsXLink:null}}),D=j({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:b,ariaAutoComplete:null,ariaBusy:b,ariaChecked:b,ariaColCount:w,ariaColIndex:w,ariaColSpan:w,ariaControls:k,ariaCurrent:null,ariaDescribedBy:k,ariaDetails:null,ariaDisabled:b,ariaDropEffect:k,ariaErrorMessage:null,ariaExpanded:b,ariaFlowTo:k,ariaGrabbed:b,ariaHasPopup:null,ariaHidden:b,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:k,ariaLevel:w,ariaLive:null,ariaModal:b,ariaMultiLine:b,ariaMultiSelectable:b,ariaOrientation:null,ariaOwns:k,ariaPlaceholder:null,ariaPosInSet:w,ariaPressed:b,ariaReadOnly:b,ariaRelevant:null,ariaRequired:b,ariaRoleDescription:k,ariaRowCount:w,ariaRowIndex:w,ariaRowSpan:w,ariaSelected:b,ariaSetSize:w,ariaSort:null,ariaValueMax:w,ariaValueMin:w,ariaValueNow:w,ariaValueText:null,role:null}}),L=j({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:R,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:O,acceptCharset:k,accessKey:k,action:null,allow:null,allowFullScreen:v,allowPaymentRequest:v,allowUserMedia:v,alt:null,as:null,async:v,autoCapitalize:null,autoComplete:k,autoFocus:v,autoPlay:v,blocking:k,capture:null,charSet:null,checked:v,cite:null,className:k,cols:w,colSpan:null,content:null,contentEditable:b,controls:v,controlsList:k,coords:w|O,crossOrigin:null,data:null,dateTime:null,decoding:null,default:v,defer:v,dir:null,dirName:null,disabled:v,download:x,draggable:b,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:v,formTarget:null,headers:k,height:w,hidden:v,high:w,href:null,hrefLang:null,htmlFor:k,httpEquiv:k,id:null,imageSizes:null,imageSrcSet:null,inert:v,inputMode:null,integrity:null,is:null,isMap:v,itemId:null,itemProp:k,itemRef:k,itemScope:v,itemType:k,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:v,low:w,manifest:null,max:null,maxLength:w,media:null,method:null,min:null,minLength:w,multiple:v,muted:v,name:null,nonce:null,noModule:v,noValidate:v,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:v,optimum:w,pattern:null,ping:k,placeholder:null,playsInline:v,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:v,referrerPolicy:null,rel:k,required:v,reversed:v,rows:w,rowSpan:w,sandbox:k,scope:null,scoped:v,seamless:v,selected:v,shadowRootClonable:v,shadowRootDelegatesFocus:v,shadowRootMode:null,shape:null,size:w,sizes:null,slot:null,span:w,spellCheck:b,src:null,srcDoc:null,srcLang:null,srcSet:null,start:w,step:null,style:null,tabIndex:w,target:null,title:null,translate:null,type:null,typeMustMatch:v,useMap:null,value:b,width:w,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:k,axis:null,background:null,bgColor:null,border:w,borderColor:null,bottomMargin:w,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:v,declare:v,event:null,face:null,frame:null,frameBorder:null,hSpace:w,leftMargin:w,link:null,longDesc:null,lowSrc:null,marginHeight:w,marginWidth:w,noResize:v,noHref:v,noShade:v,noWrap:v,object:null,profile:null,prompt:null,rev:null,rightMargin:w,rules:null,scheme:null,scrolling:b,standby:null,summary:null,text:null,topMargin:w,valueType:null,version:null,vAlign:null,vLink:null,vSpace:w,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:v,disableRemotePlayback:v,prefix:null,property:null,results:w,security:null,unselectable:null}}),M=j({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:z,properties:{about:E,accentHeight:w,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:w,amplitude:w,arabicForm:null,ascent:w,attributeName:null,attributeType:null,azimuth:w,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:w,by:null,calcMode:null,capHeight:w,className:k,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:w,diffuseConstant:w,direction:null,display:null,dur:null,divisor:w,dominantBaseline:null,download:v,dx:null,dy:null,edgeMode:null,editable:null,elevation:w,enableBackground:null,end:null,event:null,exponent:w,externalResourcesRequired:null,fill:null,fillOpacity:w,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:O,g2:O,glyphName:O,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:w,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:w,horizOriginX:w,horizOriginY:w,id:null,ideographic:w,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:w,k:w,k1:w,k2:w,k3:w,k4:w,kernelMatrix:E,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:w,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:w,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:w,overlineThickness:w,paintOrder:null,panose1:null,path:null,pathLength:w,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:k,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:w,pointsAtY:w,pointsAtZ:w,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:E,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:E,rev:E,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:E,requiredFeatures:E,requiredFonts:E,requiredFormats:E,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:w,specularExponent:w,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:w,strikethroughThickness:w,string:null,stroke:null,strokeDashArray:E,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:w,strokeOpacity:w,strokeWidth:null,style:null,surfaceScale:w,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:E,tabIndex:w,tableValues:null,target:null,targetX:w,targetY:w,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:E,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:w,underlineThickness:w,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:w,values:null,vAlphabetic:w,vMathematical:w,vectorEffect:null,vHanging:w,vIdeographic:w,version:null,vertAdvY:w,vertOriginX:w,vertOriginY:w,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:w,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),F=h([I,T,N,D,L],"html"),_=h([I,T,N,D,M],"svg"),B=/^data[-\w.:]+$/i,H=/-[a-z]/g,$=/[A-Z]/g;function U(e){return"-"+e.toLowerCase()}function W(e){return e.charAt(1).toUpperCase()}let V={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var q=n(20444);let Y=q.default||q,K=X("end"),G=X("start");function X(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Z(e){return e&&"object"==typeof e?"position"in e||"type"in e?J(e.position):"start"in e||"end"in e?J(e):"line"in e||"column"in e?Q(e):"":""}function Q(e){return ee(e&&e.line)+":"+ee(e&&e.column)}function J(e){return Q(e&&e.start)+"-"+Q(e&&e.end)}function ee(e){return e&&"number"==typeof e?e:1}class et extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=Z(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}et.prototype.file="",et.prototype.name="",et.prototype.reason="",et.prototype.message="",et.prototype.stack="",et.prototype.column=void 0,et.prototype.line=void 0,et.prototype.ancestors=void 0,et.prototype.cause=void 0,et.prototype.fatal=void 0,et.prototype.place=void 0,et.prototype.ruleId=void 0,et.prototype.source=void 0;let en={}.hasOwnProperty,er=new Map,ei=/[A-Z]/g,eo=/-([a-z])/g,ea=new Set(["table","tbody","thead","tfoot","tr"]),el=new Set(["td","th"]),es="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ec(e,t,n){var r;return"element"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(e.schema=_),e.ancestors.push(t);let o=ed(e,t.tagName,!1),a=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&en.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=m(t),r=t,i=g;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&B.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(H,W);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!H.test(e)){let n=e.replace($,U);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=P}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){let n={};try{Y(t,function(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(eo,em)),n[r]=t})}catch(t){if(!e.ignoreInvalidStyle){let n=new et("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=es+"#cannot-parse-style-attribute",n}}return n}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)en.call(e,t)&&(n[function(e){let t=e.replace(ei,eg);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?V[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,a]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&el.has(t.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),l=ep(e,t);return ea.has(t.tagName)&&(l=l.filter(function(e){return"string"!=typeof e||!f(e)})),eu(e,a,o,t),ef(a,l),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}eh(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.name&&"html"===r.space&&(e.schema=_),e.ancestors.push(t);let o=null===t.name?e.Fragment:ed(e,t.name,!0),a=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else eh(e,t.position);else{let i,o=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else eh(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),l=ep(e,t);return eu(e,a,o,t),ef(a,l),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eh(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return ef(r,ep(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?(r=0,t.value):void 0}function eu(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ef(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ep(e,t){let n=[],r=-1,i=e.passKeys?new Map:er;for(;++ro?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a0?(ew(e,e.length,0,t),e):t}class eO{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&eE(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),eE(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eE(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function eB(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return eL(r)?(e.enter(n),function r(a){return eL(a)&&o++r))return;let l=i.events.length,s=l;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){if(e){n=i.events[s][1].end;break}e=!0}for(g(a),o=l;ot;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eU={tokenize:function(e,t,n){return eB(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},eW={partial:!0,tokenize:function(e,t,n){return function(t){return eL(t)?eB(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eN(e)?t(e):n(e)}}},eV={resolve:function(e){return eS(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):eN(t)?e.check(eq,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eq={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eB(e,i,"linePrefix")};function i(i){if(null===i||eN(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},eY={tokenize:function(e){let t=this,n=e.attempt(eW,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,eB(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eV,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},eK={resolveAll:eQ()},eG=eZ("string"),eX=eZ("text");function eZ(e){return{resolveAll:eQ("text"===e?eJ:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return s(e)?i(e):a(e)}function a(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),l)}function l(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i=3&&(null===a||eN(a))?(e.exit("thematicBreak"),t(a)):n(a)}(a)}}},e1={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(eW,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,eB(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eL(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(e3,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,eB(e,e.attempt(e1,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:eI(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(e0,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eI(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(eW,r.interrupt?n:s,e.attempt(e2,u,c))}function s(e){return r.containerState.initialBlankLine=!0,o++,u(e)}function c(t){return eL(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},e2={partial:!0,tokenize:function(e,t,n){let r=this;return eB(e,function(e){let i=r.events[r.events.length-1];return!eL(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},e3={partial:!0,tokenize:function(e,t,n){let r=this;return eB(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},e5={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eL(t)?eB(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(e5,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return eL(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function e6(e,t,n,r,i,o,a,l,s){let c=s||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||eT(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(l),f(t)):null===t||60===t||eN(t)?n(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(i){return!u&&(null===i||41===i||eD(i))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(i)):u999||null===f||91===f||93===f&&!a||94===f&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):eN(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(t){return null===t||91===t||93===t||eN(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!eL(t)),92===t?f:u)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function e7(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l):n(t)};function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===a?(e.exit(o),l(a)):null===t?n(t):eN(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eB(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||eN(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function e8(e,t){let n;return function r(i){return eN(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eL(i)?eB(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function e9(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let te={partial:!0,tokenize:function(e,t,n){return function(t){return eD(t)?e8(e,r)(t):n(t)};function r(t){return e7(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eL(t)?eB(e,o,"whitespace")(t):o(t)}function o(e){return null===e||eN(e)?t(e):n(e)}}},tt={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),eB(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):eN(n)?e.attempt(tn,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eN(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},tn={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):eN(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):eB(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):eN(e)?i(e):n(e)}}},tr={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var a;let l,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){l="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||l)?(e.enter("setextHeadingLine"),r=t,a=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),eL(n)?eB(e,o,"lineSuffix")(n):o(n))}(a)):n(t)};function o(r){return null===r||eN(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},ti=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],to=["pre","script","style","textarea"],ta={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(eW,t,n)}}},tl={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eN(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},ts={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tc={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),eL(t)?eB(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=l?(e.exit("codeFencedFenceSequence"),eL(i)?eB(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||eN(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},a=0,l=0;return function(t){var o=t;let c=i.events[i.events.length-1];return a=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),eL(i)?eB(e,s,"whitespace")(i):s(i))}(o)};function s(o){return null===o||eN(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(ts,u,h)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eN(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):eL(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),eB(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function c(t){return null===t||eN(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eN(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(o,h,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return a>0&&eL(t)?eB(e,d,"linePrefix",a+1)(t):d(t)}function d(t){return null===t||eN(t)?e.check(ts,u,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eN(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},tu=document.createElement("i");function tf(e){let t="&"+e+";";tu.innerHTML=t;let n=tu.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tp={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=eA,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=ez,c):(e.enter("characterReferenceValue"),r=7,i=eI,c(t))}function c(l){if(59===l&&a){let r=e.exit("characterReferenceValue");return i!==eA||tf(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let f={...e[n][1].end},p={...e[u][1].start};tO(f,-l),tO(p,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},a={type:l>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:l>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[n][1].end={...o.start},e[u][1].start={...a.end},s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=ek(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=ek(s,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),s=ek(s,tm(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=ek(s,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=ek(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,ew(e,n-1,u-n+3,s),u=n+s.length-c-2;break}}for(u=-1;++uo&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},ew(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||eD(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||eN(r)?(e.exit("atxHeading"),t(r)):eL(r)?eB(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eD(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:e0,45:[tr,e0],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,a,l,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),i=!0,d):63===a?(e.consume(a),r=3,s.interrupt?t:z):eP(a)?(e.consume(a),o=String.fromCharCode(a),h):n(a)}function u(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,a=0,p):eP(i)?(e.consume(i),r=4,s.interrupt?t:z):n(i)}function f(r){return 45===r?(e.consume(r),s.interrupt?t:z):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?s.interrupt?t:E:p:n(r)}function d(t){return eP(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(a){if(null===a||47===a||62===a||eD(a)){let l=47===a,c=o.toLowerCase();return!l&&!i&&to.includes(c)?(r=1,s.interrupt?t(a):E(a)):ti.includes(o.toLowerCase())?(r=6,l)?(e.consume(a),m):s.interrupt?t(a):E(a):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(a):i?function t(n){return eL(n)?(e.consume(n),t):k(n)}(a):g(a))}return 45===a||eA(a)?(e.consume(a),o+=String.fromCharCode(a),h):n(a)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:E):n(r)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||eP(t)?(e.consume(t),y):eL(t)?(e.consume(t),g):k(t)}function y(t){return 45===t||46===t||58===t||95===t||eA(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):eL(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,x):eL(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||eD(n)?v(n):(e.consume(n),t)}(t)}function x(t){return t===l?(e.consume(t),l=null,w):null===t||eN(t)?n(t):(e.consume(t),x)}function w(e){return 47===e||62===e||eL(e)?g(e):n(e)}function k(t){return 62===t?(e.consume(t),O):n(t)}function O(t){return null===t||eN(t)?E(t):eL(t)?(e.consume(t),O):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),A):60===t&&1===r?(e.consume(t),j):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),z):93===t&&5===r?(e.consume(t),I):eN(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ta,N,S)(t)):null===t||eN(t)?(e.exit("htmlFlowData"),S(t)):(e.consume(t),E)}function S(t){return e.check(tl,C,N)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||eN(t)?S(t):(e.enter("htmlFlowData"),E(t))}function A(t){return 45===t?(e.consume(t),z):E(t)}function j(t){return 47===t?(e.consume(t),o="",T):E(t)}function T(t){if(62===t){let n=o.toLowerCase();return to.includes(n)?(e.consume(t),R):E(t)}return eP(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),T):E(t)}function I(t){return 93===t?(e.consume(t),z):E(t)}function z(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),z):E(t)}function R(t){return null===t||eN(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),R)}function N(n){return e.exit("htmlFlow"),t(n)}}},61:tr,95:e0,96:tc,126:tc},tj={38:tp,92:td},tT={[-5]:th,[-4]:th,[-3]:th,33:tx,38:tp,42:tk,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return eP(t)?(e.consume(t),o):64===t?n(t):l(t)}function o(t){return 43===t||45===t||46===t||eA(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||eA(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||eT(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),s):ej(t)?(e.consume(t),l):n(t)}function s(i){return eA(i)?function i(o){return 46===o?(e.consume(o),r=0,s):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||eA(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),x):63===t?(e.consume(t),v):eP(t)?(e.consume(t),k):n(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,d):eP(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),f):eN(t)?(o=u,T(t)):(e.consume(t),u)}function f(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?j(e):45===e?f(e):u(e)}function d(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:d):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):eN(t)?(o=h,T(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?j(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?j(t):eN(t)?(o=y,T(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):eN(t)?(o=v,T(t)):(e.consume(t),v)}function b(e){return 62===e?j(e):v(e)}function x(t){return eP(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||eA(t)?(e.consume(t),w):function t(n){return eN(n)?(o=t,T(n)):eL(n)?(e.consume(n),t):j(n)}(t)}function k(t){return 45===t||eA(t)?(e.consume(t),k):47===t||62===t||eD(t)?O(t):n(t)}function O(t){return 47===t?(e.consume(t),j):58===t||95===t||eP(t)?(e.consume(t),E):eN(t)?(o=O,T(t)):eL(t)?(e.consume(t),O):j(t)}function E(t){return 45===t||46===t||58===t||95===t||eA(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),S):eN(n)?(o=t,T(n)):eL(n)?(e.consume(n),t):O(n)}(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):eN(t)?(o=S,T(t)):eL(t)?(e.consume(t),S):(e.consume(t),P)}function C(t){return t===r?(e.consume(t),r=void 0,A):null===t?n(t):eN(t)?(o=C,T(t)):(e.consume(t),C)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||eD(t)?O(t):(e.consume(t),P)}function A(e){return 47===e||62===e||eD(e)?O(e):n(e)}function j(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function T(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return eL(t)?eB(e,z,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):z(t)}function z(t){return e.enter("htmlTextData"),o(t)}}}],91:tE,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eN(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},td],93:tg,95:tk,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tM(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tD(n.slice(t?2:1),t?16:10)}return tf(n)||e}let tF={}.hasOwnProperty;function t_(e){return{line:e.line,column:e.column,offset:e.offset}}function tB(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+Z({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Z({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+Z({start:t.start,end:t.end})+") is still open")}function tH(e){let t=this;t.parser=function(n){var r,o;let a,l,s,c;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:c,htmlText:r(g,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tD(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tf(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=t_(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e9(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(f),hardBreakTrailing:a(f),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tL,tM),n.identifier=e9(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=t_(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e9(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};!function e(t,n){let r=-1;for(;++r0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||tB).call(a,void 0,e[0])}for(r.position={start:t_(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:t_(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function d(e,t){t.restore()}function h(e,t){return function(n,i,o){var a;let u,f,d,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(a=n,function(e){let t=null!==e&&a[e],n=null!==e&&a.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(u=e,f=0,0===e.length)?o:y(e[f])}function y(e){return function(n){return(h=function(){let e=p(),t=c.previous,n=c.currentConstruct,i=c.events.length,o=Array.from(l);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,l=o,g()}}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,v,b)(n)}}function v(t){return e(d,h),i}function b(e){return(h.restore(),++f{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[o,a]=t[i];switch(o){case 0:case -1:return n(a,i);case 1:{let e=n([],i);for(let t of a)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),i);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of a)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of a)e.add(r(t));return e}case 7:{let{name:e,message:t}=a;return n(new t$[e](t),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new t$[o](a),i)};return r},tW=e=>tU(new Map,e)(0),{toString:tV}={},{keys:tq}=Object,tY=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tV.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tK=([e,t])=>0===e&&("function"===t||"symbol"===t),tG=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,l]=tY(r);switch(a){case 0:{let t=r;switch(l){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+l);t=null;break;case"undefined":return i([-1],r)}return i([a,t],r)}case 1:{if(l){let e=r;return"DataView"===l?e=new Uint8Array(r.buffer):"ArrayBuffer"===l&&(e=new Uint8Array(r)),i([l,[...e]],r)}let e=[],t=i([a,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(l)switch(l){case"BigInt":return i([l,r.toString()],r);case"Boolean":case"Number":case"String":return i([l,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let n=[],s=i([a,n],r);for(let t of tq(r))(e||!tK(tY(r[t])))&&n.push([o(t),o(r[t])]);return s}case 3:return i([a,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([a,{source:e,flags:t}],r)}case 5:{let t=[],n=i([a,t],r);for(let[n,i]of r)(e||!(tK(tY(n))||tK(tY(i))))&&t.push([o(n),o(i)]);return n}case 6:{let t=[],n=i([a,t],r);for(let n of r)(e||!tK(tY(n)))&&t.push(o(n));return n}}let{message:s}=r;return i([a,{name:l,message:s}],r)};return o},tX=(e,{json:t,lossy:n}={})=>{let r=[];return tG(!(t||n),!!t,new Map,r)(e),r},tZ="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tW(tX(e,t)):structuredClone(e):(e,t)=>tW(tX(e,t));function tQ(e){let t=[],n=-1,r=0,i=0;for(;++n55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function tJ(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function t0(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let t1=function(e){var t,n;if(null==e)return t3;if("function"==typeof e)return t2(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return u;function u(){var c;let u,f,p,d=t5;if((!t||o(i,l,s[s.length-1]||void 0))&&!1===(d=Array.isArray(c=n(i,s))?c:"number"==typeof c?[!0,c]:null==c?t5:[c])[0])return d;if("children"in i&&i.children&&i.children&&"skip"!==d[0])for(f=(r?i.children.length:-1)+a,p=s.concat(i);f>-1&&f1:t}function t9(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let ne={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=tQ(i.toLowerCase()),a=e.footnoteOrder.indexOf(i),l=e.footnoteCounts.get(i);void 0===l?(l=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=a+1,l+=1,e.footnoteCounts.set(i,l);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return t7(e,t);let i={src:tQ(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:tQ(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return t7(e,t);let i={href:tQ(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:tQ(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=G(t.children[1]),a=K(t.children[t.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,l=-1,s=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(t9(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:nt,yaml:nt,definition:nt,footnoteDefinition:nt};function nt(){}let nn={}.hasOwnProperty,nr={};function ni(e,t){e.position&&(t.position=function(e){let t=G(e),n=K(e);if(t&&n)return{start:t,end:n}}(e))}function no(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,tZ(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function na(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function nl(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ns(e,t){let n=function(e,t){let n=t||nr,r=new Map,i=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,u);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let d=o[o.length-1];if(d&&"element"===d.type&&"p"===d.tagName){let e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...f)}else o.push(...f);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(o,!0)};e.patch(i,h),l.push(h)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...tZ(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function nc(e,t){return e&&"run"in e?async function(n,r){let i=ns(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ns(n,{file:r,...e||t})}}function nu(e){if(e)throw e}var nf=n(28392);function np(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let nd={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');nh(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),l>-1&&(e.codePointAt(o)===t.codePointAt(l--)?l<0&&(i=o):(l=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(nh(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;nh(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let l=e.codePointAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=s,l=0;continue}}else if(i.length>0){i="",o=0,a=s,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),o=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function nh(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let nm={cwd:function(){return"/"}};function ng(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let ny=["history","path","basename","stem","extname","dirname"];class nv{constructor(e){let t,n;t=e?ng(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":nm.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++rt.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(l,i)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new nE,t=-1;for(;++t0){let[r,...o]=t,a=n[i][1];np(a)&&np(r)&&(r=nf(!0,a,r)),n[i]=[e,r,...o]}}}}let nS=new nE().freeze();function nC(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nP(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nA(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nj(e){if(!np(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nT(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nI(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new nv(e)}let nz=[],nR={allowDangerousHtml:!0},nN=/^(https?|ircs?|mailto|xmpp)$/i,nD=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nL(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,a=e.components,l=e.disallowedElements,s=e.rehypePlugins||nz,c=e.remarkPlugins||nz,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...nR}:nR,f=e.skipHtml,p=e.unwrapDisallowed,d=e.urlTransform||nM,h=nS().use(tH).use(c).use(nc,u).use(s),m=new nv;for(let t of("string"==typeof r&&(m.value=r),nD))Object.hasOwn(e,t.from)&&(t.from,t.to&&t.to,t.id);let g=h.parse(m),y=h.runSync(g,m);return i&&(y={type:"element",tagName:"div",properties:{className:i},children:"root"===y.type?y.children:[y]}),t4(y,function(e,r,i){if("raw"===e.type&&i&&"number"==typeof r)return f?i.children.splice(r,1):i.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in ey)if(Object.hasOwn(ey,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ey[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let o=t?!t.includes(e.tagName):!!l&&l.includes(e.tagName);if(!o&&n&&"number"==typeof r&&(o=!n(e,r,i)),o&&i&&"number"==typeof r)return p&&e.children?i.children.splice(r,1,...e.children):i.children.splice(r,1),r}}),function(e,t){var n,r,i,o,a;let l;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=s,r=t.jsxDEV,l=function(e,t,i,o){let a=Array.isArray(i.children),l=G(e);return r(t,i,o,a,{columnNumber:l?l.column-1:void 0,fileName:n,lineNumber:l?l.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=0,o=t.jsx,a=t.jsxs,l=function(e,t,n,r){let i=Array.isArray(n.children)?a:o;return r?i(t,n,r):i(t,n)}}let c={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?_:F,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=ec(c,e,void 0);return u&&"string"!=typeof u?u:c.create(e,c.Fragment,{children:u||void 0},void 0)}(y,{Fragment:o.Fragment,components:a,ignoreInvalidStyle:!0,jsx:o.jsx,jsxs:o.jsxs,passKeys:!0,passNode:!0})}function nM(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||nN.test(e.slice(0,t))?e:""}let nF=function(e,t,n,r,i){let o=n_(t);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw Error("Expected positive finite `index`");if(null!=r&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(null==n!=(null==r))throw Error("Expected both `index` and `parent`");return!!n$(e)&&o.call(i,e,n,r)},n_=function(e){if(null==e)return nH;if("string"==typeof e){var t;return t=e,nB(function(e){return e.tagName===t})}if("object"==typeof e){var n=e;let t=[],r=-1;for(;++r0&&(e.properties.rel=[...o]),a&&(e.properties.target=a),r){let n=nG(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:tZ(n),children:tZ(r)})}}}})}}function nG(e,t){return"function"==typeof e?e(t):e}function nX(e,t,n){let r=t1((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(l!==n&&u.push({type:"text",value:e.value.slice(l,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),l=n+f[0].length,c=!0),!r.global)break;f=r.exec(e.value)}return c?(l0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function ri(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n7[43]=n4,n7[45]=n4,n7[46]=n4,n7[95]=n4,n7[72]=[n4,n6],n7[104]=[n4,n6],n7[87]=[n4,n5],n7[119]=[n4,n5];let ro="phrasing",ra=["autolink","link","image","label"];function rl(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function rs(e){this.config.enter.autolinkProtocol.call(this,e)}function rc(e){this.config.exit.autolinkProtocol.call(this,e)}function ru(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function rf(e){this.config.exit.autolinkEmail.call(this,e)}function rp(e){this.exit(e)}function rd(e){nX(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,rh],[RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),rm]],{ignore:["link","linkReference"]})}function rh(e,t,n,r,i){let o="";if(!rg(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let a=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=ri(e,"("),o=ri(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;let l={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function rm(e,t,n,r){return!(!rg(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function rg(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||eF(n)||eM(n))&&(!t||47!==n)}let ry=n_(function(e){return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName}),rv=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],rb=["button","input","select","textarea"],rx=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],rw={},rk=t1(["comment","doctype"]);function rO(e){return ry(e)||nF(e,rb)}function rE(e){return" "===e||"\n"===e}function rS(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function rC(){return" "}function rP(e){return function(t){var n;!function e(t,n){if("children"in t){let r={...n};return("root"===t.type||nF(t,rv))&&(r.before=!0,r.after=!0),r.whitespace=function(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}(t,n),function(t,n){let r=n.before,i=n.after,o=t.children,a=o.length,l=-1;for(;++lt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(e,["children","allowedConstructs"]);return"string"==typeof t&&(t=t.replace(/\*{4,}|_{4,}/g,function(e){return e.split("").map(function(e){return"\\".concat(e)}).join("")})),(0,o.jsx)(nL,rA({remarkPlugins:[[rI,{allow:n}],rz,nQ],rehypePlugins:[[nK,{target:"_blank",rel:["noreferrer"]}],rP]},r,{children:t}))}},55272:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var r,i,o,a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},56121:(e,t,n)=>{e.exports=n(61847)()},57857:function(e,t,n){var r;!function(e,i,o){function a(e){var t,n=this,r=(t=0xefc8249d,function(e){e=String(e);for(var n=0;n>>0,r-=t,r*=t,t=r>>>0,r-=t,t+=0x100000000*r}return(t>>>0)*23283064365386963e-26});n.next=function(){var e=2091639*n.s0+23283064365386963e-26*n.c;return n.s0=n.s1,n.s1=n.s2,n.s2=e-(n.c=0|e)},n.c=1,n.s0=r(" "),n.s1=r(" "),n.s2=r(" "),n.s0-=r(e),n.s0<0&&(n.s0+=1),n.s1-=r(e),n.s1<0&&(n.s1+=1),n.s2-=r(e),n.s2<0&&(n.s2+=1)}function l(e,t){return t.c=e.c,t.s0=e.s0,t.s1=e.s1,t.s2=e.s2,t}function s(e,t){var n=new a(e),r=t&&t.state,i=n.next;return i.int32=function(){return 0x100000000*n.next()|0},i.double=function(){return i()+(2097152*i()|0)*11102230246251565e-32},i.quick=i,r&&("object"==typeof r&&l(r,n),i.state=function(){return l(n,{})}),i}i&&i.exports?i.exports=s:n.amdD&&n.amdO?void 0===(r=(function(){return s}).call(t,n,t,i))||(i.exports=r):this.alea=s}(0,e=n.nmd(e),n.amdD)},57864:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r=n(55729),i=n(38496);let o=()=>"mantine-".concat(Math.random().toString(36).slice(2,11)),a=r["useId".toString()]||(()=>void 0);function l(e){return"string"==typeof e?e:function(){let e=a();return e?"mantine-".concat(e.replace(/:/g,"")):""}()||function(){let[e,t]=(0,r.useState)("");return(0,i.o)(()=>{t(o())},[]),e}()}},58393:(e,t,n)=>{"use strict";n.d(t,{o:()=>g});var r=n(55729),i=n(61946),o=n(98863),a=n(51663),l=n(50433),s=Object.defineProperty,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))u.call(t,n)&&p(e,n,t[n]);if(c)for(var n of c(t))f.call(t,n)&&p(e,n,t[n]);return e},h=(e,t)=>{var n={};for(var r in e)u.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))0>t.indexOf(r)&&f.call(e,r)&&(n[r]=e[r]);return n};let m=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Center",{},e),{inline:a,sx:s}=n,c=h(n,["inline","sx"]);return r.createElement(l.a,d({ref:t,sx:[{display:a?"inline-flex":"flex",alignItems:"center",justifyContent:"center"},...(0,o.n)(s)]},c))});m.displayName="@mantine/core/Center";let g=(0,a.K)(m)},58555:(e,t,n)=>{"use strict";n.d(t,{F:()=>P});var r=n(55729),i=n(61946),o=n(57864),a=n(38169),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&d(e,n,t[n]);if(u)for(var n of u(t))p.call(t,n)&&d(e,n,t[n]);return e},m=(e,t)=>s(e,c(t)),g=(0,a.r)((e,{color:t,radius:n,variant:r})=>({root:h(m(h({},e.fn.fontStyles()),{position:"relative",overflow:"hidden",padding:`${e.spacing.sm}px ${e.spacing.md}px`,borderRadius:e.fn.radius(n),border:"1px solid transparent"}),function({variant:e,color:t,theme:n}){if("filled"===e)return{backgroundColor:n.fn.variant({variant:"filled",color:t}).background,color:n.white};if("outline"===e){let e=n.fn.variant({variant:"outline",color:t});return{color:e.color,borderColor:e.border,backgroundColor:"dark"===n.colorScheme?n.colors.dark[6]:n.white}}let r=n.fn.variant({variant:"light",color:t});return{backgroundColor:r.background,color:r.color}}({variant:r,color:t,theme:e})),wrapper:{display:"flex"},body:{flex:1},title:{boxSizing:"border-box",margin:0,marginBottom:7,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:20,height:20,display:"flex",alignItems:"center",justifyContent:"flex-start",marginRight:e.spacing.md,marginTop:1},message:m(h({},e.fn.fontStyles()),{lineHeight:e.lineHeight,textOverflow:"ellipsis",overflow:"hidden",fontSize:e.fontSizes.sm,color:"filled"===r?e.white:"dark"===e.colorScheme?"light"===r?e.white:e.colors.dark[0]:e.black}),closeButton:{position:"absolute",top:e.spacing.sm,right:e.spacing.sm,color:"inherit"}})),y=n(50433),v=n(45003),b=Object.defineProperty,x=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,O=(e,t,n)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&O(e,n,t[n]);if(x)for(var n of x(t))k.call(t,n)&&O(e,n,t[n]);return e},S=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&x)for(var r of x(e))0>t.indexOf(r)&&k.call(e,r)&&(n[r]=e[r]);return n};let C={variant:"light"},P=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Alert",C,e),{id:a,className:l,title:s,variant:c,children:u,color:f,classNames:p,icon:d,styles:h,onClose:m,radius:b,withCloseButton:x,closeButtonLabel:w,unstyled:k}=n,O=S(n,["id","className","title","variant","children","color","classNames","icon","styles","onClose","radius","withCloseButton","closeButtonLabel","unstyled"]),{classes:P,cx:A}=g({color:f,radius:b,variant:c},{classNames:p,styles:h,unstyled:k,name:"Alert"}),j=(0,o.B)(a),T=s&&`${j}-title`,I=`${j}-body`;return r.createElement(y.a,E({id:j,role:"alert","aria-labelledby":T,"aria-describedby":I,className:A(P.root,P[c],l),ref:t},O),r.createElement("div",{className:P.wrapper},d&&r.createElement("div",{className:P.icon},d),r.createElement("div",{className:P.body},s&&r.createElement("div",{className:P.title,"data-with-close-button":x||void 0},r.createElement("span",{id:T,className:P.label},s)),x&&r.createElement(v.J,{className:P.closeButton,onClick:m,variant:"transparent",size:16,iconSize:16,"aria-label":w}),r.createElement("div",{id:I,className:P.message},u))))});P.displayName="@mantine/core/Alert"},58597:(e,t,n)=>{"use strict";n.d(t,{VB:()=>et});var r=n(55729),i=n(56121),o=n.n(i);function a(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})}function l(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function c(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var p=[".DS_Store","Thumbs.db"];function d(e){return"object"==typeof e&&null!==e}function h(e){return e.filter(function(e){return -1===p.indexOf(e.name)})}function m(e){if(null===e)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);nn)return[!1,j(n)];if(e.sizen)return[!1,j(n)]}return[!0,null]}function N(e){return null!=e}function D(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function L(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function M(e){e.preventDefault()}function F(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),i=1;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Q=(0,r.forwardRef)(function(e,t){var n=e.children,i=et(Z(e,H)),o=i.open,a=Z(i,$);return(0,r.useImperativeHandle)(t,function(){return{open:o}},[o]),r.createElement(r.Fragment,null,n(G(G({},a),{},{open:o})))});Q.displayName="Dropzone";var J={disabled:!1,getFilesFromEvent:function(e){return a(this,void 0,void 0,function(){return l(this,function(t){var n;if(d(e)&&d(e.dataTransfer))return[2,function(e,t){return a(this,void 0,void 0,function(){var n;return l(this,function(r){switch(r.label){case 0:if(!e.items)return[3,2];if(n=m(e.items).filter(function(e){return"file"===e.kind}),"drop"!==t)return[2,n];return[4,Promise.all(n.map(g))];case 1:return[2,h(function e(t){return t.reduce(function(t,n){return c(c([],s(t),!1),s(Array.isArray(n)?e(n):[n]),!1)},[])}(r.sent()))];case 2:return[2,h(m(e.files).map(function(e){return f(e)}))]}})})}(e.dataTransfer,e.type)];if(d(n=e)&&d(n.target))return[2,m(e.target.files).map(function(e){return f(e)})];return Array.isArray(e)&&e.every(function(e){return"getFile"in e&&"function"==typeof e.getFile})?[2,function(e){return a(this,void 0,void 0,function(){return l(this,function(t){switch(t.label){case 0:return[4,Promise.all(e.map(function(e){return e.getFile()}))];case 1:return[2,t.sent().map(function(e){return f(e)})]}})})}(e)]:[2,[]]})})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};Q.defaultProps=J,Q.propTypes={children:o().func,accept:o().objectOf(o().arrayOf(o().string)),multiple:o().bool,preventDropOnDocument:o().bool,noClick:o().bool,noKeyboard:o().bool,noDrag:o().bool,noDragEventsBubbling:o().bool,minSize:o().number,maxSize:o().number,maxFiles:o().number,disabled:o().bool,getFilesFromEvent:o().func,onFileDialogCancel:o().func,onFileDialogOpen:o().func,useFsAccessApi:o().bool,autoFocus:o().bool,onDragEnter:o().func,onDragLeave:o().func,onDragOver:o().func,onDrop:o().func,onDropAccepted:o().func,onDropRejected:o().func,onError:o().func,validator:o().func};var ee={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=G(G({},J),e),n=t.accept,i=t.disabled,o=t.getFilesFromEvent,a=t.maxSize,l=t.minSize,s=t.multiple,c=t.maxFiles,u=t.onDragEnter,f=t.onDragLeave,p=t.onDragOver,d=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,v=t.useFsAccessApi,b=t.autoFocus,x=t.preventDropOnDocument,k=t.noClick,C=t.noKeyboard,P=t.noDrag,A=t.noDragEventsBubbling,j=t.onError,T=t.validator,H=(0,r.useMemo)(function(){return N(n)?Object.entries(n).reduce(function(e,t){var n=S(t,2),r=n[0],i=n[1];return[].concat(w(e),[r],w(i))},[]).filter(function(e){return _(e)||B(e)}).join(","):void 0},[n]),$=(0,r.useMemo)(function(){return N(n)?[{description:"Files",accept:Object.entries(n).filter(function(e){var t=S(e,2),n=t[0],r=t[1],i=!0;return _(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),i=!1),Array.isArray(r)&&r.every(B)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),i=!1),i}).reduce(function(e,t){var n=S(t,2),r=n[0],i=n[1];return O(O({},e),{},E({},r,i))},{})}]:n},[n]),K=(0,r.useMemo)(function(){return"function"==typeof y?y:er},[y]),Q=(0,r.useMemo)(function(){return"function"==typeof g?g:er},[g]),et=(0,r.useRef)(null),ei=(0,r.useRef)(null),eo=V((0,r.useReducer)(en,ee),2),ea=eo[0],el=eo[1],es=ea.isFocused,ec=ea.isFileDialogActive,eu=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&v&&"showOpenFilePicker"in window),ef=function(){!eu.current&&ec&&setTimeout(function(){ei.current&&(ei.current.files.length||(el({type:"closeDialog"}),Q()))},300)};(0,r.useEffect)(function(){return window.addEventListener("focus",ef,!1),function(){window.removeEventListener("focus",ef,!1)}},[ei,ec,Q,eu]);var ep=(0,r.useRef)([]),ed=function(e){et.current&&et.current.contains(e.target)||(e.preventDefault(),ep.current=[])};(0,r.useEffect)(function(){return x&&(document.addEventListener("dragover",M,!1),document.addEventListener("drop",ed,!1)),function(){x&&(document.removeEventListener("dragover",M),document.removeEventListener("drop",ed))}},[et,x]),(0,r.useEffect)(function(){return!i&&b&&et.current&&et.current.focus(),function(){}},[et,b,i]);var eh=(0,r.useCallback)(function(e){j?j(e):console.error(e)},[j]),em=(0,r.useCallback)(function(e){var t;e.preventDefault(),e.persist(),eA(e),ep.current=[].concat(function(e){if(Array.isArray(e))return Y(e)}(t=ep.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||q(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),L(e)&&Promise.resolve(o(e)).then(function(t){if(!D(e)||A){var n,r,i,o,f,p,d,h,m=t.length,g=m>0&&(r=(n={files:t,accept:H,minSize:l,maxSize:a,multiple:s,maxFiles:c,validator:T}).files,i=n.accept,o=n.minSize,f=n.maxSize,p=n.multiple,d=n.maxFiles,h=n.validator,(!!p||!(r.length>1))&&(!p||!(d>=1)||!(r.length>d))&&r.every(function(e){var t=S(z(e,i),1)[0],n=S(R(e,o,f),1)[0],r=h?h(e):null;return t&&n&&!r}));el({isDragAccept:g,isDragReject:m>0&&!g,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e)}}).catch(function(e){return eh(e)})},[o,u,eh,A,H,l,a,s,c,T]),eg=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eA(e);var t=L(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&p&&p(e),!1},[p,A]),ey=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eA(e);var t=ep.current.filter(function(e){return et.current&&et.current.contains(e)}),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ep.current=t,!(t.length>0)&&(el({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),L(e)&&f&&f(e))},[et,f,A]),ev=(0,r.useCallback)(function(e,t){var n=[],r=[];e.forEach(function(e){var t=V(z(e,H),2),i=t[0],o=t[1],s=V(R(e,l,a),2),c=s[0],u=s[1],f=T?T(e):null;if(i&&c&&!f)n.push(e);else{var p=[o,u];f&&(p=p.concat(f)),r.push({file:e,errors:p.filter(function(e){return e})})}}),(!s&&n.length>1||s&&c>=1&&n.length>c)&&(n.forEach(function(e){r.push({file:e,errors:[I]})}),n.splice(0)),el({acceptedFiles:n,fileRejections:r,type:"setFiles"}),d&&d(n,r,t),r.length>0&&m&&m(r,t),n.length>0&&h&&h(n,t)},[el,s,H,l,a,c,d,h,m,T]),eb=(0,r.useCallback)(function(e){e.preventDefault(),e.persist(),eA(e),ep.current=[],L(e)&&Promise.resolve(o(e)).then(function(t){(!D(e)||A)&&ev(t,e)}).catch(function(e){return eh(e)}),el({type:"reset"})},[o,ev,eh,A]),ex=(0,r.useCallback)(function(){if(eu.current){el({type:"openDialog"}),K(),window.showOpenFilePicker({multiple:s,types:$}).then(function(e){return o(e)}).then(function(e){ev(e,null),el({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(Q(e),el({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(eu.current=!1,ei.current?(ei.current.value=null,ei.current.click()):eh(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):eh(e)});return}ei.current&&(el({type:"openDialog"}),K(),ei.current.value=null,ei.current.click())},[el,K,Q,v,ev,eh,$,s]),ew=(0,r.useCallback)(function(e){et.current&&et.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),ex())},[et,ex]),ek=(0,r.useCallback)(function(){el({type:"focus"})},[]),eO=(0,r.useCallback)(function(){el({type:"blur"})},[]),eE=(0,r.useCallback)(function(){k||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(ex,0):ex())},[k,ex]),eS=function(e){return i?null:e},eC=function(e){return C?null:eS(e)},eP=function(e){return P?null:eS(e)},eA=function(e){A&&e.stopPropagation()},ej=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.role,r=e.onKeyDown,o=e.onFocus,a=e.onBlur,l=e.onClick,s=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,f=e.onDrop,p=Z(e,U);return G(G(X({onKeyDown:eC(F(r,ew)),onFocus:eC(F(o,ek)),onBlur:eC(F(a,eO)),onClick:eS(F(l,eE)),onDragEnter:eP(F(s,em)),onDragOver:eP(F(c,eg)),onDragLeave:eP(F(u,ey)),onDrop:eP(F(f,eb)),role:"string"==typeof n&&""!==n?n:"presentation"},void 0===t?"ref":t,et),i||C?{}:{tabIndex:0}),p)}},[et,ew,ek,eO,eE,em,eg,ey,eb,C,P,i]),eT=(0,r.useCallback)(function(e){e.stopPropagation()},[]),eI=(0,r.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=e.onChange,r=e.onClick,i=Z(e,W);return G(G({},X({accept:H,multiple:s,type:"file",style:{display:"none"},onChange:eS(F(n,eb)),onClick:eS(F(r,eT)),tabIndex:-1},void 0===t?"ref":t,ei)),i)}},[ei,n,s,eb,i]);return G(G({},ea),{},{isFocused:es&&!i,getRootProps:ej,getInputProps:eI,rootRef:et,inputRef:ei,open:eS(ex)})}function en(e,t){switch(t.type){case"focus":return G(G({},e),{},{isFocused:!0});case"blur":return G(G({},e),{},{isFocused:!1});case"openDialog":return G(G({},ee),{},{isFileDialogActive:!0});case"closeDialog":return G(G({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return G(G({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return G(G({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return G({},ee);default:return e}}function er(){}},59693:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(55729),i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};let o=function(e,t){void 0===e&&(e=!1);var n=i((0,r.useState)(e),2),o=n[0],a=n[1];return[o,(0,r.useMemo)(function(){var n=void 0===t?!e:t;return{toggle:function(){return a(function(t){return t===e?n:e})},set:function(e){return a(e)},setLeft:function(){return a(e)},setRight:function(){return a(n)}}},[])]};var a=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function l(e){void 0===e&&(e=!1);var t=a(o(e),2),n=t[0],i=t[1],l=i.toggle,s=i.set;return[n,(0,r.useMemo)(function(){return{toggle:l,set:function(e){return s(!!e)},setTrue:function(){return s(!0)},setFalse:function(){return s(!1)}}},[])]}},61847:(e,t,n)=>{"use strict";var r=n(4140);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},62030:function(e,t,n){var r;!function(e,i,o){function a(e){var t=this;t.next=function(){var e,n,r=t.x,i=t.i;return e=r[i],e^=e>>>7,n=e^e<<24^((e=r[i+1&7])^e>>>10)^((e=r[i+3&7])^e>>>3)^((e=r[i+4&7])^e<<7),e=r[i+7&7],e^=e<<13,n^=e^e<<9,r[i]=n,t.i=i+1&7,n};var n,r=e,i=[];if(r===(0|r))i[0]=r;else for(n=0,r=""+r;n0;--n)t.next()}function l(e,t){return t.x=e.x.slice(),t.i=e.i,t}function s(e,t){null==e&&(e=+new Date);var n=new a(e),r=t&&t.state,i=function(){return(n.next()>>>0)/0x100000000};return i.double=function(){do var e=((n.next()>>>11)+(n.next()>>>0)/0x100000000)/2097152;while(0===e);return e},i.int32=n.next,i.quick=i,r&&(r.x&&l(r,n),i.state=function(){return l(n,{})}),i}i&&i.exports?i.exports=s:n.amdD&&n.amdO?void 0===(r=(function(){return s}).call(t,n,t,i))||(i.exports=r):this.xorshift7=s}(0,e=n.nmd(e),n.amdD)},62899:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(74312),i=n.n(r),o=n(55729),a=n(76785),l=n(3512),s=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},c=function(e){if(!e)return 0;var t=i()(e).valueOf()-Date.now();return t<0?0:t};let u=function(e){void 0===e&&(e={});var t=e||{},n=t.leftTime,r=t.targetDate,i=t.interval,u=void 0===i?1e3:i,f=t.onEnd,p=(0,o.useMemo)(function(){return"leftTime"in e?(0,l.Et)(n)&&n>0?Date.now()+n:void 0:r},[n,r]),d=s((0,o.useState)(function(){return c(p)}),2),h=d[0],m=d[1],g=(0,a.A)(f);(0,o.useEffect)(function(){if(!p)return void m(0);m(c(p));var e=setInterval(function(){var t,n=c(p);m(n),0===n&&(clearInterval(e),null==(t=g.current)||t.call(g))},u);return function(){return clearInterval(e)}},[p,u]);var y=(0,o.useMemo)(function(){return{days:Math.floor(h/864e5),hours:Math.floor(h/36e5)%24,minutes:Math.floor(h/6e4)%60,seconds:Math.floor(h/1e3)%60,milliseconds:Math.floor(h)%1e3}},[h]);return[h,y]}},63887:(e,t,n)=>{"use strict";n.d(t,{f:()=>j});var r=n(55729),i=n(61946),o=n(27830),a=n(84914),l=n(38169),s=Object.defineProperty,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))u.call(t,n)&&p(e,n,t[n]);if(c)for(var n of c(t))f.call(t,n)&&p(e,n,t[n]);return e};let h=(e,t)=>"content"===e?"auto":"auto"===e?"0px":e?`${100/(t/e)}%`:void 0,m=(e,t,n)=>n||"auto"===e||"content"===e?"unset":h(e,t),g=(e,t)=>{if(e)return"auto"===e||t?1:0},y=(e,t)=>0===e?0:e?`${100/(t/e)}%`:void 0,v=(e,t)=>void 0!==e?t.fn.size({size:e,sizes:t.spacing})/2:void 0;var b=(0,l.r)((e,{gutter:t,gutterXs:n,gutterSm:r,gutterMd:i,gutterLg:o,gutterXl:l,grow:s,offset:c,offsetXs:u,offsetSm:f,offsetMd:p,offsetLg:b,offsetXl:x,columns:w,span:k,xs:O,sm:E,md:S,lg:C,xl:P,order:A,orderXs:j,orderSm:T,orderMd:I,orderLg:z,orderXl:R})=>({col:d({boxSizing:"border-box",flexGrow:g(k,s),order:A,padding:v(t,e),marginLeft:y(c,w),flexBasis:h(k,w),flexShrink:0,width:"content"===k?"auto":void 0,maxWidth:m(k,w,s)},function({sizes:e,offsets:t,orders:n,theme:r,columns:i,gutters:o,grow:l}){return a.qk.reduce((a,s)=>(a[`@media (min-width: ${r.breakpoints[s]}px)`]={order:n[s],flexBasis:h(e[s],i),padding:v(o[s],r),flexShrink:0,width:"content"===e[s]?"auto":void 0,maxWidth:m(e[s],i,l),marginLeft:y(t[s],i),flexGrow:g(e[s],l)},a),{})}({sizes:{xs:O,sm:E,md:S,lg:C,xl:P},offsets:{xs:u,sm:f,md:p,lg:b,xl:x},orders:{xs:j,sm:T,md:I,lg:z,xl:R},gutters:{xs:n,sm:r,md:i,lg:o,xl:l},theme:e,columns:w,grow:s}))})),x=n(50433),w=Object.defineProperty,k=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,S=(e,t,n)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,C=(e,t)=>{for(var n in t||(t={}))O.call(t,n)&&S(e,n,t[n]);if(k)for(var n of k(t))E.call(t,n)&&S(e,n,t[n]);return e},P=(e,t)=>{var n={};for(var r in e)O.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&k)for(var r of k(e))0>t.indexOf(r)&&E.call(e,r)&&(n[r]=e[r]);return n};let A={},j=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("GridCol",A,e),{children:a,span:l,offset:s,offsetXs:c,offsetSm:u,offsetMd:f,offsetLg:p,offsetXl:d,xs:h,sm:m,md:g,lg:y,xl:v,order:w,orderXs:k,orderSm:O,orderMd:E,orderLg:S,orderXl:j,className:T,id:I,unstyled:z}=n,R=P(n,["children","span","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","xs","sm","md","lg","xl","order","orderXs","orderSm","orderMd","orderLg","orderXl","className","id","unstyled"]),N=(0,o.Z)(),D=l||N.columns,{classes:L,cx:M}=b({gutter:N.gutter,gutterXs:N.gutterXs,gutterSm:N.gutterSm,gutterMd:N.gutterMd,gutterLg:N.gutterLg,gutterXl:N.gutterXl,offset:s,offsetXs:c,offsetSm:u,offsetMd:f,offsetLg:p,offsetXl:d,xs:h,sm:m,md:g,lg:y,xl:v,order:w,orderXs:k,orderSm:O,orderMd:E,orderLg:S,orderXl:j,grow:N.grow,columns:N.columns,span:D},{unstyled:z,name:"Grid"});return!function(e){return"auto"===e||"content"===e||"number"==typeof e&&e>0&&e%1==0}(D)||D>N.columns?null:r.createElement(x.a,C({className:M(L.col,T),ref:t},R),a)});j.displayName="@mantine/core/Col"},66179:(e,t,n)=>{"use strict";n.d(t,{T:()=>L});var r=n(55729),i=n(99410),o=n(1983),a=r.useLayoutEffect,l=function(e){var t=r.useRef(e);return a(function(){t.current=e}),t},s=function(e,t){if("function"==typeof e)return void e(t);e.current=t},c=function(e,t){var n=r.useRef();return r.useCallback(function(r){e.current=r,n.current&&s(n.current,null),n.current=t,t&&s(t,r)},[t])},u={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},f=function(e){Object.keys(u).forEach(function(t){e.style.setProperty(t,u[t],"important")})},p=null,d=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},h=function(){},m=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],g=!!document.documentElement.currentStyle,y=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=m.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;g&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var i=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),o=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:i,borderSize:o}},v=function(e){var t=l(e);(0,r.useLayoutEffect)(function(){var e=function(e){t.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[])},b=(0,r.forwardRef)(function(e,t){var n=e.cacheMeasurements,a=e.maxRows,l=e.minRows,s=e.onChange,u=void 0===s?h:s,m=e.onHeightChange,g=void 0===m?h:m,b=(0,o.A)(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),x=void 0!==b.value,w=(0,r.useRef)(null),k=c(w,t),O=(0,r.useRef)(0),E=(0,r.useRef)(),S=function(){var e=w.current,t=n&&E.current?E.current:y(e);if(t){E.current=t;var r,i,o,s,c,u,h,m,v,b,x,k=(r=e.value||e.placeholder||"x",void 0===(i=l)&&(i=1),void 0===(o=a)&&(o=1/0),p||((p=document.createElement("textarea")).setAttribute("tabindex","-1"),p.setAttribute("aria-hidden","true"),f(p)),null===p.parentNode&&document.body.appendChild(p),s=t.paddingSize,c=t.borderSize,h=(u=t.sizingStyle).boxSizing,Object.keys(u).forEach(function(e){p.style[e]=u[e]}),f(p),p.value=r,m=d(p,t),p.value="x",b=(v=p.scrollHeight-s)*i,"border-box"===h&&(b=b+s+c),m=Math.max(b,m),x=v*o,"border-box"===h&&(x=x+s+c),[m=Math.min(x,m),v]),S=k[0],C=k[1];O.current!==S&&(O.current=S,e.style.setProperty("height",S+"px","important"),g(S,{rowHeight:C}))}};return(0,r.useLayoutEffect)(S),v(S),(0,r.createElement)("textarea",(0,i.A)({},b,{onChange:function(e){x||S(),u(e)},ref:k}))}),x=n(57864),w=n(61946),k=(0,n(38169).r)(e=>({input:{paddingTop:e.spacing.xs,paddingBottom:e.spacing.xs}})),O=n(79326),E=n(70503),S=Object.defineProperty,C=Object.defineProperties,P=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,I=(e,t,n)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))j.call(t,n)&&I(e,n,t[n]);if(A)for(var n of A(t))T.call(t,n)&&I(e,n,t[n]);return e},R=(e,t)=>C(e,P(t)),N=(e,t)=>{var n={};for(var r in e)j.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&A)for(var r of A(e))0>t.indexOf(r)&&T.call(e,r)&&(n[r]=e[r]);return n};let D={autosize:!1,size:"sm",__staticSelector:"Textarea"},L=(0,r.forwardRef)((e,t)=>{let n=(0,w.a1)("Textarea",D,e),{autosize:i,maxRows:o,minRows:a,label:l,error:s,description:c,id:u,className:f,required:p,style:d,wrapperProps:h,classNames:m,styles:g,size:y,__staticSelector:v,sx:S,errorProps:C,descriptionProps:P,labelProps:A,inputWrapperOrder:j,inputContainer:T,unstyled:I,withAsterisk:L}=n,M=N(n,["autosize","maxRows","minRows","label","error","description","id","className","required","style","wrapperProps","classNames","styles","size","__staticSelector","sx","errorProps","descriptionProps","labelProps","inputWrapperOrder","inputContainer","unstyled","withAsterisk"]),F=(0,x.B)(u),{classes:_,cx:B}=k(),{systemStyles:H,rest:$}=(0,O.z)(M),U=z({required:p,ref:t,invalid:!!s,id:F,classNames:R(z({},m),{input:B(_.input,null==m?void 0:m.input)}),styles:g,__staticSelector:v,size:y,multiline:!0,unstyled:I},$);return r.createElement(E.p.Wrapper,z(z({label:l,error:s,id:F,description:c,required:p,style:d,className:f,classNames:m,styles:g,size:y,__staticSelector:v,sx:S,errorProps:C,labelProps:A,descriptionProps:P,inputContainer:T,inputWrapperOrder:j,unstyled:I,withAsterisk:L},H),h),i?r.createElement(E.p,R(z({},U),{component:b,maxRows:o,minRows:a})):r.createElement(E.p,R(z({},U),{component:"textarea",rows:a})))});L.displayName="@mantine/core/Textarea"},67264:e=>{function t(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}e.exports=function(e,n){n=n||{};var r,i,o,a,l=typeof e;if("string"===l&&e.length>0){var s=e;if(!((s=String(s)).length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(c){var u=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*u;case"weeks":case"week":case"w":return 6048e5*u;case"days":case"day":case"d":return 864e5*u;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*u;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*u;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:break}}}return}if("number"===l&&isFinite(e)){return n.long?(i=Math.abs(r=e))>=864e5?t(r,i,864e5,"day"):i>=36e5?t(r,i,36e5,"hour"):i>=6e4?t(r,i,6e4,"minute"):i>=1e3?t(r,i,1e3,"second"):r+" ms":(a=Math.abs(o=e))>=864e5?Math.round(o/864e5)+"d":a>=36e5?Math.round(o/36e5)+"h":a>=6e4?Math.round(o/6e4)+"m":a>=1e3?Math.round(o/1e3)+"s":o+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},67472:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55729);let i=function(){var e=(0,r.useRef)(!1);return(0,r.useEffect)(function(){return e.current=!1,function(){e.current=!0}},[]),e}},69344:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let r=Object.freeze([1200,600,300,0]);function i(e,t){return"function"==typeof e?e(t):e}function o(e,t,n,r){return(t-(e.length-1)*n-2*r*e.length)/e.reduce((e,t)=>e+function({width:e,height:t}){return e/t}(t),0)}function a(e,t,n,r,i,a,l){let s=function(e,t=0){let n=10**t;return Math.round((e+Number.EPSILON)*n)/n}(r/i/Math.min(...e.map(e=>(function({width:e,height:t}){return e/t})(e))))+(a||0)+2,c=function(e,t,n){var r=function(e,t,n){var r;let i=new Map,o=new Set,a=new Map;a.set(0,0);let l=function(e){let t=0,n=[],r=(t,r)=>0>e(n[t],n[r]),i=(e,t)=>{let r=n[e];n[e]=n[t],n[t]=r},o=e=>{let t=e,n=Math.floor(t/2);for(;t>1&&r(n,t);)i(n,t),n=Math.floor((t=n)/2)},a=e=>{let n=e,o=2*n;for(;o<=t&&(o{n[t+=1]=e,o(t)},pop:()=>{if(0===t)return;i(1,t),t-=1;let e=n.pop();return a(1),e},size:()=>t}}((r=e=>e[1],(e,t)=>r(t)-r(e)));for(l.push([t,0]);l.size()>0;){let[t,n]=l.pop();if(!o.has(t)){let r=e(t);o.add(t),r.forEach((e,r)=>{let o=n+e,s=i.get(r),c=a.get(r);(void 0===c||c>o&&(c/o>1.005||void 0!==s&&s{let u=new Map;u.set(c,0);let f=Math.min(s,l||1/0);for(let l=c+(a||1);lf);l+=1){let a=function(e,t,n,r,i,a,l){let s=e.slice(t,n),c=o(s,r,i,a);return c>0?(c-l)**2*s.length:void 0}(e,c,l,r,t,n,i);if(void 0===a)break;u.set(l,a)}return u},0,e.length);if(!c)return;let u=[];for(let i=1;i({photo:e,index:t})).slice(c[i-1],c[i]),l=o(a.map(({photo:e})=>e),r,t,n);u.push({photos:a.map(({photo:e,index:t})=>({photo:e,index:t,width:l*function({width:e,height:t}){return e/t}(e),height:l}))})}return{spacing:t,padding:n,containerWidth:r,tracks:u,horizontal:!0}}},69943:(e,t,n)=>{"use strict";n.d(t,{x:()=>S});var r=n(55729),i=n(61946),o=n(63887),a=n(27830),l=n(84914),s=n(38169),c=Object.defineProperty,u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&d(e,n,t[n]);if(u)for(var n of u(t))p.call(t,n)&&d(e,n,t[n]);return e},m=(0,s.r)((e,{justify:t,align:n,gutter:r,gutterXs:i,gutterSm:o,gutterMd:a,gutterLg:s,gutterXl:c})=>({root:h({margin:-e.fn.size({size:r,sizes:e.spacing})/2,display:"flex",flexWrap:"wrap",justifyContent:t,alignItems:n},function(e,t){return l.qk.reduce((n,r)=>(void 0!==e[r]&&(n[`@media (min-width: ${t.breakpoints[r]}px)`]={margin:-t.fn.size({size:e[r],sizes:t.spacing})/2}),n),{})}({xs:i,sm:o,md:a,lg:s,xl:c},e))})),g=n(50433),y=Object.defineProperty,v=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,w=(e,t,n)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))b.call(t,n)&&w(e,n,t[n]);if(v)for(var n of v(t))x.call(t,n)&&w(e,n,t[n]);return e},O=(e,t)=>{var n={};for(var r in e)b.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&v)for(var r of v(e))0>t.indexOf(r)&&x.call(e,r)&&(n[r]=e[r]);return n};let E={gutter:"md",justify:"flex-start",align:"stretch",columns:12},S=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Grid",E,e),{gutter:o,gutterXs:l,gutterSm:s,gutterMd:c,gutterLg:u,gutterXl:f,children:p,grow:d,justify:h,align:y,columns:v,className:b,id:x,unstyled:w}=n,S=O(n,["gutter","gutterXs","gutterSm","gutterMd","gutterLg","gutterXl","children","grow","justify","align","columns","className","id","unstyled"]),{classes:C,cx:P}=m({gutter:o,justify:h,align:y,gutterXs:l,gutterSm:s,gutterMd:c,gutterLg:u,gutterXl:f},{unstyled:w,name:"Grid"});return r.createElement(a.k,{value:{gutter:o,gutterXs:l,gutterSm:s,gutterMd:c,gutterLg:u,gutterXl:f,grow:d,columns:v}},r.createElement(g.a,k({className:P(C.root,b),ref:t},S),p))});S.Col=o.f,S.displayName="@mantine/core/Grid"},70503:(e,t,n)=>{"use strict";n.d(t,{p:()=>eN});var r=n(55729),i=n(61946),o=n(51663),a=n(38169),l=(0,a.r)((e,{size:t})=>({label:{display:"inline-block",fontSize:e.fn.size({size:t,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}})),s=n(50433),c=Object.defineProperty,u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&d(e,n,t[n]);if(u)for(var n of u(t))p.call(t,n)&&d(e,n,t[n]);return e},m=(e,t)=>{var n={};for(var r in e)f.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&p.call(e,r)&&(n[r]=e[r]);return n};let g={labelElement:"label",size:"sm"},y=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("InputLabel",g,e),{labelElement:o,children:a,required:c,size:u,classNames:f,styles:p,unstyled:d,className:y,htmlFor:v,__staticSelector:b}=n,x=m(n,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector"]),{classes:w,cx:k}=l({size:u},{name:["InputWrapper",b],classNames:f,styles:p,unstyled:d});return r.createElement(s.a,h({component:o,ref:t,className:k(w.label,y),htmlFor:"label"===o?v:void 0},x),a,c&&r.createElement("span",{className:w.required,"aria-hidden":!0}," *"))});y.displayName="@mantine/core/InputLabel";var v=(0,a.r)((e,{size:t})=>({error:{wordBreak:"break-word",color:e.fn.variant({variant:"filled",color:"red"}).background,fontSize:e.fn.size({size:t,sizes:e.fontSizes})-2,lineHeight:1.2,display:"block"}})),b=n(37948),x=Object.defineProperty,w=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,E=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))k.call(t,n)&&E(e,n,t[n]);if(w)for(var n of w(t))O.call(t,n)&&E(e,n,t[n]);return e},C=(e,t)=>{var n={};for(var r in e)k.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&w)for(var r of w(e))0>t.indexOf(r)&&O.call(e,r)&&(n[r]=e[r]);return n};let P={size:"sm"},A=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("InputError",P,e),{children:o,className:a,classNames:l,styles:s,unstyled:c,size:u,__staticSelector:f}=n,p=C(n,["children","className","classNames","styles","unstyled","size","__staticSelector"]),{classes:d,cx:h}=v({size:u},{name:["InputWrapper",f],classNames:l,styles:s,unstyled:c});return r.createElement(b.E,S({className:h(d.error,a),ref:t},p),o)});A.displayName="@mantine/core/InputError";var j=(0,a.r)((e,{size:t})=>({description:{wordBreak:"break-word",color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],fontSize:e.fn.size({size:t,sizes:e.fontSizes})-2,lineHeight:1.2,display:"block"}})),T=Object.defineProperty,I=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,N=(e,t,n)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||(t={}))z.call(t,n)&&N(e,n,t[n]);if(I)for(var n of I(t))R.call(t,n)&&N(e,n,t[n]);return e},L=(e,t)=>{var n={};for(var r in e)z.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&I)for(var r of I(e))0>t.indexOf(r)&&R.call(e,r)&&(n[r]=e[r]);return n};let M={size:"sm"},F=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("InputDescription",M,e),{children:o,className:a,classNames:l,styles:s,unstyled:c,size:u,__staticSelector:f}=n,p=L(n,["children","className","classNames","styles","unstyled","size","__staticSelector"]),{classes:d,cx:h}=j({size:u},{name:["InputWrapper",f],classNames:l,styles:s,unstyled:c});return r.createElement(b.E,D({color:"dimmed",className:h(d.description,a),ref:t,unstyled:c},p),o)});F.displayName="@mantine/core/InputDescription";let _=(0,r.createContext)({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),B=_.Provider,H=()=>(0,r.useContext)(_);var $=Object.defineProperty,U=Object.defineProperties,W=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,K=(e,t,n)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t)=>{for(var n in t||(t={}))q.call(t,n)&&K(e,n,t[n]);if(V)for(var n of V(t))Y.call(t,n)&&K(e,n,t[n]);return e},X=(e,t)=>U(e,W(t)),Z=(0,a.r)(e=>({root:X(G({},e.fn.fontStyles()),{lineHeight:e.lineHeight})})),Q=Object.defineProperty,J=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,ei=(e,t,n)=>t in e?Q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eo=(e,t)=>{for(var n in t||(t={}))en.call(t,n)&&ei(e,n,t[n]);if(et)for(var n of et(t))er.call(t,n)&&ei(e,n,t[n]);return e},ea=(e,t)=>J(e,ee(t)),el=(e,t)=>{var n={};for(var r in e)en.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&et)for(var r of et(e))0>t.indexOf(r)&&er.call(e,r)&&(n[r]=e[r]);return n};let es={labelElement:"label",size:"sm",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},ec=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("InputWrapper",es,e),{className:o,label:a,children:l,required:c,id:u,error:f,description:p,labelElement:d,labelProps:h,descriptionProps:m,errorProps:g,classNames:v,styles:b,size:x,inputContainer:w,__staticSelector:k,unstyled:O,inputWrapperOrder:E,withAsterisk:S}=n,C=el(n,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk"]),{classes:P,cx:j}=Z(null,{classNames:v,styles:b,name:["InputWrapper",k],unstyled:O}),T={classNames:v,styles:b,unstyled:O,size:x,__staticSelector:k},I=u?`${u}-error`:null==g?void 0:g.id,z=u?`${u}-description`:null==m?void 0:m.id,R=!!f&&"boolean"!=typeof f,N=`${R?I:""} ${p?z:""}`,D=N.trim().length>0?N.trim():void 0,L=a&&r.createElement(y,eo(eo({key:"label",labelElement:d,id:u?`${u}-label`:void 0,htmlFor:u,required:"boolean"==typeof S?S:c},T),h),a),M=p&&r.createElement(F,ea(eo(eo({key:"description"},m),T),{size:(null==m?void 0:m.size)||T.size,id:(null==m?void 0:m.id)||z}),p),_=r.createElement(r.Fragment,{key:"input"},w(l)),H="boolean"!=typeof f&&f&&r.createElement(A,ea(eo(eo({},g),T),{size:(null==g?void 0:g.size)||T.size,key:"error",id:(null==g?void 0:g.id)||I}),f),$=E.map(e=>{switch(e){case"label":return L;case"input":return _;case"description":return M;case"error":return H;default:return null}});return r.createElement(B,{value:eo({describedBy:D},function(e,{hasDescription:t,hasError:n}){let r=e.findIndex(e=>"input"===e),i=e[r-1],o=e[r+1];return{offsetBottom:t&&"description"===o||n&&"error"===o,offsetTop:t&&"description"===i||n&&"error"===i}}(E,{hasDescription:!!M,hasError:!!H}))},r.createElement(s.a,eo({className:j(P.root,o),ref:t},C),$))});ec.displayName="@mantine/core/InputWrapper";var eu=n(98863),ef=Object.defineProperty,ep=Object.getOwnPropertySymbols,ed=Object.prototype.hasOwnProperty,eh=Object.prototype.propertyIsEnumerable,em=(e,t,n)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eg=(e,t)=>{for(var n in t||(t={}))ed.call(t,n)&&em(e,n,t[n]);if(ep)for(var n of ep(t))eh.call(t,n)&&em(e,n,t[n]);return e},ey=(e,t)=>{var n={};for(var r in e)ed.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&ep)for(var r of ep(e))0>t.indexOf(r)&&eh.call(e,r)&&(n[r]=e[r]);return n};let ev={},eb=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("InputPlaceholder",ev,e),{sx:o}=n,a=ey(n,["sx"]);return r.createElement(s.a,eg({component:"span",sx:[e=>e.fn.placeholderStyles(),...(0,eu.n)(o)],ref:t},a))});eb.displayName="@mantine/core/InputPlaceholder";var ex=n(71127),ew=n(79326),ek=Object.defineProperty,eO=Object.defineProperties,eE=Object.getOwnPropertyDescriptors,eS=Object.getOwnPropertySymbols,eC=Object.prototype.hasOwnProperty,eP=Object.prototype.propertyIsEnumerable,eA=(e,t,n)=>t in e?ek(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ej=(e,t)=>{for(var n in t||(t={}))eC.call(t,n)&&eA(e,n,t[n]);if(eS)for(var n of eS(t))eP.call(t,n)&&eA(e,n,t[n]);return e},eT=(e,t)=>eO(e,eE(t)),eI=(e,t)=>{var n={};for(var r in e)eC.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&eS)for(var r of eS(e))0>t.indexOf(r)&&eP.call(e,r)&&(n[r]=e[r]);return n};let ez={rightSectionWidth:36,size:"sm",variant:"default"},eR=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Input",ez,e),{className:o,invalid:a,required:l,disabled:c,variant:u,icon:f,style:p,rightSectionWidth:d,iconWidth:h,rightSection:m,rightSectionProps:g,radius:y,size:v,wrapperProps:b,classNames:x,styles:w,__staticSelector:k,multiline:O,sx:E,unstyled:S,pointer:C}=n,P=eI(n,["className","invalid","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:A,offsetTop:j,describedBy:T}=H(),{classes:I,cx:z}=(0,ex.A)({radius:y,size:v,multiline:O,variant:u,invalid:a,rightSectionWidth:d,iconWidth:h,withRightSection:!!m,offsetBottom:A,offsetTop:j,pointer:C},{classNames:x,styles:w,name:["Input",k],unstyled:S}),{systemStyles:R,rest:N}=(0,ew.z)(P);return r.createElement(s.a,ej(ej({className:z(I.wrapper,o),sx:E,style:p},R),b),f&&r.createElement("div",{className:I.icon},f),r.createElement(s.a,eT(ej({component:"input"},N),{ref:t,required:l,"aria-invalid":a,"aria-describedby":T,disabled:c,className:z(I[`${u}Variant`],I.input,{[I.withIcon]:f,[I.invalid]:a,[I.disabled]:c})})),m&&r.createElement("div",eT(ej({},g),{className:I.rightSection}),m))});eR.displayName="@mantine/core/Input",eR.Wrapper=ec,eR.Label=y,eR.Description=F,eR.Error=A,eR.Placeholder=eb;let eN=(0,o.K)(eR)},71127:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,L:()=>d});var r=n(38169),i=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(l)for(var n of l(t))c.call(t,n)&&u(e,n,t[n]);return e},p=(e,t)=>o(e,a(t));let d={xs:30,sm:36,md:42,lg:50,xl:60},h=(0,r.r)((e,{size:t,multiline:n,radius:r,variant:i,invalid:o,rightSectionWidth:a,withRightSection:l,iconWidth:s,offsetBottom:c,offsetTop:u,pointer:h})=>{let m=e.fn.variant({variant:"filled",color:"red"}).background,g="default"===i||"filled"===i?{minHeight:e.fn.size({size:t,sizes:d}),paddingLeft:e.fn.size({size:t,sizes:d})/3,paddingRight:l?a:e.fn.size({size:t,sizes:d})/3,borderRadius:e.fn.radius(r)}:null;return{wrapper:{position:"relative",marginTop:u?`calc(${e.spacing.xs}px / 2)`:void 0,marginBottom:c?`calc(${e.spacing.xs}px / 2)`:void 0},input:f(p(f(p(f({},e.fn.fontStyles()),{height:n?"unstyled"===i?void 0:"auto":e.fn.size({size:t,sizes:d}),WebkitTapHighlightColor:"transparent",lineHeight:n?e.lineHeight:`${e.fn.size({size:t,sizes:d})-2}px`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:e.fn.size({size:t,sizes:e.fontSizes}),width:"100%",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,display:"block",textAlign:"left",cursor:h?"pointer":void 0}),g),{"&:disabled":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,cursor:"not-allowed","&::placeholder":{color:e.colors.dark[2]}},"&::placeholder":p(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"}}),function({theme:e,variant:t}){return"default"===t?{border:`1px 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:"1px 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:28,outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}}({theme:e,variant:i})),withIcon:{paddingLeft:"number"==typeof s?s:e.fn.size({size:t,sizes:d})},invalid:{color:m,borderColor:m,"&::placeholder":{opacity:1,color:m}},disabled:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,cursor:"not-allowed","&::placeholder":{color:e.colors.dark[2]}},icon:{pointerEvents:"none",position:"absolute",zIndex:1,left:0,top:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",width:"number"==typeof s?s:e.fn.size({size:t,sizes:d}),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:a}}})},74312:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",a="quarter",l="year",s="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},d="en",h={};h[d]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof x||!(!e||!e[m])},y=function e(t,n,r){var i;if(!t)return d;if("string"==typeof t){var o=t.toLowerCase();h[o]&&(i=o),n&&(h[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var l=t.name;h[l]=t,i=l}return!r&&i&&(d=i),i||!r&&d},v=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},b={s:p,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(n/60),2,"0")+":"+p(n%60,2,"0")},m:function e(t,n){if(t.date(){"use strict";n.d(t,{A:()=>i});var r=n(55729);let i=function(e){var t=(0,r.useRef)(e);return t.current=e,t}},77523:(e,t,n)=>{"use strict";n.d(t,{r:()=>p});var r=n(55729),i=n(27867),o=Object.defineProperty,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))s.call(t,n)&&c(e,n,t[n]);return e},f=(e,t)=>{var n={};for(var r in e)l.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))0>t.indexOf(r)&&s.call(e,r)&&(n[r]=e[r]);return n};function p(e){var{withinPortal:t=!0,children:n}=e,o=f(e,["withinPortal","children"]);return t?r.createElement(i.Z,u({},o),n):r.createElement(r.Fragment,null,n)}p.displayName="@mantine/core/OptionalPortal"},78102:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}n.d(t,{b:()=>r})},80060:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(55729),i=n(76785),o=n(3512),a=n(639);let l=function(e){a.A&&!(0,o.Tn)(e)&&console.error("useUnmount expected parameter is a function, got ".concat(typeof e));var t=(0,i.A)(e);(0,r.useEffect)(function(){return function(){t.current()}},[])}},81488:(e,t,n)=>{var r=n(29143);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){let e;return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(16141)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},82626:(e,t,n)=>{"use strict";n.d(t,{YQ:()=>i,dh:()=>o});var r=n(55729);function i(e,t,n){var i=this,o=(0,r.useRef)(null),a=(0,r.useRef)(0),l=(0,r.useRef)(null),s=(0,r.useRef)([]),c=(0,r.useRef)(),u=(0,r.useRef)(),f=(0,r.useRef)(e),p=(0,r.useRef)(!0);(0,r.useEffect)(function(){f.current=e},[e]);var d=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var h=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,y=g?Math.max(+n.maxWait||0,t):null;return(0,r.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,r.useMemo)(function(){var e=function(e){var t=s.current,n=c.current;return s.current=c.current=null,a.current=e,u.current=f.current.apply(n,t)},n=function(e,t){d&&cancelAnimationFrame(l.current),l.current=d?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!p.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||g&&e-a.current>=y},v=function(t){return l.current=null,m&&s.current?e(t):(s.current=c.current=null,u.current)},b=function e(){var i=Date.now();if(r(i))return v(i);if(p.current){var l=t-(i-o.current);n(e,g?Math.min(l,y-(i-a.current)):l)}},x=function(){var f=Date.now(),d=r(f);if(s.current=[].slice.call(arguments),c.current=i,o.current=f,d){if(!l.current&&p.current)return a.current=o.current,n(b,t),h?e(o.current):u.current;if(g)return n(b,t),e(o.current)}return l.current||n(b,t),u.current};return x.cancel=function(){l.current&&(d?cancelAnimationFrame(l.current):clearTimeout(l.current)),a.current=0,s.current=o.current=c.current=l.current=null},x.isPending=function(){return!!l.current},x.flush=function(){return l.current?v(Date.now()):u.current},x},[h,g,t,y,m,d])}function o(e,t,n){var r=void 0===n?{}:n,o=r.leading,a=r.trailing;return i(e,t,{maxWait:t,leading:void 0===o||o,trailing:void 0===a||a})}},84335:(e,t,n)=>{"use strict";n.d(t,{$:()=>$});var r=n(55729),i=n(61946),o=n(51663),a=n(38169),l=(0,a.r)((e,{orientation:t,buttonBorderWidth:n})=>({root:{display:"flex",flexDirection:"vertical"===t?"column":"row","& [data-button]":{"&:first-of-type":{borderBottomRightRadius:0,["vertical"===t?"borderBottomLeftRadius":"borderTopRightRadius"]:0,["vertical"===t?"borderBottomWidth":"borderRightWidth"]:n/2},"&:last-of-type":{borderTopLeftRadius:0,["vertical"===t?"borderTopRightRadius":"borderBottomLeftRadius"]:0,["vertical"===t?"borderTopWidth":"borderLeftWidth"]:n/2},"&:not(:first-of-type):not(:last-of-type)":{borderRadius:0,["vertical"===t?"borderTopWidth":"borderLeftWidth"]:n/2,["vertical"===t?"borderBottomWidth":"borderRightWidth"]:n/2},"& + [data-button]":{["vertical"===t?"marginTop":"marginLeft"]:-n,"@media (min-resolution: 192dpi)":{["vertical"===t?"marginTop":"marginLeft"]:0}}}}})),s=n(50433),c=Object.defineProperty,u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&d(e,n,t[n]);if(u)for(var n of u(t))p.call(t,n)&&d(e,n,t[n]);return e},m=(e,t)=>{var n={};for(var r in e)f.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&p.call(e,r)&&(n[r]=e[r]);return n};let g={orientation:"horizontal",buttonBorderWidth:1},y=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("ButtonGroup",g,e),{className:o,orientation:a,buttonBorderWidth:c,unstyled:u}=n,f=m(n,["className","orientation","buttonBorderWidth","unstyled"]),{classes:p,cx:d}=l({orientation:a,buttonBorderWidth:c},{name:"ButtonGroup",unstyled:u});return r.createElement(s.a,h({className:d(p.root,o),ref:t},f))});y.displayName="@mantine/core/ButtonGroup";var v=n(71127),b=Object.defineProperty,x=Object.defineProperties,w=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,S=(e,t,n)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,C=(e,t)=>{for(var n in t||(t={}))O.call(t,n)&&S(e,n,t[n]);if(k)for(var n of k(t))E.call(t,n)&&S(e,n,t[n]);return e},P=(e,t)=>x(e,w(t));let A={xs:{height:v.L.xs,paddingLeft:14,paddingRight:14},sm:{height:v.L.sm,paddingLeft:18,paddingRight:18},md:{height:v.L.md,paddingLeft:22,paddingRight:22},lg:{height:v.L.lg,paddingLeft:26,paddingRight:26},xl:{height:v.L.xl,paddingLeft:32,paddingRight:32},"compact-xs":{height:22,paddingLeft:7,paddingRight:7},"compact-sm":{height:26,paddingLeft:8,paddingRight:8},"compact-md":{height:30,paddingLeft:10,paddingRight:10},"compact-lg":{height:34,paddingLeft:12,paddingRight:12},"compact-xl":{height:40,paddingLeft:14,paddingRight:14}},j=e=>({display:e?"block":"inline-block",width:e?"100%":"auto"});var T=(0,a.r)((e,{color:t,size:n,radius:r,fullWidth:i,compact:o,gradient:a,variant:l,withLeftIcon:s,withRightIcon:c})=>({root:P(C(P(C(C(C(C({},function({compact:e,size:t,withLeftIcon:n,withRightIcon:r}){if(e)return A[`compact-${t}`];let i=A[t];return P(C({},i),{paddingLeft:n?i.paddingLeft/1.5:i.paddingLeft,paddingRight:r?i.paddingRight/1.5:i.paddingRight})}({compact:o,size:n,withLeftIcon:s,withRightIcon:c})),e.fn.fontStyles()),e.fn.focusStyles()),j(i)),{borderRadius:e.fn.radius(r),fontWeight:600,position:"relative",lineHeight:1,fontSize:e.fn.size({size:n,sizes:e.fontSizes}),userSelect:"none",cursor:"pointer"}),function({variant:e,theme:t,color:n,gradient:r}){let i=t.fn.variant({color:n,variant:e,gradient:r});return"gradient"===e?{border:0,backgroundImage:i.background,color:i.color,"&:hover":t.fn.hover({backgroundSize:"200%"})}:C({border:`1px solid ${i.border}`,backgroundColor:i.background,color:i.color},t.fn.hover({backgroundColor:i.hover}))}({variant:l,theme:e,color:t,gradient:a})),{"&: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":{content:'""',position:"absolute",top:-1,left:-1,right:-1,bottom:-1,backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:e.fn.radius(r),cursor:"not-allowed"}}}),icon:{display:"flex",alignItems:"center"},leftIcon:{marginRight:10},rightIcon:{marginLeft:10},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"}})),I=n(56266),z=n(94338),R=Object.defineProperty,N=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,M=(e,t,n)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&M(e,n,t[n]);if(N)for(var n of N(t))L.call(t,n)&&M(e,n,t[n]);return e},_=(e,t)=>{var n={};for(var r in e)D.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&N)for(var r of N(e))0>t.indexOf(r)&&L.call(e,r)&&(n[r]=e[r]);return n};let B={size:"sm",type:"button",variant:"filled",loaderPosition:"left"},H=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Button",B,e),{className:o,size:a,color:l,type:s,disabled:c,children:u,leftIcon:f,rightIcon:p,fullWidth:d,variant:h,radius:m,uppercase:g,compact:y,loading:v,loaderPosition:b,loaderProps:x,gradient:w,classNames:k,styles:O,unstyled:E}=n,S=_(n,["className","size","color","type","disabled","children","leftIcon","rightIcon","fullWidth","variant","radius","uppercase","compact","loading","loaderPosition","loaderProps","gradient","classNames","styles","unstyled"]),{classes:C,cx:P,theme:j}=T({radius:m,color:l,size:a,fullWidth:d,compact:y,gradient:w,variant:h,withLeftIcon:!!f,withRightIcon:!!p},{name:"Button",unstyled:E,classNames:k,styles:O}),R=j.fn.variant({color:l,variant:h}),N=r.createElement(I.a,F({color:R.color,size:j.fn.size({size:a,sizes:A}).height/2},x));return r.createElement(z.N,F({className:P(C.root,o),type:s,disabled:c,"data-button":!0,"data-disabled":c||void 0,"data-loading":v||void 0,ref:t,unstyled:E},S),r.createElement("div",{className:C.inner},(f||v&&"left"===b)&&r.createElement("span",{className:P(C.icon,C.leftIcon)},v&&"left"===b?N:f),v&&"center"===b&&r.createElement("span",{className:C.centerLoader},N),r.createElement("span",{className:C.label,style:{textTransform:g?"uppercase":void 0}},u),(p||v&&"right"===b)&&r.createElement("span",{className:P(C.icon,C.rightIcon)},v&&"right"===b?N:p)))});H.displayName="@mantine/core/Button",H.Group=y;let $=(0,o.K)(H)},85803:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(55729);function i(e){let t=(0,r.createContext)(null);return[({children:e,value:n})=>r.createElement(t.Provider,{value:n},e),()=>{let n=(0,r.useContext)(t);if(null===n)throw Error(e);return n}]}},88728:(e,t,n)=>{"use strict";n.d(t,{e:()=>es});var r=n(55729),i=n(61946),o=n(51663),a=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))u.call(t,n)&&p(e,n,t[n]);if(c)for(var n of c(t))f.call(t,n)&&p(e,n,t[n]);return e},h=(e,t)=>l(e,s(t));function m(e){return r.createElement("svg",h(d({},e),{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),r.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 g=Object.defineProperty,y=Object.defineProperties,v=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(e,t,n)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O=(e,t)=>{for(var n in t||(t={}))x.call(t,n)&&k(e,n,t[n]);if(b)for(var n of b(t))w.call(t,n)&&k(e,n,t[n]);return e},E=(e,t)=>y(e,v(t));let S=(0,r.createContext)(null);function C({spacing:e,children:t}){return r.createElement(S.Provider,{value:{spacing:e}},t)}var P=n(38169),A=(0,P.r)((e,{spacing:t})=>({root:{display:"flex",paddingLeft:e.fn.size({size:t,sizes:e.spacing})}})),j=n(50433),T=Object.defineProperty,I=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,N=(e,t,n)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||(t={}))z.call(t,n)&&N(e,n,t[n]);if(I)for(var n of I(t))R.call(t,n)&&N(e,n,t[n]);return e},L=(e,t)=>{var n={};for(var r in e)z.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&I)for(var r of I(e))0>t.indexOf(r)&&R.call(e,r)&&(n[r]=e[r]);return n};let M={},F=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("AvatarGroup",M,e),{children:o,spacing:a="sm",unstyled:l,className:s}=n,c=L(n,["children","spacing","unstyled","className"]),{classes:u,cx:f}=A({spacing:a},{name:"AvatarGroup",unstyled:l});return r.createElement(C,{spacing:a},r.createElement(j.a,D({ref:t,className:f(u.root,s)},c),o))});F.displayName="@mantine/core/AvatarGroup";var _=Object.defineProperty,B=Object.defineProperties,H=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,V=(e,t,n)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,q=(e,t)=>{for(var n in t||(t={}))U.call(t,n)&&V(e,n,t[n]);if($)for(var n of $(t))W.call(t,n)&&V(e,n,t[n]);return e},Y=(e,t)=>B(e,H(t));let K={xs:16,sm:26,md:38,lg:56,xl:84};var G=(0,P.r)((e,{size:t,radius:n,color:r,withinGroup:i,spacing:o,variant:a,gradient:l})=>{let s=e.fn.variant({variant:a,color:r,gradient:l});return{root:q(Y(q({},e.fn.focusStyles()),{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",display:"block",userSelect:"none",overflow:"hidden",width:e.fn.size({size:t,sizes:K}),minWidth:e.fn.size({size:t,sizes:K}),height:e.fn.size({size:t,sizes:K}),borderRadius:e.fn.radius(n),textDecoration:"none",border:0,backgroundColor:"transparent",padding:0}),function({withinGroup:e,spacing:t,theme:n}){return e?{marginLeft:-n.fn.size({size:t,sizes:n.spacing}),backgroundColor:`${"dark"===n.colorScheme?n.colors.dark[7]:n.white}`,border:`2px solid ${"dark"===n.colorScheme?n.colors.dark[7]:n.white}`}:null}({withinGroup:i,spacing:o,theme:e})),image:{objectFit:"cover",width:"100%",height:"100%",display:"block"},placeholder:Y(q({},e.fn.fontStyles()),{fontSize:e.fn.size({size:t,sizes:K})/2.5,color:s.color,fontWeight:700,backgroundColor:s.background,display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",userSelect:"none",backgroundImage:"gradient"===a?s.background:void 0,border:`${+("gradient"!==a)}px solid ${s.border}`,borderRadius:e.fn.radius(n)}),placeholderIcon:{width:"70%",height:"70%",color:s.color}}}),X=Object.defineProperty,Z=Object.defineProperties,Q=Object.getOwnPropertyDescriptors,J=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,en=(e,t,n)=>t in e?X(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,er=(e,t)=>{for(var n in t||(t={}))ee.call(t,n)&&en(e,n,t[n]);if(J)for(var n of J(t))et.call(t,n)&&en(e,n,t[n]);return e},ei=(e,t)=>Z(e,Q(t)),eo=(e,t)=>{var n={};for(var r in e)ee.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&J)for(var r of J(e))0>t.indexOf(r)&&et.call(e,r)&&(n[r]=e[r]);return n};let ea={size:"md",color:"gray",variant:"light"},el=(0,r.forwardRef)((e,t)=>{let n=(0,i.a1)("Avatar",ea,e),{className:o,size:a,src:l,alt:s,radius:c,children:u,color:f,variant:p,gradient:d,classNames:h,styles:g,imageProps:y,unstyled:v}=n,b=eo(n,["className","size","src","alt","radius","children","color","variant","gradient","classNames","styles","imageProps","unstyled"]),x=function(){let e=(0,r.useContext)(S);return e?E(O({},e),{withinGroup:!0}):{spacing:null,withinGroup:!1}}(),[w,k]=(0,r.useState)(!l),{classes:C,cx:P}=G({color:f,radius:c,size:a,withinGroup:x.withinGroup,spacing:x.spacing,variant:p,gradient:d},{classNames:h,styles:g,unstyled:v,name:"Avatar"});return(0,r.useEffect)(()=>{l?k(!1):k(!0)},[l]),r.createElement(j.a,er({component:"div",className:P(C.root,o),ref:t},b),w?r.createElement("div",{className:C.placeholder,title:s},u||r.createElement(m,{className:C.placeholderIcon})):r.createElement("img",ei(er({},y),{className:C.image,src:l,alt:s,onError:()=>k(!0)})))});el.displayName="@mantine/core/Avatar",el.Group=F;let es=(0,o.K)(el)},93409:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g;function c(e){return e?e.replace(s,""):""}e.exports=function(e,s){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];s=s||{};var u=1,f=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function d(){var e={line:u,column:f};return function(t){return t.position=new h(e),y(r),t}}function h(e){this.start=e,this.end={line:u,column:f},this.source=s.source}h.prototype.content=e;var m=[];function g(t){var n=Error(s.source+":"+u+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=u,n.column=f,n.source=e,s.silent)m.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}y(r);var x,w=[];for(v(w);x=function(){var e=d(),n=y(i);if(n){if(b(),!y(o))return g("property missing ':'");var r=y(a),s=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return y(l),s}}();)!1!==x&&(w.push(x),v(w));return w}},94408:(e,t,n)=>{"use strict";n.d(t,{m:()=>t1});var r=n(55729),i=n.t(r,2);function o(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==r.Fragment}var a=n(94466),l=n(54352),s=n(61946);let c=Math.min,u=Math.max,f=Math.round,p=Math.floor,d=e=>({x:e,y:e}),h={left:"right",right:"left",bottom:"top",top:"bottom"},m={start:"end",end:"start"};function g(e,t){return"function"==typeof e?e(t):e}function y(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function b(e){return"x"===e?"y":"x"}function x(e){return"y"===e?"height":"width"}function w(e){return["top","bottom"].includes(y(e))?"y":"x"}function k(e){return e.replace(/start|end/g,e=>m[e])}function O(e){return e.replace(/left|right|bottom|top/g,e=>h[e])}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,a=w(t),l=b(w(t)),s=x(l),c=y(t),u="y"===a,f=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,d=i[s]/2-o[s]/2;switch(c){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:p};break;case"left":r={x:i.x-o.width,y:p};break;default:r={x:i.x,y:i.y}}switch(v(t)){case"start":r[l]-=d*(n&&u?-1:1);break;case"end":r[l]+=d*(n&&u?-1:1)}return r}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=C(c,r,s),p=r,d={},h=0;for(let n=0;ne.left)),n=c(...e.map(e=>e.top));return{x:t,y:n,width:u(...e.map(e=>e.right))-t,height:u(...e.map(e=>e.bottom))-n}}async function T(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=y(n),l=v(n),s="y"===w(n),c=["left","top"].includes(a)?-1:1,u=o&&s?-1:1,f=g(t,e),{mainAxis:p,crossAxis:d,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof h&&(d="end"===l?-1*h:h),s?{x:d*u,y:p*c}:{x:p*c,y:d*u}}function I(){return"undefined"!=typeof window}function z(e){return D(e)?(e.nodeName||"").toLowerCase():"#document"}function R(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(D(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function D(e){return!!I()&&(e instanceof Node||e instanceof R(e).Node)}function L(e){return!!I()&&(e instanceof Element||e instanceof R(e).Element)}function M(e){return!!I()&&(e instanceof HTMLElement||e instanceof R(e).HTMLElement)}function F(e){return!!I()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof R(e).ShadowRoot)}function _(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=W(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function B(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function H(e){let t=$(),n=L(e)?W(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function $(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function U(e){return["html","body","#document"].includes(z(e))}function W(e){return R(e).getComputedStyle(e)}function V(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if("html"===z(e))return e;let t=e.assignedSlot||e.parentNode||F(e)&&e.host||N(e);return F(t)?t.host:t}function Y(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=q(t);return U(n)?t.ownerDocument?t.ownerDocument.body:t.body:M(n)&&_(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=R(i);if(o){let e=K(a);return t.concat(a,a.visualViewport||[],_(i)?i:[],e&&n?Y(e):[])}return t.concat(i,Y(i,[],n))}function K(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function G(e){let t=W(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=M(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=f(n)!==o||f(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function X(e){return L(e)?e:e.contextElement}function Z(e){let t=X(e);if(!M(t))return d(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=G(t),a=(o?f(n.width):n.width)/r,l=(o?f(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let Q=d(0);function J(e){let t=R(e);return $()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Q}function ee(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=X(e),l=d(1);t&&(r?L(r)&&(l=Z(r)):l=Z(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===R(a))&&i)?J(a):d(0),c=(o.left+s.x)/l.x,u=(o.top+s.y)/l.y,f=o.width/l.x,p=o.height/l.y;if(a){let e=R(a),t=r&&L(r)?R(r):r,n=e,i=K(n);for(;i&&r&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=W(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,f*=e.x,p*=e.y,c+=o,u+=a,i=K(n=R(i))}}return S({width:f,height:p,x:c,y:u})}function et(e,t){let n=V(e).scrollLeft;return t?t.left+n:ee(N(e)).left+n}function en(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:et(e,r)),y:r.top+t.scrollTop}}function er(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=R(e),r=N(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;let e=$();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l,y:s}}(e,n);else if("document"===t)r=function(e){let t=N(e),n=V(e),r=e.ownerDocument.body,i=u(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=u(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+et(e),l=-n.scrollTop;return"rtl"===W(r).direction&&(a+=u(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}(N(e));else if(L(t))r=function(e,t){let n=ee(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=M(e)?Z(e):d(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y;return{width:a,height:l,x:i*o.x,y:r*o.y}}(t,n);else{let n=J(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return S(r)}function ei(e){return"static"===W(e).position}function eo(e,t){if(!M(e)||"fixed"===W(e).position)return null;if(t)return t(e);let n=e.offsetParent;return N(e)===n&&(n=n.ownerDocument.body),n}function ea(e,t){let n=R(e);if(B(e))return n;if(!M(e)){let t=q(e);for(;t&&!U(t);){if(L(t)&&!ei(t))return t;t=q(t)}return n}let r=eo(e,t);for(;r&&["table","td","th"].includes(z(r))&&ei(r);)r=eo(r,t);return r&&U(r)&&ei(r)&&!H(r)?n:r||function(e){let t=q(e);for(;M(t)&&!U(t);){if(H(t))return t;if(B(t))break;t=q(t)}return null}(e)||n}let el=async function(e){let t=this.getOffsetParent||ea,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=M(t),i=N(t),o="fixed"===n,a=ee(e,!0,o,t),l={scrollLeft:0,scrollTop:0},s=d(0);if(r||!r&&!o)if(("body"!==z(t)||_(i))&&(l=V(t)),r){let e=ee(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=et(i));let c=!i||r||o?d(0):en(i,l);return{x:a.left+l.scrollLeft-s.x-c.x,y:a.top+l.scrollTop-s.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},es={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=N(r),l=!!t&&B(t.floating);if(r===a||l&&o)return n;let s={scrollLeft:0,scrollTop:0},c=d(1),u=d(0),f=M(r);if((f||!f&&!o)&&(("body"!==z(r)||_(a))&&(s=V(r)),M(r))){let e=ee(r);c=Z(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!a||f||o?d(0):en(a,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-s.scrollTop*c.y+u.y+p.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?B(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Y(e,[],!1).filter(e=>L(e)&&"body"!==z(e)),i=null,o="fixed"===W(e).position,a=o?q(e):e;for(;L(a)&&!U(a);){let t=W(a),n=H(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||_(a)&&!n&&function e(t,n){let r=q(t);return!(r===n||!L(r)||U(r))&&("fixed"===W(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=q(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((e,n)=>{let r=er(t,n,i);return e.top=u(r.top,e.top),e.right=c(r.right,e.right),e.bottom=c(r.bottom,e.bottom),e.left=u(r.left,e.left),e},er(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ea,getElementRects:el,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=G(e);return{width:t,height:n}},getScale:Z,isElement:L,isRTL:function(e){return"rtl"===W(e).direction}};function ec(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=g(e,t),f={x:n,y:r},p=await A(t,s),d=w(y(i)),h=b(d),m=f[h],v=f[d];if(o){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+p[e],r=m-p[t];m=u(n,c(m,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=v+p[e],r=v-p[t];v=u(n,c(v,r))}let x=l.fn({...t,[h]:m,[d]:v});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[h]:o,[d]:a}}}}}},ef=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:a,elements:l,middlewareData:s}=t,{element:f,padding:p=0}=g(e,t)||{};if(null==f)return{};let d=E(p),h={x:n,y:r},m=b(w(i)),y=x(m),k=await a.getDimensions(f),O="y"===m,S=O?"clientHeight":"clientWidth",C=o.reference[y]+o.reference[m]-h[m]-o.floating[y],P=h[m]-o.reference[m],A=await (null==a.getOffsetParent?void 0:a.getOffsetParent(f)),j=A?A[S]:0;j&&await (null==a.isElement?void 0:a.isElement(A))||(j=l.floating[S]||o.floating[y]);let T=j/2-k[y]/2-1,I=c(d[O?"top":"left"],T),z=c(d[O?"bottom":"right"],T),R=j-k[y]-z,N=j/2-k[y]/2+(C/2-P/2),D=u(I,c(N,R)),L=!s.arrow&&null!=v(i)&&N!==D&&o.reference[y]/2-(N{let r=new Map,i={platform:es,...n},o={...i.platform,_c:r};return P(e,t,{...i,platform:o})};var ed=n(56760);let eh=e=>{let{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){if(Object.prototype.hasOwnProperty.call(t,"current")){if(null!=t.current)return ef({element:t.current,padding:n}).fn(e)}else if(t)return ef({element:t,padding:n}).fn(e);return{}}}};var em="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function eg(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!eg(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eg(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ey(e){let t=r.useRef(e);return em(()=>{t.current=e}),t}var ev="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;let eb=!1,ex=0,ew=()=>"floating-ui-"+ex++,ek=i["useId".toString()],eO=null!=ek?ek:function(){let[e,t]=r.useState(()=>eb?ew():void 0);return ev(()=>{null==e&&t(ew())},[]),r.useEffect(()=>{eb||(eb=!0)},[]),e},eE=r.createContext(null),eS=r.createContext(null),eC=()=>{var e,t;return null!=(e=null==(t=r.useContext(eE))?void 0:t.id)?e:null},eP=()=>r.useContext(eS);function eA(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function ej(e){var t;return null!=(t=eA(e).defaultView)?t:window}function eT(e){return!!e&&e instanceof ej(e).Element}function eI(e){return!!e&&e instanceof ej(e).HTMLElement}let ez=i["useInsertionEffect".toString()];function eR(e){let{open:t=!1,onOpenChange:n,whileElementsMounted:i,placement:o,middleware:a,strategy:l,nodeId:s}=void 0===e?{}:e,[c,u]=r.useState(null),f=eP(),p=r.useRef(null),d=r.useRef({}),h=r.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(e=>e!==n))}}})())[0],m=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,whileElementsMounted:a,open:l}=e,[s,c]=r.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[u,f]=r.useState(i);eg(u,i)||f(i);let p=r.useRef(null),d=r.useRef(null),h=r.useRef(s),m=ey(a),g=ey(o),[y,v]=r.useState(null),[b,x]=r.useState(null),w=r.useCallback(e=>{p.current!==e&&(p.current=e,v(e))},[]),k=r.useCallback(e=>{d.current!==e&&(d.current=e,x(e))},[]),O=r.useCallback(()=>{if(!p.current||!d.current)return;let e={placement:t,strategy:n,middleware:u};g.current&&(e.platform=g.current),ep(p.current,d.current,e).then(e=>{let t={...e,isPositioned:!0};E.current&&!eg(h.current,t)&&(h.current=t,ed.flushSync(()=>{c(t)}))})},[u,t,n,g]);em(()=>{!1===l&&h.current.isPositioned&&(h.current.isPositioned=!1,c(e=>({...e,isPositioned:!1})))},[l]);let E=r.useRef(!1);em(()=>(E.current=!0,()=>{E.current=!1}),[]),em(()=>{if(y&&b)if(m.current)return m.current(y,b,O);else O()},[y,b,O,m]);let S=r.useMemo(()=>({reference:p,floating:d,setReference:w,setFloating:k}),[w,k]),C=r.useMemo(()=>({reference:y,floating:b}),[y,b]);return r.useMemo(()=>({...s,update:O,refs:S,elements:C,reference:w,floating:k}),[s,O,S,C,w,k])}({placement:o,middleware:a,strategy:l,whileElementsMounted:i}),g=function(e){let t=r.useRef(()=>{});return ez?ez(()=>{t.current=e}):t.current=e,r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r({...m.refs,domReference:p}),[m.refs]),v=r.useMemo(()=>({...m,refs:y,dataRef:d,nodeId:s,events:h,open:t,onOpenChange:g,_:{domReference:c}}),[m,s,h,t,g,y,c]);ev(()=>{let e=null==f?void 0:f.nodesRef.current.find(e=>e.id===s);e&&(e.context=v)});let{reference:b}=m,x=r.useCallback(e=>{(eT(e)||null===e)&&(v.refs.domReference.current=e,u(e)),b(e)},[b,v.refs]);return r.useMemo(()=>({...m,context:v,refs:y,reference:x}),[m,y,v,x])}function eN(e,t,n){let r=new Map;return{..."floating"===n&&{tabIndex:-1},...e,...t.map(e=>e?e[n]:null).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,i]=t;if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof i){var o;null==(o=r.get(n))||o.push(i),e[n]=function(){for(var e,t=arguments.length,i=Array(t),o=0;oe(...i))}}}else e[n]=i}),e),{})}}let eD=function(e){void 0===e&&(e=[]);let t=e,n=r.useCallback(t=>eN(t,e,"reference"),t),i=r.useCallback(t=>eN(t,e,"floating"),t),o=r.useCallback(t=>eN(t,e,"item"),t);return r.useMemo(()=>({getReferenceProps:n,getFloatingProps:i,getItemProps:o}),[n,i,o])};function eL(e,t){var n,r;let i=null!=(n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}))?n:[],o=i;for(;o.length;)o=null!=(r=e.filter(e=>{var t;return null==(t=o)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}))?r:[],i=i.concat(o);return i}let eM="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function eF(e){let t=(0,r.useRef)(e);return ev(()=>{t.current=e}),t}function e_(e,t,n){return n&&"mouse"!==n?0:"number"==typeof e?e:null==e?void 0:e[t]}let eB=function(e,t){let{enabled:n=!0,delay:i=0,handleClose:o=null,mouseOnly:a=!1,restMs:l=0,move:s=!0}=void 0===t?{}:t,{open:c,onOpenChange:u,dataRef:f,events:p,refs:d,_:h}=e,m=eP(),g=eC(),y=eF(o),v=eF(i),b=function(e){let t=(0,r.useRef)();return ev(()=>{t.current=e},[e]),t.current}(c),x=r.useRef(),w=r.useRef(),k=r.useRef(),O=r.useRef(),E=r.useRef(!0),S=r.useRef(!1),C=r.useCallback(()=>{var e;let t=null==(e=f.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[f]);r.useEffect(()=>{if(n)return p.on("dismiss",e),()=>{p.off("dismiss",e)};function e(){clearTimeout(w.current),clearTimeout(O.current),E.current=!0}},[n,p,d]),r.useEffect(()=>{if(!n||!y.current)return;function e(){C()&&u(!1)}let t=eA(d.floating.current).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[d,u,n,y,f,C]);let P=r.useCallback(function(e){void 0===e&&(e=!0);let t=e_(v.current,"close",x.current);t&&!k.current?(clearTimeout(w.current),w.current=setTimeout(()=>u(!1),t)):e&&(clearTimeout(w.current),u(!1))},[v,u]),A=r.useCallback(()=>{k.current&&(eA(d.floating.current).removeEventListener("pointermove",k.current),k.current=void 0)},[d]),j=r.useCallback(()=>{eA(d.floating.current).body.style.pointerEvents="",S.current=!1},[d]);return r.useEffect(()=>{if(!n)return;function t(){return!!f.current.openEvent&&["click","mousedown"].includes(f.current.openEvent.type)}function r(e){if(clearTimeout(w.current),E.current=!1,a&&"mouse"!==x.current||l>0&&0===e_(v.current,"open"))return;f.current.openEvent=e;let t=e_(v.current,"open",x.current);t?w.current=setTimeout(()=>{u(!0)},t):u(!0)}function i(n){if(t())return;let r=eA(d.floating.current);if(clearTimeout(O.current),y.current){clearTimeout(w.current),k.current&&r.removeEventListener("pointermove",k.current),k.current=y.current({...e,tree:m,x:n.clientX,y:n.clientY,onClose(){j(),A(),P()}}),r.addEventListener("pointermove",k.current);return}P()}function o(n){t()||null==y.current||y.current({...e,tree:m,x:n.clientX,y:n.clientY,leave:!0,onClose(){j(),A(),P()}})(n)}let p=d.floating.current,h=d.domReference.current;if(eT(h))return c&&h.addEventListener("mouseleave",o),null==p||p.addEventListener("mouseleave",o),s&&h.addEventListener("mousemove",r,{once:!0}),h.addEventListener("mouseenter",r),h.addEventListener("mouseleave",i),()=>{c&&h.removeEventListener("mouseleave",o),null==p||p.removeEventListener("mouseleave",o),s&&h.removeEventListener("mousemove",r),h.removeEventListener("mouseenter",r),h.removeEventListener("mouseleave",i)}},[h.domReference,n,e,a,l,s,P,A,j,u,c,m,d,v,y,f]),ev(()=>{if(n&&c&&y.current&&y.current.__options.blockPointerEvents&&C()){eA(d.floating.current).body.style.pointerEvents="none",S.current=!0;let n=d.domReference.current,r=d.floating.current;if(eT(n)&&r){var e,t;let i=null==m||null==(e=m.nodesRef.current.find(e=>e.id===g))||null==(t=e.context)?void 0:t.refs.floating.current;return i&&(i.style.pointerEvents=""),n.style.pointerEvents="auto",r.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents=""}}}},[n,c,g,d,m,y,f,C]),ev(()=>{b&&!c&&(x.current=void 0,A(),j())}),r.useEffect(()=>()=>{A(),clearTimeout(w.current),clearTimeout(O.current),S.current&&j()},[n,A,j]),r.useMemo(()=>{if(!n)return{};function e(e){x.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(){c||0===l||(clearTimeout(O.current),O.current=setTimeout(()=>{E.current||u(!0)},l))}},floating:{onMouseEnter(){clearTimeout(w.current)},onMouseLeave(){P(!1)}}}},[n,l,c,u,P])},eH=r.createContext({delay:1e3,initialDelay:1e3,currentId:null,setCurrentId:()=>{},setState:()=>{}}),e$=()=>r.useContext(eH),eU=e=>{let{children:t,delay:n}=e,[i,o]=r.useState({delay:n,initialDelay:n,currentId:null}),a=r.useCallback(e=>{o(t=>({...t,currentId:e}))},[]);return r.createElement(eH.Provider,{value:r.useMemo(()=>({...i,setState:o,setCurrentId:a}),[i,o,a])},t)},eW=(e,t)=>{let{open:n,onOpenChange:i}=e,{id:o}=t,{currentId:a,initialDelay:l,setState:s}=e$();r.useEffect(()=>{a&&(s(e=>({...e,delay:{open:1,close:e_(l,"close")}})),a!==o&&i(!1))},[o,i,s,a,l]),r.useEffect(()=>{n||a!==o||(i(!1),s(e=>({...e,delay:l,currentId:null})))},[n,s,a,o,i,l])},eV=function(e,t){let{open:n}=e,{enabled:i=!0,role:o="dialog"}=void 0===t?{}:t,a=eO(),l=eO();return r.useMemo(()=>{let e={id:a,role:o};return i?"tooltip"===o?{reference:{"aria-describedby":n?a:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===o?"dialog":o,"aria-controls":n?a:void 0,..."listbox"===o&&{role:"combobox"},..."menu"===o&&{id:l}},floating:{...e,..."menu"===o&&{"aria-labelledby":l}}}:{}},[i,o,n,a,l])};function eq(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}let eY={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},eK={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},eG=function(e,t){let{open:n,onOpenChange:i,refs:o,events:a,nodeId:l}=e,{enabled:s=!0,escapeKey:c=!0,outsidePress:u=!0,outsidePressEvent:f="pointerdown",referencePress:p=!1,referencePressEvent:d="pointerdown",ancestorScroll:h=!1,bubbles:m=!0}=void 0===t?{}:t,g=eP(),y=null!=eC(),v=r.useRef(!1);return r.useEffect(()=>{if(!n||!s)return;function e(e){"Escape"===e.key&&(!m&&g&&eL(g.nodesRef.current,l).length>0||(a.emit("dismiss",{preventScroll:!1}),i(!1)))}function t(e){var t,n;let r=v.current;if(v.current=!1,r)return;let s="composedPath"in(t=e)?t.composedPath()[0]:t.target;if(eT(s)&&o.floating.current){let t=null!=(n=o.floating.current.ownerDocument.defaultView)?n:window,r=s.scrollWidth>s.clientWidth,i=s.scrollHeight>s.clientHeight,a=i&&e.offsetX>s.clientWidth;if(i&&"rtl"===t.getComputedStyle(s).direction&&(a=e.offsetX<=s.offsetWidth-s.clientWidth),a||r&&e.offsetY>s.clientHeight)return}let c=g&&eL(g.nodesRef.current,l).some(t=>{var n;return eq(e,null==(n=t.context)?void 0:n.refs.floating.current)});eq(e,o.floating.current)||eq(e,o.domReference.current)||c||!m&&g&&eL(g.nodesRef.current,l).length>0||(a.emit("dismiss",!!y&&{preventScroll:!0}),i(!1))}function r(){i(!1)}let p=eA(o.floating.current);c&&p.addEventListener("keydown",e),u&&p.addEventListener(f,t);let d=[];return h&&(eT(o.domReference.current)&&(d=Y(o.domReference.current)),eT(o.floating.current)&&(d=d.concat(Y(o.floating.current))),!eT(o.reference.current)&&o.reference.current&&o.reference.current.contextElement&&(d=d.concat(Y(o.reference.current.contextElement)))),(d=d.filter(e=>{var t;return e!==(null==(t=p.defaultView)?void 0:t.visualViewport)})).forEach(e=>{e.addEventListener("scroll",r,{passive:!0})}),()=>{c&&p.removeEventListener("keydown",e),u&&p.removeEventListener(f,t),d.forEach(e=>{e.removeEventListener("scroll",r)})}},[c,u,f,a,g,l,n,i,h,s,m,o,y]),r.useEffect(()=>{v.current=!1},[u,f]),r.useMemo(()=>s?{reference:{[eY[d]]:()=>{p&&(a.emit("dismiss"),i(!1))}},floating:{[eK[f]]:()=>{v.current=!0}}}:{},[s,a,p,f,d,i])},eX=function(e,t){let{open:n,onOpenChange:i,dataRef:o,refs:a,events:l}=e,{enabled:s=!0,keyboardOnly:c=!0}=void 0===t?{}:t,u=r.useRef(""),f=r.useRef(!1),p=r.useRef();return r.useEffect(()=>{var e;if(!s)return;let t=null!=(e=eA(a.floating.current).defaultView)?e:window;function r(){!n&&eI(a.domReference.current)&&a.domReference.current.blur()}return t.addEventListener("blur",r),()=>{t.removeEventListener("blur",r)}},[a,n,s]),r.useEffect(()=>{if(s)return l.on("dismiss",e),()=>{l.off("dismiss",e)};function e(){f.current=!0}},[l,s]),r.useEffect(()=>()=>{clearTimeout(p.current)},[]),r.useMemo(()=>s?{reference:{onPointerDown(e){let{pointerType:t}=e;u.current=t,f.current=!!(t&&c)},onPointerLeave(){f.current=!1},onFocus(e){var t,n,r;!f.current&&("focus"===e.type&&(null==(t=o.current.openEvent)?void 0:t.type)==="mousedown"&&null!=(n=a.domReference.current)&&n.contains(null==(r=o.current.openEvent)?void 0:r.target)||(o.current.openEvent=e.nativeEvent,i(!0)))},onBlur(e){let t=e.relatedTarget;p.current=setTimeout(()=>{var e,n;null!=(e=a.floating.current)&&e.contains(t)||null!=(n=a.domReference.current)&&n.contains(t)||(f.current=!1,i(!1))})}}}:{},[s,c,a,o,i])},eZ=(0,r.createContext)(!1),eQ=eZ.Provider,eJ=()=>(0,r.useContext)(eZ);function e0({children:e,openDelay:t=0,closeDelay:n=0}){return r.createElement(eQ,{value:!0},r.createElement(eU,{delay:{open:t,close:n}},e))}e0.displayName="@mantine/core/TooltipGroup";var e1=n(38169),e2=Object.defineProperty,e3=Object.defineProperties,e5=Object.getOwnPropertyDescriptors,e6=Object.getOwnPropertySymbols,e4=Object.prototype.hasOwnProperty,e7=Object.prototype.propertyIsEnumerable,e8=(e,t,n)=>t in e?e2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e9=(e,t)=>{for(var n in t||(t={}))e4.call(t,n)&&e8(e,n,t[n]);if(e6)for(var n of e6(t))e7.call(t,n)&&e8(e,n,t[n]);return e},te=(e,t)=>e3(e,e5(t)),tt=(0,e1.r)((e,{color:t,radius:n,width:r,multiline:i})=>({tooltip:te(e9(e9({},e.fn.fontStyles()),function(e,t){if(!t)return{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[9],color:e.white};let n=e.fn.variant({variant:"filled",color:t,primaryFallback:!1});return{backgroundColor:n.background,color:n.color}}(e,t)),{lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,borderRadius:e.fn.radius(n),padding:`calc(${e.spacing.xs}px / 2) ${e.spacing.xs}px`,position:"absolute",whiteSpace:i?"unset":"nowrap",pointerEvents:"none",width:r}),arrow:{backgroundColor:"inherit",border:0,zIndex:1}}));let tn={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 tr=n(77523),ti=n(50433),to=Object.defineProperty,ta=Object.defineProperties,tl=Object.getOwnPropertyDescriptors,ts=Object.getOwnPropertySymbols,tc=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,tf=(e,t,n)=>t in e?to(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tp=(e,t)=>{for(var n in t||(t={}))tc.call(t,n)&&tf(e,n,t[n]);if(ts)for(var n of ts(t))tu.call(t,n)&&tf(e,n,t[n]);return e},td=(e,t)=>ta(e,tl(t)),th=(e,t)=>{var n={};for(var r in e)tc.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&ts)for(var r of ts(e))0>t.indexOf(r)&&tu.call(e,r)&&(n[r]=e[r]);return n};let tm={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:(0,l.I)("popover")};function tg(e){var t;let n=(0,s.a1)("TooltipFloating",tm,e),{children:i,refProp:l,withinPortal:c,style:u,className:f,classNames:p,styles:d,unstyled:h,radius:m,color:g,label:y,offset:v,position:b,multiline:x,width:w,zIndex:k,disabled:O}=n,E=th(n,["children","refProp","withinPortal","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled"]),{handleMouseMove:S,x:C,y:P,opened:A,boundaryRef:j,floating:T,setOpened:I}=function({offset:e,position:t}){let[n,i]=(0,r.useState)(!1),o=(0,r.useRef)(),{x:a,y:l,reference:s,floating:c,refs:u,update:f,placement:p}=eR({placement:t,middleware:[eu({crossAxis:!0,padding:5,rootBoundary:"document"})]}),d=p.includes("right")?e:t.includes("left")?-1*e:0,h=p.includes("bottom")?e:t.includes("top")?-1*e:0,m=(0,r.useCallback)(({clientX:e,clientY:t})=>{s({getBoundingClientRect:()=>({width:0,height:0,x:e,y:t,left:e+d,top:t+h,right:e,bottom:t})})},[s]);return(0,r.useEffect)(()=>{if(u.floating.current){let e=o.current;e.addEventListener("mousemove",m);let t=Y(u.floating.current);return t.forEach(e=>{e.addEventListener("scroll",f)}),()=>{e.removeEventListener("mousemove",m),t.forEach(e=>{e.removeEventListener("scroll",f)})}}},[s,u.floating,f,m,n]),{handleMouseMove:m,x:a,y:l,opened:n,setOpened:i,boundaryRef:o,floating:c}}({offset:v,position:b}),{classes:z,cx:R}=tt({radius:m,color:g,multiline:x,width:w},{name:"TooltipFloating",classNames:p,styles:d,unstyled:h});if(!o(i))throw Error(tn.children);let N=(0,a.p)(j,i.ref);return O?r.createElement(r.Fragment,null,i):r.createElement(r.Fragment,null,r.createElement(tr.r,{withinPortal:c},r.createElement(ti.a,td(tp({},E),{ref:T,className:R(z.tooltip,f),style:td(tp({},u),{zIndex:k,display:A?"block":"none",top:null!=P?P:"",left:null!=(t=Math.round(C))?t:""})}),y)),(0,r.cloneElement)(i,td(tp({},i.props),{[l]:N,onMouseEnter:e=>{var t,n;null==(n=(t=i.props).onMouseEnter)||n.call(t,e),S(e),I(!0)},onMouseLeave:e=>{var t,n;null==(n=(t=i.props).onMouseLeave)||n.call(t,e),I(!1)}})))}tg.displayName="@mantine/core/TooltipFloating";var ty=n(57864),tv=n(13768),tb=n(26993),tx=Object.defineProperty,tw=Object.defineProperties,tk=Object.getOwnPropertyDescriptors,tO=Object.getOwnPropertySymbols,tE=Object.prototype.hasOwnProperty,tS=Object.prototype.propertyIsEnumerable,tC=(e,t,n)=>t in e?tx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tP=(e,t)=>{for(var n in t||(t={}))tE.call(t,n)&&tC(e,n,t[n]);if(tO)for(var n of tO(t))tS.call(t,n)&&tC(e,n,t[n]);return e},tA=(e,t)=>tw(e,tk(t));function tj(e,t,n,r){return"center"===e||"center"===r?{top:t}:"end"===e?{bottom:n}:"start"===e?{top:n}:{}}function tT(e,t,n,r,i){return"center"===e||"center"===r?{left:t}:"end"===e?{["ltr"===i?"right":"left"]:n}:"start"===e?{["ltr"===i?"left":"right"]:n}:{}}let tI={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};var tz=Object.defineProperty,tR=Object.defineProperties,tN=Object.getOwnPropertyDescriptors,tD=Object.getOwnPropertySymbols,tL=Object.prototype.hasOwnProperty,tM=Object.prototype.propertyIsEnumerable,tF=(e,t,n)=>t in e?tz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,t_=(e,t)=>{for(var n in t||(t={}))tL.call(t,n)&&tF(e,n,t[n]);if(tD)for(var n of tD(t))tM.call(t,n)&&tF(e,n,t[n]);return e},tB=(e,t)=>tR(e,tN(t)),tH=(e,t)=>{var n={};for(var r in e)tL.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&tD)for(var r of tD(e))0>t.indexOf(r)&&tM.call(e,r)&&(n[r]=e[r]);return n};let t$=(0,r.forwardRef)((e,t)=>{var{withBorder:n,position:i,arrowSize:o,arrowOffset:a,arrowRadius:l,arrowPosition:c,visible:u,arrowX:f,arrowY:p}=e,d=tH(e,["withBorder","position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);let h=(0,s.xd)();return u?r.createElement("div",tB(t_({},d),{ref:t,style:function({position:e,withBorder:t,arrowSize:n,arrowOffset:r,arrowRadius:i,arrowPosition:o,arrowX:a,arrowY:l,dir:s}){let[c,u="center"]=e.split("-"),f={width:n,height:n,transform:"rotate(45deg)",position:"absolute",[tI[c]]:i},p=t?-n/2-1:-n/2;return"left"===c?tA(tP(tP({},f),tj(u,l,r,o)),{right:p,borderLeft:0,borderBottom:0}):"right"===c?tA(tP(tP({},f),tj(u,l,r,o)),{left:p,borderRight:0,borderTop:0}):"top"===c?tA(tP(tP({},f),tT(u,a,r,o,s)),{bottom:p,borderTop:0,borderLeft:0}):"bottom"===c?tA(tP(tP({},f),tT(u,a,r,o,s)),{top:p,borderBottom:0,borderRight:0}):{}}({withBorder:n,position:i,arrowSize:o,arrowOffset:a,arrowRadius:l,arrowPosition:c,dir:h.dir,arrowX:f,arrowY:p})})):null});t$.displayName="@mantine/core/FloatingArrow";var tU=Object.defineProperty,tW=Object.defineProperties,tV=Object.getOwnPropertyDescriptors,tq=Object.getOwnPropertySymbols,tY=Object.prototype.hasOwnProperty,tK=Object.prototype.propertyIsEnumerable,tG=(e,t,n)=>t in e?tU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tX=(e,t)=>{for(var n in t||(t={}))tY.call(t,n)&&tG(e,n,t[n]);if(tq)for(var n of tq(t))tK.call(t,n)&&tG(e,n,t[n]);return e},tZ=(e,t)=>tW(e,tV(t)),tQ=(e,t)=>{var n={};for(var r in e)tY.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&tq)for(var r of tq(e))0>t.indexOf(r)&&tK.call(e,r)&&(n[r]=e[r]);return n};let tJ={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transition:"fade",transitionDuration:100,width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:(0,l.I)("popover"),positionDependencies:[]},t0=(0,r.forwardRef)((e,t)=>{let n=(0,r.useRef)(null),i=(0,s.a1)("Tooltip",tJ,e),{children:l,position:f,refProp:d,label:h,openDelay:m,closeDelay:C,onPositionChange:P,opened:I,withinPortal:z,radius:R,color:D,classNames:L,styles:M,unstyled:F,style:_,className:B,withArrow:H,arrowSize:$,arrowOffset:U,arrowRadius:W,arrowPosition:V,offset:q,transition:K,transitionDuration:G,multiline:Z,width:Q,events:J,zIndex:et,disabled:en,positionDependencies:er,onClick:ei,onMouseEnter:eo,onMouseLeave:ea,inline:el}=i,es=tQ(i,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transition","transitionDuration","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline"]),{classes:ef,cx:ep,theme:ed}=tt({radius:R,color:D,width:Q,multiline:Z},{name:"Tooltip",classNames:L,styles:M,unstyled:F}),em=function(e){var t,n,i;let[o,a]=(0,r.useState)(!1),l="boolean"==typeof e.opened?e.opened:o,s=eJ(),f=(0,ty.B)(),{delay:d,currentId:h,setCurrentId:m}=e$(),C=(0,r.useCallback)(e=>{a(e),e&&m(f)},[m,f]),{x:P,y:I,reference:z,floating:R,context:D,refs:L,update:M,placement:F,middlewareData:{arrow:{x:_,y:B}={}}}=eR({placement:e.position,open:l,onOpenChange:C,middleware:[(void 0===(t=e.offset)&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:a,middlewareData:l}=e,s=await T(e,t);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:a}}}}),eu({padding:8}),(void 0===n&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,a;let{placement:l,middlewareData:s,rects:c,initialPlacement:u,platform:f,elements:p}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:C=!0,...P}=g(n,e);if(null!=(t=s.arrow)&&t.alignmentOffset)return{};let j=y(l),T=w(u),I=y(u)===u,z=await (null==f.isRTL?void 0:f.isRTL(p.floating)),R=m||(I||!C?[O(u)]:function(e){let t=O(e);return[k(e),t,k(t)]}(u)),N="none"!==S;!m&&N&&R.push(...function(e,t,n,r){let i=v(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(y(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(k)))),o}(u,C,S,z));let D=[u,...R],L=await A(e,P),M=[],F=(null==(r=s.flip)?void 0:r.overflows)||[];if(d&&M.push(L[j]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=v(e),i=b(w(e)),o=x(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=O(a)),[a,O(a)]}(l,c,z);M.push(L[e[0]],L[e[1]])}if(F=[...F,{placement:l,overflows:M}],!M.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=D[e];if(t)return{data:{index:e,overflows:F},reset:{placement:t}};let n=null==(o=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let e=null==(a=F.filter(e=>{if(N){let t=w(e.placement);return t===T||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=u}if(l!==n)return{reset:{placement:n}}}return{}}}),eh({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[(void 0===i&&(i={}),{name:"inline",options:i,async fn(e){let{placement:t,elements:n,rects:r,platform:o,strategy:a}=e,{padding:l=2,x:s,y:f}=g(i,e),p=Array.from(await (null==o.getClientRects?void 0:o.getClientRects(n.reference))||[]),d=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;er.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>S(j(e)))}(p),h=S(j(p)),m=E(l),v=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=s&&null!=f)return d.find(e=>s>e.left-m.left&&se.top-m.top&&f=2){if("y"===w(t)){let e=d[0],n=d[d.length-1],r="top"===y(t),i=e.top,o=n.bottom,a=r?e.left:n.left,l=r?e.right:n.right;return{top:i,bottom:o,left:a,right:l,width:l-a,height:o-i,x:a,y:i}}let e="left"===y(t),n=u(...d.map(e=>e.right)),r=c(...d.map(e=>e.left)),i=d.filter(t=>e?t.left===r:t.right===n),o=i[0].top,a=i[i.length-1].bottom;return{top:o,bottom:a,left:r,right:n,width:n-r,height:a-o,x:r,y:o}}return h}},floating:n.floating,strategy:a});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.reference.height!==v.reference.height?{reset:{rects:v}}:{}}})]:[]]}),{getReferenceProps:H,getFloatingProps:$}=eD([eB(D,{enabled:e.events.hover,delay:s?d:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),eX(D,{enabled:e.events.focus,keyboardOnly:!0}),eV(D,{role:"tooltip"}),eG(D,{enabled:(e.opened,!1)}),eW(D,{id:f})]);return!function({opened:e,floating:t,positionDependencies:n}){let[i,o]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(t.refs.reference.current&&t.refs.floating.current)return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,d=X(e),h=o||a?[...d?Y(d):[],...Y(t)]:[];h.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let m=d&&s?function(e,t){let n,r=null,i=N(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),o();let f=e.getBoundingClientRect(),{left:d,top:h,width:m,height:g}=f;if(l||t(),!m||!g)return;let y=p(h),v=p(i.clientWidth-(d+m)),b={rootMargin:-y+"px "+-v+"px "+-p(i.clientHeight-(h+g))+"px "+-p(d)+"px",threshold:u(0,c(1,s))||1},x=!0;function w(t){let r=t[0].intersectionRatio;if(r!==s){if(!x)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||ec(f,e.getBoundingClientRect())||a(),x=!1}try{r=new IntersectionObserver(w,{...b,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(w,b)}r.observe(e)}(!0),o}(d,n):null,g=-1,y=null;l&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),d&&!f&&y.observe(d),y.observe(t));let v=f?ee(e):null;return f&&function t(){let r=ee(e);v&&!ec(v,r)&&n(),v=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(i)}}(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference,t.refs.floating,e,i]),(0,tv.C)(()=>{t.update()},n),(0,tv.C)(()=>{o(e=>e+1)},[e])}({opened:l,positionDependencies:e.positionDependencies,floating:{refs:L,update:M}}),(0,tv.C)(()=>{var t;null==(t=e.onPositionChange)||t.call(e,F)},[F]),{x:P,y:I,arrowX:_,arrowY:B,reference:z,floating:R,getFloatingProps:$,getReferenceProps:H,isGroupPhase:l&&h&&h!==f,opened:l,placement:F}}({position:function(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){let[e,n]=t.split("-"),r="right"===e?"left":"right";return void 0===n?r:`${r}-${n}`}return t}(ed.dir,f),closeDelay:C,openDelay:m,onPositionChange:P,opened:I,events:J,arrowRef:n,arrowOffset:U,offset:q+(H?$/2:0),positionDependencies:[...er,l],inline:el});if(!o(l))throw Error(tn.children);let eg=(0,a.p)(em.reference,l.ref,t);return r.createElement(r.Fragment,null,r.createElement(tr.r,{withinPortal:z},r.createElement(tb.e,{mounted:!en&&em.opened,transition:K,duration:em.isGroupPhase?10:G},e=>{var t,i;return r.createElement(ti.a,tX(tX({},es),em.getFloatingProps({ref:em.floating,className:ef.tooltip,style:tZ(tX(tX({},_),e),{zIndex:et,top:null!=(t=em.y)?t:0,left:null!=(i=em.x)?i:0})})),h,r.createElement(t$,{ref:n,arrowX:em.arrowX,arrowY:em.arrowY,visible:H,withBorder:!1,position:em.placement,arrowSize:$,arrowOffset:U,arrowRadius:W,arrowPosition:V,className:ef.arrow}))})),(0,r.cloneElement)(l,em.getReferenceProps(tX({onClick:ei,onMouseEnter:eo,onMouseLeave:ea,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[d]:eg,className:ep(B,l.props.className)},l.props))))});t0.Group=e0,t0.Floating=tg,t0.displayName="@mantine/core/Tooltip";let t1=t0},94466:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(55729),i=n(78102);function o(){for(var e=arguments.length,t=Array(e),n=0;n{t.forEach(t=>(0,i.b)(t,e))}}(...t),t)}},95047:(e,t,n)=>{"use strict";n.d(t,{s:()=>eg});var r=n(55729),i=n(57864),o=n(61946),a=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(l)for(var n of l(t))c.call(t,n)&&u(e,n,t[n]);return e};let p=(0,r.createContext)(null),d=p.Provider,h=()=>(0,r.useContext)(p);var m=n(16947),g=n(13445);function y({spacing:e,offset:t,orientation:n,children:i,role:o,unstyled:a}){return"horizontal"===n?r.createElement(m.Y,{pt:t,spacing:e,role:o,unstyled:a},i):r.createElement(g.B,{pt:t,spacing:e,role:o,unstyled:a},i)}var v=n(70503),b=Object.defineProperty,x=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,O=(e,t,n)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&O(e,n,t[n]);if(x)for(var n of x(t))k.call(t,n)&&O(e,n,t[n]);return e},S=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&x)for(var r of x(e))0>t.indexOf(r)&&k.call(e,r)&&(n[r]=e[r]);return n};let C={orientation:"horizontal",spacing:"lg",offset:"xs",size:"sm"},P=(0,r.forwardRef)((e,t)=>{let n=(0,o.a1)("RadioGroup",C,e),{children:a,value:l,defaultValue:s,onChange:c,orientation:u,spacing:f,size:p,wrapperProps:h,unstyled:m,offset:g,name:b}=n,x=S(n,["children","value","defaultValue","onChange","orientation","spacing","size","wrapperProps","unstyled","offset","name"]),w=(0,i.B)(b),[k,O]=function(e){let{value:t,defaultValue:n,finalValue:i,onChange:o=()=>{}}=e,[a,l]=(0,r.useState)(void 0!==n?n:i);return void 0!==t?[t,o,!0]:[a,e=>{l(e),null==o||o(e)},!1]}({value:l,defaultValue:s,finalValue:"",onChange:c});return r.createElement(d,{value:{value:k,onChange:e=>O(e.currentTarget.value),size:p,name:w}},r.createElement(v.p.Wrapper,E(E({labelElement:"div",size:p,__staticSelector:"RadioGroup",ref:t,unstyled:m},h),x),r.createElement(y,{spacing:f,orientation:u,unstyled:m,role:"radiogroup",offset:g},a)))});P.displayName="@mantine/core/RadioGroup";var A=n(38169),j=Object.defineProperty,T=Object.defineProperties,I=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,D=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))R.call(t,n)&&D(e,n,t[n]);if(z)for(var n of z(t))N.call(t,n)&&D(e,n,t[n]);return e},M=(e,t)=>T(e,I(t));let F={xs:16,sm:20,md:24,lg:30,xl:36},_={xs:6,sm:8,md:10,lg:14,xl:16};var B=(0,A.r)((e,{size:t,color:n,transitionDuration:r,labelPosition:i,error:o},a)=>{let l=e.fn.variant({variant:"filled",color:n}),s=e.fn.variant({variant:"filled",color:"red"}).background;return{inner:{order:"left"===i?2:1,position:"relative",alignSelf:"flex-start"},icon:{ref:a("icon"),color:e.white,opacity:0,transform:"scale(0.75) translateY(2px)",transition:`opacity ${r}ms ${e.transitionTimingFunction}`,pointerEvents:"none",width:e.fn.size({sizes:_,size:t}),height:e.fn.size({sizes:_,size:t}),position:"absolute",top:`calc(50% - ${e.fn.size({sizes:_,size:t})/2}px)`,left:`calc(50% - ${e.fn.size({sizes:_,size:t})/2}px)`},radio:M(L({},e.fn.focusStyles()),{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:`1px solid ${o?s:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]}`,position:"relative",appearance:"none",width:e.fn.size({sizes:F,size:t}),height:e.fn.size({sizes:F,size:t}),borderRadius:e.fn.size({sizes:F,size:t}),margin:0,display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"background-color, border-color",transitionTimingFunction:e.transitionTimingFunction,transitionDuration:`${r}ms`,cursor:e.cursorType,"&:checked":{background:l.background,borderColor:l.background,[`& + .${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],[`& + .${a("icon")}`]:{color:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[4]}}})}}),H=n(79326),$=Object.defineProperty,U=Object.defineProperties,W=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,K=(e,t,n)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t)=>{for(var n in t||(t={}))q.call(t,n)&&K(e,n,t[n]);if(V)for(var n of V(t))Y.call(t,n)&&K(e,n,t[n]);return e},X=(e,t)=>U(e,W(t));let Z={xs:16,sm:20,md:24,lg:30,xl:36};var Q=(0,A.r)((e,{labelPosition:t,size:n})=>({root:{},body:{display:"flex"},labelWrapper:X(G({},e.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:e.fn.size({size:n,sizes:e.fontSizes}),lineHeight:`${e.fn.size({size:n,sizes:Z})}px`,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,cursor:e.cursorType,order:"left"===t?1:2}),description:{marginTop:`calc(${e.spacing.xs}px / 2)`,["left"===t?"paddingRight":"paddingLeft"]:e.spacing.sm},error:{marginTop:`calc(${e.spacing.xs}px / 2)`,["left"===t?"paddingRight":"paddingLeft"]:e.spacing.sm},label:{cursor:e.cursorType,["left"===t?"paddingRight":"paddingLeft"]:e.spacing.sm,"&[data-disabled]":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}})),J=n(50433),ee=Object.defineProperty,et=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,ei=(e,t,n)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eo=(e,t)=>{for(var n in t||(t={}))en.call(t,n)&&ei(e,n,t[n]);if(et)for(var n of et(t))er.call(t,n)&&ei(e,n,t[n]);return e},ea=(e,t)=>{var n={};for(var r in e)en.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&et)for(var r of et(e))0>t.indexOf(r)&&er.call(e,r)&&(n[r]=e[r]);return n};function el(e){var{__staticSelector:t,className:n,classNames:i,styles:o,unstyled:a,children:l,label:s,description:c,id:u,disabled:f,error:p,size:d,labelPosition:h}=e,m=ea(e,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition"]);let{classes:g,cx:y}=Q({size:d,labelPosition:h},{name:t,styles:o,classNames:i,unstyled:a});return r.createElement(J.a,eo({className:y(g.root,n)},m),r.createElement("div",{className:y(g.body)},l,r.createElement("div",{className:g.labelWrapper},s&&r.createElement("label",{className:g.label,"data-disabled":f||void 0,htmlFor:u},s),c&&r.createElement(v.p.Description,{className:g.description},c),p&&"boolean"!==p&&r.createElement(v.p.Error,{className:g.error},p))))}el.displayName="@mantine/core/InlineInput";var es=Object.defineProperty,ec=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,ef=Object.prototype.propertyIsEnumerable,ep=(e,t,n)=>t in e?es(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ed=(e,t)=>{for(var n in t||(t={}))eu.call(t,n)&&ep(e,n,t[n]);if(ec)for(var n of ec(t))ef.call(t,n)&&ep(e,n,t[n]);return e},eh=(e,t)=>{var n={};for(var r in e)eu.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&ec)for(var r of ec(e))0>t.indexOf(r)&&ef.call(e,r)&&(n[r]=e[r]);return n};let em={icon:function(e){return r.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 5 5"},e),r.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"},eg=(0,r.forwardRef)((e,t)=>{var n,a;let l=(0,o.a1)("Radio",em,e),{className:s,style:c,id:u,label:f,size:p,title:d,disabled:m,color:g,classNames:y,styles:v,sx:b,icon:x,transitionDuration:w,wrapperProps:k,unstyled:O,labelPosition:E,description:S,error:C}=l,P=eh(l,["className","style","id","label","size","title","disabled","color","classNames","styles","sx","icon","transitionDuration","wrapperProps","unstyled","labelPosition","description","error"]),A=h(),j=null!=(n=null==A?void 0:A.size)?n:p,T=e.size?p:j,{classes:I}=B({color:g,size:T,transitionDuration:w,labelPosition:E,error:!!C},{classNames:y,styles:v,unstyled:O,name:"Radio"}),{systemStyles:z,rest:R}=(0,H.z)(P),N=(0,i.B)(u),D=A?{checked:A.value===R.value,name:null!=(a=R.name)?a:A.name,onChange:A.onChange}:{};return r.createElement(el,ed(ed({className:s,sx:b,style:c,id:N,size:T,labelPosition:E,label:f,description:S,error:C,disabled:m,__staticSelector:"Radio",classNames:y,styles:v,unstyled:O,"data-checked":D.checked||void 0},z),k),r.createElement("div",{className:I.inner},r.createElement("input",ed(ed({ref:t,className:I.radio,type:"radio",id:N,disabled:m},R),D)),r.createElement(x,{className:I.icon,"aria-hidden":!0})))});eg.displayName="@mantine/core/Radio",eg.Group=P},98574:(e,t,n)=>{"use strict";n.d(t,{C:()=>F});var r=n(55729),i=n(54352),o=n(61946),a=n(83004),l=n(38169),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&h(e,n,t[n]);if(f)for(var n of f(t))d.call(t,n)&&h(e,n,t[n]);return e},g=(e,t)=>c(e,u(t));let y=e=>(0,a.i7)({from:{boxShadow:`0 0 0.5px 0 ${e}`,opacity:.6},to:{boxShadow:`0 0 0.5px 4.4px ${e}`,opacity:0}});function v(e,t=0){let n={},[r,i]=e.split("-"),o="",a="";return"top"===r&&(n.top=t,a="-50%"),"middle"===r&&(n.top="50%",a="-50%"),"bottom"===r&&(n.bottom=t,a="50%"),"start"===i&&(n.left=t,o="-50%"),"center"===i&&(n.left="50%",o="-50%"),"end"===i&&(n.right=t,o="50%"),n.transform=`translate(${o}, ${a})`,n}var b=(0,l.r)((e,{radius:t,size:n,color:r,position:i,offset:o,inline:a,withBorder:l,withLabel:s,zIndex:c})=>{let{background:u}=e.fn.variant({variant:"filled",primaryFallback:!1,color:r||e.primaryColor});return{root:{position:"relative",display:a?"inline-block":"block"},indicator:g(m({},v(i,o)),{zIndex:c,position:"absolute",[s?"minWidth":"width"]:n,height:n,display:"flex",justifyContent:"center",alignItems:"center",fontSize:e.fontSizes.xs,paddingLeft:s?`calc(${e.spacing.xs}px / 2)`:0,paddingRight:s?`calc(${e.spacing.xs}px / 2)`:0,borderRadius:e.fn.size({size:t,sizes:e.radius}),backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:r||e.primaryColor}).background,border:l?`2px solid ${"dark"===e.colorScheme?e.colors.dark[7]:e.white}`:void 0,color:e.white,whiteSpace:"nowrap"}),processing:{animation:`${y(u)} 1000ms linear infinite`},common:g(m({},v(i,o)),{position:"absolute",[s?"minWidth":"width"]:n,height:n,borderRadius:e.fn.size({size:t,sizes:e.radius})})}});function x(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let w=(0,a.i7)({from:{transform:"translateY(-60%)",opacity:0},to:{transform:"translateY(0%)",opacity:1}}),k=(0,a.i7)({from:{transform:"translateY(60%)",opacity:0},to:{transform:"translateY(0%)",opacity:1}}),O=(0,a.i7)({from:{transform:"translateY(0%)",opacity:1},to:{transform:"translateY(-60%)",opacity:0}}),E=(0,a.i7)({from:{transform:"translateY(0%)",opacity:1},to:{transform:"translateY(60%)",opacity:0}});var S=(0,l.r)(()=>({baseNumber:{height:18,width:"0.6em",maxWidth:"0.6em",position:"relative",display:"inline-block"},oldNumberTop:{transform:"translateY(-100%);"},oldNumberBottom:{transform:"translateY(100%);"},oldNumber:{display:"inline-block",opacity:0,position:"absolute",left:0,right:0},currentNumberTop:{transform:"translateY(0%);"},currentNumber:{display:"inline-block",opacity:1,position:"absolute",top:0,bottom:0,left:0,right:0},currentNumberScrollDown:{animation:`${w} .2s cubic-bezier(0,0,.2, 1)`,animationIterationCount:1},currentNumberScrollUp:{animation:`${k} .2s cubic-bezier(0,0,.2, 1)`,animationIterationCount:1},oldNumberScrollUp:{animation:`${O} .2s cubic-bezier(0,0,.2, 1)`,animationIterationCount:1},oldNumberScrollDown:{animation:`${E} .2s cubic-bezier(0,0,.2, 1)`,animationIterationCount:1}}));let C=(0,r.forwardRef)((e,t)=>{let[n,i]=(0,r.useState)(e.value),[o,a]=(0,r.useState)(e.value),[l,s]=(0,r.useState)("up"),[c,u]=(0,r.useState)(!1),f=x(e.value),p=e=>{u(!0),s(e),setTimeout(()=>{u(!1)},180)},d=()=>{let{newOriginalNumber:t,oldOriginalNumber:n}=e;null!=t&&null!=n&&(t>n?p("up"):t{i(f),a(e.value),d()},[e.value,f]);let{classes:h,cx:m}=S(null,{name:"MachineNumber"}),g=(0,r.useMemo)(()=>c?"up"===l?h.currentNumberScrollUp:h.currentNumberScrollDown:null,[c,l]),y=(0,r.useMemo)(()=>c?"up"===l?h.oldNumberScrollUp:h.oldNumberScrollDown:null,[c,l]);return r.createElement("span",{ref:t,className:h.baseNumber},n&&r.createElement("span",{className:m(h.oldNumber,h.currentNumberTop,y)},n)||null,r.createElement("span",null,r.createElement("span",{className:m(h.currentNumber,g)},o)),n&&r.createElement("span",{className:m(h.oldNumber,h.oldNumberBottom,y)},n)||null)});var P=(0,l.r)(()=>({base:{display:"flex",alignItems:"center",overflow:"hidden"}}));let A=(0,r.forwardRef)(({value:e=0,max:t},n)=>{let[i,o]=(0,r.useState)(),[a,l]=(0,r.useState)(),s=x(e);(0,r.useEffect)(()=>{"string"==typeof e?(o(void 0),l(void 0)):("string"==typeof s?o(void 0):o(s),l(e))},[e,s]);let c=(0,r.useMemo)(()=>{if("string"==typeof e)return[];if(e<1)return[0];let n=[],r=e;for("number"==typeof t&&(r=Math.min(t,r));r>=1;)n.push(r%10),r/=10,r=Math.floor(r);return n.reverse(),n},[e,t]),{classes:u}=P(null,{name:"machine"});return"string"==typeof e?r.createElement("span",{ref:n},e):r.createElement("span",{ref:n,className:u.base},c.map((e,t)=>r.createElement(C,{key:c.length-t-1,value:e,oldOriginalNumber:i,newOriginalNumber:a})),"number"==typeof t&&e>t&&r.createElement("span",null,"+"))});var j=n(50433),T=Object.defineProperty,I=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,N=(e,t,n)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||(t={}))z.call(t,n)&&N(e,n,t[n]);if(I)for(var n of I(t))R.call(t,n)&&N(e,n,t[n]);return e},L=(e,t)=>{var n={};for(var r in e)z.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&I)for(var r of I(e))0>t.indexOf(r)&&R.call(e,r)&&(n[r]=e[r]);return n};let M={position:"top-end",offset:0,inline:!1,withBorder:!1,disabled:!1,showZero:!0,processing:!1,dot:!0,size:10,overflowCount:99,radius:1e3,zIndex:(0,i.I)("app")},F=(0,r.forwardRef)((e,t)=>{let n=(0,o.a1)("Indicator",M,e),{children:i,position:a,offset:l,size:s,radius:c,inline:u,withBorder:f,className:p,color:d,dot:h,styles:m,label:g,overflowCount:y,showZero:v,classNames:x,disabled:w,zIndex:k,unstyled:O,processing:E}=n,S=L(n,["children","position","offset","size","radius","inline","withBorder","className","color","dot","styles","label","overflowCount","showZero","classNames","disabled","zIndex","unstyled","processing"]),{classes:C,cx:P}=b({position:a,offset:l,size:s,radius:c,inline:u,color:d,withBorder:f,zIndex:k,withLabel:!!g},{name:"Indicator",classNames:x,styles:m,unstyled:O}),T=(0,r.useMemo)(()=>"number"==typeof g?r.createElement(A,{value:g,max:y}):g,[g,y]),I=(0,r.useMemo)(()=>!w&&(h||null!=g&&!(g<=0&&!v)),[w,g,v]);return r.createElement(j.a,D({ref:t,className:P(C.root,p)},S),I&&r.createElement(r.Fragment,null,r.createElement("div",{className:P(C.indicator,C.common)},T),E&&r.createElement("div",{className:P(C.processing,C.common)})),i)});F.displayName="@mantine/core/Indicator"},98863:(e,t,n)=>{"use strict";function r(e){return Array.isArray(e)?e:[e]}n.d(t,{n:()=>r})}}]);