eidotter 0.37.2 → 0.37.3

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.
package/dist/index.umd.js CHANGED
@@ -8,4 +8,4 @@
8
8
  * {
9
9
  overscroll-behavior: contain;
10
10
  }
11
- }`,document.head.prepend(i);let o=e=>{if(!(e.touches.length===2||n)){if(!t||t===document.documentElement||t===document.body){e.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&e.preventDefault()}},s=e=>{let t=W(e),n=e.relatedTarget;n&&Nt(n)?(n.focus({preventScroll:!0}),ko(n,Nt(t))):n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},c=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=U(),n=t!=null&&Nt(t);c.call(this,{...e,preventScroll:!0}),(!e||!e.preventScroll)&&ko(this,n)};let l=m(Oo(document,`touchstart`,r,{passive:!1,capture:!0}),Oo(document,`touchmove`,o,{passive:!1,capture:!0}),Oo(document,`blur`,s,!0));return()=>{e(),l(),i.remove(),HTMLElement.prototype.focus=c}}function Do(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Oo(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function ko(e,t){t||!xo?Ao(e):xo.addEventListener(`resize`,()=>Ao(e),{once:!0})}function Ao(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=ci(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;xo&&(n=Math.min(n,xo.offsetTop+xo.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}var jo={};jo={dismiss:`تجاهل`};var Mo={};Mo={dismiss:`Отхвърляне`};var No={};No={dismiss:`Odstranit`};var Po={};Po={dismiss:`Luk`};var Fo={};Fo={dismiss:`Schließen`};var Io={};Io={dismiss:`Απόρριψη`};var Lo={};Lo={dismiss:`Dismiss`};var Ro={};Ro={dismiss:`Descartar`};var zo={};zo={dismiss:`Lõpeta`};var Bo={};Bo={dismiss:`Hylkää`};var Vo={};Vo={dismiss:`Rejeter`};var Ho={};Ho={dismiss:`התעלם`};var Uo={};Uo={dismiss:`Odbaci`};var Wo={};Wo={dismiss:`Elutasítás`};var Go={};Go={dismiss:`Ignora`};var Ko={};Ko={dismiss:`閉じる`};var qo={};qo={dismiss:`무시`};var Jo={};Jo={dismiss:`Atmesti`};var Yo={};Yo={dismiss:`Nerādīt`};var Xo={};Xo={dismiss:`Lukk`};var Zo={};Zo={dismiss:`Negeren`};var Qo={};Qo={dismiss:`Zignoruj`};var $o={};$o={dismiss:`Descartar`};var es={};es={dismiss:`Dispensar`};var ts={};ts={dismiss:`Revocare`};var ns={};ns={dismiss:`Пропустить`};var rs={};rs={dismiss:`Zrušiť`};var is={};is={dismiss:`Opusti`};var as={};as={dismiss:`Odbaci`};var os={};os={dismiss:`Avvisa`};var ss={};ss={dismiss:`Kapat`};var cs={};cs={dismiss:`Скасувати`};var ls={};ls={dismiss:`取消`};var us={};us={dismiss:`關閉`};var ds={};ds={"ar-AE":jo,"bg-BG":Mo,"cs-CZ":No,"da-DK":Po,"de-DE":Fo,"el-GR":Io,"en-US":Lo,"es-ES":Ro,"et-EE":zo,"fi-FI":Bo,"fr-FR":Vo,"he-IL":Ho,"hr-HR":Uo,"hu-HU":Wo,"it-IT":Go,"ja-JP":Ko,"ko-KR":qo,"lt-LT":Jo,"lv-LV":Yo,"nb-NO":Xo,"nl-NL":Zo,"pl-PL":Qo,"pt-BR":$o,"pt-PT":es,"ro-RO":ts,"ru-RU":ns,"sk-SK":rs,"sl-SI":is,"sr-SP":as,"sv-SE":os,"tr-TR":ss,"uk-UA":cs,"zh-CN":ls,"zh-TW":us};function fs(e){return e&&e.__esModule?e.default:e}function ps(e){let{onDismiss:t,...n}=e,r=Lt(n,cn(fs(ds),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return p.default.createElement(_i,null,p.default.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}function ms({children:e}){let t=(0,p.useMemo)(()=>({register:()=>{}}),[]);return p.default.createElement(_r.Provider,{value:t},e)}var hs=(0,p.createContext)({});function gs(){return(0,p.useContext)(hs)??{}}var _s=p.default.createContext(null);function vs(e){let t=O(),{portalContainer:r=t?null:document.body,isExiting:i}=e,[a,o]=(0,p.useState)(!1),s=(0,p.useMemo)(()=>({contain:a,setContain:o}),[a,o]),{getContainer:c}=gs();if(!e.portalContainer&&c&&(r=c()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=p.default.createElement(ca,{restoreFocus:!0,contain:(e.shouldContainFocus||a)&&!i},l)),l=p.default.createElement(_s.Provider,{value:s},p.default.createElement(ms,null,l)),n.default.createPortal(l,r)}function ys(){let e=(0,p.useContext)(_s)?.setContain;h(()=>{e?.(!0)},[e])}function bs(e){let[t,n]=un(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:n,open:(0,p.useCallback)(()=>{n(!0)},[n]),close:(0,p.useCallback)(()=>{n(!1)},[n]),toggle:(0,p.useCallback)(()=>{n(!t)},[n,t])}}function xs(e,t=!0){let[n,r]=(0,p.useState)(!0),i=n&&t;return h(()=>{if(i&&e.current&&`getAnimations`in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,i]),Cs(e,i,(0,p.useCallback)(()=>r(!1),[])),i}function Ss(e,t){let[n,r]=(0,p.useState)(t?`open`:`closed`);switch(n){case`open`:t||r(`exiting`);break;case`closed`:case`exiting`:t&&r(`open`);break}let i=n===`exiting`;return Cs(e,i,(0,p.useCallback)(()=>{r(e=>e===`exiting`?`closed`:e)},[])),i}function Cs(e,t,r){h(()=>{if(t&&e.current){if(!(`getAnimations`in e.current)){r();return}let t=e.current.getAnimations();if(t.length===0){r();return}let i=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{i||(0,n.flushSync)(()=>{r()})}),()=>{i=!0}}},[e,t,r])}function ws(e,t){let{role:n=`dialog`}=e,r=te();r=e[`aria-label`]?void 0:r;let i=(0,p.useRef)(!1);(0,p.useEffect)(()=>{if(t.current&&!ve(t.current)){En(t.current);let e=setTimeout(()=>{(U()===t.current||U()===document.body)&&(i.current=!0,t.current&&(t.current.blur(),En(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),ys();let a=(0,p.useRef)(!1);return(0,p.useEffect)(()=>{if(process.env.NODE_ENV!==`production`&&!a.current&&t.current){let e=t.current,n=e.hasAttribute(`aria-label`),r=e.hasAttribute(`aria-labelledby`);!n&&!r&&(console.warn(`A dialog must have a title for accessibility. Either provide an aria-label or aria-labelledby prop, or render a heading element inside the dialog.`),a.current=!0)}}),{dialogProps:{...G(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]||r,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:r}}}var Ts=(0,p.createContext)(null),Es=(0,p.createContext)(null),Ds=(0,p.forwardRef)(function(e,t){let n=e[`aria-labelledby`];[e,t]=z(e,t,Ts);let{dialogProps:r,titleProps:i}=ws({...e,"aria-labelledby":n},t),a=(0,p.useContext)(Es);!r[`aria-label`]&&!r[`aria-labelledby`]&&(e[`aria-labelledby`]?r[`aria-labelledby`]=e[`aria-labelledby`]:process.env.NODE_ENV!==`production`&&console.warn(`If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.`));let o=oe({defaultClassName:`react-aria-Dialog`,className:e.className,style:e.style,children:e.children,values:{close:a?.close||(()=>{})}}),s=G(e,{global:!0});return p.default.createElement(de.section,{...F(s,o,r),render:e.render,ref:t,slot:e.slot||void 0},p.default.createElement(ae,{values:[[ii,{slots:{[L]:{},title:{...i,level:2}}}],[ti,{slots:{[L]:{},close:{onPress:()=>a?.close()}}}]]},o.children))});function Os(e,t){let n=t?.isDisabled,[r,i]=(0,p.useState)(!1);return h(()=>{if(e?.current&&!n){let t=()=>{e.current&&i(!!Oa(e.current,{tabbable:!0}).nextNode())};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[`tabIndex`,`disabled`]}),()=>{n.disconnect()}}}),n?!1:r}function ks(e,t,n){let{overlayProps:r,underlayProps:i}=bo({...e,isOpen:t.isOpen,onClose:t.close},n);return wo({isDisabled:!t.isOpen}),ys(),(0,p.useEffect)(()=>{if(t.isOpen&&n.current)return go([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:F(r),underlayProps:i}}var As=typeof document<`u`&&window.visualViewport;function js(){let e=O(),[t,n]=(0,p.useState)(()=>e?{width:0,height:0}:Ms());return(0,p.useEffect)(()=>{let e=e=>{n(t=>e.width===t.width&&e.height===t.height?t:e)},t=()=>{As&&As.scale>1||e(Ms())},r,i=t=>{As&&As.scale>1||Nt(W(t))&&(r=requestAnimationFrame(()=>{let t=U();(!t||!Nt(t))&&e({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return e(Ms()),Ye()&&window.addEventListener(`blur`,i,!0),As?As.addEventListener(`resize`,t):window.addEventListener(`resize`,t),()=>{cancelAnimationFrame(r),Ye()&&window.removeEventListener(`blur`,i,!0),As?As.removeEventListener(`resize`,t):window.removeEventListener(`resize`,t)}},[]),t}function Ms(){return{width:As?Math.min(As.width*As.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:As?As.height*As.scale:document.documentElement.clientHeight}}var Ns=(0,p.createContext)(null),Ps=(0,p.createContext)(null),Fs=(0,p.forwardRef)(function(e,t){if((0,p.useContext)(Ps)){if(process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){let t=new Set([`isDismissable`,`isKeyboardDismissDisabled`,`isOpen`,`defaultOpen`,`onOpenChange`,`isEntering`,`isExiting`,`UNSTABLE_portalContainer`,`shouldCloseOnInteractOutside`]),n=Object.keys(e).filter(e=>t.has(e));console.warn(`This modal is already wrapped in a ModalOverlay, props [${n.join(`, `)}] should be placed on the ModalOverlay instead.`)}return p.default.createElement(zs,{...e,modalRef:t},e.children)}let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,children:s,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d,...f}=e;return p.default.createElement(Ls,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d},p.default.createElement(zs,{...f,modalRef:t},s))});function Is(e,t){[e,t]=z(e,t,Ns);let n=(0,p.useContext)(Es),r=bs(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n;i===n&&process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)&&console.warn(`This modals state is controlled by a trigger, place onOpenChange on the trigger instead.`);let a=I(t),o=(0,p.useRef)(null),s=Ss(a,i.isOpen),c=Ss(o,i.isOpen),l=s||c||e.isExiting||!1,u=O();return!i.isOpen&&!l||u?null:p.default.createElement(Rs,{...e,state:i,isExiting:l,overlayRef:a,modalRef:o})}var Ls=(0,p.forwardRef)(Is);function Rs({UNSTABLE_portalContainer:e,...t}){let n=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:a}=ks(t,r,n),o=xs(t.overlayRef)||t.isEntering||!1,s=oe({...t,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:o,isExiting:t.isExiting,state:r}}),c=js(),l,u;if(typeof document<`u`){let e=si(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;l=e.scrollWidth-t,u=e.scrollHeight-n}let d={...s.style,"--visual-viewport-width":c.width+`px`,"--visual-viewport-height":c.height+`px`,"--page-width":l===void 0?void 0:l+`px`,"--page-height":u===void 0?void 0:u+`px`};return p.default.createElement(vs,{isExiting:t.isExiting,portalContainer:e},p.default.createElement(de.div,{...F(G(t,{global:!0}),a),...s,style:d,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},p.default.createElement(ae,{values:[[Ps,{modalProps:i,modalRef:n,isExiting:t.isExiting,isDismissable:t.isDismissable}],[Es,r]]},s.children)))}function zs(e){let{modalProps:t,modalRef:n,isExiting:r,isDismissable:i}=(0,p.useContext)(Ps),a=(0,p.useContext)(Es),o=I((0,p.useMemo)(()=>P(e.modalRef,n),[e.modalRef,n])),s=xs(o),c=oe({...e,defaultClassName:`react-aria-Modal`,values:{isEntering:s,isExiting:r,state:a}});return p.default.createElement(de.div,{...F(G(e,{global:!0}),t),...c,ref:o,"data-entering":s||void 0,"data-exiting":r||void 0},i&&p.default.createElement(ps,{onDismiss:a.close}),c.children)}function Bs(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,...o}=Bi(e,t,n);return{labelProps:r,inputProps:{...i,role:`switch`,checked:a},isSelected:a,...o}}var Vs=(0,p.createContext)(null),Hs=(0,p.createContext)(null),Us=(0,p.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=z(r,t,Vs);let i=I(P(n,e.inputRef===void 0?null:e.inputRef)),a=Hi(e),o=Bs({...ce(e),children:typeof e.children==`function`?!0:e.children},a,i);return p.default.createElement(ae,{values:[[Hs,a],[Ws,{...o,inputRef:i,defaultClassName:`react-aria-Switch`}]]},p.default.createElement(Gs,{...e,ref:t}))}),Ws=(0,p.createContext)(null),Gs=(0,p.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isRequired:d}=(0,p.useContext)(Ws),{isFocused:f,isFocusVisible:m,focusProps:h}=zr(),g=a||o,_=(0,p.useContext)(Hs),{hoverProps:v,isHovered:y}=Gr({...e,isDisabled:g}),b=oe({...e,defaultClassName:u,values:{isSelected:i,isPressed:s,isHovered:y,isFocused:f,isFocusVisible:m,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:d||!1,state:_}}),x=G(e,{global:!0});return delete x.id,delete x.onClick,p.default.createElement(de.label,{...F(x,n,v,b),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":y||void 0,"data-focused":f||void 0,"data-focus-visible":m||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":d||void 0},p.default.createElement(_i,{elementType:`span`},p.default.createElement(`input`,{...F(r,h),ref:l})),b.children)}),Ks=new WeakMap;function qs(e,t,n){if(!e)return``;typeof t==`string`&&(t=t.replace(/\s+/g,``));let r=Ks.get(e);return process.env.NODE_ENV!==`production`&&!r&&console.error(`There is no tab id, please check if you have rendered the tab panel before the tab list.`),`${r}-${n}-${t}`}function Js(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=Ua({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=qs(t,r,`tab`),m=qs(t,r,`tabpanel`),{tabIndex:h}=d,g=G(u?.props,{labelable:!0});delete g.id;let _=ct(u?.props),{focusableProps:v}=Nn({...u?.props,isDisabled:l},n);return{tabProps:F(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}function Ys(e,t,n){let r=Os(n)?void 0:0,i=qs(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:F(Lt({...e,id:i,"aria-labelledby":qs(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}var Xs=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`&&n===`horizontal`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function Zs(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=Jt(),{collectionProps:l}=Ba({ref:n,selectionManager:o,keyboardDelegate:(0,p.useMemo)(()=>new Xs(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=N();return Ks.set(t,u),{tabListProps:{...F(l,Lt({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function Qs(e){let[t,n]=un(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,p.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=lo({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function $s(e){let t=Qs({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??ec(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,p.useRef)(i);return(0,p.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=ec(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function ec(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var tc=(0,p.createContext)(null),nc=(0,p.createContext)(null),rc=(0,p.forwardRef)(function(e,t){[e,t]=z(e,t,tc);let{children:n,orientation:r=`horizontal`}=e;return n=(0,p.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),p.default.createElement(zn,{content:n},n=>p.default.createElement(ic,{props:e,collection:n,tabsRef:t}))});function ic({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=$s({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=zr({within:!0}),c=(0,p.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=oe({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=G(e,{global:!0});return p.default.createElement(de.div,{...F(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},p.default.createElement(ae,{values:[[tc,e],[nc,i]]},l.children))}var ac=(0,p.forwardRef)(function(e,t){return(0,p.useContext)(nc)?p.default.createElement(oc,{props:e,forwardedRef:t}):p.default.createElement(Xn,e)});function oc({props:e,forwardedRef:t}){let n=(0,p.useContext)(nc),{CollectionRoot:r}=(0,p.useContext)(tr),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=R(tc),o=I(t),{tabListProps:s}=Zs({...e,orientation:i,keyboardActivation:a},n,o),c=oe({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=G(e,{global:!0});return delete l.id,p.default.createElement(de.div,{...F(l,c,s),ref:o,"data-orientation":i||void 0},p.default.createElement(na,null,p.default.createElement(r,{collection:n.collection,persistedKeys:nr(n.selectionManager.focusedKey)})))}var sc=qn(class extends fn{static{this.type=`item`}},(e,t,n)=>{let r=(0,p.useContext)(nc),i=I(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=Js({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=zr(),{hoverProps:f,isHovered:m}=Gr({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),h=oe({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:m}}),g=n.props.href?de.a:de.div,_=G(e,{global:!0});return delete _.id,delete _.onClick,p.default.createElement(g,{...F(_,h,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":m||void 0},p.default.createElement(ra.Provider,{value:{isSelected:o}},h.children))}),cc=In(function(e,t){let n=(0,p.useContext)(nc),r=I(t),i=n.selectedKey===e.id,[a,o]=(0,p.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=Ss(r,i);return!i&&!e.shouldForceMount&&!s?null:p.default.createElement(lc,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function lc(e){let t=(0,p.useContext)(nc),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=Ys(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=zr(),d=t.selectedKey===e.id,f=xs(r)&&!i,m=oe({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:Za(!d),isEntering:f,isExiting:a,state:t}}),h=G(o,{global:!0});delete h.id;let g=d?F(h,s,c,m):F(h,m);return p.default.createElement(de.div,{...g,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:Za(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},p.default.createElement(ae,{values:[[tc,null],[nc,null]]},p.default.createElement(tr.Provider,{value:Qn},m.children)))}var uc=(0,p.createContext)({}),dc=(0,p.createContext)(null),fc=In(function(e,t){[e,t]=z(e,t,dc);let{validationBehavior:n}=R(Ai)||{},r=e.validationBehavior??n??`native`,i=(0,p.useRef)(null);[e,i]=z(e,i,dn);let[a,o]=se(!e[`aria-label`]&&!e[`aria-labelledby`]),[s,c]=(0,p.useState)(`input`),{labelProps:l,inputProps:u,descriptionProps:d,errorMessageProps:f,...m}=ea({...ce(e),inputElementType:s,label:o,validationBehavior:r},i),h=(0,p.useCallback)(e=>{i.current=e,e&&c(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[i]),g=oe({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),_=G(e,{global:!0});return delete _.id,p.default.createElement(de.div,{..._,...g,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},p.default.createElement(ae,{values:[[Kr,{...l,ref:a}],[Zi,{...u,ref:h}],[uc,{...u,ref:h}],[Xi,{role:`presentation`,isInvalid:m.isInvalid,isDisabled:e.isDisabled||!1}],[ai,{slots:{description:d,errorMessage:f}}],[vi,m]]},g.children))}),pc=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},mc=(e,t)=>({classGroupId:e,validator:t}),hc=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),gc=`-`,_c=[],vc=`arbitrary..`,yc=e=>{let t=Sc(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return xc(e);let n=e.split(gc);return bc(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?pc(i,t):t:i||_c}return n[e]||_c}}},bc=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=bc(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(gc):e.slice(t).join(gc),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},xc=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?vc+r:void 0})(),Sc=e=>{let{theme:t,classGroups:n}=e;return Cc(n,t)},Cc=(e,t)=>{let n=hc();for(let r in e){let i=e[r];wc(i,n,r,t)}return n},wc=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Tc(i,t,n,r)}},Tc=(e,t,n,r)=>{if(typeof e==`string`){Ec(e,t,n);return}if(typeof e==`function`){Dc(e,t,n,r);return}Oc(e,t,n,r)},Ec=(e,t,n)=>{let r=e===``?t:kc(t,e);r.classGroupId=n},Dc=(e,t,n,r)=>{if(Ac(e)){wc(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(mc(n,e))},Oc=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];wc(o,kc(t,a),n,r)}},kc=(e,t)=>{let n=e,r=t.split(gc),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=hc(),n.nextPart.set(t,i)),n=i}return n},Ac=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,jc=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Mc=`!`,Nc=`:`,Pc=[],Fc=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Ic=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Nc){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Mc)?(c=s.slice(0,-1),l=!0):s.startsWith(Mc)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Fc(t,l,c,u)};if(t){let e=t+Nc,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Fc(Pc,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Lc=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Rc=e=>({cache:jc(e.cacheSize),parseClassName:Ic(e),sortModifiers:Lc(e),postfixLookupClassGroupIds:zc(e),...yc(e)}),zc=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Bc=/\s+/,Vc=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Bc),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Mc:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Hc=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Uc(n))&&(i&&(i+=` `),i+=r);return i},Uc=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Uc(e[r]))&&(n&&(n+=` `),n+=t);return n},Wc=(e,...t)=>{let n,r,i,a,o=o=>(n=Rc(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Vc(e,n);return i(e,a),a};return a=o,(...e)=>a(Hc(...e))},Gc=[],Y=e=>{let t=t=>t[e]||Gc;return t.isThemeGetter=!0,t},Kc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Jc=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Yc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xc=/\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$/,Zc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Qc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$c=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,el=e=>Jc.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),tl=e=>!!e&&Number.isInteger(Number(e)),nl=e=>e.endsWith(`%`)&&X(e.slice(0,-1)),rl=e=>Yc.test(e),il=()=>!0,al=e=>Xc.test(e)&&!Zc.test(e),ol=()=>!1,sl=e=>Qc.test(e),cl=e=>$c.test(e),ll=e=>!Z(e)&&!Q(e),ul=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),dl=e=>El(e,Al,ol),Z=e=>Kc.test(e),fl=e=>El(e,jl,al),pl=e=>El(e,Ml,X),ml=e=>El(e,Pl,il),hl=e=>El(e,Nl,ol),gl=e=>El(e,Ol,ol),_l=e=>El(e,kl,cl),vl=e=>El(e,Fl,sl),Q=e=>qc.test(e),yl=e=>Dl(e,jl),bl=e=>Dl(e,Nl),xl=e=>Dl(e,Ol),Sl=e=>Dl(e,Al),Cl=e=>Dl(e,kl),wl=e=>Dl(e,Fl,!0),Tl=e=>Dl(e,Pl,!0),El=(e,t,n)=>{let r=Kc.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Dl=(e,t,n=!1)=>{let r=qc.exec(e);return r?r[1]?t(r[1]):n:!1},Ol=e=>e===`position`||e===`percentage`,kl=e=>e===`image`||e===`url`,Al=e=>e===`length`||e===`size`||e===`bg-size`,jl=e=>e===`length`,Ml=e=>e===`number`,Nl=e=>e===`family-name`,Pl=e=>e===`number`||e===`weight`,Fl=e=>e===`shadow`,Il=Wc(()=>{let e=Y(`color`),t=Y(`font`),n=Y(`text`),r=Y(`font-weight`),i=Y(`tracking`),a=Y(`leading`),o=Y(`breakpoint`),s=Y(`container`),c=Y(`spacing`),l=Y(`radius`),u=Y(`shadow`),d=Y(`inset-shadow`),f=Y(`text-shadow`),p=Y(`drop-shadow`),m=Y(`blur`),h=Y(`perspective`),g=Y(`aspect`),_=Y(`ease`),v=Y(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Q,Z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Q,Z,c],T=()=>[el,`full`,`auto`,...w()],E=()=>[tl,`none`,`subgrid`,Q,Z],D=()=>[`auto`,{span:[`full`,tl,Q,Z]},tl,Q,Z],O=()=>[tl,`auto`,Q,Z],k=()=>[`auto`,`min`,`max`,`fr`,Q,Z],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[el,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[el,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[el,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,Q,Z],ne=()=>[...b(),xl,gl,{position:[Q,Z]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,Sl,dl,{size:[Q,Z]}],F=()=>[nl,yl,fl],I=()=>[``,`none`,`full`,l,Q,Z],L=()=>[``,X,yl,fl],ae=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],R=()=>[X,nl,xl,gl],z=()=>[``,`none`,m,Q,Z],se=()=>[`none`,X,Q,Z],ce=()=>[`none`,X,Q,Z],le=()=>[X,Q,Z],ue=()=>[el,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[rl],breakpoint:[rl],color:[il],container:[rl],"drop-shadow":[rl],ease:[`in`,`out`,`in-out`],font:[ll],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[rl],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[rl],shadow:[rl],spacing:[`px`,X],text:[rl],"text-shadow":[rl],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,el,Z,Q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Q,Z]}],"container-named":[ul],columns:[{columns:[X,Z,Q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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`],sr:[`sr-only`,`not-sr-only`],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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[tl,`auto`,Q,Z]}],basis:[{basis:[el,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[X,el,`auto`,`initial`,`none`,Z]}],grow:[{grow:[``,X,Q,Z]}],shrink:[{shrink:[``,X,Q,Z]}],order:[{order:[tl,`first`,`last`,`none`,Q,Z]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,yl,fl]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Tl,ml]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,nl,Z]}],"font-family":[{font:[bl,hl,t]}],"font-features":[{"font-features":[Z]}],"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-fractions`],tracking:[{tracking:[i,Q,Z]}],"line-clamp":[{"line-clamp":[X,`none`,Q,pl]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Q,Z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Q,Z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ae(),`wavy`]}],"text-decoration-thickness":[{decoration:[X,`from-font`,`auto`,Q,fl]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[X,`auto`,Q,Z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[tl,Q,Z]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Q,Z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Q,Z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},tl,Q,Z],radial:[``,Q,Z],conic:[tl,Q,Z]},Cl,_l]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"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:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ae(),`hidden`,`none`]}],"divide-style":[{divide:[...ae(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...ae(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[X,Q,Z]}],"outline-w":[{outline:[``,X,yl,fl]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,wl,vl]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,wl,vl]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[X,fl]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,wl,vl]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[X,Q,Z]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Q,Z]}],filter:[{filter:[``,`none`,Q,Z]}],blur:[{blur:z()}],brightness:[{brightness:[X,Q,Z]}],contrast:[{contrast:[X,Q,Z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,wl,vl]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,X,Q,Z]}],"hue-rotate":[{"hue-rotate":[X,Q,Z]}],invert:[{invert:[``,X,Q,Z]}],saturate:[{saturate:[X,Q,Z]}],sepia:[{sepia:[``,X,Q,Z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Q,Z]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[X,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[X,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,X,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,Q,Z]}],"backdrop-invert":[{"backdrop-invert":[``,X,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[X,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[X,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":[``,X,Q,Z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Q,Z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[X,`initial`,Q,Z]}],ease:[{ease:[`linear`,`initial`,_,Q,Z]}],delay:[{delay:[X,Q,Z]}],animate:[{animate:[`none`,v,Q,Z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Q,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":[`scale-3d`],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[Q,Z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":[`translate-none`],zoom:[{zoom:[tl,Q,Z]}],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],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`,Q,Z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":P()}],"scrollbar-track-color":[{"scrollbar-track":P()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,Q,Z]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[X,yl,fl,pl]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`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`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`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-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`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-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`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`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`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-pbs`,`scroll-pbe`,`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`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function $(...e){return Il(e.filter(Boolean))}var Ll=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z`})),Rl=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z`})),zl=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z`})),Bl=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z`})),Vl={Info:Ll,Warning:Rl,Error:zl,Done:Bl,Check:Bl,Close:e=>(0,i.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,i.jsx)(`path`,{d:`M5 5h2v2H5zM7 7h2v2H7zM9 9h2v2H9zM11 11h2v2h-2zM13 13h2v2h-2zM15 15h2v2h-2zM17 17h2v2h-2zM17 5h2v2h-2zM15 7h2v2h-2zM13 9h2v2h-2zM9 13h2v2H9zM7 15h2v2H7zM5 17h2v2H5z`})}),"Chevron Up":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 8h-2v2h2V8Zm-2 2H9v2h2v-2Zm4 0h-2v2h2v-2Zm-6 2H7v2h2v-2Zm8 0h-2v2h2v-2ZM7 14H5v2h2v-2Zm12 0h-2v2h2v-2Z`})),"Chevron Down":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 16h-2v-2h2v2Zm-2-2H9v-2h2v2Zm4 0h-2v-2h2v2Zm-6-2H7v-2h2v2Zm8 0h-2v-2h2v2ZM7 10H5V8h2v2Zm12 0h-2V8h2v2Z`})),App:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 6h16v2H4zm0 12h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zM5 5h2v2H5zm3 0h2v2H8z`})),Cancel:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 11h16v2H4z`})),Fullscreen:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 13h16v-2H4zm7-8h2V3h-2zM9 7h4V5H9zm4 0h2V5h-2zm2 2h2V7h-2zM7 9h8V7H7zm4 10h2v2h-2zm-2-2h4v2H9zm4 0h2v2h-2zm2-2h2v2h-2zm-8 0h8v2H7z`})),Add:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 11h7v2h-7v7h-2v-7H4v-2h7V4h2v7Z`}))},Hl={L:56,S:24},Ul=({name:e,size:t=`L`,className:n=``,onClick:r,color:a,role:o,"aria-label":s})=>{let c=Vl[e];if(!c)return null;let l=Hl[t],u=o??`img`,d=o===`button`,f=d?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),r?.())}:void 0;return(0,i.jsx)(`span`,{className:$(`icon`,d&&`icon--button`,n),onClick:r,onKeyDown:f,role:u,tabIndex:d?0:void 0,"aria-label":s||`${e} icon`,style:a?{color:a}:void 0,children:(0,i.jsx)(c,{width:l,height:l,className:`icon__svg`})})};function Wl(){return typeof window<`u`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Gl(e,t){let[n,r]=(0,p.useState)(!1),i=(0,p.useRef)(!1);return{isClosing:n,triggerClose:(0,p.useCallback)(()=>{if(!(i.current||!t)){if(Wl()){t();return}i.current=!0,r(!0)}},[t]),handleAnimationEnd:(0,p.useCallback)(n=>{n.animationName===e&&i.current&&(i.current=!1,r(!1),t?.())},[e,t])}}var Kl={info:`default`,success:`success`,warning:`warning`,error:`error`,default:`default`,brand:`brand`},ql={brand:`Info`,gray:`Info`,default:`Info`,error:`Error`,warning:`Warning`,success:`Done`};function Jl(e,t){return e||Kl[t||`info`]||`default`}function Yl(e){return e===`full-width`?`full-width`:`floating`}var Xl=(0,p.forwardRef)(({color:e,size:t=`floating`,type:n,title:r,children:a,actions:o,onClose:s,onClickHere:c,className:l},u)=>{let d=Jl(e,n),f=Yl(t),{isClosing:p,triggerClose:m,handleAnimationEnd:h}=Gl(`alert-exit`,s),g=[...o||[],...c?[{label:`Click here`,onClick:c}]:[]];return(0,i.jsxs)(`div`,{ref:u,className:$(`relative w-full flex flex-col gap-4 p-4`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-alert`,`eidotter-alert--${d}`,f===`floating`&&`max-w-[1216px]`,f===`full-width`&&`eidotter-alert--full-width max-w-none`,p&&`eidotter-alert--closing`,l),onAnimationEnd:h,role:`alert`,"data-color":d,"data-size":f,children:[(0,i.jsx)(`div`,{className:`eidotter-alert__icon`,children:(0,i.jsx)(Ul,{name:ql[d]||`Info`,size:`S`,"aria-label":`${d} alert`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,s&&`pr-6`),children:[(r||a)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-alert__title font-dos leading-[140%]`,children:r}),a&&(0,i.jsx)(`div`,{className:`eidotter-alert__text font-dos leading-[140%]`,children:a})]}),g.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:g.map((e,t)=>(0,i.jsxs)(K,{className:`eidotter-alert__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),s&&(0,i.jsx)(K,{className:`eidotter-alert__close`,onPress:m,"aria-label":`Close alert`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]})});Xl.displayName=`Alert`;var Zl=({title:e,children:t,defaultExpanded:n=!1,isHovered:r=!1,isActive:a=!1,onToggle:o})=>{let[s,c]=(0,p.useState)(n);return(0,p.useEffect)(()=>{c(n)},[n]),(0,i.jsxs)(`div`,{className:$(`w-full border border-dos-border-default text-dos-text-brand font-dos`,`eidotter-section`,s&&`eidotter-section--expanded`,r&&`eidotter-section--hover`,a&&`eidotter-section--active`),children:[(0,i.jsxs)(K,{className:`eidotter-section__header w-full flex justify-between items-center px-4 py-2 bg-transparent border-0 text-inherit font-[inherit] cursor-pointer text-left`,onPress:()=>{let e=!s;c(e),o?.(e)},"aria-expanded":s,children:[(0,i.jsx)(`div`,{className:`flex-1 text-base leading-6`,children:e}),(0,i.jsx)(`div`,{className:`eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit`,children:(0,i.jsx)(Ul,{name:s?`Chevron Up`:`Chevron Down`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-section__content`,inert:s?void 0:!0,children:(0,i.jsx)(`div`,{className:`eidotter-section__content-inner`,children:t})})]})},Ql=({sections:e,defaultExpandedIndex:t=-1,className:n})=>{let[,r]=(0,p.useState)(t),a=(e,t)=>{r(t?e:-1)};return(0,i.jsx)(`div`,{className:$(`w-full flex flex-col items-stretch gap-2 text-left text-base font-dos text-dos-text-brand`,`eidotter-accordion-fill`,n),children:e.map((e,n)=>(0,i.jsx)(Zl,{title:e.title,defaultExpanded:n===t,onToggle:e=>a(n,e),children:e.content},n))})},$l={xs:`text-dos-text-xs px-2 py-1 min-h-6 gap-1`,sm:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,md:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,lg:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`,xl:`text-dos-text-xl px-5 py-3 min-h-11 gap-2`,small:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,medium:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,large:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`},eu={primary:`eidotter-btn--primary`,secondary:`eidotter-btn--secondary`,tertiary:`eidotter-btn--tertiary`,destructive:`eidotter-btn--destructive`,ghost:`eidotter-btn--ghost`,link:`eidotter-btn--link`},tu=(0,p.forwardRef)(({variant:e=`primary`,size:t=`md`,type:n=`button`,disabled:r=!1,loading:a=!1,children:o,onPress:s,onClick:c,className:l,fullWidth:u=!1,iconOnly:d=!1,...f},p)=>{let m=r||a;return(0,i.jsxs)(K,{ref:p,type:n,isDisabled:m,isPending:a||void 0,onPress:e=>{s?s(e):c&&c({type:`press`,target:e.target,currentTarget:e.target,preventDefault:()=>{},stopPropagation:()=>{}})},className:$(`eidotter-btn`,`inline-flex items-center justify-center relative`,`border-2 border-solid`,`font-dos leading-none whitespace-nowrap select-none`,`outline-none cursor-pointer`,`transition-all duration-100 ease-linear`,$l[t]||$l.md,eu[e]||eu.primary,m&&`opacity-50 cursor-not-allowed`,a&&`cursor-wait`,u&&`w-full`,d&&`aspect-square !px-0`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus`,l),"data-loading":a||void 0,"data-variant":e,...f,children:[a&&(0,i.jsx)(`span`,{className:`eidotter-btn__loading`,"aria-hidden":`true`,children:`█`}),(0,i.jsx)(`span`,{className:$(`inline-flex items-center justify-center`,a&&`opacity-70`),children:o})]})});tu.displayName=`Button`;var nu={default:`eidotter-card--default`,elevated:`eidotter-card--elevated`,bordered:`eidotter-card--bordered`,glow:`eidotter-card--glow`,interactive:`eidotter-card--interactive`,minimal:`eidotter-card--minimal`,callout:`eidotter-card--callout`},ru=(0,p.forwardRef)(({title:e,children:t,footer:n,variant:r=`default`,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`border-2 border-solid border-dos-border-default`,`font-dos text-dos-text-brand`,`eidotter-card`,nu[r]||nu.default,a),...o,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-card__header px-3 py-2 border-b border-dos-text-disabled bg-dos-bg-brand-dim`,children:(0,i.jsx)(`span`,{className:`text-dos-text-secondary text-dos-text-md uppercase`,children:e})}),(0,i.jsx)(`div`,{className:`p-3`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-card__footer px-3 py-2 border-t border-dos-text-disabled bg-dos-bg-secondary`,children:n})]}));ru.displayName=`Card`;var iu=(0,p.forwardRef)(({checked:e,defaultChecked:t,onChange:n,indeterminate:r=!1,label:a,disabled:o=!1,size:s=`md`,name:c,value:l,className:u,"aria-label":d,...f},p)=>(0,i.jsx)(Ji,{ref:p,isSelected:e,defaultSelected:t,isIndeterminate:r,onChange:n,isDisabled:o,name:c,value:l,"aria-label":d||a,className:$(`inline-flex items-center gap-2 cursor-pointer select-none group`,`font-dos`,s===`sm`?`text-dos-text-xs`:`text-dos-text-sm`,`eidotter-checkbox`,o&&`opacity-60 cursor-not-allowed`,u),"data-size":s,...f,children:({isSelected:e,isIndeterminate:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-checkbox__box`,e&&`eidotter-checkbox__box--checked`,t&&`eidotter-checkbox__box--indeterminate`),children:t?`[-]`:e?`[X]`:`[ ]`}),a&&(0,i.jsx)(`span`,{className:`eidotter-checkbox__label`,children:a})]})}));iu.displayName=`Checkbox`;var au=({prompt:e=`C:\\>`,onCommand:t,autoFocus:n=!1,className:r=``,placeholder:a,disabled:o=!1})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);return(0,p.useEffect)(()=>{n&&l.current&&l.current.focus()},[n]),(0,i.jsxs)(`div`,{className:`command-prompt ${o?`command-prompt--disabled`:``} ${r}`.trim(),onClick:()=>{!o&&l.current&&l.current.focus()},children:[(0,i.jsx)(`span`,{className:`command-prompt__prompt`,"aria-hidden":`true`,children:e}),(0,i.jsxs)(`div`,{className:`command-prompt__input-wrapper`,children:[(0,i.jsx)(`input`,{ref:l,className:`command-prompt__input`,value:s,onChange:e=>c(e.target.value),onKeyDown:e=>{e.key===`Enter`&&s.trim()&&!o&&(t(s.trim()),c(``))},autoFocus:n,spellCheck:!1,autoComplete:`off`,autoCapitalize:`off`,autoCorrect:`off`,placeholder:a,disabled:o,"aria-label":`Command input`,size:s.length||a?.length||1}),(0,i.jsx)(`span`,{className:`command-prompt__cursor`,"aria-hidden":`true`,children:`█`})]})]})},ou=`█`,su=`░`,cu=`▓`,lu=`▒`,uu={sm:`text-xs`,md:`text-base`,lg:`text-lg`,small:`text-xs`,medium:`text-base`,large:`text-lg`},du={default:`eidotter-progress--default`,success:`eidotter-progress--success`,warning:`eidotter-progress--warning`,error:`eidotter-progress--error`};function fu(e,t,n){let r=t-e;if(n===`gradient`&&e>0&&e<t){let t=Math.min(2,r),n=r-t,i=(t>=1?cu:``)+(t>=2?lu:``);return{filled:ou.repeat(e),transition:i,empty:su.repeat(n)}}return{filled:ou.repeat(e),transition:``,empty:su.repeat(r)}}var pu=(0,p.forwardRef)(({value:e=0,max:t=100,indeterminate:n=!1,variant:r=`default`,size:a=`md`,trackStyle:o=`block`,blocks:s=20,showLabel:c=!1,fullWidth:l=!1,glow:u=!1,valueText:d,className:f,"aria-label":p,...m},h)=>{let g=Math.min(80,Math.max(3,Math.floor(s))),_=Math.min(100,Math.max(0,e/t*100)),v=Math.round(_/100*g),y=$(`inline-flex items-center gap-2 font-dos`,`eidotter-progress`,uu[a]||uu.md,du[r]||du.default,u&&`eidotter-progress--glow`,l&&`eidotter-progress--full-width`,n&&`eidotter-progress--indeterminate`,o===`bordered`&&`eidotter-progress--bordered`,f),b={"aria-label":p||`Progress: ${n?`loading`:`${Math.round(_)}%`}`};n||(b[`aria-valuenow`]=e,b[`aria-valuemin`]=0,b[`aria-valuemax`]=t),d&&(b[`aria-valuetext`]=d);let x=o===`bordered`,S=$(`eidotter-progress__track`,x&&`eidotter-progress__track--borderless`);if(n){let e=su.repeat(g);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:e}),(0,i.jsxs)(`span`,{className:`eidotter-progress__scanner`,children:[cu,ou,cu]})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsx)(`span`,{className:`eidotter-progress__label`,children:`...`})]})}let C=ou.repeat(g),w=su.repeat(g),{transition:T}=fu(v,g,o);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:w}),(0,i.jsx)(`span`,{className:`eidotter-progress__fill`,style:{"--fill-pct":String(_)},children:C}),T&&(0,i.jsx)(`span`,{className:`eidotter-progress__transition`,style:{"--fill-pct":String(_)},children:T})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsxs)(`span`,{className:`eidotter-progress__label`,children:[Math.round(_),`%`]})]})});pu.displayName=`Progress`;var mu=(e,t,n)=>Math.min(n,Math.max(t,e)),hu=(0,p.forwardRef)(({value:e=0,max:t=100,size:n=64,thickness:r=8,segments:a=16,color:o,showLabel:s=!1,glow:c=!1,className:l,"aria-label":u,...d},f)=>{let p=Math.max(1,Math.floor(a)),m=mu(t===0?0:e/t,0,1),h=Math.floor(m*p),g=Math.round(h/p*100),_=(n-r)/2,v=n/2,y=n/2,b=2*Math.PI*_,x=b/p,S=Math.max(2,x/6),C=Math.max(.5,x-S),w=o??`currentColor`,T=Array.from({length:p},(e,t)=>{let n=t<h;return(0,i.jsx)(`circle`,{cx:v,cy:y,r:_,fill:`none`,stroke:w,strokeWidth:r,strokeLinecap:`butt`,strokeOpacity:n?1:.18,strokeDasharray:`0 ${t*x} ${C} ${b}`,className:$(`eidotter-progress-ring__seg`,n&&`eidotter-progress-ring__seg--filled`)},t)});return(0,i.jsxs)(`div`,{ref:f,className:$(`eidotter-progress-ring`,c&&`eidotter-progress-ring--glow`,l),style:{width:n,height:n},role:`progressbar`,"aria-valuenow":g,"aria-valuemin":0,"aria-valuemax":100,"aria-label":u??`Progress: ${g}%`,...d,children:[(0,i.jsx)(`svg`,{width:n,height:n,viewBox:`0 0 ${n} ${n}`,"aria-hidden":`true`,focusable:`false`,children:(0,i.jsx)(`g`,{transform:`rotate(-90 ${v} ${y})`,children:T})}),s&&(0,i.jsxs)(`span`,{className:`eidotter-progress-ring__label font-dos`,children:[g,`%`]})]})});hu.displayName=`ProgressRing`;var gu={success:`█`,fail:`░`,skip:`·`,pending:`▒`,empty:` `},_u=[`success`,`fail`,`skip`,`pending`],vu={success:`DONE`,fail:`MISS`,skip:`OFF`,pending:`TODAY`},yu=[`MO`,`TU`,`WE`,`TH`,`FR`,`SA`,`SU`],bu=[`SU`,`MO`,`TU`,`WE`,`TH`,`FR`,`SA`],xu=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Su={sm:`eidotter-calendar-heatmap--sm`,md:`eidotter-calendar-heatmap--md`,lg:`eidotter-calendar-heatmap--lg`},Cu=e=>String(e).padStart(2,`0`),wu=(0,p.forwardRef)(({month:e,statuses:t={},defaultStatus:n=`skip`,weekStart:r=`monday`,size:a=`md`,successColor:o,showLegend:s=!0,legendLabels:c,glyphs:l,className:u,"aria-label":d,...f},p)=>{let m=Number(e.slice(0,4)),h=Number(e.slice(5,7))-1,g=Number.isFinite(m)&&h>=0&&h<=11,_={...gu,...l},v={...vu,...c},y=[],b=0,x=0;if(g){let e=new Date(Date.UTC(m,h+1,0)).getUTCDate(),i=new Date(Date.UTC(m,h,1)).getUTCDay(),a=r===`monday`?(i+6)%7:i,o=[];for(let e=0;e<a;e++)o.push({key:`lead-${e}`,day:0,status:`empty`});for(let r=1;r<=e;r++){let e=`${m}-${Cu(h+1)}-${Cu(r)}`,i=t[e]??n;i===`success`&&b++,i===`fail`&&x++,o.push({key:e,day:r,status:i})}for(;o.length%7!=0;)o.push({key:`trail-${o.length}`,day:0,status:`empty`});for(let e=0;e<o.length;e+=7)y.push(o.slice(e,e+7))}let S=r===`monday`?yu:bu,C=g?`${xu[h]} ${m}`:e,w=d??`${C}: ${b} done, ${x} missed`,T=o?{"--heatmap-success":o}:void 0;return(0,i.jsxs)(`div`,{ref:p,className:$(`eidotter-calendar-heatmap font-dos`,Su[a],u),style:T,...f,children:[(0,i.jsxs)(`div`,{className:`eidotter-calendar-heatmap__grid`,role:`img`,"aria-label":w,children:[(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:S.map(e=>(0,i.jsx)(`span`,{className:`eidotter-calendar-heatmap__cell eidotter-calendar-heatmap__head`,children:e},e))}),y.map((e,t)=>(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:e.map(e=>(0,i.jsx)(`span`,{className:$(`eidotter-calendar-heatmap__cell`,`eidotter-calendar-heatmap__cell--${e.status}`),children:_[e.status]},e.key))},t))]}),s&&(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__legend`,"aria-hidden":`true`,children:_u.map(e=>(0,i.jsxs)(`span`,{className:`eidotter-calendar-heatmap__cell--${e}`,children:[_[e],` `,v[e]]},e))})]})});wu.displayName=`CalendarHeatmap`;var Tu=e=>e*e,Eu=.02,Du=120,Ou=(0,p.forwardRef)(({onHold:e,onTap:t,onHoldProgress:n,holdDuration:r=700,ringColor:a,ringScale:o=.72,disabled:s=!1,"aria-label":c,className:l,children:u},d)=>{let[f,m]=(0,p.useState)(0),[h,g]=(0,p.useState)(0),_=(0,p.useRef)(null),v=(0,p.useRef)(null),y=(0,p.useRef)(0),b=(0,p.useRef)(0),x=(0,p.useRef)(0),S=(0,p.useRef)(0),C=(0,p.useRef)(r),w=(0,p.useRef)(!1),T=(0,p.useRef)(e),E=(0,p.useRef)(n);T.current=e,E.current=n;let D=(0,p.useCallback)(e=>{y.current=e,m(e),E.current?.(e)},[]),O=(0,p.useCallback)(()=>{v.current!=null&&(cancelAnimationFrame(v.current),v.current=null)},[]),k=(0,p.useCallback)(e=>{let t=e-S.current,n=C.current,r=n<=0?1:Math.min(1,t/n),i=x.current===1?Tu(r):r;if(D(b.current+(x.current-b.current)*i),r>=1){v.current=null,x.current===1&&(w.current=!0,D(0),T.current());return}v.current=requestAnimationFrame(k)},[D]),A=(0,p.useCallback)((e,t)=>{O(),b.current=y.current,x.current=e,C.current=t,S.current=typeof performance<`u`?performance.now():0,v.current=requestAnimationFrame(k)},[O,k]),j=(0,p.useCallback)(e=>{if(!s){try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}w.current=!1,D(0),A(1,r)}},[s,r,A,D]),M=(0,p.useCallback)(()=>{if(!w.current){if(y.current<=0){O();return}Wl()?(O(),D(0)):A(0,Du)}},[A,O,D]),N=(0,p.useCallback)(()=>{s||(w.current||t?.(),w.current=!1)},[s,t]),ee=(0,p.useCallback)(t=>{s||t.repeat||(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[s,e]);(0,p.useEffect)(()=>{let e=_.current;if(!e)return;let t=()=>g(Math.min(e.clientWidth,e.clientHeight));if(t(),typeof ResizeObserver<`u`){let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()}},[]),(0,p.useEffect)(()=>O,[O]);let te=(0,p.useCallback)(e=>{_.current=e,typeof d==`function`?d(e):d&&(d.current=e)},[d]),P=f>Eu&&h>0;return(0,i.jsxs)(`div`,{ref:te,className:$(`eidotter-hold`,s&&`eidotter-hold--disabled`,l),role:`button`,tabIndex:s?-1:0,"aria-label":c,"aria-disabled":s||void 0,onPointerDown:j,onPointerUp:M,onPointerCancel:M,onClick:N,onKeyDown:ee,children:[u,P&&(0,i.jsx)(`div`,{className:`eidotter-hold__overlay`,children:(0,i.jsx)(hu,{value:f*100,size:Math.floor(h*o),color:a,"aria-label":`Hold progress`})})]})});Ou.displayName=`HoldToComplete`;var ku={default:`eidotter-input--default`,error:`eidotter-input--error`},Au=(0,p.forwardRef)(({variant:e=`default`,label:t,description:n,errorMessage:r,disabled:a,className:o,onChange:s,isRequired:c,...l},u)=>{let d=e===`error`;return(0,i.jsxs)(fc,{isDisabled:a,isInvalid:d,isRequired:c,className:$(`eidotter-text-field`,`flex flex-col gap-1`,o),children:[t&&(0,i.jsx)(qr,{className:`text-dos-text-brand font-dos text-xs uppercase tracking-wider`,children:t}),(0,i.jsx)($i,{ref:u,className:$(`w-full bg-transparent text-dos-text-brand font-dos text-base p-2`,`border-2 border-dos-border-default outline-none box-border`,`eidotter-input`,ku[e]||ku.default,a&&`eidotter-input--disabled`),onChange:s,...l}),n&&!d&&(0,i.jsx)(oi,{slot:`description`,className:`text-dos-text-muted font-dos text-xs`,children:n}),r&&d&&(0,i.jsx)(oi,{slot:`errorMessage`,className:`text-dos-text-error font-dos text-xs`,children:r})]})});Au.displayName=`Input`;var ju=({size:e=`md`,title:t=`MS-DOS Terminal`,state:n=`active`,resizable:r=!0,minimizable:a=!1,maximizable:o=!1,closeable:s=!1,children:c,onMinimize:l,onMaximize:u,onClose:d,onFocus:f,className:m=``,autoFocus:h=!1})=>{let g={sm:`small`,md:`medium`,lg:`large`}[e]??e,[_,v]=(0,p.useState)(n),[y,b]=(0,p.useState)(!1),x=(0,p.useRef)(null);(0,p.useEffect)(()=>{h&&x.current&&x.current.focus()},[h]);let S=()=>{v(`minimized`),l?.()},C=()=>{b(!y),u?.()},w=()=>{d?.()},T=()=>{v(`active`),f?.()};return _===`minimized`?(0,i.jsx)(K,{className:`terminal terminal--minimized ${m}`.trim(),onPress:T,"aria-label":`Restore ${t} window`,children:(0,i.jsxs)(`div`,{className:`terminal__taskbar-item`,children:[(0,i.jsx)(Ul,{name:`App`,size:`S`}),(0,i.jsx)(`span`,{className:`terminal__taskbar-title`,children:t})]})}):(0,i.jsxs)(`div`,{ref:x,className:`terminal terminal--${g} terminal--${_} ${y?`terminal--maximized`:``} ${m}`.trim(),tabIndex:0,role:`dialog`,"aria-label":`${t} terminal window`,onFocus:T,onKeyDown:e=>{e.altKey&&e.key===`F4`&&s&&(e.preventDefault(),w())},children:[(0,i.jsxs)(`div`,{className:`terminal__title-bar`,children:[(0,i.jsxs)(`div`,{className:`terminal__title`,children:[(0,i.jsx)(Ul,{name:`App`,size:`S`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`terminal__title-text`,children:t})]}),(a||o||s)&&(0,i.jsxs)(`div`,{className:`terminal__controls`,children:[a&&(0,i.jsx)(K,{className:`terminal__control terminal__control--minimize`,onPress:S,"aria-label":`Minimize window`,children:(0,i.jsx)(Ul,{name:`Cancel`,size:`S`})}),o&&(0,i.jsx)(K,{className:`terminal__control terminal__control--maximize`,onPress:C,"aria-label":y?`Restore window`:`Maximize window`,children:(0,i.jsx)(Ul,{name:y?`Fullscreen`:`Add`,size:`S`})}),s&&(0,i.jsx)(K,{className:`terminal__control terminal__control--close`,onPress:w,"aria-label":`Close window`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]})]}),(0,i.jsx)(`div`,{className:`terminal__content`,role:`main`,children:c||(0,i.jsx)(`div`,{className:`terminal__default-content`,children:(0,i.jsxs)(`div`,{className:`terminal__prompt`,children:[(0,i.jsx)(`span`,{className:`terminal__path`,children:`C:\\\\>`}),(0,i.jsx)(`span`,{className:`terminal__cursor`,children:`█`})]})})}),r&&(0,i.jsx)(`div`,{className:`terminal__resize-handle`,"aria-hidden":`true`})]})},Mu={sm:`eidotter-tabs--sm`,md:`eidotter-tabs--md`,lg:`eidotter-tabs--lg`,small:`eidotter-tabs--sm`,medium:`eidotter-tabs--md`,large:`eidotter-tabs--lg`},Nu={underline:`eidotter-tabs--underline`,pills:`eidotter-tabs--pills`},Pu=(0,p.forwardRef)(({tabs:e,variant:t=`underline`,size:n=`md`,activeTab:r,defaultActiveTab:a,onSelectionChange:o,onTabChange:s,className:c,...l},u)=>{let d=(0,p.useRef)(null),f=(0,p.useRef)(r??a??e[0]?.id??``),[m,h]=(0,p.useState)(r??a??e[0]?.id??``),g=o??s,_=(0,p.useCallback)(e=>{let t=String(e),n=r??f.current;f.current=t,h(t),g?.(t,n)},[r,g]);return(0,p.useLayoutEffect)(()=>{let e=d.current;if(!e||t!==`underline`)return;let n=()=>{let t=e.querySelector(`[aria-selected="true"]`);t&&(e.style.setProperty(`--indicator-left`,`${t.offsetLeft}px`),e.style.setProperty(`--indicator-width`,`${t.offsetWidth}px`))};n();let r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[r,m,t]),(0,i.jsxs)(rc,{ref:u,selectedKey:r,defaultSelectedKey:a??e[0]?.id,onSelectionChange:_,className:$(`eidotter-tabs`,Nu[t],Mu[n]||Mu.md,c),children:[(0,i.jsxs)(`div`,{ref:d,className:`relative`,children:[(0,i.jsx)(ac,{className:`inline-flex items-center font-dos eidotter-tabs__list`,"aria-label":l[`aria-label`],children:e.map(e=>(0,i.jsx)(sc,{id:e.id,isDisabled:e.disabled,className:({isSelected:e,isDisabled:t})=>$(`eidotter-tabs__tab`,e&&`eidotter-tabs__tab--active`,t&&`eidotter-tabs__tab--disabled`),children:e.label},e.id))}),t===`underline`&&(0,i.jsx)(`span`,{className:`eidotter-tabs__indicator`,"aria-hidden":`true`})]}),e.map(e=>(0,i.jsx)(cc,{id:e.id,className:`hidden`},e.id))]})});Pu.displayName=`Tabs`;var Fu={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},Iu={default:`eidotter-badge--default`,success:`eidotter-badge--success`,warning:`eidotter-badge--warning`,error:`eidotter-badge--error`,info:`eidotter-badge--info`,accent:`eidotter-badge--accent`,brand:`eidotter-badge--accent`,gray:`eidotter-badge--default`,blue:`eidotter-badge--info`,indigo:`eidotter-badge--info`,purple:`eidotter-badge--info`,pink:`eidotter-badge--error`,orange:`eidotter-badge--warning`},Lu=(0,p.forwardRef)(({variant:e=`default`,size:t=`md`,dot:n=!1,children:r,className:a,...o},s)=>(0,i.jsxs)(`span`,{ref:s,className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`uppercase tracking-wider`,`rounded-dos-sm`,`eidotter-badge`,Fu[t]||Fu.md,Iu[e]||Iu.default,a),"data-variant":e,...o,children:[n&&(0,i.jsx)(`span`,{className:`eidotter-badge__dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-badge__content`,children:r})]}));Lu.displayName=`Badge`;var Ru=(0,p.forwardRef)(({checked:e,defaultChecked:t=!1,onChange:n,onCheckedChange:r,disabled:a=!1,size:o=`md`,type:s=`default`,label:c,name:l,value:u,className:d,...f},p)=>(0,i.jsx)(Us,{ref:p,isSelected:e,defaultSelected:t,onChange:n??r,isDisabled:a,name:l,value:u,className:$(`inline-flex items-center gap-2 cursor-pointer outline-none font-dos group`,`eidotter-switch`,a&&`opacity-50 cursor-not-allowed`,d),"data-size":o,"data-type":s,...f,children:({isSelected:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-switch__track`,e&&`eidotter-switch__track--checked`,s===`slim`&&`eidotter-switch__track--slim`,o===`sm`&&`eidotter-switch__track--sm`),children:(0,i.jsx)(`span`,{className:`eidotter-switch__thumb`})}),c&&(0,i.jsx)(`span`,{className:`text-[var(--color-cga-amber)]`,children:c})]})}));Ru.displayName=`Switch`;var zu=`eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline`,Bu=({trail:e=[],currentLabel:t,showBackArrow:n=!0,separator:r=`/`,linkComponent:a,className:o})=>{let s=(e,t)=>{let r=(0,i.jsxs)(i.Fragment,{children:[n&&t&&(0,i.jsx)(`span`,{className:`text-[1em] leading-none`,"aria-hidden":`true`,children:`<`}),(0,i.jsx)(`span`,{children:e.label})]});return e.onClick?(0,i.jsx)(K,{className:$(zu,`bg-transparent border-0 cursor-pointer font-[inherit] p-0`),onPress:e.onClick,children:r}):e.href?a?(0,i.jsx)(a,{href:e.href,className:zu,children:r}):(0,i.jsx)(`a`,{href:e.href,className:zu,children:r}):(0,i.jsx)(`span`,{className:zu,children:r})};return(0,i.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:$(`font-dos text-xs uppercase tracking-[0.35em]`,`eidotter-breadcrumb`,o),children:(0,i.jsxs)(`ol`,{className:`flex flex-wrap items-center gap-2 list-none m-0 p-0`,children:[e.map((t,n)=>{let a=n===e.length-1,o=n<e.length-1;return(0,i.jsxs)(`li`,{className:`flex items-center gap-2`,children:[s(t,a),o&&(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})]},`${t.href??t.label}-${n}`)}),e.length>0&&(0,i.jsx)(`li`,{className:`flex items-center gap-2`,children:(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})}),(0,i.jsx)(`li`,{className:`flex items-center gap-2`,"aria-current":`page`,children:(0,i.jsx)(`span`,{className:`text-dos-text-brand`,children:t})})]})})},Vu=`eidotter:retro-boot`,Hu=`1`,Uu=e=>{if(typeof window>`u`)return!1;try{return window.sessionStorage.getItem(e)===Hu}catch{return!1}},Wu=e=>{if(!(typeof window>`u`))try{window.sessionStorage.setItem(e,Hu)}catch{}},Gu=({scanlines:e=!0,glow:t=!0,flicker:n=!0,bloom:r=!1,powered:a=!0,boot:o=!1,bootOnce:s=!1,bootStorageKey:c=Vu,intensity:l=1,className:u,onPowerStateChange:d,onPowerOn:f,onPowerOff:m,onBootComplete:h})=>{let g=(0,p.useRef)(a),[_,v]=(0,p.useState)(a?`on`:`off`),[y,b]=(0,p.useState)(o&&!s),x=(0,p.useRef)(!1),S=(0,p.useRef)(c),C=(0,p.useRef)(h);(0,p.useEffect)(()=>{C.current=h});let w=()=>{x.current||(x.current=!0,C.current?.())},T=()=>{b(!1),s&&Wu(S.current),w()};(0,p.useEffect)(()=>{if(!(!o||!s)){if(Uu(S.current)){w();return}b(!0)}},[]),(0,p.useEffect)(()=>{if(!y)return;if(Wl()){T();return}let e=window.setTimeout(()=>{T()},1200);return()=>window.clearTimeout(e)},[y]);let E=e=>{e.animationName===`eidotter-retro-boot-glow`&&T()};(0,p.useEffect)(()=>{let e=g.current;if(g.current=a,e!==a){let e=a?`powering-on`:`powering-off`;v(e),d?.(e)}},[a,d]);let D=()=>{_===`powering-on`?(v(`on`),d?.(`on`),f?.()):_===`powering-off`&&(v(`off`),d?.(`off`),m?.())},O=e=>{e.animationName!==`retro-power-on`&&e.animationName!==`retro-power-off`||D()},k=e=>{e.propertyName===`opacity`&&(_!==`powering-on`&&_!==`powering-off`||D())},A={"--retro-intensity":l},j=_!==`off`;return(0,i.jsxs)(`div`,{className:$(`fixed inset-0 pointer-events-none z-[9999]`,`eidotter-retro-effects`,_===`powering-off`&&`eidotter-retro-effects--powering-off`,_===`powering-on`&&`eidotter-retro-effects--powering-on`,_===`off`&&`eidotter-retro-effects--off`,u),style:A,"aria-hidden":`true`,onAnimationEnd:O,onTransitionEnd:k,children:[j&&(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__scanlines`}),t&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__glow`}),n&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__flicker`}),r&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__bloom`})]}),y&&(0,i.jsxs)(`div`,{className:`eidotter-retro-effects__boot`,onAnimationEnd:E,children:[(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-line`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-glow`})]})]})},Ku={sm:`small`,md:`medium`,lg:`large`,small:`small`,medium:`medium`,large:`large`},qu={circle:`eidotter-timeline-node--circle`,square:`eidotter-timeline-node--square`,diamond:`eidotter-timeline-node--diamond`},Ju={default:`eidotter-timeline-node--default`,primary:`eidotter-timeline-node--primary`,secondary:`eidotter-timeline-node--secondary`,accent:`eidotter-timeline-node--accent`},Yu={left:`eidotter-timeline-node--label-left`,right:`eidotter-timeline-node--label-right`,top:`eidotter-timeline-node--label-top`,bottom:`eidotter-timeline-node--label-bottom`},Xu=(0,p.forwardRef)(({shape:e=`circle`,variant:t=`default`,isActive:n=!1,label:r,labelPosition:a=`right`,size:o=`md`,className:s,onClick:c,...l},u)=>{let d=Ku[o]??`medium`;return(0,i.jsxs)(`div`,{ref:u,className:$(`inline-flex items-center gap-2 font-dos`,`eidotter-timeline-node`,qu[e],Ju[t],`eidotter-timeline-node--${d}`,Yu[a],n&&`eidotter-timeline-node--active`,c&&`eidotter-timeline-node--interactive`,s),onClick:()=>{c&&c()},onKeyDown:e=>{c&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),c())},role:c?`button`:void 0,tabIndex:c?0:void 0,"aria-pressed":c?n:void 0,...l,children:[r&&a===`left`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--left`,children:r}),r&&a===`top`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--top`,children:r}),(0,i.jsx)(`span`,{className:`eidotter-timeline-node__marker`,"aria-hidden":`true`}),r&&a===`right`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--right`,children:r}),r&&a===`bottom`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--bottom`,children:r})]})});Xu.displayName=`TimelineNode`;var Zu=[`year`,`month`,`day`,`hour`];function Qu({zoomLevel:e,defaultZoomLevel:t=`month`,onZoomChange:n}={}){let r=e===void 0,[i,a]=(0,p.useState)(t),[o,s]=(0,p.useState)([]),c=(0,p.useRef)(r);(0,p.useEffect)(()=>{c.current&&!r&&s([]),c.current=r},[r]);let l=e??i,u=Zu.indexOf(l),d=u<Zu.length-1,f=u>0,m=o.length>0?o[o.length-1].periodStart:null,h=(0,p.useRef)(r),g=(0,p.useRef)(d),_=(0,p.useRef)(u),v=(0,p.useRef)(o),y=(0,p.useRef)(n);(0,p.useEffect)(()=>{h.current=r,g.current=d,_.current=u,v.current=o,y.current=n});let b=(0,p.useCallback)(e=>{h.current&&a(e),y.current?.(e)},[]);return{zoomLevel:l,canZoomIn:d,canZoomOut:f,breadcrumbs:o,currentPeriod:m,isDrillDownEnabled:r,drillDown:(0,p.useCallback)((e,t)=>{if(!h.current||!g.current)return;let n=Zu[_.current+1];n!==void 0&&(s(n=>[...n,{periodStart:e,label:t}]),b(n))},[b]),drillUp:(0,p.useCallback)(()=>{if(!h.current||v.current.length===0)return;let e=Zu[_.current-1];e!==void 0&&(s(e=>e.slice(0,-1)),b(e))},[b]),reset:(0,p.useCallback)(()=>{h.current&&(s([]),b(`year`))},[b])}}function $u({selectedEntryId:e,defaultSelectedEntryId:t=null,onSelectEntry:n}={}){let[r,i]=(0,p.useState)(t),a=e!==void 0,o=e===void 0?r:e,s=(0,p.useRef)(o),c=(0,p.useRef)(a),l=(0,p.useRef)(n);(0,p.useEffect)(()=>{s.current=o,c.current=a,l.current=n});let u=(0,p.useCallback)(e=>{c.current||i(e),l.current?.(e)},[]);return{selectedEntryId:o,select:(0,p.useCallback)(e=>{u(e)},[u]),deselect:(0,p.useCallback)(()=>{u(null)},[u]),toggle:(0,p.useCallback)(e=>{c.current?l.current?.(s.current===e?null:e):i(t=>{let n=t===e?null:e;return l.current?.(n),n})},[])}}var ed=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],td=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function nd(e){return new Date(e).getUTCFullYear()}function rd(e){return new Date(e).getUTCMonth()}function id(e){return new Date(e).getUTCDate()}function ad(e){return new Date(e).getUTCHours()}function od(e){return String(e)}function sd(e,t){return`${ed[t]} ${e}`}function cd(e,t,n){return`${td[t]} ${n}`}function ld(e,t,n,r){let i=r>=12?`pm`:`am`,a=r===0?12:r>12?r-12:r;return`${td[t]} ${n}, ${a}${i}`}function ud(e){let t=new Date(e),n=td[t.getUTCMonth()],r=t.getUTCDate(),i=t.getUTCFullYear(),a=t.getUTCHours(),o=t.getUTCMinutes(),s=a>=12?`pm`:`am`;return`${n} ${r}, ${i} at ${a===0?12:a>12?a-12:a}${o>0?`:${String(o).padStart(2,`0`)}`:``}${s}`}function dd(e){return new Date(Date.UTC(e,0,1)).toISOString()}function fd(e,t){return new Date(Date.UTC(e,t,1)).toISOString()}function pd(e,t,n){return new Date(Date.UTC(e,t,n)).toISOString()}function md(e,t,n,r){return new Date(Date.UTC(e,t,n,r)).toISOString()}function hd(e,t,n,r,i){let a=new Map,o=[];for(let n of e){let e=t(n),r=a.get(e);r?r.push(n):(a.set(e,[n]),o.push(e))}o.sort((e,t)=>i===`asc`?e.localeCompare(t):t.localeCompare(e));for(let[,e]of a)e.sort((e,t)=>{let n=e.date.localeCompare(t.date);return i===`asc`?n:-n});return o.map(e=>({label:n(e),periodStart:r(e),entries:a.get(e)??[]}))}function gd(e){return String(nd(e.date))}function _d(e){let t=nd(e.date),n=rd(e.date);return`${t}-${String(n).padStart(2,`0`)}`}function vd(e){let t=nd(e.date),n=rd(e.date),r=id(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}`}function yd(e){let t=nd(e.date),n=rd(e.date),r=id(e.date),i=ad(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}-${String(i).padStart(2,`0`)}`}function bd(e){return{year:parseInt(e)}}function xd(e){let[t,n]=e.split(`-`);return{year:parseInt(t),month:parseInt(n)}}function Sd(e){let[t,n,r]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r)}}function Cd(e){let[t,n,r,i]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r),hour:parseInt(i)}}var wd={year:4,month:7,day:10};function Td(e,t,n){if(t===null||n===`hour`)return e;let r=wd[n];if(r===void 0)return e;let i=t.slice(0,r);return e.filter(e=>e.periodStart.slice(0,r)===i)}function Ed(e,t,n=`desc`){if(e.length===0)return[];let r=e.filter(e=>!isNaN(new Date(e.date).getTime()));if(r.length===0)return[];switch(t){case`year`:return hd(r,gd,e=>{let{year:t}=bd(e);return od(t)},e=>{let{year:t}=bd(e);return dd(t)},n);case`month`:return hd(r,_d,e=>{let{year:t,month:n}=xd(e);return sd(t,n)},e=>{let{year:t,month:n}=xd(e);return fd(t,n)},n);case`day`:return hd(r,vd,e=>{let{year:t,month:n,day:r}=Sd(e);return cd(t,n,r)},e=>{let{year:t,month:n,day:r}=Sd(e);return pd(t,n,r)},n);case`hour`:return hd(r,yd,e=>{let{year:t,month:n,day:r,hour:i}=Cd(e);return ld(t,n,r,i)},e=>{let{year:t,month:n,day:r,hour:i}=Cd(e);return md(t,n,r,i)},n)}}var Dd=({zoomLevel:e,canZoomIn:t,canZoomOut:n,onZoomIn:r,onZoomOut:a,onReset:o,breadcrumbs:s=[],onBreadcrumbClick:c})=>{let l=s.length>0;return(0,i.jsxs)(`div`,{className:`timeline-zoom-controls`,role:`toolbar`,"aria-label":`Timeline zoom controls`,children:[(0,i.jsx)(tu,{variant:`secondary`,size:`small`,onClick:a,disabled:!n,"aria-label":`Zoom out`,children:`[-]`}),l?(0,i.jsx)(Bu,{trail:[{label:`ALL`,onClick:o},...s.slice(0,-1).map((e,t)=>({label:e.label,onClick:()=>c?.(t)}))],currentLabel:s[s.length-1].label,showBackArrow:!1,separator:`>`,className:`timeline-zoom-controls__breadcrumb`}):(0,i.jsx)(K,{className:`timeline-zoom-controls__level`,onPress:o,"aria-label":`Current zoom: ${e}. Click to reset.`,children:(0,i.jsx)(Lu,{variant:`accent`,size:`medium`,children:e.toUpperCase()})}),(0,i.jsx)(tu,{variant:`secondary`,size:`small`,onClick:r,disabled:!t,"aria-label":`Zoom in`,children:`[+]`})]})},Od=({children:e})=>(0,i.jsxs)(`div`,{className:`timeline-axis`,children:[(0,i.jsx)(`div`,{className:`timeline-axis__line`,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:`timeline-axis__content`,children:e})]}),kd=p.default.memo(({buckets:e,onBucketClick:t})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--year`,role:`list`,children:e.map(e=>(0,i.jsx)(`div`,{className:`timeline-view__bucket timeline-view__bucket--year`,role:`listitem`,children:t?(0,i.jsxs)(K,{className:`timeline-view__bucket-button`,onPress:()=>t(e),children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(Lu,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(Lu,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]})},e.periodStart))}));kd.displayName=`YearView`;var Ad=({images:e,initialIndex:t=0,isOpen:n,onClose:r,onIndexChange:a})=>{let o=e.length===0?0:Math.max(0,Math.min(t,e.length-1)),[s,c]=(0,p.useState)(o);(0,p.useEffect)(()=>{n&&c(o)},[n,o]),(0,p.useEffect)(()=>{e.length>0&&s>=e.length&&c(e.length-1)},[e.length,s]);let l=(0,p.useCallback)(t=>{t<0||t>=e.length||t===s||(c(t),a?.(t))},[e.length,s,a]),u=(0,p.useCallback)(()=>l(s-1),[l,s]),d=(0,p.useCallback)(()=>l(s+1),[l,s]),f=p.default.useRef(null),m=(0,p.useCallback)(e=>{f.current=e.touches[0]?.clientX??null},[]),h=(0,p.useCallback)(e=>{let t=f.current;if(f.current=null,t==null)return;let n=(e.changedTouches[0]?.clientX??t)-t;Math.abs(n)<30||(n<0?d():u())},[d,u]);if((0,p.useEffect)(()=>{if(!n)return;let e=e=>{e.key===`ArrowLeft`?(e.preventDefault(),u()):e.key===`ArrowRight`&&(e.preventDefault(),d())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[n,u,d]),e.length===0)return null;let g=Math.max(0,Math.min(s,e.length-1)),_=e[g],v=g>0,y=g<e.length-1;return(0,i.jsx)(Ls,{isOpen:n,onOpenChange:e=>{e||r()},isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox-overlay`,e&&`eidotter-lightbox-overlay--entering`,t&&`eidotter-lightbox-overlay--exiting`),children:(0,i.jsx)(Fs,{className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox`,e&&`eidotter-lightbox--entering`,t&&`eidotter-lightbox--exiting`),children:(0,i.jsxs)(Ds,{"aria-label":_.alt||`Image viewer`,className:`eidotter-lightbox__container outline-none`,children:[(0,i.jsx)(K,{className:`eidotter-lightbox__close`,onPress:r,"aria-label":`Close lightbox`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})}),(0,i.jsx)(K,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--prev`,onPress:u,isDisabled:!v,"aria-label":`Previous image`,children:`◀`}),(0,i.jsx)(K,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--next`,onPress:d,isDisabled:!y,"aria-label":`Next image`,children:`▶`}),(0,i.jsxs)(`figure`,{className:`eidotter-lightbox__figure`,children:[(0,i.jsx)(`img`,{className:`eidotter-lightbox__image`,src:_.src,alt:_.alt,width:_.width,height:_.height,onTouchStart:m,onTouchEnd:h}),_.caption&&(0,i.jsx)(`figcaption`,{className:`eidotter-lightbox__caption`,children:_.caption})]}),(0,i.jsxs)(`span`,{className:`eidotter-lightbox__counter`,"aria-live":`polite`,children:[`[ `,g+1,` / `,e.length,` ]`]})]})})})};Ad.displayName=`Lightbox`;var jd=/^(?:https?:|mailto:)/i;function Md(e){if(typeof e!=`string`)return!1;let t=e.trim();return t.length===0?!1:/^[a-z][a-z0-9+\-.]*:/i.test(t)?jd.test(t):!0}var Nd=({entry:e,isExpanded:t,onSelect:n})=>{let[r,a]=(0,p.useState)(!1),{image:o}=e,s=o.thumbnail||o.src,c=o.link&&Md(o.link)?o.link:void 0;return(0,p.useEffect)(()=>{t||a(!1)},[t]),c?(0,i.jsxs)(`a`,{className:`eidotter-timeline-card-image eidotter-timeline-card-image--link`,href:c,rel:`noopener noreferrer`,children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media`,src:s,alt:o.alt,width:o.width,height:o.height})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(K,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(`div`,{className:`eidotter-timeline-card-image`,children:t?(0,i.jsx)(K,{className:`eidotter-timeline-card-image__media-button`,onPress:()=>a(!0),"aria-label":o.alt?`Open ${o.alt} in lightbox`:`Open image in lightbox`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--expanded`,src:o.src,alt:o.alt,width:o.width,height:o.height})}):(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--thumb`,src:s,alt:o.alt,width:o.width,height:o.height})}),(0,i.jsx)(Ad,{images:[o],isOpen:r,onClose:()=>a(!1)})]})},Pd=({entry:e,isExpanded:t,onSelect:n})=>{let[r,a]=(0,p.useState)({phase:`grid`});if((0,p.useEffect)(()=>{t||a({phase:`grid`})},[t]),(0,p.useEffect)(()=>{a(t=>t.phase===`grid`?t:t.index>=e.images.length?{phase:`grid`}:t)},[e.images.length]),e.images.length===0)return process.env.NODE_ENV!==`production`&&console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card-gallery__empty`,children:`No images.`})]});let o=(e,t)=>{t.link&&Md(t.link)||a(t=>t.phase===`focused`&&t.index===e?{phase:`lightbox`,index:e}:{phase:`focused`,index:e})},s=r.phase===`focused`||r.phase===`lightbox`?r.index:null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(K,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(`div`,{className:`eidotter-timeline-card-gallery__grid`,role:`list`,children:e.images.map((e,t)=>(0,i.jsx)(Fd,{image:e,isFocused:s===t,onClick:()=>o(t,e)},t))}),(0,i.jsx)(Ad,{images:e.images,isOpen:r.phase===`lightbox`,initialIndex:r.phase===`lightbox`?r.index:0,onClose:()=>{a(e=>e.phase===`lightbox`?{phase:`focused`,index:e.index}:e)},onIndexChange:e=>{a(t=>t.phase===`lightbox`?{phase:`lightbox`,index:e}:t)}})]})},Fd=({image:e,isFocused:t,onClick:n})=>{let r=e.thumbnail||e.src,a=e.link&&Md(e.link)?e.link:void 0;return a?(0,i.jsx)(`div`,{role:`listitem`,className:`eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link`,children:(0,i.jsx)(`a`,{className:`eidotter-timeline-card-gallery__link`,href:a,rel:`noopener noreferrer`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,width:e.width,height:e.height})})}):(0,i.jsx)(`div`,{role:`listitem`,className:$(`eidotter-timeline-card-gallery__cell`,t&&`eidotter-timeline-card-gallery__cell--focused`),children:(0,i.jsx)(K,{className:`eidotter-timeline-card-gallery__button`,onPress:n,"aria-label":e.alt||`Image`,"aria-pressed":t,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,width:e.width,height:e.height})})})},Id=p.default.memo(({entry:e,isSelected:t,isExpanded:n=!1,onSelect:r,footer:a,children:o})=>(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-card`,t&&`eidotter-timeline-card--selected`,n&&`eidotter-timeline-card--expanded`),children:[Ld(e,n,r,o),a&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__footer`,children:a})]}));Id.displayName=`TimelineEntryCard`;function Ld(e,t,n,r){switch(e.kind){case`text`:return(0,i.jsx)(zd,{entry:e,isExpanded:t,onSelect:n,children:r});case`image`:return(0,i.jsx)(Nd,{entry:e,isExpanded:t,onSelect:n});case`gallery`:return(0,i.jsx)(Pd,{entry:e,isExpanded:t,onSelect:n});default:return Rd(e)}}function Rd(e){throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`)}var zd=({entry:e,isExpanded:t,onSelect:n,children:r})=>{let a=typeof e.content==`string`,o=e.content!=null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(K,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:[(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__header`,children:[e.type&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__type`,children:e.type.toUpperCase()}),e.tags&&e.tags.length>0&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__tags`,children:e.tags.map(e=>`#${e}`).join(` `)})]}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),!t&&a&&(()=>{let t=String(e.content);return(0,i.jsxs)(`p`,{className:`eidotter-timeline-card__preview`,children:[t.slice(0,80),t.length>80?`...`:``]})})(),r]}),o&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body`,children:(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body-inner`,inert:t?void 0:!0,children:e.content})})]})},Bd=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,onBucketClick:r,renderEntry:a})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--month`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--month`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`,onClick:()=>r?.(e)})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let r=t===e.id,o=()=>(0,i.jsx)(Id,{entry:e,isSelected:r,isExpanded:r,onSelect:n});return(0,i.jsx)(p.default.Fragment,{children:a?a(e,{isExpanded:r,isSelected:r,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));Bd.displayName=`MonthView`;var Vd={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},Hd=({children:e,variant:t=`default`,size:n=`md`,color:r,selected:a=!1,closeable:o=!1,disabled:s=!1,onClick:c,onClose:l,className:u,"aria-label":d,...f})=>{let p=!!c&&!s,{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gl(`tag-exit`,l),_=e=>{s||((e.key===`Enter`||e.key===` `)&&c&&(e.preventDefault(),c(e)),(e.key===`Delete`||e.key===`Backspace`)&&o&&l&&(e.preventDefault(),h()))},v=()=>{s||h()},y=r?{"--tag-color":`var(`+r+`)`}:void 0;return(0,i.jsxs)(`span`,{className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`rounded-dos-sm uppercase tracking-wider`,Vd[n]||Vd.md,`eidotter-tag`,`eidotter-tag--`+t,a&&`eidotter-tag--selected`,s&&`opacity-50 cursor-not-allowed`,m&&`eidotter-tag--closing`,p&&`cursor-pointer`,u),style:y,onClick:p?e=>!s&&c?.(e):void 0,onKeyDown:_,onAnimationEnd:g,"aria-label":d,"aria-pressed":p?a||!1:void 0,"aria-disabled":s||void 0,"data-variant":t,...p?{role:`button`,tabIndex:0}:{},...f,children:[(0,i.jsx)(`span`,{className:`eidotter-tag__content`,children:e}),o&&(0,i.jsx)(K,{className:`eidotter-tag__close`,"aria-label":`Remove `+(typeof e==`string`?e:`tag`),excludeFromTabOrder:p,onPress:v,isDisabled:s,children:`[x]`})]})},Ud={tight:`gap-1`,normal:`gap-2`,loose:`gap-3`},Wd=({children:e,gap:t=`normal`,wrap:n=!0,className:r,"aria-label":a,...o})=>(0,i.jsx)(`div`,{className:$(`flex`,n?`flex-wrap`:`flex-nowrap`,Ud[t]||Ud.normal,r),role:`group`,"aria-label":a,...o,children:e}),Gd=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--day`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--day`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsx)(Id,{entry:e,isSelected:a,isExpanded:a,onSelect:n,footer:e.tags&&e.tags.length>0?(0,i.jsx)(Wd,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(Hd,{size:`small`,variant:`outlined`,children:e},e))}):void 0});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:a,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));Gd.displayName=`DayView`;var Kd=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--hour`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--hour`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsxs)(Id,{entry:e,isSelected:a,isExpanded:!0,onSelect:n,footer:(0,i.jsxs)(`div`,{className:`timeline-view__entry-footer`,children:[e.tags&&e.tags.length>0&&(0,i.jsx)(Wd,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(Hd,{size:`small`,variant:`outlined`,children:e},e))}),e.type&&(0,i.jsx)(Lu,{variant:`default`,size:`small`,children:e.type})]}),children:[(0,i.jsx)(`time`,{className:`timeline-view__timestamp`,dateTime:e.date,children:ud(e.date)}),e.kind===`text`&&e.content!==void 0&&(0,i.jsx)(`div`,{className:`timeline-view__entry-content`,children:e.content})]});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:!0,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));Kd.displayName=`HourView`;var qd=({zoomLevel:e,buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o})=>{switch(e){case`year`:return(0,i.jsx)(kd,{buckets:t,onBucketClick:a});case`month`:return(0,i.jsx)(Bd,{buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o});case`day`:return(0,i.jsx)(Gd,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});case`hour`:return(0,i.jsx)(Kd,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});default:return e}},Jd=({entries:e,selectedEntryId:t,onSelect:n,onDeselect:r,renderEntry:a,formatDate:o})=>{let s=e.find(e=>e.id===t)??null,c=(0,p.useRef)(null),l=(0,p.useRef)(null),u=(0,p.useRef)(t);(0,p.useEffect)(()=>{let e=u.current;u.current=t,t&&t!==e?requestAnimationFrame(()=>l.current?.focus()):!t&&e&&requestAnimationFrame(()=>{c.current?.querySelector(`[data-entry-id="${e}"]`)?.focus()})},[t]);let d=(0,p.useCallback)(r=>{if(e.length===0)return;let i=e.findIndex(e=>e.id===t),a=i===-1?r>0?-1:e.length:i;n(e[Math.max(0,Math.min(e.length-1,a+r))].id)},[e,t,n]),f=(0,p.useCallback)(e=>{e.key===`ArrowDown`?(e.preventDefault(),d(1)):e.key===`ArrowUp`?(e.preventDefault(),d(-1)):e.key===`Escape`&&t&&(e.preventDefault(),r())},[d,r,t]);return(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-md`,s&&`eidotter-timeline-md--detail-open`),children:[(0,i.jsx)(`nav`,{ref:c,className:`eidotter-timeline-md__rail`,"aria-label":`Timeline entries`,onKeyDown:f,children:(0,i.jsx)(`ul`,{className:`eidotter-timeline-md__rail-list`,children:e.map(e=>{let r=e.id===t;return(0,i.jsx)(`li`,{className:`eidotter-timeline-md__rail-item`,children:(0,i.jsxs)(`button`,{type:`button`,"data-entry-id":e.id,className:$(`eidotter-timeline-md__rail-button`,r&&`eidotter-timeline-md__rail-button--active`),"aria-current":r?`true`:void 0,onClick:()=>n(e.id),children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-node`,"aria-hidden":`true`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`sm`,variant:`default`,isActive:r})}),(0,i.jsxs)(`span`,{className:`eidotter-timeline-md__rail-text`,children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-date`,children:o(e.date)}),(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-title`,children:e.title})]})]})},e.id)})})}),(0,i.jsx)(`div`,{ref:l,className:`eidotter-timeline-md__detail`,role:`region`,"aria-label":`Entry detail`,tabIndex:-1,children:s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-md__back`,onClick:r,children:`‹ BACK`}),(0,i.jsx)(`div`,{className:`eidotter-timeline-md__detail-body`,children:(e=>{let t=()=>(0,i.jsx)(Id,{entry:e,isSelected:!0,isExpanded:!0});return a?a(e,{isExpanded:!0,isSelected:!0,defaultRender:t}):t()})(s)},s.id)]}):(0,i.jsxs)(`div`,{className:`eidotter-timeline-md__detail-empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> Select an entry to read.`}),(0,i.jsx)(`p`,{children:`_`})]})})]})};Jd.displayName=`MasterDetailLayout`;var Yd=({entries:e,mode:t=`interactive`,zoomLevel:n,defaultZoomLevel:r=`month`,onZoomChange:a,selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c,sortOrder:l=`desc`,scrollToZoom:u=!0,keyboardShortcuts:d=!0,renderEntry:f,pageSize:m=10,onLoadMore:h,...g})=>{let _=t===`static`,v=t===`feed`,y=_||v,b=t===`master-detail`,x=(0,p.useRef)(null),S=(0,p.useRef)(null),[C,w]=(0,p.useState)(``),{zoomLevel:T,canZoomIn:E,canZoomOut:D,breadcrumbs:O,currentPeriod:k,isDrillDownEnabled:A,drillDown:j,drillUp:M,reset:N}=Qu({zoomLevel:n,defaultZoomLevel:r,onZoomChange:a}),{selectedEntryId:ee,select:te,toggle:P,deselect:ne}=$u({selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c}),re=(0,p.useMemo)(()=>Ed(e,T,l),[e,T,l]),ie=O.length>0?[`year`,`month`,`day`,`hour`][O.length-1]:null,F=(0,p.useMemo)(()=>k&&ie?Td(re,k,ie):re,[re,k,ie]),I=(0,p.useCallback)(e=>{E&&(j(e.periodStart,e.label),w(`Showing ${T===`year`?`months`:T===`month`?`days`:`hours`} in ${e.label}`))},[E,j,T]),L=(0,p.useCallback)(()=>{F.length>0&&I(F[0])},[F,I]);(0,p.useEffect)(()=>{if(y||b||!u)return;let e=x.current;if(!e)return;let t=null,n=e=>{!e.ctrlKey&&!e.metaKey||(e.preventDefault(),t===null&&(t=requestAnimationFrame(()=>{e.deltaY>0&&M(),t=null})))};return e.addEventListener(`wheel`,n,{passive:!1}),()=>{e.removeEventListener(`wheel`,n),t!==null&&cancelAnimationFrame(t)}},[y,b,u,A,E,M]),(0,p.useEffect)(()=>{if(y||b||!d)return;let e=e=>{if(!x.current?.contains(document.activeElement)&&document.activeElement!==x.current)return;let t=e.ctrlKey||e.metaKey;t&&(e.key===`=`||e.key===`+`)?(e.preventDefault(),L()):t&&e.key===`-`?(e.preventDefault(),M()):t&&e.key===`0`?(e.preventDefault(),N(),w(`Showing all years`)):e.key===`Escape`&&(e.preventDefault(),ne())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[y,b,d,L,M,N,ne]);let ae=(0,p.useCallback)(e=>I(e),[I]),oe=(0,p.useRef)(O.length);(0,p.useEffect)(()=>{if(O.length!==oe.current){oe.current=O.length;let e=S.current?.querySelector(`.eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role="button"]`);e&&requestAnimationFrame(()=>e.focus())}},[O.length]);let R=(0,p.useMemo)(()=>!y&&!b?e:[...e].sort((e,t)=>{let n=e.date.localeCompare(t.date);return l===`desc`?-n:n}),[y,b,e,l]),z=Math.max(1,m),[se,ce]=(0,p.useState)(z);(0,p.useEffect)(()=>{v&&ce(e=>{let t=R.length;return t===0?z:e>t?Math.max(z,t):e})},[v,z,R.length]);let le=(0,p.useMemo)(()=>v?R.slice(0,se):R,[v,R,se]),ue=v&&se<R.length,de=(0,p.useCallback)(()=>{let e=Math.min(se+z,R.length);e<=se||(ce(e),h?.(e))},[se,z,R.length,h]),fe=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`short`,day:`numeric`}),[]),pe=e=>{try{return fe.format(new Date(e))}catch{return e}};return(0,i.jsxs)(`div`,{ref:x,...g,className:$(`font-dos text-dos-text-brand p-4`,`eidotter-timeline-container`,_&&`eidotter-timeline-container--static`,v&&`eidotter-timeline-container--feed`,b&&`eidotter-timeline-container--master-detail`,g.className),role:`region`,"aria-label":g[`aria-label`]??`Timeline`,tabIndex:y||b?void 0:0,children:[(0,i.jsx)(`div`,{className:`sr-only`,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,children:C}),!y&&!b&&(0,i.jsx)(Dd,{zoomLevel:T,canZoomIn:E,canZoomOut:D,onZoomIn:L,onZoomOut:M,onReset:N,breadcrumbs:A?O:[],onBreadcrumbClick:e=>{let t=O.length-1-e;for(let e=0;e<t;e++)M()}}),(0,i.jsx)(`div`,{ref:S,children:e.length===0?(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> No entries found.`}),(0,i.jsx)(`p`,{children:`_`})]}):_?(0,i.jsx)(Od,{children:(0,i.jsx)(`div`,{className:`eidotter-timeline-container__static`,role:`list`,"aria-label":`Timeline`,children:R.map(e=>{let t=()=>(0,i.jsx)(Id,{entry:e,isSelected:!1,isExpanded:!0});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__static-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:pe(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:!0,isSelected:!1,defaultRender:t}):t()]},e.id)})})}):v?(0,i.jsxs)(Od,{children:[(0,i.jsx)(`div`,{className:`eidotter-timeline-container__feed`,role:`list`,"aria-label":`Timeline`,children:le.map(e=>{let t=ee===e.id,n=()=>(0,i.jsx)(Id,{entry:e,isSelected:t,isExpanded:t,onSelect:P});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__feed-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:pe(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:t,isSelected:t,defaultRender:n}):n()]},e.id)})}),ue&&(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-container__load-more`,onClick:de,"aria-label":`Load more entries (showing ${se} of ${R.length})`,children:`LOAD MORE...`})]}):b?(0,i.jsx)(Jd,{entries:R,selectedEntryId:ee,onSelect:te,onDeselect:ne,renderEntry:f,formatDate:pe}):F.length===0&&k?(0,i.jsx)(Od,{children:(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsxs)(`p`,{children:[`C:\\TIMELINE> No entries in `,O[O.length-1]?.label??`this period`,`.`]}),(0,i.jsx)(`p`,{children:`_`})]})}):(0,i.jsx)(Od,{children:(0,i.jsx)(qd,{zoomLevel:T,buckets:F,selectedEntryId:ee,onEntrySelect:P,onBucketClick:ae,renderEntry:f})})})]})},Xd=(0,p.forwardRef)(({isOpen:e,onOpenChange:t,onClose:n,title:r,children:a,footer:o,className:s},c)=>{let l=(0,p.useRef)(e),u=(0,p.useRef)(!1);(0,p.useEffect)(()=>{e!==l.current&&(l.current=e,u.current||(t?.(e),e||n?.()),u.current=!1)},[e,t,n]);let d=e=>{u.current=!0,t?.(e),e||n?.()};return(0,i.jsx)(Ls,{isOpen:e,onOpenChange:d,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-modal-overlay`,e&&`eidotter-modal-overlay--entering`,t&&`eidotter-modal-overlay--exiting`),children:(0,i.jsx)(Fs,{className:({isEntering:e,isExiting:t})=>$(`eidotter-modal`,e&&`eidotter-modal--entering`,t&&`eidotter-modal--exiting`),children:(0,i.jsxs)(Ds,{ref:c,"aria-label":r,className:$(`eidotter-modal__container outline-none`,s),children:[(0,i.jsxs)(`header`,{className:`eidotter-modal__header`,children:[(0,i.jsx)(`h2`,{className:`eidotter-modal__title`,children:r}),(0,i.jsx)(K,{className:`eidotter-modal__close`,onPress:()=>d(!1),"aria-label":`Close modal`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-modal__body`,children:a}),o&&(0,i.jsx)(`footer`,{className:`eidotter-modal__footer`,children:o})]})})})});Xd.displayName=`Modal`;var Zd=`░▒▓█│┤┐└┴┬├─┼`,Qd=4;function $d(e,t){let{speed:n=40,characters:r=Zd,enabled:i=!0,delay:a=0}=t??{},[o,s]=(0,p.useState)(()=>{if(!i||Wl())return e;let t=``;for(let n=0;n<e.length;n++)e[n]===` `?t+=` `:t+=r[Math.floor(Math.random()*r.length)];return t}),[c,l]=(0,p.useState)(!1),u=(0,p.useRef)(0);return(0,p.useEffect)(()=>{if(!i||Wl()){s(e),l(!1);return}let t=0,o=0,c=0,d=a;l(!0);let f=i=>{c||=i;let a=i-c;if(d>0){d-=a,c=i,u.current=requestAnimationFrame(f);return}if(a>=n){if(c=i,o++,o>=Qd&&(t++,o=0),t>=e.length){s(e),l(!1);return}let n=``;for(let i=0;i<e.length;i++)i<t?n+=e[i]:e[i]===` `?n+=` `:n+=r[Math.floor(Math.random()*r.length)];s(n)}u.current=requestAnimationFrame(f)};return u.current=requestAnimationFrame(f),()=>{u.current&&cancelAnimationFrame(u.current)}},[e,n,r,i,a]),{text:o,isScrambling:c}}var ef={sm:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},md:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},lg:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`},small:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},medium:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},large:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`}},tf={up:`text-dos-text-success`,down:`text-dos-text-error`,neutral:`text-dos-text-brand`},nf={up:`▲`,down:`▼`,neutral:`►`},rf={up:`increasing`,down:`decreasing`,neutral:`unchanged`},af=(0,p.forwardRef)(({label:e,value:t,trend:n,trendValue:r,size:a=`md`,scramble:o=!1,className:s,...c},l)=>{let{text:u}=$d(String(t),{speed:30,enabled:o}),d=o?u:String(t),f=ef[a]||ef.md;return(0,i.jsxs)(`div`,{ref:l,className:$(`flex flex-col font-dos`,`eidotter-stat`,f.root,s),...c,children:[(0,i.jsx)(`span`,{className:$(`text-dos-text-brand uppercase tracking-wider leading-tight`,f.label),children:e}),(0,i.jsx)(`span`,{className:$(`text-dos-text-accent font-bold leading-none tabular-nums`,f.value),children:d}),n&&(0,i.jsxs)(`span`,{className:$(`inline-flex items-center gap-1 leading-none`,tf[n],f.trend),"aria-label":`Trend: ${rf[n]}${r?`, ${r}`:``}`,children:[(0,i.jsx)(`span`,{className:`text-[0.8em]`,"aria-hidden":`true`,children:nf[n]}),r&&(0,i.jsx)(`span`,{className:`tabular-nums`,children:r})]})]})});af.displayName=`Stat`;var of={sm:`eidotter-filter-bar--sm`,md:`eidotter-filter-bar--md`,lg:`eidotter-filter-bar--lg`,small:`eidotter-filter-bar--sm`,medium:`eidotter-filter-bar--md`,large:`eidotter-filter-bar--lg`},sf=({items:e,activeIds:t,defaultActiveIds:n=[],mode:r=`multi`,showAll:a=!1,allLabel:o=`All`,size:s=`md`,onChange:c,className:l,...u})=>{let[d,f]=(0,p.useState)(n),m=(0,p.useRef)(null),h=t!==void 0,g=h?t:d,_=e.filter(e=>!e.disabled).map(e=>e.id),v=g.length===0,y=(0,p.useCallback)(e=>{h||f(e),c?.(e)},[h,c]),b=(0,p.useCallback)(e=>{y(r===`single`?g.includes(e)?[]:[e]:g.includes(e)?g.filter(t=>t!==e):[...g,e])},[r,g,y]),x=(0,p.useCallback)(()=>{y([])},[y]),S=(0,p.useCallback)(()=>m.current?Array.from(m.current.querySelectorAll(`button:not([disabled])`)):[],[]),C=(0,p.useCallback)(e=>{let t=S(),n=t.indexOf(e.target);if(n===-1)return;let r=null;switch(e.key){case`ArrowLeft`:case`ArrowUp`:e.preventDefault(),r=n>0?n-1:t.length-1;break;case`ArrowRight`:case`ArrowDown`:e.preventDefault(),r=n<t.length-1?n+1:0;break;case`Home`:e.preventDefault(),r=0;break;case`End`:e.preventDefault(),r=t.length-1;break}r!==null&&t[r].focus()},[S]),w=a&&v?`__all__`:g.length>0?g[0]:a?`__all__`:_[0]||null;return(0,i.jsxs)(`div`,{ref:m,className:$(`inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full`,`bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm`,`eidotter-filter-bar`,of[s]||of.md,l),role:`toolbar`,onKeyDown:C,...u,children:[a&&(0,i.jsx)(K,{className:$(`eidotter-filter-bar__item`,`eidotter-filter-bar__item--all`,v&&`eidotter-filter-bar__item--active`),"aria-pressed":v,excludeFromTabOrder:w!==`__all__`,onPress:x,children:(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:o})}),e.map(e=>{let t=g.includes(e.id),n=t&&e.color?{"--filter-bar-item-color":`var(${e.color})`}:void 0;return(0,i.jsxs)(K,{className:$(`eidotter-filter-bar__item`,t&&`eidotter-filter-bar__item--active`,e.disabled&&`eidotter-filter-bar__item--disabled`),"aria-pressed":t,excludeFromTabOrder:w!==e.id,isDisabled:e.disabled,onPress:()=>b(e.id),style:n,children:[(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:e.label}),e.count!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-filter-bar__count`,"aria-label":`${e.count} items`,children:e.count})]},e.id)})]})},cf=e=>{if(!e)return!1;try{let t=new URL(e);return[`http:`,`https:`,`mailto:`].includes(t.protocol)}catch{return!1}};function lf(e){try{let{hostname:t}=new URL(e);return`https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`}catch{return null}}var uf=({children:e,content:t,defaultExpanded:n=!1,expanded:r,onToggle:a,sources:o=[],className:s,...c})=>{let[l,u]=(0,p.useState)(n),[d,f]=(0,p.useState)({}),m=(0,p.useRef)(n),h=(0,p.useId)(),g=(0,p.useRef)(null),_=r!==void 0,v=_?r:l;v&&(m.current=!0);let y=()=>{let e=!v;_||u(e),a?.(e)};return(0,i.jsxs)(`span`,{className:$(`eidotter-inline-expand`,v&&`eidotter-inline-expand--expanded`,s),onKeyDown:e=>{e.key===`Escape`&&v&&(e.stopPropagation(),y(),g.current?.focus())},...c,children:[(0,i.jsxs)(K,{ref:g,className:`eidotter-inline-expand__trigger`,"aria-expanded":v,"aria-controls":h,onPress:y,children:[e,(0,i.jsx)(`span`,{className:`eidotter-inline-expand__indicator`,"aria-hidden":`true`,children:v?`[-]`:`[+]`})]}),(0,i.jsx)(`span`,{id:h,className:`eidotter-inline-expand__content`,role:`region`,inert:!v,children:(0,i.jsxs)(`span`,{className:`eidotter-inline-expand__content-clip`,children:[(0,i.jsx)(`span`,{className:`eidotter-inline-expand__inner`,children:t}),o.length>0&&(0,i.jsx)(`span`,{className:`eidotter-inline-expand__sources`,role:`list`,children:o.map(e=>(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-item`,role:`listitem`,children:(0,i.jsxs)(`a`,{href:cf(e.url)?e.url:void 0,className:`eidotter-inline-expand__source-link`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`${e.title} (opens external website)`,children:[(()=>{if(!m.current)return(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`});let t=d[e.url];if(t===`icon`)return(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`});let n=!!e.favicon&&cf(e.favicon);if(!t&&n)return(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:e.favicon,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`google`}))});let r=lf(e.url);return r?(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:r,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`icon`}))}):(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`})})(),(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-title`,children:e.title})]})},e.url))})]})})]})},df={horizontal:`h-px w-full`,vertical:`w-px h-full`},ff=({orientation:e=`horizontal`,className:t})=>(0,i.jsx)(`div`,{role:`separator`,"aria-orientation":e,className:$(`shrink-0 bg-dos-border-default`,`eidotter-separator`,df[e],t)}),pf={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},mf=({title:e,count:t,tone:n=`default`,children:r,className:a})=>(0,i.jsxs)(`h3`,{className:$(`eidotter-section-heading`,`font-dos uppercase tracking-wider mb-2 text-dos-text-sm`,pf[n],a),children:[e,t!==void 0&&` (${t})`,r]});mf.displayName=`SectionHeading`;var hf={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},gf=({title:e,description:t,tone:n=`default`,action:r,className:a})=>(0,i.jsxs)(`div`,{className:$(`eidotter-empty-state`,`flex flex-col gap-2 py-6 text-center`,a),role:`status`,children:[(0,i.jsx)(`p`,{className:$(`font-dos text-dos-text-sm`,hf[n]),children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted`,children:t}),r&&(0,i.jsx)(`div`,{className:`mt-2`,children:r})]});gf.displayName=`EmptyState`;var _f={default:`text-dos-text-primary`,muted:`text-dos-text-muted line-through`,error:`text-dos-error`},vf=({checked:e,onToggle:t,disabled:n,pending:r,ariaLabel:a,labelTone:o=`default`,label:s,children:c,note:l,leading:u,trailing:d,className:f})=>(0,i.jsxs)(`div`,{className:$(`eidotter-checklist-row`,`flex items-start gap-3 py-2 border-b border-dos-border-disabled`,r&&`opacity-50`,f),children:[(0,i.jsx)(`button`,{type:`button`,role:`checkbox`,"aria-checked":e,onClick:t,disabled:n,"aria-label":a??(e?`Mark as incomplete`:`Mark as complete`),className:$(`shrink-0 pt-0.5 font-dos text-dos-text-sm`,`text-dos-text-primary hover:text-dos-text-accent`,`cursor-pointer disabled:cursor-not-allowed`),children:e?`[x]`:`[ ]`}),(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[u&&(0,i.jsx)(`div`,{className:`mb-1`,children:u}),s!==void 0&&(0,i.jsx)(`div`,{className:$(`font-dos text-dos-text-sm`,_f[o]),children:s}),c,l&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:l})]}),d&&(0,i.jsx)(`div`,{className:`flex items-center gap-2 shrink-0`,children:d})]});vf.displayName=`ChecklistRow`;var yf=({value:e,label:t=`[cp]`,copiedLabel:n=`[OK]`,title:r=`Copy to clipboard`,copiedTitle:a=`Copied!`,className:o})=>{let[s,c]=(0,p.useState)(!1),l=(0,p.useRef)(null),u=(0,p.useCallback)(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)},[]),d=(0,p.useCallback)(()=>{let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();try{let e=document.execCommand(`copy`);return t.remove(),e}catch{return t.remove(),!1}},[e]);return(0,i.jsx)(`button`,{type:`button`,onClick:(0,p.useCallback)(()=>{navigator.clipboard?.writeText?navigator.clipboard.writeText(e).then(u).catch(()=>{d()&&u()}):d()&&u()},[e,u,d]),title:s?a:r,"aria-label":s?a:r,className:$(`eidotter-copy-button`,`font-dos text-dos-text-xs px-1`,`text-dos-link hover:text-dos-link-hover cursor-pointer`,o),children:s?n:t})};yf.displayName=`CopyButton`;var bf=({value:e,options:t,onChange:n,id:r,disabled:a,className:o,"aria-label":s})=>(0,i.jsx)(`select`,{id:r,"aria-label":s,value:e,disabled:a,onChange:e=>n(e.target.value),style:{fontSize:`var(--typography-font-size-text-xs)`},className:$(`eidotter-select`,`min-w-[5rem] cursor-pointer font-dos px-2 py-1`,`bg-dos-bg-secondary text-dos-text-primary border border-dos-border-default`,`hover:border-dos-text-accent focus:border-dos-text-accent focus:outline-none`,`disabled:cursor-not-allowed disabled:opacity-50`,o),children:t.map(e=>(0,i.jsx)(`option`,{value:e.value,children:e.label},e.value))});bf.displayName=`Select`;var xf=({label:e,note:t,value:n,copyValue:r,trailing:a,pending:o,className:s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-ledger-row`,`flex items-center gap-3 py-2 border-b border-dos-border-disabled`,o&&`opacity-50`,s),children:[(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,i.jsx)(`div`,{className:`font-dos text-dos-text-sm text-dos-text-primary`,children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:t})]}),(0,i.jsxs)(`div`,{className:`flex items-center gap-1 shrink-0`,children:[(0,i.jsx)(`span`,{className:`font-dos text-dos-text-sm text-dos-text-accent tabular-nums`,children:n}),r!==void 0&&(0,i.jsx)(yf,{value:r}),a]})]});xf.displayName=`LedgerRow`;var Sf=({label:e,value:t,max:n=100,valueSuffix:r=`%`,showValue:a=!0,className:o,"aria-label":s})=>{let c=n===0?0:Math.min(100,Math.max(0,Math.round(t/n*100)));return(0,i.jsxs)(`div`,{className:$(`eidotter-labeled-progress`,`flex items-center gap-3`,o),children:[e&&(0,i.jsx)(`span`,{className:`eidotter-labeled-progress__label font-dos text-dos-text-sm text-dos-text-muted shrink-0`,children:e}),(0,i.jsx)(`div`,{role:`progressbar`,"aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":100,"aria-label":s??(typeof e==`string`?e:`${c}${r}`),className:`eidotter-labeled-progress__track relative h-3 flex-1 overflow-hidden bg-dos-bg-primary border border-dos-border-disabled`,children:(0,i.jsx)(`div`,{className:`eidotter-labeled-progress__fill absolute inset-y-0 left-0 w-full bg-dos-bg-accent`,style:{transform:`scaleX(${c/100})`}})}),a&&(0,i.jsxs)(`span`,{className:`eidotter-labeled-progress__value font-dos text-dos-text-sm text-dos-text-accent tabular-nums shrink-0`,children:[c,r]})]})};Sf.displayName=`LabeledProgress`;var Cf=(0,p.forwardRef)(({children:e,speed:t,characters:n,delay:r,className:a,...o},s)=>{let{text:c,isScrambling:l}=$d(e,{speed:t,characters:n,delay:r});return(0,i.jsx)(`span`,{ref:s,className:$(`eidotter-text-scramble`,l&&`eidotter-text-scramble--scrambling`,a),...o,children:c})});Cf.displayName=`TextScramble`;var wf={retro:`eidotter-nav--retro`,modern:`eidotter-nav--modern`},Tf=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let o=r||`a`;return(0,i.jsx)(`nav`,{className:$(`eidotter-nav eidotter-nav--desktop`,wf[n],a),"aria-label":`Main navigation`,children:(0,i.jsx)(`ul`,{className:`eidotter-nav__desktop-list`,children:e.map(e=>(0,i.jsx)(`li`,{className:`eidotter-nav__desktop-item`,children:(0,i.jsx)(o,{href:e.href,className:$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`),"aria-current":t===e.href?`page`:void 0,children:e.label})},e.href))})})},Ef=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let[o,s]=(0,p.useState)(!1),c=r||`a`,l=(0,p.useRef)(null),u=(0,p.useRef)(null),d=(0,p.useRef)(null),f=(0,p.useRef)(!1),m=(0,p.useCallback)(()=>s(e=>!e),[]),h=(0,p.useCallback)(()=>s(!1),[]);return(0,p.useEffect)(()=>{if(!o)return;let e=e=>{e.key===`Escape`&&h()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[o,h]),(0,p.useEffect)(()=>{o?u.current?.focus():f.current&&l.current?.focus(),f.current=o},[o]),(0,i.jsxs)(`div`,{className:$(`eidotter-nav eidotter-nav--mobile`,wf[n],a),children:[(0,i.jsx)(`button`,{ref:l,onClick:m,className:`eidotter-nav__menu-trigger`,"aria-label":o?`Close menu`:`Open menu`,"aria-expanded":o,"aria-controls":`eidotter-mobile-nav-panel`,children:`MENU`}),o&&(0,i.jsx)(`div`,{className:`eidotter-nav__overlay`,onClick:h,"aria-hidden":`true`}),(0,i.jsxs)(`nav`,{ref:d,id:`eidotter-mobile-nav-panel`,className:$(`eidotter-nav__panel`,o&&`eidotter-nav__panel--open`),"aria-label":`Mobile navigation`,inert:!o,onKeyDown:e=>{if(e.key!==`Tab`||!o)return;let t=d.current?.querySelectorAll(`a[href], button:not([disabled])`);if(!t||t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())},children:[(0,i.jsx)(`div`,{className:`eidotter-nav__panel-header`,children:(0,i.jsx)(`button`,{ref:u,onClick:h,className:`eidotter-nav__close`,"aria-label":`Close menu`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})}),(0,i.jsx)(`ul`,{className:`eidotter-nav__list`,children:e.map(e=>(0,i.jsx)(`li`,{className:`eidotter-nav__item`,children:(0,i.jsx)(c,{href:e.href,className:$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`),"aria-current":t===e.href?`page`:void 0,onClick:h,children:e.label})},e.href))})]})]})},Df=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Ef,{...e}),(0,i.jsx)(Tf,{...e})]}),Of={user:`eidotter-chat-message--user`,assistant:`eidotter-chat-message--assistant`,system:`eidotter-chat-message--system`},kf=({role:e,content:t,isStreaming:n=!1,userPrefix:r=`>`,assistantPrefix:a=`C:\\>`,className:o,...s})=>{let c=e===`user`?r:e===`assistant`?a:``;return(0,i.jsxs)(`div`,{className:$(`flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words`,Of[e],n&&`eidotter-chat-message--streaming`,o),...s,children:[c&&(0,i.jsx)(`span`,{className:`shrink-0 select-none`,"aria-hidden":`true`,children:c}),(0,i.jsx)(`span`,{className:`min-w-0`,children:t}),n&&(0,i.jsx)(`span`,{className:`eidotter-chat-message__cursor`,"aria-hidden":`true`,children:`█`})]})},Af=({messages:e,isStreaming:t=!1,userPrefix:n,assistantPrefix:r,className:a,...o})=>{let s=(0,p.useRef)(null);(0,p.useEffect)(()=>{s.current?.scrollIntoView?.({behavior:`smooth`})},[e.length,t]);let c=$(`flex-1 overflow-y-auto font-dos p-2 min-h-0`,`eidotter-chat-history`,a);return e.length===0?(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsx)(`div`,{className:`flex items-center justify-center h-full min-h-16`,children:(0,i.jsx)(`span`,{className:`text-dos-text-muted font-dos text-dos-text-md`,children:`Awaiting input...`})})}):(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsxs)(`div`,{className:`flex flex-col`,children:[e.map((a,o)=>{let s=t&&a.role===`assistant`&&o===e.length-1;return(0,i.jsx)(kf,{role:a.role,content:a.content,isStreaming:s,userPrefix:n,assistantPrefix:r},a.id)}),(0,i.jsx)(`div`,{ref:s})]})})},jf=({onSend:e,prompt:t=`>`,placeholder:n,disabled:r=!1,className:a,...o})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);(0,p.useLayoutEffect)(()=>{let e=l.current;e&&(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)},[s]);let u=t=>{if(t.key===`Enter`&&!t.shiftKey&&!r){t.preventDefault();let n=s.trim();n&&(e(n),c(``))}};return(0,i.jsxs)(`div`,{className:$(`flex items-start font-dos text-dos-text-md p-2 cursor-text`,`text-dos-text-brand`,`eidotter-chat-input`,r&&`eidotter-chat-input--disabled`,a),onClick:()=>{!r&&l.current&&l.current.focus()},...o,children:[(0,i.jsx)(`span`,{className:`text-dos-text-brand mr-2 mt-0.5 whitespace-nowrap select-none`,"aria-hidden":`true`,children:t}),(0,i.jsxs)(`div`,{className:`flex items-start flex-1 min-w-0`,children:[(0,i.jsx)(`textarea`,{ref:l,className:`eidotter-chat-input__textarea`,value:s,onChange:e=>c(e.target.value),onKeyDown:u,placeholder:n,disabled:r,rows:1,"aria-label":`Chat input`}),(0,i.jsx)(`span`,{className:`eidotter-chat-input__cursor`,"aria-hidden":`true`,children:`█`})]})]})},Mf=({messages:e,onSend:t,isStreaming:n=!1,inputPrompt:r,userPrefix:a,assistantPrefix:o,placeholder:s,disabled:c=!1,className:l,...u})=>(0,i.jsxs)(`div`,{className:$(`flex flex-col h-full min-h-0`,l),...u,children:[(0,i.jsx)(Af,{className:`flex-1 min-h-0`,messages:e,isStreaming:n,userPrefix:a,assistantPrefix:o}),(0,i.jsx)(jf,{className:`shrink-0`,onSend:t,prompt:r,placeholder:s,disabled:c})]}),Nf=[{label:`Impressum`,href:`/impressum`},{label:`Datenschutz`,href:`/datenschutz`}],Pf=({copyright:e,links:t,linkComponent:n,children:r,className:a,...o})=>{let s=t??Nf,c=n??`a`,l=`eidotter-footer__link text-dos-text-brand no-underline`;return(0,i.jsxs)(`footer`,{className:$(`font-dos text-sm py-4 px-2 text-center`,`eidotter-footer`,a),...o,children:[(0,i.jsx)(`div`,{className:`h-px bg-dos-border-default mb-4`,role:`separator`}),r&&(0,i.jsx)(`div`,{className:`mb-3`,children:r}),s.length>0&&(0,i.jsx)(`nav`,{className:`flex justify-center items-center flex-wrap gap-2 mb-2`,"aria-label":`Footer links`,children:s.map((e,t)=>(0,i.jsxs)(p.default.Fragment,{children:[t>0&&(0,i.jsx)(`span`,{className:`text-dos-text-muted select-none eidotter-footer__dot`,"aria-hidden":`true`,children:`·`}),e.external?(0,i.jsx)(`a`,{className:l,href:e.href,target:`_blank`,rel:`noopener noreferrer`,children:e.label}):(0,i.jsx)(c,{className:l,href:e.href,children:e.label})]},e.href))}),e&&(0,i.jsxs)(`p`,{className:`text-dos-text-muted m-0`,children:[`© `,e]})]})},Ff={retro:`eidotter-header--retro`,modern:`eidotter-header--modern`},If=(0,p.forwardRef)(({brandName:e,brandHref:t=`/`,items:n,activeHref:r,variant:a=`retro`,sticky:o=!0,linkComponent:s,children:c,className:l,...u},d)=>{let f=s??`a`;return(0,i.jsxs)(`header`,{ref:d,className:$(`flex items-center justify-between px-4 py-3 font-dos`,`eidotter-header`,Ff[a],o&&`sticky top-0 z-50 bg-dos-bg-primary`,l),...u,children:[(0,i.jsx)(f,{href:t,className:$(`no-underline text-base font-bold tracking-wide`,`eidotter-header__branding`),children:c||e}),(0,i.jsx)(Tf,{items:n,activeHref:r,variant:a,linkComponent:s}),(0,i.jsx)(Ef,{items:n,activeHref:r,variant:a,linkComponent:s})]})});If.displayName=`Header`;var Lf={primary:`Info`,gray:`Info`,success:`Done`,warning:`Warning`,error:`Error`},Rf=({type:e=`primary`,title:t,children:n,actions:r,onClose:a,avatar:o,image:s,progress:c,progressLabel:l,duration:u,showIcon:d=!0,className:f})=>{let{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gl(`notification-exit`,a);(0,p.useEffect)(()=>{if(u==null||!a)return;let e=setTimeout(()=>h(),u);return()=>clearTimeout(e)},[u,a,h]);let _=d&&!o,v=c!=null;return(0,i.jsxs)(`div`,{className:$(`w-full max-w-[400px]`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-notification`,`eidotter-notification--${e}`,m&&`eidotter-notification--closing`,f),onAnimationEnd:g,role:e===`error`?`alert`:`status`,"data-type":e,children:[s&&(0,i.jsx)(`div`,{className:`eidotter-notification__image`,children:s}),(0,i.jsxs)(`div`,{className:`flex flex-row gap-4 p-4`,children:[o&&(0,i.jsx)(`div`,{className:`eidotter-notification__avatar flex-shrink-0`,children:o}),_&&(0,i.jsx)(`div`,{className:`eidotter-notification__icon`,children:(0,i.jsx)(Ul,{name:Lf[e]||`Info`,size:`S`,"aria-label":`${e} notification`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,a&&!_&&!o&&`pr-8`),children:[(t||n)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[t&&(0,i.jsx)(`div`,{className:`eidotter-notification__title font-dos leading-[140%]`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos leading-[140%]`,children:n})]}),v&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,i.jsx)(pu,{value:c,max:100,size:`sm`,fullWidth:!0,showLabel:!1}),l&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos text-dos-text-xs`,children:l})]}),r&&r.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:r.map((e,t)=>(0,i.jsxs)(K,{className:`eidotter-notification__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),a&&(0,i.jsx)(K,{className:`eidotter-notification__close`,onPress:h,"aria-label":`Close notification`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]})]})};function zf(e){let t=e.trim();if(t===``||/^[#?/]/.test(t))return t;let n=/^([a-z][a-z0-9+\-.]*):/i.exec(t);if(!n)return t;let r=n[1].toLowerCase();return[`http`,`https`,`mailto`,`tel`,`ftp`,`sms`].includes(r)?t:`#`}function Bf(e,t){if(t.length===0)return e;let n=new Set((e??``).split(/\s+/).map(e=>e.trim().toLowerCase()).filter(Boolean));for(let e of t)n.add(e.toLowerCase());return Array.from(n).join(` `)}var Vf=(0,p.forwardRef)(({children:e,href:t,showGlyph:n=!0,external:r=!1,className:a,target:o,rel:s,...c},l)=>{let u=zf(t),d=o??(r?`_blank`:void 0),f=d===`_blank`,p=f?Bf(s,[`noopener`,`noreferrer`]):s,m=r&&f?`↗`:`▸`;return(0,i.jsxs)(`a`,{ref:l,href:u,target:d,rel:p,className:$(`eidotter-ilink`,r&&`eidotter-ilink--external`,a),...c,children:[(0,i.jsx)(`span`,{className:`eidotter-ilink__label`,children:e}),n&&(0,i.jsx)(`span`,{className:`eidotter-ilink__glyph`,"aria-hidden":`true`,children:m})]})});Vf.displayName=`InlineLink`;var Hf=(0,p.forwardRef)(({title:e,resolution:t,subject:n,caption:r,pins:a=[],animated:o=!0,"aria-label":s,className:c},l)=>{let u=(0,p.useId)(),d=r?u:void 0;return(0,i.jsxs)(`figure`,{ref:l,className:$(`eidotter-dos-figure`,o&&`eidotter-dos-figure--animated`,c),role:`img`,"aria-label":s,"aria-describedby":d,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-dos-figure__title`,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{children:e})}),(0,i.jsxs)(`div`,{className:`eidotter-dos-figure__frame`,children:[(0,i.jsx)(`div`,{className:`eidotter-dos-figure__subject`,children:n}),a.length>0&&(0,i.jsx)(`ul`,{className:`eidotter-dos-figure__pins`,role:`list`,children:a.map((e,t)=>{let n=Number.isFinite(e.x)?Math.max(0,Math.min(100,e.x)):0,r=Number.isFinite(e.y)?Math.max(0,Math.min(100,e.y)):0;return(0,i.jsxs)(`li`,{className:`eidotter-dos-figure__pin`,style:{left:`${n}%`,top:`${r}%`},children:[(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-label`,children:e.label})]},`${n}-${r}-${t}`)})}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__scanline`,"aria-hidden":`true`}),t&&(0,i.jsx)(`span`,{className:`eidotter-dos-figure__resolution`,"aria-hidden":`true`,children:t})]}),r&&(0,i.jsx)(`figcaption`,{id:u,className:`eidotter-dos-figure__caption`,children:r})]})});Hf.displayName=`DosFigure`;var Uf=(0,i.jsx)(i.Fragment,{children:`↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE`});function Wf(e){let t=e.toLowerCase().split(`+`).map(e=>e.trim()),n=t[t.length-1],r=t.includes(`mod`),i=t.includes(`shift`),a=t.includes(`alt`);return e=>{if(e.key.toLowerCase()!==n)return!1;let t=typeof navigator<`u`&&/Mac|iPhone|iPad/.test(navigator.platform);return!(!(r?t?e.metaKey:e.ctrlKey:!(e.metaKey||e.ctrlKey))||i!==e.shiftKey||a!==e.altKey)}}function Gf(e,t){if(!t)return 0;let n=t.toLowerCase(),r=e.label.toLowerCase(),i=(e.keywords||[]).map(e=>e.toLowerCase());return r.startsWith(n)?100:i.some(e=>e.startsWith(n))?80:r.includes(n)?50:i.some(e=>e.includes(n))?30:(e.type||``).toLowerCase().includes(n)?10:-1}var Kf=(0,p.forwardRef)(({open:e,onOpenChange:t,items:n,placeholder:r=`SEARCH · TYPE · ▸`,hotkey:a=`mod+k`,emptyMessage:o=`NO MATCHES`,footerHint:s=Uf,renderItem:c,maxResults:l=20,className:u,"aria-label":d=`Command palette`},f)=>{let m=(0,p.useId)(),h=`${m}-listbox`,[g,_]=(0,p.useState)(``),[v,y]=(0,p.useState)(0),b=(0,p.useRef)(null),x=(0,p.useRef)(null),S=(0,p.useRef)(!1),C=(0,p.useMemo)(()=>g.trim()?n.map(e=>({item:e,score:Gf(e,g.trim())})).filter(e=>e.score>=0).sort((e,t)=>t.score-e.score).slice(0,l).map(e=>e.item):n.slice(0,l),[n,g,l]);(0,p.useEffect)(()=>{e&&(_(``),y(0))},[e]),(0,p.useEffect)(()=>{y(0)},[g]),(0,p.useEffect)(()=>{y(e=>Math.min(e,Math.max(0,C.length-1)))},[C.length]),(0,p.useEffect)(()=>{if(e){let e=window.setTimeout(()=>b.current?.focus(),10);return()=>window.clearTimeout(e)}},[e]);let w=(0,p.useRef)(e),T=(0,p.useRef)(t);(0,p.useEffect)(()=>{w.current=e},[e]),(0,p.useEffect)(()=>{T.current=t},[t]),(0,p.useEffect)(()=>{if(a===!1)return;let e=Wf(a),t=t=>{e(t)&&(t.preventDefault(),T.current(!w.current))};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[a]),(0,p.useEffect)(()=>{if(!e||C.length===0)return;let t=x.current?.querySelector(`[data-index="${v}"]`);if(t&&typeof t.scrollIntoView==`function`){S.current=!0,t.scrollIntoView({block:`nearest`});let e=window.setTimeout(()=>{S.current=!1},0);return()=>window.clearTimeout(e)}},[v,C,e]);let E=(0,p.useCallback)(e=>{e.onSelect?.(e),t(!1)},[t]);return(0,i.jsx)(Ls,{isOpen:e,onOpenChange:t,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal-overlay`,e&&`eidotter-cmdpal-overlay--entering`,t&&`eidotter-cmdpal-overlay--exiting`),children:(0,i.jsx)(Fs,{className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal`,e&&`eidotter-cmdpal--entering`,t&&`eidotter-cmdpal--exiting`),children:(0,i.jsxs)(Ds,{"aria-label":d,className:$(`eidotter-cmdpal__container outline-none`,u),ref:f,children:[(0,i.jsxs)(`div`,{className:`eidotter-cmdpal__head`,"aria-hidden":`true`,children:[(0,i.jsx)(`span`,{children:`▸ JUMP TO`}),(0,i.jsx)(`span`,{className:`eidotter-cmdpal__blink`,children:`_`})]}),(0,i.jsx)(`input`,{ref:b,type:`text`,role:`combobox`,"aria-controls":h,"aria-expanded":!0,"aria-autocomplete":`list`,"aria-activedescendant":C[v]?`${m}-item-${C[v].id}`:void 0,className:`eidotter-cmdpal__input`,value:g,placeholder:r,onChange:e=>_(e.target.value),onKeyDown:e=>{if(e.key===`ArrowDown`)e.preventDefault(),y(e=>Math.min(e+1,Math.max(0,C.length-1)));else if(e.key===`ArrowUp`)e.preventDefault(),y(e=>Math.max(0,e-1));else if(e.key===`Enter`){let t=C[v];t&&(e.preventDefault(),E(t))}}}),(0,i.jsxs)(`ul`,{ref:x,id:h,role:`listbox`,"aria-label":d,className:`eidotter-cmdpal__results`,children:[C.length===0&&(0,i.jsx)(`li`,{className:`eidotter-cmdpal__empty`,role:`presentation`,children:o}),C.map((e,t)=>{let n=t===v;return(0,i.jsx)(`li`,{id:`${m}-item-${e.id}`,role:`option`,"aria-selected":n,"data-index":t,className:$(`eidotter-cmdpal__item`,n&&`eidotter-cmdpal__item--selected`),onMouseMove:()=>{S.current||y(t)},onClick:()=>E(e),children:c?c(e,n):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(`span`,{className:`eidotter-cmdpal__item-label`,children:[(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-caret`,"aria-hidden":`true`,children:n?`▸`:` `}),e.label]}),e.hint!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-hint`,children:e.hint})]})},e.id)})]}),s&&(0,i.jsx)(`div`,{className:`eidotter-cmdpal__footer`,"aria-hidden":`true`,children:s})]})})})});Kf.displayName=`CmdPalette`;var qf=(0,p.forwardRef)(({size:e=32,glow:t=!0,title:n=`eiDotter`,className:r,...a},o)=>{let s=(0,p.useId)(),c=`eidotter-logo-halo-${s}`,l=`eidotter-logo-core-${s}`;return(0,i.jsxs)(`svg`,{ref:o,width:e,height:e,viewBox:`8 7 22 22`,xmlns:`http://www.w3.org/2000/svg`,role:n?`img`:void 0,"aria-hidden":n?void 0:!0,className:$(`eidotter-logo`,t&&`eidotter-logo--glow`,r),...a,children:[n?(0,i.jsx)(`title`,{children:n}):null,(0,i.jsxs)(`defs`,{children:[(0,i.jsxs)(`radialGradient`,{id:c,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 19.1) scale(13.2)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.3`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]}),(0,i.jsxs)(`radialGradient`,{id:l,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 18.9) scale(9.9)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.45`}),(0,i.jsx)(`stop`,{offset:`0.6`,stopColor:`#9A5700`,stopOpacity:`0.22`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]})]}),(0,i.jsx)(`path`,{d:`M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z`,fill:`url(#${c})`}),(0,i.jsx)(`path`,{d:`M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z`,fill:`url(#${l})`}),(0,i.jsx)(`path`,{d:`M20.375 9.0625H17.625V9.75H20.375V9.0625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M17.625 9.75H16.9375V10.4375H17.625V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 9.75H20.375V10.4375H22.4375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 11.125H13.5V11.8125H14.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M13.5 11.8125H12.8125V12.5H13.5V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 12.5H12.125V13.875H12.8125V12.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 13.875H11.4375V15.9375H12.125V13.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 15.9375H10.75V18H11.4375V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 18H10.0625V19.375H10.75V18Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 19.375H10.75V20.75H11.4375V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 20.75H11.4375V22.125H12.125V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 22.125H12.125V23.5H12.8125V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 15.25H26.5625V17.3125H27.25V15.25Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 19.375H26.5625V20.75H27.25V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 20.75H25.875V22.125H26.5625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 22.125H25.1875V23.5H25.875V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 24.1875H14.1875V24.875H16.25V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.3125 24.875H16.25V25.5625H18.3125V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M20.375 25.5625H18.3125V26.25H20.375V25.5625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 24.875H20.375V25.5625H22.4375V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M24.5 24.1875H22.4375V24.875H24.5V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 23.5H24.5V24.1875H25.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M29.3125 16.625H28.625V17.3125H29.3125V16.625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M28.625 20.75H27.9375V21.4375H28.625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 21.4375H10.0625V22.125H10.75V21.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 15.25H15.5625V17.3125H16.25V15.25Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M18.3125 13.875H16.25V14.5625H18.3125V13.875Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M16.25 14.5625H15.5625V15.25H16.25V14.5625Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M17.5 17C18.3284 17 19 16.3284 19 15.5C19 14.6716 18.3284 14 17.5 14C16.6716 14 16 14.6716 16 15.5C16 16.3284 16.6716 17 17.5 17Z`,fill:`#FFD97A`}),(0,i.jsx)(`path`,{d:`M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z`,fill:`#FFE8A8`})]})});qf.displayName=`Logo`;var Jf=(0,p.forwardRef)(({glow:e=!0,className:t,...n},r)=>(0,i.jsxs)(`span`,{ref:r,className:$(`eidotter-wordmark font-dos`,e&&`eidotter-wordmark--glow`,t),"aria-label":`eiDotter`,...n,children:[(0,i.jsx)(`span`,{className:`eidotter-wordmark__prefix`,"aria-hidden":`true`,children:`ei`}),(0,i.jsx)(`span`,{className:`eidotter-wordmark__body`,"aria-hidden":`true`,children:`Dotter`})]}));Jf.displayName=`Wordmark`;var Yf=(0,p.forwardRef)(({logoSize:e=32,iconOnly:t=!1,wordmarkOnly:n=!1,glow:r=!0,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`eidotter-brand-lockup inline-flex items-center gap-3`,a),role:`img`,"aria-label":`eiDotter`,...o,children:[!n&&(0,i.jsx)(qf,{size:e,glow:r,title:``}),!t&&(0,i.jsx)(Jf,{glow:r,"aria-hidden":`true`})]}));Yf.displayName=`BrandLockup`;var Xf=({children:e,className:t,title:n=`AI-assisted text — being rewritten`})=>(0,i.jsxs)(`span`,{"data-provenance":`ai-draft`,className:$(`eidotter-ai-text`,t),title:n,children:[(0,i.jsx)(`span`,{className:`eidotter-ai-text__sr-only`,children:`AI-assisted: `}),e]});Xf.displayName=`AIText`;var Zf=`░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░`,Qf=`▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒`,$f=6,ep={text:3,card:3,figure:4,timeline:2},tp=({dense:e=!1,width:t=`full`})=>(0,i.jsx)(`span`,{className:$(`eidotter-skeleton__line`,t===`short`&&`eidotter-skeleton__line--short`,t===`meta`&&`eidotter-skeleton__line--meta`),children:(e?Qf:Zf).repeat($f)});function np(e,t=!1,n=!0){return Array.from({length:e},(r,a)=>(0,i.jsx)(tp,{dense:t,width:n&&a===e-1&&e>1?`short`:`full`},a))}var rp=({variant:e=`text`,lines:t,animated:n=!0,label:r=`Loading`,className:a})=>{let o=Math.max(1,t??ep[e]),s;switch(e){case`card`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tp,{dense:!0,width:`meta`}),np(o)]});break;case`figure`:s=np(o,!0,!1);break;case`timeline`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:`eidotter-skeleton__marker border-2 border-dos-border-default`}),(0,i.jsxs)(`span`,{className:`eidotter-skeleton__entry`,children:[(0,i.jsx)(tp,{width:`meta`}),np(o)]})]});break;default:s=np(o)}return(0,i.jsx)(`div`,{role:`status`,"aria-label":r,className:$(`eidotter-skeleton font-dos text-dos-text-muted`,`eidotter-skeleton--${e}`,n&&`eidotter-skeleton--animated`,e===`card`&&`border-2 border-dos-border-default bg-dos-bg-secondary p-4`,e===`figure`&&`border-2 border-dos-border-default bg-dos-bg-secondary`,a),children:(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`eidotter-skeleton__glyphs`,children:s})})};rp.displayName=`Skeleton`;var ip=({title:e,date:t,intro:n,home:r,children:a,className:o,...s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-legal-page`,o),...s,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__home`,children:r}),(0,i.jsxs)(`article`,{children:[(0,i.jsxs)(`header`,{className:`eidotter-legal-page__hero`,children:[(0,i.jsx)(`p`,{className:`eidotter-legal-page__date`,children:t}),(0,i.jsx)(`h1`,{children:e}),n&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__intro`,children:n})]}),(0,i.jsx)(`div`,{className:`eidotter-legal-page__body`,children:a})]})]}),ap=(0,i.jsxs)(i.Fragment,{children:[`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`,(0,i.jsx)(`br`,{}),`Deutschland`]}),op=`Dominic Kennedy`,sp=({email:e,address:t=ap,name:n=op})=>(0,i.jsxs)(`address`,{children:[n,(0,i.jsx)(`br`,{}),t,e&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),cp=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Angaben gemäß § 5 DDG`}),(0,i.jsx)(sp,{...e})]}),lp=({email:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Kontakt`}),(0,i.jsxs)(`p`,{children:[`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),up=({name:e=op})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)`}),(0,i.jsxs)(`address`,{children:[e,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`]})]}),dp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Inhalte`}),(0,i.jsx)(`p`,{children:`Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht.`})]}),fp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Links`}),(0,i.jsx)(`p`,{children:`Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend.`})]}),pp=({email:e,name:t=op})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verantwortlicher`}),(0,i.jsxs)(`address`,{children:[t,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf, Deutschland`,(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),mp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Hosting`}),(0,i.jsx)(`p`,{children:`Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern.`}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),hp=({proxyHost:e=`e.dmnc.tech`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Webanalyse — PostHog`}),(0,i.jsxs)(`p`,{children:[`Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain `,e,` — es besteht keine direkte Verbindung zu PostHog-Servern.`]}),(0,i.jsxs)(`p`,{children:[`Es werden `,(0,i.jsx)(`strong`,{children:`keine Cookies`}),` gesetzt. PostHog speichert Daten ausschließlich im Arbeitsspeicher des Browsers (Session Memory). Personenbezogene Profile entstehen nicht, solange Sie sich nicht aktiv identifizieren.`]}),(0,i.jsxs)(`p`,{children:[(0,i.jsx)(`strong`,{children:`Session Recording:`}),` PostHog zeichnet anonymisierte Sitzungswiederholungen auf. Alle Eingabefelder werden automatisch maskiert.`]}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),gp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Schriftarten`}),(0,i.jsx)(`p`,{children:`Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt.`})]}),_p=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verschlüsselung`}),(0,i.jsx)(`p`,{children:`Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers.`})]}),vp=({email:e,supervisoryAuthority:t=`die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Ihre Rechte`}),(0,i.jsx)(`p`,{children:`Die DSGVO gewährt Ihnen folgende Rechte:`}),(0,i.jsxs)(`ul`,{children:[(0,i.jsx)(`li`,{children:`Auskunft (Art. 15)`}),(0,i.jsx)(`li`,{children:`Berichtigung (Art. 16)`}),(0,i.jsx)(`li`,{children:`Löschung (Art. 17)`}),(0,i.jsx)(`li`,{children:`Einschränkung der Verarbeitung (Art. 18)`}),(0,i.jsx)(`li`,{children:`Datenübertragbarkeit (Art. 20)`}),(0,i.jsx)(`li`,{children:`Widerspruch (Art. 21)`})]}),e&&(0,i.jsxs)(`p`,{children:[`Zur Ausübung Ihrer Rechte genügt eine formlose E-Mail an`,` `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e}),`.`]}),(0,i.jsxs)(`p`,{children:[`Sie können sich bei einer Aufsichtsbehörde beschweren (Art. 77 DSGVO). Zuständig ist `,t,`.`]})]}),yp={eidotter:{displayName:`eiDotter`},spacewar:{displayName:`Spacewar!`},rizomorf:{displayName:`rizomorf`},"pomodoke-calendar":{displayName:`PomoDoke Calendar`},keepcoin:{displayName:`KeepCoin`},steuerdash:{displayName:`Steuerdash`},sella:{displayName:`sella`},lifelines:{displayName:`Lifelines`},betamorf:{displayName:`betamorf`},dmnctech:{displayName:`dmnc.tech`,url:`https://dmnc.tech`},tracker:{displayName:`Tracker`,url:`https://tracker.dmnc.tech`}},bp={Alert:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.2.0`,variants:{"type:info":{description:`Informational message`,since:`0.2.0`,usedBy:[`rizomorf`]},"type:success":{description:`Success confirmation`,since:`0.2.0`,usedBy:[`steuerdash`]},"type:warning":{description:`Warning notice`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"type:error":{description:`Error message`,since:`0.2.0`,usedBy:[`steuerdash`]},"size:small":{description:`Compact alert for inline contexts`,since:`0.2.0`},"size:large":{description:`Full-width alert with icon`,since:`0.2.0`}},platforms:{react:{path:`src/components/Alert`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.6.0`,type:`changed`,description:`Fix icon alignment and add prefers-contrast support`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects`},{version:`0.2.0`,type:`added`,description:`Initial Alert component with info/success/warning/error types`}]},Accordion:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`Collapsible section with CSS grid expand/collapse — always-in-DOM, transitions grid-template-rows`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for accordion trigger`},{version:`0.19.0`,type:`changed`,description:`Remove 500px expand cap — animate grid-template-rows to natural height`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3 — Accordion, Footer, Tabs, FilterBar)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.2.0`,type:`added`,description:`Initial Accordion (Section) — collapsible section, inert attribute, reduced-motion safe`}]},AccordionFill:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.4.0`,originNote:`Convenience wrapper around Section — renders a list of sections from a data array`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Tailwind-first pass alongside Accordion migration`},{version:`0.4.0`,type:`added`,description:`Initial AccordionFill — array-driven Section list`}]},Badge:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Neutral badge with muted styling`,since:`0.3.0`,usedBy:[`rizomorf`]},"variant:success":{description:`Green success indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:warning":{description:`Amber warning indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Red error/critical indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:info":{description:`Blue informational indicator`,since:`0.3.0`},"variant:accent":{description:`Theme accent color badge`,since:`0.3.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact inline badge`,since:`0.3.0`},"size:medium":{description:`Standard badge size`,since:`0.3.0`}},platforms:{react:{path:`src/components/Badge`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter keyframes`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.5.0`,type:`changed`,description:`Fix text vertical alignment for pixel fonts`},{version:`0.3.0`,type:`added`,description:`Initial Badge component for status indicators`}]},Breadcrumb:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`Trail navigation with configurable separator and optional back-arrow`,platforms:{react:{path:`src/components/Breadcrumb`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2 — Separator, Stat, Breadcrumb, Progress)`},{version:`0.9.0`,type:`changed`,description:`Fix trail links invisible on dark backgrounds`},{version:`0.3.0`,type:`added`,description:`Initial Breadcrumb — trail array, currentLabel, separator, showBackArrow`}]},Button:{origin:`eidotter`,consumers:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`],since:`0.2.0`,variants:{"variant:primary":{description:`Primary CTA with amber background`,since:`0.2.0`,usedBy:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`]},"variant:secondary":{description:`Secondary action with border only`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:ghost":{description:`Minimal button with hover reveal`,since:`0.2.0`,usedBy:[`rizomorf`]},"variant:link":{description:`Inline link-style button`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact 1.5rem min-height`,since:`0.2.0`},"size:medium":{description:`Standard 2rem min-height`,since:`0.2.0`},"size:large":{description:`Prominent 2.5rem min-height`,since:`0.2.0`}},platforms:{react:{path:`src/components/Button`,status:`canonical`},swiftui:{path:`platforms/swiftui/Sources/EiDotterUI/DOSButton.swift`,status:`planned`,note:`POC with primary variant only — not yet production-ready`},spritekit:{status:`token-only`,note:`Spacewar uses tokens only, no UIKit/SwiftUI button`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish across all variants`},{version:`0.7.0`,type:`changed`,description:`Increase font size and weight for readability`},{version:`0.6.0`,type:`changed`,description:`Add phosphor warmup/energize keyframes to all variants`},{version:`0.5.0`,type:`changed`,description:`Fix secondary label visibility in pressed state`},{version:`0.4.0`,type:`changed`,description:`Add CRT phosphor interaction states for primary variant`},{version:`0.2.0`,type:`added`,description:`Initial Button with primary/secondary/ghost/link variants`}]},Card:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard card with subtle border`,since:`0.3.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:elevated":{description:`Raised card with drop shadow`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:bordered":{description:`Strong border emphasis`,since:`0.3.0`},"variant:glow":{description:`Phosphor glow border effect`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:interactive":{description:`Hover-reactive card for clickable surfaces`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:minimal":{description:`Borderless content container`,since:`0.4.0`},"variant:callout":{description:`Highlighted callout with accent border`,since:`0.4.0`}},platforms:{react:{path:`src/components/Card`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.4.0`,type:`added`,description:`Add glow, interactive, minimal, callout variants`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects and amber dim header background`},{version:`0.3.0`,type:`added`,description:`Initial Card with default/elevated/bordered variants`}]},Checkbox:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"size:sm":{description:`Compact 16px checkbox for dense forms`,since:`0.16.0`},"size:md":{description:`Standard 20px checkbox`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Checkbox`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: remediate Phase 1 audit defects + high-contrast glow gaps`},{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.3.0`,type:`added`,description:`Initial Checkbox — controlled/uncontrolled, indeterminate; BEM CSS implementation`}]},CommandPrompt:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`DOS command-line input — blinking cursor, configurable prompt string, onCommand callback`,platforms:{react:{path:`src/components/CommandPrompt`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.3.0`,type:`added`,description:`Initial CommandPrompt — prompt prop, onCommand, autoFocus, disabled`}]},Icon:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.13.0`,originNote:`Thin wrapper around pixelarticons (MIT) + custom PixelX for Close — 12 public names, ICON_MAP`,variants:{"name:Info":{description:`Informational circle-i`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Warning":{description:`Warning triangle`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Error":{description:`Error octagon`,since:`0.13.0`},"name:Done":{description:`Checkmark (shares Check glyph)`,since:`0.13.0`},"name:Check":{description:`Checkmark`,since:`0.13.0`},"name:Close":{description:`Custom pixel-art X mark (no pixelarticons glyph)`,since:`0.19.0`,usedBy:[`rizomorf`]},"name:Chevron Up":{description:`Up caret`,since:`0.13.0`},"name:Chevron Down":{description:`Down caret`,since:`0.13.0`},"name:App":{description:`Grid/app launcher`,since:`0.13.0`},"name:Cancel":{description:`Minus glyph — window minimize control`,since:`0.13.0`},"name:Fullscreen":{description:`Expand to fullscreen`,since:`0.13.0`},"name:Add":{description:`Plus / add action`,since:`0.13.0`},"size:L":{description:`Large — 56 × 56 px`,since:`0.13.0`,usedBy:[`rizomorf`]},"size:S":{description:`Small — 24 × 24 px`,since:`0.13.0`}},platforms:{react:{path:`src/components/Icon`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: fix aria-prohibited-attr on Icon (Phase 1 audit defect)`},{version:`0.30.0`,type:`changed`,description:`Icon inherits color from context instead of hardcoding amber`},{version:`0.19.0`,type:`added`,description:`Custom pixel-art X mark for Close (pixelarticons v2 has no standalone X glyph)`},{version:`0.18.0`,type:`changed`,description:`Swap @untitledui-pro/icons for pixelarticons (MIT) — license compliance`},{version:`0.13.0`,type:`added`,description:`Initial Icon component — ICON_MAP with 12 public names, size L/S`}]},Input:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard text input with amber focus border`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Error state — red border, errorMessage slot`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Input`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TextField (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Input — label, description, errorMessage, isRequired`}]},Lightbox:{origin:`eidotter`,consumers:[`dmnctech`],since:`0.22.0`,originNote:`Fullscreen image viewer extending Modal pattern. Keyboard nav, prev/next, counter, swipe.`},Modal:{origin:`eidotter`,consumers:[`pomodoke-calendar`],since:`0.3.0`,originNote:`DOS-styled dialog built on React Aria ModalOverlay/Modal/Dialog — focus trap, Esc to close, backdrop`,platforms:{react:{path:`src/components/Modal`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Normalize event handlers; replace raw <button> with AriaButton for close control`},{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria ModalOverlay/Modal/Dialog (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.3.0`,type:`added`,description:`Initial Modal — isOpen, onOpenChange, title, footer slot`}]},Progress:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Amber progress bar`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:success":{description:`Green completion indicator`,since:`0.3.0`},"variant:warning":{description:`Amber warning progress`,since:`0.3.0`},"variant:error":{description:`Red error/failed progress`,since:`0.3.0`},"size:sm":{description:`Compact single-row bar`,since:`0.16.0`},"size:md":{description:`Standard bar height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Tall bar for prominent display`,since:`0.16.0`},"trackStyle:block":{description:`Solid block fill (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trackStyle:bordered":{description:`Outline bar with fill inside`,since:`0.3.0`},"trackStyle:gradient":{description:`Gradient fill for smooth visual`,since:`0.3.0`}},platforms:{react:{path:`src/components/Progress`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases small/medium/large → sm/md/lg`},{version:`0.3.0`,type:`added`,description:`Initial Progress — blocks character cells, indeterminate, showLabel, glow prop`}]},RetroEffects:{origin:`spacewar`,consumers:[`spacewar`,`rizomorf`],since:`0.3.0`,originNote:`CRT scanline/glow effects from Spacewar! — compositor-only, prefers-reduced-motion safe`,platforms:{react:{path:`src/components/RetroEffects`,status:`canonical`},spritekit:{status:`planned`,note:`Spacewar uses CRT shader natively; component is React-web-only`}},changelog:[{version:`0.30.0`,type:`added`,description:`bootOnce — gate CGA turn-on to once per browser tab/session via sessionStorage`},{version:`0.28.0`,type:`added`,description:`boot prop — CGA monitor turn-on sequence on mount (~650ms); onBootComplete callback`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`changed`,description:`Align CRT animation values with design-craft spec`},{version:`0.3.0`,type:`added`,description:`Initial RetroEffects — scanlines, glow, flicker, bloom, intensity, powered`}]},Skeleton:{origin:`eidotter`,consumers:[`dmnctech`],originNote:`DOS/CGA loading placeholder — shade-character rows (░▒▓) with CRT hum-bar band rolling top→bottom (DMNC-1018)`},Stat:{origin:`steuerdash`,consumers:[`steuerdash`],since:`0.3.0`,originNote:`Key-value metric display created for tax dashboard — optional trend arrow and TextScramble animation`,variants:{"size:sm":{description:`Compact metric for dense dashboards`,since:`0.16.0`},"size:md":{description:`Standard metric display`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Hero metric for prominent KPIs`,since:`0.16.0`,usedBy:[`steuerdash`]},"trend:up":{description:`Upward trend indicator (green arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:down":{description:`Downward trend indicator (red arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:neutral":{description:`No change indicator (muted dash)`,since:`0.3.0`}},platforms:{react:{path:`src/components/Stat`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases; add size:sm/lg`},{version:`0.3.0`,type:`added`,description:`Initial Stat — label, value, trend, trendValue, scramble prop`}]},Switch:{origin:`eidotter`,consumers:[],since:`0.3.0`,variants:{"size:sm":{description:`Compact 20px toggle for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard 24px toggle`,since:`0.3.0`},"type:default":{description:`Full-width thumb track`,since:`0.3.0`},"type:slim":{description:`Narrow pill track for inline use`,since:`0.3.0`}},platforms:{react:{path:`src/components/Switch`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish — toggle glow transition`},{version:`0.3.0`,type:`added`,description:`Initial Switch — controlled/uncontrolled, label, type:default/slim`}]},FilterBar:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Multi-select toggle group for faceted filtering — keyboard nav, showAll, per-item color`,variants:{"mode:multi":{description:`Multiple filters selectable simultaneously`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"mode:single":{description:`Single active filter (radio behavior)`,since:`0.7.0`},"size:sm":{description:`Compact filter chips`,since:`0.16.0`},"size:md":{description:`Standard filter chips`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large filter chips for touch targets`,since:`0.16.0`}},platforms:{react:{path:`src/components/FilterBar`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for filter chips`},{version:`0.7.0`,type:`added`,description:`Initial FilterBar — multi/single mode, items array, showAll, keyboard nav`}]},Tag:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Interactive labels for tags, categories, and filter chips`,variants:{"variant:default":{description:`Standard tag with subtle background`,since:`0.7.0`,usedBy:[`rizomorf`]},"variant:outlined":{description:`Border-only tag`,since:`0.7.0`,usedBy:[`lifelines`]},"variant:filled":{description:`Solid background tag`,since:`0.7.0`,usedBy:[`rizomorf`,`lifelines`]},"size:small":{description:`Compact tag for dense layouts`,since:`0.7.0`},"size:medium":{description:`Standard tag size`,since:`0.7.0`}},platforms:{react:{path:`src/components/Tag`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish`},{version:`0.7.0`,type:`added`,description:`Initial Tag and TagGroup components`}]},Tabs:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:underline":{description:`Underline indicator tab bar (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:pills":{description:`Filled pill tabs`,since:`0.3.0`},"size:sm":{description:`Compact tabs for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard tab height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Large touch-friendly tabs`,since:`0.16.0`}},platforms:{react:{path:`src/components/Tabs`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TabList/Tab/TabPanel (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases; JS-measured indicator via ResizeObserver`},{version:`0.11.0`,type:`changed`,description:`Dynamic text scaling — rem tokens for WCAG SC 1.4.4`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Tabs — tabs array, activeTab, onSelectionChange, animated indicator`}]},Terminal:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`DOS window frame with px-based bitmap font sizing — legacy BEM, not migrated to Tailwind-first`,variants:{"size:sm":{description:`Compact 320px window`,since:`0.2.0`},"size:md":{description:`Standard 480px window`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:lg":{description:`Full-width window`,since:`0.2.0`},"state:active":{description:`Focused window with amber title bar`,since:`0.2.0`,usedBy:[`rizomorf`]},"state:inactive":{description:`Unfocused window with dimmed title bar`,since:`0.2.0`},"state:minimized":{description:`Collapsed to title bar only`,since:`0.2.0`}},platforms:{react:{path:`src/components/Terminal`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for window controls`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.14.0`,type:`changed`,description:`Breaking: minimizable/maximizable/closeable default to false — consumers must opt in`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for window controls`},{version:`0.2.0`,type:`added`,description:`Initial Terminal — title bar, window controls, resizable, autoFocus, size/state variants`}]},TimelineNode:{origin:`lifelines`,consumers:[`lifelines`,`rizomorf`],since:`0.4.0`,originNote:`Timeline markers extracted from Lifelines — sits on the axis line, content-box sizing`,variants:{"shape:circle":{description:`Circular node marker (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"shape:square":{description:`Square node marker`,since:`0.4.0`},"shape:diamond":{description:`Diamond (rotated square) node marker`,since:`0.4.0`},"variant:default":{description:`Muted amber node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"variant:primary":{description:`Full-brightness amber node with phosphor glow`,since:`0.4.0`,usedBy:[`lifelines`]},"variant:secondary":{description:`Dimmed node for secondary events`,since:`0.4.0`},"variant:accent":{description:`CGA accent color node`,since:`0.4.0`},"labelPosition:right":{description:`Label to the right of the node (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"labelPosition:left":{description:`Label to the left of the node`,since:`0.4.0`},"labelPosition:top":{description:`Label above the node`,since:`0.4.0`},"labelPosition:bottom":{description:`Label below the node`,since:`0.4.0`},"size:sm":{description:`Compact 8px node`,since:`0.16.0`},"size:md":{description:`Standard 12px node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large 16px node for emphasis`,since:`0.16.0`}},platforms:{react:{path:`src/components/TimelineNode`,status:`canonical`}},changelog:[{version:`0.35.0`,type:`changed`,description:`Pin marker box-sizing to content-box so dots stay on the axis line (DMNC-1090)`},{version:`0.30.0`,type:`changed`,description:`A11y: high-contrast glow gap remediation`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.4.0`,type:`added`,description:`Initial TimelineNode — shape, variant, labelPosition, size, isActive, onClick`}]},InlineExpand:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.7.0`,originNote:`Inline disclosure widget for expanding context within prose — sources with favicon fallback`,platforms:{react:{path:`src/components/InlineExpand`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`Fix behavioral bugs — double-toggle edge case (DMNC-1063)`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`added`,description:`sources prop — citation links with Google Favicons API fallback`},{version:`0.7.0`,type:`added`,description:`Initial InlineExpand — expanded, defaultExpanded, onToggle, content slot`}]},Separator:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.8.0`,originNote:`Horizontal/vertical divider for content separation — ported from rizomorf`,variants:{"orientation:horizontal":{description:`Full-width horizontal rule (default)`,since:`0.8.0`,usedBy:[`rizomorf`]},"orientation:vertical":{description:`Inline vertical divider for flex/grid rows`,since:`0.8.0`}},platforms:{react:{path:`src/components/Separator`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`added`,description:`Initial Separator — horizontal/vertical orientation, ported from rizomorf`}]},TimelineContainer:{origin:`lifelines`,consumers:[`lifelines`],since:`0.8.0`,originNote:`Multi-zoom timeline with year/month/day/hour views. Supports interactive, static, feed, and master-detail modes.`,variants:{"mode:interactive":{description:`Full drill-down with keyboard shortcuts and Ctrl+scroll zoom`,since:`0.8.0`,usedBy:[`lifelines`]},"mode:static":{description:`Read-only snapshot — no zoom or selection controls`,since:`0.8.0`},"mode:feed":{description:`Paginated vertical list with LOAD MORE — append-safe`,since:`0.21.0`,usedBy:[`lifelines`]},"mode:master-detail":{description:`Split-pane with list rail + detail panel`,since:`0.34.0`},"sortOrder:asc":{description:`Oldest entries first`,since:`0.8.0`},"sortOrder:desc":{description:`Newest entries first (default)`,since:`0.8.0`,usedBy:[`lifelines`]}},platforms:{react:{path:`src/components/TimelineContainer`,status:`canonical`}},changelog:[{version:`0.34.0`,type:`added`,description:`master-detail layout mode — split-pane list rail + detail panel (DMNC-878)`},{version:`0.21.0`,type:`added`,description:`feed mode — pageSize, onLoadMore, DOS-styled LOAD MORE button`},{version:`0.21.0`,type:`added`,description:`renderEntry prop — pluggable entry renderer with defaultRender() opt-in`},{version:`0.9.0`,type:`changed`,description:`Responsive layout with CSS container queries`},{version:`0.8.0`,type:`added`,description:`Initial TimelineContainer — year/month/day/hour drill-down, migrated from Lifelines`}]},TextScramble:{origin:`eidotter`,consumers:[],since:`0.10.0`,originNote:`DOS text decode effect — rAF-driven character scramble reveal; used by Stat (scramble prop) and standalone`,platforms:{react:{path:`src/components/TextScramble`,status:`canonical`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; adopt cn() and forwardRef`},{version:`0.10.0`,type:`added`,description:`Initial TextScramble — children string, speed, characters, delay; rAF-based reveal`}]},ChatMessage:{origin:`eidotter`,consumers:[],originNote:`Single chat message with role-based DOS styling and streaming cursor`},ChatHistory:{origin:`eidotter`,consumers:[],originNote:`Scrollable message list with auto-scroll and role="log" accessibility`},ChatInput:{origin:`eidotter`,consumers:[],originNote:`Multiline DOS-styled textarea with Enter-to-send`},ChatContainer:{origin:`eidotter`,consumers:[],originNote:`Composes ChatHistory + ChatInput into a complete chat interface`},Header:{origin:`eidotter`,consumers:[],originNote:`Sticky site header composing branding link + Nav — retro/modern variants`},Footer:{origin:`eidotter`,consumers:[],originNote:`DOS-themed footer with default legal links (Impressum + Datenschutz) for German compliance`},InlineLink:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.20.0`,originNote:"In-flow navigational anchor — dotted amber underline, phosphor-invert hover, trailing `▸` / `↗`. Distinct from InlineExpand (destination vs disclosure). Closes rizomorf parity gap #03.",platforms:{react:{path:`src/components/InlineLink`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial InlineLink — internal + external variants, tabnabbing guard when consumer passes target="_blank"`}]},DosFigure:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.20.0`,originNote:`Demoscene-style painted-screen placeholder (Sierra / LucasArts title-card aesthetic). Amber chrome, 6s scanline sweep, optional annotation pins. Closes rizomorf parity gap #02.`,platforms:{react:{path:`src/components/DosFigure`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial DosFigure — scanline sweep, phosphor flicker, pin pulse; all animations compositor-only and reduced-motion safe`}]},CmdPalette:{origin:`eidotter`,consumers:[],since:`0.20.0`,originNote:`⌘K / Ctrl+K command palette overlay. Built on React Aria ModalOverlay/Modal/Dialog (same primitives as Modal). Generic items + scored search + keyboard navigation.`,platforms:{react:{path:`src/components/CmdPalette`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial CmdPalette — generic items with keywords, mod+k global hotkey, custom renderItem, useId() per-instance DOM ids, selected-clamp on items mutation`}]},ProgressRing:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`16-segment quantized progress ring (SVG). Powers Tracker’s hold-to-complete feedback ring.`,platforms:{react:{path:`src/components/ProgressRing`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial ProgressRing — discrete quantized segment arcs, phosphor glow, centre label, currentColor theming`}]},CalendarHeatmap:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Block-character month calendar heatmap (█ ░ · ▒). Domain-agnostic — takes a date→status map, not a domain object.`,platforms:{react:{path:`src/components/CalendarHeatmap`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial CalendarHeatmap — UTC date maths, Monday/Sunday week start, legend, successColor override, glyph overrides`}]},HoldToComplete:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Press-and-hold-to-complete interaction with ProgressRing feedback. Pointer + keyboard, reduced-motion aware.`,platforms:{react:{path:`src/components/HoldToComplete`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial HoldToComplete — rAF hold animation with accelerating ease, onHoldProgress hook, Enter/Space to complete`}]}};function xp(e){return bp[e]}function Sp(e){return Object.entries(bp).filter(([,t])=>t.origin===e).map(([e])=>e)}function Cp(e){return Object.entries(bp).filter(([,t])=>t.consumers.includes(e)).map(([e])=>e)}function wp(e,t){let n=bp[e];return n?.variants?Object.entries(n.variants).filter(([,e])=>e.usedBy?.includes(t)).map(([e])=>e):[]}function Tp(e){let t=bp[e];if(!t?.variants)return{};let n={};for(let[e,r]of Object.entries(t.variants))n[e]=r.usedBy??[];return n}e.AIText=Xf,e.AccordionFill=Ql,e.AddressBlock=sp,e.Alert=Xl,e.Badge=Lu,e.BrandLockup=Yf,e.Breadcrumb=Bu,e.Button=tu,e.CalendarHeatmap=wu,e.Card=ru,e.ChatContainer=Mf,e.ChatHistory=Af,e.ChatInput=jf,e.ChatMessage=kf,e.Checkbox=iu,e.ChecklistRow=vf,e.CmdPalette=Kf,e.CommandPrompt=au,e.CopyButton=yf,e.DatenschutzController=pp,e.DatenschutzEncryption=_p,e.DatenschutzFonts=gp,e.DatenschutzHosting=mp,e.DatenschutzPostHog=hp,e.DatenschutzRights=vp,e.DesktopNav=Tf,e.DosFigure=Hf,e.EmptyState=gf,e.FilterBar=sf,e.Footer=Pf,e.Header=If,e.HoldToComplete=Ou,e.Icon=Ul,e.ImpressumAddress=cp,e.ImpressumContact=lp,e.ImpressumLiabilityContent=dp,e.ImpressumLiabilityLinks=fp,e.ImpressumResponsible=up,e.InlineExpand=uf,e.InlineLink=Vf,e.Input=Au,e.LabeledProgress=Sf,e.LedgerRow=xf,e.LegalPage=ip,e.Lightbox=Ad,e.Logo=qf,e.MobileNav=Ef,e.Modal=Xd,e.Nav=Df,e.Notification=Rf,e.Progress=pu,e.ProgressRing=hu,e.RetroEffects=Gu,e.Section=Zl,e.SectionHeading=mf,e.Select=bf,e.Separator=ff,e.Skeleton=rp,e.Stat=af,e.Switch=Ru,e.Tabs=Pu,e.Tag=Hd,e.TagGroup=Wd,e.Terminal=ju,e.TextScramble=Cf,e.TimelineContainer=Yd,e.TimelineNode=Xu,e.Wordmark=Jf,e.ZOOM_LEVELS=Zu,e.componentRegistry=bp,e.defaultLegalLinks=Nf,e.getComponentMeta=xp,e.getComponentsByConsumer=Cp,e.getComponentsByOrigin=Sp,e.getVariantConsumerMap=Tp,e.getVariantsUsedBy=wp,e.isSafeUrl=cf,e.projects=yp,e.useTextScramble=$d,e.version=`0.30.0`});
11
+ }`,document.head.prepend(i);let o=e=>{if(!(e.touches.length===2||n)){if(!t||t===document.documentElement||t===document.body){e.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&e.preventDefault()}},s=e=>{let t=W(e),n=e.relatedTarget;n&&Nt(n)?(n.focus({preventScroll:!0}),ko(n,Nt(t))):n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},c=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=U(),n=t!=null&&Nt(t);c.call(this,{...e,preventScroll:!0}),(!e||!e.preventScroll)&&ko(this,n)};let l=m(Oo(document,`touchstart`,r,{passive:!1,capture:!0}),Oo(document,`touchmove`,o,{passive:!1,capture:!0}),Oo(document,`blur`,s,!0));return()=>{e(),l(),i.remove(),HTMLElement.prototype.focus=c}}function Do(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Oo(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function ko(e,t){t||!xo?Ao(e):xo.addEventListener(`resize`,()=>Ao(e),{once:!0})}function Ao(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=ci(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;xo&&(n=Math.min(n,xo.offsetTop+xo.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}var jo={};jo={dismiss:`تجاهل`};var Mo={};Mo={dismiss:`Отхвърляне`};var No={};No={dismiss:`Odstranit`};var Po={};Po={dismiss:`Luk`};var Fo={};Fo={dismiss:`Schließen`};var Io={};Io={dismiss:`Απόρριψη`};var Lo={};Lo={dismiss:`Dismiss`};var Ro={};Ro={dismiss:`Descartar`};var zo={};zo={dismiss:`Lõpeta`};var Bo={};Bo={dismiss:`Hylkää`};var Vo={};Vo={dismiss:`Rejeter`};var Ho={};Ho={dismiss:`התעלם`};var Uo={};Uo={dismiss:`Odbaci`};var Wo={};Wo={dismiss:`Elutasítás`};var Go={};Go={dismiss:`Ignora`};var Ko={};Ko={dismiss:`閉じる`};var qo={};qo={dismiss:`무시`};var Jo={};Jo={dismiss:`Atmesti`};var Yo={};Yo={dismiss:`Nerādīt`};var Xo={};Xo={dismiss:`Lukk`};var Zo={};Zo={dismiss:`Negeren`};var Qo={};Qo={dismiss:`Zignoruj`};var $o={};$o={dismiss:`Descartar`};var es={};es={dismiss:`Dispensar`};var ts={};ts={dismiss:`Revocare`};var ns={};ns={dismiss:`Пропустить`};var rs={};rs={dismiss:`Zrušiť`};var is={};is={dismiss:`Opusti`};var as={};as={dismiss:`Odbaci`};var os={};os={dismiss:`Avvisa`};var ss={};ss={dismiss:`Kapat`};var cs={};cs={dismiss:`Скасувати`};var ls={};ls={dismiss:`取消`};var us={};us={dismiss:`關閉`};var ds={};ds={"ar-AE":jo,"bg-BG":Mo,"cs-CZ":No,"da-DK":Po,"de-DE":Fo,"el-GR":Io,"en-US":Lo,"es-ES":Ro,"et-EE":zo,"fi-FI":Bo,"fr-FR":Vo,"he-IL":Ho,"hr-HR":Uo,"hu-HU":Wo,"it-IT":Go,"ja-JP":Ko,"ko-KR":qo,"lt-LT":Jo,"lv-LV":Yo,"nb-NO":Xo,"nl-NL":Zo,"pl-PL":Qo,"pt-BR":$o,"pt-PT":es,"ro-RO":ts,"ru-RU":ns,"sk-SK":rs,"sl-SI":is,"sr-SP":as,"sv-SE":os,"tr-TR":ss,"uk-UA":cs,"zh-CN":ls,"zh-TW":us};function fs(e){return e&&e.__esModule?e.default:e}function ps(e){let{onDismiss:t,...n}=e,r=Lt(n,cn(fs(ds),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return p.default.createElement(_i,null,p.default.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}function ms({children:e}){let t=(0,p.useMemo)(()=>({register:()=>{}}),[]);return p.default.createElement(_r.Provider,{value:t},e)}var hs=(0,p.createContext)({});function gs(){return(0,p.useContext)(hs)??{}}var _s=p.default.createContext(null);function vs(e){let t=O(),{portalContainer:r=t?null:document.body,isExiting:i}=e,[a,o]=(0,p.useState)(!1),s=(0,p.useMemo)(()=>({contain:a,setContain:o}),[a,o]),{getContainer:c}=gs();if(!e.portalContainer&&c&&(r=c()),!r)return null;let l=e.children;return e.disableFocusManagement||(l=p.default.createElement(ca,{restoreFocus:!0,contain:(e.shouldContainFocus||a)&&!i},l)),l=p.default.createElement(_s.Provider,{value:s},p.default.createElement(ms,null,l)),n.default.createPortal(l,r)}function ys(){let e=(0,p.useContext)(_s)?.setContain;h(()=>{e?.(!0)},[e])}function bs(e){let[t,n]=un(e.isOpen,e.defaultOpen||!1,e.onOpenChange);return{isOpen:t,setOpen:n,open:(0,p.useCallback)(()=>{n(!0)},[n]),close:(0,p.useCallback)(()=>{n(!1)},[n]),toggle:(0,p.useCallback)(()=>{n(!t)},[n,t])}}function xs(e,t=!0){let[n,r]=(0,p.useState)(!0),i=n&&t;return h(()=>{if(i&&e.current&&`getAnimations`in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,i]),Cs(e,i,(0,p.useCallback)(()=>r(!1),[])),i}function Ss(e,t){let[n,r]=(0,p.useState)(t?`open`:`closed`);switch(n){case`open`:t||r(`exiting`);break;case`closed`:case`exiting`:t&&r(`open`);break}let i=n===`exiting`;return Cs(e,i,(0,p.useCallback)(()=>{r(e=>e===`exiting`?`closed`:e)},[])),i}function Cs(e,t,r){h(()=>{if(t&&e.current){if(!(`getAnimations`in e.current)){r();return}let t=e.current.getAnimations();if(t.length===0){r();return}let i=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{i||(0,n.flushSync)(()=>{r()})}),()=>{i=!0}}},[e,t,r])}function ws(e,t){let{role:n=`dialog`}=e,r=te();r=e[`aria-label`]?void 0:r;let i=(0,p.useRef)(!1);(0,p.useEffect)(()=>{if(t.current&&!ve(t.current)){En(t.current);let e=setTimeout(()=>{(U()===t.current||U()===document.body)&&(i.current=!0,t.current&&(t.current.blur(),En(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),ys();let a=(0,p.useRef)(!1);return(0,p.useEffect)(()=>{if(process.env.NODE_ENV!==`production`&&!a.current&&t.current){let e=t.current,n=e.hasAttribute(`aria-label`),r=e.hasAttribute(`aria-labelledby`);!n&&!r&&(console.warn(`A dialog must have a title for accessibility. Either provide an aria-label or aria-labelledby prop, or render a heading element inside the dialog.`),a.current=!0)}}),{dialogProps:{...G(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]||r,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:r}}}var Ts=(0,p.createContext)(null),Es=(0,p.createContext)(null),Ds=(0,p.forwardRef)(function(e,t){let n=e[`aria-labelledby`];[e,t]=z(e,t,Ts);let{dialogProps:r,titleProps:i}=ws({...e,"aria-labelledby":n},t),a=(0,p.useContext)(Es);!r[`aria-label`]&&!r[`aria-labelledby`]&&(e[`aria-labelledby`]?r[`aria-labelledby`]=e[`aria-labelledby`]:process.env.NODE_ENV!==`production`&&console.warn(`If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.`));let o=oe({defaultClassName:`react-aria-Dialog`,className:e.className,style:e.style,children:e.children,values:{close:a?.close||(()=>{})}}),s=G(e,{global:!0});return p.default.createElement(de.section,{...F(s,o,r),render:e.render,ref:t,slot:e.slot||void 0},p.default.createElement(ae,{values:[[ii,{slots:{[L]:{},title:{...i,level:2}}}],[ti,{slots:{[L]:{},close:{onPress:()=>a?.close()}}}]]},o.children))});function Os(e,t){let n=t?.isDisabled,[r,i]=(0,p.useState)(!1);return h(()=>{if(e?.current&&!n){let t=()=>{e.current&&i(!!Oa(e.current,{tabbable:!0}).nextNode())};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[`tabIndex`,`disabled`]}),()=>{n.disconnect()}}}),n?!1:r}function ks(e,t,n){let{overlayProps:r,underlayProps:i}=bo({...e,isOpen:t.isOpen,onClose:t.close},n);return wo({isDisabled:!t.isOpen}),ys(),(0,p.useEffect)(()=>{if(t.isOpen&&n.current)return go([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:F(r),underlayProps:i}}var As=typeof document<`u`&&window.visualViewport;function js(){let e=O(),[t,n]=(0,p.useState)(()=>e?{width:0,height:0}:Ms());return(0,p.useEffect)(()=>{let e=e=>{n(t=>e.width===t.width&&e.height===t.height?t:e)},t=()=>{As&&As.scale>1||e(Ms())},r,i=t=>{As&&As.scale>1||Nt(W(t))&&(r=requestAnimationFrame(()=>{let t=U();(!t||!Nt(t))&&e({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return e(Ms()),Ye()&&window.addEventListener(`blur`,i,!0),As?As.addEventListener(`resize`,t):window.addEventListener(`resize`,t),()=>{cancelAnimationFrame(r),Ye()&&window.removeEventListener(`blur`,i,!0),As?As.removeEventListener(`resize`,t):window.removeEventListener(`resize`,t)}},[]),t}function Ms(){return{width:As?Math.min(As.width*As.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:As?As.height*As.scale:document.documentElement.clientHeight}}var Ns=(0,p.createContext)(null),Ps=(0,p.createContext)(null),Fs=(0,p.forwardRef)(function(e,t){if((0,p.useContext)(Ps)){if(process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){let t=new Set([`isDismissable`,`isKeyboardDismissDisabled`,`isOpen`,`defaultOpen`,`onOpenChange`,`isEntering`,`isExiting`,`UNSTABLE_portalContainer`,`shouldCloseOnInteractOutside`]),n=Object.keys(e).filter(e=>t.has(e));console.warn(`This modal is already wrapped in a ModalOverlay, props [${n.join(`, `)}] should be placed on the ModalOverlay instead.`)}return p.default.createElement(zs,{...e,modalRef:t},e.children)}let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,children:s,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d,...f}=e;return p.default.createElement(Ls,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d},p.default.createElement(zs,{...f,modalRef:t},s))});function Is(e,t){[e,t]=z(e,t,Ns);let n=(0,p.useContext)(Es),r=bs(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n;i===n&&process.env.NODE_ENV!==`production`&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)&&console.warn(`This modals state is controlled by a trigger, place onOpenChange on the trigger instead.`);let a=I(t),o=(0,p.useRef)(null),s=Ss(a,i.isOpen),c=Ss(o,i.isOpen),l=s||c||e.isExiting||!1,u=O();return!i.isOpen&&!l||u?null:p.default.createElement(Rs,{...e,state:i,isExiting:l,overlayRef:a,modalRef:o})}var Ls=(0,p.forwardRef)(Is);function Rs({UNSTABLE_portalContainer:e,...t}){let n=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:a}=ks(t,r,n),o=xs(t.overlayRef)||t.isEntering||!1,s=oe({...t,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:o,isExiting:t.isExiting,state:r}}),c=js(),l,u;if(typeof document<`u`){let e=si(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;l=e.scrollWidth-t,u=e.scrollHeight-n}let d={...s.style,"--visual-viewport-width":c.width+`px`,"--visual-viewport-height":c.height+`px`,"--page-width":l===void 0?void 0:l+`px`,"--page-height":u===void 0?void 0:u+`px`};return p.default.createElement(vs,{isExiting:t.isExiting,portalContainer:e},p.default.createElement(de.div,{...F(G(t,{global:!0}),a),...s,style:d,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},p.default.createElement(ae,{values:[[Ps,{modalProps:i,modalRef:n,isExiting:t.isExiting,isDismissable:t.isDismissable}],[Es,r]]},s.children)))}function zs(e){let{modalProps:t,modalRef:n,isExiting:r,isDismissable:i}=(0,p.useContext)(Ps),a=(0,p.useContext)(Es),o=I((0,p.useMemo)(()=>P(e.modalRef,n),[e.modalRef,n])),s=xs(o),c=oe({...e,defaultClassName:`react-aria-Modal`,values:{isEntering:s,isExiting:r,state:a}});return p.default.createElement(de.div,{...F(G(e,{global:!0}),t),...c,ref:o,"data-entering":s||void 0,"data-exiting":r||void 0},i&&p.default.createElement(ps,{onDismiss:a.close}),c.children)}function Bs(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,...o}=Bi(e,t,n);return{labelProps:r,inputProps:{...i,role:`switch`,checked:a},isSelected:a,...o}}var Vs=(0,p.createContext)(null),Hs=(0,p.createContext)(null),Us=(0,p.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=z(r,t,Vs);let i=I(P(n,e.inputRef===void 0?null:e.inputRef)),a=Hi(e),o=Bs({...ce(e),children:typeof e.children==`function`?!0:e.children},a,i);return p.default.createElement(ae,{values:[[Hs,a],[Ws,{...o,inputRef:i,defaultClassName:`react-aria-Switch`}]]},p.default.createElement(Gs,{...e,ref:t}))}),Ws=(0,p.createContext)(null),Gs=(0,p.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isRequired:d}=(0,p.useContext)(Ws),{isFocused:f,isFocusVisible:m,focusProps:h}=zr(),g=a||o,_=(0,p.useContext)(Hs),{hoverProps:v,isHovered:y}=Gr({...e,isDisabled:g}),b=oe({...e,defaultClassName:u,values:{isSelected:i,isPressed:s,isHovered:y,isFocused:f,isFocusVisible:m,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:d||!1,state:_}}),x=G(e,{global:!0});return delete x.id,delete x.onClick,p.default.createElement(de.label,{...F(x,n,v,b),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":y||void 0,"data-focused":f||void 0,"data-focus-visible":m||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":d||void 0},p.default.createElement(_i,{elementType:`span`},p.default.createElement(`input`,{...F(r,h),ref:l})),b.children)}),Ks=new WeakMap;function qs(e,t,n){if(!e)return``;typeof t==`string`&&(t=t.replace(/\s+/g,``));let r=Ks.get(e);return process.env.NODE_ENV!==`production`&&!r&&console.error(`There is no tab id, please check if you have rendered the tab panel before the tab list.`),`${r}-${n}-${t}`}function Js(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=Ua({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=qs(t,r,`tab`),m=qs(t,r,`tabpanel`),{tabIndex:h}=d,g=G(u?.props,{labelable:!0});delete g.id;let _=ct(u?.props),{focusableProps:v}=Nn({...u?.props,isDisabled:l},n);return{tabProps:F(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}function Ys(e,t,n){let r=Os(n)?void 0:0,i=qs(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:F(Lt({...e,id:i,"aria-labelledby":qs(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}var Xs=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`&&n===`horizontal`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function Zs(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=Jt(),{collectionProps:l}=Ba({ref:n,selectionManager:o,keyboardDelegate:(0,p.useMemo)(()=>new Xs(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=N();return Ks.set(t,u),{tabListProps:{...F(l,Lt({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function Qs(e){let[t,n]=un(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,p.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=lo({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function $s(e){let t=Qs({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??ec(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,p.useRef)(i);return(0,p.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=ec(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function ec(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var tc=(0,p.createContext)(null),nc=(0,p.createContext)(null),rc=(0,p.forwardRef)(function(e,t){[e,t]=z(e,t,tc);let{children:n,orientation:r=`horizontal`}=e;return n=(0,p.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),p.default.createElement(zn,{content:n},n=>p.default.createElement(ic,{props:e,collection:n,tabsRef:t}))});function ic({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=$s({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=zr({within:!0}),c=(0,p.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=oe({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=G(e,{global:!0});return p.default.createElement(de.div,{...F(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},p.default.createElement(ae,{values:[[tc,e],[nc,i]]},l.children))}var ac=(0,p.forwardRef)(function(e,t){return(0,p.useContext)(nc)?p.default.createElement(oc,{props:e,forwardedRef:t}):p.default.createElement(Xn,e)});function oc({props:e,forwardedRef:t}){let n=(0,p.useContext)(nc),{CollectionRoot:r}=(0,p.useContext)(tr),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=R(tc),o=I(t),{tabListProps:s}=Zs({...e,orientation:i,keyboardActivation:a},n,o),c=oe({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=G(e,{global:!0});return delete l.id,p.default.createElement(de.div,{...F(l,c,s),ref:o,"data-orientation":i||void 0},p.default.createElement(na,null,p.default.createElement(r,{collection:n.collection,persistedKeys:nr(n.selectionManager.focusedKey)})))}var sc=qn(class extends fn{static{this.type=`item`}},(e,t,n)=>{let r=(0,p.useContext)(nc),i=I(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=Js({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=zr(),{hoverProps:f,isHovered:m}=Gr({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),h=oe({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:m}}),g=n.props.href?de.a:de.div,_=G(e,{global:!0});return delete _.id,delete _.onClick,p.default.createElement(g,{...F(_,h,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":m||void 0},p.default.createElement(ra.Provider,{value:{isSelected:o}},h.children))}),cc=In(function(e,t){let n=(0,p.useContext)(nc),r=I(t),i=n.selectedKey===e.id,[a,o]=(0,p.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=Ss(r,i);return!i&&!e.shouldForceMount&&!s?null:p.default.createElement(lc,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function lc(e){let t=(0,p.useContext)(nc),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=Ys(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=zr(),d=t.selectedKey===e.id,f=xs(r)&&!i,m=oe({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:Za(!d),isEntering:f,isExiting:a,state:t}}),h=G(o,{global:!0});delete h.id;let g=d?F(h,s,c,m):F(h,m);return p.default.createElement(de.div,{...g,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:Za(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},p.default.createElement(ae,{values:[[tc,null],[nc,null]]},p.default.createElement(tr.Provider,{value:Qn},m.children)))}var uc=(0,p.createContext)({}),dc=(0,p.createContext)(null),fc=In(function(e,t){[e,t]=z(e,t,dc);let{validationBehavior:n}=R(Ai)||{},r=e.validationBehavior??n??`native`,i=(0,p.useRef)(null);[e,i]=z(e,i,dn);let[a,o]=se(!e[`aria-label`]&&!e[`aria-labelledby`]),[s,c]=(0,p.useState)(`input`),{labelProps:l,inputProps:u,descriptionProps:d,errorMessageProps:f,...m}=ea({...ce(e),inputElementType:s,label:o,validationBehavior:r},i),h=(0,p.useCallback)(e=>{i.current=e,e&&c(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[i]),g=oe({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),_=G(e,{global:!0});return delete _.id,p.default.createElement(de.div,{..._,...g,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},p.default.createElement(ae,{values:[[Kr,{...l,ref:a}],[Zi,{...u,ref:h}],[uc,{...u,ref:h}],[Xi,{role:`presentation`,isInvalid:m.isInvalid,isDisabled:e.isDisabled||!1}],[ai,{slots:{description:d,errorMessage:f}}],[vi,m]]},g.children))}),pc=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},mc=(e,t)=>({classGroupId:e,validator:t}),hc=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),gc=`-`,_c=[],vc=`arbitrary..`,yc=e=>{let t=Sc(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return xc(e);let n=e.split(gc);return bc(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?pc(i,t):t:i||_c}return n[e]||_c}}},bc=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=bc(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(gc):e.slice(t).join(gc),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},xc=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?vc+r:void 0})(),Sc=e=>{let{theme:t,classGroups:n}=e;return Cc(n,t)},Cc=(e,t)=>{let n=hc();for(let r in e){let i=e[r];wc(i,n,r,t)}return n},wc=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Tc(i,t,n,r)}},Tc=(e,t,n,r)=>{if(typeof e==`string`){Ec(e,t,n);return}if(typeof e==`function`){Dc(e,t,n,r);return}Oc(e,t,n,r)},Ec=(e,t,n)=>{let r=e===``?t:kc(t,e);r.classGroupId=n},Dc=(e,t,n,r)=>{if(Ac(e)){wc(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(mc(n,e))},Oc=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];wc(o,kc(t,a),n,r)}},kc=(e,t)=>{let n=e,r=t.split(gc),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=hc(),n.nextPart.set(t,i)),n=i}return n},Ac=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,jc=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Mc=`!`,Nc=`:`,Pc=[],Fc=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Ic=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Nc){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Mc)?(c=s.slice(0,-1),l=!0):s.startsWith(Mc)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Fc(t,l,c,u)};if(t){let e=t+Nc,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Fc(Pc,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Lc=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Rc=e=>({cache:jc(e.cacheSize),parseClassName:Ic(e),sortModifiers:Lc(e),postfixLookupClassGroupIds:zc(e),...yc(e)}),zc=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Bc=/\s+/,Vc=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Bc),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Mc:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Hc=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Uc(n))&&(i&&(i+=` `),i+=r);return i},Uc=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Uc(e[r]))&&(n&&(n+=` `),n+=t);return n},Wc=(e,...t)=>{let n,r,i,a,o=o=>(n=Rc(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Vc(e,n);return i(e,a),a};return a=o,(...e)=>a(Hc(...e))},Gc=[],Y=e=>{let t=t=>t[e]||Gc;return t.isThemeGetter=!0,t},Kc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Jc=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Yc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xc=/\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$/,Zc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Qc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$c=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,el=e=>Jc.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),tl=e=>!!e&&Number.isInteger(Number(e)),nl=e=>e.endsWith(`%`)&&X(e.slice(0,-1)),rl=e=>Yc.test(e),il=()=>!0,al=e=>Xc.test(e)&&!Zc.test(e),ol=()=>!1,sl=e=>Qc.test(e),cl=e=>$c.test(e),ll=e=>!Z(e)&&!Q(e),ul=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),dl=e=>El(e,Al,ol),Z=e=>Kc.test(e),fl=e=>El(e,jl,al),pl=e=>El(e,Ml,X),ml=e=>El(e,Pl,il),hl=e=>El(e,Nl,ol),gl=e=>El(e,Ol,ol),_l=e=>El(e,kl,cl),vl=e=>El(e,Fl,sl),Q=e=>qc.test(e),yl=e=>Dl(e,jl),bl=e=>Dl(e,Nl),xl=e=>Dl(e,Ol),Sl=e=>Dl(e,Al),Cl=e=>Dl(e,kl),wl=e=>Dl(e,Fl,!0),Tl=e=>Dl(e,Pl,!0),El=(e,t,n)=>{let r=Kc.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Dl=(e,t,n=!1)=>{let r=qc.exec(e);return r?r[1]?t(r[1]):n:!1},Ol=e=>e===`position`||e===`percentage`,kl=e=>e===`image`||e===`url`,Al=e=>e===`length`||e===`size`||e===`bg-size`,jl=e=>e===`length`,Ml=e=>e===`number`,Nl=e=>e===`family-name`,Pl=e=>e===`number`||e===`weight`,Fl=e=>e===`shadow`,Il=Wc(()=>{let e=Y(`color`),t=Y(`font`),n=Y(`text`),r=Y(`font-weight`),i=Y(`tracking`),a=Y(`leading`),o=Y(`breakpoint`),s=Y(`container`),c=Y(`spacing`),l=Y(`radius`),u=Y(`shadow`),d=Y(`inset-shadow`),f=Y(`text-shadow`),p=Y(`drop-shadow`),m=Y(`blur`),h=Y(`perspective`),g=Y(`aspect`),_=Y(`ease`),v=Y(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Q,Z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Q,Z,c],T=()=>[el,`full`,`auto`,...w()],E=()=>[tl,`none`,`subgrid`,Q,Z],D=()=>[`auto`,{span:[`full`,tl,Q,Z]},tl,Q,Z],O=()=>[tl,`auto`,Q,Z],k=()=>[`auto`,`min`,`max`,`fr`,Q,Z],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[el,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[el,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[el,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,Q,Z],ne=()=>[...b(),xl,gl,{position:[Q,Z]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,Sl,dl,{size:[Q,Z]}],F=()=>[nl,yl,fl],I=()=>[``,`none`,`full`,l,Q,Z],L=()=>[``,X,yl,fl],ae=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],R=()=>[X,nl,xl,gl],z=()=>[``,`none`,m,Q,Z],se=()=>[`none`,X,Q,Z],ce=()=>[`none`,X,Q,Z],le=()=>[X,Q,Z],ue=()=>[el,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[rl],breakpoint:[rl],color:[il],container:[rl],"drop-shadow":[rl],ease:[`in`,`out`,`in-out`],font:[ll],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[rl],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[rl],shadow:[rl],spacing:[`px`,X],text:[rl],"text-shadow":[rl],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,el,Z,Q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Q,Z]}],"container-named":[ul],columns:[{columns:[X,Z,Q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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`],sr:[`sr-only`,`not-sr-only`],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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[tl,`auto`,Q,Z]}],basis:[{basis:[el,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[X,el,`auto`,`initial`,`none`,Z]}],grow:[{grow:[``,X,Q,Z]}],shrink:[{shrink:[``,X,Q,Z]}],order:[{order:[tl,`first`,`last`,`none`,Q,Z]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,yl,fl]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Tl,ml]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,nl,Z]}],"font-family":[{font:[bl,hl,t]}],"font-features":[{"font-features":[Z]}],"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-fractions`],tracking:[{tracking:[i,Q,Z]}],"line-clamp":[{"line-clamp":[X,`none`,Q,pl]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Q,Z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Q,Z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ae(),`wavy`]}],"text-decoration-thickness":[{decoration:[X,`from-font`,`auto`,Q,fl]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[X,`auto`,Q,Z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[tl,Q,Z]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Q,Z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Q,Z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},tl,Q,Z],radial:[``,Q,Z],conic:[tl,Q,Z]},Cl,_l]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"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:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ae(),`hidden`,`none`]}],"divide-style":[{divide:[...ae(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...ae(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[X,Q,Z]}],"outline-w":[{outline:[``,X,yl,fl]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,wl,vl]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,wl,vl]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[X,fl]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,wl,vl]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[X,Q,Z]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Q,Z]}],filter:[{filter:[``,`none`,Q,Z]}],blur:[{blur:z()}],brightness:[{brightness:[X,Q,Z]}],contrast:[{contrast:[X,Q,Z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,wl,vl]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,X,Q,Z]}],"hue-rotate":[{"hue-rotate":[X,Q,Z]}],invert:[{invert:[``,X,Q,Z]}],saturate:[{saturate:[X,Q,Z]}],sepia:[{sepia:[``,X,Q,Z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Q,Z]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[X,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[X,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,X,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,Q,Z]}],"backdrop-invert":[{"backdrop-invert":[``,X,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[X,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[X,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":[``,X,Q,Z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Q,Z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[X,`initial`,Q,Z]}],ease:[{ease:[`linear`,`initial`,_,Q,Z]}],delay:[{delay:[X,Q,Z]}],animate:[{animate:[`none`,v,Q,Z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Q,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":[`scale-3d`],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[Q,Z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":[`translate-none`],zoom:[{zoom:[tl,Q,Z]}],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],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`,Q,Z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":P()}],"scrollbar-track-color":[{"scrollbar-track":P()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,Q,Z]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[X,yl,fl,pl]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`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`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`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-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`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-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`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`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`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-pbs`,`scroll-pbe`,`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`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function $(...e){return Il(e.filter(Boolean))}var Ll=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z`})),Rl=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z`})),zl=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z`})),Bl=e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z`})),Vl={Info:Ll,Warning:Rl,Error:zl,Done:Bl,Check:Bl,Close:e=>(0,i.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,i.jsx)(`path`,{d:`M5 5h2v2H5zM7 7h2v2H7zM9 9h2v2H9zM11 11h2v2h-2zM13 13h2v2h-2zM15 15h2v2h-2zM17 17h2v2h-2zM17 5h2v2h-2zM15 7h2v2h-2zM13 9h2v2h-2zM9 13h2v2H9zM7 15h2v2H7zM5 17h2v2H5z`})}),"Chevron Up":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 8h-2v2h2V8Zm-2 2H9v2h2v-2Zm4 0h-2v2h2v-2Zm-6 2H7v2h2v-2Zm8 0h-2v2h2v-2ZM7 14H5v2h2v-2Zm12 0h-2v2h2v-2Z`})),"Chevron Down":e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 16h-2v-2h2v2Zm-2-2H9v-2h2v2Zm4 0h-2v-2h2v2Zm-6-2H7v-2h2v2Zm8 0h-2v-2h2v2ZM7 10H5V8h2v2Zm12 0h-2V8h2v2Z`})),App:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 2h16v2H4zm0 6h16v2H4zm0 12h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zM5 5h2v2H5zm3 0h2v2H8z`})),Cancel:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 11h16v2H4z`})),Fullscreen:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M4 13h16v-2H4zm7-8h2V3h-2zM9 7h4V5H9zm4 0h2V5h-2zm2 2h2V7h-2zM7 9h8V7H7zm4 10h2v2h-2zm-2-2h4v2H9zm4 0h2v2h-2zm2-2h2v2h-2zm-8 0h8v2H7z`})),Add:e=>t.default.createElement(`svg`,Object.assign({viewBox:`0 0 24 24`,width:`24`,height:`24`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},e),t.default.createElement(`path`,{d:`M13 11h7v2h-7v7h-2v-7H4v-2h7V4h2v7Z`}))},Hl={L:56,S:24},Ul=({name:e,size:t=`L`,className:n=``,onClick:r,color:a,role:o,"aria-label":s})=>{let c=Vl[e];if(!c)return null;let l=Hl[t],u=o??`img`,d=o===`button`,f=d?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),r?.())}:void 0;return(0,i.jsx)(`span`,{className:$(`icon`,d&&`icon--button`,n),onClick:r,onKeyDown:f,role:u,tabIndex:d?0:void 0,"aria-label":s||`${e} icon`,style:a?{color:a}:void 0,children:(0,i.jsx)(c,{width:l,height:l,className:`icon__svg`})})};function Wl(){return typeof window<`u`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Gl(e,t){let[n,r]=(0,p.useState)(!1),i=(0,p.useRef)(!1);return{isClosing:n,triggerClose:(0,p.useCallback)(()=>{if(!(i.current||!t)){if(Wl()){t();return}i.current=!0,r(!0)}},[t]),handleAnimationEnd:(0,p.useCallback)(n=>{n.animationName===e&&i.current&&(i.current=!1,r(!1),t?.())},[e,t])}}var Kl={info:`default`,success:`success`,warning:`warning`,error:`error`,default:`default`,brand:`brand`},ql={brand:`Info`,gray:`Info`,default:`Info`,error:`Error`,warning:`Warning`,success:`Done`};function Jl(e,t){return e||Kl[t||`info`]||`default`}function Yl(e){return e===`full-width`?`full-width`:`floating`}var Xl=(0,p.forwardRef)(({color:e,size:t=`floating`,type:n,title:r,children:a,actions:o,onClose:s,onClickHere:c,className:l},u)=>{let d=Jl(e,n),f=Yl(t),{isClosing:p,triggerClose:m,handleAnimationEnd:h}=Gl(`alert-exit`,s),g=[...o||[],...c?[{label:`Click here`,onClick:c}]:[]];return(0,i.jsxs)(`div`,{ref:u,className:$(`relative w-full flex flex-col gap-4 p-4`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-alert`,`eidotter-alert--${d}`,f===`floating`&&`max-w-[1216px]`,f===`full-width`&&`eidotter-alert--full-width max-w-none`,p&&`eidotter-alert--closing`,l),onAnimationEnd:h,role:`alert`,"data-color":d,"data-size":f,children:[(0,i.jsx)(`div`,{className:`eidotter-alert__icon`,children:(0,i.jsx)(Ul,{name:ql[d]||`Info`,size:`S`,"aria-label":`${d} alert`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,s&&`pr-6`),children:[(r||a)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-alert__title font-dos leading-[140%]`,children:r}),a&&(0,i.jsx)(`div`,{className:`eidotter-alert__text font-dos leading-[140%]`,children:a})]}),g.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:g.map((e,t)=>(0,i.jsxs)(K,{className:`eidotter-alert__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),s&&(0,i.jsx)(K,{className:`eidotter-alert__close`,onPress:m,"aria-label":`Close alert`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]})});Xl.displayName=`Alert`;var Zl=({title:e,children:t,defaultExpanded:n=!1,isHovered:r=!1,isActive:a=!1,onToggle:o})=>{let[s,c]=(0,p.useState)(n);return(0,p.useEffect)(()=>{c(n)},[n]),(0,i.jsxs)(`div`,{className:$(`w-full border border-dos-border-default text-dos-text-brand font-dos`,`eidotter-section`,s&&`eidotter-section--expanded`,r&&`eidotter-section--hover`,a&&`eidotter-section--active`),children:[(0,i.jsxs)(K,{className:`eidotter-section__header w-full flex justify-between items-center px-4 py-2 bg-transparent border-0 text-inherit font-[inherit] cursor-pointer text-left`,onPress:()=>{let e=!s;c(e),o?.(e)},"aria-expanded":s,children:[(0,i.jsx)(`div`,{className:`flex-1 text-base leading-6`,children:e}),(0,i.jsx)(`div`,{className:`eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit`,children:(0,i.jsx)(Ul,{name:s?`Chevron Up`:`Chevron Down`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-section__content`,inert:s?void 0:!0,children:(0,i.jsx)(`div`,{className:`eidotter-section__content-inner`,children:t})})]})},Ql=({sections:e,defaultExpandedIndex:t=-1,className:n})=>{let[,r]=(0,p.useState)(t),a=(e,t)=>{r(t?e:-1)};return(0,i.jsx)(`div`,{className:$(`w-full flex flex-col items-stretch gap-2 text-left text-base font-dos text-dos-text-brand`,`eidotter-accordion-fill`,n),children:e.map((e,n)=>(0,i.jsx)(Zl,{title:e.title,defaultExpanded:n===t,onToggle:e=>a(n,e),children:e.content},n))})},$l={xs:`text-dos-text-xs px-2 py-1 min-h-6 gap-1`,sm:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,md:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,lg:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`,xl:`text-dos-text-xl px-5 py-3 min-h-11 gap-2`,small:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1`,medium:`text-dos-text-md px-3 py-2 min-h-8 gap-1.5`,large:`text-dos-text-lg px-4 py-2.5 min-h-10 gap-2`},eu={primary:`eidotter-btn--primary`,secondary:`eidotter-btn--secondary`,tertiary:`eidotter-btn--tertiary`,destructive:`eidotter-btn--destructive`,ghost:`eidotter-btn--ghost`,link:`eidotter-btn--link`},tu=(0,p.forwardRef)(({variant:e=`primary`,size:t=`md`,type:n=`button`,disabled:r=!1,loading:a=!1,children:o,onPress:s,onClick:c,className:l,fullWidth:u=!1,iconOnly:d=!1,...f},p)=>{let m=r||a;return(0,i.jsxs)(K,{ref:p,type:n,isDisabled:m,isPending:a||void 0,onPress:e=>{s?s(e):c&&c({type:`press`,target:e.target,currentTarget:e.target,preventDefault:()=>{},stopPropagation:()=>{}})},className:$(`eidotter-btn`,`inline-flex items-center justify-center relative`,`border-2 border-solid`,`font-dos leading-none whitespace-nowrap select-none`,`outline-none cursor-pointer`,`transition-all duration-100 ease-linear`,$l[t]||$l.md,eu[e]||eu.primary,m&&`opacity-50 cursor-not-allowed`,a&&`cursor-wait`,u&&`w-full`,d&&`aspect-square !px-0`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus`,l),"data-loading":a||void 0,"data-variant":e,...f,children:[a&&(0,i.jsx)(`span`,{className:`eidotter-btn__loading`,"aria-hidden":`true`,children:`█`}),(0,i.jsx)(`span`,{className:$(`inline-flex items-center justify-center`,a&&`opacity-70`),children:o})]})});tu.displayName=`Button`;var nu={default:`eidotter-card--default`,elevated:`eidotter-card--elevated`,bordered:`eidotter-card--bordered`,glow:`eidotter-card--glow`,interactive:`eidotter-card--interactive`,minimal:`eidotter-card--minimal`,callout:`eidotter-card--callout`},ru=(0,p.forwardRef)(({title:e,children:t,footer:n,variant:r=`default`,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`border-2 border-solid border-dos-border-default`,`font-dos text-dos-text-brand`,`eidotter-card`,nu[r]||nu.default,a),...o,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-card__header px-3 py-2 border-b border-dos-text-disabled bg-dos-bg-brand-dim`,children:(0,i.jsx)(`span`,{className:`text-dos-text-secondary text-dos-text-md uppercase`,children:e})}),(0,i.jsx)(`div`,{className:`p-3`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-card__footer px-3 py-2 border-t border-dos-text-disabled bg-dos-bg-secondary`,children:n})]}));ru.displayName=`Card`;var iu=(0,p.forwardRef)(({checked:e,defaultChecked:t,onChange:n,indeterminate:r=!1,label:a,disabled:o=!1,size:s=`md`,name:c,value:l,className:u,"aria-label":d,...f},p)=>(0,i.jsx)(Ji,{ref:p,isSelected:e,defaultSelected:t,isIndeterminate:r,onChange:n,isDisabled:o,name:c,value:l,"aria-label":d||a,className:$(`inline-flex items-center gap-2 cursor-pointer select-none group`,`font-dos`,s===`sm`?`text-dos-text-xs`:`text-dos-text-sm`,`eidotter-checkbox`,o&&`opacity-60 cursor-not-allowed`,u),"data-size":s,...f,children:({isSelected:e,isIndeterminate:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-checkbox__box`,e&&`eidotter-checkbox__box--checked`,t&&`eidotter-checkbox__box--indeterminate`),children:t?`[-]`:e?`[X]`:`[ ]`}),a&&(0,i.jsx)(`span`,{className:`eidotter-checkbox__label`,children:a})]})}));iu.displayName=`Checkbox`;var au=({prompt:e=`C:\\>`,onCommand:t,autoFocus:n=!1,className:r=``,placeholder:a,disabled:o=!1})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);return(0,p.useEffect)(()=>{n&&l.current&&l.current.focus()},[n]),(0,i.jsxs)(`div`,{className:`command-prompt ${o?`command-prompt--disabled`:``} ${r}`.trim(),onClick:()=>{!o&&l.current&&l.current.focus()},children:[(0,i.jsx)(`span`,{className:`command-prompt__prompt`,"aria-hidden":`true`,children:e}),(0,i.jsxs)(`div`,{className:`command-prompt__input-wrapper`,children:[(0,i.jsx)(`input`,{ref:l,className:`command-prompt__input`,value:s,onChange:e=>c(e.target.value),onKeyDown:e=>{e.key===`Enter`&&s.trim()&&!o&&(t(s.trim()),c(``))},autoFocus:n,spellCheck:!1,autoComplete:`off`,autoCapitalize:`off`,autoCorrect:`off`,placeholder:a,disabled:o,"aria-label":`Command input`,size:s.length||a?.length||1}),(0,i.jsx)(`span`,{className:`command-prompt__cursor`,"aria-hidden":`true`,children:`█`})]})]})},ou=`█`,su=`░`,cu=`▓`,lu=`▒`,uu={sm:`text-xs`,md:`text-base`,lg:`text-lg`,small:`text-xs`,medium:`text-base`,large:`text-lg`},du={default:`eidotter-progress--default`,success:`eidotter-progress--success`,warning:`eidotter-progress--warning`,error:`eidotter-progress--error`};function fu(e,t,n){let r=t-e;if(n===`gradient`&&e>0&&e<t){let t=Math.min(2,r),n=r-t,i=(t>=1?cu:``)+(t>=2?lu:``);return{filled:ou.repeat(e),transition:i,empty:su.repeat(n)}}return{filled:ou.repeat(e),transition:``,empty:su.repeat(r)}}var pu=(0,p.forwardRef)(({value:e=0,max:t=100,indeterminate:n=!1,variant:r=`default`,size:a=`md`,trackStyle:o=`block`,blocks:s=20,showLabel:c=!1,fullWidth:l=!1,glow:u=!1,valueText:d,className:f,"aria-label":p,...m},h)=>{let g=Math.min(80,Math.max(3,Math.floor(s))),_=Math.min(100,Math.max(0,e/t*100)),v=Math.round(_/100*g),y=$(`inline-flex items-center gap-2 font-dos`,`eidotter-progress`,uu[a]||uu.md,du[r]||du.default,u&&`eidotter-progress--glow`,l&&`eidotter-progress--full-width`,n&&`eidotter-progress--indeterminate`,o===`bordered`&&`eidotter-progress--bordered`,f),b={"aria-label":p||`Progress: ${n?`loading`:`${Math.round(_)}%`}`};n||(b[`aria-valuenow`]=e,b[`aria-valuemin`]=0,b[`aria-valuemax`]=t),d&&(b[`aria-valuetext`]=d);let x=o===`bordered`,S=$(`eidotter-progress__track`,x&&`eidotter-progress__track--borderless`);if(n){let e=su.repeat(g);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:e}),(0,i.jsxs)(`span`,{className:`eidotter-progress__scanner`,children:[cu,ou,cu]})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsx)(`span`,{className:`eidotter-progress__label`,children:`...`})]})}let C=ou.repeat(g),w=su.repeat(g),{transition:T}=fu(v,g,o);return(0,i.jsxs)(`div`,{ref:h,className:y,role:`progressbar`,...b,...m,children:[(0,i.jsxs)(`span`,{className:S,children:[x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`[`}),(0,i.jsxs)(`span`,{className:`eidotter-progress__bar`,children:[(0,i.jsx)(`span`,{className:`eidotter-progress__empty`,children:w}),(0,i.jsx)(`span`,{className:`eidotter-progress__fill`,style:{"--fill-pct":String(_)},children:C}),T&&(0,i.jsx)(`span`,{className:`eidotter-progress__transition`,style:{"--fill-pct":String(_)},children:T})]}),x&&(0,i.jsx)(`span`,{className:`eidotter-progress__bracket`,children:`]`})]}),c&&(0,i.jsxs)(`span`,{className:`eidotter-progress__label`,children:[Math.round(_),`%`]})]})});pu.displayName=`Progress`;var mu=(e,t,n)=>Math.min(n,Math.max(t,e)),hu=(0,p.forwardRef)(({value:e=0,max:t=100,size:n=64,thickness:r=8,segments:a=16,color:o,showLabel:s=!1,glow:c=!1,className:l,"aria-label":u,...d},f)=>{let p=Math.max(1,Math.floor(a)),m=mu(t===0?0:e/t,0,1),h=Math.floor(m*p),g=Math.round(h/p*100),_=(n-r)/2,v=n/2,y=n/2,b=2*Math.PI*_,x=b/p,S=Math.max(2,x/6),C=Math.max(.5,x-S),w=o??`currentColor`,T=Array.from({length:p},(e,t)=>{let n=t<h;return(0,i.jsx)(`circle`,{cx:v,cy:y,r:_,fill:`none`,stroke:w,strokeWidth:r,strokeLinecap:`butt`,strokeOpacity:n?1:.18,strokeDasharray:`0 ${t*x} ${C} ${b}`,className:$(`eidotter-progress-ring__seg`,n&&`eidotter-progress-ring__seg--filled`)},t)});return(0,i.jsxs)(`div`,{ref:f,className:$(`eidotter-progress-ring`,c&&`eidotter-progress-ring--glow`,l),style:{width:n,height:n},role:`progressbar`,"aria-valuenow":g,"aria-valuemin":0,"aria-valuemax":100,"aria-label":u??`Progress: ${g}%`,...d,children:[(0,i.jsx)(`svg`,{width:n,height:n,viewBox:`0 0 ${n} ${n}`,"aria-hidden":`true`,focusable:`false`,children:(0,i.jsx)(`g`,{transform:`rotate(-90 ${v} ${y})`,children:T})}),s&&(0,i.jsxs)(`span`,{className:`eidotter-progress-ring__label font-dos`,children:[g,`%`]})]})});hu.displayName=`ProgressRing`;var gu={success:`█`,fail:`░`,skip:`·`,pending:`▒`,empty:` `},_u=[`success`,`fail`,`skip`,`pending`],vu={success:`DONE`,fail:`MISS`,skip:`OFF`,pending:`TODAY`},yu=[`MO`,`TU`,`WE`,`TH`,`FR`,`SA`,`SU`],bu=[`SU`,`MO`,`TU`,`WE`,`TH`,`FR`,`SA`],xu=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Su={sm:`eidotter-calendar-heatmap--sm`,md:`eidotter-calendar-heatmap--md`,lg:`eidotter-calendar-heatmap--lg`},Cu=e=>String(e).padStart(2,`0`),wu=(0,p.forwardRef)(({month:e,statuses:t={},defaultStatus:n=`skip`,weekStart:r=`monday`,size:a=`md`,successColor:o,showLegend:s=!0,legendLabels:c,glyphs:l,className:u,"aria-label":d,...f},p)=>{let m=Number(e.slice(0,4)),h=Number(e.slice(5,7))-1,g=Number.isFinite(m)&&h>=0&&h<=11,_={...gu,...l},v={...vu,...c},y=[],b=0,x=0;if(g){let e=new Date(Date.UTC(m,h+1,0)).getUTCDate(),i=new Date(Date.UTC(m,h,1)).getUTCDay(),a=r===`monday`?(i+6)%7:i,o=[];for(let e=0;e<a;e++)o.push({key:`lead-${e}`,day:0,status:`empty`});for(let r=1;r<=e;r++){let e=`${m}-${Cu(h+1)}-${Cu(r)}`,i=t[e]??n;i===`success`&&b++,i===`fail`&&x++,o.push({key:e,day:r,status:i})}for(;o.length%7!=0;)o.push({key:`trail-${o.length}`,day:0,status:`empty`});for(let e=0;e<o.length;e+=7)y.push(o.slice(e,e+7))}let S=r===`monday`?yu:bu,C=g?`${xu[h]} ${m}`:e,w=d??`${C}: ${b} done, ${x} missed`,T=o?{"--heatmap-success":o}:void 0;return(0,i.jsxs)(`div`,{ref:p,className:$(`eidotter-calendar-heatmap font-dos`,Su[a],u),style:T,...f,children:[(0,i.jsxs)(`div`,{className:`eidotter-calendar-heatmap__grid`,role:`img`,"aria-label":w,children:[(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:S.map(e=>(0,i.jsx)(`span`,{className:`eidotter-calendar-heatmap__cell eidotter-calendar-heatmap__head`,children:e},e))}),y.map((e,t)=>(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__row`,"aria-hidden":`true`,children:e.map(e=>(0,i.jsx)(`span`,{className:$(`eidotter-calendar-heatmap__cell`,`eidotter-calendar-heatmap__cell--${e.status}`),children:_[e.status]},e.key))},t))]}),s&&(0,i.jsx)(`div`,{className:`eidotter-calendar-heatmap__legend`,"aria-hidden":`true`,children:_u.map(e=>(0,i.jsxs)(`span`,{className:`eidotter-calendar-heatmap__cell--${e}`,children:[_[e],` `,v[e]]},e))})]})});wu.displayName=`CalendarHeatmap`;var Tu=e=>e*e,Eu=.02,Du=120,Ou=(0,p.forwardRef)(({onHold:e,onTap:t,onHoldProgress:n,holdDuration:r=700,ringColor:a,ringScale:o=.72,disabled:s=!1,"aria-label":c,className:l,children:u},d)=>{let[f,m]=(0,p.useState)(0),[h,g]=(0,p.useState)(0),_=(0,p.useRef)(null),v=(0,p.useRef)(null),y=(0,p.useRef)(0),b=(0,p.useRef)(0),x=(0,p.useRef)(0),S=(0,p.useRef)(0),C=(0,p.useRef)(r),w=(0,p.useRef)(!1),T=(0,p.useRef)(e),E=(0,p.useRef)(n);T.current=e,E.current=n;let D=(0,p.useCallback)(e=>{y.current=e,m(e),E.current?.(e)},[]),O=(0,p.useCallback)(()=>{v.current!=null&&(cancelAnimationFrame(v.current),v.current=null)},[]),k=(0,p.useCallback)(e=>{let t=e-S.current,n=C.current,r=n<=0?1:Math.min(1,t/n),i=x.current===1?Tu(r):r;if(D(b.current+(x.current-b.current)*i),r>=1){v.current=null,x.current===1&&(w.current=!0,D(0),T.current());return}v.current=requestAnimationFrame(k)},[D]),A=(0,p.useCallback)((e,t)=>{O(),b.current=y.current,x.current=e,C.current=t,S.current=typeof performance<`u`?performance.now():0,v.current=requestAnimationFrame(k)},[O,k]),j=(0,p.useCallback)(e=>{if(!s){try{e.currentTarget.setPointerCapture?.(e.pointerId)}catch{}w.current=!1,D(0),A(1,r)}},[s,r,A,D]),M=(0,p.useCallback)(()=>{if(!w.current){if(y.current<=0){O();return}Wl()?(O(),D(0)):A(0,Du)}},[A,O,D]),N=(0,p.useCallback)(()=>{s||(w.current||t?.(),w.current=!1)},[s,t]),ee=(0,p.useCallback)(t=>{s||t.repeat||(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e())},[s,e]);(0,p.useEffect)(()=>{let e=_.current;if(!e)return;let t=()=>g(Math.min(e.clientWidth,e.clientHeight));if(t(),typeof ResizeObserver<`u`){let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()}},[]),(0,p.useEffect)(()=>O,[O]);let te=(0,p.useCallback)(e=>{_.current=e,typeof d==`function`?d(e):d&&(d.current=e)},[d]),P=f>Eu&&h>0;return(0,i.jsxs)(`div`,{ref:te,className:$(`eidotter-hold`,s&&`eidotter-hold--disabled`,l),role:`button`,tabIndex:s?-1:0,"aria-label":c,"aria-disabled":s||void 0,onPointerDown:j,onPointerUp:M,onPointerCancel:M,onClick:N,onKeyDown:ee,children:[u,P&&(0,i.jsx)(`div`,{className:`eidotter-hold__overlay`,children:(0,i.jsx)(hu,{value:f*100,size:Math.floor(h*o),color:a,"aria-label":`Hold progress`})})]})});Ou.displayName=`HoldToComplete`;var ku={default:`eidotter-input--default`,error:`eidotter-input--error`},Au=(0,p.forwardRef)(({variant:e=`default`,label:t,description:n,errorMessage:r,disabled:a,className:o,onChange:s,isRequired:c,...l},u)=>{let d=e===`error`;return(0,i.jsxs)(fc,{isDisabled:a,isInvalid:d,isRequired:c,className:$(`eidotter-text-field`,`flex flex-col gap-1`,o),children:[t&&(0,i.jsx)(qr,{className:`text-dos-text-brand font-dos text-xs uppercase tracking-wider`,children:t}),(0,i.jsx)($i,{ref:u,className:$(`w-full bg-transparent text-dos-text-brand font-dos text-base p-2`,`border-2 border-dos-border-default outline-none box-border`,`eidotter-input`,ku[e]||ku.default,a&&`eidotter-input--disabled`),onChange:s,...l}),n&&!d&&(0,i.jsx)(oi,{slot:`description`,className:`text-dos-text-muted font-dos text-xs`,children:n}),r&&d&&(0,i.jsx)(oi,{slot:`errorMessage`,className:`text-dos-text-error font-dos text-xs`,children:r})]})});Au.displayName=`Input`;var ju=({size:e=`md`,title:t=`MS-DOS Terminal`,state:n=`active`,resizable:r=!0,minimizable:a=!1,maximizable:o=!1,closeable:s=!1,children:c,onMinimize:l,onMaximize:u,onClose:d,onFocus:f,className:m=``,autoFocus:h=!1})=>{let g={sm:`small`,md:`medium`,lg:`large`}[e]??e,[_,v]=(0,p.useState)(n),[y,b]=(0,p.useState)(!1),x=(0,p.useRef)(null);(0,p.useEffect)(()=>{h&&x.current&&x.current.focus()},[h]);let S=()=>{v(`minimized`),l?.()},C=()=>{b(!y),u?.()},w=()=>{d?.()},T=()=>{v(`active`),f?.()};return _===`minimized`?(0,i.jsx)(K,{className:`terminal terminal--minimized ${m}`.trim(),onPress:T,"aria-label":`Restore ${t} window`,children:(0,i.jsxs)(`div`,{className:`terminal__taskbar-item`,children:[(0,i.jsx)(Ul,{name:`App`,size:`S`}),(0,i.jsx)(`span`,{className:`terminal__taskbar-title`,children:t})]})}):(0,i.jsxs)(`div`,{ref:x,className:`terminal terminal--${g} terminal--${_} ${y?`terminal--maximized`:``} ${m}`.trim(),tabIndex:0,role:`dialog`,"aria-label":`${t} terminal window`,onFocus:T,onKeyDown:e=>{e.altKey&&e.key===`F4`&&s&&(e.preventDefault(),w())},children:[(0,i.jsxs)(`div`,{className:`terminal__title-bar`,children:[(0,i.jsxs)(`div`,{className:`terminal__title`,children:[(0,i.jsx)(Ul,{name:`App`,size:`S`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`terminal__title-text`,children:t})]}),(a||o||s)&&(0,i.jsxs)(`div`,{className:`terminal__controls`,children:[a&&(0,i.jsx)(K,{className:`terminal__control terminal__control--minimize`,onPress:S,"aria-label":`Minimize window`,children:(0,i.jsx)(Ul,{name:`Cancel`,size:`S`})}),o&&(0,i.jsx)(K,{className:`terminal__control terminal__control--maximize`,onPress:C,"aria-label":y?`Restore window`:`Maximize window`,children:(0,i.jsx)(Ul,{name:y?`Fullscreen`:`Add`,size:`S`})}),s&&(0,i.jsx)(K,{className:`terminal__control terminal__control--close`,onPress:w,"aria-label":`Close window`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]})]}),(0,i.jsx)(`div`,{className:`terminal__content`,role:`main`,children:c||(0,i.jsx)(`div`,{className:`terminal__default-content`,children:(0,i.jsxs)(`div`,{className:`terminal__prompt`,children:[(0,i.jsx)(`span`,{className:`terminal__path`,children:`C:\\\\>`}),(0,i.jsx)(`span`,{className:`terminal__cursor`,children:`█`})]})})}),r&&(0,i.jsx)(`div`,{className:`terminal__resize-handle`,"aria-hidden":`true`})]})},Mu={sm:`eidotter-tabs--sm`,md:`eidotter-tabs--md`,lg:`eidotter-tabs--lg`,small:`eidotter-tabs--sm`,medium:`eidotter-tabs--md`,large:`eidotter-tabs--lg`},Nu={underline:`eidotter-tabs--underline`,pills:`eidotter-tabs--pills`},Pu=(0,p.forwardRef)(({tabs:e,variant:t=`underline`,size:n=`md`,activeTab:r,defaultActiveTab:a,onSelectionChange:o,onTabChange:s,className:c,...l},u)=>{let d=(0,p.useRef)(null),f=(0,p.useRef)(r??a??e[0]?.id??``),[m,h]=(0,p.useState)(r??a??e[0]?.id??``),g=o??s,_=(0,p.useCallback)(e=>{let t=String(e),n=r??f.current;f.current=t,h(t),g?.(t,n)},[r,g]);return(0,p.useLayoutEffect)(()=>{let e=d.current;if(!e||t!==`underline`)return;let n=()=>{let t=e.querySelector(`[aria-selected="true"]`);t&&(e.style.setProperty(`--indicator-left`,`${t.offsetLeft}px`),e.style.setProperty(`--indicator-width`,`${t.offsetWidth}px`))};n();let r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[r,m,t]),(0,i.jsxs)(rc,{ref:u,selectedKey:r,defaultSelectedKey:a??e[0]?.id,onSelectionChange:_,className:$(`eidotter-tabs`,Nu[t],Mu[n]||Mu.md,c),children:[(0,i.jsxs)(`div`,{ref:d,className:`relative`,children:[(0,i.jsx)(ac,{className:`inline-flex items-center font-dos eidotter-tabs__list`,"aria-label":l[`aria-label`],children:e.map(e=>(0,i.jsx)(sc,{id:e.id,isDisabled:e.disabled,className:({isSelected:e,isDisabled:t})=>$(`eidotter-tabs__tab`,e&&`eidotter-tabs__tab--active`,t&&`eidotter-tabs__tab--disabled`),children:e.label},e.id))}),t===`underline`&&(0,i.jsx)(`span`,{className:`eidotter-tabs__indicator`,"aria-hidden":`true`})]}),e.map(e=>(0,i.jsx)(cc,{id:e.id,className:`hidden`},e.id))]})});Pu.displayName=`Tabs`;var Fu={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},Iu={default:`eidotter-badge--default`,success:`eidotter-badge--success`,warning:`eidotter-badge--warning`,error:`eidotter-badge--error`,info:`eidotter-badge--info`,accent:`eidotter-badge--accent`,brand:`eidotter-badge--accent`,gray:`eidotter-badge--default`,blue:`eidotter-badge--info`,indigo:`eidotter-badge--info`,purple:`eidotter-badge--info`,pink:`eidotter-badge--error`,orange:`eidotter-badge--warning`},Lu=(0,p.forwardRef)(({variant:e=`default`,size:t=`md`,dot:n=!1,children:r,className:a,...o},s)=>(0,i.jsxs)(`span`,{ref:s,className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`uppercase tracking-wider`,`rounded-dos-sm`,`eidotter-badge`,Fu[t]||Fu.md,Iu[e]||Iu.default,a),"data-variant":e,...o,children:[n&&(0,i.jsx)(`span`,{className:`eidotter-badge__dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-badge__content`,children:r})]}));Lu.displayName=`Badge`;var Ru=(0,p.forwardRef)(({checked:e,defaultChecked:t=!1,onChange:n,onCheckedChange:r,disabled:a=!1,size:o=`md`,type:s=`default`,label:c,name:l,value:u,className:d,...f},p)=>(0,i.jsx)(Us,{ref:p,isSelected:e,defaultSelected:t,onChange:n??r,isDisabled:a,name:l,value:u,className:$(`inline-flex items-center gap-2 cursor-pointer outline-none font-dos group`,`eidotter-switch`,a&&`opacity-50 cursor-not-allowed`,d),"data-size":o,"data-type":s,...f,children:({isSelected:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:$(`eidotter-switch__track`,e&&`eidotter-switch__track--checked`,s===`slim`&&`eidotter-switch__track--slim`,o===`sm`&&`eidotter-switch__track--sm`),children:(0,i.jsx)(`span`,{className:`eidotter-switch__thumb`})}),c&&(0,i.jsx)(`span`,{className:`text-[var(--color-cga-amber)]`,children:c})]})}));Ru.displayName=`Switch`;var zu=`eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline`,Bu=({trail:e=[],currentLabel:t,showBackArrow:n=!0,separator:r=`/`,linkComponent:a,className:o})=>{let s=(e,t)=>{let r=(0,i.jsxs)(i.Fragment,{children:[n&&t&&(0,i.jsx)(`span`,{className:`text-[1em] leading-none`,"aria-hidden":`true`,children:`<`}),(0,i.jsx)(`span`,{children:e.label})]});return e.onClick?(0,i.jsx)(K,{className:$(zu,`bg-transparent border-0 cursor-pointer font-[inherit] p-0`),onPress:e.onClick,children:r}):e.href?a?(0,i.jsx)(a,{href:e.href,className:zu,children:r}):(0,i.jsx)(`a`,{href:e.href,className:zu,children:r}):(0,i.jsx)(`span`,{className:zu,children:r})};return(0,i.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:$(`font-dos text-xs uppercase tracking-[0.35em]`,`eidotter-breadcrumb`,o),children:(0,i.jsxs)(`ol`,{className:`flex flex-wrap items-center gap-2 list-none m-0 p-0`,children:[e.map((t,n)=>{let a=n===e.length-1,o=n<e.length-1;return(0,i.jsxs)(`li`,{className:`flex items-center gap-2`,children:[s(t,a),o&&(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})]},`${t.href??t.label}-${n}`)}),e.length>0&&(0,i.jsx)(`li`,{className:`flex items-center gap-2`,children:(0,i.jsx)(`span`,{className:`text-dos-text-accent opacity-40 select-none`,"aria-hidden":`true`,children:r})}),(0,i.jsx)(`li`,{className:`flex items-center gap-2`,"aria-current":`page`,children:(0,i.jsx)(`span`,{className:`text-dos-text-brand`,children:t})})]})})},Vu=`eidotter:retro-boot`,Hu=`1`,Uu=e=>{if(typeof window>`u`)return!1;try{return window.sessionStorage.getItem(e)===Hu}catch{return!1}},Wu=e=>{if(!(typeof window>`u`))try{window.sessionStorage.setItem(e,Hu)}catch{}},Gu=({scanlines:e=!0,glow:t=!0,flicker:n=!0,bloom:r=!1,powered:a=!0,boot:o=!1,bootOnce:s=!1,bootStorageKey:c=Vu,intensity:l=1,className:u,onPowerStateChange:d,onPowerOn:f,onPowerOff:m,onBootComplete:h})=>{let g=(0,p.useRef)(a),[_,v]=(0,p.useState)(a?`on`:`off`),[y,b]=(0,p.useState)(o),x=(0,p.useRef)(!1),S=(0,p.useRef)(c),C=(0,p.useRef)(h);(0,p.useEffect)(()=>{C.current=h});let w=()=>{x.current||(x.current=!0,C.current?.())},T=()=>{b(!1),s&&Wu(S.current),w()};(0,p.useEffect)(()=>{if(!(!o||!s)&&Uu(S.current)){b(!1),w();return}},[]),(0,p.useEffect)(()=>{if(!y||x.current)return;if(Wl()){T();return}let e=window.setTimeout(()=>{T()},1200);return()=>window.clearTimeout(e)},[y]);let E=e=>{e.animationName===`eidotter-retro-boot-glow`&&T()};(0,p.useEffect)(()=>{let e=g.current;if(g.current=a,e!==a){let e=a?`powering-on`:`powering-off`;v(e),d?.(e)}},[a,d]);let D=()=>{_===`powering-on`?(v(`on`),d?.(`on`),f?.()):_===`powering-off`&&(v(`off`),d?.(`off`),m?.())},O=e=>{e.animationName!==`retro-power-on`&&e.animationName!==`retro-power-off`||D()},k=e=>{e.propertyName===`opacity`&&(_!==`powering-on`&&_!==`powering-off`||D())},A={"--retro-intensity":l},j=_!==`off`;return(0,i.jsxs)(`div`,{className:$(`fixed inset-0 pointer-events-none z-[9999]`,`eidotter-retro-effects`,_===`powering-off`&&`eidotter-retro-effects--powering-off`,_===`powering-on`&&`eidotter-retro-effects--powering-on`,_===`off`&&`eidotter-retro-effects--off`,u),style:A,"aria-hidden":`true`,onAnimationEnd:O,onTransitionEnd:k,children:[j&&(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__scanlines`}),t&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__glow`}),n&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__flicker`}),r&&(0,i.jsx)(`div`,{className:`eidotter-retro-effects__bloom`})]}),y&&(0,i.jsxs)(`div`,{className:`eidotter-retro-effects__boot`,onAnimationEnd:E,children:[(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-line`}),(0,i.jsx)(`div`,{className:`eidotter-retro-effects__boot-glow`})]})]})},Ku={sm:`small`,md:`medium`,lg:`large`,small:`small`,medium:`medium`,large:`large`},qu={circle:`eidotter-timeline-node--circle`,square:`eidotter-timeline-node--square`,diamond:`eidotter-timeline-node--diamond`},Ju={default:`eidotter-timeline-node--default`,primary:`eidotter-timeline-node--primary`,secondary:`eidotter-timeline-node--secondary`,accent:`eidotter-timeline-node--accent`},Yu={left:`eidotter-timeline-node--label-left`,right:`eidotter-timeline-node--label-right`,top:`eidotter-timeline-node--label-top`,bottom:`eidotter-timeline-node--label-bottom`},Xu=(0,p.forwardRef)(({shape:e=`circle`,variant:t=`default`,isActive:n=!1,label:r,labelPosition:a=`right`,size:o=`md`,className:s,onClick:c,...l},u)=>{let d=Ku[o]??`medium`;return(0,i.jsxs)(`div`,{ref:u,className:$(`inline-flex items-center gap-2 font-dos`,`eidotter-timeline-node`,qu[e],Ju[t],`eidotter-timeline-node--${d}`,Yu[a],n&&`eidotter-timeline-node--active`,c&&`eidotter-timeline-node--interactive`,s),onClick:()=>{c&&c()},onKeyDown:e=>{c&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),c())},role:c?`button`:void 0,tabIndex:c?0:void 0,"aria-pressed":c?n:void 0,...l,children:[r&&a===`left`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--left`,children:r}),r&&a===`top`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--top`,children:r}),(0,i.jsx)(`span`,{className:`eidotter-timeline-node__marker`,"aria-hidden":`true`}),r&&a===`right`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--right`,children:r}),r&&a===`bottom`&&(0,i.jsx)(`span`,{className:`eidotter-timeline-node__label eidotter-timeline-node__label--bottom`,children:r})]})});Xu.displayName=`TimelineNode`;var Zu=[`year`,`month`,`day`,`hour`];function Qu({zoomLevel:e,defaultZoomLevel:t=`month`,onZoomChange:n}={}){let r=e===void 0,[i,a]=(0,p.useState)(t),[o,s]=(0,p.useState)([]),c=(0,p.useRef)(r);(0,p.useEffect)(()=>{c.current&&!r&&s([]),c.current=r},[r]);let l=e??i,u=Zu.indexOf(l),d=u<Zu.length-1,f=u>0,m=o.length>0?o[o.length-1].periodStart:null,h=(0,p.useRef)(r),g=(0,p.useRef)(d),_=(0,p.useRef)(u),v=(0,p.useRef)(o),y=(0,p.useRef)(n);(0,p.useEffect)(()=>{h.current=r,g.current=d,_.current=u,v.current=o,y.current=n});let b=(0,p.useCallback)(e=>{h.current&&a(e),y.current?.(e)},[]);return{zoomLevel:l,canZoomIn:d,canZoomOut:f,breadcrumbs:o,currentPeriod:m,isDrillDownEnabled:r,drillDown:(0,p.useCallback)((e,t)=>{if(!h.current||!g.current)return;let n=Zu[_.current+1];n!==void 0&&(s(n=>[...n,{periodStart:e,label:t}]),b(n))},[b]),drillUp:(0,p.useCallback)(()=>{if(!h.current||v.current.length===0)return;let e=Zu[_.current-1];e!==void 0&&(s(e=>e.slice(0,-1)),b(e))},[b]),reset:(0,p.useCallback)(()=>{h.current&&(s([]),b(`year`))},[b])}}function $u({selectedEntryId:e,defaultSelectedEntryId:t=null,onSelectEntry:n}={}){let[r,i]=(0,p.useState)(t),a=e!==void 0,o=e===void 0?r:e,s=(0,p.useRef)(o),c=(0,p.useRef)(a),l=(0,p.useRef)(n);(0,p.useEffect)(()=>{s.current=o,c.current=a,l.current=n});let u=(0,p.useCallback)(e=>{c.current||i(e),l.current?.(e)},[]);return{selectedEntryId:o,select:(0,p.useCallback)(e=>{u(e)},[u]),deselect:(0,p.useCallback)(()=>{u(null)},[u]),toggle:(0,p.useCallback)(e=>{c.current?l.current?.(s.current===e?null:e):i(t=>{let n=t===e?null:e;return l.current?.(n),n})},[])}}var ed=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],td=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function nd(e){return new Date(e).getUTCFullYear()}function rd(e){return new Date(e).getUTCMonth()}function id(e){return new Date(e).getUTCDate()}function ad(e){return new Date(e).getUTCHours()}function od(e){return String(e)}function sd(e,t){return`${ed[t]} ${e}`}function cd(e,t,n){return`${td[t]} ${n}`}function ld(e,t,n,r){let i=r>=12?`pm`:`am`,a=r===0?12:r>12?r-12:r;return`${td[t]} ${n}, ${a}${i}`}function ud(e){let t=new Date(e),n=td[t.getUTCMonth()],r=t.getUTCDate(),i=t.getUTCFullYear(),a=t.getUTCHours(),o=t.getUTCMinutes(),s=a>=12?`pm`:`am`;return`${n} ${r}, ${i} at ${a===0?12:a>12?a-12:a}${o>0?`:${String(o).padStart(2,`0`)}`:``}${s}`}function dd(e){return new Date(Date.UTC(e,0,1)).toISOString()}function fd(e,t){return new Date(Date.UTC(e,t,1)).toISOString()}function pd(e,t,n){return new Date(Date.UTC(e,t,n)).toISOString()}function md(e,t,n,r){return new Date(Date.UTC(e,t,n,r)).toISOString()}function hd(e,t,n,r,i){let a=new Map,o=[];for(let n of e){let e=t(n),r=a.get(e);r?r.push(n):(a.set(e,[n]),o.push(e))}o.sort((e,t)=>i===`asc`?e.localeCompare(t):t.localeCompare(e));for(let[,e]of a)e.sort((e,t)=>{let n=e.date.localeCompare(t.date);return i===`asc`?n:-n});return o.map(e=>({label:n(e),periodStart:r(e),entries:a.get(e)??[]}))}function gd(e){return String(nd(e.date))}function _d(e){let t=nd(e.date),n=rd(e.date);return`${t}-${String(n).padStart(2,`0`)}`}function vd(e){let t=nd(e.date),n=rd(e.date),r=id(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}`}function yd(e){let t=nd(e.date),n=rd(e.date),r=id(e.date),i=ad(e.date);return`${t}-${String(n).padStart(2,`0`)}-${String(r).padStart(2,`0`)}-${String(i).padStart(2,`0`)}`}function bd(e){return{year:parseInt(e)}}function xd(e){let[t,n]=e.split(`-`);return{year:parseInt(t),month:parseInt(n)}}function Sd(e){let[t,n,r]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r)}}function Cd(e){let[t,n,r,i]=e.split(`-`);return{year:parseInt(t),month:parseInt(n),day:parseInt(r),hour:parseInt(i)}}var wd={year:4,month:7,day:10};function Td(e,t,n){if(t===null||n===`hour`)return e;let r=wd[n];if(r===void 0)return e;let i=t.slice(0,r);return e.filter(e=>e.periodStart.slice(0,r)===i)}function Ed(e,t,n=`desc`){if(e.length===0)return[];let r=e.filter(e=>!isNaN(new Date(e.date).getTime()));if(r.length===0)return[];switch(t){case`year`:return hd(r,gd,e=>{let{year:t}=bd(e);return od(t)},e=>{let{year:t}=bd(e);return dd(t)},n);case`month`:return hd(r,_d,e=>{let{year:t,month:n}=xd(e);return sd(t,n)},e=>{let{year:t,month:n}=xd(e);return fd(t,n)},n);case`day`:return hd(r,vd,e=>{let{year:t,month:n,day:r}=Sd(e);return cd(t,n,r)},e=>{let{year:t,month:n,day:r}=Sd(e);return pd(t,n,r)},n);case`hour`:return hd(r,yd,e=>{let{year:t,month:n,day:r,hour:i}=Cd(e);return ld(t,n,r,i)},e=>{let{year:t,month:n,day:r,hour:i}=Cd(e);return md(t,n,r,i)},n)}}var Dd=({zoomLevel:e,canZoomIn:t,canZoomOut:n,onZoomIn:r,onZoomOut:a,onReset:o,breadcrumbs:s=[],onBreadcrumbClick:c})=>{let l=s.length>0;return(0,i.jsxs)(`div`,{className:`timeline-zoom-controls`,role:`toolbar`,"aria-label":`Timeline zoom controls`,children:[(0,i.jsx)(tu,{variant:`secondary`,size:`small`,onClick:a,disabled:!n,"aria-label":`Zoom out`,children:`[-]`}),l?(0,i.jsx)(Bu,{trail:[{label:`ALL`,onClick:o},...s.slice(0,-1).map((e,t)=>({label:e.label,onClick:()=>c?.(t)}))],currentLabel:s[s.length-1].label,showBackArrow:!1,separator:`>`,className:`timeline-zoom-controls__breadcrumb`}):(0,i.jsx)(K,{className:`timeline-zoom-controls__level`,onPress:o,"aria-label":`Current zoom: ${e}. Click to reset.`,children:(0,i.jsx)(Lu,{variant:`accent`,size:`medium`,children:e.toUpperCase()})}),(0,i.jsx)(tu,{variant:`secondary`,size:`small`,onClick:r,disabled:!t,"aria-label":`Zoom in`,children:`[+]`})]})},Od=({children:e})=>(0,i.jsxs)(`div`,{className:`timeline-axis`,children:[(0,i.jsx)(`div`,{className:`timeline-axis__line`,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:`timeline-axis__content`,children:e})]}),kd=p.default.memo(({buckets:e,onBucketClick:t})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--year`,role:`list`,children:e.map(e=>(0,i.jsx)(`div`,{className:`timeline-view__bucket timeline-view__bucket--year`,role:`listitem`,children:t?(0,i.jsxs)(K,{className:`timeline-view__bucket-button`,onPress:()=>t(e),children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(Lu,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:(0,i.jsxs)(Lu,{variant:`default`,size:`small`,children:[e.entries.length,` `,e.entries.length===1?`entry`:`entries`]})})]})},e.periodStart))}));kd.displayName=`YearView`;var Ad=({images:e,initialIndex:t=0,isOpen:n,onClose:r,onIndexChange:a})=>{let o=e.length===0?0:Math.max(0,Math.min(t,e.length-1)),[s,c]=(0,p.useState)(o);(0,p.useEffect)(()=>{n&&c(o)},[n,o]),(0,p.useEffect)(()=>{e.length>0&&s>=e.length&&c(e.length-1)},[e.length,s]);let l=(0,p.useCallback)(t=>{t<0||t>=e.length||t===s||(c(t),a?.(t))},[e.length,s,a]),u=(0,p.useCallback)(()=>l(s-1),[l,s]),d=(0,p.useCallback)(()=>l(s+1),[l,s]),f=p.default.useRef(null),m=(0,p.useCallback)(e=>{f.current=e.touches[0]?.clientX??null},[]),h=(0,p.useCallback)(e=>{let t=f.current;if(f.current=null,t==null)return;let n=(e.changedTouches[0]?.clientX??t)-t;Math.abs(n)<30||(n<0?d():u())},[d,u]);if((0,p.useEffect)(()=>{if(!n)return;let e=e=>{e.key===`ArrowLeft`?(e.preventDefault(),u()):e.key===`ArrowRight`&&(e.preventDefault(),d())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[n,u,d]),e.length===0)return null;let g=Math.max(0,Math.min(s,e.length-1)),_=e[g],v=g>0,y=g<e.length-1;return(0,i.jsx)(Ls,{isOpen:n,onOpenChange:e=>{e||r()},isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox-overlay`,e&&`eidotter-lightbox-overlay--entering`,t&&`eidotter-lightbox-overlay--exiting`),children:(0,i.jsx)(Fs,{className:({isEntering:e,isExiting:t})=>$(`eidotter-lightbox`,e&&`eidotter-lightbox--entering`,t&&`eidotter-lightbox--exiting`),children:(0,i.jsxs)(Ds,{"aria-label":_.alt||`Image viewer`,className:`eidotter-lightbox__container outline-none`,children:[(0,i.jsx)(K,{className:`eidotter-lightbox__close`,onPress:r,"aria-label":`Close lightbox`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})}),(0,i.jsx)(K,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--prev`,onPress:u,isDisabled:!v,"aria-label":`Previous image`,children:`◀`}),(0,i.jsx)(K,{className:`eidotter-lightbox__nav eidotter-lightbox__nav--next`,onPress:d,isDisabled:!y,"aria-label":`Next image`,children:`▶`}),(0,i.jsxs)(`figure`,{className:`eidotter-lightbox__figure`,children:[(0,i.jsx)(`img`,{className:`eidotter-lightbox__image`,src:_.src,alt:_.alt,width:_.width,height:_.height,onTouchStart:m,onTouchEnd:h}),_.caption&&(0,i.jsx)(`figcaption`,{className:`eidotter-lightbox__caption`,children:_.caption})]}),(0,i.jsxs)(`span`,{className:`eidotter-lightbox__counter`,"aria-live":`polite`,children:[`[ `,g+1,` / `,e.length,` ]`]})]})})})};Ad.displayName=`Lightbox`;var jd=/^(?:https?:|mailto:)/i;function Md(e){if(typeof e!=`string`)return!1;let t=e.trim();return t.length===0?!1:/^[a-z][a-z0-9+\-.]*:/i.test(t)?jd.test(t):!0}var Nd=({entry:e,isExpanded:t,onSelect:n})=>{let[r,a]=(0,p.useState)(!1),{image:o}=e,s=o.thumbnail||o.src,c=o.link&&Md(o.link)?o.link:void 0;return(0,p.useEffect)(()=>{t||a(!1)},[t]),c?(0,i.jsxs)(`a`,{className:`eidotter-timeline-card-image eidotter-timeline-card-image--link`,href:c,rel:`noopener noreferrer`,children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media`,src:s,alt:o.alt,width:o.width,height:o.height})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(K,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(`div`,{className:`eidotter-timeline-card-image`,children:t?(0,i.jsx)(K,{className:`eidotter-timeline-card-image__media-button`,onPress:()=>a(!0),"aria-label":o.alt?`Open ${o.alt} in lightbox`:`Open image in lightbox`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--expanded`,src:o.src,alt:o.alt,width:o.width,height:o.height})}):(0,i.jsx)(`img`,{className:`eidotter-timeline-card-image__media eidotter-timeline-card-image__media--thumb`,src:s,alt:o.alt,width:o.width,height:o.height})}),(0,i.jsx)(Ad,{images:[o],isOpen:r,onClose:()=>a(!1)})]})},Pd=({entry:e,isExpanded:t,onSelect:n})=>{let[r,a]=(0,p.useState)({phase:`grid`});if((0,p.useEffect)(()=>{t||a({phase:`grid`})},[t]),(0,p.useEffect)(()=>{a(t=>t.phase===`grid`?t:t.index>=e.images.length?{phase:`grid`}:t)},[e.images.length]),e.images.length===0)return process.env.NODE_ENV!==`production`&&console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card-gallery__empty`,children:`No images.`})]});let o=(e,t)=>{t.link&&Md(t.link)||a(t=>t.phase===`focused`&&t.index===e?{phase:`lightbox`,index:e}:{phase:`focused`,index:e})},s=r.phase===`focused`||r.phase===`lightbox`?r.index:null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(K,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title})}),(0,i.jsx)(`div`,{className:`eidotter-timeline-card-gallery__grid`,role:`list`,children:e.images.map((e,t)=>(0,i.jsx)(Fd,{image:e,isFocused:s===t,onClick:()=>o(t,e)},t))}),(0,i.jsx)(Ad,{images:e.images,isOpen:r.phase===`lightbox`,initialIndex:r.phase===`lightbox`?r.index:0,onClose:()=>{a(e=>e.phase===`lightbox`?{phase:`focused`,index:e.index}:e)},onIndexChange:e=>{a(t=>t.phase===`lightbox`?{phase:`lightbox`,index:e}:t)}})]})},Fd=({image:e,isFocused:t,onClick:n})=>{let r=e.thumbnail||e.src,a=e.link&&Md(e.link)?e.link:void 0;return a?(0,i.jsx)(`div`,{role:`listitem`,className:`eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link`,children:(0,i.jsx)(`a`,{className:`eidotter-timeline-card-gallery__link`,href:a,rel:`noopener noreferrer`,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,width:e.width,height:e.height})})}):(0,i.jsx)(`div`,{role:`listitem`,className:$(`eidotter-timeline-card-gallery__cell`,t&&`eidotter-timeline-card-gallery__cell--focused`),children:(0,i.jsx)(K,{className:`eidotter-timeline-card-gallery__button`,onPress:n,"aria-label":e.alt||`Image`,"aria-pressed":t,children:(0,i.jsx)(`img`,{className:`eidotter-timeline-card-gallery__img`,src:r,alt:e.alt,width:e.width,height:e.height})})})},Id=p.default.memo(({entry:e,isSelected:t,isExpanded:n=!1,onSelect:r,footer:a,children:o})=>(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-card`,t&&`eidotter-timeline-card--selected`,n&&`eidotter-timeline-card--expanded`),children:[Ld(e,n,r,o),a&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__footer`,children:a})]}));Id.displayName=`TimelineEntryCard`;function Ld(e,t,n,r){switch(e.kind){case`text`:return(0,i.jsx)(zd,{entry:e,isExpanded:t,onSelect:n,children:r});case`image`:return(0,i.jsx)(Nd,{entry:e,isExpanded:t,onSelect:n});case`gallery`:return(0,i.jsx)(Pd,{entry:e,isExpanded:t,onSelect:n});default:return Rd(e)}}function Rd(e){throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`)}var zd=({entry:e,isExpanded:t,onSelect:n,children:r})=>{let a=typeof e.content==`string`,o=e.content!=null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(K,{className:`eidotter-timeline-card__trigger`,onPress:()=>n?.(e.id),"aria-expanded":t,children:[(0,i.jsxs)(`div`,{className:`eidotter-timeline-card__header`,children:[e.type&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__type`,children:e.type.toUpperCase()}),e.tags&&e.tags.length>0&&(0,i.jsx)(`span`,{className:`eidotter-timeline-card__tags`,children:e.tags.map(e=>`#${e}`).join(` `)})]}),(0,i.jsx)(`p`,{className:`eidotter-timeline-card__title`,children:e.title}),!t&&a&&(()=>{let t=String(e.content);return(0,i.jsxs)(`p`,{className:`eidotter-timeline-card__preview`,children:[t.slice(0,80),t.length>80?`...`:``]})})(),r]}),o&&(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body`,children:(0,i.jsx)(`div`,{className:`eidotter-timeline-card__body-inner`,inert:t?void 0:!0,children:e.content})})]})},Bd=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,onBucketClick:r,renderEntry:a})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--month`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--month`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`,onClick:()=>r?.(e)})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let r=t===e.id,o=()=>(0,i.jsx)(Id,{entry:e,isSelected:r,isExpanded:r,onSelect:n});return(0,i.jsx)(p.default.Fragment,{children:a?a(e,{isExpanded:r,isSelected:r,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));Bd.displayName=`MonthView`;var Vd={sm:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,md:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`,lg:`text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5`,small:`text-dos-text-xs px-2 py-0.5 min-h-6 gap-1`,medium:`text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5`},Hd=({children:e,variant:t=`default`,size:n=`md`,color:r,selected:a=!1,closeable:o=!1,disabled:s=!1,onClick:c,onClose:l,className:u,"aria-label":d,...f})=>{let p=!!c&&!s,{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gl(`tag-exit`,l),_=e=>{s||((e.key===`Enter`||e.key===` `)&&c&&(e.preventDefault(),c(e)),(e.key===`Delete`||e.key===`Backspace`)&&o&&l&&(e.preventDefault(),h()))},v=()=>{s||h()},y=r?{"--tag-color":`var(`+r+`)`}:void 0;return(0,i.jsxs)(`span`,{className:$(`inline-flex items-center justify-center`,`font-dos leading-none whitespace-nowrap select-none`,`rounded-dos-sm uppercase tracking-wider`,Vd[n]||Vd.md,`eidotter-tag`,`eidotter-tag--`+t,a&&`eidotter-tag--selected`,s&&`opacity-50 cursor-not-allowed`,m&&`eidotter-tag--closing`,p&&`cursor-pointer`,u),style:y,onClick:p?e=>!s&&c?.(e):void 0,onKeyDown:_,onAnimationEnd:g,"aria-label":d,"aria-pressed":p?a||!1:void 0,"aria-disabled":s||void 0,"data-variant":t,...p?{role:`button`,tabIndex:0}:{},...f,children:[(0,i.jsx)(`span`,{className:`eidotter-tag__content`,children:e}),o&&(0,i.jsx)(K,{className:`eidotter-tag__close`,"aria-label":`Remove `+(typeof e==`string`?e:`tag`),excludeFromTabOrder:p,onPress:v,isDisabled:s,children:`[x]`})]})},Ud={tight:`gap-1`,normal:`gap-2`,loose:`gap-3`},Wd=({children:e,gap:t=`normal`,wrap:n=!0,className:r,"aria-label":a,...o})=>(0,i.jsx)(`div`,{className:$(`flex`,n?`flex-wrap`:`flex-nowrap`,Ud[t]||Ud.normal,r),role:`group`,"aria-label":a,...o,children:e}),Gd=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--day`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--day`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsx)(Id,{entry:e,isSelected:a,isExpanded:a,onSelect:n,footer:e.tags&&e.tags.length>0?(0,i.jsx)(Wd,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(Hd,{size:`small`,variant:`outlined`,children:e},e))}):void 0});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:a,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));Gd.displayName=`DayView`;var Kd=p.default.memo(({buckets:e,selectedEntryId:t,onEntrySelect:n,renderEntry:r})=>(0,i.jsx)(`div`,{className:`timeline-view timeline-view--hour`,role:`list`,children:e.map(e=>(0,i.jsxs)(`div`,{className:`timeline-view__bucket timeline-view__bucket--hour`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:e.label,labelPosition:`right`})}),(0,i.jsx)(`div`,{className:`timeline-view__content`,children:e.entries.map(e=>{let a=t===e.id,o=()=>(0,i.jsxs)(Id,{entry:e,isSelected:a,isExpanded:!0,onSelect:n,footer:(0,i.jsxs)(`div`,{className:`timeline-view__entry-footer`,children:[e.tags&&e.tags.length>0&&(0,i.jsx)(Wd,{gap:`tight`,"aria-label":`Tags for ${e.title}`,children:e.tags.map(e=>(0,i.jsx)(Hd,{size:`small`,variant:`outlined`,children:e},e))}),e.type&&(0,i.jsx)(Lu,{variant:`default`,size:`small`,children:e.type})]}),children:[(0,i.jsx)(`time`,{className:`timeline-view__timestamp`,dateTime:e.date,children:ud(e.date)}),e.kind===`text`&&e.content!==void 0&&(0,i.jsx)(`div`,{className:`timeline-view__entry-content`,children:e.content})]});return(0,i.jsx)(p.default.Fragment,{children:r?r(e,{isExpanded:!0,isSelected:a,defaultRender:o}):o()},e.id)})})]},e.periodStart))}));Kd.displayName=`HourView`;var qd=({zoomLevel:e,buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o})=>{switch(e){case`year`:return(0,i.jsx)(kd,{buckets:t,onBucketClick:a});case`month`:return(0,i.jsx)(Bd,{buckets:t,selectedEntryId:n,onEntrySelect:r,onBucketClick:a,renderEntry:o});case`day`:return(0,i.jsx)(Gd,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});case`hour`:return(0,i.jsx)(Kd,{buckets:t,selectedEntryId:n,onEntrySelect:r,renderEntry:o});default:return e}},Jd=({entries:e,selectedEntryId:t,onSelect:n,onDeselect:r,renderEntry:a,formatDate:o})=>{let s=e.find(e=>e.id===t)??null,c=(0,p.useRef)(null),l=(0,p.useRef)(null),u=(0,p.useRef)(t);(0,p.useEffect)(()=>{let e=u.current;u.current=t,t&&t!==e?requestAnimationFrame(()=>l.current?.focus()):!t&&e&&requestAnimationFrame(()=>{c.current?.querySelector(`[data-entry-id="${e}"]`)?.focus()})},[t]);let d=(0,p.useCallback)(r=>{if(e.length===0)return;let i=e.findIndex(e=>e.id===t),a=i===-1?r>0?-1:e.length:i;n(e[Math.max(0,Math.min(e.length-1,a+r))].id)},[e,t,n]),f=(0,p.useCallback)(e=>{e.key===`ArrowDown`?(e.preventDefault(),d(1)):e.key===`ArrowUp`?(e.preventDefault(),d(-1)):e.key===`Escape`&&t&&(e.preventDefault(),r())},[d,r,t]);return(0,i.jsxs)(`div`,{className:$(`eidotter-timeline-md`,s&&`eidotter-timeline-md--detail-open`),children:[(0,i.jsx)(`nav`,{ref:c,className:`eidotter-timeline-md__rail`,"aria-label":`Timeline entries`,onKeyDown:f,children:(0,i.jsx)(`ul`,{className:`eidotter-timeline-md__rail-list`,children:e.map(e=>{let r=e.id===t;return(0,i.jsx)(`li`,{className:`eidotter-timeline-md__rail-item`,children:(0,i.jsxs)(`button`,{type:`button`,"data-entry-id":e.id,className:$(`eidotter-timeline-md__rail-button`,r&&`eidotter-timeline-md__rail-button--active`),"aria-current":r?`true`:void 0,onClick:()=>n(e.id),children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-node`,"aria-hidden":`true`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`sm`,variant:`default`,isActive:r})}),(0,i.jsxs)(`span`,{className:`eidotter-timeline-md__rail-text`,children:[(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-date`,children:o(e.date)}),(0,i.jsx)(`span`,{className:`eidotter-timeline-md__rail-title`,children:e.title})]})]})},e.id)})})}),(0,i.jsx)(`div`,{ref:l,className:`eidotter-timeline-md__detail`,role:`region`,"aria-label":`Entry detail`,tabIndex:-1,children:s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-md__back`,onClick:r,children:`‹ BACK`}),(0,i.jsx)(`div`,{className:`eidotter-timeline-md__detail-body`,children:(e=>{let t=()=>(0,i.jsx)(Id,{entry:e,isSelected:!0,isExpanded:!0});return a?a(e,{isExpanded:!0,isSelected:!0,defaultRender:t}):t()})(s)},s.id)]}):(0,i.jsxs)(`div`,{className:`eidotter-timeline-md__detail-empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> Select an entry to read.`}),(0,i.jsx)(`p`,{children:`_`})]})})]})};Jd.displayName=`MasterDetailLayout`;var Yd=({entries:e,mode:t=`interactive`,zoomLevel:n,defaultZoomLevel:r=`month`,onZoomChange:a,selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c,sortOrder:l=`desc`,scrollToZoom:u=!0,keyboardShortcuts:d=!0,renderEntry:f,pageSize:m=10,onLoadMore:h,...g})=>{let _=t===`static`,v=t===`feed`,y=_||v,b=t===`master-detail`,x=(0,p.useRef)(null),S=(0,p.useRef)(null),[C,w]=(0,p.useState)(``),{zoomLevel:T,canZoomIn:E,canZoomOut:D,breadcrumbs:O,currentPeriod:k,isDrillDownEnabled:A,drillDown:j,drillUp:M,reset:N}=Qu({zoomLevel:n,defaultZoomLevel:r,onZoomChange:a}),{selectedEntryId:ee,select:te,toggle:P,deselect:ne}=$u({selectedEntryId:o,defaultSelectedEntryId:s,onSelectEntry:c}),re=(0,p.useMemo)(()=>Ed(e,T,l),[e,T,l]),ie=O.length>0?[`year`,`month`,`day`,`hour`][O.length-1]:null,F=(0,p.useMemo)(()=>k&&ie?Td(re,k,ie):re,[re,k,ie]),I=(0,p.useCallback)(e=>{E&&(j(e.periodStart,e.label),w(`Showing ${T===`year`?`months`:T===`month`?`days`:`hours`} in ${e.label}`))},[E,j,T]),L=(0,p.useCallback)(()=>{F.length>0&&I(F[0])},[F,I]);(0,p.useEffect)(()=>{if(y||b||!u)return;let e=x.current;if(!e)return;let t=null,n=e=>{!e.ctrlKey&&!e.metaKey||(e.preventDefault(),t===null&&(t=requestAnimationFrame(()=>{e.deltaY>0&&M(),t=null})))};return e.addEventListener(`wheel`,n,{passive:!1}),()=>{e.removeEventListener(`wheel`,n),t!==null&&cancelAnimationFrame(t)}},[y,b,u,A,E,M]),(0,p.useEffect)(()=>{if(y||b||!d)return;let e=e=>{if(!x.current?.contains(document.activeElement)&&document.activeElement!==x.current)return;let t=e.ctrlKey||e.metaKey;t&&(e.key===`=`||e.key===`+`)?(e.preventDefault(),L()):t&&e.key===`-`?(e.preventDefault(),M()):t&&e.key===`0`?(e.preventDefault(),N(),w(`Showing all years`)):e.key===`Escape`&&(e.preventDefault(),ne())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[y,b,d,L,M,N,ne]);let ae=(0,p.useCallback)(e=>I(e),[I]),oe=(0,p.useRef)(O.length);(0,p.useEffect)(()=>{if(O.length!==oe.current){oe.current=O.length;let e=S.current?.querySelector(`.eidotter-timeline-card__trigger, .timeline-view__bucket-button, .eidotter-timeline-node[role="button"]`);e&&requestAnimationFrame(()=>e.focus())}},[O.length]);let R=(0,p.useMemo)(()=>!y&&!b?e:[...e].sort((e,t)=>{let n=e.date.localeCompare(t.date);return l===`desc`?-n:n}),[y,b,e,l]),z=Math.max(1,m),[se,ce]=(0,p.useState)(z);(0,p.useEffect)(()=>{v&&ce(e=>{let t=R.length;return t===0?z:e>t?Math.max(z,t):e})},[v,z,R.length]);let le=(0,p.useMemo)(()=>v?R.slice(0,se):R,[v,R,se]),ue=v&&se<R.length,de=(0,p.useCallback)(()=>{let e=Math.min(se+z,R.length);e<=se||(ce(e),h?.(e))},[se,z,R.length,h]),fe=(0,p.useMemo)(()=>new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`short`,day:`numeric`}),[]),pe=e=>{try{return fe.format(new Date(e))}catch{return e}};return(0,i.jsxs)(`div`,{ref:x,...g,className:$(`font-dos text-dos-text-brand p-4`,`eidotter-timeline-container`,_&&`eidotter-timeline-container--static`,v&&`eidotter-timeline-container--feed`,b&&`eidotter-timeline-container--master-detail`,g.className),role:`region`,"aria-label":g[`aria-label`]??`Timeline`,tabIndex:y||b?void 0:0,children:[(0,i.jsx)(`div`,{className:`sr-only`,role:`status`,"aria-live":`polite`,"aria-atomic":`true`,children:C}),!y&&!b&&(0,i.jsx)(Dd,{zoomLevel:T,canZoomIn:E,canZoomOut:D,onZoomIn:L,onZoomOut:M,onReset:N,breadcrumbs:A?O:[],onBreadcrumbClick:e=>{let t=O.length-1-e;for(let e=0;e<t;e++)M()}}),(0,i.jsx)(`div`,{ref:S,children:e.length===0?(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsx)(`p`,{children:`C:\\TIMELINE> No entries found.`}),(0,i.jsx)(`p`,{children:`_`})]}):_?(0,i.jsx)(Od,{children:(0,i.jsx)(`div`,{className:`eidotter-timeline-container__static`,role:`list`,"aria-label":`Timeline`,children:R.map(e=>{let t=()=>(0,i.jsx)(Id,{entry:e,isSelected:!1,isExpanded:!0});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__static-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:pe(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:!0,isSelected:!1,defaultRender:t}):t()]},e.id)})})}):v?(0,i.jsxs)(Od,{children:[(0,i.jsx)(`div`,{className:`eidotter-timeline-container__feed`,role:`list`,"aria-label":`Timeline`,children:le.map(e=>{let t=ee===e.id,n=()=>(0,i.jsx)(Id,{entry:e,isSelected:t,isExpanded:t,onSelect:P});return(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__feed-entry`,role:`listitem`,children:[(0,i.jsx)(`div`,{className:`timeline-view__node`,children:(0,i.jsx)(Xu,{shape:`circle`,size:`medium`,variant:`default`,label:pe(e.date),labelPosition:`right`})}),f?f(e,{isExpanded:t,isSelected:t,defaultRender:n}):n()]},e.id)})}),ue&&(0,i.jsx)(`button`,{type:`button`,className:`eidotter-timeline-container__load-more`,onClick:de,"aria-label":`Load more entries (showing ${se} of ${R.length})`,children:`LOAD MORE...`})]}):b?(0,i.jsx)(Jd,{entries:R,selectedEntryId:ee,onSelect:te,onDeselect:ne,renderEntry:f,formatDate:pe}):F.length===0&&k?(0,i.jsx)(Od,{children:(0,i.jsxs)(`div`,{className:`eidotter-timeline-container__empty`,role:`status`,children:[(0,i.jsxs)(`p`,{children:[`C:\\TIMELINE> No entries in `,O[O.length-1]?.label??`this period`,`.`]}),(0,i.jsx)(`p`,{children:`_`})]})}):(0,i.jsx)(Od,{children:(0,i.jsx)(qd,{zoomLevel:T,buckets:F,selectedEntryId:ee,onEntrySelect:P,onBucketClick:ae,renderEntry:f})})})]})},Xd=(0,p.forwardRef)(({isOpen:e,onOpenChange:t,onClose:n,title:r,children:a,footer:o,className:s},c)=>{let l=(0,p.useRef)(e),u=(0,p.useRef)(!1);(0,p.useEffect)(()=>{e!==l.current&&(l.current=e,u.current||(t?.(e),e||n?.()),u.current=!1)},[e,t,n]);let d=e=>{u.current=!0,t?.(e),e||n?.()};return(0,i.jsx)(Ls,{isOpen:e,onOpenChange:d,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-modal-overlay`,e&&`eidotter-modal-overlay--entering`,t&&`eidotter-modal-overlay--exiting`),children:(0,i.jsx)(Fs,{className:({isEntering:e,isExiting:t})=>$(`eidotter-modal`,e&&`eidotter-modal--entering`,t&&`eidotter-modal--exiting`),children:(0,i.jsxs)(Ds,{ref:c,"aria-label":r,className:$(`eidotter-modal__container outline-none`,s),children:[(0,i.jsxs)(`header`,{className:`eidotter-modal__header`,children:[(0,i.jsx)(`h2`,{className:`eidotter-modal__title`,children:r}),(0,i.jsx)(K,{className:`eidotter-modal__close`,onPress:()=>d(!1),"aria-label":`Close modal`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]}),(0,i.jsx)(`div`,{className:`eidotter-modal__body`,children:a}),o&&(0,i.jsx)(`footer`,{className:`eidotter-modal__footer`,children:o})]})})})});Xd.displayName=`Modal`;var Zd=`░▒▓█│┤┐└┴┬├─┼`,Qd=4;function $d(e,t){let{speed:n=40,characters:r=Zd,enabled:i=!0,delay:a=0}=t??{},[o,s]=(0,p.useState)(()=>{if(!i||Wl())return e;let t=``;for(let n=0;n<e.length;n++)e[n]===` `?t+=` `:t+=r[Math.floor(Math.random()*r.length)];return t}),[c,l]=(0,p.useState)(!1),u=(0,p.useRef)(0);return(0,p.useEffect)(()=>{if(!i||Wl()){s(e),l(!1);return}let t=0,o=0,c=0,d=a;l(!0);let f=i=>{c||=i;let a=i-c;if(d>0){d-=a,c=i,u.current=requestAnimationFrame(f);return}if(a>=n){if(c=i,o++,o>=Qd&&(t++,o=0),t>=e.length){s(e),l(!1);return}let n=``;for(let i=0;i<e.length;i++)i<t?n+=e[i]:e[i]===` `?n+=` `:n+=r[Math.floor(Math.random()*r.length)];s(n)}u.current=requestAnimationFrame(f)};return u.current=requestAnimationFrame(f),()=>{u.current&&cancelAnimationFrame(u.current)}},[e,n,r,i,a]),{text:o,isScrambling:c}}var ef={sm:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},md:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},lg:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`},small:{root:`gap-0.5`,label:`text-dos-text-xs`,value:`text-dos-display-xs`,trend:`text-dos-text-xs`},medium:{root:`gap-1`,label:`text-dos-text-sm`,value:`text-dos-display-sm`,trend:`text-dos-text-sm`},large:{root:`gap-1.5`,label:`text-dos-text-md`,value:`text-dos-display-md`,trend:`text-dos-text-md`}},tf={up:`text-dos-text-success`,down:`text-dos-text-error`,neutral:`text-dos-text-brand`},nf={up:`▲`,down:`▼`,neutral:`►`},rf={up:`increasing`,down:`decreasing`,neutral:`unchanged`},af=(0,p.forwardRef)(({label:e,value:t,trend:n,trendValue:r,size:a=`md`,scramble:o=!1,className:s,...c},l)=>{let{text:u}=$d(String(t),{speed:30,enabled:o}),d=o?u:String(t),f=ef[a]||ef.md;return(0,i.jsxs)(`div`,{ref:l,className:$(`flex flex-col font-dos`,`eidotter-stat`,f.root,s),...c,children:[(0,i.jsx)(`span`,{className:$(`text-dos-text-brand uppercase tracking-wider leading-tight`,f.label),children:e}),(0,i.jsx)(`span`,{className:$(`text-dos-text-accent font-bold leading-none tabular-nums`,f.value),children:d}),n&&(0,i.jsxs)(`span`,{className:$(`inline-flex items-center gap-1 leading-none`,tf[n],f.trend),"aria-label":`Trend: ${rf[n]}${r?`, ${r}`:``}`,children:[(0,i.jsx)(`span`,{className:`text-[0.8em]`,"aria-hidden":`true`,children:nf[n]}),r&&(0,i.jsx)(`span`,{className:`tabular-nums`,children:r})]})]})});af.displayName=`Stat`;var of={sm:`eidotter-filter-bar--sm`,md:`eidotter-filter-bar--md`,lg:`eidotter-filter-bar--lg`,small:`eidotter-filter-bar--sm`,medium:`eidotter-filter-bar--md`,large:`eidotter-filter-bar--lg`},sf=({items:e,activeIds:t,defaultActiveIds:n=[],mode:r=`multi`,showAll:a=!1,allLabel:o=`All`,size:s=`md`,onChange:c,className:l,...u})=>{let[d,f]=(0,p.useState)(n),m=(0,p.useRef)(null),h=t!==void 0,g=h?t:d,_=e.filter(e=>!e.disabled).map(e=>e.id),v=g.length===0,y=(0,p.useCallback)(e=>{h||f(e),c?.(e)},[h,c]),b=(0,p.useCallback)(e=>{y(r===`single`?g.includes(e)?[]:[e]:g.includes(e)?g.filter(t=>t!==e):[...g,e])},[r,g,y]),x=(0,p.useCallback)(()=>{y([])},[y]),S=(0,p.useCallback)(()=>m.current?Array.from(m.current.querySelectorAll(`button:not([disabled])`)):[],[]),C=(0,p.useCallback)(e=>{let t=S(),n=t.indexOf(e.target);if(n===-1)return;let r=null;switch(e.key){case`ArrowLeft`:case`ArrowUp`:e.preventDefault(),r=n>0?n-1:t.length-1;break;case`ArrowRight`:case`ArrowDown`:e.preventDefault(),r=n<t.length-1?n+1:0;break;case`Home`:e.preventDefault(),r=0;break;case`End`:e.preventDefault(),r=t.length-1;break}r!==null&&t[r].focus()},[S]),w=a&&v?`__all__`:g.length>0?g[0]:a?`__all__`:_[0]||null;return(0,i.jsxs)(`div`,{ref:m,className:$(`inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full`,`bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm`,`eidotter-filter-bar`,of[s]||of.md,l),role:`toolbar`,onKeyDown:C,...u,children:[a&&(0,i.jsx)(K,{className:$(`eidotter-filter-bar__item`,`eidotter-filter-bar__item--all`,v&&`eidotter-filter-bar__item--active`),"aria-pressed":v,excludeFromTabOrder:w!==`__all__`,onPress:x,children:(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:o})}),e.map(e=>{let t=g.includes(e.id),n=t&&e.color?{"--filter-bar-item-color":`var(${e.color})`}:void 0;return(0,i.jsxs)(K,{className:$(`eidotter-filter-bar__item`,t&&`eidotter-filter-bar__item--active`,e.disabled&&`eidotter-filter-bar__item--disabled`),"aria-pressed":t,excludeFromTabOrder:w!==e.id,isDisabled:e.disabled,onPress:()=>b(e.id),style:n,children:[(0,i.jsx)(`span`,{className:`eidotter-filter-bar__label`,children:e.label}),e.count!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-filter-bar__count`,"aria-label":`${e.count} items`,children:e.count})]},e.id)})]})},cf=e=>{if(!e)return!1;try{let t=new URL(e);return[`http:`,`https:`,`mailto:`].includes(t.protocol)}catch{return!1}};function lf(e){try{let{hostname:t}=new URL(e);return`https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`}catch{return null}}var uf=({children:e,content:t,defaultExpanded:n=!1,expanded:r,onToggle:a,sources:o=[],className:s,...c})=>{let[l,u]=(0,p.useState)(n),[d,f]=(0,p.useState)({}),m=(0,p.useRef)(n),h=(0,p.useId)(),g=(0,p.useRef)(null),_=r!==void 0,v=_?r:l;v&&(m.current=!0);let y=()=>{let e=!v;_||u(e),a?.(e)};return(0,i.jsxs)(`span`,{className:$(`eidotter-inline-expand`,v&&`eidotter-inline-expand--expanded`,s),onKeyDown:e=>{e.key===`Escape`&&v&&(e.stopPropagation(),y(),g.current?.focus())},...c,children:[(0,i.jsxs)(K,{ref:g,className:`eidotter-inline-expand__trigger`,"aria-expanded":v,"aria-controls":h,onPress:y,children:[e,(0,i.jsx)(`span`,{className:`eidotter-inline-expand__indicator`,"aria-hidden":`true`,children:v?`[-]`:`[+]`})]}),(0,i.jsx)(`span`,{id:h,className:`eidotter-inline-expand__content`,role:`region`,inert:!v,children:(0,i.jsxs)(`span`,{className:`eidotter-inline-expand__content-clip`,children:[(0,i.jsx)(`span`,{className:`eidotter-inline-expand__inner`,children:t}),o.length>0&&(0,i.jsx)(`span`,{className:`eidotter-inline-expand__sources`,role:`list`,children:o.map(e=>(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-item`,role:`listitem`,children:(0,i.jsxs)(`a`,{href:cf(e.url)?e.url:void 0,className:`eidotter-inline-expand__source-link`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`${e.title} (opens external website)`,children:[(()=>{if(!m.current)return(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`});let t=d[e.url];if(t===`icon`)return(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`});let n=!!e.favicon&&cf(e.favicon);if(!t&&n)return(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:e.favicon,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`google`}))});let r=lf(e.url);return r?(0,i.jsx)(`img`,{className:`eidotter-inline-expand__source-favicon`,src:r,alt:``,width:16,height:16,decoding:`async`,onError:()=>f(t=>({...t,[e.url]:`icon`}))}):(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-icon`,"aria-hidden":`true`,children:`[→]`})})(),(0,i.jsx)(`span`,{className:`eidotter-inline-expand__source-title`,children:e.title})]})},e.url))})]})})]})},df={horizontal:`h-px w-full`,vertical:`w-px h-full`},ff=({orientation:e=`horizontal`,className:t})=>(0,i.jsx)(`div`,{role:`separator`,"aria-orientation":e,className:$(`shrink-0 bg-dos-border-default`,`eidotter-separator`,df[e],t)}),pf={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},mf=({title:e,count:t,tone:n=`default`,children:r,className:a})=>(0,i.jsxs)(`h3`,{className:$(`eidotter-section-heading`,`font-dos uppercase tracking-wider mb-2 text-dos-text-sm`,pf[n],a),children:[e,t!==void 0&&` (${t})`,r]});mf.displayName=`SectionHeading`;var hf={default:`text-dos-text-primary`,error:`text-dos-error`,warning:`text-dos-warning`,info:`text-dos-info`},gf=({title:e,description:t,tone:n=`default`,action:r,className:a})=>(0,i.jsxs)(`div`,{className:$(`eidotter-empty-state`,`flex flex-col gap-2 py-6 text-center`,a),role:`status`,children:[(0,i.jsx)(`p`,{className:$(`font-dos text-dos-text-sm`,hf[n]),children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted`,children:t}),r&&(0,i.jsx)(`div`,{className:`mt-2`,children:r})]});gf.displayName=`EmptyState`;var _f={default:`text-dos-text-primary`,muted:`text-dos-text-muted line-through`,error:`text-dos-error`},vf=({checked:e,onToggle:t,disabled:n,pending:r,ariaLabel:a,labelTone:o=`default`,label:s,children:c,note:l,leading:u,trailing:d,className:f})=>(0,i.jsxs)(`div`,{className:$(`eidotter-checklist-row`,`flex items-start gap-3 py-2 border-b border-dos-border-disabled`,r&&`opacity-50`,f),children:[(0,i.jsx)(`button`,{type:`button`,role:`checkbox`,"aria-checked":e,onClick:t,disabled:n,"aria-label":a??(e?`Mark as incomplete`:`Mark as complete`),className:$(`shrink-0 pt-0.5 font-dos text-dos-text-sm`,`text-dos-text-primary hover:text-dos-text-accent`,`cursor-pointer disabled:cursor-not-allowed`),children:e?`[x]`:`[ ]`}),(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[u&&(0,i.jsx)(`div`,{className:`mb-1`,children:u}),s!==void 0&&(0,i.jsx)(`div`,{className:$(`font-dos text-dos-text-sm`,_f[o]),children:s}),c,l&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:l})]}),d&&(0,i.jsx)(`div`,{className:`flex items-center gap-2 shrink-0`,children:d})]});vf.displayName=`ChecklistRow`;var yf=({value:e,label:t=`[cp]`,copiedLabel:n=`[OK]`,title:r=`Copy to clipboard`,copiedTitle:a=`Copied!`,className:o})=>{let[s,c]=(0,p.useState)(!1),l=(0,p.useRef)(null),u=(0,p.useCallback)(()=>{c(!0),l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(!1),1500)},[]),d=(0,p.useCallback)(()=>{let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();try{let e=document.execCommand(`copy`);return t.remove(),e}catch{return t.remove(),!1}},[e]);return(0,i.jsx)(`button`,{type:`button`,onClick:(0,p.useCallback)(()=>{navigator.clipboard?.writeText?navigator.clipboard.writeText(e).then(u).catch(()=>{d()&&u()}):d()&&u()},[e,u,d]),title:s?a:r,"aria-label":s?a:r,className:$(`eidotter-copy-button`,`font-dos text-dos-text-xs px-1`,`text-dos-link hover:text-dos-link-hover cursor-pointer`,o),children:s?n:t})};yf.displayName=`CopyButton`;var bf=({value:e,options:t,onChange:n,id:r,disabled:a,className:o,"aria-label":s})=>(0,i.jsx)(`select`,{id:r,"aria-label":s,value:e,disabled:a,onChange:e=>n(e.target.value),style:{fontSize:`var(--typography-font-size-text-xs)`},className:$(`eidotter-select`,`min-w-[5rem] cursor-pointer font-dos px-2 py-1`,`bg-dos-bg-secondary text-dos-text-primary border border-dos-border-default`,`hover:border-dos-text-accent focus:border-dos-text-accent focus:outline-none`,`disabled:cursor-not-allowed disabled:opacity-50`,o),children:t.map(e=>(0,i.jsx)(`option`,{value:e.value,children:e.label},e.value))});bf.displayName=`Select`;var xf=({label:e,note:t,value:n,copyValue:r,trailing:a,pending:o,className:s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-ledger-row`,`flex items-center gap-3 py-2 border-b border-dos-border-disabled`,o&&`opacity-50`,s),children:[(0,i.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,i.jsx)(`div`,{className:`font-dos text-dos-text-sm text-dos-text-primary`,children:e}),t&&(0,i.jsx)(`p`,{className:`font-dos text-dos-text-xs text-dos-text-muted mt-0.5`,children:t})]}),(0,i.jsxs)(`div`,{className:`flex items-center gap-1 shrink-0`,children:[(0,i.jsx)(`span`,{className:`font-dos text-dos-text-sm text-dos-text-accent tabular-nums`,children:n}),r!==void 0&&(0,i.jsx)(yf,{value:r}),a]})]});xf.displayName=`LedgerRow`;var Sf=({label:e,value:t,max:n=100,valueSuffix:r=`%`,showValue:a=!0,className:o,"aria-label":s})=>{let c=n===0?0:Math.min(100,Math.max(0,Math.round(t/n*100)));return(0,i.jsxs)(`div`,{className:$(`eidotter-labeled-progress`,`flex items-center gap-3`,o),children:[e&&(0,i.jsx)(`span`,{className:`eidotter-labeled-progress__label font-dos text-dos-text-sm text-dos-text-muted shrink-0`,children:e}),(0,i.jsx)(`div`,{role:`progressbar`,"aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":100,"aria-label":s??(typeof e==`string`?e:`${c}${r}`),className:`eidotter-labeled-progress__track relative h-3 flex-1 overflow-hidden bg-dos-bg-primary border border-dos-border-disabled`,children:(0,i.jsx)(`div`,{className:`eidotter-labeled-progress__fill absolute inset-y-0 left-0 w-full bg-dos-bg-accent`,style:{transform:`scaleX(${c/100})`}})}),a&&(0,i.jsxs)(`span`,{className:`eidotter-labeled-progress__value font-dos text-dos-text-sm text-dos-text-accent tabular-nums shrink-0`,children:[c,r]})]})};Sf.displayName=`LabeledProgress`;var Cf=(0,p.forwardRef)(({children:e,speed:t,characters:n,delay:r,className:a,...o},s)=>{let{text:c,isScrambling:l}=$d(e,{speed:t,characters:n,delay:r});return(0,i.jsx)(`span`,{ref:s,className:$(`eidotter-text-scramble`,l&&`eidotter-text-scramble--scrambling`,a),...o,children:c})});Cf.displayName=`TextScramble`;var wf={retro:`eidotter-nav--retro`,modern:`eidotter-nav--modern`},Tf=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let o=r||`a`;return(0,i.jsx)(`nav`,{className:$(`eidotter-nav eidotter-nav--desktop`,wf[n],a),"aria-label":`Main navigation`,children:(0,i.jsx)(`ul`,{className:`eidotter-nav__desktop-list`,children:e.map(e=>(0,i.jsx)(`li`,{className:`eidotter-nav__desktop-item`,children:(0,i.jsx)(o,{href:e.href,className:$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`),"aria-current":t===e.href?`page`:void 0,children:e.label})},e.href))})})},Ef=({items:e,activeHref:t,variant:n=`retro`,linkComponent:r,className:a})=>{let[o,s]=(0,p.useState)(!1),c=r||`a`,l=(0,p.useRef)(null),u=(0,p.useRef)(null),d=(0,p.useRef)(null),f=(0,p.useRef)(!1),m=(0,p.useCallback)(()=>s(e=>!e),[]),h=(0,p.useCallback)(()=>s(!1),[]);return(0,p.useEffect)(()=>{if(!o)return;let e=e=>{e.key===`Escape`&&h()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[o,h]),(0,p.useEffect)(()=>{o?u.current?.focus():f.current&&l.current?.focus(),f.current=o},[o]),(0,i.jsxs)(`div`,{className:$(`eidotter-nav eidotter-nav--mobile`,wf[n],a),children:[(0,i.jsx)(`button`,{ref:l,onClick:m,className:`eidotter-nav__menu-trigger`,"aria-label":o?`Close menu`:`Open menu`,"aria-expanded":o,"aria-controls":`eidotter-mobile-nav-panel`,children:`MENU`}),o&&(0,i.jsx)(`div`,{className:`eidotter-nav__overlay`,onClick:h,"aria-hidden":`true`}),(0,i.jsxs)(`nav`,{ref:d,id:`eidotter-mobile-nav-panel`,className:$(`eidotter-nav__panel`,o&&`eidotter-nav__panel--open`),"aria-label":`Mobile navigation`,inert:!o,onKeyDown:e=>{if(e.key!==`Tab`||!o)return;let t=d.current?.querySelectorAll(`a[href], button:not([disabled])`);if(!t||t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())},children:[(0,i.jsx)(`div`,{className:`eidotter-nav__panel-header`,children:(0,i.jsx)(`button`,{ref:u,onClick:h,className:`eidotter-nav__close`,"aria-label":`Close menu`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})}),(0,i.jsx)(`ul`,{className:`eidotter-nav__list`,children:e.map(e=>(0,i.jsx)(`li`,{className:`eidotter-nav__item`,children:(0,i.jsx)(c,{href:e.href,className:$(`eidotter-nav__link`,t===e.href&&`eidotter-nav__link--active`),"aria-current":t===e.href?`page`:void 0,onClick:h,children:e.label})},e.href))})]})]})},Df=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Ef,{...e}),(0,i.jsx)(Tf,{...e})]}),Of={user:`eidotter-chat-message--user`,assistant:`eidotter-chat-message--assistant`,system:`eidotter-chat-message--system`},kf=({role:e,content:t,isStreaming:n=!1,userPrefix:r=`>`,assistantPrefix:a=`C:\\>`,className:o,...s})=>{let c=e===`user`?r:e===`assistant`?a:``;return(0,i.jsxs)(`div`,{className:$(`flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words`,Of[e],n&&`eidotter-chat-message--streaming`,o),...s,children:[c&&(0,i.jsx)(`span`,{className:`shrink-0 select-none`,"aria-hidden":`true`,children:c}),(0,i.jsx)(`span`,{className:`min-w-0`,children:t}),n&&(0,i.jsx)(`span`,{className:`eidotter-chat-message__cursor`,"aria-hidden":`true`,children:`█`})]})},Af=({messages:e,isStreaming:t=!1,userPrefix:n,assistantPrefix:r,className:a,...o})=>{let s=(0,p.useRef)(null);(0,p.useEffect)(()=>{s.current?.scrollIntoView?.({behavior:`smooth`})},[e.length,t]);let c=$(`flex-1 overflow-y-auto font-dos p-2 min-h-0`,`eidotter-chat-history`,a);return e.length===0?(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsx)(`div`,{className:`flex items-center justify-center h-full min-h-16`,children:(0,i.jsx)(`span`,{className:`text-dos-text-muted font-dos text-dos-text-md`,children:`Awaiting input...`})})}):(0,i.jsx)(`div`,{className:c,role:`log`,"aria-live":`polite`,tabIndex:0,...o,children:(0,i.jsxs)(`div`,{className:`flex flex-col`,children:[e.map((a,o)=>{let s=t&&a.role===`assistant`&&o===e.length-1;return(0,i.jsx)(kf,{role:a.role,content:a.content,isStreaming:s,userPrefix:n,assistantPrefix:r},a.id)}),(0,i.jsx)(`div`,{ref:s})]})})},jf=({onSend:e,prompt:t=`>`,placeholder:n,disabled:r=!1,className:a,...o})=>{let[s,c]=(0,p.useState)(``),l=(0,p.useRef)(null);(0,p.useLayoutEffect)(()=>{let e=l.current;e&&(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)},[s]);let u=t=>{if(t.key===`Enter`&&!t.shiftKey&&!r){t.preventDefault();let n=s.trim();n&&(e(n),c(``))}};return(0,i.jsxs)(`div`,{className:$(`flex items-start font-dos text-dos-text-md p-2 cursor-text`,`text-dos-text-brand`,`eidotter-chat-input`,r&&`eidotter-chat-input--disabled`,a),onClick:()=>{!r&&l.current&&l.current.focus()},...o,children:[(0,i.jsx)(`span`,{className:`text-dos-text-brand mr-2 mt-0.5 whitespace-nowrap select-none`,"aria-hidden":`true`,children:t}),(0,i.jsxs)(`div`,{className:`flex items-start flex-1 min-w-0`,children:[(0,i.jsx)(`textarea`,{ref:l,className:`eidotter-chat-input__textarea`,value:s,onChange:e=>c(e.target.value),onKeyDown:u,placeholder:n,disabled:r,rows:1,"aria-label":`Chat input`}),(0,i.jsx)(`span`,{className:`eidotter-chat-input__cursor`,"aria-hidden":`true`,children:`█`})]})]})},Mf=({messages:e,onSend:t,isStreaming:n=!1,inputPrompt:r,userPrefix:a,assistantPrefix:o,placeholder:s,disabled:c=!1,className:l,...u})=>(0,i.jsxs)(`div`,{className:$(`flex flex-col h-full min-h-0`,l),...u,children:[(0,i.jsx)(Af,{className:`flex-1 min-h-0`,messages:e,isStreaming:n,userPrefix:a,assistantPrefix:o}),(0,i.jsx)(jf,{className:`shrink-0`,onSend:t,prompt:r,placeholder:s,disabled:c})]}),Nf=[{label:`Impressum`,href:`/impressum`},{label:`Datenschutz`,href:`/datenschutz`}],Pf=({copyright:e,links:t,linkComponent:n,children:r,className:a,...o})=>{let s=t??Nf,c=n??`a`,l=`eidotter-footer__link text-dos-text-brand no-underline`;return(0,i.jsxs)(`footer`,{className:$(`font-dos text-sm py-4 px-2 text-center`,`eidotter-footer`,a),...o,children:[(0,i.jsx)(`div`,{className:`h-px bg-dos-border-default mb-4`,role:`separator`}),r&&(0,i.jsx)(`div`,{className:`mb-3`,children:r}),s.length>0&&(0,i.jsx)(`nav`,{className:`flex justify-center items-center flex-wrap gap-2 mb-2`,"aria-label":`Footer links`,children:s.map((e,t)=>(0,i.jsxs)(p.default.Fragment,{children:[t>0&&(0,i.jsx)(`span`,{className:`text-dos-text-muted select-none eidotter-footer__dot`,"aria-hidden":`true`,children:`·`}),e.external?(0,i.jsx)(`a`,{className:l,href:e.href,target:`_blank`,rel:`noopener noreferrer`,children:e.label}):(0,i.jsx)(c,{className:l,href:e.href,children:e.label})]},e.href))}),e&&(0,i.jsxs)(`p`,{className:`text-dos-text-muted m-0`,children:[`© `,e]})]})},Ff={retro:`eidotter-header--retro`,modern:`eidotter-header--modern`},If=(0,p.forwardRef)(({brandName:e,brandHref:t=`/`,items:n,activeHref:r,variant:a=`retro`,sticky:o=!0,linkComponent:s,children:c,className:l,...u},d)=>{let f=s??`a`;return(0,i.jsxs)(`header`,{ref:d,className:$(`flex items-center justify-between px-4 py-3 font-dos`,`eidotter-header`,Ff[a],o&&`sticky top-0 z-50 bg-dos-bg-primary`,l),...u,children:[(0,i.jsx)(f,{href:t,className:$(`no-underline text-base font-bold tracking-wide`,`eidotter-header__branding`),children:c||e}),(0,i.jsx)(Tf,{items:n,activeHref:r,variant:a,linkComponent:s}),(0,i.jsx)(Ef,{items:n,activeHref:r,variant:a,linkComponent:s})]})});If.displayName=`Header`;var Lf={primary:`Info`,gray:`Info`,success:`Done`,warning:`Warning`,error:`Error`},Rf=({type:e=`primary`,title:t,children:n,actions:r,onClose:a,avatar:o,image:s,progress:c,progressLabel:l,duration:u,showIcon:d=!0,className:f})=>{let{isClosing:m,triggerClose:h,handleAnimationEnd:g}=Gl(`notification-exit`,a);(0,p.useEffect)(()=>{if(u==null||!a)return;let e=setTimeout(()=>h(),u);return()=>clearTimeout(e)},[u,a,h]);let _=d&&!o,v=c!=null;return(0,i.jsxs)(`div`,{className:$(`w-full max-w-[400px]`,`font-dos text-dos-text-sm`,`border border-dos-border-default rounded-dos-base`,`eidotter-notification`,`eidotter-notification--${e}`,m&&`eidotter-notification--closing`,f),onAnimationEnd:g,role:e===`error`?`alert`:`status`,"data-type":e,children:[s&&(0,i.jsx)(`div`,{className:`eidotter-notification__image`,children:s}),(0,i.jsxs)(`div`,{className:`flex flex-row gap-4 p-4`,children:[o&&(0,i.jsx)(`div`,{className:`eidotter-notification__avatar flex-shrink-0`,children:o}),_&&(0,i.jsx)(`div`,{className:`eidotter-notification__icon`,children:(0,i.jsx)(Ul,{name:Lf[e]||`Info`,size:`S`,"aria-label":`${e} notification`})}),(0,i.jsxs)(`div`,{className:$(`flex-1 flex flex-col gap-3 min-w-0`,a&&!_&&!o&&`pr-8`),children:[(t||n)&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[t&&(0,i.jsx)(`div`,{className:`eidotter-notification__title font-dos leading-[140%]`,children:t}),n&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos leading-[140%]`,children:n})]}),v&&(0,i.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,i.jsx)(pu,{value:c,max:100,size:`sm`,fullWidth:!0,showLabel:!1}),l&&(0,i.jsx)(`div`,{className:`eidotter-notification__text font-dos text-dos-text-xs`,children:l})]}),r&&r.length>0&&(0,i.jsx)(`div`,{className:`flex flex-row gap-3`,children:r.map((e,t)=>(0,i.jsxs)(K,{className:`eidotter-notification__action`,onPress:e.onClick,children:[e.label,e.icon]},t))})]}),a&&(0,i.jsx)(K,{className:`eidotter-notification__close`,onPress:h,"aria-label":`Close notification`,children:(0,i.jsx)(Ul,{name:`Close`,size:`S`})})]})]})};function zf(e){let t=e.trim();if(t===``||/^[#?/]/.test(t))return t;let n=/^([a-z][a-z0-9+\-.]*):/i.exec(t);if(!n)return t;let r=n[1].toLowerCase();return[`http`,`https`,`mailto`,`tel`,`ftp`,`sms`].includes(r)?t:`#`}function Bf(e,t){if(t.length===0)return e;let n=new Set((e??``).split(/\s+/).map(e=>e.trim().toLowerCase()).filter(Boolean));for(let e of t)n.add(e.toLowerCase());return Array.from(n).join(` `)}var Vf=(0,p.forwardRef)(({children:e,href:t,showGlyph:n=!0,external:r=!1,className:a,target:o,rel:s,...c},l)=>{let u=zf(t),d=o??(r?`_blank`:void 0),f=d===`_blank`,p=f?Bf(s,[`noopener`,`noreferrer`]):s,m=r&&f?`↗`:`▸`;return(0,i.jsxs)(`a`,{ref:l,href:u,target:d,rel:p,className:$(`eidotter-ilink`,r&&`eidotter-ilink--external`,a),...c,children:[(0,i.jsx)(`span`,{className:`eidotter-ilink__label`,children:e}),n&&(0,i.jsx)(`span`,{className:`eidotter-ilink__glyph`,"aria-hidden":`true`,children:m})]})});Vf.displayName=`InlineLink`;var Hf=(0,p.forwardRef)(({title:e,resolution:t,subject:n,caption:r,pins:a=[],animated:o=!0,"aria-label":s,className:c},l)=>{let u=(0,p.useId)(),d=r?u:void 0;return(0,i.jsxs)(`figure`,{ref:l,className:$(`eidotter-dos-figure`,o&&`eidotter-dos-figure--animated`,c),role:`img`,"aria-label":s,"aria-describedby":d,children:[e&&(0,i.jsx)(`div`,{className:`eidotter-dos-figure__title`,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{children:e})}),(0,i.jsxs)(`div`,{className:`eidotter-dos-figure__frame`,children:[(0,i.jsx)(`div`,{className:`eidotter-dos-figure__subject`,children:n}),a.length>0&&(0,i.jsx)(`ul`,{className:`eidotter-dos-figure__pins`,role:`list`,children:a.map((e,t)=>{let n=Number.isFinite(e.x)?Math.max(0,Math.min(100,e.x)):0,r=Number.isFinite(e.y)?Math.max(0,Math.min(100,e.y)):0;return(0,i.jsxs)(`li`,{className:`eidotter-dos-figure__pin`,style:{left:`${n}%`,top:`${r}%`},children:[(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-dot`,"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__pin-label`,children:e.label})]},`${n}-${r}-${t}`)})}),(0,i.jsx)(`span`,{className:`eidotter-dos-figure__scanline`,"aria-hidden":`true`}),t&&(0,i.jsx)(`span`,{className:`eidotter-dos-figure__resolution`,"aria-hidden":`true`,children:t})]}),r&&(0,i.jsx)(`figcaption`,{id:u,className:`eidotter-dos-figure__caption`,children:r})]})});Hf.displayName=`DosFigure`;var Uf=(0,i.jsx)(i.Fragment,{children:`↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE`});function Wf(e){let t=e.toLowerCase().split(`+`).map(e=>e.trim()),n=t[t.length-1],r=t.includes(`mod`),i=t.includes(`shift`),a=t.includes(`alt`);return e=>{if(e.key.toLowerCase()!==n)return!1;let t=typeof navigator<`u`&&/Mac|iPhone|iPad/.test(navigator.platform);return!(!(r?t?e.metaKey:e.ctrlKey:!(e.metaKey||e.ctrlKey))||i!==e.shiftKey||a!==e.altKey)}}function Gf(e,t){if(!t)return 0;let n=t.toLowerCase(),r=e.label.toLowerCase(),i=(e.keywords||[]).map(e=>e.toLowerCase());return r.startsWith(n)?100:i.some(e=>e.startsWith(n))?80:r.includes(n)?50:i.some(e=>e.includes(n))?30:(e.type||``).toLowerCase().includes(n)?10:-1}var Kf=(0,p.forwardRef)(({open:e,onOpenChange:t,items:n,placeholder:r=`SEARCH · TYPE · ▸`,hotkey:a=`mod+k`,emptyMessage:o=`NO MATCHES`,footerHint:s=Uf,renderItem:c,maxResults:l=20,className:u,"aria-label":d=`Command palette`},f)=>{let m=(0,p.useId)(),h=`${m}-listbox`,[g,_]=(0,p.useState)(``),[v,y]=(0,p.useState)(0),b=(0,p.useRef)(null),x=(0,p.useRef)(null),S=(0,p.useRef)(!1),C=(0,p.useMemo)(()=>g.trim()?n.map(e=>({item:e,score:Gf(e,g.trim())})).filter(e=>e.score>=0).sort((e,t)=>t.score-e.score).slice(0,l).map(e=>e.item):n.slice(0,l),[n,g,l]);(0,p.useEffect)(()=>{e&&(_(``),y(0))},[e]),(0,p.useEffect)(()=>{y(0)},[g]),(0,p.useEffect)(()=>{y(e=>Math.min(e,Math.max(0,C.length-1)))},[C.length]),(0,p.useEffect)(()=>{if(e){let e=window.setTimeout(()=>b.current?.focus(),10);return()=>window.clearTimeout(e)}},[e]);let w=(0,p.useRef)(e),T=(0,p.useRef)(t);(0,p.useEffect)(()=>{w.current=e},[e]),(0,p.useEffect)(()=>{T.current=t},[t]),(0,p.useEffect)(()=>{if(a===!1)return;let e=Wf(a),t=t=>{e(t)&&(t.preventDefault(),T.current(!w.current))};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[a]),(0,p.useEffect)(()=>{if(!e||C.length===0)return;let t=x.current?.querySelector(`[data-index="${v}"]`);if(t&&typeof t.scrollIntoView==`function`){S.current=!0,t.scrollIntoView({block:`nearest`});let e=window.setTimeout(()=>{S.current=!1},0);return()=>window.clearTimeout(e)}},[v,C,e]);let E=(0,p.useCallback)(e=>{e.onSelect?.(e),t(!1)},[t]);return(0,i.jsx)(Ls,{isOpen:e,onOpenChange:t,isDismissable:!0,className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal-overlay`,e&&`eidotter-cmdpal-overlay--entering`,t&&`eidotter-cmdpal-overlay--exiting`),children:(0,i.jsx)(Fs,{className:({isEntering:e,isExiting:t})=>$(`eidotter-cmdpal`,e&&`eidotter-cmdpal--entering`,t&&`eidotter-cmdpal--exiting`),children:(0,i.jsxs)(Ds,{"aria-label":d,className:$(`eidotter-cmdpal__container outline-none`,u),ref:f,children:[(0,i.jsxs)(`div`,{className:`eidotter-cmdpal__head`,"aria-hidden":`true`,children:[(0,i.jsx)(`span`,{children:`▸ JUMP TO`}),(0,i.jsx)(`span`,{className:`eidotter-cmdpal__blink`,children:`_`})]}),(0,i.jsx)(`input`,{ref:b,type:`text`,role:`combobox`,"aria-controls":h,"aria-expanded":!0,"aria-autocomplete":`list`,"aria-activedescendant":C[v]?`${m}-item-${C[v].id}`:void 0,className:`eidotter-cmdpal__input`,value:g,placeholder:r,onChange:e=>_(e.target.value),onKeyDown:e=>{if(e.key===`ArrowDown`)e.preventDefault(),y(e=>Math.min(e+1,Math.max(0,C.length-1)));else if(e.key===`ArrowUp`)e.preventDefault(),y(e=>Math.max(0,e-1));else if(e.key===`Enter`){let t=C[v];t&&(e.preventDefault(),E(t))}}}),(0,i.jsxs)(`ul`,{ref:x,id:h,role:`listbox`,"aria-label":d,className:`eidotter-cmdpal__results`,children:[C.length===0&&(0,i.jsx)(`li`,{className:`eidotter-cmdpal__empty`,role:`presentation`,children:o}),C.map((e,t)=>{let n=t===v;return(0,i.jsx)(`li`,{id:`${m}-item-${e.id}`,role:`option`,"aria-selected":n,"data-index":t,className:$(`eidotter-cmdpal__item`,n&&`eidotter-cmdpal__item--selected`),onMouseMove:()=>{S.current||y(t)},onClick:()=>E(e),children:c?c(e,n):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(`span`,{className:`eidotter-cmdpal__item-label`,children:[(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-caret`,"aria-hidden":`true`,children:n?`▸`:` `}),e.label]}),e.hint!==void 0&&(0,i.jsx)(`span`,{className:`eidotter-cmdpal__item-hint`,children:e.hint})]})},e.id)})]}),s&&(0,i.jsx)(`div`,{className:`eidotter-cmdpal__footer`,"aria-hidden":`true`,children:s})]})})})});Kf.displayName=`CmdPalette`;var qf=(0,p.forwardRef)(({size:e=32,glow:t=!0,title:n=`eiDotter`,className:r,...a},o)=>{let s=(0,p.useId)(),c=`eidotter-logo-halo-${s}`,l=`eidotter-logo-core-${s}`;return(0,i.jsxs)(`svg`,{ref:o,width:e,height:e,viewBox:`8 7 22 22`,xmlns:`http://www.w3.org/2000/svg`,role:n?`img`:void 0,"aria-hidden":n?void 0:!0,className:$(`eidotter-logo`,t&&`eidotter-logo--glow`,r),...a,children:[n?(0,i.jsx)(`title`,{children:n}):null,(0,i.jsxs)(`defs`,{children:[(0,i.jsxs)(`radialGradient`,{id:c,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 19.1) scale(13.2)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.3`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]}),(0,i.jsxs)(`radialGradient`,{id:l,cx:`0`,cy:`0`,r:`1`,gradientUnits:`userSpaceOnUse`,gradientTransform:`translate(19 18.9) scale(9.9)`,children:[(0,i.jsx)(`stop`,{stopColor:`#FFB000`,stopOpacity:`0.45`}),(0,i.jsx)(`stop`,{offset:`0.6`,stopColor:`#9A5700`,stopOpacity:`0.22`}),(0,i.jsx)(`stop`,{offset:`1`,stopColor:`#020003`,stopOpacity:`0`})]})]}),(0,i.jsx)(`path`,{d:`M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z`,fill:`url(#${c})`}),(0,i.jsx)(`path`,{d:`M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z`,fill:`url(#${l})`}),(0,i.jsx)(`path`,{d:`M20.375 9.0625H17.625V9.75H20.375V9.0625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M17.625 9.75H16.9375V10.4375H17.625V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 9.75H20.375V10.4375H22.4375V9.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 11.125H13.5V11.8125H14.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M13.5 11.8125H12.8125V12.5H13.5V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 12.5H12.125V13.875H12.8125V12.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 13.875H11.4375V15.9375H12.125V13.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 15.9375H10.75V18H11.4375V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 18H10.0625V19.375H10.75V18Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M11.4375 19.375H10.75V20.75H11.4375V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.125 20.75H11.4375V22.125H12.125V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M12.8125 22.125H12.125V23.5H12.8125V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 15.25H26.5625V17.3125H27.25V15.25Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M27.25 19.375H26.5625V20.75H27.25V19.375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M26.5625 20.75H25.875V22.125H26.5625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.875 22.125H25.1875V23.5H25.875V22.125Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 24.1875H14.1875V24.875H16.25V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.3125 24.875H16.25V25.5625H18.3125V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M20.375 25.5625H18.3125V26.25H20.375V25.5625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M22.4375 24.875H20.375V25.5625H22.4375V24.875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M24.5 24.1875H22.4375V24.875H24.5V24.1875Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M25.1875 23.5H24.5V24.1875H25.1875V23.5Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M29.3125 16.625H28.625V17.3125H29.3125V16.625Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M28.625 20.75H27.9375V21.4375H28.625V20.75Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M10.75 21.4375H10.0625V22.125H10.75V21.4375Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z`,fill:`#FFB000`}),(0,i.jsx)(`path`,{d:`M16.25 15.25H15.5625V17.3125H16.25V15.25Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M18.3125 13.875H16.25V14.5625H18.3125V13.875Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M16.25 14.5625H15.5625V15.25H16.25V14.5625Z`,fill:`#FFC233`}),(0,i.jsx)(`path`,{d:`M17.5 17C18.3284 17 19 16.3284 19 15.5C19 14.6716 18.3284 14 17.5 14C16.6716 14 16 14.6716 16 15.5C16 16.3284 16.6716 17 17.5 17Z`,fill:`#FFD97A`}),(0,i.jsx)(`path`,{d:`M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z`,fill:`#FFE8A8`})]})});qf.displayName=`Logo`;var Jf=(0,p.forwardRef)(({glow:e=!0,className:t,...n},r)=>(0,i.jsxs)(`span`,{ref:r,className:$(`eidotter-wordmark font-dos`,e&&`eidotter-wordmark--glow`,t),"aria-label":`eiDotter`,...n,children:[(0,i.jsx)(`span`,{className:`eidotter-wordmark__prefix`,"aria-hidden":`true`,children:`ei`}),(0,i.jsx)(`span`,{className:`eidotter-wordmark__body`,"aria-hidden":`true`,children:`Dotter`})]}));Jf.displayName=`Wordmark`;var Yf=(0,p.forwardRef)(({logoSize:e=32,iconOnly:t=!1,wordmarkOnly:n=!1,glow:r=!0,className:a,...o},s)=>(0,i.jsxs)(`div`,{ref:s,className:$(`eidotter-brand-lockup inline-flex items-center gap-3`,a),role:`img`,"aria-label":`eiDotter`,...o,children:[!n&&(0,i.jsx)(qf,{size:e,glow:r,title:``}),!t&&(0,i.jsx)(Jf,{glow:r,"aria-hidden":`true`})]}));Yf.displayName=`BrandLockup`;var Xf=({children:e,className:t,title:n=`AI-assisted text — being rewritten`})=>(0,i.jsxs)(`span`,{"data-provenance":`ai-draft`,className:$(`eidotter-ai-text`,t),title:n,children:[(0,i.jsx)(`span`,{className:`eidotter-ai-text__sr-only`,children:`AI-assisted: `}),e]});Xf.displayName=`AIText`;var Zf=`░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░`,Qf=`▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒`,$f=6,ep={text:3,card:3,figure:4,timeline:2},tp=({dense:e=!1,width:t=`full`})=>(0,i.jsx)(`span`,{className:$(`eidotter-skeleton__line`,t===`short`&&`eidotter-skeleton__line--short`,t===`meta`&&`eidotter-skeleton__line--meta`),children:(e?Qf:Zf).repeat($f)});function np(e,t=!1,n=!0){return Array.from({length:e},(r,a)=>(0,i.jsx)(tp,{dense:t,width:n&&a===e-1&&e>1?`short`:`full`},a))}var rp=({variant:e=`text`,lines:t,animated:n=!0,label:r=`Loading`,className:a})=>{let o=Math.max(1,t??ep[e]),s;switch(e){case`card`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tp,{dense:!0,width:`meta`}),np(o)]});break;case`figure`:s=np(o,!0,!1);break;case`timeline`:s=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{className:`eidotter-skeleton__marker border-2 border-dos-border-default`}),(0,i.jsxs)(`span`,{className:`eidotter-skeleton__entry`,children:[(0,i.jsx)(tp,{width:`meta`}),np(o)]})]});break;default:s=np(o)}return(0,i.jsx)(`div`,{role:`status`,"aria-label":r,className:$(`eidotter-skeleton font-dos text-dos-text-muted`,`eidotter-skeleton--${e}`,n&&`eidotter-skeleton--animated`,e===`card`&&`border-2 border-dos-border-default bg-dos-bg-secondary p-4`,e===`figure`&&`border-2 border-dos-border-default bg-dos-bg-secondary`,a),children:(0,i.jsx)(`div`,{"aria-hidden":`true`,className:`eidotter-skeleton__glyphs`,children:s})})};rp.displayName=`Skeleton`;var ip=({title:e,date:t,intro:n,home:r,children:a,className:o,...s})=>(0,i.jsxs)(`div`,{className:$(`eidotter-legal-page`,o),...s,children:[r&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__home`,children:r}),(0,i.jsxs)(`article`,{children:[(0,i.jsxs)(`header`,{className:`eidotter-legal-page__hero`,children:[(0,i.jsx)(`p`,{className:`eidotter-legal-page__date`,children:t}),(0,i.jsx)(`h1`,{children:e}),n&&(0,i.jsx)(`div`,{className:`eidotter-legal-page__intro`,children:n})]}),(0,i.jsx)(`div`,{className:`eidotter-legal-page__body`,children:a})]})]}),ap=(0,i.jsxs)(i.Fragment,{children:[`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`,(0,i.jsx)(`br`,{}),`Deutschland`]}),op=`Dominic Kennedy`,sp=({email:e,address:t=ap,name:n=op})=>(0,i.jsxs)(`address`,{children:[n,(0,i.jsx)(`br`,{}),t,e&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),cp=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Angaben gemäß § 5 DDG`}),(0,i.jsx)(sp,{...e})]}),lp=({email:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Kontakt`}),(0,i.jsxs)(`p`,{children:[`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),up=({name:e=op})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)`}),(0,i.jsxs)(`address`,{children:[e,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf`]})]}),dp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Inhalte`}),(0,i.jsx)(`p`,{children:`Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht.`})]}),fp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Haftung für Links`}),(0,i.jsx)(`p`,{children:`Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend.`})]}),pp=({email:e,name:t=op})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verantwortlicher`}),(0,i.jsxs)(`address`,{children:[t,(0,i.jsx)(`br`,{}),`Haus-Endt-Str. 149A`,(0,i.jsx)(`br`,{}),`40593 Düsseldorf, Deutschland`,(0,i.jsx)(`br`,{}),`E-Mail: `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e})]})]}),mp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Hosting`}),(0,i.jsx)(`p`,{children:`Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern.`}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),hp=({proxyHost:e=`e.dmnc.tech`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Webanalyse — PostHog`}),(0,i.jsxs)(`p`,{children:[`Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain `,e,` — es besteht keine direkte Verbindung zu PostHog-Servern.`]}),(0,i.jsxs)(`p`,{children:[`Es werden `,(0,i.jsx)(`strong`,{children:`keine Cookies`}),` gesetzt. PostHog speichert Daten ausschließlich im Arbeitsspeicher des Browsers (Session Memory). Personenbezogene Profile entstehen nicht, solange Sie sich nicht aktiv identifizieren.`]}),(0,i.jsxs)(`p`,{children:[(0,i.jsx)(`strong`,{children:`Session Recording:`}),` PostHog zeichnet anonymisierte Sitzungswiederholungen auf. Alle Eingabefelder werden automatisch maskiert.`]}),(0,i.jsx)(`p`,{className:`eidotter-legal-page__basis`,children:`Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse).`})]}),gp=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Schriftarten`}),(0,i.jsx)(`p`,{children:`Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt.`})]}),_p=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Verschlüsselung`}),(0,i.jsx)(`p`,{children:`Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers.`})]}),vp=({email:e,supervisoryAuthority:t=`die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen`})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`h2`,{children:`Ihre Rechte`}),(0,i.jsx)(`p`,{children:`Die DSGVO gewährt Ihnen folgende Rechte:`}),(0,i.jsxs)(`ul`,{children:[(0,i.jsx)(`li`,{children:`Auskunft (Art. 15)`}),(0,i.jsx)(`li`,{children:`Berichtigung (Art. 16)`}),(0,i.jsx)(`li`,{children:`Löschung (Art. 17)`}),(0,i.jsx)(`li`,{children:`Einschränkung der Verarbeitung (Art. 18)`}),(0,i.jsx)(`li`,{children:`Datenübertragbarkeit (Art. 20)`}),(0,i.jsx)(`li`,{children:`Widerspruch (Art. 21)`})]}),e&&(0,i.jsxs)(`p`,{children:[`Zur Ausübung Ihrer Rechte genügt eine formlose E-Mail an`,` `,(0,i.jsx)(`a`,{href:`mailto:${e}`,children:e}),`.`]}),(0,i.jsxs)(`p`,{children:[`Sie können sich bei einer Aufsichtsbehörde beschweren (Art. 77 DSGVO). Zuständig ist `,t,`.`]})]}),yp={eidotter:{displayName:`eiDotter`},spacewar:{displayName:`Spacewar!`},rizomorf:{displayName:`rizomorf`},"pomodoke-calendar":{displayName:`PomoDoke Calendar`},keepcoin:{displayName:`KeepCoin`},steuerdash:{displayName:`Steuerdash`},sella:{displayName:`sella`},lifelines:{displayName:`Lifelines`},betamorf:{displayName:`betamorf`},dmnctech:{displayName:`dmnc.tech`,url:`https://dmnc.tech`},tracker:{displayName:`Tracker`,url:`https://tracker.dmnc.tech`}},bp={Alert:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.2.0`,variants:{"type:info":{description:`Informational message`,since:`0.2.0`,usedBy:[`rizomorf`]},"type:success":{description:`Success confirmation`,since:`0.2.0`,usedBy:[`steuerdash`]},"type:warning":{description:`Warning notice`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"type:error":{description:`Error message`,since:`0.2.0`,usedBy:[`steuerdash`]},"size:small":{description:`Compact alert for inline contexts`,since:`0.2.0`},"size:large":{description:`Full-width alert with icon`,since:`0.2.0`}},platforms:{react:{path:`src/components/Alert`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.6.0`,type:`changed`,description:`Fix icon alignment and add prefers-contrast support`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects`},{version:`0.2.0`,type:`added`,description:`Initial Alert component with info/success/warning/error types`}]},Accordion:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`Collapsible section with CSS grid expand/collapse — always-in-DOM, transitions grid-template-rows`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for accordion trigger`},{version:`0.19.0`,type:`changed`,description:`Remove 500px expand cap — animate grid-template-rows to natural height`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3 — Accordion, Footer, Tabs, FilterBar)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber for theme consistency`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.2.0`,type:`added`,description:`Initial Accordion (Section) — collapsible section, inert attribute, reduced-motion safe`}]},AccordionFill:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.4.0`,originNote:`Convenience wrapper around Section — renders a list of sections from a data array`,platforms:{react:{path:`src/components/Accordion`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Tailwind-first pass alongside Accordion migration`},{version:`0.4.0`,type:`added`,description:`Initial AccordionFill — array-driven Section list`}]},Badge:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Neutral badge with muted styling`,since:`0.3.0`,usedBy:[`rizomorf`]},"variant:success":{description:`Green success indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:warning":{description:`Amber warning indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Red error/critical indicator`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:info":{description:`Blue informational indicator`,since:`0.3.0`},"variant:accent":{description:`Theme accent color badge`,since:`0.3.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact inline badge`,since:`0.3.0`},"size:medium":{description:`Standard badge size`,since:`0.3.0`}},platforms:{react:{path:`src/components/Badge`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter keyframes`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.5.0`,type:`changed`,description:`Fix text vertical alignment for pixel fonts`},{version:`0.3.0`,type:`added`,description:`Initial Badge component for status indicators`}]},Breadcrumb:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`Trail navigation with configurable separator and optional back-arrow`,platforms:{react:{path:`src/components/Breadcrumb`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2 — Separator, Stat, Breadcrumb, Progress)`},{version:`0.9.0`,type:`changed`,description:`Fix trail links invisible on dark backgrounds`},{version:`0.3.0`,type:`added`,description:`Initial Breadcrumb — trail array, currentLabel, separator, showBackArrow`}]},Button:{origin:`eidotter`,consumers:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`],since:`0.2.0`,variants:{"variant:primary":{description:`Primary CTA with amber background`,since:`0.2.0`,usedBy:[`spacewar`,`rizomorf`,`pomodoke-calendar`,`steuerdash`]},"variant:secondary":{description:`Secondary action with border only`,since:`0.2.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:ghost":{description:`Minimal button with hover reveal`,since:`0.2.0`,usedBy:[`rizomorf`]},"variant:link":{description:`Inline link-style button`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:small":{description:`Compact 1.5rem min-height`,since:`0.2.0`},"size:medium":{description:`Standard 2rem min-height`,since:`0.2.0`},"size:large":{description:`Prominent 2.5rem min-height`,since:`0.2.0`}},platforms:{react:{path:`src/components/Button`,status:`canonical`},swiftui:{path:`platforms/swiftui/Sources/EiDotterUI/DOSButton.swift`,status:`planned`,note:`POC with primary variant only — not yet production-ready`},spritekit:{status:`token-only`,note:`Spacewar uses tokens only, no UIKit/SwiftUI button`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish across all variants`},{version:`0.7.0`,type:`changed`,description:`Increase font size and weight for readability`},{version:`0.6.0`,type:`changed`,description:`Add phosphor warmup/energize keyframes to all variants`},{version:`0.5.0`,type:`changed`,description:`Fix secondary label visibility in pressed state`},{version:`0.4.0`,type:`changed`,description:`Add CRT phosphor interaction states for primary variant`},{version:`0.2.0`,type:`added`,description:`Initial Button with primary/secondary/ghost/link variants`}]},Card:{origin:`eidotter`,consumers:[`rizomorf`,`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard card with subtle border`,since:`0.3.0`,usedBy:[`rizomorf`,`steuerdash`]},"variant:elevated":{description:`Raised card with drop shadow`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:bordered":{description:`Strong border emphasis`,since:`0.3.0`},"variant:glow":{description:`Phosphor glow border effect`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:interactive":{description:`Hover-reactive card for clickable surfaces`,since:`0.4.0`,usedBy:[`rizomorf`]},"variant:minimal":{description:`Borderless content container`,since:`0.4.0`},"variant:callout":{description:`Highlighted callout with accent border`,since:`0.4.0`}},platforms:{react:{path:`src/components/Card`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish with phosphor enter effects`},{version:`0.7.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.4.0`,type:`added`,description:`Add glow, interactive, minimal, callout variants`},{version:`0.4.0`,type:`changed`,description:`Add phosphor glow effects and amber dim header background`},{version:`0.3.0`,type:`added`,description:`Initial Card with default/elevated/bordered variants`}]},Checkbox:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"size:sm":{description:`Compact 16px checkbox for dense forms`,since:`0.16.0`},"size:md":{description:`Standard 20px checkbox`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Checkbox`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: remediate Phase 1 audit defects + high-contrast glow gaps`},{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.3.0`,type:`added`,description:`Initial Checkbox — controlled/uncontrolled, indeterminate; BEM CSS implementation`}]},CommandPrompt:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.3.0`,originNote:`DOS command-line input — blinking cursor, configurable prompt string, onCommand callback`,platforms:{react:{path:`src/components/CommandPrompt`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.3.0`,type:`added`,description:`Initial CommandPrompt — prompt prop, onCommand, autoFocus, disabled`}]},Icon:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.13.0`,originNote:`Thin wrapper around pixelarticons (MIT) + custom PixelX for Close — 12 public names, ICON_MAP`,variants:{"name:Info":{description:`Informational circle-i`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Warning":{description:`Warning triangle`,since:`0.13.0`,usedBy:[`rizomorf`]},"name:Error":{description:`Error octagon`,since:`0.13.0`},"name:Done":{description:`Checkmark (shares Check glyph)`,since:`0.13.0`},"name:Check":{description:`Checkmark`,since:`0.13.0`},"name:Close":{description:`Custom pixel-art X mark (no pixelarticons glyph)`,since:`0.19.0`,usedBy:[`rizomorf`]},"name:Chevron Up":{description:`Up caret`,since:`0.13.0`},"name:Chevron Down":{description:`Down caret`,since:`0.13.0`},"name:App":{description:`Grid/app launcher`,since:`0.13.0`},"name:Cancel":{description:`Minus glyph — window minimize control`,since:`0.13.0`},"name:Fullscreen":{description:`Expand to fullscreen`,since:`0.13.0`},"name:Add":{description:`Plus / add action`,since:`0.13.0`},"size:L":{description:`Large — 56 × 56 px`,since:`0.13.0`,usedBy:[`rizomorf`]},"size:S":{description:`Small — 24 × 24 px`,since:`0.13.0`}},platforms:{react:{path:`src/components/Icon`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y: fix aria-prohibited-attr on Icon (Phase 1 audit defect)`},{version:`0.30.0`,type:`changed`,description:`Icon inherits color from context instead of hardcoding amber`},{version:`0.19.0`,type:`added`,description:`Custom pixel-art X mark for Close (pixelarticons v2 has no standalone X glyph)`},{version:`0.18.0`,type:`changed`,description:`Swap @untitledui-pro/icons for pixelarticons (MIT) — license compliance`},{version:`0.13.0`,type:`added`,description:`Initial Icon component — ICON_MAP with 12 public names, size L/S`}]},Input:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Standard text input with amber focus border`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:error":{description:`Error state — red border, errorMessage slot`,since:`0.3.0`,usedBy:[`steuerdash`]}},platforms:{react:{path:`src/components/Input`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TextField (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Input — label, description, errorMessage, isRequired`}]},Lightbox:{origin:`eidotter`,consumers:[`dmnctech`],since:`0.22.0`,originNote:`Fullscreen image viewer extending Modal pattern. Keyboard nav, prev/next, counter, swipe.`},Modal:{origin:`eidotter`,consumers:[`pomodoke-calendar`],since:`0.3.0`,originNote:`DOS-styled dialog built on React Aria ModalOverlay/Modal/Dialog — focus trap, Esc to close, backdrop`,platforms:{react:{path:`src/components/Modal`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Normalize event handlers; replace raw <button> with AriaButton for close control`},{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria ModalOverlay/Modal/Dialog (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 4 — Input, Modal, Nav)`},{version:`0.3.0`,type:`added`,description:`Initial Modal — isOpen, onOpenChange, title, footer slot`}]},Progress:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:default":{description:`Amber progress bar`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:success":{description:`Green completion indicator`,since:`0.3.0`},"variant:warning":{description:`Amber warning progress`,since:`0.3.0`},"variant:error":{description:`Red error/failed progress`,since:`0.3.0`},"size:sm":{description:`Compact single-row bar`,since:`0.16.0`},"size:md":{description:`Standard bar height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Tall bar for prominent display`,since:`0.16.0`},"trackStyle:block":{description:`Solid block fill (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trackStyle:bordered":{description:`Outline bar with fill inside`,since:`0.3.0`},"trackStyle:gradient":{description:`Gradient fill for smooth visual`,since:`0.3.0`}},platforms:{react:{path:`src/components/Progress`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases small/medium/large → sm/md/lg`},{version:`0.3.0`,type:`added`,description:`Initial Progress — blocks character cells, indeterminate, showLabel, glow prop`}]},RetroEffects:{origin:`spacewar`,consumers:[`spacewar`,`rizomorf`],since:`0.3.0`,originNote:`CRT scanline/glow effects from Spacewar! — compositor-only, prefers-reduced-motion safe`,platforms:{react:{path:`src/components/RetroEffects`,status:`canonical`},spritekit:{status:`planned`,note:`Spacewar uses CRT shader natively; component is React-web-only`}},changelog:[{version:`0.30.0`,type:`added`,description:`bootOnce — gate CGA turn-on to once per browser tab/session via sessionStorage`},{version:`0.28.0`,type:`added`,description:`boot prop — CGA monitor turn-on sequence on mount (~650ms); onBootComplete callback`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`changed`,description:`Align CRT animation values with design-craft spec`},{version:`0.3.0`,type:`added`,description:`Initial RetroEffects — scanlines, glow, flicker, bloom, intensity, powered`}]},Skeleton:{origin:`eidotter`,consumers:[`dmnctech`],originNote:`DOS/CGA loading placeholder — shade-character rows (░▒▓) with CRT hum-bar band rolling top→bottom (DMNC-1018)`},Stat:{origin:`steuerdash`,consumers:[`steuerdash`],since:`0.3.0`,originNote:`Key-value metric display created for tax dashboard — optional trend arrow and TextScramble animation`,variants:{"size:sm":{description:`Compact metric for dense dashboards`,since:`0.16.0`},"size:md":{description:`Standard metric display`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Hero metric for prominent KPIs`,since:`0.16.0`,usedBy:[`steuerdash`]},"trend:up":{description:`Upward trend indicator (green arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:down":{description:`Downward trend indicator (red arrow)`,since:`0.3.0`,usedBy:[`steuerdash`]},"trend:neutral":{description:`No change indicator (muted dash)`,since:`0.3.0`}},platforms:{react:{path:`src/components/Stat`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.19.0`,type:`changed`,description:`Replace hardcoded font-size pixels with V.37 dos tokens`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2); deprecate size aliases; add size:sm/lg`},{version:`0.3.0`,type:`added`,description:`Initial Stat — label, value, trend, trendValue, scramble prop`}]},Switch:{origin:`eidotter`,consumers:[],since:`0.3.0`,variants:{"size:sm":{description:`Compact 20px toggle for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard 24px toggle`,since:`0.3.0`},"type:default":{description:`Full-width thumb track`,since:`0.3.0`},"type:slim":{description:`Narrow pill track for inline use`,since:`0.3.0`}},platforms:{react:{path:`src/components/Switch`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to React Aria + Tailwind-first (Wave 1); add size:sm variant`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish — toggle glow transition`},{version:`0.3.0`,type:`added`,description:`Initial Switch — controlled/uncontrolled, label, type:default/slim`}]},FilterBar:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Multi-select toggle group for faceted filtering — keyboard nav, showAll, per-item color`,variants:{"mode:multi":{description:`Multiple filters selectable simultaneously`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"mode:single":{description:`Single active filter (radio behavior)`,since:`0.7.0`},"size:sm":{description:`Compact filter chips`,since:`0.16.0`},"size:md":{description:`Standard filter chips`,since:`0.7.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large filter chips for touch targets`,since:`0.16.0`}},platforms:{react:{path:`src/components/FilterBar`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for filter chips`},{version:`0.7.0`,type:`added`,description:`Initial FilterBar — multi/single mode, items array, showAll, keyboard nav`}]},Tag:{origin:`eidotter`,consumers:[`lifelines`,`rizomorf`],since:`0.7.0`,originNote:`Interactive labels for tags, categories, and filter chips`,variants:{"variant:default":{description:`Standard tag with subtle background`,since:`0.7.0`,usedBy:[`rizomorf`]},"variant:outlined":{description:`Border-only tag`,since:`0.7.0`,usedBy:[`lifelines`]},"variant:filled":{description:`Solid background tag`,since:`0.7.0`,usedBy:[`rizomorf`,`lifelines`]},"size:small":{description:`Compact tag for dense layouts`,since:`0.7.0`},"size:medium":{description:`Standard tag size`,since:`0.7.0`}},platforms:{react:{path:`src/components/Tag`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.11.0`,type:`changed`,description:`Convert font-size to rem tokens for WCAG SC 1.4.4`},{version:`0.8.0`,type:`changed`,description:`Design-craft animation polish`},{version:`0.7.0`,type:`added`,description:`Initial Tag and TagGroup components`}]},Tabs:{origin:`eidotter`,consumers:[`steuerdash`],since:`0.3.0`,variants:{"variant:underline":{description:`Underline indicator tab bar (default)`,since:`0.3.0`,usedBy:[`steuerdash`]},"variant:pills":{description:`Filled pill tabs`,since:`0.3.0`},"size:sm":{description:`Compact tabs for dense layouts`,since:`0.16.0`},"size:md":{description:`Standard tab height`,since:`0.3.0`,usedBy:[`steuerdash`]},"size:lg":{description:`Large touch-friendly tabs`,since:`0.16.0`}},platforms:{react:{path:`src/components/Tabs`,status:`canonical`},swiftui:{status:`planned`}},changelog:[{version:`0.17.0`,type:`changed`,description:`Migrate to React Aria TabList/Tab/TabPanel (Wave 5)`},{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 3); deprecate size aliases; JS-measured indicator via ResizeObserver`},{version:`0.11.0`,type:`changed`,description:`Dynamic text scaling — rem tokens for WCAG SC 1.4.4`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.3.0`,type:`added`,description:`Initial Tabs — tabs array, activeTab, onSelectionChange, animated indicator`}]},Terminal:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.2.0`,originNote:`DOS window frame with px-based bitmap font sizing — legacy BEM, not migrated to Tailwind-first`,variants:{"size:sm":{description:`Compact 320px window`,since:`0.2.0`},"size:md":{description:`Standard 480px window`,since:`0.2.0`,usedBy:[`rizomorf`]},"size:lg":{description:`Full-width window`,since:`0.2.0`},"state:active":{description:`Focused window with amber title bar`,since:`0.2.0`,usedBy:[`rizomorf`]},"state:inactive":{description:`Unfocused window with dimmed title bar`,since:`0.2.0`},"state:minimized":{description:`Collapsed to title bar only`,since:`0.2.0`}},platforms:{react:{path:`src/components/Terminal`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`A11y keyboard focus fixes for window controls`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.14.0`,type:`changed`,description:`Breaking: minimizable/maximizable/closeable default to false — consumers must opt in`},{version:`0.13.0`,type:`changed`,description:`Replace raw <button> with AriaButton for window controls`},{version:`0.2.0`,type:`added`,description:`Initial Terminal — title bar, window controls, resizable, autoFocus, size/state variants`}]},TimelineNode:{origin:`lifelines`,consumers:[`lifelines`,`rizomorf`],since:`0.4.0`,originNote:`Timeline markers extracted from Lifelines — sits on the axis line, content-box sizing`,variants:{"shape:circle":{description:`Circular node marker (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"shape:square":{description:`Square node marker`,since:`0.4.0`},"shape:diamond":{description:`Diamond (rotated square) node marker`,since:`0.4.0`},"variant:default":{description:`Muted amber node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"variant:primary":{description:`Full-brightness amber node with phosphor glow`,since:`0.4.0`,usedBy:[`lifelines`]},"variant:secondary":{description:`Dimmed node for secondary events`,since:`0.4.0`},"variant:accent":{description:`CGA accent color node`,since:`0.4.0`},"labelPosition:right":{description:`Label to the right of the node (default)`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"labelPosition:left":{description:`Label to the left of the node`,since:`0.4.0`},"labelPosition:top":{description:`Label above the node`,since:`0.4.0`},"labelPosition:bottom":{description:`Label below the node`,since:`0.4.0`},"size:sm":{description:`Compact 8px node`,since:`0.16.0`},"size:md":{description:`Standard 12px node`,since:`0.4.0`,usedBy:[`lifelines`,`rizomorf`]},"size:lg":{description:`Large 16px node for emphasis`,since:`0.16.0`}},platforms:{react:{path:`src/components/TimelineNode`,status:`canonical`}},changelog:[{version:`0.35.0`,type:`changed`,description:`Pin marker box-sizing to content-box so dots stay on the axis line (DMNC-1090)`},{version:`0.30.0`,type:`changed`,description:`A11y: high-contrast glow gap remediation`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; switch to Flexi IBM VGA font`},{version:`0.4.0`,type:`added`,description:`Initial TimelineNode — shape, variant, labelPosition, size, isActive, onClick`}]},InlineExpand:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.7.0`,originNote:`Inline disclosure widget for expanding context within prose — sources with favicon fallback`,platforms:{react:{path:`src/components/InlineExpand`,status:`canonical`}},changelog:[{version:`0.30.0`,type:`changed`,description:`Fix behavioral bugs — double-toggle edge case (DMNC-1063)`},{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first`},{version:`0.8.0`,type:`added`,description:`sources prop — citation links with Google Favicons API fallback`},{version:`0.7.0`,type:`added`,description:`Initial InlineExpand — expanded, defaultExpanded, onToggle, content slot`}]},Separator:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.8.0`,originNote:`Horizontal/vertical divider for content separation — ported from rizomorf`,variants:{"orientation:horizontal":{description:`Full-width horizontal rule (default)`,since:`0.8.0`,usedBy:[`rizomorf`]},"orientation:vertical":{description:`Inline vertical divider for flex/grid rows`,since:`0.8.0`}},platforms:{react:{path:`src/components/Separator`,status:`canonical`}},changelog:[{version:`0.16.0`,type:`changed`,description:`Migrate to Tailwind-first (Wave 2)`},{version:`0.9.0`,type:`changed`,description:`Replace text-primary with cga-amber`},{version:`0.8.0`,type:`added`,description:`Initial Separator — horizontal/vertical orientation, ported from rizomorf`}]},TimelineContainer:{origin:`lifelines`,consumers:[`lifelines`],since:`0.8.0`,originNote:`Multi-zoom timeline with year/month/day/hour views. Supports interactive, static, feed, and master-detail modes.`,variants:{"mode:interactive":{description:`Full drill-down with keyboard shortcuts and Ctrl+scroll zoom`,since:`0.8.0`,usedBy:[`lifelines`]},"mode:static":{description:`Read-only snapshot — no zoom or selection controls`,since:`0.8.0`},"mode:feed":{description:`Paginated vertical list with LOAD MORE — append-safe`,since:`0.21.0`,usedBy:[`lifelines`]},"mode:master-detail":{description:`Split-pane with list rail + detail panel`,since:`0.34.0`},"sortOrder:asc":{description:`Oldest entries first`,since:`0.8.0`},"sortOrder:desc":{description:`Newest entries first (default)`,since:`0.8.0`,usedBy:[`lifelines`]}},platforms:{react:{path:`src/components/TimelineContainer`,status:`canonical`}},changelog:[{version:`0.34.0`,type:`added`,description:`master-detail layout mode — split-pane list rail + detail panel (DMNC-878)`},{version:`0.21.0`,type:`added`,description:`feed mode — pageSize, onLoadMore, DOS-styled LOAD MORE button`},{version:`0.21.0`,type:`added`,description:`renderEntry prop — pluggable entry renderer with defaultRender() opt-in`},{version:`0.9.0`,type:`changed`,description:`Responsive layout with CSS container queries`},{version:`0.8.0`,type:`added`,description:`Initial TimelineContainer — year/month/day/hour drill-down, migrated from Lifelines`}]},TextScramble:{origin:`eidotter`,consumers:[],since:`0.10.0`,originNote:`DOS text decode effect — rAF-driven character scramble reveal; used by Stat (scramble prop) and standalone`,platforms:{react:{path:`src/components/TextScramble`,status:`canonical`}},changelog:[{version:`0.18.0`,type:`changed`,description:`Migrate BEM to Tailwind-first; adopt cn() and forwardRef`},{version:`0.10.0`,type:`added`,description:`Initial TextScramble — children string, speed, characters, delay; rAF-based reveal`}]},ChatMessage:{origin:`eidotter`,consumers:[],originNote:`Single chat message with role-based DOS styling and streaming cursor`},ChatHistory:{origin:`eidotter`,consumers:[],originNote:`Scrollable message list with auto-scroll and role="log" accessibility`},ChatInput:{origin:`eidotter`,consumers:[],originNote:`Multiline DOS-styled textarea with Enter-to-send`},ChatContainer:{origin:`eidotter`,consumers:[],originNote:`Composes ChatHistory + ChatInput into a complete chat interface`},Header:{origin:`eidotter`,consumers:[],originNote:`Sticky site header composing branding link + Nav — retro/modern variants`},Footer:{origin:`eidotter`,consumers:[],originNote:`DOS-themed footer with default legal links (Impressum + Datenschutz) for German compliance`},InlineLink:{origin:`rizomorf`,consumers:[`rizomorf`],since:`0.20.0`,originNote:"In-flow navigational anchor — dotted amber underline, phosphor-invert hover, trailing `▸` / `↗`. Distinct from InlineExpand (destination vs disclosure). Closes rizomorf parity gap #03.",platforms:{react:{path:`src/components/InlineLink`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial InlineLink — internal + external variants, tabnabbing guard when consumer passes target="_blank"`}]},DosFigure:{origin:`eidotter`,consumers:[`rizomorf`],since:`0.20.0`,originNote:`Demoscene-style painted-screen placeholder (Sierra / LucasArts title-card aesthetic). Amber chrome, 6s scanline sweep, optional annotation pins. Closes rizomorf parity gap #02.`,platforms:{react:{path:`src/components/DosFigure`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial DosFigure — scanline sweep, phosphor flicker, pin pulse; all animations compositor-only and reduced-motion safe`}]},CmdPalette:{origin:`eidotter`,consumers:[],since:`0.20.0`,originNote:`⌘K / Ctrl+K command palette overlay. Built on React Aria ModalOverlay/Modal/Dialog (same primitives as Modal). Generic items + scored search + keyboard navigation.`,platforms:{react:{path:`src/components/CmdPalette`,status:`canonical`}},changelog:[{version:`0.20.0`,type:`added`,description:`Initial CmdPalette — generic items with keywords, mod+k global hotkey, custom renderItem, useId() per-instance DOM ids, selected-clamp on items mutation`}]},ProgressRing:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`16-segment quantized progress ring (SVG). Powers Tracker’s hold-to-complete feedback ring.`,platforms:{react:{path:`src/components/ProgressRing`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial ProgressRing — discrete quantized segment arcs, phosphor glow, centre label, currentColor theming`}]},CalendarHeatmap:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Block-character month calendar heatmap (█ ░ · ▒). Domain-agnostic — takes a date→status map, not a domain object.`,platforms:{react:{path:`src/components/CalendarHeatmap`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial CalendarHeatmap — UTC date maths, Monday/Sunday week start, legend, successColor override, glyph overrides`}]},HoldToComplete:{origin:`tracker`,consumers:[`tracker`],since:`0.37.0`,originNote:`Press-and-hold-to-complete interaction with ProgressRing feedback. Pointer + keyboard, reduced-motion aware.`,platforms:{react:{path:`src/components/HoldToComplete`,status:`canonical`}},changelog:[{version:`0.37.0`,type:`added`,description:`Initial HoldToComplete — rAF hold animation with accelerating ease, onHoldProgress hook, Enter/Space to complete`}]}};function xp(e){return bp[e]}function Sp(e){return Object.entries(bp).filter(([,t])=>t.origin===e).map(([e])=>e)}function Cp(e){return Object.entries(bp).filter(([,t])=>t.consumers.includes(e)).map(([e])=>e)}function wp(e,t){let n=bp[e];return n?.variants?Object.entries(n.variants).filter(([,e])=>e.usedBy?.includes(t)).map(([e])=>e):[]}function Tp(e){let t=bp[e];if(!t?.variants)return{};let n={};for(let[e,r]of Object.entries(t.variants))n[e]=r.usedBy??[];return n}e.AIText=Xf,e.AccordionFill=Ql,e.AddressBlock=sp,e.Alert=Xl,e.Badge=Lu,e.BrandLockup=Yf,e.Breadcrumb=Bu,e.Button=tu,e.CalendarHeatmap=wu,e.Card=ru,e.ChatContainer=Mf,e.ChatHistory=Af,e.ChatInput=jf,e.ChatMessage=kf,e.Checkbox=iu,e.ChecklistRow=vf,e.CmdPalette=Kf,e.CommandPrompt=au,e.CopyButton=yf,e.DatenschutzController=pp,e.DatenschutzEncryption=_p,e.DatenschutzFonts=gp,e.DatenschutzHosting=mp,e.DatenschutzPostHog=hp,e.DatenschutzRights=vp,e.DesktopNav=Tf,e.DosFigure=Hf,e.EmptyState=gf,e.FilterBar=sf,e.Footer=Pf,e.Header=If,e.HoldToComplete=Ou,e.Icon=Ul,e.ImpressumAddress=cp,e.ImpressumContact=lp,e.ImpressumLiabilityContent=dp,e.ImpressumLiabilityLinks=fp,e.ImpressumResponsible=up,e.InlineExpand=uf,e.InlineLink=Vf,e.Input=Au,e.LabeledProgress=Sf,e.LedgerRow=xf,e.LegalPage=ip,e.Lightbox=Ad,e.Logo=qf,e.MobileNav=Ef,e.Modal=Xd,e.Nav=Df,e.Notification=Rf,e.Progress=pu,e.ProgressRing=hu,e.RetroEffects=Gu,e.Section=Zl,e.SectionHeading=mf,e.Select=bf,e.Separator=ff,e.Skeleton=rp,e.Stat=af,e.Switch=Ru,e.Tabs=Pu,e.Tag=Hd,e.TagGroup=Wd,e.Terminal=ju,e.TextScramble=Cf,e.TimelineContainer=Yd,e.TimelineNode=Xu,e.Wordmark=Jf,e.ZOOM_LEVELS=Zu,e.componentRegistry=bp,e.defaultLegalLinks=Nf,e.getComponentMeta=xp,e.getComponentsByConsumer=Cp,e.getComponentsByOrigin=Sp,e.getVariantConsumerMap=Tp,e.getVariantsUsedBy=wp,e.isSafeUrl=cf,e.projects=yp,e.useTextScramble=$d,e.version=`0.30.0`});