@gyramais/gyra-design 0.1.49-1 → 0.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +1,7 @@
1
- "use client";import*as e from"react";import t,{useLayoutEffect as r,useEffect as n,forwardRef as o,useContext as i,useState as a}from"react";import s,{jsx as l,Fragment as c,jsxs as u}from"react/jsx-runtime";import*as f from"react-dom";function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function p(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var m,y={exports:{}};
1
+ "use client";import*as e from"react";import t,{useLayoutEffect as n,useEffect as r}from"react";import{jsx as o,Fragment as i,jsxs as s}from"react/jsx-runtime";import*as a from"react-dom";function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var c,d={exports:{}};
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
- */m=y,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=n(e,r(o)))}return e}function r(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var o="";for(var i in r)e.call(r,i)&&r[i]&&(o=n(o,i));return o}function n(e,t){return t?e?e+" "+t:e+t:e}m.exports?(t.default=t,m.exports=t):window.classNames=t}();var h=d(y.exports),g=function(){return g=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)};function b(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function v(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function w(...t){return e.useCallback(v(...t),t)}function x(t,r=[]){let n=[];const o=()=>{const r=n.map((t=>e.createContext(t)));return function(n){const o=n?.[t]||r;return e.useMemo((()=>({[`__scope${t}`]:{...n,[t]:o}})),[n,o])}};return o.scopeName=t,[function(r,o){const i=e.createContext(o),a=n.length;function s(r){const{scope:n,children:o,...s}=r,c=n?.[t][a]||i,u=e.useMemo((()=>s),Object.values(s));return l(c.Provider,{value:u,children:o})}return n=[...n,o],s.displayName=r+"Provider",[s,function(n,s){const l=s?.[t][a]||i,c=e.useContext(l);if(c)return c;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${r}\``)}]},S(o,...r)]}function S(...t){const r=t[0];if(1===t.length)return r;const n=()=>{const n=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const o=n.reduce(((e,{useScope:r,scopeName:n})=>({...e,...r(t)[`__scope${n}`]})),{});return e.useMemo((()=>({[`__scope${r.scopeName}`]:o})),[o])}};return n.scopeName=r.scopeName,n}"function"==typeof SuppressedError&&SuppressedError;var E=e.forwardRef(((t,r)=>{const{children:n,...o}=t,i=e.Children.toArray(n),a=i.find($);if(a){const t=a.props.children,n=i.map((r=>r===a?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:r));return l(O,{...o,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,n):null})}return l(O,{...o,ref:r,children:n})}));E.displayName="Slot";var O=e.forwardRef(((t,r)=>{const{children:n,...o}=t;if(e.isValidElement(n)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;if(r)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r)return e.props.ref;return e.props.ref||e.ref}(n);return e.cloneElement(n,{...C(o,n.props),ref:r?v(r,t):t})}return e.Children.count(n)>1?e.Children.only(null):null}));O.displayName="SlotClone";var k=({children:e})=>l(c,{children:e});function $(t){return e.isValidElement(t)&&t.type===k}function C(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}var _=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((t,r)=>{const n=e.forwardRef(((e,t)=>{const{asChild:n,...o}=e,i=n?E:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),l(i,{...o,ref:t})}));return n.displayName=`Primitive.${r}`,{...t,[r]:n}}),{});function P(t){const r=e.useRef(t);return e.useEffect((()=>{r.current=t})),e.useMemo((()=>(...e)=>r.current?.(...e)),[])}var T,N="dismissableLayer.update",A="dismissableLayer.pointerDownOutside",R="dismissableLayer.focusOutside",j=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),M=e.forwardRef(((t,r)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:c,...u}=t,f=e.useContext(j),[d,p]=e.useState(null),m=d?.ownerDocument??globalThis?.document,[,y]=e.useState({}),h=w(r,(e=>p(e))),g=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),x=g.indexOf(v),S=d?g.indexOf(d):-1,E=f.layersWithOutsidePointerEventsDisabled.size>0,O=S>=x,k=function(t,r=globalThis?.document){const n=P(t),o=e.useRef(!1),i=e.useRef((()=>{}));return e.useEffect((()=>{const e=e=>{if(e.target&&!o.current){let t=function(){z(A,n,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",i.current),i.current=t,r.addEventListener("click",i.current,{once:!0})):t()}else r.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout((()=>{r.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",i.current)}}),[r,n]),{onPointerDownCapture:()=>o.current=!0}}((e=>{const t=e.target,r=[...f.branches].some((e=>e.contains(t)));O&&!r&&(i?.(e),s?.(e),e.defaultPrevented||c?.())}),m),$=function(t,r=globalThis?.document){const n=P(t),o=e.useRef(!1);return e.useEffect((()=>{const e=e=>{if(e.target&&!o.current){z(R,n,{originalEvent:e},{discrete:!1})}};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)}),[r,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}((e=>{const t=e.target;[...f.branches].some((e=>e.contains(t)))||(a?.(e),s?.(e),e.defaultPrevented||c?.())}),m);return function(t,r=globalThis?.document){const n=P(t);e.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return r.addEventListener("keydown",e,{capture:!0}),()=>r.removeEventListener("keydown",e,{capture:!0})}),[n,r])}((e=>{S===f.layers.size-1&&(o?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))}),m),e.useEffect((()=>{if(d)return n&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(T=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),D(),()=>{n&&1===f.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=T)}}),[d,m,n,f]),e.useEffect((()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),D())}),[d,f]),e.useEffect((()=>{const e=()=>y({});return document.addEventListener(N,e),()=>document.removeEventListener(N,e)}),[]),l(_.div,{...u,ref:h,style:{pointerEvents:E?O?"auto":"none":void 0,...t.style},onFocusCapture:b(t.onFocusCapture,$.onFocusCapture),onBlurCapture:b(t.onBlurCapture,$.onBlurCapture),onPointerDownCapture:b(t.onPointerDownCapture,k.onPointerDownCapture)})}));M.displayName="DismissableLayer";var I=e.forwardRef(((t,r)=>{const n=e.useContext(j),o=e.useRef(null),i=w(r,o);return e.useEffect((()=>{const e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),l(_.div,{...t,ref:i})}));function D(){const e=new CustomEvent(N);document.dispatchEvent(e)}function z(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?function(e,t){e&&f.flushSync((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}I.displayName="DismissableLayerBranch";var L=Boolean(globalThis?.document)?e.useLayoutEffect:()=>{},V=e["useId".toString()]||(()=>{}),F=0;const W=["top","right","bottom","left"],B=Math.min,H=Math.max,U=Math.round,G=Math.floor,K=e=>({x:e,y:e}),q={left:"right",right:"left",bottom:"top",top:"bottom"},Y={start:"end",end:"start"};function X(e,t,r){return H(e,B(t,r))}function J(e,t){return"function"==typeof e?e(t):e}function Z(e){return e.split("-")[0]}function Q(e){return e.split("-")[1]}function ee(e){return"x"===e?"y":"x"}function te(e){return"y"===e?"height":"width"}function re(e){return["top","bottom"].includes(Z(e))?"y":"x"}function ne(e){return ee(re(e))}function oe(e){return e.replace(/start|end/g,(e=>Y[e]))}function ie(e){return e.replace(/left|right|bottom|top/g,(e=>q[e]))}function ae(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function se(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function le(e,t,r){let{reference:n,floating:o}=e;const i=re(t),a=ne(t),s=te(a),l=Z(t),c="y"===i,u=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,d=n[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:n.y-o.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:f};break;case"left":p={x:n.x-o.width,y:f};break;default:p={x:n.x,y:n.y}}switch(Q(t)){case"start":p[a]-=d*(r&&c?-1:1);break;case"end":p[a]+=d*(r&&c?-1:1)}return p}async function ce(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=J(t,e),m=ae(p),y=s[d?"floating"===f?"reference":"floating":f],h=se(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(y)))||r?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},w=se(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:b,strategy:l}):g);return{top:(h.top-w.top+m.top)/v.y,bottom:(w.bottom-h.bottom+m.bottom)/v.y,left:(h.left-w.left+m.left)/v.x,right:(w.right-h.right+m.right)/v.x}}function ue(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function fe(e){return W.some((t=>e[t]>=0))}function de(e){return ye(e)?(e.nodeName||"").toLowerCase():"#document"}function pe(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function me(e){var t;return null==(t=(ye(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ye(e){return e instanceof Node||e instanceof pe(e).Node}function he(e){return e instanceof Element||e instanceof pe(e).Element}function ge(e){return e instanceof HTMLElement||e instanceof pe(e).HTMLElement}function be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof pe(e).ShadowRoot)}function ve(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=ke(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function we(e){return["table","td","th"].includes(de(e))}function xe(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Se(e){const t=Ee(),r=he(e)?ke(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function Ee(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Oe(e){return["html","body","#document"].includes(de(e))}function ke(e){return pe(e).getComputedStyle(e)}function $e(e){return he(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ce(e){if("html"===de(e))return e;const t=e.assignedSlot||e.parentNode||be(e)&&e.host||me(e);return be(t)?t.host:t}function _e(e){const t=Ce(e);return Oe(t)?e.ownerDocument?e.ownerDocument.body:e.body:ge(t)&&ve(t)?t:_e(t)}function Pe(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=_e(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=pe(o);if(i){const e=Te(a);return t.concat(a,a.visualViewport||[],ve(o)?o:[],e&&r?Pe(e):[])}return t.concat(o,Pe(o,[],r))}function Te(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ne(e){const t=ke(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=ge(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=U(r)!==i||U(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function Ae(e){return he(e)?e:e.contextElement}function Re(e){const t=Ae(e);if(!ge(t))return K(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ne(t);let a=(i?U(r.width):r.width)/n,s=(i?U(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const je=K(0);function Me(e){const t=pe(e);return Ee()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:je}function Ie(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=Ae(e);let a=K(1);t&&(n?he(n)&&(a=Re(n)):a=Re(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==pe(e))&&t}(i,r,n)?Me(i):K(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,f=o.height/a.y;if(i){const e=pe(i),t=n&&he(n)?pe(n):n;let r=e,o=Te(r);for(;o&&n&&t!==r;){const e=Re(o),t=o.getBoundingClientRect(),n=ke(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,f*=e.y,l+=i,c+=a,r=pe(o),o=Te(r)}}return se({width:u,height:f,x:l,y:c})}function De(e){return Ie(me(e)).left+$e(e).scrollLeft}function ze(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=pe(e),n=me(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Ee();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=me(e),r=$e(e),n=e.ownerDocument.body,o=H(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=H(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+De(e);const s=-r.scrollTop;return"rtl"===ke(n).direction&&(a+=H(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}(me(e));else if(he(t))n=function(e,t){const r=Ie(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=ge(e)?Re(e):K(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=Me(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return se(n)}function Le(e,t){const r=Ce(e);return!(r===t||!he(r)||Oe(r))&&("fixed"===ke(r).position||Le(r,t))}function Ve(e,t,r){const n=ge(t),o=me(t),i="fixed"===r,a=Ie(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=K(0);if(n||!n&&!i)if(("body"!==de(t)||ve(o))&&(s=$e(t)),n){const e=Ie(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=De(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Fe(e){return"static"===ke(e).position}function We(e,t){return ge(e)&&"fixed"!==ke(e).position?t?t(e):e.offsetParent:null}function Be(e,t){const r=pe(e);if(xe(e))return r;if(!ge(e)){let t=Ce(e);for(;t&&!Oe(t);){if(he(t)&&!Fe(t))return t;t=Ce(t)}return r}let n=We(e,t);for(;n&&we(n)&&Fe(n);)n=We(n,t);return n&&Oe(n)&&Fe(n)&&!Se(n)?r:n||function(e){let t=Ce(e);for(;ge(t)&&!Oe(t);){if(Se(t))return t;if(xe(t))return null;t=Ce(t)}return null}(e)||r}const He={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i="fixed"===o,a=me(n),s=!!t&&xe(t.floating);if(n===a||s&&i)return r;let l={scrollLeft:0,scrollTop:0},c=K(1);const u=K(0),f=ge(n);if((f||!f&&!i)&&(("body"!==de(n)||ve(a))&&(l=$e(n)),ge(n))){const e=Ie(n);c=Re(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x,y:r.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:me,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i="clippingAncestors"===r?xe(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=Pe(e,[],!1).filter((e=>he(e)&&"body"!==de(e))),o=null;const i="fixed"===ke(e).position;let a=i?Ce(e):e;for(;he(a)&&!Oe(a);){const t=ke(a),r=Se(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ve(a)&&!r&&Le(e,a))?n=n.filter((e=>e!==a)):o=t,a=Ce(a)}return t.set(e,n),n}(t,this._c):[].concat(r),a=[...i,n],s=a[0],l=a.reduce(((e,r)=>{const n=ze(t,r,o);return e.top=H(n.top,e.top),e.right=B(n.right,e.right),e.bottom=B(n.bottom,e.bottom),e.left=H(n.left,e.left),e}),ze(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Be,getElementRects:async function(e){const t=this.getOffsetParent||Be,r=this.getDimensions,n=await r(e.floating);return{reference:Ve(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Ne(e);return{width:t,height:r}},getScale:Re,isElement:he,isRTL:function(e){return"rtl"===ke(e).direction}};function Ue(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=Ae(e),u=o||i?[...c?Pe(c):[],...Pe(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const f=c&&s?function(e,t){let r,n=null;const o=me(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:f,height:d}=e.getBoundingClientRect();if(s||t(),!f||!d)return;const p={rootMargin:-G(u)+"px "+-G(o.clientWidth-(c+f))+"px "+-G(o.clientHeight-(u+d))+"px "+-G(c)+"px",threshold:H(0,B(1,l))||1};let m=!0;function y(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return a();t?a(!1,t):r=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{n=new IntersectionObserver(y,{...p,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(y,p)}n.observe(e)}(!0),i}(c,r):null;let d,p=-1,m=null;a&&(m=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),r()})),c&&!l&&m.observe(c),m.observe(t));let y=l?Ie(e):null;return l&&function t(){const n=Ie(e);!y||n.x===y.x&&n.y===y.y&&n.width===y.width&&n.height===y.height||r();y=n,d=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),null==f||f(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(d)}}const Ge=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=Z(r),s=Q(r),l="y"===re(r),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,f=J(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&"number"==typeof m&&(p="end"===s?-1*m:m),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},Ke=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=J(e,t),c={x:r,y:n},u=await ce(t,l),f=re(Z(o)),d=ee(f);let p=c[d],m=c[f];if(i){const e="y"===d?"bottom":"right";p=X(p+u["y"===d?"top":"left"],p,p-u[e])}if(a){const e="y"===f?"bottom":"right";m=X(m+u["y"===f?"top":"left"],m,m-u[e])}const y=s.fn({...t,[d]:p,[f]:m});return{...y,data:{x:y.x-r,y:y.y-n}}}}},qe=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...h}=J(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const g=Z(o),b=re(s),v=Z(s)===s,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=d||(v||!y?[ie(s)]:function(e){const t=ie(e);return[oe(e),t,oe(t)]}(s)),S="none"!==m;!d&&S&&x.push(...function(e,t,r,n){const o=Q(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}(Z(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(oe)))),i}(s,y,m,w));const E=[s,...x],O=await ce(t,h),k=[];let $=(null==(n=i.flip)?void 0:n.overflows)||[];if(u&&k.push(O[g]),f){const e=function(e,t,r){void 0===r&&(r=!1);const n=Q(e),o=ne(e),i=te(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ie(a)),[a,ie(a)]}(o,a,w);k.push(O[e[0]],O[e[1]])}if($=[...$,{placement:o,overflows:k}],!k.every((e=>e<=0))){var C,_;const e=((null==(C=i.flip)?void 0:C.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:$},reset:{placement:t}};let r=null==(_=$.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:_.placement;if(!r)switch(p){case"bestFit":{var P;const e=null==(P=$.filter((e=>{if(S){const t=re(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(r=e);break}case"initialPlacement":r=s}if(o!==r)return{reset:{placement:r}}}return{}}}},Ye=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:i}=t,{apply:a=()=>{},...s}=J(e,t),l=await ce(t,s),c=Z(r),u=Q(r),f="y"===re(r),{width:d,height:p}=n.floating;let m,y;"top"===c||"bottom"===c?(m=c,y=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(y=c,m="end"===u?"top":"bottom");const h=p-l.top-l.bottom,g=d-l.left-l.right,b=B(p-l[m],h),v=B(d-l[y],g),w=!t.middlewareData.shift;let x=b,S=v;if(f?S=u||w?B(v,g):g:x=u||w?B(b,h):h,w&&!u){const e=H(l.left,0),t=H(l.right,0),r=H(l.top,0),n=H(l.bottom,0);f?S=d-2*(0!==e||0!==t?e+t:H(l.left,l.right)):x=p-2*(0!==r||0!==n?r+n:H(l.top,l.bottom))}await a({...t,availableWidth:S,availableHeight:x});const E=await o.getDimensions(i.floating);return d!==E.width||p!==E.height?{reset:{rects:!0}}:{}}}},Xe=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=J(e,t);switch(n){case"referenceHidden":{const e=ue(await ce(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:fe(e)}}}case"escaped":{const e=ue(await ce(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:fe(e)}}}default:return{}}}}},Je=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=J(e,t)||{};if(null==c)return{};const f=ae(u),d={x:r,y:n},p=ne(o),m=te(p),y=await a.getDimensions(c),h="y"===p,g=h?"top":"left",b=h?"bottom":"right",v=h?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-d[p]-i.floating[m],x=d[p]-i.reference[p],S=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let E=S?S[v]:0;E&&await(null==a.isElement?void 0:a.isElement(S))||(E=s.floating[v]||i.floating[m]);const O=w/2-x/2,k=E/2-y[m]/2-1,$=B(f[g],k),C=B(f[b],k),_=$,P=E-y[m]-C,T=E/2-y[m]/2+O,N=X(_,T,P),A=!l.arrow&&null!=Q(o)&&T!==N&&i.reference[m]/2-(T<_?$:C)-y[m]/2<0,R=A?T<_?T-_:T-P:0;return{[p]:d[p]+R,data:{[p]:N,centerOffset:T-N-R,...A&&{alignmentOffset:R}},reset:A}}}),Ze=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=J(e,t),u={x:r,y:n},f=re(o),d=ee(f);let p=u[d],m=u[f];const y=J(s,t),h="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+h.mainAxis,r=i.reference[d]+i.reference[e]-h.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var g,b;const e="y"===d?"width":"height",t=["top","left"].includes(Z(o)),r=i.reference[f]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[f])||0)+(t?0:h.crossAxis),n=i.reference[f]+i.reference[e]+(t?0:(null==(b=a.offset)?void 0:b[f])||0)-(t?h.crossAxis:0);m<r?m=r:m>n&&(m=n)}return{[d]:p,[f]:m}}}},Qe=(e,t,r)=>{const n=new Map,o={platform:He,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=le(c,n,l),d=n,p={},m=0;for(let r=0;r<s.length;r++){const{name:i,fn:y}=s[r],{x:h,y:g,data:b,reset:v}=await y({x:u,y:f,initialPlacement:n,placement:d,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=h?h:u,f=null!=g?g:f,p={...p,[i]:{...p[i],...b}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:u,y:f}=le(c,d,l))),r=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var et="undefined"!=typeof document?r:n;function tt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!=n--;)if(!tt(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!tt(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function rt(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nt(e,t){const r=rt(e);return Math.round(t*r)/r}function ot(t){const r=e.useRef(t);return et((()=>{r.current=t})),r}const it=e=>({name:"arrow",options:e,fn(t){const{element:r,padding:n}="function"==typeof e?e(t):e;return r&&(o=r,{}.hasOwnProperty.call(o,"current"))?null!=r.current?Je({element:r.current,padding:n}).fn(t):{}:r?Je({element:r,padding:n}).fn(t):{};var o}}),at=(e,t)=>({...Ke(e),options:[e,t]}),st=(e,t)=>({...Ze(e),options:[e,t]}),lt=(e,t)=>({...qe(e),options:[e,t]}),ct=(e,t)=>({...Ye(e),options:[e,t]}),ut=(e,t)=>({...Xe(e),options:[e,t]}),ft=(e,t)=>({...it(e),options:[e,t]});var dt=e.forwardRef(((e,t)=>{const{children:r,width:n=10,height:o=5,...i}=e;return l(_.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:l("polygon",{points:"0,0 30,0 15,10"})})}));dt.displayName="Arrow";var pt=dt;var mt="Popper",[yt,ht]=x(mt),[gt,bt]=yt(mt),vt=t=>{const{__scopePopper:r,children:n}=t,[o,i]=e.useState(null);return l(gt,{scope:r,anchor:o,onAnchorChange:i,children:n})};vt.displayName=mt;var wt="PopperAnchor",xt=e.forwardRef(((t,r)=>{const{__scopePopper:n,virtualRef:o,...i}=t,a=bt(wt,n),s=e.useRef(null),c=w(r,s);return e.useEffect((()=>{a.onAnchorChange(o?.current||s.current)})),o?null:l(_.div,{...i,ref:c})}));xt.displayName=wt;var St="PopperContent",[Et,Ot]=yt(St),kt=e.forwardRef(((t,r)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:a="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:y=!1,updatePositionStrategy:h="optimized",onPlaced:g,...b}=t,v=bt(St,n),[x,S]=e.useState(null),E=w(r,(e=>S(e))),[O,k]=e.useState(null),$=function(t){const[r,n]=e.useState(void 0);return L((()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const e=new ResizeObserver((e=>{if(!Array.isArray(e))return;if(!e.length)return;const r=e[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=t.offsetWidth,i=t.offsetHeight;n({width:o,height:i})}));return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}n(void 0)}),[t]),r}(O),C=$?.width??0,T=$?.height??0,N=o+("center"!==a?"-"+a:""),A="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},R=Array.isArray(d)?d:[d],j=R.length>0,M={padding:A,boundary:R.filter(Pt),altBoundary:j},{refs:I,floatingStyles:D,placement:z,isPositioned:V,middlewareData:F}=function(t){void 0===t&&(t={});const{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=t,[d,p]=e.useState({x:0,y:0,strategy:n,placement:r,middlewareData:{},isPositioned:!1}),[m,y]=e.useState(o);tt(m,o)||y(o);const[h,g]=e.useState(null),[b,v]=e.useState(null),w=e.useCallback((e=>{e!==O.current&&(O.current=e,g(e))}),[]),x=e.useCallback((e=>{e!==k.current&&(k.current=e,v(e))}),[]),S=a||h,E=s||b,O=e.useRef(null),k=e.useRef(null),$=e.useRef(d),C=null!=c,_=ot(c),P=ot(i),T=e.useCallback((()=>{if(!O.current||!k.current)return;const e={placement:r,strategy:n,middleware:m};P.current&&(e.platform=P.current),Qe(O.current,k.current,e).then((e=>{const t={...e,isPositioned:!0};N.current&&!tt($.current,t)&&($.current=t,f.flushSync((()=>{p(t)})))}))}),[m,r,n,P]);et((()=>{!1===u&&$.current.isPositioned&&($.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[u]);const N=e.useRef(!1);et((()=>(N.current=!0,()=>{N.current=!1})),[]),et((()=>{if(S&&(O.current=S),E&&(k.current=E),S&&E){if(_.current)return _.current(S,E,T);T()}}),[S,E,T,_,C]);const A=e.useMemo((()=>({reference:O,floating:k,setReference:w,setFloating:x})),[w,x]),R=e.useMemo((()=>({reference:S,floating:E})),[S,E]),j=e.useMemo((()=>{const e={position:n,left:0,top:0};if(!R.floating)return e;const t=nt(R.floating,d.x),r=nt(R.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...rt(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,R.floating,d.x,d.y]);return e.useMemo((()=>({...d,update:T,refs:A,elements:R,floatingStyles:j})),[d,T,A,R,j])}({strategy:"fixed",placement:N,whileElementsMounted:(...e)=>Ue(...e,{animationFrame:"always"===h}),elements:{reference:v.anchor},middleware:[(W={mainAxis:i+T,alignmentAxis:s},{...Ge(W),options:[W,B]}),u&&at({mainAxis:!0,crossAxis:!1,limiter:"partial"===m?st():void 0,...M}),u&&lt({...M}),ct({...M,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),O&&ft({element:O,padding:c}),Tt({arrowWidth:C,arrowHeight:T}),y&&ut({strategy:"referenceHidden",...M})]});var W,B;const[H,U]=Nt(z),G=P(g);L((()=>{V&&G?.()}),[V,G]);const K=F.arrow?.x,q=F.arrow?.y,Y=0!==F.arrow?.centerOffset,[X,J]=e.useState();return L((()=>{x&&J(window.getComputedStyle(x).zIndex)}),[x]),l("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:V?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:l(Et,{scope:n,placedSide:H,onArrowChange:k,arrowX:K,arrowY:q,shouldHideArrow:Y,children:l(_.div,{"data-side":H,"data-align":U,...b,ref:E,style:{...b.style,animation:V?void 0:"none"}})})})}));kt.displayName=St;var $t="PopperArrow",Ct={top:"bottom",right:"left",bottom:"top",left:"right"},_t=e.forwardRef((function(e,t){const{__scopePopper:r,...n}=e,o=Ot($t,r),i=Ct[o.placedSide];return l("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:l(pt,{...n,ref:t,style:{...n.style,display:"block"}})})}));function Pt(e){return null!==e}_t.displayName=$t;var Tt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,i=0!==o.arrow?.centerOffset,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,c]=Nt(r),u={start:"0%",center:"50%",end:"100%"}[c],f=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+s/2;let p="",m="";return"bottom"===l?(p=i?u:`${f}px`,m=-s+"px"):"top"===l?(p=i?u:`${f}px`,m=`${n.floating.height+s}px`):"right"===l?(p=-s+"px",m=i?u:`${d}px`):"left"===l&&(p=`${n.floating.width+s}px`,m=i?u:`${d}px`),{data:{x:p,y:m}}}});function Nt(e){const[t,r="center"]=e.split("-");return[t,r]}var At=vt,Rt=xt,jt=kt,Mt=_t;var It=t=>{const{present:r,children:n}=t,o=function(t){const[r,n]=e.useState(),o=e.useRef({}),i=e.useRef(t),a=e.useRef("none"),s=t?"mounted":"unmounted",[l,c]=function(t,r){return e.useReducer(((e,t)=>r[e][t]??e),t)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return e.useEffect((()=>{const e=Dt(o.current);a.current="mounted"===l?e:"none"}),[l]),L((()=>{const e=o.current,r=i.current;if(r!==t){const n=a.current,o=Dt(e);if(t)c("MOUNT");else if("none"===o||"none"===e?.display)c("UNMOUNT");else{c(r&&n!==o?"ANIMATION_OUT":"UNMOUNT")}i.current=t}}),[t,c]),L((()=>{if(r){const e=e=>{const t=Dt(o.current).includes(e.animationName);e.target===r&&t&&f.flushSync((()=>c("ANIMATION_END")))},t=e=>{e.target===r&&(a.current=Dt(o.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}c("ANIMATION_END")}),[r,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:e.useCallback((e=>{e&&(o.current=getComputedStyle(e)),n(e)}),[])}}(r),i="function"==typeof n?n({present:o.isPresent}):e.Children.only(n),a=w(o.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;if(r)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r)return e.props.ref;return e.props.ref||e.ref}(i));return"function"==typeof n||o.isPresent?e.cloneElement(i,{ref:a}):null};function Dt(e){return e?.animationName||"none"}function zt({prop:t,defaultProp:r,onChange:n=()=>{}}){const[o,i]=function({defaultProp:t,onChange:r}){const n=e.useState(t),[o]=n,i=e.useRef(o),a=P(r);return e.useEffect((()=>{i.current!==o&&(a(o),i.current=o)}),[o,i,a]),n}({defaultProp:r,onChange:n}),a=void 0!==t,s=a?t:o,l=P(n);return[s,e.useCallback((e=>{if(a){const r="function"==typeof e?e(t):e;r!==t&&l(r)}else i(e)}),[a,t,i,l])]}It.displayName="Presence";var Lt=e.forwardRef(((e,t)=>l(_.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));Lt.displayName="VisuallyHidden";var Vt=Lt,[Ft,Wt]=x("Tooltip",[ht]),Bt=ht(),Ht="TooltipProvider",Ut=700,Gt="tooltip.open",[Kt,qt]=Ft(Ht),Yt=t=>{const{__scopeTooltip:r,delayDuration:n=Ut,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:a}=t,[s,c]=e.useState(!0),u=e.useRef(!1),f=e.useRef(0);return e.useEffect((()=>{const e=f.current;return()=>window.clearTimeout(e)}),[]),l(Kt,{scope:r,isOpenDelayed:s,delayDuration:n,onOpen:e.useCallback((()=>{window.clearTimeout(f.current),c(!1)}),[]),onClose:e.useCallback((()=>{window.clearTimeout(f.current),f.current=window.setTimeout((()=>c(!0)),o)}),[o]),isPointerInTransitRef:u,onPointerInTransitChange:e.useCallback((e=>{u.current=e}),[]),disableHoverableContent:i,children:a})};Yt.displayName=Ht;var Xt="Tooltip",[Jt,Zt]=Ft(Xt),Qt=t=>{const{__scopeTooltip:r,children:n,open:o,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:c}=t,u=qt(Xt,t.__scopeTooltip),f=Bt(r),[d,p]=e.useState(null),m=function(t){const[r,n]=e.useState(V());return L((()=>{n((e=>e??String(F++)))}),[t]),r?`radix-${r}`:""}(),y=e.useRef(0),h=s??u.disableHoverableContent,g=c??u.delayDuration,b=e.useRef(!1),[v=!1,w]=zt({prop:o,defaultProp:i,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(Gt))):u.onClose(),a?.(e)}}),x=e.useMemo((()=>v?b.current?"delayed-open":"instant-open":"closed"),[v]),S=e.useCallback((()=>{window.clearTimeout(y.current),b.current=!1,w(!0)}),[w]),E=e.useCallback((()=>{window.clearTimeout(y.current),w(!1)}),[w]),O=e.useCallback((()=>{window.clearTimeout(y.current),y.current=window.setTimeout((()=>{b.current=!0,w(!0)}),g)}),[g,w]);return e.useEffect((()=>()=>window.clearTimeout(y.current)),[]),l(At,{...f,children:l(Jt,{scope:r,contentId:m,open:v,stateAttribute:x,trigger:d,onTriggerChange:p,onTriggerEnter:e.useCallback((()=>{u.isOpenDelayed?O():S()}),[u.isOpenDelayed,O,S]),onTriggerLeave:e.useCallback((()=>{h?E():window.clearTimeout(y.current)}),[E,h]),onOpen:S,onClose:E,disableHoverableContent:h,children:n})})};Qt.displayName=Xt;var er="TooltipTrigger",tr=e.forwardRef(((t,r)=>{const{__scopeTooltip:n,...o}=t,i=Zt(er,n),a=qt(er,n),s=Bt(n),c=w(r,e.useRef(null),i.onTriggerChange),u=e.useRef(!1),f=e.useRef(!1),d=e.useCallback((()=>u.current=!1),[]);return e.useEffect((()=>()=>document.removeEventListener("pointerup",d)),[d]),l(Rt,{asChild:!0,...s,children:l(_.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...o,ref:c,onPointerMove:b(t.onPointerMove,(e=>{"touch"!==e.pointerType&&(f.current||a.isPointerInTransitRef.current||(i.onTriggerEnter(),f.current=!0))})),onPointerLeave:b(t.onPointerLeave,(()=>{i.onTriggerLeave(),f.current=!1})),onPointerDown:b(t.onPointerDown,(()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})})),onFocus:b(t.onFocus,(()=>{u.current||i.onOpen()})),onBlur:b(t.onBlur,i.onClose),onClick:b(t.onClick,i.onClose)})})}));tr.displayName=er;var[rr,nr]=Ft("TooltipPortal",{forceMount:void 0}),or="TooltipContent",ir=e.forwardRef(((e,t)=>{const r=nr(or,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,a=Zt(or,e.__scopeTooltip);return l(It,{present:n||a.open,children:a.disableHoverableContent?l(cr,{side:o,...i,ref:t}):l(ar,{side:o,...i,ref:t})})})),ar=e.forwardRef(((t,r)=>{const n=Zt(or,t.__scopeTooltip),o=qt(or,t.__scopeTooltip),i=e.useRef(null),a=w(r,i),[s,c]=e.useState(null),{trigger:u,onClose:f}=n,d=i.current,{onPointerInTransitChange:p}=o,m=e.useCallback((()=>{c(null),p(!1)}),[p]),y=e.useCallback(((e,t)=>{const r=e.currentTarget,n={x:e.clientX,y:e.clientY},o=function(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(n,function(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}(n,r.getBoundingClientRect())),i=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const n=e[r];for(;t.length>=2;){const e=t[t.length-1],r=t[t.length-2];if(!((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x)))break;t.pop()}t.push(n)}t.pop();const r=[];for(let t=e.length-1;t>=0;t--){const n=e[t];for(;r.length>=2;){const e=r[r.length-1],t=r[r.length-2];if(!((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x)))break;r.pop()}r.push(n)}return r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}(t)}([...o,...function(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}(t.getBoundingClientRect())]);c(i),p(!0)}),[p]);return e.useEffect((()=>()=>m()),[m]),e.useEffect((()=>{if(u&&d){const e=e=>y(e,d),t=e=>y(e,u);return u.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}}),[u,d,y,m]),e.useEffect((()=>{if(s){const e=e=>{const t=e.target,r={x:e.clientX,y:e.clientY},n=u?.contains(t)||d?.contains(t),o=!function(e,t){const{x:r,y:n}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,l=t[i].x,c=t[i].y;s>n!=c>n&&r<(l-a)*(n-s)/(c-s)+a&&(o=!o)}return o}(r,s);n?m():o&&(m(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[u,d,s,f,m]),l(cr,{...t,ref:a})})),[sr,lr]=Ft(Xt,{isInside:!1}),cr=e.forwardRef(((t,r)=>{const{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:s,...c}=t,f=Zt(or,n),d=Bt(n),{onClose:p}=f;return e.useEffect((()=>(document.addEventListener(Gt,p),()=>document.removeEventListener(Gt,p))),[p]),e.useEffect((()=>{if(f.trigger){const e=e=>{const t=e.target;t?.contains(f.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[f.trigger,p]),l(M,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:u(jt,{"data-state":f.stateAttribute,...d,...c,ref:r,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l(k,{children:o}),l(sr,{scope:n,isInside:!0,children:l(Vt,{id:f.contentId,role:"tooltip",children:i||o})})]})})}));ir.displayName=or;var ur="TooltipArrow";e.forwardRef(((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Bt(r);return lr(ur,r).isInside?null:l(Mt,{...o,...n,ref:t})})).displayName=ur;var fr=Yt,dr=Qt,pr=tr,mr=ir;function yr(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=yr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function hr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=yr(e))&&(n&&(n+=" "),n+=t);return n}const gr=e=>{const t=xr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),br(r,t)||wr(e)},getConflictingClassGroupIds:(e,t)=>{const o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},br=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?br(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find((({validator:e})=>e(i)))?.classGroupId},vr=/^\[(.+)\]$/,wr=e=>{if(vr.test(e)){const t=vr.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},xr=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return kr(Object.entries(e.classGroups),r).forEach((([e,r])=>{Sr(r,n,e,t)})),n},Sr=(e,t,r,n)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return Or(e)?void Sr(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,o])=>{Sr(o,Er(t,e),r,n)}))}else{(""===e?t:Er(t,e)).classGroupId=r}}))},Er=(e,t)=>{let r=e;return t.split("-").forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r},Or=e=>e.isThemeGetter,kr=(e,t)=>t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e,$r=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},Cr=e=>{const{separator:t,experimentalParseClassName:r}=e,n=1===t.length,o=t[0],i=t.length,a=e=>{const r=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===o&&(n||e.slice(c,c+i)===t)){r.push(e.slice(l,c)),l=c+i;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===r.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:r,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}};return r?e=>r({className:e,parseClassName:a}):a},_r=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t},Pr=/\s+/;function Tr(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=Nr(e))&&(n&&(n+=" "),n+=t);return n}const Nr=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Nr(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ar(e,...t){let r,n,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return r=(e=>({cache:$r(e.cacheSize),parseClassName:Cr(e),...gr(e)}))(l),n=r.cache.get,o=r.cache.set,i=a,a(s)};function a(e){const t=n(e);if(t)return t;const i=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(Pr);let s="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{modifiers:l,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:f}=r(t);let d=Boolean(f),p=n(d?u.substring(0,f):u);if(!p){if(!d){s=t+(s.length>0?" "+s:s);continue}if(p=n(u),!p){s=t+(s.length>0?" "+s:s);continue}d=!1}const m=_r(l).join(":"),y=c?m+"!":m,h=y+p;if(i.includes(h))continue;i.push(h);const g=o(p,d);for(let e=0;e<g.length;++e){const t=g[e];i.push(y+t)}s=t+(s.length>0?" "+s:s)}return s})(e,r);return o(e,i),i}return function(){return i(Tr.apply(null,arguments))}}const Rr=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},jr=/^\[(?:([a-z-]+):)?(.+)\]$/i,Mr=/^\d+\/\d+$/,Ir=new Set(["px","full","screen"]),Dr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Vr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wr=e=>Hr(e)||Ir.has(e)||Mr.test(e),Br=e=>nn(e,"length",on),Hr=e=>Boolean(e)&&!Number.isNaN(Number(e)),Ur=e=>nn(e,"number",Hr),Gr=e=>Boolean(e)&&Number.isInteger(Number(e)),Kr=e=>e.endsWith("%")&&Hr(e.slice(0,-1)),qr=e=>jr.test(e),Yr=e=>Dr.test(e),Xr=new Set(["length","size","percentage"]),Jr=e=>nn(e,Xr,an),Zr=e=>nn(e,"position",an),Qr=new Set(["image","url"]),en=e=>nn(e,Qr,ln),tn=e=>nn(e,"",sn),rn=()=>!0,nn=(e,t,r)=>{const n=jr.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},on=e=>zr.test(e)&&!Lr.test(e),an=()=>!1,sn=e=>Vr.test(e),ln=e=>Fr.test(e),cn=()=>{const e=Rr("colors"),t=Rr("spacing"),r=Rr("blur"),n=Rr("brightness"),o=Rr("borderColor"),i=Rr("borderRadius"),a=Rr("borderSpacing"),s=Rr("borderWidth"),l=Rr("contrast"),c=Rr("grayscale"),u=Rr("hueRotate"),f=Rr("invert"),d=Rr("gap"),p=Rr("gradientColorStops"),m=Rr("gradientColorStopPositions"),y=Rr("inset"),h=Rr("margin"),g=Rr("opacity"),b=Rr("padding"),v=Rr("saturate"),w=Rr("scale"),x=Rr("sepia"),S=Rr("skew"),E=Rr("space"),O=Rr("translate"),k=()=>["auto",qr,t],$=()=>[qr,t],C=()=>["",Wr,Br],_=()=>["auto",Hr,qr],P=()=>["","0",qr],T=()=>[Hr,qr];return{cacheSize:500,separator:":",theme:{colors:[rn],spacing:[Wr,Br],blur:["none","",Yr,qr],brightness:T(),borderColor:[e],borderRadius:["none","","full",Yr,qr],borderSpacing:$(),borderWidth:C(),contrast:T(),grayscale:P(),hueRotate:T(),invert:P(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[Kr,Br],inset:k(),margin:k(),opacity:T(),padding:$(),saturate:T(),scale:T(),sepia:P(),skew:T(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",qr]}],container:["container"],columns:[{columns:[Yr]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",qr]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Gr,qr]}],basis:[{basis:k()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",qr]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Gr,qr]}],"grid-cols":[{"grid-cols":[rn]}],"col-start-end":[{col:["auto",{span:["full",Gr,qr]},qr]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[rn]}],"row-start-end":[{row:["auto",{span:[Gr,qr]},qr]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",qr]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",qr]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",qr,t]}],"min-w":[{"min-w":[qr,t,"min","max","fit"]}],"max-w":[{"max-w":[qr,t,"none","full","min","max","fit","prose",{screen:[Yr]},Yr]}],h:[{h:[qr,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[qr,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[qr,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[qr,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Yr,Br]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ur]}],"font-family":[{font:[rn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",qr]}],"line-clamp":[{"line-clamp":["none",Hr,Ur]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wr,qr]}],"list-image":[{"list-image":["none",qr]}],"list-style-type":[{list:["none","disc","decimal",qr]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wr,Br]}],"underline-offset":[{"underline-offset":["auto",Wr,qr]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},en]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Wr,qr]}],"outline-w":[{outline:[Wr,Br]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Wr,Br]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Yr,tn]}],"shadow-color":[{shadow:[rn]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Yr,qr]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",qr]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",qr]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",qr]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Gr,qr]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",qr]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qr]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qr]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Wr,Br,Ur]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},un=Ar(cn);function fn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return un(hr(e))}var dn=fr,pn=dr,mn=pr,yn=e.forwardRef((function(t,r){var n=t.className,o=t.sideOffset,i=void 0===o?4:o,a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(t,["className","sideOffset"]);return e.createElement(mr,g({ref:r,sideOffset:i,className:fn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n)},a))}));yn.displayName=mr.displayName;var hn={},gn={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(gn);var bn=gn.exports,vn={};function wn(){return wn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wn.apply(null,arguments)}function xn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Sn(e){if(!xn(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=Sn(e[r])})),t}function En(e,t,r={clone:!0}){const n=r.clone?wn({},e):e;return xn(e)&&xn(t)&&Object.keys(t).forEach((o=>{xn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&xn(e[o])?n[o]=En(e[o],t[o],r):r.clone?n[o]=xn(t[o])?Sn(t[o]):t[o]:n[o]=t[o]})),n}var On,kn=Object.freeze({__proto__:null,default:En,isPlainObject:xn}),$n={exports:{}},Cn={exports:{}},_n={};var Pn,Tn,Nn,An,Rn,jn,Mn,In,Dn,zn,Ln,Vn,Fn,Wn,Bn={};
7
- /** @license React v16.13.1
8
- * react-is.development.js
9
- *
10
- * Copyright (c) Facebook, Inc. and its affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */function Hn(){return Tn||(Tn=1,"production"===process.env.NODE_ENV?Cn.exports=function(){if(On)return _n;On=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case l:case c:case n:case i:case o:case f:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case p:case a:return e;default:return d}}case r:return d}}}function w(e){return v(e)===c}return _n.AsyncMode=l,_n.ConcurrentMode=c,_n.ContextConsumer=s,_n.ContextProvider=a,_n.Element=t,_n.ForwardRef=u,_n.Fragment=n,_n.Lazy=m,_n.Memo=p,_n.Portal=r,_n.Profiler=i,_n.StrictMode=o,_n.Suspense=f,_n.isAsyncMode=function(e){return w(e)||v(e)===l},_n.isConcurrentMode=w,_n.isContextConsumer=function(e){return v(e)===s},_n.isContextProvider=function(e){return v(e)===a},_n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},_n.isForwardRef=function(e){return v(e)===u},_n.isFragment=function(e){return v(e)===n},_n.isLazy=function(e){return v(e)===m},_n.isMemo=function(e){return v(e)===p},_n.isPortal=function(e){return v(e)===r},_n.isProfiler=function(e){return v(e)===i},_n.isStrictMode=function(e){return v(e)===o},_n.isSuspense=function(e){return v(e)===f},_n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},_n.typeOf=v,_n}():Cn.exports=(Pn||(Pn=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var y=e.type;switch(y){case l:case c:case n:case i:case o:case f:return y;default:var h=y&&y.$$typeof;switch(h){case s:case u:case m:case p:case a:return h;default:return d}}case r:return d}}}var w=l,x=c,S=s,E=a,O=t,k=u,$=n,C=m,_=p,P=r,T=i,N=o,A=f,R=!1;function j(e){return v(e)===c}Bn.AsyncMode=w,Bn.ConcurrentMode=x,Bn.ContextConsumer=S,Bn.ContextProvider=E,Bn.Element=O,Bn.ForwardRef=k,Bn.Fragment=$,Bn.Lazy=C,Bn.Memo=_,Bn.Portal=P,Bn.Profiler=T,Bn.StrictMode=N,Bn.Suspense=A,Bn.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(e)||v(e)===l},Bn.isConcurrentMode=j,Bn.isContextConsumer=function(e){return v(e)===s},Bn.isContextProvider=function(e){return v(e)===a},Bn.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Bn.isForwardRef=function(e){return v(e)===u},Bn.isFragment=function(e){return v(e)===n},Bn.isLazy=function(e){return v(e)===m},Bn.isMemo=function(e){return v(e)===p},Bn.isPortal=function(e){return v(e)===r},Bn.isProfiler=function(e){return v(e)===i},Bn.isStrictMode=function(e){return v(e)===o},Bn.isSuspense=function(e){return v(e)===f},Bn.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},Bn.typeOf=v}()),Bn)),Cn.exports}
15
- /*
16
- object-assign
17
- (c) Sindre Sorhus
18
- @license MIT
19
- */function Un(){if(An)return Nn;An=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return Nn=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},Nn}function Gn(){if(jn)return Rn;jn=1;return Rn="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Kn(){return In?Mn:(In=1,Mn=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var qn=Hn();$n.exports=function(){if(Vn)return Ln;Vn=1;var e=Hn(),t=Un(),r=Gn(),n=Kn(),o=function(){if(zn)return Dn;zn=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Gn(),r={},n=Kn();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(n(o,c)){var u;try{if("function"!=typeof o[c]){var f=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=o[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in r)){r[u.message]=!0;var d=l?l():"";e("Failed "+a+" type: "+u.message+(null!=d?d:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},Dn=o}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Ln=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",f="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:y(a),arrayOf:function(e){return y((function(t,n,o,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new m("Invalid "+i+" `"+a+"` of type `"+v(s)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,o,i,a+"["+l+"]",r);if(c instanceof Error)return c}return null}))},element:y((function(e,t,r,n,o){var i=e[t];return s(i)?null:new m("Invalid "+n+" `"+o+"` of type `"+v(i)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(t,r,n,o,i){var a=t[r];return e.isValidElementType(a)?null:new m("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return y((function(t,r,n,o,i){if(!(t[r]instanceof e)){var a=e.name||f;return new m("Invalid "+o+" `"+i+"` of type `"+((s=t[r]).constructor&&s.constructor.name?s.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var s;return null}))},node:y((function(e,t,r,n,o){return b(e[t])?null:new m("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return y((function(t,o,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new m("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(n(l,u)){var f=e(l,u,i,a,s+"."+u,r);if(f instanceof Error)return f}return null}))},oneOf:function(e){return Array.isArray(e)?y((function(t,r,n,o,i){for(var a=t[r],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),a}return y((function(t,o,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,i,a,s,r);if(null==u)return null;u.data&&n(u.data,"expectedType")&&l.push(u.data.expectedType)}return new m("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return y((function(t,n,o,i,a){var s=t[n],l=v(s);if("object"!==l)return new m("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(o,i,a,c,w(u));var f=u(s,c,o,i,a+"."+c,r);if(f)return f}return null}))},exact:function(e){return y((function(o,i,a,s,l){var c=o[i],u=v(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var f=t({},o[i],e);for(var d in f){var p=e[d];if(n(e,d)&&"function"!=typeof p)return g(a,s,l,d,w(p));if(!p)return new m("Invalid "+s+" `"+l+"` key `"+d+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(c,d,a,s,l+"."+d,r);if(y)return y}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function y(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function o(o,a,s,c,u,d,p){if(c=c||f,d=d||s,p!==r){if(l){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+s;!t[h]&&n<3&&(i("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[h]=!0,n++)}}return null==a[s]?o?null===a[s]?new m("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,u,d)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function h(e){return y((function(t,r,n,o,i,a){var s=t[r];return v(s)!==e?new m("Invalid "+o+" `"+i+"` of type `"+w(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,r,n,o){return new m((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!b(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},Ln}()(qn.isElement,!0)}else $n.exports=function(){if(Wn)return Fn;Wn=1;var e=Gn();function t(){}function r(){}return r.resetWarningCache=t,Fn=function(){function n(t,r,n,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return n}n.isRequired=n;var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i}}()();var Yn=d($n.exports);function Xn(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Jn,Zn=Object.freeze({__proto__:null,default:Xn}),Qn={exports:{}},eo={};var to,ro={};
20
- /**
21
- * @license React
22
- * react-is.development.js
23
- *
24
- * Copyright (c) Facebook, Inc. and its affiliates.
25
- *
26
- * This source code is licensed under the MIT license found in the
27
- * LICENSE file in the root directory of this source tree.
28
- */"production"===process.env.NODE_ENV?Qn.exports=function(){if(Jn)return eo;Jn=1;var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case n:case i:case o:case u:case f:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case p:case d:case a:return e;default:return m}}case r:return m}}}return e=Symbol.for("react.module.reference"),eo.ContextConsumer=s,eo.ContextProvider=a,eo.Element=t,eo.ForwardRef=c,eo.Fragment=n,eo.Lazy=p,eo.Memo=d,eo.Portal=r,eo.Profiler=i,eo.StrictMode=o,eo.Suspense=u,eo.SuspenseList=f,eo.isAsyncMode=function(){return!1},eo.isConcurrentMode=function(){return!1},eo.isContextConsumer=function(e){return y(e)===s},eo.isContextProvider=function(e){return y(e)===a},eo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},eo.isForwardRef=function(e){return y(e)===c},eo.isFragment=function(e){return y(e)===n},eo.isLazy=function(e){return y(e)===p},eo.isMemo=function(e){return y(e)===d},eo.isPortal=function(e){return y(e)===r},eo.isProfiler=function(e){return y(e)===i},eo.isStrictMode=function(e){return y(e)===o},eo.isSuspense=function(e){return y(e)===u},eo.isSuspenseList=function(e){return y(e)===f},eo.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===i||t===o||t===u||t===f||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},eo.typeOf=y,eo}():Qn.exports=(to||(to=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var y=e.type;switch(y){case n:case i:case o:case u:case f:return y;default:var h=y&&y.$$typeof;switch(h){case l:case s:case c:case p:case d:case a:return h;default:return m}}case r:return m}}}e=Symbol.for("react.module.reference");var h=s,g=a,b=t,v=c,w=n,x=p,S=d,E=r,O=i,k=o,$=u,C=f,_=!1,P=!1;ro.ContextConsumer=h,ro.ContextProvider=g,ro.Element=b,ro.ForwardRef=v,ro.Fragment=w,ro.Lazy=x,ro.Memo=S,ro.Portal=E,ro.Profiler=O,ro.StrictMode=k,ro.Suspense=$,ro.SuspenseList=C,ro.isAsyncMode=function(e){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},ro.isConcurrentMode=function(e){return P||(P=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},ro.isContextConsumer=function(e){return y(e)===s},ro.isContextProvider=function(e){return y(e)===a},ro.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ro.isForwardRef=function(e){return y(e)===c},ro.isFragment=function(e){return y(e)===n},ro.isLazy=function(e){return y(e)===p},ro.isMemo=function(e){return y(e)===d},ro.isPortal=function(e){return y(e)===r},ro.isProfiler=function(e){return y(e)===i},ro.isStrictMode=function(e){return y(e)===o},ro.isSuspense=function(e){return y(e)===u},ro.isSuspenseList=function(e){return y(e)===f},ro.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===i||t===o||t===u||t===f||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},ro.typeOf=y}()),ro);var no=Qn.exports;const oo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function io(e){const t=`${e}`.match(oo);return t&&t[1]||""}function ao(e,t=""){return e.displayName||e.name||io(e)||t}function so(e,t,r){const n=ao(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var lo=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ao(e,"Component");if("object"==typeof e)switch(e.$$typeof){case no.ForwardRef:return so(e,e.render,"ForwardRef");case no.Memo:return so(e,e.type,"memo");default:return}}},getFunctionName:io});function co(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Xn(7));return e.charAt(0).toUpperCase()+e.slice(1)}var uo=Object.freeze({__proto__:null,default:co});function fo(e){return e&&e.ownerDocument||document}function po(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const mo="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let yo=0;const ho=e["useId".toString()];class go{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new go}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let bo=!0,vo=!1;const wo=new go,xo={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function So(e){e.metaKey||e.altKey||e.ctrlKey||(bo=!0)}function Eo(){bo=!1}function Oo(){"hidden"===this.visibilityState&&vo&&(bo=!0)}function ko(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return bo||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!xo[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function $o(e,t){const r=wn({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=wn({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=wn({},i),Object.keys(o).forEach((e=>{r[n][e]=$o(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}const Co=e=>e,_o=(()=>{let e=Co;return{configure(t){e=t},generate:t=>e(t),reset(){e=Co}}})(),Po={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function To(e,t,r="Mui"){const n=Po[t];return n?`${r}-${n}`:`${_o.generate(e)}-${t}`}var No=Object.freeze({__proto__:null,default:function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}});function Ao(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}const Ro=e.createContext(void 0);function jo({props:t,name:r}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?$o(o.defaultProps,n):o.styleOverrides||o.variants?n:$o(o,n)}({props:t,name:r,theme:{components:e.useContext(Ro)}})}"production"!==process.env.NODE_ENV&&(Yn.node,Yn.object),"production"!==process.env.NODE_ENV&&(Yn.node,Yn.object.isRequired);var Mo,Io={},Do={exports:{}};var zo,Lo={exports:{}};function Vo(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Fo=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|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)-.*))$/,Wo=Vo((function(e){return Fo.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Bo=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ho="-ms-",Uo="-moz-",Go="-webkit-",Ko="comm",qo="rule",Yo="decl",Xo="@keyframes",Jo=Math.abs,Zo=String.fromCharCode,Qo=Object.assign;function ei(e){return e.trim()}function ti(e,t,r){return e.replace(t,r)}function ri(e,t){return e.indexOf(t)}function ni(e,t){return 0|e.charCodeAt(t)}function oi(e,t,r){return e.slice(t,r)}function ii(e){return e.length}function ai(e){return e.length}function si(e,t){return t.push(e),e}var li=1,ci=1,ui=0,fi=0,di=0,pi="";function mi(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:li,column:ci,length:a,return:""}}function yi(e,t){return Qo(mi("",null,null,"",null,null,0),e,{length:-e.length},t)}function hi(){return di=fi>0?ni(pi,--fi):0,ci--,10===di&&(ci=1,li--),di}function gi(){return di=fi<ui?ni(pi,fi++):0,ci++,10===di&&(ci=1,li++),di}function bi(){return ni(pi,fi)}function vi(){return fi}function wi(e,t){return oi(pi,e,t)}function xi(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 Si(e){return li=ci=1,ui=ii(pi=e),fi=0,[]}function Ei(e){return pi="",e}function Oi(e){return ei(wi(fi-1,Ci(91===e?e+2:40===e?e+1:e)))}function ki(e){for(;(di=bi())&&di<33;)gi();return xi(e)>2||xi(di)>3?"":" "}function $i(e,t){for(;--t&&gi()&&!(di<48||di>102||di>57&&di<65||di>70&&di<97););return wi(e,vi()+(t<6&&32==bi()&&32==gi()))}function Ci(e){for(;gi();)switch(di){case e:return fi;case 34:case 39:34!==e&&39!==e&&Ci(di);break;case 40:41===e&&Ci(e);break;case 92:gi()}return fi}function _i(e,t){for(;gi()&&e+di!==57&&(e+di!==84||47!==bi()););return"/*"+wi(t,fi-1)+"*"+Zo(47===e?e:gi())}function Pi(e){for(;!xi(bi());)gi();return wi(e,fi)}function Ti(e){return Ei(Ni("",null,null,null,[""],e=Si(e),0,[0],e))}function Ni(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,f=a,d=0,p=0,m=0,y=1,h=1,g=1,b=0,v="",w=o,x=i,S=n,E=v;h;)switch(m=b,b=gi()){case 40:if(108!=m&&58==ni(E,f-1)){-1!=ri(E+=ti(Oi(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=Oi(b);break;case 9:case 10:case 13:case 32:E+=ki(m);break;case 92:E+=$i(vi()-1,7);continue;case 47:switch(bi()){case 42:case 47:si(Ri(_i(gi(),vi()),t,r),l);break;default:E+="/"}break;case 123*y:s[c++]=ii(E)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==g&&(E=ti(E,/\f/g,"")),p>0&&ii(E)-f&&si(p>32?ji(E+";",n,r,f-1):ji(ti(E," ","")+";",n,r,f-2),l);break;case 59:E+=";";default:if(si(S=Ai(E,t,r,c,u,o,s,v,w=[],x=[],f),i),123===b)if(0===u)Ni(E,t,S,S,w,i,f,s,x);else switch(99===d&&110===ni(E,3)?100:d){case 100:case 108:case 109:case 115:Ni(e,S,S,n&&si(Ai(e,S,S,0,0,o,s,v,o,w=[],f),x),o,x,f,s,n?w:x);break;default:Ni(E,S,S,S,[""],x,0,s,x)}}c=u=p=0,y=g=1,v=E="",f=a;break;case 58:f=1+ii(E),p=m;default:if(y<1)if(123==b)--y;else if(125==b&&0==y++&&125==hi())continue;switch(E+=Zo(b),b*y){case 38:g=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(ii(E)-1)*g,g=1;break;case 64:45===bi()&&(E+=Oi(gi())),d=bi(),u=f=ii(v=E+=Pi(vi())),b++;break;case 45:45===m&&2==ii(E)&&(y=0)}}return i}function Ai(e,t,r,n,o,i,a,s,l,c,u){for(var f=o-1,d=0===o?i:[""],p=ai(d),m=0,y=0,h=0;m<n;++m)for(var g=0,b=oi(e,f+1,f=Jo(y=a[m])),v=e;g<p;++g)(v=ei(y>0?d[g]+" "+b:ti(b,/&\f/g,d[g])))&&(l[h++]=v);return mi(e,t,r,0===o?qo:s,l,c,u)}function Ri(e,t,r){return mi(e,t,r,Ko,Zo(di),oi(e,2,-2),0)}function ji(e,t,r,n){return mi(e,t,r,Yo,oi(e,0,n),oi(e,n+1,-1),n)}function Mi(e,t){for(var r="",n=ai(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ii(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Yo:return e.return=e.return||e.value;case Ko:return"";case Xo:return e.return=e.value+"{"+Mi(e.children,n)+"}";case qo:e.value=e.props.join(",")}return ii(r=Mi(e.children,n))?e.return=e.value+"{"+r+"}":""}function Di(e){var t=ai(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}var zi="undefined"!=typeof document,Li=function(e,t,r){for(var n=0,o=0;n=o,o=bi(),38===n&&12===o&&(t[r]=1),!xi(o);)gi();return wi(e,fi)},Vi=function(e,t){return Ei(function(e,t){var r=-1,n=44;do{switch(xi(n)){case 0:38===n&&12===bi()&&(t[r]=1),e[r]+=Li(fi-1,t,r);break;case 2:e[r]+=Oi(n);break;case 4:if(44===n){e[++r]=58===bi()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Zo(n)}}while(n=gi());return e}(Si(e),t))},Fi=new WeakMap,Wi=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Fi.get(r))&&!n){Fi.set(e,!0);for(var o=[],i=Vi(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Bi=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Hi(e,t){switch(function(e,t){return 45^ni(e,0)?(((t<<2^ni(e,0))<<2^ni(e,1))<<2^ni(e,2))<<2^ni(e,3):0}(e,t)){case 5103:return Go+"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 Go+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Go+e+Uo+e+Ho+e+e;case 6828:case 4268:return Go+e+Ho+e+e;case 6165:return Go+e+Ho+"flex-"+e+e;case 5187:return Go+e+ti(e,/(\w+).+(:[^]+)/,Go+"box-$1$2"+Ho+"flex-$1$2")+e;case 5443:return Go+e+Ho+"flex-item-"+ti(e,/flex-|-self/,"")+e;case 4675:return Go+e+Ho+"flex-line-pack"+ti(e,/align-content|flex-|-self/,"")+e;case 5548:return Go+e+Ho+ti(e,"shrink","negative")+e;case 5292:return Go+e+Ho+ti(e,"basis","preferred-size")+e;case 6060:return Go+"box-"+ti(e,"-grow","")+Go+e+Ho+ti(e,"grow","positive")+e;case 4554:return Go+ti(e,/([^-])(transform)/g,"$1"+Go+"$2")+e;case 6187:return ti(ti(ti(e,/(zoom-|grab)/,Go+"$1"),/(image-set)/,Go+"$1"),e,"")+e;case 5495:case 3959:return ti(e,/(image-set\([^]*)/,Go+"$1$`$1");case 4968:return ti(ti(e,/(.+:)(flex-)?(.*)/,Go+"box-pack:$3"+Ho+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Go+e+e;case 4095:case 3583:case 4068:case 2532:return ti(e,/(.+)-inline(.+)/,Go+"$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(ii(e)-1-t>6)switch(ni(e,t+1)){case 109:if(45!==ni(e,t+4))break;case 102:return ti(e,/(.+:)(.+)-([^]+)/,"$1"+Go+"$2-$3$1"+Uo+(108==ni(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ri(e,"stretch")?Hi(ti(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ni(e,t+1))break;case 6444:switch(ni(e,ii(e)-3-(~ri(e,"!important")&&10))){case 107:return ti(e,":",":"+Go)+e;case 101:return ti(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Go+(45===ni(e,14)?"inline-":"")+"box$3$1"+Go+"$2$3$1"+Ho+"$2box$3")+e}break;case 5936:switch(ni(e,t+11)){case 114:return Go+e+Ho+ti(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Go+e+Ho+ti(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Go+e+Ho+ti(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Go+e+Ho+e+e}return e}var Ui,Gi=zi?void 0:function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}((function(){return Vo((function(){var e={};return function(t){return e[t]}}))})),Ki=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Yo:e.return=Hi(e.value,e.length);break;case Xo:return Mi([yi(e,{value:ti(e.value,"@","@"+Go)})],n);case qo:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Mi([yi(e,{props:[ti(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Mi([yi(e,{props:[ti(t,/:(plac\w+)/,":"+Go+"input-$1")]}),yi(e,{props:[ti(t,/:(plac\w+)/,":-moz-$1")]}),yi(e,{props:[ti(t,/:(plac\w+)/,Ho+"input-$1")]})],n)}return""}))}}],qi=function(e){var t=e.key;if(zi&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||Ki,a={},s=[];zi&&(n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)})));var l,c=[Wi,Bi];if(zi){var u,f=[Ii,(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=Di(c.concat(i,f));o=function(e,t,r,n){u=r,Mi(Ti(e?e+"{"+t.styles+"}":t.styles),d),n&&(g.inserted[t.name]=!0)}}else{var p=[Ii],m=Di(c.concat(i,p)),y=Gi(i)(t),h=function(e,t){var r=t.name;return void 0===y[r]&&(y[r]=Mi(Ti(e?e+"{"+t.styles+"}":t.styles),m)),y[r]};o=function(e,t,r,n){var o=t.name,i=h(e,t);return void 0===g.compat?(n&&(g.inserted[o]=!0),i):n?void(g.inserted[o]=i):i}}var g={key:t,sheet:new Bo({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return g.sheet.hydrate(s),g},Yi={exports:{}},Xi={};var Ji,Zi={};
29
- /** @license React v16.13.1
30
- * react-is.development.js
31
- *
32
- * Copyright (c) Facebook, Inc. and its affiliates.
33
- *
34
- * This source code is licensed under the MIT license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- */"production"===process.env.NODE_ENV?Yi.exports=function(){if(Ui)return Xi;Ui=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case l:case c:case n:case i:case o:case f:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case p:case a:return e;default:return d}}case r:return d}}}function w(e){return v(e)===c}return Xi.AsyncMode=l,Xi.ConcurrentMode=c,Xi.ContextConsumer=s,Xi.ContextProvider=a,Xi.Element=t,Xi.ForwardRef=u,Xi.Fragment=n,Xi.Lazy=m,Xi.Memo=p,Xi.Portal=r,Xi.Profiler=i,Xi.StrictMode=o,Xi.Suspense=f,Xi.isAsyncMode=function(e){return w(e)||v(e)===l},Xi.isConcurrentMode=w,Xi.isContextConsumer=function(e){return v(e)===s},Xi.isContextProvider=function(e){return v(e)===a},Xi.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Xi.isForwardRef=function(e){return v(e)===u},Xi.isFragment=function(e){return v(e)===n},Xi.isLazy=function(e){return v(e)===m},Xi.isMemo=function(e){return v(e)===p},Xi.isPortal=function(e){return v(e)===r},Xi.isProfiler=function(e){return v(e)===i},Xi.isStrictMode=function(e){return v(e)===o},Xi.isSuspense=function(e){return v(e)===f},Xi.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},Xi.typeOf=v,Xi}():Yi.exports=(Ji||(Ji=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var y=e.type;switch(y){case l:case c:case n:case i:case o:case f:return y;default:var h=y&&y.$$typeof;switch(h){case s:case u:case m:case p:case a:return h;default:return d}}case r:return d}}}var w=l,x=c,S=s,E=a,O=t,k=u,$=n,C=m,_=p,P=r,T=i,N=o,A=f,R=!1;function j(e){return v(e)===c}Zi.AsyncMode=w,Zi.ConcurrentMode=x,Zi.ContextConsumer=S,Zi.ContextProvider=E,Zi.Element=O,Zi.ForwardRef=k,Zi.Fragment=$,Zi.Lazy=C,Zi.Memo=_,Zi.Portal=P,Zi.Profiler=T,Zi.StrictMode=N,Zi.Suspense=A,Zi.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(e)||v(e)===l},Zi.isConcurrentMode=j,Zi.isContextConsumer=function(e){return v(e)===s},Zi.isContextProvider=function(e){return v(e)===a},Zi.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Zi.isForwardRef=function(e){return v(e)===u},Zi.isFragment=function(e){return v(e)===n},Zi.isLazy=function(e){return v(e)===m},Zi.isMemo=function(e){return v(e)===p},Zi.isPortal=function(e){return v(e)===r},Zi.isProfiler=function(e){return v(e)===i},Zi.isStrictMode=function(e){return v(e)===o},Zi.isSuspense=function(e){return v(e)===f},Zi.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},Zi.typeOf=v}()),Zi);var Qi=Yi.exports,ea={};ea[Qi.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ea[Qi.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var ta="undefined"!=typeof document;var ra=function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===ta&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},na=function(e,t,r){ra(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+n:"",i,e.sheet,!0);ta||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!ta&&0!==o.length)return o}};var oa={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ia=!1,aa=/[A-Z]|^ms/g,sa=/_EMO_([^_]+?)_([^]*?)_EMO_/g,la=function(e){return 45===e.charCodeAt(1)},ca=function(e){return null!=e&&"boolean"!=typeof e},ua=Vo((function(e){return la(e)?e:e.replace(aa,"-$&").toLowerCase()})),fa=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(sa,(function(e,t,r){return ma={name:t,styles:r,next:ma},t}))}return 1===oa[e]||la(e)||"number"!=typeof t||0===t?t:t+"px"},da="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function pa(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return ma={name:o.name,styles:o.styles,next:ma},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)ma={name:a.name,styles:a.styles,next:ma},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=pa(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":ca(s)&&(n+=ua(i)+":"+fa(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&ia)throw new Error(da);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=pa(e,t,a);switch(i){case"animation":case"animationName":n+=ua(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)ca(a[c])&&(n+=ua(i)+":"+fa(i,a[c])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var s=ma,l=r(e);return ma=s,pa(e,t,l)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var ma,ya=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function ha(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";ma=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=pa(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=pa(r,t,e[a]),n)o+=i[a]}ya.lastIndex=0;for(var s,l="";null!==(s=ya.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:ma}}var ga="undefined"!=typeof document,ba=function(e){return e()},va=!!e.useInsertionEffect&&e.useInsertionEffect,wa=ga&&va||ba,xa=va||e.useLayoutEffect,Sa="undefined"!=typeof document,Ea=e.createContext("undefined"!=typeof HTMLElement?qi({key:"css"}):null),Oa=Ea.Provider,ka=function(e){return o((function(t,r){var n=i(Ea);return e(t,n,r)}))};Sa||(ka=function(t){return function(r){var n=i(Ea);return null===n?(n=qi({key:"css"}),e.createElement(Ea.Provider,{value:n},t(r,n))):t(r,n)}});var $a=e.createContext({}),Ca=ka((function(t,r){var n=ha([t.styles],void 0,e.useContext($a));if(!Sa){for(var o,i=n.name,a=n.styles,s=n.next;void 0!==s;)i+=" "+s.name,a+=s.styles,s=s.next;var l=!0===r.compat,c=r.insert("",{name:i,styles:a},r.sheet,l);return l?null:e.createElement("style",((o={})["data-emotion"]=r.key+"-global "+i,o.dangerouslySetInnerHTML={__html:c},o.nonce=r.sheet.nonce,o))}var u=e.useRef();return xa((function(){var e=r.key+"-global",t=new r.sheet.constructor({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),t.hydrate([i])),u.current=[t,o],function(){t.flush()}}),[r]),xa((function(){var e=u.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&na(r,n.next,!0),t.tags.length){var o=t.tags[t.tags.length-1].nextElementSibling;t.before=o,t.flush()}r.insert("",n,t,!1)}}),[r,n.name]),null}));function _a(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ha(t)}var Pa=Wo,Ta=function(e){return"theme"!==e},Na=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Pa:Ta},Aa=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Ra="undefined"!=typeof document,ja=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;ra(r,n,o);var i=wa((function(){return na(r,n,o)}));if(!Ra&&void 0!==i){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return e.createElement("style",((a={})["data-emotion"]=r.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=r.sheet.nonce,a))}return null},Ma=function t(r,n){var o,i,a=r.__emotion_real===r,s=a&&r.__emotion_base||r;void 0!==n&&(o=n.label,i=n.target);var l=Aa(r,n,a),c=l||Na(s),u=!c("as");return function(){var f=arguments,d=a&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==o&&d.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)d.push.apply(d,f);else{d.push(f[0][0]);for(var p=f.length,m=1;m<p;m++)d.push(f[m],f[0][m])}var y=ka((function(t,r,n){var o=u&&t.as||s,a="",f=[],p=t;if(null==t.theme){for(var m in p={},t)p[m]=t[m];p.theme=e.useContext($a)}"string"==typeof t.className?a=function(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}(r.registered,f,t.className):null!=t.className&&(a=t.className+" ");var y=ha(d.concat(f),r.registered,p);a+=r.key+"-"+y.name,void 0!==i&&(a+=" "+i);var h=u&&void 0===l?Na(o):c,g={};for(var b in t)u&&"as"===b||h(b)&&(g[b]=t[b]);return g.className=a,n&&(g.ref=n),e.createElement(e.Fragment,null,e.createElement(ja,{cache:r,serialized:y,isStringTag:"string"==typeof o}),e.createElement(o,g))}));return y.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",y.defaultProps=r.defaultProps,y.__emotion_real=y,y.__emotion_base=s,y.__emotion_styles=d,y.__emotion_forwardProp=l,Object.defineProperty(y,"toString",{value:function(){return"."+i}}),y.withComponent=function(e,r){return t(e,wn({},n,r,{shouldForwardProp:Aa(y,r,!0)})).apply(void 0,d)},y}}.bind();let Ia;function Da(e){const{injectFirst:t,children:r}=e;return t&&Ia?l(Oa,{value:Ia,children:r}):r}function za(e){const{styles:t,defaultTheme:r={}}=e;return l(Ca,{styles:"function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t})}["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){Ma[e]=Ma(e)})),"object"==typeof document&&(Ia=qi({key:"css",prepend:!0})),"production"!==process.env.NODE_ENV&&(Da.propTypes={children:Yn.node,injectFirst:Yn.bool}),"production"!==process.env.NODE_ENV&&(za.propTypes={defaultTheme:Yn.object,styles:Yn.oneOfType([Yn.array,Yn.string,Yn.object,Yn.func])});var La=Object.freeze({__proto__:null,GlobalStyles:za,StyledEngineProvider:Da,ThemeContext:$a,css:_a,default:
37
- /**
38
- * @mui/styled-engine v5.16.6
39
- *
40
- * @license MIT
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */
44
- function(e,t){const r=Ma(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const n="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),r(...t)}:r},internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:function(){var e=_a.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}}),Va=p(La),Fa=p(kn),Wa=p(uo),Ba=p(lo);const Ha=["values","unit","step"],Ua=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>wn({},e,{[t.key]:t.val})),{})};function Ga(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Ao(e,Ha),i=Ua(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return wn({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const Ka={borderRadius:4},qa="production"!==process.env.NODE_ENV?Yn.oneOfType([Yn.number,Yn.string,Yn.object,Yn.array]):{};function Ya(e,t){return t?En(e,t,{clone:!1}):e}const Xa={xs:0,sm:600,md:900,lg:1200,xl:1536},Ja={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xa[e]}px)`};function Za(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Ja;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Ja;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Xa).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Qa(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function es(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Qa(e,r)||n,t&&(o=t(o,n,e)),o}function ts(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Qa(e.theme,n)||{};return Za(e,i,(e=>{let n=es(a,o,e);return e===n&&"string"==typeof e&&(n=es(a,o,`${t}${"default"===e?"":co(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:qa}:{},i.filterProps=[t],i}const rs={m:"margin",p:"padding"},ns={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},os={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},is=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!os[e])return[e];e=os[e]}const[t,r]=e.split(""),n=rs[t],o=ns[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),as=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ss=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ls=[...as,...ss];function cs(e,t,r,n){var o;const i=null!=(o=Qa(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function us(e){return cs(e,"spacing",8,"spacing")}function fs(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function ds(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=fs(t,r),e)),{})}(is(r),n);return Za(e,e[r],o)}function ps(e,t){const r=us(e.theme);return Object.keys(e).map((n=>ds(e,t,n,r))).reduce(Ya,{})}function ms(e){return ps(e,as)}function ys(e){return ps(e,ss)}function hs(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Ya(r,t[n](e)):r),{});return r.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function gs(e){return"number"!=typeof e?e:`${e}px solid`}function bs(e,t){return ts({prop:e,themeKey:"borders",transform:t})}ms.propTypes="production"!==process.env.NODE_ENV?as.reduce(((e,t)=>(e[t]=qa,e)),{}):{},ms.filterProps=as,ys.propTypes="production"!==process.env.NODE_ENV?ss.reduce(((e,t)=>(e[t]=qa,e)),{}):{},ys.filterProps=ss,"production"===process.env.NODE_ENV||ls.reduce(((e,t)=>(e[t]=qa,e)),{});const vs=bs("border",gs),ws=bs("borderTop",gs),xs=bs("borderRight",gs),Ss=bs("borderBottom",gs),Es=bs("borderLeft",gs),Os=bs("borderColor"),ks=bs("borderTopColor"),$s=bs("borderRightColor"),Cs=bs("borderBottomColor"),_s=bs("borderLeftColor"),Ps=bs("outline",gs),Ts=bs("outlineColor"),Ns=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=cs(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:fs(t,e)});return Za(e,e.borderRadius,r)}return null};Ns.propTypes="production"!==process.env.NODE_ENV?{borderRadius:qa}:{},Ns.filterProps=["borderRadius"],hs(vs,ws,xs,Ss,Es,Os,ks,$s,Cs,_s,Ns,Ps,Ts);const As=e=>{if(void 0!==e.gap&&null!==e.gap){const t=cs(e.theme,"spacing",8,"gap"),r=e=>({gap:fs(t,e)});return Za(e,e.gap,r)}return null};As.propTypes="production"!==process.env.NODE_ENV?{gap:qa}:{},As.filterProps=["gap"];const Rs=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=cs(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:fs(t,e)});return Za(e,e.columnGap,r)}return null};Rs.propTypes="production"!==process.env.NODE_ENV?{columnGap:qa}:{},Rs.filterProps=["columnGap"];const js=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=cs(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:fs(t,e)});return Za(e,e.rowGap,r)}return null};js.propTypes="production"!==process.env.NODE_ENV?{rowGap:qa}:{},js.filterProps=["rowGap"];function Ms(e,t){return"grey"===t?t:e}hs(As,Rs,js,ts({prop:"gridColumn"}),ts({prop:"gridRow"}),ts({prop:"gridAutoFlow"}),ts({prop:"gridAutoColumns"}),ts({prop:"gridAutoRows"}),ts({prop:"gridTemplateColumns"}),ts({prop:"gridTemplateRows"}),ts({prop:"gridTemplateAreas"}),ts({prop:"gridArea"}));function Is(e){return e<=1&&0!==e?100*e+"%":e}hs(ts({prop:"color",themeKey:"palette",transform:Ms}),ts({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ms}),ts({prop:"backgroundColor",themeKey:"palette",transform:Ms}));const Ds=ts({prop:"width",transform:Is}),zs=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Xa[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Is(t)}};return Za(e,e.maxWidth,t)}return null};zs.filterProps=["maxWidth"];const Ls=ts({prop:"minWidth",transform:Is}),Vs=ts({prop:"height",transform:Is}),Fs=ts({prop:"maxHeight",transform:Is}),Ws=ts({prop:"minHeight",transform:Is});ts({prop:"size",cssProperty:"width",transform:Is}),ts({prop:"size",cssProperty:"height",transform:Is});hs(Ds,zs,Ls,Vs,Fs,Ws,ts({prop:"boxSizing"}));var Bs={border:{themeKey:"borders",transform:gs},borderTop:{themeKey:"borders",transform:gs},borderRight:{themeKey:"borders",transform:gs},borderBottom:{themeKey:"borders",transform:gs},borderLeft:{themeKey:"borders",transform:gs},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:gs},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ns},color:{themeKey:"palette",transform:Ms},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ms},backgroundColor:{themeKey:"palette",transform:Ms},p:{style:ys},pt:{style:ys},pr:{style:ys},pb:{style:ys},pl:{style:ys},px:{style:ys},py:{style:ys},padding:{style:ys},paddingTop:{style:ys},paddingRight:{style:ys},paddingBottom:{style:ys},paddingLeft:{style:ys},paddingX:{style:ys},paddingY:{style:ys},paddingInline:{style:ys},paddingInlineStart:{style:ys},paddingInlineEnd:{style:ys},paddingBlock:{style:ys},paddingBlockStart:{style:ys},paddingBlockEnd:{style:ys},m:{style:ms},mt:{style:ms},mr:{style:ms},mb:{style:ms},ml:{style:ms},mx:{style:ms},my:{style:ms},margin:{style:ms},marginTop:{style:ms},marginRight:{style:ms},marginBottom:{style:ms},marginLeft:{style:ms},marginX:{style:ms},marginY:{style:ms},marginInline:{style:ms},marginInlineStart:{style:ms},marginInlineEnd:{style:ms},marginBlock:{style:ms},marginBlockStart:{style:ms},marginBlockEnd:{style:ms},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:As},rowGap:{style:js},columnGap:{style:Rs},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Is},maxWidth:{style:zs},minWidth:{transform:Is},height:{transform:Is},maxHeight:{transform:Is},minHeight:{transform:Is},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Hs(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Qa(r,s)||{};if(c)return c(o);return Za(o,t,(t=>{let r=es(u,l,t);return t===r&&"string"==typeof t&&(r=es(u,l,`${e}${"default"===t?"":co(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=null!=(n=i.unstable_sxConfig)?n:Bs;function s(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],c=i,"function"==typeof s?s(c):s);var s,c;if(null!=o)if("object"==typeof o)if(a[r])l=Ya(l,e(r,o,i,a));else{const e=Za({theme:i},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?l=Ya(l,e):l[r]=t({sx:o,theme:i})}else l=Ya(l,e(r,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}const Us=Hs();Us.filterProps=["sx"];var Gs=Us;function Ks(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}const qs=["breakpoints","palette","spacing","shape"];function Ys(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=Ao(e,qs),s=Ga(r),l=function(e=8){if(e.mui)return e;const t=us({spacing:e}),r=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" "));return r.mui=!0,r}(o);let c=En({breakpoints:s,direction:"ltr",components:{},palette:wn({mode:"light"},n),spacing:l,shape:wn({},Ka,i)},a);return c.applyStyles=Ks,c=t.reduce(((e,t)=>En(e,t)),c),c.unstable_sxConfig=wn({},Bs,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Gs({sx:e,theme:this})},c}var Xs=p(Object.freeze({__proto__:null,default:Ys,private_createBreakpoints:Ga,unstable_applyStyles:Ks}));const Js=["sx"];var Zs=p(Object.freeze({__proto__:null,default:Gs,extendSxProp:function(e){const{sx:t}=e,r=Ao(e,Js),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:Bs;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return xn(r)?wn({},n,r):n}:wn({},n,t),wn({},o,{sx:i})},unstable_createStyleFunctionSx:Hs,unstable_defaultSxConfig:Bs})),Qs=bn;Object.defineProperty(Io,"__esModule",{value:!0});var el=Io.default=function(e={}){const{themeId:t,defaultTheme:r=ml,rootShouldForwardProp:n=pl,slotShouldForwardProp:o=pl}=e,i=e=>(0,ll.default)((0,tl.default)({},e,{theme:hl((0,tl.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,nl.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:f=gl(yl(l))}=a,d=(0,rl.default)(a,fl),p=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let y;"production"!==process.env.NODE_ENV&&s&&(y=`${s}-${yl(l||"Root")}`);let h=pl;"Root"===l||"root"===l?h=n:l?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const g=(0,nl.default)(e,(0,tl.default)({shouldForwardProp:h,label:y},d)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,ol.isPlainObject)(e)?n=>bl(e,(0,tl.default)({},n,{theme:hl({theme:n.theme,defaultTheme:r,themeId:t})})):e,v=(n,...o)=>{let a=b(n);const c=o?o.map(b):[];s&&f&&c.push((e=>{const n=hl((0,tl.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,r])=>{i[t]=bl(r,(0,tl.default)({},e,{theme:n}))})),f(e,i)})),s&&!p&&c.push((e=>{var n;const o=hl((0,tl.default)({},e,{defaultTheme:r,themeId:t}));return bl({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,tl.default)({},e,{theme:o}))})),m||c.push(i);const u=c.length-o.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const d=g(a,...c);if("production"!==process.env.NODE_ENV){let t;s&&(t=`${s}${(0,il.default)(l||"")}`),void 0===t&&(t=`Styled(${(0,al.default)(e)})`),d.displayName=t}return e.muiName&&(d.muiName=e.muiName),d};return g.withConfig&&(v.withConfig=g.withConfig),v}};Io.shouldForwardProp=pl,Io.systemDefaultTheme=void 0;var tl=Qs((Mo||(Mo=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Do)),Do.exports)),rl=Qs((zo||(zo=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(Lo)),Lo.exports)),nl=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=dl(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(Va),ol=Fa,il=Qs(Wa),al=Qs(Ba),sl=Qs(Xs),ll=Qs(Zs);const cl=["ownerState"],ul=["variants"],fl=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function dl(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(dl=function(e){return e?r:t})(e)}function pl(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const ml=Io.systemDefaultTheme=(0,sl.default)(),yl=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function hl({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function gl(e){return e?(t,r)=>r[e]:null}function bl(e,t){let{ownerState:r}=t,n=(0,rl.default)(t,cl);const o="function"==typeof e?e((0,tl.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap((e=>bl(e,(0,tl.default)({ownerState:r},n))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,rl.default)(o,ul);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,tl.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,tl.default)({ownerState:r},n,r)):e.style))})),t}return o}var vl={},wl=p(Zn),xl=p(No),Sl=bn;Object.defineProperty(vl,"__esModule",{value:!0}),vl.alpha=Ml,vl.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=Tl(e),a=Tl(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Al({type:"rgb",values:s})},vl.colorChannel=void 0;var El=vl.darken=Il;vl.decomposeColor=Tl,vl.emphasize=zl;var Ol=vl.getContrastRatio=function(e,t){const r=jl(e),n=jl(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};vl.getLuminance=jl,vl.hexToRgb=Pl,vl.hslToRgb=Rl;var kl=vl.lighten=Dl;vl.private_safeAlpha=function(e,t,r){try{return Ml(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},vl.private_safeColorChannel=void 0,vl.private_safeDarken=function(e,t,r){try{return Il(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},vl.private_safeEmphasize=function(e,t,r){try{return zl(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},vl.private_safeLighten=function(e,t,r){try{return Dl(e,t)}catch(t){return r&&"production"!==process.env.NODE_ENV&&console.warn(r),e}},vl.recomposeColor=Al,vl.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=Tl(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var $l=Sl(wl),Cl=Sl(xl);function _l(e,t=0,r=1){return"production"!==process.env.NODE_ENV&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,Cl.default)(e,t,r)}function Pl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function Tl(e){if(e.type)return e;if("#"===e.charAt(0))return Tl(Pl(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,$l.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,$l.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const Nl=e=>{const t=Tl(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};vl.colorChannel=Nl;function Al(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Rl(e){e=Tl(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Al({type:s,values:l})}function jl(e){let t="hsl"===(e=Tl(e)).type||"hsla"===e.type?Tl(Rl(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ml(e,t){return e=Tl(e),t=_l(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Al(e)}function Il(e,t){if(e=Tl(e),t=_l(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Al(e)}function Dl(e,t){if(e=Tl(e),t=_l(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Al(e)}function zl(e,t=.15){return jl(e)>.5?Il(e,t):Dl(e,t)}vl.private_safeColorChannel=(e,t)=>{try{return Nl(e)}catch(r){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};const Ll={black:"#000",white:"#fff"},Vl={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Fl={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Wl={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Bl={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Hl={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ul={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Gl={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Kl=["mode","contrastThreshold","tonalOffset"],ql={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ll.white,default:Ll.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Yl={text:{primary:Ll.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ll.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Xl(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=kl(e.main,o):"dark"===t&&(e.dark=El(e.main,i)))}function Jl(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Ao(e,Kl),i=e.primary||function(e="light"){return"dark"===e?{main:Hl[200],light:Hl[50],dark:Hl[400]}:{main:Hl[700],light:Hl[400],dark:Hl[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Fl[200],light:Fl[50],dark:Fl[400]}:{main:Fl[500],light:Fl[300],dark:Fl[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Wl[500],light:Wl[300],dark:Wl[700]}:{main:Wl[700],light:Wl[400],dark:Wl[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Ul[400],light:Ul[300],dark:Ul[700]}:{main:Ul[700],light:Ul[500],dark:Ul[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Gl[400],light:Gl[300],dark:Gl[700]}:{main:Gl[800],light:Gl[500],dark:Gl[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Bl[400],light:Bl[300],dark:Bl[700]}:{main:"#ed6c02",light:Bl[500],dark:Bl[900]}}(t);function f(e){const t=Ol(e,Yl.text.primary)>=r?Yl.text.primary:ql.text.primary;if("production"!==process.env.NODE_ENV){const r=Ol(e,t);r<3&&console.error([`MUI: The contrast ratio of ${r}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const d=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=wn({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${r}\` property.`:Xn(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Xn(12,t?` (${t})`:"",JSON.stringify(e.main)));return Xl(e,"light",o,n),Xl(e,"dark",i,n),e.contrastText||(e.contrastText=f(e.main)),e},p={dark:Yl,light:ql};"production"!==process.env.NODE_ENV&&(p[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return En(wn({common:wn({},Ll),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:Vl,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},p[t]),o)}const Zl=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Ql={textTransform:"uppercase"},ec='"Roboto", "Helvetica", "Arial", sans-serif';function tc(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=ec,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=r,d=Ao(r,Zl);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=o/14,m=f||(e=>e/c*p+"rem"),y=(e,t,r,o,i)=>{return wn({fontFamily:n,fontWeight:e,fontSize:m(t),lineHeight:r},n===ec?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},h={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,Ql),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,Ql),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return En(wn({htmlFontSize:c,pxToRem:m,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},h),d,{clone:!1})}function rc(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const nc=["none",rc(0,2,1,-1,0,1,1,0,0,1,3,0),rc(0,3,1,-2,0,2,2,0,0,1,5,0),rc(0,3,3,-2,0,3,4,0,0,1,8,0),rc(0,2,4,-1,0,4,5,0,0,1,10,0),rc(0,3,5,-1,0,5,8,0,0,1,14,0),rc(0,3,5,-1,0,6,10,0,0,1,18,0),rc(0,4,5,-2,0,7,10,1,0,2,16,1),rc(0,5,5,-3,0,8,10,1,0,3,14,2),rc(0,5,6,-3,0,9,12,1,0,3,16,2),rc(0,6,6,-3,0,10,14,1,0,4,18,3),rc(0,6,7,-4,0,11,15,1,0,4,20,3),rc(0,7,8,-4,0,12,17,2,0,5,22,4),rc(0,7,8,-4,0,13,19,2,0,5,24,4),rc(0,7,9,-4,0,14,21,2,0,5,26,4),rc(0,8,9,-5,0,15,22,2,0,6,28,5),rc(0,8,10,-5,0,16,24,2,0,6,30,5),rc(0,8,11,-5,0,17,26,2,0,6,32,5),rc(0,9,11,-5,0,18,28,2,0,7,34,6),rc(0,9,12,-6,0,19,29,2,0,7,36,6),rc(0,10,13,-6,0,20,31,3,0,8,38,7),rc(0,10,13,-6,0,21,33,3,0,8,40,7),rc(0,10,14,-6,0,22,35,3,0,8,42,7),rc(0,11,14,-7,0,23,36,3,0,9,44,8),rc(0,11,15,-7,0,24,38,3,0,9,46,8)],oc=["duration","easing","delay"],ic={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ac={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function sc(e){return`${Math.round(e)}ms`}function lc(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function cc(e){const t=wn({},ic,e.easing),r=wn({},ac,e.duration);return wn({getAutoHeightDuration:lc,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n,s=Ao(n,oc);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,r=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),r(o)||t(o)||console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),r(a)||t(a)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof n&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:sc(o)} ${i} ${"string"==typeof a?a:sc(a)}`)).join(",")}},e,{easing:t,duration:r})}const uc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},fc=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const dc=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Ao(e,fc);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Xn(18));const s=Jl(n),l=Ys(e);let c=En(l,{mixins:(u=l.breakpoints,f=r,wn({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},f)),palette:s,shadows:nc.slice(),typography:tc(s,i),transitions:cc(o),zIndex:wn({},uc)});var u,f;if(c=En(c,a),c=t.reduce(((e,t)=>En(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,r)=>{let n;for(n in t){const o=t[n];if(-1!==e.indexOf(n)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=To("",n);console.error([`MUI: The \`${r}\` component increases the CSS specificity of the \`${n}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[n]={}}}};Object.keys(c.components).forEach((e=>{const r=c.components[e].styleOverrides;r&&0===e.indexOf("Mui")&&t(r,e)}))}return c.unstable_sxConfig=wn({},Bs,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Gs({sx:e,theme:this})},c}();const pc=el({themeId:"$$material",defaultTheme:dc,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e});function mc(e){return To("MuiSvgIcon",e)}!function(e,t,r="Mui"){const n={};t.forEach((t=>{n[t]=To(e,t,r)}))}("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const yc=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],hc=e=>{const{color:t,fontSize:r,classes:n}=e;return function(e,t,r){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}({root:["root","inherit"!==t&&`color${co(t)}`,`fontSize${co(r)}`]},mc,n)},gc=pc("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${co(r.color)}`],t[`fontSize${co(r.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,u,f,d,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(f=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?f:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[t.color]}})),bc=e.forwardRef((function(t,r){const n=jo({props:t,name:"MuiSvgIcon"});const{children:o,className:i,color:a="inherit",component:s="svg",fontSize:c="medium",htmlColor:f,inheritViewBox:d=!1,titleAccess:p,viewBox:m="0 0 24 24"}=n,y=Ao(n,yc),h=e.isValidElement(o)&&"svg"===o.type,g=wn({},n,{color:a,component:s,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:h}),b={};d||(b.viewBox=m);const v=hc(g);return u(gc,wn({as:s,className:hr(v.root,i),focusable:"false",color:f,"aria-hidden":!p||void 0,role:p?"img":void 0,ref:r},b,y,h&&o.props,{ownerState:g,children:[h?o.props.children:o,p?l("title",{children:p}):null]}))}));"production"!==process.env.NODE_ENV&&(bc.propTypes={children:Yn.node,classes:Yn.object,className:Yn.string,color:Yn.oneOfType([Yn.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Yn.string]),component:Yn.elementType,fontSize:Yn.oneOfType([Yn.oneOf(["inherit","large","medium","small"]),Yn.string]),htmlColor:Yn.string,inheritViewBox:Yn.bool,shapeRendering:Yn.string,sx:Yn.oneOfType([Yn.arrayOf(Yn.oneOfType([Yn.func,Yn.object,Yn.bool])),Yn.func,Yn.object]),titleAccess:Yn.string,viewBox:Yn.string}),bc.muiName="SvgIcon";const vc={configure:e=>{"production"!==process.env.NODE_ENV&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),_o.configure(e)}};var wc,xc=Object.freeze({__proto__:null,capitalize:co,createChainedFunction:function(...e){return e.reduce(((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)}),(()=>{}))},createSvgIcon:function(t,r){function n(e,n){return l(bc,wn({"data-testid":`${r}Icon`,ref:n},e,{children:t}))}return"production"!==process.env.NODE_ENV&&(n.displayName=`${r}Icon`),n.muiName=bc.muiName,e.memo(e.forwardRef(n))},debounce:function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(r)},n},deprecatedPropType:function(e,t){return"production"===process.env.NODE_ENV?()=>null:(e,r,n,o,i)=>{const a=n||"<<anonymous>>",s=i||r;return void 0!==e[r]?new Error(`The ${o} \`${s}\` of \`${a}\` is deprecated. ${t}`):null}},isMuiElement:function(t,r){var n,o;return e.isValidElement(t)&&-1!==r.indexOf(null!=(n=t.type.muiName)?n:null==(o=t.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)},ownerDocument:fo,ownerWindow:function(e){return fo(e).defaultView||window},requirePropFactory:function(e,t){if("production"===process.env.NODE_ENV)return()=>null;const r=t?wn({},t.propTypes):null;return t=>(n,o,i,a,s,...l)=>{const c=s||o,u=null==r?void 0:r[c];if(u){const e=u(n,o,i,a,s,...l);if(e)return e}return void 0===n[o]||n[t]?null:new Error(`The prop \`${c}\` of \`${e}\` can only be used together with the \`${t}\` prop.`)}},setRef:po,unstable_ClassNameGenerator:vc,unstable_useEnhancedEffect:mo,unstable_useId:function(t){if(void 0!==ho){const e=ho();return null!=t?t:e}return function(t){const[r,n]=e.useState(t),o=t||r;return e.useEffect((()=>{null==r&&(yo+=1,n(`mui-${yo}`))}),[r]),o}(t)},unsupportedProp:function(e,t,r,n,o){if("production"===process.env.NODE_ENV)return null;const i=o||t;return void 0!==e[t]?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null},useControlled:function({controlled:t,default:r,name:n,state:o="value"}){const{current:i}=e.useRef(void 0!==t),[a,s]=e.useState(r),l=i?t:a;if("production"!==process.env.NODE_ENV){e.useEffect((()=>{i!==(void 0!==t)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${o} state of ${n} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[o,n,t]);const{current:a}=e.useRef(r);e.useEffect((()=>{i||Object.is(a,r)||console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))}),[JSON.stringify(r)])}return[l,e.useCallback((e=>{i||s(e)}),[])]},useEventCallback:function(t){const r=e.useRef(t);return mo((()=>{r.current=t})),e.useRef(((...e)=>(0,r.current)(...e))).current},useForkRef:function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{po(t,e)}))}),t)},useIsFocusVisible:function(){const t=e.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",So,!0),t.addEventListener("mousedown",Eo,!0),t.addEventListener("pointerdown",Eo,!0),t.addEventListener("touchstart",Eo,!0),t.addEventListener("visibilitychange",Oo,!0))}),[]),r=e.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(e){return!!ko(e)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&(vo=!0,wo.start(100,(()=>{vo=!1})),r.current=!1,!0)},ref:t}}}),Sc=p(xc);var Ec=bn;Object.defineProperty(hn,"__esModule",{value:!0});var Oc=hn.default=void 0,kc=Ec((wc||(wc=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Sc}(vn)),vn)),$c=s;Oc=hn.default=(0,kc.default)((0,$c.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");var Cc=function(e){var r=e.id,o=e.className,i=e.align,s=e.side,l=e.sideOffset,c=void 0===l?8:l,u=e.visible,f=e.content,d=e.width,p=e.children,m=a(!1),y=m[0],g=m[1];return n((function(){y&&setTimeout((function(){return g(!1)}),2e3)}),[y]),t.createElement(dn,null,t.createElement(pn,{open:u,delayDuration:100},t.createElement(mn,{asChild:!0},p),t.createElement(yn,{id:r,className:h("gyramais-tooltip-container",o),align:i,side:s,sideOffset:c,style:{maxWidth:d||"auto"},onClick:function(){"string"==typeof f&&(navigator.clipboard.writeText(f),g(!0))}},"string"==typeof f?t.createElement("div",{className:h("gyramais-tooltip-content",o)},y?"Copiado!":f,!y&&t.createElement(Oc,{className:"!text-[11px] ml-1 translate-y-[-4px]"})):f)))},_c=function(e){var r=e.id,n=e.className,o=e.label,i=e.children;return t.createElement("div",{id:r,className:h("gyramais-information",n)},t.createElement("div",{className:"gyramais-information-label"},o),"string"==typeof i?t.createElement(Cc,{className:"gyramais-information-content-tooltip",content:i,align:"start",side:"bottom"},t.createElement("div",{className:"gyramais-information-content cursor-pointer",onClick:function(){return navigator.clipboard.writeText(i)}},i||"-")):t.createElement("div",{className:"gyramais-information-content"},i||"-"))};export{_c as Information};
6
+ */c=d,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}c.exports?(t.default=t,c.exports=t):window.classNames=t}();var u=l(d.exports),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)};function p(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function m(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function h(...t){return e.useCallback(m(...t),t)}function g(t,n=[]){let r=[];const i=()=>{const n=r.map((t=>e.createContext(t)));return function(r){const o=r?.[t]||n;return e.useMemo((()=>({[`__scope${t}`]:{...r,[t]:o}})),[r,o])}};return i.scopeName=t,[function(n,i){const s=e.createContext(i),a=r.length;function l(n){const{scope:r,children:i,...l}=n,c=r?.[t][a]||s,d=e.useMemo((()=>l),Object.values(l));return o(c.Provider,{value:d,children:i})}return r=[...r,i],l.displayName=n+"Provider",[l,function(r,o){const l=o?.[t][a]||s,c=e.useContext(l);if(c)return c;if(void 0!==i)return i;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},b(i,...n)]}function b(...t){const n=t[0];if(1===t.length)return n;const r=()=>{const r=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const o=r.reduce(((e,{useScope:n,scopeName:r})=>({...e,...n(t)[`__scope${r}`]})),{});return e.useMemo((()=>({[`__scope${n.scopeName}`]:o})),[o])}};return r.scopeName=n.scopeName,r}"function"==typeof SuppressedError&&SuppressedError;var y=e.forwardRef(((t,n)=>{const{children:r,...i}=t,s=e.Children.toArray(r),a=s.find(x);if(a){const t=a.props.children,r=s.map((n=>n===a?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n));return o(v,{...i,ref:n,children:e.isValidElement(t)?e.cloneElement(t,void 0,r):null})}return o(v,{...i,ref:n,children:r})}));y.displayName="Slot";var v=e.forwardRef(((t,n)=>{const{children:r,...o}=t;if(e.isValidElement(r)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(r);return e.cloneElement(r,{...E(o,r.props),ref:n?m(n,t):t})}return e.Children.count(r)>1?e.Children.only(null):null}));v.displayName="SlotClone";var w=({children:e})=>o(i,{children:e});function x(t){return e.isValidElement(t)&&t.type===w}function E(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}var C=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((t,n)=>{const r=e.forwardRef(((e,t)=>{const{asChild:r,...i}=e,s=r?y:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),o(s,{...i,ref:t})}));return r.displayName=`Primitive.${n}`,{...t,[n]:r}}),{});function O(t){const n=e.useRef(t);return e.useEffect((()=>{n.current=t})),e.useMemo((()=>(...e)=>n.current?.(...e)),[])}var P,k="dismissableLayer.update",R="dismissableLayer.pointerDownOutside",T="dismissableLayer.focusOutside",S=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),N=e.forwardRef(((t,n)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...d}=t,u=e.useContext(S),[f,m]=e.useState(null),g=f?.ownerDocument??globalThis?.document,[,b]=e.useState({}),y=h(n,(e=>m(e))),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(w),E=f?v.indexOf(f):-1,N=u.layersWithOutsidePointerEventsDisabled.size>0,D=E>=x,z=function(t,n=globalThis?.document){const r=O(t),o=e.useRef(!1),i=e.useRef((()=>{}));return e.useEffect((()=>{const e=e=>{if(e.target&&!o.current){let t=function(){L(R,r,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout((()=>{n.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}}),[n,r]),{onPointerDownCapture:()=>o.current=!0}}((e=>{const t=e.target,n=[...u.branches].some((e=>e.contains(t)));D&&!n&&(s?.(e),l?.(e),e.defaultPrevented||c?.())}),g),M=function(t,n=globalThis?.document){const r=O(t),o=e.useRef(!1);return e.useEffect((()=>{const e=e=>{if(e.target&&!o.current){L(T,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)}),[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}((e=>{const t=e.target;[...u.branches].some((e=>e.contains(t)))||(a?.(e),l?.(e),e.defaultPrevented||c?.())}),g);return function(t,n=globalThis?.document){const r=O(t);e.useEffect((()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e,{capture:!0}),()=>n.removeEventListener("keydown",e,{capture:!0})}),[r,n])}((e=>{E===u.layers.size-1&&(i?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))}),g),e.useEffect((()=>{if(f)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(P=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),A(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=P)}}),[f,g,r,u]),e.useEffect((()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),A())}),[f,u]),e.useEffect((()=>{const e=()=>b({});return document.addEventListener(k,e),()=>document.removeEventListener(k,e)}),[]),o(C.div,{...d,ref:y,style:{pointerEvents:N?D?"auto":"none":void 0,...t.style},onFocusCapture:p(t.onFocusCapture,M.onFocusCapture),onBlurCapture:p(t.onBlurCapture,M.onBlurCapture),onPointerDownCapture:p(t.onPointerDownCapture,z.onPointerDownCapture)})}));N.displayName="DismissableLayer";function A(){const e=new CustomEvent(k);document.dispatchEvent(e)}function L(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&a.flushSync((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}e.forwardRef(((t,n)=>{const r=e.useContext(S),i=e.useRef(null),s=h(n,i);return e.useEffect((()=>{const e=i.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}}),[r.branches]),o(C.div,{...t,ref:s})})).displayName="DismissableLayerBranch";var D=Boolean(globalThis?.document)?e.useLayoutEffect:()=>{},z=e["useId".toString()]||(()=>{}),M=0;const _=["top","right","bottom","left"],j=Math.min,W=Math.max,I=Math.round,H=Math.floor,B=e=>({x:e,y:e}),$={left:"right",right:"left",bottom:"top",top:"bottom"},F={start:"end",end:"start"};function G(e,t,n){return W(e,j(t,n))}function V(e,t){return"function"==typeof e?e(t):e}function U(e){return e.split("-")[0]}function Y(e){return e.split("-")[1]}function X(e){return"x"===e?"y":"x"}function q(e){return"y"===e?"height":"width"}function K(e){return["top","bottom"].includes(U(e))?"y":"x"}function Z(e){return X(K(e))}function J(e){return e.replace(/start|end/g,(e=>F[e]))}function Q(e){return e.replace(/left|right|bottom|top/g,(e=>$[e]))}function ee(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function te(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ne(e,t,n){let{reference:r,floating:o}=e;const i=K(t),s=Z(t),a=q(s),l=U(t),c="y"===i,d=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-o.width,y:u};break;default:p={x:r.x,y:r.y}}switch(Y(t)){case"start":p[s]-=f*(n&&c?-1:1);break;case"end":p[s]+=f*(n&&c?-1:1)}return p}async function re(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=V(t,e),m=ee(p),h=a[f?"floating"===u?"reference":"floating":u],g=te(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),b="floating"===u?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=te(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:y,strategy:l}):b);return{top:(g.top-w.top+m.top)/v.y,bottom:(w.bottom-g.bottom+m.bottom)/v.y,left:(g.left-w.left+m.left)/v.x,right:(w.right-g.right+m.right)/v.x}}function oe(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ie(e){return _.some((t=>e[t]>=0))}function se(e){return ce(e)?(e.nodeName||"").toLowerCase():"#document"}function ae(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function le(e){var t;return null==(t=(ce(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ce(e){return e instanceof Node||e instanceof ae(e).Node}function de(e){return e instanceof Element||e instanceof ae(e).Element}function ue(e){return e instanceof HTMLElement||e instanceof ae(e).HTMLElement}function fe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ae(e).ShadowRoot)}function pe(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function me(e){return["table","td","th"].includes(se(e))}function he(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function ge(e){const t=be(),n=de(e)?ve(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function be(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ye(e){return["html","body","#document"].includes(se(e))}function ve(e){return ae(e).getComputedStyle(e)}function we(e){return de(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xe(e){if("html"===se(e))return e;const t=e.assignedSlot||e.parentNode||fe(e)&&e.host||le(e);return fe(t)?t.host:t}function Ee(e){const t=xe(e);return ye(t)?e.ownerDocument?e.ownerDocument.body:e.body:ue(t)&&pe(t)?t:Ee(t)}function Ce(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Ee(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=ae(o);if(i){const e=Oe(s);return t.concat(s,s.visualViewport||[],pe(o)?o:[],e&&n?Ce(e):[])}return t.concat(o,Ce(o,[],n))}function Oe(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pe(e){const t=ve(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ue(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=I(n)!==i||I(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function ke(e){return de(e)?e:e.contextElement}function Re(e){const t=ke(e);if(!ue(t))return B(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Pe(t);let s=(i?I(n.width):n.width)/r,a=(i?I(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Te=B(0);function Se(e){const t=ae(e);return be()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Te}function Ne(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=ke(e);let s=B(1);t&&(r?de(r)&&(s=Re(r)):s=Re(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==ae(e))&&t}(i,n,r)?Se(i):B(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,d=o.width/s.x,u=o.height/s.y;if(i){const e=ae(i),t=r&&de(r)?ae(r):r;let n=e,o=Oe(n);for(;o&&r&&t!==n;){const e=Re(o),t=o.getBoundingClientRect(),r=ve(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=i,c+=s,n=ae(o),o=Oe(n)}}return te({width:d,height:u,x:l,y:c})}function Ae(e){return Ne(le(e)).left+we(e).scrollLeft}function Le(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=ae(e),r=le(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=be();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=le(e),n=we(e),r=e.ownerDocument.body,o=W(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=W(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ae(e);const a=-n.scrollTop;return"rtl"===ve(r).direction&&(s+=W(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(le(e));else if(de(t))r=function(e,t){const n=Ne(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ue(e)?Re(e):B(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Se(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return te(r)}function De(e,t){const n=xe(e);return!(n===t||!de(n)||ye(n))&&("fixed"===ve(n).position||De(n,t))}function ze(e,t,n){const r=ue(t),o=le(t),i="fixed"===n,s=Ne(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=B(0);if(r||!r&&!i)if(("body"!==se(t)||pe(o))&&(a=we(t)),r){const e=Ne(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Ae(o));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Me(e){return"static"===ve(e).position}function _e(e,t){return ue(e)&&"fixed"!==ve(e).position?t?t(e):e.offsetParent:null}function je(e,t){const n=ae(e);if(he(e))return n;if(!ue(e)){let t=xe(e);for(;t&&!ye(t);){if(de(t)&&!Me(t))return t;t=xe(t)}return n}let r=_e(e,t);for(;r&&me(r)&&Me(r);)r=_e(r,t);return r&&ye(r)&&Me(r)&&!ge(r)?n:r||function(e){let t=xe(e);for(;ue(t)&&!ye(t);){if(ge(t))return t;if(he(t))return null;t=xe(t)}return null}(e)||n}const We={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=le(r),a=!!t&&he(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=B(1);const d=B(0),u=ue(r);if((u||!u&&!i)&&(("body"!==se(r)||pe(s))&&(l=we(r)),ue(r))){const e=Ne(r);c=Re(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x,y:n.y*c.y-l.scrollTop*c.y+d.y}},getDocumentElement:le,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?he(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Ce(e,[],!1).filter((e=>de(e)&&"body"!==se(e))),o=null;const i="fixed"===ve(e).position;let s=i?xe(e):e;for(;de(s)&&!ye(s);){const t=ve(s),n=ge(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||pe(s)&&!n&&De(e,s))?r=r.filter((e=>e!==s)):o=t,s=xe(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=i[0],a=i.reduce(((e,n)=>{const r=Le(t,n,o);return e.top=W(r.top,e.top),e.right=j(r.right,e.right),e.bottom=j(r.bottom,e.bottom),e.left=W(r.left,e.left),e}),Le(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:je,getElementRects:async function(e){const t=this.getOffsetParent||je,n=this.getDimensions,r=await n(e.floating);return{reference:ze(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Pe(e);return{width:t,height:n}},getScale:Re,isElement:de,isRTL:function(e){return"rtl"===ve(e).direction}};function Ie(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=ke(e),d=o||i?[...c?Ce(c):[],...Ce(t)]:[];d.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const u=c&&a?function(e,t){let n,r=null;const o=le(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const{left:c,top:d,width:u,height:f}=e.getBoundingClientRect();if(a||t(),!u||!f)return;const p={rootMargin:-H(d)+"px "+-H(o.clientWidth-(c+u))+"px "+-H(o.clientHeight-(d+f))+"px "+-H(c)+"px",threshold:W(0,j(1,l))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!m)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,p)}r.observe(e)}(!0),i}(c,n):null;let f,p=-1,m=null;s&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),c&&!l&&m.observe(c),m.observe(t));let h=l?Ne(e):null;return l&&function t(){const r=Ne(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==u||u(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(f)}}const He=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=U(n),a=Y(n),l="y"===K(n),c=["left","top"].includes(s)?-1:1,d=i&&l?-1:1,u=V(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),l?{x:p*d,y:f*c}:{x:f*c,y:p*d}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Be=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=V(e,t),c={x:n,y:r},d=await re(t,l),u=K(U(o)),f=X(u);let p=c[f],m=c[u];if(i){const e="y"===f?"bottom":"right";p=G(p+d["y"===f?"top":"left"],p,p-d[e])}if(s){const e="y"===u?"bottom":"right";m=G(m+d["y"===u?"top":"left"],m,m-d[e])}const h=a.fn({...t,[f]:p,[u]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}},$e=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=V(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const b=U(o),y=K(a),v=U(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=f||(v||!h?[Q(a)]:function(e){const t=Q(e);return[J(e),t,J(t)]}(a)),E="none"!==m;!f&&E&&x.push(...function(e,t,n,r){const o=Y(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}(U(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(J)))),i}(a,h,m,w));const C=[a,...x],O=await re(t,g),P=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(d&&P.push(O[b]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=Y(e),o=Z(e),i=q(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Q(s)),[s,Q(s)]}(o,s,w);P.push(O[e[0]],O[e[1]])}if(k=[...k,{placement:o,overflows:P}],!P.every((e=>e<=0))){var R,T;const e=((null==(R=i.flip)?void 0:R.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(T=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(p){case"bestFit":{var S;const e=null==(S=k.filter((e=>{if(E){const t=K(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:S[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Fe=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...a}=V(e,t),l=await re(t,a),c=U(n),d=Y(n),u="y"===K(n),{width:f,height:p}=r.floating;let m,h;"top"===c||"bottom"===c?(m=c,h=d===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=c,m="end"===d?"top":"bottom");const g=p-l.top-l.bottom,b=f-l.left-l.right,y=j(p-l[m],g),v=j(f-l[h],b),w=!t.middlewareData.shift;let x=y,E=v;if(u?E=d||w?j(v,b):b:x=d||w?j(y,g):g,w&&!d){const e=W(l.left,0),t=W(l.right,0),n=W(l.top,0),r=W(l.bottom,0);u?E=f-2*(0!==e||0!==t?e+t:W(l.left,l.right)):x=p-2*(0!==n||0!==r?n+r:W(l.top,l.bottom))}await s({...t,availableWidth:E,availableHeight:x});const C=await o.getDimensions(i.floating);return f!==C.width||p!==C.height?{reset:{rects:!0}}:{}}}},Ge=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=V(e,t);switch(r){case"referenceHidden":{const e=oe(await re(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ie(e)}}}case"escaped":{const e=oe(await re(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ie(e)}}}default:return{}}}}},Ve=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=V(e,t)||{};if(null==c)return{};const u=ee(d),f={x:n,y:r},p=Z(o),m=q(p),h=await s.getDimensions(c),g="y"===p,b=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-f[p]-i.floating[m],x=f[p]-i.reference[p],E=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let C=E?E[v]:0;C&&await(null==s.isElement?void 0:s.isElement(E))||(C=a.floating[v]||i.floating[m]);const O=w/2-x/2,P=C/2-h[m]/2-1,k=j(u[b],P),R=j(u[y],P),T=k,S=C-h[m]-R,N=C/2-h[m]/2+O,A=G(T,N,S),L=!l.arrow&&null!=Y(o)&&N!==A&&i.reference[m]/2-(N<T?k:R)-h[m]/2<0,D=L?N<T?N-T:N-S:0;return{[p]:f[p]+D,data:{[p]:A,centerOffset:N-A-D,...L&&{alignmentOffset:D}},reset:L}}}),Ue=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=V(e,t),d={x:n,y:r},u=K(o),f=X(u);let p=d[f],m=d[u];const h=V(a,t),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+g.mainAxis,n=i.reference[f]+i.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var b,y;const e="y"===f?"width":"height",t=["top","left"].includes(U(o)),n=i.reference[u]-i.floating[e]+(t&&(null==(b=s.offset)?void 0:b[u])||0)+(t?0:g.crossAxis),r=i.reference[u]+i.reference[e]+(t?0:(null==(y=s.offset)?void 0:y[u])||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[u]:m}}}},Ye=(e,t,n)=>{const r=new Map,o={platform:We,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=ne(c,r,l),f=r,p={},m=0;for(let n=0;n<a.length;n++){const{name:i,fn:h}=a[n],{x:g,y:b,data:y,reset:v}=await h({x:d,y:u,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=b?b:u,p={...p,[i]:{...p[i],...y}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:d,y:u}=ne(c,f,l))),n=-1)}return{x:d,y:u,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var Xe="undefined"!=typeof document?n:r;function qe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!qe(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!qe(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Ke(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ze(e,t){const n=Ke(e);return Math.round(t*n)/n}function Je(t){const n=e.useRef(t);return Xe((()=>{n.current=t})),n}const Qe=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Ve({element:n.current,padding:r}).fn(t):{}:n?Ve({element:n,padding:r}).fn(t):{};var o}}),et=(e,t)=>({...Be(e),options:[e,t]}),tt=(e,t)=>({...Ue(e),options:[e,t]}),nt=(e,t)=>({...$e(e),options:[e,t]}),rt=(e,t)=>({...Fe(e),options:[e,t]}),ot=(e,t)=>({...Ge(e),options:[e,t]}),it=(e,t)=>({...Qe(e),options:[e,t]});var st=e.forwardRef(((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return o(C.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:o("polygon",{points:"0,0 30,0 15,10"})})}));st.displayName="Arrow";var at=st;var lt="Popper",[ct,dt]=g(lt),[ut,ft]=ct(lt),pt=t=>{const{__scopePopper:n,children:r}=t,[i,s]=e.useState(null);return o(ut,{scope:n,anchor:i,onAnchorChange:s,children:r})};pt.displayName=lt;var mt="PopperAnchor",ht=e.forwardRef(((t,n)=>{const{__scopePopper:r,virtualRef:i,...s}=t,a=ft(mt,r),l=e.useRef(null),c=h(n,l);return e.useEffect((()=>{a.onAnchorChange(i?.current||l.current)})),i?null:o(C.div,{...s,ref:c})}));ht.displayName=mt;var gt="PopperContent",[bt,yt]=ct(gt),vt=e.forwardRef(((t,n)=>{const{__scopePopper:r,side:i="bottom",sideOffset:s=0,align:l="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:u=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:b="optimized",onPlaced:y,...v}=t,w=ft(gt,r),[x,E]=e.useState(null),P=h(n,(e=>E(e))),[k,R]=e.useState(null),T=function(t){const[n,r]=e.useState(void 0);return D((()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const e=new ResizeObserver((e=>{if(!Array.isArray(e))return;if(!e.length)return;const n=e[0];let o,i;if("borderBoxSize"in n){const e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=t.offsetWidth,i=t.offsetHeight;r({width:o,height:i})}));return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}r(void 0)}),[t]),n}(k),S=T?.width??0,N=T?.height??0,A=i+("center"!==l?"-"+l:""),L="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},z=Array.isArray(f)?f:[f],M=z.length>0,_={padding:L,boundary:z.filter(Ct),altBoundary:M},{refs:j,floatingStyles:W,placement:I,isPositioned:H,middlewareData:B}=function(t){void 0===t&&(t={});const{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:d,open:u}=t,[f,p]=e.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[m,h]=e.useState(o);qe(m,o)||h(o);const[g,b]=e.useState(null),[y,v]=e.useState(null),w=e.useCallback((e=>{e!==O.current&&(O.current=e,b(e))}),[]),x=e.useCallback((e=>{e!==P.current&&(P.current=e,v(e))}),[]),E=s||g,C=l||y,O=e.useRef(null),P=e.useRef(null),k=e.useRef(f),R=null!=d,T=Je(d),S=Je(i),N=e.useCallback((()=>{if(!O.current||!P.current)return;const e={placement:n,strategy:r,middleware:m};S.current&&(e.platform=S.current),Ye(O.current,P.current,e).then((e=>{const t={...e,isPositioned:!0};A.current&&!qe(k.current,t)&&(k.current=t,a.flushSync((()=>{p(t)})))}))}),[m,n,r,S]);Xe((()=>{!1===u&&k.current.isPositioned&&(k.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[u]);const A=e.useRef(!1);Xe((()=>(A.current=!0,()=>{A.current=!1})),[]),Xe((()=>{if(E&&(O.current=E),C&&(P.current=C),E&&C){if(T.current)return T.current(E,C,N);N()}}),[E,C,N,T,R]);const L=e.useMemo((()=>({reference:O,floating:P,setReference:w,setFloating:x})),[w,x]),D=e.useMemo((()=>({reference:E,floating:C})),[E,C]),z=e.useMemo((()=>{const e={position:r,left:0,top:0};if(!D.floating)return e;const t=Ze(D.floating,f.x),n=Ze(D.floating,f.y);return c?{...e,transform:"translate("+t+"px, "+n+"px)",...Ke(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,c,D.floating,f.x,f.y]);return e.useMemo((()=>({...f,update:N,refs:L,elements:D,floatingStyles:z})),[f,N,L,D,z])}({strategy:"fixed",placement:A,whileElementsMounted:(...e)=>Ie(...e,{animationFrame:"always"===b}),elements:{reference:w.anchor},middleware:[($={mainAxis:s+N,alignmentAxis:c},{...He($),options:[$,F]}),u&&et({mainAxis:!0,crossAxis:!1,limiter:"partial"===m?tt():void 0,..._}),u&&nt({..._}),rt({..._,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${r}px`),s.setProperty("--radix-popper-anchor-width",`${o}px`),s.setProperty("--radix-popper-anchor-height",`${i}px`)}}),k&&it({element:k,padding:d}),Ot({arrowWidth:S,arrowHeight:N}),g&&ot({strategy:"referenceHidden",..._})]});var $,F;const[G,V]=Pt(I),U=O(y);D((()=>{H&&U?.()}),[H,U]);const Y=B.arrow?.x,X=B.arrow?.y,q=0!==B.arrow?.centerOffset,[K,Z]=e.useState();return D((()=>{x&&Z(window.getComputedStyle(x).zIndex)}),[x]),o("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:H?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:o(bt,{scope:r,placedSide:G,onArrowChange:R,arrowX:Y,arrowY:X,shouldHideArrow:q,children:o(C.div,{"data-side":G,"data-align":V,...v,ref:P,style:{...v.style,animation:H?void 0:"none"}})})})}));vt.displayName=gt;var wt="PopperArrow",xt={top:"bottom",right:"left",bottom:"top",left:"right"},Et=e.forwardRef((function(e,t){const{__scopePopper:n,...r}=e,i=yt(wt,n),s=xt[i.placedSide];return o("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:o(at,{...r,ref:t,style:{...r.style,display:"block"}})})}));function Ct(e){return null!==e}Et.displayName=wt;var Ot=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=0!==o.arrow?.centerOffset,s=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[l,c]=Pt(n),d={start:"0%",center:"50%",end:"100%"}[c],u=(o.arrow?.x??0)+s/2,f=(o.arrow?.y??0)+a/2;let p="",m="";return"bottom"===l?(p=i?d:`${u}px`,m=-a+"px"):"top"===l?(p=i?d:`${u}px`,m=`${r.floating.height+a}px`):"right"===l?(p=-a+"px",m=i?d:`${f}px`):"left"===l&&(p=`${r.floating.width+a}px`,m=i?d:`${f}px`),{data:{x:p,y:m}}}});function Pt(e){const[t,n="center"]=e.split("-");return[t,n]}var kt=pt,Rt=ht,Tt=vt,St=Et;var Nt=t=>{const{present:n,children:r}=t,o=function(t){const[n,r]=e.useState(),o=e.useRef({}),i=e.useRef(t),s=e.useRef("none"),l=t?"mounted":"unmounted",[c,d]=function(t,n){return e.useReducer(((e,t)=>n[e][t]??e),t)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return e.useEffect((()=>{const e=At(o.current);s.current="mounted"===c?e:"none"}),[c]),D((()=>{const e=o.current,n=i.current;if(n!==t){const r=s.current,o=At(e);if(t)d("MOUNT");else if("none"===o||"none"===e?.display)d("UNMOUNT");else{d(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}i.current=t}}),[t,d]),D((()=>{if(n){const e=e=>{const t=At(o.current).includes(e.animationName);e.target===n&&t&&a.flushSync((()=>d("ANIMATION_END")))},t=e=>{e.target===n&&(s.current=At(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}d("ANIMATION_END")}),[n,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:e.useCallback((e=>{e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(n),i="function"==typeof r?r({present:o.isPresent}):e.Children.only(r),s=h(o.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(i));return"function"==typeof r||o.isPresent?e.cloneElement(i,{ref:s}):null};function At(e){return e?.animationName||"none"}function Lt({prop:t,defaultProp:n,onChange:r=()=>{}}){const[o,i]=function({defaultProp:t,onChange:n}){const r=e.useState(t),[o]=r,i=e.useRef(o),s=O(n);return e.useEffect((()=>{i.current!==o&&(s(o),i.current=o)}),[o,i,s]),r}({defaultProp:n,onChange:r}),s=void 0!==t,a=s?t:o,l=O(r);return[a,e.useCallback((e=>{if(s){const n="function"==typeof e?e(t):e;n!==t&&l(n)}else i(e)}),[s,t,i,l])]}Nt.displayName="Presence";var Dt=e.forwardRef(((e,t)=>o(C.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));Dt.displayName="VisuallyHidden";var zt=Dt,[Mt,_t]=g("Tooltip",[dt]),jt=dt(),Wt="TooltipProvider",It=700,Ht="tooltip.open",[Bt,$t]=Mt(Wt),Ft=t=>{const{__scopeTooltip:n,delayDuration:r=It,skipDelayDuration:i=300,disableHoverableContent:s=!1,children:a}=t,[l,c]=e.useState(!0),d=e.useRef(!1),u=e.useRef(0);return e.useEffect((()=>{const e=u.current;return()=>window.clearTimeout(e)}),[]),o(Bt,{scope:n,isOpenDelayed:l,delayDuration:r,onOpen:e.useCallback((()=>{window.clearTimeout(u.current),c(!1)}),[]),onClose:e.useCallback((()=>{window.clearTimeout(u.current),u.current=window.setTimeout((()=>c(!0)),i)}),[i]),isPointerInTransitRef:d,onPointerInTransitChange:e.useCallback((e=>{d.current=e}),[]),disableHoverableContent:s,children:a})};Ft.displayName=Wt;var Gt="Tooltip",[Vt,Ut]=Mt(Gt),Yt=t=>{const{__scopeTooltip:n,children:r,open:i,defaultOpen:s=!1,onOpenChange:a,disableHoverableContent:l,delayDuration:c}=t,d=$t(Gt,t.__scopeTooltip),u=jt(n),[f,p]=e.useState(null),m=function(t){const[n,r]=e.useState(z());return D((()=>{r((e=>e??String(M++)))}),[t]),n?`radix-${n}`:""}(),h=e.useRef(0),g=l??d.disableHoverableContent,b=c??d.delayDuration,y=e.useRef(!1),[v=!1,w]=Lt({prop:i,defaultProp:s,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(Ht))):d.onClose(),a?.(e)}}),x=e.useMemo((()=>v?y.current?"delayed-open":"instant-open":"closed"),[v]),E=e.useCallback((()=>{window.clearTimeout(h.current),y.current=!1,w(!0)}),[w]),C=e.useCallback((()=>{window.clearTimeout(h.current),w(!1)}),[w]),O=e.useCallback((()=>{window.clearTimeout(h.current),h.current=window.setTimeout((()=>{y.current=!0,w(!0)}),b)}),[b,w]);return e.useEffect((()=>()=>window.clearTimeout(h.current)),[]),o(kt,{...u,children:o(Vt,{scope:n,contentId:m,open:v,stateAttribute:x,trigger:f,onTriggerChange:p,onTriggerEnter:e.useCallback((()=>{d.isOpenDelayed?O():E()}),[d.isOpenDelayed,O,E]),onTriggerLeave:e.useCallback((()=>{g?C():window.clearTimeout(h.current)}),[C,g]),onOpen:E,onClose:C,disableHoverableContent:g,children:r})})};Yt.displayName=Gt;var Xt="TooltipTrigger",qt=e.forwardRef(((t,n)=>{const{__scopeTooltip:r,...i}=t,s=Ut(Xt,r),a=$t(Xt,r),l=jt(r),c=h(n,e.useRef(null),s.onTriggerChange),d=e.useRef(!1),u=e.useRef(!1),f=e.useCallback((()=>d.current=!1),[]);return e.useEffect((()=>()=>document.removeEventListener("pointerup",f)),[f]),o(Rt,{asChild:!0,...l,children:o(C.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...i,ref:c,onPointerMove:p(t.onPointerMove,(e=>{"touch"!==e.pointerType&&(u.current||a.isPointerInTransitRef.current||(s.onTriggerEnter(),u.current=!0))})),onPointerLeave:p(t.onPointerLeave,(()=>{s.onTriggerLeave(),u.current=!1})),onPointerDown:p(t.onPointerDown,(()=>{d.current=!0,document.addEventListener("pointerup",f,{once:!0})})),onFocus:p(t.onFocus,(()=>{d.current||s.onOpen()})),onBlur:p(t.onBlur,s.onClose),onClick:p(t.onClick,s.onClose)})})}));qt.displayName=Xt;var[Kt,Zt]=Mt("TooltipPortal",{forceMount:void 0}),Jt="TooltipContent",Qt=e.forwardRef(((e,t)=>{const n=Zt(Jt,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,a=Ut(Jt,e.__scopeTooltip);return o(Nt,{present:r||a.open,children:a.disableHoverableContent?o(rn,{side:i,...s,ref:t}):o(en,{side:i,...s,ref:t})})})),en=e.forwardRef(((t,n)=>{const r=Ut(Jt,t.__scopeTooltip),i=$t(Jt,t.__scopeTooltip),s=e.useRef(null),a=h(n,s),[l,c]=e.useState(null),{trigger:d,onClose:u}=r,f=s.current,{onPointerInTransitChange:p}=i,m=e.useCallback((()=>{c(null),p(!1)}),[p]),g=e.useCallback(((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),i=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...o,...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);c(i),p(!0)}),[p]);return e.useEffect((()=>()=>m()),[m]),e.useEffect((()=>{if(d&&f){const e=e=>g(e,f),t=e=>g(e,d);return d.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}}),[d,f,g,m]),e.useEffect((()=>{if(l){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=d?.contains(t)||f?.contains(t),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const s=t[e].x,a=t[e].y,l=t[i].x,c=t[i].y;a>r!=c>r&&n<(l-s)*(r-a)/(c-a)+s&&(o=!o)}return o}(n,l);r?m():o&&(m(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[d,f,l,u,m]),o(rn,{...t,ref:a})})),[tn,nn]=Mt(Gt,{isInside:!1}),rn=e.forwardRef(((t,n)=>{const{__scopeTooltip:r,children:i,"aria-label":a,onEscapeKeyDown:l,onPointerDownOutside:c,...d}=t,u=Ut(Jt,r),f=jt(r),{onClose:p}=u;return e.useEffect((()=>(document.addEventListener(Ht,p),()=>document.removeEventListener(Ht,p))),[p]),e.useEffect((()=>{if(u.trigger){const e=e=>{const t=e.target;t?.contains(u.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[u.trigger,p]),o(N,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:s(Tt,{"data-state":u.stateAttribute,...f,...d,ref:n,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[o(w,{children:i}),o(tn,{scope:r,isInside:!0,children:o(zt,{id:u.contentId,role:"tooltip",children:a||i})})]})})}));Qt.displayName=Jt;var on="TooltipArrow";e.forwardRef(((e,t)=>{const{__scopeTooltip:n,...r}=e,i=jt(n);return nn(on,n).isInside?null:o(St,{...i,...r,ref:t})})).displayName=on;var sn=Ft,an=Yt,ln=qt,cn=Qt;function dn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=dn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const un=e=>{const t=hn(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),fn(n,t)||mn(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},fn=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?fn(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find((({validator:e})=>e(i)))?.classGroupId},pn=/^\[(.+)\]$/,mn=e=>{if(pn.test(e)){const t=pn.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},hn=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return vn(Object.entries(e.classGroups),n).forEach((([e,n])=>{gn(n,r,e,t)})),r},gn=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return yn(e)?void gn(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{gn(o,bn(t,e),n,r)}))}else{(""===e?t:bn(t,e)).classGroupId=n}}))},bn=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},yn=e=>e.isThemeGetter,vn=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,wn=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},xn=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,o=t[0],i=t.length,s=e=>{const n=[];let s,a=0,l=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===a){if(d===o&&(r||e.slice(c,c+i)===t)){n.push(e.slice(l,c)),l=c+i;continue}if("/"===d){s=c;continue}}"["===d?a++:"]"===d&&a--}const c=0===n.length?e:e.substring(l),d=c.startsWith("!");return{modifiers:n,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:s&&s>l?s-l:void 0}};return n?e=>n({className:e,parseClassName:s}):s},En=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},Cn=/\s+/;function On(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Pn(e))&&(r&&(r+=" "),r+=t);return r}const Pn=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Pn(e[r]))&&(n&&(n+=" "),n+=t);return n};function kn(e,...t){let n,r,o,i=function(a){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:wn(e.cacheSize),parseClassName:xn(e),...un(e)}))(l),r=n.cache.get,o=n.cache.set,i=s,s(a)};function s(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(Cn);let a="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{modifiers:l,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=n(t);let f=Boolean(u),p=r(f?d.substring(0,u):d);if(!p){if(!f){a=t+(a.length>0?" "+a:a);continue}if(p=r(d),!p){a=t+(a.length>0?" "+a:a);continue}f=!1}const m=En(l).join(":"),h=c?m+"!":m,g=h+p;if(i.includes(g))continue;i.push(g);const b=o(p,f);for(let e=0;e<b.length;++e){const t=b[e];i.push(h+t)}a=t+(a.length>0?" "+a:a)}return a})(e,n);return o(e,i),i}return function(){return i(On.apply(null,arguments))}}const Rn=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Tn=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sn=/^\d+\/\d+$/,Nn=new Set(["px","full","screen"]),An=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ln=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_n=e=>Wn(e)||Nn.has(e)||Sn.test(e),jn=e=>Zn(e,"length",Jn),Wn=e=>Boolean(e)&&!Number.isNaN(Number(e)),In=e=>Zn(e,"number",Wn),Hn=e=>Boolean(e)&&Number.isInteger(Number(e)),Bn=e=>e.endsWith("%")&&Wn(e.slice(0,-1)),$n=e=>Tn.test(e),Fn=e=>An.test(e),Gn=new Set(["length","size","percentage"]),Vn=e=>Zn(e,Gn,Qn),Un=e=>Zn(e,"position",Qn),Yn=new Set(["image","url"]),Xn=e=>Zn(e,Yn,tr),qn=e=>Zn(e,"",er),Kn=()=>!0,Zn=(e,t,n)=>{const r=Tn.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},Jn=e=>Ln.test(e)&&!Dn.test(e),Qn=()=>!1,er=e=>zn.test(e),tr=e=>Mn.test(e),nr=kn((()=>{const e=Rn("colors"),t=Rn("spacing"),n=Rn("blur"),r=Rn("brightness"),o=Rn("borderColor"),i=Rn("borderRadius"),s=Rn("borderSpacing"),a=Rn("borderWidth"),l=Rn("contrast"),c=Rn("grayscale"),d=Rn("hueRotate"),u=Rn("invert"),f=Rn("gap"),p=Rn("gradientColorStops"),m=Rn("gradientColorStopPositions"),h=Rn("inset"),g=Rn("margin"),b=Rn("opacity"),y=Rn("padding"),v=Rn("saturate"),w=Rn("scale"),x=Rn("sepia"),E=Rn("skew"),C=Rn("space"),O=Rn("translate"),P=()=>["auto",$n,t],k=()=>[$n,t],R=()=>["",_n,jn],T=()=>["auto",Wn,$n],S=()=>["","0",$n],N=()=>[Wn,$n];return{cacheSize:500,separator:":",theme:{colors:[Kn],spacing:[_n,jn],blur:["none","",Fn,$n],brightness:N(),borderColor:[e],borderRadius:["none","","full",Fn,$n],borderSpacing:k(),borderWidth:R(),contrast:N(),grayscale:S(),hueRotate:N(),invert:S(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Bn,jn],inset:P(),margin:P(),opacity:N(),padding:k(),saturate:N(),scale:N(),sepia:S(),skew:N(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",$n]}],container:["container"],columns:[{columns:[Fn]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",$n]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Hn,$n]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$n]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",Hn,$n]}],"grid-cols":[{"grid-cols":[Kn]}],"col-start-end":[{col:["auto",{span:["full",Hn,$n]},$n]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[Kn]}],"row-start-end":[{row:["auto",{span:[Hn,$n]},$n]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$n]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$n]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",$n,t]}],"min-w":[{"min-w":[$n,t,"min","max","fit"]}],"max-w":[{"max-w":[$n,t,"none","full","min","max","fit","prose",{screen:[Fn]},Fn]}],h:[{h:[$n,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$n,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$n,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$n,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Fn,jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",In]}],"font-family":[{font:[Kn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",$n]}],"line-clamp":[{"line-clamp":["none",Wn,In]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_n,$n]}],"list-image":[{"list-image":["none",$n]}],"list-style-type":[{list:["none","disc","decimal",$n]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_n,jn]}],"underline-offset":[{"underline-offset":["auto",_n,$n]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$n]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$n]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Un]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xn]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[_n,$n]}],"outline-w":[{outline:[_n,jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[_n,jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Fn,qn]}],"shadow-color":[{shadow:[Kn]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Fn,$n]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[v]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",$n]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",$n]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",$n]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Hn,$n]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$n]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$n]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$n]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_n,jn,In]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function rr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return nr(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=dn(e))&&(r&&(r+=" "),r+=t);return r}(e))}var or=sn,ir=an,sr=ln,ar=e.forwardRef((function(t,n){var r=t.className,o=t.sideOffset,i=void 0===o?4:o,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["className","sideOffset"]);return e.createElement(cn,f({ref:n,sideOffset:i,className:rr("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r)},s))}));ar.displayName=cn.displayName;var lr=function(e){var n=e.id,r=e.className,o=e.align,i=e.side,s=e.sideOffset,a=void 0===s?8:s,l=e.visible,c=e.content,d=e.width,f=e.children;return t.createElement(or,null,t.createElement(ir,{open:l,delayDuration:100},t.createElement(sr,{asChild:!0},f),t.createElement(ar,{id:n,className:u("gyramais-tooltip-container",r),align:o,side:i,sideOffset:a,style:{maxWidth:d||"auto"}},"string"==typeof c?t.createElement("div",{className:u("gyramais-tooltip-content",r)},c):c)))},cr=function(e){var n=e.id,r=e.className,o=e.label,i=e.children;return t.createElement("div",{id:n,className:u("gyramais-information",r)},t.createElement("div",{className:"gyramais-information-label"},o),"string"==typeof i?t.createElement(lr,{className:"gyramais-information-content-tooltip",content:i,align:"start",side:"bottom"},t.createElement("div",{className:"gyramais-information-content cursor-pointer",onClick:function(){return navigator.clipboard.writeText(i)}},i||"-")):t.createElement("div",{className:"gyramais-information-content"},i||"-"))};export{cr as Information};
45
7
  //# sourceMappingURL=index.js.map