@obsfx/trekker-dashboard 1.9.1 → 1.9.2

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.
@@ -334,4 +334,4 @@ Defaulting to \`null\`.`}var t3=gC,n3=vC;function r3({className:e,value:t,...n})
334
334
  `))+1))}const l="#".repeat(o),u=n.enter("headingAtx"),d=n.enter("phrasing");a.move(l+" ");let f=n.containerPhrasing(e,{before:"# ",after:`
335
335
  `,...a.current()});return/^[\t ]/.test(f)&&(f=Sl(f.charCodeAt(0))+f.slice(1)),f=f?l+" "+f:l,n.options.closeAtx&&(f+=" "+l),d(),u(),f}fE.peek=L9;function fE(e){return e.value||""}function L9(){return"<"}hE.peek=F9;function hE(e,t,n,r){const o=Tg(n),a=o==='"'?"Quote":"Apostrophe",l=n.enter("image");let u=n.enter("label");const d=n.createTracker(r);let f=d.move("![");return f+=d.move(n.safe(e.alt,{before:f,after:"]",...d.current()})),f+=d.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),f+=d.move("<"),f+=d.move(n.safe(e.url,{before:f,after:">",...d.current()})),f+=d.move(">")):(u=n.enter("destinationRaw"),f+=d.move(n.safe(e.url,{before:f,after:e.title?" ":")",...d.current()}))),u(),e.title&&(u=n.enter(`title${a}`),f+=d.move(" "+o),f+=d.move(n.safe(e.title,{before:f,after:o,...d.current()})),f+=d.move(o),u()),f+=d.move(")"),l(),f}function F9(){return"!"}pE.peek=$9;function pE(e,t,n,r){const o=e.referenceType,a=n.enter("imageReference");let l=n.enter("label");const u=n.createTracker(r);let d=u.move("![");const f=n.safe(e.alt,{before:d,after:"]",...u.current()});d+=u.move(f+"]["),l();const h=n.stack;n.stack=[],l=n.enter("reference");const p=n.safe(n.associationId(e),{before:d,after:"]",...u.current()});return l(),n.stack=h,a(),o==="full"||!f||f!==p?d+=u.move(p+"]"):o==="shortcut"?d=d.slice(0,-1):d+=u.move("]"),d}function $9(){return"!"}mE.peek=V9;function mE(e,t,n){let r=e.value||"",o="`",a=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const l=n.unsafe[a],u=n.compilePattern(l);let d;if(l.atBreak)for(;d=u.exec(r);){let f=d.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+" "+r.slice(d.index+1)}}return o+r+o}function V9(){return"`"}function gE(e,t){const n=xg(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}yE.peek=B9;function yE(e,t,n,r){const o=Tg(n),a=o==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let u,d;if(gE(e,n)){const h=n.stack;n.stack=[],u=n.enter("autolink");let p=l.move("<");return p+=l.move(n.containerPhrasing(e,{before:p,after:">",...l.current()})),p+=l.move(">"),u(),n.stack=h,p}u=n.enter("link"),d=n.enter("label");let f=l.move("[");return f+=l.move(n.containerPhrasing(e,{before:f,after:"](",...l.current()})),f+=l.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),f+=l.move("<"),f+=l.move(n.safe(e.url,{before:f,after:">",...l.current()})),f+=l.move(">")):(d=n.enter("destinationRaw"),f+=l.move(n.safe(e.url,{before:f,after:e.title?" ":")",...l.current()}))),d(),e.title&&(d=n.enter(`title${a}`),f+=l.move(" "+o),f+=l.move(n.safe(e.title,{before:f,after:o,...l.current()})),f+=l.move(o),d()),f+=l.move(")"),u(),f}function B9(e,t,n){return gE(e,n)?"<":"["}vE.peek=U9;function vE(e,t,n,r){const o=e.referenceType,a=n.enter("linkReference");let l=n.enter("label");const u=n.createTracker(r);let d=u.move("[");const f=n.containerPhrasing(e,{before:d,after:"]",...u.current()});d+=u.move(f+"]["),l();const h=n.stack;n.stack=[],l=n.enter("reference");const p=n.safe(n.associationId(e),{before:d,after:"]",...u.current()});return l(),n.stack=h,a(),o==="full"||!f||f!==p?d+=u.move(p+"]"):o==="shortcut"?d=d.slice(0,-1):d+=u.move("]"),d}function U9(){return"["}function Ng(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function H9(e){const t=Ng(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function W9(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function xE(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Z9(e,t,n,r){const o=n.enter("list"),a=n.bulletCurrent;let l=e.ordered?W9(n):Ng(n);const u=e.ordered?l==="."?")":".":H9(n);let d=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(d=!0),xE(n)===l&&h){let p=-1;for(;++p<e.children.length;){const x=e.children[p];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){d=!0;break}}}}d&&(l=u),n.bulletCurrent=l;const f=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=a,o(),f}function q9(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Q9(e,t,n,r){const o=q9(n);let a=n.bulletCurrent||Ng(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let l=a.length+1;(o==="tab"||o==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const u=n.createTracker(r);u.move(a+" ".repeat(l-a.length)),u.shift(l);const d=n.enter("listItem"),f=n.indentLines(n.containerFlow(e,u.current()),h);return d(),f;function h(p,x,g){return x?(g?"":" ".repeat(l))+p:(g?a:a+" ".repeat(l-a.length))+p}}function Y9(e,t,n,r){const o=n.enter("paragraph"),a=n.enter("phrasing"),l=n.containerPhrasing(e,r);return a(),o(),l}const K9=Fd(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function G9(e,t,n,r){return(e.children.some(function(l){return K9(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function X9(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}wE.peek=J9;function wE(e,t,n,r){const o=X9(n),a=n.enter("strong"),l=n.createTracker(r),u=l.move(o+o);let d=l.move(n.containerPhrasing(e,{after:o,before:u,...l.current()}));const f=d.charCodeAt(0),h=Jc(r.before.charCodeAt(r.before.length-1),f,o);h.inside&&(d=Sl(f)+d.slice(1));const p=d.charCodeAt(d.length-1),x=Jc(r.after.charCodeAt(0),p,o);x.inside&&(d=d.slice(0,-1)+Sl(p));const g=l.move(o+o);return a(),n.attentionEncodeSurroundingInfo={after:x.outside,before:h.outside},u+d+g}function J9(e,t,n){return n.options.strong||"*"}function eU(e,t,n,r){return n.safe(e.value,r)}function tU(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function nU(e,t,n){const r=(xE(n)+(n.options.ruleSpaces?" ":"")).repeat(tU(n));return n.options.ruleSpaces?r.slice(0,-1):r}const bE={blockquote:E9,break:J0,code:R9,definition:A9,emphasis:dE,hardBreak:J0,heading:M9,html:fE,image:hE,imageReference:pE,inlineCode:mE,link:yE,linkReference:vE,list:Z9,listItem:Q9,paragraph:Y9,root:G9,strong:wE,text:eU,thematicBreak:nU};function rU(){return{enter:{table:iU,tableData:eb,tableHeader:eb,tableRow:sU},exit:{codeText:aU,table:oU,tableData:lp,tableHeader:lp,tableRow:lp}}}function iU(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function oU(e){this.exit(e),this.data.inTable=void 0}function sU(e){this.enter({type:"tableRow",children:[]},e)}function lp(e){this.exit(e)}function eb(e){this.enter({type:"tableCell",children:[]},e)}function aU(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,lU));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function lU(e,t){return t==="|"?t:e}function uU(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
336
336
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:l,tableCell:d,tableRow:u}};function l(g,S,k,C){return f(h(g,k,C),g.align)}function u(g,S,k,C){const E=p(g,k,C),_=f([E]);return _.slice(0,_.indexOf(`
337
- `))}function d(g,S,k,C){const E=k.enter("tableCell"),_=k.enter("phrasing"),T=k.containerPhrasing(g,{...C,before:a,after:a});return _(),E(),T}function f(g,S){return S9(g,{align:S,alignDelimiters:r,padding:n,stringLength:o})}function h(g,S,k){const C=g.children;let E=-1;const _=[],T=S.enter("table");for(;++E<C.length;)_[E]=p(C[E],S,k);return T(),_}function p(g,S,k){const C=g.children;let E=-1;const _=[],T=S.enter("tableRow");for(;++E<C.length;)_[E]=d(C[E],g,S,k);return T(),_}function x(g,S,k){let C=bE.inlineCode(g,S,k);return k.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function cU(){return{exit:{taskListCheckValueChecked:tb,taskListCheckValueUnchecked:tb,paragraph:fU}}}function dU(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:hU}}}function tb(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function fU(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const o=t.children;let a=-1,l;for(;++a<o.length;){const u=o[a];if(u.type==="paragraph"){l=u;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function hU(e,t,n,r){const o=e.children[0],a=typeof e.checked=="boolean"&&o&&o.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);a&&u.move(l);let d=bE.listItem(e,t,n,{...r,...u.current()});return a&&(d=d.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),d;function f(h){return h+l}}function pU(){return[ZB(),h9(),y9(),rU(),cU()]}function mU(e){return{extensions:[qB(),p9(e),v9(),uU(e),dU()]}}const gU={tokenize:kU,partial:!0},kE={tokenize:SU,partial:!0},SE={tokenize:CU,partial:!0},CE={tokenize:EU,partial:!0},yU={tokenize:_U,partial:!0},EE={name:"wwwAutolink",tokenize:wU,previous:PE},_E={name:"protocolAutolink",tokenize:bU,previous:TE},_i={name:"emailAutolink",tokenize:xU,previous:NE},ri={};function vU(){return{text:ri}}let jo=48;for(;jo<123;)ri[jo]=_i,jo++,jo===58?jo=65:jo===91&&(jo=97);ri[43]=_i;ri[45]=_i;ri[46]=_i;ri[95]=_i;ri[72]=[_i,_E];ri[104]=[_i,_E];ri[87]=[_i,EE];ri[119]=[_i,EE];function xU(e,t,n){const r=this;let o,a;return l;function l(p){return!rm(p)||!NE.call(r,r.previous)||jg(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(p))}function u(p){return rm(p)?(e.consume(p),u):p===64?(e.consume(p),d):n(p)}function d(p){return p===46?e.check(yU,h,f)(p):p===45||p===95||fn(p)?(a=!0,e.consume(p),d):h(p)}function f(p){return e.consume(p),o=!0,d}function h(p){return a&&o&&En(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function wU(e,t,n){const r=this;return o;function o(l){return l!==87&&l!==119||!PE.call(r,r.previous)||jg(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(gU,e.attempt(kE,e.attempt(SE,a),n),n)(l))}function a(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function bU(e,t,n){const r=this;let o="",a=!1;return l;function l(p){return(p===72||p===104)&&TE.call(r,r.previous)&&!jg(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(p),e.consume(p),u):n(p)}function u(p){if(En(p)&&o.length<5)return o+=String.fromCodePoint(p),e.consume(p),u;if(p===58){const x=o.toLowerCase();if(x==="http"||x==="https")return e.consume(p),d}return n(p)}function d(p){return p===47?(e.consume(p),a?f:(a=!0,d)):n(p)}function f(p){return p===null||Kc(p)||ht(p)||Go(p)||zd(p)?n(p):e.attempt(kE,e.attempt(SE,h),n)(p)}function h(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function kU(e,t,n){let r=0;return o;function o(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),o):l===46&&r===3?(e.consume(l),a):n(l)}function a(l){return l===null?n(l):t(l)}}function SU(e,t,n){let r,o,a;return l;function l(f){return f===46||f===95?e.check(CE,d,u)(f):f===null||ht(f)||Go(f)||f!==45&&zd(f)?d(f):(a=!0,e.consume(f),l)}function u(f){return f===95?r=!0:(o=r,r=void 0),e.consume(f),l}function d(f){return o||r||!a?n(f):t(f)}}function CU(e,t){let n=0,r=0;return o;function o(l){return l===40?(n++,e.consume(l),o):l===41&&r<n?a(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(CE,t,a)(l):l===null||ht(l)||Go(l)?t(l):(e.consume(l),o)}function a(l){return l===41&&r++,e.consume(l),o}}function EU(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),a):u===93?(e.consume(u),o):u===60||u===null||ht(u)||Go(u)?t(u):n(u)}function o(u){return u===null||u===40||u===91||ht(u)||Go(u)?t(u):r(u)}function a(u){return En(u)?l(u):n(u)}function l(u){return u===59?(e.consume(u),r):En(u)?(e.consume(u),l):n(u)}}function _U(e,t,n){return r;function r(a){return e.consume(a),o}function o(a){return fn(a)?n(a):t(a)}}function PE(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ht(e)}function TE(e){return!En(e)}function NE(e){return!(e===47||rm(e))}function rm(e){return e===43||e===45||e===46||e===95||fn(e)}function jg(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const PU={tokenize:DU,partial:!0};function TU(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:IU,continuation:{tokenize:AU},exit:OU}},text:{91:{name:"gfmFootnoteCall",tokenize:RU},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:NU,resolveTo:jU}}}}function NU(e,t,n){const r=this;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;o--;){const d=r.events[o][1];if(d.type==="labelImage"){l=d;break}if(d.type==="gfmFootnoteCall"||d.type==="labelLink"||d.type==="label"||d.type==="image"||d.type==="link")break}return u;function u(d){if(!l||!l._balanced)return n(d);const f=Ar(r.sliceSerialize({start:l.end,end:r.now()}));return f.codePointAt(0)!==94||!a.includes(f.slice(1))?n(d):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),t(d))}}function jU(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function RU(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,l;return u;function u(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),d}function d(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(p){if(a>999||p===93&&!l||p===null||p===91||ht(p))return n(p);if(p===93){e.exit("chunkString");const x=e.exit("gfmFootnoteCallString");return o.includes(Ar(r.sliceSerialize(x)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return ht(p)||(l=!0),a++,e.consume(p),p===92?h:f}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function IU(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,l=0,u;return d;function d(S){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(S){return S===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(S)}function h(S){if(l>999||S===93&&!u||S===null||S===91||ht(S))return n(S);if(S===93){e.exit("chunkString");const k=e.exit("gfmFootnoteDefinitionLabelString");return a=Ar(r.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),x}return ht(S)||(u=!0),l++,e.consume(S),S===92?p:h}function p(S){return S===91||S===92||S===93?(e.consume(S),l++,h):h(S)}function x(S){return S===58?(e.enter("definitionMarker"),e.consume(S),e.exit("definitionMarker"),o.includes(a)||o.push(a),Xe(e,g,"gfmFootnoteDefinitionWhitespace")):n(S)}function g(S){return t(S)}}function AU(e,t,n){return e.check($l,t,e.attempt(PU,t,n))}function OU(e){e.exit("gfmFootnoteDefinition")}function DU(e,t,n){const r=this;return Xe(e,o,"gfmFootnoteDefinitionIndent",5);function o(a){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(a):n(a)}}function zU(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:o};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function o(l,u){let d=-1;for(;++d<l.length;)if(l[d][0]==="enter"&&l[d][1].type==="strikethroughSequenceTemporary"&&l[d][1]._close){let f=d;for(;f--;)if(l[f][0]==="exit"&&l[f][1].type==="strikethroughSequenceTemporary"&&l[f][1]._open&&l[d][1].end.offset-l[d][1].start.offset===l[f][1].end.offset-l[f][1].start.offset){l[d][1].type="strikethroughSequence",l[f][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},l[f][1].start),end:Object.assign({},l[d][1].end)},p={type:"strikethroughText",start:Object.assign({},l[f][1].end),end:Object.assign({},l[d][1].start)},x=[["enter",h,u],["enter",l[f][1],u],["exit",l[f][1],u],["enter",p,u]],g=u.parser.constructs.insideSpan.null;g&&er(x,x.length,0,Md(g,l.slice(f+1,d),u)),er(x,x.length,0,[["exit",p,u],["enter",l[d][1],u],["exit",l[d][1],u],["exit",h,u]]),er(l,f-1,d-f+3,x),d=f+x.length-2;break}}for(d=-1;++d<l.length;)l[d][1].type==="strikethroughSequenceTemporary"&&(l[d][1].type="data");return l}function a(l,u,d){const f=this.previous,h=this.events;let p=0;return x;function x(S){return f===126&&h[h.length-1][1].type!=="characterEscape"?d(S):(l.enter("strikethroughSequenceTemporary"),g(S))}function g(S){const k=na(f);if(S===126)return p>1?d(S):(l.consume(S),p++,g);if(p<2&&!n)return d(S);const C=l.exit("strikethroughSequenceTemporary"),E=na(S);return C._open=!E||E===2&&!!k,C._close=!k||k===2&&!!E,u(S)}}}class MU{constructor(){this.map=[]}add(t,n,r){LU(this,t,n,r)}consume(t){if(this.map.sort(function(a,l){return a[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let o=r.pop();for(;o;){for(const a of o)t.push(a);o=r.pop()}this.map.length=0}}function LU(e,t,n,r){let o=0;if(!(n===0&&r.length===0)){for(;o<e.map.length;){if(e.map[o][0]===t){e.map[o][1]+=n,e.map[o][2].push(...r);return}o+=1}e.map.push([t,n,r])}}function FU(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if(o[0]==="enter")o[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function $U(){return{flow:{null:{name:"table",tokenize:VU,resolveAll:BU}}}}function VU(e,t,n){const r=this;let o=0,a=0,l;return u;function u(A){let K=r.events.length-1;for(;K>-1;){const W=r.events[K][1].type;if(W==="lineEnding"||W==="linePrefix")K--;else break}const M=K>-1?r.events[K][1].type:null,ne=M==="tableHead"||M==="tableRow"?j:d;return ne===j&&r.parser.lazy[r.now().line]?n(A):ne(A)}function d(A){return e.enter("tableHead"),e.enter("tableRow"),f(A)}function f(A){return A===124||(l=!0,a+=1),h(A)}function h(A){return A===null?n(A):$e(A)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),g):n(A):Ke(A)?Xe(e,h,"whitespace")(A):(a+=1,l&&(l=!1,o+=1),A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),l=!0,h):(e.enter("data"),p(A)))}function p(A){return A===null||A===124||ht(A)?(e.exit("data"),h(A)):(e.consume(A),A===92?x:p)}function x(A){return A===92||A===124?(e.consume(A),p):p(A)}function g(A){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(A):(e.enter("tableDelimiterRow"),l=!1,Ke(A)?Xe(e,S,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):S(A))}function S(A){return A===45||A===58?C(A):A===124?(l=!0,e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),k):O(A)}function k(A){return Ke(A)?Xe(e,C,"whitespace")(A):C(A)}function C(A){return A===58?(a+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),E):A===45?(a+=1,E(A)):A===null||$e(A)?I(A):O(A)}function E(A){return A===45?(e.enter("tableDelimiterFiller"),_(A)):O(A)}function _(A){return A===45?(e.consume(A),_):A===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(A))}function T(A){return Ke(A)?Xe(e,I,"whitespace")(A):I(A)}function I(A){return A===124?S(A):A===null||$e(A)?!l||o!==a?O(A):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(A)):O(A)}function O(A){return n(A)}function j(A){return e.enter("tableRow"),B(A)}function B(A){return A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),B):A===null||$e(A)?(e.exit("tableRow"),t(A)):Ke(A)?Xe(e,B,"whitespace")(A):(e.enter("data"),Q(A))}function Q(A){return A===null||A===124||ht(A)?(e.exit("data"),B(A)):(e.consume(A),A===92?oe:Q)}function oe(A){return A===92||A===124?(e.consume(A),Q):Q(A)}}function BU(e,t){let n=-1,r=!0,o=0,a=[0,0,0,0],l=[0,0,0,0],u=!1,d=0,f,h,p;const x=new MU;for(;++n<e.length;){const g=e[n],S=g[1];g[0]==="enter"?S.type==="tableHead"?(u=!1,d!==0&&(nb(x,t,d,f,h),h=void 0,d=0),f={type:"table",start:Object.assign({},S.start),end:Object.assign({},S.end)},x.add(n,0,[["enter",f,t]])):S.type==="tableRow"||S.type==="tableDelimiterRow"?(r=!0,p=void 0,a=[0,0,0,0],l=[0,n+1,0,0],u&&(u=!1,h={type:"tableBody",start:Object.assign({},S.start),end:Object.assign({},S.end)},x.add(n,0,[["enter",h,t]])),o=S.type==="tableDelimiterRow"?2:h?3:1):o&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(a[1]!==0&&(l[0]=l[1],p=mc(x,t,a,o,void 0,p),a=[0,0,0,0]),l[2]=n)):S.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(l[0]=l[1],p=mc(x,t,a,o,void 0,p)),a=l,l=[a[1],n,0,0])):S.type==="tableHead"?(u=!0,d=n):S.type==="tableRow"||S.type==="tableDelimiterRow"?(d=n,a[1]!==0?(l[0]=l[1],p=mc(x,t,a,o,n,p)):l[1]!==0&&(p=mc(x,t,l,o,n,p)),o=0):o&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")&&(l[3]=n)}for(d!==0&&nb(x,t,d,f,h),x.consume(t.events),n=-1;++n<t.events.length;){const g=t.events[n];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=FU(t.events,n))}return e}function mc(e,t,n,r,o,a){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(a.end=Object.assign({},As(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const d=As(t.events,n[1]);if(a={type:l,start:Object.assign({},d),end:Object.assign({},d)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const f=As(t.events,n[2]),h=As(t.events,n[3]),p={type:u,start:Object.assign({},f),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const x=t.events[n[2]],g=t.events[n[3]];if(x[1].end=Object.assign({},g[1].end),x[1].type="chunkText",x[1].contentType="text",n[3]>n[2]+1){const S=n[2]+1,k=n[3]-n[2]-1;e.add(S,k,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return o!==void 0&&(a.end=Object.assign({},As(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function nb(e,t,n,r,o){const a=[],l=As(t.events,n);o&&(o.end=Object.assign({},l),a.push(["exit",o,t])),r.end=Object.assign({},l),a.push(["exit",r,t]),e.add(n+1,0,a)}function As(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const UU={name:"tasklistCheck",tokenize:WU};function HU(){return{text:{91:UU}}}function WU(e,t,n){const r=this;return o;function o(d){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(d):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),a)}function a(d){return ht(d)?(e.enter("taskListCheckValueUnchecked"),e.consume(d),e.exit("taskListCheckValueUnchecked"),l):d===88||d===120?(e.enter("taskListCheckValueChecked"),e.consume(d),e.exit("taskListCheckValueChecked"),l):n(d)}function l(d){return d===93?(e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(d)}function u(d){return $e(d)?t(d):Ke(d)?e.check({tokenize:ZU},t,n)(d):n(d)}}function ZU(e,t,n){return Xe(e,r,"whitespace");function r(o){return o===null?n(o):t(o)}}function qU(e){return $C([vU(),TU(),zU(e),$U(),HU()])}const QU={};function YU(e){const t=this,n=e||QU,r=t.data(),o=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);o.push(qU(n)),a.push(pU()),l.push(mU(n))}function KU({content:e,className:t}){return y.jsx("div",{className:Be("prose prose-sm dark:prose-invert max-w-none break-words","prose-headings:font-semibold prose-headings:text-foreground","prose-p:text-muted-foreground prose-p:leading-relaxed","prose-a:text-primary prose-a:no-underline hover:prose-a:underline","prose-code:bg-muted prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm prose-code:before:content-none prose-code:after:content-none","prose-pre:bg-muted prose-pre:border prose-pre:overflow-x-auto","prose-ul:text-muted-foreground prose-ol:text-muted-foreground","prose-li:marker:text-muted-foreground","prose-blockquote:border-l-primary prose-blockquote:text-muted-foreground","prose-table:text-sm","prose-th:text-left prose-th:font-semibold","prose-td:border prose-th:border",t),children:y.jsx(zB,{remarkPlugins:[YU],children:e})})}function jE({open:e,onClose:t,breadcrumbItems:n,title:r,description:o,onEdit:a,children:l}){return y.jsx(dg,{open:e,onOpenChange:u=>!u&&t(),children:y.jsxs(fg,{className:"max-w-4xl p-0 gap-0 max-h-[90vh] overflow-hidden",children:[y.jsx("div",{className:"p-4 border-b flex items-center justify-between",children:y.jsx(EC,{items:n})}),y.jsx($m,{className:"max-h-[calc(90vh-80px)]",children:y.jsxs("div",{className:"flex flex-col",children:[y.jsxs("div",{className:"px-4 pt-4 pb-2 flex justify-between items-start",children:[y.jsx("h2",{className:"text-xl font-semibold",children:r}),y.jsxs(it,{variant:"ghost",size:"sm",onClick:a,children:[y.jsx(vm,{className:"mr-1 h-4 w-4"}),"Edit"]})]}),y.jsxs("div",{className:"px-4 pb-4",children:[y.jsx("h4",{className:"text-xs uppercase text-muted-foreground font-semibold mb-2",children:"Description"}),o?y.jsx(KU,{content:o}):y.jsx("p",{className:"text-sm text-muted-foreground italic",children:"No description"})]}),l]})})]})})}function RE({open:e,onClose:t,breadcrumbItems:n,formId:r,isSubmitting:o,isDeleting:a,entityName:l,onCancel:u,onDelete:d,onDeleteConfirm:f,onDeleteCancel:h,children:p}){return y.jsx(dg,{open:e,onOpenChange:x=>!x&&t(),children:y.jsxs(fg,{className:"max-w-lg p-0 gap-0 max-h-[90vh] overflow-hidden",children:[y.jsx("div",{className:"flex items-center border-b p-4",children:y.jsx(EC,{items:n})}),y.jsx($m,{className:"max-h-[calc(90vh-140px)]",children:p}),y.jsxs("div",{className:"p-4 border-t flex items-center justify-between",children:[y.jsx(c3,{isConfirming:a,entityName:l,onDelete:d,onConfirm:f,onCancel:h}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(it,{type:"button",variant:"outline",size:"sm",onClick:u,children:"Cancel"}),y.jsx(it,{type:"submit",form:r,size:"sm",disabled:o,children:o?"Saving...":"Save"})]})]})]})})}function GU({task:e,onStatusChange:t,onPriorityChange:n,onEpicClick:r,getEpicById:o}){const a=e.epicId?o(e.epicId):null,l=e.tags?e.tags.split(",").map(d=>d.trim()):[],u=()=>{a&&r&&r(a)};return y.jsxs("div",{children:[y.jsx(wl,{children:"Details"}),y.jsxs("div",{className:"space-y-2",children:[y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Status"}),y.jsx(Od,{value:e.status,onChange:t,statuses:Ed,triggerClassName:"w-auto h-8 text-right"})]}),y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Priority"}),y.jsx(Dd,{value:e.priority,onChange:n,triggerClassName:"w-auto h-8 text-right"})]}),a&&y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Epic"}),y.jsxs("button",{className:"flex items-center gap-0.5 text-sm text-purple-500 hover:text-purple-600",onClick:u,children:[a.id,y.jsx(id,{className:"h-3 w-3"})]})]}),l.length>0&&y.jsxs("div",{children:[y.jsx("span",{className:"text-sm text-muted-foreground mb-1 block",children:"Tags"}),y.jsx("div",{className:"flex flex-wrap gap-1",children:l.map(d=>y.jsx(ao,{variant:"secondary",className:"text-xs",children:d},d))})]})]})]})}function rb({taskId:e,variant:t,onClick:n}){const r=t==="depends"?Xb:Jb;return y.jsxs("button",{className:Be("inline-flex items-center gap-1 px-2 py-1 rounded-md text-xs font-mono","transition-colors hover:ring-1",t==="depends"&&"bg-amber-500/10 text-amber-600 dark:text-amber-400 hover:ring-amber-500/50",t==="blocks"&&"bg-rose-500/10 text-rose-600 dark:text-rose-400 hover:ring-rose-500/50"),onClick:n,title:t==="depends"?"Depends on this task":"Blocks this task",children:[y.jsx(r,{className:"h-3 w-3"}),e]})}function XU({dependsOn:e,blocks:t,onTaskClick:n,getTaskById:r}){if(!(e.length>0||t.length>0))return null;const a=l=>{const u=r(l);u&&n&&n(u)};return y.jsxs("div",{children:[y.jsx(wl,{children:"Dependencies"}),y.jsxs("div",{className:"space-y-2",children:[e.length>0&&y.jsxs("div",{children:[y.jsx("span",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1.5 block",children:"Depends on"}),y.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.map(l=>y.jsx(rb,{taskId:l,variant:"depends",onClick:()=>a(l)},l))})]}),t.length>0&&y.jsxs("div",{children:[y.jsx("span",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1.5 block",children:"Blocks"}),y.jsx("div",{className:"flex flex-wrap gap-1.5",children:t.map(l=>y.jsx(rb,{taskId:l,variant:"blocks",onClick:()=>a(l)},l))})]})]})]})}const JU=["completed","archived","wont_fix"];function im(e){return JU.includes(e)}function e8({subtask:e,onClick:t}){const n=im(e.status);return y.jsxs(it,{variant:"ghost",className:"w-full justify-start h-auto p-1.5 gap-2",onClick:t,children:[y.jsx(bC,{status:e.status}),y.jsx("span",{className:"font-mono text-xs text-muted-foreground",children:e.id}),y.jsx("span",{className:Be("text-sm flex-1 text-left truncate",n&&"line-through text-muted-foreground"),children:e.title})]})}function t8({subtasks:e,onTaskClick:t}){if(e.length===0)return null;const n=e.filter(r=>r.status==="completed").length;return y.jsxs("div",{children:[y.jsx(wl,{count:{current:n,total:e.length},children:"Subtasks"}),y.jsx("div",{className:"space-y-1",children:e.map(r=>y.jsx(e8,{subtask:r,onClick:()=>t==null?void 0:t(r)},r.id))})]})}function n8({taskId:e}){const[t,n]=b.useState([]),[r,o]=b.useState(!0),[a,l]=b.useState(""),[u,d]=b.useState(""),[f,h]=b.useState(!1);b.useEffect(()=>{const S=localStorage.getItem("trekker-comment-author");S&&l(S)},[]),b.useEffect(()=>{p()},[e]);const p=async()=>{try{const S=await fetch(`/api/tasks/${e}/comments`);if(S.ok){const k=await S.json();n(k)}}catch(S){console.error("Failed to fetch comments:",S)}finally{o(!1)}},x=async()=>{if(!a.trim()||!u.trim()){Ct.error("Author and content are required");return}h(!0);try{localStorage.setItem("trekker-comment-author",a);const S=await fetch(`/api/tasks/${e}/comments`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({author:a,content:u})});if(!S.ok){const C=await S.json();throw new Error(C.error||"Failed to add comment")}const k=await S.json();n([...t,k]),d(""),Ct.success("Comment added")}catch(S){Ct.error(S instanceof Error?S.message:"Failed to add comment")}finally{h(!1)}},g=async S=>{try{if(!(await fetch(`/api/comments/${S}`,{method:"DELETE"})).ok)throw new Error("Failed to delete comment");n(t.filter(C=>C.id!==S)),Ct.success("Comment deleted")}catch{Ct.error("Failed to delete comment")}};return y.jsxs("div",{className:"p-4 mt-4 border-t",children:[y.jsxs("h4",{className:"text-sm font-medium mb-3",children:["Comments ",t.length>0&&`(${t.length})`]}),r?y.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading..."}):y.jsxs(y.Fragment,{children:[t.length>0&&y.jsx("div",{className:"space-y-3 mb-4",children:t.map(S=>y.jsxs("div",{className:"p-3 bg-muted/50 group relative",children:[y.jsxs("div",{className:"flex items-center justify-between mb-1",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"text-sm font-medium",children:S.author}),y.jsx("span",{className:"text-xs text-muted-foreground",children:cg(S.createdAt)})]}),y.jsx(it,{variant:"ghost",size:"icon",className:"h-7 w-7 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>g(S.id),children:y.jsx(xm,{className:"h-3.5 w-3.5"})})]}),y.jsx("p",{className:"text-sm text-muted-foreground whitespace-pre-wrap",children:S.content})]},S.id))}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Jr,{placeholder:"Your name",value:a,onChange:S=>l(S.target.value)}),y.jsx(Ll,{placeholder:"Add a comment...",value:u,onChange:S=>d(S.target.value),rows:2}),y.jsx(it,{size:"sm",onClick:x,disabled:f||!a.trim()||!u.trim(),children:f?"Adding...":"Add Comment"})]})]})]})}async function r8(e){var r,o;const t=new URLSearchParams;e.entityId&&t.set("entityId",e.entityId),(r=e.types)!=null&&r.length&&t.set("type",e.types.join(",")),(o=e.actions)!=null&&o.length&&t.set("action",e.actions.join(",")),e.since&&t.set("since",e.since),e.until&&t.set("until",e.until),e.limit&&t.set("limit",e.limit.toString()),e.page&&t.set("page",e.page.toString());const n=await fetch(`/api/history?${t.toString()}`);if(!n.ok){const a=await n.json();throw new Error(a.error||"Failed to fetch history")}return n.json()}function IE(e){return Al({queryKey:["history",e],queryFn:()=>r8(e)})}function i8({event:e}){return y.jsxs("div",{className:"flex gap-2.5 py-2.5 border-b last:border-b-0",children:[y.jsx("div",{className:"mt-0.5",children:y.jsx(SC,{action:e.action,className:"h-3.5 w-3.5"})}),y.jsxs("div",{className:"flex-1 min-w-0",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-0.5",children:[y.jsxs("span",{className:Be("text-xs font-medium capitalize",CC(e.action)),children:[e.action,"d"]}),y.jsx("span",{className:"text-xs text-muted-foreground",children:cg(e.timestamp)})]}),e.changes&&Object.keys(e.changes).length>0&&y.jsx("div",{className:"text-xs space-y-0.5",children:Object.entries(e.changes).map(([t,n])=>{const{from:r,to:o}=n;return y.jsxs("div",{className:"flex items-center gap-1 text-muted-foreground",children:[y.jsxs("span",{className:"font-medium",children:[t,":"]}),y.jsx("span",{className:"line-through",children:String(r)}),y.jsx("span",{children:"→"}),y.jsx("span",{className:"text-foreground",children:String(o)})]},t)})}),e.action==="create"&&e.snapshot&&y.jsx("p",{className:"text-xs text-muted-foreground",children:"Task created"})]})]})}function o8({taskId:e}){const{data:t,isLoading:n,error:r}=IE({entityId:e,limit:50});return n?y.jsx("div",{className:"p-4",children:y.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading..."})}):r?y.jsx("div",{className:"p-4",children:y.jsxs("p",{className:"text-sm text-destructive",children:["Error: ",r instanceof Error?r.message:"Unknown error"]})}):t!=null&&t.events.length?y.jsxs("div",{className:"p-4",children:[y.jsxs("h4",{className:"text-sm font-medium mb-3",children:["History (",t.events.length,")"]}),y.jsx("div",{children:t.events.map(o=>y.jsx(i8,{event:o},o.id))})]}):y.jsx("div",{className:"p-4",children:y.jsx("p",{className:"text-sm text-muted-foreground italic",children:"No history"})})}function s8({task:e,subtasks:t,onStatusChange:n,onPriorityChange:r,onTaskClick:o,onEpicClick:a,getEpicById:l,getTaskById:u}){const[d,f]=b.useState("comments");return y.jsxs("div",{className:"bg-muted/50 rounded-b-md",children:[y.jsxs("div",{className:"p-4 space-y-6",children:[y.jsx(GU,{task:e,onStatusChange:n,onPriorityChange:r,onEpicClick:a,getEpicById:l}),y.jsx(XU,{dependsOn:e.dependsOn,blocks:e.blocks,onTaskClick:o,getTaskById:u}),y.jsx(t8,{subtasks:t,onTaskClick:o}),y.jsx(wC,{createdAt:e.createdAt,updatedAt:e.updatedAt})]}),y.jsxs("div",{className:"border-t",children:[y.jsxs("div",{className:"flex border-b",children:[y.jsxs(it,{variant:"ghost",size:"sm",className:Be("flex-1 rounded-none",d==="comments"&&"bg-accent"),onClick:()=>f("comments"),children:[y.jsx(Mj,{className:"h-4 w-4 mr-1.5"}),"Comments"]}),y.jsxs(it,{variant:"ghost",size:"sm",className:Be("flex-1 rounded-none",d==="history"&&"bg-accent"),onClick:()=>f("history"),children:[y.jsx(ik,{className:"h-4 w-4 mr-1.5"}),"History"]})]}),d==="comments"?y.jsx(n8,{taskId:e.id}):y.jsx(o8,{taskId:e.id})]})]})}function a8({task:e,subtasks:t,breadcrumbItems:n,status:r,priority:o,open:a,onClose:l,onEdit:u,onStatusChange:d,onPriorityChange:f,onTaskClick:h,onEpicClick:p,getEpicById:x,getTaskById:g}){return y.jsx(jE,{open:a,onClose:l,breadcrumbItems:n,title:e.title,description:e.description,onEdit:u,children:y.jsx(s8,{task:{...e,status:r,priority:o},subtasks:t,onStatusChange:d,onPriorityChange:f,onTaskClick:h,onEpicClick:p,getEpicById:x,getTaskById:g})})}function l8({form:e,epics:t,breadcrumbItems:n,open:r,isDeleting:o,onClose:a,onSubmit:l,onCancel:u,onDelete:d,onDeleteConfirm:f,onDeleteCancel:h}){const{watch:p,setValue:x,handleSubmit:g,formState:{isSubmitting:S,errors:k}}=e,C=p("title"),E=p("description"),_=p("status"),T=p("priority"),I=p("tags"),O=p("epicId"),j=async B=>{await l(B)&&u()};return y.jsx(RE,{open:r,onClose:a,breadcrumbItems:n,formId:"task-edit-form",isSubmitting:S,isDeleting:o,entityName:"Task",onCancel:u,onDelete:d,onDeleteConfirm:f,onDeleteCancel:h,children:y.jsxs("form",{id:"task-edit-form",onSubmit:g(j),className:"space-y-4 p-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Title"}),y.jsx(Jr,{value:C,onChange:B=>x("title",B.target.value),placeholder:"Task title",className:"text-lg font-semibold"}),k.title&&y.jsx("p",{className:"text-xs text-destructive",children:k.title.message})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Description"}),y.jsx(Ll,{value:E,onChange:B=>x("description",B.target.value),placeholder:"Task description",rows:4})]}),y.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Status"}),y.jsx(Od,{value:_,onChange:B=>x("status",B),statuses:Ed})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Priority"}),y.jsx(Dd,{value:T,onChange:B=>x("priority",B)})]})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Tags (comma-separated)"}),y.jsx(Jr,{value:I,onChange:B=>x("tags",B.target.value),placeholder:"bug, frontend, urgent"})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Epic"}),y.jsxs(dr,{value:O||"none",onValueChange:B=>x("epicId",B==="none"?null:B),children:[y.jsx(hr,{children:y.jsx(fr,{})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"none",children:"No Epic"}),t.map(B=>y.jsxs(nn,{value:B.id,children:[B.id,": ",B.title]},B.id))]})]})]})]})})}const u8=sg({title:Cn().min(1,"Title is required"),description:Cn(),status:Cn(),priority:og().min(0).max(5),tags:Cn(),epicId:Cn().nullable()});function c8({task:e,open:t,isEditing:n,onClose:r,onUpdate:o}){const a=nd(),[l,u]=b.useState(!1),d=Km({resolver:ig(u8),values:e?{title:e.title,description:e.description||"",status:e.status,priority:e.priority,tags:e.tags||"",epicId:e.epicId}:{title:"",description:"",status:"todo",priority:2,tags:"",epicId:null},resetOptions:{keepDirtyValues:!1}}),{reset:f,formState:{isSubmitting:h}}=d;return b.useEffect(()=>{u(!1)},[t,n]),{form:d,isSubmitting:h,isDeleting:l,setIsDeleting:u,handleSave:async C=>{if(e)try{const E=await fetch(`/api/tasks/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:C.title.trim(),description:C.description.trim()||null,status:C.status,priority:C.priority,tags:C.tags.trim()||null,epicId:C.epicId||null})});if(!E.ok){const _=await E.json();throw new Error(_.error||"Failed to update task")}return Ct.success("Task updated"),o(),a.invalidateQueries({queryKey:["history"]}),!0}catch(E){return Ct.error(E instanceof Error?E.message:"Failed to update task"),!1}},handleDelete:async()=>{if(e)try{const C=await fetch(`/api/tasks/${e.id}`,{method:"DELETE"});if(!C.ok){const E=await C.json();throw new Error(E.error||"Failed to delete task")}Ct.success("Task deleted"),r(),o(),a.invalidateQueries({queryKey:["history"]})}catch(C){Ct.error(C instanceof Error?C.message:"Failed to delete task")}},handleCancel:()=>{e&&f({title:e.title,description:e.description||"",status:e.status,priority:e.priority,tags:e.tags||"",epicId:e.epicId}),u(!1)},handleStatusChange:async C=>{if(!e)return;const E=d.getValues("status");d.setValue("status",C);try{const _=await fetch(`/api/tasks/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({status:C})});if(!_.ok){const T=await _.json();throw d.setValue("status",E),new Error(T.error||"Failed to update status")}o(),a.invalidateQueries({queryKey:["history"]})}catch(_){Ct.error(_ instanceof Error?_.message:"Failed to update status")}},handlePriorityChange:async C=>{if(!e)return;const E=d.getValues("priority");d.setValue("priority",C);try{const _=await fetch(`/api/tasks/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:C})});if(!_.ok){const T=await _.json();throw d.setValue("priority",E),new Error(T.error||"Failed to update priority")}o(),a.invalidateQueries({queryKey:["history"]})}catch(_){Ct.error(_ instanceof Error?_.message:"Failed to update priority")}}}}function Rg({task:e,epics:t,allTasks:n,open:r,onClose:o,onUpdate:a,onTaskClick:l,onEpicClick:u}){const[d,f]=b.useState(!1),{form:h,isDeleting:p,setIsDeleting:x,handleSave:g,handleDelete:S,handleCancel:k,handleStatusChange:C,handlePriorityChange:E}=c8({task:e,open:r,isEditing:d,onClose:o,onUpdate:a}),_=b.useCallback(ne=>t.find(W=>W.id===ne),[t]),T=b.useCallback(ne=>n.find(W=>W.id===ne),[n]),I=b.useCallback(ne=>ne?n.find(W=>W.id===ne):null,[n]),O=()=>{f(!1),o()};if(!e)return null;const j=!!e.parentTaskId,B=n.filter(ne=>ne.parentTaskId===e.id),oe=(()=>{const ne=[],W=e.epicId?_(e.epicId):null,U=I(e.parentTaskId);return W&&ne.push({id:W.id,title:W.title,type:"epic",onClick:u?()=>u(W):void 0}),U&&ne.push({id:U.id,title:U.title,type:"task",onClick:l?()=>l(U):void 0}),ne.push({id:e.id,title:e.title,type:j?"subtask":"task"}),ne})(),A=h.watch("status"),K=h.watch("priority"),M=()=>{k(),f(!1)};return y.jsxs(y.Fragment,{children:[y.jsx(a8,{task:e,subtasks:B,breadcrumbItems:oe,status:A,priority:K,open:r&&!d,onClose:O,onEdit:()=>f(!0),onStatusChange:C,onPriorityChange:E,onTaskClick:l,onEpicClick:u,getEpicById:_,getTaskById:T}),y.jsx(l8,{form:h,epics:t,breadcrumbItems:oe,open:r&&d,isDeleting:p,onClose:O,onSubmit:g,onCancel:M,onDelete:()=>x(!0),onDeleteConfirm:S,onDeleteCancel:()=>x(!1)})]})}function d8({status:e,priority:t,tasks:n,createdAt:r,updatedAt:o,onStatusChange:a,onPriorityChange:l,onTaskClick:u}){const d=n.filter(h=>!h.parentTaskId),f=d.filter(h=>im(h.status)).length;return y.jsx("div",{className:"p-4 bg-muted/30 rounded-b-md",children:y.jsxs("div",{className:"space-y-6",children:[y.jsxs("div",{children:[y.jsx(wl,{children:"Details"}),y.jsxs("div",{className:"space-y-2",children:[y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Status"}),y.jsx(Od,{value:e,onChange:a,statuses:Gm,triggerClassName:"w-auto h-8 text-right"})]}),y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Priority"}),y.jsx(Dd,{value:t,onChange:l,triggerClassName:"w-auto h-8 text-right"})]})]})]}),d.length>0&&y.jsxs("div",{children:[y.jsx(wl,{count:{current:f,total:d.length},children:"Tasks"}),y.jsx("div",{className:"space-y-1",children:d.map(h=>{const p=im(h.status);return y.jsxs(it,{variant:"ghost",className:"w-full justify-start h-auto p-1.5 gap-2",onClick:()=>u==null?void 0:u(h),children:[y.jsx(bC,{status:h.status}),y.jsx("span",{className:"font-mono text-xs text-muted-foreground",children:h.id}),y.jsx("span",{className:Be("text-sm flex-1 text-left truncate min-w-0",p&&"line-through text-muted-foreground"),children:h.title})]},h.id)})})]}),y.jsx(wC,{createdAt:r,updatedAt:o})]})})}function f8({epic:e,tasks:t,breadcrumbItems:n,status:r,priority:o,open:a,onClose:l,onEdit:u,onStatusChange:d,onPriorityChange:f,onTaskClick:h}){return y.jsx(jE,{open:a,onClose:l,breadcrumbItems:n,title:e.title,description:e.description,onEdit:u,children:y.jsx(d8,{status:r,priority:o,tasks:t,createdAt:e.createdAt,updatedAt:e.updatedAt,onStatusChange:d,onPriorityChange:f,onTaskClick:h})})}function h8({form:e,breadcrumbItems:t,open:n,isDeleting:r,onClose:o,onSubmit:a,onCancel:l,onDelete:u,onDeleteConfirm:d,onDeleteCancel:f}){const{watch:h,setValue:p,handleSubmit:x,formState:{isSubmitting:g,errors:S}}=e,k=h("title"),C=h("description"),E=h("status"),_=h("priority"),T=async I=>{await a(I)&&l()};return y.jsx(RE,{open:n,onClose:o,breadcrumbItems:t,formId:"epic-edit-form",isSubmitting:g,isDeleting:r,entityName:"Epic",onCancel:l,onDelete:u,onDeleteConfirm:d,onDeleteCancel:f,children:y.jsxs("form",{id:"epic-edit-form",onSubmit:x(T),className:"space-y-4 p-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Title"}),y.jsx(Jr,{value:k,onChange:I=>p("title",I.target.value),placeholder:"Epic title",className:"text-lg font-semibold"}),S.title&&y.jsx("p",{className:"text-xs text-destructive",children:S.title.message})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Description"}),y.jsx(Ll,{value:C,onChange:I=>p("description",I.target.value),placeholder:"Epic description",rows:4})]}),y.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Status"}),y.jsx(Od,{value:E,onChange:I=>p("status",I),statuses:Gm})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Priority"}),y.jsx(Dd,{value:_,onChange:I=>p("priority",I)})]})]})]})})}const p8=sg({title:Cn().min(1,"Title is required"),description:Cn(),status:Cn(),priority:og().min(0).max(5)});function m8({epic:e,open:t,isEditing:n,onClose:r,onUpdate:o}){const[a,l]=b.useState(!1),u=Km({resolver:ig(p8),values:e?{title:e.title,description:e.description||"",status:e.status,priority:e.priority}:{title:"",description:"",status:"todo",priority:2},resetOptions:{keepDirtyValues:!1}}),{reset:d,formState:{isSubmitting:f}}=u;return b.useEffect(()=>{l(!1)},[t,n]),{form:u,isSubmitting:f,isDeleting:a,setIsDeleting:l,handleSave:async k=>{if(e)try{const C=await fetch(`/api/epics/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:k.title.trim(),description:k.description.trim()||null,status:k.status,priority:k.priority})});if(!C.ok){const E=await C.json();throw new Error(E.error||"Failed to update epic")}return Ct.success("Epic updated"),o(),!0}catch(C){return Ct.error(C instanceof Error?C.message:"Failed to update epic"),!1}},handleDelete:async()=>{if(e)try{const k=await fetch(`/api/epics/${e.id}`,{method:"DELETE"});if(!k.ok){const C=await k.json();throw new Error(C.error||"Failed to delete epic")}Ct.success("Epic deleted"),r(),o()}catch(k){Ct.error(k instanceof Error?k.message:"Failed to delete epic")}},handleCancel:()=>{e&&d({title:e.title,description:e.description||"",status:e.status,priority:e.priority}),l(!1)},handleStatusChange:async k=>{if(!e)return;const C=u.getValues("status");u.setValue("status",k);try{const E=await fetch(`/api/epics/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({status:k})});if(!E.ok){const _=await E.json();throw u.setValue("status",C),new Error(_.error||"Failed to update status")}o()}catch(E){Ct.error(E instanceof Error?E.message:"Failed to update status")}},handlePriorityChange:async k=>{if(!e)return;const C=u.getValues("priority");u.setValue("priority",k);try{const E=await fetch(`/api/epics/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:k})});if(!E.ok){const _=await E.json();throw u.setValue("priority",C),new Error(_.error||"Failed to update priority")}o()}catch(E){Ct.error(E instanceof Error?E.message:"Failed to update priority")}}}}function Ig({epic:e,tasks:t=[],open:n,onClose:r,onUpdate:o,onTaskClick:a}){const[l,u]=b.useState(!1),{form:d,isDeleting:f,setIsDeleting:h,handleSave:p,handleDelete:x,handleCancel:g,handleStatusChange:S,handlePriorityChange:k}=m8({epic:e,open:n,isEditing:l,onClose:r,onUpdate:o}),C=()=>{u(!1),r()};if(!e)return null;const E=[{id:e.id,title:e.title,type:"epic"}],_=d.watch("status"),T=d.watch("priority"),I=()=>{g(),u(!1)};return y.jsxs(y.Fragment,{children:[y.jsx(f8,{epic:e,tasks:t,breadcrumbItems:E,status:_,priority:T,open:n&&!l,onClose:C,onEdit:()=>u(!0),onStatusChange:S,onPriorityChange:k,onTaskClick:a}),y.jsx(h8,{form:d,breadcrumbItems:E,open:n&&l,isDeleting:f,onClose:C,onSubmit:p,onCancel:I,onDelete:()=>h(!0),onDeleteConfirm:x,onDeleteCancel:()=>h(!1)})]})}function g8({open:e,onOpenChange:t,title:n,description:r,confirmLabel:o="Confirm",cancelLabel:a="Cancel",onConfirm:l,variant:u="default"}){const d=()=>{l(),t(!1)};return y.jsx(dg,{open:e,onOpenChange:t,children:y.jsxs(fg,{className:"sm:max-w-[400px]",children:[y.jsxs(b3,{children:[y.jsx(S3,{children:n}),y.jsx(C3,{children:r})]}),y.jsxs(k3,{children:[y.jsx(it,{variant:"outline",onClick:()=>t(!1),children:a}),y.jsx(it,{variant:u==="destructive"?"destructive":"default",onClick:d,children:o})]})]})})}function y8(){const{tasks:e,epics:t,isLoading:n,error:r,refetch:o}=rd(),a=tj(),[l,u]=b.useState(!1),{selectedTaskId:d,selectedEpicId:f,openTaskDetail:h,openEpicDetail:p,openCreateModal:x,closeTaskDetail:g,closeEpicDetail:S}=Gs();H$(o);const k=d&&e.find(E=>E.id===d)||null,C=f&&t.find(E=>E.id===f)||null;return n&&e.length===0?y.jsx("div",{className:"flex items-center justify-center flex-1",children:y.jsx("span",{className:"text-muted-foreground",children:"Loading..."})}):r?y.jsx("div",{className:"flex items-center justify-center flex-1",children:y.jsxs("span",{className:"text-destructive",children:["Error: ",r instanceof Error?r.message:"Unknown error"]})}):y.jsxs(y.Fragment,{children:[y.jsx("main",{className:"flex-1 p-4 overflow-x-auto",children:y.jsx(u3,{tasks:e,epics:t,onAddClick:E=>x({status:E}),onTaskClick:E=>h(E.id),onEpicClick:E=>p(E.id),onArchiveAllCompleted:()=>u(!0)})}),y.jsx(g8,{open:l,onOpenChange:u,title:"Archive All Completed",description:"This will move all completed tasks and epics to the archived status. This action can be undone by manually changing their status back.",confirmLabel:"Archive All",onConfirm:()=>a.mutate()}),y.jsx(Rg,{task:k,epics:t,allTasks:e,open:k!==null,onClose:g,onUpdate:o,onTaskClick:E=>h(E.id),onEpicClick:E=>{g(),p(E.id)}}),y.jsx(Ig,{epic:C,tasks:C?e.filter(E=>E.epicId===C.id):[],open:C!==null,onClose:S,onUpdate:o,onTaskClick:E=>{S();const _=e.find(T=>T.id===E.id);_&&h(_.id)}})]})}async function v8(e){var r,o,a;const t=new URLSearchParams;(r=e.types)!=null&&r.length&&t.set("type",e.types.join(",")),(o=e.statuses)!=null&&o.length&&t.set("status",e.statuses.join(",")),(a=e.priorities)!=null&&a.length&&t.set("priority",e.priorities.join(",")),e.sort&&t.set("sort",e.sort),e.limit&&t.set("limit",e.limit.toString()),e.page&&t.set("page",e.page.toString()),e.since&&t.set("since",e.since),e.until&&t.set("until",e.until);const n=await fetch(`/api/list?${t.toString()}`);if(!n.ok){const l=await n.json();throw new Error(l.error||"Failed to fetch list")}return n.json()}function x8(e){return Al({queryKey:["list",e],queryFn:()=>v8(e)})}const w8=[{value:"epic",label:"Epic"},{value:"task",label:"Task"},{value:"subtask",label:"Subtask"}],b8=[{value:"created:desc",label:"Newest first"},{value:"created:asc",label:"Oldest first"},{value:"updated:desc",label:"Recently updated"},{value:"priority:asc",label:"Priority (high to low)"},{value:"priority:desc",label:"Priority (low to high)"},{value:"title:asc",label:"Title (A-Z)"},{value:"title:desc",label:"Title (Z-A)"}],k8=[20,50,100];function S8(){var B,Q,oe,A,K;const{tasks:e,epics:t,refetch:n}=rd(),{selectedTaskId:r,selectedEpicId:o,openTaskDetail:a,openEpicDetail:l,closeTaskDetail:u,closeEpicDetail:d}=Gs(),[f,h]=b.useState({limit:20,page:1,sort:"created:desc"}),[p,x]=b.useState(""),{data:g,isLoading:S,error:k}=x8(f),C=r&&e.find(M=>M.id===r)||null,E=o&&t.find(M=>M.id===o)||null,_=M=>{M.type==="epic"?l(M.id):a(M.id)},T=M=>{const ne=f.types||[],W=ne.includes(M)?ne.filter(U=>U!==M):[...ne,M];h({...f,types:W.length?W:void 0,page:1})},I=()=>{h({limit:f.limit,page:1,sort:f.sort}),x("")},O=!!((B=f.types)!=null&&B.length||(Q=f.statuses)!=null&&Q.length||(oe=f.priorities)!=null&&oe.length),j=g?Math.ceil(g.total/(f.limit||20)):0;return y.jsxs(y.Fragment,{children:[y.jsxs("main",{className:"flex-1 p-4 flex flex-col gap-4 overflow-hidden",children:[y.jsxs("div",{className:"flex flex-wrap gap-3 items-center",children:[y.jsxs("div",{className:"relative w-64",children:[y.jsx(Wj,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),y.jsx(Jr,{placeholder:"Search...",value:p,onChange:M=>x(M.target.value),className:"pl-9"})]}),y.jsx("div",{className:"flex gap-1",children:w8.map(({value:M,label:ne})=>{var W;return y.jsx(it,{variant:(W=f.types)!=null&&W.includes(M)?"default":"outline",size:"sm",onClick:()=>T(M),children:ne},M)})}),y.jsxs(dr,{value:((A=f.statuses)==null?void 0:A.join(","))||"all",onValueChange:M=>{h(M==="all"?{...f,statuses:void 0,page:1}:{...f,statuses:M.split(","),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Status"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Statuses"}),Ed.map(M=>y.jsx(nn,{value:M,children:ta[M]},M))]})]}),y.jsxs(dr,{value:((K=f.priorities)==null?void 0:K.join(","))||"all",onValueChange:M=>{h(M==="all"?{...f,priorities:void 0,page:1}:{...f,priorities:M.split(",").map(Number),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Priority"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Priorities"}),Object.entries(_d).map(([M,ne])=>y.jsxs(nn,{value:M,children:["P",M," - ",ne]},M))]})]}),y.jsxs(dr,{value:f.sort||"created:desc",onValueChange:M=>h({...f,sort:M,page:1}),children:[y.jsx(hr,{className:"w-[180px]",children:y.jsx(fr,{})}),y.jsx(pr,{children:b8.map(({value:M,label:ne})=>y.jsx(nn,{value:M,children:ne},M))})]}),O&&y.jsxs(it,{variant:"ghost",size:"sm",onClick:I,children:[y.jsx(ad,{className:"h-4 w-4 mr-1"}),"Clear"]})]}),y.jsx("div",{className:"flex-1 overflow-auto border rounded-lg",children:S?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"Loading..."})}):k?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsxs("span",{className:"text-destructive",children:["Error: ",k instanceof Error?k.message:"Unknown error"]})}):g!=null&&g.items.length?y.jsxs("table",{className:"w-full",children:[y.jsx("thead",{className:"bg-muted/50 sticky top-0",children:y.jsxs("tr",{className:"text-left text-sm",children:[y.jsx("th",{className:"px-4 py-3 font-medium",children:"ID"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Type"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Title"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Status"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Priority"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Created"})]})}),y.jsx("tbody",{children:g.items.filter(M=>p?M.title.toLowerCase().includes(p.toLowerCase())||M.id.toLowerCase().includes(p.toLowerCase()):!0).map(M=>{var ne,W,U,q;return y.jsxs("tr",{className:"border-t hover:bg-muted/30 cursor-pointer transition-colors",onClick:()=>_(M),children:[y.jsx("td",{className:"px-4 py-3 font-mono text-sm text-muted-foreground",children:M.id}),y.jsx("td",{className:"px-4 py-3",children:y.jsx(ao,{variant:"outline",className:Be(M.type==="epic"&&"border-purple-500 text-purple-500",M.type==="task"&&"border-blue-500 text-blue-500",M.type==="subtask"&&"border-gray-500 text-gray-500"),children:M.type})}),y.jsx("td",{className:"px-4 py-3 max-w-md truncate",children:M.title}),y.jsx("td",{className:"px-4 py-3",children:y.jsx(ao,{style:{backgroundColor:((ne=Iw[M.status])==null?void 0:ne.bg)||"#6b7280",color:((W=Iw[M.status])==null?void 0:W.text)||"#ffffff"},children:ta[M.status]||M.status})}),y.jsx("td",{className:"px-4 py-3",children:y.jsxs(ao,{variant:"outline",style:{borderColor:((U=Hc[M.priority])==null?void 0:U.bg)||"#6b7280",color:((q=Hc[M.priority])==null?void 0:q.bg)||"#6b7280"},children:["P",M.priority]})}),y.jsx("td",{className:"px-4 py-3 text-sm text-muted-foreground",children:v3(M.createdAt)})]},M.id)})})]}):y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"No items found"})})}),g&&g.total>0&&y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[y.jsxs("span",{children:["Showing ",((f.page||1)-1)*(f.limit||20)+1,"-",Math.min((f.page||1)*(f.limit||20),g.total)," of"," ",g.total]}),y.jsxs(dr,{value:(f.limit||20).toString(),onValueChange:M=>h({...f,limit:parseInt(M,10),page:1}),children:[y.jsx(hr,{className:"w-[80px] h-8",children:y.jsx(fr,{})}),y.jsx(pr,{children:k8.map(M=>y.jsx(nn,{value:M.toString(),children:M},M))})]}),y.jsx("span",{children:"per page"})]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)-1}),disabled:(f.page||1)<=1,children:[y.jsx(nk,{className:"h-4 w-4"}),"Prev"]}),y.jsxs("span",{className:"text-sm text-muted-foreground",children:["Page ",f.page||1," of ",j]}),y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)+1}),disabled:(f.page||1)>=j,children:["Next",y.jsx(id,{className:"h-4 w-4"})]})]})]})]}),y.jsx(Rg,{task:C,epics:t,allTasks:e,open:C!==null,onClose:u,onUpdate:n,onTaskClick:M=>a(M.id),onEpicClick:M=>{u(),l(M.id)}}),y.jsx(Ig,{epic:E,tasks:E?e.filter(M=>M.epicId===E.id):[],open:E!==null,onClose:d,onUpdate:n,onTaskClick:M=>{d();const ne=e.find(W=>W.id===M.id);ne&&a(ne.id)}})]})}const C8=[{value:"epic",label:"Epic"},{value:"task",label:"Task"},{value:"subtask",label:"Subtask"},{value:"comment",label:"Comment"},{value:"dependency",label:"Dependency"}],E8=[{value:"create",label:"Created",icon:sd},{value:"update",label:"Updated",icon:vm},{value:"delete",label:"Deleted",icon:xm}];function _8({event:e,onEntityClick:t}){var o,a,l,u,d;const n=((o=e.snapshot)==null?void 0:o.title)||((l=(a=e.changes)==null?void 0:a.title)==null?void 0:l.to)||((d=(u=e.changes)==null?void 0:u.title)==null?void 0:d.from)||null,r=e.action!=="delete"&&["epic","task","subtask"].includes(e.entityType);return y.jsxs("div",{className:"flex gap-3 p-4 border-b last:border-b-0 hover:bg-muted/30 transition-colors",children:[y.jsx("div",{className:"mt-0.5",children:y.jsx(SC,{action:e.action})}),y.jsxs("div",{className:"flex-1 min-w-0",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[y.jsx("button",{className:Be("font-mono text-sm",r&&"hover:underline cursor-pointer",e.action==="delete"&&"line-through text-muted-foreground"),onClick:()=>r&&t(e.entityType,e.entityId),disabled:!r,children:e.entityId}),y.jsxs("span",{className:Be("text-sm font-medium",CC(e.action)),children:[e.action,"d"]}),y.jsx(ao,{variant:"outline",className:"text-xs",children:e.entityType})]}),n&&y.jsx("p",{className:Be("text-sm mb-2",e.action==="delete"&&"line-through text-muted-foreground"),children:n}),e.changes&&Object.keys(e.changes).length>0&&y.jsx("div",{className:"text-xs space-y-1",children:Object.entries(e.changes).map(([f,h])=>{const{from:p,to:x}=h;return y.jsxs("div",{className:"flex items-center gap-1 text-muted-foreground",children:[y.jsxs("span",{className:"font-medium",children:[f,":"]}),y.jsx("span",{className:"line-through",children:String(p)}),y.jsx("span",{children:"→"}),y.jsx("span",{className:"text-foreground",children:String(x)})]},f)})})]}),y.jsx("div",{className:"text-xs text-muted-foreground whitespace-nowrap",children:cg(e.timestamp)})]})}function P8(){var _,T,I,O;const{tasks:e,epics:t,refetch:n}=rd(),{selectedTaskId:r,selectedEpicId:o,openTaskDetail:a,openEpicDetail:l,closeTaskDetail:u,closeEpicDetail:d}=Gs(),[f,h]=b.useState({limit:50,page:1}),{data:p,isLoading:x,error:g}=IE(f),S=r&&e.find(j=>j.id===r)||null,k=o&&t.find(j=>j.id===o)||null,C=(j,B)=>{j==="epic"?l(B):(j==="task"||j==="subtask")&&a(B)},E=p?Math.ceil(p.total/(f.limit||50)):0;return y.jsxs(y.Fragment,{children:[y.jsxs("main",{className:"flex-1 p-4 flex flex-col gap-4 overflow-hidden",children:[y.jsxs("div",{className:"flex flex-wrap gap-3 items-center",children:[y.jsxs(dr,{value:((_=f.types)==null?void 0:_.join(","))||"all",onValueChange:j=>{h(j==="all"?{...f,types:void 0,page:1}:{...f,types:j.split(","),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Type"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Types"}),C8.map(({value:j,label:B})=>y.jsx(nn,{value:j,children:B},j))]})]}),y.jsxs(dr,{value:((T=f.actions)==null?void 0:T.join(","))||"all",onValueChange:j=>{h(j==="all"?{...f,actions:void 0,page:1}:{...f,actions:j.split(","),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Action"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Actions"}),E8.map(({value:j,label:B})=>y.jsx(nn,{value:j,children:B},j))]})]}),y.jsx("input",{type:"date",className:"h-9 px-3 text-sm border rounded-md bg-background",value:((I=f.since)==null?void 0:I.split("T")[0])||"",onChange:j=>h({...f,since:j.target.value?`${j.target.value}T00:00:00Z`:void 0,page:1}),placeholder:"Since"}),y.jsx("input",{type:"date",className:"h-9 px-3 text-sm border rounded-md bg-background",value:((O=f.until)==null?void 0:O.split("T")[0])||"",onChange:j=>h({...f,until:j.target.value?`${j.target.value}T23:59:59Z`:void 0,page:1}),placeholder:"Until"})]}),y.jsx("div",{className:"flex-1 overflow-auto border rounded-lg",children:x?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"Loading..."})}):g?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsxs("span",{className:"text-destructive",children:["Error: ",g instanceof Error?g.message:"Unknown error"]})}):p!=null&&p.events.length?y.jsx("div",{children:p.events.map(j=>y.jsx(_8,{event:j,onEntityClick:C},j.id))}):y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"No events found"})})}),p&&p.total>0&&y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsxs("div",{className:"text-sm text-muted-foreground",children:["Showing ",((f.page||1)-1)*(f.limit||50)+1,"-",Math.min((f.page||1)*(f.limit||50),p.total)," of ",p.total," ","events"]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)-1}),disabled:(f.page||1)<=1,children:[y.jsx(nk,{className:"h-4 w-4"}),"Prev"]}),y.jsxs("span",{className:"text-sm text-muted-foreground",children:["Page ",f.page||1," of ",E]}),y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)+1}),disabled:(f.page||1)>=E,children:["Next",y.jsx(id,{className:"h-4 w-4"})]})]})]})]}),y.jsx(Rg,{task:S,epics:t,allTasks:e,open:S!==null,onClose:u,onUpdate:n,onTaskClick:j=>a(j.id),onEpicClick:j=>{u(),l(j.id)}}),y.jsx(Ig,{epic:k,tasks:k?e.filter(j=>j.epicId===k.id):[],open:k!==null,onClose:d,onUpdate:n,onTaskClick:j=>{d();const B=e.find(Q=>Q.id===j.id);B&&a(B.id)}})]})}function T8(){const{tasks:e,epics:t,project:n,refetch:r}=rd(),{connectionStatus:o,showCreateModal:a,createModalDefaults:l,openCreateModal:u,closeCreateModal:d}=Gs();return y.jsxs("div",{className:"min-h-screen flex flex-col",children:[y.jsx(PA,{projectName:n==null?void 0:n.name,onNewClick:()=>u({status:"todo"})}),y.jsxs(AT,{children:[y.jsx(gc,{path:"/",element:y.jsx(y8,{})}),y.jsx(gc,{path:"/list",element:y.jsx(S8,{})}),y.jsx(gc,{path:"/history",element:y.jsx(P8,{})})]}),y.jsx("footer",{className:"px-4 py-2 border-t",children:y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsxs("span",{className:"text-xs text-muted-foreground",children:[e.length," tasks across ",t.length," epics"]}),y.jsx(NA,{status:o})]})}),y.jsx(U$,{open:a,onClose:d,onCreated:r,epics:t,tasks:e,defaultStatus:l.status||"todo"})]})}function N8({children:e}){const[t]=b.useState(()=>new DN({defaultOptions:{queries:{staleTime:5e3,refetchOnWindowFocus:!1}}}));return y.jsx(zN,{client:t,children:y.jsxs(XR,{defaultTheme:"system",disableTransitionOnChange:!0,children:[y.jsx(vA,{delayDuration:300,children:e}),y.jsx(k4,{position:"bottom-right",richColors:!0})]})})}DP.createRoot(document.getElementById("root")).render(y.jsx(ae.StrictMode,{children:y.jsx(rN,{children:y.jsx(N8,{children:y.jsx(T8,{})})})}));
337
+ `))}function d(g,S,k,C){const E=k.enter("tableCell"),_=k.enter("phrasing"),T=k.containerPhrasing(g,{...C,before:a,after:a});return _(),E(),T}function f(g,S){return S9(g,{align:S,alignDelimiters:r,padding:n,stringLength:o})}function h(g,S,k){const C=g.children;let E=-1;const _=[],T=S.enter("table");for(;++E<C.length;)_[E]=p(C[E],S,k);return T(),_}function p(g,S,k){const C=g.children;let E=-1;const _=[],T=S.enter("tableRow");for(;++E<C.length;)_[E]=d(C[E],g,S,k);return T(),_}function x(g,S,k){let C=bE.inlineCode(g,S,k);return k.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function cU(){return{exit:{taskListCheckValueChecked:tb,taskListCheckValueUnchecked:tb,paragraph:fU}}}function dU(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:hU}}}function tb(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function fU(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const o=t.children;let a=-1,l;for(;++a<o.length;){const u=o[a];if(u.type==="paragraph"){l=u;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function hU(e,t,n,r){const o=e.children[0],a=typeof e.checked=="boolean"&&o&&o.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);a&&u.move(l);let d=bE.listItem(e,t,n,{...r,...u.current()});return a&&(d=d.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),d;function f(h){return h+l}}function pU(){return[ZB(),h9(),y9(),rU(),cU()]}function mU(e){return{extensions:[qB(),p9(e),v9(),uU(e),dU()]}}const gU={tokenize:kU,partial:!0},kE={tokenize:SU,partial:!0},SE={tokenize:CU,partial:!0},CE={tokenize:EU,partial:!0},yU={tokenize:_U,partial:!0},EE={name:"wwwAutolink",tokenize:wU,previous:PE},_E={name:"protocolAutolink",tokenize:bU,previous:TE},_i={name:"emailAutolink",tokenize:xU,previous:NE},ri={};function vU(){return{text:ri}}let jo=48;for(;jo<123;)ri[jo]=_i,jo++,jo===58?jo=65:jo===91&&(jo=97);ri[43]=_i;ri[45]=_i;ri[46]=_i;ri[95]=_i;ri[72]=[_i,_E];ri[104]=[_i,_E];ri[87]=[_i,EE];ri[119]=[_i,EE];function xU(e,t,n){const r=this;let o,a;return l;function l(p){return!rm(p)||!NE.call(r,r.previous)||jg(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(p))}function u(p){return rm(p)?(e.consume(p),u):p===64?(e.consume(p),d):n(p)}function d(p){return p===46?e.check(yU,h,f)(p):p===45||p===95||fn(p)?(a=!0,e.consume(p),d):h(p)}function f(p){return e.consume(p),o=!0,d}function h(p){return a&&o&&En(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function wU(e,t,n){const r=this;return o;function o(l){return l!==87&&l!==119||!PE.call(r,r.previous)||jg(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(gU,e.attempt(kE,e.attempt(SE,a),n),n)(l))}function a(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function bU(e,t,n){const r=this;let o="",a=!1;return l;function l(p){return(p===72||p===104)&&TE.call(r,r.previous)&&!jg(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(p),e.consume(p),u):n(p)}function u(p){if(En(p)&&o.length<5)return o+=String.fromCodePoint(p),e.consume(p),u;if(p===58){const x=o.toLowerCase();if(x==="http"||x==="https")return e.consume(p),d}return n(p)}function d(p){return p===47?(e.consume(p),a?f:(a=!0,d)):n(p)}function f(p){return p===null||Kc(p)||ht(p)||Go(p)||zd(p)?n(p):e.attempt(kE,e.attempt(SE,h),n)(p)}function h(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function kU(e,t,n){let r=0;return o;function o(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),o):l===46&&r===3?(e.consume(l),a):n(l)}function a(l){return l===null?n(l):t(l)}}function SU(e,t,n){let r,o,a;return l;function l(f){return f===46||f===95?e.check(CE,d,u)(f):f===null||ht(f)||Go(f)||f!==45&&zd(f)?d(f):(a=!0,e.consume(f),l)}function u(f){return f===95?r=!0:(o=r,r=void 0),e.consume(f),l}function d(f){return o||r||!a?n(f):t(f)}}function CU(e,t){let n=0,r=0;return o;function o(l){return l===40?(n++,e.consume(l),o):l===41&&r<n?a(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(CE,t,a)(l):l===null||ht(l)||Go(l)?t(l):(e.consume(l),o)}function a(l){return l===41&&r++,e.consume(l),o}}function EU(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),a):u===93?(e.consume(u),o):u===60||u===null||ht(u)||Go(u)?t(u):n(u)}function o(u){return u===null||u===40||u===91||ht(u)||Go(u)?t(u):r(u)}function a(u){return En(u)?l(u):n(u)}function l(u){return u===59?(e.consume(u),r):En(u)?(e.consume(u),l):n(u)}}function _U(e,t,n){return r;function r(a){return e.consume(a),o}function o(a){return fn(a)?n(a):t(a)}}function PE(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ht(e)}function TE(e){return!En(e)}function NE(e){return!(e===47||rm(e))}function rm(e){return e===43||e===45||e===46||e===95||fn(e)}function jg(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const PU={tokenize:DU,partial:!0};function TU(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:IU,continuation:{tokenize:AU},exit:OU}},text:{91:{name:"gfmFootnoteCall",tokenize:RU},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:NU,resolveTo:jU}}}}function NU(e,t,n){const r=this;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;o--;){const d=r.events[o][1];if(d.type==="labelImage"){l=d;break}if(d.type==="gfmFootnoteCall"||d.type==="labelLink"||d.type==="label"||d.type==="image"||d.type==="link")break}return u;function u(d){if(!l||!l._balanced)return n(d);const f=Ar(r.sliceSerialize({start:l.end,end:r.now()}));return f.codePointAt(0)!==94||!a.includes(f.slice(1))?n(d):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),t(d))}}function jU(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function RU(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,l;return u;function u(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),d}function d(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(p){if(a>999||p===93&&!l||p===null||p===91||ht(p))return n(p);if(p===93){e.exit("chunkString");const x=e.exit("gfmFootnoteCallString");return o.includes(Ar(r.sliceSerialize(x)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return ht(p)||(l=!0),a++,e.consume(p),p===92?h:f}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function IU(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,l=0,u;return d;function d(S){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(S){return S===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(S)}function h(S){if(l>999||S===93&&!u||S===null||S===91||ht(S))return n(S);if(S===93){e.exit("chunkString");const k=e.exit("gfmFootnoteDefinitionLabelString");return a=Ar(r.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),x}return ht(S)||(u=!0),l++,e.consume(S),S===92?p:h}function p(S){return S===91||S===92||S===93?(e.consume(S),l++,h):h(S)}function x(S){return S===58?(e.enter("definitionMarker"),e.consume(S),e.exit("definitionMarker"),o.includes(a)||o.push(a),Xe(e,g,"gfmFootnoteDefinitionWhitespace")):n(S)}function g(S){return t(S)}}function AU(e,t,n){return e.check($l,t,e.attempt(PU,t,n))}function OU(e){e.exit("gfmFootnoteDefinition")}function DU(e,t,n){const r=this;return Xe(e,o,"gfmFootnoteDefinitionIndent",5);function o(a){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(a):n(a)}}function zU(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:o};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function o(l,u){let d=-1;for(;++d<l.length;)if(l[d][0]==="enter"&&l[d][1].type==="strikethroughSequenceTemporary"&&l[d][1]._close){let f=d;for(;f--;)if(l[f][0]==="exit"&&l[f][1].type==="strikethroughSequenceTemporary"&&l[f][1]._open&&l[d][1].end.offset-l[d][1].start.offset===l[f][1].end.offset-l[f][1].start.offset){l[d][1].type="strikethroughSequence",l[f][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},l[f][1].start),end:Object.assign({},l[d][1].end)},p={type:"strikethroughText",start:Object.assign({},l[f][1].end),end:Object.assign({},l[d][1].start)},x=[["enter",h,u],["enter",l[f][1],u],["exit",l[f][1],u],["enter",p,u]],g=u.parser.constructs.insideSpan.null;g&&er(x,x.length,0,Md(g,l.slice(f+1,d),u)),er(x,x.length,0,[["exit",p,u],["enter",l[d][1],u],["exit",l[d][1],u],["exit",h,u]]),er(l,f-1,d-f+3,x),d=f+x.length-2;break}}for(d=-1;++d<l.length;)l[d][1].type==="strikethroughSequenceTemporary"&&(l[d][1].type="data");return l}function a(l,u,d){const f=this.previous,h=this.events;let p=0;return x;function x(S){return f===126&&h[h.length-1][1].type!=="characterEscape"?d(S):(l.enter("strikethroughSequenceTemporary"),g(S))}function g(S){const k=na(f);if(S===126)return p>1?d(S):(l.consume(S),p++,g);if(p<2&&!n)return d(S);const C=l.exit("strikethroughSequenceTemporary"),E=na(S);return C._open=!E||E===2&&!!k,C._close=!k||k===2&&!!E,u(S)}}}class MU{constructor(){this.map=[]}add(t,n,r){LU(this,t,n,r)}consume(t){if(this.map.sort(function(a,l){return a[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let o=r.pop();for(;o;){for(const a of o)t.push(a);o=r.pop()}this.map.length=0}}function LU(e,t,n,r){let o=0;if(!(n===0&&r.length===0)){for(;o<e.map.length;){if(e.map[o][0]===t){e.map[o][1]+=n,e.map[o][2].push(...r);return}o+=1}e.map.push([t,n,r])}}function FU(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if(o[0]==="enter")o[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function $U(){return{flow:{null:{name:"table",tokenize:VU,resolveAll:BU}}}}function VU(e,t,n){const r=this;let o=0,a=0,l;return u;function u(A){let K=r.events.length-1;for(;K>-1;){const W=r.events[K][1].type;if(W==="lineEnding"||W==="linePrefix")K--;else break}const M=K>-1?r.events[K][1].type:null,ne=M==="tableHead"||M==="tableRow"?j:d;return ne===j&&r.parser.lazy[r.now().line]?n(A):ne(A)}function d(A){return e.enter("tableHead"),e.enter("tableRow"),f(A)}function f(A){return A===124||(l=!0,a+=1),h(A)}function h(A){return A===null?n(A):$e(A)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),g):n(A):Ke(A)?Xe(e,h,"whitespace")(A):(a+=1,l&&(l=!1,o+=1),A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),l=!0,h):(e.enter("data"),p(A)))}function p(A){return A===null||A===124||ht(A)?(e.exit("data"),h(A)):(e.consume(A),A===92?x:p)}function x(A){return A===92||A===124?(e.consume(A),p):p(A)}function g(A){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(A):(e.enter("tableDelimiterRow"),l=!1,Ke(A)?Xe(e,S,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):S(A))}function S(A){return A===45||A===58?C(A):A===124?(l=!0,e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),k):O(A)}function k(A){return Ke(A)?Xe(e,C,"whitespace")(A):C(A)}function C(A){return A===58?(a+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),E):A===45?(a+=1,E(A)):A===null||$e(A)?I(A):O(A)}function E(A){return A===45?(e.enter("tableDelimiterFiller"),_(A)):O(A)}function _(A){return A===45?(e.consume(A),_):A===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(A))}function T(A){return Ke(A)?Xe(e,I,"whitespace")(A):I(A)}function I(A){return A===124?S(A):A===null||$e(A)?!l||o!==a?O(A):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(A)):O(A)}function O(A){return n(A)}function j(A){return e.enter("tableRow"),B(A)}function B(A){return A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),B):A===null||$e(A)?(e.exit("tableRow"),t(A)):Ke(A)?Xe(e,B,"whitespace")(A):(e.enter("data"),Q(A))}function Q(A){return A===null||A===124||ht(A)?(e.exit("data"),B(A)):(e.consume(A),A===92?oe:Q)}function oe(A){return A===92||A===124?(e.consume(A),Q):Q(A)}}function BU(e,t){let n=-1,r=!0,o=0,a=[0,0,0,0],l=[0,0,0,0],u=!1,d=0,f,h,p;const x=new MU;for(;++n<e.length;){const g=e[n],S=g[1];g[0]==="enter"?S.type==="tableHead"?(u=!1,d!==0&&(nb(x,t,d,f,h),h=void 0,d=0),f={type:"table",start:Object.assign({},S.start),end:Object.assign({},S.end)},x.add(n,0,[["enter",f,t]])):S.type==="tableRow"||S.type==="tableDelimiterRow"?(r=!0,p=void 0,a=[0,0,0,0],l=[0,n+1,0,0],u&&(u=!1,h={type:"tableBody",start:Object.assign({},S.start),end:Object.assign({},S.end)},x.add(n,0,[["enter",h,t]])),o=S.type==="tableDelimiterRow"?2:h?3:1):o&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(a[1]!==0&&(l[0]=l[1],p=mc(x,t,a,o,void 0,p),a=[0,0,0,0]),l[2]=n)):S.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(l[0]=l[1],p=mc(x,t,a,o,void 0,p)),a=l,l=[a[1],n,0,0])):S.type==="tableHead"?(u=!0,d=n):S.type==="tableRow"||S.type==="tableDelimiterRow"?(d=n,a[1]!==0?(l[0]=l[1],p=mc(x,t,a,o,n,p)):l[1]!==0&&(p=mc(x,t,l,o,n,p)),o=0):o&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")&&(l[3]=n)}for(d!==0&&nb(x,t,d,f,h),x.consume(t.events),n=-1;++n<t.events.length;){const g=t.events[n];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=FU(t.events,n))}return e}function mc(e,t,n,r,o,a){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(a.end=Object.assign({},As(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const d=As(t.events,n[1]);if(a={type:l,start:Object.assign({},d),end:Object.assign({},d)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const f=As(t.events,n[2]),h=As(t.events,n[3]),p={type:u,start:Object.assign({},f),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const x=t.events[n[2]],g=t.events[n[3]];if(x[1].end=Object.assign({},g[1].end),x[1].type="chunkText",x[1].contentType="text",n[3]>n[2]+1){const S=n[2]+1,k=n[3]-n[2]-1;e.add(S,k,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return o!==void 0&&(a.end=Object.assign({},As(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function nb(e,t,n,r,o){const a=[],l=As(t.events,n);o&&(o.end=Object.assign({},l),a.push(["exit",o,t])),r.end=Object.assign({},l),a.push(["exit",r,t]),e.add(n+1,0,a)}function As(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const UU={name:"tasklistCheck",tokenize:WU};function HU(){return{text:{91:UU}}}function WU(e,t,n){const r=this;return o;function o(d){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(d):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),a)}function a(d){return ht(d)?(e.enter("taskListCheckValueUnchecked"),e.consume(d),e.exit("taskListCheckValueUnchecked"),l):d===88||d===120?(e.enter("taskListCheckValueChecked"),e.consume(d),e.exit("taskListCheckValueChecked"),l):n(d)}function l(d){return d===93?(e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(d)}function u(d){return $e(d)?t(d):Ke(d)?e.check({tokenize:ZU},t,n)(d):n(d)}}function ZU(e,t,n){return Xe(e,r,"whitespace");function r(o){return o===null?n(o):t(o)}}function qU(e){return $C([vU(),TU(),zU(e),$U(),HU()])}const QU={};function YU(e){const t=this,n=e||QU,r=t.data(),o=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);o.push(qU(n)),a.push(pU()),l.push(mU(n))}function KU({content:e,className:t}){return y.jsx("div",{className:Be("prose prose-sm dark:prose-invert max-w-none break-words","prose-headings:font-semibold prose-headings:text-foreground","prose-p:text-muted-foreground prose-p:leading-relaxed","prose-a:text-primary prose-a:no-underline hover:prose-a:underline","prose-code:bg-muted prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-sm prose-code:before:content-none prose-code:after:content-none","prose-pre:bg-muted prose-pre:border prose-pre:overflow-x-auto","prose-ul:text-muted-foreground prose-ol:text-muted-foreground","prose-li:marker:text-muted-foreground","prose-blockquote:border-l-primary prose-blockquote:text-muted-foreground","prose-table:text-sm","prose-th:text-left prose-th:font-semibold","prose-td:border prose-th:border",t),children:y.jsx(zB,{remarkPlugins:[YU],children:e})})}function jE({open:e,onClose:t,breadcrumbItems:n,title:r,description:o,onEdit:a,children:l}){return y.jsx(dg,{open:e,onOpenChange:u=>!u&&t(),children:y.jsxs(fg,{className:"max-w-4xl p-0 gap-0 max-h-[90vh] overflow-hidden",children:[y.jsx("div",{className:"p-4 border-b flex items-center justify-between",children:y.jsx(EC,{items:n})}),y.jsx($m,{className:"max-h-[calc(90vh-80px)]",children:y.jsxs("div",{className:"flex flex-col",children:[y.jsxs("div",{className:"px-4 pt-4 pb-2 flex justify-between items-start",children:[y.jsx("h2",{className:"text-xl font-semibold",children:r}),y.jsxs(it,{variant:"ghost",size:"sm",onClick:a,children:[y.jsx(vm,{className:"mr-1 h-4 w-4"}),"Edit"]})]}),y.jsxs("div",{className:"px-4 pb-4",children:[y.jsx("h4",{className:"text-xs uppercase text-muted-foreground font-semibold mb-2",children:"Description"}),o?y.jsx(KU,{content:o}):y.jsx("p",{className:"text-sm text-muted-foreground italic",children:"No description"})]}),l]})})]})})}function RE({open:e,onClose:t,breadcrumbItems:n,formId:r,isSubmitting:o,isDeleting:a,entityName:l,onCancel:u,onDelete:d,onDeleteConfirm:f,onDeleteCancel:h,children:p}){return y.jsx(dg,{open:e,onOpenChange:x=>!x&&t(),children:y.jsxs(fg,{className:"max-w-lg p-0 gap-0 max-h-[90vh] overflow-hidden",children:[y.jsx("div",{className:"flex items-center border-b p-4",children:y.jsx(EC,{items:n})}),y.jsx($m,{className:"max-h-[calc(90vh-140px)]",children:p}),y.jsxs("div",{className:"p-4 border-t flex items-center justify-between",children:[y.jsx(c3,{isConfirming:a,entityName:l,onDelete:d,onConfirm:f,onCancel:h}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(it,{type:"button",variant:"outline",size:"sm",onClick:u,children:"Cancel"}),y.jsx(it,{type:"submit",form:r,size:"sm",disabled:o,children:o?"Saving...":"Save"})]})]})]})})}function GU({task:e,onStatusChange:t,onPriorityChange:n,onEpicClick:r,getEpicById:o}){const a=e.epicId?o(e.epicId):null,l=e.tags?e.tags.split(",").map(d=>d.trim()):[],u=()=>{a&&r&&r(a)};return y.jsxs("div",{children:[y.jsx(wl,{children:"Details"}),y.jsxs("div",{className:"space-y-2",children:[y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Status"}),y.jsx(Od,{value:e.status,onChange:t,statuses:Ed,triggerClassName:"w-auto h-8 text-right"})]}),y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Priority"}),y.jsx(Dd,{value:e.priority,onChange:n,triggerClassName:"w-auto h-8 text-right"})]}),a&&y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Epic"}),y.jsxs("button",{className:"flex items-center gap-0.5 text-sm text-purple-500 hover:text-purple-600",onClick:u,children:[a.id,y.jsx(id,{className:"h-3 w-3"})]})]}),l.length>0&&y.jsxs("div",{children:[y.jsx("span",{className:"text-sm text-muted-foreground mb-1 block",children:"Tags"}),y.jsx("div",{className:"flex flex-wrap gap-1",children:l.map(d=>y.jsx(ao,{variant:"secondary",className:"text-xs",children:d},d))})]})]})]})}function rb({taskId:e,variant:t,onClick:n}){const r=t==="depends"?Xb:Jb;return y.jsxs("button",{className:Be("inline-flex items-center gap-1 px-2 py-1 rounded-md text-xs font-mono","transition-colors hover:ring-1",t==="depends"&&"bg-amber-500/10 text-amber-600 dark:text-amber-400 hover:ring-amber-500/50",t==="blocks"&&"bg-rose-500/10 text-rose-600 dark:text-rose-400 hover:ring-rose-500/50"),onClick:n,title:t==="depends"?"Depends on this task":"Blocks this task",children:[y.jsx(r,{className:"h-3 w-3"}),e]})}function XU({dependsOn:e,blocks:t,onTaskClick:n,getTaskById:r}){if(!(e.length>0||t.length>0))return null;const a=l=>{const u=r(l);u&&n&&n(u)};return y.jsxs("div",{children:[y.jsx(wl,{children:"Dependencies"}),y.jsxs("div",{className:"space-y-2",children:[e.length>0&&y.jsxs("div",{children:[y.jsx("span",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1.5 block",children:"Depends on"}),y.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.map(l=>y.jsx(rb,{taskId:l,variant:"depends",onClick:()=>a(l)},l))})]}),t.length>0&&y.jsxs("div",{children:[y.jsx("span",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1.5 block",children:"Blocks"}),y.jsx("div",{className:"flex flex-wrap gap-1.5",children:t.map(l=>y.jsx(rb,{taskId:l,variant:"blocks",onClick:()=>a(l)},l))})]})]})]})}const JU=["completed","archived","wont_fix"];function im(e){return JU.includes(e)}function e8({subtask:e,onClick:t}){const n=im(e.status);return y.jsxs(it,{variant:"ghost",className:"w-full justify-start h-auto p-1.5 gap-2",onClick:t,children:[y.jsx(bC,{status:e.status}),y.jsx("span",{className:"font-mono text-xs text-muted-foreground",children:e.id}),y.jsx("span",{className:Be("text-sm flex-1 text-left truncate",n&&"line-through text-muted-foreground"),children:e.title})]})}function t8({subtasks:e,onTaskClick:t}){if(e.length===0)return null;const n=e.filter(r=>r.status==="completed").length;return y.jsxs("div",{children:[y.jsx(wl,{count:{current:n,total:e.length},children:"Subtasks"}),y.jsx("div",{className:"space-y-1",children:e.map(r=>y.jsx(e8,{subtask:r,onClick:()=>t==null?void 0:t(r)},r.id))})]})}function n8({taskId:e}){const[t,n]=b.useState([]),[r,o]=b.useState(!0),[a,l]=b.useState(""),[u,d]=b.useState(""),[f,h]=b.useState(!1);b.useEffect(()=>{const S=localStorage.getItem("trekker-comment-author");S&&l(S)},[]),b.useEffect(()=>{p()},[e]);const p=async()=>{try{const S=await fetch(`/api/tasks/${e}/comments`);if(S.ok){const k=await S.json();n(k)}}catch(S){console.error("Failed to fetch comments:",S)}finally{o(!1)}},x=async()=>{if(!a.trim()||!u.trim()){Ct.error("Author and content are required");return}h(!0);try{localStorage.setItem("trekker-comment-author",a);const S=await fetch(`/api/tasks/${e}/comments`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({author:a,content:u})});if(!S.ok){const C=await S.json();throw new Error(C.error||"Failed to add comment")}const k=await S.json();n([...t,k]),d(""),Ct.success("Comment added")}catch(S){Ct.error(S instanceof Error?S.message:"Failed to add comment")}finally{h(!1)}},g=async S=>{try{if(!(await fetch(`/api/comments/${S}`,{method:"DELETE"})).ok)throw new Error("Failed to delete comment");n(t.filter(C=>C.id!==S)),Ct.success("Comment deleted")}catch{Ct.error("Failed to delete comment")}};return y.jsxs("div",{className:"p-4 mt-4 border-t",children:[y.jsxs("h4",{className:"text-sm font-medium mb-3",children:["Comments ",t.length>0&&`(${t.length})`]}),r?y.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading..."}):y.jsxs(y.Fragment,{children:[t.length>0&&y.jsx("div",{className:"space-y-3 mb-4",children:t.map(S=>y.jsxs("div",{className:"p-3 bg-muted/50 group relative",children:[y.jsxs("div",{className:"flex items-center justify-between mb-1",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"text-sm font-medium",children:S.author}),y.jsx("span",{className:"text-xs text-muted-foreground",children:cg(S.createdAt)})]}),y.jsx(it,{variant:"ghost",size:"icon",className:"h-7 w-7 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>g(S.id),children:y.jsx(xm,{className:"h-3.5 w-3.5"})})]}),y.jsx("p",{className:"text-sm text-muted-foreground whitespace-pre-wrap",children:S.content})]},S.id))}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Jr,{placeholder:"Your name",value:a,onChange:S=>l(S.target.value)}),y.jsx(Ll,{placeholder:"Add a comment...",value:u,onChange:S=>d(S.target.value),rows:2}),y.jsx(it,{size:"sm",onClick:x,disabled:f||!a.trim()||!u.trim(),children:f?"Adding...":"Add Comment"})]})]})]})}async function r8(e){var r,o;const t=new URLSearchParams;e.entityId&&t.set("entityId",e.entityId),(r=e.types)!=null&&r.length&&t.set("type",e.types.join(",")),(o=e.actions)!=null&&o.length&&t.set("action",e.actions.join(",")),e.since&&t.set("since",e.since),e.until&&t.set("until",e.until),e.limit&&t.set("limit",e.limit.toString()),e.page&&t.set("page",e.page.toString());const n=await fetch(`/api/history?${t.toString()}`);if(!n.ok){const a=await n.json();throw new Error(a.error||"Failed to fetch history")}return n.json()}function IE(e){return Al({queryKey:["history",e],queryFn:()=>r8(e)})}function i8({event:e}){return y.jsxs("div",{className:"flex gap-2.5 py-2.5 border-b last:border-b-0",children:[y.jsx("div",{className:"mt-0.5",children:y.jsx(SC,{action:e.action,className:"h-3.5 w-3.5"})}),y.jsxs("div",{className:"flex-1 min-w-0",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-0.5",children:[y.jsxs("span",{className:Be("text-xs font-medium capitalize",CC(e.action)),children:[e.action,"d"]}),y.jsx("span",{className:"text-xs text-muted-foreground",children:cg(e.timestamp)})]}),e.changes&&Object.keys(e.changes).length>0&&y.jsx("div",{className:"text-xs space-y-0.5",children:Object.entries(e.changes).map(([t,n])=>{const{from:r,to:o}=n;return y.jsxs("div",{className:"flex items-center gap-1 text-muted-foreground",children:[y.jsxs("span",{className:"font-medium",children:[t,":"]}),y.jsx("span",{className:"line-through",children:String(r)}),y.jsx("span",{children:"→"}),y.jsx("span",{className:"text-foreground",children:String(o)})]},t)})}),e.action==="create"&&e.snapshot&&y.jsx("p",{className:"text-xs text-muted-foreground",children:"Task created"})]})]})}function o8({taskId:e}){const{data:t,isLoading:n,error:r}=IE({entityId:e,limit:50});return n?y.jsx("div",{className:"p-4",children:y.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading..."})}):r?y.jsx("div",{className:"p-4",children:y.jsxs("p",{className:"text-sm text-destructive",children:["Error: ",r instanceof Error?r.message:"Unknown error"]})}):t!=null&&t.events.length?y.jsxs("div",{className:"p-4",children:[y.jsxs("h4",{className:"text-sm font-medium mb-3",children:["History (",t.events.length,")"]}),y.jsx("div",{children:t.events.map(o=>y.jsx(i8,{event:o},o.id))})]}):y.jsx("div",{className:"p-4",children:y.jsx("p",{className:"text-sm text-muted-foreground italic",children:"No history"})})}function s8({task:e,subtasks:t,onStatusChange:n,onPriorityChange:r,onTaskClick:o,onEpicClick:a,getEpicById:l,getTaskById:u}){const[d,f]=b.useState("comments");return y.jsxs("div",{className:"bg-muted/50 rounded-b-md",children:[y.jsxs("div",{className:"p-4 space-y-6",children:[y.jsx(GU,{task:e,onStatusChange:n,onPriorityChange:r,onEpicClick:a,getEpicById:l}),y.jsx(XU,{dependsOn:e.dependsOn,blocks:e.blocks,onTaskClick:o,getTaskById:u}),y.jsx(t8,{subtasks:t,onTaskClick:o}),y.jsx(wC,{createdAt:e.createdAt,updatedAt:e.updatedAt})]}),y.jsxs("div",{className:"border-t",children:[y.jsxs("div",{className:"flex border-b",children:[y.jsxs(it,{variant:"ghost",size:"sm",className:Be("flex-1 rounded-none",d==="comments"&&"bg-accent"),onClick:()=>f("comments"),children:[y.jsx(Mj,{className:"h-4 w-4 mr-1.5"}),"Comments"]}),y.jsxs(it,{variant:"ghost",size:"sm",className:Be("flex-1 rounded-none",d==="history"&&"bg-accent"),onClick:()=>f("history"),children:[y.jsx(ik,{className:"h-4 w-4 mr-1.5"}),"History"]})]}),d==="comments"?y.jsx(n8,{taskId:e.id}):y.jsx(o8,{taskId:e.id})]})]})}function a8({task:e,subtasks:t,breadcrumbItems:n,status:r,priority:o,open:a,onClose:l,onEdit:u,onStatusChange:d,onPriorityChange:f,onTaskClick:h,onEpicClick:p,getEpicById:x,getTaskById:g}){return y.jsx(jE,{open:a,onClose:l,breadcrumbItems:n,title:e.title,description:e.description,onEdit:u,children:y.jsx(s8,{task:{...e,status:r,priority:o},subtasks:t,onStatusChange:d,onPriorityChange:f,onTaskClick:h,onEpicClick:p,getEpicById:x,getTaskById:g})})}function l8({form:e,epics:t,breadcrumbItems:n,open:r,isDeleting:o,onClose:a,onSubmit:l,onCancel:u,onDelete:d,onDeleteConfirm:f,onDeleteCancel:h}){const{watch:p,setValue:x,handleSubmit:g,formState:{isSubmitting:S,errors:k}}=e,C=p("title"),E=p("description"),_=p("status"),T=p("priority"),I=p("tags"),O=p("epicId"),j=async B=>{await l(B)&&u()};return y.jsx(RE,{open:r,onClose:a,breadcrumbItems:n,formId:"task-edit-form",isSubmitting:S,isDeleting:o,entityName:"Task",onCancel:u,onDelete:d,onDeleteConfirm:f,onDeleteCancel:h,children:y.jsxs("form",{id:"task-edit-form",onSubmit:g(j),className:"space-y-4 p-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Title"}),y.jsx(Jr,{value:C,onChange:B=>x("title",B.target.value),placeholder:"Task title",className:"text-lg font-semibold"}),k.title&&y.jsx("p",{className:"text-xs text-destructive",children:k.title.message})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Description"}),y.jsx(Ll,{value:E,onChange:B=>x("description",B.target.value),placeholder:"Task description",rows:4})]}),y.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Status"}),y.jsx(Od,{value:_,onChange:B=>x("status",B),statuses:Ed})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Priority"}),y.jsx(Dd,{value:T,onChange:B=>x("priority",B)})]})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Tags (comma-separated)"}),y.jsx(Jr,{value:I,onChange:B=>x("tags",B.target.value),placeholder:"bug, frontend, urgent"})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Epic"}),y.jsxs(dr,{value:O||"none",onValueChange:B=>x("epicId",B==="none"?null:B),children:[y.jsx(hr,{children:y.jsx(fr,{})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"none",children:"No Epic"}),t.map(B=>y.jsxs(nn,{value:B.id,children:[B.id,": ",B.title]},B.id))]})]})]})]})})}const u8=sg({title:Cn().min(1,"Title is required"),description:Cn(),status:Cn(),priority:og().min(0).max(5),tags:Cn(),epicId:Cn().nullable()});function c8({task:e,open:t,isEditing:n,onClose:r,onUpdate:o}){const a=nd(),[l,u]=b.useState(!1),d=Km({resolver:ig(u8),values:e?{title:e.title,description:e.description||"",status:e.status,priority:e.priority,tags:e.tags||"",epicId:e.epicId}:{title:"",description:"",status:"todo",priority:2,tags:"",epicId:null},resetOptions:{keepDirtyValues:!1}}),{reset:f,formState:{isSubmitting:h}}=d;return b.useEffect(()=>{u(!1)},[t,n]),{form:d,isSubmitting:h,isDeleting:l,setIsDeleting:u,handleSave:async C=>{if(e)try{const E=await fetch(`/api/tasks/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:C.title.trim(),description:C.description.trim()||null,status:C.status,priority:C.priority,tags:C.tags.trim()||null,epicId:C.epicId||null})});if(!E.ok){const _=await E.json();throw new Error(_.error||"Failed to update task")}return Ct.success("Task updated"),o(),a.invalidateQueries({queryKey:["history"]}),!0}catch(E){return Ct.error(E instanceof Error?E.message:"Failed to update task"),!1}},handleDelete:async()=>{if(e)try{const C=await fetch(`/api/tasks/${e.id}`,{method:"DELETE"});if(!C.ok){const E=await C.json();throw new Error(E.error||"Failed to delete task")}Ct.success("Task deleted"),r(),o(),a.invalidateQueries({queryKey:["history"]})}catch(C){Ct.error(C instanceof Error?C.message:"Failed to delete task")}},handleCancel:()=>{e&&f({title:e.title,description:e.description||"",status:e.status,priority:e.priority,tags:e.tags||"",epicId:e.epicId}),u(!1)},handleStatusChange:async C=>{if(!e)return;const E=d.getValues("status");d.setValue("status",C);try{const _=await fetch(`/api/tasks/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({status:C})});if(!_.ok){const T=await _.json();throw d.setValue("status",E),new Error(T.error||"Failed to update status")}o(),a.invalidateQueries({queryKey:["history"]})}catch(_){Ct.error(_ instanceof Error?_.message:"Failed to update status")}},handlePriorityChange:async C=>{if(!e)return;const E=d.getValues("priority");d.setValue("priority",C);try{const _=await fetch(`/api/tasks/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:C})});if(!_.ok){const T=await _.json();throw d.setValue("priority",E),new Error(T.error||"Failed to update priority")}o(),a.invalidateQueries({queryKey:["history"]})}catch(_){Ct.error(_ instanceof Error?_.message:"Failed to update priority")}}}}function Rg({task:e,epics:t,allTasks:n,open:r,onClose:o,onUpdate:a,onTaskClick:l,onEpicClick:u}){const[d,f]=b.useState(!1),{form:h,isDeleting:p,setIsDeleting:x,handleSave:g,handleDelete:S,handleCancel:k,handleStatusChange:C,handlePriorityChange:E}=c8({task:e,open:r,isEditing:d,onClose:o,onUpdate:a}),_=b.useCallback(ne=>t.find(W=>W.id===ne),[t]),T=b.useCallback(ne=>n.find(W=>W.id===ne),[n]),I=b.useCallback(ne=>ne?n.find(W=>W.id===ne):null,[n]),O=()=>{f(!1),o()};if(!e)return null;const j=!!e.parentTaskId,B=n.filter(ne=>ne.parentTaskId===e.id),oe=(()=>{const ne=[],W=e.epicId?_(e.epicId):null,U=I(e.parentTaskId);return W&&ne.push({id:W.id,title:W.title,type:"epic",onClick:u?()=>u(W):void 0}),U&&ne.push({id:U.id,title:U.title,type:"task",onClick:l?()=>l(U):void 0}),ne.push({id:e.id,title:e.title,type:j?"subtask":"task"}),ne})(),A=h.watch("status"),K=h.watch("priority"),M=()=>{k(),f(!1)};return y.jsxs(y.Fragment,{children:[y.jsx(a8,{task:e,subtasks:B,breadcrumbItems:oe,status:A,priority:K,open:r&&!d,onClose:O,onEdit:()=>f(!0),onStatusChange:C,onPriorityChange:E,onTaskClick:l,onEpicClick:u,getEpicById:_,getTaskById:T}),y.jsx(l8,{form:h,epics:t,breadcrumbItems:oe,open:r&&d,isDeleting:p,onClose:O,onSubmit:g,onCancel:M,onDelete:()=>x(!0),onDeleteConfirm:S,onDeleteCancel:()=>x(!1)})]})}function d8({status:e,priority:t,tasks:n,createdAt:r,updatedAt:o,onStatusChange:a,onPriorityChange:l,onTaskClick:u}){const d=n.filter(h=>!h.parentTaskId),f=d.filter(h=>im(h.status)).length;return y.jsx("div",{className:"p-4 bg-muted/30 rounded-b-md",children:y.jsxs("div",{className:"space-y-6",children:[y.jsxs("div",{children:[y.jsx(wl,{children:"Details"}),y.jsxs("div",{className:"space-y-2",children:[y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Status"}),y.jsx(Od,{value:e,onChange:a,statuses:Gm,triggerClassName:"w-auto h-8 text-right"})]}),y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-sm text-muted-foreground",children:"Priority"}),y.jsx(Dd,{value:t,onChange:l,triggerClassName:"w-auto h-8 text-right"})]})]})]}),d.length>0&&y.jsxs("div",{children:[y.jsx(wl,{count:{current:f,total:d.length},children:"Tasks"}),y.jsx("div",{className:"space-y-1",children:d.map(h=>{const p=im(h.status);return y.jsxs(it,{variant:"ghost",className:"w-full justify-start h-auto p-1.5 gap-2 whitespace-normal",onClick:()=>u==null?void 0:u(h),children:[y.jsx(bC,{status:h.status}),y.jsx("span",{className:"font-mono text-xs text-muted-foreground shrink-0",children:h.id}),y.jsx("span",{className:Be("text-sm flex-1 text-left wrap-break-words",p&&"line-through text-muted-foreground"),children:h.title})]},h.id)})})]}),y.jsx(wC,{createdAt:r,updatedAt:o})]})})}function f8({epic:e,tasks:t,breadcrumbItems:n,status:r,priority:o,open:a,onClose:l,onEdit:u,onStatusChange:d,onPriorityChange:f,onTaskClick:h}){return y.jsx(jE,{open:a,onClose:l,breadcrumbItems:n,title:e.title,description:e.description,onEdit:u,children:y.jsx(d8,{status:r,priority:o,tasks:t,createdAt:e.createdAt,updatedAt:e.updatedAt,onStatusChange:d,onPriorityChange:f,onTaskClick:h})})}function h8({form:e,breadcrumbItems:t,open:n,isDeleting:r,onClose:o,onSubmit:a,onCancel:l,onDelete:u,onDeleteConfirm:d,onDeleteCancel:f}){const{watch:h,setValue:p,handleSubmit:x,formState:{isSubmitting:g,errors:S}}=e,k=h("title"),C=h("description"),E=h("status"),_=h("priority"),T=async I=>{await a(I)&&l()};return y.jsx(RE,{open:n,onClose:o,breadcrumbItems:t,formId:"epic-edit-form",isSubmitting:g,isDeleting:r,entityName:"Epic",onCancel:l,onDelete:u,onDeleteConfirm:d,onDeleteCancel:f,children:y.jsxs("form",{id:"epic-edit-form",onSubmit:x(T),className:"space-y-4 p-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Title"}),y.jsx(Jr,{value:k,onChange:I=>p("title",I.target.value),placeholder:"Epic title",className:"text-lg font-semibold"}),S.title&&y.jsx("p",{className:"text-xs text-destructive",children:S.title.message})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Description"}),y.jsx(Ll,{value:C,onChange:I=>p("description",I.target.value),placeholder:"Epic description",rows:4})]}),y.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Status"}),y.jsx(Od,{value:E,onChange:I=>p("status",I),statuses:Gm})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Wt,{children:"Priority"}),y.jsx(Dd,{value:_,onChange:I=>p("priority",I)})]})]})]})})}const p8=sg({title:Cn().min(1,"Title is required"),description:Cn(),status:Cn(),priority:og().min(0).max(5)});function m8({epic:e,open:t,isEditing:n,onClose:r,onUpdate:o}){const[a,l]=b.useState(!1),u=Km({resolver:ig(p8),values:e?{title:e.title,description:e.description||"",status:e.status,priority:e.priority}:{title:"",description:"",status:"todo",priority:2},resetOptions:{keepDirtyValues:!1}}),{reset:d,formState:{isSubmitting:f}}=u;return b.useEffect(()=>{l(!1)},[t,n]),{form:u,isSubmitting:f,isDeleting:a,setIsDeleting:l,handleSave:async k=>{if(e)try{const C=await fetch(`/api/epics/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:k.title.trim(),description:k.description.trim()||null,status:k.status,priority:k.priority})});if(!C.ok){const E=await C.json();throw new Error(E.error||"Failed to update epic")}return Ct.success("Epic updated"),o(),!0}catch(C){return Ct.error(C instanceof Error?C.message:"Failed to update epic"),!1}},handleDelete:async()=>{if(e)try{const k=await fetch(`/api/epics/${e.id}`,{method:"DELETE"});if(!k.ok){const C=await k.json();throw new Error(C.error||"Failed to delete epic")}Ct.success("Epic deleted"),r(),o()}catch(k){Ct.error(k instanceof Error?k.message:"Failed to delete epic")}},handleCancel:()=>{e&&d({title:e.title,description:e.description||"",status:e.status,priority:e.priority}),l(!1)},handleStatusChange:async k=>{if(!e)return;const C=u.getValues("status");u.setValue("status",k);try{const E=await fetch(`/api/epics/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({status:k})});if(!E.ok){const _=await E.json();throw u.setValue("status",C),new Error(_.error||"Failed to update status")}o()}catch(E){Ct.error(E instanceof Error?E.message:"Failed to update status")}},handlePriorityChange:async k=>{if(!e)return;const C=u.getValues("priority");u.setValue("priority",k);try{const E=await fetch(`/api/epics/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:k})});if(!E.ok){const _=await E.json();throw u.setValue("priority",C),new Error(_.error||"Failed to update priority")}o()}catch(E){Ct.error(E instanceof Error?E.message:"Failed to update priority")}}}}function Ig({epic:e,tasks:t=[],open:n,onClose:r,onUpdate:o,onTaskClick:a}){const[l,u]=b.useState(!1),{form:d,isDeleting:f,setIsDeleting:h,handleSave:p,handleDelete:x,handleCancel:g,handleStatusChange:S,handlePriorityChange:k}=m8({epic:e,open:n,isEditing:l,onClose:r,onUpdate:o}),C=()=>{u(!1),r()};if(!e)return null;const E=[{id:e.id,title:e.title,type:"epic"}],_=d.watch("status"),T=d.watch("priority"),I=()=>{g(),u(!1)};return y.jsxs(y.Fragment,{children:[y.jsx(f8,{epic:e,tasks:t,breadcrumbItems:E,status:_,priority:T,open:n&&!l,onClose:C,onEdit:()=>u(!0),onStatusChange:S,onPriorityChange:k,onTaskClick:a}),y.jsx(h8,{form:d,breadcrumbItems:E,open:n&&l,isDeleting:f,onClose:C,onSubmit:p,onCancel:I,onDelete:()=>h(!0),onDeleteConfirm:x,onDeleteCancel:()=>h(!1)})]})}function g8({open:e,onOpenChange:t,title:n,description:r,confirmLabel:o="Confirm",cancelLabel:a="Cancel",onConfirm:l,variant:u="default"}){const d=()=>{l(),t(!1)};return y.jsx(dg,{open:e,onOpenChange:t,children:y.jsxs(fg,{className:"sm:max-w-[400px]",children:[y.jsxs(b3,{children:[y.jsx(S3,{children:n}),y.jsx(C3,{children:r})]}),y.jsxs(k3,{children:[y.jsx(it,{variant:"outline",onClick:()=>t(!1),children:a}),y.jsx(it,{variant:u==="destructive"?"destructive":"default",onClick:d,children:o})]})]})})}function y8(){const{tasks:e,epics:t,isLoading:n,error:r,refetch:o}=rd(),a=tj(),[l,u]=b.useState(!1),{selectedTaskId:d,selectedEpicId:f,openTaskDetail:h,openEpicDetail:p,openCreateModal:x,closeTaskDetail:g,closeEpicDetail:S}=Gs();H$(o);const k=d&&e.find(E=>E.id===d)||null,C=f&&t.find(E=>E.id===f)||null;return n&&e.length===0?y.jsx("div",{className:"flex items-center justify-center flex-1",children:y.jsx("span",{className:"text-muted-foreground",children:"Loading..."})}):r?y.jsx("div",{className:"flex items-center justify-center flex-1",children:y.jsxs("span",{className:"text-destructive",children:["Error: ",r instanceof Error?r.message:"Unknown error"]})}):y.jsxs(y.Fragment,{children:[y.jsx("main",{className:"flex-1 p-4 overflow-x-auto",children:y.jsx(u3,{tasks:e,epics:t,onAddClick:E=>x({status:E}),onTaskClick:E=>h(E.id),onEpicClick:E=>p(E.id),onArchiveAllCompleted:()=>u(!0)})}),y.jsx(g8,{open:l,onOpenChange:u,title:"Archive All Completed",description:"This will move all completed tasks and epics to the archived status. This action can be undone by manually changing their status back.",confirmLabel:"Archive All",onConfirm:()=>a.mutate()}),y.jsx(Rg,{task:k,epics:t,allTasks:e,open:k!==null,onClose:g,onUpdate:o,onTaskClick:E=>h(E.id),onEpicClick:E=>{g(),p(E.id)}}),y.jsx(Ig,{epic:C,tasks:C?e.filter(E=>E.epicId===C.id):[],open:C!==null,onClose:S,onUpdate:o,onTaskClick:E=>{S();const _=e.find(T=>T.id===E.id);_&&h(_.id)}})]})}async function v8(e){var r,o,a;const t=new URLSearchParams;(r=e.types)!=null&&r.length&&t.set("type",e.types.join(",")),(o=e.statuses)!=null&&o.length&&t.set("status",e.statuses.join(",")),(a=e.priorities)!=null&&a.length&&t.set("priority",e.priorities.join(",")),e.sort&&t.set("sort",e.sort),e.limit&&t.set("limit",e.limit.toString()),e.page&&t.set("page",e.page.toString()),e.since&&t.set("since",e.since),e.until&&t.set("until",e.until);const n=await fetch(`/api/list?${t.toString()}`);if(!n.ok){const l=await n.json();throw new Error(l.error||"Failed to fetch list")}return n.json()}function x8(e){return Al({queryKey:["list",e],queryFn:()=>v8(e)})}const w8=[{value:"epic",label:"Epic"},{value:"task",label:"Task"},{value:"subtask",label:"Subtask"}],b8=[{value:"created:desc",label:"Newest first"},{value:"created:asc",label:"Oldest first"},{value:"updated:desc",label:"Recently updated"},{value:"priority:asc",label:"Priority (high to low)"},{value:"priority:desc",label:"Priority (low to high)"},{value:"title:asc",label:"Title (A-Z)"},{value:"title:desc",label:"Title (Z-A)"}],k8=[20,50,100];function S8(){var B,Q,oe,A,K;const{tasks:e,epics:t,refetch:n}=rd(),{selectedTaskId:r,selectedEpicId:o,openTaskDetail:a,openEpicDetail:l,closeTaskDetail:u,closeEpicDetail:d}=Gs(),[f,h]=b.useState({limit:20,page:1,sort:"created:desc"}),[p,x]=b.useState(""),{data:g,isLoading:S,error:k}=x8(f),C=r&&e.find(M=>M.id===r)||null,E=o&&t.find(M=>M.id===o)||null,_=M=>{M.type==="epic"?l(M.id):a(M.id)},T=M=>{const ne=f.types||[],W=ne.includes(M)?ne.filter(U=>U!==M):[...ne,M];h({...f,types:W.length?W:void 0,page:1})},I=()=>{h({limit:f.limit,page:1,sort:f.sort}),x("")},O=!!((B=f.types)!=null&&B.length||(Q=f.statuses)!=null&&Q.length||(oe=f.priorities)!=null&&oe.length),j=g?Math.ceil(g.total/(f.limit||20)):0;return y.jsxs(y.Fragment,{children:[y.jsxs("main",{className:"flex-1 p-4 flex flex-col gap-4 overflow-hidden",children:[y.jsxs("div",{className:"flex flex-wrap gap-3 items-center",children:[y.jsxs("div",{className:"relative w-64",children:[y.jsx(Wj,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),y.jsx(Jr,{placeholder:"Search...",value:p,onChange:M=>x(M.target.value),className:"pl-9"})]}),y.jsx("div",{className:"flex gap-1",children:w8.map(({value:M,label:ne})=>{var W;return y.jsx(it,{variant:(W=f.types)!=null&&W.includes(M)?"default":"outline",size:"sm",onClick:()=>T(M),children:ne},M)})}),y.jsxs(dr,{value:((A=f.statuses)==null?void 0:A.join(","))||"all",onValueChange:M=>{h(M==="all"?{...f,statuses:void 0,page:1}:{...f,statuses:M.split(","),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Status"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Statuses"}),Ed.map(M=>y.jsx(nn,{value:M,children:ta[M]},M))]})]}),y.jsxs(dr,{value:((K=f.priorities)==null?void 0:K.join(","))||"all",onValueChange:M=>{h(M==="all"?{...f,priorities:void 0,page:1}:{...f,priorities:M.split(",").map(Number),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Priority"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Priorities"}),Object.entries(_d).map(([M,ne])=>y.jsxs(nn,{value:M,children:["P",M," - ",ne]},M))]})]}),y.jsxs(dr,{value:f.sort||"created:desc",onValueChange:M=>h({...f,sort:M,page:1}),children:[y.jsx(hr,{className:"w-[180px]",children:y.jsx(fr,{})}),y.jsx(pr,{children:b8.map(({value:M,label:ne})=>y.jsx(nn,{value:M,children:ne},M))})]}),O&&y.jsxs(it,{variant:"ghost",size:"sm",onClick:I,children:[y.jsx(ad,{className:"h-4 w-4 mr-1"}),"Clear"]})]}),y.jsx("div",{className:"flex-1 overflow-auto border rounded-lg",children:S?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"Loading..."})}):k?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsxs("span",{className:"text-destructive",children:["Error: ",k instanceof Error?k.message:"Unknown error"]})}):g!=null&&g.items.length?y.jsxs("table",{className:"w-full",children:[y.jsx("thead",{className:"bg-muted/50 sticky top-0",children:y.jsxs("tr",{className:"text-left text-sm",children:[y.jsx("th",{className:"px-4 py-3 font-medium",children:"ID"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Type"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Title"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Status"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Priority"}),y.jsx("th",{className:"px-4 py-3 font-medium",children:"Created"})]})}),y.jsx("tbody",{children:g.items.filter(M=>p?M.title.toLowerCase().includes(p.toLowerCase())||M.id.toLowerCase().includes(p.toLowerCase()):!0).map(M=>{var ne,W,U,q;return y.jsxs("tr",{className:"border-t hover:bg-muted/30 cursor-pointer transition-colors",onClick:()=>_(M),children:[y.jsx("td",{className:"px-4 py-3 font-mono text-sm text-muted-foreground",children:M.id}),y.jsx("td",{className:"px-4 py-3",children:y.jsx(ao,{variant:"outline",className:Be(M.type==="epic"&&"border-purple-500 text-purple-500",M.type==="task"&&"border-blue-500 text-blue-500",M.type==="subtask"&&"border-gray-500 text-gray-500"),children:M.type})}),y.jsx("td",{className:"px-4 py-3 max-w-md truncate",children:M.title}),y.jsx("td",{className:"px-4 py-3",children:y.jsx(ao,{style:{backgroundColor:((ne=Iw[M.status])==null?void 0:ne.bg)||"#6b7280",color:((W=Iw[M.status])==null?void 0:W.text)||"#ffffff"},children:ta[M.status]||M.status})}),y.jsx("td",{className:"px-4 py-3",children:y.jsxs(ao,{variant:"outline",style:{borderColor:((U=Hc[M.priority])==null?void 0:U.bg)||"#6b7280",color:((q=Hc[M.priority])==null?void 0:q.bg)||"#6b7280"},children:["P",M.priority]})}),y.jsx("td",{className:"px-4 py-3 text-sm text-muted-foreground",children:v3(M.createdAt)})]},M.id)})})]}):y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"No items found"})})}),g&&g.total>0&&y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[y.jsxs("span",{children:["Showing ",((f.page||1)-1)*(f.limit||20)+1,"-",Math.min((f.page||1)*(f.limit||20),g.total)," of"," ",g.total]}),y.jsxs(dr,{value:(f.limit||20).toString(),onValueChange:M=>h({...f,limit:parseInt(M,10),page:1}),children:[y.jsx(hr,{className:"w-[80px] h-8",children:y.jsx(fr,{})}),y.jsx(pr,{children:k8.map(M=>y.jsx(nn,{value:M.toString(),children:M},M))})]}),y.jsx("span",{children:"per page"})]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)-1}),disabled:(f.page||1)<=1,children:[y.jsx(nk,{className:"h-4 w-4"}),"Prev"]}),y.jsxs("span",{className:"text-sm text-muted-foreground",children:["Page ",f.page||1," of ",j]}),y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)+1}),disabled:(f.page||1)>=j,children:["Next",y.jsx(id,{className:"h-4 w-4"})]})]})]})]}),y.jsx(Rg,{task:C,epics:t,allTasks:e,open:C!==null,onClose:u,onUpdate:n,onTaskClick:M=>a(M.id),onEpicClick:M=>{u(),l(M.id)}}),y.jsx(Ig,{epic:E,tasks:E?e.filter(M=>M.epicId===E.id):[],open:E!==null,onClose:d,onUpdate:n,onTaskClick:M=>{d();const ne=e.find(W=>W.id===M.id);ne&&a(ne.id)}})]})}const C8=[{value:"epic",label:"Epic"},{value:"task",label:"Task"},{value:"subtask",label:"Subtask"},{value:"comment",label:"Comment"},{value:"dependency",label:"Dependency"}],E8=[{value:"create",label:"Created",icon:sd},{value:"update",label:"Updated",icon:vm},{value:"delete",label:"Deleted",icon:xm}];function _8({event:e,onEntityClick:t}){var o,a,l,u,d;const n=((o=e.snapshot)==null?void 0:o.title)||((l=(a=e.changes)==null?void 0:a.title)==null?void 0:l.to)||((d=(u=e.changes)==null?void 0:u.title)==null?void 0:d.from)||null,r=e.action!=="delete"&&["epic","task","subtask"].includes(e.entityType);return y.jsxs("div",{className:"flex gap-3 p-4 border-b last:border-b-0 hover:bg-muted/30 transition-colors",children:[y.jsx("div",{className:"mt-0.5",children:y.jsx(SC,{action:e.action})}),y.jsxs("div",{className:"flex-1 min-w-0",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[y.jsx("button",{className:Be("font-mono text-sm",r&&"hover:underline cursor-pointer",e.action==="delete"&&"line-through text-muted-foreground"),onClick:()=>r&&t(e.entityType,e.entityId),disabled:!r,children:e.entityId}),y.jsxs("span",{className:Be("text-sm font-medium",CC(e.action)),children:[e.action,"d"]}),y.jsx(ao,{variant:"outline",className:"text-xs",children:e.entityType})]}),n&&y.jsx("p",{className:Be("text-sm mb-2",e.action==="delete"&&"line-through text-muted-foreground"),children:n}),e.changes&&Object.keys(e.changes).length>0&&y.jsx("div",{className:"text-xs space-y-1",children:Object.entries(e.changes).map(([f,h])=>{const{from:p,to:x}=h;return y.jsxs("div",{className:"flex items-center gap-1 text-muted-foreground",children:[y.jsxs("span",{className:"font-medium",children:[f,":"]}),y.jsx("span",{className:"line-through",children:String(p)}),y.jsx("span",{children:"→"}),y.jsx("span",{className:"text-foreground",children:String(x)})]},f)})})]}),y.jsx("div",{className:"text-xs text-muted-foreground whitespace-nowrap",children:cg(e.timestamp)})]})}function P8(){var _,T,I,O;const{tasks:e,epics:t,refetch:n}=rd(),{selectedTaskId:r,selectedEpicId:o,openTaskDetail:a,openEpicDetail:l,closeTaskDetail:u,closeEpicDetail:d}=Gs(),[f,h]=b.useState({limit:50,page:1}),{data:p,isLoading:x,error:g}=IE(f),S=r&&e.find(j=>j.id===r)||null,k=o&&t.find(j=>j.id===o)||null,C=(j,B)=>{j==="epic"?l(B):(j==="task"||j==="subtask")&&a(B)},E=p?Math.ceil(p.total/(f.limit||50)):0;return y.jsxs(y.Fragment,{children:[y.jsxs("main",{className:"flex-1 p-4 flex flex-col gap-4 overflow-hidden",children:[y.jsxs("div",{className:"flex flex-wrap gap-3 items-center",children:[y.jsxs(dr,{value:((_=f.types)==null?void 0:_.join(","))||"all",onValueChange:j=>{h(j==="all"?{...f,types:void 0,page:1}:{...f,types:j.split(","),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Type"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Types"}),C8.map(({value:j,label:B})=>y.jsx(nn,{value:j,children:B},j))]})]}),y.jsxs(dr,{value:((T=f.actions)==null?void 0:T.join(","))||"all",onValueChange:j=>{h(j==="all"?{...f,actions:void 0,page:1}:{...f,actions:j.split(","),page:1})},children:[y.jsx(hr,{className:"w-[140px]",children:y.jsx(fr,{placeholder:"Action"})}),y.jsxs(pr,{children:[y.jsx(nn,{value:"all",children:"All Actions"}),E8.map(({value:j,label:B})=>y.jsx(nn,{value:j,children:B},j))]})]}),y.jsx("input",{type:"date",className:"h-9 px-3 text-sm border rounded-md bg-background",value:((I=f.since)==null?void 0:I.split("T")[0])||"",onChange:j=>h({...f,since:j.target.value?`${j.target.value}T00:00:00Z`:void 0,page:1}),placeholder:"Since"}),y.jsx("input",{type:"date",className:"h-9 px-3 text-sm border rounded-md bg-background",value:((O=f.until)==null?void 0:O.split("T")[0])||"",onChange:j=>h({...f,until:j.target.value?`${j.target.value}T23:59:59Z`:void 0,page:1}),placeholder:"Until"})]}),y.jsx("div",{className:"flex-1 overflow-auto border rounded-lg",children:x?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"Loading..."})}):g?y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsxs("span",{className:"text-destructive",children:["Error: ",g instanceof Error?g.message:"Unknown error"]})}):p!=null&&p.events.length?y.jsx("div",{children:p.events.map(j=>y.jsx(_8,{event:j,onEntityClick:C},j.id))}):y.jsx("div",{className:"flex items-center justify-center h-full",children:y.jsx("span",{className:"text-muted-foreground",children:"No events found"})})}),p&&p.total>0&&y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsxs("div",{className:"text-sm text-muted-foreground",children:["Showing ",((f.page||1)-1)*(f.limit||50)+1,"-",Math.min((f.page||1)*(f.limit||50),p.total)," of ",p.total," ","events"]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)-1}),disabled:(f.page||1)<=1,children:[y.jsx(nk,{className:"h-4 w-4"}),"Prev"]}),y.jsxs("span",{className:"text-sm text-muted-foreground",children:["Page ",f.page||1," of ",E]}),y.jsxs(it,{variant:"outline",size:"sm",onClick:()=>h({...f,page:(f.page||1)+1}),disabled:(f.page||1)>=E,children:["Next",y.jsx(id,{className:"h-4 w-4"})]})]})]})]}),y.jsx(Rg,{task:S,epics:t,allTasks:e,open:S!==null,onClose:u,onUpdate:n,onTaskClick:j=>a(j.id),onEpicClick:j=>{u(),l(j.id)}}),y.jsx(Ig,{epic:k,tasks:k?e.filter(j=>j.epicId===k.id):[],open:k!==null,onClose:d,onUpdate:n,onTaskClick:j=>{d();const B=e.find(Q=>Q.id===j.id);B&&a(B.id)}})]})}function T8(){const{tasks:e,epics:t,project:n,refetch:r}=rd(),{connectionStatus:o,showCreateModal:a,createModalDefaults:l,openCreateModal:u,closeCreateModal:d}=Gs();return y.jsxs("div",{className:"min-h-screen flex flex-col",children:[y.jsx(PA,{projectName:n==null?void 0:n.name,onNewClick:()=>u({status:"todo"})}),y.jsxs(AT,{children:[y.jsx(gc,{path:"/",element:y.jsx(y8,{})}),y.jsx(gc,{path:"/list",element:y.jsx(S8,{})}),y.jsx(gc,{path:"/history",element:y.jsx(P8,{})})]}),y.jsx("footer",{className:"px-4 py-2 border-t",children:y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsxs("span",{className:"text-xs text-muted-foreground",children:[e.length," tasks across ",t.length," epics"]}),y.jsx(NA,{status:o})]})}),y.jsx(U$,{open:a,onClose:d,onCreated:r,epics:t,tasks:e,defaultStatus:l.status||"todo"})]})}function N8({children:e}){const[t]=b.useState(()=>new DN({defaultOptions:{queries:{staleTime:5e3,refetchOnWindowFocus:!1}}}));return y.jsx(zN,{client:t,children:y.jsxs(XR,{defaultTheme:"system",disableTransitionOnChange:!0,children:[y.jsx(vA,{delayDuration:300,children:e}),y.jsx(k4,{position:"bottom-right",richColors:!0})]})})}DP.createRoot(document.getElementById("root")).render(y.jsx(ae.StrictMode,{children:y.jsx(rN,{children:y.jsx(N8,{children:y.jsx(T8,{})})})}));
@@ -1 +1 @@
1
- /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-500:oklch(72.3% .219 149.579);--color-blue-50:oklch(97% .014 254.604);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-800:oklch(42.4% .199 265.638);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-xs:.125rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-2\.5{left:calc(var(--spacing)*2.5)}.left-\[50\%\]{left:50%}.z-50{z-index:50}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.my-1{margin-block:calc(var(--spacing)*1)}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-1\.5{margin-right:calc(var(--spacing)*1.5)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.field-sizing-content{field-sizing:content}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-2\.5{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.size-3\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.size-full{width:100%;height:100%}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\(--radix-dropdown-menu-content-available-height\){max-height:var(--radix-dropdown-menu-content-available-height)}.max-h-\(--radix-select-content-available-height\){max-height:var(--radix-select-content-available-height)}.max-h-\[90vh\]{max-height:90vh}.max-h-\[200px\]{max-height:200px}.max-h-\[calc\(90vh-80px\)\]{max-height:calc(90vh - 80px)}.max-h-\[calc\(90vh-140px\)\]{max-height:calc(90vh - 140px)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-16{min-height:calc(var(--spacing)*16)}.min-h-\[80px\]{min-height:80px}.min-h-\[100px\]{min-height:100px}.min-h-\[calc\(100vh-180px\)\]{min-height:calc(100vh - 180px)}.min-h-screen{min-height:100vh}.w-2{width:calc(var(--spacing)*2)}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-7{width:calc(var(--spacing)*7)}.w-64{width:calc(var(--spacing)*64)}.w-\[80px\]{width:80px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[280px\]{width:280px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[320px\]{max-width:320px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[280px\]{min-width:280px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-\(--radix-dropdown-menu-content-transform-origin\){transform-origin:var(--radix-dropdown-menu-content-transform-origin)}.origin-\(--radix-select-content-transform-origin\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\(--radix-tooltip-content-transform-origin\){transform-origin:var(--radix-tooltip-content-transform-origin)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[calc\(-50\%_-_2px\)\]{--tw-translate-y: calc(-50% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-b-md{border-bottom-right-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-500{border-color:var(--color-gray-500)}.border-input{border-color:var(--input)}.border-purple-500{border-color:var(--color-purple-500)}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-blue-500{border-left-color:var(--color-blue-500)}.border-l-gray-400{border-left-color:var(--color-gray-400)}.border-l-purple-500{border-left-color:var(--color-purple-500)}.border-l-transparent{border-left-color:#0000}.bg-accent,.bg-accent\/50{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.bg-accent\/50{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-background{background-color:var(--background)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-foreground{background-color:var(--foreground)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-green-500{background-color:var(--color-green-500)}.bg-muted\/30{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/30{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary,.bg-primary\/20{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/20{background-color:color-mix(in oklab,var(--primary)20%,transparent)}}.bg-red-500{background-color:var(--color-red-500)}.bg-rose-500\/10{background-color:#ff23571a}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\/10{background-color:color-mix(in oklab,var(--color-rose-500)10%,transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-yellow-500{background-color:var(--color-yellow-500)}.fill-current{fill:currentColor}.fill-foreground{fill:var(--foreground)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-px{padding:1px}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.break-words,.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-background{color:var(--background)}.text-blue-500{color:var(--color-blue-500)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-green-500{color:var(--color-green-500)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-500{color:var(--color-purple-500)}.text-red-500{color:var(--color-red-500)}.text-rose-600{color:var(--color-rose-600)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-100{opacity:1}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.running{animation-play-state:running}@media(hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.selection\:bg-primary ::-moz-selection{background-color:var(--primary)}.selection\:bg-primary ::selection{background-color:var(--primary)}.selection\:bg-primary::-moz-selection{background-color:var(--primary)}.selection\:bg-primary::selection{background-color:var(--primary)}.selection\:text-primary-foreground ::-moz-selection{color:var(--primary-foreground)}.selection\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\:text-primary-foreground::-moz-selection{color:var(--primary-foreground)}.selection\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::-moz-placeholder{color:var(--muted-foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-background\/50:hover{background-color:var(--background)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-background\/50:hover{background-color:color-mix(in oklab,var(--background)50%,transparent)}}.hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\:bg-muted\/30:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/30:hover{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-purple-600:hover{color:var(--color-purple-600)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:ring:hover,.hover\:ring-1:hover{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:ring-amber-500\/50:hover{--tw-ring-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.hover\:ring-amber-500\/50:hover{--tw-ring-color:color-mix(in oklab,var(--color-amber-500)50%,transparent)}}.hover\:ring-rose-500\/50:hover{--tw-ring-color:#ff235780}@supports (color:color-mix(in lab,red,red)){.hover\:ring-rose-500\/50:hover{--tw-ring-color:color-mix(in oklab,var(--color-rose-500)50%,transparent)}}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[inset\]\:pl-8[data-inset]{padding-left:calc(var(--spacing)*8)}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=vertical\]\:h-full[data-orientation=vertical]{height:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[placeholder\]\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\[size\=default\]\:h-9[data-size=default]{height:calc(var(--spacing)*9)}.data-\[size\=sm\]\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=open\]\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:var(--accent)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:var(--secondary)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant=destructive]:focus{color:var(--destructive)}@media(min-width:40rem){.sm\:max-w-\[400px\]{max-width:400px}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:max-w-md{max-width:var(--container-md)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\:border-input:is(.dark,.dark *){border-color:var(--input)}.dark\:bg-blue-800:is(.dark,.dark *){background-color:var(--color-blue-800)}.dark\:bg-destructive\/60:is(.dark,.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-destructive\/60:is(.dark,.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\:bg-input\/30:is(.dark,.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-input\/30:is(.dark,.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\:text-amber-400:is(.dark,.dark *){color:var(--color-amber-400)}.dark\:text-rose-400:is(.dark,.dark *){color:var(--color-rose-400)}.dark\:prose-invert:is(.dark,.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}@media(hover:hover){.dark\:hover\:bg-accent\/50:is(.dark,.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-accent\/50:is(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\:hover\:bg-input\/50:is(.dark,.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-input\/50:is(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\:focus-visible\:ring-destructive\/40:is(.dark,.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark,.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark,.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark,.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.prose-headings\:font-semibold :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.prose-headings\:text-foreground :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--foreground)}.prose-p\:leading-relaxed :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.prose-p\:text-muted-foreground :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--muted-foreground)}.prose-a\:text-primary :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--primary)}.prose-a\:no-underline :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:none}@media(hover:hover){.hover\:prose-a\:underline:hover :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:underline}}.prose-blockquote\:border-l-primary :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){border-left-color:var(--primary)}.prose-blockquote\:text-muted-foreground :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--muted-foreground)}.prose-code\:rounded :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){border-radius:.25rem}.prose-code\:bg-muted :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:var(--muted)}.prose-code\:px-1 :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline:calc(var(--spacing)*1)}.prose-code\:py-0\.5 :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){padding-block:calc(var(--spacing)*.5)}.prose-code\:text-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.prose-code\:before\:content-none :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose-code\:after\:content-none :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:var(--tw-content);--tw-content:none;content:none}.prose-pre\:overflow-x-auto :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){overflow-x:auto}.prose-pre\:border :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}.prose-pre\:bg-muted :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:var(--muted)}.prose-ol\:text-muted-foreground :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-ul\:text-muted-foreground :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *)) ::marker{color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *)) ::-webkit-details-marker{color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *))::-webkit-details-marker{color:var(--muted-foreground)}.prose-table\:text-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.prose-th\:border :where(th):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}.prose-th\:text-left :where(th):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:left}.prose-th\:font-semibold :where(th):not(:where([class~=not-prose],[class~=not-prose] *)){--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.prose-td\:border :where(td):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\[\.border-b\]\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\[\.border-t\]\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:\!text-destructive[data-variant=destructive]>*):is(svg){color:var(--destructive)!important}.\[\&\>div\]\:bg-blue-500>div{background-color:var(--color-blue-500)}.\[\&\>div\]\:bg-green-500>div{background-color:var(--color-green-500)}.\[\&\>div\]\:bg-red-500>div{background-color:var(--color-red-500)}.\[\&\>div\]\:bg-yellow-500>div{background-color:var(--color-yellow-500)}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}@media(hover:hover){a.\[a\&\]\:hover\:bg-accent:hover{background-color:var(--accent)}a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab,var(--secondary)90%,transparent)}}a.\[a\&\]\:hover\:text-accent-foreground:hover{color:var(--accent-foreground)}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}html,body{height:100%}html{scroll-behavior:smooth}*,:before,:after{box-sizing:border-box}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground)/.3);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground)/.5)}:root{--radius:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}
1
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-500:oklch(72.3% .219 149.579);--color-blue-50:oklch(97% .014 254.604);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-800:oklch(42.4% .199 265.638);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-xs:.125rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-2\.5{left:calc(var(--spacing)*2.5)}.left-\[50\%\]{left:50%}.z-50{z-index:50}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.my-1{margin-block:calc(var(--spacing)*1)}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-1\.5{margin-right:calc(var(--spacing)*1.5)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.field-sizing-content{field-sizing:content}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-2\.5{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.size-3\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.size-full{width:100%;height:100%}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\(--radix-dropdown-menu-content-available-height\){max-height:var(--radix-dropdown-menu-content-available-height)}.max-h-\(--radix-select-content-available-height\){max-height:var(--radix-select-content-available-height)}.max-h-\[90vh\]{max-height:90vh}.max-h-\[200px\]{max-height:200px}.max-h-\[calc\(90vh-80px\)\]{max-height:calc(90vh - 80px)}.max-h-\[calc\(90vh-140px\)\]{max-height:calc(90vh - 140px)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-16{min-height:calc(var(--spacing)*16)}.min-h-\[80px\]{min-height:80px}.min-h-\[100px\]{min-height:100px}.min-h-\[calc\(100vh-180px\)\]{min-height:calc(100vh - 180px)}.min-h-screen{min-height:100vh}.w-2{width:calc(var(--spacing)*2)}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-7{width:calc(var(--spacing)*7)}.w-64{width:calc(var(--spacing)*64)}.w-\[80px\]{width:80px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[280px\]{width:280px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[320px\]{max-width:320px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[280px\]{min-width:280px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-\(--radix-dropdown-menu-content-transform-origin\){transform-origin:var(--radix-dropdown-menu-content-transform-origin)}.origin-\(--radix-select-content-transform-origin\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\(--radix-tooltip-content-transform-origin\){transform-origin:var(--radix-tooltip-content-transform-origin)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[calc\(-50\%_-_2px\)\]{--tw-translate-y: calc(-50% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-b-md{border-bottom-right-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-500{border-color:var(--color-gray-500)}.border-input{border-color:var(--input)}.border-purple-500{border-color:var(--color-purple-500)}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-blue-500{border-left-color:var(--color-blue-500)}.border-l-gray-400{border-left-color:var(--color-gray-400)}.border-l-purple-500{border-left-color:var(--color-purple-500)}.border-l-transparent{border-left-color:#0000}.bg-accent,.bg-accent\/50{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.bg-accent\/50{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-background{background-color:var(--background)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-foreground{background-color:var(--foreground)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-green-500{background-color:var(--color-green-500)}.bg-muted\/30{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/30{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary,.bg-primary\/20{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\/20{background-color:color-mix(in oklab,var(--primary)20%,transparent)}}.bg-red-500{background-color:var(--color-red-500)}.bg-rose-500\/10{background-color:#ff23571a}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\/10{background-color:color-mix(in oklab,var(--color-rose-500)10%,transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-yellow-500{background-color:var(--color-yellow-500)}.fill-current{fill:currentColor}.fill-foreground{fill:var(--foreground)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-px{padding:1px}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.break-words,.wrap-break-word{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-background{color:var(--background)}.text-blue-500{color:var(--color-blue-500)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-green-500{color:var(--color-green-500)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-500{color:var(--color-purple-500)}.text-red-500{color:var(--color-red-500)}.text-rose-600{color:var(--color-rose-600)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-100{opacity:1}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.running{animation-play-state:running}@media(hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.selection\:bg-primary ::-moz-selection{background-color:var(--primary)}.selection\:bg-primary ::selection{background-color:var(--primary)}.selection\:bg-primary::-moz-selection{background-color:var(--primary)}.selection\:bg-primary::selection{background-color:var(--primary)}.selection\:text-primary-foreground ::-moz-selection{color:var(--primary-foreground)}.selection\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\:text-primary-foreground::-moz-selection{color:var(--primary-foreground)}.selection\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::-moz-placeholder{color:var(--muted-foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-background\/50:hover{background-color:var(--background)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-background\/50:hover{background-color:color-mix(in oklab,var(--background)50%,transparent)}}.hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\:bg-muted\/30:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/30:hover{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-purple-600:hover{color:var(--color-purple-600)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:ring:hover,.hover\:ring-1:hover{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:ring-amber-500\/50:hover{--tw-ring-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.hover\:ring-amber-500\/50:hover{--tw-ring-color:color-mix(in oklab,var(--color-amber-500)50%,transparent)}}.hover\:ring-rose-500\/50:hover{--tw-ring-color:#ff235780}@supports (color:color-mix(in lab,red,red)){.hover\:ring-rose-500\/50:hover{--tw-ring-color:color-mix(in oklab,var(--color-rose-500)50%,transparent)}}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[inset\]\:pl-8[data-inset]{padding-left:calc(var(--spacing)*8)}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=vertical\]\:h-full[data-orientation=vertical]{height:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[placeholder\]\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\[size\=default\]\:h-9[data-size=default]{height:calc(var(--spacing)*9)}.data-\[size\=sm\]\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=open\]\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:var(--accent)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:var(--secondary)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant=destructive]:focus{color:var(--destructive)}@media(min-width:40rem){.sm\:max-w-\[400px\]{max-width:400px}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:max-w-md{max-width:var(--container-md)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\:border-input:is(.dark,.dark *){border-color:var(--input)}.dark\:bg-blue-800:is(.dark,.dark *){background-color:var(--color-blue-800)}.dark\:bg-destructive\/60:is(.dark,.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-destructive\/60:is(.dark,.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\:bg-input\/30:is(.dark,.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-input\/30:is(.dark,.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\:text-amber-400:is(.dark,.dark *){color:var(--color-amber-400)}.dark\:text-rose-400:is(.dark,.dark *){color:var(--color-rose-400)}.dark\:prose-invert:is(.dark,.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}@media(hover:hover){.dark\:hover\:bg-accent\/50:is(.dark,.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-accent\/50:is(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\:hover\:bg-input\/50:is(.dark,.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-input\/50:is(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\:focus-visible\:ring-destructive\/40:is(.dark,.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark,.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark,.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark,.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.prose-headings\:font-semibold :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.prose-headings\:text-foreground :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--foreground)}.prose-p\:leading-relaxed :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.prose-p\:text-muted-foreground :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--muted-foreground)}.prose-a\:text-primary :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--primary)}.prose-a\:no-underline :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:none}@media(hover:hover){.hover\:prose-a\:underline:hover :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:underline}}.prose-blockquote\:border-l-primary :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){border-left-color:var(--primary)}.prose-blockquote\:text-muted-foreground :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--muted-foreground)}.prose-code\:rounded :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){border-radius:.25rem}.prose-code\:bg-muted :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:var(--muted)}.prose-code\:px-1 :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline:calc(var(--spacing)*1)}.prose-code\:py-0\.5 :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){padding-block:calc(var(--spacing)*.5)}.prose-code\:text-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.prose-code\:before\:content-none :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose-code\:after\:content-none :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:var(--tw-content);--tw-content:none;content:none}.prose-pre\:overflow-x-auto :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){overflow-x:auto}.prose-pre\:border :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}.prose-pre\:bg-muted :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:var(--muted)}.prose-ol\:text-muted-foreground :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-ul\:text-muted-foreground :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *)) ::marker{color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *)) ::-webkit-details-marker{color:var(--muted-foreground)}.prose-li\:marker\:text-muted-foreground :where(li):not(:where([class~=not-prose],[class~=not-prose] *))::-webkit-details-marker{color:var(--muted-foreground)}.prose-table\:text-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.prose-th\:border :where(th):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}.prose-th\:text-left :where(th):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:left}.prose-th\:font-semibold :where(th):not(:where([class~=not-prose],[class~=not-prose] *)){--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.prose-td\:border :where(td):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\[\.border-b\]\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\[\.border-t\]\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:\!text-destructive[data-variant=destructive]>*):is(svg){color:var(--destructive)!important}.\[\&\>div\]\:bg-blue-500>div{background-color:var(--color-blue-500)}.\[\&\>div\]\:bg-green-500>div{background-color:var(--color-green-500)}.\[\&\>div\]\:bg-red-500>div{background-color:var(--color-red-500)}.\[\&\>div\]\:bg-yellow-500>div{background-color:var(--color-yellow-500)}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}@media(hover:hover){a.\[a\&\]\:hover\:bg-accent:hover{background-color:var(--accent)}a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab,var(--secondary)90%,transparent)}}a.\[a\&\]\:hover\:text-accent-foreground:hover{color:var(--accent-foreground)}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}html,body{height:100%}html{scroll-behavior:smooth}*,:before,:after{box-sizing:border-box}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground)/.3);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground)/.5)}:root{--radius:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta name="description" content="Issue tracker for AI coding agents" />
7
7
  <title>Trekker</title>
8
- <script type="module" crossorigin src="/assets/index-CFwpihPk.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-END0YAMB.css">
8
+ <script type="module" crossorigin src="/assets/index-DZj_BBOY.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-MzHx_Urq.css">
10
10
  </head>
11
11
  <body class="min-h-screen bg-background font-sans antialiased">
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obsfx/trekker-dashboard",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Kanban board dashboard for Trekker issue tracker. Connects to local .trekker database.",
5
5
  "type": "module",
6
6
  "bin": {