summaryrefslogtreecommitdiff
path: root/out/_next/static/chunks/pages
diff options
context:
space:
mode:
Diffstat (limited to 'out/_next/static/chunks/pages')
-rw-r--r--out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js1
-rw-r--r--out/_next/static/chunks/pages/_app-7ef60f4a6a38c5e0c8ec.js1
-rw-r--r--out/_next/static/chunks/pages/index-8162019a78766f0a3f9d.js1
-rw-r--r--out/_next/static/chunks/pages/index-9ebad2ac6fcc0c57103b.js1
4 files changed, 2 insertions, 2 deletions
diff --git a/out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js b/out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js
new file mode 100644
index 0000000..7b79210
--- /dev/null
+++ b/out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{20949:function(e,r,t){"use strict";t.d(r,{SG:function(){return y},If:function(){return v}});var n=t(85393),a=t(44592),o=t(67294);var i="chakra-ui-light",l="chakra-ui-dark",s={classList:{add:a.ZT,remove:a.ZT}};function c(e,r){var t=function(e){return a.jU?e.body:s}(r);t.classList.add(e?l:i),t.classList.remove(e?i:l)}var u="(prefers-color-scheme: dark)";function d(e){var r;return(null!=(r=function(e){var r=null==window.matchMedia?void 0:window.matchMedia(e);if(r)return!!r.media===r.matches}(u))?r:"dark"===e)?"dark":"light"}var f=function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},b=function(e){a.jU&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",e),document.documentElement.setAttribute("data-theme",e))},p=function(){return"undefined"!==typeof Storage},g="chakra-ui-color-mode",h={get:function(e){if(!p())return e;try{var r=localStorage.getItem(g);return null!=r?r:e}catch(t){return a.Ts&&console.log(t),e}},set:function(e){if(p())try{localStorage.setItem(g,e)}catch(r){a.Ts&&console.log(r)}},type:"localStorage"},m=o.createContext({});a.Ts&&(m.displayName="ColorModeContext");var v=function(){var e=o.useContext(m);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function y(e){var r=e.value,t=e.children,i=e.options,l=i.useSystemColorMode,s=i.initialColorMode,p=e.colorModeManager,g=void 0===p?h:p,v="dark"===s?"dark":"light",y=o.useState("cookie"===g.type?g.get(v):v),x=y[0],w=y[1],k=(0,n.O)().document;o.useEffect((function(){if(a.jU&&"localStorage"===g.type){var e=d(v);if(l)return w(e);var r=f(),t=g.get();return w(r?r:t||("system"===s?e:v))}}),[g,l,v,s]),o.useEffect((function(){var e="dark"===x;c(e,k),b(e?"dark":"light")}),[x,k]);var S=o.useCallback((function(e,r){if(void 0===r&&(r=!1),r){if(g.get()&&!l)return}else g.set(e);w(e)}),[g,l]),E=o.useCallback((function(){S("light"===x?"dark":"light")}),[x,S]);o.useEffect((function(){var e,r=l||"system"===s;return r&&(e=function(e){if(!("matchMedia"in window))return a.ZT;var r=window.matchMedia(u),t=function(){e(r.matches?"dark":"light",!0)};return r.addEventListener("change",t),function(){r.removeEventListener("change",t)}}(S)),function(){e&&r&&e()}}),[S,l,s]);var C=o.useMemo((function(){return{colorMode:null!=r?r:x,toggleColorMode:r?a.ZT:E,setColorMode:r?a.ZT:S}}),[x,S,E,r]);return o.createElement(m.Provider,{value:C},t)}a.Ts&&(y.displayName="ColorModeProvider");a.Ts;a.Ts},97375:function(e,r,t){"use strict";t.d(r,{vc:function(){return p},kt:function(){return l},pY:function(){return s},Tx:function(){return c},Di:function(){return u},qY:function(){return m},Ck:function(){return y},s9:function(){return w},Gp:function(){return S},NW:function(){return C},Me:function(){return g},ZS:function(){return h},II:function(){return A},qq:function(){return B},O3:function(){return _},PO:function(){return R},bx:function(){return T},zq:function(){return E},rf:function(){return v}});var n=t(67294),a=t(78698),o=(t(20640),t(44592)),i=t(70580);function l(e){void 0===e&&(e=!1);var r=(0,n.useState)(e),t=r[0],a=r[1];return[t,{on:(0,n.useCallback)((function(){a(!0)}),[]),off:(0,n.useCallback)((function(){a(!1)}),[]),toggle:(0,n.useCallback)((function(){a((function(e){return!e}))}),[])}]}function s(e,r){var t=void 0!==e;return[t,t&&"undefined"!==typeof e?e:r]}function c(e){var r=e.value,t=e.defaultValue,i=e.onChange,l=e.shouldUpdate,s=void 0===l?function(e,r){return e!==r}:l,c=(0,a.u)(i),u=(0,a.u)(s),d=n.useState(t),f=d[0],b=d[1],p=void 0!==r,g=p?r:f,h=n.useCallback((function(e){var r=(0,o.Pu)(e,g);u(g,r)&&(p||b(r),c(r))}),[p,c,g,u]);return[g,h]}function u(e,r){var t=n.useState(null),o=t[0],l=t[1],s=n.useRef();return(0,a.a)((function(){if(e.current){var t=e.current;return n(),r&&(window.addEventListener("resize",n),window.addEventListener("scroll",n)),function(){r&&(window.removeEventListener("resize",n),window.removeEventListener("scroll",n)),s.current&&cancelAnimationFrame(s.current)}}function n(){s.current=requestAnimationFrame((function(){var e=(0,i.iz)(t);l(e)}))}}),[r]),o}function d(){return(d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var f={current:1},b=n.createContext(f),p=n.memo((function(e){var r=e.children;return n.createElement(b.Provider,{value:{current:1}},r)}));function g(e,r){var t=n.useContext(b),a=n.useState(t.current),o=a[0],i=a[1];return n.useEffect((function(){i(function(e){return e.current++}(t))}),[t]),n.useMemo((function(){return e||[r,o].filter(Boolean).join("-")}),[e,r,o])}function h(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];var o=g(e);return n.useMemo((function(){return t.map((function(e){return e+"-"+o}))}),[o,t])}function m(e){void 0===e&&(e={});var r=e,t=r.onClose,i=r.onOpen,l=r.isOpen,c=r.id,u=(0,a.u)(i),f=(0,a.u)(t),b=n.useState(e.defaultIsOpen||!1),p=b[0],h=b[1],m=s(l,p),v=m[0],y=m[1],x=g(c,"disclosure"),w=n.useCallback((function(){v||h(!1),null==f||f()}),[v,f]),k=n.useCallback((function(){v||h(!0),null==u||u()}),[v,u]),S=n.useCallback((function(){(y?w:k)()}),[y,k,w]);return{isOpen:!!y,onOpen:k,onClose:w,onToggle:S,isControlled:v,getButtonProps:function(e){return void 0===e&&(e={}),d({},e,{"aria-expanded":"true","aria-controls":x,onClick:(0,o.v0)(e.onClick,S)})},getDisclosureProps:function(e){return void 0===e&&(e={}),d({},e,{hidden:!y,id:x})}}}var v=function(e,r){var t=n.useRef(!1);return n.useEffect((function(){if(t.current)return e();t.current=!0}),r),t.current};function y(e,r){var t=r.shouldFocus,n=r.visible,a=r.focusRef,i=t&&!n;v((function(){if(i&&!function(e){var r=e.current;if(!r)return!1;var t=(0,o.vY)(r);return!!t&&!(0,o.r3)(r,t)&&!!(0,o.Wq)(t)}(e)){var r=(null==a?void 0:a.current)||e.current;r&&(0,o.T_)(r,{nextTick:!0})}}),[i,e,a])}function x(e,r,t,n){return(0,a.b)((0,o.f7)(r),(0,o.JN)(t,"pointerdown"===r),e,n)}function w(e){var r=e.ref,t=e.elements,n=e.enabled,a=(0,o.Ao)("Safari");x((function(){return(0,o.lZ)(r.current)}),"pointerdown",(function(e){if(a&&n){var i=e.target,l=(null!=t?t:[r]).some((function(e){var r=(0,o.Ik)(e)?e.current:e;return(0,o.r3)(r,i)}));!(0,o.H9)(i)&&l&&(e.preventDefault(),(0,o.T_)(i))}}))}var k={preventScroll:!0,shouldFocus:!1};function S(e,r){void 0===r&&(r=k);var t=r,i=t.focusRef,l=t.preventScroll,s=t.shouldFocus,c=t.visible,u=(0,o.Ik)(e)?e.current:e,d=s&&c,f=(0,n.useCallback)((function(){if(u&&d&&!(0,o.r3)(u,document.activeElement))if(null!=i&&i.current)(0,o.T_)(i.current,{preventScroll:l,nextTick:!0});else{var e=(0,o.t5)(u);e.length>0&&(0,o.T_)(e[0],{preventScroll:l,nextTick:!0})}}),[d,l,u,i]);v((function(){f()}),[f]),(0,a.b)("transitionend",f,u)}function E(e,r){return void 0===r&&(r=[]),n.useEffect((function(){return function(){return e()}}),r)}function C(){var e=n.useRef(!1),r=n.useState(0),t=r[0],a=r[1];return E((function(){e.current=!0})),n.useCallback((function(){e.current||a(t+1)}),[t])}function A(e){var r=n.useRef(null);return r.current=e,r}function F(e,r){if(null!=e)if("function"!==typeof e)try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}else e(r)}function B(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.useMemo((function(){return r.every((function(e){return null==e}))?null:function(e){r.forEach((function(r){r&&F(r,e)}))}}),r)}function _(e){var r=e.ref,t=e.handler,i=e.enabled,l=void 0===i||i,s=(0,a.u)(t),c=(0,n.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,n.useEffect)((function(){if(l){var e=function(e){D(e,r)&&(c.isPointerDown=!0)},n=function(e){c.ignoreEmulatedMouseEvents?c.ignoreEmulatedMouseEvents=!1:c.isPointerDown&&t&&D(e,r)&&(c.isPointerDown=!1,s(e))},a=function(e){c.ignoreEmulatedMouseEvents=!0,t&&c.isPointerDown&&D(e,r)&&(c.isPointerDown=!1,s(e))},i=(0,o.lZ)(r.current);return i.addEventListener("mousedown",e,!0),i.addEventListener("mouseup",n,!0),i.addEventListener("touchstart",e,!0),i.addEventListener("touchend",a,!0),function(){i.removeEventListener("mousedown",e,!0),i.removeEventListener("mouseup",n,!0),i.removeEventListener("touchstart",e,!0),i.removeEventListener("touchend",a,!0)}}}),[t,r,s,c,l])}function D(e,r){var t,n=e.target;if(e.button>0)return!1;if(n&&!(0,o.lZ)(n).body.contains(n))return!1;return!(null!=(t=r.current)&&t.contains(n))}function R(e,r){var t=r.onPan,a=r.onPanStart,i=r.onPanEnd,l=r.onPanSessionStart,s=r.onPanSessionEnd,c=r.threshold,u=Boolean(t||a||i||l||s),d=(0,n.useRef)(null),f={onSessionStart:l,onSessionEnd:s,onStart:a,onMove:t,onEnd:function(e,r){d.current=null,null==i||i(e,r)}};(0,n.useEffect)((function(){var e;null==(e=d.current)||e.updateHandlers(f)})),x((function(){return e.current}),"pointerdown",u?function(e){d.current=new o.Hc(e,f,c)}:o.ZT),E((function(){var e;null==(e=d.current)||e.end(),d.current=null}))}function T(e){void 0===e&&(e={});var r=e,t=r.timeout,a=void 0===t?300:t,o=r.preventDefault,i=void 0===o?function(){return!0}:o,l=n.useState([]),s=l[0],c=l[1],u=n.useRef(),d=function(){u.current&&(clearTimeout(u.current),u.current=null)};return n.useEffect((function(){return d}),[]),function(e){return function(r){if("Backspace"===r.key){var t=[].concat(s);return t.pop(),void c(t)}if(function(e){var r=e.key;return 1===r.length||r.length>1&&/[^a-zA-Z0-9]/.test(r)}(r)){var n=s.concat(r.key);i(r)&&(r.preventDefault(),r.stopPropagation()),c(n),e(n.join("")),d(),u.current=setTimeout((function(){c([]),u.current=null}),a)}}}}},78698:function(e,r,t){"use strict";t.d(r,{a:function(){return o},b:function(){return l},c:function(){return s},u:function(){return i}});var n=t(44592),a=t(67294),o=n.jU?a.useLayoutEffect:a.useEffect;function i(e,r){void 0===r&&(r=[]);var t=a.useRef(e);return o((function(){t.current=e})),a.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current.apply(t,r)}),r)}function l(e,r,t,o){var l=i(r);return a.useEffect((function(){var r,a=null!=(r=(0,n.Pu)(t))?r:document;return a.addEventListener(e,l,o),function(){a.removeEventListener(e,l,o)}}),[e,t,o,l]),function(){var r;(null!=(r=(0,n.Pu)(t))?r:document).removeEventListener(e,l,o)}}function s(e){var r=e.isOpen,t=e.ref,o=(0,a.useState)(r),i=o[0],s=o[1],c=(0,a.useState)(!1),u=c[0],d=c[1];return(0,a.useEffect)((function(){u||(s(r),d(!0))}),[r,u,i]),l("animationend",(function(){s(r)}),(function(){return t.current})),{present:!(!r&&(!i&&u)),onComplete:function(){var e,r=new((0,n.kR)(t.current).CustomEvent)("animationend",{bubbles:!0});null==(e=t.current)||e.dispatchEvent(r)}}}},46871:function(e,r,t){"use strict";t.d(r,{h_:function(){return k},hE:function(){return f}});var n=t(44592),a=t(52829),o=t(67294),i=t(97375),l=t(78698),s=t(73935),c=(0,a.kr)({strict:!1,name:"PortalManagerContext"}),u=c[0],d=c[1];function f(e){var r=e.children,t=e.zIndex;return o.createElement(u,{value:{zIndex:t}},r)}function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}n.Ts&&(f.displayName="PortalManager");var p=["containerRef"],g=(0,a.kr)({strict:!1,name:"PortalContext"}),h=g[0],m=g[1],v="chakra-portal",y=function(e){return o.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children)},x=function(e){var r=e.appendToParentPortal,t=e.children,n=o.useRef(null),a=o.useRef(null),c=(0,i.NW)(),u=m(),f=d();(0,l.a)((function(){if(n.current){var e=n.current.ownerDocument,t=r&&null!=u?u:e.body;if(t){a.current=e.createElement("div"),a.current.className=v,t.appendChild(a.current),c();var o=a.current;return function(){t.contains(o)&&t.removeChild(o)}}}}),[]);var b=null!=f&&f.zIndex?o.createElement(y,{zIndex:null==f?void 0:f.zIndex},t):t;return a.current?(0,s.createPortal)(o.createElement(h,{value:a.current},b),a.current):o.createElement("span",{ref:n})},w=function(e){var r=e.children,t=e.containerRef,a=e.appendToParentPortal,c=t.current,u=null!=c?c:n.jU?document.body:void 0,d=o.useMemo((function(){var e=null==c?void 0:c.ownerDocument.createElement("div");return e&&(e.className=v),e}),[c]),f=(0,i.NW)();return(0,l.a)((function(){f()}),[]),(0,l.a)((function(){if(d&&u)return u.appendChild(d),function(){u.removeChild(d)}}),[d,u]),u&&d?(0,s.createPortal)(o.createElement(h,{value:a?d:null},r),d):null};function k(e){var r=e.containerRef,t=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,p);return r?o.createElement(w,b({containerRef:r},t)):o.createElement(x,t)}k.defaultProps={appendToParentPortal:!0},k.className=v,k.selector=".chakra-portal",n.Ts&&(k.displayName="Portal")},85393:function(e,r,t){"use strict";t.d(r,{u:function(){return d},O:function(){return u}});var n=t(44592),a=t(67294),o={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},i=function(){},l={window:{document:o,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:i,removeEventListener:i,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:i,removeListener:i}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)},setTimeout:function(){return 0},clearTimeout:i,setInterval:function(){return 0},clearInterval:i},document:o},s=n.jU?{window:window,document:document}:l,c=(0,a.createContext)(s);function u(){return(0,a.useContext)(c)}function d(e){var r=e.children,t=e.environment,n=(0,a.useState)(null),o=n[0],i=n[1],l=(0,a.useMemo)((function(){var e,r=null==o?void 0:o.ownerDocument,n=null==o?void 0:o.ownerDocument.defaultView;return null!=(e=null!=t?t:r?{document:r,window:n}:void 0)?e:s}),[o,t]),u=!o&&!t;return a.createElement(c.Provider,{value:l},r,u&&a.createElement("span",{ref:function(e){e&&i(e)}}))}n.Ts&&(c.displayName="EnvironmentContext"),n.Ts&&(d.displayName="EnvironmentProvider")},52829:function(e,r,t){"use strict";t.d(r,{kr:function(){return s},WR:function(){return c},lq:function(){return l}});t(38554),t(9839);function n(e){return"function"===typeof e}!function(e){var r=new WeakMap}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));"undefined"===typeof window||!window.document||window.document.createElement;["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function a(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}a((function(e){return function(){e.condition,e.message}})),a((function(e){return function(){e.condition,e.message}}));Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);var o=t(67294);function i(e,r){if(null!=e)if(n(e))e(r);else try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}}function l(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((function(r){return i(r,e)}))}}function s(e){void 0===e&&(e={});var r=e,t=r.strict,n=void 0===t||t,a=r.errorMessage,i=void 0===a?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":a,l=r.name,s=o.createContext(void 0);return s.displayName=l,[s.Provider,function e(){var r=o.useContext(s);if(!r&&n){var t=new Error(i);throw t.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(t,e),t}return r},s]}function c(e){return o.Children.toArray(e).filter((function(e){return o.isValidElement(e)}))}},94244:function(e,r,t){"use strict";t.d(r,{iv:function(){return Ee},ZR:function(){return xe},oE:function(){return me},cC:function(){return ve},c0:function(){return He},fr:function(){return l}});var n=t(44592),a=t(38554),o=t.n(a);function i(){return(i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var l=function(e,r){return function(t){var a=String(r),o=e?e+"."+a:a;return(0,n.Kn)(t.__cssMap)&&o in t.__cssMap?t.__cssMap[o].varRef:r}};function s(e){var r=e.scale,t=e.transform,n=e.compose;return function(e,a){var o,i=l(r,e)(a),s=null!=(o=null==t?void 0:t(i,a))?o:i;return n&&(s=n(s,a)),s}}function c(e,r){return function(t){var n={property:t,scale:e};return n.transform=s({scale:e,transform:r}),n}}var u,d,f=function(e){var r=e.rtl,t=e.ltr;return function(e){return"rtl"===e.direction?r:t}};var b=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var p={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},g={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var h={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},m="& > :not(style) ~ :not(style)",v=((u={})[m]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},u),y=((d={})[m]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},d);function x(e,r){return(x=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function w(e,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&x(e,r)}function k(){k=function(e,r){return new t(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function t(e,n,a){var o=new RegExp(e,n);return r.set(o,a||r.get(e)),x(o,t.prototype)}function n(e,t){var n=r.get(t);return Object.keys(n).reduce((function(r,t){return r[t]=e[n[t]],r}),Object.create(null))}return w(t,RegExp),t.prototype.exec=function(r){var t=e.exec.call(this,r);return t&&(t.groups=n(t,this)),t},t.prototype[Symbol.replace]=function(t,a){if("string"===typeof a){var o=r.get(this);return e[Symbol.replace].call(this,t,a.replace(/\$<([^>]+)>/g,(function(e,r){return"$"+o[r]})))}if("function"===typeof a){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!==typeof e[e.length-1]&&(e=[].slice.call(e)).push(n(e,i)),a.apply(this,e)}))}return e[Symbol.replace].call(this,t,a)},k.apply(this,arguments)}var S={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},E=new Set(Object.values(S)),C=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),A=function(e){return e.trim()};var F=function(e){return(0,n.HD)(e)&&e.includes("(")&&e.includes(")")},B=function(e){return function(r){return e+"("+r+")"}},_={filter:function(e){return"auto"!==e?e:p},backdropFilter:function(e){return"auto"!==e?e:g},ring:function(e){return function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(_.px(e))},bgClip:function(e){return"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform:function(e){return"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(b).join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(b).join(" "):e},px:function(e){return null==e?e:function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e).unitless||(0,n.hj)(e)?e+"px":e},fraction:function(e){return!(0,n.hj)(e)||e>1?e:100*e+"%"},float:function(e,r){return"rtl"===r.direction?{left:"right",right:"left"}[e]:e},degree:function(e){if((0,n.FS)(e)||null==e)return e;var r=(0,n.HD)(e)&&!e.endsWith("deg");return(0,n.hj)(e)||r?e+"deg":e},gradient:function(e,r){return function(e,r){var t,n;if(null==e||C.has(e))return e;var a=null!=(t=null==(n=k(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}).exec(e))?void 0:n.groups)?t:{},o=a.type,i=a.values;if(!o||!i)return e;var l=o.includes("-gradient")?o:o+"-gradient",s=i.split(",").map(A).filter(Boolean),c=s[0],u=s.slice(1);if(0===(null==u?void 0:u.length))return e;var d=c in S?S[c]:c;return u.unshift(d),l+"("+u.map((function(e){if(E.has(e))return e;var t=e.indexOf(" "),n=-1!==t?[e.substr(0,t),e.substr(t+1)]:[e],a=n[0],o=n[1],i=F(o)?o:o&&o.split(" "),l="colors."+a,s=l in r.__cssMap?r.__cssMap[l].varRef:a;return i?[s].concat(Array.isArray(i)?i:[i]).join(" "):s})).join(", ")+")"}(e,null!=r?r:{})},blur:B("blur"),opacity:B("opacity"),brightness:B("brightness"),contrast:B("contrast"),dropShadow:B("drop-shadow"),grayscale:B("grayscale"),hueRotate:B("hue-rotate"),invert:B("invert"),saturate:B("saturate"),sepia:B("sepia"),bgImage:function(e){return null==e||F(e)||C.has(e)?e:"url("+e+")"},outline:function(e){var r="0"===String(e)||"none"===String(e);return null!==e&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection:function(e){var r,t=null!=(r=h[e])?r:{},n=t.space,a=t.divide,o={flexDirection:e};return n&&(o[n]=1),a&&(o[a]=1),o}},D={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),radii:c("radii",_.px),space:c("space",_.px),spaceT:c("space",_.px),degreeT:function(e){return{property:e,transform:_.degree}},prop:function(e,r,t){return i({property:e,scale:r},r&&{transform:s({scale:r,transform:t})})},propT:function(e,r){return{property:e,transform:r}},sizes:c("sizes",_.px),sizesT:c("sizes",_.fraction),shadows:c("shadows"),logical:function(e){var r=e.property,t=e.scale,n=e.transform;return{scale:t,property:f(r),transform:t?s({scale:t,compose:n}):n}},blur:c("blur",_.blur)},R={background:D.colors("background"),backgroundColor:D.colors("backgroundColor"),backgroundImage:D.propT("backgroundImage",_.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:_.bgClip},bgSize:D.prop("backgroundSize"),bgPosition:D.prop("backgroundPosition"),bg:D.colors("background"),bgColor:D.colors("backgroundColor"),bgPos:D.prop("backgroundPosition"),bgRepeat:D.prop("backgroundRepeat"),bgAttachment:D.prop("backgroundAttachment"),bgGradient:D.propT("backgroundImage",_.gradient),bgClip:{transform:_.bgClip}};Object.assign(R,{bgImage:R.backgroundImage,bgImg:R.backgroundImage});var T={border:D.borders("border"),borderWidth:D.borderWidths("borderWidth"),borderStyle:D.borderStyles("borderStyle"),borderColor:D.colors("borderColor"),borderRadius:D.radii("borderRadius"),borderTop:D.borders("borderTop"),borderBlockStart:D.borders("borderBlockStart"),borderTopLeftRadius:D.radii("borderTopLeftRadius"),borderStartStartRadius:D.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:D.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:D.radii("borderTopRightRadius"),borderStartEndRadius:D.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:D.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:D.borders("borderRight"),borderInlineEnd:D.borders("borderInlineEnd"),borderBottom:D.borders("borderBottom"),borderBlockEnd:D.borders("borderBlockEnd"),borderBottomLeftRadius:D.radii("borderBottomLeftRadius"),borderBottomRightRadius:D.radii("borderBottomRightRadius"),borderLeft:D.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:D.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:D.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:D.borders(["borderLeft","borderRight"]),borderInline:D.borders("borderInline"),borderY:D.borders(["borderTop","borderBottom"]),borderBlock:D.borders("borderBlock"),borderTopWidth:D.borderWidths("borderTopWidth"),borderBlockStartWidth:D.borderWidths("borderBlockStartWidth"),borderTopColor:D.colors("borderTopColor"),borderBlockStartColor:D.colors("borderBlockStartColor"),borderTopStyle:D.borderStyles("borderTopStyle"),borderBlockStartStyle:D.borderStyles("borderBlockStartStyle"),borderBottomWidth:D.borderWidths("borderBottomWidth"),borderBlockEndWidth:D.borderWidths("borderBlockEndWidth"),borderBottomColor:D.colors("borderBottomColor"),borderBlockEndColor:D.colors("borderBlockEndColor"),borderBottomStyle:D.borderStyles("borderBottomStyle"),borderBlockEndStyle:D.borderStyles("borderBlockEndStyle"),borderLeftWidth:D.borderWidths("borderLeftWidth"),borderInlineStartWidth:D.borderWidths("borderInlineStartWidth"),borderLeftColor:D.colors("borderLeftColor"),borderInlineStartColor:D.colors("borderInlineStartColor"),borderLeftStyle:D.borderStyles("borderLeftStyle"),borderInlineStartStyle:D.borderStyles("borderInlineStartStyle"),borderRightWidth:D.borderWidths("borderRightWidth"),borderInlineEndWidth:D.borderWidths("borderInlineEndWidth"),borderRightColor:D.colors("borderRightColor"),borderInlineEndColor:D.colors("borderInlineEndColor"),borderRightStyle:D.borderStyles("borderRightStyle"),borderInlineEndStyle:D.borderStyles("borderInlineEndStyle"),borderTopRadius:D.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:D.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:D.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:D.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(T,{rounded:T.borderRadius,roundedTop:T.borderTopRadius,roundedTopLeft:T.borderTopLeftRadius,roundedTopRight:T.borderTopRightRadius,roundedTopStart:T.borderStartStartRadius,roundedTopEnd:T.borderStartEndRadius,roundedBottom:T.borderBottomRadius,roundedBottomLeft:T.borderBottomLeftRadius,roundedBottomRight:T.borderBottomRightRadius,roundedBottomStart:T.borderEndStartRadius,roundedBottomEnd:T.borderEndEndRadius,roundedLeft:T.borderLeftRadius,roundedRight:T.borderRightRadius,roundedStart:T.borderInlineStartRadius,roundedEnd:T.borderInlineEndRadius,borderStart:T.borderInlineStart,borderEnd:T.borderInlineEnd,borderTopStartRadius:T.borderStartStartRadius,borderTopEndRadius:T.borderStartEndRadius,borderBottomStartRadius:T.borderEndStartRadius,borderBottomEndRadius:T.borderEndEndRadius,borderStartRadius:T.borderInlineStartRadius,borderEndRadius:T.borderInlineEndRadius,borderStartWidth:T.borderInlineStartWidth,borderEndWidth:T.borderInlineEndWidth,borderStartColor:T.borderInlineStartColor,borderEndColor:T.borderInlineEndColor,borderStartStyle:T.borderInlineStartStyle,borderEndStyle:T.borderInlineEndStyle});var z={color:D.colors("color"),textColor:D.colors("color"),fill:D.colors("fill"),stroke:D.colors("stroke")},P={boxShadow:D.shadows("boxShadow"),mixBlendMode:!0,blendMode:D.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:D.prop("backgroundBlendMode"),opacity:!0};Object.assign(P,{shadow:P.boxShadow});var M={filter:{transform:_.filter},blur:D.blur("--chakra-blur"),brightness:D.propT("--chakra-brightness",_.brightness),contrast:D.propT("--chakra-contrast",_.contrast),hueRotate:D.degreeT("--chakra-hue-rotate"),invert:D.propT("--chakra-invert",_.invert),saturate:D.propT("--chakra-saturate",_.saturate),dropShadow:D.propT("--chakra-drop-shadow",_.dropShadow),backdropFilter:{transform:_.backdropFilter},backdropBlur:D.blur("--chakra-backdrop-blur"),backdropBrightness:D.propT("--chakra-backdrop-brightness",_.brightness),backdropContrast:D.propT("--chakra-backdrop-contrast",_.contrast),backdropHueRotate:D.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:D.propT("--chakra-backdrop-invert",_.invert),backdropSaturate:D.propT("--chakra-backdrop-saturate",_.saturate)},j={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:_.flexDirection},experimental_spaceX:{static:v,transform:s({scale:"space",transform:function(e){return null!==e?{"--chakra-space-x":e}:null}})},experimental_spaceY:{static:y,transform:s({scale:"space",transform:function(e){return null!=e?{"--chakra-space-y":e}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:D.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:D.space("gap"),rowGap:D.space("rowGap"),columnGap:D.space("columnGap")};Object.assign(j,{flexDir:j.flexDirection});var O={gridGap:D.space("gridGap"),gridColumnGap:D.space("gridColumnGap"),gridRowGap:D.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},I={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:_.outline},outlineOffset:!0,outlineColor:D.colors("outlineColor")},W={width:D.sizesT("width"),inlineSize:D.sizesT("inlineSize"),height:D.sizes("height"),blockSize:D.sizes("blockSize"),boxSize:D.sizes(["width","height"]),minWidth:D.sizes("minWidth"),minInlineSize:D.sizes("minInlineSize"),minHeight:D.sizes("minHeight"),minBlockSize:D.sizes("minBlockSize"),maxWidth:D.sizes("maxWidth"),maxInlineSize:D.sizes("maxInlineSize"),maxHeight:D.sizes("maxHeight"),maxBlockSize:D.sizes("maxBlockSize"),d:D.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:D.propT("float",_.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(W,{w:W.width,h:W.height,minW:W.minWidth,maxW:W.maxWidth,minH:W.minHeight,maxH:W.maxHeight,overscroll:W.overscrollBehavior,overscrollX:W.overscrollBehaviorX,overscrollY:W.overscrollBehaviorY});var N={listStyleType:!0,listStylePosition:!0,listStylePos:D.prop("listStylePosition"),listStyleImage:!0,listStyleImg:D.prop("listStyleImage")},L={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},H={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},$=function(e,r,t){var a={},o=(0,n.Wf)(e,r,{});for(var i in o){i in t&&null!=t[i]||(a[i]=o[i])}return a},q={srOnly:{transform:function(e){return!0===e?L:"focusable"===e?H:{}}},layerStyle:{processResult:!0,transform:function(e,r,t){return $(r,"layerStyles."+e,t)}},textStyle:{processResult:!0,transform:function(e,r,t){return $(r,"textStyles."+e,t)}},apply:{processResult:!0,transform:function(e,r,t){return $(r,e,t)}}},Z={position:!0,pos:D.prop("position"),zIndex:D.prop("zIndex","zIndices"),inset:D.spaceT("inset"),insetX:D.spaceT(["left","right"]),insetInline:D.spaceT("insetInline"),insetY:D.spaceT(["top","bottom"]),insetBlock:D.spaceT("insetBlock"),top:D.spaceT("top"),insetBlockStart:D.spaceT("insetBlockStart"),bottom:D.spaceT("bottom"),insetBlockEnd:D.spaceT("insetBlockEnd"),left:D.spaceT("left"),insetInlineStart:D.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:D.spaceT("right"),insetInlineEnd:D.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Z,{insetStart:Z.insetInlineStart,insetEnd:Z.insetInlineEnd});var U={ring:{transform:_.ring},ringColor:D.colors("--chakra-ring-color"),ringOffset:D.prop("--chakra-ring-offset-width"),ringOffsetColor:D.colors("--chakra-ring-offset-color"),ringInset:D.prop("--chakra-ring-inset")},V={margin:D.spaceT("margin"),marginTop:D.spaceT("marginTop"),marginBlockStart:D.spaceT("marginBlockStart"),marginRight:D.spaceT("marginRight"),marginInlineEnd:D.spaceT("marginInlineEnd"),marginBottom:D.spaceT("marginBottom"),marginBlockEnd:D.spaceT("marginBlockEnd"),marginLeft:D.spaceT("marginLeft"),marginInlineStart:D.spaceT("marginInlineStart"),marginX:D.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:D.spaceT("marginInline"),marginY:D.spaceT(["marginTop","marginBottom"]),marginBlock:D.spaceT("marginBlock"),padding:D.space("padding"),paddingTop:D.space("paddingTop"),paddingBlockStart:D.space("paddingBlockStart"),paddingRight:D.space("paddingRight"),paddingBottom:D.space("paddingBottom"),paddingBlockEnd:D.space("paddingBlockEnd"),paddingLeft:D.space("paddingLeft"),paddingInlineStart:D.space("paddingInlineStart"),paddingInlineEnd:D.space("paddingInlineEnd"),paddingX:D.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:D.space("paddingInline"),paddingY:D.space(["paddingTop","paddingBottom"]),paddingBlock:D.space("paddingBlock")};Object.assign(V,{m:V.margin,mt:V.marginTop,mr:V.marginRight,me:V.marginInlineEnd,marginEnd:V.marginInlineEnd,mb:V.marginBottom,ml:V.marginLeft,ms:V.marginInlineStart,marginStart:V.marginInlineStart,mx:V.marginX,my:V.marginY,p:V.padding,pt:V.paddingTop,py:V.paddingY,px:V.paddingX,pb:V.paddingBottom,pl:V.paddingLeft,ps:V.paddingInlineStart,paddingStart:V.paddingInlineStart,pr:V.paddingRight,pe:V.paddingInlineEnd,paddingEnd:V.paddingInlineEnd});var Y={textDecorationColor:D.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:D.shadows("textShadow")},X={clipPath:!0,transform:D.propT("transform",_.transform),transformOrigin:!0,translateX:D.spaceT("--chakra-translate-x"),translateY:D.spaceT("--chakra-translate-y"),skewX:D.degreeT("--chakra-skew-x"),skewY:D.degreeT("--chakra-skew-y"),scaleX:D.prop("--chakra-scale-x"),scaleY:D.prop("--chakra-scale-y"),scale:D.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:D.degreeT("--chakra-rotate")},G={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:D.prop("transitionDuration","transition.duration"),transitionProperty:D.prop("transitionProperty","transition.property"),transitionTimingFunction:D.prop("transitionTimingFunction","transition.easing")},K={fontFamily:D.prop("fontFamily","fonts"),fontSize:D.prop("fontSize","fontSizes",_.px),fontWeight:D.prop("fontWeight","fontWeights"),lineHeight:D.prop("lineHeight","lineHeights"),letterSpacing:D.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},J={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:D.spaceT("scrollMargin"),scrollMarginTop:D.spaceT("scrollMarginTop"),scrollMarginBottom:D.spaceT("scrollMarginBottom"),scrollMarginLeft:D.spaceT("scrollMarginLeft"),scrollMarginRight:D.spaceT("scrollMarginRight"),scrollMarginX:D.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:D.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:D.spaceT("scrollPadding"),scrollPaddingTop:D.spaceT("scrollPaddingTop"),scrollPaddingBottom:D.spaceT("scrollPaddingBottom"),scrollPaddingLeft:D.spaceT("scrollPaddingLeft"),scrollPaddingRight:D.spaceT("scrollPaddingRight"),scrollPaddingX:D.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:D.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Q(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function ee(e,r){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"===typeof e)return Q(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Q(e,r):void 0}}(e))||r&&e&&"number"===typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var re=function(e,r){return e+":hover "+r+", "+e+"[data-hover] "+r},te=function(e,r){return e+":focus "+r+", "+e+"[data-focus] "+r},ne=function(e,r){return e+":focus-visible "+r},ae=function(e,r){return e+":focus-within "+r},oe=function(e,r){return e+":active "+r+", "+e+"[data-active] "+r},ie=function(e,r){return e+":disabled "+r+", "+e+"[data-disabled] "+r},le=function(e,r){return e+":invalid "+r+", "+e+"[data-invalid] "+r},se=function(e,r){return e+":checked "+r+", "+e+"[data-checked] "+r},ce=function(e,r){return e+":placeholder-shown "+r},ue=function(e){return fe((function(r){return e(r,"&")}),"[role=group]","[data-group]",".group")},de=function(e){return fe((function(r){return e(r,"~ &")}),"[data-peer]",".peer")},fe=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(e).join(", ")},be={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_disabled:"&[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:ue(re),_peerHover:de(re),_groupFocus:ue(te),_peerFocus:de(te),_groupFocusVisible:ue(ne),_peerFocusVisible:de(ne),_groupActive:ue(oe),_peerActive:de(oe),_groupDisabled:ue(ie),_peerDisabled:de(ie),_groupInvalid:ue(le),_peerInvalid:de(le),_groupChecked:ue(se),_peerChecked:de(se),_groupFocusWithin:ue(ae),_peerFocusWithin:de(ae),_peerPlaceholderShown:de(ce),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &, [data-theme=dark] &, &[data-theme=dark]",_light:".chakra-ui-light &, [data-theme=light] &, &[data-theme=light]"},pe=(0,n.Yd)(be),ge=o()({},R,T,z,j,W,M,U,I,O,q,Z,P,V,J,K,Y,X,N,G),he=Object.assign({},V,W,j,O,Z),me=(0,n.Yd)(he),ve=[].concat((0,n.Yd)(ge),pe),ye=i({},ge,be),xe=function(e){return e in ye},we=function(e,r){return e.startsWith("--")&&(0,n.HD)(r)&&!(0,n.FS)(r)},ke=function(e,r){var t,n;if(null==r)return r;var a=function(r){var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.varRef},o=function(e){var r;return null!=(r=a(e))?r:e},i=r.split(",").map((function(e){return e.trim()})),l=i[0],s=i[1];return r=null!=(t=null!=(n=a(l))?n:o(s))?t:o(r)};function Se(e){var r=e.configs,t=void 0===r?{}:r,a=e.pseudos,i=void 0===a?{}:a,l=e.theme;return function e(r,a){void 0===a&&(a=!1);var s=(0,n.Pu)(r,l),c=function(e){return function(r){if(!r.__breakpoints)return e;var t=r.__breakpoints,a=t.isResponsive,o=t.toArrayValue,i=t.media,l={};for(var s in e){var c=(0,n.Pu)(e[s],r);if(null!=c)if(c=(0,n.Kn)(c)&&a(c)?o(c):c,Array.isArray(c))for(var u=c.slice(0,i.length).length,d=0;d<u;d+=1){var f=null==i?void 0:i[d];f?(l[f]=l[f]||{},null!=c[d]&&(l[f][s]=c[d])):l[s]=c[d]}else l[s]=c}return l}}(s)(l),u={};for(var d in c){var f,b,p,g,h,m=c[d],v=(0,n.Pu)(m,l);d in i&&(d=i[d]),we(d,v)&&(v=ke(l,v));var y=t[d];if(!0===y&&(y={property:d}),(0,n.Kn)(v)){var x;u[d]=null!=(x=u[d])?x:{},u[d]=o()({},u[d],e(v,!0))}else{var w=null!=(f=null==(b=y)||null==b.transform?void 0:b.transform(v,l,s))?f:v;w=null!=(p=y)&&p.processResult?e(w,!0):w;var k=(0,n.Pu)(null==(g=y)?void 0:g.property,l);if(!a&&null!=(h=y)&&h.static){var S=(0,n.Pu)(y.static,l);u=o()({},u,S)}if(k&&Array.isArray(k))for(var E,C=ee(k);!(E=C()).done;){u[E.value]=w}else k?"&"===k&&(0,n.Kn)(w)?u=o()({},u,w):u[k]=w:(0,n.Kn)(w)?u=o()({},u,w):u[d]=w}}return u}}var Ee=function(e){return function(r){return Se({theme:r,pseudos:be,configs:ge})(e)}};function Ce(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var Ae=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(Ce).join(" "+e+" ").replace(/calc/g,"")},Fe=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["+"].concat(r))+")"},Be=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["-"].concat(r))+")"},_e=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["*"].concat(r))+")"},De=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["/"].concat(r))+")"},Re=function(e){var r=Ce(e);return null==r||Number.isNaN(parseFloat(r))?_e(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},Te=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(Fe.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(Be.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(_e.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(De.apply(void 0,[e].concat(t)))},negate:function(){return Te(Re(e))},toString:function(){return e.toString()}}}),{add:Fe,subtract:Be,multiply:_e,divide:De,negate:Re});function ze(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?r.replace(".","\\."):e}function Pe(e,r){return"var("+ze(e)+(r?", "+r:"")+")"}function Me(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,ze(e)].filter(Boolean).join("-")}(e,r)}function je(e,r){return function(e,r,t){var n=Me(e,t);return{variable:n,reference:Pe(n,r)}}(String(e).replace(/\./g,"-"),void 0,r)}function Oe(e,r){for(var t={},a={},i=function(){var i=s[l],c=i[0],u=i[1],d=u.isSemantic,f=u.value,b=je(c,null==r?void 0:r.cssVarPrefix),p=b.variable,g=b.reference;if(!d){if(c.startsWith("space")){var h=c.split("."),m=h[0]+".-"+h.slice(1).join("."),v=Te.negate(f),y=Te.negate(g);a[m]={value:v,var:p,varRef:y}}return t[p]=f,a[c]={value:f,var:p,varRef:g},"continue"}var x=(0,n.Kn)(f)?f:{default:f};t=o()(t,Object.entries(x).reduce((function(t,n){var a,o,i=n[0],l=function(t){var n=[String(c).split(".")[0],t].join(".");return e[n]?je(n,null==r?void 0:r.cssVarPrefix).reference:t}(n[1]);return"default"===i?(t[p]=l,t):(t[null!=(a=null==be?void 0:be[i])?a:i]=((o={})[p]=l,o),t)}),{})),a[c]={value:g,var:p,varRef:g}},l=0,s=Object.entries(e);l<s.length;l++)i();return{cssVars:t,cssMap:a}}var Ie=["__cssMap","__cssVars","__breakpoints"],We=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Ne(e){var r=We;return(0,n.ei)(e,r)}function Le(e){return e.__cssMap,e.__cssVars,e.__breakpoints,function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,Ie)}function He(e){var r,t=Le(e),a=Oe(function(e){var r,t,a=e.tokens,o=e.semanticTokens,i=Object.entries(null!=(r=(0,n.xH)(a))?r:{}).map((function(e){return[e[0],{isSemantic:!1,value:e[1]}]})),l=Object.entries(null!=(t=(0,n.xH)(o,1))?t:{}).map((function(e){return[e[0],{isSemantic:!0,value:e[1]}]}));return(0,n.sq)([].concat(i,l))}({tokens:Ne(t),semanticTokens:function(e){return e.semanticTokens}(t)}),{cssVarPrefix:null==(r=t.config)?void 0:r.cssVarPrefix}),o=a.cssMap,l=a.cssVars;return Object.assign(t,{__cssVars:i({},{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},l),__cssMap:o,__breakpoints:(0,n.yn)(t.breakpoints)}),t}},105:function(e,r,t){"use strict";t.d(r,{ZL:function(){return P},Fo:function(){return T},f6:function(){return B},m$:function(){return $},Gp:function(){return q},Lr:function(){return M},jC:function(){return V},mq:function(){return U},yK:function(){return z},Fg:function(){return D}});var n=t(20949),a=t(94244),o=t(70917),i=t(31421),l=t(44592),s=t(38554),c=t.n(s),u=t(67294),d=t(69590),f=t.n(d),b=t(52829),p=t(87462),g=t(67866),h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,g.Z)((function(e){return h.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),v=t(70444),y=t(94199),x=m,w=function(e){return"theme"!==e},k=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?x:w},S=function(e,r,t){var n;if(r){var a=r.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(r){return e.__emotion_forwardProp(r)&&a(r)}:a}return"function"!==typeof n&&t&&(n=e.__emotion_forwardProp),n},E=function(){return null},C=function e(r,t){var n,a,o=r.__emotion_real===r,l=o&&r.__emotion_base||r;void 0!==t&&(n=t.label,a=t.target);var s=S(r,t,o),c=s||k(l),d=!c("as");return function(){var f=arguments,b=o&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==f[0]||void 0===f[0].raw)b.push.apply(b,f);else{0,b.push(f[0][0]);for(var g=f.length,h=1;h<g;h++)b.push(f[h],f[0][h])}var m=(0,i.w)((function(e,r,t){var n=d&&e.as||l,o="",f=[],p=e;if(null==e.theme){for(var g in p={},e)p[g]=e[g];p.theme=(0,u.useContext)(i.T)}"string"===typeof e.className?o=(0,v.f)(r.registered,f,e.className):null!=e.className&&(o=e.className+" ");var h=(0,y.O)(b.concat(f),r.registered,p);(0,v.M)(r,h,"string"===typeof n);o+=r.key+"-"+h.name,void 0!==a&&(o+=" "+a);var m=d&&void 0===s?k(n):c,x={};for(var w in e)d&&"as"===w||m(w)&&(x[w]=e[w]);x.className=o,x.ref=t;var S=(0,u.createElement)(n,x),C=(0,u.createElement)(E,null);return(0,u.createElement)(u.Fragment,null,C,S)}));return m.displayName=void 0!==n?n:"Styled("+("string"===typeof l?l:l.displayName||l.name||"Component")+")",m.defaultProps=r.defaultProps,m.__emotion_real=m,m.__emotion_base=l,m.__emotion_styles=b,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(r,n){return e(r,(0,p.Z)({},t,n,{shouldForwardProp:S(m,n,!0)})).apply(void 0,b)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){C[e]=C(e)}));var A=C;function F(){return(F=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var B=function(e){var r=e.cssVarsRoot,t=e.theme,n=e.children,o=u.useMemo((function(){return(0,a.c0)(t)}),[t]);return u.createElement(i.a,{theme:o},u.createElement(_,{root:r}),n)},_=function(e){var r=e.root,t=void 0===r?":host, :root":r;return u.createElement(o.xB,{styles:function(e){var r;return(r={})[t]=e.__cssVars,r}})};function D(){var e=u.useContext(i.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var R=(0,b.kr)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),T=R[0],z=R[1],P=function(){var e=(0,n.If)().colorMode;return u.createElement(o.xB,{styles:function(r){var t=(0,l.Wf)(r,"styles.global"),n=(0,l.Pu)(t,{theme:r,colorMode:e});if(n){var o=(0,a.iv)(n)(r);return o}}})};function M(e){return(0,l.CE)(e,["styleConfig","size","variant","colorScheme"])}function j(){return F({},(0,n.If)(),{theme:D()})}function O(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}var I=new Set([].concat(a.cC,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),W=new Set(["htmlWidth","htmlHeight","htmlSize"]),N=function(e){return W.has(e)||!I.has(e)},L=["theme","css","__css","sx"],H=["baseStyle"];var $=function(e,r){var t=null!=r?r:{},n=t.baseStyle,o=O(t,H);o.shouldForwardProp||(o.shouldForwardProp=N);var i=function(e){var r=e.baseStyle;return function(e){e.theme;var t=e.css,n=e.__css,o=e.sx,i=O(e,L),s=(0,l.lw)(i,(function(e,r){return(0,a.ZR)(r)})),c=(0,l.Pu)(r,e),u=Object.assign({},n,c,(0,l.YU)(s),o),d=(0,a.iv)(u)(e.theme);return t?[d,t]:d}}({baseStyle:n});return A(e,o)(i)};function q(e){return u.forwardRef(e)}["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"].forEach((function(e){$[e]=$(e)}));var Z=["styleConfig"];function U(e,r,t){var n;void 0===r&&(r={}),void 0===t&&(t={});var a=r,o=a.styleConfig,i=O(a,Z),s=j(),d=s.theme,b=s.colorMode,p=(0,l.Wf)(d,"components."+e),g=o||p,h=c()({theme:d,colorMode:b},null!=(n=null==g?void 0:g.defaultProps)?n:{},(0,l.YU)((0,l.CE)(i,["children"]))),m=(0,u.useRef)({});if(g){var v,y,x,w,k,S,E=(0,l.Pu)(null!=(v=g.baseStyle)?v:{},h),C=(0,l.Pu)(null!=(y=null==(x=g.variants)?void 0:x[h.variant])?y:{},h),A=(0,l.Pu)(null!=(w=null==(k=g.sizes)?void 0:k[h.size])?w:{},h),F=c()({},E,A,C);null!=(S=t)&&S.isMultiPart&&g.parts&&g.parts.forEach((function(e){var r;F[e]=null!=(r=F[e])?r:{}})),f()(m.current,F)||(m.current=F)}return m.current}function V(e,r){return U(e,r,{isMultiPart:!0})}},44592:function(e,r,t){"use strict";t.d(r,{Hc:function(){return ze},Ts:function(){return m},jX:function(){return o},yn:function(){return P},Qm:function(){return H},PP:function(){return ie},v0:function(){return oe},HU:function(){return we},r3:function(){return Z},cx:function(){return $},PB:function(){return L},Ao:function(){return Ne},VI:function(){return he},YU:function(){return C},xH:function(){return ge},T_:function(){return be},sq:function(){return F},vY:function(){return q},t5:function(){return re},K1:function(){return B},LP:function(){return l},lZ:function(){return I},kR:function(){return O},f7:function(){return Re},wN:function(){return V},H9:function(){return G},kJ:function(){return c},jU:function(){return N},FS:function(){return h},Qr:function(){return b},mf:function(){return u},Re:function(){return j},kA:function(){return y},Ft:function(){return p},hj:function(){return s},Kn:function(){return f},Ik:function(){return v},n_:function(){return Y},HD:function(){return g},Wq:function(){return Q},o8:function(){return d},XQ:function(){return We},Wf:function(){return S},ZT:function(){return se},uh:function(){return U},lw:function(){return E},Yd:function(){return A},CE:function(){return x},WS:function(){return ye},ei:function(){return w},zG:function(){return ue},px:function(){return _},cl:function(){return i},WP:function(){return xe},Pu:function(){return ae},Vl:function(){return k},Rg:function(){return ve},ZK:function(){return ce},JN:function(){return Be}});t(38554);var n=t(9839);function a(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}function o(e,r){return[].concat(e,[r])}function i(e,r){return e.filter((function(e){return e!==r}))}function l(e,r,t,n){if(null==r)return n;if(!n)return e.find((function(e){return t(e).toLowerCase().startsWith(r.toLowerCase())}));var a,o=e.filter((function(e){return t(e).toLowerCase().startsWith(r.toLowerCase())}));return o.length>0?o.includes(n)?((a=o.indexOf(n)+1)===o.length&&(a=0),o[a]):(a=e.indexOf(o[0]),e[a]):n}function s(e){return"number"===typeof e}function c(e){return Array.isArray(e)}function u(e){return"function"===typeof e}function d(e){return"undefined"===typeof e||void 0===e}function f(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!c(e)}function b(e){return f(e)&&0===Object.keys(e).length}function p(e){return null==e}function g(e){return"[object String]"===Object.prototype.toString.call(e)}function h(e){return/^var\(--.+\)$/.test(e)}var m=!1;function v(e){return"current"in e}function y(e){return e&&f(e)&&f(e.target)}function x(e,r){var t={};return Object.keys(e).forEach((function(n){r.includes(n)||(t[n]=e[n])})),t}function w(e,r){var t={};return r.forEach((function(r){r in e&&(t[r]=e[r])})),t}function k(e,r){var t={},n={};return Object.keys(e).forEach((function(a){r.includes(a)?t[a]=e[a]:n[a]=e[a]})),[t,n]}var S=function(e){var r=new WeakMap;return function(t,n,a,o){if("undefined"===typeof t)return e(t,n,a);r.has(t)||r.set(t,new Map);var i=r.get(t);if(i.has(n))return i.get(n);var l=e(t,n,a,o);return i.set(n,l),l}}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));function E(e,r){var t={};return Object.keys(e).forEach((function(n){var a=e[n];r(a,n,e)&&(t[n]=a)})),t}var C=function(e){return E(e,(function(e){return null!==e&&void 0!==e}))},A=function(e){return Object.keys(e)},F=function(e){return e.reduce((function(e,r){var t=r[0],n=r[1];return e[t]=n,e}),{})},B=function(e,r,t){var n,a;return null!=(n=null==(a=e.__cssMap[r+"."+t])?void 0:a.varRef)?n:t};function _(e){return null==e?e:function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e).unitless||s(e)?e+"px":e}var D=function(e,r){return parseInt(e[1],10)>parseInt(r[1],10)?1:-1},R=function(e){return F(Object.entries(e).sort(D))};function T(e){var r=R(e);return Object.assign(Object.values(r),r)}function z(e,r){var t=[];return e&&t.push("@media screen and (min-width: "+_(e)+")"),t.length>0&&r&&t.push("and"),r&&t.push("@media screen and (max-width: "+_(r)+")"),t.join(" ")}function P(e){var r;if(!e)return null;e.base=null!=(r=e.base)?r:"0px";var t=T(e),n=Object.entries(e).sort(D).map((function(e,r,t){var n,a=e[0],o=e[1],i=(null!=(n=t[r+1])?n:[])[1];return{breakpoint:a,minW:o,maxW:i=parseFloat(i)>0?function(e){var r;if(!e)return e;var t=(e=null!=(r=_(e))?r:e).endsWith("px")?-1:-.0635;return s(e)?""+(e+t):e.replace(/([0-9]+\.?[0-9]*)/,(function(e){return""+(parseFloat(e)+t)}))}(i):void 0,maxWQuery:z(null,i),minWQuery:z(o),minMaxQuery:z(o,i)}})),o=function(e){var r=Object.keys(R(e));return new Set(r)}(e),i=Array.from(o.values());return{keys:o,normalized:t,isResponsive:function(e){var r=Object.keys(e);return r.length>0&&r.every((function(e){return o.has(e)}))},asObject:R(e),asArray:T(e),details:n,media:[null].concat(t.map((function(e){return z(e)})).slice(1)),toArrayValue:function(e){if(!f(e))throw new Error("toArrayValue: value must be an object");for(var r=i.map((function(r){var t;return null!=(t=e[r])?t:null}));null===a(r);)r.pop();return r},toObjectValue:function(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce((function(e,r,t){var n=i[t];return null!=n&&null!=r&&(e[n]=r),e}),{})}}}function M(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function j(e){var r;return!!M(e)&&e instanceof(null!=(r=e.ownerDocument.defaultView)?r:window).HTMLElement}function O(e){var r,t;return M(e)&&null!=(r=null==(t=I(e))?void 0:t.defaultView)?r:window}function I(e){var r;return M(e)&&null!=(r=e.ownerDocument)?r:document}function W(e){var r;return null!=(r=e.view)?r:window}var N=!("undefined"===typeof window||!window.document||!window.document.createElement),L=function(e){return e?"":void 0},H=function(e){return!!e||void 0},$=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter(Boolean).join(" ")};function q(e){var r=I(e);return null==r?void 0:r.activeElement}function Z(e,r){return!!e&&(e===r||e.contains(r))}function U(e){var r=e.key,t=e.keyCode;return t>=37&&t<=40&&0!==r.indexOf("Arrow")?"Arrow"+r:r}function V(e){var r,t,n=q(null!=(r=e.target)?r:e.currentTarget);return null!=(t=e.relatedTarget)?t:n}function Y(e){return 0!==e.button}var X=function(e){return e.hasAttribute("tabindex")};function G(e){return(j(e)?I(e):document).activeElement===e}function K(e){return!(!e.parentElement||!K(e.parentElement))||e.hidden}function J(e){if(!j(e)||K(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;var r=e.localName;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;var t={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return r in t?t[r]():!!function(e){var r=e.getAttribute("contenteditable");return"false"!==r&&null!=r}(e)||X(e)}function Q(e){return!!e&&(j(e)&&J(e)&&!function(e){return X(e)&&-1===e.tabIndex}(e))}var ee=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function re(e){var r=Array.from(e.querySelectorAll(ee));return r.unshift(e),r.filter(J).filter((function(e){return"none"!==window.getComputedStyle(e).display}))}function te(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function ne(e,r){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"===typeof e)return te(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?te(e,r):void 0}}(e))||r&&e&&"number"===typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ae(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return u(e)?e.apply(void 0,t):e}function oe(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.some((function(r){return null==r||r(e),null==e?void 0:e.defaultPrevented}))}}function ie(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((function(r){null==r||r(e)}))}}function le(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}var se=function(){},ce=le((function(e){return function(){var r=e.condition,t=e.message;r&&m&&console.warn(t)}})),ue=(le((function(e){return function(){var r=e.condition,t=e.message;r&&m&&console.error(t)}})),function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){return r.reduce((function(e,r){return r(e)}),e)}}),de=function(e,r){return Math.abs(e-r)},fe=function(e){return"x"in e&&"y"in e};function be(e,r){void 0===r&&(r={});var t=r,n=t.isActive,a=void 0===n?G:n,o=t.nextTick,i=t.preventScroll,l=void 0===i||i,s=t.selectTextIfInput,c=void 0===s||s;if(!e||a(e))return-1;function u(){if(e){if(function(){if(null==pe){pe=!1;try{document.createElement("div").focus({get preventScroll(){return pe=!0,!0}})}catch(e){}}return pe}())e.focus({preventScroll:l});else if(e.focus(),l)!function(e){for(var r,t=ne(e);!(r=t()).done;){var n=r.value,a=n.element,o=n.scrollTop,i=n.scrollLeft;a.scrollTop=o,a.scrollLeft=i}}(function(e){var r,t=I(e),n=null!=(r=t.defaultView)?r:window,a=e.parentNode,o=[],i=t.scrollingElement||t.documentElement;for(;a instanceof n.HTMLElement&&a!==i;)(a.offsetHeight<a.scrollHeight||a.offsetWidth<a.scrollWidth)&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),a=a.parentNode;i instanceof n.HTMLElement&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft});return o}(e));(function(e){return j(e)&&"input"===e.tagName.toLowerCase()&&"select"in e})(e)&&c&&e.select()}else ce({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"})}return o?requestAnimationFrame(u):(u(),-1)}var pe=null;function ge(e,r){return void 0===r&&(r=1/0),(f(e)||Array.isArray(e))&&r?Object.entries(e).reduce((function(e,t){var n=t[0],a=t[1];return f(a)||c(a)?Object.entries(ge(a,r-1)).forEach((function(r){var t=r[0],a=r[1];e[n+"."+t]=a})):e[n]=a,e}),{}):e}function he(e){var r=e.hasBeenSelected,t=e.isLazy,n=e.isSelected,a=e.lazyBehavior;return!t||(!!n||!("keepMounted"!==(void 0===a?"unmount":a)||!r))}Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;function me(e){var r=parseFloat(e);return function(e){return"number"!==typeof e||Number.isNaN(e)||!Number.isFinite(e)}(r)?0:r}function ve(e,r,t){return 100*(e-r)/(t-r)}function ye(e,r,t){return(t-r)*e+r}function xe(e,r,t){return function(e,r){var t=me(e),n=Math.pow(10,null!=r?r:10);return t=Math.round(t*n)/n,r?t.toFixed(r):t.toString()}(Math.round((e-r)/t)*t+r,function(e){if(!Number.isFinite(e))return 0;for(var r=1,t=0;Math.round(e*r)/r!==e;)r*=10,t+=1;return t}(t))}function we(e,r,t){return null==e?e:(ce({condition:t<r,message:"clamp: max cannot be less than min"}),Math.min(Math.max(e,r),t))}function ke(){return(ke=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function Se(e){return!!e.touches}var Ee={pageX:0,pageY:0};function Ce(e,r){void 0===r&&(r="page");var t=e.touches[0]||e.changedTouches[0]||Ee;return{x:t[r+"X"],y:t[r+"Y"]}}function Ae(e,r){return void 0===r&&(r="page"),{x:e[r+"X"],y:e[r+"Y"]}}function Fe(e,r){return void 0===r&&(r="page"),{point:Se(e)?Ce(e,r):Ae(e,r)}}var Be=function(e,r){void 0===r&&(r=!1);var t,n=function(r){return e(r,Fe(r))};return r?(t=n,function(e){var r=e instanceof W(e).MouseEvent;(!r||r&&0===e.button)&&t(e)}):n},_e={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},De={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Re(e){return N&&null===window.onpointerdown?e:N&&null===window.ontouchstart?De[e]:N&&null===window.onmousedown?_e[e]:e}function Te(e,r,t,n){return function(e,r,t,n){return e.addEventListener(r,t,n),function(){e.removeEventListener(r,t,n)}}(e,Re(r),Be(t,"pointerdown"===r),n)}var ze=function(){function e(e,r,t){var a=this;if(this.history=[],this.startEvent=null,this.lastEvent=null,this.lastEventInfo=null,this.handlers={},this.removeListeners=se,this.threshold=3,this.win=void 0,this.updatePoint=function(){if(a.lastEvent&&a.lastEventInfo){var e=Oe(a.lastEventInfo,a.history),r=null!==a.startEvent,t=function(e,r){if(s(e)&&s(r))return de(e,r);if(fe(e)&&fe(r)){var t=de(e.x,r.x),n=de(e.y,r.y);return Math.sqrt(Math.pow(t,2)+Math.pow(n,2))}return 0}(e.offset,{x:0,y:0})>=a.threshold;if(r||t){var o=(0,n.$B)().timestamp;a.history.push(ke({},e.point,{timestamp:o}));var i=a.handlers,l=i.onStart,c=i.onMove;r||(null==l||l(a.lastEvent,e),a.startEvent=a.lastEvent),null==c||c(a.lastEvent,e)}}},this.onPointerMove=function(e,r){a.lastEvent=e,a.lastEventInfo=r,function(e){var r=W(e);return"undefined"!==typeof r.PointerEvent&&e instanceof r.PointerEvent?!("mouse"!==e.pointerType):e instanceof r.MouseEvent}(e)&&0===e.buttons?a.onPointerUp(e,r):n.ZP.update(a.updatePoint,!0)},this.onPointerUp=function(e,r){var t=Oe(r,a.history),n=a.handlers,o=n.onEnd,i=n.onSessionEnd;null==i||i(e,t),a.end(),o&&a.startEvent&&(null==o||o(e,t))},this.win=W(e),!(Se(o=e)&&o.touches.length>1)){var o;this.handlers=r,t&&(this.threshold=t),e.stopPropagation(),e.preventDefault();var i=Fe(e),l=(0,n.$B)().timestamp;this.history=[ke({},i.point,{timestamp:l})];var c=r.onSessionStart;null==c||c(e,Oe(i,this.history)),this.removeListeners=ue(Te(this.win,"pointermove",this.onPointerMove),Te(this.win,"pointerup",this.onPointerUp),Te(this.win,"pointercancel",this.onPointerUp))}}var r=e.prototype;return r.updateHandlers=function(e){this.handlers=e},r.end=function(){var e;null==(e=this.removeListeners)||e.call(this),n.qY.update(this.updatePoint)},e}();function Pe(e,r){return{x:e.x-r.x,y:e.y-r.y}}function Me(e){return e[0]}function je(e){return e[e.length-1]}function Oe(e,r){return{point:e.point,delta:Pe(e.point,je(r)),offset:Pe(e.point,Me(r)),velocity:Ie(r,.1)}}function Ie(e,r){if(e.length<2)return{x:0,y:0};for(var t=e.length-1,n=null,a=function(e){return e[e.length-1]}(e);t>=0&&(n=e[t],!(a.timestamp-n.timestamp>1e3*r));)t--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}Object.freeze(["base","sm","md","lg","xl","2xl"]);function We(e,r){return c(e)?e.map((function(e){return null===e?null:r(e)})):f(e)?A(e).reduce((function(t,n){return t[n]=r(e[n]),t}),{}):null!=e?r(e):null}function Ne(e){return!!N&&function(e){var r=e.userAgent,t=e.vendor,n=/(android)/i.test(r);switch(!0){case/CriOS/.test(r):return"Chrome for iOS";case/Edg\//.test(r):return"Edge";case n&&/Silk\//.test(r):return"Silk";case/Chrome/.test(r)&&/Google Inc/.test(t):return"Chrome";case/Firefox\/\d+\.\d+$/.test(r):return"Firefox";case n:return"AOSP";case/MSIE|Trident/.test(r):return"IE";case/Safari/.test(e.userAgent)&&/Apple Computer/.test(r):return"Safari";case/AppleWebKit/.test(r):return"WebKit";default:return null}}(window.navigator)===e}},51859:function(e,r,t){"use strict";t.d(r,{Z:function(){return ae}});var n=t(11526),a=Math.abs,o=String.fromCharCode,i=Object.assign;function l(e){return e.trim()}function s(e,r,t){return e.replace(r,t)}function c(e,r){return e.indexOf(r)}function u(e,r){return 0|e.charCodeAt(r)}function d(e,r,t){return e.slice(r,t)}function f(e){return e.length}function b(e){return e.length}function p(e,r){return r.push(e),e}var g=1,h=1,m=0,v=0,y=0,x="";function w(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:g,column:h,length:i,return:""}}function k(e,r){return i(w("",null,null,"",null,null,0),e,{length:-e.length},r)}function S(){return y=v>0?u(x,--v):0,h--,10===y&&(h=1,g--),y}function E(){return y=v<m?u(x,v++):0,h++,10===y&&(h=1,g++),y}function C(){return u(x,v)}function A(){return v}function F(e,r){return d(x,e,r)}function B(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return g=h=1,m=f(x=e),v=0,[]}function D(e){return x="",e}function R(e){return l(F(v-1,P(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(y=C())&&y<33;)E();return B(e)>2||B(y)>3?"":" "}function z(e,r){for(;--r&&E()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return F(e,A()+(r<6&&32==C()&&32==E()))}function P(e){for(;E();)switch(y){case e:return v;case 34:case 39:34!==e&&39!==e&&P(y);break;case 40:41===e&&P(e);break;case 92:E()}return v}function M(e,r){for(;E()&&e+y!==57&&(e+y!==84||47!==C()););return"/*"+F(r,v-1)+"*"+o(47===e?e:E())}function j(e){for(;!B(C());)E();return F(e,v)}var O="-ms-",I="-moz-",W="-webkit-",N="comm",L="rule",H="decl",$="@keyframes";function q(e,r){for(var t="",n=b(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function Z(e,r,t,n){switch(e.type){case"@import":case H:return e.return=e.return||e.value;case N:return"";case $:return e.return=e.value+"{"+q(e.children,n)+"}";case L:e.value=e.props.join(",")}return f(t=q(e.children,n))?e.return=e.value+"{"+t+"}":""}function U(e,r){switch(function(e,r){return(((r<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3)}(e,r)){case 5103:return W+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+I+e+O+e+e;case 6828:case 4268:return W+e+O+e+e;case 6165:return W+e+O+"flex-"+e+e;case 5187:return W+e+s(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return W+e+O+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return W+e+O+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+O+s(e,"shrink","negative")+e;case 5292:return W+e+O+s(e,"basis","preferred-size")+e;case 6060:return W+"box-"+s(e,"-grow","")+W+e+O+s(e,"grow","positive")+e;case 4554:return W+s(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,W+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-r>6)switch(u(e,r+1)){case 109:if(45!==u(e,r+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+I+(108==u(e,r+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?U(s(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==u(e,r+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return s(e,":",":"+W)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===u(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+O+"$2box$3")+e}break;case 5936:switch(u(e,r+11)){case 114:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+O+e+e}return e}function V(e){return D(Y("",null,null,null,[""],e=_(e),0,[0],e))}function Y(e,r,t,n,a,i,l,u,d){for(var b=0,g=0,h=l,m=0,v=0,y=0,x=1,w=1,k=1,F=0,B="",_=a,D=i,P=n,O=B;w;)switch(y=F,F=E()){case 40:if(108!=y&&58==O.charCodeAt(h-1)){-1!=c(O+=s(R(F),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:O+=R(F);break;case 9:case 10:case 13:case 32:O+=T(y);break;case 92:O+=z(A()-1,7);continue;case 47:switch(C()){case 42:case 47:p(G(M(E(),A()),r,t),d);break;default:O+="/"}break;case 123*x:u[b++]=f(O)*k;case 125*x:case 59:case 0:switch(F){case 0:case 125:w=0;case 59+g:v>0&&f(O)-h&&p(v>32?K(O+";",n,t,h-1):K(s(O," ","")+";",n,t,h-2),d);break;case 59:O+=";";default:if(p(P=X(O,r,t,b,g,a,u,B,_=[],D=[],h),i),123===F)if(0===g)Y(O,r,P,P,_,i,h,u,D);else switch(m){case 100:case 109:case 115:Y(e,P,P,n&&p(X(e,P,P,0,0,a,u,B,a,_=[],h),D),a,D,h,u,n?_:D);break;default:Y(O,P,P,P,[""],D,0,u,D)}}b=g=v=0,x=k=1,B=O="",h=l;break;case 58:h=1+f(O),v=y;default:if(x<1)if(123==F)--x;else if(125==F&&0==x++&&125==S())continue;switch(O+=o(F),F*x){case 38:k=g>0?1:(O+="\f",-1);break;case 44:u[b++]=(f(O)-1)*k,k=1;break;case 64:45===C()&&(O+=R(E())),m=C(),g=h=f(B=O+=j(A())),F++;break;case 45:45===y&&2==f(O)&&(x=0)}}return i}function X(e,r,t,n,o,i,c,u,f,p,g){for(var h=o-1,m=0===o?i:[""],v=b(m),y=0,x=0,k=0;y<n;++y)for(var S=0,E=d(e,h+1,h=a(x=c[y])),C=e;S<v;++S)(C=l(x>0?m[S]+" "+E:s(E,/&\f/g,m[S])))&&(f[k++]=C);return w(e,r,t,0===o?L:u,f,p,g)}function G(e,r,t){return w(e,r,t,N,o(y),d(e,2,-2),0)}function K(e,r,t,n){return w(e,r,t,H,d(e,0,n),d(e,n+1,-1),n)}var J=function(e,r,t){for(var n=0,a=0;n=a,a=C(),38===n&&12===a&&(r[t]=1),!B(a);)E();return F(e,v)},Q=function(e,r){return D(function(e,r){var t=-1,n=44;do{switch(B(n)){case 0:38===n&&12===C()&&(r[t]=1),e[t]+=J(v-1,r,t);break;case 2:e[t]+=R(n);break;case 4:if(44===n){e[++t]=58===C()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=o(n)}}while(n=E());return e}(_(e),r))},ee=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||ee.get(t))&&!n){ee.set(e,!0);for(var a=[],o=Q(r,a),i=t.props,l=0,s=0;l<o.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=a[l]?o[l].replace(/&\f/g,i[c]):i[c]+" "+o[l]}}},te=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},ne=[function(e,r,t,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=U(e.value,e.length);break;case $:return q([k(e,{value:s(e.value,"@","@"+W)})],n);case L:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([k(e,{props:[s(r,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([k(e,{props:[s(r,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[s(r,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(r,/:(plac\w+)/,O+"input-$1")]})],n)}return""}))}}],ae=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||ne;var o,i,l={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),t=1;t<r.length;t++)l[r[t]]=!0;s.push(e)}));var c,u,d=[Z,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var r=b(e);return function(t,n,a,o){for(var i="",l=0;l<r;l++)i+=e[l](t,n,a,o)||"";return i}}([re,te].concat(a,d));i=function(e,r,t,n){c=t,q(V(e?e+"{"+r.styles+"}":r.styles),f),n&&(p.inserted[r.name]=!0)};var p={key:r,sheet:new n.m({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:i};return p.sheet.hydrate(s),p}},67866:function(e,r){"use strict";r.Z=function(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}},31421:function(e,r,t){"use strict";t.d(r,{T:function(){return c},a:function(){return d},w:function(){return s}});var n=t(67294),a=t(51859),o=t(87462),i=function(e){var r=new WeakMap;return function(t){if(r.has(t))return r.get(t);var n=e(t);return r.set(t,n),n}},l=(t(94199),(0,n.createContext)("undefined"!==typeof HTMLElement?(0,a.Z)({key:"css"}):null));l.Provider;var s=function(e){return(0,n.forwardRef)((function(r,t){var a=(0,n.useContext)(l);return e(r,a,t)}))},c=(0,n.createContext)({});var u=i((function(e){return i((function(r){return function(e,r){return"function"===typeof r?r(e):(0,o.Z)({},e,r)}(e,r)}))})),d=function(e){var r=(0,n.useContext)(c);return e.theme!==r&&(r=u(r)(e.theme)),(0,n.createElement)(c.Provider,{value:r},e.children)}},70917:function(e,r,t){"use strict";t.d(r,{xB:function(){return s},F4:function(){return u}});var n=t(67294),a=(t(51859),t(31421)),o=(t(8679),t(70444)),i=t(94199),l=t(11526),s=(0,a.w)((function(e,r){var t=e.styles,s=(0,i.O)([t],void 0,(0,n.useContext)(a.T)),c=(0,n.useRef)();return(0,n.useLayoutEffect)((function(){var e=r.key+"-global",t=new l.m({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=!1,a=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==a&&(n=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),c.current=[t,n],function(){t.flush()}}),[r]),(0,n.useLayoutEffect)((function(){var e=c.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==s.next&&(0,o.M)(r,s.next,!0),t.tags.length){var n=t.tags[t.tags.length-1].nextElementSibling;t.before=n,t.flush()}r.insert("",s,t,!1)}}),[r,s.name]),null}));function c(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.O)(r)}var u=function(){var e=c.apply(void 0,arguments),r="animation-"+e.name;return{name:r,styles:"@keyframes "+r+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},94199:function(e,r,t){"use strict";t.d(r,{O:function(){return g}});var n=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=t(67866),i=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.Z)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,r){switch(e){case"animation":case"animationName":if("string"===typeof r)return r.replace(l,(function(e,r,t){return b={name:r,styles:t,next:b},r}))}return 1===a[e]||s(e)||"number"!==typeof r||0===r?r:r+"px"};function f(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return b={name:t.name,styles:t.styles,next:b},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)b={name:n.name,styles:n.styles,next:b},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=f(e,r,t[a])+";";else for(var o in t){var i=t[o];if("object"!==typeof i)null!=r&&void 0!==r[i]?n+=o+"{"+r[i]+"}":c(i)&&(n+=u(o)+":"+d(o,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=r&&void 0!==r[i[0]]){var l=f(e,r,i);switch(o){case"animation":case"animationName":n+=u(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}else for(var s=0;s<i.length;s++)c(i[s])&&(n+=u(o)+":"+d(o,i[s])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=b,o=t(e);return b=a,f(e,r,o)}break;case"string":}if(null==r)return t;var i=r[t];return void 0!==i?i:t}var b,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var g=function(e,r,t){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,o="";b=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,o+=f(t,r,i)):o+=i[0];for(var l=1;l<e.length;l++)o+=f(t,r,e[l]),a&&(o+=i[l]);p.lastIndex=0;for(var s,c="";null!==(s=p.exec(o));)c+="-"+s[1];return{name:n(o)+c,styles:o,next:b}}},11526:function(e,r,t){"use strict";t.d(r,{m:function(){return n}});var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(n){0}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},70444:function(e,r,t){"use strict";t.d(r,{f:function(){return n},M:function(){return a}});function n(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var a=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}}},20640:function(e,r,t){"use strict";var n=t(11742),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,r){var t,o,i,l,s,c,u=!1;r||(r={}),t=r.debug||!1;try{if(i=n(),l=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(n){if(n.stopPropagation(),r.format)if(n.preventDefault(),"undefined"===typeof n.clipboardData){t&&console.warn("unable to use e.clipboardData"),t&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[r.format]||a.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(r.format,e);r.onCopy&&(n.preventDefault(),r.onCopy(n.clipboardData))})),document.body.appendChild(c),l.selectNodeContents(c),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){t&&console.error("unable to copy using execCommand: ",d),t&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",e),r.onCopy&&r.onCopy(window.clipboardData),u=!0}catch(d){t&&console.error("unable to copy using clipboardData: ",d),t&&console.error("falling back to prompt"),o=function(e){var r=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,r)}("message"in r?r.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),c&&document.body.removeChild(c),i()}return u}},70580:function(e,r,t){"use strict";t.d(r,{iz:function(){return c}});var n="Invariant failed";var a=function(e){var r=e.top,t=e.right,n=e.bottom,a=e.left;return{top:r,right:t,bottom:n,left:a,width:t-a,height:n-r,x:a,y:r,center:{x:(t+a)/2,y:(n+r)/2}}},o=function(e,r){return{top:e.top+r.top,left:e.left+r.left,bottom:e.bottom-r.bottom,right:e.right-r.right}},i={top:0,right:0,bottom:0,left:0},l=function(e){var r,t,n=e.borderBox,l=e.margin,s=void 0===l?i:l,c=e.border,u=void 0===c?i:c,d=e.padding,f=void 0===d?i:d,b=a((t=s,{top:(r=n).top-t.top,left:r.left-t.left,bottom:r.bottom+t.bottom,right:r.right+t.right})),p=a(o(n,u)),g=a(o(p,f));return{marginBox:b,borderBox:a(n),paddingBox:p,contentBox:g,margin:s,border:u,padding:f}},s=function(e){var r=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var t=Number(r);return isNaN(t)&&function(e,r){if(!e)throw new Error(n)}(!1),t},c=function(e){return function(e,r){var t={top:s(r.marginTop),right:s(r.marginRight),bottom:s(r.marginBottom),left:s(r.marginLeft)},n={top:s(r.paddingTop),right:s(r.paddingRight),bottom:s(r.paddingBottom),left:s(r.paddingLeft)},a={top:s(r.borderTopWidth),right:s(r.borderRightWidth),bottom:s(r.borderBottomWidth),left:s(r.borderLeftWidth)};return l({borderBox:e,margin:t,padding:n,border:a})}(e.getBoundingClientRect(),window.getComputedStyle(e))}},9839:function(e,r,t){"use strict";t.d(r,{qY:function(){return b},ZP:function(){return y},iW:function(){return p},$B:function(){return v}});var n=1/60*1e3,a="undefined"!==typeof performance?function(){return performance.now()}:function(){return Date.now()},o="undefined"!==typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(a())}),n)};var i=!0,l=!1,s=!1,c={delta:0,timestamp:0},u=["read","update","preRender","render","postRender"],d=u.reduce((function(e,r){return e[r]=function(e){var r=[],t=[],n=0,a=!1,o=new WeakSet,i={schedule:function(e,i,l){void 0===i&&(i=!1),void 0===l&&(l=!1);var s=l&&a,c=s?r:t;return i&&o.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=r.length)),e},cancel:function(e){var r=t.indexOf(e);-1!==r&&t.splice(r,1),o.delete(e)},process:function(l){var s;if(a=!0,r=(s=[t,r])[0],(t=s[1]).length=0,n=r.length)for(var c=0;c<n;c++){var u=r[c];u(l),o.has(u)&&(i.schedule(u),e())}a=!1}};return i}((function(){return l=!0})),e}),{}),f=u.reduce((function(e,r){var t=d[r];return e[r]=function(e,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),l||m(),t.schedule(e,r,n)},e}),{}),b=u.reduce((function(e,r){return e[r]=d[r].cancel,e}),{}),p=u.reduce((function(e,r){return e[r]=function(){return d[r].process(c)},e}),{}),g=function(e){return d[e].process(c)},h=function(e){l=!1,c.delta=i?n:Math.max(Math.min(e-c.timestamp,40),1),c.timestamp=e,s=!0,u.forEach(g),s=!1,l&&(i=!1,o(h))},m=function(){l=!0,i=!0,s||o(h)},v=function(){return c},y=f},8679:function(e,r,t){"use strict";var n=t(59864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return n.isMemo(e)?i:l[e.$$typeof]||a}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(r,t,n){if("string"!==typeof t){if(p){var a=b(t);a&&a!==p&&e(r,a,n)}var i=u(t);d&&(i=i.concat(d(t)));for(var l=s(r),g=s(t),h=0;h<i.length;++h){var m=i[h];if(!o[m]&&(!n||!n[m])&&(!g||!g[m])&&(!l||!l[m])){var v=f(t,m);try{c(r,m,v)}catch(y){}}}}return r}},38554:function(e,r,t){e=t.nmd(e);var n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Function]",l="[object Object]",s=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[o]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[i]=u["[object Map]"]=u["[object Number]"]=u[l]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,f="object"==typeof self&&self&&self.Object===Object&&self,b=d||f||Function("return this")(),p=r&&!r.nodeType&&r,g=p&&e&&!e.nodeType&&e,h=g&&g.exports===p,m=h&&d.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(r){}}(),y=v&&v.isTypedArray;function x(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var w,k,S=Array.prototype,E=Function.prototype,C=Object.prototype,A=b["__core-js_shared__"],F=E.toString,B=C.hasOwnProperty,_=function(){var e=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),D=C.toString,R=F.call(Object),T=RegExp("^"+F.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=h?b.Buffer:void 0,P=b.Symbol,M=b.Uint8Array,j=z?z.allocUnsafe:void 0,O=(w=Object.getPrototypeOf,k=Object,function(e){return w(k(e))}),I=Object.create,W=C.propertyIsEnumerable,N=S.splice,L=P?P.toStringTag:void 0,H=function(){try{var e=be(Object,"defineProperty");return e({},"",{}),e}catch(r){}}(),$=z?z.isBuffer:void 0,q=Math.max,Z=Date.now,U=be(b,"Map"),V=be(Object,"create"),Y=function(){function e(){}return function(r){if(!Ce(r))return{};if(I)return I(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function X(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function G(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function K(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function J(e){var r=this.__data__=new G(e);this.size=r.size}function Q(e,r){var t=xe(e),n=!t&&ye(e),a=!t&&!n&&ke(e),o=!t&&!n&&!a&&Fe(e),i=t||n||a||o,l=i?function(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}(e.length,String):[],s=l.length;for(var c in e)!r&&!B.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||pe(c,s))||l.push(c);return l}function ee(e,r,t){(void 0!==t&&!ve(e[r],t)||void 0===t&&!(r in e))&&ne(e,r,t)}function re(e,r,t){var n=e[r];B.call(e,r)&&ve(n,t)&&(void 0!==t||r in e)||ne(e,r,t)}function te(e,r){for(var t=e.length;t--;)if(ve(e[t][0],r))return t;return-1}function ne(e,r,t){"__proto__"==r&&H?H(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}X.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},X.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},X.prototype.get=function(e){var r=this.__data__;if(V){var t=r[e];return t===n?void 0:t}return B.call(r,e)?r[e]:void 0},X.prototype.has=function(e){var r=this.__data__;return V?void 0!==r[e]:B.call(r,e)},X.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=V&&void 0===r?n:r,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(e){var r=this.__data__,t=te(r,e);return!(t<0)&&(t==r.length-1?r.pop():N.call(r,t,1),--this.size,!0)},G.prototype.get=function(e){var r=this.__data__,t=te(r,e);return t<0?void 0:r[t][1]},G.prototype.has=function(e){return te(this.__data__,e)>-1},G.prototype.set=function(e,r){var t=this.__data__,n=te(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this},K.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(U||G),string:new X}},K.prototype.delete=function(e){var r=fe(this,e).delete(e);return this.size-=r?1:0,r},K.prototype.get=function(e){return fe(this,e).get(e)},K.prototype.has=function(e){return fe(this,e).has(e)},K.prototype.set=function(e,r){var t=fe(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},J.prototype.clear=function(){this.__data__=new G,this.size=0},J.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,r){var t=this.__data__;if(t instanceof G){var n=t.__data__;if(!U||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new K(n)}return t.set(e,r),this.size=t.size,this};var ae,oe=function(e,r,t){for(var n=-1,a=Object(e),o=t(e),i=o.length;i--;){var l=o[ae?i:++n];if(!1===r(a[l],l,a))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var r=B.call(e,L),t=e[L];try{e[L]=void 0;var n=!0}catch(o){}var a=D.call(e);n&&(r?e[L]=t:delete e[L]);return a}(e):function(e){return D.call(e)}(e)}function le(e){return Ae(e)&&ie(e)==o}function se(e){return!(!Ce(e)||function(e){return!!_&&_ in e}(e))&&(Se(e)?T:s).test(function(e){if(null!=e){try{return F.call(e)}catch(r){}try{return e+""}catch(r){}}return""}(e))}function ce(e){if(!Ce(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=ge(e),t=[];for(var n in e)("constructor"!=n||!r&&B.call(e,n))&&t.push(n);return t}function ue(e,r,t,n,a){e!==r&&oe(r,(function(o,i){if(a||(a=new J),Ce(o))!function(e,r,t,n,a,o,i){var s=he(e,t),c=he(r,t),u=i.get(c);if(u)return void ee(e,t,u);var d=o?o(s,c,t+"",e,r,i):void 0,f=void 0===d;if(f){var b=xe(c),p=!b&&ke(c),g=!b&&!p&&Fe(c);d=c,b||p||g?xe(s)?d=s:Ae(h=s)&&we(h)?d=function(e,r){var t=-1,n=e.length;r||(r=Array(n));for(;++t<n;)r[t]=e[t];return r}(s):p?(f=!1,d=function(e,r){if(r)return e.slice();var t=e.length,n=j?j(t):new e.constructor(t);return e.copy(n),n}(c,!0)):g?(f=!1,d=function(e,r){var t=r?function(e){var r=new e.constructor(e.byteLength);return new M(r).set(new M(e)),r}(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}(c,!0)):d=[]:function(e){if(!Ae(e)||ie(e)!=l)return!1;var r=O(e);if(null===r)return!0;var t=B.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&F.call(t)==R}(c)||ye(c)?(d=s,ye(s)?d=function(e){return function(e,r,t,n){var a=!t;t||(t={});var o=-1,i=r.length;for(;++o<i;){var l=r[o],s=n?n(t[l],e[l],l,t,e):void 0;void 0===s&&(s=e[l]),a?ne(t,l,s):re(t,l,s)}return t}(e,Be(e))}(s):Ce(s)&&!Se(s)||(d=function(e){return"function"!=typeof e.constructor||ge(e)?{}:Y(O(e))}(c))):f=!1}var h;f&&(i.set(c,d),a(d,c,n,o,i),i.delete(c));ee(e,t,d)}(e,r,i,t,ue,n,a);else{var s=n?n(he(e,i),o,i+"",e,r,a):void 0;void 0===s&&(s=o),ee(e,i,s)}}),Be)}function de(e,r){return me(function(e,r,t){return r=q(void 0===r?e.length-1:r,0),function(){for(var n=arguments,a=-1,o=q(n.length-r,0),i=Array(o);++a<o;)i[a]=n[r+a];a=-1;for(var l=Array(r+1);++a<r;)l[a]=n[a];return l[r]=t(i),x(e,this,l)}}(e,r,Re),e+"")}function fe(e,r){var t=e.__data__;return function(e){var r=typeof e;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e}(r)?t["string"==typeof r?"string":"hash"]:t.map}function be(e,r){var t=function(e,r){return null==e?void 0:e[r]}(e,r);return se(t)?t:void 0}function pe(e,r){var t=typeof e;return!!(r=null==r?a:r)&&("number"==t||"symbol"!=t&&c.test(e))&&e>-1&&e%1==0&&e<r}function ge(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||C)}function he(e,r){if(("constructor"!==r||"function"!==typeof e[r])&&"__proto__"!=r)return e[r]}var me=function(e){var r=0,t=0;return function(){var n=Z(),a=16-(n-t);if(t=n,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}(H?function(e,r){return H(e,"toString",{configurable:!0,enumerable:!1,value:(t=r,function(){return t}),writable:!0});var t}:Re);function ve(e,r){return e===r||e!==e&&r!==r}var ye=le(function(){return arguments}())?le:function(e){return Ae(e)&&B.call(e,"callee")&&!W.call(e,"callee")},xe=Array.isArray;function we(e){return null!=e&&Ee(e.length)&&!Se(e)}var ke=$||function(){return!1};function Se(e){if(!Ce(e))return!1;var r=ie(e);return r==i||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Ce(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function Ae(e){return null!=e&&"object"==typeof e}var Fe=y?function(e){return function(r){return e(r)}}(y):function(e){return Ae(e)&&Ee(e.length)&&!!u[ie(e)]};function Be(e){return we(e)?Q(e,!0):ce(e)}var _e,De=(_e=function(e,r,t,n){ue(e,r,t,n)},de((function(e,r){var t=-1,n=r.length,a=n>1?r[n-1]:void 0,o=n>2?r[2]:void 0;for(a=_e.length>3&&"function"==typeof a?(n--,a):void 0,o&&function(e,r,t){if(!Ce(t))return!1;var n=typeof r;return!!("number"==n?we(t)&&pe(r,t.length):"string"==n&&r in t)&&ve(t[r],e)}(r[0],r[1],o)&&(a=n<3?void 0:a,n=1),e=Object(e);++t<n;){var i=r[t];i&&_e(e,i,t,a)}return e})));function Re(e){return e}e.exports=De},67690:function(e,r,t){"use strict";t.d(r,{n:function(){return n}});var n={1337:{base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#3D3D3D",base4:"#4b474c",base5:"#515151",base6:"#6D6D6D",base7:"#777778",base8:"#f4f4f4",bg:"#191919","bg-alt":"#252526",blue:"#8CDAFF","dark-blue":"#6699CC",fg:"#d4d4d4","fg-alt":"#AEAFAD",green:"#468800",grey:"#777778","light-green":"#B5CEA8","light-yellow":"#FBE3BF",magenta:"#C586C0",orange:"#FC9354",red:"#FF5E5E",teal:"#35CDAF",white:"#FFFFFF",yellow:"#E9FDAC"},Iosevkem:{base0:"#1b1d1e",base1:"#202020",base2:"#303030",base3:"#303030",base4:"#505050",base5:"#505050",base6:"#808080",base7:"#808080",base8:"#DFDFDF",bg:"#1b1d1e","bg-alt":"#262829",blue:"#6c9ef8",cyan:"#00aa80","dark-blue":"#6688aa","dark-cyan":"#5699AF",fg:"#dddddd","fg-alt":"#5B6268",green:"#60aa00",grey:"#505050",magenta:"#b77fdb",orange:"#da8548",red:"#d02b61",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#d08928"},"acario-dark":{base0:"#0F1019",base1:"#121212",base2:"#1E1E33",base3:"#464A56",base4:"#585C6C",base5:"#767676",base6:"#959EA5",base7:"#B2B2B2",base8:"#D0D0D0",bg:"#0D0E16","bg-alt":"#040408","bg-blue":"#0C213E",blue:"#3679D8",cyan:"#36D8BD","dark-blue":"#0C213E",fg:"#CEDBE5","fg-alt":"#E5F4FF",green:"#79D836",grey:"#767676",magenta:"#8041D8",orange:"#D85F00",red:"#D83441",teal:"#2D9574",violet:"#AB11D8",yellow:"#D8B941"},"ayu-mirage":{bg:"#1f2430","bg-alt":"#171b24",base0:"#3d434d",base1:"#707a8c",base2:"#2f3b54",base3:"#f5f7fd",base4:"#f5f7fd",base5:"#1c1e23",base6:"#484f5b",base7:"#14171f",base8:"#11131a",fg:"#cbccc6","fg-alt":"#707a8c",grey:"#171b24",red:"#f28779",orange:"#ffa759",green:"#bae67e",teal:"#95e6cb",yellow:"#ffd580",blue:"#73d0ff","dark-blue":"#5ca6cc",magenta:"#d4bfff",violet:"#dccbff",cyan:"#5ccfe6"},"ayu-light":{"common-accent":"#ff9940","common-bg":"#fafafa","common-fg":"#575f66","common-ui":"#ba9199","syntax-comment":"#abb0b6","syntax-constant":"#a37acc","syntax-entity":"#399ee6","syntax-error":"#f51818","syntax-func":"#f2ae49","syntax-keyword":"#fa8d3e","syntax-markup":"#f07171","syntax-operator":"#ed9366","syntax-regexp":"#4cbf99","syntax-special":"#e6ba7e","syntax-string":"#86b300","syntax-tag":"#55b4d4",test:"#2ea8e6","ui-gutter-active":"#ba9199","ui-gutter-normal":"#d9c2c6","ui-line":"#e8e8e8","ui-panel-border":"#fcfcfc","ui-panel-shadow":"#fbfbfb","ui-selection-bg":"#bce1f3","ui-selection-border":"#f0f8fd","ui-selection-inactive":"#f0f8fd"},badger:{bg:"#171717","bg-alt":"#2f2f2f",base0:"#1D1D1D",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#433F4f",base5:"#635770",base6:"#656868",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#F6F3E8","fg-alt":"#FBF9F3",grey:"#433F4f",red:"#E2434C",orange:"#EA9847",green:"#86B187",teal:"#65A399",yellow:"#E0D063",blue:"#8AC6F2","dark-blue":"#2257A0",magenta:"#E18Cbb",violet:"#BF93C3"},"challenger-deep":{base0:"#100E23",base1:"#292F37",base2:"#3D4551",base3:"#4C4B68",base4:"#565575",base5:"#858FA5",base6:"#9BA7BF",base7:"#B0BED8",base8:"#BAC9E4",bg:"#1E1C31","bg-alt":"#12111E",blue:"#91DDFF",cyan:"#AAFFE4","dark-blue":"#65B2FF","dark-cyan":"#62D196",fg:"#CBE3E7","fg-alt":"#B2B2B2",green:"#95FFA4",grey:"#565575",magenta:"#C991E1",orange:"#FFB378",red:"#FF8080",teal:"#63F2F1",violet:"#906CFF",yellow:"#FFE9AA"},"city-lights":{bg:"#1D252C","bg-alt":"#181E24",base0:"#10151C",base1:"#171D22",base2:"#20282F",base3:"#28323B",base4:"#384551",base5:"#56697A",base6:"#688094",base7:"#7FA0B7",base8:"#9CAABB","fg-alt":"#728CA0",fg:"#A0B3C5",grey:"#41505E",red:"#D95468",orange:"#D98E48",green:"#8BD49C",teal:"#33CED8",yellow:"#EBBF83",blue:"#5EC4FF","bright-blue":"#539AFC","dark-blue":"#718CA1"},"dark+":{bg:"#1e1e1e","bg-alt":"#252526",base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#313131",base4:"#4b474c",base5:"#37474F",base6:"#237AD3",base7:"#777778",base8:"#f4f4f4",fg:"#d4d4d4","fg-alt":"#AEAFAD",grey:"#777778",red:"#D16969",orange:"#DB8E73",green:"#579C4C","light-green":"#B5CEA8",teal:"#35CDAF",yellow:"#D7BA7D","light-yellow":"#D9DAA2",blue:"#339CDB","dark-blue":"#124F7B",magenta:"#C586C0",violet:"#BB80B3","dark-violet":"#68217A",cyan:"#85DDFF","dark-cyan":"#207FA1"},dracula:{base0:"#1E2029",base1:"#282a36",base2:"#373844",base3:"#44475a",base4:"#565761",base5:"#6272a4",base6:"#b6b6b2",base7:"#ccccc7",base8:"#f8f8f2",bg:"#282a36","bg-alt":"#1E2029",blue:"#61bfff",cyan:"#8be9fd","dark-blue":"#0189cc","dark-cyan":"#8be9fd",fg:"#f8f8f2","fg-alt":"#e2e2dc",green:"#50fa7b",grey:"#565761",magenta:"#ff79c6",orange:"#ffb86c",red:"#ff5555",teal:"#0189cc",violet:"#bd93f9",yellow:"#f1fa8c"},ephemeral:{base0:"#181e26",base1:"#1e262d",base2:"#242d39",base3:"#2a3542",base4:"#323f4e",base5:"#364455",base6:"#505d6f",base7:"#77818f",base8:"#ebedef",bg:"#323f4e","bg-alt":"#28323e",blue:"#92b6f4",cyan:"#79e6f3","dark-blue":"#9f92f4","dark-violet":"#985EFF",fg:"#f8f8f2","fg-alt":"#fdfdfd",green:"#53e2ae",grey:"#3d4c5f",magenta:"#BD99FF",orange:"#f2a272",red:"#f48fb1",teal:"#a1efd3",violet:"#8897f4",yellow:"#f1fa8c"},"fairy-floss":{base0:"#464258",base1:"#514C66",base2:"#6A6483",base3:"#9673D3",base4:"#A0A0C0",base5:"#B8A2CE",base6:"#726C8A",base7:"#5B576C",base8:"#716799",bg:"#5a5475","bg-alt":"#343145",blue:"#55b3cc",cyan:"#96CBFE","dark-blue":"#167be2","dark-cyan":"#204052",fg:"#F8F8F0","fg-alt":"#B5B2Bd",green:"#C2FFDF",grey:"#656565",magenta:"#FFB8D1",orange:"#E6C000",red:"#CC6666",teal:"#8295D6",violet:"#C5A3FF",yellow:"#FFEA00"},flatwhite:{bg:"#f7f3ee","bg-alt":"#f1ece4",base0:"#f1ece4",base1:"#e4ddd2",base2:"#dcd3c6",base3:"#b9a992",base4:"#93836c",base5:"#605a52",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",fg:"#605a52","fg-alt":"#93836c",grey:"#b9a992",red:"#955f5f",orange:"#957f5f",green:"#81895d",teal:"#5f8c7d",yellow:"#957f5f",blue:"#7382a0","dark-blue":"#7382a0",magenta:"#9c739c",violet:"#9c739c",cyan:"#5f8c7d","dark-cyan":"#5f8c7d"},"gruvbox-light":{base0:"#f0f0f0",base1:"#ebdbb2",base2:"#d5c4a1",base3:"#bdae93",base4:"#a89984",base5:"#504945",base6:"#3c3836",base7:"#282828",base8:"#1d2021",bg:"#fbf1c7","bg-alt":"#f2e5bc",blue:"#076678",cyan:"#427b58","dark-blue":"#2b3c44","dark-cyan":"#36473a",fg:"#282828","fg-alt":"#1c1c1c",green:"#79740e",grey:"#928374",magenta:"#b16286",orange:"#af3a03",red:"#9d0006",teal:"#4db5bd",violet:"#8f3f71",yellow:"#b57614"},gruvbox:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#665c54",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#282828","bg-alt":"#1d2021","bg-alt2":"#504945",blue:"#83a598","dark-green":"#98971a","dark-yellow":"#d79921",fg:"#ebdbb2","fg-alt":"#d5c4a1",green:"#b8bb26",grey:"#928374",magenta:"#cc241d",orange:"#fe8019",red:"#fb4934",teal:"#8ec07c",violet:"#d3869b",yellow:"#fabd2f"},henna:{base0:"#10151a",base1:"#181A1F",base2:"#1B1F23",base3:"#262D35",base4:"#282C34",base5:"#2c313a",base6:"#3B4048",base7:"#495162",base8:"#606F73",bg:"#21272e","bg-alt":"#1B1F23",blue:"#56b5c2",cyan:"#56b6c2","dark-blue":"#2257A0","dark-cyan":"#2e4a54",fg:"#f8f8f0","fg-alt":"#6B717D",green:"#53df83",grey:"#737c8c",magenta:"#FFB8D1",orange:"#e74c3c",red:"#e74c3c",teal:"#1abc9c",violet:"#C5A3FF",yellow:"#ECBE7B"},"homage-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#000000",blue:"#0170bf",cyan:"#46D9FF","dark-blue":"#003c64","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#5B6268",magenta:"#c678dd",orange:"#b4916d",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},"homage-white":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},horizon:{base0:"#16161c",base1:"#1a1c23",base2:"#1d1f27",base3:"#232530",base4:"#6a6a6a",base5:"#f9cec3",base6:"#f9cbbe",base7:"#fadad1",base8:"#fdf0ed",bg:"#232530","bg-alt":"#1c1e26",blue:"#21bfc2",cyan:"#59e3e3","dark-blue":"#25b2bc","dark-cyan":"#27d797",fg:"#c7c9cb","fg-alt":"#fdf0ed",green:"#09f7a0",grey:"#6a6a6a",magenta:"#6c6f93",orange:"#f09383",red:"#e95678",teal:"#87ceeb",violet:"#b877db",yellow:"#fab795"},"ir-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#121212",blue:"#96CBFE","dark-blue":"#2257A0",fg:"#f6f3e8","fg-alt":"#5B6268",green:"#A8FF60","green-alt":"#99CC99",grey:"#3f444a",magenta:"#FF73FD",orange:"#E9C062","orange-alt":"#FFD2A7",red:"#ff6c60",teal:"#00A0A0",white:"#ffffff",yellow:"#FFFFB6"},laserwave:{base0:"#222228",base1:"#24262D",base2:"#282b33",base3:"#3E3549",base4:"#4E415C",base5:"#544863",base6:"#ED60BA",base7:"#91889B",base8:"#ECEFF4",bg:"#27212E","bg-alt":"#1B1720",blue:"#40B4C4",cyan:"#B4DCE7","dark-blue":"#336A79","dark-cyan":"#6D7E8A",fg:"#FFFFFF","fg-alt":"#EEEEEE",green:"#74DFC4",grey:"#4E415C",magenta:"#EB64B9",orange:"#FFB85B",red:"#964C7B",teal:"#4D8079",violet:"#B381C5",yellow:"#FFE261"},manegarm:{"-bg":"#1c1408","-bg-alt":"#181107",base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#95836f",base6:"#73797e",base7:"#9ca0a4",base8:"#dfdfdf",bg:"#1c1408","bg-alt":"#181107",blue:"#0075c4","dark-blue":"#0060a1",fg:"#5b8512","fg-alt":"#4f7410",green:"#7cb518",grey:"#707a6a",magenta:"#d72638",orange:"#ff7000",red:"#ff4e00",teal:"#dbc077",violet:"#76597b",yellow:"#ffbf00"},material:{base0:"#171F24",base1:"#1C262B",base2:"#222D32",base3:"#171F24",base4:"#314048",base5:"#37474F",base6:"#556369",base7:"#737E84",base8:"#9BA3A7",bg:"#263238","bg-alt":"#1C262B",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#37474F",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},miramare:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#5b5b5b",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#2a2426","bg-alt":"#242021","bg-alt2":"#504945",blue:"#89beba","dark-blue":"#458588","dark-green":"#678f67",fg:"#e6d6ac","fg-alt":"#d8caac",green:"#87af87",grey:"#5b5b5b",magenta:"#e68183",orange:"#e39b7b",red:"#e68183",teal:"#87af87",violet:"#d3a0bc",yellow:"#d9bb80"},molokai:{base0:"#131313",base1:"#161821",base2:"#2e313d",base3:"#3a3d4b",base4:"#535763",base5:"#595d68",base6:"#696d77",base7:"#888d94",base8:"#afb5b9",bg:"#282a3a","bg-alt":"#1E1F2B",blue:"#9cd1bb",cyan:"#9cd1bb","dark-blue":"#9cd1bb","dark-cyan":"#9cd1bb",fg:"#eaf2f1","fg-alt":"#c6c6c6",green:"#bad761",grey:"#535763",magenta:"#9cd1bb",orange:"#ff95be",red:"#ff657a",teal:"#9cd1bb",violet:"#c39ac9",yellow:"#ffd76d"},"monokai-classic":{base0:"#19181A",base1:"#1B1B1B",base2:"#212122",base3:"#2B2B2B",base4:"#383539",base5:"#4C4A4D",base6:"#727072",base7:"#c1c0c0",base8:"#FCFCFA",bg:"#2D2A2E","bg-alt":"#221F22",blue:"#78DCE8",cyan:"#78DCE8","dark-blue":"#81A2BE","dark-cyan":"#81A2BE",fg:"#FCFCFA","fg-alt":"#939293",green:"#A9DC76",grey:"#727072",magenta:"#FF6188",orange:"#FC9867",red:"#CC6666",teal:"#A9DC76",violet:"#AB9DF2",yellow:"#FFD866"},"monokai-pro":{base0:"#131313",base1:"#191515",base2:"#332c2c",base3:"#403838",base4:"#5b5353",base5:"#615959",base6:"#72696a",base7:"#948a8b",base8:"#bfb3b5",bg:"#2c2525","bg-alt":"#201C1C",blue:"#85dacc",cyan:"#85dacc","dark-blue":"#85dacc","dark-cyan":"#85dacc",fg:"#fff1f3","fg-alt":"#c6c6c6",green:"#adda78",grey:"#5b5353",magenta:"#85dacc",orange:"#f38d70",red:"#fd6883",teal:"#85dacc",violet:"#a8a9eb",yellow:"#f9cc6c"},"monokai-machine":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-octagon":{base0:"#131313",base1:"#191919",base2:"#2c2c2d",base3:"#363537",base4:"#525053",base5:"#585659",base6:"#69676c",base7:"#8b888f",base8:"#b6b2bc",bg:"#222222","bg-alt":"#191919",blue:"#5ad4e6",cyan:"#5ad4e6","dark-blue":"#5ad4e6","dark-cyan":"#5ad4e6",fg:"#f7f1ff","fg-alt":"#c6c6c6",green:"#7bd88f",grey:"#525053",magenta:"#5ad4e6",orange:"#fd9353",red:"#fc618d",teal:"#5ad4e6",violet:"#948ae3",yellow:"#fce566"},"monokai-ristretto":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-spectrum":{base0:"#F0F4FC",base1:"#E3EAF5",base2:"#D8DEE9",base3:"#C2D0E7",base4:"#B8C5DB",base5:"#AEBACF",base6:"#A1ACC0",base7:"#60728C",base8:"#485163",bg:"#E5E9F0","bg-alt":"#D8DEE9",blue:"#3B6EA8",cyan:"#398EAC","dark-blue":"#5272AF","dark-cyan":"#2C7088",fg:"#3B4252","fg-alt":"#2E3440",green:"#4F894C",grey:"#B8C5DB",magenta:"#97365B",orange:"#AC4426",red:"#99324B",teal:"#29838D",violet:"#842879",yellow:"#9A7500"},moonlight:{base0:"#191C25",base1:"#242832",base2:"#2C333F",base3:"#373E4C",base4:"#434C5E",base5:"#4C566A",base6:"#9099AB",base7:"#D8DEE9",base8:"#F0F4FC",bg:"#2E3440","bg-alt":"#272C36",blue:"#81A1C1",cyan:"#88C0D0","dark-blue":"#5E81AC","dark-cyan":"#507681",fg:"#ECEFF4","fg-alt":"#E5E9F0",green:"#A3BE8C",grey:"#434C5E",magenta:"#B48EAD",orange:"#D08770",red:"#BF616A",teal:"#8FBCBB",violet:"#5D80AE",yellow:"#EBCB8B"},"nord-light":{base0:"#0d0f11",base1:"#1e272c",base2:"#212122",base3:"#2f3f48",base4:"#3c4c55",base5:"#556873",base6:"#6A7D89",base7:"#899BA6",base8:"#e6eef3",bg:"#3c4c55","bg-alt":"#44545d",blue:"#83AFE5",cyan:"#7FC1CA","dark-blue":"#759DCE","dark-cyan":"#659AA1",fg:"#c5d4dd","fg-alt":"#c5c8c6",green:"#A8CE93",grey:"#899BA6",magenta:"#D18EC2",orange:"#F2C38F",red:"#DF8C8C",teal:"#95BEBC",violet:"#9A93E1",yellow:"#DADA93"},nord:{base0:"#1B2B34",base1:"#343D46",base2:"#4F5B66",base3:"#65737E",base4:"#A7ADBA",base5:"#C0C5CE",base6:"#CDD3DE",base7:"#D8DEE9",base8:"#D8DEE9",bg:"#1B2B34","bg-alt":"#14232D",blue:"#6699CC",cyan:"#5FB3B3","dark-blue":"#6699CC","dark-cyan":"#5FB3B3",fg:"#D8DEE9","fg-alt":"#CDD3DE",green:"#99C794",grey:"#A7ADBA",magenta:"#E27E8D",orange:"#F99157",red:"#EC5f67",teal:"#5FB3B3",violet:"#C594C5",yellow:"#FAC863"},nova:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#686b78",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#1c1d20","bg-alt":"#151619",blue:"#4fb3d8",cyan:"#4fb3d8","dark-blue":"#5689f0","dark-cyan":"#4fb3d8",fg:"#cbccd1","fg-alt":"#5B6268",green:"#78bd65",grey:"#3f444a",magenta:"#b978ab",orange:"#ee7b29",red:"#ea3d54",teal:"#78bd65",violet:"#b978ab",yellow:"#fedd38"},"oceanic-next":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#4078f2",cyan:"#0184bc","dark-blue":"#a0bcf8","dark-cyan":"#005478",fg:"#383a42","fg-alt":"#c6c7c7",green:"#50a14f",grey:"#9ca0a4",magenta:"#a626a4",orange:"#da8548",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801"},"old-hope":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#282c34","bg-alt":"#21242b",blue:"#51afef",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#3f444a",magenta:"#c678dd",orange:"#da8548",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},one:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"one-light":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},"one-vibrant":{base0:"#1c1f24",base1:"#1c1f24",base2:"#21272d",base3:"#23272e",base4:"#484854",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#242730","bg-alt":"#2a2e38",blue:"#51afef",cyan:"#5cEfFF","dark-blue":"#1f5582","dark-cyan":"#6A8FBF",fg:"#bbc2cf","fg-alt":"#5D656B",green:"#7bc275",grey:"#484854",magenta:"#C57BDB",orange:"#e69055",red:"#ff665c",teal:"#4db5bd",violet:"#a991f1",yellow:"#FCCE7B"},"opera-light":{base0:"#fafafa",base1:"#f5f5f5",base2:"#eeeeee",base3:"#e0e0e0",base4:"#bdbdbd",base5:"#9e9e9e",base6:"#757575",base7:"#616161",base8:"#424242",bg:"#fafafa","bg-alt":"#eeeeee",blue:"#3b6ea8",cyan:"#398eac","dark-blue":"#5272AF","dark-cyan":"#2c7088",fg:"#2a2a2a","fg-alt":"#454545",green:"#4f894c",grey:"#bdbdbd",magenta:"#97365b",orange:"#ac4426",red:"#99324b",teal:"#29838d",violet:"#842879",yellow:"#9a7500"},opera:{base0:"#000000",base1:"#1e1e1e",base2:"#2e2e2e",base3:"#262626",base4:"#3f3f3f",base5:"#525252",base6:"#6b6b6b",base7:"#979797",base8:"#dfdfdf",bg:"#323334","bg-alt":"#222224",blue:"#80A0C2",cyan:"#86C0D1","dark-blue":"#5C748E","dark-cyan":"#507681",fg:"#eceff4","fg-alt":"#727269",green:"#A2BF8A",grey:"#3f3f3f",magenta:"#B58DAE",orange:"#D2876D",red:"#C16069",teal:"#8EBCBB",violet:"#5D80AE",yellow:"#ECCC87"},"outrun-electric":{base0:"#131033",base1:"#1f1147",base2:"#110d26",base3:"#3b4167",base4:"#2d2844",base5:"#BA45A3",base6:"#6A6EA3",base7:"#6564D1",base8:"#919ad9",bg:"#0c0a20","bg-alt":"#090819",blue:"#1ea8fc",cyan:"#42c6ff","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#f2f3f7","fg-alt":"#7984D1",green:"#a7da1e",grey:"#546A90",magenta:"#ff2afc",orange:"#cf433e",red:"#e61f44",teal:"#A875FF",violet:"#df85ff",yellow:"#ffd400"},palenight:{base0:"#1c1f2b",base1:"#1e212e",base2:"#232635",base3:"#3C435E",base4:"#4E5579",base5:"#676E95",base6:"#697098",base7:"#717CB4",base8:"#A6Accd",bg:"#292D3E","bg-alt":"#242837",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#676E95",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},peacock:{bg:"#2b2a27","bg-alt":"#1F1E1D",base0:"#2b2a27",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#ede0ce","fg-alt":"#5B6268",grey:"#3f444a",white:"#f8f8f0",red:"#ff5d38",orange:"#cb4b16",green:"#98be65",teal:"#26a6a6",yellow:"#bcd42a",blue:"#51afef","dark-blue":"#2257A0",magenta:"#c678dd",violet:"#a9a1e1",cyan:"#46D9FF","dark-cyan":"#5699AF"},"plain-dark":{base0:"#838083",base1:"#0e0c0a",base2:"#bbbbbb",base3:"#444444",base4:"#202020",base5:"#545053",base6:"#050505",base7:"#ffdddd",base8:"#050505",bg:"#222222","bg-alt":"#434343",blue:"#d7d5d1",cyan:"#d7d5d1","dark-blue":"#d7d5d1","dark-cyan":"#d7d5d1",fg:"#d7d5d1","fg-alt":"#e7e5e3",green:"#d7d5d1",grey:"#d7d5d1",magenta:"#d7d5d1",orange:"#d7d5d1",red:"#d7d5d1",teal:"#d7d5d1",violet:"#d7d5d1",yellow:"#d7d5d1"},plain:{base0:"#969896",base1:"#f1f3f5",base2:"#444444",base3:"#cccccc",base4:"#e7e7e7",base5:"#c5c8c6",base6:"#fafafa",base7:"#dfdfdf",base8:"#fafafa",bg:"#ffffff","bg-alt":"#f3f3f3",blue:"#282a2e",cyan:"#282a2e","dark-blue":"#282a2e","dark-cyan":"#282a2e",fg:"#282a2e","fg-alt":"#48494d",green:"#282a2e",grey:"#282a2e",magenta:"#282a2e",orange:"#282a2e",red:"#282a2e",teal:"#282a2e",violet:"#282a2e",yellow:"#282a2e"},rouge:{base0:"#070A0E",base1:"#0E131D",base2:"#151D2B",base3:"#1F2A3F",base4:"#5D636E",base5:"#64727d",base6:"#B16E75",base7:"#E8E9EB",base8:"#F0F4FC",bg:"#172030","bg-alt":"#172030",blue:"#6e94b9","dark-blue":"#1E6378",fg:"#FAFFF6","fg-alt":"#A7ACB9",green:"#A3B09A",grey:"#64727d","light-red":"#DB6E8F",magenta:"#b18bb1",orange:"#eabe9a",red:"#c6797e",salmon:"#F9B5AC",teal:"#7ea9a9",violet:"#5D80AE",yellow:"#F7E3AF"},"shades-of-purple":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#a599e9",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#2d2b55","bg-alt":"#1e1e3f","dark-green":"#00ff00","dark-red":"#ff5370","dark-teal":"#37fea1",fg:"#e3e9fa","fg-alt":"#b4c2f0",green:"#3ad900",grey:"#444a73",indigo:"#7a88cf","light-green":"#a5ff90","light-red":"#ff98a4",orange:"#ff9d00",red:"#ff000d",region:"#b362ff",selection:"#b362ff"},snazzy:{base0:"#282a36",base1:"#34353e",base2:"#43454f",base3:"#78787e",base4:"#a5a5a9",base5:"#e2e4e5",base6:"#eff0eb",base7:"#f1f1f0",base8:"#ff5c57",bg:"#282a36","bg-alt":"#242631",blue:"#57c7ff",cyan:"#9aedfe","dark-blue":"#459fcc",fg:"#f9f9f9","fg-alt":"#d1d1d1",green:"#5af78e",grey:"#848688",magenta:"#ff6ac1",red:"#ff5c57",ui0:"#848688",ui1:"#606580",ui2:"#3a3d4d",ui3:"#1c1e27",yellow:"#f3f99d"},"solarized-dark-high-contrast":{base0:"#01323d",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#62787f",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002732","bg-alt":"#00212B",blue:"#3c98e0",cyan:"#3cafa5","dark-blue":"#3F88AD","dark-cyan":"#03373f",fg:"#8d9fa1","fg-alt":"#60767e",green:"#93a61a",grey:"#56697A",magenta:"#e2468f",orange:"#db5823",red:"#ec423a",teal:"#35a69c",violet:"#7a7ed2",yellow:"#c49619"},"solarized-dark":{base0:"#073642",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#405A61",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002b36","bg-alt":"#00212B",blue:"#268bd2",cyan:"#2aa198","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#839496","fg-alt":"#657b83",green:"#859900",grey:"#56697A",magenta:"#d33682",orange:"#cb4b16",red:"#dc322f",teal:"#35a69c",violet:"#6c71c4",yellow:"#b58900"},"solarized-light":{"dark-cyan":"#204052",cyan:"#2aa198",violet:"#6c71c4",magenta:"#d33682","dark-blue":"#3F88AD",blue:"#268bd2",yellow:"#b58900",teal:"#35a69c",green:"#859900",orange:"#cb4b16",red:"#dc322f",grey:"#E1DBCD",base8:"#626C6C",base7:"#788484",base6:"#96A7A9",base5:"#D6D6D6",base4:"#E1DBCD",base3:"#F2E6CE",base2:"#FCF7E8",base1:"#FCF8ED",base0:"#FFFBF0","fg-alt":"#7B8787","bg-alt":"#EEE8D5",fg:"#556b72",bg:"#FDF6E3"},sourcerer:{base0:"#1d2127",base1:"#1d2127",base2:"#272727",base3:"#32353f",base4:"#494952",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#faf4c6",bg:"#171717","bg-alt":"#222222",blue:"#87AFD7",cyan:"#87ceeb","dark-blue":"#6688aa",fg:"#c2c2b0","fg-alt":"#5D656B",green:"#87875f","green-br":"#719611",grey:"#686858",magenta:"#8787AF",orange:"#ff9800",red:"#aa4450",teal:"#578F8F",violet:"#8181a6",yellow:"#cc8800"},spacegrey:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"tomorrow-day":{base0:"#f2f2f2",base1:"#e4e4e4",base2:"#dedede",base3:"#d6d4d4",base4:"#C0bfbf",base5:"#a3a1a1",base6:"#8a8787",base7:"#696769",base8:"#000000",bg:"#ffffff","bg-alt":"#f2f2f2",blue:"#4271ae",cyan:"#8abeb7","dark-blue":"#315482","dark-cyan":"#b8d8d3",fg:"#4d4d4c","fg-alt":"#1e1e1e",green:"#718c00",grey:"#8e908c",magenta:"#c678dd",orange:"#f5871f",red:"#c82829",teal:"#3e999f",violet:"#8959a8",yellow:"#eab700"},"tomorrow-night":{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#1d1f21","bg-alt":"#161719",blue:"#81a2be",cyan:"#8abeb7","dark-blue":"#41728e","dark-cyan":"#52726d",fg:"#c5c8c6","fg-alt":"#767876",green:"#b5bd68",grey:"#5a5b5a",magenta:"#c9b4cf",orange:"#de935f",red:"#cc6666",teal:"#81a2be",violet:"#b294bb",yellow:"#f0c674"},wilmersdorf:{bg:"#282b33","bg-alt":"#1f2024",base0:"#222228",base1:"#282b33",base2:"#34373e",base3:"#41454b",base4:"#515462",base5:"#888395",base6:"#929292",base7:"#727269",base8:"#eceff4","fg-alt":"#c9d9ff",fg:"#c6c6c6",grey:"#515462",red:"#e1c1ee",orange:"#a6c1e0",green:"#5b94ab",teal:"#7ebebd",yellow:"#cfcf9c"},xcode:{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#292A30","bg-alt":"#252629",blue:"#5DD8FF",cyan:"#8abeb7","dark-cyan":"#52726d",fg:"#FFFFFF","fg-alt":"#999999",green:"#67B7A4",grey:"#6C7986","light-green":"#9EF1DD",magenta:"#D0A8FF",orange:"#FD8F3F",red:"#FC6A5D",teal:"#59B0CF",violet:"#A167E6",yellow:"#D0BF68"},zenburn:{"dark-cyan":"#5699AF",cyan:"#93E0E3",violet:"#a9a1e1",magenta:"#DC8CC3","dark-blue":"#2257A0",blue:"#8CD0D3",yellow:"#F0DFAF",teal:"#4db5bd",green:"#7F9F7F",orange:"#DFAF8F",red:"#CC9393",grey:"#494949","fg-alt":"#989890",fg:"#DCDCDC",base8:"#FFFFEF",base7:"#6F6F6F",base6:"#5F5F5F",base5:"#4F4F4F",base4:"#494949",base3:"#383838",base2:"#303030",base1:"#2B2B2B",base0:"#000000","bg-alt":"#383838",bg:"#3F3F3F"}}},93264:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return va}});var n=t(92809),a=(t(43146),t(70917)),o=t(67294),i=function(){return o.createElement(a.xB,{styles:'\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: \'kern\';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n '})},l=t(46871),s=t(105),c=t(20949),u=t(85393),d=t(97375),f={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var p=b({},f,{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}}),g=t(38554),h=t.n(g);t(9839);function m(e){return Array.isArray(e)}function v(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!m(e)}!function(e){var r=new WeakMap}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));var y=function(e){return e.reduce((function(e,r){var t=r[0],n=r[1];return e[t]=n,e}),{})};"undefined"===typeof window||!window.document||window.document.createElement;["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function x(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}x((function(e){return function(){e.condition,e.message}})),x((function(e){return function(){e.condition,e.message}}));Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);function w(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var k=function(){function e(e){var r=this;this.map={},this.called=!1,this.assert=function(){if(r.called)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r.called=!0},this.parts=function(){r.assert();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=0,o=t;a<o.length;a++){var i=o[a];r.map[i]=r.toPart(i)}return r},this.extend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=0,o=t;a<o.length;a++){var i=o[a];i in r.map||(r.map[i]=r.toPart(i))}return r},this.toPart=function(e){var t="chakra-"+(["container","root"].includes(null!=e?e:"")?[r.name]:[r.name,e]).filter(Boolean).join("__");return{className:t,selector:"."+t,toString:function(){return e}}},this.__type={}}var r,t,n;return r=e,(t=[{key:"selectors",get:function(){return y(Object.entries(this.map).map((function(e){return[e[0],e[1].selector]})))}},{key:"classNames",get:function(){return y(Object.entries(this.map).map((function(e){return[e[0],e[1].className]})))}},{key:"keys",get:function(){return Object.keys(this.map)}}])&&w(r.prototype,t),n&&w(r,n),e}();function S(e){return new k(e)}function E(e){return v(e)&&e.reference?e.reference:String(e)}var C=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(E).join(" "+e+" ").replace(/calc/g,"")},A=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["+"].concat(r))+")"},F=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["-"].concat(r))+")"},B=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["*"].concat(r))+")"},_=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["/"].concat(r))+")"},D=function(e){var r=E(e);return null==r||Number.isNaN(parseFloat(r))?B(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},R=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(A.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(F.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(B.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(_.apply(void 0,[e].concat(t)))},negate:function(){return R(D(e))},toString:function(){return e.toString()}}}),{add:A,subtract:F,multiply:B,divide:_,negate:D});var T=S("accordion").parts("container","item","button","panel").extend("icon"),z=S("alert").parts("title","description","container").extend("icon"),P=S("avatar").parts("label","badge","container").extend("excessLabel","group"),M=S("breadcrumb").parts("link","item","container").extend("separator"),j=(S("button").parts(),S("checkbox").parts("control","icon","container").extend("label")),O=(S("progress").parts("track","filledTrack").extend("label"),S("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),I=S("editable").parts("preview","input"),W=S("form").parts("container","requiredIndicator","helperText"),N=S("formError").parts("text","icon"),L=S("input").parts("addon","field","element"),H=S("list").parts("container","item","icon"),$=S("menu").parts("button","list","item").extend("groupTitle","command","divider"),q=S("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Z=S("numberinput").parts("root","field","stepperGroup","stepper"),U=(S("pininput").parts("field"),S("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),V=S("progress").parts("label","filledTrack","track"),Y=S("radio").parts("container","control","label"),X=S("select").parts("field","icon"),G=S("slider").parts("container","track","thumb","filledTrack"),K=S("stat").parts("container","label","helpText","number","icon"),J=S("switch").parts("container","track","thumb"),Q=S("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ee=S("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),re=S("tag").parts("container","label","closeButton");function te(e,r){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var t=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===r?e:Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*r),10)/100),Math.abs(e-r)<1e-6?1:e=360===r?(e<0?e%r+r:e%r)/parseFloat(String(r)):e%r/parseFloat(String(r))}function ne(e){return Math.min(1,Math.max(0,e))}function ae(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function oe(e){return e<=1?100*Number(e)+"%":e}function ie(e){return 1===e.length?"0"+e:String(e)}function le(e,r,t){e=te(e,255),r=te(r,255),t=te(t,255);var n=Math.max(e,r,t),a=Math.min(e,r,t),o=0,i=0,l=(n+a)/2;if(n===a)i=0,o=0;else{var s=n-a;switch(i=l>.5?s/(2-n-a):s/(n+a),n){case e:o=(r-t)/s+(r<t?6:0);break;case r:o=(t-e)/s+2;break;case t:o=(e-r)/s+4}o/=6}return{h:o,s:i,l:l}}function se(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*t*(r-e):t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}function ce(e,r,t){e=te(e,255),r=te(r,255),t=te(t,255);var n=Math.max(e,r,t),a=Math.min(e,r,t),o=0,i=n,l=n-a,s=0===n?0:l/n;if(n===a)o=0;else{switch(n){case e:o=(r-t)/l+(r<t?6:0);break;case r:o=(t-e)/l+2;break;case t:o=(e-r)/l+4}o/=6}return{h:o,s:s,v:i}}function ue(e,r,t,n){var a=[ie(Math.round(e).toString(16)),ie(Math.round(r).toString(16)),ie(Math.round(t).toString(16))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function de(e){return Math.round(255*parseFloat(e)).toString(16)}function fe(e){return be(e)/255}function be(e){return parseInt(e,16)}var pe={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ge(e){var r,t,n,a={r:0,g:0,b:0},o=1,i=null,l=null,s=null,c=!1,u=!1;return"string"===typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var r=!1;if(pe[e])e=pe[e],r=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var t=ye.rgb.exec(e);if(t)return{r:t[1],g:t[2],b:t[3]};if(t=ye.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=ye.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=ye.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=ye.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=ye.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=ye.hex8.exec(e))return{r:be(t[1]),g:be(t[2]),b:be(t[3]),a:fe(t[4]),format:r?"name":"hex8"};if(t=ye.hex6.exec(e))return{r:be(t[1]),g:be(t[2]),b:be(t[3]),format:r?"name":"hex"};if(t=ye.hex4.exec(e))return{r:be(t[1]+t[1]),g:be(t[2]+t[2]),b:be(t[3]+t[3]),a:fe(t[4]+t[4]),format:r?"name":"hex8"};if(t=ye.hex3.exec(e))return{r:be(t[1]+t[1]),g:be(t[2]+t[2]),b:be(t[3]+t[3]),format:r?"name":"hex"};return!1}(e)),"object"===typeof e&&(xe(e.r)&&xe(e.g)&&xe(e.b)?(r=e.r,t=e.g,n=e.b,a={r:255*te(r,255),g:255*te(t,255),b:255*te(n,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):xe(e.h)&&xe(e.s)&&xe(e.v)?(i=oe(e.s),l=oe(e.v),a=function(e,r,t){e=6*te(e,360),r=te(r,100),t=te(t,100);var n=Math.floor(e),a=e-n,o=t*(1-r),i=t*(1-a*r),l=t*(1-(1-a)*r),s=n%6;return{r:255*[t,i,o,o,l,t][s],g:255*[l,t,t,i,o,o][s],b:255*[o,o,l,t,t,i][s]}}(e.h,i,l),c=!0,u="hsv"):xe(e.h)&&xe(e.s)&&xe(e.l)&&(i=oe(e.s),s=oe(e.l),a=function(e,r,t){var n,a,o;if(e=te(e,360),r=te(r,100),t=te(t,100),0===r)a=t,o=t,n=t;else{var i=t<.5?t*(1+r):t+r-t*r,l=2*t-i;n=se(l,i,e+1/3),a=se(l,i,e),o=se(l,i,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,i,s),c=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(o=e.a)),o=ae(o),{ok:c,format:e.format||u,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:o}}var he="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",me="[\\s|\\(]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")\\s*\\)?",ve="[\\s|\\(]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")\\s*\\)?",ye={CSS_UNIT:new RegExp(he),rgb:new RegExp("rgb"+me),rgba:new RegExp("rgba"+ve),hsl:new RegExp("hsl"+me),hsla:new RegExp("hsla"+ve),hsv:new RegExp("hsv"+me),hsva:new RegExp("hsva"+ve),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function xe(e){return Boolean(ye.CSS_UNIT.exec(String(e)))}var we=function(){function e(r,t){var n;if(void 0===r&&(r=""),void 0===t&&(t={}),r instanceof e)return r;"number"===typeof r&&(r=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(r)),this.originalInput=r;var a=ge(r);this.originalInput=r,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(n=t.format)&&void 0!==n?n:a.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),r=e.r/255,t=e.g/255,n=e.b/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=ae(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=ce(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=ce(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var e=le(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=le(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHex=function(e){return void 0===e&&(e=!1),ue(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,r,t,n,a){var o=[ie(Math.round(e).toString(16)),ie(Math.round(r).toString(16)),ie(Math.round(t).toString(16)),ie(de(n))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),r=Math.round(this.g),t=Math.round(this.b);return 1===this.a?"rgb("+e+", "+r+", "+t+")":"rgba("+e+", "+r+", "+t+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var e=function(e){return Math.round(100*te(e,255))+"%"};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*te(e,255))};return 1===this.a?"rgb("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%)":"rgba("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+ue(this.r,this.g,this.b,!1),r=0,t=Object.entries(pe);r<t.length;r++){var n=t[r],a=n[0];if(e===n[1])return a}return!1},e.prototype.toString=function(e){var r=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var t=!1,n=this.a<1&&this.a>=0;return r||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.l+=r/100,t.l=ne(t.l),new e(t)},e.prototype.brighten=function(r){void 0===r&&(r=10);var t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-r/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-r/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-r/100*255))),new e(t)},e.prototype.darken=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.l-=r/100,t.l=ne(t.l),new e(t)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.s-=r/100,t.s=ne(t.s),new e(t)},e.prototype.saturate=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.s+=r/100,t.s=ne(t.s),new e(t)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(r){var t=this.toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,new e(t)},e.prototype.mix=function(r,t){void 0===t&&(t=50);var n=this.toRgb(),a=new e(r).toRgb(),o=t/100;return new e({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},e.prototype.analogous=function(r,t){void 0===r&&(r=6),void 0===t&&(t=30);var n=this.toHsl(),a=360/t,o=[this];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var r=this.toHsl();return r.h=(r.h+180)%360,new e(r)},e.prototype.monochromatic=function(r){void 0===r&&(r=6);for(var t=this.toHsv(),n=t.h,a=t.s,o=t.v,i=[],l=1/r;r--;)i.push(new e({h:n,s:a,v:o})),o=(o+l)%1;return i},e.prototype.splitcomplement=function(){var r=this.toHsl(),t=r.h;return[this,new e({h:(t+72)%360,s:r.s,l:r.l}),new e({h:(t+216)%360,s:r.s,l:r.l})]},e.prototype.onBackground=function(r){var t=this.toRgb(),n=new e(r).toRgb();return new e({r:n.r+(t.r-n.r)*t.a,g:n.g+(t.g-n.g)*t.a,b:n.b+(t.b-n.b)*t.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(r){for(var t=this.toHsl(),n=t.h,a=[this],o=360/r,i=1;i<r;i++)a.push(new e({h:(n+i*o)%360,s:t.s,l:t.l}));return a},e.prototype.equals=function(r){return this.toRgbString()===new e(r).toRgbString()},e}();function ke(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var r=e.count,t=[];for(e.count=void 0;r>t.length;)e.count=null,e.seed&&(e.seed+=1),t.push(ke(e));return e.count=r,t}var n=function(e,r){var t=Ee(function(e){var r=parseInt(e,10);if(!Number.isNaN(r)&&r<360&&r>0)return[r,r];if("string"===typeof e){var t=Ae.find((function(r){return r.name===e}));if(t){var n=Ce(t);if(n.hueRange)return n.hueRange}var a=new we(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}(e),r);t<0&&(t=360+t);return t}(e.hue,e.seed),a=function(e,r){if("monochrome"===r.hue)return 0;if("random"===r.luminosity)return Ee([0,100],r.seed);var t=Se(e).saturationRange,n=t[0],a=t[1];switch(r.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55}return Ee([n,a],r.seed)}(n,e),o={h:n,s:a,v:function(e,r,t){var n=function(e,r){for(var t=Se(e).lowerBounds,n=0;n<t.length-1;n++){var a=t[n][0],o=t[n][1],i=t[n+1][0],l=t[n+1][1];if(r>=a&&r<=i){var s=(l-o)/(i-a);return s*r+(o-s*a)}}return 0}(e,r),a=100;switch(t.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100}return Ee([n,a],t.seed)}(n,a,e)};return void 0!==e.alpha&&(o.a=e.alpha),new we(o)}function Se(e){e>=334&&e<=360&&(e-=360);for(var r=0,t=Ae;r<t.length;r++){var n=Ce(t[r]);if(n.hueRange&&e>=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function Ee(e,r){if(void 0===r)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var t=e[1]||1,n=e[0]||0,a=(r=(9301*r+49297)%233280)/233280;return Math.floor(n+a*(t-n))}function Ce(e){var r=e.lowerBounds[0][0],t=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[r,t],brightnessRange:[n,a]}}var Ae=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],Fe=t(44592),Be=function(e,r,t){var n=(0,Fe.Wf)(e,"colors."+r,r);return new we(n).isValid?n:t},_e=function(e){return function(r){var t=Be(r,e);return new we(t).isDark()?"dark":"light"}},De=function(e,r){return function(t){var n=Be(t,e);return new we(n).setAlpha(r).toRgbString()}};function Re(e,r){return void 0===e&&(e="1rem"),void 0===r&&(r="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+r+" 25%,\n transparent 25%,\n transparent 50%,\n "+r+" 50%,\n "+r+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function Te(e){var r=ke().toHexString();return!e||(0,Fe.Qr)(e)?r:e.string&&e.colors?function(e,r){var t=0;if(0===e.length)return r[0];for(var n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;return t=(t%r.length+r.length)%r.length,r[t]}(e.string,e.colors):e.string&&!e.colors?function(e){var r=0;if(0===e.length)return r.toString();for(var t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;for(var n="#",a=0;a<3;a+=1){n+=("00"+(r>>8*a&255).toString(16)).substr(-2)}return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):r}function ze(e,r){return function(t){return"dark"===t.colorMode?r:e}}function Pe(e){var r=e.orientation,t=e.vertical,n=e.horizontal;return r?"vertical"===r?t:n:{}}function Me(){return(Me=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function je(e){return(0,Fe.Kn)(e)&&e.reference?e.reference:String(e)}var Oe=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(je).join(" "+e+" ").replace(/calc/g,"")},Ie=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["+"].concat(r))+")"},We=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["-"].concat(r))+")"},Ne=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["*"].concat(r))+")"},Le=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["/"].concat(r))+")"},He=function(e){var r=je(e);return null==r||Number.isNaN(parseFloat(r))?Ne(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},$e=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Ie.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(We.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Ne.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Le.apply(void 0,[e].concat(t)))},negate:function(){return $e(He(e))},toString:function(){return e.toString()}}}),{add:Ie,subtract:We,multiply:Ne,divide:Le,negate:He});function qe(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?r.replace(".","\\."):e}function Ze(e,r){return"var("+qe(e)+(r?", "+r:"")+")"}function Ue(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,qe(e)].filter(Boolean).join("-")}(e,r)}function Ve(e,r){var t=Ue(e,null==r?void 0:r.prefix);return{variable:t,reference:Ze(t,Ye(null==r?void 0:r.fallback))}}function Ye(e){return"string"===typeof e?e:null==e?void 0:e.reference}var Xe={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},Ge={container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},panel:{pt:2,px:4,pb:5},icon:{fontSize:"1.25em"}},Ke={parts:T.keys,baseStyle:Ge};function Je(e){var r=e.theme,t=e.colorScheme;return ze(Be(r,t+".100",t),De(t+".200",.16)(r))(e)}var Qe={subtle:function(e){var r=e.colorScheme;return{container:{bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},"left-accent":function(e){var r=e.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:ze(r+".500",r+".200")(e),bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},"top-accent":function(e){var r=e.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:ze(r+".500",r+".200")(e),bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},solid:function(e){var r=e.colorScheme;return{container:{bg:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e)}}}},er={parts:z.keys,baseStyle:{container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}},variants:Qe,defaultProps:{variant:"subtle",colorScheme:"blue"}},rr=function(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:ze("white","gray.800")(e)}},tr=function(e){return{bg:ze("gray.200","whiteAlpha.400")(e)}},nr=function(e){var r=e.name,t=e.theme,n=r?Te({string:r}):"gray.400",a=function(e){return function(r){return"dark"===_e(e)(r)}}(n)(t),o="white";return a||(o="gray.800"),{bg:n,color:o,borderColor:ze("white","gray.800")(e),verticalAlign:"top"}};function ar(e){var r=p[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=r?r:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=r?r:e)+" / 2.5)",lineHeight:"100%"!==e?null!=r?r:e:void 0}}}var or,ir,lr,sr={"2xs":ar("4"),xs:ar("6"),sm:ar("8"),md:ar("12"),lg:ar("16"),xl:ar("24"),"2xl":ar("32"),full:ar("100%")},cr={parts:P.keys,baseStyle:function(e){return{badge:rr(e),excessLabel:tr(e),container:nr(e)}},sizes:sr,defaultProps:{size:"md"}},ur={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:{solid:function(e){var r=e.colorScheme,t=e.theme;return{bg:ze(r+".500",De(r+".500",.6)(t))(e),color:ze("white","whiteAlpha.800")(e)}},subtle:function(e){var r=e.colorScheme,t=e.theme;return{bg:ze(r+".100",De(r+".200",.16)(t))(e),color:ze(r+".800",r+".200")(e)}},outline:function(e){var r=e.colorScheme,t=e.theme,n=De(r+".200",.8)(t),a=ze(Be(t,r+".500"),n)(e);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},dr={link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},fr={parts:M.keys,baseStyle:dr},br=function(e){var r=e.colorScheme,t=e.theme;if("gray"===r)return{color:ze("inherit","whiteAlpha.900")(e),_hover:{bg:ze("gray.100","whiteAlpha.200")(e)},_active:{bg:ze("gray.200","whiteAlpha.300")(e)}};var n=De(r+".200",.12)(t),a=De(r+".200",.24)(t);return{color:ze(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:ze(r+".50",n)(e)},_active:{bg:ze(r+".100",a)(e)}}},pr={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},gr={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:br,outline:function(e){var r=e.colorScheme,t=ze("gray.200","whiteAlpha.300")(e);return b({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},br(e))},solid:function(e){var r,t=e.colorScheme;if("gray"===t){var n=ze("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:ze("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:ze("gray.300","whiteAlpha.400")(e)}}}var a=null!=(r=pr[t])?r:{},o=a.bg,i=void 0===o?t+".500":o,l=a.color,s=void 0===l?"white":l,c=a.hoverBg,u=void 0===c?t+".600":c,d=a.activeBg,f=void 0===d?t+".700":d,b=ze(i,t+".200")(e);return{bg:b,color:ze(s,"gray.800")(e),_hover:{bg:ze(u,t+".300")(e),_disabled:{bg:b}},_active:{bg:ze(f,t+".400")(e)}}},link:function(e){var r=e.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:ze(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:ze(r+".700",r+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},sizes:{lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},hr=function(e){var r=e.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:ze(r+".500",r+".200")(e),borderColor:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e),_hover:{bg:ze(r+".600",r+".300")(e),borderColor:ze(r+".600",r+".300")(e)},_disabled:{borderColor:ze("gray.200","transparent")(e),bg:ze("gray.200","whiteAlpha.300")(e),color:ze("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:ze(r+".500",r+".200")(e),borderColor:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e)},_disabled:{bg:ze("gray.100","whiteAlpha.100")(e),borderColor:ze("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:ze("red.500","red.300")(e)}}},mr={userSelect:"none",_disabled:{opacity:.4}},vr={transitionProperty:"transform",transitionDuration:"normal"},yr={parts:j.keys,baseStyle:function(e){return{icon:vr,control:hr(e),label:mr}},sizes:{sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},defaultProps:{size:"md",colorScheme:"blue"}},xr=Ve("close-button-size"),wr={baseStyle:function(e){var r=ze("blackAlpha.100","whiteAlpha.100")(e),t=ze("blackAlpha.200","whiteAlpha.200")(e);return{w:[xr.reference],h:[xr.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:t},_focus:{boxShadow:"outline"}}},sizes:{lg:(or={},or[xr.variable]="40px",or.fontSize="16px",or),md:(ir={},ir[xr.variable]="32px",ir.fontSize="12px",ir),sm:(lr={},lr[xr.variable]="24px",lr.fontSize="10px",lr)},defaultProps:{size:"md"}},kr={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:ur.variants,defaultProps:ur.defaultProps},Sr={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},Er={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}};function Cr(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Ar={bg:"blackAlpha.600",zIndex:"overlay"},Fr={display:"flex",zIndex:"modal",justifyContent:"center"},Br=function(e){return b({},e.isFullHeight&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:ze("white","gray.700")(e),color:"inherit",boxShadow:ze("lg","dark-lg")(e)})},_r={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Dr={position:"absolute",top:2,insetEnd:3},Rr={px:6,py:2,flex:1,overflow:"auto"},Tr={px:6,py:4},zr={xs:Cr("xs"),sm:Cr("md"),md:Cr("lg"),lg:Cr("2xl"),xl:Cr("4xl"),full:Cr("full")},Pr={parts:O.keys,baseStyle:function(e){return{overlay:Ar,dialogContainer:Fr,dialog:Br(e),header:_r,closeButton:Dr,body:Rr,footer:Tr}},sizes:zr,defaultProps:{size:"xs"}},Mr={preview:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}}},jr={parts:I.keys,baseStyle:Mr},Or=function(e){return{marginStart:1,color:ze("red.500","red.300")(e)}},Ir=function(e){return{mt:2,color:ze("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}},Wr={parts:W.keys,baseStyle:function(e){return{container:{width:"100%",position:"relative"},requiredIndicator:Or(e),helperText:Ir(e)}}},Nr=function(e){return{color:ze("red.500","red.300")(e),mt:2,fontSize:"sm",lineHeight:"normal"}},Lr=function(e){return{marginEnd:"0.5em",color:ze("red.500","red.300")(e)}},Hr={parts:N.keys,baseStyle:function(e){return{text:Nr(e),icon:Lr(e)}}},$r={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},qr={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Zr={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},Ur={lg:{field:Zr.lg,addon:Zr.lg},md:{field:Zr.md,addon:Zr.md},sm:{field:Zr.sm,addon:Zr.sm},xs:{field:Zr.xs,addon:Zr.xs}};function Vr(e){var r=e.focusBorderColor,t=e.errorBorderColor;return{focusBorderColor:r||ze("blue.500","blue.300")(e),errorBorderColor:t||ze("red.500","red.300")(e)}}var Yr={outline:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:ze("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Be(r,a),boxShadow:"0 0 0 1px "+Be(r,a)},_focus:{zIndex:1,borderColor:Be(r,n),boxShadow:"0 0 0 1px "+Be(r,n)}},addon:{border:"1px solid",borderColor:ze("inherit","whiteAlpha.50")(e),bg:ze("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:ze("gray.100","whiteAlpha.50")(e),_hover:{bg:ze("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Be(r,a)},_focus:{bg:"transparent",borderColor:Be(r,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:ze("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Be(r,a),boxShadow:"0px 1px 0px 0px "+Be(r,a)},_focus:{borderColor:Be(r,n),boxShadow:"0px 1px 0px 0px "+Be(r,n)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},unstyled:{field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}}},Xr={parts:L.keys,baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:Ur,variants:Yr,defaultProps:{size:"md",variant:"outline"}},Gr={baseStyle:function(e){return{bg:ze("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},Kr={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},Jr={container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}},Qr={parts:H.keys,baseStyle:Jr},et=function(e){return{bg:ze("#fff","gray.700")(e),boxShadow:ze("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},rt=function(e){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:ze("gray.100","whiteAlpha.100")(e)},_active:{bg:ze("gray.200","whiteAlpha.200")(e)},_expanded:{bg:ze("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}},tt={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},nt={opacity:.6},at={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},ot={transitionProperty:"common",transitionDuration:"normal"},it={parts:$.keys,baseStyle:function(e){return{button:ot,list:et(e),item:rt(e),groupTitle:tt,command:nt,divider:at}}},lt={bg:"blackAlpha.600",zIndex:"modal"},st=function(e){return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e.isCentered?"center":"flex-start",overflow:"inside"===e.scrollBehavior?"hidden":"auto"}},ct=function(e){var r=e.scrollBehavior;return{borderRadius:"md",bg:ze("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,boxShadow:ze("lg","dark-lg")(e)}},ut={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},dt={position:"absolute",top:2,insetEnd:3},ft=function(e){return{px:6,py:2,flex:1,overflow:"inside"===e.scrollBehavior?"auto":void 0}},bt={px:6,py:4};function pt(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var gt,ht,mt,vt={xs:pt("xs"),sm:pt("sm"),md:pt("md"),lg:pt("lg"),xl:pt("xl"),"2xl":pt("2xl"),"3xl":pt("3xl"),"4xl":pt("4xl"),"5xl":pt("5xl"),"6xl":pt("6xl"),full:pt("full")},yt={parts:q.keys,baseStyle:function(e){return{overlay:lt,dialogContainer:st(e),dialog:ct(e),header:ut,closeButton:dt,body:ft(e),footer:bt}},sizes:vt,defaultProps:{size:"md"}},xt=Xr.variants,wt=Xr.defaultProps,kt=Ve("number-input-stepper-width"),St=Ve("number-input-input-padding"),Et=$e(kt).add("0.5rem").toString(),Ct=((gt={})[kt.variable]="24px",gt[St.variable]=Et,gt),At=null!=(ht=null==(mt=Xr.baseStyle)?void 0:mt.field)?ht:{},Ft={width:[kt.reference]},Bt=function(e){return{borderStart:"1px solid",borderStartColor:ze("inherit","whiteAlpha.300")(e),color:ze("inherit","whiteAlpha.800")(e),_active:{bg:ze("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}};function _t(e){var r,t,n=Xr.sizes[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},o=null!=(r=null==(t=n.field)?void 0:t.fontSize)?r:"md",i=Xe.fontSizes[o.toString()];return{field:b({},n.field,{paddingInlineEnd:St.reference,verticalAlign:"top"}),stepper:{fontSize:$e(i).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}}}var Dt,Rt={xs:_t("xs"),sm:_t("sm"),md:_t("md"),lg:_t("lg")},Tt={parts:Z.keys,baseStyle:function(e){return{root:Ct,field:At,stepperGroup:Ft,stepper:Bt(e)}},sizes:Rt,variants:xt,defaultProps:wt},zt={baseStyle:b({},Xr.baseStyle.field,{textAlign:"center"}),sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:function(e){var r;return null!=(r=Xr.variants.outline(e).field)?r:{}},flushed:function(e){var r;return null!=(r=Xr.variants.flushed(e).field)?r:{}},filled:function(e){var r;return null!=(r=Xr.variants.filled(e).field)?r:{}},unstyled:null!=(Dt=Xr.variants.unstyled.field)?Dt:{}},defaultProps:Xr.defaultProps},Pt=Ve("popper-bg"),Mt=Ve("popper-arrow-bg"),jt=Ve("popper-arrow-shadow-color"),Ot={zIndex:10},It=function(e){var r,t=ze("white","gray.700")(e),n=ze("gray.200","whiteAlpha.300")(e);return(r={})[Pt.variable]="colors."+t,r.bg=Pt.reference,r[Mt.variable]=Pt.reference,r[jt.variable]="colors."+n,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},Wt={px:3,py:2,borderBottomWidth:"1px"},Nt={px:3,py:2},Lt={px:3,py:2,borderTopWidth:"1px"},Ht={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},$t={parts:U.keys,baseStyle:function(e){return{popper:Ot,content:It(e),header:Wt,body:Nt,footer:Lt,arrow:{},closeButton:Ht}}};var qt={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Zt=function(e){return{bg:ze("gray.100","whiteAlpha.300")(e)}},Ut=function(e){return b({transitionProperty:"common",transitionDuration:"slow"},function(e){var r=e.colorScheme,t=e.theme,n=e.isIndeterminate,a=e.hasStripe,o=ze(Re(),Re("1rem","rgba(0,0,0,0.1)"))(e),i=ze(r+".500",r+".200")(e),l="linear-gradient(\n to right,\n transparent 0%,\n "+Be(t,i)+" 50%,\n transparent 100%\n )";return b({},!n&&a&&o,n?{bgImage:l}:{bgColor:i})}(e))},Vt={parts:V.keys,sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:function(e){return{label:qt,filledTrack:Ut(e),track:Zt(e)}},defaultProps:{size:"md",colorScheme:"blue"}},Yt=function(e){var r=yr.baseStyle(e).control,t=void 0===r?{}:r;return b({},t,{borderRadius:"full",_checked:b({},t._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},Xt={parts:Y.keys,baseStyle:function(e){return{label:yr.baseStyle(e).label,control:Yt(e)}},sizes:{md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},defaultProps:{size:"md",colorScheme:"blue"}},Gt=function(e){return b({},Xr.baseStyle.field,{bg:ze("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:ze("white","gray.700")(e)}})},Kt={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Jt={paddingInlineEnd:"2rem"},Qt=h()({},Xr.sizes,{lg:{field:Jt},md:{field:Jt},sm:{field:Jt},xs:{field:Jt,icon:{insetEnd:"0.25rem"}}}),en={parts:X.keys,baseStyle:function(e){return{field:Gt(e),icon:Kt}},sizes:Qt,variants:Xr.variants,defaultProps:Xr.defaultProps},rn=function(e,r){return(0,a.F4)({from:{borderColor:e,background:e},to:{borderColor:r,background:r}})},tn={baseStyle:function(e){var r=ze("gray.100","gray.800")(e),t=ze("gray.400","gray.600")(e),n=e.startColor,a=void 0===n?r:n,o=e.endColor,i=void 0===o?t:o,l=e.speed,s=e.theme,c=Be(s,a),u=Be(s,i);return{opacity:.7,borderRadius:"2px",borderColor:c,background:u,animation:l+"s linear infinite alternate "+rn(c,u)}}},nn={baseStyle:function(e){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:ze("white","gray.700")(e)}}}};var an,on,ln,sn,cn,un,dn,fn,bn,pn,gn,hn,mn,vn=function(e){return b({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Pe({orientation:e.orientation,vertical:{h:"100%"},horizontal:{w:"100%"}}))},yn=function(e){return{overflow:"hidden",borderRadius:"sm",bg:ze("gray.200","whiteAlpha.200")(e),_disabled:{bg:ze("gray.300","whiteAlpha.300")(e)}}},xn=function(e){return b({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(e){return Pe({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}(e))},wn=function(e){var r=e.colorScheme;return{width:"inherit",height:"inherit",bg:ze(r+".500",r+".200")(e)}},kn={lg:function(e){return{thumb:{w:"16px",h:"16px"},track:Pe({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:Pe({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:Pe({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},Sn={parts:G.keys,sizes:kn,baseStyle:function(e){return{container:vn(e),track:yn(e),thumb:xn(e),filledTrack:wn(e)}},defaultProps:{size:"md",colorScheme:"blue"}},En=Ve("spinner-size"),Cn={baseStyle:{width:[En.reference],height:[En.reference]},sizes:{xs:(an={},an[En.variable]="0.75rem",an),sm:(on={},on[En.variable]="1rem",on),md:(ln={},ln[En.variable]="1.5rem",ln),lg:(sn={},sn[En.variable]="2rem",sn),xl:(cn={},cn[En.variable]="3rem",cn)},defaultProps:{size:"md"}},An={container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},Fn={parts:K.keys,baseStyle:An,sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}},Bn=Ve("switch-track-width"),_n=Ve("switch-track-height"),Dn=Ve("switch-track-diff"),Rn=$e.subtract(Bn,_n),Tn=Ve("switch-thumb-x"),zn=function(e){var r=e.colorScheme;return{borderRadius:"full",p:"2px",width:[Bn.reference],height:[_n.reference],transitionProperty:"common",transitionDuration:"fast",bg:ze("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:ze(r+".500",r+".200")(e)}}},Pn={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[_n.reference],height:[_n.reference],_checked:{transform:"translateX("+Tn.reference+")"}},Mn={sm:{container:(un={},un[Bn.variable]="1.375rem",un[_n.variable]="0.75rem",un)},md:{container:(dn={},dn[Bn.variable]="1.875rem",dn[_n.variable]="1rem",dn)},lg:{container:(fn={},fn[Bn.variable]="2.875rem",fn[_n.variable]="1.5rem",fn)}},jn={parts:J.keys,baseStyle:function(e){var r,t;return{container:(t={},t[Dn.variable]=Rn,t[Tn.variable]=Dn.reference,t._rtl=(r={},r[Tn.variable]=$e(Dn).negate().toString(),r),t),track:zn(e),thumb:Pn}},sizes:Mn,defaultProps:{size:"md",colorScheme:"blue"}},On={"&[data-is-numeric=true]":{textAlign:"end"}},In={simple:function(e){var r=e.colorScheme;return{th:b({color:ze("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),td:b({borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),caption:{color:ze("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:function(e){var r=e.colorScheme;return{th:b({color:ze("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),td:b({borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),caption:{color:ze("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:ze(r+".100",r+".700")(e)},td:{background:ze(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},Wn={parts:Q.keys,baseStyle:{table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},variants:In,sizes:{sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}},Nn=function(e){return{display:"vertical"===e.orientation?"flex":"block"}},Ln=function(e){return{flex:e.isFitted?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},Hn=function(e){var r=e.align,t=void 0===r?"start":r,n=e.orientation;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},$n={p:4},qn={line:function(e){var r,t,n=e.colorScheme,a=e.orientation,o="vertical"===a?"borderStart":"borderBottom",i="vertical"===a?"marginStart":"marginBottom";return{tablist:(r={},r[o]="2px solid",r.borderColor="inherit",r),tab:(t={},t[o]="2px solid",t.borderColor="transparent",t[i]="-2px",t._selected={color:ze(n+".600",n+".300")(e),borderColor:"currentColor"},t._active={bg:ze("gray.200","whiteAlpha.300")(e)},t._disabled={opacity:.4,cursor:"not-allowed"},t)}},enclosed:function(e){var r=e.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:ze(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:ze("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var r=e.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:ze("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:ze("#fff","gray.800")(e),color:ze(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var r=e.colorScheme,t=e.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Be(t,r+".700"),bg:Be(t,r+".100")}}}},"solid-rounded":function(e){var r=e.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:ze("gray.600","inherit")(e),_selected:{color:ze("#fff","gray.800")(e),bg:ze(r+".600",r+".300")(e)}}}},unstyled:{}},Zn={parts:ee.keys,baseStyle:function(e){return{root:Nn(e),tab:Ln(e),tablist:Hn(e),tabpanel:$n}},sizes:{sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},variants:qn,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},Un={container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}},Vn={subtle:function(e){return{container:ur.variants.subtle(e)}},solid:function(e){return{container:ur.variants.solid(e)}},outline:function(e){return{container:ur.variants.outline(e)}}},Yn={parts:re.keys,variants:Vn,baseStyle:Un,sizes:{sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}},Xn=b({},Xr.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),Gn={outline:function(e){var r;return null!=(r=Xr.variants.outline(e).field)?r:{}},flushed:function(e){var r;return null!=(r=Xr.variants.flushed(e).field)?r:{}},filled:function(e){var r;return null!=(r=Xr.variants.filled(e).field)?r:{}},unstyled:null!=(bn=Xr.variants.unstyled.field)?bn:{}},Kn={baseStyle:Xn,sizes:{xs:null!=(pn=Xr.sizes.xs.field)?pn:{},sm:null!=(gn=Xr.sizes.sm.field)?gn:{},md:null!=(hn=Xr.sizes.md.field)?hn:{},lg:null!=(mn=Xr.sizes.lg.field)?mn:{}},variants:Gn,defaultProps:{size:"md",variant:"outline"}},Jn=Ve("tooltip-bg"),Qn=Ve("popper-arrow-bg"),ea={baseStyle:function(e){var r,t=ze("gray.700","gray.300")(e);return(r={})[Jn.variable]="colors."+t,r.px="8px",r.py="2px",r.bg=[Jn.reference],r[Qn.variable]=[Jn.reference],r.color=ze("whiteAlpha.900","gray.900")(e),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r}},ra=Object.freeze({__proto__:null,Accordion:Ke,Alert:er,Avatar:cr,Badge:ur,Breadcrumb:fr,Button:gr,Checkbox:yr,CloseButton:wr,Code:kr,Container:Sr,Divider:Er,Drawer:Pr,Editable:jr,Form:Wr,FormError:Hr,FormLabel:$r,Heading:qr,Input:Xr,Kbd:Gr,Link:Kr,List:Qr,Menu:it,Modal:yt,NumberInput:Tt,PinInput:zt,Popover:$t,Progress:Vt,Radio:Xt,Select:en,Skeleton:tn,SkipLink:nn,Slider:Sn,Spinner:Cn,Stat:Fn,Switch:jn,Table:Wn,Tabs:Zn,Tag:Yn,Textarea:Kn,Tooltip:ea}),ta=b({breakpoints:function(e){return(0,Fe.ZK)({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Me({base:"0em"},e)}({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}}},Xe,{sizes:p,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:f,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}}),na=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function aa(e){return!!(0,Fe.Kn)(e)&&na.every((function(r){return Object.prototype.hasOwnProperty.call(e,r)}))}var oa=b({direction:"ltr"},ta,{components:ra,styles:{global:function(e){return{body:{fontFamily:"body",color:ze("gray.800","whiteAlpha.900")(e),bg:ze("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:ze("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:ze("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}}}},config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}}),ia=function(e){var r=e.children,t=e.colorModeManager,n=e.portalZIndex,a=e.resetCSS,f=void 0===a||a,b=e.theme,p=void 0===b?{}:b,g=e.environment,h=e.cssVarsRoot,m=o.createElement(u.u,{environment:g},r);return o.createElement(d.vc,null,o.createElement(s.f6,{theme:p,cssVarsRoot:h},o.createElement(c.SG,{colorModeManager:t,options:p.config},f&&o.createElement(i,null),o.createElement(s.ZL,null),n?o.createElement(l.hE,{zIndex:n},m):m)))};function la(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=[].concat(r),a=r[r.length-1];return aa(a)&&n.length>1?n=n.slice(0,n.length-1):a=oa,Fe.zG.apply(void 0,n.map((function(e){return function(r){return(0,Fe.mf)(e)?e(r):sa(r,e)}})))(a)}function sa(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return h().apply(void 0,[{}].concat(r,[ca]))}function ca(e,r,t,n){if(((0,Fe.mf)(e)||(0,Fe.mf)(r))&&Object.prototype.hasOwnProperty.call(n,t))return function(){var t=(0,Fe.mf)(e)?e.apply(void 0,arguments):e,n=(0,Fe.mf)(r)?r.apply(void 0,arguments):r;return h()({},t,n,ca)}}function ua(e){var r=e.colorScheme,t=e.components;return function(e){var n=Object.keys(e.components||{});return Array.isArray(t)?n=t:(0,Fe.Kn)(t)&&(n=Object.keys(t)),sa(e,{components:(0,Fe.sq)(n.map((function(e){return[e,{defaultProps:{colorScheme:r}}]})))})}}ia.defaultProps={theme:oa};var da=t(52596),fa=t(29356),ba=t(67690),pa=t(85893);function ga(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ha(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ga(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ga(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function ma(e){var r=e.children,t=(0,o.useContext)(fa.N),n=t.highlightColor,a=t.emacsTheme,i=a[1],l=da.Z(i.base1,i.base2)(.2),s="purple.500"===n?"".concat(i.violet,"aa"):"pink.500"===n?"".concat(i.magenta,"aa"):"blue.500"===n?"".concat(i.blue,"aa"):"cyan.500"===n?"".concat(i.cyan,"aa"):"green.500"===n?"".concat(i.green,"aa"):"yellow.500"===n?"".concat(i.yellow,"aa"):"orange.500"===n?"".concat(i.orange,"aa"):"red.500"===n?"".concat(i.red,"aa"):void 0,c=la((0,o.useMemo)((function(){return{colors:{white:i.bg,black:i.fg,gray:{100:i.base1,200:l,300:i.base2,400:i.base3,500:i.base4,600:i.base5,700:i.base6,800:i.base7,900:i.base8},blue:{500:i.blue},teal:{500:i.blue},yellow:{500:i.yellow},orange:{500:i.orange},red:{500:i.red},green:{500:i.green},purple:{500:i.violet},pink:{500:i.magenta},cyan:{500:i.cyan},alt:{100:i["bg-alt"],900:i["fg-alt"]}},shadows:{outline:"0 0 0 3px "+s},components:{Button:{variants:{outline:{border:"2px solid",borderColor:n,color:n},ghost:{color:n,_hover:{bg:"inherit",border:"1px solid",borderColor:n},_active:{color:"inherit",bg:n}},subtle:{color:"gray.800",_hover:{bg:"inherit",color:n},_active:{color:"inherit",bg:s}}}},Accordion:{baseStyle:{container:{marginTop:"10px",borderWidth:"0px",_last:{borderWidth:"0px"}},panel:{marginRight:"10px"}}},Slider:{baseStyle:function(e){return{thumb:{backgroundColor:n},filledTrack:{backgroundColor:"gray.400"},track:{backgroundColor:"gray.400",borderColor:"gray.400",borderWidth:"5px",borderRadius:"lg"}}}}}}}),[n,JSON.stringify(a)]),ua({colorScheme:n.split(".")[0]}));return(0,pa.jsx)(ia,{theme:c,children:r})}var va=function(e){var r=e.Component,t=e.pageProps,n=["one-vibrant",ba.n["one-vibrant"]],a=(0,o.useState)(!1),i=a[0],l=a[1],s=(0,o.useState)(n),c=s[0],u=s[1],d=(0,o.useState)("purple.500"),f=d[0],b=d[1];(0,o.useEffect)((function(){i&&localStorage.setItem("colorTheme",JSON.stringify(c))}),[c]),(0,o.useEffect)((function(){i&&localStorage.setItem("highlightColor",JSON.stringify(f))}),[f]),(0,o.useEffect)((function(){var e,r,t,a;u(null!==(e=JSON.parse(null!==(r=localStorage.getItem("colorTheme"))&&void 0!==r?r:JSON.stringify(n)))&&void 0!==e?e:n),b(null!==(t=JSON.parse(null!==(a=localStorage.getItem("highlightColor"))&&void 0!==a?a:JSON.stringify(f)))&&void 0!==t?t:f),l(!0)}),[]);var p={emacsTheme:c,setEmacsTheme:u,highlightColor:f,setHighlightColor:b};return(0,pa.jsx)(fa.N.Provider,{value:p,children:(0,pa.jsx)(ma,{children:(0,pa.jsx)(r,ha({},t))})})}},29356:function(e,r,t){"use strict";t.d(r,{N:function(){return o}});var n=t(67294),a=["vibrant",t(67690).n["one-vibrant"]],o=(0,n.createContext)({emacsTheme:a,setEmacsTheme:null,highlightColor:"purple",setHighlightColor:null})},94798:function(e,r,t){"use strict";function n(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function a(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function o(){}t.d(r,{ZP:function(){return w},B8:function(){return C}});var i=.7,l=1/i,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),b=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),p=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),g=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),h=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function y(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function w(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=d.exec(e))?(t=r[1].length,r=parseInt(r[1],16),6===t?k(r):3===t?new A(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===t?S(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===t?S(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=f.exec(e))?new A(r[1],r[2],r[3],1):(r=b.exec(e))?new A(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=p.exec(e))?S(r[1],r[2],r[3],r[4]):(r=g.exec(e))?S(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=h.exec(e))?D(r[1],r[2]/100,r[3]/100,1):(r=m.exec(e))?D(r[1],r[2]/100,r[3]/100,r[4]):v.hasOwnProperty(e)?k(v[e]):"transparent"===e?new A(NaN,NaN,NaN,0):null}function k(e){return new A(e>>16&255,e>>8&255,255&e,1)}function S(e,r,t,n){return n<=0&&(e=r=t=NaN),new A(e,r,t,n)}function E(e){return e instanceof o||(e=w(e)),e?new A((e=e.rgb()).r,e.g,e.b,e.opacity):new A}function C(e,r,t,n){return 1===arguments.length?E(e):new A(e,r,t,null==n?1:n)}function A(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}function F(){return"#"+_(this.r)+_(this.g)+_(this.b)}function B(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function _(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function D(e,r,t,n){return n<=0?e=r=t=NaN:t<=0||t>=1?e=r=NaN:r<=0&&(e=NaN),new T(e,r,t,n)}function R(e){if(e instanceof T)return new T(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new T;if(e instanceof T)return e;var r=(e=e.rgb()).r/255,t=e.g/255,n=e.b/255,a=Math.min(r,t,n),i=Math.max(r,t,n),l=NaN,s=i-a,c=(i+a)/2;return s?(l=r===i?(t-n)/s+6*(t<n):t===i?(n-r)/s+2:(r-t)/s+4,s/=c<.5?i+a:2-i-a,l*=60):s=c>0&&c<1?0:l,new T(l,s,c,e.opacity)}function T(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}function z(e,r,t){return 255*(e<60?r+(t-r)*e/60:e<180?t:e<240?r+(t-r)*(240-e)/60:r)}n(o,w,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return R(this).formatHsl()},formatRgb:x,toString:x}),n(A,C,a(o,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:F,formatHex:F,formatRgb:B,toString:B})),n(T,(function(e,r,t,n){return 1===arguments.length?R(e):new T(e,r,t,null==n?1:n)}),a(o,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new T(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new T(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t<.5?t:1-t)*r,a=2*t-n;return new A(z(e>=240?e-240:e+120,a,n),z(e,a,n),z(e<120?e+240:e-120,a,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},57631:function(e,r){"use strict";r.Z=function(e){return function(){return e}}},13311:function(e,r,t){"use strict";function n(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}t.d(r,{Z:function(){return n}})},20439:function(e,r,t){"use strict";t.d(r,{ZP:function(){return c}});var n=t(94798);function a(e,r,t,n,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*r+(4-6*o+3*i)*t+(1+3*e+3*o-3*i)*n+i*a)/6}var o=t(57631);function i(e,r){return function(t){return e+t*r}}function l(e){return 1===(e=+e)?s:function(r,t){return t-r?function(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}(r,t,e):(0,o.Z)(isNaN(r)?t:r)}}function s(e,r){var t=r-e;return t?i(e,t):(0,o.Z)(isNaN(e)?r:e)}var c=function e(r){var t=l(r);function a(e,r){var a=t((e=(0,n.B8)(e)).r,(r=(0,n.B8)(r)).r),o=t(e.g,r.g),i=t(e.b,r.b),l=s(e.opacity,r.opacity);return function(r){return e.r=a(r),e.g=o(r),e.b=i(r),e.opacity=l(r),e+""}}return a.gamma=e,a}(1);function u(e){return function(r){var t,a,o=r.length,i=new Array(o),l=new Array(o),s=new Array(o);for(t=0;t<o;++t)a=(0,n.B8)(r[t]),i[t]=a.r||0,l[t]=a.g||0,s[t]=a.b||0;return i=e(i),l=e(l),s=e(s),a.opacity=1,function(e){return a.r=i(e),a.g=l(e),a.b=s(e),a+""}}}u((function(e){var r=e.length-1;return function(t){var n=t<=0?t=0:t>=1?(t=1,r-1):Math.floor(t*r),o=e[n],i=e[n+1],l=n>0?e[n-1]:2*o-i,s=n<r-1?e[n+2]:2*i-o;return a((t-n/r)*r,l,o,i,s)}})),u((function(e){var r=e.length;return function(t){var n=Math.floor(((t%=1)<0?++t:t)*r),o=e[(n+r-1)%r],i=e[n%r],l=e[(n+1)%r],s=e[(n+2)%r];return a((t-n/r)*r,o,i,l,s)}}))},25996:function(e,r,t){"use strict";t.d(r,{Z:function(){return i}});var n=t(13311),a=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(a.source,"g");function i(e,r){var t,i,l,s=a.lastIndex=o.lastIndex=0,c=-1,u=[],d=[];for(e+="",r+="";(t=a.exec(e))&&(i=o.exec(r));)(l=i.index)>s&&(l=r.slice(s,l),u[c]?u[c]+=l:u[++c]=l),(t=t[0])===(i=i[0])?u[c]?u[c]+=i:u[++c]=i:(u[++c]=null,d.push({i:c,x:(0,n.Z)(t,i)})),s=o.lastIndex;return s<r.length&&(l=r.slice(s),u[c]?u[c]+=l:u[++c]=l),u.length<2?d[0]?function(e){return function(r){return e(r)+""}}(d[0].x):function(e){return function(){return e}}(r):(r=d.length,function(e){for(var t,n=0;n<r;++n)u[(t=d[n]).i]=t.x(e);return u.join("")})}},52596:function(e,r,t){"use strict";t.d(r,{Z:function(){return f}});var n=t(94798),a=t(20439);function o(e,r){var t,n=r?r.length:0,a=e?Math.min(n,e.length):0,o=new Array(a),i=new Array(n);for(t=0;t<a;++t)o[t]=f(e[t],r[t]);for(;t<n;++t)i[t]=r[t];return function(e){for(t=0;t<a;++t)i[t]=o[t](e);return i}}function i(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}var l=t(13311);function s(e,r){var t,n={},a={};for(t in null!==e&&"object"===typeof e||(e={}),null!==r&&"object"===typeof r||(r={}),r)t in e?n[t]=f(e[t],r[t]):a[t]=r[t];return function(e){for(t in n)a[t]=n[t](e);return a}}var c=t(25996),u=t(57631);function d(e,r){r||(r=[]);var t,n=e?Math.min(r.length,e.length):0,a=r.slice();return function(o){for(t=0;t<n;++t)a[t]=e[t]*(1-o)+r[t]*o;return a}}function f(e,r){var t,f,b=typeof r;return null==r||"boolean"===b?(0,u.Z)(r):("number"===b?l.Z:"string"===b?(t=(0,n.ZP)(r))?(r=t,a.ZP):c.Z:r instanceof n.ZP?a.ZP:r instanceof Date?i:(f=r,!ArrayBuffer.isView(f)||f instanceof DataView?Array.isArray(r)?o:"function"!==typeof r.valueOf&&"function"!==typeof r.toString||isNaN(r)?s:l.Z:d))(e,r)}},76363:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(93264)}])},43146:function(){},69590:function(e){var r="undefined"!==typeof Element,t="function"===typeof Map,n="function"===typeof Set,a="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!==s--;)if(!o(e[s],i[s]))return!1;return!0}if(t&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(n&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!==s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!==s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(r&&e instanceof Element)return!1;for(s=l;0!==s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!o(e[c[s]],i[c[s]]))return!1;return!0}return e!==e&&i!==i}e.exports=function(e,r){try{return o(e,r)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},69921:function(e,r){"use strict";var t="function"===typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case u:case d:case o:case l:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case f:case h:case g:case s:return e;default:return r}}case a:return r}}}function k(e){return w(e)===d}r.AsyncMode=u,r.ConcurrentMode=d,r.ContextConsumer=c,r.ContextProvider=s,r.Element=n,r.ForwardRef=f,r.Fragment=o,r.Lazy=h,r.Memo=g,r.Portal=a,r.Profiler=l,r.StrictMode=i,r.Suspense=b,r.isAsyncMode=function(e){return k(e)||w(e)===u},r.isConcurrentMode=k,r.isContextConsumer=function(e){return w(e)===c},r.isContextProvider=function(e){return w(e)===s},r.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return w(e)===f},r.isFragment=function(e){return w(e)===o},r.isLazy=function(e){return w(e)===h},r.isMemo=function(e){return w(e)===g},r.isPortal=function(e){return w(e)===a},r.isProfiler=function(e){return w(e)===l},r.isStrictMode=function(e){return w(e)===i},r.isSuspense=function(e){return w(e)===b},r.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===l||e===i||e===b||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===x||e.$$typeof===m)},r.typeOf=w},59864:function(e,r,t){"use strict";e.exports=t(69921)},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var r=document.activeElement,t=[],n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));switch(r.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":r.blur();break;default:r=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||t.forEach((function(r){e.addRange(r)})),r&&r.focus()}}},87462:function(e,r,t){"use strict";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}t.d(r,{Z:function(){return n}})},92809:function(e,r,t){"use strict";function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}t.d(r,{Z:function(){return n}})}},function(e){var r=function(r){return e(e.s=r)};e.O(0,[774,179],(function(){return r(76363),r(34651)}));var t=e.O();_N_E=t}]); \ No newline at end of file
diff --git a/out/_next/static/chunks/pages/_app-7ef60f4a6a38c5e0c8ec.js b/out/_next/static/chunks/pages/_app-7ef60f4a6a38c5e0c8ec.js
deleted file mode 100644
index 59d1094..0000000
--- a/out/_next/static/chunks/pages/_app-7ef60f4a6a38c5e0c8ec.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{24738:function(e,r,t){"use strict";t.d(r,{SG:function(){return x},If:function(){return v}});var n=t(73808),a=t(84461),o=t(80658),i=t(67294),s="chakra-ui-light",l="chakra-ui-dark",c={classList:{add:o.ZT,remove:o.ZT}};function u(e){var r=a.jU?document.body:c;r.classList.add(e?l:s),r.classList.remove(e?s:l)}var d="(prefers-color-scheme: dark)";function f(e){var r;return(null!=(r=function(e){var r=null==window.matchMedia?void 0:window.matchMedia(e);if(r)return!!r.media===r.matches}(d))?r:"dark"===e)?"dark":"light"}var b=()=>document.documentElement.style.getPropertyValue("--chakra-ui-color-mode"),g=e=>{a.jU&&document.documentElement.style.setProperty("--chakra-ui-color-mode",e)},p=()=>"undefined"!==typeof Storage,h="chakra-ui-color-mode",m={get(e){if(!p())return e;try{var r=localStorage.getItem(h);return null!=r?r:e}catch(t){return n.Ts&&console.log(t),e}},set(e){if(p())try{localStorage.setItem(h,e)}catch(r){n.Ts&&console.log(r)}},type:"localStorage"};var y=i.createContext({});n.Ts&&(y.displayName="ColorModeContext");var v=()=>{var e=i.useContext(y);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function x(e){var{value:r,children:t,options:{useSystemColorMode:n,initialColorMode:s},colorModeManager:l=m}=e,[c,p]=i.useState("cookie"===l.type?l.get(s):s);i.useEffect((()=>{if(a.jU&&"localStorage"===l.type){var e=n?f(s):b()||l.get();e&&p(e)}}),[l,n,s]),i.useEffect((()=>{var e="dark"===c;u(e),g(e?"dark":"light")}),[c]);var h=i.useCallback((e=>{l.set(e),p(e)}),[l]),v=i.useCallback((()=>{h("light"===c?"dark":"light")}),[c,h]);i.useEffect((()=>{var e;return n&&(e=function(e){if(!("matchMedia"in window))return o.ZT;var r=window.matchMedia(d),t=()=>{e(r.matches?"dark":"light")};return t(),r.addListener(t),()=>{r.removeListener(t)}}(h)),()=>{e&&n&&e()}}),[h,n]);var x=i.useMemo((()=>({colorMode:null!=r?r:c,toggleColorMode:r?o.ZT:v,setColorMode:r?o.ZT:h})),[c,h,v,r]);return i.createElement(y.Provider,{value:x},t)}n.Ts&&(x.displayName="ColorModeProvider");n.Ts;n.Ts},94577:function(e,r,t){"use strict";t.d(r,{vc:function(){return i},Me:function(){return s},ZS:function(){return l}});var n=t(67294),a={prefix:Math.round(1e10*Math.random()),current:0},o=n.createContext(a),i=n.memo((e=>{var{children:r}=e,t=n.useContext(o),i=t===a,s=n.useMemo((()=>({prefix:i?0:++t.prefix,current:0})),[i,t]);return n.createElement(o.Provider,{value:s},r)}));function s(e,r){var t=n.useContext(o);return n.useMemo((()=>e||[r,t.prefix,++t.current].filter(Boolean).join("-")),[e,r])}function l(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];var o=s(e);return n.useMemo((()=>t.map((e=>e+"-"+o))),[o,t])}},34288:function(e,r,t){"use strict";t.d(r,{L:function(){return s},h:function(){return l}});var n=t(73808),a=t(28500),o=t(67294),[i,s]=(0,a.k)({strict:!1,name:"PortalManagerContext"});function l(e){var{children:r,zIndex:t}=e;return o.createElement(i,{value:{zIndex:t}},r)}n.Ts&&(l.displayName="PortalManager")},28500:function(e,r,t){"use strict";t.d(r,{k:function(){return a}});var n=t(67294);function a(e){void 0===e&&(e={});var{strict:r=!0,errorMessage:t="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:a}=e,o=n.createContext(void 0);return o.displayName=a,[o.Provider,function e(){var a=n.useContext(o);if(!a&&r){var i=new Error(t);throw i.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(i,e),i}return a},o]}},13205:function(e,r,t){"use strict";t.d(r,{Oq:function(){return D},Cg:function(){return z},$_:function(){return R},cE:function(){return j},hX:function(){return O},GQ:function(){return T},eC:function(){return P},Mw:function(){return I},bK:function(){return M},pb:function(){return W},o_:function(){return $},FK:function(){return Z},v_:function(){return V},Dh:function(){return q},QX:function(){return G},vs:function(){return Y},eR:function(){return X},cp:function(){return U}});var n=t(73808);function a(e){var{scale:r,transform:t,compose:a}=e;return(e,o)=>{var i,s=((e,r)=>t=>{var a=String(r),o=e?e+"."+a:a;return(0,n.Kn)(t.__cssMap)&&o in t.__cssMap?t.__cssMap[o].varRef:r})(r,e)(o),l=null!=(i=null==t?void 0:t(s,o))?i:s;return a&&(l=a(l,o)),l}}function o(e,r){return t=>{var n={property:t,scale:e};return n.transform=a({scale:e,transform:r}),n}}var i=e=>{var{rtl:r,ltr:t}=e;return e=>"rtl"===e.direction?r:t};var s=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var l={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},c={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var u={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},d="& > :not(style) ~ :not(style)",f={[d]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},b={[d]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}};function g(e,r){g=function(e,r){return new o(e,void 0,r)};var t=h(RegExp),n=RegExp.prototype,a=new WeakMap;function o(e,r,n){var o=t.call(this,e,r);return a.set(o,n||a.get(e)),o}function i(e,r){var t=a.get(r);return Object.keys(t).reduce((function(r,n){return r[n]=e[t[n]],r}),Object.create(null))}return p(o,t),o.prototype.exec=function(e){var r=n.exec.call(this,e);return r&&(r.groups=i(r,this)),r},o.prototype[Symbol.replace]=function(e,r){if("string"===typeof r){var t=a.get(this);return n[Symbol.replace].call(this,e,r.replace(/\$<([^>]+)>/g,(function(e,r){return"$"+t[r]})))}if("function"===typeof r){var o=this;return n[Symbol.replace].call(this,e,(function(){var e=[];return e.push.apply(e,arguments),"object"!==typeof e[e.length-1]&&e.push(i(e,o)),r.apply(this,e)}))}return n[Symbol.replace].call(this,e,r)},g.apply(this,arguments)}function p(e,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&v(e,r)}function h(e){var r="function"===typeof Map?new Map:void 0;return(h=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof r){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return m(e,arguments,x(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)})(e)}function m(e,r,t){return(m=y()?Reflect.construct:function(e,r,t){var n=[null];n.push.apply(n,r);var a=new(Function.bind.apply(e,n));return t&&v(a,t.prototype),a}).apply(null,arguments)}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e,r){return(v=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},w=new Set(Object.values(k)),S=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),C=e=>e.trim();var F=e=>r=>e+"("+r+")",A={filter:e=>"auto"!==e?e:l,backdropFilter:e=>"auto"!==e?e:c,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(A.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...s].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...s].join(" "):e,px(e){if(null==e)return e;var{unitless:r}=(e=>{var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}})(e);return r||(0,n.hj)(e)?e+"px":e},fraction:e=>!(0,n.hj)(e)||e>1?e:100*e+"%",float:(e,r)=>"rtl"===r.direction?{left:"right",right:"left"}[e]:e,degree(e){if((0,n.FS)(e)||null==e)return e;var r=(0,n.HD)(e)&&!e.endsWith("deg");return(0,n.hj)(e)||r?e+"deg":e},gradient:(e,r)=>function(e,r){var t,n;if(null==e||S.has(e))return e;var a=g(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),{type:o,values:i}=null!=(t=null==(n=a.exec(e))?void 0:n.groups)?t:{};if(!o||!i)return e;var s=o.includes("-gradient")?o:o+"-gradient",[l,...c]=i.split(",").map(C).filter(Boolean);if(0===(null==c?void 0:c.length))return e;var u=l in k?k[l]:l;return c.unshift(u),s+"("+c.map((e=>{if(w.has(e))return e;var[t,n]=e.split(" "),a="colors."+t,o=a in r.__cssMap?r.__cssMap[a].varRef:t;return n?[o,n].join(" "):o})).join(", ")+")"}(e,null!=r?r:{}),blur:F("blur"),opacity:F("opacity"),brightness:F("brightness"),contrast:F("contrast"),dropShadow:F("drop-shadow"),grayscale:F("grayscale"),hueRotate:F("hue-rotate"),invert:F("invert"),saturate:F("saturate"),sepia:F("sepia"),bgImage:e=>null==e||E(e)||S.has(e)?e:"url("+e+")",outline(e){var r="0"===String(e)||"none"===String(e);return null!==e&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var r,{space:t,divide:n}=null!=(r=u[e])?r:{},a={flexDirection:e};return t&&(a[t]=1),n&&(a[n]=1),a}},E=e=>(0,n.HD)(e)&&e.includes("(")&&e.includes(")");function _(){return(_=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var B={borderWidths:o("borderWidths"),borderStyles:o("borderStyles"),colors:o("colors"),borders:o("borders"),radii:o("radii",A.px),space:o("space",A.px),spaceT:o("space",A.px),degreeT:e=>({property:e,transform:A.degree}),prop:(e,r,t)=>_({property:e,scale:r},r&&{transform:a({scale:r,transform:t})}),propT:(e,r)=>({property:e,transform:r}),sizes:o("sizes",A.px),sizesT:o("sizes",A.fraction),shadows:o("shadows"),logical:function(e){var{property:r,scale:t,transform:n}=e;return{scale:t,property:i(r),transform:t?a({scale:t,compose:n}):n}},blur:o("blur",A.blur)},D={background:B.colors("background"),backgroundColor:B.colors("backgroundColor"),backgroundImage:B.propT("backgroundImage",A.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:A.bgClip},bgSize:B.prop("backgroundSize"),bgPosition:B.prop("backgroundPosition"),bg:B.colors("background"),bgColor:B.colors("backgroundColor"),bgPos:B.prop("backgroundPosition"),bgRepeat:B.prop("backgroundRepeat"),bgAttachment:B.prop("backgroundAttachment"),bgGradient:B.propT("backgroundImage",A.gradient),bgClip:{transform:A.bgClip}};Object.assign(D,{bgImage:D.backgroundImage,bgImg:D.backgroundImage});var z={border:B.borders("border"),borderWidth:B.borderWidths("borderWidth"),borderStyle:B.borderStyles("borderStyle"),borderColor:B.colors("borderColor"),borderRadius:B.radii("borderRadius"),borderTop:B.borders("borderTop"),borderBlockStart:B.borders("borderBlockStart"),borderTopLeftRadius:B.radii("borderTopLeftRadius"),borderStartStartRadius:B.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:B.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:B.radii("borderTopRightRadius"),borderStartEndRadius:B.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:B.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:B.borders("borderRight"),borderInlineEnd:B.borders("borderInlineEnd"),borderBottom:B.borders("borderBottom"),borderBlockEnd:B.borders("borderBlockEnd"),borderBottomLeftRadius:B.radii("borderBottomLeftRadius"),borderBottomRightRadius:B.radii("borderBottomRightRadius"),borderLeft:B.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:B.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:B.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:B.borders(["borderLeft","borderRight"]),borderInline:B.borders("borderInline"),borderY:B.borders(["borderTop","borderBottom"]),borderBlock:B.borders("borderBlock"),borderTopWidth:B.borderWidths("borderTopWidth"),borderBlockStartWidth:B.borderWidths("borderBlockStartWidth"),borderTopColor:B.colors("borderTopColor"),borderBlockStartColor:B.colors("borderBlockStartColor"),borderTopStyle:B.borderStyles("borderTopStyle"),borderBlockStartStyle:B.borderStyles("borderBlockStartStyle"),borderBottomWidth:B.borderWidths("borderBottomWidth"),borderBlockEndWidth:B.borderWidths("borderBlockEndWidth"),borderBottomColor:B.colors("borderBottomColor"),borderBlockEndColor:B.colors("borderBlockEndColor"),borderBottomStyle:B.borderStyles("borderBottomStyle"),borderBlockEndStyle:B.borderStyles("borderBlockEndStyle"),borderLeftWidth:B.borderWidths("borderLeftWidth"),borderInlineStartWidth:B.borderWidths("borderInlineStartWidth"),borderLeftColor:B.colors("borderLeftColor"),borderInlineStartColor:B.colors("borderInlineStartColor"),borderLeftStyle:B.borderStyles("borderLeftStyle"),borderInlineStartStyle:B.borderStyles("borderInlineStartStyle"),borderRightWidth:B.borderWidths("borderRightWidth"),borderInlineEndWidth:B.borderWidths("borderInlineEndWidth"),borderRightColor:B.colors("borderRightColor"),borderInlineEndColor:B.colors("borderInlineEndColor"),borderRightStyle:B.borderStyles("borderRightStyle"),borderInlineEndStyle:B.borderStyles("borderInlineEndStyle"),borderTopRadius:B.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:B.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:B.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:B.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(z,{rounded:z.borderRadius,roundedTop:z.borderTopRadius,roundedTopLeft:z.borderTopLeftRadius,roundedTopRight:z.borderTopRightRadius,roundedTopStart:z.borderStartStartRadius,roundedTopEnd:z.borderStartEndRadius,roundedBottom:z.borderBottomRadius,roundedBottomLeft:z.borderBottomLeftRadius,roundedBottomRight:z.borderBottomRightRadius,roundedBottomStart:z.borderEndStartRadius,roundedBottomEnd:z.borderEndEndRadius,roundedLeft:z.borderLeftRadius,roundedRight:z.borderRightRadius,roundedStart:z.borderInlineStartRadius,roundedEnd:z.borderInlineEndRadius,borderStart:z.borderInlineStart,borderEnd:z.borderInlineEnd,borderTopStartRadius:z.borderStartStartRadius,borderTopEndRadius:z.borderStartEndRadius,borderBottomStartRadius:z.borderEndStartRadius,borderBottomEndRadius:z.borderEndEndRadius,borderStartRadius:z.borderInlineStartRadius,borderEndRadius:z.borderInlineEndRadius,borderStartWidth:z.borderInlineStartWidth,borderEndWidth:z.borderInlineEndWidth,borderStartColor:z.borderInlineStartColor,borderEndColor:z.borderInlineEndColor,borderStartStyle:z.borderInlineStartStyle,borderEndStyle:z.borderInlineEndStyle});var R={color:B.colors("color"),textColor:B.colors("color"),fill:B.colors("fill"),stroke:B.colors("stroke")},j={boxShadow:B.shadows("boxShadow"),mixBlendMode:!0,blendMode:B.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:B.prop("backgroundBlendMode"),opacity:!0};Object.assign(j,{shadow:j.boxShadow});var O={filter:{transform:A.filter},blur:B.blur("--chakra-blur"),brightness:B.propT("--chakra-brightness",A.brightness),contrast:B.propT("--chakra-contrast",A.contrast),hueRotate:B.degreeT("--chakra-hue-rotate"),invert:B.propT("--chakra-invert",A.invert),saturate:B.propT("--chakra-saturate",A.saturate),dropShadow:B.propT("--chakra-drop-shadow",A.dropShadow),backdropFilter:{transform:A.backdropFilter},backdropBlur:B.blur("--chakra-backdrop-blur"),backdropBrightness:B.propT("--chakra-backdrop-brightness",A.brightness),backdropContrast:B.propT("--chakra-backdrop-contrast",A.contrast),backdropHueRotate:B.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:B.propT("--chakra-backdrop-invert",A.invert),backdropSaturate:B.propT("--chakra-backdrop-saturate",A.saturate)},T={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:A.flexDirection},experimental_spaceX:{static:f,transform:a({scale:"space",transform:e=>null!==e?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:b,transform:a({scale:"space",transform:e=>null!=e?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:B.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(T,{flexDir:T.flexDirection});var P={gridGap:B.space("gridGap"),gridColumnGap:B.space("gridColumnGap"),gridRowGap:B.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},I={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:A.outline},outlineOffset:!0,outlineColor:B.colors("outlineColor")},M={width:B.sizesT("width"),inlineSize:B.sizesT("inlineSize"),height:B.sizes("height"),blockSize:B.sizes("blockSize"),boxSize:B.sizes(["width","height"]),minWidth:B.sizes("minWidth"),minInlineSize:B.sizes("minInlineSize"),minHeight:B.sizes("minHeight"),minBlockSize:B.sizes("minBlockSize"),maxWidth:B.sizes("maxWidth"),maxInlineSize:B.sizes("maxInlineSize"),maxHeight:B.sizes("maxHeight"),maxBlockSize:B.sizes("maxBlockSize"),d:B.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:B.propT("float",A.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(M,{w:M.width,h:M.height,minW:M.minWidth,maxW:M.maxWidth,minH:M.minHeight,maxH:M.maxHeight,overscroll:M.overscrollBehavior,overscrollX:M.overscrollBehaviorX,overscrollY:M.overscrollBehaviorY});var W={listStyleType:!0,listStylePosition:!0,listStylePos:B.prop("listStylePosition"),listStyleImage:!0,listStyleImg:B.prop("listStyleImage")},J=t(4651),N={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},H={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},L=(e,r,t)=>{var n={},a=(0,J.Wf)(e,r,{});for(var o in a){o in t&&null!=t[o]||(n[o]=a[o])}return n},$={srOnly:{transform:e=>!0===e?N:"focusable"===e?H:{}},layerStyle:{processResult:!0,transform:(e,r,t)=>L(r,"layerStyles."+e,t)},textStyle:{processResult:!0,transform:(e,r,t)=>L(r,"textStyles."+e,t)},apply:{processResult:!0,transform:(e,r,t)=>L(r,e,t)}},Z={position:!0,pos:B.prop("position"),zIndex:B.prop("zIndex","zIndices"),inset:B.spaceT(["top","right","bottom","left"]),insetX:B.spaceT(["left","right"]),insetInline:B.spaceT("insetInline"),insetY:B.spaceT(["top","bottom"]),insetBlock:B.spaceT("insetBlock"),top:B.spaceT("top"),insetBlockStart:B.spaceT("insetBlockStart"),bottom:B.spaceT("bottom"),insetBlockEnd:B.spaceT("insetBlockEnd"),left:B.spaceT("left"),insetInlineStart:B.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:B.spaceT("right"),insetInlineEnd:B.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Z,{insetStart:Z.insetInlineStart,insetEnd:Z.insetInlineEnd});var V={ring:{transform:A.ring},ringColor:B.colors("--chakra-ring-color"),ringOffset:B.prop("--chakra-ring-offset-width"),ringOffsetColor:B.colors("--chakra-ring-offset-color"),ringInset:B.prop("--chakra-ring-inset")},q={margin:B.spaceT("margin"),marginTop:B.spaceT("marginTop"),marginBlockStart:B.spaceT("marginBlockStart"),marginRight:B.spaceT("marginRight"),marginInlineEnd:B.spaceT("marginInlineEnd"),marginBottom:B.spaceT("marginBottom"),marginBlockEnd:B.spaceT("marginBlockEnd"),marginLeft:B.spaceT("marginLeft"),marginInlineStart:B.spaceT("marginInlineStart"),marginX:B.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:B.spaceT("marginInline"),marginY:B.spaceT(["marginTop","marginBottom"]),marginBlock:B.spaceT("marginBlock"),padding:B.space("padding"),paddingTop:B.space("paddingTop"),paddingBlockStart:B.space("paddingBlockStart"),paddingRight:B.space("paddingRight"),paddingBottom:B.space("paddingBottom"),paddingBlockEnd:B.space("paddingBlockEnd"),paddingLeft:B.space("paddingLeft"),paddingInlineStart:B.space("paddingInlineStart"),paddingInlineEnd:B.space("paddingInlineEnd"),paddingX:B.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:B.space("paddingInline"),paddingY:B.space(["paddingTop","paddingBottom"]),paddingBlock:B.space("paddingBlock")};Object.assign(q,{m:q.margin,mt:q.marginTop,mr:q.marginRight,me:q.marginInlineEnd,marginEnd:q.marginInlineEnd,mb:q.marginBottom,ml:q.marginLeft,ms:q.marginInlineStart,marginStart:q.marginInlineStart,mx:q.marginX,my:q.marginY,p:q.padding,pt:q.paddingTop,py:q.paddingY,px:q.paddingX,pb:q.paddingBottom,pl:q.paddingLeft,ps:q.paddingInlineStart,paddingStart:q.paddingInlineStart,pr:q.paddingRight,pe:q.paddingInlineEnd,paddingEnd:q.paddingInlineEnd});var G={textDecorationColor:B.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:B.shadows("textShadow")},Y={clipPath:!0,transform:B.propT("transform",A.transform),transformOrigin:!0,translateX:B.spaceT("--chakra-translate-x"),translateY:B.spaceT("--chakra-translate-y"),skewX:B.degreeT("--chakra-skew-x"),skewY:B.degreeT("--chakra-skew-y"),scaleX:B.prop("--chakra-scale-x"),scaleY:B.prop("--chakra-scale-y"),scale:B.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:B.degreeT("--chakra-rotate")},X={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:B.prop("transitionDuration","transition.duration"),transitionProperty:B.prop("transitionProperty","transition.property"),transitionTimingFunction:B.prop("transitionTimingFunction","transition.easing")},U={fontFamily:B.prop("fontFamily","fonts"),fontSize:B.prop("fontSize","fontSizes",A.px),fontWeight:B.prop("fontWeight","fontWeights"),lineHeight:B.prop("lineHeight","lineHeights"),letterSpacing:B.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}}},55608:function(e,r,t){"use strict";t.d(r,{c0:function(){return F}});var n=t(73808);function a(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var o=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(a).join(" "+e+" ").replace(/calc/g,"")},i=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("+",...r)+")"},s=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("-",...r)+")"},l=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("*",...r)+")"},c=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("/",...r)+")"},u=e=>{var r=a(e);return null==r||Number.isNaN(parseFloat(r))?l(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},d=Object.assign((e=>({add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(i(e,...t))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(s(e,...t))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(l(e,...t))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(c(e,...t))},negate:()=>d(u(e)),toString:()=>e.toString()})),{add:i,subtract:s,multiply:l,divide:c,negate:u}),f=t(88456);function b(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?r.replace(".","\\."):e}function g(e,r){return"var("+b(e)+(r?", "+r:"")+")"}function p(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,b(e)].filter(Boolean).join("-")}(e,r)}function h(e,r,t){var n=p(e,t);return{variable:n,reference:g(n,r)}}function m(){return(m=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function y(e,r){var t={cssMap:{},cssVars:{}};return function(e,r){(function e(t,a){return void 0===a&&(a=[]),(0,n.kJ)(t)?t.map(((r,t)=>e(r,[...a,String(t)]))):(0,n.Kn)(t)?Object.fromEntries(Object.entries(t).map((r=>{var[t,n]=r;return[t,e(n,[...a,t])]}))):r(t,a)})(e)}(e,((e,n)=>{var a,[o]=n,i=null!=(a=v[o])?a:v.defaultHandler,{cssVars:s,cssMap:l}=i(n,e,r);Object.assign(t.cssVars,s),Object.assign(t.cssMap,l)})),t}var v={space:(e,r,t)=>{var n=v.defaultHandler(e,r,t),[a,...o]=e,i=a+".-"+o.join("."),s=e.join("-"),{variable:l,reference:c}=h(s,void 0,t.cssVarPrefix),u=d.negate(r),f=d.negate(c);return{cssVars:n.cssVars,cssMap:m({},n.cssMap,{[i]:{value:""+u,var:""+l,varRef:f}})}},defaultHandler:(e,r,t)=>{var n=e.join("."),a=e.join("-"),{variable:o,reference:i}=h(a,void 0,t.cssVarPrefix);return{cssVars:{[o]:r},cssMap:{[n]:{value:r,var:o,varRef:i}}}}},x=t(4651);var k=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function w(e){var r=k;return(0,x.ei)(e,r)}function S(e){return function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,["__cssMap","__cssVars","__breakpoints"])}function C(){return(C=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function F(e){var r,t=S(e),n=w(t),a=null==(r=t.config)?void 0:r.cssVarPrefix,{cssMap:o,cssVars:i}=y(n,{cssVarPrefix:a});return Object.assign(t,{__cssVars:C({},{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},i),__cssMap:o,__breakpoints:(0,f.y)(t.breakpoints)}),t}},33565:function(e,r,t){"use strict";t.d(r,{i:function(){return f}});var n=t(73808),a=t(80658),o=t(38554),i=t.n(o),s=t(28680),l=t(25503),c=(e,r)=>e.startsWith("--")&&(0,n.HD)(r)&&!(0,n.FS)(r),u=(e,r)=>{var t,n;if(null==r)return r;var a=r=>{var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.varRef},o=e=>{var r;return null!=(r=a(e))?r:e},i=r.split(",").map((e=>e.trim())),[s,l]=i;return r=null!=(t=null!=(n=a(s))?n:o(l))?t:o(r)};function d(e){var{configs:r={},pseudos:t={},theme:o}=e;return function e(s,l){void 0===l&&(l=!1);var d=(0,a.Pu)(s,o),f=(e=>r=>{if(!r.__breakpoints)return e;var{isResponsive:t,toArrayValue:o,media:i}=r.__breakpoints,s={};for(var l in e){var c=(0,a.Pu)(e[l],r);if(null!=c)if(c=(0,n.Kn)(c)&&t(c)?o(c):c,Array.isArray(c))for(var u=c.slice(0,i.length).length,d=0;d<u;d+=1){var f=null==i?void 0:i[d];f?(s[f]=s[f]||{},null!=c[d]&&(s[f][l]=c[d])):s[l]=c[d]}else s[l]=c}return s})(d)(o),b={};for(var g in f){var p,h,m,y,v,x=f[g],k=(0,a.Pu)(x,o);g in t&&(g=t[g]),c(g,k)&&(k=u(o,k));var w=r[g];if(!0===w&&(w={property:g}),(0,n.Kn)(k)){var S;b[g]=null!=(S=b[g])?S:{},b[g]=i()({},b[g],e(k,!0))}else{var C=null!=(p=null==(h=w)||null==h.transform?void 0:h.transform(k,o,d))?p:k;C=null!=(m=w)&&m.processResult?e(C,!0):C;var F=(0,a.Pu)(null==(y=w)?void 0:y.property,o);if(!l&&null!=(v=w)&&v.static){var A=(0,a.Pu)(w.static,o);b=i()({},b,A)}if(F&&Array.isArray(F))for(var E of F)b[E]=C;else F?"&"===F&&(0,n.Kn)(C)?b=i()({},b,C):b[F]=C:(0,n.Kn)(C)?b=i()({},b,C):b[g]=C}}return b}}var f=e=>r=>d({theme:r,pseudos:s.v,configs:l.Ul})(e)},9421:function(e,r,t){"use strict";t.d(r,{css:function(){return n.i},isStyleProp:function(){return i.ZR},layoutPropNames:function(){return i.oE},propNames:function(){return i.cC},toCSSVar:function(){return s.c0}});t(13205);var n=t(33565),a=t(41664);t.o(a,"isStyleProp")&&t.d(r,{isStyleProp:function(){return a.isStyleProp}}),t.o(a,"layoutPropNames")&&t.d(r,{layoutPropNames:function(){return a.layoutPropNames}}),t.o(a,"propNames")&&t.d(r,{propNames:function(){return a.propNames}}),t.o(a,"toCSSVar")&&t.d(r,{toCSSVar:function(){return a.toCSSVar}}),t.o(a,"useTheme")&&t.d(r,{useTheme:function(){return a.useTheme}});var o=t(87759);t.o(o,"isStyleProp")&&t.d(r,{isStyleProp:function(){return o.isStyleProp}}),t.o(o,"layoutPropNames")&&t.d(r,{layoutPropNames:function(){return o.layoutPropNames}}),t.o(o,"propNames")&&t.d(r,{propNames:function(){return o.propNames}}),t.o(o,"toCSSVar")&&t.d(r,{toCSSVar:function(){return o.toCSSVar}}),t.o(o,"useTheme")&&t.d(r,{useTheme:function(){return o.useTheme}});var i=t(25503),s=t(55608)},28680:function(e,r,t){"use strict";t.d(r,{v:function(){return d},_:function(){return f}});var n=t(4651),a=e=>e+":focus &, "+e+"[data-focus] &",o=e=>e+":active &, "+e+"[data-active] &",i=e=>e+":disabled &, "+e+"[data-disabled] &",s=e=>e+":invalid &, "+e+"[data-invalid] &",l=e=>e+":checked &, "+e+"[data-checked] &",c=e=>u(e,"[role=group]","[data-group]",".group"),u=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(e).join(", ")},d={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_disabled:"&[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:c((e=>e+":hover &, "+e+"[data-hover] &")),_groupFocus:c(a),_groupActive:c(o),_groupDisabled:c(i),_groupInvalid:c(s),_groupChecked:c(l),_placeholder:"&::placeholder",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &",_mediaDark:"@media (prefers-color-scheme: dark)",_dark:".chakra-ui-dark &, [data-theme=dark] &, &[data-theme=dark]",_light:".chakra-ui-light &, [data-theme=light] &, &[data-theme=light]"},f=(0,n.Yd)(d)},25503:function(e,r,t){"use strict";t.d(r,{Ul:function(){return c},oE:function(){return d},cC:function(){return f},ZR:function(){return g}});var n=t(38554),a=t.n(n),o=t(4651),i=t(13205),s=t(28680);function l(){return(l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var c=a()({},i.Oq,i.Cg,i.$_,i.GQ,i.bK,i.hX,i.v_,i.Mw,i.eC,i.o_,i.FK,i.cE,i.Dh,i.cp,i.QX,i.vs,i.pb,i.eR),u=Object.assign({},i.Dh,i.bK,i.GQ,i.eC,i.FK),d=(0,o.Yd)(u),f=[...(0,o.Yd)(c),...s._],b=l({},c,s.v),g=e=>e in b},41664:function(){},87759:function(){},29676:function(e,r,t){"use strict";t.d(r,{f6:function(){return d},Fg:function(){return f},Fo:function(){return b},yK:function(){return g},ZL:function(){return p}});var n=t(24738),a=t(9421),o=t(4651),i=t(80658),s=t(28500),l=t(30495),c=t(70917),u=t(67294),d=e=>{var{cssVarsRoot:r=":host, :root",theme:t,children:n}=e,o=u.useMemo((()=>(0,a.toCSSVar)(t)),[t]);return u.createElement(l.a,{theme:o},u.createElement(c.Global,{styles:e=>({[r]:e.__cssVars})}),n)};function f(){var e=u.useContext(l.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var[b,g]=(0,s.k)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),p=()=>{var{colorMode:e}=(0,n.If)();return u.createElement(c.Global,{styles:r=>{var t=(0,o.Wf)(r,"styles.global"),n=(0,i.Pu)(t,{theme:r,colorMode:e});if(n)return(0,a.css)(n)(r)}})}},63108:function(e,r,t){"use strict";function n(e,r){return t=>"dark"===t.colorMode?r:e}function a(e){var{orientation:r,vertical:t,horizontal:n}=e;return r?"vertical"===r?t:n:{}}t.d(r,{xJ:function(){return n},fL:function(){return a}})},83035:function(e,r,t){"use strict";t.d(r,{Z:function(){return Dr}});var n={parts:["container","button","panel","icon"],baseStyle:{container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},panel:{pt:2,px:4,pb:5},icon:{fontSize:"1.25em"}}},a=t(17621),o=t.n(a),i=t(4651),s=t(73808),l=(e,r,t)=>{var n=(0,i.Wf)(e,"colors."+r,r);return o()(n).isValid()?n:t},c=e=>r=>{var t=l(r,e);return o()(t).isDark()?"dark":"light"},u=(e,r)=>t=>{var n=l(t,e);return o()(n).setAlpha(r).toRgbString()};function d(e,r){return void 0===e&&(e="1rem"),void 0===r&&(r="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+r+" 25%,\n transparent 25%,\n transparent 50%,\n "+r+" 50%,\n "+r+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function f(e){var r=o().random().toHexString();return!e||(0,s.Qr)(e)?r:e.string&&e.colors?function(e,r){var t=0;if(0===e.length)return r[0];for(var n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;return t=(t%r.length+r.length)%r.length,r[t]}(e.string,e.colors):e.string&&!e.colors?function(e){var r=0;if(0===e.length)return r.toString();for(var t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;for(var n="#",a=0;a<3;a+=1){n+=("00"+(r>>8*a&255).toString(16)).substr(-2)}return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):r}var b=t(63108);function g(e){var{theme:r,colorScheme:t}=e,n=l(r,t+".100",t),a=u(t+".200",.16)(r);return(0,b.xJ)(n,a)(e)}var p={parts:["container","title","description","icon"],baseStyle:{container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}},variants:{subtle:function(e){var{colorScheme:r}=e;return{container:{bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},"left-accent":function(e){var{colorScheme:r}=e;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:(0,b.xJ)(r+".500",r+".200")(e),bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},"top-accent":function(e){var{colorScheme:r}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:(0,b.xJ)(r+".500",r+".200")(e),bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},solid:function(e){var{colorScheme:r}=e;return{container:{bg:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e)}}}},defaultProps:{variant:"subtle",colorScheme:"blue"}},h=t(54681);function m(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:(0,b.xJ)("white","gray.800")(e)}}function y(e){return{bg:(0,b.xJ)("gray.200","whiteAlpha.400")(e)}}function v(e){var{name:r,theme:t}=e,n=r?f({string:r}):"gray.400",a=(e=>r=>"dark"===c(e)(r))(n)(t),o="white";return a||(o="gray.800"),{bg:n,color:o,borderColor:(0,b.xJ)("white","gray.800")(e),verticalAlign:"top"}}function x(e){var r=h.Z[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=r?r:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=r?r:e)+" / 2.5)",lineHeight:"100%"!==e?null!=r?r:e:void 0}}}var k={parts:["container","excessLabel","badge","label"],baseStyle:e=>({badge:m(e),excessLabel:y(e),container:v(e)}),sizes:{"2xs":x("4"),xs:x("6"),sm:x("8"),md:x("12"),lg:x("16"),xl:x("24"),"2xl":x("32"),full:x("100%")},defaultProps:{size:"md"}};var w={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:{solid:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".500",.6)(t);return{bg:(0,b.xJ)(r+".500",n)(e),color:(0,b.xJ)("white","whiteAlpha.800")(e)}},subtle:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".200",.16)(t);return{bg:(0,b.xJ)(r+".100",n)(e),color:(0,b.xJ)(r+".800",r+".200")(e)}},outline:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".200",.8)(t),a=l(t,r+".500"),o=(0,b.xJ)(a,n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},S={parts:["container","item","link","separator"],baseStyle:{link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}}};function C(){return(C=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function F(e){var{colorScheme:r,theme:t}=e;if("gray"===r)return{color:(0,b.xJ)("inherit","whiteAlpha.900")(e),_hover:{bg:(0,b.xJ)("gray.100","whiteAlpha.200")(e)},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)}};var n=u(r+".200",.12)(t),a=u(r+".200",.24)(t);return{color:(0,b.xJ)(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:(0,b.xJ)(r+".50",n)(e)},_active:{bg:(0,b.xJ)(r+".100",a)(e)}}}var A={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}};var E={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:F,outline:function(e){var{colorScheme:r}=e,t=(0,b.xJ)("gray.200","whiteAlpha.300")(e);return C({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},F(e))},solid:function(e){var{colorScheme:r}=e;if("gray"===r){var t=(0,b.xJ)("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:(0,b.xJ)("gray.300","whiteAlpha.400")(e)}}}var{bg:n=r+".500",color:a="white",hoverBg:o=r+".600",activeBg:i=r+".700"}=A[r]||{},s=(0,b.xJ)(n,r+".200")(e);return{bg:s,color:(0,b.xJ)(a,"gray.800")(e),_hover:{bg:(0,b.xJ)(o,r+".300")(e),_disabled:{bg:s}},_active:{bg:(0,b.xJ)(i,r+".400")(e)}}},link:function(e){var{colorScheme:r}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:(0,b.xJ)(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:(0,b.xJ)(r+".700",r+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},sizes:{lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}};function _(e){var{colorScheme:r}=e;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:(0,b.xJ)(r+".500",r+".200")(e),borderColor:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e),_hover:{bg:(0,b.xJ)(r+".600",r+".300")(e),borderColor:(0,b.xJ)(r+".600",r+".300")(e)},_disabled:{borderColor:(0,b.xJ)("gray.200","transparent")(e),bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e),color:(0,b.xJ)("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:(0,b.xJ)(r+".500",r+".200")(e),borderColor:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e)},_disabled:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e),borderColor:(0,b.xJ)("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:(0,b.xJ)("red.500","red.300")(e)}}}var B={userSelect:"none",_disabled:{opacity:.4}},D={transitionProperty:"transform",transitionDuration:"normal"},z={parts:["container","control","label","icon"],baseStyle:e=>({icon:D,control:_(e),label:B}),sizes:{sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},defaultProps:{size:"md",colorScheme:"blue"}};var R={baseStyle:function(e){return{borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:(0,b.xJ)("blackAlpha.100","whiteAlpha.100")(e)},_active:{bg:(0,b.xJ)("blackAlpha.200","whiteAlpha.200")(e)},_focus:{boxShadow:"outline"}}},sizes:{lg:{w:"40px",h:"40px",fontSize:"16px"},md:{w:"32px",h:"32px",fontSize:"12px"},sm:{w:"24px",h:"24px",fontSize:"10px"}},defaultProps:{size:"md"}},{variants:j,defaultProps:O}=w,T={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:j,defaultProps:O},P={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},I={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},M={bg:"blackAlpha.600",zIndex:"modal"};function W(e){var{isCentered:r,scrollBehavior:t}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:"inside"===t?"hidden":"auto"}}function J(e){var{scrollBehavior:r}=e;return{borderRadius:"md",bg:(0,b.xJ)("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,boxShadow:(0,b.xJ)("lg","dark-lg")(e)}}var N={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},H={position:"absolute",top:2,insetEnd:3};function L(e){var{scrollBehavior:r}=e;return{px:6,py:2,flex:1,overflow:"inside"===r?"auto":void 0}}var $={px:6,py:4};function Z(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh"}}:{dialog:{maxW:e}}}var V={parts:["overlay","dialogContainer","dialog","header","closeButton","body","footer"],baseStyle:e=>({overlay:M,dialogContainer:W(e),dialog:J(e),header:N,closeButton:H,body:L(e),footer:$}),sizes:{xs:Z("xs"),sm:Z("sm"),md:Z("md"),lg:Z("lg"),xl:Z("xl"),"2xl":Z("2xl"),"3xl":Z("3xl"),"4xl":Z("4xl"),"5xl":Z("5xl"),"6xl":Z("6xl"),full:Z("full")},defaultProps:{size:"md"}};function q(){return(q=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function G(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Y={bg:"blackAlpha.600",zIndex:"overlay"},X={display:"flex",zIndex:"modal",justifyContent:"center"};function U(e){var{isFullHeight:r}=e;return q({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:(0,b.xJ)("white","gray.700")(e),color:"inherit",boxShadow:(0,b.xJ)("lg","dark-lg")(e)})}var K={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Q={position:"absolute",top:2,insetEnd:3},ee={px:6,py:2,flex:1,overflow:"auto"},re={px:6,py:4},te={parts:V.parts,baseStyle:e=>({overlay:Y,dialogContainer:X,dialog:U(e),header:K,closeButton:Q,body:ee,footer:re}),sizes:{xs:G("xs"),sm:G("md"),md:G("lg"),lg:G("2xl"),xl:G("4xl"),full:G("full")},defaultProps:{size:"xs"}},ne={parts:["preview","input"],baseStyle:{preview:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}}}};function ae(e){return{marginStart:1,color:(0,b.xJ)("red.500","red.300")(e)}}function oe(e){return{mt:2,color:(0,b.xJ)("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}}var ie={parts:["requiredIndicator","helperText"],baseStyle:e=>({requiredIndicator:ae(e),helperText:oe(e)})},se={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},le={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},ce={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}};function ue(e){var{focusBorderColor:r,errorBorderColor:t}=e;return{focusBorderColor:r||(0,b.xJ)("blue.500","blue.300")(e),errorBorderColor:t||(0,b.xJ)("red.500","red.300")(e)}}var de={parts:["field","addon"],baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:{lg:{field:ce.lg,addon:ce.lg},md:{field:ce.md,addon:ce.md},sm:{field:ce.sm,addon:ce.sm},xs:{field:ce.xs,addon:ce.xs}},variants:{outline:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:(0,b.xJ)("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:l(r,n),boxShadow:"0 0 0 1px "+l(r,n)},_focus:{zIndex:1,borderColor:l(r,t),boxShadow:"0 0 0 1px "+l(r,t)}},addon:{border:"1px solid",borderColor:(0,b.xJ)("inherit","whiteAlpha.50")(e),bg:(0,b.xJ)("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{border:"2px solid",borderColor:"transparent",bg:(0,b.xJ)("gray.100","whiteAlpha.50")(e),_hover:{bg:(0,b.xJ)("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:l(r,n)},_focus:{bg:"transparent",borderColor:l(r,t)}},addon:{border:"2px solid",borderColor:"transparent",bg:(0,b.xJ)("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:l(r,n),boxShadow:"0px 1px 0px 0px "+l(r,n)},_focus:{borderColor:l(r,t),boxShadow:"0px 1px 0px 0px "+l(r,t)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},unstyled:{field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}}},defaultProps:{size:"md",variant:"outline"}};var fe={baseStyle:function(e){return{bg:(0,b.xJ)("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},be={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},ge={parts:["container","item","icon"],baseStyle:{container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}}};function pe(e){return{bg:(0,b.xJ)("#fff","gray.700")(e),boxShadow:(0,b.xJ)("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}}function he(e){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e)},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.200")(e)},_expanded:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}var me,ye={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},ve={opacity:.6},xe={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},ke={transitionProperty:"common",transitionDuration:"normal"},we={parts:["item","command","list","button","groupTitle","divider"],baseStyle:e=>({button:ke,list:pe(e),item:he(e),groupTitle:ye,command:ve,divider:xe})},Se=t(35268);function Ce(){return(Ce=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var{variants:Fe,defaultProps:Ae}=de,Ee={"--number-input-stepper-width":"24px","--number-input-field-padding":"calc(var(--number-input-stepper-width) + 0.5rem)"},_e=null==(me=de.baseStyle)?void 0:me.field,Be={width:"var(--number-input-stepper-width)"};function De(e){return{borderStart:"1px solid",borderStartColor:(0,b.xJ)("inherit","whiteAlpha.300")(e),color:(0,b.xJ)("inherit","whiteAlpha.800")(e),_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}function ze(e){var r=de.sizes[e],t={lg:"md",md:"md",sm:"sm",xs:"sm"},n=Se.Z.fontSizes[r.field.fontSize];return{field:Ce({},r.field,{paddingInlineEnd:"var(--number-input-field-padding)",verticalAlign:"top"}),stepper:{fontSize:"calc("+n+" * 0.75)",_first:{borderTopEndRadius:t[e]},_last:{borderBottomEndRadius:t[e],mt:"-1px",borderTopWidth:1}}}}var Re={parts:["root","field","stepper","stepperGroup"],baseStyle:e=>({root:Ee,field:_e,stepperGroup:Be,stepper:De(e)}),sizes:{xs:ze("xs"),sm:ze("sm"),md:ze("md"),lg:ze("lg")},variants:Fe,defaultProps:Ae};function je(){return(je=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var Oe={baseStyle:je({},de.baseStyle.field,{textAlign:"center"}),sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:e=>de.variants.outline(e).field,flushed:e=>de.variants.flushed(e).field,filled:e=>de.variants.filled(e).field,unstyled:de.variants.unstyled.field},defaultProps:de.defaultProps},Te={zIndex:10};function Pe(e){return{"--popover-bg":"colors."+(0,b.xJ)("white","gray.700")(e),bg:"var(--popover-bg)","--popper-arrow-bg":"var(--popover-bg)","--popper-arrow-shadow-color":"colors."+(0,b.xJ)("gray.200","whiteAlpha.300")(e),width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}}var Ie={px:3,py:2,borderBottomWidth:"1px"},Me={px:3,py:2},We={px:3,py:2,borderTopWidth:"1px"},Je={parts:["popper","content","header","body","footer","arrow"],baseStyle:e=>({popper:Te,content:Pe(e),header:Ie,body:Me,footer:We,arrow:{}})};function Ne(){return(Ne=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var He={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"};function Le(e){return{bg:(0,b.xJ)("gray.100","whiteAlpha.300")(e)}}function $e(e){return Ne({transitionProperty:"common",transitionDuration:"slow"},function(e){var{colorScheme:r,theme:t,isIndeterminate:n,hasStripe:a}=e,o=(0,b.xJ)(d(),d("1rem","rgba(0,0,0,0.1)"))(e),i=(0,b.xJ)(r+".500",r+".200")(e),s="linear-gradient(\n to right,\n transparent 0%,\n "+l(t,i)+" 50%,\n transparent 100%\n )";return Ne({},!n&&a&&o,n?{bgImage:s}:{bgColor:i})}(e))}var Ze={parts:["track","filledTrack","label"],sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:e=>({label:He,filledTrack:$e(e),track:Le(e)}),defaultProps:{size:"md",colorScheme:"blue"}};function Ve(){return(Ve=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function qe(e){var{control:r}=z.baseStyle(e);return Ve({},r,{borderRadius:"full",_checked:Ve({},r._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})}var Ge={parts:["container","control","label"],baseStyle:e=>({label:z.baseStyle(e).label,control:qe(e)}),sizes:{md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},defaultProps:{size:"md",colorScheme:"blue"}},Ye=t(38554);function Xe(){return(Xe=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function Ue(e){return Xe({},de.baseStyle.field,{appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:(0,b.xJ)("white","gray.700")(e)}})}var Ke={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Qe={parts:["field","icon"],baseStyle:e=>({field:Ue(e),icon:Ke}),sizes:t.n(Ye)()({},de.sizes,{xs:{icon:{insetEnd:"0.25rem"}}}),variants:de.variants,defaultProps:de.defaultProps},er=t(70917),rr=(e,r)=>(0,er.keyframes)({from:{borderColor:e,background:e},to:{borderColor:r,background:r}}),tr={baseStyle:e=>{var r=(0,b.xJ)("gray.100","gray.800")(e),t=(0,b.xJ)("gray.400","gray.600")(e),{startColor:n=r,endColor:a=t,speed:o,theme:i}=e,s=l(i,n),c=l(i,a);return{opacity:.7,borderRadius:"2px",borderColor:s,background:c,animation:o+"s linear infinite alternate "+rr(s,c)}}},nr={baseStyle:e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:(0,b.xJ)("white","gray.700")(e)}})};function ar(){return(ar=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var or=e=>{var{orientation:r}=e;return ar({_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},(0,b.fL)({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))};function ir(e){return{borderRadius:"sm",bg:(0,b.xJ)("gray.200","whiteAlpha.200")(e),_disabled:{bg:(0,b.xJ)("gray.300","whiteAlpha.300")(e)}}}function sr(e){return ar({zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(e){return(0,b.fL)({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}(e))}function lr(e){var{colorScheme:r}=e;return{bg:(0,b.xJ)(r+".500",r+".200")(e)}}var cr={parts:["container","thumb","track","filledTrack"],sizes:{lg:function(e){return{thumb:{w:"16px",h:"16px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},baseStyle:e=>({container:or(e),track:ir(e),thumb:sr(e),filledTrack:lr(e)}),defaultProps:{size:"md",colorScheme:"blue"}},ur={baseStyle:{width:"var(--spinner-size)",height:"var(--spinner-size)"},sizes:{xs:{"--spinner-size":"0.75rem"},sm:{"--spinner-size":"1rem"},md:{"--spinner-size":"1.5rem"},lg:{"--spinner-size":"2rem"},xl:{"--spinner-size":"3rem"}},defaultProps:{size:"md"}},dr={parts:["label","number","icon","helpText"],baseStyle:{label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}};function fr(e){var{colorScheme:r}=e;return{borderRadius:"full",p:"2px",width:"var(--slider-track-width)",height:"var(--slider-track-height)",transitionProperty:"common",transitionDuration:"fast",bg:(0,b.xJ)("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:(0,b.xJ)(r+".500",r+".200")(e)}}}var br={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:"var(--slider-track-height)",height:"var(--slider-track-height)",_checked:{transform:"translateX(var(--slider-thumb-x))"}},gr={parts:["container","track","thumb"],baseStyle:e=>({container:{"--slider-track-diff":"calc(var(--slider-track-width) - var(--slider-track-height))","--slider-thumb-x":"var(--slider-track-diff)",_rtl:{"--slider-thumb-x":"calc(-1 * var(--slider-track-diff))"}},track:fr(e),thumb:br}),sizes:{sm:{container:{"--slider-track-width":"1.375rem","--slider-track-height":"0.75rem"}},md:{container:{"--slider-track-width":"1.875rem","--slider-track-height":"1rem"}},lg:{container:{"--slider-track-width":"2.875rem","--slider-track-height":"1.5rem"}}},defaultProps:{size:"md",colorScheme:"blue"}};function pr(){return(pr=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var hr={"&[data-is-numeric=true]":{textAlign:"end"}},mr={parts:["table","thead","tbody","tr","th","td","caption"],baseStyle:{table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},variants:{simple:e=>{var{colorScheme:r}=e;return{th:pr({color:(0,b.xJ)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),td:pr({borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),caption:{color:(0,b.xJ)("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:e=>{var{colorScheme:r}=e;return{th:pr({color:(0,b.xJ)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),td:pr({borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),caption:{color:(0,b.xJ)("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},td:{background:(0,b.xJ)(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},sizes:{sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}};function yr(e){var{orientation:r}=e;return{display:"vertical"===r?"flex":"block"}}function vr(e){var{isFitted:r}=e;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}}function xr(e){var{align:r="start",orientation:t}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:"vertical"===t?"column":"row"}}var kr={p:4};var wr={parts:["root","tablist","tab","tabpanels","tabpanel","indicator"],baseStyle:e=>({root:yr(e),tab:vr(e),tablist:xr(e),tabpanel:kr}),sizes:{sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},variants:{line:function(e){var{colorScheme:r,orientation:t}=e,n="vertical"===t?"borderStart":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===t?"marginStart":"marginBottom"]:"-2px",_selected:{color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"currentColor"},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},enclosed:function(e){var{colorScheme:r}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:(0,b.xJ)("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var{colorScheme:r}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:(0,b.xJ)("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:(0,b.xJ)("#fff","gray.800")(e),color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var{colorScheme:r,theme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:l(t,r+".700"),bg:l(t,r+".100")}}}},"solid-rounded":function(e){var{colorScheme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:(0,b.xJ)("gray.600","inherit")(e),_selected:{color:(0,b.xJ)("#fff","gray.800")(e),bg:(0,b.xJ)(r+".600",r+".300")(e)}}}},unstyled:{}},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},Sr={parts:["container","label","closeButton"],variants:{subtle:e=>({container:w.variants.subtle(e)}),solid:e=>({container:w.variants.solid(e)}),outline:e=>({container:w.variants.outline(e)})},baseStyle:{container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2},closeButton:{fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}},sizes:{sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}};function Cr(){return(Cr=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var Fr=Cr({},de.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),Ar={outline:e=>de.variants.outline(e).field,flushed:e=>de.variants.flushed(e).field,filled:e=>de.variants.filled(e).field,unstyled:de.variants.unstyled.field},Er={xs:de.sizes.xs.field,sm:de.sizes.sm.field,md:de.sizes.md.field,lg:de.sizes.lg.field};function _r(e){return{color:(0,b.xJ)("red.500","red.300")(e),mt:2,fontSize:"sm"}}function Br(e){return{marginEnd:"0.5em",color:(0,b.xJ)("red.500","red.300")(e)}}var Dr={Accordion:n,Alert:p,Avatar:k,Badge:w,Breadcrumb:S,Button:E,Checkbox:z,CloseButton:R,Code:T,Container:P,Divider:I,Drawer:te,Editable:ne,Form:ie,FormLabel:se,Heading:le,Input:de,Kbd:fe,Link:be,List:ge,Menu:we,Modal:V,NumberInput:Re,PinInput:Oe,Popover:Je,Progress:Ze,Radio:Ge,Select:Qe,Skeleton:tr,SkipLink:nr,Slider:cr,Spinner:ur,Stat:dr,Switch:gr,Table:mr,Tabs:wr,Tag:Sr,Textarea:{baseStyle:Fr,sizes:Er,variants:Ar,defaultProps:{size:"md",variant:"outline"}},Tooltip:{baseStyle:function(e){return{"--tooltip-bg":"colors."+(0,b.xJ)("gray.700","gray.300")(e),px:"8px",py:"2px",bg:"var(--tooltip-bg)","--popper-arrow-bg":"var(--tooltip-bg)",color:(0,b.xJ)("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}}},FormError:{parts:["text","icon"],baseStyle:e=>({text:_r(e),icon:Br(e)})}}},42009:function(e,r,t){"use strict";t.d(r,{Z:function(){return p}});var n={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},a=t(80658);function o(){return(o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var i,s=(i={sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},(0,a.ZK)({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),o({base:"0em"},i)),l={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},c={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},u={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},d=t(54681),f=t(54514),b={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}};function g(){return(g=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var p=g({breakpoints:s,zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:c,blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:l},t(35268).Z,{sizes:d.Z,shadows:u,space:f.W,borders:n,transition:b})},54681:function(e,r,t){"use strict";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var a=n({},t(54514).W,{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}});r.Z=a},54514:function(e,r,t){"use strict";t.d(r,{W:function(){return n}});var n={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"}},35268:function(e,r){"use strict";r.Z={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}}},84806:function(e,r,t){"use strict";var n=t(83035),a=t(42009),o=t(41926),i=t(93025);function s(){return(s=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}t.o(i,"useTheme")&&t.d(r,{useTheme:function(){return i.useTheme}});var l=s({direction:"ltr"},a.Z,{components:n.Z,styles:o.Z,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}});r.Z=l},41926:function(e,r,t){"use strict";var n=t(63108),a={global:e=>({body:{fontFamily:"body",color:(0,n.xJ)("gray.800","whiteAlpha.900")(e),bg:(0,n.xJ)("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:(0,n.xJ)("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:(0,n.xJ)("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})};r.Z=a},93025:function(){},27277:function(e,r,t){"use strict";function n(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}function a(e,r){return[...e,r]}function o(e,r){return e.filter((e=>e!==r))}function i(e,r,t,n){if(null==r)return n;if(!n)return e.find((e=>t(e).toLowerCase().startsWith(r.toLowerCase())));var a,o=e.filter((e=>t(e).toLowerCase().startsWith(r.toLowerCase())));return o.length>0?o.includes(n)?((a=o.indexOf(n)+1)===o.length&&(a=0),o[a]):(a=e.indexOf(o[0]),e[a]):n}t.d(r,{s:function(){return n},jX:function(){return a},cl:function(){return o},LP:function(){return i}})},73808:function(e,r,t){"use strict";function n(e){return"number"===typeof e}function a(e){return"number"!==typeof e||Number.isNaN(e)||!Number.isFinite(e)}function o(e){return Array.isArray(e)}function i(e){return"function"===typeof e}function s(e){return"undefined"===typeof e||void 0===e}function l(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!o(e)}function c(e){return l(e)&&0===Object.keys(e).length}function u(e){return"[object String]"===Object.prototype.toString.call(e)}function d(e){return/^var\(--.+\)$/.test(e)}t.d(r,{hj:function(){return n},iy:function(){return a},kJ:function(){return o},mf:function(){return i},o8:function(){return s},Kn:function(){return l},Qr:function(){return c},HD:function(){return u},FS:function(){return d},Ts:function(){return f},Ys:function(){return b},Ik:function(){return g}});var f=!1,b=!1;function g(e){return"current"in e}},88456:function(e,r,t){"use strict";t.d(r,{px:function(){return i},y:function(){return d}});var n=t(27277),a=t(73808),o=t(4651);function i(e){if(null==e)return e;var{unitless:r}=function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e);return r||(0,a.hj)(e)?e+"px":e}var s=(e,r)=>parseInt(e[1],10)>parseInt(r[1],10)?1:-1,l=e=>(0,o.sq)(Object.entries(e).sort(s));function c(e){var r=l(e);return Object.assign(Object.values(r),r)}function u(e,r){var t=[];return e&&t.push("@media screen and (min-width: "+i(e)+")"),t.length>0&&r&&t.push("and"),r&&t.push("@media screen and (max-width: "+i(r)+")"),t.join(" ")}function d(e){var r;if(!e)return null;e.base=null!=(r=e.base)?r:"0px";var t=c(e),o=Object.entries(e).sort(s).map(((e,r,t)=>{var n,[o,s]=e,[,l]=null!=(n=t[r+1])?n:[];return{breakpoint:o,minW:s,maxW:l=parseFloat(l)>0?function(e){var r;if(!e)return e;var t=(e=null!=(r=i(e))?r:e).endsWith("px")?-1:-.0635;return(0,a.hj)(e)?""+(e+t):e.replace(/([0-9]+\.?[0-9]*)/,(e=>""+(parseFloat(e)+t)))}(l):void 0,maxWQuery:u(null,l),minWQuery:u(s),minMaxQuery:u(s,l)}})),d=function(e){var r=Object.keys(l(e));return new Set(r)}(e),f=Array.from(d.values());return{keys:d,normalized:t,isResponsive(e){var r=Object.keys(e);return r.length>0&&r.every((e=>d.has(e)))},asObject:l(e),asArray:c(e),details:o,media:[null,...t.map((e=>u(e))).slice(1)],toArrayValue(e){if(!(0,a.Kn)(e))throw new Error("toArrayValue: value must be an object");for(var r=f.map((r=>{var t;return null!=(t=e[r])?t:null}));null===(0,n.s)(r);)r.pop();return r},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,r,t)=>{var n=f[t];return null!=n&&null!=r&&(e[n]=r),e}),{})}}}},84461:function(e,r,t){"use strict";function n(e){var r;return e instanceof Element&&null!=(r=e.ownerDocument)?r:document}t.d(r,{lZ:function(){return n},jU:function(){return a},PB:function(){return o},Qm:function(){return i},cx:function(){return s},vY:function(){return l},r3:function(){return c},EV:function(){return u},uh:function(){return d},wN:function(){return f},dO:function(){return b}});var a=!("undefined"===typeof window||!window.document||!window.document.createElement),o=e=>e?"":void 0,i=e=>!!e||void 0,s=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter(Boolean).join(" ")};function l(e){var r=n(e);return null==r?void 0:r.activeElement}function c(e,r){return!!e&&(e===r||e.contains(r))}function u(e,r,t,n){return e.addEventListener(r,t,n),()=>{e.removeEventListener(r,t,n)}}function d(e){var{key:r,keyCode:t}=e;return t>=37&&t<=40&&0!==r.indexOf("Arrow")?"Arrow"+r:r}function f(e){var r,t,n,a=l(null!=(r=e.target)?r:e.currentTarget),o=e.nativeEvent.explicitOriginalTarget;return null!=(t=null!=(n=e.relatedTarget)?n:o)?t:a}function b(e){return 0!==e.button}},80658:function(e,r,t){"use strict";t.d(r,{Pu:function(){return a},v0:function(){return o},ZT:function(){return s},ZK:function(){return l},A4:function(){return c},zG:function(){return u},TE:function(){return b}});var n=t(73808);function a(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];return(0,n.mf)(e)?e(...t):e}function o(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.some((r=>(null==r||r(e),null==e?void 0:e.defaultPrevented)))}}function i(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}var s=()=>{},l=i((e=>()=>{var{condition:r,message:t}=e;r&&n.Ts&&console.warn(t)})),c=(i((e=>()=>{var{condition:r,message:t}=e;r&&n.Ts&&console.error(t)})),n.Ys?e=>e():"function"===typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)}),u=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return e=>r.reduce(((e,r)=>r(e)),e)},d=(e,r)=>Math.abs(e-r),f=e=>"x"in e&&"y"in e;function b(e,r){if((0,n.hj)(e)&&(0,n.hj)(r))return d(e,r);if(f(e)&&f(r)){var t=d(e.x,r.x),a=d(e.y,r.y);return Math.sqrt(t**2+a**2)}return 0}},4651:function(e,r,t){"use strict";t.d(r,{CE:function(){return n},ei:function(){return a},Vl:function(){return o},Wf:function(){return i},lw:function(){return s},YU:function(){return l},Yd:function(){return c},sq:function(){return u},K1:function(){return d}});t(38554);function n(e,r){var t={};return Object.keys(e).forEach((n=>{r.includes(n)||(t[n]=e[n])})),t}function a(e,r){var t={};return r.forEach((r=>{r in e&&(t[r]=e[r])})),t}function o(e,r){var t={},n={};return Object.keys(e).forEach((a=>{r.includes(a)?t[a]=e[a]:n[a]=e[a]})),[t,n]}var i=(e=>{var r=new WeakMap;return(t,n,a,o)=>{if("undefined"===typeof t)return e(t,n,a);r.has(t)||r.set(t,new Map);var i=r.get(t);if(i.has(n))return i.get(n);var s=e(t,n,a,o);return i.set(n,s),s}})((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));function s(e,r){var t={};return Object.keys(e).forEach((n=>{var a=e[n];r(a,n,e)&&(t[n]=a)})),t}var l=e=>s(e,(e=>null!==e&&void 0!==e)),c=e=>Object.keys(e),u=e=>e.reduce(((e,r)=>{var[t,n]=r;return e[t]=n,e}),{}),d=(e,r,t)=>{var n,a;return null!=(n=null==(a=e.__cssMap[r+"."+t])?void 0:a.varRef)?n:t}},17861:function(e,r,t){"use strict";t.d(r,{Z:function(){return re}});var n=t(11526),a=Math.abs,o=String.fromCharCode;function i(e){return e.trim()}function s(e,r,t){return e.replace(r,t)}function l(e,r){return e.indexOf(r)}function c(e,r){return 0|e.charCodeAt(r)}function u(e,r,t){return e.slice(r,t)}function d(e){return e.length}function f(e){return e.length}function b(e,r){return r.push(e),e}var g=1,p=1,h=0,m=0,y=0,v="";function x(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:g,column:p,length:i,return:""}}function k(e,r,t){return x(e,r.root,r.parent,t,r.props,r.children,0)}function w(){return y=m>0?c(v,--m):0,p--,10===y&&(p=1,g--),y}function S(){return y=m<h?c(v,m++):0,p++,10===y&&(p=1,g++),y}function C(){return c(v,m)}function F(){return m}function A(e,r){return u(v,e,r)}function E(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return g=p=1,h=d(v=e),m=0,[]}function B(e){return v="",e}function D(e){return i(A(m-1,j(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(y=C())&&y<33;)S();return E(e)>2||E(y)>3?"":" "}function R(e,r){for(;--r&&S()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return A(e,F()+(r<6&&32==C()&&32==S()))}function j(e){for(;S();)switch(y){case e:return m;case 34:case 39:return j(34===e||39===e?e:y);case 40:41===e&&j(e);break;case 92:S()}return m}function O(e,r){for(;S()&&e+y!==57&&(e+y!==84||47!==C()););return"/*"+A(r,m-1)+"*"+o(47===e?e:S())}function T(e){for(;!E(C());)S();return A(e,m)}var P="-ms-",I="-moz-",M="-webkit-",W="comm",J="rule",N="decl";function H(e,r){for(var t="",n=f(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function L(e,r,t,n){switch(e.type){case"@import":case N:return e.return=e.return||e.value;case W:return"";case J:e.value=e.props.join(",")}return d(t=H(e.children,n))?e.return=e.value+"{"+t+"}":""}function $(e,r){switch(function(e,r){return(((r<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3)}(e,r)){case 5103:return M+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+I+e+P+e+e;case 6828:case 4268:return M+e+P+e+e;case 6165:return M+e+P+"flex-"+e+e;case 5187:return M+e+s(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return M+e+P+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return M+e+P+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+P+s(e,"shrink","negative")+e;case 5292:return M+e+P+s(e,"basis","preferred-size")+e;case 6060:return M+"box-"+s(e,"-grow","")+M+e+P+s(e,"grow","positive")+e;case 4554:return M+s(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,M+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(e)-1-r>6)switch(c(e,r+1)){case 109:if(45!==c(e,r+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+I+(108==c(e,r+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?$(s(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==c(e,r+1))break;case 6444:switch(c(e,d(e)-3-(~l(e,"!important")&&10))){case 107:return s(e,":",":"+M)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(45===c(e,14)?"inline-":"")+"box$3$1"+M+"$2$3$1"+P+"$2box$3")+e}break;case 5936:switch(c(e,r+11)){case 114:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+P+e+e}return e}function Z(e){return B(V("",null,null,null,[""],e=_(e),0,[0],e))}function V(e,r,t,n,a,i,l,c,u){for(var f=0,g=0,p=l,h=0,m=0,y=0,v=1,x=1,k=1,A=0,E="",_=a,B=i,j=n,P=E;x;)switch(y=A,A=S()){case 34:case 39:case 91:case 40:P+=D(A);break;case 9:case 10:case 13:case 32:P+=z(y);break;case 92:P+=R(F()-1,7);continue;case 47:switch(C()){case 42:case 47:b(G(O(S(),F()),r,t),u);break;default:P+="/"}break;case 123*v:c[f++]=d(P)*k;case 125*v:case 59:case 0:switch(A){case 0:case 125:x=0;case 59+g:m>0&&d(P)-p&&b(m>32?Y(P+";",n,t,p-1):Y(s(P," ","")+";",n,t,p-2),u);break;case 59:P+=";";default:if(b(j=q(P,r,t,f,g,a,c,E,_=[],B=[],p),i),123===A)if(0===g)V(P,r,j,j,_,i,p,c,B);else switch(h){case 100:case 109:case 115:V(e,j,j,n&&b(q(e,j,j,0,0,a,c,E,a,_=[],p),B),a,B,p,c,n?_:B);break;default:V(P,j,j,j,[""],B,p,c,B)}}f=g=m=0,v=k=1,E=P="",p=l;break;case 58:p=1+d(P),m=y;default:if(v<1)if(123==A)--v;else if(125==A&&0==v++&&125==w())continue;switch(P+=o(A),A*v){case 38:k=g>0?1:(P+="\f",-1);break;case 44:c[f++]=(d(P)-1)*k,k=1;break;case 64:45===C()&&(P+=D(S())),h=C(),g=d(E=P+=T(F())),A++;break;case 45:45===y&&2==d(P)&&(v=0)}}return i}function q(e,r,t,n,o,l,c,d,b,g,p){for(var h=o-1,m=0===o?l:[""],y=f(m),v=0,k=0,w=0;v<n;++v)for(var S=0,C=u(e,h+1,h=a(k=c[v])),F=e;S<y;++S)(F=i(k>0?m[S]+" "+C:s(C,/&\f/g,m[S])))&&(b[w++]=F);return x(e,r,t,0===o?J:d,b,g,p)}function G(e,r,t){return x(e,r,t,W,o(y),u(e,2,-2),0)}function Y(e,r,t,n){return x(e,r,t,N,u(e,0,n),u(e,n+1,-1),n)}var X=function(e,r){return B(function(e,r){var t=-1,n=44;do{switch(E(n)){case 0:38===n&&12===C()&&(r[t]=1),e[t]+=T(m-1);break;case 2:e[t]+=D(n);break;case 4:if(44===n){e[++t]=58===C()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=o(n)}}while(n=S());return e}(_(e),r))},U=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||U.get(t))&&!n){U.set(e,!0);for(var a=[],o=X(r,a),i=t.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},Q=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},ee=[function(e,r,t,n){if(!e.return)switch(e.type){case N:e.return=$(e.value,e.length);break;case"@keyframes":return H([k(s(e.value,"@","@"+M),e,"")],n);case J:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([k(s(r,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return H([k(s(r,/:(plac\w+)/,":-webkit-input-$1"),e,""),k(s(r,/:(plac\w+)/,":-moz-$1"),e,""),k(s(r,/:(plac\w+)/,P+"input-$1"),e,"")],n)}return""}))}}],re=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||ee;var o,i,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),t=1;t<r.length;t++)s[r[t]]=!0;l.push(e)}));var c,u,d=[L,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],b=function(e){var r=f(e);return function(t,n,a,o){for(var i="",s=0;s<r;s++)i+=e[s](t,n,a,o)||"";return i}}([K,Q].concat(a,d));i=function(e,r,t,n){c=t,H(Z(e?e+"{"+r.styles+"}":r.styles),b),n&&(g.inserted[r.name]=!0)};var g={key:r,sheet:new n.m({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},67866:function(e,r){"use strict";r.Z=function(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}},30495:function(e,r,t){"use strict";t.d(r,{C:function(){return g},E:function(){return S},T:function(){return h},a:function(){return v},b:function(){return x},c:function(){return w},h:function(){return f},u:function(){return m},w:function(){return p}});var n=t(67294),a=t(17861),o=t(87462),i=function(e){var r=new WeakMap;return function(t){if(r.has(t))return r.get(t);var n=e(t);return r.set(t,n),n}},s=t(8679),l=t.n(s),c=function(e,r){return l()(e,r)},u=t(70444),d=t(94199),f=Object.prototype.hasOwnProperty,b=(0,n.createContext)("undefined"!==typeof HTMLElement?(0,a.Z)({key:"css"}):null),g=b.Provider,p=function(e){return(0,n.forwardRef)((function(r,t){var a=(0,n.useContext)(b);return e(r,a,t)}))},h=(0,n.createContext)({}),m=function(){return(0,n.useContext)(h)},y=i((function(e){return i((function(r){return function(e,r){return"function"===typeof r?r(e):(0,o.Z)({},e,r)}(e,r)}))})),v=function(e){var r=(0,n.useContext)(h);return e.theme!==r&&(r=y(r)(e.theme)),(0,n.createElement)(h.Provider,{value:r},e.children)};function x(e){var r=e.displayName||e.name||"Component",t=function(r,t){var a=(0,n.useContext)(h);return(0,n.createElement)(e,(0,o.Z)({theme:a,ref:t},r))},a=(0,n.forwardRef)(t);return a.displayName="WithTheme("+r+")",c(a,e)}var k="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",w=function(e,r){var t={};for(var n in r)f.call(r,n)&&(t[n]=r[n]);return t[k]=e,t},S=p((function(e,r,t){var a=e.css;"string"===typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[k],i=[a],s="";"string"===typeof e.className?s=(0,u.f)(r.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=(0,d.O)(i,void 0,"function"===typeof a||Array.isArray(a)?(0,n.useContext)(h):void 0);(0,u.M)(r,l,"string"===typeof o);s+=r.key+"-"+l.name;var c={};for(var b in e)f.call(e,b)&&"css"!==b&&b!==k&&(c[b]=e[b]);return c.ref=t,c.className=s,(0,n.createElement)(o,c)}))},70917:function(e,r,t){"use strict";t.r(r),t.d(r,{CacheProvider:function(){return a.C},ThemeContext:function(){return a.T},ThemeProvider:function(){return a.a},useTheme:function(){return a.u},withEmotionCache:function(){return a.w},withTheme:function(){return a.b},ClassNames:function(){return g},Global:function(){return c},createElement:function(){return l},css:function(){return u},jsx:function(){return l},keyframes:function(){return d}});var n=t(67294),a=(t(17861),t(30495)),o=(t(8679),t(70444)),i=t(94199),s=t(11526),l=function(e,r){var t=arguments;if(null==r||!a.h.call(r,"css"))return n.createElement.apply(void 0,t);var o=t.length,i=new Array(o);i[0]=a.E,i[1]=(0,a.c)(e,r);for(var s=2;s<o;s++)i[s]=t[s];return n.createElement.apply(null,i)},c=(0,a.w)((function(e,r){var t=e.styles,l=(0,i.O)([t],void 0,"function"===typeof t||Array.isArray(t)?(0,n.useContext)(a.T):void 0),c=(0,n.useRef)();return(0,n.useLayoutEffect)((function(){var e=r.key+"-global",t=new s.m({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=!1,a=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==a&&(n=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),c.current=[t,n],function(){t.flush()}}),[r]),(0,n.useLayoutEffect)((function(){var e=c.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,o.M)(r,l.next,!0),t.tags.length){var n=t.tags[t.tags.length-1].nextElementSibling;t.before=n,t.flush()}r.insert("",l,t,!1)}}),[r,l.name]),null}));function u(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.O)(r)}var d=function(){var e=u.apply(void 0,arguments),r="animation-"+e.name;return{name:r,styles:"@keyframes "+r+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},f=function e(r){for(var t=r.length,n=0,a="";n<t;n++){var o=r[n];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var s in i="",o)o[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function b(e,r,t){var n=[],a=(0,o.f)(e,n,t);return n.length<2?t:a+r(n)}var g=(0,a.w)((function(e,r){var t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=(0,i.O)(t,r.registered);return(0,o.M)(r,a,!1),r.key+"-"+a.name},s={css:t,cx:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return b(r.registered,t,f(n))},theme:(0,n.useContext)(a.T)},l=e.children(s);return!0,l}))},94199:function(e,r,t){"use strict";t.d(r,{O:function(){return p}});var n=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=t(67866),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,r){switch(e){case"animation":case"animationName":if("string"===typeof r)return r.replace(s,(function(e,r,t){return b={name:r,styles:t,next:b},r}))}return 1===a[e]||l(e)||"number"!==typeof r||0===r?r:r+"px"};function f(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return b={name:t.name,styles:t.styles,next:b},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)b={name:n.name,styles:n.styles,next:b},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=f(e,r,t[a])+";";else for(var o in t){var i=t[o];if("object"!==typeof i)null!=r&&void 0!==r[i]?n+=o+"{"+r[i]+"}":c(i)&&(n+=u(o)+":"+d(o,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=r&&void 0!==r[i[0]]){var s=f(e,r,i);switch(o){case"animation":case"animationName":n+=u(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)c(i[l])&&(n+=u(o)+":"+d(o,i[l])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=b,o=t(e);return b=a,f(e,r,o)}break;case"string":}if(null==r)return t;var i=r[t];return void 0!==i?i:t}var b,g=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var p=function(e,r,t){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,o="";b=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,o+=f(t,r,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=f(t,r,e[s]),a&&(o+=i[s]);g.lastIndex=0;for(var l,c="";null!==(l=g.exec(o));)c+="-"+l[1];return{name:n(o)+c,styles:o,next:b}}},11526:function(e,r,t){"use strict";t.d(r,{m:function(){return n}});var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(n){0}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},70444:function(e,r,t){"use strict";t.d(r,{f:function(){return n},M:function(){return a}});function n(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var a=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}}},8679:function(e,r,t){"use strict";var n=t(21296),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(r,t,n){if("string"!==typeof t){if(g){var a=b(t);a&&a!==g&&e(r,a,n)}var i=u(t);d&&(i=i.concat(d(t)));for(var s=l(r),p=l(t),h=0;h<i.length;++h){var m=i[h];if(!o[m]&&(!n||!n[m])&&(!p||!p[m])&&(!s||!s[m])){var y=f(t,m);try{c(r,m,y)}catch(v){}}}}return r}},96103:function(e,r){"use strict";var t="function"===typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,g=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,y=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function k(e){if("object"===typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case u:case d:case o:case s:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case f:case h:case p:case l:return e;default:return r}}case a:return r}}}function w(e){return k(e)===d}r.AsyncMode=u,r.ConcurrentMode=d,r.ContextConsumer=c,r.ContextProvider=l,r.Element=n,r.ForwardRef=f,r.Fragment=o,r.Lazy=h,r.Memo=p,r.Portal=a,r.Profiler=s,r.StrictMode=i,r.Suspense=b,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===l},r.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return k(e)===f},r.isFragment=function(e){return k(e)===o},r.isLazy=function(e){return k(e)===h},r.isMemo=function(e){return k(e)===p},r.isPortal=function(e){return k(e)===a},r.isProfiler=function(e){return k(e)===s},r.isStrictMode=function(e){return k(e)===i},r.isSuspense=function(e){return k(e)===b},r.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===i||e===b||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===x||e.$$typeof===m)},r.typeOf=k},21296:function(e,r,t){"use strict";e.exports=t(96103)},38554:function(e,r,t){e=t.nmd(e);var n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[o]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[i]=u["[object Map]"]=u["[object Number]"]=u[s]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,f="object"==typeof self&&self&&self.Object===Object&&self,b=d||f||Function("return this")(),g=r&&!r.nodeType&&r,p=g&&e&&!e.nodeType&&e,h=p&&p.exports===g,m=h&&d.process,y=function(){try{var e=p&&p.require&&p.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(r){}}(),v=y&&y.isTypedArray;function x(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var k,w,S=Array.prototype,C=Function.prototype,F=Object.prototype,A=b["__core-js_shared__"],E=C.toString,_=F.hasOwnProperty,B=function(){var e=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),D=F.toString,z=E.call(Object),R=RegExp("^"+E.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=h?b.Buffer:void 0,O=b.Symbol,T=b.Uint8Array,P=j?j.allocUnsafe:void 0,I=(k=Object.getPrototypeOf,w=Object,function(e){return k(w(e))}),M=Object.create,W=F.propertyIsEnumerable,J=S.splice,N=O?O.toStringTag:void 0,H=function(){try{var e=be(Object,"defineProperty");return e({},"",{}),e}catch(r){}}(),L=j?j.isBuffer:void 0,$=Math.max,Z=Date.now,V=be(b,"Map"),q=be(Object,"create"),G=function(){function e(){}return function(r){if(!Fe(r))return{};if(M)return M(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function Y(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function X(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function U(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function K(e){var r=this.__data__=new X(e);this.size=r.size}function Q(e,r){var t=xe(e),n=!t&&ve(e),a=!t&&!n&&we(e),o=!t&&!n&&!a&&Ee(e),i=t||n||a||o,s=i?function(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}(e.length,String):[],l=s.length;for(var c in e)!r&&!_.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ge(c,l))||s.push(c);return s}function ee(e,r,t){(void 0!==t&&!ye(e[r],t)||void 0===t&&!(r in e))&&ne(e,r,t)}function re(e,r,t){var n=e[r];_.call(e,r)&&ye(n,t)&&(void 0!==t||r in e)||ne(e,r,t)}function te(e,r){for(var t=e.length;t--;)if(ye(e[t][0],r))return t;return-1}function ne(e,r,t){"__proto__"==r&&H?H(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}Y.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},Y.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},Y.prototype.get=function(e){var r=this.__data__;if(q){var t=r[e];return t===n?void 0:t}return _.call(r,e)?r[e]:void 0},Y.prototype.has=function(e){var r=this.__data__;return q?void 0!==r[e]:_.call(r,e)},Y.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=q&&void 0===r?n:r,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var r=this.__data__,t=te(r,e);return!(t<0)&&(t==r.length-1?r.pop():J.call(r,t,1),--this.size,!0)},X.prototype.get=function(e){var r=this.__data__,t=te(r,e);return t<0?void 0:r[t][1]},X.prototype.has=function(e){return te(this.__data__,e)>-1},X.prototype.set=function(e,r){var t=this.__data__,n=te(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this},U.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(V||X),string:new Y}},U.prototype.delete=function(e){var r=fe(this,e).delete(e);return this.size-=r?1:0,r},U.prototype.get=function(e){return fe(this,e).get(e)},U.prototype.has=function(e){return fe(this,e).has(e)},U.prototype.set=function(e,r){var t=fe(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},K.prototype.clear=function(){this.__data__=new X,this.size=0},K.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},K.prototype.get=function(e){return this.__data__.get(e)},K.prototype.has=function(e){return this.__data__.has(e)},K.prototype.set=function(e,r){var t=this.__data__;if(t instanceof X){var n=t.__data__;if(!V||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new U(n)}return t.set(e,r),this.size=t.size,this};var ae,oe=function(e,r,t){for(var n=-1,a=Object(e),o=t(e),i=o.length;i--;){var s=o[ae?i:++n];if(!1===r(a[s],s,a))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":N&&N in Object(e)?function(e){var r=_.call(e,N),t=e[N];try{e[N]=void 0;var n=!0}catch(o){}var a=D.call(e);n&&(r?e[N]=t:delete e[N]);return a}(e):function(e){return D.call(e)}(e)}function se(e){return Ae(e)&&ie(e)==o}function le(e){return!(!Fe(e)||function(e){return!!B&&B in e}(e))&&(Se(e)?R:l).test(function(e){if(null!=e){try{return E.call(e)}catch(r){}try{return e+""}catch(r){}}return""}(e))}function ce(e){if(!Fe(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=pe(e),t=[];for(var n in e)("constructor"!=n||!r&&_.call(e,n))&&t.push(n);return t}function ue(e,r,t,n,a){e!==r&&oe(r,(function(o,i){if(a||(a=new K),Fe(o))!function(e,r,t,n,a,o,i){var l=he(e,t),c=he(r,t),u=i.get(c);if(u)return void ee(e,t,u);var d=o?o(l,c,t+"",e,r,i):void 0,f=void 0===d;if(f){var b=xe(c),g=!b&&we(c),p=!b&&!g&&Ee(c);d=c,b||g||p?xe(l)?d=l:Ae(h=l)&&ke(h)?d=function(e,r){var t=-1,n=e.length;r||(r=Array(n));for(;++t<n;)r[t]=e[t];return r}(l):g?(f=!1,d=function(e,r){if(r)return e.slice();var t=e.length,n=P?P(t):new e.constructor(t);return e.copy(n),n}(c,!0)):p?(f=!1,d=function(e,r){var t=r?function(e){var r=new e.constructor(e.byteLength);return new T(r).set(new T(e)),r}(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}(c,!0)):d=[]:function(e){if(!Ae(e)||ie(e)!=s)return!1;var r=I(e);if(null===r)return!0;var t=_.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&E.call(t)==z}(c)||ve(c)?(d=l,ve(l)?d=function(e){return function(e,r,t,n){var a=!t;t||(t={});var o=-1,i=r.length;for(;++o<i;){var s=r[o],l=n?n(t[s],e[s],s,t,e):void 0;void 0===l&&(l=e[s]),a?ne(t,s,l):re(t,s,l)}return t}(e,_e(e))}(l):Fe(l)&&!Se(l)||(d=function(e){return"function"!=typeof e.constructor||pe(e)?{}:G(I(e))}(c))):f=!1}var h;f&&(i.set(c,d),a(d,c,n,o,i),i.delete(c));ee(e,t,d)}(e,r,i,t,ue,n,a);else{var l=n?n(he(e,i),o,i+"",e,r,a):void 0;void 0===l&&(l=o),ee(e,i,l)}}),_e)}function de(e,r){return me(function(e,r,t){return r=$(void 0===r?e.length-1:r,0),function(){for(var n=arguments,a=-1,o=$(n.length-r,0),i=Array(o);++a<o;)i[a]=n[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=n[a];return s[r]=t(i),x(e,this,s)}}(e,r,ze),e+"")}function fe(e,r){var t=e.__data__;return function(e){var r=typeof e;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e}(r)?t["string"==typeof r?"string":"hash"]:t.map}function be(e,r){var t=function(e,r){return null==e?void 0:e[r]}(e,r);return le(t)?t:void 0}function ge(e,r){var t=typeof e;return!!(r=null==r?a:r)&&("number"==t||"symbol"!=t&&c.test(e))&&e>-1&&e%1==0&&e<r}function pe(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||F)}function he(e,r){if(("constructor"!==r||"function"!==typeof e[r])&&"__proto__"!=r)return e[r]}var me=function(e){var r=0,t=0;return function(){var n=Z(),a=16-(n-t);if(t=n,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}(H?function(e,r){return H(e,"toString",{configurable:!0,enumerable:!1,value:(t=r,function(){return t}),writable:!0});var t}:ze);function ye(e,r){return e===r||e!==e&&r!==r}var ve=se(function(){return arguments}())?se:function(e){return Ae(e)&&_.call(e,"callee")&&!W.call(e,"callee")},xe=Array.isArray;function ke(e){return null!=e&&Ce(e.length)&&!Se(e)}var we=L||function(){return!1};function Se(e){if(!Fe(e))return!1;var r=ie(e);return r==i||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Fe(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function Ae(e){return null!=e&&"object"==typeof e}var Ee=v?function(e){return function(r){return e(r)}}(v):function(e){return Ae(e)&&Ce(e.length)&&!!u[ie(e)]};function _e(e){return ke(e)?Q(e,!0):ce(e)}var Be,De=(Be=function(e,r,t,n){ue(e,r,t,n)},de((function(e,r){var t=-1,n=r.length,a=n>1?r[n-1]:void 0,o=n>2?r[2]:void 0;for(a=Be.length>3&&"function"==typeof a?(n--,a):void 0,o&&function(e,r,t){if(!Fe(t))return!1;var n=typeof r;return!!("number"==n?ke(t)&&ge(r,t.length):"string"==n&&r in t)&&ye(t[r],e)}(r[0],r[1],o)&&(a=n<3?void 0:a,n=1),e=Object(e);++t<n;){var i=r[t];i&&Be(e,i,t,a)}return e})));function ze(e){return e}e.exports=De},67690:function(e,r,t){"use strict";t.d(r,{n:function(){return n}});var n={1337:{base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#3D3D3D",base4:"#4b474c",base5:"#515151",base6:"#6D6D6D",base7:"#777778",base8:"#f4f4f4",bg:"#191919","bg-alt":"#252526",blue:"#8CDAFF","dark-blue":"#6699CC",fg:"#d4d4d4","fg-alt":"#AEAFAD",green:"#468800",grey:"#777778","light-green":"#B5CEA8","light-yellow":"#FBE3BF",magenta:"#C586C0",orange:"#FC9354",red:"#FF5E5E",teal:"#35CDAF",white:"#FFFFFF",yellow:"#E9FDAC"},Iosevkem:{base0:"#1b1d1e",base1:"#202020",base2:"#303030",base3:"#303030",base4:"#505050",base5:"#505050",base6:"#808080",base7:"#808080",base8:"#DFDFDF",bg:"#1b1d1e","bg-alt":"#262829",blue:"#6c9ef8",cyan:"#00aa80","dark-blue":"#6688aa","dark-cyan":"#5699AF",fg:"#dddddd","fg-alt":"#5B6268",green:"#60aa00",grey:"#505050",magenta:"#b77fdb",orange:"#da8548",red:"#d02b61",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#d08928"},"acario-dark":{base0:"#0F1019",base1:"#121212",base2:"#1E1E33",base3:"#464A56",base4:"#585C6C",base5:"#767676",base6:"#959EA5",base7:"#B2B2B2",base8:"#D0D0D0",bg:"#0D0E16","bg-alt":"#040408","bg-blue":"#0C213E",blue:"#3679D8",cyan:"#36D8BD","dark-blue":"#0C213E",fg:"#CEDBE5","fg-alt":"#E5F4FF",green:"#79D836",grey:"#767676",magenta:"#8041D8",orange:"#D85F00",red:"#D83441",teal:"#2D9574",violet:"#AB11D8",yellow:"#D8B941"},"ayu-mirage":{bg:"#1f2430","bg-alt":"#171b24",base0:"#3d434d",base1:"#707a8c",base2:"#2f3b54",base3:"#f5f7fd",base4:"#f5f7fd",base5:"#1c1e23",base6:"#484f5b",base7:"#14171f",base8:"#11131a",fg:"#cbccc6","fg-alt":"#707a8c",grey:"#171b24",red:"#f28779",orange:"#ffa759",green:"#bae67e",teal:"#95e6cb",yellow:"#ffd580",blue:"#73d0ff","dark-blue":"#5ca6cc",magenta:"#d4bfff",violet:"#dccbff",cyan:"#5ccfe6"},"ayu-light":{"common-accent":"#ff9940","common-bg":"#fafafa","common-fg":"#575f66","common-ui":"#ba9199","syntax-comment":"#abb0b6","syntax-constant":"#a37acc","syntax-entity":"#399ee6","syntax-error":"#f51818","syntax-func":"#f2ae49","syntax-keyword":"#fa8d3e","syntax-markup":"#f07171","syntax-operator":"#ed9366","syntax-regexp":"#4cbf99","syntax-special":"#e6ba7e","syntax-string":"#86b300","syntax-tag":"#55b4d4",test:"#2ea8e6","ui-gutter-active":"#ba9199","ui-gutter-normal":"#d9c2c6","ui-line":"#e8e8e8","ui-panel-border":"#fcfcfc","ui-panel-shadow":"#fbfbfb","ui-selection-bg":"#bce1f3","ui-selection-border":"#f0f8fd","ui-selection-inactive":"#f0f8fd"},badger:{bg:"#171717","bg-alt":"#2f2f2f",base0:"#1D1D1D",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#433F4f",base5:"#635770",base6:"#656868",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#F6F3E8","fg-alt":"#FBF9F3",grey:"#433F4f",red:"#E2434C",orange:"#EA9847",green:"#86B187",teal:"#65A399",yellow:"#E0D063",blue:"#8AC6F2","dark-blue":"#2257A0",magenta:"#E18Cbb",violet:"#BF93C3"},"challenger-deep":{base0:"#100E23",base1:"#292F37",base2:"#3D4551",base3:"#4C4B68",base4:"#565575",base5:"#858FA5",base6:"#9BA7BF",base7:"#B0BED8",base8:"#BAC9E4",bg:"#1E1C31","bg-alt":"#12111E",blue:"#91DDFF",cyan:"#AAFFE4","dark-blue":"#65B2FF","dark-cyan":"#62D196",fg:"#CBE3E7","fg-alt":"#B2B2B2",green:"#95FFA4",grey:"#565575",magenta:"#C991E1",orange:"#FFB378",red:"#FF8080",teal:"#63F2F1",violet:"#906CFF",yellow:"#FFE9AA"},"city-lights":{bg:"#1D252C","bg-alt":"#181E24",base0:"#10151C",base1:"#171D22",base2:"#20282F",base3:"#28323B",base4:"#384551",base5:"#56697A",base6:"#688094",base7:"#7FA0B7",base8:"#9CAABB","fg-alt":"#728CA0",fg:"#A0B3C5",grey:"#41505E",red:"#D95468",orange:"#D98E48",green:"#8BD49C",teal:"#33CED8",yellow:"#EBBF83",blue:"#5EC4FF","bright-blue":"#539AFC","dark-blue":"#718CA1"},"dark+":{bg:"#1e1e1e","bg-alt":"#252526",base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#313131",base4:"#4b474c",base5:"#37474F",base6:"#237AD3",base7:"#777778",base8:"#f4f4f4",fg:"#d4d4d4","fg-alt":"#AEAFAD",grey:"#777778",red:"#D16969",orange:"#DB8E73",green:"#579C4C","light-green":"#B5CEA8",teal:"#35CDAF",yellow:"#D7BA7D","light-yellow":"#D9DAA2",blue:"#339CDB","dark-blue":"#124F7B",magenta:"#C586C0",violet:"#BB80B3","dark-violet":"#68217A",cyan:"#85DDFF","dark-cyan":"#207FA1"},dracula:{base0:"#1E2029",base1:"#282a36",base2:"#373844",base3:"#44475a",base4:"#565761",base5:"#6272a4",base6:"#b6b6b2",base7:"#ccccc7",base8:"#f8f8f2",bg:"#282a36","bg-alt":"#1E2029",blue:"#61bfff",cyan:"#8be9fd","dark-blue":"#0189cc","dark-cyan":"#8be9fd",fg:"#f8f8f2","fg-alt":"#e2e2dc",green:"#50fa7b",grey:"#565761",magenta:"#ff79c6",orange:"#ffb86c",red:"#ff5555",teal:"#0189cc",violet:"#bd93f9",yellow:"#f1fa8c"},ephemeral:{base0:"#181e26",base1:"#1e262d",base2:"#242d39",base3:"#2a3542",base4:"#323f4e",base5:"#364455",base6:"#505d6f",base7:"#77818f",base8:"#ebedef",bg:"#323f4e","bg-alt":"#28323e",blue:"#92b6f4",cyan:"#79e6f3","dark-blue":"#9f92f4","dark-violet":"#985EFF",fg:"#f8f8f2","fg-alt":"#fdfdfd",green:"#53e2ae",grey:"#3d4c5f",magenta:"#BD99FF",orange:"#f2a272",red:"#f48fb1",teal:"#a1efd3",violet:"#8897f4",yellow:"#f1fa8c"},"fairy-floss":{base0:"#464258",base1:"#514C66",base2:"#6A6483",base3:"#9673D3",base4:"#A0A0C0",base5:"#B8A2CE",base6:"#726C8A",base7:"#5B576C",base8:"#716799",bg:"#5a5475","bg-alt":"#343145",blue:"#55b3cc",cyan:"#96CBFE","dark-blue":"#167be2","dark-cyan":"#204052",fg:"#F8F8F0","fg-alt":"#B5B2Bd",green:"#C2FFDF",grey:"#656565",magenta:"#FFB8D1",orange:"#E6C000",red:"#CC6666",teal:"#8295D6",violet:"#C5A3FF",yellow:"#FFEA00"},flatwhite:{bg:"#f7f3ee","bg-alt":"#f1ece4",base0:"#f1ece4",base1:"#e4ddd2",base2:"#dcd3c6",base3:"#b9a992",base4:"#93836c",base5:"#605a52",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",fg:"#605a52","fg-alt":"#93836c",grey:"#b9a992",red:"#955f5f",orange:"#957f5f",green:"#81895d",teal:"#5f8c7d",yellow:"#957f5f",blue:"#7382a0","dark-blue":"#7382a0",magenta:"#9c739c",violet:"#9c739c",cyan:"#5f8c7d","dark-cyan":"#5f8c7d"},"gruvbox-light":{base0:"#f0f0f0",base1:"#ebdbb2",base2:"#d5c4a1",base3:"#bdae93",base4:"#a89984",base5:"#504945",base6:"#3c3836",base7:"#282828",base8:"#1d2021",bg:"#fbf1c7","bg-alt":"#f2e5bc",blue:"#076678",cyan:"#427b58","dark-blue":"#2b3c44","dark-cyan":"#36473a",fg:"#282828","fg-alt":"#1c1c1c",green:"#79740e",grey:"#928374",magenta:"#b16286",orange:"#af3a03",red:"#9d0006",teal:"#4db5bd",violet:"#8f3f71",yellow:"#b57614"},gruvbox:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#665c54",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#282828","bg-alt":"#1d2021","bg-alt2":"#504945",blue:"#83a598","dark-green":"#98971a","dark-yellow":"#d79921",fg:"#ebdbb2","fg-alt":"#d5c4a1",green:"#b8bb26",grey:"#928374",magenta:"#cc241d",orange:"#fe8019",red:"#fb4934",teal:"#8ec07c",violet:"#d3869b",yellow:"#fabd2f"},henna:{base0:"#10151a",base1:"#181A1F",base2:"#1B1F23",base3:"#262D35",base4:"#282C34",base5:"#2c313a",base6:"#3B4048",base7:"#495162",base8:"#606F73",bg:"#21272e","bg-alt":"#1B1F23",blue:"#56b5c2",cyan:"#56b6c2","dark-blue":"#2257A0","dark-cyan":"#2e4a54",fg:"#f8f8f0","fg-alt":"#6B717D",green:"#53df83",grey:"#737c8c",magenta:"#FFB8D1",orange:"#e74c3c",red:"#e74c3c",teal:"#1abc9c",violet:"#C5A3FF",yellow:"#ECBE7B"},"homage-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#000000",blue:"#0170bf",cyan:"#46D9FF","dark-blue":"#003c64","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#5B6268",magenta:"#c678dd",orange:"#b4916d",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},"homage-white":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},horizon:{base0:"#16161c",base1:"#1a1c23",base2:"#1d1f27",base3:"#232530",base4:"#6a6a6a",base5:"#f9cec3",base6:"#f9cbbe",base7:"#fadad1",base8:"#fdf0ed",bg:"#232530","bg-alt":"#1c1e26",blue:"#21bfc2",cyan:"#59e3e3","dark-blue":"#25b2bc","dark-cyan":"#27d797",fg:"#c7c9cb","fg-alt":"#fdf0ed",green:"#09f7a0",grey:"#6a6a6a",magenta:"#6c6f93",orange:"#f09383",red:"#e95678",teal:"#87ceeb",violet:"#b877db",yellow:"#fab795"},"ir-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#121212",blue:"#96CBFE","dark-blue":"#2257A0",fg:"#f6f3e8","fg-alt":"#5B6268",green:"#A8FF60","green-alt":"#99CC99",grey:"#3f444a",magenta:"#FF73FD",orange:"#E9C062","orange-alt":"#FFD2A7",red:"#ff6c60",teal:"#00A0A0",white:"#ffffff",yellow:"#FFFFB6"},laserwave:{base0:"#222228",base1:"#24262D",base2:"#282b33",base3:"#3E3549",base4:"#4E415C",base5:"#544863",base6:"#ED60BA",base7:"#91889B",base8:"#ECEFF4",bg:"#27212E","bg-alt":"#1B1720",blue:"#40B4C4",cyan:"#B4DCE7","dark-blue":"#336A79","dark-cyan":"#6D7E8A",fg:"#FFFFFF","fg-alt":"#EEEEEE",green:"#74DFC4",grey:"#4E415C",magenta:"#EB64B9",orange:"#FFB85B",red:"#964C7B",teal:"#4D8079",violet:"#B381C5",yellow:"#FFE261"},manegarm:{"-bg":"#1c1408","-bg-alt":"#181107",base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#95836f",base6:"#73797e",base7:"#9ca0a4",base8:"#dfdfdf",bg:"#1c1408","bg-alt":"#181107",blue:"#0075c4","dark-blue":"#0060a1",fg:"#5b8512","fg-alt":"#4f7410",green:"#7cb518",grey:"#707a6a",magenta:"#d72638",orange:"#ff7000",red:"#ff4e00",teal:"#dbc077",violet:"#76597b",yellow:"#ffbf00"},material:{base0:"#171F24",base1:"#1C262B",base2:"#222D32",base3:"#171F24",base4:"#314048",base5:"#37474F",base6:"#556369",base7:"#737E84",base8:"#9BA3A7",bg:"#263238","bg-alt":"#1C262B",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#37474F",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},miramare:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#5b5b5b",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#2a2426","bg-alt":"#242021","bg-alt2":"#504945",blue:"#89beba","dark-blue":"#458588","dark-green":"#678f67",fg:"#e6d6ac","fg-alt":"#d8caac",green:"#87af87",grey:"#5b5b5b",magenta:"#e68183",orange:"#e39b7b",red:"#e68183",teal:"#87af87",violet:"#d3a0bc",yellow:"#d9bb80"},molokai:{base0:"#131313",base1:"#161821",base2:"#2e313d",base3:"#3a3d4b",base4:"#535763",base5:"#595d68",base6:"#696d77",base7:"#888d94",base8:"#afb5b9",bg:"#282a3a","bg-alt":"#1E1F2B",blue:"#9cd1bb",cyan:"#9cd1bb","dark-blue":"#9cd1bb","dark-cyan":"#9cd1bb",fg:"#eaf2f1","fg-alt":"#c6c6c6",green:"#bad761",grey:"#535763",magenta:"#9cd1bb",orange:"#ff95be",red:"#ff657a",teal:"#9cd1bb",violet:"#c39ac9",yellow:"#ffd76d"},"monokai-classic":{base0:"#19181A",base1:"#1B1B1B",base2:"#212122",base3:"#2B2B2B",base4:"#383539",base5:"#4C4A4D",base6:"#727072",base7:"#c1c0c0",base8:"#FCFCFA",bg:"#2D2A2E","bg-alt":"#221F22",blue:"#78DCE8",cyan:"#78DCE8","dark-blue":"#81A2BE","dark-cyan":"#81A2BE",fg:"#FCFCFA","fg-alt":"#939293",green:"#A9DC76",grey:"#727072",magenta:"#FF6188",orange:"#FC9867",red:"#CC6666",teal:"#A9DC76",violet:"#AB9DF2",yellow:"#FFD866"},"monokai-pro":{base0:"#131313",base1:"#191515",base2:"#332c2c",base3:"#403838",base4:"#5b5353",base5:"#615959",base6:"#72696a",base7:"#948a8b",base8:"#bfb3b5",bg:"#2c2525","bg-alt":"#201C1C",blue:"#85dacc",cyan:"#85dacc","dark-blue":"#85dacc","dark-cyan":"#85dacc",fg:"#fff1f3","fg-alt":"#c6c6c6",green:"#adda78",grey:"#5b5353",magenta:"#85dacc",orange:"#f38d70",red:"#fd6883",teal:"#85dacc",violet:"#a8a9eb",yellow:"#f9cc6c"},"monokai-machine":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-octagon":{base0:"#131313",base1:"#191919",base2:"#2c2c2d",base3:"#363537",base4:"#525053",base5:"#585659",base6:"#69676c",base7:"#8b888f",base8:"#b6b2bc",bg:"#222222","bg-alt":"#191919",blue:"#5ad4e6",cyan:"#5ad4e6","dark-blue":"#5ad4e6","dark-cyan":"#5ad4e6",fg:"#f7f1ff","fg-alt":"#c6c6c6",green:"#7bd88f",grey:"#525053",magenta:"#5ad4e6",orange:"#fd9353",red:"#fc618d",teal:"#5ad4e6",violet:"#948ae3",yellow:"#fce566"},"monokai-ristretto":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-spectrum":{base0:"#F0F4FC",base1:"#E3EAF5",base2:"#D8DEE9",base3:"#C2D0E7",base4:"#B8C5DB",base5:"#AEBACF",base6:"#A1ACC0",base7:"#60728C",base8:"#485163",bg:"#E5E9F0","bg-alt":"#D8DEE9",blue:"#3B6EA8",cyan:"#398EAC","dark-blue":"#5272AF","dark-cyan":"#2C7088",fg:"#3B4252","fg-alt":"#2E3440",green:"#4F894C",grey:"#B8C5DB",magenta:"#97365B",orange:"#AC4426",red:"#99324B",teal:"#29838D",violet:"#842879",yellow:"#9A7500"},moonlight:{base0:"#191C25",base1:"#242832",base2:"#2C333F",base3:"#373E4C",base4:"#434C5E",base5:"#4C566A",base6:"#9099AB",base7:"#D8DEE9",base8:"#F0F4FC",bg:"#2E3440","bg-alt":"#272C36",blue:"#81A1C1",cyan:"#88C0D0","dark-blue":"#5E81AC","dark-cyan":"#507681",fg:"#ECEFF4","fg-alt":"#E5E9F0",green:"#A3BE8C",grey:"#434C5E",magenta:"#B48EAD",orange:"#D08770",red:"#BF616A",teal:"#8FBCBB",violet:"#5D80AE",yellow:"#EBCB8B"},"nord-light":{base0:"#0d0f11",base1:"#1e272c",base2:"#212122",base3:"#2f3f48",base4:"#3c4c55",base5:"#556873",base6:"#6A7D89",base7:"#899BA6",base8:"#e6eef3",bg:"#3c4c55","bg-alt":"#44545d",blue:"#83AFE5",cyan:"#7FC1CA","dark-blue":"#759DCE","dark-cyan":"#659AA1",fg:"#c5d4dd","fg-alt":"#c5c8c6",green:"#A8CE93",grey:"#899BA6",magenta:"#D18EC2",orange:"#F2C38F",red:"#DF8C8C",teal:"#95BEBC",violet:"#9A93E1",yellow:"#DADA93"},nord:{base0:"#1B2B34",base1:"#343D46",base2:"#4F5B66",base3:"#65737E",base4:"#A7ADBA",base5:"#C0C5CE",base6:"#CDD3DE",base7:"#D8DEE9",base8:"#D8DEE9",bg:"#1B2B34","bg-alt":"#14232D",blue:"#6699CC",cyan:"#5FB3B3","dark-blue":"#6699CC","dark-cyan":"#5FB3B3",fg:"#D8DEE9","fg-alt":"#CDD3DE",green:"#99C794",grey:"#A7ADBA",magenta:"#E27E8D",orange:"#F99157",red:"#EC5f67",teal:"#5FB3B3",violet:"#C594C5",yellow:"#FAC863"},nova:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#686b78",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#1c1d20","bg-alt":"#151619",blue:"#4fb3d8",cyan:"#4fb3d8","dark-blue":"#5689f0","dark-cyan":"#4fb3d8",fg:"#cbccd1","fg-alt":"#5B6268",green:"#78bd65",grey:"#3f444a",magenta:"#b978ab",orange:"#ee7b29",red:"#ea3d54",teal:"#78bd65",violet:"#b978ab",yellow:"#fedd38"},"oceanic-next":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#4078f2",cyan:"#0184bc","dark-blue":"#a0bcf8","dark-cyan":"#005478",fg:"#383a42","fg-alt":"#c6c7c7",green:"#50a14f",grey:"#9ca0a4",magenta:"#a626a4",orange:"#da8548",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801"},"old-hope":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#282c34","bg-alt":"#21242b",blue:"#51afef",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#3f444a",magenta:"#c678dd",orange:"#da8548",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},one:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"one-light":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},"one-vibrant":{base0:"#1c1f24",base1:"#1c1f24",base2:"#21272d",base3:"#23272e",base4:"#484854",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#242730","bg-alt":"#2a2e38",blue:"#51afef",cyan:"#5cEfFF","dark-blue":"#1f5582","dark-cyan":"#6A8FBF",fg:"#bbc2cf","fg-alt":"#5D656B",green:"#7bc275",grey:"#484854",magenta:"#C57BDB",orange:"#e69055",red:"#ff665c",teal:"#4db5bd",violet:"#a991f1",yellow:"#FCCE7B"},"opera-light":{base0:"#fafafa",base1:"#f5f5f5",base2:"#eeeeee",base3:"#e0e0e0",base4:"#bdbdbd",base5:"#9e9e9e",base6:"#757575",base7:"#616161",base8:"#424242",bg:"#fafafa","bg-alt":"#eeeeee",blue:"#3b6ea8",cyan:"#398eac","dark-blue":"#5272AF","dark-cyan":"#2c7088",fg:"#2a2a2a","fg-alt":"#454545",green:"#4f894c",grey:"#bdbdbd",magenta:"#97365b",orange:"#ac4426",red:"#99324b",teal:"#29838d",violet:"#842879",yellow:"#9a7500"},opera:{base0:"#000000",base1:"#1e1e1e",base2:"#2e2e2e",base3:"#262626",base4:"#3f3f3f",base5:"#525252",base6:"#6b6b6b",base7:"#979797",base8:"#dfdfdf",bg:"#323334","bg-alt":"#222224",blue:"#80A0C2",cyan:"#86C0D1","dark-blue":"#5C748E","dark-cyan":"#507681",fg:"#eceff4","fg-alt":"#727269",green:"#A2BF8A",grey:"#3f3f3f",magenta:"#B58DAE",orange:"#D2876D",red:"#C16069",teal:"#8EBCBB",violet:"#5D80AE",yellow:"#ECCC87"},"outrun-electric":{base0:"#131033",base1:"#1f1147",base2:"#110d26",base3:"#3b4167",base4:"#2d2844",base5:"#BA45A3",base6:"#6A6EA3",base7:"#6564D1",base8:"#919ad9",bg:"#0c0a20","bg-alt":"#090819",blue:"#1ea8fc",cyan:"#42c6ff","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#f2f3f7","fg-alt":"#7984D1",green:"#a7da1e",grey:"#546A90",magenta:"#ff2afc",orange:"#cf433e",red:"#e61f44",teal:"#A875FF",violet:"#df85ff",yellow:"#ffd400"},palenight:{base0:"#1c1f2b",base1:"#1e212e",base2:"#232635",base3:"#3C435E",base4:"#4E5579",base5:"#676E95",base6:"#697098",base7:"#717CB4",base8:"#A6Accd",bg:"#292D3E","bg-alt":"#242837",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#676E95",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},peacock:{bg:"#2b2a27","bg-alt":"#1F1E1D",base0:"#2b2a27",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#ede0ce","fg-alt":"#5B6268",grey:"#3f444a",white:"#f8f8f0",red:"#ff5d38",orange:"#cb4b16",green:"#98be65",teal:"#26a6a6",yellow:"#bcd42a",blue:"#51afef","dark-blue":"#2257A0",magenta:"#c678dd",violet:"#a9a1e1",cyan:"#46D9FF","dark-cyan":"#5699AF"},"plain-dark":{base0:"#838083",base1:"#0e0c0a",base2:"#bbbbbb",base3:"#444444",base4:"#202020",base5:"#545053",base6:"#050505",base7:"#ffdddd",base8:"#050505",bg:"#222222","bg-alt":"#434343",blue:"#d7d5d1",cyan:"#d7d5d1","dark-blue":"#d7d5d1","dark-cyan":"#d7d5d1",fg:"#d7d5d1","fg-alt":"#e7e5e3",green:"#d7d5d1",grey:"#d7d5d1",magenta:"#d7d5d1",orange:"#d7d5d1",red:"#d7d5d1",teal:"#d7d5d1",violet:"#d7d5d1",yellow:"#d7d5d1"},plain:{base0:"#969896",base1:"#f1f3f5",base2:"#444444",base3:"#cccccc",base4:"#e7e7e7",base5:"#c5c8c6",base6:"#fafafa",base7:"#dfdfdf",base8:"#fafafa",bg:"#ffffff","bg-alt":"#f3f3f3",blue:"#282a2e",cyan:"#282a2e","dark-blue":"#282a2e","dark-cyan":"#282a2e",fg:"#282a2e","fg-alt":"#48494d",green:"#282a2e",grey:"#282a2e",magenta:"#282a2e",orange:"#282a2e",red:"#282a2e",teal:"#282a2e",violet:"#282a2e",yellow:"#282a2e"},rouge:{base0:"#070A0E",base1:"#0E131D",base2:"#151D2B",base3:"#1F2A3F",base4:"#5D636E",base5:"#64727d",base6:"#B16E75",base7:"#E8E9EB",base8:"#F0F4FC",bg:"#172030","bg-alt":"#172030",blue:"#6e94b9","dark-blue":"#1E6378",fg:"#FAFFF6","fg-alt":"#A7ACB9",green:"#A3B09A",grey:"#64727d","light-red":"#DB6E8F",magenta:"#b18bb1",orange:"#eabe9a",red:"#c6797e",salmon:"#F9B5AC",teal:"#7ea9a9",violet:"#5D80AE",yellow:"#F7E3AF"},"shades-of-purple":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#a599e9",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#2d2b55","bg-alt":"#1e1e3f","dark-green":"#00ff00","dark-red":"#ff5370","dark-teal":"#37fea1",fg:"#e3e9fa","fg-alt":"#b4c2f0",green:"#3ad900",grey:"#444a73",indigo:"#7a88cf","light-green":"#a5ff90","light-red":"#ff98a4",orange:"#ff9d00",red:"#ff000d",region:"#b362ff",selection:"#b362ff"},snazzy:{base0:"#282a36",base1:"#34353e",base2:"#43454f",base3:"#78787e",base4:"#a5a5a9",base5:"#e2e4e5",base6:"#eff0eb",base7:"#f1f1f0",base8:"#ff5c57",bg:"#282a36","bg-alt":"#242631",blue:"#57c7ff",cyan:"#9aedfe","dark-blue":"#459fcc",fg:"#f9f9f9","fg-alt":"#d1d1d1",green:"#5af78e",grey:"#848688",magenta:"#ff6ac1",red:"#ff5c57",ui0:"#848688",ui1:"#606580",ui2:"#3a3d4d",ui3:"#1c1e27",yellow:"#f3f99d"},"solarized-dark-high-contrast":{base0:"#01323d",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#62787f",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002732","bg-alt":"#00212B",blue:"#3c98e0",cyan:"#3cafa5","dark-blue":"#3F88AD","dark-cyan":"#03373f",fg:"#8d9fa1","fg-alt":"#60767e",green:"#93a61a",grey:"#56697A",magenta:"#e2468f",orange:"#db5823",red:"#ec423a",teal:"#35a69c",violet:"#7a7ed2",yellow:"#c49619"},"solarized-dark":{base0:"#073642",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#405A61",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002b36","bg-alt":"#00212B",blue:"#268bd2",cyan:"#2aa198","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#839496","fg-alt":"#657b83",green:"#859900",grey:"#56697A",magenta:"#d33682",orange:"#cb4b16",red:"#dc322f",teal:"#35a69c",violet:"#6c71c4",yellow:"#b58900"},"solarized-light":{"dark-cyan":"#204052",cyan:"#2aa198",violet:"#6c71c4",magenta:"#d33682","dark-blue":"#3F88AD",blue:"#268bd2",yellow:"#b58900",teal:"#35a69c",green:"#859900",orange:"#cb4b16",red:"#dc322f",grey:"#E1DBCD",base8:"#626C6C",base7:"#788484",base6:"#96A7A9",base5:"#D6D6D6",base4:"#E1DBCD",base3:"#F2E6CE",base2:"#FCF7E8",base1:"#FCF8ED",base0:"#FFFBF0","fg-alt":"#7B8787","bg-alt":"#EEE8D5",fg:"#556b72",bg:"#FDF6E3"},sourcerer:{base0:"#1d2127",base1:"#1d2127",base2:"#272727",base3:"#32353f",base4:"#494952",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#faf4c6",bg:"#171717","bg-alt":"#222222",blue:"#87AFD7",cyan:"#87ceeb","dark-blue":"#6688aa",fg:"#c2c2b0","fg-alt":"#5D656B",green:"#87875f","green-br":"#719611",grey:"#686858",magenta:"#8787AF",orange:"#ff9800",red:"#aa4450",teal:"#578F8F",violet:"#8181a6",yellow:"#cc8800"},spacegrey:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"tomorrow-day":{base0:"#f2f2f2",base1:"#e4e4e4",base2:"#dedede",base3:"#d6d4d4",base4:"#C0bfbf",base5:"#a3a1a1",base6:"#8a8787",base7:"#696769",base8:"#000000",bg:"#ffffff","bg-alt":"#f2f2f2",blue:"#4271ae",cyan:"#8abeb7","dark-blue":"#315482","dark-cyan":"#b8d8d3",fg:"#4d4d4c","fg-alt":"#1e1e1e",green:"#718c00",grey:"#8e908c",magenta:"#c678dd",orange:"#f5871f",red:"#c82829",teal:"#3e999f",violet:"#8959a8",yellow:"#eab700"},"tomorrow-night":{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#1d1f21","bg-alt":"#161719",blue:"#81a2be",cyan:"#8abeb7","dark-blue":"#41728e","dark-cyan":"#52726d",fg:"#c5c8c6","fg-alt":"#767876",green:"#b5bd68",grey:"#5a5b5a",magenta:"#c9b4cf",orange:"#de935f",red:"#cc6666",teal:"#81a2be",violet:"#b294bb",yellow:"#f0c674"},wilmersdorf:{bg:"#282b33","bg-alt":"#1f2024",base0:"#222228",base1:"#282b33",base2:"#34373e",base3:"#41454b",base4:"#515462",base5:"#888395",base6:"#929292",base7:"#727269",base8:"#eceff4","fg-alt":"#c9d9ff",fg:"#c6c6c6",grey:"#515462",red:"#e1c1ee",orange:"#a6c1e0",green:"#5b94ab",teal:"#7ebebd",yellow:"#cfcf9c"},xcode:{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#292A30","bg-alt":"#252629",blue:"#5DD8FF",cyan:"#8abeb7","dark-cyan":"#52726d",fg:"#FFFFFF","fg-alt":"#999999",green:"#67B7A4",grey:"#6C7986","light-green":"#9EF1DD",magenta:"#D0A8FF",orange:"#FD8F3F",red:"#FC6A5D",teal:"#59B0CF",violet:"#A167E6",yellow:"#D0BF68"},zenburn:{"dark-cyan":"#5699AF",cyan:"#93E0E3",violet:"#a9a1e1",magenta:"#DC8CC3","dark-blue":"#2257A0",blue:"#8CD0D3",yellow:"#F0DFAF",teal:"#4db5bd",green:"#7F9F7F",orange:"#DFAF8F",red:"#CC9393",grey:"#494949","fg-alt":"#989890",fg:"#DCDCDC",base8:"#FFFFEF",base7:"#6F6F6F",base6:"#5F5F5F",base5:"#4F4F4F",base4:"#494949",base3:"#383838",base2:"#303030",base1:"#2B2B2B",base0:"#000000","bg-alt":"#383838",bg:"#3F3F3F"}}},29200:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return T}});var n=t(4942),a=(t(43146),t(84806)),o=t(73808),i=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function s(e){return!!(0,o.Kn)(e)&&i.every((r=>Object.prototype.hasOwnProperty.call(e,r)))}var l=t(80658),c=t(38554),u=t.n(c);function d(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return u()({},...r,f)}function f(e,r,t,n){if(((0,o.mf)(e)||(0,o.mf)(r))&&Object.prototype.hasOwnProperty.call(n,t))return function(){var t=(0,o.mf)(e)?e(...arguments):e,n=(0,o.mf)(r)?r(...arguments):r;return u()({},t,n,f)}}var b=t(70917),g=t(67294),p=()=>g.createElement(b.Global,{styles:'\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility; \n -moz-osx-font-smoothing: grayscale; \n touch-action: manipulation; \n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: \'kern\';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n '}),h=t(34288),m=t(29676),y=t(24738),v=t(84461),x={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]})},k=()=>{},w={window:{document:x,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:k,removeEventListener:k,getComputedStyle:()=>({getPropertyValue:()=>""}),matchMedia:()=>({matches:!1,addListener:k,removeListener:k}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:k,setInterval:()=>0,clearInterval:k},document:x},S=v.jU?{window:window,document:document}:w,C=(0,g.createContext)(S);function F(e){var{children:r,environment:t}=e,[n,a]=(0,g.useState)(null),o=(0,g.useMemo)((()=>{var e,r=null==n?void 0:n.ownerDocument,a=null==n?void 0:n.ownerDocument.defaultView;return null!=(e=null!=t?t:r?{document:r,window:a}:void 0)?e:S}),[n,t]),i=!n&&!t;return g.createElement(C.Provider,{value:o},r,i&&g.createElement("span",{ref:e=>{e&&a(e)}}))}o.Ts&&(C.displayName="EnvironmentContext"),o.Ts&&(F.displayName="EnvironmentProvider");var A=t(94577),E=e=>{var{children:r,colorModeManager:t,portalZIndex:n,resetCSS:o=!0,theme:i=a.Z,environment:s,cssVarsRoot:l}=e,c=g.createElement(F,{environment:s},r);return g.createElement(A.vc,null,g.createElement(m.f6,{theme:i,cssVarsRoot:l},g.createElement(y.SG,{colorModeManager:t,options:i.config},o&&g.createElement(p,null),g.createElement(m.ZL,null),n?g.createElement(h.h,{zIndex:n},c):c)))},_=t(52596),B=t(29356),D=t(67690),z=t(85893);function R(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?R(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):R(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function O(e){var r=e.children,t=(0,g.useContext)(B.N),n=t.highlightColor,i=t.emacsTheme,c=i[1],u=_.Z(c.base1,c.base2)(.2),f="purple.500"===n?"".concat(c.violet,"aa"):"pink.500"===n?"".concat(c.magenta,"aa"):"blue.500"===n?"".concat(c.blue,"aa"):"cyan.500"===n?"".concat(c.cyan,"aa"):"green.500"===n?"".concat(c.green,"aa"):"yellow.500"===n?"".concat(c.yellow,"aa"):"orange.500"===n?"".concat(c.orange,"aa"):"red.500"===n?"".concat(c.red,"aa"):void 0,b=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=[...r],i=r[r.length-1];return s(i)&&n.length>1?n=n.slice(0,n.length-1):i=a.Z,(0,l.zG)(...n.map((e=>r=>(0,o.mf)(e)?e(r):d(r,e))))(i)}((0,g.useMemo)((function(){return{colors:{white:c.bg,black:c.fg,gray:{100:c.base1,200:u,300:c.base2,400:c.base3,500:c.base4,600:c.base5,700:c.base6,800:c.base7,900:c.base8},blue:{500:c.blue},teal:{500:c.blue},yellow:{500:c.yellow},orange:{500:c.orange},red:{500:c.red},green:{500:c.green},purple:{500:c.violet},pink:{500:c.magenta},cyan:{500:c.cyan},alt:{100:c["bg-alt"],900:c["fg-alt"]}},shadows:{outline:"0 0 0 3px "+f},components:{Button:{variants:{outline:{border:"2px solid",borderColor:n,color:n},ghost:{color:n,_hover:{bg:"inherit",border:"1px solid",borderColor:n},_active:{color:"inherit",bg:n}},subtle:{color:"gray.800",_hover:{bg:"inherit",color:n},_active:{color:"inherit",bg:f}}}},Accordion:{baseStyle:{container:{marginTop:"10px",borderWidth:"0px",_last:{borderWidth:"0px"}},panel:{marginRight:"10px"}}},Slider:{baseStyle:function(e){return{thumb:{backgroundColor:n},filledTrack:{backgroundColor:"gray.400"},track:{backgroundColor:"gray.400",borderColor:"gray.400",borderWidth:"5px",borderRadius:"lg"}}}}}}}),[n,JSON.stringify(i)]),function(e){var{colorScheme:r,components:t}=e;return e=>{var n=Object.keys(e.components||{});return Array.isArray(t)?n=t:(0,o.Kn)(t)&&(n=Object.keys(t)),d(e,{components:Object.fromEntries(n.map((e=>[e,{defaultProps:{colorScheme:r}}])))})}}({colorScheme:n.split(".")[0]}));return(0,z.jsx)(E,{theme:b,children:r})}var T=function(e){var r=e.Component,t=e.pageProps,n=["one-vibrant",D.n["one-vibrant"]],a=(0,g.useState)(!1),o=a[0],i=a[1],s=(0,g.useState)(n),l=s[0],c=s[1],u=(0,g.useState)("purple.500"),d=u[0],f=u[1];(0,g.useEffect)((function(){o&&localStorage.setItem("colorTheme",JSON.stringify(l))}),[l]),(0,g.useEffect)((function(){o&&localStorage.setItem("highlightColor",JSON.stringify(d))}),[d]),(0,g.useEffect)((function(){var e,r,t,a;c(null!==(e=JSON.parse(null!==(r=localStorage.getItem("colorTheme"))&&void 0!==r?r:JSON.stringify(n)))&&void 0!==e?e:n),f(null!==(t=JSON.parse(null!==(a=localStorage.getItem("highlightColor"))&&void 0!==a?a:JSON.stringify(d)))&&void 0!==t?t:d),i(!0)}),[]);var b={emacsTheme:l,setEmacsTheme:c,highlightColor:d,setHighlightColor:f};return(0,z.jsx)(B.N.Provider,{value:b,children:(0,z.jsx)(O,{children:(0,z.jsx)(r,j({},t))})})}},29356:function(e,r,t){"use strict";t.d(r,{N:function(){return o}});var n=t(67294),a=["vibrant",t(67690).n["one-vibrant"]],o=(0,n.createContext)({emacsTheme:a,setEmacsTheme:null,highlightColor:"purple",setHighlightColor:null})},94798:function(e,r,t){"use strict";function n(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function a(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function o(){}t.d(r,{ZP:function(){return k},B8:function(){return F}});var i=.7,s=1/i,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),b=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),g=new RegExp("^rgba\\("+[l,l,l,c]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),h=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function v(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function k(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=d.exec(e))?(t=r[1].length,r=parseInt(r[1],16),6===t?w(r):3===t?new A(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===t?S(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===t?S(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=f.exec(e))?new A(r[1],r[2],r[3],1):(r=b.exec(e))?new A(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=g.exec(e))?S(r[1],r[2],r[3],r[4]):(r=p.exec(e))?S(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=h.exec(e))?D(r[1],r[2]/100,r[3]/100,1):(r=m.exec(e))?D(r[1],r[2]/100,r[3]/100,r[4]):y.hasOwnProperty(e)?w(y[e]):"transparent"===e?new A(NaN,NaN,NaN,0):null}function w(e){return new A(e>>16&255,e>>8&255,255&e,1)}function S(e,r,t,n){return n<=0&&(e=r=t=NaN),new A(e,r,t,n)}function C(e){return e instanceof o||(e=k(e)),e?new A((e=e.rgb()).r,e.g,e.b,e.opacity):new A}function F(e,r,t,n){return 1===arguments.length?C(e):new A(e,r,t,null==n?1:n)}function A(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}function E(){return"#"+B(this.r)+B(this.g)+B(this.b)}function _(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function B(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function D(e,r,t,n){return n<=0?e=r=t=NaN:t<=0||t>=1?e=r=NaN:r<=0&&(e=NaN),new R(e,r,t,n)}function z(e){if(e instanceof R)return new R(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=k(e)),!e)return new R;if(e instanceof R)return e;var r=(e=e.rgb()).r/255,t=e.g/255,n=e.b/255,a=Math.min(r,t,n),i=Math.max(r,t,n),s=NaN,l=i-a,c=(i+a)/2;return l?(s=r===i?(t-n)/l+6*(t<n):t===i?(n-r)/l+2:(r-t)/l+4,l/=c<.5?i+a:2-i-a,s*=60):l=c>0&&c<1?0:s,new R(s,l,c,e.opacity)}function R(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}function j(e,r,t){return 255*(e<60?r+(t-r)*e/60:e<180?t:e<240?r+(t-r)*(240-e)/60:r)}n(o,k,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:v,formatHex:v,formatHsl:function(){return z(this).formatHsl()},formatRgb:x,toString:x}),n(A,F,a(o,{brighter:function(e){return e=null==e?s:Math.pow(s,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:_,toString:_})),n(R,(function(e,r,t,n){return 1===arguments.length?z(e):new R(e,r,t,null==n?1:n)}),a(o,{brighter:function(e){return e=null==e?s:Math.pow(s,e),new R(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new R(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t<.5?t:1-t)*r,a=2*t-n;return new A(j(e>=240?e-240:e+120,a,n),j(e,a,n),j(e<120?e+240:e-120,a,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},57631:function(e,r){"use strict";r.Z=function(e){return function(){return e}}},13311:function(e,r,t){"use strict";function n(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}t.d(r,{Z:function(){return n}})},20439:function(e,r,t){"use strict";t.d(r,{ZP:function(){return c}});var n=t(94798);function a(e,r,t,n,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*r+(4-6*o+3*i)*t+(1+3*e+3*o-3*i)*n+i*a)/6}var o=t(57631);function i(e,r){return function(t){return e+t*r}}function s(e){return 1===(e=+e)?l:function(r,t){return t-r?function(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}(r,t,e):(0,o.Z)(isNaN(r)?t:r)}}function l(e,r){var t=r-e;return t?i(e,t):(0,o.Z)(isNaN(e)?r:e)}var c=function e(r){var t=s(r);function a(e,r){var a=t((e=(0,n.B8)(e)).r,(r=(0,n.B8)(r)).r),o=t(e.g,r.g),i=t(e.b,r.b),s=l(e.opacity,r.opacity);return function(r){return e.r=a(r),e.g=o(r),e.b=i(r),e.opacity=s(r),e+""}}return a.gamma=e,a}(1);function u(e){return function(r){var t,a,o=r.length,i=new Array(o),s=new Array(o),l=new Array(o);for(t=0;t<o;++t)a=(0,n.B8)(r[t]),i[t]=a.r||0,s[t]=a.g||0,l[t]=a.b||0;return i=e(i),s=e(s),l=e(l),a.opacity=1,function(e){return a.r=i(e),a.g=s(e),a.b=l(e),a+""}}}u((function(e){var r=e.length-1;return function(t){var n=t<=0?t=0:t>=1?(t=1,r-1):Math.floor(t*r),o=e[n],i=e[n+1],s=n>0?e[n-1]:2*o-i,l=n<r-1?e[n+2]:2*i-o;return a((t-n/r)*r,s,o,i,l)}})),u((function(e){var r=e.length;return function(t){var n=Math.floor(((t%=1)<0?++t:t)*r),o=e[(n+r-1)%r],i=e[n%r],s=e[(n+1)%r],l=e[(n+2)%r];return a((t-n/r)*r,o,i,s,l)}}))},25996:function(e,r,t){"use strict";t.d(r,{Z:function(){return i}});var n=t(13311),a=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(a.source,"g");function i(e,r){var t,i,s,l=a.lastIndex=o.lastIndex=0,c=-1,u=[],d=[];for(e+="",r+="";(t=a.exec(e))&&(i=o.exec(r));)(s=i.index)>l&&(s=r.slice(l,s),u[c]?u[c]+=s:u[++c]=s),(t=t[0])===(i=i[0])?u[c]?u[c]+=i:u[++c]=i:(u[++c]=null,d.push({i:c,x:(0,n.Z)(t,i)})),l=o.lastIndex;return l<r.length&&(s=r.slice(l),u[c]?u[c]+=s:u[++c]=s),u.length<2?d[0]?function(e){return function(r){return e(r)+""}}(d[0].x):function(e){return function(){return e}}(r):(r=d.length,function(e){for(var t,n=0;n<r;++n)u[(t=d[n]).i]=t.x(e);return u.join("")})}},52596:function(e,r,t){"use strict";t.d(r,{Z:function(){return f}});var n=t(94798),a=t(20439);function o(e,r){var t,n=r?r.length:0,a=e?Math.min(n,e.length):0,o=new Array(a),i=new Array(n);for(t=0;t<a;++t)o[t]=f(e[t],r[t]);for(;t<n;++t)i[t]=r[t];return function(e){for(t=0;t<a;++t)i[t]=o[t](e);return i}}function i(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}var s=t(13311);function l(e,r){var t,n={},a={};for(t in null!==e&&"object"===typeof e||(e={}),null!==r&&"object"===typeof r||(r={}),r)t in e?n[t]=f(e[t],r[t]):a[t]=r[t];return function(e){for(t in n)a[t]=n[t](e);return a}}var c=t(25996),u=t(57631);function d(e,r){r||(r=[]);var t,n=e?Math.min(r.length,e.length):0,a=r.slice();return function(o){for(t=0;t<n;++t)a[t]=e[t]*(1-o)+r[t]*o;return a}}function f(e,r){var t,f,b=typeof r;return null==r||"boolean"===b?(0,u.Z)(r):("number"===b?s.Z:"string"===b?(t=(0,n.ZP)(r))?(r=t,a.ZP):c.Z:r instanceof n.ZP?a.ZP:r instanceof Date?i:(f=r,!ArrayBuffer.isView(f)||f instanceof DataView?Array.isArray(r)?o:"function"!==typeof r.valueOf&&"function"!==typeof r.toString||isNaN(r)?l:s.Z:d))(e,r)}},76363:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(29200)}])},43146:function(){},17621:function(e,r,t){var n;!function(a){var o=/^\s+/,i=/\s+$/,s=0,l=a.round,c=a.min,u=a.max,d=a.random;function f(e,r){if(r=r||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,r);var t=function(e){var r={r:0,g:0,b:0},t=1,n=null,s=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var r,t=!1;if(D[e])e=D[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(r=J.rgb.exec(e))return{r:r[1],g:r[2],b:r[3]};if(r=J.rgba.exec(e))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=J.hsl.exec(e))return{h:r[1],s:r[2],l:r[3]};if(r=J.hsla.exec(e))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=J.hsv.exec(e))return{h:r[1],s:r[2],v:r[3]};if(r=J.hsva.exec(e))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=J.hex8.exec(e))return{r:T(r[1]),g:T(r[2]),b:T(r[3]),a:W(r[4]),format:t?"name":"hex8"};if(r=J.hex6.exec(e))return{r:T(r[1]),g:T(r[2]),b:T(r[3]),format:t?"name":"hex"};if(r=J.hex4.exec(e))return{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),a:W(r[4]+""+r[4]),format:t?"name":"hex8"};if(r=J.hex3.exec(e))return{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),format:t?"name":"hex"};return!1}(e));"object"==typeof e&&(N(e.r)&&N(e.g)&&N(e.b)?(b=e.r,g=e.g,p=e.b,r={r:255*j(b,255),g:255*j(g,255),b:255*j(p,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):N(e.h)&&N(e.s)&&N(e.v)?(n=I(e.s),s=I(e.v),r=function(e,r,t){e=6*j(e,360),r=j(r,100),t=j(t,100);var n=a.floor(e),o=e-n,i=t*(1-r),s=t*(1-o*r),l=t*(1-(1-o)*r),c=n%6;return{r:255*[t,s,i,i,l,t][c],g:255*[l,t,t,s,i,i][c],b:255*[i,i,l,t,t,s][c]}}(e.h,n,s),d=!0,f="hsv"):N(e.h)&&N(e.s)&&N(e.l)&&(n=I(e.s),l=I(e.l),r=function(e,r,t){var n,a,o;function i(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}if(e=j(e,360),r=j(r,100),t=j(t,100),0===r)n=a=o=t;else{var s=t<.5?t*(1+r):t+r-t*r,l=2*t-s;n=i(l,s,e+1/3),a=i(l,s,e),o=i(l,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(t=e.a));var b,g,p;return t=R(t),{ok:d,format:e.format||f,r:c(255,u(r.r,0)),g:c(255,u(r.g,0)),b:c(255,u(r.b,0)),a:t}}(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=l(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=t.ok,this._tc_id=s++}function b(e,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,a,o=u(e,r,t),i=c(e,r,t),s=(o+i)/2;if(o==i)n=a=0;else{var l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:n=(r-t)/l+(r<t?6:0);break;case r:n=(t-e)/l+2;break;case t:n=(e-r)/l+4}n/=6}return{h:n,s:a,l:s}}function g(e,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,a,o=u(e,r,t),i=c(e,r,t),s=o,l=o-i;if(a=0===o?0:l/o,o==i)n=0;else{switch(o){case e:n=(r-t)/l+(r<t?6:0);break;case r:n=(t-e)/l+2;break;case t:n=(e-r)/l+4}n/=6}return{h:n,s:a,v:s}}function p(e,r,t,n){var a=[P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function h(e,r,t,n){return[P(M(n)),P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16))].join("")}function m(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.s-=r/100,t.s=O(t.s),f(t)}function y(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.s+=r/100,t.s=O(t.s),f(t)}function v(e){return f(e).desaturate(100)}function x(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.l+=r/100,t.l=O(t.l),f(t)}function k(e,r){r=0===r?0:r||10;var t=f(e).toRgb();return t.r=u(0,c(255,t.r-l(-r/100*255))),t.g=u(0,c(255,t.g-l(-r/100*255))),t.b=u(0,c(255,t.b-l(-r/100*255))),f(t)}function w(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.l-=r/100,t.l=O(t.l),f(t)}function S(e,r){var t=f(e).toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,f(t)}function C(e){var r=f(e).toHsl();return r.h=(r.h+180)%360,f(r)}function F(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+120)%360,s:r.s,l:r.l}),f({h:(t+240)%360,s:r.s,l:r.l})]}function A(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+90)%360,s:r.s,l:r.l}),f({h:(t+180)%360,s:r.s,l:r.l}),f({h:(t+270)%360,s:r.s,l:r.l})]}function E(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+72)%360,s:r.s,l:r.l}),f({h:(t+216)%360,s:r.s,l:r.l})]}function _(e,r,t){r=r||6,t=t||30;var n=f(e).toHsl(),a=360/t,o=[f(e)];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,o.push(f(n));return o}function B(e,r){r=r||6;for(var t=f(e).toHsv(),n=t.h,a=t.s,o=t.v,i=[],s=1/r;r--;)i.push(f({h:n,s:a,v:o})),o=(o+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,t,n=this.toRgb();return e=n.r/255,r=n.g/255,t=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))+.0722*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))},setAlpha:function(e){return this._a=R(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=g(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=g(this._r,this._g,this._b),r=l(360*e.h),t=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),r=l(360*e.h),t=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,r,t,n,a){var o=[P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16)),P(M(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*j(this._r,255))+"%",g:l(100*j(this._g,255))+"%",b:l(100*j(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%)":"rgba("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+h(this._r,this._g,this._b,this._a),t=r,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);t="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+t+")"},toString:function(e){var r=!!e;e=e||this._format;var t=!1,n=this._a<1&&this._a>=0;return r||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,r){var t=e.apply(null,[this].concat([].slice.call(r)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(_,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(E,arguments)},triad:function(){return this._applyCombination(F,arguments)},tetrad:function(){return this._applyCombination(A,arguments)}},f.fromRatio=function(e,r){if("object"==typeof e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]="a"===n?e[n]:I(e[n]));e=t}return f(e,r)},f.equals=function(e,r){return!(!e||!r)&&f(e).toRgbString()==f(r).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,r,t){t=0===t?0:t||50;var n=f(e).toRgb(),a=f(r).toRgb(),o=t/100;return f({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},f.readability=function(e,r){var t=f(e),n=f(r);return(a.max(t.getLuminance(),n.getLuminance())+.05)/(a.min(t.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,r,t){var n,a,o=f.readability(e,r);switch(a=!1,(n=function(e){var r,t;r=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),"AA"!==r&&"AAA"!==r&&(r="AA");"small"!==t&&"large"!==t&&(t="small");return{level:r,size:t}}(t)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},f.mostReadable=function(e,r,t){var n,a,o,i,s=null,l=0;a=(t=t||{}).includeFallbackColors,o=t.level,i=t.size;for(var c=0;c<r.length;c++)(n=f.readability(e,r[c]))>l&&(l=n,s=f(r[c]));return f.isReadable(e,s,{level:o,size:i})||!a?s:(t.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],t))};var D=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=f.hexNames=function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}(D);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var t=function(e){return"string"===typeof e&&-1!=e.indexOf("%")}(e);return e=c(r,u(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),a.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function O(e){return c(1,u(0,e))}function T(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function M(e){return a.round(255*parseFloat(e)).toString(16)}function W(e){return T(e)/255}var J=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+t),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+t),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+t),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function N(e){return!!J.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(r,t,r,e))||(e.exports=n)}(Math)},4942:function(e,r,t){"use strict";function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}t.d(r,{Z:function(){return n}})},87462:function(e,r,t){"use strict";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}t.d(r,{Z:function(){return n}})}},function(e){var r=function(r){return e(e.s=r)};e.O(0,[774,179],(function(){return r(76363),r(34651)}));var t=e.O();_N_E=t}]); \ No newline at end of file
diff --git a/out/_next/static/chunks/pages/index-8162019a78766f0a3f9d.js b/out/_next/static/chunks/pages/index-8162019a78766f0a3f9d.js
deleted file mode 100644
index c57f348..0000000
--- a/out/_next/static/chunks/pages/index-8162019a78766f0a3f9d.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{20624:function(e,n,t){"use strict";t.r(n),t.d(n,{Graph:function(){return Cr},GraphPage:function(){return yr},default:function(){return mr},getThemeColor:function(){return kr},hexToRGBA:function(){return Sr},normalizeLinkEnds:function(){return wr}});var r=t(15861),i=t(42982),o=t(4942),l=t(70885),s=t(87757),c=t.n(s),a=t(40980),u=t(74860),d=t(95869),h=t(48017),g=t(94096),f=t(96699),p=t(48420),x=t(57775),j=t(54309),b=t(52596),v=t(9008),m=t(67294),y=t(32802),C=t.n(y),O=t(47516),w=t(63750),k=t(22003),S=t(31122),N=t(7520),P=t(36194),D=[],I={};for(var z in P.oY)for(var L in P.oY[z]){var E=z+L;"LinearNone"===E&&(E="Linear"),D.push(E),I[E]=P.oY[z][L]}var Z=I,T={enabled:!0,charge:-700,collision:!0,collisionStrength:20,centering:!0,centeringStrength:.2,linkStrength:.3,linkIts:1,alphaDecay:.05,alphaTarget:0,alphaMin:0,velocityDecay:.25,gravity:.3,gravityOn:!0,gravityLocal:!1},R={orphans:!1,dailies:!1,parent:"heading",filelessCites:!1,tagsBlacklist:[],tagsWhitelist:[],dirsBlocklist:[],dirsAllowlist:[],bad:!0,nodes:[],links:[],date:[],noter:!0},B={method:"degree"},F={particles:!1,particlesNumber:0,particlesWidth:4,arrows:!1,arrowsLength:1,arrowsPos:.5,arrowsColor:"",linkOpacity:.8,linkWidth:1,nodeRel:3,nodeOpacity:1,nodeResolution:12,labels:2,labelScale:1.5,labelFontSize:10,labelLength:40,labelWordWrap:25,labelLineSpace:1,labelDynamicDegree:8,labelDynamicStrength:.5,highlight:!0,highlightNodeSize:1.1,highlightLinkSize:.7,highlightFade:.8,highlightAnim:!0,animationSpeed:360,algorithmOptions:D,algorithmName:"CircularOut",linkColorScheme:"gray.500",nodeColorScheme:["red.500","gray.600","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","orange.500"],nodeHighlight:"purple.500",linkHighlight:"purple.500",backgroundColor:"white",emacsNodeColor:"gray.800",labelTextColor:"black",labelBackgroundColor:"",labelBackgroundOpacity:.7,citeDashes:!0,citeDashLength:35,citeGapLength:15,citeLinkColor:"gray.700",citeLinkHighlightColor:"",citeNodeColor:"black",refDashes:!0,refDashLength:35,refGapLength:15,refLinkColor:"gray.700",refLinkHighlightColor:"",refNodeColor:"black",nodeSizeLinks:.5,nodeZoomSize:1.2},H={follow:"zoom",localSame:"add",zoomPadding:200,zoomSpeed:2e3},W={highlight:"hover",local:"double",follow:"never",context:"right",preview:"click",backgroundExitsLocal:!1},A={neighbors:1},M=["red.500","orange.500","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","white","gray.100","gray.200","gray.300","gray.400","gray.500","gray.600","gray.700","gray.800","gray.900","black"],V=t(11252),X=t(336),_=t(85675),U=t(72026),q=t(64115),G=t(49364),J=t(94030),Q=t(85305),K=t(46617),$=t(50862),Y=t(68928),ee=t(55830),ne=t(2827);function te(e,n,t){t.send(JSON.stringify({command:e,data:n}))}function re(e,n){te("open",{id:e.id},n)}var ie=t(77787),oe=t(45987),le=t(80658),se=t(38554),ce=t.n(se),ae=t(84461),ue=t(73808),de=t(53869),he=t(39629);function ge(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function fe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ge(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ge(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var pe={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]};var xe=function(e,n){return fe(fe({},e),{},{delay:(0,ue.hj)(n)?n:null===n||void 0===n?void 0:n.enter})},je=function(e,n){return fe(fe({},e),{},{delay:(0,ue.hj)(n)?n:null===n||void 0===n?void 0:n.exit})},be=t(85893),ve=["in","unmountOnExit","animateOpacity","startingSize","endingSize","dimension","style","className","transition","transitionEnd"];function me(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ye(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?me(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):me(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ce=function(e){return null!=e&&parseInt(e.toString(),10)>0},Oe={exit:{size:{duration:.2,ease:pe.ease},opacity:{duration:.3,ease:pe.ease}},enter:{size:{duration:.3,ease:pe.ease},opacity:{duration:.4,ease:pe.ease}}},we={exit:function(e){var n,t,r=e.animateOpacity,i=e.startingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return ye(ye({},r&&{opacity:Ce(i)?1:0}),{},(t={overflow:"hidden"},(0,o.Z)(t,a,i),(0,o.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.exit),(0,o.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.exit)&&void 0!==n?n:je(Oe.exit,c)),t))},enter:function(e){var n,t,r=e.animateOpacity,i=e.endingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return ye(ye({},r&&{opacity:1}),{},(t={},(0,o.Z)(t,a,i),(0,o.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.enter),(0,o.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.enter)&&void 0!==n?n:xe(Oe.enter,c)),t))}},ke=m.forwardRef((function(e,n){var t=e.in,r=e.unmountOnExit,i=e.animateOpacity,o=void 0===i||i,s=e.startingSize,c=void 0===s?0:s,a=e.endingSize,u=void 0===a?"auto":a,d=e.dimension,h=void 0===d?"height":d,g=e.style,f=e.className,p=e.transition,x=e.transitionEnd,j=(0,oe.Z)(e,ve),b=m.useState(!1),v=(0,l.Z)(b,2),y=v[0],C=v[1];m.useEffect((function(){var e=setTimeout((function(){C(!0)}));return function(){return clearTimeout(e)}}),[]),(0,le.ZK)({condition:Boolean(c>0&&r),message:"startingSize and unmountOnExit are mutually exclusive. You can't use them together"});var O=parseFloat(c.toString())>0,w={startingSize:c,endingSize:u,animateOpacity:o,dimension:h,transition:y?p:{enter:{duration:0}},transitionEnd:ce()(x,{enter:{overflow:"initial"},exit:r?void 0:{display:O?"block":"none"}})},k=!r||t,S=t||r?"enter":"exit";return(0,be.jsx)(de.M,{initial:!1,custom:w,children:k&&(0,be.jsx)(he.E.div,ye(ye({ref:n},j),{},{className:(0,ae.cx)("chakra-collapse",f),style:ye({overflow:"hidden",display:"block"},g),custom:w,variants:we,initial:!!r&&"exit",animate:S,exit:"exit"}))})}));function Se(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ne(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Se(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Se(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}ue.Ts&&(ke.displayName="Collapse");var Pe=function(e){var n=e.setTagColors,t=e.setFilter,r=e.filter,l=e.tagColors,s=e.target,c=r.tagsBlacklist,a=r.tagsWhitelist,d=c.indexOf(s)>-1,f=a.indexOf(s)>-1,p=(0,u.q)();return(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(V.sN,{icon:(0,be.jsx)(h.xu,{bgColor:l[s],borderRadius:"sm",height:3,width:3,borderColor:l[s]||"gray.600",borderWidth:1}),closeOnSelect:!1,onClick:p.onToggle,children:(0,be.jsx)(q.x,{children:"Change color"})}),(0,be.jsx)(ke,{in:p.isOpen,children:(0,be.jsxs)(g.k,{ml:2,mt:2,flexWrap:"wrap",children:[(0,be.jsx)(h.xu,{children:(0,be.jsx)(h.xu,{tabIndex:0,cursor:"pointer",onClick:function(){return n((function(e){return Object.fromEntries(Object.keys(e).filter((function(e){return e!==s})).map((function(n){return[n,e[n]]})))}))},bgColor:"",m:1,borderRadius:"sm",borderColor:"gray.600",borderWidth:1,height:3,width:3})},"empty"),M.map((function(e){return(0,be.jsx)(h.xu,{children:(0,be.jsx)(h.xu,{tabIndex:0,cursor:"pointer",onClick:function(){return n(Ne(Ne({},l),{},(0,o.Z)({},s,e)))},bgColor:e,m:1,borderRadius:"sm",height:3,width:3})},e)}))]})}),!f&&(0,be.jsx)(V.sN,{onClick:function(){t(d?function(e){return Ne(Ne({},e),{},{tagsBlacklist:e.tagsBlacklist.filter((function(e){return e!==s}))})}:function(e){return Ne(Ne({},e),{},{tagsBlacklist:[].concat((0,i.Z)(e.tagsBlacklist),[s])})})},icon:d?(0,be.jsx)(Q.V,{}):(0,be.jsx)(ie.t,{}),children:d?"Remove from blocklist":"Add to blocklist"}),!d&&(0,be.jsx)(V.sN,{onClick:function(){t(f?function(e){return Ne(Ne({},e),{},{tagsWhitelist:e.tagsWhitelist.filter((function(e){return e!==s}))})}:function(e){return Ne(Ne({},e),{},{tagsWhitelist:[].concat((0,i.Z)(e.tagsWhitelist),[s])})})},icon:f?(0,be.jsx)(Q.V,{}):(0,be.jsx)(ee.O,{}),children:f?"Remove from allowlist":"Add to allowlist"})]})},De=function(e){e.background;var n,t,r=e.target,i=(e.nodeType,e.coordinates),o=e.handleLocal,l=e.menuClose,s=e.scope,c=e.webSocket,a=e.setPreviewNode,d=e.setTagColors,h=e.tagColors,g=e.setFilter,f=e.filter,p=(0,u.q)(),x=p.isOpen,j=p.onOpen,b=p.onClose;(0,m.useRef)();return(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(V.v2,{defaultIsOpen:!0,closeOnBlur:!1,onClose:function(){return l()},children:(0,be.jsx)(V.qy,{zIndex:"overlay",bgColor:"white",color:"black",position:"absolute",left:i.left,top:i.top,right:i.right,bottom:i.bottom,fontSize:"xs",boxShadow:"xl",children:"string"!==typeof r?(0,be.jsxs)(be.Fragment,{children:[r&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(X.X,{size:"xs",isTruncated:!0,px:3,py:1,children:r.title}),(0,be.jsx)(V.R,{borderColor:"gray.500"})]}),0!==s.nodeIds.length&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(V.sN,{onClick:function(){return o(r,"add")},icon:(0,be.jsx)(J.I,{}),children:"Expand local graph at node"}),(0,be.jsx)(V.sN,{onClick:function(){return o(r,"replace")},icon:(0,be.jsx)(O.DvO,{}),children:"Open local graph for this node"}),(0,be.jsx)(V.sN,{onClick:function(){return o(r,"remove")},icon:(0,be.jsx)(Q.V,{}),children:"Exclude node from local graph"})]}),null!==r&&void 0!==r&&null!==(n=r.properties)&&void 0!==n&&n.FILELESS?(0,be.jsx)(V.sN,{icon:(0,be.jsx)($.d,{}),onClick:function(){return function(e,n){te("create",{id:e.id,title:e.title,ref:e.properties.ROAM_REFS},n)}(r,c)},children:"Create node"}):(0,be.jsx)(V.sN,{icon:(0,be.jsx)(K.d,{}),onClick:function(){return re(r,c)},children:"Open in Emacs"}),(null===r||void 0===r||null===(t=r.properties)||void 0===t?void 0:t.ROAM_REFS)&&(0,be.jsx)(V.sN,{icon:(0,be.jsx)(Y.h,{}),children:"Open in Zotero"}),0===s.nodeIds.length&&(0,be.jsx)(V.sN,{icon:(0,be.jsx)(O.DvO,{}),onClick:function(){return o(r,"replace")},children:"Open local graph"}),(0,be.jsx)(V.sN,{icon:(0,be.jsx)(ee.O,{}),onClick:function(){a(r)},children:"Preview"}),0===(null===r||void 0===r?void 0:r.level)&&(0,be.jsx)(V.sN,{closeOnSelect:!1,icon:(0,be.jsx)(ne.p,{color:"red.500"}),color:"red.500",onClick:j,children:"Permanently delete note"})]}):(0,be.jsx)(Pe,{target:r,tagColors:h,filter:f,setTagColors:d,setFilter:g})})}),"string"!==typeof r&&(0,be.jsxs)(_.u_,{isCentered:!0,isOpen:x,onClose:b,children:[(0,be.jsx)(_.ZA,{}),(0,be.jsxs)(_.hz,{zIndex:"popover",children:[(0,be.jsx)(_.xB,{children:"Delete node?"}),(0,be.jsx)(_.ol,{}),(0,be.jsx)(_.fe,{children:(0,be.jsxs)(U.gC,{spacing:4,display:"flex",alignItems:"flex-start",children:[(0,be.jsx)(q.x,{children:"This will permanently delete your note:"}),(0,be.jsx)(q.x,{fontWeight:"bold",children:null===r||void 0===r?void 0:r.title}),0!==(null===r||void 0===r?void 0:r.level)&&(0,be.jsx)(q.x,{children:"This will only delete the from this heading until but not including the next node. Your parent file and all other nodes will not be deleted."}),(0,be.jsx)(q.x,{children:"Are you sure you want to do continue?"})]})}),(0,be.jsxs)(_.mz,{children:[(0,be.jsx)(G.z,{mr:3,onClick:function(){console.log("closing"),b(),l()},children:"Cancel"}),(0,be.jsx)(G.z,{variant:"link",colorScheme:"red",ml:3,onClick:function(){console.log("aaaaa"),function(e,n){0===e.level&&te("delete",{id:e.id,file:e.file},n)}(r,c),b(),l()},children:"Delete node"})]})]})]})]})},Ie=t(67101),ze=t(5434),Le=t(35255),Ee=t(56884),Ze=t(51649),Te=function(e){var n=e.setJustification,t=(e.setIndent,e.setFont,e.justification),r=(e.setPreviewNode,e.canUndo),i=e.canRedo,o=(e.resetPreviewNode,e.previousPreviewNode),l=e.nextPreviewNode,s=e.outline,c=e.setOutline,a=e.collapse,u=e.setCollapse;return(0,be.jsxs)(g.k,{flex:"0 1 40px",pb:3,alignItems:"center",justifyContent:"space-between",pr:1,children:[(0,be.jsx)(g.k,{children:(0,be.jsxs)(Ie.h,{isAttached:!0,children:[(0,be.jsx)(f.u,{label:"Go backward",children:(0,be.jsx)(p.h,{_focus:{},variant:"subtle",icon:(0,be.jsx)(Le.w,{}),"aria-label":"Previous node",disabled:!r,onClick:function(){return o()}})}),(0,be.jsx)(f.u,{label:"Go forward",children:(0,be.jsx)(p.h,{_focus:{},variant:"subtle",icon:(0,be.jsx)(Ee.X,{}),"aria-label":"Next node",disabled:!i,onClick:function(){return l()}})})]})}),(0,be.jsxs)(g.k,{children:[(0,be.jsx)(f.u,{label:"Justify content",children:(0,be.jsx)(p.h,{variant:"subtle","aria-label":"Justify content",icon:[(0,be.jsx)(O.v9V,{},"justify"),(0,be.jsx)(O.YSr,{},"left"),(0,be.jsx)(O.RXA,{},"right"),(0,be.jsx)(O.tr_,{},"center")][t],onClick:function(){return n((function(e){return(e+1)%4}))}})}),(0,be.jsx)(f.u,{label:"Toggle outline view",children:(0,be.jsx)(p.h,{variant:"subtle","aria-label":"Justify content",icon:s?(0,be.jsx)(Ze.XQM,{}):(0,be.jsx)(Ze.JfF,{}),onClick:function(){return c((function(e){return!e}))}})}),(0,be.jsx)(f.u,{label:"Toggle headers",children:(0,be.jsx)(p.h,{variant:"subtle","aria-label":"Toggle headers",icon:a?(0,be.jsx)(ze.omV,{}):(0,be.jsx)(ze.egf,{}),onClick:function(){return u((function(e){return!e}))}})})]})]})},Re=t(35528);function Be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Fe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Be(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var He=function(e){var n,t,r,o=e.filter,l=e.setFilter,s=e.tagColors,c=(e.setTagColors,e.openContextMenu),a=e.previewNode;return null!==a&&void 0!==a&&a.tags&&null!==(null===a||void 0===a||null===(n=a.tags)||void 0===n?void 0:n[0])?(0,be.jsx)(g.k,{mb:2,flexWrap:"wrap",children:null===a||void 0===a||null===(t=a.tags)||void 0===t||null===(r=t.map)||void 0===r?void 0:r.call(t,(function(e){var n,t,r,a=null!==(n=o.tagsBlacklist)&&void 0!==n?n:[],u=null!==(t=o.tagsWhitelist)&&void 0!==t?t:[],d=a.includes(e),h=u.includes(e);return(0,be.jsxs)(Re.Vp,{tabIndex:0,mr:2,mt:2,onContextMenu:function(n){n.preventDefault(),c(e,n)},cursor:"pointer",onClick:function(){l(d?function(n){return Fe(Fe({},n),{},{tagsBlacklist:n.tagsBlacklist.filter((function(n){return n!==e})),tagsWhitelist:[].concat((0,i.Z)(n.tagsWhitelist),[e])})}:h?function(n){return Fe(Fe({},n),{},{tagsWhitelist:n.tagsWhitelist.filter((function(n){return n!==e}))})}:function(n){return Fe(Fe({},n),{},{tagsBlacklist:[].concat((0,i.Z)(n.tagsBlacklist),[e])})})},size:"sm",variant:"outline",colorScheme:(null===(r=s[e])||void 0===r?void 0:r.replaceAll(/(.*?)\..*/g,"$1"))||void 0,children:[(0,be.jsx)(Re.Sn,{children:e}),d?(0,be.jsx)(Re.bq,{as:ie.t}):h?(0,be.jsx)(Re.bq,{as:ee.O}):null]},e)}))}):null},We=t(18835),Ae=t.n(We),Me=t(13816),Ve=t.n(Me),Xe=t(42728),_e=t.n(Xe),Ue=t(77890),qe=t.n(Ue),Ge=t(94986),Je=t.n(Ge),Qe=t(88541),Ke=t.n(Qe),$e=t(71167),Ye=t.n($e),en=(t(85062),t(27431)),nn=t.n(en),tn=t(12861),rn=t.n(tn),on=t(10043),ln=t.n(on),sn=t(80816),cn=t(93545),an=t.n(cn),un=t(15941),dn=t.n(un),hn=t(67597),gn=t.n(hn),fn=t(44549),pn=t.n(fn),xn=t(78818),jn=t.n(xn),bn=t(49444),vn=t(45170),mn=t(67273),yn=t(29356),Cn={".headingFlex":{flexDirection:"row-reverse",justifyContent:"flex-end"},".outlineHeadingButton":{display:"none"},h1:{color:"black",lineHeight:"1.2",fontSize:"16",fontWeight:"bold",paddingTop:2},h2:{fontSize:"14",color:"black",fontWeight:"bold",fontStyle:"bold italic",paddingTop:2},h3:{fontSize:"13",color:"black",paddingTop:2},h4:{fontSize:"12",fontStyle:"italic",color:"black",paddingTop:2},".sectionContent":{paddingTop:2}},On={".headingFlex":{flexDirection:"row",justifyContent:"flex-start"},".viewerHeadingButton":{display:"none"},".sectionContent":{mt:3,paddingLeft:4,ml:"11px",borderLeftWidth:"1px",borderLeftColor:"gray.500"},".preHeadingContent":{},"h1,h2,h3,h4,h5,h6,h7,h8":{pl:1,lineHeight:"1.25",color:"black",fontSize:15,fontWeight:700},".sec":{pt:1},".wrapClass > div > p":{mb:2},p:{fontWeight:500,fontSize:14,pb:2}},wn={".katex":{overflowX:"scroll"},ol:{paddingLeft:4,py:1},"li::marker":{fontSize:12,fontWeight:"bold"},li:{pt:1},ul:{paddingLeft:"5"},p:{fontSize:"14",fontWeight:"500 !important",pb:2},div:{hyphens:"auto !important"},".title":{textAlign:"center",marginBottom:".2em"},".subtitle":{textAlign:"center",fontSize:"medium",fontWeight:"bold",marginTop:0},".TODO":{color:"red.500"},".equationContainer":{display:"table",textAlign:"center",width:"100%"},".equation":{verticalAlign:"middle"},".equation-label":{display:"tableCell",textAlign:"right",verticalAlign:"middle"},".inlinetask":{padding:"10px",border:"2px solid gray",margin:"10px",background:"#ffffcc"},"#org-div-home-and-up":{textAlign:"right",fontSize:"70 % ",whiteSpace:"nowrap"},textarea:{overflowX:"auto"},".linenr":{fontSize:"smaller"},".org-info-js_info-navigation":{borderStyle:"none"},"#org-info-js_console-label":{fontSize:"10px",fontWeight:"bold",whiteSpace:"nowrap"},".org-info-js_search-highlight":{backgroundColor:"#ffff00",color:"#000000",fontWeight:"bold"},".org-svg":{width:"90%"},".DONE":{color:"green"},".priority":{fontFamily:"monospace",color:"orange"},".tag":{backgroundColor:"white",fontFamily:"monospace",padding:"2px",fontSize:"80%",fontWeight:"normal"},".timestamp":{color:"#bebebe"},".timestamp-kwd":{color:"#5f9ea0"},".org-right":{marginLeft:"auto",marginRight:"0px",textAlign:"right"},".org-left":{marginLeft:"0px",marginRight:"auto",textAlign:"left"},".org-center":{marginLeft:"auto",marginRight:"auto",textAlign:"center"},".underline":{textDecoration:"underline"},"#postamble p":{fontSize:"90%",margin:".2em"},"#preamble p":{fontSize:"90%",margin:".2em"},"p.verse":{marginLeft:"3%"},pre:{borderRadius:"3px",backgroundColor:"white",padding:"8pt",fontFamily:"monospace",overflow:"auto",margin:"1.2em"},"pre.src":{position:"relative",overflow:"auto"},"pre.src:before":{display:"none",position:"absolute",top:"-8px",right:"12px",padding:"3px",backgroundColor:"white"},"caption.t-above":{captionSide:"top"},"caption.t-bottom":{captionSide:"bottom"},"th.org-right":{textAlign:"center"},"th.org-left":{textAlign:"center"},"th.org-center":{textAlign:"center"},"td.org-right":{textAlign:"right"},"td.org-left":{textAlign:"left"},"td.org-center":{textAlign:"center"},".footpara":{display:"inline"},".footdef":{marginBottom:"1em"},".figure":{padding:"1em"},".figure p":{textAlign:"center"}},kn=t(86658),Sn=["style"];function Nn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Pn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Nn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Dn=function(e){var n=e.noUnderline,t=e.id,r=e.setSidebarHighlightedNode,i=e.setPreviewNode,o=e.nodeById,l=e.openContextMenu,s=e.href,c=e.children,u=e.isWiki,d=(0,m.useContext)(yn.N).highlightColor,h=kr(d,(0,a.useTheme)()),g=(s.replaceAll(/(.*?)\:?.*/g,"$1"),s.replaceAll(/.*?\:(.*)/g,"$1")),f=null!==t&&void 0!==t?t:g,p=u?"[[".concat(c,"]]"):c;return(0,be.jsx)(q.x,{as:"a",onMouseEnter:function(){return r(o[f])},onMouseLeave:function(){return r({})},tabIndex:0,display:"inline",overflow:"hidden",fontWeight:500,color:d,textDecoration:n?void 0:"underline",onContextMenu:function(e){e.preventDefault(),l(o[g],e)},onClick:function(){return i(o[g])},_hover:{textDecoration:"none",cursor:"pointer",bgColor:h+"22"},_focus:{outlineColor:d},children:p})},In=function(e){var n=e.href,t=e.children,r=(0,m.useContext)(yn.N).highlightColor;return(0,be.jsxs)(bn.r,{color:r,isExternal:!0,href:n,children:[t,(0,be.jsx)(Y.h,{mx:"1px",pb:"2px"})]})},zn=function(e){var n,t=e.href,r=e.children,i=e.nodeById,o=e.setSidebarHighlightedNode,l=e.previewNode,s=e.setPreviewNode,c=e.nodeByCite,a=e.openContextMenu,u=e.outline,d=e.noUnderline,g=e.linksByNodeId,f=e.isWiki,p=e.macros,x=e.attachDir,j=(0,m.useState)(null),b=j[0],v=j[1],y=(0,m.useState)(!1),C=y[0],O=y[1],w=t.replaceAll(/(.*?)\:.*/g,"$1"),k=u?On:Cn;console.log(l);if((0,m.useEffect)((function(){w.replaceAll(/(http)?.*/g,"$1")||b||C&&fetch("http://localhost:35901/file/".concat(L)).then((function(e){return e.text()})).then((function(e){"error"===e||v(e)})).catch((function(e){return console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[C,b]),!w)return(0,be.jsx)(q.x,{color:"gray.700",children:r});if(w.replaceAll(/(http)?.*/g,"$1"))return(0,be.jsx)(In,{href:t,children:r});var S,N,P,D,I=t.replaceAll(/.*?\:(.*)/g,"$1"),z=function(e,n){if("id"===e)return n;if(e.includes("cite")){var t,r=null!==(t=c[n])&&void 0!==t&&t;return r?null!==r&&void 0!==r&&r.properties.FILELESS?"":null===r||void 0===r?void 0:r.id:""}return""}(w,I),L=encodeURIComponent(encodeURIComponent(null===(n=i[z])||void 0===n?void 0:n.file));return z?(0,be.jsx)(be.Fragment,{children:(0,be.jsxs)(vn.J2,{gutter:12,trigger:"hover",placement:"top-start",children:[(0,be.jsx)(vn.xo,{children:(0,be.jsx)(h.xu,{display:"inline",onMouseEnter:function(){return O(!0)},onMouseLeave:function(){return O(!1)},children:(0,be.jsx)(Dn,{id:z,setSidebarHighlightedNode:o,setPreviewNode:s,nodeById:i,href:t,children:r,nodeByCite:c,openContextMenu:a,noUnderline:d,isWiki:f},null!==(S=null===(N=i[z])||void 0===N?void 0:N.title)&&void 0!==S?S:z)})}),(0,be.jsx)(mn.h,{children:(0,be.jsxs)(vn.yk,{transform:"scale(1)",boxShadow:"xl",position:"relative",zIndex:"tooltip",onMouseEnter:function(){var e;o(null!==(e=i[z])&&void 0!==e?e:{})},onMouseLeave:function(){o({})},children:[(0,be.jsx)(vn.QH,{}),(0,be.jsx)(vn.b,{pb:5,fontSize:"xs",position:"relative",zIndex:"tooltip",transform:"scale(1)",width:"100%",children:(0,be.jsx)(kn.$B,{autoHeight:!0,autoHeightMax:300,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,oe.Z)(e,Sn);return(0,be.jsx)(h.xu,Pn({style:Pn(Pn({},n),{},{borderRadius:0})},t))},children:(0,be.jsx)(h.xu,{w:"100%",color:"black",px:3,sx:Pn(Pn({},wn),k),children:(0,be.jsx)(Xn,{previewText:b,nodeById:i,setSidebarHighlightedNode:o,setPreviewNode:s,nodeByCite:c,openContextMenu:a,outline:u,linksByNodeId:g,macros:p,attachDir:x,previewNode:i[z],collapse:!1})})})})]},null!==(P=null===(D=i[z])||void 0===D?void 0:D.title)&&void 0!==P?P:z)})]})}):(0,be.jsx)(q.x,{as:"span",display:"inline",className:t,color:"base.700",cursor:"not-allowed",children:r})},Ln=t(25675),En=t(62520),Zn=t.n(En),Tn=t(53850),Rn=function(e){var n=e.src,t=e.file,r=(0,m.useState)(null);r[0],r[1];if(n.replaceAll(/(http)?.*/g,"$1"))return console.log(n.replaceAll(/(http)?.*/g,"$1")),(0,be.jsx)(Ln.default,{layout:"responsive",loader:function(e){var n=e.src;return e.width,e.quality,"".concat(n)},src:n,alt:"",width:"auto",height:"auto"});var i=n.replaceAll(/file:/g,""),o=Zn().dirname(t),l=Zn().isAbsolute(i)||"~"===i.slice(0,1)?i:Zn().join(o,i),s=encodeURIComponent(encodeURIComponent(l));return(0,be.jsx)(Tn.W,{my:4,position:"relative",children:(0,be.jsx)("img",{alt:"Wow, an image.",src:"http://localhost:35901/img/".concat(s)})})},Bn=t(14578),Fn=t(6780),Hn=t(6569),Wn=(0,m.createContext)({outline:!1,collapse:!0}),An=function(e){var n=e.children,t=e.className,r=(0,m.useState)(!0),i=r[0],o=r[1],l=(0,m.useContext)(Wn).collapse;if((0,m.useEffect)((function(){o(!l)}),[l]),"h0Wrapper headingWrapper"===t)return(0,be.jsxs)(h.xu,{className:"preHeadingContent",children:[" ",n]});var s=n;return(0,be.jsxs)(h.xu,{className:"sec",children:[(0,be.jsx)(h.xu,{display:"block",children:(0,be.jsxs)(g.k,{className:"headingFlex",alignItems:"baseline",children:[i&&s.length>0?(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(p.h,{className:"viewerHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,be.jsx)(Fn.g,{}),onClick:function(){return o(!i)},height:2,width:2}),(0,be.jsx)(p.h,{className:"outlineHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,be.jsx)(Bn.zOz,{}),onClick:function(){return o(!i)},height:2,width:2})]}):(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(p.h,{className:"viewerHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,be.jsx)(Hn.v,{}),onClick:function(){return o(!i)}}),(0,be.jsx)(p.h,{className:"outlineHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,be.jsx)(Bn.O6Y,{}),onClick:function(){return o(!i)}})]}),s[0]]})}),i&&(0,be.jsx)(h.xu,{className:"sectionContent",children:s.slice(1)})]})};function Mn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Vn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Mn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Xn=function(e){var n,t,r=e.nodeById,i=e.setSidebarHighlightedNode,l=e.setPreviewNode,s=e.previewText,c=e.nodeByCite,a=e.previewNode,u=e.openContextMenu,d=e.outline,h=e.collapse,g=e.linksByNodeId,f=e.macros,p=e.attachDir;if(!a||!g)return null;var x=Ae()().use(Ve()).use(Je()).use(Ke(),{idDir:p||void 0}).use(qe()).use(_e(),{useSections:!0}),j=(null===(n=g[null===a||void 0===a?void 0:a.id])||void 0===n?void 0:n.reduce((function(e,n){var t=wr(n).filter((function(e){return e!==a.id})).join("");return Vn(Vn({},e),{},(0,o.Z)({},t,r[t]))}),{}))||{},b=Object.entries(j),v=Ae()().use(rn()).use(dn(),["yaml"]).use(gn()).use(sn.Z,{permaLinks:Object.keys(j),pageResolver:function(e){var n,t=b.find((function(n){var t;return(null===n||void 0===n||null===(t=n[1])||void 0===t?void 0:t.title)===e}));return[null!==(n=null===t||void 0===t?void 0:t[0])&&void 0!==n?n:""]},hrefTemplate:function(e){return console.log(e),"id:".concat(e)}}).use(pn()).use(an()).use(ln()).use(jn()),y=".md"===(null===a||void 0===a||null===(t=a.file)||void 0===t?void 0:t.slice(-3)),C=y?v:x;console.log(f);var O=(0,m.useMemo)((function(){return C.use(Ye(),{trust:function(e){return["\\htmlId","\\href"].includes(e.command)},macros:Vn({"\\eqref":"\\href{###1}{(\\text{#1})}","\\ref":"\\href{###1}{\\text{#1}}","\\label":"\\htmlId{#1}{}"},f)}).use(nn(),{createElement:m.createElement,components:{a:function(e){var n=e.children,t=e.href;return(0,be.jsx)(zn,{nodeByCite:c,setSidebarHighlightedNode:i,href:"".concat(t),nodeById:r,linksByNodeId:g,setPreviewNode:l,openContextMenu:u,outline:d,previewNode:a,isWiki:y,macros:f,attachDir:p,children:n})},img:function(e){var n=e.src;return(0,be.jsx)(Rn,{src:n,file:null===a||void 0===a?void 0:a.file})},section:function(e){var n=e.children,t=e.className;return(0,be.jsx)(An,{outline:d,collapse:h,className:t,children:n})},p:function(e){var n=e.children;return(0,be.jsx)("p",{lang:"en",children:n})}}})}),[null===a||void 0===a?void 0:a.id]),w=(0,m.useMemo)((function(){return O.processSync(s).result}),[s]);return(0,be.jsx)(Wn.Provider,{value:{collapse:h,outline:d},children:w})};var _n=function(e){var n=e.openContextMenu,t=e.setSidebarHighlightedNode,r=e.nodeById,i=e.nodeByCite,o=e.previewNode,l=e.setPreviewNode,s=e.outline,c=e.collapse,a=e.linksByNodeId,u=e.macros,d=e.attachDir,h=(0,m.useState)(""),g=h[0],f=h[1],p=encodeURIComponent(encodeURIComponent(o.file));return(0,m.useEffect)((function(){fetch("http://localhost:35901/file/".concat(p)).then((function(e){return e.text()})).then((function(e){if(""===e)return"(empty node)";"error"!==e&&(console.log(e),f(e))})).catch((function(e){return f("(could not find node)"),console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[o.id]),(0,be.jsx)(be.Fragment,{children:g&&o&&(0,be.jsx)(Xn,{nodeById:r,previewNode:o,setPreviewNode:l,previewText:g,nodeByCite:i,setSidebarHighlightedNode:t,openContextMenu:n,outline:s,collapse:c,linksByNodeId:a,attachDir:d,macros:u||{}})})},Un=function(e){var n,t=e.previewNode,r=e.setPreviewNode,i=e.setSidebarHighlightedNode,o=e.nodeById,s=e.linksByNodeId,c=e.nodeByCite,a=e.openContextMenu,u=e.outline,d=e.macros,g=e.attachDir,f=(null!==(n=s[null===t||void 0===t?void 0:t.id])&&void 0!==n?n:[]).filter((function(e){var n=wr(e),r=(0,l.Z)(n,2),i=r[0];r[1];return i!==(null===t||void 0===t?void 0:t.id)})).map((function(e){return e.source}));return(0,be.jsxs)(h.xu,{className:"backlinks",borderRadius:"sm",mt:6,p:4,bg:"white",mb:10,children:[(0,be.jsx)("p",{style:{fontSize:16,fontWeight:600},children:"Linked references (".concat(f.length,")")}),(0,be.jsx)(U.gC,{py:2,spacing:3,alignItems:"start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(null===t||void 0===t?void 0:t.id)&&f.map((function(e){var n,l,f;n=null===(l=o[e])||void 0===l?void 0:l.title;return(0,be.jsx)(h.xu,{overflow:"hidden",py:1,borderRadius:"sm",width:"100%",children:(0,be.jsx)(zn,{linksByNodeId:s,nodeByCite:c,setSidebarHighlightedNode:i,href:"id:".concat(e),nodeById:o,previewNode:t,setPreviewNode:r,openContextMenu:a,outline:u,noUnderline:!0,attachDir:g,macros:d,children:null===(f=o[e])||void 0===f?void 0:f.title})},e)}))})]})};function qn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Gn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?qn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Jn=function(e){var n=e.setPreviewNode,t=e.justificationList,r=e.justification,i=e.previewNode,o=e.nodeById,l=e.nodeByCite,s=e.setSidebarHighlightedNode,c=e.linksByNodeId,a=e.openContextMenu,u=e.outline,d=e.collapse,f=e.macros,p=e.attachDir,x=u?On:Cn;return(0,be.jsx)(h.xu,{pr:8,pt:2,height:"100%",className:"org",sx:Gn(Gn(Gn({},wn),x),{},{textAlign:t[r]}),children:(null===i||void 0===i?void 0:i.id)&&(0,be.jsxs)(g.k,{className:"wrapClass",height:"100%",flexDirection:"column",justifyContent:"space-between",children:[(0,be.jsx)(_n,{setPreviewNode:n,previewNode:i,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:u,collapse:d,nodeById:o,linksByNodeId:c,macros:f,attachDir:p}),(0,be.jsx)(Un,{setPreviewNode:n,previewNode:i,nodeById:o,linksByNodeId:c,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:u,attachDir:p,macros:f||{}})]})})},Qn=function(e){var n=e.previewNode;return(0,be.jsx)(g.k,{maxW:"90%",children:(0,be.jsx)(X.X,{lineHeight:1.2,size:"md",fontWeight:600,pt:4,children:null===n||void 0===n?void 0:n.title})})},Kn=t(29119);function $n(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Yn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$n(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$n(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function et(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=nt(e,null!==(t=r.storage)&&void 0!==t?t:localStorage),o=i.get(),l=void 0!==o?o:n,s=null!=o&&"object"===typeof o&&!1===Array.isArray(o)?Yn(Yn({},n),o):l;s!==o&&i.update(s);var c=(0,m.useState)(s),a=c[0],u=c[1];(0,m.useEffect)((function(){a!==s&&u(s)}),[e]);var d=function(e){e instanceof Function?u((function(n){var t=e(n);return i.update(t),t})):(u(e),i.update(e))};return[a,d]}function nt(e,n){return{get:function(){var t=n.getItem(e);if(t&&"undefined"!==t)return JSON.parse(t)},update:function(t){n.setItem(e,JSON.stringify(t))},remove:function(){n.removeItem(e)}}}var tt=["style"];function rt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function it(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?rt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ot=function(e){var n=e.isOpen,t=e.onOpen,r=e.onClose,i=e.previewNode,o=e.setPreviewNode,s=e.nodeById,c=e.linksByNodeId,a=e.nodeByCite,u=e.setSidebarHighlightedNode,d=e.canUndo,f=e.canRedo,x=e.resetPreviewNode,j=e.previousPreviewNode,b=e.nextPreviewNode,v=e.openContextMenu,y=(e.scope,e.setScope,e.windowWidth),C=e.filter,w=e.setFilter,k=e.tagColors,S=e.setTagColors,N=e.macros,P=e.attachDir,D=((0,m.useContext)(yn.N).highlightColor,(0,m.useState)()),I=D[0],z=D[1],L=et("sidebarWidth",400),E=(0,l.Z)(L,2),Z=E[0],T=E[1];(0,m.useEffect)((function(){null!==i&&void 0!==i&&i.id?(t(),z(i)):r()}),[null===i||void 0===i?void 0:i.id]);var R=et("justification",1),B=(0,l.Z)(R,2),F=B[0],H=B[1],W=et("outline",!1),A=(0,l.Z)(W,2),M=A[0],V=A[1],X=(0,m.useState)("sans serif"),_=(X[0],X[1]),q=(0,m.useState)(0),G=(q[0],q[1]),J=(0,m.useState)(!1),Q=J[0],K=J[1];return(0,be.jsx)(ke,{animateOpacity:!1,dimension:"width",in:n,unmountOnExit:!0,startingSize:0,style:{height:"100vh"},children:(0,be.jsx)(Kn.e,{size:{height:"100vh",width:Z},onResizeStop:function(e,n,t,r){T((function(e){return e+r.width}))},enable:{top:!1,right:!1,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},minWidth:"220px",maxWidth:y-200,children:(0,be.jsxs)(g.k,{flexDir:"column",h:"100vh",pl:2,color:"black",bg:"alt.100",width:"100%",children:[(0,be.jsxs)(g.k,{pl:2,alignItems:"center",color:"black",width:"100%",children:[(0,be.jsx)(g.k,{pt:1,flexShrink:0,children:(0,be.jsx)(Te,{setJustification:H,setIndent:G,setFont:_,justification:F,setPreviewNode:o,canUndo:d,canRedo:f,resetPreviewNode:x,previousPreviewNode:j,nextPreviewNode:b,outline:M,setOutline:V,collapse:Q,setCollapse:K})}),(0,be.jsx)(g.k,{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",onContextMenu:function(e){e.preventDefault(),v(i,e)}}),(0,be.jsx)(g.k,{flexDir:"row",ml:"auto",children:(0,be.jsx)(p.h,{m:1,icon:(0,be.jsx)(O.T41,{}),"aria-label":"Options",variant:"subtle",onClick:function(e){v(i,e,{left:void 0,top:12,right:20-y,bottom:void 0})}})})]}),(0,be.jsx)(kn.$B,{autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,oe.Z)(e,tt);return(0,be.jsx)(h.xu,it({style:it(it({},n),{},{borderRadius:0})},t))},children:I&&(0,be.jsxs)(U.gC,{flexGrow:1,alignItems:"left",bg:"alt.100",paddingLeft:4,children:[(0,be.jsx)(Qn,{previewNode:I}),(0,be.jsx)(He,{filter:C,setFilter:w,tagColors:k,setTagColors:S,openContextMenu:v,previewNode:i}),(0,be.jsx)(Jn,{setPreviewNode:o,previewNode:i,nodeById:s,nodeByCite:a,setSidebarHighlightedNode:u,justification:F,justificationList:["justify","start","end","center"],linksByNodeId:c,openContextMenu:v,outline:M,setOutline:V,collapse:Q,macros:N,attachDir:P})]})})]})})})},lt=t(93924),st=t(83986),ct=t(48931),at=t(56769),ut=t(88134),dt=t(47647);function ht(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function gt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ht(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ht(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ft=function(e){var n,t=e.filter,r=e.listName,i=e.labelFilter,l=e.displayName,s=e.setFilter,c=e.options,a=void 0===c?[]:c,u=(0,m.useContext)(yn.N).highlightColor,d=(null===a||void 0===a?void 0:a.map((function(e){return{value:e,label:i?e.replace(i,""):e}})))||[],h=(0,m.useState)((null===(n=t[r])||void 0===n?void 0:n.map((function(e){return{value:e,label:i?null===e||void 0===e?void 0:e.replace(i,""):e}})))||[]),g=h[0],f=h[1];return(0,be.jsx)(dt.CUIAutoComplete,{labelStyleProps:{fontWeight:300,fontSize:14},items:d,label:"Add tag to ".concat(l),placeholder:" ",onCreateItem:function(e){return null},disableCreateItem:!0,selectedItems:g,onSelectedItemsChange:function(e){e.selectedItems&&(f(e.selectedItems),s(gt(gt({},t),{},(0,o.Z)({},r,e.selectedItems.map((function(e){return e.value}))))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{mt:2,height:8,focusBorderColor:u,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{justifyContent:"flex-start",fontSize:10,borderColor:u,borderWidth:1,borderRadius:"md",color:u,bg:"",height:4,mb:2},hideToggleButton:!0,itemRenderer:function(e){return e.label}})};function pt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function xt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var jt=function(e){var n=e.colorList,t=e.tagColors,r=e.setTagColors,i=e.highlightColor,l=e.tags.map((function(e){return{value:e,label:e}})),s=(0,m.useState)(Object.keys(t).map((function(e){return{value:e,label:e}}))),c=s[0],a=s[1];return(0,be.jsxs)(h.xu,{children:[(0,be.jsx)(dt.CUIAutoComplete,{items:l,labelStyleProps:{fontWeight:300,fontSize:14},label:"Add tag to color",placeholder:" ",disableCreateItem:!0,selectedItems:c,onSelectedItemsChange:function(e){e.selectedItems&&(a(Array.from(new Set(e.selectedItems))),r(Object.fromEntries(Array.from(new Set(e.selectedItems)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{height:8,focusBorderColor:i,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{display:"none",rounded:"full",bg:i,height:8,paddingLeft:4,fontWeight:"bold"},hideToggleButton:!0,itemRenderer:function(e){return e.label}}),(0,be.jsx)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:Object.keys(t).map((function(e){return(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",width:"100%",pl:2,children:[(0,be.jsx)(h.xu,{width:"100%",children:(0,be.jsx)(q.x,{children:e})}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,colorScheme:"",color:"black",children:(0,be.jsx)(h.xu,{bgColor:t[e],borderRadius:"sm",height:6,width:6})}),(0,be.jsx)(mn.h,{children:(0,be.jsx)(V.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:n.map((function(n){return(0,be.jsx)(V.sN,{onClick:function(){return r(xt(xt({},t),{},(0,o.Z)({},e,n)))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,be.jsx)(h.xu,{bgColor:n,borderRadius:"sm",height:6,width:6})},n)}))})})]}),(0,be.jsx)(p.h,{"aria-label":"Delete tag color",variant:"ghost",icon:(0,be.jsx)(ne.p,{}),onClick:function(){r(Object.fromEntries(Array.from(new Set(c)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))),a(c.filter((function(n){return n.value!==e})))}})]},e)}))})]})},bt=t(24682),vt=t(24189),mt=function(e){var n=e.infoText;return(0,be.jsx)(h.xu,{paddingLeft:"1",children:(0,be.jsx)(f.u,{label:n,placement:"top",color:"gray.100",bg:"gray.800",hasArrow:!0,children:(0,be.jsx)(vt.h,{})})})},yt=["min","max","step","value"],Ct=function(e){var n=e.min,t=void 0===n?0:n,r=e.max,i=void 0===r?10:r,o=e.step,l=void 0===o?.1:o,s=e.value,c=void 0===s?1:s,a=(0,oe.Z)(e,yt),u=a.onChange,d=a.label,g=a.infoText,p=(0,m.useContext)(yn.N).highlightColor;return(0,be.jsxs)(h.xu,{pt:1,pb:2,children:[(0,be.jsxs)(h.xu,{display:"flex",alignItems:"flex-end",mb:2,children:[(0,be.jsx)(q.x,{children:d}),g&&(0,be.jsx)(mt,{infoText:g})]}),(0,be.jsxs)(bt.iR,{value:c,onChange:u,min:t,max:i,step:l,children:[(0,be.jsx)(bt.Uj,{children:(0,be.jsx)(bt.Ms,{})}),(0,be.jsx)(f.u,{bg:p,label:c.toFixed(1),children:(0,be.jsx)(bt.gs,{bg:"white"})})]})]},d)},Ot=(0,m.createContext)({subDirs:["dailies",".attach"],attachDir:".attach",roamDir:"~/org",dailyDir:"dailies"});function wt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?wt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var St=function(e){var n=e.filter,t=e.setFilter,r=e.local,i=e.setLocal,o=e.tagColors,l=e.setTagColors,s=e.highlightColor,c=e.colorList,a=e.tags,u=(0,m.useContext)(Ot),d=u.roamDir,f=u.subDirs;return(0,be.jsxs)(h.xu,{children:[(0,be.jsxs)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Link children to"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,rightIcon:(0,be.jsx)(Hn.v,{}),colorScheme:"",color:"black",size:"sm",children:function(){switch(n.parent){case"parent":return(0,be.jsx)(q.x,{children:"File"});case"heading":return(0,be.jsx)(q.x,{children:"Heading"});default:return(0,be.jsx)(q.x,{children:"Nothing"})}}()}),(0,be.jsx)(mn.h,{children:(0,be.jsxs)(V.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,be.jsx)(V.sN,{onClick:function(){return t((function(e){return kt(kt({},e),{},{parent:""})}))},children:"Nothing"}),(0,be.jsx)(V.sN,{onClick:function(){return t((function(e){return kt(kt({},e),{},{parent:"parent"})}))},children:"Parent file node"}),(0,be.jsx)(V.sN,{onClick:function(){return t((function(e){return kt(kt({},e),{},{parent:"heading"})}))},children:"Next highest heading node"})]})})]})]}),(0,be.jsxs)(g.k,{justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Orphans"}),(0,be.jsx)(ut.r,{onChange:function(){t((function(e){return kt(kt({},e),{},{orphans:!e.orphans})}))},isChecked:n.orphans})]}),(0,be.jsxs)(g.k,{justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Dailies"}),(0,be.jsx)(ut.r,{onChange:function(){t((function(e){return kt(kt({},e),{},{dailies:!e.dailies})}))},isChecked:n.dailies})]}),(0,be.jsxs)(g.k,{justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Org-noter pages"}),(0,be.jsx)(ut.r,{onChange:function(){t((function(e){return kt(kt({},e),{},{noter:!e.noter})}))},isChecked:n.noter})]}),(0,be.jsxs)(g.k,{justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Citations without note files"}),(0,be.jsx)(ut.r,{onChange:function(){t(kt(kt({},n),{},{filelessCites:!n.filelessCites}))},isChecked:n.filelessCites})]}),(0,be.jsxs)(g.k,{justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Non-existent nodes"}),(0,be.jsx)(ut.r,{onChange:function(){l(kt(kt({},o),{},{bad:"white"})),t(kt(kt({},n),{},{bad:!n.bad}))},isChecked:n.bad})]}),(0,be.jsx)(Ct,{label:"Number of neighbors in local graph",value:r.neighbors,onChange:function(e){return i(kt(kt({},r),{},{neighbors:e}))},min:1,max:5,step:1})]}),(0,be.jsxs)(at.UQ,{padding:0,allowToggle:!0,allowMultiple:!0,paddingLeft:3,children:[(0,be.jsxs)(at.Qd,{children:[(0,be.jsxs)(at.KF,{children:["Directory filters",(0,be.jsx)(at.XE,{})]}),(0,be.jsxs)(at.Hk,{pr:0,mr:0,children:[(0,be.jsx)(ft,{filter:n,setFilter:t,options:f,displayName:"directory blocklist",listName:"dirsBlocklist",labelFilter:d}),(0,be.jsx)(ft,{filter:n,setFilter:t,options:f,displayName:"directory allowlist",listName:"dirsAllowlist",labelFilter:d})]})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsxs)(at.KF,{children:["Tag filters",(0,be.jsx)(at.XE,{})]}),(0,be.jsxs)(at.Hk,{pr:0,mr:0,children:[(0,be.jsx)(ft,{filter:n,setFilter:t,options:a,displayName:"tag blocklist",listName:"tagsBlacklist"}),(0,be.jsx)(ft,{filter:n,setFilter:t,options:a,displayName:"tag allowlist",listName:"tagsWhitelist"})]})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsxs)(at.KF,{children:["Tag colors",(0,be.jsx)(at.XE,{})]}),(0,be.jsx)(at.Hk,{pr:0,mr:0,children:(0,be.jsx)(jt,{tags:a,colorList:c,tagColors:o,setTagColors:l,highlightColor:s})})]})]})]})},Nt=t(15267),Pt=function(e){var n=e.value,t=e.onChange,r=e.label,i=e.infoText,o=e.children;return(0,be.jsxs)(h.xu,{paddingTop:2,children:[(0,be.jsxs)(h.xu,{display:"flex",justifyContent:"space-between",paddingBottom:2,children:[(0,be.jsxs)(h.xu,{display:"flex",alignItems:"center",children:[(0,be.jsx)(q.x,{children:r}),i&&(0,be.jsx)(mt,{infoText:i})]}),(0,be.jsx)(ut.r,{isChecked:!!n,onChange:t})]}),(0,be.jsx)(Nt.U,{in:!!n,animateOpacity:!0,children:(0,be.jsx)(h.xu,{paddingLeft:4,paddingTop:2,paddingBottom:2,children:o})})]},r)};function Dt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function It(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Dt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var zt=function(e){var n=e.physics,t=e.setPhysics,r=(0,m.useCallback)((function(e,n,r){t((function(t){return It(It({},t),{},(0,o.Z)({},n,e/r))}))}),[]);return(0,be.jsxs)(h.xu,{children:[(0,be.jsxs)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,be.jsxs)(Pt,{label:"Gravity",value:n.gravityOn,onChange:function(){return t(It(It({},n),{},{gravityOn:!n.gravityOn}))},children:[(0,be.jsxs)(g.k,{justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Also in local"}),(0,be.jsx)(ut.r,{onChange:function(){t((function(e){return It(It({},e),{},{gravityLocal:!e.gravityLocal})}))},isChecked:n.gravityLocal})]}),(0,be.jsx)(Ct,{label:"Strength",value:10*n.gravity,onChange:function(e){return r(e,"gravity",10)}})]}),(0,be.jsx)(Ct,{value:-n.charge/100,onChange:function(e){return r(e,"charge",-.01)},label:"Repulsive Force"}),(0,be.jsx)(Ct,{value:5*n.linkStrength,onChange:function(e){return r(e,"linkStrength",5)},label:"Link Force"}),(0,be.jsx)(Ct,{label:"Stabilization rate",value:50*n.alphaDecay,onChange:function(e){return r(e,"alphaDecay",50)}})]}),(0,be.jsx)(h.xu,{children:(0,be.jsx)(at.UQ,{paddingLeft:3,allowToggle:!0,children:(0,be.jsxs)(at.Qd,{children:[(0,be.jsxs)(at.KF,{children:[(0,be.jsx)(q.x,{children:"Advanced"}),(0,be.jsx)(at.XE,{marginRight:2})]}),(0,be.jsx)(at.Hk,{children:(0,be.jsxs)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:3,color:"gray.800",children:[(0,be.jsx)(Pt,{label:"Collision",infoText:"Perfomance sap, disable if slow",value:n.collision,onChange:function(){return t(It(It({},n),{},{collision:!n.collision}))},children:(0,be.jsx)(Ct,{value:n.collisionStrength/5,onChange:function(e){return r(e,"collisionStrength",.2)},label:"Collision Radius",infoText:"Easy with this one, high values can lead to a real jiggly mess"})}),(0,be.jsx)(Ct,{label:"Link iterations",value:n.linkIts,onChange:function(e){return r(e,"linkIts",1)},min:0,max:6,step:1,infoText:"How many links down the line the physics of a single node affects (Slow)"}),(0,be.jsx)(Ct,{label:"Viscosity",value:10*n.velocityDecay,onChange:function(e){return r(e,"velocityDecay",10)}}),(0,be.jsx)(Pt,{label:"Center nodes",value:n.centering,onChange:function(){return t(It(It({},n),{},{centering:!n.centering}))},infoText:"Keeps the nodes in the center of the viewport. If disabled you can drag the nodes anywhere you want.",children:(0,be.jsx)(Ct,{label:"Centering Strength",value:n.centeringStrength,max:2,step:.01,onChange:function(e){return r(e,"centeringStrength",1)}})})]})})]})})})]})};function Lt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Et(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Lt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Lt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Zt=function(e){var n=e.behavior,t=e.setBehavior,r=e.mouse,i=e.setMouse;return(0,be.jsxs)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Preview node"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,rightIcon:(0,be.jsx)(Hn.v,{}),colorScheme:"",color:"black",children:(0,be.jsx)(q.x,{children:r.preview?r.preview[0].toUpperCase()+r.preview.slice(1):"Never"})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsxs)(V.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{preview:""}))},children:"Never"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{preview:"click"}))},children:"Click"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{preview:"double"}))},children:"Double Click"})]})]})]})]}),(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsxs)(g.k,{children:[(0,be.jsx)(q.x,{children:"Expand Node"}),(0,be.jsx)(mt,{infoText:"View only the node and its direct neighbors"})]}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,rightIcon:(0,be.jsx)(Hn.v,{}),colorScheme:"",color:"black",children:(0,be.jsx)(q.x,{children:r.local?r.local[0].toUpperCase()+r.local.slice(1):"Never"})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsxs)(V.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{local:""}))},children:"Never"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{local:"click"}))},children:"Click"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{local:"double"}))},children:"Double Click"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{local:"right"}))},children:"Right Click"})]})]})]})]}),(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Open in Emacs"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,rightIcon:(0,be.jsx)(Hn.v,{}),colorScheme:"",color:"black",children:(0,be.jsx)(q.x,{children:r.follow?r.follow[0].toUpperCase()+r.follow.slice(1):"Never"})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsxs)(V.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{follow:""}))},children:"Never"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{follow:"click"}))},children:"Click"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{follow:"double"}))},children:"Double Click"}),(0,be.jsx)(V.sN,{onClick:function(){return i(Et(Et({},r),{},{follow:"right"}))},children:"Right Click"})]})]})]})]}),(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Follow Emacs by..."}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,rightIcon:(0,be.jsx)(Hn.v,{}),colorScheme:"",color:"black",children:(0,be.jsx)(q.x,{children:n.follow[0].toUpperCase()+n.follow.slice(1)})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsxs)(V.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,be.jsx)(V.sN,{onClick:function(){return t(Et(Et({},n),{},{follow:"color"}))},children:"Just coloring the currently opened node"}),(0,be.jsx)(V.sN,{onClick:function(){return t(Et(Et({},n),{},{follow:"local"}))},children:"Opening the local graph"}),(0,be.jsx)(V.sN,{onClick:function(){return t(Et(Et({},n),{},{follow:"zoom"}))},children:"Zooming to the current node"})]})]})]})]}),(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsxs)(g.k,{children:[(0,be.jsx)(q.x,{children:"Local graph"}),(0,be.jsx)(mt,{infoText:"When in local mode and clicking a new node, should I add that node's local graph or open the new one?"})]}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,rightIcon:(0,be.jsx)(Hn.v,{}),colorScheme:"",color:"black",children:(0,be.jsx)(q.x,{children:"add"===n.localSame?"Add":"Replace"})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsxs)(V.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,be.jsx)(V.sN,{onClick:function(){return t(Et(Et({},n),{},{localSame:"replace"}))},children:"Open that nodes graph"}),(0,be.jsx)(V.sN,{onClick:function(){return t(Et(Et({},n),{},{localSame:"add"}))},children:"Add node to local graph"})]})]})]})]}),(0,be.jsx)(Ct,{label:"Zoom speed",value:n.zoomSpeed,min:0,max:4e3,step:100,onChange:function(e){return t(Et(Et({},n),{},{zoomSpeed:e}))}}),(0,be.jsx)(Ct,{label:"Zoom padding",value:n.zoomPadding,min:0,max:400,step:1,onChange:function(e){return t(Et(Et({},n),{},{zoomPadding:e}))},infoText:"How much to zoom out to accomodate all nodes when changing the view."})]})},Tt=t(46049);function Rt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Rt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ft=function(e){var n=e.visuals,t=e.setVisuals;return(0,be.jsx)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,be.jsx)(h.xu,{children:(0,be.jsx)(Pt,{label:"Highlight",onChange:function(){return t((function(e){return Bt(Bt({},e),{},{highlight:!e.highlight})}))},value:n.highlight,children:(0,be.jsxs)(U.gC,{spacing:1,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.400"}),align:"stretch",paddingLeft:0,children:[(0,be.jsx)(Ct,{label:"Highlight Link Thickness",value:n.highlightLinkSize,onChange:function(e){return t((function(n){return Bt(Bt({},n),{},{highlightLinkSize:e})}))}}),(0,be.jsx)(Ct,{label:"Highlight Node Size",value:n.highlightNodeSize,onChange:function(e){return t((function(n){return Bt(Bt({},n),{},{highlightNodeSize:e})}))}}),(0,be.jsx)(Ct,{min:0,max:1,label:"Highlight Fade",value:n.highlightFade,onChange:function(e){return t((function(n){return Bt(Bt({},n),{},{highlightFade:e})}))}}),(0,be.jsxs)(Pt,{label:"Highlight Animation",onChange:function(){t((function(e){return Bt(Bt({},e),{},{highlightAnim:!e.highlightAnim})}))},value:n.highlightAnim,children:[(0,be.jsx)(Ct,{label:"Animation speed",onChange:function(e){return t((function(n){return Bt(Bt({},n),{},{animationSpeed:e})}))},value:n.animationSpeed,infoText:"Slower speed has a chance of being buggy",min:50,max:1e3,step:10}),(0,be.jsx)(Tt.Ph,{placeholder:n.algorithmName,onChange:function(e){t((function(n){return Bt(Bt({},n),{},{algorithmName:e.target.value})}))},children:n.algorithmOptions.map((function(e){return(0,be.jsx)("option",{value:e,children:e},e)}))})]})]})})})})},Ht=t(67546),Wt=t(93441);function At(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?At(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):At(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Vt=function(e){var n=e.label,t=e.colorList,r=e.value,i=e.visValue,l=e.setVisuals,s=e.noEmpty,c=(0,m.useCallback)((function(e){return l((function(n){return Mt(Mt({},n),{},(0,o.Z)({},r,e))}))}),[]);return(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:n}),(0,be.jsxs)(vn.J2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(vn.xo,{children:(0,be.jsx)(G.z,{colorScheme:"",color:"black",rightIcon:(0,be.jsx)(Hn.v,{}),children:(0,be.jsx)(h.xu,{bgColor:i,borderRadius:"sm",height:6,width:6})})}),(0,be.jsx)(mn.h,{children:(0,be.jsx)(vn.yk,{zIndex:"tooltip",maxW:36,position:"relative",children:(0,be.jsxs)(g.k,{flexWrap:"wrap",bgColor:"gray.200",children:[!s&&(0,be.jsx)(h.xu,{onClick:function(){return c("")},justifyContent:"space-between",alignItems:"center",display:"flex",m:1,children:(0,be.jsx)(h.xu,{height:6,width:6,borderColor:"gray.600",borderRadius:"xl",borderWidth:1})}),t.map((function(e){return(0,be.jsx)(h.xu,{m:1,onClick:function(){return c(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,be.jsx)(h.xu,{bgColor:e,borderRadius:"xl",height:6,width:6})},e)}))]})})})]})]})};function Xt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _t(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Xt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ut=function(e){var n=e.visuals,t=e.setVisualsCallback,r=e.highlightColor,o=e.setHighlightColor;return(0,be.jsx)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,be.jsxs)(h.xu,{children:[(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Nodes"}),(0,be.jsx)(f.u,{label:"Shuffle node colors",children:(0,be.jsx)(p.h,{"aria-label":"Shuffle node colors",size:"sm",icon:(0,be.jsx)(Ht.n,{}),variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(_t(_t({},n),{},{nodeColorScheme:r.map((function(e){return[Math.random(),e]})).sort((function(e,n){return(0,l.Z)(e,1)[0]-(0,l.Z)(n,1)[0]})).map((function(e){var n=(0,l.Z)(e,2);n[0];return n[1]}))}))}})}),(0,be.jsx)(f.u,{label:"Cycle node colors",children:(0,be.jsx)(p.h,{"aria-label":"Shift node colors",icon:(0,be.jsx)(Wt.L,{}),size:"sm",variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(_t(_t({},n),{},{nodeColorScheme:[].concat((0,i.Z)(r.slice(1,r.length)),[r[0]])}))}})}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",closeOnSelect:!1,matchWidth:!0,children:[(0,be.jsx)(V.j2,{width:20,as:G.z,colorScheme:"",color:"black",rightIcon:(0,be.jsx)(Hn.v,{}),children:(0,be.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,be.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsx)(V.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:(0,be.jsx)(V.__,{width:500,type:"checkbox",defaultValue:n.nodeColorScheme,onChange:function(e){e.length&&t(_t(_t({},n),{},{nodeColorScheme:e}))},children:M.map((function(e){return(0,be.jsx)(V.ii,{isChecked:n.nodeColorScheme.some((function(n){return n===e})),value:e,isDisabled:1===n.nodeColorScheme.length&&n.nodeColorScheme[0]===e,children:(0,be.jsx)(h.xu,{justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,be.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})})},e)}))})})]})]})]}),(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Links"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,colorScheme:"",color:"black",rightIcon:(0,be.jsx)(Hn.v,{}),children:(0,be.jsx)(h.xu,{children:n.linkColorScheme?(0,be.jsx)(h.xu,{bgColor:n.linkColorScheme,borderRadius:"sm",height:6,width:6}):(0,be.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,be.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsxs)(V.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,be.jsx)(V.sN,{onClick:function(){return t(_t(_t({},n),{},{linkColorScheme:""}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,be.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,be.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),M.map((function(e){return(0,be.jsx)(V.sN,{onClick:function(){return t(_t(_t({},n),{},{linkColorScheme:e}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,be.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))]})]})]})]}),(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Accent"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,colorScheme:"",color:"black",rightIcon:(0,be.jsx)(Hn.v,{}),children:(0,be.jsx)(h.xu,{bgColor:r,borderRadius:"sm",height:6,width:6})}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsx)(V.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:M.map((function(e){return(0,be.jsx)(V.sN,{onClick:function(){return o(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,be.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))})]})]})]}),(0,be.jsx)(Vt,{colorList:M,label:"Link highlight",setVisuals:t,value:"linkHighlight",visValue:n.linkHighlight}),(0,be.jsx)(Vt,{colorList:M,label:"Node highlight",setVisuals:t,value:"nodeHighlight",visValue:n.nodeHighlight}),(0,be.jsx)(Vt,{colorList:M,label:"Background",setVisuals:t,value:"backgroundColor",visValue:n.backgroundColor}),(0,be.jsx)(Vt,{colorList:M,label:"Emacs node",setVisuals:t,value:"emacsNodeColor",visValue:n.emacsNodeColor})]})})};function qt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Gt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?qt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Jt=function(e){var n=e.visuals,t=e.setVisuals,r=e.threeDim;return(0,be.jsx)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,be.jsxs)(h.xu,{children:[(0,be.jsx)(Ct,{label:"Node size",value:n.nodeRel,onChange:function(e){return t(Gt(Gt({},n),{},{nodeRel:e}))}}),(0,be.jsx)(Ct,{label:"Node degree size multiplier",value:n.nodeSizeLinks,min:0,max:2,onChange:function(e){return t(Gt(Gt({},n),{},{nodeSizeLinks:e}))}}),(0,be.jsx)(Ct,{label:"Node zoom invariance",value:n.nodeZoomSize,min:0,max:2,infoText:"How much the graph will try to keep the nodesize consistent across zoom scales. 0 is no consistency, node will always be their true size, 1 is linear, 2 is quadratic.",onChange:function(e){return t((function(n){return Gt(Gt({},n),{},{nodeZoomSize:e})}))}}),r&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(Ct,{label:"Node opacity",value:n.nodeOpacity,min:0,max:1,onChange:function(e){return t(Gt(Gt({},n),{},{nodeOpacity:e}))}}),(0,be.jsx)(Ct,{label:"Node resolution",value:n.nodeResolution,min:5,max:32,step:1,onChange:function(e){return t(Gt(Gt({},n),{},{nodeResolution:e}))}})]}),(0,be.jsx)(Ct,{label:"Link width",value:n.linkWidth,onChange:function(e){return t(Gt(Gt({},n),{},{linkWidth:e}))}}),r&&(0,be.jsx)(Ct,{label:"Link opacity",min:0,max:1,value:n.linkOpacity,onChange:function(e){return t(Gt(Gt({},n),{},{linkOpacity:e}))}}),(0,be.jsxs)(Pt,{label:"Link arrows",value:n.arrows,onChange:function(){return t(Gt(Gt({},n),{},{arrows:!n.arrows}))},children:[(0,be.jsx)(Ct,{label:"Arrow size",value:n.arrowsLength/10,onChange:function(e){return t(Gt(Gt({},n),{},{arrowsLength:10*e}))}}),(0,be.jsx)(Ct,{label:"Arrow Position",value:n.arrowsPos,min:0,max:1,step:.01,onChange:function(e){return t(Gt(Gt({},n),{},{arrowsPos:e}))}}),(0,be.jsx)(Vt,{colorList:M,label:"Arrow Color",setVisuals:t,value:"arrowsColor",visValue:n.arrowsColor},"arrow")]}),(0,be.jsxs)(Pt,{label:"Directional Particles",value:n.particles,onChange:function(){return t(Gt(Gt({},n),{},{particles:!n.particles}))},children:[(0,be.jsx)(Ct,{label:"Particle Number",value:n.particlesNumber,max:5,step:1,onChange:function(e){return t(Gt(Gt({},n),{},{particlesNumber:e}))}}),(0,be.jsx)(Ct,{label:"Particle Size",value:n.particlesWidth,onChange:function(e){return t(Gt(Gt({},n),{},{particlesWidth:e}))}})]})]})})};function Qt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Kt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Qt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var $t=function(e){var n=e.visuals,t=e.setVisuals;return(0,be.jsxs)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.400"}),align:"stretch",color:"gray.800",children:[(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,be.jsx)(q.x,{children:"Show labels"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,colorScheme:"",color:"black",rightIcon:(0,be.jsx)(Hn.v,{}),children:n.labels?n.labels<2?"On Highlight":"Always":"Never"}),(0,be.jsxs)(mn.h,{children:[" ",(0,be.jsxs)(V.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,be.jsx)(V.sN,{onClick:function(){return t(Kt(Kt({},n),{},{labels:0}))},children:"Never"}),(0,be.jsx)(V.sN,{onClick:function(){return t(Kt(Kt({},n),{},{labels:1}))},children:"On Highlight"}),(0,be.jsx)(V.sN,{onClick:function(){return t(Kt(Kt({},n),{},{labels:2}))},children:"Always"}),(0,be.jsx)(V.sN,{onClick:function(){return t(Kt(Kt({},n),{},{labels:3}))},children:"Always (even in 3D)"})]})]})]})]}),(0,be.jsxs)(Nt.U,{in:n.labels>1,animateOpacity:!0,children:[(0,be.jsx)(h.xu,{paddingTop:2,children:(0,be.jsx)(Ct,{label:"Label Appearance Scale",value:2*n.labelScale,onChange:function(e){return t(Kt(Kt({},n),{},{labelScale:e/2}))}})}),(0,be.jsxs)(h.xu,{paddingTop:2,children:[(0,be.jsx)(Ct,{label:"Label dynamicity",infoText:"By default, labels of nodes with more links will appear earlier than those with fewer. This slider changes the strength of this effect, put it at zero to disable it.",value:n.labelDynamicStrength,min:0,max:1,step:.05,onChange:function(e){return t((function(n){return Kt(Kt({},n),{},{labelDynamicStrength:e})}))}}),(0,be.jsx)(Nt.U,{in:n.labelDynamicStrength>0,children:(0,be.jsx)(Ct,{label:"Dynamic zoom degree cap",infoText:"The maximum number of links that is considered for the 'dynamic zoom effect'. Past this number all number of links are treated the same.",value:n.labelDynamicDegree,min:1,max:15,step:1,onChange:function(e){return t((function(n){return Kt(Kt({},n),{},{labelDynamicDegree:e})}))}})})]})]}),(0,be.jsx)(Vt,{colorList:M,label:"Text",setVisuals:t,value:"labelTextColor",visValue:n.labelTextColor}),(0,be.jsxs)(h.xu,{children:[(0,be.jsx)(Vt,{colorList:M,label:"Background",setVisuals:t,value:"labelBackgroundColor",visValue:n.labelBackgroundColor}),(0,be.jsx)(Nt.U,{in:!!n.labelBackgroundColor,animateOpacity:!0,children:(0,be.jsx)(h.xu,{paddingTop:2,children:(0,be.jsx)(Ct,{label:"Background opacity",value:n.labelBackgroundOpacity,onChange:function(e){console.log(n.labelBackgroundOpacity),t(Kt(Kt({},n),{},{labelBackgroundOpacity:e}))},min:0,max:1,step:.01})})})]}),(0,be.jsx)(Ct,{label:"Label font size",value:n.labelFontSize,min:5,max:20,step:.5,onChange:function(e){return t(Kt(Kt({},n),{},{labelFontSize:e}))}}),(0,be.jsx)(Ct,{label:"Max. label characters",value:n.labelLength,min:10,max:100,step:1,onChange:function(e){return t(Kt(Kt({},n),{},{labelLength:e}))}}),(0,be.jsx)(Ct,{label:"Max. label line length",value:n.labelWordWrap,min:10,max:100,step:1,onChange:function(e){return t(Kt(Kt({},n),{},{labelWordWrap:e}))}}),(0,be.jsx)(Ct,{label:"Space between label lines",value:n.labelLineSpace,min:.2,max:3,step:.1,onChange:function(e){return t(Kt(Kt({},n),{},{labelLineSpace:e}))}})]})},Yt=t(67690),er=function(){var e=(0,m.useContext)(yn.N),n=e.emacsTheme,t=e.setEmacsTheme;e.highlightColor;return(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,be.jsx)(q.x,{children:"Theme"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"bottom",closeOnSelect:!1,children:[(0,be.jsx)(V.j2,{as:G.z,size:"sm",colorScheme:"",color:"black",rightIcon:(0,be.jsx)(Hn.v,{}),children:n[0]}),(0,be.jsxs)(V.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,be.jsx)(V.sN,{onClick:function(){return""},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,be.jsx)(h.xu,{height:6,width:6})}),Object.keys(Yt.n).map((function(e,n){return(0,be.jsxs)(V.sN,{onClick:function(){return t([e,Yt.n[e]])},justifyContent:"space-between",alignItems:"center",display:"flex",children:[(0,be.jsx)(q.x,{children:e}),(0,be.jsx)(g.k,{height:6,width:20,flexDirection:"column",flexWrap:"wrap",children:Object.values(Yt.n[e]).map((function(e){return(0,be.jsx)(h.xu,{bgColor:e,flex:"1 1 8px"},e)}))})]},e)}))]})]})]})};function nr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function tr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?nr(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var rr=function(e){var n=e.visuals,t=e.setVisuals;return(0,be.jsx)(U.gC,{spacing:2,justifyContent:"flex-start",divider:(0,be.jsx)(U.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,be.jsxs)(h.xu,{children:[(0,be.jsxs)(Pt,{label:"Dash cite links",infoText:"Add dashes to citation links made with org-roam-bibtex",value:n.citeDashes,onChange:function(){return t(tr(tr({},n),{},{citeDashes:!n.citeDashes}))},children:[(0,be.jsx)(Ct,{label:"Dash length",value:n.citeDashLength/10,onChange:function(e){return t(tr(tr({},n),{},{citeDashLength:10*e}))}}),(0,be.jsx)(Ct,{label:"Gap length",value:n.citeGapLength/5,onChange:function(e){return t(tr(tr({},n),{},{citeGapLength:5*e}))}})]}),(0,be.jsx)(Vt,{colorList:M,label:"Citation node color",setVisuals:t,value:"citeNodeColor",visValue:n.citeNodeColor}),(0,be.jsx)(Vt,{colorList:M,label:"Citation link color",setVisuals:t,value:"citeLinkColor",visValue:n.citeLinkColor}),(0,be.jsx)(Vt,{colorList:M,label:"Reference link highlight",setVisuals:t,value:"citeLinkHighlightColor",visValue:n.citeLinkHighlightColor}),(0,be.jsxs)(Pt,{label:"Dash ref links",infoText:"Add dashes to citation links, whose target has a note, made with org-roam-bibtex",value:n.refDashes,onChange:function(){return t(tr(tr({},n),{},{refDashes:!n.refDashes}))},children:[(0,be.jsx)(Ct,{label:"Dash length",value:n.refDashLength/10,onChange:function(e){return t(tr(tr({},n),{},{refDashLength:10*e}))}}),(0,be.jsx)(Ct,{label:"Gap length",value:n.refGapLength/5,onChange:function(e){return t(tr(tr({},n),{},{refGapLength:5*e}))}})]}),(0,be.jsx)(Vt,{colorList:M,label:"Reference node color",setVisuals:t,value:"refNodeColor",visValue:n.refNodeColor}),(0,be.jsx)(Vt,{colorList:M,label:"Reference link color",setVisuals:t,value:"refLinkColor",visValue:n.refLinkColor}),(0,be.jsx)(Vt,{colorList:M,label:"Reference link highlight",setVisuals:t,value:"refLinkHighlightColor",visValue:n.refLinkHighlightColor})]})})};function ir(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function or(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ir(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ir(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var lr=function(e){var n=e.coloring,t=e.setColoring;return(0,be.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,be.jsx)(q.x,{children:"Graph coloring"}),(0,be.jsxs)(V.v2,{isLazy:!0,placement:"right",children:[(0,be.jsx)(V.j2,{as:G.z,size:"sm",colorScheme:"",color:"black",rightIcon:(0,be.jsx)(Hn.v,{}),children:"degree"===n.method?"Links":"Communities"}),(0,be.jsx)(mn.h,{children:(0,be.jsxs)(V.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,be.jsx)(V.sN,{onClick:function(){return t((function(e){return or(or({},e),{},{method:"degree"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Number of links"}),(0,be.jsx)(V.sN,{onClick:function(){return t((function(e){return or(or({},e),{},{method:"community"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Communities"})]})})]})]})},sr=function(e){var n=e.coloring,t=e.setColoring,r=e.visuals,i=e.setVisuals,o=e.highlightColor,l=e.setHighlightColor,s=e.threeDim,c=(0,m.useCallback)((function(e){return i(e)}),[]);return(0,be.jsxs)(U.gC,{justifyContent:"flex-start",align:"stretch",children:[(0,be.jsx)(er,{}),(0,be.jsx)(lr,{coloring:n,setColoring:t}),(0,be.jsxs)(at.UQ,{allowToggle:!0,defaultIndex:[0],paddingLeft:3,children:[(0,be.jsxs)(at.Qd,{children:[(0,be.jsx)(at.KF,{children:(0,be.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,be.jsx)(q.x,{children:"Colors"}),(0,be.jsx)(at.XE,{marginRight:2})]})}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(Ut,{visuals:r,setVisualsCallback:c,highlightColor:o,setHighlightColor:l})})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsx)(at.KF,{children:(0,be.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,be.jsx)(q.x,{children:"Nodes & Links"}),(0,be.jsx)(at.XE,{marginRight:2})]})}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(Jt,{visuals:r,setVisuals:c,threeDim:s})})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsx)(at.KF,{children:(0,be.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,be.jsx)(q.x,{children:"Labels"}),(0,be.jsx)(at.XE,{marginRight:2})]})}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)($t,{visuals:r,setVisuals:c})})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsx)(at.KF,{children:(0,be.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,be.jsx)(q.x,{children:"Highlighting"}),(0,be.jsx)(at.XE,{marginRight:2})]})}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(Ft,{visuals:r,setVisuals:c})})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsx)(at.KF,{children:(0,be.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,be.jsx)(q.x,{children:"Citations"}),(0,be.jsx)(at.XE,{marginRight:2})]})}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(rr,{visuals:r,setVisuals:c})})]})]})]})},cr=["style"];function ar(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ur(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ar(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ar(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var dr=function(e){var n=e.physics,t=e.setPhysics,r=e.threeDim,i=e.setThreeDim,o=e.filter,s=e.setFilter,c=e.visuals,a=e.setVisuals,u=e.mouse,d=e.setMouse,g=e.behavior,x=e.setBehavior,j=e.tags,b=e.tagColors,v=e.setTagColors,y=e.coloring,C=e.setColoring,O=e.local,w=e.setLocal,k=et("showTweaks",!1),S=(0,l.Z)(k,2),N=S[0],P=S[1],D=(0,m.useContext)(yn.N),I=D.highlightColor,z=D.setHighlightColor;return N?(0,be.jsxs)(h.xu,{position:"absolute",bg:"alt.100",w:"xs",marginTop:2,marginLeft:2,borderRadius:"lg",paddingBottom:5,zIndex:10,boxShadow:"xl",maxH:"95vh",fontSize:"sm",children:[(0,be.jsxs)(h.xu,{display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:2,paddingTop:1,children:[(0,be.jsx)(f.u,{label:"2D",children:(0,be.jsx)(G.z,{onClick:function(){return i(!r)},variant:"subtle",zIndex:"overlay",children:r?"3D":"2D"})}),(0,be.jsxs)(h.xu,{display:"flex",alignItems:"center",children:[(0,be.jsx)(f.u,{label:"Reset settings to defaults",children:(0,be.jsx)(p.h,{"aria-label":"Reset Defaults",icon:(0,be.jsx)(st.A,{}),onClick:function(){a(F),s(R),d(W),t(T),x(H),C(B),z("purple.500"),w(A)},variant:"subtle",size:"sm"})}),(0,be.jsx)(p.h,{size:"sm",icon:(0,be.jsx)(ct.T,{}),"aria-label":"Close Tweak Panel",variant:"subtle",onClick:function(){return P(!1)}})]})]}),(0,be.jsx)(kn.ZP,{autoHeight:!0,autoHeightMax:.85*globalThis.innerHeight,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,oe.Z)(e,cr);return(0,be.jsx)(h.xu,ur(ur({},t),{},{style:ur(ur({},n),{},{borderRadius:10}),bg:I}))},children:(0,be.jsxs)(at.UQ,{allowMultiple:!0,allowToggle:!0,color:"black",children:[(0,be.jsxs)(at.Qd,{children:[(0,be.jsxs)(at.KF,{children:[(0,be.jsx)(at.XE,{marginRight:2}),(0,be.jsx)(X.X,{size:"sm",children:"Filter"})]}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(St,{filter:o,setFilter:s,tagColors:b,setTagColors:v,highlightColor:I,colorList:M,tags:j,local:O,setLocal:w})})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsx)(at.KF,{display:"flex",justifyContent:"space-between",children:(0,be.jsxs)(h.xu,{display:"flex",children:[(0,be.jsx)(at.XE,{marginRight:2}),(0,be.jsx)(X.X,{size:"sm",children:"Physics"})]})}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(zt,{physics:n,setPhysics:t})})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsxs)(at.KF,{children:[(0,be.jsx)(at.XE,{marginRight:2}),(0,be.jsx)(X.X,{size:"sm",children:"Visual"})]}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(sr,{visuals:c,setVisuals:a,highlightColor:I,setHighlightColor:z,threeDim:r,coloring:y,setColoring:C})})]}),(0,be.jsxs)(at.Qd,{children:[(0,be.jsxs)(at.KF,{children:[(0,be.jsx)(at.XE,{marginRight:2}),(0,be.jsx)(X.X,{size:"sm",children:"Behavior"})]}),(0,be.jsx)(at.Hk,{children:(0,be.jsx)(Zt,{behavior:g,setBehavior:x,mouse:u,setMouse:d})})]})]})})]}):(0,be.jsx)(h.xu,{position:"absolute",zIndex:"overlay",marginTop:1,marginLeft:0,display:N?"none":"block",children:(0,be.jsx)(p.h,{variant:"subtle","aria-label":"Settings",icon:(0,be.jsx)(lt.e,{}),onClick:function(){return P(!0)}})})},hr=t(22663),gr=t.n(hr);function fr(e){var n,t,r,o,l=e.labelBackgroundColor,s=e.labelTextColor,c=e.node,a=e.ctx,u=e.globalScale,d=e.highlightedNodes,h=e.previouslyHighlightedNodes,g=e.visuals,f=e.opacity,p=e.nodeSize,x=e.filteredLinksByNodeId,j=(e.nodeRel,e.hoverNode),b=e.lastHoverNode;if(c&&g.labels){var v=null!==(n=null===j||void 0===j?void 0:j.id)&&void 0!==n?n:"",m=null!==(t=null===b||void 0===b?void 0:b.id)&&void 0!==t?t:"",y=null!==(r=x[c.id])&&void 0!==r?r:[],C=!(!d[c.id]&&!h[c.id]),O=Math.min(5*(u-g.labelScale)+2*Math.pow(Math.min(y.length,g.labelDynamicDegree),g.labelDynamicStrength),1);if(!(O<.01)||C){var w=null!==(o=c.title)&&void 0!==o?o:"",k=w.substring(0,g.labelLength),S=Math.cbrt(g.nodeRel*p(c)/Math.pow(u,g.nodeZoomSize)),N=g.labelFontSize/Math.cbrt(Math.pow(u,g.nodeZoomSize)),P=[1.1*a.measureText(k).width,N].map((function(e){return e+.5*N})),D=function(e,n,t,r,i){return i?Math.max(e,r):1*e*(-1*(n.highlightFade*r-1))}(O,g,0,f,C);if(g.labelBackgroundColor&&g.labelBackgroundOpacity){var I=Sr(l,D*g.labelBackgroundOpacity);a.fillStyle=I,a.fillRect.apply(a,[c.x-P[0]/2,c.y-P[1]/2+S].concat((0,i.Z)(P)))}a.textAlign="center",a.textBaseline="middle";var z=Sr(s,D);a.fillStyle=z,a.font="".concat(N,"px Sans-Serif");var L=gr()(k,{width:g.labelWordWrap}).split("\n"),E=w.length>g.labelLength?[].concat((0,i.Z)(L.slice(0,-1)),["".concat(L.slice(-1),"...")]):L,Z=[v,m].includes(c.id)?1+.3*f:1;E.forEach((function(e,n){a.fillText(e,c.x,c.y+Z*S*8+g.labelLineSpace*N*n)}))}}}function pr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function xr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pr(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var jr=t.e(907).then(t.bind(t,99907)),br=t.g.window?t(24878).f$:null,vr=t.g.window?t(24878).s6:null;function mr(){var e=(0,m.useState)(!1),n=e[0],t=e[1];return(0,m.useEffect)((function(){t(!0)}),[]),n?(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(v.default,{children:(0,be.jsx)("title",{children:"ORUI"})}),(0,be.jsx)(yr,{})]}):null}function yr(){var e=et("3d",!1),n=(0,l.Z)(e,2),t=n[0],r=n[1],s=et("tagCols",{}),c=(0,l.Z)(s,2),a=c[0],x=c[1],b=(0,m.useState)({nodeIds:[],excludedNodeIds:[]}),v=b[0],y=b[1],C=et("physics",T),S=(0,l.Z)(C,2),P=S[0],D=S[1],I=et("filter",R),z=(0,l.Z)(I,2),L=z[0],E=z[1],Z=et("visuals",F),M=(0,l.Z)(Z,2),V=M[0],X=M[1],_=(0,m.useState)(null),U=_[0],q=_[1],G=(0,m.useState)(null),J=G[0],Q=G[1],K=et("behavior",H),$=(0,l.Z)(K,2),Y=$[0],ee=$[1],ne=et("mouse",W),te=(0,l.Z)(ne,2),re=te[0],ie=te[1],oe=et("coloring",B),le=(0,l.Z)(oe,2),se=le[0],ce=le[1],ae=et("local",A),ue=(0,l.Z)(ae,2),de=ue[0],he=ue[1],ge=(0,N.Z)({}),fe=(0,l.Z)(ge,2),pe=fe[0],xe=fe[1],je=xe.set,ve=xe.reset,me=xe.undo,ye=xe.redo,Ce=xe.canUndo,Oe=xe.canRedo,we=(pe.past,pe.present),ke=(pe.future,(0,m.useState)(null)),Se=ke[0],Ne=ke[1],Pe=(0,u.q)(),Ie=Pe.isOpen,ze=Pe.onOpen,Le=Pe.onClose,Ee=(0,m.useRef)({}),Ze=(0,m.useRef)({}),Te=(0,m.useRef)({}),Re=(0,m.useRef)([]),Be=(0,m.useRef)(null),Fe=(0,m.useState)({}),He=Fe[0],We=Fe[1],Ae=(0,m.useRef)({}),Me=(0,m.useRef)({nodes:[],links:[]});(0,m.useEffect)((function(){U&&(Me.current=U)}),[U]);var Ve=(0,m.useContext)(yn.N).setEmacsTheme,Xe=(0,m.useRef)({nodeIds:[],excludedNodeIds:[]}),_e=(0,m.useRef)(H);_e.current=Y;var Ue=(0,m.useRef)(null);Xe.current=v;var qe=function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;if("color"!==e){var l=Be.current,s=Xe.current,c=_e.current,a=null!==(t=Ze.current[n])&&void 0!==t?t:[],u=Object.fromEntries([n].concat((0,i.Z)(a.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]})));if("zoom"===e)return s.nodeIds.length&&y({nodeIds:[],excludedNodeIds:[]}),void setTimeout((function(){return l.zoomToFit(r,o,(function(e){return u[e.id]}))}),50);if(!s.nodeIds.length)return y((function(e){return xr(xr({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);if("add"!==c.localSame)return y((function(e){return xr(xr({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);if(!s.nodeIds.includes(n)||!s.nodeIds.some((function(e){return u[e]})))return y((function(e){return xr(xr({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);y((function(e){return xr(xr({},e),{},{nodeIds:[].concat((0,i.Z)(e.nodeIds),[n])})})),setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50)}};(0,m.useEffect)((function(){Ue.current=new k.Z("ws://localhost:35903"),Ue.current.addEventListener("open",(function(){console.log("Connection with Emacs established")})),Ue.current.addEventListener("message",(function(e){var n=_e.current,t=JSON.parse(e.data);switch(t.type){case"graphdata":return function(e){var n,t,r,s=Ee.current;Re.current=null!==(n=e.tags)&&void 0!==n?n:[];var c=null!==(t=e.nodes)&&void 0!==t?t:[],a=null!==(r=e.links)&&void 0!==r?r:[],u=c.reduce((function(e,n){var t;return xr(xr({},e),{},(0,o.Z)({},n.file,[].concat((0,i.Z)(null!==(t=e[n.file])&&void 0!==t?t:[]),[n])))}),{}),d=Object.keys(u).flatMap((function(e){var n,t=null!==(n=u[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),i=t.filter((function(e){return 0!==e.level}));return r?i.map((function(e){var n=t.filter((function(n){var t,r;return!(n.level>=e.level||n.pos>=e.pos||null===(t=e.olp)||void 0===t||!t.includes(null===(r=n.title)||void 0===r?void 0:r.replace(/ *\[\d*\/\d*\] */g,"")))})).reduce((function(e,n){return n.level>e.level&&(e=n),e}),r);return{source:e.id,target:(null===n||void 0===n?void 0:n.id)||r.id,type:"heading"}})):[]})),h=Object.keys(u).flatMap((function(e){var n,t=null!==(n=u[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),i=t.filter((function(e){return 0!==e.level}));return r?i.map((function(e){return{source:e.id,target:r.id,type:"parent"}})):[]}));Ee.current=Object.fromEntries(c.map((function(e){return[e.id,e]})));var g=[].concat((0,i.Z)(a),(0,i.Z)(d),(0,i.Z)(h)),f=[],p=g.map((function(e){var n=e.source,t=e.target;return Ee.current[n]?Ee.current[t]?e:(f.push({id:t,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:t,level:0,pos:0,olp:null}),xr(xr({},e),{},{type:"bad"})):(f.push({id:n,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:n,level:0,pos:0,olp:null}),xr(xr({},e),{},{type:"bad"}))}));Ee.current=xr(xr({},Ee.current),Object.fromEntries(f.map((function(e){return[e.id,e]})))),Ze.current=p.reduce((function(e,n){var t,r,l;return xr(xr({},e),{},(l={},(0,o.Z)(l,n.source,[].concat((0,i.Z)(null!==(t=e[n.source])&&void 0!==t?t:[]),[n])),(0,o.Z)(l,n.target,[].concat((0,i.Z)(null!==(r=e[n.target])&&void 0!==r?r:[]),[n])),l))}),{});var x=[].concat((0,i.Z)(c),f);Te.current=x.reduce((function(e,n){var t,r=null===(t=n.properties)||void 0===t?void 0:t.ROAM_REFS;if(null===r||void 0===r||!r.includes("cite"))return e;var i=r.replaceAll(/cite:(.*)/g,"$1");return i?xr(xr({},e),{},(0,o.Z)({},i,n)):e}),{});var j={nodes:x,links:p},b=Me.current;if(0===b.nodes.length){var v=JSON.parse(JSON.stringify(j));return Me.current=v,void q(v)}var m=[].concat((0,i.Z)(b.nodes.flatMap((function(e){var n,t=null!==(n=Ee.current[null===e||void 0===e?void 0:e.id])&&void 0!==n&&n;return t?[xr(xr({},e),t)]:[]}))),(0,i.Z)(Object.keys(Ee.current).filter((function(e){return!s[e]})).map((function(e){return Ee.current[e]})))),y=m.reduce((function(e,n,t){var r=null===n||void 0===n?void 0:n.id;return xr(xr({},e),{},(0,o.Z)({},r,t))}),{}),C=p.map((function(e){var n=wr(e),t=(0,l.Z)(n,2),r=t[0],i=t[1];return xr(xr({},e),{},{source:m[y[r]],target:m[y[i]]})}));q({nodes:m,links:C})}(t.data);case"variables":return We(t.data),void console.log(t);case"theme":return Ve(["custom",t.data]);case"command":switch(t.data.commandName){case"local":var r=Y.zoomSpeed,s=Y.zoomPadding;qe("local",t.data.id,r,s),Q(t.data.id);break;case"zoom":var c,a,u=(null===t||void 0===t||null===(c=t.data)||void 0===c?void 0:c.speed)||n.zoomSpeed,d=(null===t||void 0===t||null===(a=t.data)||void 0===a?void 0:a.padding)||n.zoomPadding;qe("zoom",t.data.id,u,d),Q(t.data.id);break;case"follow":qe(n.follow,t.data.id,n.zoomSpeed,n.zoomPadding),Q(t.data.id);break;default:return console.error("unknown message type",t.type)}}}))}),[]),(0,m.useEffect)((function(){var e=Be.current;!e||v.nodeIds.length>1||(v.nodeIds.length||!P.gravityOn?setTimeout((function(){e.zoomToFit(5,200)}),50):e.zoomToFit())}),[v.nodeIds]);var Ge=(0,j.iP)(),Je=(0,l.Z)(Ge,2),Qe=Je[0],Ke=Je[1],$e=(0,m.useRef)(),Ye=(0,m.useState)(null),en=Ye[0],nn=Ye[1],tn=(0,m.useState)({left:0,top:0,right:void 0,bottom:void 0}),rn=tn[0],on=tn[1],ln=(0,u.q)();(0,d.O)({ref:$e,handler:function(){ln.onClose()}});var sn=function(e,n,t){on(t||{left:n.pageX,top:n.pageY,right:void 0,bottom:void 0}),nn(e),ln.onOpen()},cn=function(e,n){"remove"!==n?"replace"!==n?v.nodeIds.includes(e.id)||y((function(n){return xr(xr({},n),{},{nodeIds:[].concat((0,i.Z)(n.nodeIds),[e.id])})})):y({nodeIds:[e.id],excludedNodeIds:[]}):y((function(n){return xr(xr({},n),{},{excludedNodeIds:[].concat((0,i.Z)(n.excludedNodeIds),[e.id])})}))},an=(0,m.useState)({type:"Graph",title:"Graph",icon:(0,be.jsx)(O.DvO,{})}),un=(an[0],an[1],et("mainWindowWidth",Qe)),dn=(0,l.Z)(un,2),hn=dn[0],gn=dn[1];return console.log(He),(0,be.jsx)(Ot.Provider,{value:xr({},He),children:(0,be.jsxs)(h.xu,{display:"flex",alignItems:"flex-start",flexDirection:"row",height:"100vh",overflow:"clip",children:[(0,be.jsx)(dr,{physics:P,setPhysics:D,threeDim:t,setThreeDim:r,filter:L,setFilter:E,visuals:V,setVisuals:X,mouse:re,setMouse:ie,behavior:Y,setBehavior:ee,tagColors:a,setTagColors:x,coloring:se,setColoring:ce,local:de,setLocal:he,tags:Re.current}),(0,be.jsx)(h.xu,{position:"absolute",children:U&&(0,be.jsx)(Cr,{nodeById:Ee.current,linksByNodeId:Ze.current,webSocket:Ue.current,variables:He,physics:P,graphData:U,threeDim:t,emacsNodeId:J,filter:L,visuals:V,behavior:Y,mouse:re,scope:v,setScope:y,tagColors:a,setPreviewNode:je,sidebarHighlightedNode:Se,windowWidth:Qe,windowHeight:Ke,openContextMenu:sn,contextMenu:ln,handleLocal:cn,mainWindowWidth:hn,setMainWindowWidth:gn,setContextMenuTarget:nn,graphRef:Be,clusterRef:Ae,coloring:se,local:de})}),(0,be.jsx)(h.xu,{position:"relative",zIndex:4,width:"100%",children:(0,be.jsx)(g.k,{className:"headerBar",h:10,flexDir:"column",children:(0,be.jsx)(g.k,{alignItems:"center",h:10,justifyContent:"flex-end",children:(0,be.jsxs)(g.k,{height:"100%",flexDirection:"row",children:[v.nodeIds.length>0&&(0,be.jsx)(f.u,{label:"Return to main graph",children:(0,be.jsx)(p.h,{m:1,icon:(0,be.jsx)(O.DvO,{}),"aria-label":"Exit local mode",onClick:function(){return y((function(e){return xr(xr({},e),{},{nodeIds:[]})}))},variant:"subtle"})}),(0,be.jsx)(f.u,{label:Ie?"Close sidebar":"Open sidebar",children:(0,be.jsx)(p.h,{m:1,icon:(0,be.jsx)(w.iBV,{}),"aria-label":"Close file-viewer",variant:"subtle",onClick:Ie?Le:ze})})]})})})}),(0,be.jsx)(h.xu,{position:"relative",zIndex:4,children:(0,be.jsx)(ot,{isOpen:Ie,onOpen:ze,onClose:Le,previewNode:we,setPreviewNode:je,canUndo:Ce,canRedo:Oe,previousPreviewNode:me,nextPreviewNode:ye,resetPreviewNode:ve,setSidebarHighlightedNode:Ne,openContextMenu:sn,scope:v,setScope:y,windowWidth:Qe,tagColors:a,setTagColors:x,filter:L,setFilter:E,macros:He.katexMacros,attachDir:He.attachDir||"",nodeById:Ee.current,linksByNodeId:Ze.current,nodeByCite:Te.current})}),ln.isOpen&&(0,be.jsx)("div",{ref:$e,children:(0,be.jsx)(De,{scope:v,target:en,background:!1,coordinates:rn,handleLocal:cn,menuClose:ln.onClose.bind(ln),webSocket:Ue.current,setPreviewNode:je,setFilter:E,filter:L,setTagColors:x,tagColors:a})})]})})}var Cr=function(e){var n=e.graphRef,t=e.physics,s=e.graphData,u=e.threeDim,d=e.linksByNodeId,g=e.filter,f=e.emacsNodeId,p=e.nodeById,j=e.visuals,v=e.behavior,y=e.mouse,O=e.scope,w=e.local,k=(e.setScope,e.webSocket),N=e.tagColors,P=e.setPreviewNode,D=e.sidebarHighlightedNode,I=e.windowWidth,z=e.windowHeight,L=(e.setContextMenuTarget,e.openContextMenu),E=e.contextMenu,T=e.handleLocal,R=e.variables,B=e.clusterRef,F=e.coloring,H=R.dailyDir,W=(R.roamDir,(0,m.useState)(null)),A=W[0],V=W[1],X=(0,a.useTheme)(),_=(0,m.useContext)(yn.N).emacsTheme,U=function(e,n,t){switch(e){case y.preview:P(n);break;case y.local:T(n,v.localSame);break;case y.follow:re(n,k);break;case y.context:L(n,t)}},q=(0,m.useRef)(null);(0,m.useEffect)((function(){f&&V(p[f])}),[f]);var G=(0,m.useRef)({}),J=(0,m.useRef)({}),Q=(0,m.useMemo)((function(){var e;J.current={};var n=null===s||void 0===s||null===(e=s.nodes)||void 0===e?void 0:e.filter((function(e){var n,t,r,i,l=e;return g.dirsBlocklist.length&&g.dirsBlocklist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||g.dirsAllowlist.length>0&&!g.dirsAllowlist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||g.tagsBlacklist.length&&g.tagsBlacklist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||g.tagsWhitelist.length>0&&!g.tagsWhitelist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||g.filelessCites&&null!==l&&void 0!==l&&null!==(n=l.properties)&&void 0!==n&&n.FILELESS||null!==g&&void 0!==g&&g.bad&&null!==l&&void 0!==l&&null!==(t=l.properties)&&void 0!==t&&t.bad||g.dailies&&H&&null!==(r=l.file)&&void 0!==r&&r.includes(H)?(J.current=xr(xr({},J.current),{},(0,o.Z)({},l.id,l)),!1):!g.noter||null===(i=l.properties)||void 0===i||!i.NOTER_PAGE||(J.current=xr(xr({},J.current),{},(0,o.Z)({},l.id,l)),!1)})).filter((function(e){var n,t=(null!==(n=d[null===e||void 0===e?void 0:e.id])&&void 0!==n?n:[]).filter((function(e){return!J.current[e.source]&&!J.current[e.target]}));return!g.orphans||(g.parent?0!==t.length:0!==t.length&&t.some((function(e){return!["parent","heading"].includes(e.type)})))})),t=n.map((function(e){return e.id})),r=s.links.filter((function(e){var n=wr(e),r=(0,l.Z)(n,2),i=r[0],o=r[1];if(!t.includes(i)||!t.includes(o))return!1;var s=e;return g.parent?"heading"===g.parent?"parent"!==s.type:"heading"!==s.type:!["parent","heading"].includes(s.type)}));G.current=r.reduce((function(e,n){var t,r,s,c=n,a=wr(c),u=(0,l.Z)(a,2),d=u[0],h=u[1];return xr(xr({},e),{},(s={},(0,o.Z)(s,d,[].concat((0,i.Z)(null!==(t=e[d])&&void 0!==t?t:[]),[c])),(0,o.Z)(s,h,[].concat((0,i.Z)(null!==(r=e[h])&&void 0!==r?r:[]),[c])),s))}),{});var c=r.map((function(e){var n=wr(e),t=(0,l.Z)(n,2);return{target:t[0],source:t[1],weight:"cite"===e.type?1:2}}));if("community"===F.method){var a=C()().nodes(t).edges(c);B.current=a()}return{nodes:n,links:r}}),[g,s,F.method]),K=(0,m.useState)({nodes:[],links:[]}),$=K[0],Y=K[1];(0,m.useEffect)((function(){if(O.nodeIds.length){var e=O.nodeIds.length>1?$.nodes.filter((function(e){return!O.excludedNodeIds.includes(e.id)})):[],n=e.map((function(e){return e.id})),t=function(e,n,t){var r=[e[0]],i=[],o=[e[0]];return Array.from({length:t},(function(){r.forEach((function(e){var t;(null!==(t=G.current[e])&&void 0!==t?t:[]).forEach((function(e){var t=wr(e),r=(0,l.Z)(t,2),s=r[0],c=r[1];n.some((function(e){return[s,c].includes(e)}))||(o.includes(s)?o.includes(c)||i.push(c):i.push(s))}))})),r=i,i.forEach((function(e){return e&&o.push(e)})),i=[]})),o}(O.nodeIds,O.excludedNodeIds,w.neighbors),r=Q.nodes.filter((function(r){var i;return e.length?!n.includes(r.id)&&(null!==(i=G.current[r.id])&&void 0!==i?i:[]).some((function(e){var n=wr(e),t=(0,l.Z)(n,2),r=t[0],i=t[1];return O.nodeIds.includes(r)||O.nodeIds.includes(i)})):t.includes(r.id)})).map((function(e){return xr(xr({},e),{},{x:0,y:0,vy:0,vx:0})})),o=[].concat((0,i.Z)(e),(0,i.Z)(r)),s=o.map((function(e){return e.id})),c=(O.nodeIds.length>1?$.links:[]).filter((function(e){O.excludedNodeIds.some((function(n){return wr(e).includes(n)}))})),a=Q.links.filter((function(e){var t=wr(e),r=(0,l.Z)(t,2),i=r[0],o=r[1];return!(c.length&&n.includes(o)&&n.includes(i))&&(s.includes(i)&&s.includes(o))})).map((function(e){var n=wr(e),t=(0,l.Z)(n,2);return{source:t[0],target:t[1]}})),u=[].concat((0,i.Z)(c),(0,i.Z)(a));Y({nodes:o,links:u})}}),[w.neighbors,g,JSON.stringify(O),JSON.stringify(s),Q.links,Q.nodes]),(0,m.useEffect)((function(){(0,r.Z)(c().mark((function e(){var r,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.current,e.next=3,jr;case 3:i=e.sent,!t.gravityOn||O.nodeIds.length&&!t.gravityLocal?(r.d3Force("x",null),r.d3Force("y",null),u&&r.d3Force("z",null)):(r.d3Force("x",i.forceX().strength(t.gravity)),r.d3Force("y",i.forceY().strength(t.gravity)),u&&r.d3Force("z",i.forceZ().strength(t.gravity))),t.centering?r.d3Force("center",i.forceCenter().strength(t.centeringStrength)):r.d3Force("center",null),t.linkStrength&&r.d3Force("link").strength(t.linkStrength),t.linkIts&&r.d3Force("link").iterations(t.linkIts),t.charge&&r.d3Force("charge").strength(t.charge),r.d3Force("collide",t.collision?i.forceCollide().radius(t.collisionStrength):null);case 10:case"end":return e.stop()}}),e)})))()}),[t,u,O]),(0,m.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.d3ReheatSimulation()}),[t,O.nodeIds.length]);var ee=(0,m.useRef)(0),ne=(0,m.useState)(1),te=ne[0],ie=ne[1],oe=(0,x._7)((function(e){return ie(e)}),{duration:j.animationSpeed,algorithm:Z[j.algorithmName]}),le=(0,l.Z)(oe,2),se=le[0],ce=le[1],ae=(0,x._7)((function(e){return ie(Math.min(te,-1*(e-1)))}),{duration:j.animationSpeed,algorithm:Z[j.algorithmName]}),ue=(0,l.Z)(ae,2),de=ue[0],he=ue[1],ge=(0,m.useMemo)((function(){var e;if(!q.current)return{};var n=G.current[q.current.id];return n?Object.fromEntries([null===(e=q.current)||void 0===e?void 0:e.id].concat((0,i.Z)(n.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]}))):{}}),[JSON.stringify(q.current),JSON.stringify(G.current)]);(0,m.useEffect)((function(){null!==D&&void 0!==D&&D.id?V(D):V(null)}),[D]);var fe=(0,m.useRef)(null);(0,m.useEffect)((function(){if(q.current=A,A&&(fe.current=A),!j.highlightAnim)return ie(A?1:0);A?se():(ce(),te>.5?de():ie(0))}),[A]);var pe=(0,m.useMemo)((function(){return Object.fromEntries(M.map((function(e){var n=kr(e,X),t=M.map((function(e){return[e,b.Z(n,kr(e,X))]}));return[e,Object.fromEntries(t)]})))}),[_]),xe=(0,m.useMemo)((function(){var e,n,t,r=null!==(e=G.current[null===(n=fe.current)||void 0===n?void 0:n.id])&&void 0!==e?e:[];return Object.fromEntries([null===(t=fe.current)||void 0===t?void 0:t.id].concat((0,i.Z)(r.flatMap((function(e){return wr(e)})))).map((function(e){return[e,{}]})))}),[JSON.stringify(A),fe.current,G.current]),je=function(e){var n,t,r,i,o,l=null!==(n=null===(t=G.current[e])||void 0===t?void 0:t.length)&&void 0!==n?n:0;return"degree"===F.method?j.nodeColorScheme[(r=l,i=0,o=j.nodeColorScheme.length-1,Math.min(Math.max(r,i),o))]:j.nodeColorScheme[l&&B.current[e]%j.nodeColorScheme.length]},ve=function(e,n){return G.current[e].length>G.current[n].length?je(e):je(n)},me=(0,m.useMemo)((function(){return kr(j.labelTextColor,X)}),[j.labelTextColor,_]),ye=(0,m.useMemo)((function(){return kr(j.labelBackgroundColor,X)}),[j.labelBackgroundColor,_]),Ce=function(e){var n,t=null!==(n=G.current[e.id])&&void 0!==n?n:[],r=t.length?t.filter((function(e){return"parent"===e.type})).length:0,i=3+t.length*j.nodeSizeLinks-(g.parent?0:r);return 1===j.highlightNodeSize?i:i*(ge[e.id]||xe[e.id]?1+te*(j.highlightNodeSize-1):1)},Oe=(0,m.useState)(!1),we=Oe[0],ke=Oe[1],Se=(0,m.useRef)(1),Ne={graphData:O.nodeIds.length?$:Q,width:I,height:z,backgroundColor:kr(j.backgroundColor,X),warmupTicks:1===O.nodeIds.length?100:O.nodeIds.length>1?20:0,onZoom:function(e){var n=e.k;e.x,e.y;return Se.current=n},nodeColor:function(e){return function(e,n){var t,r,i=ge[e.id]||xe[e.id];if(j.emacsNodeColor&&e.id===f)return kr(j.emacsNodeColor,n);if(N&&null!==e&&void 0!==e&&e.tags.some((function(e){return N[e]}))){var o=N[null===e||void 0===e?void 0:e.tags.filter((function(e){return N[e]}))[0]];return i?pe[o][o](j.highlightFade*te):pe[o][j.backgroundColor](j.highlightFade*te)}return j.citeNodeColor&&null!==e&&void 0!==e&&null!==(t=e.properties)&&void 0!==t&&t.ROAM_REFS&&null!==e&&void 0!==e&&null!==(r=e.properties)&&void 0!==r&&r.FILELESS?i?kr(j.citeNodeColor,n):pe[j.citeNodeColor][j.backgroundColor](j.highlightFade*te):j.refNodeColor&&e.properties.ROAM_REFS?i?kr(j.refNodeColor,n):pe[j.refNodeColor][j.backgroundColor](j.highlightFade*te):i?j.nodeHighlight?pe[je(e.id)][j.nodeHighlight](te):kr(je(e.id),n):pe[je(e.id)][j.backgroundColor](j.highlightFade*te)}(e,X)},nodeRelSize:j.nodeRel,nodeVal:function(e){return Ce(e)/Math.pow(Se.current,j.nodeZoomSize)},nodeCanvasObject:function(e,n,t){fr(xr({nodeRel:j.nodeRel,filteredLinksByNodeId:G.current,lastHoverNode:fe.current},{node:e,ctx:n,globalScale:t,highlightedNodes:ge,previouslyHighlightedNodes:xe,visuals:j,opacity:te,nodeSize:Ce,labelTextColor:me,labelBackgroundColor:ye,hoverNode:A}))},nodeCanvasObjectMode:function(){return"after"},linkDirectionalParticles:j.particles?j.particlesNumber:void 0,linkDirectionalArrowLength:j.arrows?j.arrowsLength:void 0,linkDirectionalArrowRelPos:j.arrowsPos,linkDirectionalArrowColor:j.arrowsColor?function(){return kr(j.arrowsColor,X)}:void 0,linkColor:function(e){var n,t="object"===typeof e.source?e.source.id:e.source,r="object"===typeof e.target?e.target.id:e.target,i=Or(e,q.current),o=Or(e,fe.current),l=i||o,s=e;return j.refLinkColor&&"ref"===s.type?l&&(j.refLinkHighlightColor||j.linkHighlight)?pe[j.refLinkColor][j.refLinkHighlightColor||j.linkHighlight](te):pe[j.refLinkColor][j.backgroundColor](j.highlightFade*te):j.citeLinkColor&&null!==(n=s.type)&&void 0!==n&&n.includes("cite")?l&&(j.citeLinkHighlightColor||j.linkHighlight)?pe[j.citeLinkColor][j.citeLinkHighlightColor||j.linkHighlight](te):pe[j.citeLinkColor][j.backgroundColor](j.highlightFade*te):function(e,n,t,r){if(!j.linkHighlight&&!j.linkColorScheme&&!t)return kr(ve(e,n),r);if(!t&&!j.linkColorScheme){var i=ve(e,n);return pe[i][j.backgroundColor](j.highlightFade*te)}return t?j.linkHighlight||j.linkColorScheme?j.linkHighlight?j.linkColorScheme?pe[j.linkColorScheme][j.linkHighlight](te):pe[ve(e,n)][j.linkHighlight](te):kr(j.linkColorScheme,r):kr(ve(e,n),r):pe[j.linkColorScheme][j.backgroundColor](j.highlightFade*te)}(t,r,l,X)},linkWidth:function(e){if(1===j.highlightLinkSize)return j.linkWidth;var n=Or(e,q.current),t=Or(e,fe.current);return n||t?j.linkWidth*(1+te*(j.highlightLinkSize-1)):j.linkWidth},linkDirectionalParticleWidth:j.particlesWidth,d3AlphaDecay:t.alphaDecay,d3AlphaMin:t.alphaMin,d3VelocityDecay:t.velocityDecay,onNodeClick:function(e,n){var t=e,r=n.timeStamp-ee.current<200;if(ee.current=n.timeStamp,r)return U("double",t,n);var i=ee.current;return setTimeout((function(){if(ee.current===i)return U("click",t,n)}),200)},onNodeHover:function(e){j.highlight&&(we||(A||(he(),ie(0)),V(e)))},onNodeRightClick:function(e,n){U("right",e,n)},onNodeDrag:function(e){V(e),ke(!0)},onNodeDragEnd:function(){V(null),ke(!1)}};return(0,be.jsx)(h.xu,{overflow:"hidden",onClick:E.onClose,children:u?(0,be.jsx)(vr,xr(xr({ref:n},Ne),{},{nodeThreeObjectExtend:!0,nodeOpacity:j.nodeOpacity,nodeResolution:j.nodeResolution,linkOpacity:j.linkOpacity,nodeThreeObject:function(e){if(j.labels&&(!(j.labels<3)||ge[e.id])){var n=new S.Z(e.title.substring(0,40));return n.color=kr(j.labelTextColor,X),n.backgroundColor=kr(j.labelBackgroundColor,X),n.padding=2,n.textHeight=8,n}}})):(0,be.jsx)(br,xr(xr({ref:n},Ne),{},{linkLineDash:function(e){var n,t=e;return j.citeDashes&&null!==(n=t.type)&&void 0!==n&&n.includes("cite")?[j.citeDashLength,j.citeGapLength]:j.refDashes&&"ref"==t.type?[j.refDashLength,j.refGapLength]:null}}))})};function Or(e,n){var t,r;return(null===(t=e.source)||void 0===t?void 0:t.id)===(null===n||void 0===n?void 0:n.id)||(null===(r=e.target)||void 0===r?void 0:r.id)===(null===n||void 0===n?void 0:n.id)}function wr(e){return["object"===typeof e.source?e.source.id:e.source,"object"===typeof e.target?e.target.id:e.target]}function kr(e,n){return e.split(".").reduce((function(e,n){return e[n]}),n.colors)}function Sr(e,n){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(n){return parseInt(e.length%2?n+n:n,16)})).concat(isFinite(n)?n:1).join(",")+")"}},45301:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(20624)}])}},function(e){e.O(0,[774,737,876,228,866,13,874,573,446,911,888,179],(function(){return n=45301,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file
diff --git a/out/_next/static/chunks/pages/index-9ebad2ac6fcc0c57103b.js b/out/_next/static/chunks/pages/index-9ebad2ac6fcc0c57103b.js
new file mode 100644
index 0000000..3573dbe
--- /dev/null
+++ b/out/_next/static/chunks/pages/index-9ebad2ac6fcc0c57103b.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{20624:function(e,n,t){"use strict";t.r(n),t.d(n,{Graph:function(){return Xt},GraphPage:function(){return Gt},default:function(){return qt},getThemeColor:function(){return Kt},hexToRGBA:function(){return Yt},normalizeLinkEnds:function(){return Qt}});var r=t(30266),o=t(83789),i=t(92809),l=t(80318),s=t(809),c=t.n(s),a=t(97375),u=t(68527),d=t(47398),h=t(68921),g=t(105),f=t(27549),p=t(74376),x=t(52596),j=t(9008),b=t(67294),v=t(32802),m=t.n(v),y=t(47516),C=t(63750),O=t(22003),w=t(31122),k=t(7520),S=t(36194),N=[],I={};for(var P in S.oY)for(var D in S.oY[P]){var B=P+D;"LinearNone"===B&&(B="Linear"),N.push(B),I[B]=S.oY[P][D]}var L=I,T={enabled:!0,charge:-700,collision:!0,collisionStrength:20,centering:!0,centeringStrength:.2,linkStrength:.3,linkIts:1,alphaDecay:.05,alphaTarget:0,alphaMin:0,velocityDecay:.25,gravity:.3,gravityOn:!0,gravityLocal:!1},z={orphans:!1,dailies:!1,parent:"heading",filelessCites:!1,tagsBlacklist:[],tagsWhitelist:[],dirsBlocklist:[],dirsAllowlist:[],bad:!0,nodes:[],links:[],date:[],noter:!0},F={method:"degree"},E={particles:!1,particlesNumber:0,particlesWidth:4,arrows:!1,arrowsLength:1,arrowsPos:.5,arrowsColor:"",linkOpacity:.8,linkWidth:1,nodeRel:3,nodeOpacity:1,nodeResolution:12,labels:2,labelScale:1.5,labelFontSize:10,labelLength:40,labelWordWrap:25,labelLineSpace:1,labelDynamicDegree:8,labelDynamicStrength:.5,highlight:!0,highlightNodeSize:1.1,highlightLinkSize:.7,highlightFade:.8,highlightAnim:!0,animationSpeed:360,algorithmOptions:N,algorithmName:"CircularOut",linkColorScheme:"gray.500",nodeColorScheme:["red.500","gray.600","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","orange.500"],nodeHighlight:"purple.500",linkHighlight:"purple.500",backgroundColor:"white",emacsNodeColor:"gray.800",labelTextColor:"black",labelBackgroundColor:"",labelBackgroundOpacity:.7,citeDashes:!0,citeDashLength:35,citeGapLength:15,citeLinkColor:"gray.700",citeLinkHighlightColor:"",citeNodeColor:"black",refDashes:!0,refDashLength:35,refGapLength:15,refLinkColor:"gray.700",refLinkHighlightColor:"",refNodeColor:"black",nodeSizeLinks:.5,nodeZoomSize:1.2},R={follow:"zoom",localSame:"add",zoomPadding:200,zoomSpeed:2e3},Z={highlight:"hover",local:"double",follow:"never",context:"right",preview:"click",backgroundExitsLocal:!1},H={neighbors:1},W=["red.500","orange.500","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","white","gray.100","gray.200","gray.300","gray.400","gray.500","gray.600","gray.700","gray.800","gray.900","black"],A=t(57324),M=t(90232),V=t(52072);function _(e,n,t){t.send(JSON.stringify({command:e,data:n}))}function U(e,n){_("open",{id:e.id},n)}var q=t(10219),G=t(44592),X=t(38554),J=t.n(X),Q=t(53869),K=t(99860);function Y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function $(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Y(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ee={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]};var ne=function(e,n){return $($({},e),{},{delay:(0,G.hj)(n)?n:null===n||void 0===n?void 0:n.enter})},te=function(e,n){return $($({},e),{},{delay:(0,G.hj)(n)?n:null===n||void 0===n?void 0:n.exit})},re=t(85893),oe=["in","unmountOnExit","animateOpacity","startingSize","endingSize","dimension","style","className","transition","transitionEnd"];function ie(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function le(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ie(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ie(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var se=function(e){return null!=e&&parseInt(e.toString(),10)>0},ce={exit:{size:{duration:.2,ease:ee.ease},opacity:{duration:.3,ease:ee.ease}},enter:{size:{duration:.3,ease:ee.ease},opacity:{duration:.4,ease:ee.ease}}},ae={exit:function(e){var n,t,r=e.animateOpacity,o=e.startingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return le(le({},r&&{opacity:se(o)?1:0}),{},(t={overflow:"hidden"},(0,i.Z)(t,a,o),(0,i.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.exit),(0,i.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.exit)&&void 0!==n?n:te(ce.exit,c)),t))},enter:function(e){var n,t,r=e.animateOpacity,o=e.endingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return le(le({},r&&{opacity:1}),{},(t={},(0,i.Z)(t,a,o),(0,i.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.enter),(0,i.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.enter)&&void 0!==n?n:ne(ce.enter,c)),t))}},ue=b.forwardRef((function(e,n){var t=e.in,r=e.unmountOnExit,o=e.animateOpacity,i=void 0===o||o,s=e.startingSize,c=void 0===s?0:s,a=e.endingSize,u=void 0===a?"auto":a,d=e.dimension,h=void 0===d?"height":d,g=e.style,f=e.className,p=e.transition,x=e.transitionEnd,j=(0,q.Z)(e,oe),v=b.useState(!1),m=(0,l.Z)(v,2),y=m[0],C=m[1];b.useEffect((function(){var e=setTimeout((function(){C(!0)}));return function(){return clearTimeout(e)}}),[]),(0,G.ZK)({condition:Boolean(c>0&&r),message:"startingSize and unmountOnExit are mutually exclusive. You can't use them together"});var O=parseFloat(c.toString())>0,w={startingSize:c,endingSize:u,animateOpacity:i,dimension:h,transition:y?p:{enter:{duration:0}},transitionEnd:J()(x,{enter:{overflow:"initial"},exit:r?void 0:{display:O?"block":"none"}})},k=!r||t,S=t||r?"enter":"exit";return(0,re.jsx)(Q.M,{initial:!1,custom:w,children:k&&(0,re.jsx)(K.E.div,le(le({ref:n},j),{},{className:(0,G.cx)("chakra-collapse",f),style:le({overflow:"hidden",display:"block"},g),custom:w,variants:ae,initial:!!r&&"exit",animate:S,exit:"exit"}))})}));function de(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function he(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?de(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):de(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}G.Ts&&(ue.displayName="Collapse");var ge=function(e){var n=e.setTagColors,t=e.setFilter,r=e.filter,l=e.tagColors,s=e.target,c=r.tagsBlacklist,d=r.tagsWhitelist,h=c.indexOf(s)>-1,g=d.indexOf(s)>-1,f=(0,a.qY)();return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.sN,{icon:(0,re.jsx)(u.Box,{bgColor:l[s],borderRadius:"sm",height:3,width:3,borderColor:l[s]||"gray.600",borderWidth:1}),closeOnSelect:!1,onClick:f.onToggle,children:(0,re.jsx)(u.Text,{children:"Change color"})}),(0,re.jsx)(ue,{in:f.isOpen,children:(0,re.jsxs)(u.Flex,{ml:2,mt:2,flexWrap:"wrap",children:[(0,re.jsx)(u.Box,{children:(0,re.jsx)(u.Box,{tabIndex:0,cursor:"pointer",onClick:function(){return n((function(e){return Object.fromEntries(Object.keys(e).filter((function(e){return e!==s})).map((function(n){return[n,e[n]]})))}))},bgColor:"",m:1,borderRadius:"sm",borderColor:"gray.600",borderWidth:1,height:3,width:3})},"empty"),W.map((function(e){return(0,re.jsx)(u.Box,{children:(0,re.jsx)(u.Box,{tabIndex:0,cursor:"pointer",onClick:function(){return n(he(he({},l),{},(0,i.Z)({},s,e)))},bgColor:e,m:1,borderRadius:"sm",height:3,width:3})},e)}))]})}),!g&&(0,re.jsx)(A.sN,{onClick:function(){t(h?function(e){return he(he({},e),{},{tagsBlacklist:e.tagsBlacklist.filter((function(e){return e!==s}))})}:function(e){return he(he({},e),{},{tagsBlacklist:[].concat((0,o.Z)(e.tagsBlacklist),[s])})})},icon:h?(0,re.jsx)(V.MinusIcon,{}):(0,re.jsx)(V.ViewOffIcon,{}),children:h?"Remove from blocklist":"Add to blocklist"}),!h&&(0,re.jsx)(A.sN,{onClick:function(){t(g?function(e){return he(he({},e),{},{tagsWhitelist:e.tagsWhitelist.filter((function(e){return e!==s}))})}:function(e){return he(he({},e),{},{tagsWhitelist:[].concat((0,o.Z)(e.tagsWhitelist),[s])})})},icon:g?(0,re.jsx)(V.MinusIcon,{}):(0,re.jsx)(V.ViewIcon,{}),children:g?"Remove from allowlist":"Add to allowlist"})]})},fe=function(e){e.background;var n,t,r=e.target,o=(e.nodeType,e.coordinates),i=e.handleLocal,l=e.menuClose,s=e.scope,c=e.webSocket,d=e.setPreviewNode,g=e.setTagColors,f=e.tagColors,p=e.setFilter,x=e.filter,j=(0,a.qY)(),v=j.isOpen,m=j.onOpen,C=j.onClose;(0,b.useRef)();return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.v2,{defaultIsOpen:!0,closeOnBlur:!1,onClose:function(){return l()},children:(0,re.jsx)(A.qy,{zIndex:"overlay",bgColor:"white",color:"black",position:"absolute",left:o.left,top:o.top,right:o.right,bottom:o.bottom,fontSize:"xs",boxShadow:"xl",children:"string"!==typeof r?(0,re.jsxs)(re.Fragment,{children:[r&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(u.Heading,{size:"xs",isTruncated:!0,px:3,py:1,children:r.title}),(0,re.jsx)(A.R,{borderColor:"gray.500"})]}),0!==s.nodeIds.length&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.sN,{onClick:function(){return i(r,"add")},icon:(0,re.jsx)(V.PlusSquareIcon,{}),children:"Expand local graph at node"}),(0,re.jsx)(A.sN,{onClick:function(){return i(r,"replace")},icon:(0,re.jsx)(y.DvO,{}),children:"Open local graph for this node"}),(0,re.jsx)(A.sN,{onClick:function(){return i(r,"remove")},icon:(0,re.jsx)(V.MinusIcon,{}),children:"Exclude node from local graph"})]}),null!==r&&void 0!==r&&null!==(n=r.properties)&&void 0!==n&&n.FILELESS?(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.AddIcon,{}),onClick:function(){return function(e,n){_("create",{id:e.id,title:e.title,ref:e.properties.ROAM_REFS},n)}(r,c)},children:"Create node"}):(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.EditIcon,{}),onClick:function(){return U(r,c)},children:"Open in Emacs"}),(null===r||void 0===r||null===(t=r.properties)||void 0===t?void 0:t.ROAM_REFS)&&(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.ExternalLinkIcon,{}),children:"Open in Zotero"}),0===s.nodeIds.length&&(0,re.jsx)(A.sN,{icon:(0,re.jsx)(y.DvO,{}),onClick:function(){return i(r,"replace")},children:"Open local graph"}),(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.ViewIcon,{}),onClick:function(){d(r)},children:"Preview"}),0===(null===r||void 0===r?void 0:r.level)&&(0,re.jsx)(A.sN,{closeOnSelect:!1,icon:(0,re.jsx)(V.DeleteIcon,{color:"red.500"}),color:"red.500",onClick:m,children:"Permanently delete note"})]}):(0,re.jsx)(ge,{target:r,tagColors:f,filter:x,setTagColors:g,setFilter:p})})}),"string"!==typeof r&&(0,re.jsxs)(M.u_,{isCentered:!0,isOpen:v,onClose:C,children:[(0,re.jsx)(M.ZA,{}),(0,re.jsxs)(M.hz,{zIndex:"popover",children:[(0,re.jsx)(M.xB,{children:"Delete node?"}),(0,re.jsx)(M.ol,{}),(0,re.jsx)(M.fe,{children:(0,re.jsxs)(u.VStack,{spacing:4,display:"flex",alignItems:"flex-start",children:[(0,re.jsx)(u.Text,{children:"This will permanently delete your note:"}),(0,re.jsx)(u.Text,{fontWeight:"bold",children:null===r||void 0===r?void 0:r.title}),0!==(null===r||void 0===r?void 0:r.level)&&(0,re.jsx)(u.Text,{children:"This will only delete the from this heading until but not including the next node. Your parent file and all other nodes will not be deleted."}),(0,re.jsx)(u.Text,{children:"Are you sure you want to do continue?"})]})}),(0,re.jsxs)(M.mz,{children:[(0,re.jsx)(h.Button,{mr:3,onClick:function(){console.log("closing"),C(),l()},children:"Cancel"}),(0,re.jsx)(h.Button,{variant:"link",colorScheme:"red",ml:3,onClick:function(){console.log("aaaaa"),function(e,n){0===e.level&&_("delete",{id:e.id,file:e.file},n)}(r,c),C(),l()},children:"Delete node"})]})]})]})]})},pe=t(5434),xe=t(51649),je=function(e){var n=e.setJustification,t=(e.setIndent,e.setFont,e.justification),r=(e.setPreviewNode,e.canUndo),o=e.canRedo,i=(e.resetPreviewNode,e.previousPreviewNode),l=e.nextPreviewNode,s=e.outline,c=e.setOutline,a=e.collapse,g=e.setCollapse;return(0,re.jsxs)(u.Flex,{flex:"0 1 40px",pb:3,alignItems:"center",justifyContent:"space-between",pr:1,children:[(0,re.jsx)(u.Flex,{children:(0,re.jsxs)(h.ButtonGroup,{isAttached:!0,children:[(0,re.jsx)(d.u,{label:"Go backward",children:(0,re.jsx)(h.IconButton,{_focus:{},variant:"subtle",icon:(0,re.jsx)(V.ChevronLeftIcon,{}),"aria-label":"Previous node",disabled:!r,onClick:function(){return i()}})}),(0,re.jsx)(d.u,{label:"Go forward",children:(0,re.jsx)(h.IconButton,{_focus:{},variant:"subtle",icon:(0,re.jsx)(V.ChevronRightIcon,{}),"aria-label":"Next node",disabled:!o,onClick:function(){return l()}})})]})}),(0,re.jsxs)(u.Flex,{children:[(0,re.jsx)(d.u,{label:"Justify content",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Justify content",icon:[(0,re.jsx)(y.v9V,{},"justify"),(0,re.jsx)(y.YSr,{},"left"),(0,re.jsx)(y.RXA,{},"right"),(0,re.jsx)(y.tr_,{},"center")][t],onClick:function(){return n((function(e){return(e+1)%4}))}})}),(0,re.jsx)(d.u,{label:"Toggle outline view",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Justify content",icon:s?(0,re.jsx)(xe.XQM,{}):(0,re.jsx)(xe.JfF,{}),onClick:function(){return c((function(e){return!e}))}})}),(0,re.jsx)(d.u,{label:"Toggle headers",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Toggle headers",icon:a?(0,re.jsx)(pe.omV,{}):(0,re.jsx)(pe.egf,{}),onClick:function(){return g((function(e){return!e}))}})})]})]})},be=t(96356);function ve(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function me(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ve(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ve(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ye=function(e){var n,t,r,i=e.filter,l=e.setFilter,s=e.tagColors,c=(e.setTagColors,e.openContextMenu),a=e.previewNode;return null!==a&&void 0!==a&&a.tags&&null!==(null===a||void 0===a||null===(n=a.tags)||void 0===n?void 0:n[0])?(0,re.jsx)(u.Flex,{mb:2,flexWrap:"wrap",children:null===a||void 0===a||null===(t=a.tags)||void 0===t||null===(r=t.map)||void 0===r?void 0:r.call(t,(function(e){var n,t,r,a=null!==(n=i.tagsBlacklist)&&void 0!==n?n:[],u=null!==(t=i.tagsWhitelist)&&void 0!==t?t:[],d=a.includes(e),h=u.includes(e);return(0,re.jsxs)(be.Tag,{tabIndex:0,mr:2,mt:2,onContextMenu:function(n){n.preventDefault(),c(e,n)},cursor:"pointer",onClick:function(){l(d?function(n){return me(me({},n),{},{tagsBlacklist:n.tagsBlacklist.filter((function(n){return n!==e})),tagsWhitelist:[].concat((0,o.Z)(n.tagsWhitelist),[e])})}:h?function(n){return me(me({},n),{},{tagsWhitelist:n.tagsWhitelist.filter((function(n){return n!==e}))})}:function(n){return me(me({},n),{},{tagsBlacklist:[].concat((0,o.Z)(n.tagsBlacklist),[e])})})},size:"sm",variant:"outline",colorScheme:(null===(r=s[e])||void 0===r?void 0:r.replaceAll(/(.*?)\..*/g,"$1"))||void 0,children:[(0,re.jsx)(be.TagLabel,{children:e}),d?(0,re.jsx)(be.TagRightIcon,{as:V.ViewOffIcon}):h?(0,re.jsx)(be.TagRightIcon,{as:V.ViewIcon}):null]},e)}))}):null},Ce=t(18835),Oe=t.n(Ce),we=t(13816),ke=t.n(we),Se=t(42728),Ne=t.n(Se),Ie=t(77890),Pe=t.n(Ie),De=t(94986),Be=t.n(De),Le=t(88541),Te=t.n(Le),ze=t(71167),Fe=t.n(ze),Ee=(t(85062),t(27431)),Re=t.n(Ee),Ze=t(12861),He=t.n(Ze),We=t(10043),Ae=t.n(We),Me=t(80816),Ve=t(93545),_e=t.n(Ve),Ue=t(15941),qe=t.n(Ue),Ge=t(67597),Xe=t.n(Ge),Je=t(44549),Qe=t.n(Je),Ke=t(78818),Ye=t.n(Ke),$e=t(32095),en=t(46871),nn=t(29356),tn={".headingFlex":{flexDirection:"row-reverse",justifyContent:"flex-end"},".outlineHeadingButton":{display:"none"},h1:{color:"black",lineHeight:"1.2",fontSize:"16",fontWeight:"bold",paddingTop:2},h2:{fontSize:"14",color:"black",fontWeight:"bold",fontStyle:"bold italic",paddingTop:2},h3:{fontSize:"13",color:"black",paddingTop:2},h4:{fontSize:"12",fontStyle:"italic",color:"black",paddingTop:2},".sectionContent":{paddingTop:2}},rn={".headingFlex":{flexDirection:"row",justifyContent:"flex-start"},".viewerHeadingButton":{display:"none"},".sectionContent":{mt:3,paddingLeft:4,ml:"11px",borderLeftWidth:"1px",borderLeftColor:"gray.500"},".preHeadingContent":{},"h1,h2,h3,h4,h5,h6,h7,h8":{pl:1,lineHeight:"1.25",color:"black",fontSize:15,fontWeight:700},".sec":{pt:1},".wrapClass > div > p":{mb:2},p:{fontWeight:500,fontSize:14,pb:2}},on={".katex":{overflowX:"scroll"},ol:{paddingLeft:4,py:1},"li::marker":{fontSize:12,fontWeight:"bold"},li:{pt:1},ul:{paddingLeft:"5"},p:{fontSize:"14",fontWeight:"500 !important",pb:2},div:{hyphens:"auto !important"},".title":{textAlign:"center",marginBottom:".2em"},".subtitle":{textAlign:"center",fontSize:"medium",fontWeight:"bold",marginTop:0},".TODO":{color:"red.500"},".equationContainer":{display:"table",textAlign:"center",width:"100%"},".equation":{verticalAlign:"middle"},".equation-label":{display:"tableCell",textAlign:"right",verticalAlign:"middle"},".inlinetask":{padding:"10px",border:"2px solid gray",margin:"10px",background:"#ffffcc"},"#org-div-home-and-up":{textAlign:"right",fontSize:"70 % ",whiteSpace:"nowrap"},textarea:{overflowX:"auto"},".linenr":{fontSize:"smaller"},".org-info-js_info-navigation":{borderStyle:"none"},"#org-info-js_console-label":{fontSize:"10px",fontWeight:"bold",whiteSpace:"nowrap"},".org-info-js_search-highlight":{backgroundColor:"#ffff00",color:"#000000",fontWeight:"bold"},".org-svg":{width:"90%"},".DONE":{color:"green"},".priority":{fontFamily:"monospace",color:"orange"},".tag":{backgroundColor:"white",fontFamily:"monospace",padding:"2px",fontSize:"80%",fontWeight:"normal"},".timestamp":{color:"#bebebe"},".timestamp-kwd":{color:"#5f9ea0"},".org-right":{marginLeft:"auto",marginRight:"0px",textAlign:"right"},".org-left":{marginLeft:"0px",marginRight:"auto",textAlign:"left"},".org-center":{marginLeft:"auto",marginRight:"auto",textAlign:"center"},".underline":{textDecoration:"underline"},"#postamble p":{fontSize:"90%",margin:".2em"},"#preamble p":{fontSize:"90%",margin:".2em"},"p.verse":{marginLeft:"3%"},pre:{borderRadius:"3px",backgroundColor:"white",padding:"8pt",fontFamily:"monospace",overflow:"auto",margin:"1.2em"},"pre.src":{position:"relative",overflow:"auto"},"pre.src:before":{display:"none",position:"absolute",top:"-8px",right:"12px",padding:"3px",backgroundColor:"white"},"caption.t-above":{captionSide:"top"},"caption.t-bottom":{captionSide:"bottom"},"th.org-right":{textAlign:"center"},"th.org-left":{textAlign:"center"},"th.org-center":{textAlign:"center"},"td.org-right":{textAlign:"right"},"td.org-left":{textAlign:"left"},"td.org-center":{textAlign:"center"},".footpara":{display:"inline"},".footdef":{marginBottom:"1em"},".figure":{padding:"1em"},".figure p":{textAlign:"center"}},ln=t(86658),sn=["style"];function cn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function an(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?cn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var un=function(e){var n=e.noUnderline,t=e.id,r=e.setSidebarHighlightedNode,o=e.setPreviewNode,i=e.nodeById,l=e.openContextMenu,s=e.href,c=e.children,a=e.isWiki,d=(0,b.useContext)(nn.N).highlightColor,h=Kt(d,(0,g.Fg)()),f=(s.replaceAll(/(.*?)\:?.*/g,"$1"),s.replaceAll(/.*?\:(.*)/g,"$1")),p=null!==t&&void 0!==t?t:f,x=a?"[[".concat(c,"]]"):c;return(0,re.jsx)(u.Text,{as:"a",onMouseEnter:function(){return r(i[p])},onMouseLeave:function(){return r({})},tabIndex:0,display:"inline",overflow:"hidden",fontWeight:500,color:d,textDecoration:n?void 0:"underline",onContextMenu:function(e){e.preventDefault(),l(i[f],e)},onClick:function(){return o(i[f])},_hover:{textDecoration:"none",cursor:"pointer",bgColor:h+"22"},_focus:{outlineColor:d},children:x})},dn=function(e){var n=e.href,t=e.children,r=(0,b.useContext)(nn.N).highlightColor;return(0,re.jsxs)(u.Link,{color:r,isExternal:!0,href:n,children:[t,(0,re.jsx)(V.ExternalLinkIcon,{mx:"1px",pb:"2px"})]})},hn=function(e){var n,t=e.href,r=e.children,o=e.nodeById,i=e.setSidebarHighlightedNode,l=e.previewNode,s=e.setPreviewNode,c=e.nodeByCite,a=e.openContextMenu,d=e.outline,h=e.noUnderline,g=e.linksByNodeId,f=e.isWiki,p=e.macros,x=e.attachDir,j=(0,b.useState)(null),v=j[0],m=j[1],y=(0,b.useState)(!1),C=y[0],O=y[1],w=t.replaceAll(/(.*?)\:.*/g,"$1"),k=d?rn:tn;console.log(l);if((0,b.useEffect)((function(){w.replaceAll(/(http)?.*/g,"$1")||v||C&&fetch("http://localhost:35901/node/".concat(B)).then((function(e){return e.text()})).then((function(e){"error"===e||m(e)})).catch((function(e){return console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[C,v]),!w)return(0,re.jsx)(u.Text,{color:"gray.700",children:r});if(w.replaceAll(/(http)?.*/g,"$1"))return(0,re.jsx)(dn,{href:t,children:r});var S,N,I,P,D=t.replaceAll(/.*?\:(.*)/g,"$1"),B=function(e,n){if("id"===e)return n;if(e.includes("cite")){var t,r=null!==(t=c[n])&&void 0!==t&&t;return r?null!==r&&void 0!==r&&r.properties.FILELESS?"":null===r||void 0===r?void 0:r.id:""}return""}(w,D);encodeURIComponent(encodeURIComponent(null===(n=o[B])||void 0===n?void 0:n.file));return B?(0,re.jsx)(re.Fragment,{children:(0,re.jsxs)($e.J2,{gutter:12,trigger:"hover",placement:"top-start",children:[(0,re.jsx)($e.xo,{children:(0,re.jsx)(u.Box,{display:"inline",onMouseEnter:function(){return O(!0)},onMouseLeave:function(){return O(!1)},children:(0,re.jsx)(un,{id:B,setSidebarHighlightedNode:i,setPreviewNode:s,nodeById:o,href:t,children:r,nodeByCite:c,openContextMenu:a,noUnderline:h,isWiki:f},null!==(S=null===(N=o[B])||void 0===N?void 0:N.title)&&void 0!==S?S:B)})}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)($e.yk,{transform:"scale(1)",boxShadow:"xl",position:"relative",zIndex:"tooltip",onMouseEnter:function(){var e;i(null!==(e=o[B])&&void 0!==e?e:{})},onMouseLeave:function(){i({})},children:[(0,re.jsx)($e.QH,{}),(0,re.jsx)($e.b,{pb:5,fontSize:"xs",position:"relative",zIndex:"tooltip",transform:"scale(1)",width:"100%",children:(0,re.jsx)(ln.$B,{autoHeight:!0,autoHeightMax:300,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,sn);return(0,re.jsx)(u.Box,an({style:an(an({},n),{},{borderRadius:0})},t))},children:(0,re.jsx)(u.Box,{w:"100%",color:"black",px:3,sx:an(an({},on),k),children:(0,re.jsx)(Cn,{previewText:v,nodeById:o,setSidebarHighlightedNode:i,setPreviewNode:s,nodeByCite:c,openContextMenu:a,outline:d,linksByNodeId:g,macros:p,attachDir:x,previewNode:o[B],collapse:!1})})})})]},null!==(I=null===(P=o[B])||void 0===P?void 0:P.title)&&void 0!==I?I:B)})]})}):(0,re.jsx)(u.Text,{as:"span",display:"inline",className:t,color:"base.700",cursor:"not-allowed",children:r})},gn=t(25675),fn=t(62520),pn=t.n(fn),xn=function(e){var n=e.src,t=e.file,r=(0,b.useState)(null);r[0],r[1];if(n.replaceAll(/(http)?.*/g,"$1"))return console.log(n.replaceAll(/(http)?.*/g,"$1")),(0,re.jsx)(gn.default,{layout:"responsive",loader:function(e){var n=e.src;return e.width,e.quality,"".concat(n)},src:n,alt:"",width:"auto",height:"auto"});var o=n.replaceAll(/file:/g,""),i=pn().dirname(t),l=pn().isAbsolute(o)||"~"===o.slice(0,1)?o:pn().join(i,o),s=encodeURIComponent(encodeURIComponent(l));return(0,re.jsx)(u.Container,{my:4,position:"relative",children:(0,re.jsx)("img",{alt:"Wow, an image.",src:"http://localhost:35901/img/".concat(s)})})},jn=t(14578),bn=(0,b.createContext)({outline:!1,collapse:!0}),vn=function(e){var n=e.children,t=e.className,r=(0,b.useState)(!0),o=r[0],i=r[1],l=(0,b.useContext)(bn).collapse;if((0,b.useEffect)((function(){i(!l)}),[l]),"h0Wrapper headingWrapper"===t)return(0,re.jsxs)(u.Box,{className:"preHeadingContent",children:[" ",n]});var s=n;return(0,re.jsxs)(u.Box,{className:"sec",children:[(0,re.jsx)(u.Box,{display:"block",children:(0,re.jsxs)(u.Flex,{className:"headingFlex",alignItems:"baseline",children:[o&&s.length>0?(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(h.IconButton,{className:"viewerHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,re.jsx)(V.ChevronUpIcon,{}),onClick:function(){return i(!o)},height:2,width:2}),(0,re.jsx)(h.IconButton,{className:"outlineHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,re.jsx)(jn.zOz,{}),onClick:function(){return i(!o)},height:2,width:2})]}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(h.IconButton,{className:"viewerHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,re.jsx)(V.ChevronDownIcon,{}),onClick:function(){return i(!o)}}),(0,re.jsx)(h.IconButton,{className:"outlineHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,re.jsx)(jn.O6Y,{}),onClick:function(){return i(!o)}})]}),s[0]]})}),o&&(0,re.jsx)(u.Box,{className:"sectionContent",children:s.slice(1)})]})};function mn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function yn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Cn=function(e){var n,t,r=e.nodeById,o=e.setSidebarHighlightedNode,l=e.setPreviewNode,s=e.previewText,c=e.nodeByCite,a=e.previewNode,d=e.openContextMenu,h=e.outline,g=e.collapse,f=e.linksByNodeId,p=e.macros,x=e.attachDir;if(!a||!f)return null;var j=Oe()().use(ke()).use(Be()).use(Te(),{idDir:x||void 0}).use(Pe()).use(Ne(),{useSections:!0}),v=(null===(n=f[null===a||void 0===a?void 0:a.id])||void 0===n?void 0:n.reduce((function(e,n){var t=Qt(n).filter((function(e){return e!==a.id})).join("");return yn(yn({},e),{},(0,i.Z)({},t,r[t]))}),{}))||{},m=Object.entries(v),y=Oe()().use(He()).use(qe(),["yaml"]).use(Xe()).use(Me.Z,{permaLinks:Object.keys(v),pageResolver:function(e){var n,t=m.find((function(n){var t;return(null===n||void 0===n||null===(t=n[1])||void 0===t?void 0:t.title)===e}));return[null!==(n=null===t||void 0===t?void 0:t[0])&&void 0!==n?n:""]},hrefTemplate:function(e){return"id:".concat(e)}}).use(Qe()).use(_e()).use(Ae()).use(Ye()),C=".md"===(null===a||void 0===a||null===(t=a.file)||void 0===t?void 0:t.slice(-3)),O=C?y:j;console.log(p);var w=(0,b.useMemo)((function(){return O.use(Fe(),{trust:function(e){return["\\htmlId","\\href"].includes(e.command)},macros:yn({"\\eqref":"\\href{###1}{(\\text{#1})}","\\ref":"\\href{###1}{\\text{#1}}","\\label":"\\htmlId{#1}{}"},p)}).use(Re(),{createElement:b.createElement,components:{a:function(e){var n=e.children,t=e.href;return(0,re.jsx)(hn,{nodeByCite:c,setSidebarHighlightedNode:o,href:"".concat(t),nodeById:r,linksByNodeId:f,setPreviewNode:l,openContextMenu:d,outline:h,previewNode:a,isWiki:C,macros:p,attachDir:x,children:n})},img:function(e){var n=e.src;return(0,re.jsx)(xn,{src:n,file:null===a||void 0===a?void 0:a.file})},section:function(e){var n=e.children,t=e.className;return console.log(t),console.log(a.level),t&&t.slice(-1)==="".concat(a.level)?(0,re.jsx)(u.Box,{children:n.slice(1)}):(0,re.jsx)(vn,{outline:h,collapse:g,className:t,children:n})},p:function(e){var n=e.children;return(0,re.jsx)("p",{lang:"en",children:n})}}})}),[null===a||void 0===a?void 0:a.id]),k=(0,b.useMemo)((function(){return w.processSync(s).result}),[s]);return(0,re.jsx)(bn.Provider,{value:{collapse:g,outline:h},children:k})},On=function(e){var n=e.openContextMenu,t=e.setSidebarHighlightedNode,r=e.nodeById,o=e.nodeByCite,i=e.previewNode,l=e.setPreviewNode,s=e.outline,c=e.collapse,a=e.linksByNodeId,u=e.macros,d=e.attachDir,h=(0,b.useState)(""),g=h[0],f=h[1],p=encodeURIComponent(encodeURIComponent(i.id));return(0,b.useEffect)((function(){fetch("http://localhost:35901/node/".concat(p)).then((function(e){return e.text()})).then((function(e){if(""===e)return"(empty node)";"error"!==e&&(console.log(e),f(e))})).catch((function(e){return f("(could not find node)"),console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[i.id]),(0,re.jsx)(re.Fragment,{children:g&&i&&(0,re.jsx)(Cn,{nodeById:r,previewNode:i,setPreviewNode:l,previewText:g,nodeByCite:o,setSidebarHighlightedNode:t,openContextMenu:n,outline:s,collapse:c,linksByNodeId:a,attachDir:d,macros:u||{}})})},wn=function(e){var n,t=e.previewNode,r=e.setPreviewNode,o=e.setSidebarHighlightedNode,i=e.nodeById,s=e.linksByNodeId,c=e.nodeByCite,a=e.openContextMenu,d=e.outline,h=e.macros,g=e.attachDir,f=(null!==(n=s[null===t||void 0===t?void 0:t.id])&&void 0!==n?n:[]).filter((function(e){var n=Qt(e),r=(0,l.Z)(n,2),o=r[0];r[1];return o!==(null===t||void 0===t?void 0:t.id)})).map((function(e){return e.source}));return(0,re.jsxs)(u.Box,{className:"backlinks",borderRadius:"sm",mt:6,p:4,bg:"white",mb:10,children:[(0,re.jsx)("p",{style:{fontSize:16,fontWeight:600},children:"Linked references (".concat(f.length,")")}),(0,re.jsx)(u.VStack,{py:2,spacing:3,alignItems:"start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(null===t||void 0===t?void 0:t.id)&&f.map((function(e){var n,l,f;n=null===(l=i[e])||void 0===l?void 0:l.title;return(0,re.jsx)(u.Box,{overflow:"hidden",py:1,borderRadius:"sm",width:"100%",children:(0,re.jsx)(hn,{linksByNodeId:s,nodeByCite:c,setSidebarHighlightedNode:o,href:"id:".concat(e),nodeById:i,previewNode:t,setPreviewNode:r,openContextMenu:a,outline:d,noUnderline:!0,attachDir:g,macros:h,children:null===(f=i[e])||void 0===f?void 0:f.title})},e)}))})]})};function kn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Sn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?kn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Nn=function(e){var n=e.setPreviewNode,t=e.justificationList,r=e.justification,o=e.previewNode,i=e.nodeById,l=e.nodeByCite,s=e.setSidebarHighlightedNode,c=e.linksByNodeId,a=e.openContextMenu,d=e.outline,h=e.collapse,g=e.macros,f=e.attachDir,p=d?rn:tn;return(0,re.jsx)(u.Box,{pr:8,pt:2,height:"100%",className:"org",sx:Sn(Sn(Sn({},on),p),{},{textAlign:t[r]}),children:(null===o||void 0===o?void 0:o.id)&&(0,re.jsxs)(u.Flex,{className:"wrapClass",height:"100%",flexDirection:"column",justifyContent:"space-between",children:[(0,re.jsx)(On,{setPreviewNode:n,previewNode:o,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:d,collapse:h,nodeById:i,linksByNodeId:c,macros:g,attachDir:f}),(0,re.jsx)(wn,{setPreviewNode:n,previewNode:o,nodeById:i,linksByNodeId:c,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:d,attachDir:f,macros:g||{}})]})})},In=function(e){var n=e.previewNode;return(0,re.jsx)(u.Flex,{maxW:"90%",children:(0,re.jsx)(u.Heading,{lineHeight:1.2,size:"md",fontWeight:600,pt:4,children:null===n||void 0===n?void 0:n.title})})},Pn=t(29119);function Dn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Dn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Ln(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Tn(e,null!==(t=r.storage)&&void 0!==t?t:localStorage),i=o.get(),l=void 0!==i?i:n,s=null!=i&&"object"===typeof i&&!1===Array.isArray(i)?Bn(Bn({},n),i):l;s!==i&&o.update(s);var c=(0,b.useState)(s),a=c[0],u=c[1];(0,b.useEffect)((function(){a!==s&&u(s)}),[e]);var d=function(e){e instanceof Function?u((function(n){var t=e(n);return o.update(t),t})):(u(e),o.update(e))};return[a,d]}function Tn(e,n){return{get:function(){var t=n.getItem(e);if(t&&"undefined"!==t)return JSON.parse(t)},update:function(t){n.setItem(e,JSON.stringify(t))},remove:function(){n.removeItem(e)}}}var zn=["style"];function Fn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function En(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Fn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Rn=function(e){var n=e.isOpen,t=e.onOpen,r=e.onClose,o=e.previewNode,i=e.setPreviewNode,s=e.nodeById,c=e.linksByNodeId,a=e.nodeByCite,d=e.setSidebarHighlightedNode,g=e.canUndo,f=e.canRedo,p=e.resetPreviewNode,x=e.previousPreviewNode,j=e.nextPreviewNode,v=e.openContextMenu,m=(e.scope,e.setScope,e.windowWidth),C=e.filter,O=e.setFilter,w=e.tagColors,k=e.setTagColors,S=e.macros,N=e.attachDir,I=((0,b.useContext)(nn.N).highlightColor,(0,b.useState)()),P=I[0],D=I[1],B=Ln("sidebarWidth",400),L=(0,l.Z)(B,2),T=L[0],z=L[1];(0,b.useEffect)((function(){null!==o&&void 0!==o&&o.id?(t(),D(o)):r()}),[null===o||void 0===o?void 0:o.id]);var F=Ln("justification",1),E=(0,l.Z)(F,2),R=E[0],Z=E[1],H=Ln("outline",!1),W=(0,l.Z)(H,2),A=W[0],M=W[1],V=(0,b.useState)("sans serif"),_=(V[0],V[1]),U=(0,b.useState)(0),G=(U[0],U[1]),X=(0,b.useState)(!1),J=X[0],Q=X[1];return(0,re.jsx)(ue,{animateOpacity:!1,dimension:"width",in:n,unmountOnExit:!0,startingSize:0,style:{height:"100vh"},children:(0,re.jsx)(Pn.e,{size:{height:"100vh",width:T},onResizeStop:function(e,n,t,r){z((function(e){return e+r.width}))},enable:{top:!1,right:!1,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},minWidth:"220px",maxWidth:m-200,children:(0,re.jsxs)(u.Flex,{flexDir:"column",h:"100vh",pl:2,color:"black",bg:"alt.100",width:"100%",children:[(0,re.jsxs)(u.Flex,{pl:2,alignItems:"center",color:"black",width:"100%",children:[(0,re.jsx)(u.Flex,{pt:1,flexShrink:0,children:(0,re.jsx)(je,{setJustification:Z,setIndent:G,setFont:_,justification:R,setPreviewNode:i,canUndo:g,canRedo:f,resetPreviewNode:p,previousPreviewNode:x,nextPreviewNode:j,outline:A,setOutline:M,collapse:J,setCollapse:Q})}),(0,re.jsx)(u.Flex,{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",onContextMenu:function(e){e.preventDefault(),v(o,e)}}),(0,re.jsx)(u.Flex,{flexDir:"row",ml:"auto",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(y.T41,{}),"aria-label":"Options",variant:"subtle",onClick:function(e){v(o,e,{left:void 0,top:12,right:20-m,bottom:void 0})}})})]}),(0,re.jsx)(ln.$B,{autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,zn);return(0,re.jsx)(u.Box,En({style:En(En({},n),{},{borderRadius:0})},t))},children:P&&(0,re.jsxs)(u.VStack,{flexGrow:1,alignItems:"left",bg:"alt.100",paddingLeft:4,children:[(0,re.jsx)(In,{previewNode:P}),(0,re.jsx)(ye,{filter:C,setFilter:O,tagColors:w,setTagColors:k,openContextMenu:v,previewNode:o}),(0,re.jsx)(Nn,{setPreviewNode:i,previewNode:o,nodeById:s,nodeByCite:a,setSidebarHighlightedNode:d,justification:R,justificationList:["justify","start","end","center"],linksByNodeId:c,openContextMenu:v,outline:A,setOutline:M,collapse:J,macros:S,attachDir:N})]})})]})})})},Zn=t(94090),Hn=t(88696),Wn=t(47647);function An(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?An(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):An(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Vn=function(e){var n,t=e.filter,r=e.listName,o=e.labelFilter,l=e.displayName,s=e.setFilter,c=e.options,a=void 0===c?[]:c,u=(0,b.useContext)(nn.N).highlightColor,d=(null===a||void 0===a?void 0:a.map((function(e){return{value:e,label:o?e.replace(o,""):e}})))||[],h=(0,b.useState)((null===(n=t[r])||void 0===n?void 0:n.map((function(e){return{value:e,label:o?null===e||void 0===e?void 0:e.replace(o,""):e}})))||[]),g=h[0],f=h[1];return(0,re.jsx)(Wn.CUIAutoComplete,{labelStyleProps:{fontWeight:300,fontSize:14},items:d,label:"Add tag to ".concat(l),placeholder:" ",onCreateItem:function(e){return null},disableCreateItem:!0,selectedItems:g,onSelectedItemsChange:function(e){e.selectedItems&&(f(e.selectedItems),s(Mn(Mn({},t),{},(0,i.Z)({},r,e.selectedItems.map((function(e){return e.value}))))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{mt:2,height:8,focusBorderColor:u,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{justifyContent:"flex-start",fontSize:10,borderColor:u,borderWidth:1,borderRadius:"md",color:u,bg:"",height:4,mb:2},hideToggleButton:!0,itemRenderer:function(e){return e.label}})};function _n(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Un(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_n(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_n(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var qn=function(e){var n=e.colorList,t=e.tagColors,r=e.setTagColors,o=e.highlightColor,l=e.tags.map((function(e){return{value:e,label:e}})),s=(0,b.useState)(Object.keys(t).map((function(e){return{value:e,label:e}}))),c=s[0],a=s[1];return(0,re.jsxs)(u.Box,{children:[(0,re.jsx)(Wn.CUIAutoComplete,{items:l,labelStyleProps:{fontWeight:300,fontSize:14},label:"Add tag to color",placeholder:" ",disableCreateItem:!0,selectedItems:c,onSelectedItemsChange:function(e){e.selectedItems&&(a(Array.from(new Set(e.selectedItems))),r(Object.fromEntries(Array.from(new Set(e.selectedItems)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{height:8,focusBorderColor:o,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{display:"none",rounded:"full",bg:o,height:8,paddingLeft:4,fontWeight:"bold"},hideToggleButton:!0,itemRenderer:function(e){return e.label}}),(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:Object.keys(t).map((function(e){return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",width:"100%",pl:2,children:[(0,re.jsx)(u.Box,{width:"100%",children:(0,re.jsx)(u.Text,{children:e})}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",children:(0,re.jsx)(u.Box,{bgColor:t[e],borderRadius:"sm",height:6,width:6})}),(0,re.jsx)(en.h_,{children:(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:n.map((function(n){return(0,re.jsx)(A.sN,{onClick:function(){return r(Un(Un({},t),{},(0,i.Z)({},e,n)))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:n,borderRadius:"sm",height:6,width:6})},n)}))})})]}),(0,re.jsx)(h.IconButton,{"aria-label":"Delete tag color",variant:"ghost",icon:(0,re.jsx)(V.DeleteIcon,{}),onClick:function(){r(Object.fromEntries(Array.from(new Set(c)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))),a(c.filter((function(n){return n.value!==e})))}})]},e)}))})]})},Gn=t(80918),Xn=function(e){var n=e.infoText;return(0,re.jsx)(u.Box,{paddingLeft:"1",children:(0,re.jsx)(d.u,{label:n,placement:"top",color:"gray.100",bg:"gray.800",hasArrow:!0,children:(0,re.jsx)(V.InfoOutlineIcon,{})})})},Jn=["min","max","step","value"],Qn=function(e){var n=e.min,t=void 0===n?0:n,r=e.max,o=void 0===r?10:r,i=e.step,l=void 0===i?.1:i,s=e.value,c=void 0===s?1:s,a=(0,q.Z)(e,Jn),h=a.onChange,g=a.label,f=a.infoText,p=(0,b.useContext)(nn.N).highlightColor;return(0,re.jsxs)(u.Box,{pt:1,pb:2,children:[(0,re.jsxs)(u.Box,{display:"flex",alignItems:"flex-end",mb:2,children:[(0,re.jsx)(u.Text,{children:g}),f&&(0,re.jsx)(Xn,{infoText:f})]}),(0,re.jsxs)(Gn.iR,{value:c,onChange:h,min:t,max:o,step:l,children:[(0,re.jsx)(Gn.Uj,{children:(0,re.jsx)(Gn.Ms,{})}),(0,re.jsx)(d.u,{bg:p,label:c.toFixed(1),children:(0,re.jsx)(Gn.gs,{bg:"white"})})]})]},g)},Kn=(0,b.createContext)({subDirs:["dailies",".attach"],attachDir:".attach",roamDir:"~/org",dailyDir:"dailies"});function Yn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function $n(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Yn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var et=function(e){var n=e.filter,t=e.setFilter,r=e.local,o=e.setLocal,i=e.tagColors,l=e.setTagColors,s=e.highlightColor,c=e.colorList,a=e.tags,d=(0,b.useContext)(Kn),g=d.roamDir,f=d.subDirs;return(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Link children to"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",size:"sm",children:function(){switch(n.parent){case"parent":return(0,re.jsx)(u.Text,{children:"File"});case"heading":return(0,re.jsx)(u.Text,{children:"Heading"});default:return(0,re.jsx)(u.Text,{children:"Nothing"})}}()}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return $n($n({},e),{},{parent:""})}))},children:"Nothing"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return $n($n({},e),{},{parent:"parent"})}))},children:"Parent file node"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return $n($n({},e),{},{parent:"heading"})}))},children:"Next highest heading node"})]})})]})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Orphans"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return $n($n({},e),{},{orphans:!e.orphans})}))},isChecked:n.orphans})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Dailies"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return $n($n({},e),{},{dailies:!e.dailies})}))},isChecked:n.dailies})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Org-noter pages"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return $n($n({},e),{},{noter:!e.noter})}))},isChecked:n.noter})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Citations without note files"}),(0,re.jsx)(Hn.r,{onChange:function(){t($n($n({},n),{},{filelessCites:!n.filelessCites}))},isChecked:n.filelessCites})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Non-existent nodes"}),(0,re.jsx)(Hn.r,{onChange:function(){l($n($n({},i),{},{bad:"white"})),t($n($n({},n),{},{bad:!n.bad}))},isChecked:n.bad})]}),(0,re.jsx)(Qn,{label:"Number of neighbors in local graph",value:r.neighbors,onChange:function(e){return o($n($n({},r),{},{neighbors:e}))},min:1,max:5,step:1})]}),(0,re.jsxs)(Zn.UQ,{padding:0,allowToggle:!0,allowMultiple:!0,paddingLeft:3,children:[(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:["Directory filters",(0,re.jsx)(Zn.XE,{})]}),(0,re.jsxs)(Zn.Hk,{pr:0,mr:0,children:[(0,re.jsx)(Vn,{filter:n,setFilter:t,options:f,displayName:"directory blocklist",listName:"dirsBlocklist",labelFilter:g}),(0,re.jsx)(Vn,{filter:n,setFilter:t,options:f,displayName:"directory allowlist",listName:"dirsAllowlist",labelFilter:g})]})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:["Tag filters",(0,re.jsx)(Zn.XE,{})]}),(0,re.jsxs)(Zn.Hk,{pr:0,mr:0,children:[(0,re.jsx)(Vn,{filter:n,setFilter:t,options:a,displayName:"tag blocklist",listName:"tagsBlacklist"}),(0,re.jsx)(Vn,{filter:n,setFilter:t,options:a,displayName:"tag allowlist",listName:"tagsWhitelist"})]})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:["Tag colors",(0,re.jsx)(Zn.XE,{})]}),(0,re.jsx)(Zn.Hk,{pr:0,mr:0,children:(0,re.jsx)(qn,{tags:a,colorList:c,tagColors:i,setTagColors:l,highlightColor:s})})]})]})]})},nt=t(37496),tt=function(e){var n=e.value,t=e.onChange,r=e.label,o=e.infoText,i=e.children;return(0,re.jsxs)(u.Box,{paddingTop:2,children:[(0,re.jsxs)(u.Box,{display:"flex",justifyContent:"space-between",paddingBottom:2,children:[(0,re.jsxs)(u.Box,{display:"flex",alignItems:"center",children:[(0,re.jsx)(u.Text,{children:r}),o&&(0,re.jsx)(Xn,{infoText:o})]}),(0,re.jsx)(Hn.r,{isChecked:!!n,onChange:t})]}),(0,re.jsx)(nt.UO,{in:!!n,animateOpacity:!0,children:(0,re.jsx)(u.Box,{paddingLeft:4,paddingTop:2,paddingBottom:2,children:i})})]},r)};function rt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ot(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?rt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var it=function(e){var n=e.physics,t=e.setPhysics,r=(0,b.useCallback)((function(e,n,r){t((function(t){return ot(ot({},t),{},(0,i.Z)({},n,e/r))}))}),[]);return(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(tt,{label:"Gravity",value:n.gravityOn,onChange:function(){return t(ot(ot({},n),{},{gravityOn:!n.gravityOn}))},children:[(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Also in local"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return ot(ot({},e),{},{gravityLocal:!e.gravityLocal})}))},isChecked:n.gravityLocal})]}),(0,re.jsx)(Qn,{label:"Strength",value:10*n.gravity,onChange:function(e){return r(e,"gravity",10)}})]}),(0,re.jsx)(Qn,{value:-n.charge/100,onChange:function(e){return r(e,"charge",-.01)},label:"Repulsive Force"}),(0,re.jsx)(Qn,{value:5*n.linkStrength,onChange:function(e){return r(e,"linkStrength",5)},label:"Link Force"}),(0,re.jsx)(Qn,{label:"Stabilization rate",value:50*n.alphaDecay,onChange:function(e){return r(e,"alphaDecay",50)}})]}),(0,re.jsx)(u.Box,{children:(0,re.jsx)(Zn.UQ,{paddingLeft:3,allowToggle:!0,children:(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(u.Text,{children:"Advanced"}),(0,re.jsx)(Zn.XE,{marginRight:2})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:3,color:"gray.800",children:[(0,re.jsx)(tt,{label:"Collision",infoText:"Perfomance sap, disable if slow",value:n.collision,onChange:function(){return t(ot(ot({},n),{},{collision:!n.collision}))},children:(0,re.jsx)(Qn,{value:n.collisionStrength/5,onChange:function(e){return r(e,"collisionStrength",.2)},label:"Collision Radius",infoText:"Easy with this one, high values can lead to a real jiggly mess"})}),(0,re.jsx)(Qn,{label:"Link iterations",value:n.linkIts,onChange:function(e){return r(e,"linkIts",1)},min:0,max:6,step:1,infoText:"How many links down the line the physics of a single node affects (Slow)"}),(0,re.jsx)(Qn,{label:"Viscosity",value:10*n.velocityDecay,onChange:function(e){return r(e,"velocityDecay",10)}}),(0,re.jsx)(tt,{label:"Center nodes",value:n.centering,onChange:function(){return t(ot(ot({},n),{},{centering:!n.centering}))},infoText:"Keeps the nodes in the center of the viewport. If disabled you can drag the nodes anywhere you want.",children:(0,re.jsx)(Qn,{label:"Centering Strength",value:n.centeringStrength,max:2,step:.01,onChange:function(e){return r(e,"centeringStrength",1)}})})]})})]})})})]})};function lt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function st(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?lt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ct=function(e){var n=e.behavior,t=e.setBehavior,r=e.mouse,o=e.setMouse;return(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Preview node"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:r.preview?r.preview[0].toUpperCase()+r.preview.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{preview:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{preview:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{preview:"double"}))},children:"Double Click"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsxs)(u.Flex,{children:[(0,re.jsx)(u.Text,{children:"Expand Node"}),(0,re.jsx)(Xn,{infoText:"View only the node and its direct neighbors"})]}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:r.local?r.local[0].toUpperCase()+r.local.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:"double"}))},children:"Double Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:"right"}))},children:"Right Click"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Open in Emacs"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:r.follow?r.follow[0].toUpperCase()+r.follow.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:"double"}))},children:"Double Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:"right"}))},children:"Right Click"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Follow Emacs by..."}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:n.follow[0].toUpperCase()+n.follow.slice(1)})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{follow:"color"}))},children:"Just coloring the currently opened node"}),(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{follow:"local"}))},children:"Opening the local graph"}),(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{follow:"zoom"}))},children:"Zooming to the current node"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsxs)(u.Flex,{children:[(0,re.jsx)(u.Text,{children:"Local graph"}),(0,re.jsx)(Xn,{infoText:"When in local mode and clicking a new node, should I add that node's local graph or open the new one?"})]}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:"add"===n.localSame?"Add":"Replace"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{localSame:"replace"}))},children:"Open that nodes graph"}),(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{localSame:"add"}))},children:"Add node to local graph"})]})]})]})]}),(0,re.jsx)(Qn,{label:"Zoom speed",value:n.zoomSpeed,min:0,max:4e3,step:100,onChange:function(e){return t(st(st({},n),{},{zoomSpeed:e}))}}),(0,re.jsx)(Qn,{label:"Zoom padding",value:n.zoomPadding,min:0,max:400,step:1,onChange:function(e){return t(st(st({},n),{},{zoomPadding:e}))},infoText:"How much to zoom out to accomodate all nodes when changing the view."})]})},at=t(11391);function ut(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function dt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ut(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ut(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ht=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsx)(u.Box,{children:(0,re.jsx)(tt,{label:"Highlight",onChange:function(){return t((function(e){return dt(dt({},e),{},{highlight:!e.highlight})}))},value:n.highlight,children:(0,re.jsxs)(u.VStack,{spacing:1,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.400"}),align:"stretch",paddingLeft:0,children:[(0,re.jsx)(Qn,{label:"Highlight Link Thickness",value:n.highlightLinkSize,onChange:function(e){return t((function(n){return dt(dt({},n),{},{highlightLinkSize:e})}))}}),(0,re.jsx)(Qn,{label:"Highlight Node Size",value:n.highlightNodeSize,onChange:function(e){return t((function(n){return dt(dt({},n),{},{highlightNodeSize:e})}))}}),(0,re.jsx)(Qn,{min:0,max:1,label:"Highlight Fade",value:n.highlightFade,onChange:function(e){return t((function(n){return dt(dt({},n),{},{highlightFade:e})}))}}),(0,re.jsxs)(tt,{label:"Highlight Animation",onChange:function(){t((function(e){return dt(dt({},e),{},{highlightAnim:!e.highlightAnim})}))},value:n.highlightAnim,children:[(0,re.jsx)(Qn,{label:"Animation speed",onChange:function(e){return t((function(n){return dt(dt({},n),{},{animationSpeed:e})}))},value:n.animationSpeed,infoText:"Slower speed has a chance of being buggy",min:50,max:1e3,step:10}),(0,re.jsx)(at.Ph,{placeholder:n.algorithmName,onChange:function(e){t((function(n){return dt(dt({},n),{},{algorithmName:e.target.value})}))},children:n.algorithmOptions.map((function(e){return(0,re.jsx)("option",{value:e,children:e},e)}))})]})]})})})})};function gt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ft(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?gt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var pt=function(e){var n=e.label,t=e.colorList,r=e.value,o=e.visValue,l=e.setVisuals,s=e.noEmpty,c=(0,b.useCallback)((function(e){return l((function(n){return ft(ft({},n),{},(0,i.Z)({},r,e))}))}),[]);return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:n}),(0,re.jsxs)($e.J2,{isLazy:!0,placement:"right",children:[(0,re.jsx)($e.xo,{children:(0,re.jsx)(h.Button,{colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Box,{bgColor:o,borderRadius:"sm",height:6,width:6})})}),(0,re.jsx)(en.h_,{children:(0,re.jsx)($e.yk,{zIndex:"tooltip",maxW:36,position:"relative",children:(0,re.jsxs)(u.Flex,{flexWrap:"wrap",bgColor:"gray.200",children:[!s&&(0,re.jsx)(u.Box,{onClick:function(){return c("")},justifyContent:"space-between",alignItems:"center",display:"flex",m:1,children:(0,re.jsx)(u.Box,{height:6,width:6,borderColor:"gray.600",borderRadius:"xl",borderWidth:1})}),t.map((function(e){return(0,re.jsx)(u.Box,{m:1,onClick:function(){return c(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"xl",height:6,width:6})},e)}))]})})})]})]})};function xt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function jt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?xt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var bt=function(e){var n=e.visuals,t=e.setVisualsCallback,r=e.highlightColor,i=e.setHighlightColor;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Nodes"}),(0,re.jsx)(d.u,{label:"Shuffle node colors",children:(0,re.jsx)(h.IconButton,{"aria-label":"Shuffle node colors",size:"sm",icon:(0,re.jsx)(V.RepeatIcon,{}),variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(jt(jt({},n),{},{nodeColorScheme:r.map((function(e){return[Math.random(),e]})).sort((function(e,n){return(0,l.Z)(e,1)[0]-(0,l.Z)(n,1)[0]})).map((function(e){var n=(0,l.Z)(e,2);n[0];return n[1]}))}))}})}),(0,re.jsx)(d.u,{label:"Cycle node colors",children:(0,re.jsx)(h.IconButton,{"aria-label":"Shift node colors",icon:(0,re.jsx)(V.ArrowRightIcon,{}),size:"sm",variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(jt(jt({},n),{},{nodeColorScheme:[].concat((0,o.Z)(r.slice(1,r.length)),[r[0]])}))}})}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",closeOnSelect:!1,matchWidth:!0,children:[(0,re.jsx)(A.j2,{width:20,as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:(0,re.jsx)(A.__,{width:500,type:"checkbox",defaultValue:n.nodeColorScheme,onChange:function(e){e.length&&t(jt(jt({},n),{},{nodeColorScheme:e}))},children:W.map((function(e){return(0,re.jsx)(A.ii,{isChecked:n.nodeColorScheme.some((function(n){return n===e})),value:e,isDisabled:1===n.nodeColorScheme.length&&n.nodeColorScheme[0]===e,children:(0,re.jsx)(u.Box,{justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})})},e)}))})})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Links"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Box,{children:n.linkColorScheme?(0,re.jsx)(u.Box,{bgColor:n.linkColorScheme,borderRadius:"sm",height:6,width:6}):(0,re.jsx)(u.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(jt(jt({},n),{},{linkColorScheme:""}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),W.map((function(e){return(0,re.jsx)(A.sN,{onClick:function(){return t(jt(jt({},n),{},{linkColorScheme:e}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Accent"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Box,{bgColor:r,borderRadius:"sm",height:6,width:6})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:W.map((function(e){return(0,re.jsx)(A.sN,{onClick:function(){return i(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))})]})]})]}),(0,re.jsx)(pt,{colorList:W,label:"Link highlight",setVisuals:t,value:"linkHighlight",visValue:n.linkHighlight}),(0,re.jsx)(pt,{colorList:W,label:"Node highlight",setVisuals:t,value:"nodeHighlight",visValue:n.nodeHighlight}),(0,re.jsx)(pt,{colorList:W,label:"Background",setVisuals:t,value:"backgroundColor",visValue:n.backgroundColor}),(0,re.jsx)(pt,{colorList:W,label:"Emacs node",setVisuals:t,value:"emacsNodeColor",visValue:n.emacsNodeColor})]})})};function vt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function mt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?vt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var yt=function(e){var n=e.visuals,t=e.setVisuals,r=e.threeDim;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(u.Box,{children:[(0,re.jsx)(Qn,{label:"Node size",value:n.nodeRel,onChange:function(e){return t(mt(mt({},n),{},{nodeRel:e}))}}),(0,re.jsx)(Qn,{label:"Node degree size multiplier",value:n.nodeSizeLinks,min:0,max:2,onChange:function(e){return t(mt(mt({},n),{},{nodeSizeLinks:e}))}}),(0,re.jsx)(Qn,{label:"Node zoom invariance",value:n.nodeZoomSize,min:0,max:2,infoText:"How much the graph will try to keep the nodesize consistent across zoom scales. 0 is no consistency, node will always be their true size, 1 is linear, 2 is quadratic.",onChange:function(e){return t((function(n){return mt(mt({},n),{},{nodeZoomSize:e})}))}}),r&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Qn,{label:"Node opacity",value:n.nodeOpacity,min:0,max:1,onChange:function(e){return t(mt(mt({},n),{},{nodeOpacity:e}))}}),(0,re.jsx)(Qn,{label:"Node resolution",value:n.nodeResolution,min:5,max:32,step:1,onChange:function(e){return t(mt(mt({},n),{},{nodeResolution:e}))}})]}),(0,re.jsx)(Qn,{label:"Link width",value:n.linkWidth,onChange:function(e){return t(mt(mt({},n),{},{linkWidth:e}))}}),r&&(0,re.jsx)(Qn,{label:"Link opacity",min:0,max:1,value:n.linkOpacity,onChange:function(e){return t(mt(mt({},n),{},{linkOpacity:e}))}}),(0,re.jsxs)(tt,{label:"Link arrows",value:n.arrows,onChange:function(){return t(mt(mt({},n),{},{arrows:!n.arrows}))},children:[(0,re.jsx)(Qn,{label:"Arrow size",value:n.arrowsLength/10,onChange:function(e){return t(mt(mt({},n),{},{arrowsLength:10*e}))}}),(0,re.jsx)(Qn,{label:"Arrow Position",value:n.arrowsPos,min:0,max:1,step:.01,onChange:function(e){return t(mt(mt({},n),{},{arrowsPos:e}))}}),(0,re.jsx)(pt,{colorList:W,label:"Arrow Color",setVisuals:t,value:"arrowsColor",visValue:n.arrowsColor},"arrow")]}),(0,re.jsxs)(tt,{label:"Directional Particles",value:n.particles,onChange:function(){return t(mt(mt({},n),{},{particles:!n.particles}))},children:[(0,re.jsx)(Qn,{label:"Particle Number",value:n.particlesNumber,max:5,step:1,onChange:function(e){return t(mt(mt({},n),{},{particlesNumber:e}))}}),(0,re.jsx)(Qn,{label:"Particle Size",value:n.particlesWidth,onChange:function(e){return t(mt(mt({},n),{},{particlesWidth:e}))}})]})]})})};function Ct(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ot(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ct(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ct(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var wt=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.400"}),align:"stretch",color:"gray.800",children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Show labels"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:n.labels?n.labels<2?"On Highlight":"Always":"Never"}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:0}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:1}))},children:"On Highlight"}),(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:2}))},children:"Always"}),(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:3}))},children:"Always (even in 3D)"})]})]})]})]}),(0,re.jsxs)(nt.UO,{in:n.labels>1,animateOpacity:!0,children:[(0,re.jsx)(u.Box,{paddingTop:2,children:(0,re.jsx)(Qn,{label:"Label Appearance Scale",value:2*n.labelScale,onChange:function(e){return t(Ot(Ot({},n),{},{labelScale:e/2}))}})}),(0,re.jsxs)(u.Box,{paddingTop:2,children:[(0,re.jsx)(Qn,{label:"Label dynamicity",infoText:"By default, labels of nodes with more links will appear earlier than those with fewer. This slider changes the strength of this effect, put it at zero to disable it.",value:n.labelDynamicStrength,min:0,max:1,step:.05,onChange:function(e){return t((function(n){return Ot(Ot({},n),{},{labelDynamicStrength:e})}))}}),(0,re.jsx)(nt.UO,{in:n.labelDynamicStrength>0,children:(0,re.jsx)(Qn,{label:"Dynamic zoom degree cap",infoText:"The maximum number of links that is considered for the 'dynamic zoom effect'. Past this number all number of links are treated the same.",value:n.labelDynamicDegree,min:1,max:15,step:1,onChange:function(e){return t((function(n){return Ot(Ot({},n),{},{labelDynamicDegree:e})}))}})})]})]}),(0,re.jsx)(pt,{colorList:W,label:"Text",setVisuals:t,value:"labelTextColor",visValue:n.labelTextColor}),(0,re.jsxs)(u.Box,{children:[(0,re.jsx)(pt,{colorList:W,label:"Background",setVisuals:t,value:"labelBackgroundColor",visValue:n.labelBackgroundColor}),(0,re.jsx)(nt.UO,{in:!!n.labelBackgroundColor,animateOpacity:!0,children:(0,re.jsx)(u.Box,{paddingTop:2,children:(0,re.jsx)(Qn,{label:"Background opacity",value:n.labelBackgroundOpacity,onChange:function(e){console.log(n.labelBackgroundOpacity),t(Ot(Ot({},n),{},{labelBackgroundOpacity:e}))},min:0,max:1,step:.01})})})]}),(0,re.jsx)(Qn,{label:"Label font size",value:n.labelFontSize,min:5,max:20,step:.5,onChange:function(e){return t(Ot(Ot({},n),{},{labelFontSize:e}))}}),(0,re.jsx)(Qn,{label:"Max. label characters",value:n.labelLength,min:10,max:100,step:1,onChange:function(e){return t(Ot(Ot({},n),{},{labelLength:e}))}}),(0,re.jsx)(Qn,{label:"Max. label line length",value:n.labelWordWrap,min:10,max:100,step:1,onChange:function(e){return t(Ot(Ot({},n),{},{labelWordWrap:e}))}}),(0,re.jsx)(Qn,{label:"Space between label lines",value:n.labelLineSpace,min:.2,max:3,step:.1,onChange:function(e){return t(Ot(Ot({},n),{},{labelLineSpace:e}))}})]})},kt=t(67690),St=function(){var e=(0,b.useContext)(nn.N),n=e.emacsTheme,t=e.setEmacsTheme;e.highlightColor;return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,re.jsx)(u.Text,{children:"Theme"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"bottom",closeOnSelect:!1,children:[(0,re.jsx)(A.j2,{as:h.Button,size:"sm",colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:n[0]}),(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return""},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{height:6,width:6})}),Object.keys(kt.n).map((function(e,n){return(0,re.jsxs)(A.sN,{onClick:function(){return t([e,kt.n[e]])},justifyContent:"space-between",alignItems:"center",display:"flex",children:[(0,re.jsx)(u.Text,{children:e}),(0,re.jsx)(u.Flex,{height:6,width:20,flexDirection:"column",flexWrap:"wrap",children:Object.values(kt.n[e]).map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px"},e)}))})]},e)}))]})]})]})};function Nt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function It(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Nt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Pt=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(tt,{label:"Dash cite links",infoText:"Add dashes to citation links made with org-roam-bibtex",value:n.citeDashes,onChange:function(){return t(It(It({},n),{},{citeDashes:!n.citeDashes}))},children:[(0,re.jsx)(Qn,{label:"Dash length",value:n.citeDashLength/10,onChange:function(e){return t(It(It({},n),{},{citeDashLength:10*e}))}}),(0,re.jsx)(Qn,{label:"Gap length",value:n.citeGapLength/5,onChange:function(e){return t(It(It({},n),{},{citeGapLength:5*e}))}})]}),(0,re.jsx)(pt,{colorList:W,label:"Citation node color",setVisuals:t,value:"citeNodeColor",visValue:n.citeNodeColor}),(0,re.jsx)(pt,{colorList:W,label:"Citation link color",setVisuals:t,value:"citeLinkColor",visValue:n.citeLinkColor}),(0,re.jsx)(pt,{colorList:W,label:"Reference link highlight",setVisuals:t,value:"citeLinkHighlightColor",visValue:n.citeLinkHighlightColor}),(0,re.jsxs)(tt,{label:"Dash ref links",infoText:"Add dashes to citation links, whose target has a note, made with org-roam-bibtex",value:n.refDashes,onChange:function(){return t(It(It({},n),{},{refDashes:!n.refDashes}))},children:[(0,re.jsx)(Qn,{label:"Dash length",value:n.refDashLength/10,onChange:function(e){return t(It(It({},n),{},{refDashLength:10*e}))}}),(0,re.jsx)(Qn,{label:"Gap length",value:n.refGapLength/5,onChange:function(e){return t(It(It({},n),{},{refGapLength:5*e}))}})]}),(0,re.jsx)(pt,{colorList:W,label:"Reference node color",setVisuals:t,value:"refNodeColor",visValue:n.refNodeColor}),(0,re.jsx)(pt,{colorList:W,label:"Reference link color",setVisuals:t,value:"refLinkColor",visValue:n.refLinkColor}),(0,re.jsx)(pt,{colorList:W,label:"Reference link highlight",setVisuals:t,value:"refLinkHighlightColor",visValue:n.refLinkHighlightColor})]})})};function Dt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Dt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Lt=function(e){var n=e.coloring,t=e.setColoring;return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,re.jsx)(u.Text,{children:"Graph coloring"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,size:"sm",colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:"degree"===n.method?"Links":"Communities"}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Bt(Bt({},e),{},{method:"degree"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Number of links"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Bt(Bt({},e),{},{method:"community"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Communities"})]})})]})]})},Tt=function(e){var n=e.coloring,t=e.setColoring,r=e.visuals,o=e.setVisuals,i=e.highlightColor,l=e.setHighlightColor,s=e.threeDim,c=(0,b.useCallback)((function(e){return o(e)}),[]);return(0,re.jsxs)(u.VStack,{justifyContent:"flex-start",align:"stretch",children:[(0,re.jsx)(St,{}),(0,re.jsx)(Lt,{coloring:n,setColoring:t}),(0,re.jsxs)(Zn.UQ,{allowToggle:!0,defaultIndex:[0],paddingLeft:3,children:[(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Colors"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(bt,{visuals:r,setVisualsCallback:c,highlightColor:i,setHighlightColor:l})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Nodes & Links"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(yt,{visuals:r,setVisuals:c,threeDim:s})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Labels"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(wt,{visuals:r,setVisuals:c})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Highlighting"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(ht,{visuals:r,setVisuals:c})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Citations"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(Pt,{visuals:r,setVisuals:c})})]})]})]})},zt=["style"];function Ft(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Et(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ft(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ft(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Rt=function(e){var n=e.physics,t=e.setPhysics,r=e.threeDim,o=e.setThreeDim,i=e.filter,s=e.setFilter,c=e.visuals,a=e.setVisuals,g=e.mouse,f=e.setMouse,p=e.behavior,x=e.setBehavior,j=e.tags,v=e.tagColors,m=e.setTagColors,y=e.coloring,C=e.setColoring,O=e.local,w=e.setLocal,k=Ln("showTweaks",!1),S=(0,l.Z)(k,2),N=S[0],I=S[1],P=(0,b.useContext)(nn.N),D=P.highlightColor,B=P.setHighlightColor;return N?(0,re.jsxs)(u.Box,{position:"absolute",bg:"alt.100",w:"xs",marginTop:2,marginLeft:2,borderRadius:"lg",paddingBottom:5,zIndex:10,boxShadow:"xl",maxH:"95vh",fontSize:"sm",children:[(0,re.jsxs)(u.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:2,paddingTop:1,children:[(0,re.jsx)(d.u,{label:"2D",children:(0,re.jsx)(h.Button,{onClick:function(){return o(!r)},variant:"subtle",zIndex:"overlay",children:r?"3D":"2D"})}),(0,re.jsxs)(u.Box,{display:"flex",alignItems:"center",children:[(0,re.jsx)(d.u,{label:"Reset settings to defaults",children:(0,re.jsx)(h.IconButton,{"aria-label":"Reset Defaults",icon:(0,re.jsx)(V.RepeatClockIcon,{}),onClick:function(){a(E),s(z),f(Z),t(T),x(R),C(F),B("purple.500"),w(H)},variant:"subtle",size:"sm"})}),(0,re.jsx)(h.IconButton,{size:"sm",icon:(0,re.jsx)(V.CloseIcon,{}),"aria-label":"Close Tweak Panel",variant:"subtle",onClick:function(){return I(!1)}})]})]}),(0,re.jsx)(ln.ZP,{autoHeight:!0,autoHeightMax:.85*globalThis.innerHeight,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,zt);return(0,re.jsx)(u.Box,Et(Et({},t),{},{style:Et(Et({},n),{},{borderRadius:10}),bg:D}))},children:(0,re.jsxs)(Zn.UQ,{allowMultiple:!0,allowToggle:!0,color:"black",children:[(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Filter"})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(et,{filter:i,setFilter:s,tagColors:v,setTagColors:m,highlightColor:D,colorList:W,tags:j,local:O,setLocal:w})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{display:"flex",justifyContent:"space-between",children:(0,re.jsxs)(u.Box,{display:"flex",children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Physics"})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(it,{physics:n,setPhysics:t})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Visual"})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(Tt,{visuals:c,setVisuals:a,highlightColor:D,setHighlightColor:B,threeDim:r,coloring:y,setColoring:C})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Behavior"})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(ct,{behavior:p,setBehavior:x,mouse:g,setMouse:f})})]})]})})]}):(0,re.jsx)(u.Box,{position:"absolute",zIndex:"overlay",marginTop:1,marginLeft:0,display:N?"none":"block",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Settings",icon:(0,re.jsx)(V.SettingsIcon,{}),onClick:function(){return I(!0)}})})},Zt=t(22663),Ht=t.n(Zt);function Wt(e){var n,t,r,i,l=e.labelBackgroundColor,s=e.labelTextColor,c=e.node,a=e.ctx,u=e.globalScale,d=e.highlightedNodes,h=e.previouslyHighlightedNodes,g=e.visuals,f=e.opacity,p=e.nodeSize,x=e.filteredLinksByNodeId,j=(e.nodeRel,e.hoverNode),b=e.lastHoverNode;if(c&&g.labels){var v=null!==(n=null===j||void 0===j?void 0:j.id)&&void 0!==n?n:"",m=null!==(t=null===b||void 0===b?void 0:b.id)&&void 0!==t?t:"",y=null!==(r=x[c.id])&&void 0!==r?r:[],C=!(!d[c.id]&&!h[c.id]),O=Math.min(5*(u-g.labelScale)+2*Math.pow(Math.min(y.length,g.labelDynamicDegree),g.labelDynamicStrength),1);if(!(O<.01)||C){var w=null!==(i=c.title)&&void 0!==i?i:"",k=w.substring(0,g.labelLength),S=Math.cbrt(g.nodeRel*p(c)/Math.pow(u,g.nodeZoomSize)),N=g.labelFontSize/Math.cbrt(Math.pow(u,g.nodeZoomSize)),I=[1.1*a.measureText(k).width,N].map((function(e){return e+.5*N})),P=function(e,n,t,r,o){return o?Math.max(e,r):1*e*(-1*(n.highlightFade*r-1))}(O,g,0,f,C);if(g.labelBackgroundColor&&g.labelBackgroundOpacity){var D=Yt(l,P*g.labelBackgroundOpacity);a.fillStyle=D,a.fillRect.apply(a,[c.x-I[0]/2,c.y-I[1]/2+S].concat((0,o.Z)(I)))}a.textAlign="center",a.textBaseline="middle";var B=Yt(s,P);a.fillStyle=B,a.font="".concat(N,"px Sans-Serif");var L=Ht()(k,{width:g.labelWordWrap}).split("\n"),T=w.length>g.labelLength?[].concat((0,o.Z)(L.slice(0,-1)),["".concat(L.slice(-1),"...")]):L,z=[v,m].includes(c.id)?1+.3*f:1;T.forEach((function(e,n){a.fillText(e,c.x,c.y+z*S*8+g.labelLineSpace*N*n)}))}}}function At(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?At(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):At(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Vt=t.e(907).then(t.bind(t,99907)),_t=t.g.window?t(24878).f$:null,Ut=t.g.window?t(24878).s6:null;function qt(){var e=(0,b.useState)(!1),n=e[0],t=e[1];return(0,b.useEffect)((function(){t(!0)}),[]),n?(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(j.default,{children:(0,re.jsx)("title",{children:"ORUI"})}),(0,re.jsx)(Gt,{})]}):null}function Gt(){var e=Ln("3d",!1),n=(0,l.Z)(e,2),t=n[0],r=n[1],s=Ln("tagCols",{}),c=(0,l.Z)(s,2),g=c[0],f=c[1],x=(0,b.useState)({nodeIds:[],excludedNodeIds:[]}),j=x[0],v=x[1],m=Ln("physics",T),w=(0,l.Z)(m,2),S=w[0],N=w[1],I=Ln("filter",z),P=(0,l.Z)(I,2),D=P[0],B=P[1],L=Ln("visuals",E),W=(0,l.Z)(L,2),A=W[0],M=W[1],V=(0,b.useState)(null),_=V[0],U=V[1],q=(0,b.useState)(null),G=q[0],X=q[1],J=Ln("behavior",R),Q=(0,l.Z)(J,2),K=Q[0],Y=Q[1],$=Ln("mouse",Z),ee=(0,l.Z)($,2),ne=ee[0],te=ee[1],oe=Ln("coloring",F),ie=(0,l.Z)(oe,2),le=ie[0],se=ie[1],ce=Ln("local",H),ae=(0,l.Z)(ce,2),ue=ae[0],de=ae[1],he=(0,k.Z)({}),ge=(0,l.Z)(he,2),pe=ge[0],xe=ge[1],je=xe.set,be=xe.reset,ve=xe.undo,me=xe.redo,ye=xe.canUndo,Ce=xe.canRedo,Oe=(pe.past,pe.present),we=(pe.future,(0,b.useState)(null)),ke=we[0],Se=we[1],Ne=(0,a.qY)(),Ie=Ne.isOpen,Pe=Ne.onOpen,De=Ne.onClose,Be=(0,b.useRef)({}),Le=(0,b.useRef)({}),Te=(0,b.useRef)({}),ze=(0,b.useRef)([]),Fe=(0,b.useRef)(null),Ee=(0,b.useState)({}),Re=Ee[0],Ze=Ee[1],He=(0,b.useRef)({}),We=(0,b.useRef)({nodes:[],links:[]});(0,b.useEffect)((function(){_&&(We.current=_)}),[_]);var Ae=(0,b.useContext)(nn.N).setEmacsTheme,Me=(0,b.useRef)({nodeIds:[],excludedNodeIds:[]}),Ve=(0,b.useRef)(R);Ve.current=K;var _e=(0,b.useRef)(null);Me.current=j;var Ue=function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;if("color"!==e){var l=Fe.current,s=Me.current,c=Ve.current,a=null!==(t=Le.current[n])&&void 0!==t?t:[],u=Object.fromEntries([n].concat((0,o.Z)(a.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]})));if("zoom"===e)return s.nodeIds.length&&v({nodeIds:[],excludedNodeIds:[]}),void setTimeout((function(){return l.zoomToFit(r,i,(function(e){return u[e.id]}))}),50);if(!s.nodeIds.length)return v((function(e){return Mt(Mt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);if("add"!==c.localSame)return v((function(e){return Mt(Mt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);if(!s.nodeIds.includes(n)||!s.nodeIds.some((function(e){return u[e]})))return v((function(e){return Mt(Mt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);v((function(e){return Mt(Mt({},e),{},{nodeIds:[].concat((0,o.Z)(e.nodeIds),[n])})})),setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50)}};(0,b.useEffect)((function(){_e.current=new O.Z("ws://localhost:35903"),_e.current.addEventListener("open",(function(){console.log("Connection with Emacs established")})),_e.current.addEventListener("message",(function(e){var n=Ve.current,t=JSON.parse(e.data);switch(t.type){case"graphdata":return function(e){var n,t,r,s=Be.current;ze.current=null!==(n=e.tags)&&void 0!==n?n:[];var c=null!==(t=e.nodes)&&void 0!==t?t:[],a=null!==(r=e.links)&&void 0!==r?r:[],u=c.reduce((function(e,n){var t;return Mt(Mt({},e),{},(0,i.Z)({},n.file,[].concat((0,o.Z)(null!==(t=e[n.file])&&void 0!==t?t:[]),[n])))}),{}),d=Object.keys(u).flatMap((function(e){var n,t=null!==(n=u[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),o=t.filter((function(e){return 0!==e.level}));return r?o.map((function(e){var n=t.filter((function(n){var t,r;return!(n.level>=e.level||n.pos>=e.pos||null===(t=e.olp)||void 0===t||!t.includes(null===(r=n.title)||void 0===r?void 0:r.replace(/ *\[\d*\/\d*\] */g,"")))})).reduce((function(e,n){return n.level>e.level&&(e=n),e}),r);return{source:e.id,target:(null===n||void 0===n?void 0:n.id)||r.id,type:"heading"}})):[]})),h=Object.keys(u).flatMap((function(e){var n,t=null!==(n=u[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),o=t.filter((function(e){return 0!==e.level}));return r?o.map((function(e){return{source:e.id,target:r.id,type:"parent"}})):[]}));Be.current=Object.fromEntries(c.map((function(e){return[e.id,e]})));var g=[].concat((0,o.Z)(a),(0,o.Z)(d),(0,o.Z)(h)),f=[],p=g.map((function(e){var n=e.source,t=e.target;return Be.current[n]?Be.current[t]?e:(f.push({id:t,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:t,level:0,pos:0,olp:null}),Mt(Mt({},e),{},{type:"bad"})):(f.push({id:n,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:n,level:0,pos:0,olp:null}),Mt(Mt({},e),{},{type:"bad"}))}));Be.current=Mt(Mt({},Be.current),Object.fromEntries(f.map((function(e){return[e.id,e]})))),Le.current=p.reduce((function(e,n){var t,r,l;return Mt(Mt({},e),{},(l={},(0,i.Z)(l,n.source,[].concat((0,o.Z)(null!==(t=e[n.source])&&void 0!==t?t:[]),[n])),(0,i.Z)(l,n.target,[].concat((0,o.Z)(null!==(r=e[n.target])&&void 0!==r?r:[]),[n])),l))}),{});var x=[].concat((0,o.Z)(c),f);Te.current=x.reduce((function(e,n){var t,r=null===(t=n.properties)||void 0===t?void 0:t.ROAM_REFS;if(null===r||void 0===r||!r.includes("cite"))return e;var o=r.replaceAll(/cite:(.*)/g,"$1");return o?Mt(Mt({},e),{},(0,i.Z)({},o,n)):e}),{});var j={nodes:x,links:p},b=We.current;if(0===b.nodes.length){var v=JSON.parse(JSON.stringify(j));return We.current=v,void U(v)}var m=[].concat((0,o.Z)(b.nodes.flatMap((function(e){var n,t=null!==(n=Be.current[null===e||void 0===e?void 0:e.id])&&void 0!==n&&n;return t?[Mt(Mt({},e),t)]:[]}))),(0,o.Z)(Object.keys(Be.current).filter((function(e){return!s[e]})).map((function(e){return Be.current[e]})))),y=m.reduce((function(e,n,t){var r=null===n||void 0===n?void 0:n.id;return Mt(Mt({},e),{},(0,i.Z)({},r,t))}),{}),C=p.map((function(e){var n=Qt(e),t=(0,l.Z)(n,2),r=t[0],o=t[1];return Mt(Mt({},e),{},{source:m[y[r]],target:m[y[o]]})}));U({nodes:m,links:C})}(t.data);case"variables":return Ze(t.data),void console.log(t);case"theme":return Ae(["custom",t.data]);case"command":switch(t.data.commandName){case"local":var r=K.zoomSpeed,s=K.zoomPadding;Ue("local",t.data.id,r,s),X(t.data.id);break;case"zoom":var c,a,u=(null===t||void 0===t||null===(c=t.data)||void 0===c?void 0:c.speed)||n.zoomSpeed,d=(null===t||void 0===t||null===(a=t.data)||void 0===a?void 0:a.padding)||n.zoomPadding;Ue("zoom",t.data.id,u,d),X(t.data.id);break;case"follow":Ue(n.follow,t.data.id,n.zoomSpeed,n.zoomPadding),X(t.data.id);break;default:return console.error("unknown message type",t.type)}}}))}),[]),(0,b.useEffect)((function(){var e=Fe.current;!e||j.nodeIds.length>1||(j.nodeIds.length||!S.gravityOn?setTimeout((function(){e.zoomToFit(5,200)}),50):e.zoomToFit())}),[j.nodeIds]);var qe=(0,p.iP)(),Ge=(0,l.Z)(qe,2),Xe=Ge[0],Je=Ge[1],Qe=(0,b.useRef)(),Ke=(0,b.useState)(null),Ye=Ke[0],$e=Ke[1],en=(0,b.useState)({left:0,top:0,right:void 0,bottom:void 0}),tn=en[0],rn=en[1],on=(0,a.qY)();(0,a.O3)({ref:Qe,handler:function(){on.onClose()}});var ln=function(e,n,t){rn(t||{left:n.pageX,top:n.pageY,right:void 0,bottom:void 0}),$e(e),on.onOpen()},sn=function(e,n){"remove"!==n?"replace"!==n?j.nodeIds.includes(e.id)||v((function(n){return Mt(Mt({},n),{},{nodeIds:[].concat((0,o.Z)(n.nodeIds),[e.id])})})):v({nodeIds:[e.id],excludedNodeIds:[]}):v((function(n){return Mt(Mt({},n),{},{excludedNodeIds:[].concat((0,o.Z)(n.excludedNodeIds),[e.id])})}))},cn=(0,b.useState)({type:"Graph",title:"Graph",icon:(0,re.jsx)(y.DvO,{})}),an=(cn[0],cn[1],Ln("mainWindowWidth",Xe)),un=(0,l.Z)(an,2),dn=un[0],hn=un[1];return console.log(Re),(0,re.jsx)(Kn.Provider,{value:Mt({},Re),children:(0,re.jsxs)(u.Box,{display:"flex",alignItems:"flex-start",flexDirection:"row",height:"100vh",overflow:"clip",children:[(0,re.jsx)(Rt,{physics:S,setPhysics:N,threeDim:t,setThreeDim:r,filter:D,setFilter:B,visuals:A,setVisuals:M,mouse:ne,setMouse:te,behavior:K,setBehavior:Y,tagColors:g,setTagColors:f,coloring:le,setColoring:se,local:ue,setLocal:de,tags:ze.current}),(0,re.jsx)(u.Box,{position:"absolute",children:_&&(0,re.jsx)(Xt,{nodeById:Be.current,linksByNodeId:Le.current,webSocket:_e.current,variables:Re,physics:S,graphData:_,threeDim:t,emacsNodeId:G,filter:D,visuals:A,behavior:K,mouse:ne,scope:j,setScope:v,tagColors:g,setPreviewNode:je,sidebarHighlightedNode:ke,windowWidth:Xe,windowHeight:Je,openContextMenu:ln,contextMenu:on,handleLocal:sn,mainWindowWidth:dn,setMainWindowWidth:hn,setContextMenuTarget:$e,graphRef:Fe,clusterRef:He,coloring:le,local:ue})}),(0,re.jsx)(u.Box,{position:"relative",zIndex:4,width:"100%",children:(0,re.jsx)(u.Flex,{className:"headerBar",h:10,flexDir:"column",children:(0,re.jsx)(u.Flex,{alignItems:"center",h:10,justifyContent:"flex-end",children:(0,re.jsxs)(u.Flex,{height:"100%",flexDirection:"row",children:[j.nodeIds.length>0&&(0,re.jsx)(d.u,{label:"Return to main graph",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(y.DvO,{}),"aria-label":"Exit local mode",onClick:function(){return v((function(e){return Mt(Mt({},e),{},{nodeIds:[]})}))},variant:"subtle"})}),(0,re.jsx)(d.u,{label:Ie?"Close sidebar":"Open sidebar",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(C.iBV,{}),"aria-label":"Close file-viewer",variant:"subtle",onClick:Ie?De:Pe})})]})})})}),(0,re.jsx)(u.Box,{position:"relative",zIndex:4,children:(0,re.jsx)(Rn,{isOpen:Ie,onOpen:Pe,onClose:De,previewNode:Oe,setPreviewNode:je,canUndo:ye,canRedo:Ce,previousPreviewNode:ve,nextPreviewNode:me,resetPreviewNode:be,setSidebarHighlightedNode:Se,openContextMenu:ln,scope:j,setScope:v,windowWidth:Xe,tagColors:g,setTagColors:f,filter:D,setFilter:B,macros:Re.katexMacros,attachDir:Re.attachDir||"",nodeById:Be.current,linksByNodeId:Le.current,nodeByCite:Te.current})}),on.isOpen&&(0,re.jsx)("div",{ref:Qe,children:(0,re.jsx)(fe,{scope:j,target:Ye,background:!1,coordinates:tn,handleLocal:sn,menuClose:on.onClose.bind(on),webSocket:_e.current,setPreviewNode:je,setFilter:B,filter:D,setTagColors:f,tagColors:g})})]})})}var Xt=function(e){var n=e.graphRef,t=e.physics,s=e.graphData,a=e.threeDim,d=e.linksByNodeId,h=e.filter,p=e.emacsNodeId,j=e.nodeById,v=e.visuals,y=e.behavior,C=e.mouse,O=e.scope,k=e.local,S=(e.setScope,e.webSocket),N=e.tagColors,I=e.setPreviewNode,P=e.sidebarHighlightedNode,D=e.windowWidth,B=e.windowHeight,T=(e.setContextMenuTarget,e.openContextMenu),z=e.contextMenu,F=e.handleLocal,E=e.variables,R=e.clusterRef,Z=e.coloring,H=E.dailyDir,A=(E.roamDir,(0,b.useState)(null)),M=A[0],V=A[1],_=(0,g.Fg)(),q=(0,b.useContext)(nn.N).emacsTheme,G=function(e,n,t){switch(e){case C.preview:I(n);break;case C.local:F(n,y.localSame);break;case C.follow:U(n,S);break;case C.context:T(n,t)}},X=(0,b.useRef)(null);(0,b.useEffect)((function(){p&&V(j[p])}),[p]);var J=(0,b.useRef)({}),Q=(0,b.useRef)({}),K=(0,b.useMemo)((function(){var e;Q.current={};var n=null===s||void 0===s||null===(e=s.nodes)||void 0===e?void 0:e.filter((function(e){var n,t,r,o,l=e;return h.dirsBlocklist.length&&h.dirsBlocklist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||h.dirsAllowlist.length>0&&!h.dirsAllowlist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||h.tagsBlacklist.length&&h.tagsBlacklist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||h.tagsWhitelist.length>0&&!h.tagsWhitelist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||h.filelessCites&&null!==l&&void 0!==l&&null!==(n=l.properties)&&void 0!==n&&n.FILELESS||null!==h&&void 0!==h&&h.bad&&null!==l&&void 0!==l&&null!==(t=l.properties)&&void 0!==t&&t.bad||h.dailies&&H&&null!==(r=l.file)&&void 0!==r&&r.includes(H)?(Q.current=Mt(Mt({},Q.current),{},(0,i.Z)({},l.id,l)),!1):!h.noter||null===(o=l.properties)||void 0===o||!o.NOTER_PAGE||(Q.current=Mt(Mt({},Q.current),{},(0,i.Z)({},l.id,l)),!1)})).filter((function(e){var n,t=(null!==(n=d[null===e||void 0===e?void 0:e.id])&&void 0!==n?n:[]).filter((function(e){return!Q.current[e.source]&&!Q.current[e.target]}));return!h.orphans||(h.parent?0!==t.length:0!==t.length&&t.some((function(e){return!["parent","heading"].includes(e.type)})))})),t=n.map((function(e){return e.id})),r=s.links.filter((function(e){var n=Qt(e),r=(0,l.Z)(n,2),o=r[0],i=r[1];if(!t.includes(o)||!t.includes(i))return!1;var s=e;return h.parent?"heading"===h.parent?"parent"!==s.type:"heading"!==s.type:!["parent","heading"].includes(s.type)}));J.current=r.reduce((function(e,n){var t,r,s,c=n,a=Qt(c),u=(0,l.Z)(a,2),d=u[0],h=u[1];return Mt(Mt({},e),{},(s={},(0,i.Z)(s,d,[].concat((0,o.Z)(null!==(t=e[d])&&void 0!==t?t:[]),[c])),(0,i.Z)(s,h,[].concat((0,o.Z)(null!==(r=e[h])&&void 0!==r?r:[]),[c])),s))}),{});var c=r.map((function(e){var n=Qt(e),t=(0,l.Z)(n,2);return{target:t[0],source:t[1],weight:"cite"===e.type?1:2}}));if("community"===Z.method){var a=m()().nodes(t).edges(c);R.current=a()}return{nodes:n,links:r}}),[h,s,Z.method]),Y=(0,b.useState)({nodes:[],links:[]}),$=Y[0],ee=Y[1];(0,b.useEffect)((function(){if(O.nodeIds.length){var e=O.nodeIds.length>1?$.nodes.filter((function(e){return!O.excludedNodeIds.includes(e.id)})):[],n=e.map((function(e){return e.id})),t=function(e,n,t){var r=[e[0]],o=[],i=[e[0]];return Array.from({length:t},(function(){r.forEach((function(e){var t;(null!==(t=J.current[e])&&void 0!==t?t:[]).forEach((function(e){var t=Qt(e),r=(0,l.Z)(t,2),s=r[0],c=r[1];n.some((function(e){return[s,c].includes(e)}))||(i.includes(s)?i.includes(c)||o.push(c):o.push(s))}))})),r=o,o.forEach((function(e){return e&&i.push(e)})),o=[]})),i}(O.nodeIds,O.excludedNodeIds,k.neighbors),r=K.nodes.filter((function(r){var o;return e.length?!n.includes(r.id)&&(null!==(o=J.current[r.id])&&void 0!==o?o:[]).some((function(e){var n=Qt(e),t=(0,l.Z)(n,2),r=t[0],o=t[1];return O.nodeIds.includes(r)||O.nodeIds.includes(o)})):t.includes(r.id)})).map((function(e){return Mt(Mt({},e),{},{x:0,y:0,vy:0,vx:0})})),i=[].concat((0,o.Z)(e),(0,o.Z)(r)),s=i.map((function(e){return e.id})),c=(O.nodeIds.length>1?$.links:[]).filter((function(e){O.excludedNodeIds.some((function(n){return Qt(e).includes(n)}))})),a=K.links.filter((function(e){var t=Qt(e),r=(0,l.Z)(t,2),o=r[0],i=r[1];return!(c.length&&n.includes(i)&&n.includes(o))&&(s.includes(o)&&s.includes(i))})).map((function(e){var n=Qt(e),t=(0,l.Z)(n,2);return{source:t[0],target:t[1]}})),u=[].concat((0,o.Z)(c),(0,o.Z)(a));ee({nodes:i,links:u})}}),[k.neighbors,h,JSON.stringify(O),JSON.stringify(s),K.links,K.nodes]),(0,b.useEffect)((function(){(0,r.Z)(c().mark((function e(){var r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.current,e.next=3,Vt;case 3:o=e.sent,!t.gravityOn||O.nodeIds.length&&!t.gravityLocal?(r.d3Force("x",null),r.d3Force("y",null),a&&r.d3Force("z",null)):(r.d3Force("x",o.forceX().strength(t.gravity)),r.d3Force("y",o.forceY().strength(t.gravity)),a&&r.d3Force("z",o.forceZ().strength(t.gravity))),t.centering?r.d3Force("center",o.forceCenter().strength(t.centeringStrength)):r.d3Force("center",null),t.linkStrength&&r.d3Force("link").strength(t.linkStrength),t.linkIts&&r.d3Force("link").iterations(t.linkIts),t.charge&&r.d3Force("charge").strength(t.charge),r.d3Force("collide",t.collision?o.forceCollide().radius(t.collisionStrength):null);case 10:case"end":return e.stop()}}),e)})))()}),[t,a,O]),(0,b.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.d3ReheatSimulation()}),[t,O.nodeIds.length]);var ne=(0,b.useRef)(0),te=(0,b.useState)(1),oe=te[0],ie=te[1],le=(0,f._7)((function(e){return ie(e)}),{duration:v.animationSpeed,algorithm:L[v.algorithmName]}),se=(0,l.Z)(le,2),ce=se[0],ae=se[1],ue=(0,f._7)((function(e){return ie(Math.min(oe,-1*(e-1)))}),{duration:v.animationSpeed,algorithm:L[v.algorithmName]}),de=(0,l.Z)(ue,2),he=de[0],ge=de[1],fe=(0,b.useMemo)((function(){var e;if(!X.current)return{};var n=J.current[X.current.id];return n?Object.fromEntries([null===(e=X.current)||void 0===e?void 0:e.id].concat((0,o.Z)(n.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]}))):{}}),[JSON.stringify(X.current),JSON.stringify(J.current)]);(0,b.useEffect)((function(){null!==P&&void 0!==P&&P.id?V(P):V(null)}),[P]);var pe=(0,b.useRef)(null);(0,b.useEffect)((function(){if(X.current=M,M&&(pe.current=M),!v.highlightAnim)return ie(M?1:0);M?ce():(ae(),oe>.5?he():ie(0))}),[M]);var xe=(0,b.useMemo)((function(){return Object.fromEntries(W.map((function(e){var n=Kt(e,_),t=W.map((function(e){return[e,x.Z(n,Kt(e,_))]}));return[e,Object.fromEntries(t)]})))}),[q]),je=(0,b.useMemo)((function(){var e,n,t,r=null!==(e=J.current[null===(n=pe.current)||void 0===n?void 0:n.id])&&void 0!==e?e:[];return Object.fromEntries([null===(t=pe.current)||void 0===t?void 0:t.id].concat((0,o.Z)(r.flatMap((function(e){return Qt(e)})))).map((function(e){return[e,{}]})))}),[JSON.stringify(M),pe.current,J.current]),be=function(e){var n,t,r,o,i,l=null!==(n=null===(t=J.current[e])||void 0===t?void 0:t.length)&&void 0!==n?n:0;return"degree"===Z.method?v.nodeColorScheme[(r=l,o=0,i=v.nodeColorScheme.length-1,Math.min(Math.max(r,o),i))]:v.nodeColorScheme[l&&R.current[e]%v.nodeColorScheme.length]},ve=function(e,n){return J.current[e].length>J.current[n].length?be(e):be(n)},me=(0,b.useMemo)((function(){return Kt(v.labelTextColor,_)}),[v.labelTextColor,q]),ye=(0,b.useMemo)((function(){return Kt(v.labelBackgroundColor,_)}),[v.labelBackgroundColor,q]),Ce=function(e){var n,t=null!==(n=J.current[e.id])&&void 0!==n?n:[],r=t.length?t.filter((function(e){return"parent"===e.type})).length:0,o=3+t.length*v.nodeSizeLinks-(h.parent?0:r);return 1===v.highlightNodeSize?o:o*(fe[e.id]||je[e.id]?1+oe*(v.highlightNodeSize-1):1)},Oe=(0,b.useState)(!1),we=Oe[0],ke=Oe[1],Se=(0,b.useRef)(1),Ne={graphData:O.nodeIds.length?$:K,width:D,height:B,backgroundColor:Kt(v.backgroundColor,_),warmupTicks:1===O.nodeIds.length?100:O.nodeIds.length>1?20:0,onZoom:function(e){var n=e.k;e.x,e.y;return Se.current=n},nodeColor:function(e){return function(e,n){var t,r,o=fe[e.id]||je[e.id];if(v.emacsNodeColor&&e.id===p)return Kt(v.emacsNodeColor,n);if(N&&null!==e&&void 0!==e&&e.tags.some((function(e){return N[e]}))){var i=N[null===e||void 0===e?void 0:e.tags.filter((function(e){return N[e]}))[0]];return o?xe[i][i](v.highlightFade*oe):xe[i][v.backgroundColor](v.highlightFade*oe)}return v.citeNodeColor&&null!==e&&void 0!==e&&null!==(t=e.properties)&&void 0!==t&&t.ROAM_REFS&&null!==e&&void 0!==e&&null!==(r=e.properties)&&void 0!==r&&r.FILELESS?o?Kt(v.citeNodeColor,n):xe[v.citeNodeColor][v.backgroundColor](v.highlightFade*oe):v.refNodeColor&&e.properties.ROAM_REFS?o?Kt(v.refNodeColor,n):xe[v.refNodeColor][v.backgroundColor](v.highlightFade*oe):o?v.nodeHighlight?xe[be(e.id)][v.nodeHighlight](oe):Kt(be(e.id),n):xe[be(e.id)][v.backgroundColor](v.highlightFade*oe)}(e,_)},nodeRelSize:v.nodeRel,nodeVal:function(e){return Ce(e)/Math.pow(Se.current,v.nodeZoomSize)},nodeCanvasObject:function(e,n,t){Wt(Mt({nodeRel:v.nodeRel,filteredLinksByNodeId:J.current,lastHoverNode:pe.current},{node:e,ctx:n,globalScale:t,highlightedNodes:fe,previouslyHighlightedNodes:je,visuals:v,opacity:oe,nodeSize:Ce,labelTextColor:me,labelBackgroundColor:ye,hoverNode:M}))},nodeCanvasObjectMode:function(){return"after"},linkDirectionalParticles:v.particles?v.particlesNumber:void 0,linkDirectionalArrowLength:v.arrows?v.arrowsLength:void 0,linkDirectionalArrowRelPos:v.arrowsPos,linkDirectionalArrowColor:v.arrowsColor?function(){return Kt(v.arrowsColor,_)}:void 0,linkColor:function(e){var n,t="object"===typeof e.source?e.source.id:e.source,r="object"===typeof e.target?e.target.id:e.target,o=Jt(e,X.current),i=Jt(e,pe.current),l=o||i,s=e;return v.refLinkColor&&"ref"===s.type?l&&(v.refLinkHighlightColor||v.linkHighlight)?xe[v.refLinkColor][v.refLinkHighlightColor||v.linkHighlight](oe):xe[v.refLinkColor][v.backgroundColor](v.highlightFade*oe):v.citeLinkColor&&null!==(n=s.type)&&void 0!==n&&n.includes("cite")?l&&(v.citeLinkHighlightColor||v.linkHighlight)?xe[v.citeLinkColor][v.citeLinkHighlightColor||v.linkHighlight](oe):xe[v.citeLinkColor][v.backgroundColor](v.highlightFade*oe):function(e,n,t,r){if(!v.linkHighlight&&!v.linkColorScheme&&!t)return Kt(ve(e,n),r);if(!t&&!v.linkColorScheme){var o=ve(e,n);return xe[o][v.backgroundColor](v.highlightFade*oe)}return t?v.linkHighlight||v.linkColorScheme?v.linkHighlight?v.linkColorScheme?xe[v.linkColorScheme][v.linkHighlight](oe):xe[ve(e,n)][v.linkHighlight](oe):Kt(v.linkColorScheme,r):Kt(ve(e,n),r):xe[v.linkColorScheme][v.backgroundColor](v.highlightFade*oe)}(t,r,l,_)},linkWidth:function(e){if(1===v.highlightLinkSize)return v.linkWidth;var n=Jt(e,X.current),t=Jt(e,pe.current);return n||t?v.linkWidth*(1+oe*(v.highlightLinkSize-1)):v.linkWidth},linkDirectionalParticleWidth:v.particlesWidth,d3AlphaDecay:t.alphaDecay,d3AlphaMin:t.alphaMin,d3VelocityDecay:t.velocityDecay,onNodeClick:function(e,n){var t=e,r=n.timeStamp-ne.current<200;if(ne.current=n.timeStamp,r)return G("double",t,n);var o=ne.current;return setTimeout((function(){if(ne.current===o)return G("click",t,n)}),200)},onNodeHover:function(e){v.highlight&&(we||(M||(ge(),ie(0)),V(e)))},onNodeRightClick:function(e,n){G("right",e,n)},onNodeDrag:function(e){V(e),ke(!0)},onNodeDragEnd:function(){V(null),ke(!1)}};return(0,re.jsx)(u.Box,{overflow:"hidden",onClick:z.onClose,children:a?(0,re.jsx)(Ut,Mt(Mt({ref:n},Ne),{},{nodeThreeObjectExtend:!0,nodeOpacity:v.nodeOpacity,nodeResolution:v.nodeResolution,linkOpacity:v.linkOpacity,nodeThreeObject:function(e){if(v.labels&&(!(v.labels<3)||fe[e.id])){var n=new w.Z(e.title.substring(0,40));return n.color=Kt(v.labelTextColor,_),n.backgroundColor=Kt(v.labelBackgroundColor,_),n.padding=2,n.textHeight=8,n}}})):(0,re.jsx)(_t,Mt(Mt({ref:n},Ne),{},{linkLineDash:function(e){var n,t=e;return v.citeDashes&&null!==(n=t.type)&&void 0!==n&&n.includes("cite")?[v.citeDashLength,v.citeGapLength]:v.refDashes&&"ref"==t.type?[v.refDashLength,v.refGapLength]:null}}))})};function Jt(e,n){var t,r;return(null===(t=e.source)||void 0===t?void 0:t.id)===(null===n||void 0===n?void 0:n.id)||(null===(r=e.target)||void 0===r?void 0:r.id)===(null===n||void 0===n?void 0:n.id)}function Qt(e){return["object"===typeof e.source?e.source.id:e.source,"object"===typeof e.target?e.target.id:e.target]}function Kt(e,n){return e.split(".").reduce((function(e,n){return e[n]}),n.colors)}function Yt(e,n){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(n){return parseInt(e.length%2?n+n:n,16)})).concat(isFinite(n)?n:1).join(",")+")"}},45301:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(20624)}])}},function(e){e.O(0,[774,737,876,228,866,13,874,573,446,879,888,179],(function(){return n=45301,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file