autotel-devtools 24.0.0 → 24.1.0

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.
@@ -8,7 +8,7 @@ var AutotelDevtools=(function(e){Object.defineProperty(e,Symbol.toStringTag,{val
8
8
  `,Zb=`/`,Qb=`*`,$b=``,ex=`comment`,tx=`declaration`;function nx(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t=t||{};var n=1,r=1;function i(e){var t=e.match(Ub);t&&(n+=t.length);var i=e.lastIndexOf(Xb);r=~i?e.length-i:r+e.length}function a(){var e={line:n,column:r};return function(t){return t.position=new o(e),l(),t}}function o(e){this.start=e,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(i){var a=Error(t.source+`:`+n+`:`+r+`: `+i);if(a.reason=i,a.filename=t.source,a.line=n,a.column=r,a.source=e,!t.silent)throw a}function c(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function l(){c(Wb)}function u(e){var t;for(e=e||[];t=d();)t!==!1&&e.push(t);return e}function d(){var t=a();if(!(Zb!=e.charAt(0)||Qb!=e.charAt(1))){for(var n=2;$b!=e.charAt(n)&&(Qb!=e.charAt(n)||Zb!=e.charAt(n+1));)++n;if(n+=2,$b===e.charAt(n-1))return s(`End of comment missing`);var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:ex,comment:o})}}function f(){var e=a(),t=c(Gb);if(t){if(d(),!c(Kb))return s(`property missing ':'`);var n=c(qb),r=e({type:tx,property:rx(t[0].replace(Hb,$b)),value:n?rx(n[0].replace(Hb,$b)):$b});return c(Jb),r}}function p(){var e=[];u(e);for(var t;t=f();)t!==!1&&(e.push(t),u(e));return e}return l(),p()}function rx(e){return e?e.replace(Yb,$b):$b}function ix(e,t){let n=null;if(!e||typeof e!=`string`)return n;let r=nx(e),i=typeof t==`function`;return r.forEach(e=>{if(e.type!==`declaration`)return;let{property:r,value:a}=e;i?t(r,a,e):a&&(n=n||{},n[r]=a)}),n}var ax=/\d/,ox=[`-`,`_`,`/`,`.`];function sx(e=``){if(!ax.test(e))return e!==e.toLowerCase()}function cx(e){let t=[],n=``,r,i;for(let a of e){let e=ox.includes(a);if(e===!0){t.push(n),n=``,r=void 0;continue}let o=sx(a);if(i===!1){if(r===!1&&o===!0){t.push(n),n=a,r=o;continue}if(r===!0&&o===!1&&n.length>1){let e=n.at(-1);t.push(n.slice(0,Math.max(0,n.length-1))),n=e+a,r=o;continue}}n+=a,r=o,i=e}return t.push(n),t}function lx(e){return e?cx(e).map(e=>dx(e)).join(``):``}function ux(e){return fx(lx(e||``))}function dx(e){return e?e[0].toUpperCase()+e.slice(1):``}function fx(e){return e?e[0].toLowerCase()+e.slice(1):``}function px(e){if(!e)return{};let t={};function n(e,n){if(e.startsWith(`-moz-`)||e.startsWith(`-webkit-`)||e.startsWith(`-ms-`)||e.startsWith(`-o-`)){t[lx(e)]=n;return}if(e.startsWith(`--`)){t[e]=n;return}t[ux(e)]=n}return ix(e,n),t}function mx(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}function hx(e,t){let n=RegExp(e,`g`);return e=>{if(typeof e!=`string`)throw TypeError(`expected an argument of type string, but got ${typeof e}`);return e.match(n)?e.replace(n,t):e}}var gx=hx(/[A-Z]/,e=>`-${e.toLowerCase()}`);function _x(e){if(!e||typeof e!=`object`||Array.isArray(e))throw TypeError(`expected an argument of type object, but got ${typeof e}`);return Object.keys(e).map(t=>`${gx(t)}: ${e[t]};`).join(`
9
9
  `)}function vx(e={}){return _x(e).replace(`
10
10
  `,` `)}var yx=new Set(`onabort.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onauxclick.onbeforeinput.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncompositionend.oncompositionstart.oncompositionupdate.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onfocusin.onfocusout.onformdata.ongotpointercapture.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onload.onloadeddata.onloadedmetadata.onloadstart.onlostpointercapture.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onpaste.onpause.onplay.onplaying.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointermove.onpointerout.onpointerover.onpointerup.onprogress.onratechange.onreset.onresize.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectionchange.onselectstart.onslotchange.onstalled.onsubmit.onsuspend.ontimeupdate.ontoggle.ontouchcancel.ontouchend.ontouchmove.ontouchstart.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onvolumechange.onwaiting.onwebkitanimationend.onwebkitanimationiteration.onwebkitanimationstart.onwebkittransitionend.onwheel`.split(`.`));function bx(e){return yx.has(e)}function xx(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];if(r){for(let e of Object.keys(r)){let n=t[e],i=r[e],a=typeof n==`function`,o=typeof i==`function`;if(a&&typeof o&&bx(e))t[e]=Vb(n,i);else if(a&&o)t[e]=mx(n,i);else if(e===`class`){let r=Pb(n),a=Pb(i);r&&a?t[e]=to(n,i):r?t[e]=to(n):a&&(t[e]=to(i))}else if(e===`style`){let r=typeof n==`object`,a=typeof i==`object`,o=typeof n==`string`,s=typeof i==`string`;if(r&&a)t[e]={...n,...i};else if(r&&s){let r=px(i);t[e]={...n,...r}}else if(o&&a)t[e]={...px(n),...i};else if(o&&s){let r=px(n),a=px(i);t[e]={...r,...a}}else r?t[e]=n:a?t[e]=i:o?t[e]=n:s&&(t[e]=i)}else t[e]=i===void 0?n:i}for(let e of Object.getOwnPropertySymbols(r)){let n=t[e],i=r[e];t[e]=i===void 0?n:i}}}return typeof t.style==`object`&&(t.style=vx(t.style).replaceAll(`
11
- `,` `)),t.hidden===!1&&(t.hidden=void 0,delete t.hidden),t.disabled===!1&&(t.disabled=void 0,delete t.disabled),t}var Sx=typeof window<`u`?window:void 0;typeof window<`u`&&window.document,typeof window<`u`&&window.navigator,typeof window<`u`&&window.location;function Cx(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var wx,Tx=!1,Ex=new WeakMap,Dx=new WeakMap,Ox=new WeakMap,kx=new WeakSet;wx=class extends Date{constructor(...e){super(...e),kt(this,kx),O(this,Ex,N(super.getTime())),O(this,Dx,new Map),O(this,Ox,di),Tx||k(kx,this,Ax).call(this)}};function Ax(){Tx=!0;var e=wx.prototype,t=Date.prototype,n=Object.getOwnPropertyNames(t);for(let r of n)(r.startsWith(`get`)||r.startsWith(`to`)||r===`valueOf`)&&(e[r]=function(...e){if(e.length>0)return z(j(Ex,this)),t[r].apply(this,e);var n=j(Dx,this).get(r);if(n===void 0){let i=di;pi(j(Ox,this)),n=M(()=>(z(j(Ex,this)),t[r].apply(this,e))),j(Dx,this).set(r,n),pi(i)}return z(n)}),r.startsWith(`set`)&&(e[r]=function(...e){var n=t[r].apply(this,e);return P(j(Ex,this),t.getTime.call(this)),n})}var jx,Mx,Nx=[`forEach`,`isDisjointFrom`,`isSubsetOf`,`isSupersetOf`],Px=[`difference`,`intersection`,`symmetricDifference`,`union`],Fx=!1,Ix=new WeakMap,Lx=new WeakMap,Rx=new WeakMap,zx=new WeakMap,Bx=new WeakSet;Mx=Symbol.iterator,jx=class extends Set{constructor(e){if(super(),kt(this,Bx),O(this,Ix,new Map),O(this,Lx,N(0)),O(this,Rx,N(0)),O(this,zx,wi||-1),e){for(var t of e)super.add(t);j(Rx,this).v=super.size}Fx||k(Bx,this,Hx).call(this)}has(e){var t=super.has(e),n=j(Ix,this),r=n.get(e);if(r===void 0){if(!t)return z(j(Lx,this)),!1;r=k(Bx,this,Vx).call(this,!0),n.set(e,r)}return z(r),t}add(e){return super.has(e)||(super.add(e),P(j(Rx,this),super.size),_r(j(Lx,this))),this}delete(e){var t=super.delete(e),n=j(Ix,this),r=n.get(e);return r!==void 0&&(n.delete(e),P(r,!1)),t&&(P(j(Rx,this),super.size),_r(j(Lx,this))),t}clear(){if(super.size!==0){super.clear();var e=j(Ix,this);for(var t of e.values())P(t,!1);e.clear(),P(j(Rx,this),0),_r(j(Lx,this))}}keys(){return this.values()}values(){return z(j(Lx,this)),super.values()}entries(){return z(j(Lx,this)),super.entries()}[Mx](){return this.keys()}get size(){return z(j(Rx,this))}};function Vx(e){return wi===j(zx,this)?N(e):pr(e)}function Hx(){Fx=!0;var e=jx.prototype,t=Set.prototype;for(let n of Nx)e[n]=function(...e){return z(j(Lx,this)),t[n].apply(this,e)};for(let n of Px)e[n]=function(...e){z(j(Lx,this));var r=t[n].apply(this,e);return new jx(r)}}function Ux(e){return Ux=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ux(e)}function Wx(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Ux(e))!==null;);return e}function Gx(){return Gx=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Wx(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Gx.apply(null,arguments)}function Kx(e,t,n,r){var i=Gx(Ux(1&r?e.prototype:e),t,n);return 2&r&&typeof i==`function`?function(e){return i.apply(n,e)}:i}var qx,Jx,Yx=new WeakMap,Xx=new WeakMap,Zx=new WeakMap,Qx=new WeakMap,$x=new WeakSet;Jx=Symbol.iterator;var eS=class extends Map{constructor(e){if(super(),kt(this,$x),O(this,Yx,new Map),O(this,Xx,N(0)),O(this,Zx,N(0)),O(this,Qx,wi||-1),e){for(var[t,n]of e)super.set(t,n);j(Zx,this).v=super.size}}has(e){var t=j(Yx,this),n=t.get(e);if(n===void 0)if(super.has(e))n=k($x,this,tS).call(this,0),t.set(e,n);else return z(j(Xx,this)),!1;return z(n),!0}forEach(e,t){k($x,this,nS).call(this),super.forEach(e,t)}get(e){var t=j(Yx,this),n=t.get(e);if(n===void 0)if(super.has(e))n=k($x,this,tS).call(this,0),t.set(e,n);else{z(j(Xx,this));return}return z(n),super.get(e)}set(e,t){var n=j(Yx,this),r=n.get(e),i=super.get(e),a=super.set(e,t),o=j(Xx,this);if(r===void 0)r=k($x,this,tS).call(this,0),n.set(e,r),P(j(Zx,this),super.size),_r(o);else if(i!==t){_r(r);var s=o.reactions===null?null:new Set(o.reactions);(s===null||!r.reactions?.every(e=>s.has(e)))&&_r(o)}return a}delete(e){var t=j(Yx,this),n=t.get(e),r=super.delete(e);return n!==void 0&&(t.delete(e),P(n,-1)),r&&(P(j(Zx,this),super.size),_r(j(Xx,this))),r}clear(){if(super.size!==0){super.clear();var e=j(Yx,this);P(j(Zx,this),0);for(var t of e.values())P(t,-1);_r(j(Xx,this)),e.clear()}}keys(){return z(j(Xx,this)),super.keys()}values(){return k($x,this,nS).call(this),super.values()}entries(){return k($x,this,nS).call(this),super.entries()}[Jx](){return this.entries()}get size(){return z(j(Zx,this)),super.size}};qx=eS;function tS(e){return wi===j(Qx,this)?N(e):pr(e)}function nS(){z(j(Xx,this));var e=j(Yx,this);if(j(Zx,this).v!==e.size){for(var t of Kx(qx.prototype,`keys`,this,2)([]))if(!e.has(t)){var n=k($x,this,tS).call(this,0);e.set(t,n)}}for([,n]of j(Yx,this))z(n)}var rS=new WeakMap,iS=new WeakMap;new class{constructor(e={}){O(this,rS,void 0),O(this,iS,void 0);let{window:t=Sx,document:n=t?.document}=e;t!==void 0&&(A(rS,this,n),A(iS,this,Dt(e=>{let n=ea(t,`focusin`,e),r=ea(t,`focusout`,e);return()=>{n(),r()}})))}get current(){return j(iS,this)?.call(this),j(rS,this)?Cx(j(rS,this)):null}};function aS(e){return typeof e==`function`}var oS=new WeakMap,sS=new WeakMap,cS=class{constructor(e){O(this,oS,void 0),O(this,sS,void 0),A(oS,this,e),A(sS,this,Symbol(e))}get key(){return j(sS,this)}exists(){return nt(j(sS,this))}get(){let e=et(j(sS,this));if(e===void 0)throw Error(`Context "${j(oS,this)}" not found`);return e}getOr(e){let t=et(j(sS,this));return t===void 0?e:t}set(e){return tt(j(sS,this),e)}};function lS(e,t){switch(e){case`post`:zr(t);break;case`pre`:Vr(t);break}}function uS(e,t,n,r={}){let{lazy:i=!1}=r,a=!i,o=Array.isArray(e)?[]:void 0;lS(t,()=>{let t=Array.isArray(e)?e.map(e=>e()):e();if(!a){a=!0,o=t;return}let r=Ii(()=>n(t,o));return o=t,r})}function dS(e,t,n){let r=Hr(()=>{let i=!1;uS(e,t,(e,t)=>{if(i){r();return}let a=n(e,t);return i=!0,a},{lazy:!0})});zr(()=>r)}function fS(e,t,n){uS(e,`post`,t,n)}function pS(e,t,n){uS(e,`pre`,t,n)}fS.pre=pS;function mS(e,t){dS(e,`post`,t)}function hS(e,t){dS(e,`pre`,t)}mS.pre=hS;function gS(e){return aS(e)?e():e}var _S=new WeakMap,vS=new WeakMap,yS=new WeakMap,bS=new WeakMap,xS=new WeakMap,SS=new WeakMap,CS=new WeakMap,wS=new WeakMap,TS=class{constructor(e,t={box:`border-box`}){O(this,_S,{width:0,height:0}),O(this,vS,!1),O(this,yS,void 0),O(this,bS,void 0),O(this,xS,void 0),O(this,SS,M(()=>(z(j(wS,this))?.(),this.getSize().width))),O(this,CS,M(()=>(z(j(wS,this))?.(),this.getSize().height))),O(this,wS,M(()=>{let e=gS(j(bS,this));if(e)return Dt(t=>{if(!j(xS,this))return;let n=new(j(xS,this)).ResizeObserver(e=>{A(vS,this,!0);for(let t of e){let e=j(yS,this).box===`content-box`?t.contentBoxSize:t.borderBoxSize,n=Array.isArray(e)?e:[e];j(_S,this).width=n.reduce((e,t)=>Math.max(e,t.inlineSize),0),j(_S,this).height=n.reduce((e,t)=>Math.max(e,t.blockSize),0)}t()});return n.observe(e),()=>{A(vS,this,!1),n.disconnect()}})})),A(xS,this,t.window??Sx),A(yS,this,t),A(bS,this,e),A(_S,this,{width:0,height:0})}calculateSize(){let e=gS(j(bS,this));if(!e||!j(xS,this))return;let t=e.offsetWidth,n=e.offsetHeight;if(j(yS,this).box===`border-box`)return{width:t,height:n};let r=j(xS,this).getComputedStyle(e),i=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),a=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),o=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),s=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth);return{width:t-i-o,height:n-a-s}}getSize(){return j(vS,this)?j(_S,this):this.calculateSize()??j(_S,this)}get current(){return z(j(wS,this))?.(),this.getSize()}get width(){return z(j(SS,this))}get height(){return z(j(CS,this))}};function ES(e,t){let n,r=null;return(...i)=>new Promise(a=>{r&&r(void 0),r=a,clearTimeout(n),n=setTimeout(async()=>{let t=await e(...i);r&&(r(t),r=null)},t)})}function DS(e,t){let n=0,r=null;return(...i)=>{let a=Date.now();return n&&a-n<t?r??Promise.resolve(void 0):(n=a,r=e(...i),r)}}function OS(e,t,n={},r){let{lazy:i=!1,once:a=!1,initialValue:o,debounce:s,throttle:c}=n,l=N(yr(o)),u=N(!1),d=N(void 0),f=N(yr([])),p=()=>{z(f).forEach(e=>e()),P(f,[],!0)},m=e=>{P(f,[...z(f),e],!0)},h=async(e,n,r=!1)=>{try{P(u,!0),P(d,void 0),p();let i=new AbortController;m(()=>i.abort());let a=await t(e,n,{data:z(l),refetching:r,onCleanup:m,signal:i.signal});return P(l,a,!0),a}catch(e){e instanceof DOMException&&e.name===`AbortError`||P(d,e,!0);return}finally{P(u,!1)}},g=s?ES(h,s):c?DS(h,c):h,_=Array.isArray(e)?e:[e],v;return r((t,n)=>{a&&v||(v=t,g(Array.isArray(e)?t:t[0],Array.isArray(e)?n:n?.[0]))},{lazy:i}),{get current(){return z(l)},get loading(){return z(u)},get error(){return z(d)},mutate:e=>{P(l,e,!0)},refetch:t=>{let n=_.map(e=>e());return g(Array.isArray(e)?n:n[0],Array.isArray(e)?n:n[0],t??!0)}}}function kS(e,t,n){return OS(e,t,n,(t,n)=>{let r=Array.isArray(e)?e:[e];fS(()=>r.map(e=>e()),(e,n)=>{t(e,n??[])},n)})}function AS(e,t,n){return OS(e,t,n,(t,n)=>{let r=Array.isArray(e)?e:[e];fS.pre(()=>r.map(e=>e()),(e,n)=>{t(e,n??[])},n)})}kS.pre=AS;function jS(e){zr(()=>()=>{e()})}function MS(e,t){return setTimeout(t,e)}function NS(e){Ni().then(e)}var PS=1,FS=9,IS=11;function LS(e){return Mb(e)&&e.nodeType===PS&&typeof e.nodeName==`string`}function RS(e){return Mb(e)&&e.nodeType===FS}function zS(e){return Mb(e)&&e.constructor?.name===`VisualViewport`}function BS(e){return Mb(e)&&e.nodeType!==void 0}function VS(e){return BS(e)&&e.nodeType===IS&&`host`in e}function HS(e,t){if(!e||!t||!LS(e)||!LS(t))return!1;let n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&VS(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function US(e){return RS(e)?e:zS(e)?e.document:e?.ownerDocument??document}function WS(e){return VS(e)?WS(e.host):RS(e)?e.defaultView??window:LS(e)?e.ownerDocument?.defaultView??window:window}function GS(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var KS=new WeakMap,qS=class{get root(){return z(j(KS,this))}set root(e){P(j(KS,this),e)}constructor(e){x(this,`element`,void 0),O(this,KS,M(()=>this.element.current?this.element.current.getRootNode()??document:document)),x(this,`getDocument`,()=>US(this.root)),x(this,`getWindow`,()=>this.getDocument().defaultView??window),x(this,`getActiveElement`,()=>GS(this.root)),x(this,`isActiveElement`,e=>e===this.getActiveElement()),x(this,`querySelector`,e=>this.root?this.root.querySelector(e):null),x(this,`querySelectorAll`,e=>this.root?this.root.querySelectorAll(e):[]),x(this,`setTimeout`,(e,t)=>this.getWindow().setTimeout(e,t)),x(this,`clearTimeout`,e=>this.getWindow().clearTimeout(e)),typeof e==`function`?this.element=Lb(e):this.element=e}getElementById(e){return this.root.getElementById(e)}};function JS(e,t){return{[zi()]:n=>Rb(e)?(e.current=n,Ii(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e.current=null,t?.(null))}):(e(n),Ii(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e(null),t?.(null))})}}function YS(e){return e?`true`:`false`}function XS(e){return e?`open`:`closed`}function ZS(e){return e===`starting`?{"data-starting-style":``}:e===`ending`?{"data-ending-style":``}:{}}var QS=new WeakMap,$S=new WeakMap,eC=class{constructor(e){O(this,QS,void 0),O(this,$S,void 0),x(this,`attrs`,void 0),A(QS,this,e.getVariant?e.getVariant():null),A($S,this,j(QS,this)?`data-${j(QS,this)}-`:`data-${e.component}-`),this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(e=>[e,this.getAttr(e)]))}getAttr(e,t){return t?`data-${t}-${e}`:`${j($S,this)}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function tC(e){let t=new eC(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var nC=typeof document<`u`,rC=iC();function iC(){return nC&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function aC(e){return e instanceof HTMLElement}function oC(e){return e instanceof Element}function sC(e){return e instanceof Element||e instanceof SVGElement}function cC(e){return e.pointerType===`touch`}function lC(e){return e!==null}var uC=new WeakMap,dC=new WeakMap,fC=new WeakMap,pC=new WeakMap,mC=new WeakSet,hC=class{constructor(e){kt(this,mC),O(this,uC,void 0),O(this,dC,null),O(this,fC,null),O(this,pC,0),A(uC,this,e),jS(()=>k(mC,this,gC).call(this))}run(e){k(mC,this,gC).call(this);let t=j(uC,this).ref.current;if(!t)return;if(typeof t.getAnimations!=`function`){k(mC,this,_C).call(this,e);return}let n=j(pC,this),r=()=>{n===j(pC,this)&&k(mC,this,_C).call(this,e)},i=()=>{if(n!==j(pC,this))return;let e=t.getAnimations();if(e.length===0){r();return}Promise.all(e.map(e=>e.finished)).then(()=>{r()}).catch(()=>{if(n===j(pC,this)){if(t.getAnimations().some(e=>e.pending||e.playState!==`finished`)){i();return}r()}})},a=()=>{A(dC,this,window.requestAnimationFrame(()=>{A(dC,this,null),i()}))};if(!j(uC,this).afterTick.current){a();return}A(dC,this,window.requestAnimationFrame(()=>{A(dC,this,null);let e=`data-starting-style`;if(!t.hasAttribute(e)){a();return}A(fC,this,new MutationObserver(()=>{n===j(pC,this)&&(t.hasAttribute(e)||(j(fC,this)?.disconnect(),A(fC,this,null),a()))})),j(fC,this).observe(t,{attributes:!0,attributeFilter:[e]})}))}};function gC(){var e;j(dC,this)!==null&&(window.cancelAnimationFrame(j(dC,this)),A(dC,this,null)),j(fC,this)?.disconnect(),A(fC,this,null),A(pC,this,(e=j(pC,this),e++,e))}function _C(e){let t=()=>{e()};j(uC,this).afterTick?NS(t):t()}var vC=new WeakMap,yC=new WeakMap,bC=new WeakMap,xC=new WeakMap,SC=new WeakMap,CC=new WeakMap,wC=new WeakMap,TC=new WeakSet,EC=class{constructor(e){kt(this,TC),O(this,vC,void 0),O(this,yC,void 0),O(this,bC,void 0),O(this,xC,N(!1)),O(this,SC,N(void 0)),O(this,CC,!1),O(this,wC,null),A(vC,this,e),P(j(xC,this),e.open.current,!0),A(yC,this,e.enabled??!0),A(bC,this,new hC({ref:j(vC,this).ref,afterTick:j(vC,this).open})),jS(()=>k(TC,this,DC).call(this)),fS(()=>j(vC,this).open.current,e=>{if(!j(CC,this)){A(CC,this,!0);return}if(k(TC,this,DC).call(this),!e&&j(vC,this).shouldSkipExitAnimation?.()){P(j(xC,this),!1),P(j(SC,this),void 0),j(vC,this).onComplete?.();return}if(e&&P(j(xC,this),!0),P(j(SC,this),e?`starting`:`ending`,!0),e&&A(wC,this,window.requestAnimationFrame(()=>{A(wC,this,null),j(vC,this).open.current&&P(j(SC,this),void 0)})),!j(yC,this)){e||P(j(xC,this),!1),P(j(SC,this),void 0),j(vC,this).onComplete?.();return}j(bC,this).run(()=>{e===j(vC,this).open.current&&(j(vC,this).open.current||P(j(xC,this),!1),P(j(SC,this),void 0),j(vC,this).onComplete?.())})})}get shouldRender(){return z(j(xC,this))}get transitionStatus(){return z(j(SC,this))}};function DC(){j(wC,this)!==null&&(window.cancelAnimationFrame(j(wC,this)),A(wC,this,null))}function OC(){}function kC(e,t){return t===void 0?`bits-${e}`:`bits-${e}-${t}`}function AC(e,t){var n=da();ka(I(n),()=>t.children,e=>{var n=da();za(I(n),()=>t.children??p),H(e,n)}),H(e,n)}var jC=new cS(`BitsConfig`);function MC(){let e=new PC(null,{});return jC.getOr(e).opts}function NC(e){return jC.set(new PC(jC.getOr(null),e))}var PC=class{constructor(e,t){x(this,`opts`,void 0);let n=FC(e,t);this.opts={defaultPortalTo:n(e=>e.defaultPortalTo),defaultLocale:n(e=>e.defaultLocale)}}};function FC(e,t){return n=>Lb(()=>{let r=n(t)?.current;if(r!==void 0)return r;if(e!==null)return n(e.opts)?.current})}function IC(e,t){return n=>{let r=MC();return Lb(()=>{let i=n();if(i!==void 0)return i;let a=e(r).current;return a===void 0?t:a})}}var LC=IC(e=>e.defaultPortalTo,`body`);function RC(e,t){it(t,!0);let n=LC(()=>t.to),r=rt(),i=M(a);function a(){if(!nC||t.disabled)return null;let e=null;return e=typeof n.current==`string`?document.querySelector(n.current):n.current,e}let o;function s(){o&&(ya(o),o=null)}fS([()=>z(i),()=>t.disabled],([e,n])=>{if(!e||n){s();return}return o=ha(AC,{target:e,props:{children:t.children},context:r}),()=>{s()}});var c=da(),l=I(c),u=e=>{var n=da();za(I(n),()=>t.children??p),H(e,n)};W(l,e=>{t.disabled&&e(u)}),H(e,c),at()}var zC=class{constructor(e,t={bubbles:!0,cancelable:!0}){x(this,`eventName`,void 0),x(this,`options`,void 0),this.eventName=e,this.options=t}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,t){let n=this.createEvent(t);return e.dispatchEvent(n),n}listen(e,t,n){return ea(e,this.eventName,e=>{t(e)},n)}};function BC(e,t=500){let n=null,r=(...r)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)};return r.destroy=()=>{n!==null&&(clearTimeout(n),n=null)},r}function VC(e,t){return e===t||e.contains(t)}function HC(e){return e?.ownerDocument??document}function UC(e,t){let{clientX:n,clientY:r}=e,i=t.getBoundingClientRect();return n<i.left||n>i.right||r<i.top||r>i.bottom}var WC=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],GC=WC.join(`,`),KC=typeof Element>`u`,qC=KC?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,JC=!KC&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},YC=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):YC(e.parentNode))},XC=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},ZC=function(e,t,n){if(YC(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(GC));return t&&qC.call(e,GC)&&r.unshift(e),r=r.filter(n),r},QC=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!YC(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=QC(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{qC.call(a,GC)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!YC(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=QC(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},$C=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},ew=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||XC(e))&&!$C(e)?0:e.tabIndex},tw=function(e,t){var n=ew(e);return n<0&&t&&!$C(e)?0:n},nw=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rw=function(e){return e.tagName===`INPUT`},iw=function(e){return rw(e)&&e.type===`hidden`},aw=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},ow=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},sw=function(e){if(!e.name)return!0;var t=e.form||JC(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=ow(r,e.form);return!i||i===e},cw=function(e){return rw(e)&&e.type===`radio`},lw=function(e){return cw(e)&&!sw(e)},uw=function(e){var t=e&&JC(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=JC(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},dw=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},fw=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=qC.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(qC.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=JC(e);if(s&&!s.shadowRoot&&r(s)===!0)return dw(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(uw(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return dw(e);return!1},pw=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return qC.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},mw=function(e,t){return!(t.disabled||iw(t)||fw(t,e)||aw(t)||pw(t))},hw=function(e,t){return!(lw(t)||ew(t)<0||!mw(e,t))},gw=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},_w=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=tw(a,i),s=i?_w(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(nw).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},vw=function(e,t){return t=t||{},_w(t.getShadowRoot?QC([e],t.includeContainer,{filter:hw.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gw}):ZC(e,t.includeContainer,hw.bind(null,t)))},yw=function(e,t){return t=t||{},t.getShadowRoot?QC([e],t.includeContainer,{filter:mw.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):ZC(e,t.includeContainer,mw.bind(null,t))},bw=function(e,t){if(t=t||{},!e)throw Error(`No node provided`);return qC.call(e,GC)!==!1&&hw(t,e)},xw=WC.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),Sw=function(e,t){if(t=t||{},!e)throw Error(`No node provided`);return qC.call(e,xw)!==!1&&mw(t,e)},Cw=`data-context-menu-trigger`,ww=`data-context-menu-content`;new cS(`Menu.Root`),new cS(`Menu.Root | Menu.Sub`),new cS(`Menu.Content`),new cS(`Menu.Group | Menu.RadioGroup`),new cS(`Menu.RadioGroup`),new cS(`Menu.CheckboxGroup`),new zC(`bitsmenuopen`,{bubbles:!1,cancelable:!0}),tC({component:`menu`,parts:[`trigger`,`content`,`sub-trigger`,`item`,`group`,`group-heading`,`checkbox-group`,`checkbox-item`,`radio-group`,`radio-item`,`separator`,`sub-content`,`arrow`]});var Tw;(Tw=globalThis).bitsDismissableLayers??(Tw.bitsDismissableLayers=new Map);var Ew=new WeakMap,Dw=new WeakMap,Ow=new WeakMap,kw=new WeakMap,Aw=new WeakMap,jw=new WeakMap,Mw=new WeakMap,Nw=new WeakMap,Pw=new WeakMap,Fw=new WeakSet,Iw=new WeakMap,Lw=new WeakMap,Rw=new WeakMap,zw=new WeakMap,Bw=new WeakMap,Vw=new WeakMap,Hw=new WeakMap,Uw=new WeakMap,Ww=new WeakMap,Gw=class e{static create(t){return new e(t)}constructor(e){kt(this,Fw),x(this,`opts`,void 0),O(this,Ew,void 0),O(this,Dw,void 0),O(this,Ow,{pointerdown:!1}),O(this,kw,!1),O(this,Aw,!1),O(this,jw,void 0),O(this,Mw,void 0),O(this,Nw,OC),O(this,Pw,e=>{e.defaultPrevented||this.opts.ref.current&&NS(()=>{!this.opts.ref.current||j(Vw,this).call(this,e.target)||e.target&&!j(Aw,this)&&j(Mw,this).current?.(e)})}),O(this,Iw,e=>{let t=e;t.defaultPrevented&&(t=Zw(e)),j(Ew,this).current(e)}),O(this,Lw,BC(e=>{if(!this.opts.ref.current){j(Nw,this).call(this);return}let t=this.opts.isValidEvent.current(e,this.opts.ref.current)||Xw(e,this.opts.ref.current);if(!j(kw,this)||k(Fw,this,qw).call(this)||!t){j(Nw,this).call(this);return}let n=e;if(n.defaultPrevented&&(n=Zw(n)),j(Dw,this).current!==`close`&&j(Dw,this).current!==`defer-otherwise-close`){j(Nw,this).call(this);return}e.pointerType===`touch`?(j(Nw,this).call(this),A(Nw,this,ea(j(jw,this),`click`,j(Iw,this),{once:!0}))):j(Ew,this).current(n)},10)),O(this,Rw,e=>{j(Ow,this)[e.type]=!0}),O(this,zw,e=>{j(Ow,this)[e.type]=!1}),O(this,Bw,()=>{this.opts.ref.current&&A(kw,this,Yw(this.opts.ref.current))}),O(this,Vw,e=>this.opts.ref.current?VC(this.opts.ref.current,e):!1),O(this,Hw,BC(()=>{for(let e in j(Ow,this))j(Ow,this)[e]=!1;A(kw,this,!1)},20)),O(this,Uw,()=>{A(Aw,this,!0)}),O(this,Ww,()=>{A(Aw,this,!1)}),x(this,`props`,{onfocuscapture:j(Uw,this),onblurcapture:j(Ww,this)}),this.opts=e,A(Dw,this,e.interactOutsideBehavior),A(Ew,this,e.onInteractOutside),A(Mw,this,e.onFocusOutside),zr(()=>{A(jw,this,HC(this.opts.ref.current))});let t=OC,n=null,r=!1,i=()=>{n!=null&&(clearTimeout(n),n=null)},a=()=>{i(),j(Hw,this).call(this),globalThis.bitsDismissableLayers.delete(this),j(Lw,this).destroy(),t()};fS([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return i(),n=MS(1,()=>{n=null,!(r||!this.opts.ref.current)&&(globalThis.bitsDismissableLayers.set(this,j(Dw,this)),t(),t=k(Fw,this,Kw).call(this))}),a}),jS(()=>{r=!0,i(),j(Hw,this).destroy(),globalThis.bitsDismissableLayers.delete(this),j(Lw,this).destroy(),j(Nw,this).call(this),t()})}};function Kw(){return mx(ea(j(jw,this),`pointerdown`,mx(j(Rw,this),j(Bw,this)),{capture:!0}),ea(j(jw,this),`pointerdown`,mx(j(zw,this),j(Lw,this))),ea(j(jw,this),`focusin`,j(Pw,this)))}function qw(){return Object.values(j(Ow,this)).some(Boolean)}function Jw(e=[...globalThis.bitsDismissableLayers]){return e.findLast(([e,{current:t}])=>t===`close`||t===`ignore`)}function Yw(e){let t=[...globalThis.bitsDismissableLayers],n=Jw(t);if(n)return n[0].opts.ref.current===e;let[r]=t[0];return r.opts.ref.current===e}function Xw(e,t){let n=e.target;if(!sC(n))return!1;let r=!!n.closest(`[${Cw}]`),i=!!t.closest(`[${ww}]`);return`button`in e&&e.button>0&&!r?!1:`button`in e&&e.button===0&&r&&i?!0:r&&i?!1:HC(n).documentElement.contains(n)&&!VC(t,n)&&UC(e,t)}function Zw(e){let t=e.currentTarget,n=e.target,r;r=e instanceof PointerEvent?new PointerEvent(e.type,e):new PointerEvent(`pointerdown`,e);let i=!1;return new Proxy(r,{get:(r,a)=>a===`currentTarget`?t:a===`target`?n:a===`preventDefault`?()=>{i=!0,typeof r.preventDefault==`function`&&r.preventDefault()}:a===`defaultPrevented`?i:a in r?r[a]:e[a]})}function Qw(e,t){it(t,!0);let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`onInteractOutside`,3,OC),i=Z(t,`onFocusOutside`,3,OC),a=Z(t,`isValidEvent`,3,()=>!1),o=Gw.create({id:Lb(()=>t.id),interactOutsideBehavior:Lb(()=>n()),onInteractOutside:Lb(()=>r()),enabled:Lb(()=>t.enabled),onFocusOutside:Lb(()=>i()),isValidEvent:Lb(()=>a()),ref:t.ref});var s=da();za(I(s),()=>t.children??p,()=>({props:o.props})),H(e,s),at()}var $w;($w=globalThis).bitsEscapeLayers??($w.bitsEscapeLayers=new Map);var eT=new WeakMap,tT=new WeakMap,nT=class e{static create(t){return new e(t)}constructor(e){x(this,`opts`,void 0),x(this,`domContext`,void 0),O(this,eT,()=>ea(this.domContext.getDocument(),`keydown`,j(tT,this),{passive:!1})),O(this,tT,e=>{if(e.key!==`Escape`||!rT(this))return;let t=new KeyboardEvent(e.type,e);e.preventDefault();let n=this.opts.escapeKeydownBehavior.current;n!==`close`&&n!==`defer-otherwise-close`||this.opts.onEscapeKeydown.current(t)}),this.opts=e,this.domContext=new qS(this.opts.ref);let t=OC;fS(()=>e.enabled.current,n=>(n&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=j(eT,this).call(this)),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}};function rT(e){let t=[...globalThis.bitsEscapeLayers],n=t.findLast(([e,{current:t}])=>t===`close`||t===`ignore`);if(n)return n[0]===e;let[r]=t[0];return r===e}function iT(e,t){it(t,!0);let n=Z(t,`escapeKeydownBehavior`,3,`close`),r=Z(t,`onEscapeKeydown`,3,OC);nT.create({escapeKeydownBehavior:Lb(()=>n()),onEscapeKeydown:Lb(()=>r()),enabled:Lb(()=>t.enabled),ref:t.ref});var i=da();za(I(i),()=>t.children??p),H(e,i),at()}var aT=new WeakMap,oT=new WeakMap,sT=new WeakMap,cT=class e{constructor(){O(this,aT,Bb([])),O(this,oT,new WeakMap),O(this,sT,new WeakMap)}static getInstance(){return this.instance||(this.instance=new e),this.instance}register(e){let t=this.getActive();t&&t!==e&&t.pause();let n=document.activeElement;n&&n!==document.body&&j(sT,this).set(e,n),j(aT,this).current=j(aT,this).current.filter(t=>t!==e),j(aT,this).current.unshift(e)}unregister(e){j(aT,this).current=j(aT,this).current.filter(t=>t!==e);let t=this.getActive();t&&t.resume()}getActive(){return j(aT,this).current[0]}setFocusMemory(e,t){j(oT,this).set(e,t)}getFocusMemory(e){return j(oT,this).get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){j(sT,this).set(e,t)}getPreFocusMemory(e){return j(sT,this).get(e)}clearPreFocusMemory(e){j(sT,this).delete(e)}};x(cT,`instance`,void 0);var lT=new WeakMap,uT=new WeakMap,dT=new WeakMap,fT=new WeakMap,pT=new WeakMap,mT=new WeakSet,hT=class e{constructor(e){kt(this,mT),O(this,lT,!1),O(this,uT,null),O(this,dT,cT.getInstance()),O(this,fT,[]),O(this,pT,void 0),A(pT,this,e)}get paused(){return j(lT,this)}pause(){A(lT,this,!0)}resume(){A(lT,this,!1)}mount(e){j(uT,this)&&this.unmount(),A(uT,this,e),j(dT,this).register(this),k(mT,this,yT).call(this),k(mT,this,_T).call(this)}unmount(){j(uT,this)&&(k(mT,this,gT).call(this),k(mT,this,vT).call(this),j(dT,this).unregister(this),j(dT,this).clearPreFocusMemory(this),A(uT,this,null))}static use(t){let n=null;return fS([()=>t.ref.current,()=>t.enabled.current],([r,i])=>{r&&i?(n||(n=new e(t)),n.mount(r)):n&&(n.unmount(),n=null)}),jS(()=>{n?.unmount()}),{get props(){return{tabindex:-1}}}}};function gT(){for(let e of j(fT,this))e();A(fT,this,[])}function _T(){if(!j(uT,this))return;let e=new CustomEvent(`focusScope.onOpenAutoFocus`,{bubbles:!1,cancelable:!0});j(pT,this).onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!j(uT,this))return;let e=k(mT,this,xT).call(this);e?(e.focus(),j(dT,this).setFocusMemory(this,e)):j(uT,this).focus()})}function vT(){let e=new CustomEvent(`focusScope.onCloseAutoFocus`,{bubbles:!1,cancelable:!0});if(j(pT,this).onCloseAutoFocus.current?.(e),!e.defaultPrevented){let e=j(dT,this).getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}function yT(){if(!j(uT,this)||!j(pT,this).trap.current)return;let e=j(uT,this),t=e.ownerDocument;j(fT,this).push(ea(t,`focusin`,t=>{if(j(lT,this)||!j(dT,this).isActiveScope(this))return;let n=t.target;if(n)if(e.contains(n))j(dT,this).setFocusMemory(this,n);else{let n=j(dT,this).getFocusMemory(this);if(n&&e.contains(n)&&Sw(n))t.preventDefault(),n.focus();else{let t=k(mT,this,xT).call(this),n=k(mT,this,ST).call(this)[0];(t||n||e).focus()}}},{capture:!0}),ea(e,`keydown`,e=>{if(!j(pT,this).loop||j(lT,this)||e.key!==`Tab`||!j(dT,this).isActiveScope(this))return;let n=k(mT,this,bT).call(this);if(n.length===0)return;let r=n[0],i=n[n.length-1];!e.shiftKey&&t.activeElement===i?(e.preventDefault(),r.focus()):e.shiftKey&&t.activeElement===r&&(e.preventDefault(),i.focus())}));let n=new MutationObserver(()=>{let t=j(dT,this).getFocusMemory(this);if(t&&!e.contains(t)){let t=k(mT,this,xT).call(this),n=k(mT,this,ST).call(this)[0],r=t||n;r?(r.focus(),j(dT,this).setFocusMemory(this,r)):e.focus()}});n.observe(e,{childList:!0,subtree:!0}),j(fT,this).push(()=>n.disconnect())}function bT(){return j(uT,this)?vw(j(uT,this),{includeContainer:!1,getShadowRoot:!0}):[]}function xT(){return k(mT,this,bT).call(this)[0]||null}function ST(){return j(uT,this)?yw(j(uT,this),{includeContainer:!1,getShadowRoot:!0}):[]}function CT(e,t){it(t,!0);let n=Z(t,`enabled`,3,!1),r=Z(t,`trapFocus`,3,!1),i=Z(t,`loop`,3,!1),a=Z(t,`onCloseAutoFocus`,3,OC),o=Z(t,`onOpenAutoFocus`,3,OC),s=hT.use({enabled:Lb(()=>n()),trap:Lb(()=>r()),loop:i(),onCloseAutoFocus:Lb(()=>a()),onOpenAutoFocus:Lb(()=>o()),ref:t.ref});var c=da();za(I(c),()=>t.focusScope??p,()=>({props:s.props})),H(e,c),at()}var wT,TT=()=>{};(wT=globalThis).bitsTextSelectionLayers??(wT.bitsTextSelectionLayers=new Map);var ET=new WeakMap,DT=new WeakMap,OT=new WeakMap,kT=new WeakMap,AT=new WeakSet,jT=new WeakMap,MT=new WeakMap,NT=new WeakMap,PT=class e{static create(t){return new e(t)}constructor(e){kt(this,AT),x(this,`opts`,void 0),x(this,`domContext`,void 0),O(this,ET,OC),O(this,DT,!1),O(this,OT,TT),O(this,kT,TT),O(this,jT,e=>{j(kT,this).call(this,e)}),O(this,MT,e=>{if(!j(DT,this))return;let t=this.opts.ref.current,n=e.target;!aC(t)||!aC(n)||!zT(this)||!HS(t,n)||(j(OT,this).call(this,e),!e.defaultPrevented&&A(ET,this,LT(t,this.domContext.getDocument().body)))}),O(this,NT,()=>{j(ET,this).call(this),A(ET,this,OC)}),this.opts=e,this.domContext=new qS(e.ref);let t=OC;fS(()=>[this.opts.enabled.current,this.opts.onPointerDown.current,this.opts.onPointerUp.current],([e,n,r])=>(A(DT,this,e),A(OT,this,n),A(kT,this,r),e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=k(AT,this,FT).call(this)),()=>{A(DT,this,!1),t(),j(NT,this).call(this),globalThis.bitsTextSelectionLayers.delete(this)}))}};function FT(){return mx(ea(this.domContext.getDocument(),`pointerdown`,j(MT,this)),ea(this.domContext.getDocument(),`pointerup`,Vb(j(NT,this),j(jT,this))))}var IT=e=>e.style.userSelect||e.style.webkitUserSelect;function LT(e,t){let n=IT(t),r=IT(e);return RT(t,`none`),RT(e,`text`),()=>{RT(t,n),RT(e,r)}}function RT(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function zT(e){let t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;let n=t.at(-1);return n?n[0]===e:!1}function BT(e,t){it(t,!0);let n=Z(t,`preventOverflowTextSelection`,3,!0),r=Z(t,`onPointerDown`,3,OC),i=Z(t,`onPointerUp`,3,OC);PT.create({id:Lb(()=>t.id),onPointerDown:Lb(()=>r()),onPointerUp:Lb(()=>i()),enabled:Lb(()=>t.enabled&&n()),ref:t.ref});var a=da();za(I(a),()=>t.children??p),H(e,a),at()}var VT;(VT=globalThis).bitsIdCounter??(VT.bitsIdCounter={current:0});function HT(e=`bits`){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}var UT=new WeakMap,WT=new WeakMap,GT=new WeakMap,KT=new WeakMap,qT=new WeakSet,JT=class{constructor(e){kt(this,qT),O(this,UT,void 0),O(this,WT,0),O(this,GT,N()),O(this,KT,void 0),A(UT,this,e)}get(...e){return A(WT,this,j(WT,this)+1),z(j(GT,this))===void 0&&A(KT,this,Hr(()=>{P(j(GT,this),j(UT,this).call(this,...e),!0)})),zr(()=>()=>{k(qT,this,YT).call(this)}),z(j(GT,this))}};function YT(){A(WT,this,j(WT,this)-1),j(KT,this)&&j(WT,this)<=0&&(j(KT,this).call(this),P(j(GT,this),void 0),A(KT,this,void 0))}var XT=new eS,ZT=N(null),QT=null,$T=null,eE=!1,tE=Lb(()=>{for(let e of XT.values())if(e)return!0;return!1}),nE=null,rE=new JT(()=>{function e(){document.body.setAttribute(`style`,z(ZT)??``),document.body.style.removeProperty(`--scrollbar-width`),rC&&QT?.(),P(ZT,null)}function t(){$T!==null&&(window.clearTimeout($T),$T=null)}function n(e,n){t(),eE=!0,nE=Date.now();let r=nE,i=()=>{$T=null,nE===r&&(lE(XT)?eE=!1:(eE=!1,n()))},a=e===null?24:e;$T=window.setTimeout(i,a)}function r(){z(ZT)===null&&XT.size===0&&!eE&&P(ZT,document.body.getAttribute(`style`),!0)}return fS(()=>tE.current,()=>{if(!tE.current)return;r(),eE=!1;let e=getComputedStyle(document.documentElement),t=getComputedStyle(document.body),n=e.scrollbarGutter?.includes(`stable`)||t.scrollbarGutter?.includes(`stable`),i=window.innerWidth-document.documentElement.clientWidth,a={padding:Number.parseInt(t.paddingRight??`0`,10)+i,margin:Number.parseInt(t.marginRight??`0`,10)};i>0&&!n&&(document.body.style.paddingRight=`${a.padding}px`,document.body.style.marginRight=`${a.margin}px`,document.body.style.setProperty(`--scrollbar-width`,`${i}px`)),document.body.style.overflow=`hidden`,rC&&(QT=ea(document,`touchmove`,e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),NS(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})}),jS(()=>()=>{QT?.()}),{get lockMap(){return XT},resetBodyStyle:e,scheduleCleanupIfNoNewLocks:n,cancelPendingCleanup:t,ensureInitialStyleCaptured:r}}),iE=new WeakMap,aE=new WeakMap,oE=new WeakMap,sE=new WeakMap,cE=class{constructor(e,t=()=>null){O(this,iE,HT()),O(this,aE,void 0),O(this,oE,()=>null),O(this,sE,void 0),x(this,`locked`,void 0),A(aE,this,e),A(oE,this,t),A(sE,this,rE.get()),j(sE,this)&&(j(sE,this).cancelPendingCleanup(),j(sE,this).ensureInitialStyleCaptured(),j(sE,this).lockMap.set(j(iE,this),j(aE,this)??!1),this.locked=Lb(()=>j(sE,this).lockMap.get(j(iE,this))??!1,e=>j(sE,this).lockMap.set(j(iE,this),e)),jS(()=>{if(j(sE,this).lockMap.delete(j(iE,this)),lE(j(sE,this).lockMap))return;let e=j(oE,this).call(this);j(sE,this).scheduleCleanupIfNoNewLocks(e,()=>{j(sE,this).resetBodyStyle()})}))}};function lE(e){for(let[t,n]of e)if(n)return!0;return!1}function uE(e,t){it(t,!0);let n=Z(t,`preventScroll`,3,!0),r=Z(t,`restoreScrollDelay`,3,null);n()&&new cE(n(),()=>r()),at()}function dE(e,t){it(t,!0),NC({defaultPortalTo:Lb(()=>t.defaultPortalTo),defaultLocale:Lb(()=>t.defaultLocale)});var n=da();za(I(n),()=>t.children??p),H(e,n),at()}var fE=[`top`,`right`,`bottom`,`left`],pE=Math.min,mE=Math.max,hE=Math.round,gE=Math.floor,_E=e=>({x:e,y:e}),vE={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function yE(e,t,n){return mE(e,pE(t,n))}function bE(e,t){return typeof e==`function`?e(t):e}function xE(e){return e.split(`-`)[0]}function SE(e){return e.split(`-`)[1]}function CE(e){return e===`x`?`y`:`x`}function wE(e){return e===`y`?`height`:`width`}function TE(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function EE(e){return CE(TE(e))}function DE(e,t,n){n===void 0&&(n=!1);let r=SE(e),i=EE(e),a=wE(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=IE(o)),[o,IE(o)]}function OE(e){let t=IE(e);return[kE(e),t,kE(t)]}function kE(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var AE=[`left`,`right`],jE=[`right`,`left`],ME=[`top`,`bottom`],NE=[`bottom`,`top`];function PE(e,t,n){switch(e){case`top`:case`bottom`:return n?t?jE:AE:t?AE:jE;case`left`:case`right`:return t?ME:NE;default:return[]}}function FE(e,t,n,r){let i=SE(e),a=PE(xE(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(kE)))),a}function IE(e){let t=xE(e);return vE[t]+e.slice(t.length)}function LE(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function RE(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:LE(e)}function zE(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function BE(e,t,n){let{reference:r,floating:i}=e,a=TE(t),o=EE(t),s=wE(o),c=xE(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=SE(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function VE(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=bE(t,e),p=RE(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=zE(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=zE(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var HE=50,UE=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:VE},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=BE(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<HE&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=BE(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},WE=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=bE(e,t)||{};if(l==null)return{};let d=RE(u),f={x:n,y:r},p=EE(i),m=wE(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,ee=pE(d[_],T),te=pE(d[v],T),ne=C-h[m]-te,re=C/2-h[m]/2+w,ie=yE(ee,re,ne),ae=!c.arrow&&SE(i)!=null&&re!==ie&&a.reference[m]/2-(re<ee?ee:te)-h[m]/2<0,oe=ae?re<ee?re-ee:re-ne:0;return{[p]:f[p]+oe,data:{[p]:ie,centerOffset:re-ie-oe,...ae&&{alignmentOffset:oe}},reset:ae}}}),GE=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=bE(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=xE(r),_=TE(o),v=xE(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[IE(o)]:OE(o)),x=p!==`none`;!d&&x&&b.push(...FE(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=DE(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==TE(t))||T.every(e=>TE(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=TE(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function KE(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qE(e){return fE.some(t=>e[t]>=0)}var JE=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=bE(e,t);switch(i){case`referenceHidden`:{let e=KE(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:qE(e)}}}case`escaped`:{let e=KE(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:qE(e)}}}default:return{}}}}},YE=new Set([`left`,`top`]);async function XE(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=xE(n),s=SE(n),c=TE(n)===`y`,l=YE.has(o)?-1:1,u=a&&c?-1:1,d=bE(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var ZE=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await XE(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},QE=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=bE(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=TE(i),p=CE(f),m=u[p],h=u[f],g=(e,t)=>yE(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},$E=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=bE(e,t),u={x:n,y:r},d=TE(i),f=CE(d),p=u[f],m=u[d],h=bE(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=YE.has(xE(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},eD=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=bE(e,t),c=await i.detectOverflow(t,s),l=xE(n),u=SE(n),d=TE(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=pE(p-c[m],g),y=pE(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*mE(c.left,c.right):S=p-2*mE(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function tD(){return typeof window<`u`}function nD(e){return aD(e)?(e.nodeName||``).toLowerCase():`#document`}function rD(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function iD(e){return((aD(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function aD(e){return tD()?e instanceof Node||e instanceof rD(e).Node:!1}function oD(e){return tD()?e instanceof Element||e instanceof rD(e).Element:!1}function sD(e){return tD()?e instanceof HTMLElement||e instanceof rD(e).HTMLElement:!1}function cD(e){return!tD()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof rD(e).ShadowRoot}function lD(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=bD(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function uD(e){return/^(table|td|th)$/.test(nD(e))}function dD(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var fD=/transform|translate|scale|rotate|perspective|filter/,pD=/paint|layout|strict|content/,mD=e=>!!e&&e!==`none`,hD;function gD(e){let t=oD(e)?bD(e):e;return mD(t.transform)||mD(t.translate)||mD(t.scale)||mD(t.rotate)||mD(t.perspective)||!vD()&&(mD(t.backdropFilter)||mD(t.filter))||fD.test(t.willChange||``)||pD.test(t.contain||``)}function _D(e){let t=SD(e);for(;sD(t)&&!yD(t);){if(gD(t))return t;if(dD(t))return null;t=SD(t)}return null}function vD(){return hD??(hD=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`)),hD}function yD(e){return/^(html|body|#document)$/.test(nD(e))}function bD(e){return rD(e).getComputedStyle(e)}function xD(e){return oD(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function SD(e){if(nD(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||cD(e)&&e.host||iD(e);return cD(t)?t.host:t}function CD(e){let t=SD(e);return yD(t)?(e.ownerDocument||e).body:sD(t)&&lD(t)?t:CD(t)}function wD(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=CD(e),i=r===e.ownerDocument?.body,a=rD(r);if(i){let e=TD(a);return t.concat(a,a.visualViewport||[],lD(r)?r:[],e&&n?wD(e):[])}else return t.concat(r,wD(r,[],n))}function TD(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ED(e){let t=bD(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=sD(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=hE(n)!==a||hE(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function DD(e){return oD(e)?e:e.contextElement}function OD(e){let t=DD(e);if(!sD(t))return _E(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=ED(t),o=(a?hE(n.width):n.width)/r,s=(a?hE(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var kD=_E(0);function AD(e){let t=rD(e);return!vD()||!t.visualViewport?kD:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jD(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===rD(e)}function MD(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=DD(e),o=_E(1);t&&(r?oD(r)&&(o=OD(r)):o=OD(e));let s=jD(a,n,r)?AD(a):_E(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=rD(a),t=oD(r)?rD(r):r,n=e,i=TD(n);for(;i&&t!==n;){let e=OD(i),t=i.getBoundingClientRect(),r=bD(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=rD(i),i=TD(n)}}return zE({width:u,height:d,x:c,y:l})}function ND(e,t){let n=xD(e).scrollLeft;return t?t.left+n:MD(iD(e)).left+n}function PD(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ND(e,n),y:n.top+t.scrollTop}}function FD(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=iD(r),s=t?dD(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=_E(1),u=_E(0),d=sD(r);if((d||!a)&&((nD(r)!==`body`||lD(o))&&(c=xD(r)),d)){let e=MD(r);l=OD(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?PD(o,c):_E(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function ID(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function LD(e){let t=xD(e),n=e.ownerDocument.body,r=mE(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=mE(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+ND(e),o=-t.scrollTop;return bD(n).direction===`rtl`&&(a+=mE(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var RD=25;function zD(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=rD(e),a=iD(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!vD()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(ND(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=RD&&(s-=o)}return{width:s,height:c,x:l,y:u}}function BD(e,t){let n=MD(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=OD(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function VD(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=zD(e,n,t);else if(t===`document`)r=LD(iD(e));else if(oD(t))r=BD(t,n);else{let n=AD(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return zE(r)}function HD(e,t){let n=t.get(e);if(n)return n;let r=wD(e,[],!1).filter(e=>oD(e)&&nD(e)!==`body`),i=null,a=bD(e).position===`fixed`,o=a?SD(e):e;for(;oD(o)&&!yD(o);){let e=bD(o),t=gD(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=SD(o)}return t.set(e,r),r}function UD(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?dD(t)?[]:HD(t,this._c):[].concat(n),r],o=VD(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=VD(t,a[e],i);s=mE(n.top,s),c=pE(n.right,c),l=pE(n.bottom,l),u=mE(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function WD(e){let{width:t,height:n}=ED(e);return{width:t,height:n}}function GD(e,t,n){let r=sD(t),i=iD(t),a=n===`fixed`,o=MD(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=_E(0);if((r||!a)&&((nD(t)!==`body`||lD(i))&&(s=xD(t)),r)){let e=MD(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=ND(i));let l=i&&!r&&!a?PD(i,s):_E(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function KD(e){return bD(e).position===`static`}function qD(e,t){if(!sD(e)||bD(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return iD(e)===n&&(n=n.ownerDocument.body),n}function JD(e,t){let n=rD(e);if(dD(e))return n;if(!sD(e)){let t=SD(e);for(;t&&!yD(t);){if(oD(t)&&!KD(t))return t;t=SD(t)}return n}let r=qD(e,t);for(;r&&uD(r)&&KD(r);)r=qD(r,t);return r&&yD(r)&&KD(r)&&!gD(r)?n:r||_D(e)||n}var YD=async function(e){let t=this.getOffsetParent||JD,n=this.getDimensions,r=await n(e.floating);return{reference:GD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function XD(e){return bD(e).direction===`rtl`}var ZD={convertOffsetParentRelativeRectToViewportRelativeRect:FD,getDocumentElement:iD,getClippingRect:UD,getOffsetParent:JD,getElementRects:YD,getClientRects:ID,getDimensions:WD,getScale:OD,isElement:oD,isRTL:XD};function QD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function $D(e,t,n){let r=null,i,a=iD(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=gE(d),h=gE(a.clientWidth-(u+f)),g=gE(a.clientHeight-(d+p)),_=gE(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:mE(0,pE(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!QD(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=rD(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function eO(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=DD(e),u=i||a?[...l?wD(l):[],...t?wD(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?$D(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?MD(e):null;c&&g();function g(){let t=MD(e);h&&!QD(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var tO=ZE,nO=QE,rO=GE,iO=eD,aO=JE,oO=WE,sO=$E,cO=(e,t,n)=>{let r=new Map,i=n??{},a={...ZD,...i.platform,_c:r};return UE(e,t,{...i,platform:a})};function lO(e){return typeof e==`function`?e():e}function uO(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function dO(e,t){let n=uO(e);return Math.round(t*n)/n}function fO(e){return{[`--bits-${e}-content-transform-origin`]:`var(--bits-floating-transform-origin)`,[`--bits-${e}-content-available-width`]:`var(--bits-floating-available-width)`,[`--bits-${e}-content-available-height`]:`var(--bits-floating-available-height)`,[`--bits-${e}-anchor-width`]:`var(--bits-floating-anchor-width)`,[`--bits-${e}-anchor-height`]:`var(--bits-floating-anchor-height)`}}function pO(e){let t=e.whileElementsMounted,n=M(()=>lO(e.open)??!0),r=M(()=>lO(e.middleware)),i=M(()=>lO(e.transform)??!0),a=M(()=>lO(e.placement)??`bottom`),o=M(()=>lO(e.strategy)??`absolute`),s=M(()=>lO(e.sideOffset)??0),c=M(()=>lO(e.alignOffset)??0),l=e.reference,u=N(0),d=N(0),f=Bb(null),p=N(yr(z(o))),m=N(yr(z(a))),h=N(yr({})),g=N(!1),_=!1,v=0,y=M(()=>{let e=f.current?dO(f.current,z(u)):z(u),t=f.current?dO(f.current,z(d)):z(d);return z(i)?{position:z(p),left:`0`,top:`0`,transform:`translate(${e}px, ${t}px)`,...f.current&&uO(f.current)>=1.5&&{willChange:`transform`}}:{position:z(p),left:`${e}px`,top:`${t}px`}}),b;function x(){if(l.current===null||f.current===null)return;let e=l.current,t=f.current,i=++v;cO(e,t,{middleware:z(r),placement:z(a),strategy:z(o)}).then(r=>{if(i===v&&!(l.current!==e||f.current!==t)){if(mO(e)){P(h,{...z(h),hide:{...z(h).hide,referenceHidden:!0}},!0);return}if(!z(n)&&z(u)!==0&&z(d)!==0){let e=Math.max(Math.abs(z(s)),Math.abs(z(c)),15);if(r.x<=e&&r.y<=e)return}P(u,r.x,!0),P(d,r.y,!0),P(p,r.strategy,!0),P(m,r.placement,!0),P(h,r.middlewareData,!0),P(g,!0)}})}function S(){typeof b==`function`&&(b(),b=void 0),v++}function C(){if(S(),t===void 0){x();return}z(n)&&(l.current===null||f.current===null||(b=t(l.current,f.current,x)))}function w(){!z(n)&&f.current===null&&P(g,!1)}function T(){return[z(r),z(a),z(o),z(s),z(c),z(n)]}return zr(()=>{t===void 0&&z(n)&&x()}),zr(C),zr(()=>{if(t!==void 0){if(T(),!z(n)){_=!1;return}if(!z(g)){_=!1;return}if(!_){_=!0;return}x()}}),zr(w),zr(()=>S),{floating:f,reference:l,get strategy(){return z(p)},get placement(){return z(m)},get middlewareData(){return z(h)},get isPositioned(){return z(g)},get floatingStyles(){return z(y)},get update(){return x}}}function mO(e){return e instanceof Element?!e.isConnected||e instanceof HTMLElement&&e.hidden?!0:e.getClientRects().length===0:!1}var hO={top:`bottom`,right:`left`,bottom:`top`,left:`right`},gO=new cS(`Floating.Root`),_O=new cS(`Floating.Content`),vO=new cS(`Floating.Root`),yO=class e{static create(t=!1){return t?vO.set(new e):gO.set(new e)}constructor(){x(this,`anchorNode`,Bb(null)),x(this,`customAnchorNode`,Bb(null)),x(this,`triggerNode`,Bb(null)),zr(()=>{this.customAnchorNode.current?typeof this.customAnchorNode.current==`string`?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}},bO=new WeakMap,xO=new WeakMap,SO=new WeakMap,CO=new WeakMap,wO=new WeakMap,TO=new WeakMap,EO=new WeakMap,DO=new WeakMap,OO=new WeakMap,kO=new WeakMap,AO=new WeakMap,jO=new WeakMap,MO=new WeakMap,NO=new WeakMap,PO=new WeakMap,FO=new WeakMap,IO=new WeakMap,LO=new WeakMap,RO=new WeakMap,zO=new WeakMap,BO=new WeakMap,VO=new WeakMap,HO=new WeakMap,UO=new WeakMap,WO=class e{static create(t,n=!1){return n?_O.set(new e(t,vO.get())):_O.set(new e(t,gO.get()))}get hasExplicitBoundaries(){return z(j(DO,this))}set hasExplicitBoundaries(e){P(j(DO,this),e)}get detectOverflowOptions(){return z(j(OO,this))}set detectOverflowOptions(e){P(j(OO,this),e)}get middleware(){return z(j(NO,this))}set middleware(e){P(j(NO,this),e)}get placedSide(){return z(j(PO,this))}set placedSide(e){P(j(PO,this),e)}get placedAlign(){return z(j(FO,this))}set placedAlign(e){P(j(FO,this),e)}get arrowX(){return z(j(IO,this))}set arrowX(e){P(j(IO,this),e)}get arrowY(){return z(j(LO,this))}set arrowY(e){P(j(LO,this),e)}get cannotCenterArrow(){return z(j(RO,this))}set cannotCenterArrow(e){P(j(RO,this),e)}get contentZIndex(){return z(j(zO,this))}set contentZIndex(e){P(j(zO,this),e,!0)}get arrowBaseSide(){return z(j(BO,this))}set arrowBaseSide(e){P(j(BO,this),e)}get wrapperProps(){return z(j(VO,this))}set wrapperProps(e){P(j(VO,this),e)}get props(){return z(j(HO,this))}set props(e){P(j(HO,this),e)}get arrowStyle(){return z(j(UO,this))}set arrowStyle(e){P(j(UO,this),e)}constructor(e,t){x(this,`opts`,void 0),x(this,`root`,void 0),x(this,`contentRef`,Bb(null)),x(this,`wrapperRef`,Bb(null)),x(this,`arrowRef`,Bb(null)),x(this,`contentAttachment`,JS(this.contentRef)),x(this,`wrapperAttachment`,JS(this.wrapperRef)),x(this,`arrowAttachment`,JS(this.arrowRef)),x(this,`arrowId`,Bb(HT())),O(this,bO,M(()=>{if(typeof this.opts.style==`string`)return px(this.opts.style);if(!this.opts.style)return{}})),O(this,xO,void 0),O(this,SO,new TS(()=>this.arrowRef.current??void 0)),O(this,CO,M(()=>j(SO,this)?.width??0)),O(this,wO,M(()=>j(SO,this)?.height??0)),O(this,TO,M(()=>this.opts.side?.current+(this.opts.align.current===`center`?``:`-${this.opts.align.current}`))),O(this,EO,M(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current])),O(this,DO,M(()=>z(j(EO,this)).length>0)),O(this,OO,M(()=>({padding:this.opts.collisionPadding.current,boundary:z(j(EO,this)).filter(lC),altBoundary:this.hasExplicitBoundaries}))),O(this,kO,N(void 0)),O(this,AO,N(void 0)),O(this,jO,N(void 0)),O(this,MO,N(void 0)),O(this,NO,M(()=>[tO({mainAxis:this.opts.sideOffset.current+z(j(wO,this)),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&nO({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current===`partial`?sO():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&rO({...this.detectOverflowOptions}),iO({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:n})=>{let{width:r,height:i}=e.reference;P(j(kO,this),t,!0),P(j(AO,this),n,!0),P(j(jO,this),r,!0),P(j(MO,this),i,!0)}}),this.arrowRef.current&&oO({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),KO({arrowWidth:z(j(CO,this)),arrowHeight:z(j(wO,this))}),this.opts.hideWhenDetached.current&&aO({strategy:`referenceHidden`,...this.detectOverflowOptions})].filter(Boolean))),x(this,`floating`,void 0),O(this,PO,M(()=>JO(this.floating.placement))),O(this,FO,M(()=>YO(this.floating.placement))),O(this,IO,M(()=>this.floating.middlewareData.arrow?.x??0)),O(this,LO,M(()=>this.floating.middlewareData.arrow?.y??0)),O(this,RO,M(()=>this.floating.middlewareData.arrow?.centerOffset!==0)),O(this,zO,N()),O(this,BO,M(()=>hO[this.placedSide])),O(this,VO,M(()=>({id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":``,style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,"--bits-floating-available-width":`${z(j(kO,this))}px`,"--bits-floating-available-height":`${z(j(AO,this))}px`,"--bits-floating-anchor-width":`${z(j(jO,this))}px`,"--bits-floating-anchor-height":`${z(j(MO,this))}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:`hidden`,"pointer-events":`none`},...z(j(bO,this))},dir:this.opts.dir.current,...this.wrapperAttachment}))),O(this,HO,M(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:vx({...z(j(bO,this))}),...this.contentAttachment}))),O(this,UO,M(()=>({position:`absolute`,left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[this.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[this.placedSide],visibility:this.cannotCenterArrow?`hidden`:void 0}))),this.opts=e,this.root=t,A(xO,this,e.updatePositionStrategy),e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),fS(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=pO({strategy:()=>this.opts.strategy.current,placement:()=>z(j(TO,this)),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...e)=>eO(...e,{animationFrame:j(xO,this)?.current===`always`}),open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),zr(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),fS(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;let t=WS(e),n=t.requestAnimationFrame(()=>{if(this.contentRef.current!==e||!this.opts.enabled.current)return;let n=t.getComputedStyle(e).zIndex;n!==this.contentZIndex&&(this.contentZIndex=n)});return()=>{t.cancelAnimationFrame(n)}}),zr(()=>{this.floating.floating.current=this.wrapperRef.current})}},GO=class e{static create(t,n=!1){return n?new e(t,vO.get()):new e(t,gO.get())}constructor(e,t){x(this,`opts`,void 0),x(this,`root`,void 0),this.opts=e,this.root=t,e.virtualEl&&e.virtualEl.current?t.triggerNode=zb(e.virtualEl.current):t.triggerNode=e.ref}};function KO(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=qO(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function qO(e){let[t,n=`center`]=e.split(`-`);return[t,n]}function JO(e){return qO(e)[0]}function YO(e){return qO(e)[1]}function XO(e,t){it(t,!0);let n=Z(t,`tooltip`,3,!1);yO.create(n());var r=da();za(I(r),()=>t.children??p),H(e,r),at()}function ZO(e,t){it(t,!0);let n=Z(t,`tooltip`,3,!1);GO.create({id:Lb(()=>t.id),virtualEl:Lb(()=>t.virtualEl),ref:t.ref},n());var r=da();za(I(r),()=>t.children??p),H(e,r),at()}function QO(e,t){it(t,!0);let n=Z(t,`side`,3,`bottom`),r=Z(t,`sideOffset`,3,0),i=Z(t,`align`,3,`center`),a=Z(t,`alignOffset`,3,0),o=Z(t,`arrowPadding`,3,0),s=Z(t,`avoidCollisions`,3,!0),c=Z(t,`collisionBoundary`,19,()=>[]),l=Z(t,`collisionPadding`,3,0),u=Z(t,`hideWhenDetached`,3,!1),d=Z(t,`onPlaced`,3,()=>{}),f=Z(t,`sticky`,3,`partial`),m=Z(t,`updatePositionStrategy`,3,`optimized`),h=Z(t,`strategy`,3,`fixed`),g=Z(t,`dir`,3,`ltr`),_=Z(t,`style`,19,()=>({})),v=Z(t,`wrapperId`,19,HT),y=Z(t,`customAnchor`,3,null),b=Z(t,`tooltip`,3,!1),x=WO.create({side:Lb(()=>n()),sideOffset:Lb(()=>r()),align:Lb(()=>i()),alignOffset:Lb(()=>a()),id:Lb(()=>t.id),arrowPadding:Lb(()=>o()),avoidCollisions:Lb(()=>s()),collisionBoundary:Lb(()=>c()),collisionPadding:Lb(()=>l()),hideWhenDetached:Lb(()=>u()),onPlaced:Lb(()=>d()),sticky:Lb(()=>f()),updatePositionStrategy:Lb(()=>m()),strategy:Lb(()=>h()),dir:Lb(()=>g()),style:Lb(()=>_()),enabled:Lb(()=>t.enabled),wrapperId:Lb(()=>v()),customAnchor:Lb(()=>y())},b()),S=M(()=>xx(x.wrapperProps,{style:{pointerEvents:`auto`}}));var C=da();za(I(C),()=>t.content??p,()=>({props:x.props,wrapperProps:z(S)})),H(e,C),at()}function $O(e,t){it(t,!0),Ko(()=>{t.onPlaced?.()});var n=da();za(I(n),()=>t.content??p,()=>({props:{},wrapperProps:{}})),H(e,n),at()}var ek=new Set([`$$slots`,`$$events`,`$$legacy`,`content`,`isStatic`,`onPlaced`]);function tk(e,t){let n=Z(t,`isStatic`,3,!1),r=Y(t,ek);var i=da(),a=I(i),o=e=>{$O(e,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},s=e=>{QO(e,X({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>r))};W(a,e=>{n()?e(o):e(s,-1)}),H(e,i)}var nk=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled.ref.tooltip.contentPointerEvents`.split(`.`)),rk=V(`<!> <!>`,1);function ik(e,t){it(t,!0);let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`trapFocus`,3,!0),i=Z(t,`isValidEvent`,3,()=>!1),a=Z(t,`customAnchor`,3,null),o=Z(t,`isStatic`,3,!1),s=Z(t,`tooltip`,3,!1),c=Z(t,`contentPointerEvents`,3,`auto`),l=Y(t,nk),u=M(()=>t.preventScroll??!0),d=M(()=>t.strategy??(z(u)?`fixed`:`absolute`));tk(e,{get isStatic(){return o()},get id(){return t.id},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return z(d)},get dir(){return t.dir},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get enabled(){return t.enabled},get tooltip(){return s()},content:(e,a)=>{let o=()=>(a?.()).props,s=()=>(a?.()).wrapperProps;var d=rk(),f=I(d),m=e=>{uE(e,{get preventScroll(){return z(u)}})},h=e=>{uE(e,{get preventScroll(){return z(u)}})};W(f,e=>{t.forceMount&&t.enabled?e(m):t.forceMount||e(h,1)}),CT(L(f,2),{get onOpenAutoFocus(){return t.onOpenAutoFocus},get onCloseAutoFocus(){return t.onCloseAutoFocus},get loop(){return t.loop},get enabled(){return t.enabled},get trapFocus(){return r()},get forceMount(){return t.forceMount},get ref(){return t.ref},focusScope:(e,r)=>{let a=()=>(r?.()).props;iT(e,{get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,r)=>{Qw(e,{get id(){return t.id},get onInteractOutside(){return t.onInteractOutside},get onFocusOutside(){return t.onFocusOutside},get interactOutsideBehavior(){return n()},get isValidEvent(){return i()},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,n)=>{let r=()=>(n?.()).props;BT(e,{get id(){return t.id},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,n)=>{var i=da(),u=I(i);{let e=M(()=>({props:xx(l,o(),r(),a(),{style:{pointerEvents:c()}}),wrapperProps:s()}));za(u,()=>t.popper??p,()=>z(e))}H(e,i)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),H(e,d)},$$slots:{content:!0}}),at()}var ak=new Set(`$$slots.$$events.$$legacy.popper.open.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.ref.shouldRender`.split(`.`));function ok(e,t){let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`trapFocus`,3,!0),i=Z(t,`isValidEvent`,3,()=>!1),a=Z(t,`customAnchor`,3,null),o=Z(t,`isStatic`,3,!1),s=Y(t,ak);var c=da(),l=I(c),u=e=>{ik(e,X({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>s))};W(l,e=>{t.shouldRender&&e(u)}),H(e,c)}var sk=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled`.split(`.`));function ck(e,t){let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`trapFocus`,3,!0),i=Z(t,`isValidEvent`,3,()=>!1),a=Z(t,`customAnchor`,3,null),o=Z(t,`isStatic`,3,!1),s=Y(t,sk);ik(e,X({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.enabled},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside}},()=>s,{forceMount:!0}))}function lk(e,t){let[n,r]=e,i=!1,a=t.length;for(let e=0,o=a-1;e<a;o=e++){let[a,s]=t[e]??[0,0],[c,l]=t[o]??[0,0];s>=r!=l>=r&&n<=(c-a)*(r-s)/(l-s)+a&&(i=!i)}return i}function uk(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}function dk(e,t){let n=e.left+e.width/2,r=e.top+e.height/2,i=t.left+t.width/2,a=t.top+t.height/2,o=i-n,s=a-r;return Math.abs(o)>Math.abs(s)?o>0?`right`:`left`:s>0?`bottom`:`top`}var fk=new WeakMap,pk=new WeakMap,mk=new WeakMap,hk=new WeakMap,gk=new WeakMap,_k=new WeakMap,vk=new WeakMap,yk=new WeakMap,bk=new WeakMap,xk=new WeakSet,Sk=class{constructor(e){kt(this,xk),O(this,fk,void 0),O(this,pk,void 0),O(this,mk,void 0),O(this,hk,null),O(this,gk,null),O(this,_k,[]),O(this,vk,null),O(this,yk,null),O(this,bk,null),A(fk,this,e),A(pk,this,e.buffer??1);let t=e.transitIntentTimeout;A(mk,this,typeof t==`number`&&t>0?t:null),fS([e.triggerNode,e.contentNode,e.enabled],([e,t,n])=>{if(!e||!t||!n){A(vk,this,null),k(xk,this,Ok).call(this);return}return j(vk,this)&&j(vk,this)!==e&&k(xk,this,Ok).call(this),A(vk,this,e),[ea(US(e),`pointermove`,n=>{k(xk,this,Dk).call(this,[n.clientX,n.clientY],e,t)}),ea(e,`pointerleave`,e=>{let n=e.relatedTarget;if(oC(n)&&t.contains(n))return;let r=j(fk,this).ignoredTargets?.()??[];oC(n)&&r.some(e=>e===n||e.contains(n))||(A(_k,this,oC(n)&&r.length>0?r.filter(e=>n.contains(e)):[]),A(hk,this,[e.clientX,e.clientY]),A(gk,this,`content`),k(xk,this,wk).call(this))}),ea(e,`pointerenter`,()=>{k(xk,this,Ok).call(this)}),ea(t,`pointerenter`,()=>{k(xk,this,Ok).call(this)}),ea(t,`pointerleave`,t=>{let n=t.relatedTarget;oC(n)&&e.contains(n)||(A(hk,this,[t.clientX,t.clientY]),A(gk,this,`trigger`),k(xk,this,wk).call(this))})].reduce((e,t)=>()=>{e(),t()},()=>{})})}};function Ck(){j(yk,this)!==null&&(cancelAnimationFrame(j(yk,this)),A(yk,this,null))}function wk(){k(xk,this,Ck).call(this),A(yk,this,requestAnimationFrame(()=>{A(yk,this,null),!(!j(hk,this)||!j(gk,this))&&(k(xk,this,Ok).call(this),j(fk,this).onPointerExit())}))}function Tk(){j(bk,this)!==null&&(clearTimeout(j(bk,this)),A(bk,this,null))}function Ek(){j(mk,this)!==null&&(k(xk,this,Tk).call(this),A(bk,this,window.setTimeout(()=>{A(bk,this,null),!(!j(hk,this)||!j(gk,this))&&(k(xk,this,Ok).call(this),j(fk,this).onPointerExit())},j(mk,this))))}function Dk(e,t,n){if(!j(hk,this)||!j(gk,this))return;k(xk,this,Ck).call(this),k(xk,this,Ek).call(this);let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();if(j(gk,this)===`content`&&uk(e,i)){k(xk,this,Ok).call(this);return}if(j(gk,this)===`trigger`&&uk(e,r)){k(xk,this,Ok).call(this);return}if(j(gk,this)===`content`&&j(_k,this).length>0)for(let t of j(_k,this)){let n=t.getBoundingClientRect();if(uk(e,n))return;let i=dk(r,n),a=k(xk,this,kk).call(this,r,n,i);if(a&&lk(e,a))return}let a=dk(r,i),o=k(xk,this,kk).call(this,r,i,a);if(o&&lk(e,o))return;let s=j(gk,this)===`content`?i:r;lk(e,k(xk,this,Ak).call(this,j(hk,this),s,a,j(gk,this)))||(k(xk,this,Ok).call(this),j(fk,this).onPointerExit())}function Ok(){A(hk,this,null),A(gk,this,null),A(_k,this,[]),k(xk,this,Ck).call(this),k(xk,this,Tk).call(this)}function kk(e,t,n){let r=j(pk,this);switch(n){case`top`:return[[Math.min(e.left,t.left)-r,e.top],[Math.min(e.left,t.left)-r,t.bottom],[Math.max(e.right,t.right)+r,t.bottom],[Math.max(e.right,t.right)+r,e.top]];case`bottom`:return[[Math.min(e.left,t.left)-r,e.bottom],[Math.min(e.left,t.left)-r,t.top],[Math.max(e.right,t.right)+r,t.top],[Math.max(e.right,t.right)+r,e.bottom]];case`left`:return[[e.left,Math.min(e.top,t.top)-r],[t.right,Math.min(e.top,t.top)-r],[t.right,Math.max(e.bottom,t.bottom)+r],[e.left,Math.max(e.bottom,t.bottom)+r]];case`right`:return[[e.right,Math.min(e.top,t.top)-r],[t.left,Math.min(e.top,t.top)-r],[t.left,Math.max(e.bottom,t.bottom)+r],[e.right,Math.max(e.bottom,t.bottom)+r]]}}function Ak(e,t,n,r){let i=j(pk,this)*4,[a,o]=e;switch(r===`trigger`?k(xk,this,jk).call(this,n):n){case`top`:return[[a-i,o+i],[a+i,o+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case`bottom`:return[[a-i,o-i],[a+i,o-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case`left`:return[[a+i,o-i],[a+i,o+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case`right`:return[[a-i,o-i],[a-i,o+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}function jk(e){switch(e){case`top`:return`bottom`;case`bottom`:return`top`;case`left`:return`right`;case`right`:return`left`}}var Mk=tC({component:`popover`,parts:[`root`,`trigger`,`content`,`close`,`overlay`]}),Nk=new cS(`Popover.Root`),Pk=new WeakMap,Fk=new WeakMap,Ik=new WeakMap,Lk=new WeakMap,Rk=new WeakMap,zk=new WeakMap,Bk=new WeakMap,Vk=new WeakMap,Hk=new WeakMap,Uk=new WeakSet,Wk=class e{static create(t){return Nk.set(new e(t))}get contentNode(){return z(j(Pk,this))}set contentNode(e){P(j(Pk,this),e,!0)}get triggerNode(){return z(j(Fk,this))}set triggerNode(e){P(j(Fk,this),e,!0)}get overlayNode(){return z(j(Ik,this))}set overlayNode(e){P(j(Ik,this),e,!0)}get openedViaHover(){return z(j(Lk,this))}set openedViaHover(e){P(j(Lk,this),e,!0)}get hasInteractedWithContent(){return z(j(Rk,this))}set hasInteractedWithContent(e){P(j(Rk,this),e,!0)}get hoverCooldown(){return z(j(zk,this))}set hoverCooldown(e){P(j(zk,this),e,!0)}get closeDelay(){return z(j(Bk,this))}set closeDelay(e){P(j(Bk,this),e,!0)}constructor(e){kt(this,Uk),x(this,`opts`,void 0),O(this,Pk,N(null)),x(this,`contentPresence`,void 0),O(this,Fk,N(null)),O(this,Ik,N(null)),x(this,`overlayPresence`,void 0),O(this,Lk,N(!1)),O(this,Rk,N(!1)),O(this,zk,N(!1)),O(this,Bk,N(0)),O(this,Vk,null),O(this,Hk,null),this.opts=e,this.contentPresence=new EC({ref:Lb(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new EC({ref:Lb(()=>this.overlayNode),open:this.opts.open}),fS(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,k(Uk,this,Gk).call(this))})}setDomContext(e){A(Hk,this,e)}toggleOpen(){k(Uk,this,Gk).call(this),this.opts.open.current=!this.opts.open.current}handleClose(){k(Uk,this,Gk).call(this),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){k(Uk,this,Gk).call(this),!this.opts.open.current&&(this.openedViaHover=!0,this.opts.open.current=!0)}handleHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1)}handleDelayedHoverClose(){this.opts.open.current&&(!this.openedViaHover||this.hasInteractedWithContent||(k(Uk,this,Gk).call(this),this.closeDelay<=0?this.opts.open.current=!1:j(Hk,this)&&A(Vk,this,j(Hk,this).setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),A(Vk,this,null)},this.closeDelay))))}cancelDelayedClose(){k(Uk,this,Gk).call(this)}markInteraction(){this.hasInteractedWithContent=!0,k(Uk,this,Gk).call(this)}};function Gk(){j(Vk,this)!==null&&j(Hk,this)&&(j(Hk,this).clearTimeout(j(Vk,this)),A(Vk,this,null))}var Kk=new WeakMap,qk=new WeakMap,Jk=new WeakMap,Yk=new WeakSet,Xk=new WeakMap,Zk=class e{static create(t){return new e(t,Nk.get())}constructor(e,t){kt(this,Yk),x(this,`opts`,void 0),x(this,`root`,void 0),x(this,`attachment`,void 0),x(this,`domContext`,void 0),O(this,Kk,null),O(this,qk,null),O(this,Jk,N(!1)),O(this,Xk,M(()=>({id:this.opts.id.current,"aria-haspopup":`dialog`,"aria-expanded":YS(this.root.opts.open.current),"data-state":XS(this.root.opts.open.current),"aria-controls":k(Yk,this,tA).call(this),[Mk.trigger]:``,disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}))),this.opts=e,this.root=t,this.attachment=JS(this.opts.ref,e=>this.root.triggerNode=e),this.domContext=new qS(e.ref),this.root.setDomContext(this.domContext),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),fS(()=>this.opts.closeDelay.current,e=>{this.root.closeDelay=e})}onpointerenter(e){if(this.opts.disabled.current||!this.opts.openOnHover.current||cC(e)||(P(j(Jk,this),!0),k(Yk,this,$k).call(this),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown))return;let t=this.opts.openDelay.current;t<=0?this.root.handleHoverOpen():A(Kk,this,this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),A(Kk,this,null)},t))}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&(cC(e)||(P(j(Jk,this),!1),k(Yk,this,Qk).call(this),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&e.button===0){if(k(Yk,this,eA).call(this),z(j(Jk,this))&&this.root.opts.open.current&&this.root.openedViaHover){this.root.openedViaHover=!1,this.root.hasInteractedWithContent=!0;return}z(j(Jk,this))&&this.opts.openOnHover.current&&this.root.opts.open.current&&(this.root.hoverCooldown=!0),this.root.hoverCooldown&&!this.root.opts.open.current&&(this.root.hoverCooldown=!1),this.root.toggleOpen()}}onkeydown(e){this.opts.disabled.current||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),k(Yk,this,eA).call(this),this.root.toggleOpen())}get props(){return z(j(Xk,this))}set props(e){P(j(Xk,this),e)}};function Qk(){j(Kk,this)!==null&&(this.domContext.clearTimeout(j(Kk,this)),A(Kk,this,null))}function $k(){j(qk,this)!==null&&(this.domContext.clearTimeout(j(qk,this)),A(qk,this,null))}function eA(){k(Yk,this,Qk).call(this),k(Yk,this,$k).call(this)}function tA(){if(this.root.opts.open.current&&this.root.contentNode?.id)return this.root.contentNode?.id}var nA=new WeakMap,rA=new WeakMap,iA=class e{static create(t){return new e(t,Nk.get())}constructor(e,t){x(this,`opts`,void 0),x(this,`root`,void 0),x(this,`attachment`,void 0),x(this,`onInteractOutside`,e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented||!oC(e.target))return;let t=e.target.closest(Mk.selector(`trigger`));if(!(t&&t===this.root.triggerNode)){if(this.opts.customAnchor.current){if(oC(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(e.target))return}else if(typeof this.opts.customAnchor.current==`string`){let t=document.querySelector(this.opts.customAnchor.current);if(t&&t.contains(e.target))return}}this.root.handleClose()}}),x(this,`onEscapeKeydown`,e=>{this.opts.onEscapeKeydown.current(e),!e.defaultPrevented&&this.root.handleClose()}),O(this,nA,M(()=>({open:this.root.opts.open.current}))),O(this,rA,M(()=>({id:this.opts.id.current,tabindex:-1,"data-state":XS(this.root.opts.open.current),...ZS(this.root.contentPresence.transitionStatus),[Mk.content]:``,style:{pointerEvents:`auto`,contain:`layout style`},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}))),x(this,`popperProps`,{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}),this.opts=e,this.root=t,this.attachment=JS(this.opts.ref,e=>this.root.contentNode=e),this.onpointerdown=this.onpointerdown.bind(this),this.onfocusin=this.onfocusin.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),new Sk({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&this.root.openedViaHover&&!this.root.hasInteractedWithContent,onPointerExit:()=>{this.root.handleDelayedHoverClose()}})}onpointerdown(e){this.root.markInteraction()}onfocusin(e){let t=e.target;oC(t)&&bw(t)&&this.root.markInteraction()}onpointerenter(e){cC(e)||this.root.cancelDelayedClose()}onpointerleave(e){cC(e)}get shouldRender(){return this.root.contentPresence.shouldRender}get shouldTrapFocus(){return!(this.root.openedViaHover&&!this.root.hasInteractedWithContent)}get snippetProps(){return z(j(nA,this))}set snippetProps(e){P(j(nA,this),e)}get props(){return z(j(rA,this))}set props(e){P(j(rA,this),e)}},aA=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`,`forceMount`,`onOpenAutoFocus`,`onCloseAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`customAnchor`,`style`]),oA=V(`<div><div><!></div></div>`);function sA(e,t){let n=fa();it(t,!0);let r=Z(t,`ref`,15,null),i=Z(t,`id`,19,()=>kC(n)),a=Z(t,`forceMount`,3,!1),o=Z(t,`onOpenAutoFocus`,3,OC),s=Z(t,`onCloseAutoFocus`,3,OC),c=Z(t,`onEscapeKeydown`,3,OC),l=Z(t,`onInteractOutside`,3,OC),u=Z(t,`trapFocus`,3,!0),d=Z(t,`preventScroll`,3,!1),f=Z(t,`customAnchor`,3,null),m=Y(t,aA),h=iA.create({id:Lb(()=>i()),ref:Lb(()=>r(),e=>r(e)),onInteractOutside:Lb(()=>l()),onEscapeKeydown:Lb(()=>c()),customAnchor:Lb(()=>f())}),g=M(()=>xx(m,h.props)),_=M(()=>u()&&h.shouldTrapFocus);function v(e){h.shouldTrapFocus||e.preventDefault(),o()(e)}var y=da(),b=I(y),x=e=>{ck(e,X(()=>z(g),()=>h.popperProps,{get ref(){return h.opts.ref},get enabled(){return h.root.opts.open.current},get id(){return i()},get trapFocus(){return z(_)},get preventScroll(){return d()},loop:!0,forceMount:!0,get customAnchor(){return f()},onOpenAutoFocus:v,get onCloseAutoFocus(){return s()},get shouldRender(){return h.shouldRender},popper:(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=M(()=>xx(r(),{style:fO(`popover`)},{style:t.style}));var o=da(),s=I(o),c=e=>{var n=da(),r=I(n);{let e=M(()=>({props:z(a),wrapperProps:i(),...h.snippetProps}));za(r,()=>t.child,()=>z(e))}H(e,n)},l=e=>{var n=oA();Oo(n,()=>({...i()}));var r=F(n);Oo(r,()=>({...z(a)})),za(F(r),()=>t.children??p),D(r),D(n),H(e,n)};W(s,e=>{t.child?e(c):e(l,-1)}),H(e,o)},$$slots:{popper:!0}}))},S=e=>{ok(e,X(()=>z(g),()=>h.popperProps,{get ref(){return h.opts.ref},get open(){return h.root.opts.open.current},get id(){return i()},get trapFocus(){return z(_)},get preventScroll(){return d()},loop:!0,forceMount:!1,get customAnchor(){return f()},onOpenAutoFocus:v,get onCloseAutoFocus(){return s()},get shouldRender(){return h.shouldRender},popper:(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=M(()=>xx(r(),{style:fO(`popover`)},{style:t.style}));var o=da(),s=I(o),c=e=>{var n=da(),r=I(n);{let e=M(()=>({props:z(a),wrapperProps:i(),...h.snippetProps}));za(r,()=>t.child,()=>z(e))}H(e,n)},l=e=>{var n=oA();Oo(n,()=>({...i()}));var r=F(n);Oo(r,()=>({...z(a)})),za(F(r),()=>t.children??p),D(r),D(n),H(e,n)};W(s,e=>{t.child?e(c):e(l,-1)}),H(e,o)},$$slots:{popper:!0}}))};W(b,e=>{a()?e(x):a()||e(S,1)}),H(e,y),at()}var cA=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`type`,`disabled`,`openOnHover`,`openDelay`,`closeDelay`]),lA=V(`<button><!></button>`);function uA(e,t){let n=fa();it(t,!0);let r=Z(t,`id`,19,()=>kC(n)),i=Z(t,`ref`,15,null),a=Z(t,`type`,3,`button`),o=Z(t,`disabled`,3,!1),s=Z(t,`openOnHover`,3,!1),c=Z(t,`openDelay`,3,700),l=Z(t,`closeDelay`,3,300),u=Y(t,cA),d=Zk.create({id:Lb(()=>r()),ref:Lb(()=>i(),e=>i(e)),disabled:Lb(()=>!!o()),openOnHover:Lb(()=>s()),openDelay:Lb(()=>c()),closeDelay:Lb(()=>l())}),f=M(()=>xx(u,d.props,{type:a()}));ZO(e,{get id(){return r()},get ref(){return d.opts.ref},children:(e,n)=>{var r=da(),i=I(r),a=e=>{var n=da();za(I(n),()=>t.child,()=>({props:z(f)})),H(e,n)},o=e=>{var n=lA();Oo(n,()=>({...z(f)})),za(F(n),()=>t.children??p),D(n),H(e,n)};W(i,e=>{t.child?e(a):e(o,-1)}),H(e,r)},$$slots:{default:!0}}),at()}function dA(e,t){it(t,!0);let n=Z(t,`open`,15,!1),r=Z(t,`onOpenChange`,3,OC),i=Z(t,`onOpenChangeComplete`,3,OC);Wk.create({open:Lb(()=>n(),e=>{n(e),r()(e)}),onOpenChangeComplete:Lb(()=>i())}),XO(e,{children:(e,n)=>{var r=da();za(I(r),()=>t.children??p),H(e,r)},$$slots:{default:!0}}),at()}var fA=V(`<!> `,1),pA=V(`<button type="button"> <!></button>`),mA=V(`<button type="button"> </button>`),hA=V(`<div role="group" aria-label="Presets"></div> <div class="mt-1 border-t border-line pt-2 px-2 pb-1"><div class="text-[11px] uppercase tracking-wide text-fg-subtle mb-1.5">Custom range</div> <label class="block text-[11px] text-fg-muted mb-1">From <input type="datetime-local" class="mt-0.5 w-full rounded border border-line bg-subtle px-1.5 py-1 text-xs text-fg focus:outline-none focus:border-accent"/></label> <label class="block text-[11px] text-fg-muted mb-2">To <input type="datetime-local" class="mt-0.5 w-full rounded border border-line bg-subtle px-1.5 py-1 text-xs text-fg focus:outline-none focus:border-accent"/></label> <div class="mb-2 border-t border-line pt-2"><div class="mb-1 text-[11px] text-fg-muted">Show times in</div> <div class="flex gap-1"></div> <div class="mt-1 text-[11px] text-fg-subtle"> </div></div> <button type="button">Apply</button></div>`,1),gA=V(`<!> <!>`,1);function _A(e,t){it(t,!0);let n=N(!1),r=M(()=>t.selection.type===`custom`?{start:t.selection.start,end:t.selection.end}:{start:Date.now()-15*6e4,end:Date.now()}),i=N(``),a=N(``);function o(e){P(n,e,!0),e&&(P(i,u(z(r).start),!0),P(a,u(z(r).end),!0))}function s(e){t.onChange({type:`preset`,preset:e}),P(n,!1)}function c(){let e=d(z(i)),r=d(z(a));e===null||r===null||(t.onChange({type:`custom`,start:e,end:r}),P(n,!1))}let l=M(()=>d(z(i))!==null&&d(z(a))!==null);function u(e){let t=new Date(e),n=e=>String(e).padStart(2,`0`);return`${t.getFullYear()}-${n(t.getMonth()+1)}-${n(t.getDate())}T${n(t.getHours())}:${n(t.getMinutes())}`}function d(e){if(!e)return null;let t=new Date(e).getTime();return Number.isFinite(t)?t:null}var f=da();Ba(I(f),()=>dA,(e,r)=>{r(e,{onOpenChange:o,get open(){return z(n)},set open(e){P(n,e,!0)},children:(e,n)=>{var r=gA(),o=I(r);{let e=M(()=>Q(`inline-flex items-center gap-1.5 px-2 py-1 text-xs rounded border`,`border-line bg-surface text-fg-muted hover:text-fg hover:bg-hover`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,t.class));Ba(o,()=>uA,(n,r)=>{r(n,{"aria-label":`Time window`,title:`Change the time window`,get class(){return z(e)},children:(e,n)=>{var r=fA(),i=I(r);Mp(i,{size:12});var a=L(i);R(e=>U(a,` ${e??``}`),[()=>Os(t.selection)]),H(e,r)},$$slots:{default:!0}})})}Ba(L(o,2),()=>RC,(e,n)=>{n(e,{children:(e,n)=>{var r=da();Ba(I(r),()=>sA,(e,n)=>{n(e,{sideOffset:6,align:`start`,class:`z-50 w-64 rounded-md border border-line bg-surface p-1 shadow-lg`,children:(e,n)=>{var r=hA(),o=I(r);G(o,21,()=>Ss,e=>e.id,(e,n)=>{let r=M(()=>t.selection.type===`preset`&&t.selection.preset===z(n).id);var i=pA(),a=F(i),o=L(a),c=e=>{bp(e,{size:12,class:`text-accent`})};W(o,e=>{z(r)&&e(c)}),D(i),R(e=>{J(i,`aria-current`,z(r)?`true`:void 0),q(i,1,e),U(a,`${z(n).label??``} `)},[()=>K(Q(`flex w-full items-center justify-between rounded px-2 py-1.5 text-xs`,`text-fg hover:bg-hover focus-visible:outline-none focus-visible:bg-hover`,z(r)&&`bg-selected font-medium`))]),B(`click`,i,()=>s(z(n).id)),H(e,i)}),D(o);var u=L(o,2),d=L(F(u),2),f=L(F(d));Co(f),D(d);var p=L(d,2),m=L(F(p));Co(m),D(p);var h=L(p,2),g=L(F(h),2);G(g,20,()=>[{id:`local`,label:`Local`},{id:`utc`,label:`UTC`}],e=>e.id,(e,t)=>{var n=mA(),r=F(n,!0);D(n),R(e=>{J(n,`aria-pressed`,Hu.value===t.id),q(n,1,e),U(r,t.label)},[()=>K(Q(`flex-1 rounded px-2 py-1 text-xs`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,Hu.value===t.id?`bg-accent text-white`:`border border-line text-fg-muted hover:text-fg`))]),B(`click`,n,()=>Hu.value=t.id),H(e,n)}),D(g);var _=L(g,2),v=F(_);D(_),D(h);var y=L(h,2);D(u),R((e,t)=>{U(v,`Currently ${e??``}`),y.disabled=!z(l),q(y,1,t)},[()=>Pg(Hu.value),()=>K(Q(`w-full rounded px-2 py-1 text-xs font-medium`,`bg-accent text-white hover:opacity-90`,`disabled:opacity-40 disabled:cursor-not-allowed`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`))]),Mo(f,()=>z(i),e=>P(i,e)),Mo(m,()=>z(a),e=>P(a,e)),B(`click`,y,c),H(e,r)},$$slots:{default:!0}})}),H(e,r)},$$slots:{default:!0}})}),H(e,r)},$$slots:{default:!0}})}),H(e,f),at()}na([`click`]);var vA=V(`<button type="button" aria-live="polite" title="Show the newest matches and follow new data again"><!> </button>`);function yA(e,t){it(t,!0);let n=M(()=>!t.live&&t.count>0),r=M(()=>t.count>999?`999+`:String(t.count));var i=da(),a=I(i),o=e=>{var n=vA(),i=F(n);ip(i,{size:12});var a=L(i);D(n),R(e=>{q(n,1,e),U(a,` ${z(r)??``} new`)},[()=>K(Q(`inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium`,`bg-accent text-white shadow-sm hover:opacity-90 focus-visible:outline-none`,`focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-1`,`transition-opacity`,t.class))]),B(`click`,n,function(...e){t.onResume?.apply(this,e)}),H(e,n)};W(a,e=>{z(n)&&e(o)}),H(e,i),at()}na([`click`]);async function bA(e,t){try{let n=await t.fetch(`${t.baseUrl}/api/query/${e}/fields`,{signal:t.signal});if(!n.ok)return[];let r=await n.json();return Array.isArray(r.fields)?r.fields:[]}catch{return[]}}async function xA(e,t,n){let r={query:t.query};t.window&&(r.window=t.window),t.limit!==void 0&&(r.limit=t.limit),t.cursor&&(r.cursor=t.cursor);let i;try{i=await n.fetch(e,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify(r),signal:n.signal})}catch(e){return CA(e)?{status:`aborted`}:{status:`error`,message:e instanceof Error?`Network error: ${e.message}`:`Network error`}}let a;try{a=await i.json()}catch{return{status:`error`,message:`Unexpected response from ${n.baseUrl} (not JSON)`}}if(i.status===400){let e=a.errors;return e?.length?{status:`invalid`,errors:e}:{status:`error`,message:`Invalid query request`}}return i.status===403?{status:`error`,message:`Forbidden: the devtools server rejected this origin. Open the viewer from the same machine.`}:i.ok?{status:`ok`,payload:a}:{status:`error`,message:`Server error: ${a.error??i.statusText}`}}async function SA(e,t){let n=await xA(`${t.baseUrl}/api/query/traces`,e,t);if(n.status!==`ok`)return n;let r=n.payload;return{status:`ok`,traces:r.traces??[],nextCursor:r.nextCursor??null}}function CA(e){return typeof e==`object`&&!!e&&`name`in e&&e.name===`AbortError`}async function wA(e,t){let n=await xA(`${t.baseUrl}/api/query/logs`,e,t);if(n.status!==`ok`)return n;let r=n.payload;return{status:`ok`,logs:r.logs??[],nextCursor:r.nextCursor??null}}async function TA(e,t){let n=await xA(`${t.baseUrl}/api/query/errors`,e,t);return n.status===`ok`?{status:`ok`,errors:n.payload.errors??[]}:n}async function EA(e,t){let n=await xA(`${t.baseUrl}/api/query/webmcp`,{query:``,...e},t);return n.status===`ok`?{status:`ok`,webmcp:n.payload.webmcp??{tools:[],summary:{installations:0,emptyInstallations:0,toolsOffered:0,toolsWithdrawn:0,calls:0,errors:0,resultBytes:0,envelopeBytes:0,toolsWithDroppedAnnotations:0,toolsWithoutInputSchema:0}}}:n}function DA(){return{reasons:{query:!1,scrolled:!1,selected:!1,window:!1},pending:0}}function OA(e){return!Object.values(e.reasons).some(Boolean)}function kA(e){return OA(e)?0:e.pending}function AA(e,t){switch(t.type){case`query-changed`:return jA(e,`query`,t.query.trim().length>0);case`scrolled`:return jA(e,`scrolled`,!t.atTop);case`row-selected`:return jA(e,`selected`,!0);case`row-deselected`:return jA(e,`selected`,!1);case`window-changed`:return jA(e,`window`,t.bounded);case`arrived`:return OA(e)?e:{...e,pending:Math.max(0,e.pending+t.count)};case`resumed`:return DA()}}function jA(e,t,n){if(e.reasons[t]===n)return e;let r={reasons:{...e.reasons,[t]:n},pending:e.pending};return OA(r)&&(r.pending=0),r}var MA={run:async(e,t)=>{let n=await SA(e,t);return n.status===`ok`?{status:`ok`,rows:n.traces,nextCursor:n.nextCursor}:n}},NA={run:async(e,t)=>{let n=await wA(e,t);return n.status===`ok`?{status:`ok`,rows:n.logs,nextCursor:n.nextCursor}:n}},PA=200,FA=100;function IA(e,t){let n=e.now??(()=>Date.now()),r=e.debounceMs??PA,i=e.pageSize??FA,a=new as(``),o=ml,s=new as([]),c=new as([]),l=new as(null),u=new as(!1),d=new as(!1),f=new as(null),p=new as(DA()),m=0,h=null,g=null;function _(e){p.value=AA(p.value,e)}async function v(r={}){let p=++m;h?.abort();let g=new AbortController;h=g,u.value=!0;let _=Es(o.value,n()),v=await t.run({query:a.value,window:Ms(_),limit:i,cursor:r.append?f.value??void 0:void 0},{fetch:e.client.fetch,baseUrl:typeof e.client.baseUrl==`function`?e.client.baseUrl():e.client.baseUrl,signal:g.signal});if(p===m)switch(u.value=!1,v.status){case`ok`:s.value=r.append?[...s.value,...v.rows]:v.rows,f.value=v.nextCursor,c.value=[],l.value=null,d.value=!0;return;case`invalid`:c.value=v.errors,l.value=null;return;case`error`:c.value=[],l.value=v.message;return;case`aborted`:return}}function y(){if(g&&clearTimeout(g),r<=0){v();return}g=setTimeout(()=>{g=null,v()},r)}return{text:a,window:o,results:s,errors:c,failure:l,loading:u,ready:d,nextCursor:f,tail:p,get live(){return OA(p.value)},get pending(){return kA(p.value)},setText(e){a.value=e,_({type:`query-changed`,query:e}),y()},submit(){g&&(clearTimeout(g),g=null),v()},refresh(){return g&&(clearTimeout(g),g=null),v()},setWindow(e){o.value=e,_({type:`window-changed`,bounded:!Ds(Es(e,n()))}),v()},setScrolledToTop(e){_({type:`scrolled`,atTop:e})},setSelected(e){_(e?{type:`row-selected`}:{type:`row-deselected`})},arrived(e){_({type:`arrived`,count:e}),OA(p.value)&&v()},resume(){_({type:`resumed`}),a.value=``,v()},loadMore(){!f.value||u.value||v({append:!0})},removeRows(e){s.value=s.value.filter(t=>!e(t))},dispose(){g&&clearTimeout(g),h?.abort()}}}function LA(e){return IA(e,MA)}function RA(e){return IA(e,NA)}function zA(e,t){let n=t,r=!0;if(typeof IntersectionObserver>`u`)return{update:e=>{n=e}};let i=new IntersectionObserver(e=>{let t=e[e.length-1];if(t){if(!t.isIntersecting){r=!0;return}!r||n.disabled||(r=!1,n.onReach())}},{root:n.root??null,rootMargin:n.rootMargin??`200px`});return i.observe(e),{update(e){let t=n.disabled;n=e,t&&!e.disabled&&(r=!0)},destroy(){i.disconnect()}}}function BA(e){let t=e.target;return/^(INPUT|TEXTAREA|SELECT)$/.test(t.tagName)||t.isContentEditable}function VA(e,t){return e>t-1?t-1:e}function HA(e,t,n,r){return n===0?e:e<0?t>0?0:r===`last`?n-1:0:Math.min(Math.max(e+t,0),n-1)}function UA(e){let{count:t,onActivate:n,scrollToIndex:r,fromUnsetUp:i=`first`}=e,a=N(-1),o=M(()=>VA(z(a),t())),s=e=>{t()!==0&&(P(a,HA(z(o),e,t(),i),!0),r?.(z(a)))};return{get cursor(){return z(o)},set cursor(e){P(a,e,!0)},onKeyDown:e=>{BA(e)||(e.key===`ArrowDown`||e.key===`j`?(e.preventDefault(),s(1)):e.key===`ArrowUp`||e.key===`k`?(e.preventDefault(),s(-1)):e.key===`Enter`&&z(o)>=0&&z(o)<t()&&(e.preventDefault(),n(z(o))))}}}var WA=V(`<button><span class="truncate"> </span> <!></button>`),GA=V(`<span class="flex-shrink-0 px-1.5 py-0.5 rounded bg-warning-bg text-warning text-[10px] font-medium uppercase tracking-wide" title="Partial trace: the root span has not arrived, so this row shows the highest span received and a duration covering only that part.">partial</span>`),KA=V(`<div role="option" tabindex="-1" data-focus-inset=""><label class="cursor-pointer flex items-center"><input type="checkbox" class="w-3.5 h-3.5 rounded border-line text-accent"/></label> <button type="button"> </button> <div class="flex items-center gap-1.5 min-w-0"><!> <span class="truncate text-sm text-fg"> </span> <!> <!></div> <span class="font-mono text-xs text-fg-muted text-right tabular-nums"> </span> <span class="trace-col-spans font-mono text-xs text-fg-subtle text-right tabular-nums"> </span> <span class="trace-col-time font-mono text-[11px] text-fg-subtle truncate"> </span> <span> </span> <!></div>`),qA=V(`<span class="text-xs font-normal text-accent"> </span>`),JA=V(`<div class="flex items-center gap-1 mr-2 px-2 border-r border-line"><button class="flex items-center gap-1 px-2 py-1 text-xs rounded bg-accent/10 text-accent hover:bg-accent/20 transition-colors" title="Export selected traces"><!> </button> <button class="flex items-center gap-1 px-2 py-1 text-xs rounded bg-danger-bg text-danger hover:bg-danger-bg/80 transition-colors" title="Delete selected traces"><!> Delete</button></div>`),YA=V(`<button class="px-2 py-1 text-xs rounded text-fg-subtle hover:bg-hover transition-colors" title="Drop buffered traces received while paused">Drop buffer</button>`),XA=V(`<button class="p-1.5 hover:bg-hover rounded transition-colors" title="Export all traces as JSON"><!></button>`),ZA=V(`<div class="text-center text-fg-subtle text-sm py-12">Loading traces…</div>`),QA=V(`<div class="mx-auto flex max-w-2xl flex-col items-center gap-3 px-6 py-12 text-center text-sm text-fg-subtle"><p class="font-medium text-fg">No traces yet — send telemetry to get started</p> <p class="max-w-lg text-xs text-fg-muted">Both standard OTLP transports are ready. Existing SDK defaults
11
+ `,` `)),t.hidden===!1&&(t.hidden=void 0,delete t.hidden),t.disabled===!1&&(t.disabled=void 0,delete t.disabled),t}var Sx=typeof window<`u`?window:void 0;typeof window<`u`&&window.document,typeof window<`u`&&window.navigator,typeof window<`u`&&window.location;function Cx(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var wx,Tx=!1,Ex=new WeakMap,Dx=new WeakMap,Ox=new WeakMap,kx=new WeakSet;wx=class extends Date{constructor(...e){super(...e),kt(this,kx),O(this,Ex,N(super.getTime())),O(this,Dx,new Map),O(this,Ox,di),Tx||k(kx,this,Ax).call(this)}};function Ax(){Tx=!0;var e=wx.prototype,t=Date.prototype,n=Object.getOwnPropertyNames(t);for(let r of n)(r.startsWith(`get`)||r.startsWith(`to`)||r===`valueOf`)&&(e[r]=function(...e){if(e.length>0)return z(j(Ex,this)),t[r].apply(this,e);var n=j(Dx,this).get(r);if(n===void 0){let i=di;pi(j(Ox,this)),n=M(()=>(z(j(Ex,this)),t[r].apply(this,e))),j(Dx,this).set(r,n),pi(i)}return z(n)}),r.startsWith(`set`)&&(e[r]=function(...e){var n=t[r].apply(this,e);return P(j(Ex,this),t.getTime.call(this)),n})}var jx,Mx,Nx=[`forEach`,`isDisjointFrom`,`isSubsetOf`,`isSupersetOf`],Px=[`difference`,`intersection`,`symmetricDifference`,`union`],Fx=!1,Ix=new WeakMap,Lx=new WeakMap,Rx=new WeakMap,zx=new WeakMap,Bx=new WeakSet;Mx=Symbol.iterator,jx=class extends Set{constructor(e){if(super(),kt(this,Bx),O(this,Ix,new Map),O(this,Lx,N(0)),O(this,Rx,N(0)),O(this,zx,wi||-1),e){for(var t of e)super.add(t);j(Rx,this).v=super.size}Fx||k(Bx,this,Hx).call(this)}has(e){var t=super.has(e),n=j(Ix,this),r=n.get(e);if(r===void 0){if(!t)return z(j(Lx,this)),!1;r=k(Bx,this,Vx).call(this,!0),n.set(e,r)}return z(r),t}add(e){return super.has(e)||(super.add(e),P(j(Rx,this),super.size),_r(j(Lx,this))),this}delete(e){var t=super.delete(e),n=j(Ix,this),r=n.get(e);return r!==void 0&&(n.delete(e),P(r,!1)),t&&(P(j(Rx,this),super.size),_r(j(Lx,this))),t}clear(){if(super.size!==0){super.clear();var e=j(Ix,this);for(var t of e.values())P(t,!1);e.clear(),P(j(Rx,this),0),_r(j(Lx,this))}}keys(){return this.values()}values(){return z(j(Lx,this)),super.values()}entries(){return z(j(Lx,this)),super.entries()}[Mx](){return this.keys()}get size(){return z(j(Rx,this))}};function Vx(e){return wi===j(zx,this)?N(e):pr(e)}function Hx(){Fx=!0;var e=jx.prototype,t=Set.prototype;for(let n of Nx)e[n]=function(...e){return z(j(Lx,this)),t[n].apply(this,e)};for(let n of Px)e[n]=function(...e){z(j(Lx,this));var r=t[n].apply(this,e);return new jx(r)}}function Ux(e){return Ux=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ux(e)}function Wx(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Ux(e))!==null;);return e}function Gx(){return Gx=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Wx(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Gx.apply(null,arguments)}function Kx(e,t,n,r){var i=Gx(Ux(1&r?e.prototype:e),t,n);return 2&r&&typeof i==`function`?function(e){return i.apply(n,e)}:i}var qx,Jx,Yx=new WeakMap,Xx=new WeakMap,Zx=new WeakMap,Qx=new WeakMap,$x=new WeakSet;Jx=Symbol.iterator;var eS=class extends Map{constructor(e){if(super(),kt(this,$x),O(this,Yx,new Map),O(this,Xx,N(0)),O(this,Zx,N(0)),O(this,Qx,wi||-1),e){for(var[t,n]of e)super.set(t,n);j(Zx,this).v=super.size}}has(e){var t=j(Yx,this),n=t.get(e);if(n===void 0)if(super.has(e))n=k($x,this,tS).call(this,0),t.set(e,n);else return z(j(Xx,this)),!1;return z(n),!0}forEach(e,t){k($x,this,nS).call(this),super.forEach(e,t)}get(e){var t=j(Yx,this),n=t.get(e);if(n===void 0)if(super.has(e))n=k($x,this,tS).call(this,0),t.set(e,n);else{z(j(Xx,this));return}return z(n),super.get(e)}set(e,t){var n=j(Yx,this),r=n.get(e),i=super.get(e),a=super.set(e,t),o=j(Xx,this);if(r===void 0)r=k($x,this,tS).call(this,0),n.set(e,r),P(j(Zx,this),super.size),_r(o);else if(i!==t){_r(r);var s=o.reactions===null?null:new Set(o.reactions);(s===null||!r.reactions?.every(e=>s.has(e)))&&_r(o)}return a}delete(e){var t=j(Yx,this),n=t.get(e),r=super.delete(e);return n!==void 0&&(t.delete(e),P(n,-1)),r&&(P(j(Zx,this),super.size),_r(j(Xx,this))),r}clear(){if(super.size!==0){super.clear();var e=j(Yx,this);P(j(Zx,this),0);for(var t of e.values())P(t,-1);_r(j(Xx,this)),e.clear()}}keys(){return z(j(Xx,this)),super.keys()}values(){return k($x,this,nS).call(this),super.values()}entries(){return k($x,this,nS).call(this),super.entries()}[Jx](){return this.entries()}get size(){return z(j(Zx,this)),super.size}};qx=eS;function tS(e){return wi===j(Qx,this)?N(e):pr(e)}function nS(){z(j(Xx,this));var e=j(Yx,this);if(j(Zx,this).v!==e.size){for(var t of Kx(qx.prototype,`keys`,this,2)([]))if(!e.has(t)){var n=k($x,this,tS).call(this,0);e.set(t,n)}}for([,n]of j(Yx,this))z(n)}var rS=new WeakMap,iS=new WeakMap;new class{constructor(e={}){O(this,rS,void 0),O(this,iS,void 0);let{window:t=Sx,document:n=t?.document}=e;t!==void 0&&(A(rS,this,n),A(iS,this,Dt(e=>{let n=ea(t,`focusin`,e),r=ea(t,`focusout`,e);return()=>{n(),r()}})))}get current(){return j(iS,this)?.call(this),j(rS,this)?Cx(j(rS,this)):null}};function aS(e){return typeof e==`function`}var oS=new WeakMap,sS=new WeakMap,cS=class{constructor(e){O(this,oS,void 0),O(this,sS,void 0),A(oS,this,e),A(sS,this,Symbol(e))}get key(){return j(sS,this)}exists(){return nt(j(sS,this))}get(){let e=et(j(sS,this));if(e===void 0)throw Error(`Context "${j(oS,this)}" not found`);return e}getOr(e){let t=et(j(sS,this));return t===void 0?e:t}set(e){return tt(j(sS,this),e)}};function lS(e,t){switch(e){case`post`:zr(t);break;case`pre`:Vr(t);break}}function uS(e,t,n,r={}){let{lazy:i=!1}=r,a=!i,o=Array.isArray(e)?[]:void 0;lS(t,()=>{let t=Array.isArray(e)?e.map(e=>e()):e();if(!a){a=!0,o=t;return}let r=Ii(()=>n(t,o));return o=t,r})}function dS(e,t,n){let r=Hr(()=>{let i=!1;uS(e,t,(e,t)=>{if(i){r();return}let a=n(e,t);return i=!0,a},{lazy:!0})});zr(()=>r)}function fS(e,t,n){uS(e,`post`,t,n)}function pS(e,t,n){uS(e,`pre`,t,n)}fS.pre=pS;function mS(e,t){dS(e,`post`,t)}function hS(e,t){dS(e,`pre`,t)}mS.pre=hS;function gS(e){return aS(e)?e():e}var _S=new WeakMap,vS=new WeakMap,yS=new WeakMap,bS=new WeakMap,xS=new WeakMap,SS=new WeakMap,CS=new WeakMap,wS=new WeakMap,TS=class{constructor(e,t={box:`border-box`}){O(this,_S,{width:0,height:0}),O(this,vS,!1),O(this,yS,void 0),O(this,bS,void 0),O(this,xS,void 0),O(this,SS,M(()=>(z(j(wS,this))?.(),this.getSize().width))),O(this,CS,M(()=>(z(j(wS,this))?.(),this.getSize().height))),O(this,wS,M(()=>{let e=gS(j(bS,this));if(e)return Dt(t=>{if(!j(xS,this))return;let n=new(j(xS,this)).ResizeObserver(e=>{A(vS,this,!0);for(let t of e){let e=j(yS,this).box===`content-box`?t.contentBoxSize:t.borderBoxSize,n=Array.isArray(e)?e:[e];j(_S,this).width=n.reduce((e,t)=>Math.max(e,t.inlineSize),0),j(_S,this).height=n.reduce((e,t)=>Math.max(e,t.blockSize),0)}t()});return n.observe(e),()=>{A(vS,this,!1),n.disconnect()}})})),A(xS,this,t.window??Sx),A(yS,this,t),A(bS,this,e),A(_S,this,{width:0,height:0})}calculateSize(){let e=gS(j(bS,this));if(!e||!j(xS,this))return;let t=e.offsetWidth,n=e.offsetHeight;if(j(yS,this).box===`border-box`)return{width:t,height:n};let r=j(xS,this).getComputedStyle(e),i=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),a=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),o=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),s=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth);return{width:t-i-o,height:n-a-s}}getSize(){return j(vS,this)?j(_S,this):this.calculateSize()??j(_S,this)}get current(){return z(j(wS,this))?.(),this.getSize()}get width(){return z(j(SS,this))}get height(){return z(j(CS,this))}};function ES(e,t){let n,r=null;return(...i)=>new Promise(a=>{r&&r(void 0),r=a,clearTimeout(n),n=setTimeout(async()=>{let t=await e(...i);r&&(r(t),r=null)},t)})}function DS(e,t){let n=0,r=null;return(...i)=>{let a=Date.now();return n&&a-n<t?r??Promise.resolve(void 0):(n=a,r=e(...i),r)}}function OS(e,t,n={},r){let{lazy:i=!1,once:a=!1,initialValue:o,debounce:s,throttle:c}=n,l=N(yr(o)),u=N(!1),d=N(void 0),f=N(yr([])),p=()=>{z(f).forEach(e=>e()),P(f,[],!0)},m=e=>{P(f,[...z(f),e],!0)},h=async(e,n,r=!1)=>{try{P(u,!0),P(d,void 0),p();let i=new AbortController;m(()=>i.abort());let a=await t(e,n,{data:z(l),refetching:r,onCleanup:m,signal:i.signal});return P(l,a,!0),a}catch(e){e instanceof DOMException&&e.name===`AbortError`||P(d,e,!0);return}finally{P(u,!1)}},g=s?ES(h,s):c?DS(h,c):h,_=Array.isArray(e)?e:[e],v;return r((t,n)=>{a&&v||(v=t,g(Array.isArray(e)?t:t[0],Array.isArray(e)?n:n?.[0]))},{lazy:i}),{get current(){return z(l)},get loading(){return z(u)},get error(){return z(d)},mutate:e=>{P(l,e,!0)},refetch:t=>{let n=_.map(e=>e());return g(Array.isArray(e)?n:n[0],Array.isArray(e)?n:n[0],t??!0)}}}function kS(e,t,n){return OS(e,t,n,(t,n)=>{let r=Array.isArray(e)?e:[e];fS(()=>r.map(e=>e()),(e,n)=>{t(e,n??[])},n)})}function AS(e,t,n){return OS(e,t,n,(t,n)=>{let r=Array.isArray(e)?e:[e];fS.pre(()=>r.map(e=>e()),(e,n)=>{t(e,n??[])},n)})}kS.pre=AS;function jS(e){zr(()=>()=>{e()})}function MS(e,t){return setTimeout(t,e)}function NS(e){Ni().then(e)}var PS=1,FS=9,IS=11;function LS(e){return Mb(e)&&e.nodeType===PS&&typeof e.nodeName==`string`}function RS(e){return Mb(e)&&e.nodeType===FS}function zS(e){return Mb(e)&&e.constructor?.name===`VisualViewport`}function BS(e){return Mb(e)&&e.nodeType!==void 0}function VS(e){return BS(e)&&e.nodeType===IS&&`host`in e}function HS(e,t){if(!e||!t||!LS(e)||!LS(t))return!1;let n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&VS(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function US(e){return RS(e)?e:zS(e)?e.document:e?.ownerDocument??document}function WS(e){return VS(e)?WS(e.host):RS(e)?e.defaultView??window:LS(e)?e.ownerDocument?.defaultView??window:window}function GS(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var KS=new WeakMap,qS=class{get root(){return z(j(KS,this))}set root(e){P(j(KS,this),e)}constructor(e){x(this,`element`,void 0),O(this,KS,M(()=>this.element.current?this.element.current.getRootNode()??document:document)),x(this,`getDocument`,()=>US(this.root)),x(this,`getWindow`,()=>this.getDocument().defaultView??window),x(this,`getActiveElement`,()=>GS(this.root)),x(this,`isActiveElement`,e=>e===this.getActiveElement()),x(this,`querySelector`,e=>this.root?this.root.querySelector(e):null),x(this,`querySelectorAll`,e=>this.root?this.root.querySelectorAll(e):[]),x(this,`setTimeout`,(e,t)=>this.getWindow().setTimeout(e,t)),x(this,`clearTimeout`,e=>this.getWindow().clearTimeout(e)),typeof e==`function`?this.element=Lb(e):this.element=e}getElementById(e){return this.root.getElementById(e)}};function JS(e,t){return{[zi()]:n=>Rb(e)?(e.current=n,Ii(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e.current=null,t?.(null))}):(e(n),Ii(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e(null),t?.(null))})}}function YS(e){return e?`true`:`false`}function XS(e){return e?`open`:`closed`}function ZS(e){return e===`starting`?{"data-starting-style":``}:e===`ending`?{"data-ending-style":``}:{}}var QS=new WeakMap,$S=new WeakMap,eC=class{constructor(e){O(this,QS,void 0),O(this,$S,void 0),x(this,`attrs`,void 0),A(QS,this,e.getVariant?e.getVariant():null),A($S,this,j(QS,this)?`data-${j(QS,this)}-`:`data-${e.component}-`),this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(e=>[e,this.getAttr(e)]))}getAttr(e,t){return t?`data-${t}-${e}`:`${j($S,this)}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function tC(e){let t=new eC(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var nC=typeof document<`u`,rC=iC();function iC(){return nC&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function aC(e){return e instanceof HTMLElement}function oC(e){return e instanceof Element}function sC(e){return e instanceof Element||e instanceof SVGElement}function cC(e){return e.pointerType===`touch`}function lC(e){return e!==null}var uC=new WeakMap,dC=new WeakMap,fC=new WeakMap,pC=new WeakMap,mC=new WeakSet,hC=class{constructor(e){kt(this,mC),O(this,uC,void 0),O(this,dC,null),O(this,fC,null),O(this,pC,0),A(uC,this,e),jS(()=>k(mC,this,gC).call(this))}run(e){k(mC,this,gC).call(this);let t=j(uC,this).ref.current;if(!t)return;if(typeof t.getAnimations!=`function`){k(mC,this,_C).call(this,e);return}let n=j(pC,this),r=()=>{n===j(pC,this)&&k(mC,this,_C).call(this,e)},i=()=>{if(n!==j(pC,this))return;let e=t.getAnimations();if(e.length===0){r();return}Promise.all(e.map(e=>e.finished)).then(()=>{r()}).catch(()=>{if(n===j(pC,this)){if(t.getAnimations().some(e=>e.pending||e.playState!==`finished`)){i();return}r()}})},a=()=>{A(dC,this,window.requestAnimationFrame(()=>{A(dC,this,null),i()}))};if(!j(uC,this).afterTick.current){a();return}A(dC,this,window.requestAnimationFrame(()=>{A(dC,this,null);let e=`data-starting-style`;if(!t.hasAttribute(e)){a();return}A(fC,this,new MutationObserver(()=>{n===j(pC,this)&&(t.hasAttribute(e)||(j(fC,this)?.disconnect(),A(fC,this,null),a()))})),j(fC,this).observe(t,{attributes:!0,attributeFilter:[e]})}))}};function gC(){var e;j(dC,this)!==null&&(window.cancelAnimationFrame(j(dC,this)),A(dC,this,null)),j(fC,this)?.disconnect(),A(fC,this,null),A(pC,this,(e=j(pC,this),e++,e))}function _C(e){let t=()=>{e()};j(uC,this).afterTick?NS(t):t()}var vC=new WeakMap,yC=new WeakMap,bC=new WeakMap,xC=new WeakMap,SC=new WeakMap,CC=new WeakMap,wC=new WeakMap,TC=new WeakSet,EC=class{constructor(e){kt(this,TC),O(this,vC,void 0),O(this,yC,void 0),O(this,bC,void 0),O(this,xC,N(!1)),O(this,SC,N(void 0)),O(this,CC,!1),O(this,wC,null),A(vC,this,e),P(j(xC,this),e.open.current,!0),A(yC,this,e.enabled??!0),A(bC,this,new hC({ref:j(vC,this).ref,afterTick:j(vC,this).open})),jS(()=>k(TC,this,DC).call(this)),fS(()=>j(vC,this).open.current,e=>{if(!j(CC,this)){A(CC,this,!0);return}if(k(TC,this,DC).call(this),!e&&j(vC,this).shouldSkipExitAnimation?.()){P(j(xC,this),!1),P(j(SC,this),void 0),j(vC,this).onComplete?.();return}if(e&&P(j(xC,this),!0),P(j(SC,this),e?`starting`:`ending`,!0),e&&A(wC,this,window.requestAnimationFrame(()=>{A(wC,this,null),j(vC,this).open.current&&P(j(SC,this),void 0)})),!j(yC,this)){e||P(j(xC,this),!1),P(j(SC,this),void 0),j(vC,this).onComplete?.();return}j(bC,this).run(()=>{e===j(vC,this).open.current&&(j(vC,this).open.current||P(j(xC,this),!1),P(j(SC,this),void 0),j(vC,this).onComplete?.())})})}get shouldRender(){return z(j(xC,this))}get transitionStatus(){return z(j(SC,this))}};function DC(){j(wC,this)!==null&&(window.cancelAnimationFrame(j(wC,this)),A(wC,this,null))}function OC(){}function kC(e,t){return t===void 0?`bits-${e}`:`bits-${e}-${t}`}function AC(e,t){var n=da();ka(I(n),()=>t.children,e=>{var n=da();za(I(n),()=>t.children??p),H(e,n)}),H(e,n)}var jC=new cS(`BitsConfig`);function MC(){let e=new PC(null,{});return jC.getOr(e).opts}function NC(e){return jC.set(new PC(jC.getOr(null),e))}var PC=class{constructor(e,t){x(this,`opts`,void 0);let n=FC(e,t);this.opts={defaultPortalTo:n(e=>e.defaultPortalTo),defaultLocale:n(e=>e.defaultLocale)}}};function FC(e,t){return n=>Lb(()=>{let r=n(t)?.current;if(r!==void 0)return r;if(e!==null)return n(e.opts)?.current})}function IC(e,t){return n=>{let r=MC();return Lb(()=>{let i=n();if(i!==void 0)return i;let a=e(r).current;return a===void 0?t:a})}}var LC=IC(e=>e.defaultPortalTo,`body`);function RC(e,t){it(t,!0);let n=LC(()=>t.to),r=rt(),i=M(a);function a(){if(!nC||t.disabled)return null;let e=null;return e=typeof n.current==`string`?document.querySelector(n.current):n.current,e}let o;function s(){o&&(ya(o),o=null)}fS([()=>z(i),()=>t.disabled],([e,n])=>{if(!e||n){s();return}return o=ha(AC,{target:e,props:{children:t.children},context:r}),()=>{s()}});var c=da(),l=I(c),u=e=>{var n=da();za(I(n),()=>t.children??p),H(e,n)};W(l,e=>{t.disabled&&e(u)}),H(e,c),at()}var zC=class{constructor(e,t={bubbles:!0,cancelable:!0}){x(this,`eventName`,void 0),x(this,`options`,void 0),this.eventName=e,this.options=t}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,t){let n=this.createEvent(t);return e.dispatchEvent(n),n}listen(e,t,n){return ea(e,this.eventName,e=>{t(e)},n)}};function BC(e,t=500){let n=null,r=(...r)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)};return r.destroy=()=>{n!==null&&(clearTimeout(n),n=null)},r}function VC(e,t){return e===t||e.contains(t)}function HC(e){return e?.ownerDocument??document}function UC(e,t){let{clientX:n,clientY:r}=e,i=t.getBoundingClientRect();return n<i.left||n>i.right||r<i.top||r>i.bottom}var WC=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],GC=WC.join(`,`),KC=typeof Element>`u`,qC=KC?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,JC=!KC&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},YC=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):YC(e.parentNode))},XC=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},ZC=function(e,t,n){if(YC(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(GC));return t&&qC.call(e,GC)&&r.unshift(e),r=r.filter(n),r},QC=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!YC(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=QC(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{qC.call(a,GC)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!YC(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=QC(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},$C=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},ew=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||XC(e))&&!$C(e)?0:e.tabIndex},tw=function(e,t){var n=ew(e);return n<0&&t&&!$C(e)?0:n},nw=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rw=function(e){return e.tagName===`INPUT`},iw=function(e){return rw(e)&&e.type===`hidden`},aw=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},ow=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},sw=function(e){if(!e.name)return!0;var t=e.form||JC(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=ow(r,e.form);return!i||i===e},cw=function(e){return rw(e)&&e.type===`radio`},lw=function(e){return cw(e)&&!sw(e)},uw=function(e){var t=e&&JC(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=JC(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},dw=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},fw=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=qC.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(qC.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=JC(e);if(s&&!s.shadowRoot&&r(s)===!0)return dw(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(uw(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return dw(e);return!1},pw=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return qC.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},mw=function(e,t){return!(t.disabled||iw(t)||fw(t,e)||aw(t)||pw(t))},hw=function(e,t){return!(lw(t)||ew(t)<0||!mw(e,t))},gw=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},_w=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=tw(a,i),s=i?_w(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(nw).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},vw=function(e,t){return t=t||{},_w(t.getShadowRoot?QC([e],t.includeContainer,{filter:hw.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gw}):ZC(e,t.includeContainer,hw.bind(null,t)))},yw=function(e,t){return t=t||{},t.getShadowRoot?QC([e],t.includeContainer,{filter:mw.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):ZC(e,t.includeContainer,mw.bind(null,t))},bw=function(e,t){if(t=t||{},!e)throw Error(`No node provided`);return qC.call(e,GC)!==!1&&hw(t,e)},xw=WC.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),Sw=function(e,t){if(t=t||{},!e)throw Error(`No node provided`);return qC.call(e,xw)!==!1&&mw(t,e)},Cw=`data-context-menu-trigger`,ww=`data-context-menu-content`;new cS(`Menu.Root`),new cS(`Menu.Root | Menu.Sub`),new cS(`Menu.Content`),new cS(`Menu.Group | Menu.RadioGroup`),new cS(`Menu.RadioGroup`),new cS(`Menu.CheckboxGroup`),new zC(`bitsmenuopen`,{bubbles:!1,cancelable:!0}),tC({component:`menu`,parts:[`trigger`,`content`,`sub-trigger`,`item`,`group`,`group-heading`,`checkbox-group`,`checkbox-item`,`radio-group`,`radio-item`,`separator`,`sub-content`,`arrow`]});var Tw;(Tw=globalThis).bitsDismissableLayers??(Tw.bitsDismissableLayers=new Map);var Ew=new WeakMap,Dw=new WeakMap,Ow=new WeakMap,kw=new WeakMap,Aw=new WeakMap,jw=new WeakMap,Mw=new WeakMap,Nw=new WeakMap,Pw=new WeakMap,Fw=new WeakSet,Iw=new WeakMap,Lw=new WeakMap,Rw=new WeakMap,zw=new WeakMap,Bw=new WeakMap,Vw=new WeakMap,Hw=new WeakMap,Uw=new WeakMap,Ww=new WeakMap,Gw=class e{static create(t){return new e(t)}constructor(e){kt(this,Fw),x(this,`opts`,void 0),O(this,Ew,void 0),O(this,Dw,void 0),O(this,Ow,{pointerdown:!1}),O(this,kw,!1),O(this,Aw,!1),O(this,jw,void 0),O(this,Mw,void 0),O(this,Nw,OC),O(this,Pw,e=>{e.defaultPrevented||this.opts.ref.current&&NS(()=>{!this.opts.ref.current||j(Vw,this).call(this,e.target)||e.target&&!j(Aw,this)&&j(Mw,this).current?.(e)})}),O(this,Iw,e=>{let t=e;t.defaultPrevented&&(t=Zw(e)),j(Ew,this).current(e)}),O(this,Lw,BC(e=>{if(!this.opts.ref.current){j(Nw,this).call(this);return}let t=this.opts.isValidEvent.current(e,this.opts.ref.current)||Xw(e,this.opts.ref.current);if(!j(kw,this)||k(Fw,this,qw).call(this)||!t){j(Nw,this).call(this);return}let n=e;if(n.defaultPrevented&&(n=Zw(n)),j(Dw,this).current!==`close`&&j(Dw,this).current!==`defer-otherwise-close`){j(Nw,this).call(this);return}e.pointerType===`touch`?(j(Nw,this).call(this),A(Nw,this,ea(j(jw,this),`click`,j(Iw,this),{once:!0}))):j(Ew,this).current(n)},10)),O(this,Rw,e=>{j(Ow,this)[e.type]=!0}),O(this,zw,e=>{j(Ow,this)[e.type]=!1}),O(this,Bw,()=>{this.opts.ref.current&&A(kw,this,Yw(this.opts.ref.current))}),O(this,Vw,e=>this.opts.ref.current?VC(this.opts.ref.current,e):!1),O(this,Hw,BC(()=>{for(let e in j(Ow,this))j(Ow,this)[e]=!1;A(kw,this,!1)},20)),O(this,Uw,()=>{A(Aw,this,!0)}),O(this,Ww,()=>{A(Aw,this,!1)}),x(this,`props`,{onfocuscapture:j(Uw,this),onblurcapture:j(Ww,this)}),this.opts=e,A(Dw,this,e.interactOutsideBehavior),A(Ew,this,e.onInteractOutside),A(Mw,this,e.onFocusOutside),zr(()=>{A(jw,this,HC(this.opts.ref.current))});let t=OC,n=null,r=!1,i=()=>{n!=null&&(clearTimeout(n),n=null)},a=()=>{i(),j(Hw,this).call(this),globalThis.bitsDismissableLayers.delete(this),j(Lw,this).destroy(),t()};fS([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return i(),n=MS(1,()=>{n=null,!(r||!this.opts.ref.current)&&(globalThis.bitsDismissableLayers.set(this,j(Dw,this)),t(),t=k(Fw,this,Kw).call(this))}),a}),jS(()=>{r=!0,i(),j(Hw,this).destroy(),globalThis.bitsDismissableLayers.delete(this),j(Lw,this).destroy(),j(Nw,this).call(this),t()})}};function Kw(){return mx(ea(j(jw,this),`pointerdown`,mx(j(Rw,this),j(Bw,this)),{capture:!0}),ea(j(jw,this),`pointerdown`,mx(j(zw,this),j(Lw,this))),ea(j(jw,this),`focusin`,j(Pw,this)))}function qw(){return Object.values(j(Ow,this)).some(Boolean)}function Jw(e=[...globalThis.bitsDismissableLayers]){return e.findLast(([e,{current:t}])=>t===`close`||t===`ignore`)}function Yw(e){let t=[...globalThis.bitsDismissableLayers],n=Jw(t);if(n)return n[0].opts.ref.current===e;let[r]=t[0];return r.opts.ref.current===e}function Xw(e,t){let n=e.target;if(!sC(n))return!1;let r=!!n.closest(`[${Cw}]`),i=!!t.closest(`[${ww}]`);return`button`in e&&e.button>0&&!r?!1:`button`in e&&e.button===0&&r&&i?!0:r&&i?!1:HC(n).documentElement.contains(n)&&!VC(t,n)&&UC(e,t)}function Zw(e){let t=e.currentTarget,n=e.target,r;r=e instanceof PointerEvent?new PointerEvent(e.type,e):new PointerEvent(`pointerdown`,e);let i=!1;return new Proxy(r,{get:(r,a)=>a===`currentTarget`?t:a===`target`?n:a===`preventDefault`?()=>{i=!0,typeof r.preventDefault==`function`&&r.preventDefault()}:a===`defaultPrevented`?i:a in r?r[a]:e[a]})}function Qw(e,t){it(t,!0);let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`onInteractOutside`,3,OC),i=Z(t,`onFocusOutside`,3,OC),a=Z(t,`isValidEvent`,3,()=>!1),o=Gw.create({id:Lb(()=>t.id),interactOutsideBehavior:Lb(()=>n()),onInteractOutside:Lb(()=>r()),enabled:Lb(()=>t.enabled),onFocusOutside:Lb(()=>i()),isValidEvent:Lb(()=>a()),ref:t.ref});var s=da();za(I(s),()=>t.children??p,()=>({props:o.props})),H(e,s),at()}var $w;($w=globalThis).bitsEscapeLayers??($w.bitsEscapeLayers=new Map);var eT=new WeakMap,tT=new WeakMap,nT=class e{static create(t){return new e(t)}constructor(e){x(this,`opts`,void 0),x(this,`domContext`,void 0),O(this,eT,()=>ea(this.domContext.getDocument(),`keydown`,j(tT,this),{passive:!1})),O(this,tT,e=>{if(e.key!==`Escape`||!rT(this))return;let t=new KeyboardEvent(e.type,e);e.preventDefault();let n=this.opts.escapeKeydownBehavior.current;n!==`close`&&n!==`defer-otherwise-close`||this.opts.onEscapeKeydown.current(t)}),this.opts=e,this.domContext=new qS(this.opts.ref);let t=OC;fS(()=>e.enabled.current,n=>(n&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=j(eT,this).call(this)),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}};function rT(e){let t=[...globalThis.bitsEscapeLayers],n=t.findLast(([e,{current:t}])=>t===`close`||t===`ignore`);if(n)return n[0]===e;let[r]=t[0];return r===e}function iT(e,t){it(t,!0);let n=Z(t,`escapeKeydownBehavior`,3,`close`),r=Z(t,`onEscapeKeydown`,3,OC);nT.create({escapeKeydownBehavior:Lb(()=>n()),onEscapeKeydown:Lb(()=>r()),enabled:Lb(()=>t.enabled),ref:t.ref});var i=da();za(I(i),()=>t.children??p),H(e,i),at()}var aT=new WeakMap,oT=new WeakMap,sT=new WeakMap,cT=class e{constructor(){O(this,aT,Bb([])),O(this,oT,new WeakMap),O(this,sT,new WeakMap)}static getInstance(){return this.instance||(this.instance=new e),this.instance}register(e){let t=this.getActive();t&&t!==e&&t.pause();let n=document.activeElement;n&&n!==document.body&&j(sT,this).set(e,n),j(aT,this).current=j(aT,this).current.filter(t=>t!==e),j(aT,this).current.unshift(e)}unregister(e){j(aT,this).current=j(aT,this).current.filter(t=>t!==e);let t=this.getActive();t&&t.resume()}getActive(){return j(aT,this).current[0]}setFocusMemory(e,t){j(oT,this).set(e,t)}getFocusMemory(e){return j(oT,this).get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){j(sT,this).set(e,t)}getPreFocusMemory(e){return j(sT,this).get(e)}clearPreFocusMemory(e){j(sT,this).delete(e)}};x(cT,`instance`,void 0);var lT=new WeakMap,uT=new WeakMap,dT=new WeakMap,fT=new WeakMap,pT=new WeakMap,mT=new WeakSet,hT=class e{constructor(e){kt(this,mT),O(this,lT,!1),O(this,uT,null),O(this,dT,cT.getInstance()),O(this,fT,[]),O(this,pT,void 0),A(pT,this,e)}get paused(){return j(lT,this)}pause(){A(lT,this,!0)}resume(){A(lT,this,!1)}mount(e){j(uT,this)&&this.unmount(),A(uT,this,e),j(dT,this).register(this),k(mT,this,yT).call(this),k(mT,this,_T).call(this)}unmount(){j(uT,this)&&(k(mT,this,gT).call(this),k(mT,this,vT).call(this),j(dT,this).unregister(this),j(dT,this).clearPreFocusMemory(this),A(uT,this,null))}static use(t){let n=null;return fS([()=>t.ref.current,()=>t.enabled.current],([r,i])=>{r&&i?(n||(n=new e(t)),n.mount(r)):n&&(n.unmount(),n=null)}),jS(()=>{n?.unmount()}),{get props(){return{tabindex:-1}}}}};function gT(){for(let e of j(fT,this))e();A(fT,this,[])}function _T(){if(!j(uT,this))return;let e=new CustomEvent(`focusScope.onOpenAutoFocus`,{bubbles:!1,cancelable:!0});j(pT,this).onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!j(uT,this))return;let e=k(mT,this,xT).call(this);e?(e.focus(),j(dT,this).setFocusMemory(this,e)):j(uT,this).focus()})}function vT(){let e=new CustomEvent(`focusScope.onCloseAutoFocus`,{bubbles:!1,cancelable:!0});if(j(pT,this).onCloseAutoFocus.current?.(e),!e.defaultPrevented){let e=j(dT,this).getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}function yT(){if(!j(uT,this)||!j(pT,this).trap.current)return;let e=j(uT,this),t=e.ownerDocument;j(fT,this).push(ea(t,`focusin`,t=>{if(j(lT,this)||!j(dT,this).isActiveScope(this))return;let n=t.target;if(n)if(e.contains(n))j(dT,this).setFocusMemory(this,n);else{let n=j(dT,this).getFocusMemory(this);if(n&&e.contains(n)&&Sw(n))t.preventDefault(),n.focus();else{let t=k(mT,this,xT).call(this),n=k(mT,this,ST).call(this)[0];(t||n||e).focus()}}},{capture:!0}),ea(e,`keydown`,e=>{if(!j(pT,this).loop||j(lT,this)||e.key!==`Tab`||!j(dT,this).isActiveScope(this))return;let n=k(mT,this,bT).call(this);if(n.length===0)return;let r=n[0],i=n[n.length-1];!e.shiftKey&&t.activeElement===i?(e.preventDefault(),r.focus()):e.shiftKey&&t.activeElement===r&&(e.preventDefault(),i.focus())}));let n=new MutationObserver(()=>{let t=j(dT,this).getFocusMemory(this);if(t&&!e.contains(t)){let t=k(mT,this,xT).call(this),n=k(mT,this,ST).call(this)[0],r=t||n;r?(r.focus(),j(dT,this).setFocusMemory(this,r)):e.focus()}});n.observe(e,{childList:!0,subtree:!0}),j(fT,this).push(()=>n.disconnect())}function bT(){return j(uT,this)?vw(j(uT,this),{includeContainer:!1,getShadowRoot:!0}):[]}function xT(){return k(mT,this,bT).call(this)[0]||null}function ST(){return j(uT,this)?yw(j(uT,this),{includeContainer:!1,getShadowRoot:!0}):[]}function CT(e,t){it(t,!0);let n=Z(t,`enabled`,3,!1),r=Z(t,`trapFocus`,3,!1),i=Z(t,`loop`,3,!1),a=Z(t,`onCloseAutoFocus`,3,OC),o=Z(t,`onOpenAutoFocus`,3,OC),s=hT.use({enabled:Lb(()=>n()),trap:Lb(()=>r()),loop:i(),onCloseAutoFocus:Lb(()=>a()),onOpenAutoFocus:Lb(()=>o()),ref:t.ref});var c=da();za(I(c),()=>t.focusScope??p,()=>({props:s.props})),H(e,c),at()}var wT,TT=()=>{};(wT=globalThis).bitsTextSelectionLayers??(wT.bitsTextSelectionLayers=new Map);var ET=new WeakMap,DT=new WeakMap,OT=new WeakMap,kT=new WeakMap,AT=new WeakSet,jT=new WeakMap,MT=new WeakMap,NT=new WeakMap,PT=class e{static create(t){return new e(t)}constructor(e){kt(this,AT),x(this,`opts`,void 0),x(this,`domContext`,void 0),O(this,ET,OC),O(this,DT,!1),O(this,OT,TT),O(this,kT,TT),O(this,jT,e=>{j(kT,this).call(this,e)}),O(this,MT,e=>{if(!j(DT,this))return;let t=this.opts.ref.current,n=e.target;!aC(t)||!aC(n)||!zT(this)||!HS(t,n)||(j(OT,this).call(this,e),!e.defaultPrevented&&A(ET,this,LT(t,this.domContext.getDocument().body)))}),O(this,NT,()=>{j(ET,this).call(this),A(ET,this,OC)}),this.opts=e,this.domContext=new qS(e.ref);let t=OC;fS(()=>[this.opts.enabled.current,this.opts.onPointerDown.current,this.opts.onPointerUp.current],([e,n,r])=>(A(DT,this,e),A(OT,this,n),A(kT,this,r),e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=k(AT,this,FT).call(this)),()=>{A(DT,this,!1),t(),j(NT,this).call(this),globalThis.bitsTextSelectionLayers.delete(this)}))}};function FT(){return mx(ea(this.domContext.getDocument(),`pointerdown`,j(MT,this)),ea(this.domContext.getDocument(),`pointerup`,Vb(j(NT,this),j(jT,this))))}var IT=e=>e.style.userSelect||e.style.webkitUserSelect;function LT(e,t){let n=IT(t),r=IT(e);return RT(t,`none`),RT(e,`text`),()=>{RT(t,n),RT(e,r)}}function RT(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function zT(e){let t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;let n=t.at(-1);return n?n[0]===e:!1}function BT(e,t){it(t,!0);let n=Z(t,`preventOverflowTextSelection`,3,!0),r=Z(t,`onPointerDown`,3,OC),i=Z(t,`onPointerUp`,3,OC);PT.create({id:Lb(()=>t.id),onPointerDown:Lb(()=>r()),onPointerUp:Lb(()=>i()),enabled:Lb(()=>t.enabled&&n()),ref:t.ref});var a=da();za(I(a),()=>t.children??p),H(e,a),at()}var VT;(VT=globalThis).bitsIdCounter??(VT.bitsIdCounter={current:0});function HT(e=`bits`){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}var UT=new WeakMap,WT=new WeakMap,GT=new WeakMap,KT=new WeakMap,qT=new WeakSet,JT=class{constructor(e){kt(this,qT),O(this,UT,void 0),O(this,WT,0),O(this,GT,N()),O(this,KT,void 0),A(UT,this,e)}get(...e){return A(WT,this,j(WT,this)+1),z(j(GT,this))===void 0&&A(KT,this,Hr(()=>{P(j(GT,this),j(UT,this).call(this,...e),!0)})),zr(()=>()=>{k(qT,this,YT).call(this)}),z(j(GT,this))}};function YT(){A(WT,this,j(WT,this)-1),j(KT,this)&&j(WT,this)<=0&&(j(KT,this).call(this),P(j(GT,this),void 0),A(KT,this,void 0))}var XT=new eS,ZT=N(null),QT=null,$T=null,eE=!1,tE=Lb(()=>{for(let e of XT.values())if(e)return!0;return!1}),nE=null,rE=new JT(()=>{function e(){document.body.setAttribute(`style`,z(ZT)??``),document.body.style.removeProperty(`--scrollbar-width`),rC&&QT?.(),P(ZT,null)}function t(){$T!==null&&(window.clearTimeout($T),$T=null)}function n(e,n){t(),eE=!0,nE=Date.now();let r=nE,i=()=>{$T=null,nE===r&&(lE(XT)?eE=!1:(eE=!1,n()))},a=e===null?24:e;$T=window.setTimeout(i,a)}function r(){z(ZT)===null&&XT.size===0&&!eE&&P(ZT,document.body.getAttribute(`style`),!0)}return fS(()=>tE.current,()=>{if(!tE.current)return;r(),eE=!1;let e=getComputedStyle(document.documentElement),t=getComputedStyle(document.body),n=e.scrollbarGutter?.includes(`stable`)||t.scrollbarGutter?.includes(`stable`),i=window.innerWidth-document.documentElement.clientWidth,a={padding:Number.parseInt(t.paddingRight??`0`,10)+i,margin:Number.parseInt(t.marginRight??`0`,10)};i>0&&!n&&(document.body.style.paddingRight=`${a.padding}px`,document.body.style.marginRight=`${a.margin}px`,document.body.style.setProperty(`--scrollbar-width`,`${i}px`)),document.body.style.overflow=`hidden`,rC&&(QT=ea(document,`touchmove`,e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),NS(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})}),jS(()=>()=>{QT?.()}),{get lockMap(){return XT},resetBodyStyle:e,scheduleCleanupIfNoNewLocks:n,cancelPendingCleanup:t,ensureInitialStyleCaptured:r}}),iE=new WeakMap,aE=new WeakMap,oE=new WeakMap,sE=new WeakMap,cE=class{constructor(e,t=()=>null){O(this,iE,HT()),O(this,aE,void 0),O(this,oE,()=>null),O(this,sE,void 0),x(this,`locked`,void 0),A(aE,this,e),A(oE,this,t),A(sE,this,rE.get()),j(sE,this)&&(j(sE,this).cancelPendingCleanup(),j(sE,this).ensureInitialStyleCaptured(),j(sE,this).lockMap.set(j(iE,this),j(aE,this)??!1),this.locked=Lb(()=>j(sE,this).lockMap.get(j(iE,this))??!1,e=>j(sE,this).lockMap.set(j(iE,this),e)),jS(()=>{if(j(sE,this).lockMap.delete(j(iE,this)),lE(j(sE,this).lockMap))return;let e=j(oE,this).call(this);j(sE,this).scheduleCleanupIfNoNewLocks(e,()=>{j(sE,this).resetBodyStyle()})}))}};function lE(e){for(let[t,n]of e)if(n)return!0;return!1}function uE(e,t){it(t,!0);let n=Z(t,`preventScroll`,3,!0),r=Z(t,`restoreScrollDelay`,3,null);n()&&new cE(n(),()=>r()),at()}function dE(e,t){it(t,!0),NC({defaultPortalTo:Lb(()=>t.defaultPortalTo),defaultLocale:Lb(()=>t.defaultLocale)});var n=da();za(I(n),()=>t.children??p),H(e,n),at()}var fE=[`top`,`right`,`bottom`,`left`],pE=Math.min,mE=Math.max,hE=Math.round,gE=Math.floor,_E=e=>({x:e,y:e}),vE={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function yE(e,t,n){return mE(e,pE(t,n))}function bE(e,t){return typeof e==`function`?e(t):e}function xE(e){return e.split(`-`)[0]}function SE(e){return e.split(`-`)[1]}function CE(e){return e===`x`?`y`:`x`}function wE(e){return e===`y`?`height`:`width`}function TE(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function EE(e){return CE(TE(e))}function DE(e,t,n){n===void 0&&(n=!1);let r=SE(e),i=EE(e),a=wE(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=IE(o)),[o,IE(o)]}function OE(e){let t=IE(e);return[kE(e),t,kE(t)]}function kE(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var AE=[`left`,`right`],jE=[`right`,`left`],ME=[`top`,`bottom`],NE=[`bottom`,`top`];function PE(e,t,n){switch(e){case`top`:case`bottom`:return n?t?jE:AE:t?AE:jE;case`left`:case`right`:return t?ME:NE;default:return[]}}function FE(e,t,n,r){let i=SE(e),a=PE(xE(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(kE)))),a}function IE(e){let t=xE(e);return vE[t]+e.slice(t.length)}function LE(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function RE(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:LE(e)}function zE(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function BE(e,t,n){let{reference:r,floating:i}=e,a=TE(t),o=EE(t),s=wE(o),c=xE(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=SE(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function VE(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=bE(t,e),p=RE(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=zE(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=zE(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var HE=50,UE=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:VE},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=BE(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<HE&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=BE(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},WE=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=bE(e,t)||{};if(l==null)return{};let d=RE(u),f={x:n,y:r},p=EE(i),m=wE(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,ee=pE(d[_],T),te=pE(d[v],T),ne=C-h[m]-te,re=C/2-h[m]/2+w,ie=yE(ee,re,ne),ae=!c.arrow&&SE(i)!=null&&re!==ie&&a.reference[m]/2-(re<ee?ee:te)-h[m]/2<0,oe=ae?re<ee?re-ee:re-ne:0;return{[p]:f[p]+oe,data:{[p]:ie,centerOffset:re-ie-oe,...ae&&{alignmentOffset:oe}},reset:ae}}}),GE=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=bE(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=xE(r),_=TE(o),v=xE(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[IE(o)]:OE(o)),x=p!==`none`;!d&&x&&b.push(...FE(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=DE(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==TE(t))||T.every(e=>TE(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=TE(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function KE(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qE(e){return fE.some(t=>e[t]>=0)}var JE=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=bE(e,t);switch(i){case`referenceHidden`:{let e=KE(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:qE(e)}}}case`escaped`:{let e=KE(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:qE(e)}}}default:return{}}}}},YE=new Set([`left`,`top`]);async function XE(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=xE(n),s=SE(n),c=TE(n)===`y`,l=YE.has(o)?-1:1,u=a&&c?-1:1,d=bE(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var ZE=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await XE(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},QE=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=bE(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=TE(i),p=CE(f),m=u[p],h=u[f],g=(e,t)=>yE(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},$E=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=bE(e,t),u={x:n,y:r},d=TE(i),f=CE(d),p=u[f],m=u[d],h=bE(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=YE.has(xE(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},eD=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=bE(e,t),c=await i.detectOverflow(t,s),l=xE(n),u=SE(n),d=TE(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=pE(p-c[m],g),y=pE(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*mE(c.left,c.right):S=p-2*mE(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function tD(){return typeof window<`u`}function nD(e){return aD(e)?(e.nodeName||``).toLowerCase():`#document`}function rD(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function iD(e){return((aD(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function aD(e){return tD()?e instanceof Node||e instanceof rD(e).Node:!1}function oD(e){return tD()?e instanceof Element||e instanceof rD(e).Element:!1}function sD(e){return tD()?e instanceof HTMLElement||e instanceof rD(e).HTMLElement:!1}function cD(e){return!tD()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof rD(e).ShadowRoot}function lD(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=bD(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function uD(e){return/^(table|td|th)$/.test(nD(e))}function dD(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var fD=/transform|translate|scale|rotate|perspective|filter/,pD=/paint|layout|strict|content/,mD=e=>!!e&&e!==`none`,hD;function gD(e){let t=oD(e)?bD(e):e;return mD(t.transform)||mD(t.translate)||mD(t.scale)||mD(t.rotate)||mD(t.perspective)||!vD()&&(mD(t.backdropFilter)||mD(t.filter))||fD.test(t.willChange||``)||pD.test(t.contain||``)}function _D(e){let t=SD(e);for(;sD(t)&&!yD(t);){if(gD(t))return t;if(dD(t))return null;t=SD(t)}return null}function vD(){return hD??(hD=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`)),hD}function yD(e){return/^(html|body|#document)$/.test(nD(e))}function bD(e){return rD(e).getComputedStyle(e)}function xD(e){return oD(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function SD(e){if(nD(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||cD(e)&&e.host||iD(e);return cD(t)?t.host:t}function CD(e){let t=SD(e);return yD(t)?(e.ownerDocument||e).body:sD(t)&&lD(t)?t:CD(t)}function wD(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=CD(e),i=r===e.ownerDocument?.body,a=rD(r);if(i){let e=TD(a);return t.concat(a,a.visualViewport||[],lD(r)?r:[],e&&n?wD(e):[])}else return t.concat(r,wD(r,[],n))}function TD(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ED(e){let t=bD(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=sD(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=hE(n)!==a||hE(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function DD(e){return oD(e)?e:e.contextElement}function OD(e){let t=DD(e);if(!sD(t))return _E(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=ED(t),o=(a?hE(n.width):n.width)/r,s=(a?hE(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var kD=_E(0);function AD(e){let t=rD(e);return!vD()||!t.visualViewport?kD:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jD(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===rD(e)}function MD(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=DD(e),o=_E(1);t&&(r?oD(r)&&(o=OD(r)):o=OD(e));let s=jD(a,n,r)?AD(a):_E(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=rD(a),t=oD(r)?rD(r):r,n=e,i=TD(n);for(;i&&t!==n;){let e=OD(i),t=i.getBoundingClientRect(),r=bD(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=rD(i),i=TD(n)}}return zE({width:u,height:d,x:c,y:l})}function ND(e,t){let n=xD(e).scrollLeft;return t?t.left+n:MD(iD(e)).left+n}function PD(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ND(e,n),y:n.top+t.scrollTop}}function FD(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=iD(r),s=t?dD(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=_E(1),u=_E(0),d=sD(r);if((d||!a)&&((nD(r)!==`body`||lD(o))&&(c=xD(r)),d)){let e=MD(r);l=OD(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?PD(o,c):_E(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function ID(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function LD(e){let t=xD(e),n=e.ownerDocument.body,r=mE(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=mE(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+ND(e),o=-t.scrollTop;return bD(n).direction===`rtl`&&(a+=mE(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var RD=25;function zD(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=rD(e),a=iD(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!vD()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(ND(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=RD&&(s-=o)}return{width:s,height:c,x:l,y:u}}function BD(e,t){let n=MD(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=OD(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function VD(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=zD(e,n,t);else if(t===`document`)r=LD(iD(e));else if(oD(t))r=BD(t,n);else{let n=AD(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return zE(r)}function HD(e,t){let n=t.get(e);if(n)return n;let r=wD(e,[],!1).filter(e=>oD(e)&&nD(e)!==`body`),i=null,a=bD(e).position===`fixed`,o=a?SD(e):e;for(;oD(o)&&!yD(o);){let e=bD(o),t=gD(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=SD(o)}return t.set(e,r),r}function UD(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?dD(t)?[]:HD(t,this._c):[].concat(n),r],o=VD(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=VD(t,a[e],i);s=mE(n.top,s),c=pE(n.right,c),l=pE(n.bottom,l),u=mE(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function WD(e){let{width:t,height:n}=ED(e);return{width:t,height:n}}function GD(e,t,n){let r=sD(t),i=iD(t),a=n===`fixed`,o=MD(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=_E(0);if((r||!a)&&((nD(t)!==`body`||lD(i))&&(s=xD(t)),r)){let e=MD(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=ND(i));let l=i&&!r&&!a?PD(i,s):_E(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function KD(e){return bD(e).position===`static`}function qD(e,t){if(!sD(e)||bD(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return iD(e)===n&&(n=n.ownerDocument.body),n}function JD(e,t){let n=rD(e);if(dD(e))return n;if(!sD(e)){let t=SD(e);for(;t&&!yD(t);){if(oD(t)&&!KD(t))return t;t=SD(t)}return n}let r=qD(e,t);for(;r&&uD(r)&&KD(r);)r=qD(r,t);return r&&yD(r)&&KD(r)&&!gD(r)?n:r||_D(e)||n}var YD=async function(e){let t=this.getOffsetParent||JD,n=this.getDimensions,r=await n(e.floating);return{reference:GD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function XD(e){return bD(e).direction===`rtl`}var ZD={convertOffsetParentRelativeRectToViewportRelativeRect:FD,getDocumentElement:iD,getClippingRect:UD,getOffsetParent:JD,getElementRects:YD,getClientRects:ID,getDimensions:WD,getScale:OD,isElement:oD,isRTL:XD};function QD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function $D(e,t,n){let r=null,i,a=iD(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=gE(d),h=gE(a.clientWidth-(u+f)),g=gE(a.clientHeight-(d+p)),_=gE(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:mE(0,pE(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!QD(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=rD(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function eO(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=DD(e),u=i||a?[...l?wD(l):[],...t?wD(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?$D(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?MD(e):null;c&&g();function g(){let t=MD(e);h&&!QD(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var tO=ZE,nO=QE,rO=GE,iO=eD,aO=JE,oO=WE,sO=$E,cO=(e,t,n)=>{let r=new Map,i=n??{},a={...ZD,...i.platform,_c:r};return UE(e,t,{...i,platform:a})};function lO(e){return typeof e==`function`?e():e}function uO(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function dO(e,t){let n=uO(e);return Math.round(t*n)/n}function fO(e){return{[`--bits-${e}-content-transform-origin`]:`var(--bits-floating-transform-origin)`,[`--bits-${e}-content-available-width`]:`var(--bits-floating-available-width)`,[`--bits-${e}-content-available-height`]:`var(--bits-floating-available-height)`,[`--bits-${e}-anchor-width`]:`var(--bits-floating-anchor-width)`,[`--bits-${e}-anchor-height`]:`var(--bits-floating-anchor-height)`}}function pO(e){let t=e.whileElementsMounted,n=M(()=>lO(e.open)??!0),r=M(()=>lO(e.middleware)),i=M(()=>lO(e.transform)??!0),a=M(()=>lO(e.placement)??`bottom`),o=M(()=>lO(e.strategy)??`absolute`),s=M(()=>lO(e.sideOffset)??0),c=M(()=>lO(e.alignOffset)??0),l=e.reference,u=N(0),d=N(0),f=Bb(null),p=N(yr(z(o))),m=N(yr(z(a))),h=N(yr({})),g=N(!1),_=!1,v=0,y=M(()=>{let e=f.current?dO(f.current,z(u)):z(u),t=f.current?dO(f.current,z(d)):z(d);return z(i)?{position:z(p),left:`0`,top:`0`,transform:`translate(${e}px, ${t}px)`,...f.current&&uO(f.current)>=1.5&&{willChange:`transform`}}:{position:z(p),left:`${e}px`,top:`${t}px`}}),b;function x(){if(l.current===null||f.current===null)return;let e=l.current,t=f.current,i=++v;cO(e,t,{middleware:z(r),placement:z(a),strategy:z(o)}).then(r=>{if(i===v&&!(l.current!==e||f.current!==t)){if(mO(e)){P(h,{...z(h),hide:{...z(h).hide,referenceHidden:!0}},!0);return}if(!z(n)&&z(u)!==0&&z(d)!==0){let e=Math.max(Math.abs(z(s)),Math.abs(z(c)),15);if(r.x<=e&&r.y<=e)return}P(u,r.x,!0),P(d,r.y,!0),P(p,r.strategy,!0),P(m,r.placement,!0),P(h,r.middlewareData,!0),P(g,!0)}})}function S(){typeof b==`function`&&(b(),b=void 0),v++}function C(){if(S(),t===void 0){x();return}z(n)&&(l.current===null||f.current===null||(b=t(l.current,f.current,x)))}function w(){!z(n)&&f.current===null&&P(g,!1)}function T(){return[z(r),z(a),z(o),z(s),z(c),z(n)]}return zr(()=>{t===void 0&&z(n)&&x()}),zr(C),zr(()=>{if(t!==void 0){if(T(),!z(n)){_=!1;return}if(!z(g)){_=!1;return}if(!_){_=!0;return}x()}}),zr(w),zr(()=>S),{floating:f,reference:l,get strategy(){return z(p)},get placement(){return z(m)},get middlewareData(){return z(h)},get isPositioned(){return z(g)},get floatingStyles(){return z(y)},get update(){return x}}}function mO(e){return e instanceof Element?!e.isConnected||e instanceof HTMLElement&&e.hidden?!0:e.getClientRects().length===0:!1}var hO={top:`bottom`,right:`left`,bottom:`top`,left:`right`},gO=new cS(`Floating.Root`),_O=new cS(`Floating.Content`),vO=new cS(`Floating.Root`),yO=class e{static create(t=!1){return t?vO.set(new e):gO.set(new e)}constructor(){x(this,`anchorNode`,Bb(null)),x(this,`customAnchorNode`,Bb(null)),x(this,`triggerNode`,Bb(null)),zr(()=>{this.customAnchorNode.current?typeof this.customAnchorNode.current==`string`?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}},bO=new WeakMap,xO=new WeakMap,SO=new WeakMap,CO=new WeakMap,wO=new WeakMap,TO=new WeakMap,EO=new WeakMap,DO=new WeakMap,OO=new WeakMap,kO=new WeakMap,AO=new WeakMap,jO=new WeakMap,MO=new WeakMap,NO=new WeakMap,PO=new WeakMap,FO=new WeakMap,IO=new WeakMap,LO=new WeakMap,RO=new WeakMap,zO=new WeakMap,BO=new WeakMap,VO=new WeakMap,HO=new WeakMap,UO=new WeakMap,WO=class e{static create(t,n=!1){return n?_O.set(new e(t,vO.get())):_O.set(new e(t,gO.get()))}get hasExplicitBoundaries(){return z(j(DO,this))}set hasExplicitBoundaries(e){P(j(DO,this),e)}get detectOverflowOptions(){return z(j(OO,this))}set detectOverflowOptions(e){P(j(OO,this),e)}get middleware(){return z(j(NO,this))}set middleware(e){P(j(NO,this),e)}get placedSide(){return z(j(PO,this))}set placedSide(e){P(j(PO,this),e)}get placedAlign(){return z(j(FO,this))}set placedAlign(e){P(j(FO,this),e)}get arrowX(){return z(j(IO,this))}set arrowX(e){P(j(IO,this),e)}get arrowY(){return z(j(LO,this))}set arrowY(e){P(j(LO,this),e)}get cannotCenterArrow(){return z(j(RO,this))}set cannotCenterArrow(e){P(j(RO,this),e)}get contentZIndex(){return z(j(zO,this))}set contentZIndex(e){P(j(zO,this),e,!0)}get arrowBaseSide(){return z(j(BO,this))}set arrowBaseSide(e){P(j(BO,this),e)}get wrapperProps(){return z(j(VO,this))}set wrapperProps(e){P(j(VO,this),e)}get props(){return z(j(HO,this))}set props(e){P(j(HO,this),e)}get arrowStyle(){return z(j(UO,this))}set arrowStyle(e){P(j(UO,this),e)}constructor(e,t){x(this,`opts`,void 0),x(this,`root`,void 0),x(this,`contentRef`,Bb(null)),x(this,`wrapperRef`,Bb(null)),x(this,`arrowRef`,Bb(null)),x(this,`contentAttachment`,JS(this.contentRef)),x(this,`wrapperAttachment`,JS(this.wrapperRef)),x(this,`arrowAttachment`,JS(this.arrowRef)),x(this,`arrowId`,Bb(HT())),O(this,bO,M(()=>{if(typeof this.opts.style==`string`)return px(this.opts.style);if(!this.opts.style)return{}})),O(this,xO,void 0),O(this,SO,new TS(()=>this.arrowRef.current??void 0)),O(this,CO,M(()=>j(SO,this)?.width??0)),O(this,wO,M(()=>j(SO,this)?.height??0)),O(this,TO,M(()=>this.opts.side?.current+(this.opts.align.current===`center`?``:`-${this.opts.align.current}`))),O(this,EO,M(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current])),O(this,DO,M(()=>z(j(EO,this)).length>0)),O(this,OO,M(()=>({padding:this.opts.collisionPadding.current,boundary:z(j(EO,this)).filter(lC),altBoundary:this.hasExplicitBoundaries}))),O(this,kO,N(void 0)),O(this,AO,N(void 0)),O(this,jO,N(void 0)),O(this,MO,N(void 0)),O(this,NO,M(()=>[tO({mainAxis:this.opts.sideOffset.current+z(j(wO,this)),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&nO({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current===`partial`?sO():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&rO({...this.detectOverflowOptions}),iO({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:n})=>{let{width:r,height:i}=e.reference;P(j(kO,this),t,!0),P(j(AO,this),n,!0),P(j(jO,this),r,!0),P(j(MO,this),i,!0)}}),this.arrowRef.current&&oO({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),KO({arrowWidth:z(j(CO,this)),arrowHeight:z(j(wO,this))}),this.opts.hideWhenDetached.current&&aO({strategy:`referenceHidden`,...this.detectOverflowOptions})].filter(Boolean))),x(this,`floating`,void 0),O(this,PO,M(()=>JO(this.floating.placement))),O(this,FO,M(()=>YO(this.floating.placement))),O(this,IO,M(()=>this.floating.middlewareData.arrow?.x??0)),O(this,LO,M(()=>this.floating.middlewareData.arrow?.y??0)),O(this,RO,M(()=>this.floating.middlewareData.arrow?.centerOffset!==0)),O(this,zO,N()),O(this,BO,M(()=>hO[this.placedSide])),O(this,VO,M(()=>({id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":``,style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,"--bits-floating-available-width":`${z(j(kO,this))}px`,"--bits-floating-available-height":`${z(j(AO,this))}px`,"--bits-floating-anchor-width":`${z(j(jO,this))}px`,"--bits-floating-anchor-height":`${z(j(MO,this))}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:`hidden`,"pointer-events":`none`},...z(j(bO,this))},dir:this.opts.dir.current,...this.wrapperAttachment}))),O(this,HO,M(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:vx({...z(j(bO,this))}),...this.contentAttachment}))),O(this,UO,M(()=>({position:`absolute`,left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[this.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[this.placedSide],visibility:this.cannotCenterArrow?`hidden`:void 0}))),this.opts=e,this.root=t,A(xO,this,e.updatePositionStrategy),e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),fS(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=pO({strategy:()=>this.opts.strategy.current,placement:()=>z(j(TO,this)),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...e)=>eO(...e,{animationFrame:j(xO,this)?.current===`always`}),open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),zr(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),fS(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;let t=WS(e),n=t.requestAnimationFrame(()=>{if(this.contentRef.current!==e||!this.opts.enabled.current)return;let n=t.getComputedStyle(e).zIndex;n!==this.contentZIndex&&(this.contentZIndex=n)});return()=>{t.cancelAnimationFrame(n)}}),zr(()=>{this.floating.floating.current=this.wrapperRef.current})}},GO=class e{static create(t,n=!1){return n?new e(t,vO.get()):new e(t,gO.get())}constructor(e,t){x(this,`opts`,void 0),x(this,`root`,void 0),this.opts=e,this.root=t,e.virtualEl&&e.virtualEl.current?t.triggerNode=zb(e.virtualEl.current):t.triggerNode=e.ref}};function KO(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=qO(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function qO(e){let[t,n=`center`]=e.split(`-`);return[t,n]}function JO(e){return qO(e)[0]}function YO(e){return qO(e)[1]}function XO(e,t){it(t,!0);let n=Z(t,`tooltip`,3,!1);yO.create(n());var r=da();za(I(r),()=>t.children??p),H(e,r),at()}function ZO(e,t){it(t,!0);let n=Z(t,`tooltip`,3,!1);GO.create({id:Lb(()=>t.id),virtualEl:Lb(()=>t.virtualEl),ref:t.ref},n());var r=da();za(I(r),()=>t.children??p),H(e,r),at()}function QO(e,t){it(t,!0);let n=Z(t,`side`,3,`bottom`),r=Z(t,`sideOffset`,3,0),i=Z(t,`align`,3,`center`),a=Z(t,`alignOffset`,3,0),o=Z(t,`arrowPadding`,3,0),s=Z(t,`avoidCollisions`,3,!0),c=Z(t,`collisionBoundary`,19,()=>[]),l=Z(t,`collisionPadding`,3,0),u=Z(t,`hideWhenDetached`,3,!1),d=Z(t,`onPlaced`,3,()=>{}),f=Z(t,`sticky`,3,`partial`),m=Z(t,`updatePositionStrategy`,3,`optimized`),h=Z(t,`strategy`,3,`fixed`),g=Z(t,`dir`,3,`ltr`),_=Z(t,`style`,19,()=>({})),v=Z(t,`wrapperId`,19,HT),y=Z(t,`customAnchor`,3,null),b=Z(t,`tooltip`,3,!1),x=WO.create({side:Lb(()=>n()),sideOffset:Lb(()=>r()),align:Lb(()=>i()),alignOffset:Lb(()=>a()),id:Lb(()=>t.id),arrowPadding:Lb(()=>o()),avoidCollisions:Lb(()=>s()),collisionBoundary:Lb(()=>c()),collisionPadding:Lb(()=>l()),hideWhenDetached:Lb(()=>u()),onPlaced:Lb(()=>d()),sticky:Lb(()=>f()),updatePositionStrategy:Lb(()=>m()),strategy:Lb(()=>h()),dir:Lb(()=>g()),style:Lb(()=>_()),enabled:Lb(()=>t.enabled),wrapperId:Lb(()=>v()),customAnchor:Lb(()=>y())},b()),S=M(()=>xx(x.wrapperProps,{style:{pointerEvents:`auto`}}));var C=da();za(I(C),()=>t.content??p,()=>({props:x.props,wrapperProps:z(S)})),H(e,C),at()}function $O(e,t){it(t,!0),Ko(()=>{t.onPlaced?.()});var n=da();za(I(n),()=>t.content??p,()=>({props:{},wrapperProps:{}})),H(e,n),at()}var ek=new Set([`$$slots`,`$$events`,`$$legacy`,`content`,`isStatic`,`onPlaced`]);function tk(e,t){let n=Z(t,`isStatic`,3,!1),r=Y(t,ek);var i=da(),a=I(i),o=e=>{$O(e,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},s=e=>{QO(e,X({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>r))};W(a,e=>{n()?e(o):e(s,-1)}),H(e,i)}var nk=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled.ref.tooltip.contentPointerEvents`.split(`.`)),rk=V(`<!> <!>`,1);function ik(e,t){it(t,!0);let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`trapFocus`,3,!0),i=Z(t,`isValidEvent`,3,()=>!1),a=Z(t,`customAnchor`,3,null),o=Z(t,`isStatic`,3,!1),s=Z(t,`tooltip`,3,!1),c=Z(t,`contentPointerEvents`,3,`auto`),l=Y(t,nk),u=M(()=>t.preventScroll??!0),d=M(()=>t.strategy??(z(u)?`fixed`:`absolute`));tk(e,{get isStatic(){return o()},get id(){return t.id},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return z(d)},get dir(){return t.dir},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get enabled(){return t.enabled},get tooltip(){return s()},content:(e,a)=>{let o=()=>(a?.()).props,s=()=>(a?.()).wrapperProps;var d=rk(),f=I(d),m=e=>{uE(e,{get preventScroll(){return z(u)}})},h=e=>{uE(e,{get preventScroll(){return z(u)}})};W(f,e=>{t.forceMount&&t.enabled?e(m):t.forceMount||e(h,1)}),CT(L(f,2),{get onOpenAutoFocus(){return t.onOpenAutoFocus},get onCloseAutoFocus(){return t.onCloseAutoFocus},get loop(){return t.loop},get enabled(){return t.enabled},get trapFocus(){return r()},get forceMount(){return t.forceMount},get ref(){return t.ref},focusScope:(e,r)=>{let a=()=>(r?.()).props;iT(e,{get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,r)=>{Qw(e,{get id(){return t.id},get onInteractOutside(){return t.onInteractOutside},get onFocusOutside(){return t.onFocusOutside},get interactOutsideBehavior(){return n()},get isValidEvent(){return i()},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,n)=>{let r=()=>(n?.()).props;BT(e,{get id(){return t.id},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,n)=>{var i=da(),u=I(i);{let e=M(()=>({props:xx(l,o(),r(),a(),{style:{pointerEvents:c()}}),wrapperProps:s()}));za(u,()=>t.popper??p,()=>z(e))}H(e,i)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),H(e,d)},$$slots:{content:!0}}),at()}var ak=new Set(`$$slots.$$events.$$legacy.popper.open.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.ref.shouldRender`.split(`.`));function ok(e,t){let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`trapFocus`,3,!0),i=Z(t,`isValidEvent`,3,()=>!1),a=Z(t,`customAnchor`,3,null),o=Z(t,`isStatic`,3,!1),s=Y(t,ak);var c=da(),l=I(c),u=e=>{ik(e,X({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>s))};W(l,e=>{t.shouldRender&&e(u)}),H(e,c)}var sk=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled`.split(`.`));function ck(e,t){let n=Z(t,`interactOutsideBehavior`,3,`close`),r=Z(t,`trapFocus`,3,!0),i=Z(t,`isValidEvent`,3,()=>!1),a=Z(t,`customAnchor`,3,null),o=Z(t,`isStatic`,3,!1),s=Y(t,sk);ik(e,X({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.enabled},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside}},()=>s,{forceMount:!0}))}function lk(e,t){let[n,r]=e,i=!1,a=t.length;for(let e=0,o=a-1;e<a;o=e++){let[a,s]=t[e]??[0,0],[c,l]=t[o]??[0,0];s>=r!=l>=r&&n<=(c-a)*(r-s)/(l-s)+a&&(i=!i)}return i}function uk(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}function dk(e,t){let n=e.left+e.width/2,r=e.top+e.height/2,i=t.left+t.width/2,a=t.top+t.height/2,o=i-n,s=a-r;return Math.abs(o)>Math.abs(s)?o>0?`right`:`left`:s>0?`bottom`:`top`}var fk=new WeakMap,pk=new WeakMap,mk=new WeakMap,hk=new WeakMap,gk=new WeakMap,_k=new WeakMap,vk=new WeakMap,yk=new WeakMap,bk=new WeakMap,xk=new WeakSet,Sk=class{constructor(e){kt(this,xk),O(this,fk,void 0),O(this,pk,void 0),O(this,mk,void 0),O(this,hk,null),O(this,gk,null),O(this,_k,[]),O(this,vk,null),O(this,yk,null),O(this,bk,null),A(fk,this,e),A(pk,this,e.buffer??1);let t=e.transitIntentTimeout;A(mk,this,typeof t==`number`&&t>0?t:null),fS([e.triggerNode,e.contentNode,e.enabled],([e,t,n])=>{if(!e||!t||!n){A(vk,this,null),k(xk,this,Ok).call(this);return}return j(vk,this)&&j(vk,this)!==e&&k(xk,this,Ok).call(this),A(vk,this,e),[ea(US(e),`pointermove`,n=>{k(xk,this,Dk).call(this,[n.clientX,n.clientY],e,t)}),ea(e,`pointerleave`,e=>{let n=e.relatedTarget;if(oC(n)&&t.contains(n))return;let r=j(fk,this).ignoredTargets?.()??[];oC(n)&&r.some(e=>e===n||e.contains(n))||(A(_k,this,oC(n)&&r.length>0?r.filter(e=>n.contains(e)):[]),A(hk,this,[e.clientX,e.clientY]),A(gk,this,`content`),k(xk,this,wk).call(this))}),ea(e,`pointerenter`,()=>{k(xk,this,Ok).call(this)}),ea(t,`pointerenter`,()=>{k(xk,this,Ok).call(this)}),ea(t,`pointerleave`,t=>{let n=t.relatedTarget;oC(n)&&e.contains(n)||(A(hk,this,[t.clientX,t.clientY]),A(gk,this,`trigger`),k(xk,this,wk).call(this))})].reduce((e,t)=>()=>{e(),t()},()=>{})})}};function Ck(){j(yk,this)!==null&&(cancelAnimationFrame(j(yk,this)),A(yk,this,null))}function wk(){k(xk,this,Ck).call(this),A(yk,this,requestAnimationFrame(()=>{A(yk,this,null),!(!j(hk,this)||!j(gk,this))&&(k(xk,this,Ok).call(this),j(fk,this).onPointerExit())}))}function Tk(){j(bk,this)!==null&&(clearTimeout(j(bk,this)),A(bk,this,null))}function Ek(){j(mk,this)!==null&&(k(xk,this,Tk).call(this),A(bk,this,window.setTimeout(()=>{A(bk,this,null),!(!j(hk,this)||!j(gk,this))&&(k(xk,this,Ok).call(this),j(fk,this).onPointerExit())},j(mk,this))))}function Dk(e,t,n){if(!j(hk,this)||!j(gk,this))return;k(xk,this,Ck).call(this),k(xk,this,Ek).call(this);let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();if(j(gk,this)===`content`&&uk(e,i)){k(xk,this,Ok).call(this);return}if(j(gk,this)===`trigger`&&uk(e,r)){k(xk,this,Ok).call(this);return}if(j(gk,this)===`content`&&j(_k,this).length>0)for(let t of j(_k,this)){let n=t.getBoundingClientRect();if(uk(e,n))return;let i=dk(r,n),a=k(xk,this,kk).call(this,r,n,i);if(a&&lk(e,a))return}let a=dk(r,i),o=k(xk,this,kk).call(this,r,i,a);if(o&&lk(e,o))return;let s=j(gk,this)===`content`?i:r;lk(e,k(xk,this,Ak).call(this,j(hk,this),s,a,j(gk,this)))||(k(xk,this,Ok).call(this),j(fk,this).onPointerExit())}function Ok(){A(hk,this,null),A(gk,this,null),A(_k,this,[]),k(xk,this,Ck).call(this),k(xk,this,Tk).call(this)}function kk(e,t,n){let r=j(pk,this);switch(n){case`top`:return[[Math.min(e.left,t.left)-r,e.top],[Math.min(e.left,t.left)-r,t.bottom],[Math.max(e.right,t.right)+r,t.bottom],[Math.max(e.right,t.right)+r,e.top]];case`bottom`:return[[Math.min(e.left,t.left)-r,e.bottom],[Math.min(e.left,t.left)-r,t.top],[Math.max(e.right,t.right)+r,t.top],[Math.max(e.right,t.right)+r,e.bottom]];case`left`:return[[e.left,Math.min(e.top,t.top)-r],[t.right,Math.min(e.top,t.top)-r],[t.right,Math.max(e.bottom,t.bottom)+r],[e.left,Math.max(e.bottom,t.bottom)+r]];case`right`:return[[e.right,Math.min(e.top,t.top)-r],[t.left,Math.min(e.top,t.top)-r],[t.left,Math.max(e.bottom,t.bottom)+r],[e.right,Math.max(e.bottom,t.bottom)+r]]}}function Ak(e,t,n,r){let i=j(pk,this)*4,[a,o]=e;switch(r===`trigger`?k(xk,this,jk).call(this,n):n){case`top`:return[[a-i,o+i],[a+i,o+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case`bottom`:return[[a-i,o-i],[a+i,o-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case`left`:return[[a+i,o-i],[a+i,o+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case`right`:return[[a-i,o-i],[a-i,o+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}function jk(e){switch(e){case`top`:return`bottom`;case`bottom`:return`top`;case`left`:return`right`;case`right`:return`left`}}var Mk=tC({component:`popover`,parts:[`root`,`trigger`,`content`,`close`,`overlay`]}),Nk=new cS(`Popover.Root`),Pk=new WeakMap,Fk=new WeakMap,Ik=new WeakMap,Lk=new WeakMap,Rk=new WeakMap,zk=new WeakMap,Bk=new WeakMap,Vk=new WeakMap,Hk=new WeakMap,Uk=new WeakSet,Wk=class e{static create(t){return Nk.set(new e(t))}get contentNode(){return z(j(Pk,this))}set contentNode(e){P(j(Pk,this),e,!0)}get triggerNode(){return z(j(Fk,this))}set triggerNode(e){P(j(Fk,this),e,!0)}get overlayNode(){return z(j(Ik,this))}set overlayNode(e){P(j(Ik,this),e,!0)}get openedViaHover(){return z(j(Lk,this))}set openedViaHover(e){P(j(Lk,this),e,!0)}get hasInteractedWithContent(){return z(j(Rk,this))}set hasInteractedWithContent(e){P(j(Rk,this),e,!0)}get hoverCooldown(){return z(j(zk,this))}set hoverCooldown(e){P(j(zk,this),e,!0)}get closeDelay(){return z(j(Bk,this))}set closeDelay(e){P(j(Bk,this),e,!0)}constructor(e){kt(this,Uk),x(this,`opts`,void 0),O(this,Pk,N(null)),x(this,`contentPresence`,void 0),O(this,Fk,N(null)),O(this,Ik,N(null)),x(this,`overlayPresence`,void 0),O(this,Lk,N(!1)),O(this,Rk,N(!1)),O(this,zk,N(!1)),O(this,Bk,N(0)),O(this,Vk,null),O(this,Hk,null),this.opts=e,this.contentPresence=new EC({ref:Lb(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new EC({ref:Lb(()=>this.overlayNode),open:this.opts.open}),fS(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,k(Uk,this,Gk).call(this))})}setDomContext(e){A(Hk,this,e)}toggleOpen(){k(Uk,this,Gk).call(this),this.opts.open.current=!this.opts.open.current}handleClose(){k(Uk,this,Gk).call(this),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){k(Uk,this,Gk).call(this),!this.opts.open.current&&(this.openedViaHover=!0,this.opts.open.current=!0)}handleHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1)}handleDelayedHoverClose(){this.opts.open.current&&(!this.openedViaHover||this.hasInteractedWithContent||(k(Uk,this,Gk).call(this),this.closeDelay<=0?this.opts.open.current=!1:j(Hk,this)&&A(Vk,this,j(Hk,this).setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),A(Vk,this,null)},this.closeDelay))))}cancelDelayedClose(){k(Uk,this,Gk).call(this)}markInteraction(){this.hasInteractedWithContent=!0,k(Uk,this,Gk).call(this)}};function Gk(){j(Vk,this)!==null&&j(Hk,this)&&(j(Hk,this).clearTimeout(j(Vk,this)),A(Vk,this,null))}var Kk=new WeakMap,qk=new WeakMap,Jk=new WeakMap,Yk=new WeakSet,Xk=new WeakMap,Zk=class e{static create(t){return new e(t,Nk.get())}constructor(e,t){kt(this,Yk),x(this,`opts`,void 0),x(this,`root`,void 0),x(this,`attachment`,void 0),x(this,`domContext`,void 0),O(this,Kk,null),O(this,qk,null),O(this,Jk,N(!1)),O(this,Xk,M(()=>({id:this.opts.id.current,"aria-haspopup":`dialog`,"aria-expanded":YS(this.root.opts.open.current),"data-state":XS(this.root.opts.open.current),"aria-controls":k(Yk,this,tA).call(this),[Mk.trigger]:``,disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}))),this.opts=e,this.root=t,this.attachment=JS(this.opts.ref,e=>this.root.triggerNode=e),this.domContext=new qS(e.ref),this.root.setDomContext(this.domContext),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),fS(()=>this.opts.closeDelay.current,e=>{this.root.closeDelay=e})}onpointerenter(e){if(this.opts.disabled.current||!this.opts.openOnHover.current||cC(e)||(P(j(Jk,this),!0),k(Yk,this,$k).call(this),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown))return;let t=this.opts.openDelay.current;t<=0?this.root.handleHoverOpen():A(Kk,this,this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),A(Kk,this,null)},t))}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&(cC(e)||(P(j(Jk,this),!1),k(Yk,this,Qk).call(this),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&e.button===0){if(k(Yk,this,eA).call(this),z(j(Jk,this))&&this.root.opts.open.current&&this.root.openedViaHover){this.root.openedViaHover=!1,this.root.hasInteractedWithContent=!0;return}z(j(Jk,this))&&this.opts.openOnHover.current&&this.root.opts.open.current&&(this.root.hoverCooldown=!0),this.root.hoverCooldown&&!this.root.opts.open.current&&(this.root.hoverCooldown=!1),this.root.toggleOpen()}}onkeydown(e){this.opts.disabled.current||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),k(Yk,this,eA).call(this),this.root.toggleOpen())}get props(){return z(j(Xk,this))}set props(e){P(j(Xk,this),e)}};function Qk(){j(Kk,this)!==null&&(this.domContext.clearTimeout(j(Kk,this)),A(Kk,this,null))}function $k(){j(qk,this)!==null&&(this.domContext.clearTimeout(j(qk,this)),A(qk,this,null))}function eA(){k(Yk,this,Qk).call(this),k(Yk,this,$k).call(this)}function tA(){if(this.root.opts.open.current&&this.root.contentNode?.id)return this.root.contentNode?.id}var nA=new WeakMap,rA=new WeakMap,iA=class e{static create(t){return new e(t,Nk.get())}constructor(e,t){x(this,`opts`,void 0),x(this,`root`,void 0),x(this,`attachment`,void 0),x(this,`onInteractOutside`,e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented||!oC(e.target))return;let t=e.target.closest(Mk.selector(`trigger`));if(!(t&&t===this.root.triggerNode)){if(this.opts.customAnchor.current){if(oC(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(e.target))return}else if(typeof this.opts.customAnchor.current==`string`){let t=document.querySelector(this.opts.customAnchor.current);if(t&&t.contains(e.target))return}}this.root.handleClose()}}),x(this,`onEscapeKeydown`,e=>{this.opts.onEscapeKeydown.current(e),!e.defaultPrevented&&this.root.handleClose()}),O(this,nA,M(()=>({open:this.root.opts.open.current}))),O(this,rA,M(()=>({id:this.opts.id.current,tabindex:-1,"data-state":XS(this.root.opts.open.current),...ZS(this.root.contentPresence.transitionStatus),[Mk.content]:``,style:{pointerEvents:`auto`,contain:`layout style`},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}))),x(this,`popperProps`,{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}),this.opts=e,this.root=t,this.attachment=JS(this.opts.ref,e=>this.root.contentNode=e),this.onpointerdown=this.onpointerdown.bind(this),this.onfocusin=this.onfocusin.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),new Sk({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&this.root.openedViaHover&&!this.root.hasInteractedWithContent,onPointerExit:()=>{this.root.handleDelayedHoverClose()}})}onpointerdown(e){this.root.markInteraction()}onfocusin(e){let t=e.target;oC(t)&&bw(t)&&this.root.markInteraction()}onpointerenter(e){cC(e)||this.root.cancelDelayedClose()}onpointerleave(e){cC(e)}get shouldRender(){return this.root.contentPresence.shouldRender}get shouldTrapFocus(){return!(this.root.openedViaHover&&!this.root.hasInteractedWithContent)}get snippetProps(){return z(j(nA,this))}set snippetProps(e){P(j(nA,this),e)}get props(){return z(j(rA,this))}set props(e){P(j(rA,this),e)}},aA=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`,`forceMount`,`onOpenAutoFocus`,`onCloseAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`customAnchor`,`style`]),oA=V(`<div><div><!></div></div>`);function sA(e,t){let n=fa();it(t,!0);let r=Z(t,`ref`,15,null),i=Z(t,`id`,19,()=>kC(n)),a=Z(t,`forceMount`,3,!1),o=Z(t,`onOpenAutoFocus`,3,OC),s=Z(t,`onCloseAutoFocus`,3,OC),c=Z(t,`onEscapeKeydown`,3,OC),l=Z(t,`onInteractOutside`,3,OC),u=Z(t,`trapFocus`,3,!0),d=Z(t,`preventScroll`,3,!1),f=Z(t,`customAnchor`,3,null),m=Y(t,aA),h=iA.create({id:Lb(()=>i()),ref:Lb(()=>r(),e=>r(e)),onInteractOutside:Lb(()=>l()),onEscapeKeydown:Lb(()=>c()),customAnchor:Lb(()=>f())}),g=M(()=>xx(m,h.props)),_=M(()=>u()&&h.shouldTrapFocus);function v(e){h.shouldTrapFocus||e.preventDefault(),o()(e)}var y=da(),b=I(y),x=e=>{ck(e,X(()=>z(g),()=>h.popperProps,{get ref(){return h.opts.ref},get enabled(){return h.root.opts.open.current},get id(){return i()},get trapFocus(){return z(_)},get preventScroll(){return d()},loop:!0,forceMount:!0,get customAnchor(){return f()},onOpenAutoFocus:v,get onCloseAutoFocus(){return s()},get shouldRender(){return h.shouldRender},popper:(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=M(()=>xx(r(),{style:fO(`popover`)},{style:t.style}));var o=da(),s=I(o),c=e=>{var n=da(),r=I(n);{let e=M(()=>({props:z(a),wrapperProps:i(),...h.snippetProps}));za(r,()=>t.child,()=>z(e))}H(e,n)},l=e=>{var n=oA();Oo(n,()=>({...i()}));var r=F(n);Oo(r,()=>({...z(a)})),za(F(r),()=>t.children??p),D(r),D(n),H(e,n)};W(s,e=>{t.child?e(c):e(l,-1)}),H(e,o)},$$slots:{popper:!0}}))},S=e=>{ok(e,X(()=>z(g),()=>h.popperProps,{get ref(){return h.opts.ref},get open(){return h.root.opts.open.current},get id(){return i()},get trapFocus(){return z(_)},get preventScroll(){return d()},loop:!0,forceMount:!1,get customAnchor(){return f()},onOpenAutoFocus:v,get onCloseAutoFocus(){return s()},get shouldRender(){return h.shouldRender},popper:(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=M(()=>xx(r(),{style:fO(`popover`)},{style:t.style}));var o=da(),s=I(o),c=e=>{var n=da(),r=I(n);{let e=M(()=>({props:z(a),wrapperProps:i(),...h.snippetProps}));za(r,()=>t.child,()=>z(e))}H(e,n)},l=e=>{var n=oA();Oo(n,()=>({...i()}));var r=F(n);Oo(r,()=>({...z(a)})),za(F(r),()=>t.children??p),D(r),D(n),H(e,n)};W(s,e=>{t.child?e(c):e(l,-1)}),H(e,o)},$$slots:{popper:!0}}))};W(b,e=>{a()?e(x):a()||e(S,1)}),H(e,y),at()}var cA=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`type`,`disabled`,`openOnHover`,`openDelay`,`closeDelay`]),lA=V(`<button><!></button>`);function uA(e,t){let n=fa();it(t,!0);let r=Z(t,`id`,19,()=>kC(n)),i=Z(t,`ref`,15,null),a=Z(t,`type`,3,`button`),o=Z(t,`disabled`,3,!1),s=Z(t,`openOnHover`,3,!1),c=Z(t,`openDelay`,3,700),l=Z(t,`closeDelay`,3,300),u=Y(t,cA),d=Zk.create({id:Lb(()=>r()),ref:Lb(()=>i(),e=>i(e)),disabled:Lb(()=>!!o()),openOnHover:Lb(()=>s()),openDelay:Lb(()=>c()),closeDelay:Lb(()=>l())}),f=M(()=>xx(u,d.props,{type:a()}));ZO(e,{get id(){return r()},get ref(){return d.opts.ref},children:(e,n)=>{var r=da(),i=I(r),a=e=>{var n=da();za(I(n),()=>t.child,()=>({props:z(f)})),H(e,n)},o=e=>{var n=lA();Oo(n,()=>({...z(f)})),za(F(n),()=>t.children??p),D(n),H(e,n)};W(i,e=>{t.child?e(a):e(o,-1)}),H(e,r)},$$slots:{default:!0}}),at()}function dA(e,t){it(t,!0);let n=Z(t,`open`,15,!1),r=Z(t,`onOpenChange`,3,OC),i=Z(t,`onOpenChangeComplete`,3,OC);Wk.create({open:Lb(()=>n(),e=>{n(e),r()(e)}),onOpenChangeComplete:Lb(()=>i())}),XO(e,{children:(e,n)=>{var r=da();za(I(r),()=>t.children??p),H(e,r)},$$slots:{default:!0}}),at()}var fA=V(`<!> `,1),pA=V(`<button type="button"> <!></button>`),mA=V(`<button type="button"> </button>`),hA=V(`<div role="group" aria-label="Presets"></div> <div class="mt-1 border-t border-line pt-2 px-2 pb-1"><div class="text-[11px] uppercase tracking-wide text-fg-subtle mb-1.5">Custom range</div> <label class="block text-[11px] text-fg-muted mb-1">From <input type="datetime-local" class="mt-0.5 w-full rounded border border-line bg-subtle px-1.5 py-1 text-xs text-fg focus:outline-none focus:border-accent"/></label> <label class="block text-[11px] text-fg-muted mb-2">To <input type="datetime-local" class="mt-0.5 w-full rounded border border-line bg-subtle px-1.5 py-1 text-xs text-fg focus:outline-none focus:border-accent"/></label> <div class="mb-2 border-t border-line pt-2"><div class="mb-1 text-[11px] text-fg-muted">Show times in</div> <div class="flex gap-1"></div> <div class="mt-1 text-[11px] text-fg-subtle"> </div></div> <button type="button">Apply</button></div>`,1),gA=V(`<!> <!>`,1);function _A(e,t){it(t,!0);let n=N(!1),r=M(()=>t.selection.type===`custom`?{start:t.selection.start,end:t.selection.end}:{start:Date.now()-15*6e4,end:Date.now()}),i=N(``),a=N(``);function o(e){P(n,e,!0),e&&(P(i,u(z(r).start),!0),P(a,u(z(r).end),!0))}function s(e){t.onChange({type:`preset`,preset:e}),P(n,!1)}function c(){let e=d(z(i)),r=d(z(a));e===null||r===null||(t.onChange({type:`custom`,start:e,end:r}),P(n,!1))}let l=M(()=>d(z(i))!==null&&d(z(a))!==null);function u(e){let t=new Date(e),n=e=>String(e).padStart(2,`0`);return`${t.getFullYear()}-${n(t.getMonth()+1)}-${n(t.getDate())}T${n(t.getHours())}:${n(t.getMinutes())}`}function d(e){if(!e)return null;let t=new Date(e).getTime();return Number.isFinite(t)?t:null}var f=da();Ba(I(f),()=>dA,(e,r)=>{r(e,{onOpenChange:o,get open(){return z(n)},set open(e){P(n,e,!0)},children:(e,n)=>{var r=gA(),o=I(r);{let e=M(()=>Q(`inline-flex items-center gap-1.5 px-2 py-1 text-xs rounded border`,`border-line bg-surface text-fg-muted hover:text-fg hover:bg-hover`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,t.class));Ba(o,()=>uA,(n,r)=>{r(n,{"aria-label":`Time window`,title:`Change the time window`,get class(){return z(e)},children:(e,n)=>{var r=fA(),i=I(r);Mp(i,{size:12});var a=L(i);R(e=>U(a,` ${e??``}`),[()=>Os(t.selection)]),H(e,r)},$$slots:{default:!0}})})}Ba(L(o,2),()=>RC,(e,n)=>{n(e,{children:(e,n)=>{var r=da();Ba(I(r),()=>sA,(e,n)=>{n(e,{sideOffset:6,align:`start`,class:`z-50 w-64 rounded-md border border-line bg-surface p-1 shadow-lg`,children:(e,n)=>{var r=hA(),o=I(r);G(o,21,()=>Ss,e=>e.id,(e,n)=>{let r=M(()=>t.selection.type===`preset`&&t.selection.preset===z(n).id);var i=pA(),a=F(i),o=L(a),c=e=>{bp(e,{size:12,class:`text-accent`})};W(o,e=>{z(r)&&e(c)}),D(i),R(e=>{J(i,`aria-current`,z(r)?`true`:void 0),q(i,1,e),U(a,`${z(n).label??``} `)},[()=>K(Q(`flex w-full items-center justify-between rounded px-2 py-1.5 text-xs`,`text-fg hover:bg-hover focus-visible:outline-none focus-visible:bg-hover`,z(r)&&`bg-selected font-medium`))]),B(`click`,i,()=>s(z(n).id)),H(e,i)}),D(o);var u=L(o,2),d=L(F(u),2),f=L(F(d));Co(f),D(d);var p=L(d,2),m=L(F(p));Co(m),D(p);var h=L(p,2),g=L(F(h),2);G(g,20,()=>[{id:`local`,label:`Local`},{id:`utc`,label:`UTC`}],e=>e.id,(e,t)=>{var n=mA(),r=F(n,!0);D(n),R(e=>{J(n,`aria-pressed`,Hu.value===t.id),q(n,1,e),U(r,t.label)},[()=>K(Q(`flex-1 rounded px-2 py-1 text-xs`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,Hu.value===t.id?`bg-accent text-white`:`border border-line text-fg-muted hover:text-fg`))]),B(`click`,n,()=>Hu.value=t.id),H(e,n)}),D(g);var _=L(g,2),v=F(_);D(_),D(h);var y=L(h,2);D(u),R((e,t)=>{U(v,`Currently ${e??``}`),y.disabled=!z(l),q(y,1,t)},[()=>Pg(Hu.value),()=>K(Q(`w-full rounded px-2 py-1 text-xs font-medium`,`bg-accent text-white hover:opacity-90`,`disabled:opacity-40 disabled:cursor-not-allowed`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`))]),Mo(f,()=>z(i),e=>P(i,e)),Mo(m,()=>z(a),e=>P(a,e)),B(`click`,y,c),H(e,r)},$$slots:{default:!0}})}),H(e,r)},$$slots:{default:!0}})}),H(e,r)},$$slots:{default:!0}})}),H(e,f),at()}na([`click`]);var vA=V(`<button type="button" aria-live="polite" title="Show the newest matches and follow new data again"><!> </button>`);function yA(e,t){it(t,!0);let n=M(()=>!t.live&&t.count>0),r=M(()=>t.count>999?`999+`:String(t.count));var i=da(),a=I(i),o=e=>{var n=vA(),i=F(n);ip(i,{size:12});var a=L(i);D(n),R(e=>{q(n,1,e),U(a,` ${z(r)??``} new`)},[()=>K(Q(`inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium`,`bg-accent text-white shadow-sm hover:opacity-90 focus-visible:outline-none`,`focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-1`,`transition-opacity`,t.class))]),B(`click`,n,function(...e){t.onResume?.apply(this,e)}),H(e,n)};W(a,e=>{z(n)&&e(o)}),H(e,i),at()}na([`click`]);async function bA(e,t){try{let n=await t.fetch(`${t.baseUrl}/api/query/${e}/fields`,{signal:t.signal});if(!n.ok)return[];let r=await n.json();return Array.isArray(r.fields)?r.fields:[]}catch{return[]}}async function xA(e,t,n){let r={query:t.query};t.window&&(r.window=t.window),t.limit!==void 0&&(r.limit=t.limit),t.cursor&&(r.cursor=t.cursor);let i;try{i=await n.fetch(e,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify(r),signal:n.signal})}catch(e){return CA(e)?{status:`aborted`}:{status:`error`,message:e instanceof Error?`Network error: ${e.message}`:`Network error`}}let a;try{a=await i.json()}catch{return{status:`error`,message:`Unexpected response from ${n.baseUrl} (not JSON)`}}if(i.status===400){let e=a.errors;return e?.length?{status:`invalid`,errors:e}:{status:`error`,message:`Invalid query request`}}return i.status===403?{status:`error`,message:`Forbidden: the devtools server rejected this origin. Open the viewer from the same machine.`}:i.ok?{status:`ok`,payload:a}:{status:`error`,message:`Server error: ${a.error??i.statusText}`}}async function SA(e,t){let n=await xA(`${t.baseUrl}/api/query/traces`,e,t);if(n.status!==`ok`)return n;let r=n.payload;return{status:`ok`,traces:r.traces??[],nextCursor:r.nextCursor??null}}function CA(e){return typeof e==`object`&&!!e&&`name`in e&&e.name===`AbortError`}async function wA(e,t){let n=await xA(`${t.baseUrl}/api/query/logs`,e,t);if(n.status!==`ok`)return n;let r=n.payload;return{status:`ok`,logs:r.logs??[],nextCursor:r.nextCursor??null}}async function TA(e,t){let n=await xA(`${t.baseUrl}/api/query/errors`,e,t);return n.status===`ok`?{status:`ok`,errors:n.payload.errors??[]}:n}async function EA(e,t){let n=await xA(`${t.baseUrl}/api/query/webmcp`,{query:``,...e},t);return n.status===`ok`?{status:`ok`,webmcp:n.payload.webmcp??{tools:[],summary:{installations:0,emptyInstallations:0,toolsOffered:0,toolsWithdrawn:0,calls:0,errors:0,resultBytes:0,envelopeBytes:0,toolsWithDroppedAnnotations:0,toolsWithoutInputSchema:0,toolsWithLabelMismatch:0,toolsRedefined:0,refusedCalls:0}}}:n}function DA(){return{reasons:{query:!1,scrolled:!1,selected:!1,window:!1},pending:0}}function OA(e){return!Object.values(e.reasons).some(Boolean)}function kA(e){return OA(e)?0:e.pending}function AA(e,t){switch(t.type){case`query-changed`:return jA(e,`query`,t.query.trim().length>0);case`scrolled`:return jA(e,`scrolled`,!t.atTop);case`row-selected`:return jA(e,`selected`,!0);case`row-deselected`:return jA(e,`selected`,!1);case`window-changed`:return jA(e,`window`,t.bounded);case`arrived`:return OA(e)?e:{...e,pending:Math.max(0,e.pending+t.count)};case`resumed`:return DA()}}function jA(e,t,n){if(e.reasons[t]===n)return e;let r={reasons:{...e.reasons,[t]:n},pending:e.pending};return OA(r)&&(r.pending=0),r}var MA={run:async(e,t)=>{let n=await SA(e,t);return n.status===`ok`?{status:`ok`,rows:n.traces,nextCursor:n.nextCursor}:n}},NA={run:async(e,t)=>{let n=await wA(e,t);return n.status===`ok`?{status:`ok`,rows:n.logs,nextCursor:n.nextCursor}:n}},PA=200,FA=100;function IA(e,t){let n=e.now??(()=>Date.now()),r=e.debounceMs??PA,i=e.pageSize??FA,a=new as(``),o=ml,s=new as([]),c=new as([]),l=new as(null),u=new as(!1),d=new as(!1),f=new as(null),p=new as(DA()),m=0,h=null,g=null;function _(e){p.value=AA(p.value,e)}async function v(r={}){let p=++m;h?.abort();let g=new AbortController;h=g,u.value=!0;let _=Es(o.value,n()),v=await t.run({query:a.value,window:Ms(_),limit:i,cursor:r.append?f.value??void 0:void 0},{fetch:e.client.fetch,baseUrl:typeof e.client.baseUrl==`function`?e.client.baseUrl():e.client.baseUrl,signal:g.signal});if(p===m)switch(u.value=!1,v.status){case`ok`:s.value=r.append?[...s.value,...v.rows]:v.rows,f.value=v.nextCursor,c.value=[],l.value=null,d.value=!0;return;case`invalid`:c.value=v.errors,l.value=null;return;case`error`:c.value=[],l.value=v.message;return;case`aborted`:return}}function y(){if(g&&clearTimeout(g),r<=0){v();return}g=setTimeout(()=>{g=null,v()},r)}return{text:a,window:o,results:s,errors:c,failure:l,loading:u,ready:d,nextCursor:f,tail:p,get live(){return OA(p.value)},get pending(){return kA(p.value)},setText(e){a.value=e,_({type:`query-changed`,query:e}),y()},submit(){g&&(clearTimeout(g),g=null),v()},refresh(){return g&&(clearTimeout(g),g=null),v()},setWindow(e){o.value=e,_({type:`window-changed`,bounded:!Ds(Es(e,n()))}),v()},setScrolledToTop(e){_({type:`scrolled`,atTop:e})},setSelected(e){_(e?{type:`row-selected`}:{type:`row-deselected`})},arrived(e){_({type:`arrived`,count:e}),OA(p.value)&&v()},resume(){_({type:`resumed`}),a.value=``,v()},loadMore(){!f.value||u.value||v({append:!0})},removeRows(e){s.value=s.value.filter(t=>!e(t))},dispose(){g&&clearTimeout(g),h?.abort()}}}function LA(e){return IA(e,MA)}function RA(e){return IA(e,NA)}function zA(e,t){let n=t,r=!0;if(typeof IntersectionObserver>`u`)return{update:e=>{n=e}};let i=new IntersectionObserver(e=>{let t=e[e.length-1];if(t){if(!t.isIntersecting){r=!0;return}!r||n.disabled||(r=!1,n.onReach())}},{root:n.root??null,rootMargin:n.rootMargin??`200px`});return i.observe(e),{update(e){let t=n.disabled;n=e,t&&!e.disabled&&(r=!0)},destroy(){i.disconnect()}}}function BA(e){let t=e.target;return/^(INPUT|TEXTAREA|SELECT)$/.test(t.tagName)||t.isContentEditable}function VA(e,t){return e>t-1?t-1:e}function HA(e,t,n,r){return n===0?e:e<0?t>0?0:r===`last`?n-1:0:Math.min(Math.max(e+t,0),n-1)}function UA(e){let{count:t,onActivate:n,scrollToIndex:r,fromUnsetUp:i=`first`}=e,a=N(-1),o=M(()=>VA(z(a),t())),s=e=>{t()!==0&&(P(a,HA(z(o),e,t(),i),!0),r?.(z(a)))};return{get cursor(){return z(o)},set cursor(e){P(a,e,!0)},onKeyDown:e=>{BA(e)||(e.key===`ArrowDown`||e.key===`j`?(e.preventDefault(),s(1)):e.key===`ArrowUp`||e.key===`k`?(e.preventDefault(),s(-1)):e.key===`Enter`&&z(o)>=0&&z(o)<t()&&(e.preventDefault(),n(z(o))))}}}var WA=V(`<button><span class="truncate"> </span> <!></button>`),GA=V(`<span class="flex-shrink-0 px-1.5 py-0.5 rounded bg-warning-bg text-warning text-[10px] font-medium uppercase tracking-wide" title="Partial trace: the root span has not arrived, so this row shows the highest span received and a duration covering only that part.">partial</span>`),KA=V(`<div role="option" tabindex="-1" data-focus-inset=""><label class="cursor-pointer flex items-center"><input type="checkbox" class="w-3.5 h-3.5 rounded border-line text-accent"/></label> <button type="button"> </button> <div class="flex items-center gap-1.5 min-w-0"><!> <span class="truncate text-sm text-fg"> </span> <!> <!></div> <span class="font-mono text-xs text-fg-muted text-right tabular-nums"> </span> <span class="trace-col-spans font-mono text-xs text-fg-subtle text-right tabular-nums"> </span> <span class="trace-col-time font-mono text-[11px] text-fg-subtle truncate"> </span> <span> </span> <!></div>`),qA=V(`<span class="text-xs font-normal text-accent"> </span>`),JA=V(`<div class="flex items-center gap-1 mr-2 px-2 border-r border-line"><button class="flex items-center gap-1 px-2 py-1 text-xs rounded bg-accent/10 text-accent hover:bg-accent/20 transition-colors" title="Export selected traces"><!> </button> <button class="flex items-center gap-1 px-2 py-1 text-xs rounded bg-danger-bg text-danger hover:bg-danger-bg/80 transition-colors" title="Delete selected traces"><!> Delete</button></div>`),YA=V(`<button class="px-2 py-1 text-xs rounded text-fg-subtle hover:bg-hover transition-colors" title="Drop buffered traces received while paused">Drop buffer</button>`),XA=V(`<button class="p-1.5 hover:bg-hover rounded transition-colors" title="Export all traces as JSON"><!></button>`),ZA=V(`<div class="text-center text-fg-subtle text-sm py-12">Loading traces…</div>`),QA=V(`<div class="mx-auto flex max-w-2xl flex-col items-center gap-3 px-6 py-12 text-center text-sm text-fg-subtle"><p class="font-medium text-fg">No traces yet — send telemetry to get started</p> <p class="max-w-lg text-xs text-fg-muted">Both standard OTLP transports are ready. Existing SDK defaults
12
12
  usually work unchanged.</p> <div class="grid w-full gap-2 text-left md:grid-cols-2"><div class="rounded-md border border-line bg-subtle p-3"><div class="mb-1 text-[11px] font-semibold uppercase tracking-wide">OTLP/gRPC</div> <code class="break-all text-xs text-fg">OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317</code></div> <div class="rounded-md border border-line bg-subtle p-3"><div class="mb-1 text-[11px] font-semibold uppercase tracking-wide">OTLP/HTTP</div> <code class="break-all text-xs text-fg">OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318</code></div></div></div>`),$A=V(`<div class="text-center text-fg-subtle text-sm py-12">No traces match the current filter.</div>`),ej=V(`<div class="px-4 py-3 text-center text-xs text-fg-subtle"> </div>`),tj=V(`<div><div class="trace-grid sticky top-0 z-10 px-4 py-2 border-b border-line bg-subtle text-[11px] font-semibold uppercase tracking-wide text-fg-subtle"><label class="cursor-pointer flex items-center"><input type="checkbox" class="w-3.5 h-3.5 rounded border-line text-accent"/></label> <!> <!> <!> <!> <!> <!> <span></span></div> <!> <!></div>`),nj=V(`<div class="flex flex-col h-full"><div class="px-4 py-3 border-b border-line flex items-center justify-between gap-2"><h3 class="text-sm font-semibold flex items-center gap-2 text-fg"><!> <!></h3> <div class="flex items-center gap-1"><!> <button><!> </button> <!> <button class="p-1.5 hover:bg-hover rounded transition-colors" title="Import traces from file"><!></button> <!> <button class="p-1.5 hover:bg-hover rounded transition-colors" title="Keyboard shortcuts (?)"><!></button></div></div> <div class="px-4 py-2 border-b border-line flex items-center gap-2"><!> <!> <!> <select class="text-xs border border-line rounded px-1.5 py-1 bg-surface text-fg-muted"><option>All</option><option>Errors</option><option>OK</option></select> <!> <div class="flex items-center text-xs text-fg-subtle flex-shrink-0" title="Only show traces at least this slow"><span class="mr-1">≥</span> <input type="number" placeholder="0" class="w-14 px-1 py-1 rounded border border-line bg-surface text-fg-muted focus:outline-none"/> <span class="ml-1">ms</span></div></div> <div class="trace-list-container flex-1 overflow-auto focus:outline-none" role="listbox" aria-label="Traces" tabindex="0"><!></div> <!></div>`);function rj(e,t){it(t,!0);let n=(e,t=p,n=p,r=p,i=p)=>{let a=M(()=>z(s).key===n());var o=WA(),c=F(o),l=F(c,!0);D(c);var u=L(c,2),d=e=>{var t=da(),n=I(t),r=e=>{ip(e,{size:11,class:`flex-shrink-0`})},i=e=>{Qf(e,{size:11,class:`flex-shrink-0`})};W(n,e=>{z(s).dir===`asc`?e(r):e(i,-1)}),H(e,t)};W(u,e=>{z(a)&&e(d)}),D(o),R((e,n)=>{q(o,1,e),J(o,`title`,n),U(l,t())},[()=>K(Q(`flex items-center gap-1 min-w-0 transition-colors hover:text-fg-muted`,z(a)?`text-fg-muted`:`text-fg-subtle`,r()===`end`&&`justify-end`,i())),()=>`Sort by ${t().toLowerCase()}`]),B(`click`,o,()=>Vl(n())),H(e,o)},r=(e,t=p,n=p,r=p)=>{let i=M(()=>t().status===`ERROR`),a=M(()=>mg(t().service||`unknown`)),o=M(()=>oe.cursor===r());var s=KA(),c=M(()=>yg(()=>Nu(t().traceId))),l=F(s),u=F(l);Co(u),D(l);var d=L(l,2),f=F(d,!0);D(d);var m=L(d,2),h=F(m),g=e=>{Op(e,{size:13,class:`text-danger flex-shrink-0`})};W(h,e=>{z(i)&&e(g)});var v=L(h,2),y=F(v,!0);D(v);var b=L(v,2),x=e=>{H(e,GA())};W(b,e=>{t().partial&&e(x)}),Z_(L(b,2),{get value(){return t().traceId},label:`Copy trace ID`,class:`opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity`}),D(m);var S=L(m,2),C=F(S,!0);D(S);var w=L(S,2),T=F(w,!0);D(w);var ee=L(w,2),te=F(ee,!0);D(ee);var ne=L(ee,2),re=F(ne,!0);D(ne),Ep(L(ne,2),{size:15,class:`text-fg-subtle justify-self-end`}),D(s),R((e,i,c,l,p)=>{q(s,1,e),J(s,`aria-selected`,z(o)),J(s,`data-row-index`,r()),To(u,n()),q(d,1,i),co(d,`background-color: ${z(a).fill??``}; color: ${z(a).stroke??``};`),J(d,`title`,`Filter by ${t().service||`unknown`}`),U(f,t().service||`unknown`),J(v,`title`,t().rootSpan.name),U(y,t().rootSpan.name||`unknown`),U(C,c),U(T,t().spans.length),U(te,l),q(ne,1,p),U(re,t().status)},[()=>K(Q(`group trace-grid px-4 py-2 border-b border-line-subtle cursor-pointer transition-colors`,`row-virtual`,n()?`bg-accent/10`:z(i)?`bg-danger-bg/40 hover:bg-danger-bg/70`:`hover:bg-hover`,z(o)&&`ring-1 ring-inset ring-accent bg-accent/10`)),()=>K(Q(`text-[11px] font-medium px-2 py-0.5 rounded truncate text-left transition-shadow`,z(_).has(t().service||`unknown`)&&`ring-1 ring-inset ring-accent`)),()=>ad(t().duration),()=>od(t().startTime),()=>K(Q(`text-[10px] font-semibold px-1.5 py-0.5 rounded justify-self-start`,z(i)?`bg-danger-bg text-danger`:t().status===`OK`?`bg-success-bg text-success`:`bg-hover text-fg-muted`))]),B(`click`,s,()=>{oe.cursor=r(),Nu(t().traceId)}),B(`keydown`,s,function(...e){z(c)?.apply(this,e)}),B(`click`,u,e=>e.stopPropagation()),B(`change`,u,()=>du(t().traceId)),B(`click`,d,e=>{e.stopPropagation(),Ll(t().service||`unknown`)}),H(e,s)};function i(e,t,n,r,i){return n===`error`&&e.status!==`ERROR`||n===`ok`&&e.status===`ERROR`||r>0&&e.duration<r||i.size>0&&!i.has(e.service||`unknown`)?!1:L_(t.toLowerCase(),[e.service,e.rootSpan?.name,e.traceId,e.correlationId,...e.spans.map(e=>e.name)])}let a=M(()=>Kl.value),o=M(()=>vl.value),s=M(()=>Ml.value),c=M(()=>lu.value),l=M(()=>wl.value),u=M(()=>Dl.value),d=M(()=>uu.value),f=M(()=>hu.value),m=M(()=>Nl.value),h=M(()=>Pl.value),g=M(()=>Fl.value),_=M(()=>Il.value),v=M(()=>{let e=new Map;for(let t of z(a)){let n=t.service||`unknown`;e.set(n,(e.get(n)??0)+1)}return{key:`service`,label:`Service`,options:[...e.entries()].map(([e,t])=>({value:e,count:t})),selected:z(_),onToggle:Ll}}),y=M(()=>z(v).options.length>1),b=N(null),x=N(!1),S=M(()=>z(f)>0);zr(()=>{if(z(c))return;let e=e=>{if(!($c.value||z(x))){if(e.key===`/`&&!vg()){e.preventDefault(),z(b)?.focus();return}e.key===`Escape`&&(z(S)?pu():document.activeElement===z(b)&&(Nl.value=``,C.setText(``))),e.key===`a`&&(e.metaKey||e.ctrlKey)&&!vg()&&(e.preventDefault(),fu())}};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)});let C=LA({client:{fetch:globalThis.fetch.bind(globalThis),baseUrl:w}});function w(){let e=pl.value;return(e?$o(e):null)??globalThis.location.origin}zr(()=>()=>C.dispose());let T=N(null),ee=N(yr([]));zr(()=>{let e=w();e!==z(T)&&(P(T,e,!0),bA(`traces`,{fetch:globalThis.fetch.bind(globalThis),baseUrl:e}).then(e=>P(ee,e,!0)),!C.ready.value&&Nl.value?C.setText(Nl.value):C.refresh())});let te=N(0);zr(()=>{let e=z(a).length;e>z(te)&&C.arrived(e-z(te)),P(te,e,!0)}),zr(()=>{C.setSelected(z(c)!=null)});let ne=M(()=>C.results.value),re=M(()=>{let e=C.ready.value&&C.failure.value===null,t=z(o);return e&&(t=z(m).length>0?z(ne):ie(z(ne),z(o))),t.filter(t=>i(t,e?``:z(m),z(h),z(g),z(_)))});function ie(e,t){let n=new Set(e.map(e=>e.traceId));return[...e,...t.filter(e=>!n.has(e.traceId))]}let ae=N(void 0),oe=UA({count:()=>z(re).length,onActivate:e=>{let t=z(re)[e];t&&Nu(t.traceId)},scrollToIndex:e=>queueMicrotask(()=>{z(ae)?.querySelector(`[data-row-index="${e}"]`)?.scrollIntoView({block:`nearest`})})});function se(){let e=z(re).filter(e=>z(d).has(e.traceId));e.length>0&&Ly(e)}async function ce(){let e=[...z(d)];if(!(e.length===0||!globalThis.confirm(`Delete ${e.length} stored trace${e.length===1?``:`s`}?`)))try{await fetch(`${w()}/api/traces`,{method:`DELETE`,headers:{"content-type":`application/json`},body:JSON.stringify({traceIds:e})})}catch{}finally{let t=new Set(e);C.removeRows(e=>t.has(e.traceId)),mu()}}let le=M(()=>z(m).length>0||z(h)!==`all`||z(g)>0||z(_).size>0),E=M(()=>z(re).length>0&&z(re).every(e=>z(d).has(e.traceId)));var ue=da(),de=I(ue),fe=e=>{rb(e,{get trace(){return z(c)}})},pe=e=>{var t=nj(),i=F(t),o=F(i),s=F(o);Hp(s,{size:16});var c=L(s),p=L(c),m=e=>{var t=qA(),n=F(t);D(t),R(()=>U(n,`(${z(f)??``} selected)`)),H(e,t)};W(p,e=>{z(S)&&e(m)}),D(o);var _=L(o,2),w=F(_),T=e=>{var t=JA(),n=F(t),r=F(n);Kp(r,{size:12});var i=L(r);D(n);var a=L(n,2);Bh(F(a),{size:12}),Ke(),D(a),D(t),R(()=>U(i,` Export (${z(f)??``})`)),B(`click`,n,se),B(`click`,a,ce),H(e,t)};W(w,e=>{z(S)&&e(T)});var te=L(w,2),ne=F(te),ie=e=>{ih(e,{size:12})},ue=e=>{eh(e,{size:12})};W(ne,e=>{z(l)?e(ie):e(ue,-1)});var de=L(ne);D(te);var fe=L(te,2),pe=e=>{var t=YA();B(`click`,t,function(...e){Ou?.apply(this,e)}),H(e,t)};W(fe,e=>{z(l)&&z(u)>0&&e(pe)});var me=L(fe,2);Kh(F(me),{size:14,class:`text-fg-subtle`}),D(me);var he=L(me,2),ge=e=>{var t=XA();Kp(F(t),{size:14,class:`text-fg-subtle`}),D(t),B(`click`,t,()=>Ly(z(re))),H(e,t)};W(he,e=>{z(re).length>0&&e(ge)});var _e=L(he,2);Ap(F(_e),{size:14,class:`text-fg-subtle`}),D(_e),D(_),D(i);var ve=L(i,2),ye=F(ve);Ab(ye,{get value(){return C.text.value},onInput:e=>{C.setText(e),Nl.value=e},onSubmit:()=>C.submit(),get serverErrors(){return C.errors.value},get fields(){return z(ee)},class:`flex-1`,get ref(){return z(b)},set ref(e){P(b,e,!0)}});var be=L(ye,2);_A(be,{get selection(){return C.window.value},onChange:e=>C.setWindow(e)});var xe=L(be,2);yA(xe,{get count(){return C.pending},get live(){return C.live},onResume:()=>{Nl.value=``,C.resume()}});var Se=L(xe,2),Ce=F(Se);Ce.value=Ce.__value=`all`;var we=L(Ce);we.value=we.__value=`error`;var Te=L(we);Te.value=Te.__value=`ok`,D(Se);var Ee;uo(Se);var De=L(Se,2),Oe=e=>{{let t=M(()=>[z(v)]);hb(e,{get facets(){return z(t)},get onClearAll(){return Rl}})}};W(De,e=>{z(y)&&e(Oe)});var ke=L(De,2),Ae=L(F(ke),2);Co(Ae),J(Ae,`min`,0),J(Ae,`step`,50),Ke(2),D(ke),D(ve);var je=L(ve,2),Me=F(je),Ne=e=>{H(e,ZA())},Pe=e=>{H(e,QA())},Fe=e=>{H(e,$A())},Ie=e=>{var t=tj(),i=F(t),a=F(i),o=F(a);Co(o),D(a);var s=L(a,2);n(s,()=>`Service`,()=>`service`);var c=L(s,2);n(c,()=>`Operation`,()=>`name`);var l=L(c,2);n(l,()=>`Duration`,()=>`duration`,()=>`end`);var u=L(l,2);n(u,()=>`Spans`,()=>`spans`,()=>`end`,()=>`trace-col-spans`);var f=L(u,2);n(f,()=>`Time`,()=>`time`,()=>void 0,()=>`trace-col-time`);var p=L(f,2);n(p,()=>`Status`,()=>`status`),Ke(2),D(i);var m=L(i,2);G(m,19,()=>z(re),e=>e.traceId,(e,t,n)=>{{let i=M(()=>z(d).has(z(t).traceId));r(e,()=>z(t),()=>z(i),()=>z(n))}});var h=L(m,2),g=e=>{var t=ej(),n=F(t,!0);D(t),Qa(t,(e,t)=>zA?.(e,t),()=>({onReach:()=>C.loadMore(),disabled:C.loading.value})),R(()=>U(n,C.loading.value?`Loading…`:`Scroll for more`)),H(e,t)};W(h,e=>{C.nextCursor.value&&e(g)}),D(t),R(()=>{J(a,`title`,z(E)?`Clear selection`:`Select all`),To(o,z(E))}),B(`click`,o,e=>e.stopPropagation()),B(`change`,o,()=>z(E)?pu():fu()),H(e,t)};W(Me,e=>{C.loading.value&&!C.ready.value&&z(a).length===0?e(Ne):z(re).length===0&&!z(le)?e(Pe,1):z(re).length===0?e(Fe,2):e(Ie,-1)}),D(je),Uo(je,e=>P(ae,e),()=>z(ae));var Le=L(je,2),Re=e=>{Dg(e,{onclose:()=>P(x,!1),onimport:async e=>{try{let t=Hy(await Gy(e));return t.success&&t.traces.length>0?(Vu(t.traces),{imported:t.traces.length,errors:[],warnings:t.warnings}):{imported:0,errors:t.errors,warnings:t.warnings}}catch(e){return{imported:0,errors:[String(e)],warnings:[]}}}})};W(Le,e=>{z(x)&&e(Re)}),D(t),R(e=>{U(c,` Traces (${(z(le)?`${z(re).length} of ${z(a).length}`:z(a).length)??``}) `),q(te,1,e),J(te,`title`,z(l)?`Resume live tail`:`Pause live tail`),U(de,` ${z(l)?`Resume${z(u)>0?` (+${z(u)})`:``}`:`Pause`}`),Ee!==(Ee=z(h))&&(Se.value=(Se.__value=z(h))??``,lo(Se,z(h))),wo(Ae,z(g)||``)},[()=>K(Q(`flex items-center gap-1 px-2 py-1 text-xs rounded transition-colors`,z(l)?`bg-warning-bg text-warning hover:bg-warning-bg/80`:`hover:bg-hover text-fg-muted`))]),B(`click`,te,function(...e){Du?.apply(this,e)}),B(`click`,me,()=>P(x,!0)),B(`click`,_e,()=>el(gg)),B(`change`,Se,e=>Pl.value=e.currentTarget.value),B(`input`,Ae,e=>Fl.value=Number(e.currentTarget.value)||0),B(`keydown`,je,function(...e){oe.onKeyDown?.apply(this,e)}),H(e,t)};W(de,e=>{z(c)?e(fe):e(pe,-1)}),H(e,ue),at()}na([`click`,`keydown`,`change`,`input`]);var ij=(e,t=p,n=p,r=p)=>{let i=M(t);var a=aj(),o=F(a);Ba(o,()=>z(i),(e,t)=>{t(e,{size:12})});var s=L(o,1,!0);D(a),R(()=>{q(a,1,`flex items-center gap-1 px-2 py-1 bg-subtle rounded-md ${r()??``}`),U(s,n())}),H(e,a)},aj=V(`<span><!> </span>`),oj=V(`<span class="ml-1 px-2 py-0.5 text-xs font-medium bg-violet-100 text-violet-700 rounded-full"> </span>`),sj=V(`<div class="flex-1 flex flex-col items-center justify-center text-center gap-4 px-6"><!> <div class="max-w-md"><p class="text-sm font-medium text-fg">Waiting for coding-agent telemetry</p> <p class="text-xs text-fg-muted mt-1.5">Launch Claude Code wired to this receiver and its sessions, tokens,
13
13
  cost, tool, MCP, sub-agent &amp; skill usage will appear here.</p></div> <div class="flex items-center gap-2 bg-subtle border border-line rounded-md px-3 py-2 font-mono text-xs text-fg"><!> <span></span> <!></div> <p class="text-[11px] text-fg-muted/80 max-w-md">Uses OTLP <span class="font-mono">http/protobuf</span> on <span class="font-mono">:4318</span>. Standard OTLP/gRPC exporters can
14
14
  connect on <span class="font-mono">:4317</span>.</p></div>`),cj=V(`<span class="flex items-center gap-1 px-2 py-1 bg-subtle rounded-md text-red-600"><!> </span>`),lj=V(`<span class="px-2 py-1 bg-subtle rounded-md text-fg-muted font-mono"> </span>`),uj=V(`<button><div class="flex items-center justify-between gap-2"><span class="font-mono text-xs text-fg truncate"> </span> <span class="text-[11px] text-fg-muted"> </span></div> <div class="flex items-center gap-2 mt-1 text-[11px] text-fg-muted"><span> </span> <span>·</span> <span> </span> <span>·</span> <span> </span></div></button>`),dj=V(`<span class="text-[11px] text-fg-muted"> </span>`),fj=V(`<span class="text-amber-500" title="includes estimated cost">~</span>`),pj=V(`<span class="px-2 py-0.5 bg-subtle rounded text-fg-muted flex items-center gap-1 border border-line" title="Context was replaced by a summary — inferred from token counts, not reported by the agent"><!> </span>`),mj=V(`<span class="px-2 py-0.5 bg-subtle rounded text-fg flex items-center gap-1"><!> </span>`),hj=V(`<span class="px-2 py-0.5 bg-subtle rounded text-fg"> </span>`),gj=V(`<span class="text-red-500"> </span>`),_j=V(`<span> </span>`),vj=V(`<div class="flex items-center justify-between text-xs"><span class="font-mono text-fg truncate flex items-center gap-1.5"><!> <!> <!> </span> <span class="text-fg-muted flex items-center gap-2 flex-shrink-0"><span> </span> <!> <!></span></div>`),yj=V(`<div class="p-3 border-b border-line"><div class="text-[11px] font-semibold text-fg-muted uppercase mb-2">Tools &amp; MCP</div> <div class="flex flex-col gap-1"></div></div>`),bj=V(`<div class="flex items-center justify-between text-xs"><span class="font-mono text-fg truncate flex items-center gap-1.5"><!> </span> <span class="text-fg-muted flex items-center gap-2 flex-shrink-0"><span></span> <!> <!></span></div>`),xj=V(`<span class="text-fg-muted flex-shrink-0"> </span>`),Sj=V(`<div class="flex items-center justify-between text-xs"><span class="font-mono text-fg truncate flex items-center gap-1.5"><!> </span> <!></div>`),Cj=V(`<span class="text-amber-600"> </span>`),wj=V(`<div class="flex items-center justify-between text-xs"><span class="font-mono text-fg flex items-center gap-1.5"><!> hooks</span> <span class="text-fg-muted flex items-center gap-2 flex-shrink-0"><span> </span> <!> <!></span></div>`),Tj=V(`<div class="p-3 border-b border-line"><div class="text-[11px] font-semibold text-fg-muted uppercase mb-2">Runtime environment</div> <div class="flex flex-col gap-1"><!> <!> <!></div></div>`),Ej=V(`<!>Hide prompts`,1),Dj=V(`<!>Reveal prompts`,1),Oj=V(`<div><!> <span class="whitespace-nowrap"> </span> <span></span></div>`),kj=V(`<!> <div class="flex items-center gap-2 text-xs py-1 border-b border-line/50"><span class="text-fg-muted tabular-nums flex-shrink-0"> </span> <span> </span> <span class="text-fg truncate"> </span> <span class="text-fg-muted truncate ml-auto text-right"> </span></div>`,1),Aj=V(`<div class="p-3 border-b border-line"><div class="flex items-center justify-between gap-2"><span class="font-mono text-xs text-fg"> </span> <!></div> <div class="flex flex-wrap gap-2 mt-2 text-[11px]"><span class="px-2 py-0.5 bg-subtle rounded text-fg"> <!></span> <span class="px-2 py-0.5 bg-subtle rounded text-fg"> </span> <span class="px-2 py-0.5 bg-subtle rounded text-fg"> </span> <!> <span class="px-2 py-0.5 bg-subtle rounded text-fg flex items-center gap-1"><!> </span> <!> <!></div></div> <!> <!> <div class="p-3"><div class="flex items-center justify-between mb-2"><div class="text-[11px] font-semibold text-fg-muted uppercase">Timeline</div> <button class="flex items-center gap-1 text-[11px] text-fg-muted hover:text-fg" title="Reveal / hide captured prompt text"><!></button></div> <div class="flex flex-col gap-1"></div></div>`,1),jj=V(`<div class="flex flex-wrap gap-2 p-3 border-b border-line text-xs"><span class="flex items-center gap-1 px-2 py-1 bg-subtle rounded-md text-fg"><!> </span> <span class="flex items-center gap-1 px-2 py-1 bg-subtle rounded-md text-fg"><!> </span> <span class="flex items-center gap-1 px-2 py-1 bg-subtle rounded-md text-fg"><!> <!> </span> <!> <!> <!> <!> <!> <!></div> <div class="flex-1 flex min-h-0"><div class="w-64 flex-shrink-0 overflow-y-auto border-r border-line"></div> <div class="flex-1 overflow-y-auto min-w-0"><!></div></div>`,1),Mj=V(`<div class="flex flex-col h-full"><div class="flex items-center justify-between p-4 pb-3 border-b border-line"><h3 class="text-sm font-semibold flex items-center gap-2 text-fg"><!> Agents <!></h3></div> <!></div>`);function Nj(e,t){it(t,!0);let n=M(()=>Xl.value),r=M(()=>Ql.value),i=M(()=>Zl.value),a=N(!1);function o(e){return e===0?`$0`:e<.01?`$${e.toFixed(4)}`:`$${e.toFixed(2)}`}function s(e){return e.length>12?`${e.slice(0,8)}…${e.slice(-4)}`:e}function c(e){return Object.entries(e).filter(([,e])=>e>0).sort((e,t)=>t[1]-e[1])}function l(e){switch(e.type){case`api_request`:return e.model??`api request`;case`api_error`:return`api error`;case`tool_result`:case`tool_decision`:return e.tool?.name??`tool`;case`user_prompt`:return`prompt`;case`mcp_connection`:return e.mcpServerName??`mcp server`;case`plugin_loaded`:return e.pluginName??`plugin`;case`hook_execution`:return e.hookName??`hook`;default:return e.rawEventName}}function u(e){let t=[];if(e.type===`api_request`){e.costUsd!==void 0&&t.push(o(e.costUsd));let n=(e.inputTokens??0)+(e.outputTokens??0);n>0&&t.push(`${sd(n)} tok`),e.durationMs&&t.push(ad(e.durationMs))}else e.type===`tool_result`?(e.tool?.isMcp&&e.tool.mcpServer?t.push(`mcp:${e.tool.mcpServer}`):e.tool&&t.push(e.tool.category),e.success===!1&&t.push(`failed`),e.durationMs&&t.push(ad(e.durationMs))):e.type===`tool_decision`?e.tool&&t.push(e.tool.category):e.type===`user_prompt`?e.promptText?t.push(z(a)?dd(e.promptText):`${e.promptLength??e.promptText.length} chars (hidden)`):e.promptLength!==void 0&&t.push(`${e.promptLength} chars`):e.type===`api_error`?(e.statusCode&&t.push(String(e.statusCode)),e.errorMessage&&t.push(e.errorMessage)):e.type===`mcp_connection`?(e.mcpStatus&&t.push(e.mcpStatus),e.mcpTransport&&t.push(e.mcpTransport),e.durationMs&&t.push(ad(e.durationMs))):e.type===`plugin_loaded`?e.pluginVersion&&t.push(`v${e.pluginVersion}`):e.type===`hook_execution`&&(e.hookBlocked&&t.push(`${e.hookBlocked} blocked`),e.hookErrored&&t.push(`${e.hookErrored} errored`));return t.join(` · `)}function d(e){return e.rollup.inputTokens+e.rollup.outputTokens}let f=M(()=>z(r)?[...z(r).timeline].reverse().slice(0,200):[]),p=M(()=>z(r)?Object.values(z(r).rollup.tools).sort((e,t)=>t.count-e.count):[]),m=M(()=>z(r)?Object.values(z(r).rollup.mcpConnections):[]),h=M(()=>z(r)?Object.values(z(r).rollup.plugins):[]),g=M(()=>z(r)?.rollup.hooks),v=M(()=>z(r)?.rollup.compactions??[]),y=M(()=>new Map(z(v).map(e=>[e.atEventId,e]))),b=M(()=>z(v).reduce((e,t)=>e+t.droppedTokens,0)),x=M(()=>z(m).length>0||z(h).length>0||z(g)!==void 0&&z(g).runs>0);var S=Mj(),C=F(S),w=F(C),T=F(w);cp(T,{size:16,class:`text-violet-500`});var ee=L(T,2),te=e=>{var t=oj(),r=F(t,!0);D(t),R(()=>U(r,z(n).length)),H(e,t)};W(ee,e=>{z(n).length>0&&e(te)}),D(w),D(C);var ne=L(C,2),re=e=>{var t=sj(),n=F(t);cp(n,{size:40,class:`text-fg-muted opacity-40`});var r=L(n,4),i=F(r);Rh(i,{size:13,class:`text-fg-muted flex-shrink-0`});var a=L(i,2);a.textContent=`npx autotel-devtools claude`,Z_(L(a,2),{value:`npx autotel-devtools claude`,label:`Copy launch command`}),D(r),Ke(2),D(t),H(e,t)},ie=e=>{var t=jj(),S=I(t),C=F(S),w=F(C);Wp(w,{size:12,class:`text-emerald-500`});var T=L(w,1,!0);D(C);var ee=L(C,2),te=F(ee);Ip(te,{size:12,class:`text-amber-500`});var ne=L(te);D(ee);var re=L(ee,2),ie=F(re);bp(ie,{size:12,class:`text-emerald-500`});var ae=L(ie),oe=L(ae);ng(oe,{size:12,class:`text-red-500 ml-1`});var se=L(oe,1,!0);D(re);var ce=L(re,2),le=e=>{var t=cj(),n=F(t);Wh(n,{size:12});var r=L(n);D(t),R(()=>U(r,`${z(i).apiErrors??``} errors`)),H(e,t)};W(ce,e=>{z(i).apiErrors>0&&e(le)});var E=L(ce,2);G(E,17,()=>c(z(i).toolCategories),([e,t])=>e,(e,t)=>{var n=M(()=>_(z(t),2));let r=()=>z(n)[0],i=()=>z(n)[1];ij(e,()=>eg,()=>`${r()} ${i()}`,()=>`text-fg-muted`)});var ue=L(E,2);G(ue,17,()=>c(z(i).mcpServers),([e,t])=>e,(e,t)=>{var n=M(()=>_(z(t),2));let r=()=>z(n)[0],i=()=>z(n)[1];ij(e,()=>wh,()=>`mcp:${r()} ${i()}`,()=>`text-sky-600`)});var de=L(ue,2);G(de,17,()=>c(z(i).subAgents),([e,t])=>e,(e,t)=>{var n=M(()=>_(z(t),2));let r=()=>z(n)[0],i=()=>z(n)[1];ij(e,()=>cp,()=>`${r()} ${i()}`,()=>`text-violet-600`)});var fe=L(de,2);G(fe,17,()=>c(z(i).skills),([e,t])=>e,(e,t)=>{var n=M(()=>_(z(t),2));let r=()=>z(n)[0],i=()=>z(n)[1];ij(e,()=>Mh,()=>`${r()} ${i()}`,()=>`text-fuchsia-600`)}),G(L(fe,2),17,()=>c(z(i).models),([e,t])=>e,(e,t)=>{var n=M(()=>_(z(t),2));let r=()=>z(n)[0],i=()=>z(n)[1];var a=lj(),o=F(a);D(a),R(()=>U(o,`${r()??``} ×${i()??``}`)),H(e,a)}),D(S);var pe=L(S,2),me=F(pe);G(me,21,()=>z(n),e=>e.id,(e,t)=>{var n=uj(),i=F(n),a=F(i),c=F(a,!0);D(a);var l=L(a,2),u=F(l,!0);D(l),D(i);var f=L(i,2),p=F(f),m=F(p,!0);D(p);var h=L(p,4),g=F(h);D(h);var _=L(h,4),v=F(_,!0);D(_),D(f),D(n),R((e,i,a,o)=>{q(n,1,`w-full text-left px-3 py-2.5 border-b border-line hover:bg-subtle transition-colors ${z(r)?.id===z(t).id?`bg-subtle`:``}`),U(c,e),U(u,z(t).agent),U(m,i),U(g,`${a??``} tok`),U(v,o)},[()=>s(z(t).id),()=>o(z(t).rollup.costUsd),()=>sd(d(z(t))),()=>ad(z(t).lastSeen-z(t).firstSeen)]),B(`click`,n,()=>$l(z(t).id)),H(e,n)}),D(me);var he=L(me,2),ge=F(he),_e=e=>{var t=Aj(),n=I(t),i=F(n),s=F(i),c=F(s,!0);D(s);var d=L(s,2),_=e=>{var t=dj(),n=F(t);D(t),R(()=>U(n,`${z(r).terminal??``??``}${z(r).appVersion?` · v${z(r).appVersion}`:``}`)),H(e,t)};W(d,e=>{(z(r).terminal||z(r).appVersion)&&e(_)}),D(i);var S=L(i,2),C=F(S),w=F(C),T=L(w),ee=e=>{H(e,fj())};W(T,e=>{z(r).rollup.costEstimatedUsd>0&&e(ee)}),D(C);var te=L(C,2),ne=F(te);D(te);var re=L(te,2),ie=F(re);D(re);var ae=L(re,2),oe=e=>{var t=pj(),n=F(t);bh(n,{size:11});var r=L(n);D(t),R(e=>U(r,`${z(v).length??``} context reset${z(v).length>1?`s`:``} · ${e??``} tokens`),[()=>sd(z(b))]),H(e,t)};W(ae,e=>{z(v).length>0&&e(oe)});var se=L(ae,2),ce=F(se);Im(ce,{size:11});var le=L(ce,1,!0);D(se);var E=L(se,2),ue=e=>{var t=mj(),n=F(t);fm(n,{size:11});var i=L(n);D(t),R(()=>U(i,`+${z(r).rollup.linesAdded??``}/-${z(r).rollup.linesRemoved??``}`)),H(e,t)};W(E,e=>{(z(r).rollup.linesAdded||z(r).rollup.linesRemoved)&&e(ue)});var de=L(E,2),fe=e=>{var t=hj(),n=F(t);D(t),R(()=>U(n,`${z(r).rollup.commits??``} commits`)),H(e,t)};W(de,e=>{z(r).rollup.commits&&e(fe)}),D(S),D(n);var pe=L(n,2),me=e=>{var t=yj(),n=L(F(t),2);G(n,21,()=>z(p),e=>e.name,(e,t)=>{var n=vj(),r=F(n),i=F(r),a=e=>{wh(e,{size:11,class:`text-sky-500`})};W(i,e=>{z(t).isMcp&&e(a)});var o=L(i,2),s=e=>{cp(e,{size:11,class:`text-violet-500`})};W(o,e=>{z(t).category===`subagent`&&e(s)});var c=L(o,2),l=e=>{Mh(e,{size:11,class:`text-fuchsia-500`})};W(c,e=>{z(t).category===`skill`&&e(l)});var u=L(c);D(r);var d=L(r,2),f=F(d),p=F(f);D(f);var m=L(f,2),h=e=>{var n=gj(),r=F(n);D(n),R(()=>U(r,`${z(t).failures??``} fail`)),H(e,n)};W(m,e=>{z(t).failures>0&&e(h)});var g=L(m,2),_=e=>{var n=_j(),r=F(n,!0);D(n),R(e=>U(r,e),[()=>ad(z(t).totalDurationMs)]),H(e,n)};W(g,e=>{z(t).totalDurationMs>0&&e(_)}),D(d),D(n),R(()=>{U(u,` ${z(t).name??``}`),U(p,`×${z(t).count??``}`)}),H(e,n)}),D(n),D(t),H(e,t)};W(pe,e=>{z(p).length>0&&e(me)});var he=L(pe,2),ge=e=>{var t=Tj(),n=L(F(t),2),r=F(n);G(r,17,()=>z(m),e=>e.name,(e,t)=>{var n=bj(),r=F(n),i=F(r);oh(i,{size:11,class:`text-sky-500 flex-shrink-0`});var a=L(i);D(r);var o=L(r,2),s=F(o),c=L(s,2),l=e=>{var n=_j(),r=F(n,!0);D(n),R(()=>U(r,z(t).transport)),H(e,n)};W(c,e=>{z(t).transport&&e(l)});var u=L(c,2),d=e=>{var n=_j(),r=F(n);D(n),R(()=>U(r,`${z(t).connects??``}↑/${z(t).disconnects??``}↓`)),H(e,n)};W(u,e=>{z(t).disconnects>0&&e(d)}),D(o),D(n),R(()=>{U(a,` ${z(t).name??``}`),q(s,1,`w-1.5 h-1.5 rounded-full ${z(t).connected?`bg-emerald-500`:`bg-fg-subtle`}`),J(s,`title`,z(t).connected?`connected`:`disconnected`)}),H(e,n)});var i=L(r,2);G(i,17,()=>z(h),e=>e.name,(e,t)=>{var n=Sj(),r=F(n),i=F(r);op(i,{size:11,class:`text-fuchsia-500 flex-shrink-0`});var a=L(i);D(r);var o=L(r,2),s=e=>{var n=xj(),r=F(n);D(n),R(()=>U(r,`v${z(t).version??``}`)),H(e,n)};W(o,e=>{z(t).version&&e(s)}),D(n),R(()=>U(a,` ${z(t).name??``}`)),H(e,n)});var a=L(i,2),o=e=>{var t=wj(),n=F(t);Xh(F(n),{size:11,class:`text-amber-500 flex-shrink-0`}),Ke(),D(n);var r=L(n,2),i=F(r),a=F(i);D(i);var o=L(i,2),s=e=>{var t=Cj(),n=F(t);D(t),R(()=>U(n,`${z(g).blocked??``} blocked`)),H(e,t)};W(o,e=>{z(g).blocked>0&&e(s)});var c=L(o,2),l=e=>{var t=gj(),n=F(t);D(t),R(()=>U(n,`${z(g).errored??``} err`)),H(e,t)};W(c,e=>{z(g).errored>0&&e(l)}),D(r),D(t),R(()=>U(a,`×${z(g).runs??``}`)),H(e,t)};W(a,e=>{z(g)&&z(g).runs>0&&e(o)}),D(n),D(t),H(e,t)};W(he,e=>{z(x)&&e(ge)});var _e=L(he,2),ve=F(_e),ye=L(F(ve),2),be=F(ye),xe=e=>{var t=Ej();Xp(I(t),{size:12}),Ke(),H(e,t)},Se=e=>{var t=Dj();Qp(I(t),{size:12}),Ke(),H(e,t)};W(be,e=>{z(a)?e(xe):e(Se,-1)}),D(ye),D(ve);var Ce=L(ve,2);G(Ce,21,()=>z(f),e=>e.id,(e,t)=>{let n=M(()=>z(y).get(z(t).id));var r=kj(),i=I(r),a=e=>{var t=Oj(),r=F(t);bh(r,{size:11,class:`flex-shrink-0`});var i=L(r,2),a=F(i);D(i);var o=L(i,2);D(t),R(e=>{q(t,1,`flex items-center gap-2 my-1 text-[11px] ${z(n).confidence===`likely`?`text-fg-muted`:`text-fg-muted/70`}`),U(a,`${e??``} tokens left the agent's
@@ -35,12 +35,12 @@ var AutotelDevtools=(function(e){Object.defineProperty(e,Symbol.toStringTag,{val
35
35
  spans. A share of zero events says nothing about either group.`)),H(e,t)},_e=e=>{var t=da(),n=I(t),r=e=>{var t=BB(),n=F(t);D(t),R(()=>U(n,`No attribute separates these ${z(_).outlierCount??``} spans from the
36
36
  ${z(_).baselineCount??``} they were compared with.`)),H(e,t)},i=e=>{var t=HB(),n=I(t),r=F(n);D(n);var i=L(n,2),a=L(F(i));G(a,21,()=>z(_).differences,e=>`${e.field}=${e.value}`,(e,t)=>{var n=VB(),r=F(n),i=F(r,!0),a=L(i,2,!0);D(r);var o=L(r),s=F(o,!0);D(o);var c=L(o),l=F(c,!0);D(c),D(n),R((e,n)=>{U(i,z(t).field),U(a,z(t).value),U(s,e),U(l,n)},[()=>v(z(t).outlierFraction),()=>v(z(t).baselineFraction)]),H(e,n)}),D(a),D(i),R(()=>U(r,`${z(_).outlierCount??``} spans against ${z(_).baselineCount??``}. A
37
37
  hypothesis to check against individual traces, not a conclusion.`)),H(e,t)};W(n,e=>{z(_).differences.length===0?e(r):e(i,-1)}),H(e,t)};W(pe,e=>{z(_)?z(_).status===`unavailable`||z(_).status===`invalid`||z(_).status===`error`?e(he,1):z(_).status===`empty`?e(ge,2):z(_).status===`ok`&&e(_e,3):e(me)}),D(fe),D(x),R(e=>{q(w,1,e),ne.disabled=z(g),U(ie,` ${z(g)?`Comparing…`:`Compare`}`),U(ue,`${z(h)===null?`Compared with`:`Restricted to`} `)},[()=>K(Q(`flex items-center gap-1 rounded px-2 py-1 text-xs`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,z(h)===null?`border border-line text-fg-muted hover:text-fg`:`bg-accent text-white`))]),B(`click`,w,()=>P(h,z(h)===null?Date.now():null,!0)),B(`click`,ne,b),Mo(de,()=>z(r),e=>P(r,e)),H(e,x),at()}na([`click`,`change`]);var GB=V(`<span class="text-xs text-fg"> </span>`),KB=V(`<span class="text-xs text-fg-muted">Instrumentation coverage</span>`),qB=V(`<p class="text-xs text-fg-subtle">Loading…</p>`),JB=V(`<div class="flex items-start gap-2 text-xs text-fg-muted"><!> <p> </p></div>`),YB=V(`<p class="text-xs text-danger"> </p>`),XB=V(`<p class="text-xs text-fg-muted">The map records no entry points.</p>`),ZB=V(`<span class="mr-1 inline-block h-1.5 w-1.5 rounded-full bg-danger" aria-label="never seen"></span>`),QB=V(`<tr class="border-t border-line-subtle"><td class="py-1 pr-2 font-mono"><!> </td><td> </td><td class="py-1"><a class="text-fg-subtle hover:text-accent hover:underline"> </a></td></tr>`),$B=V(`<table class="w-full text-left text-xs"><thead class="text-[11px] uppercase tracking-wide text-fg-muted"><tr><th class="py-1 pr-2 font-medium">Entry point</th><th class="py-1 pr-2 font-medium">Spans</th><th class="py-1 font-medium">Source</th></tr></thead><tbody></tbody></table>`),eV=V(`<div class="flex h-full flex-col overflow-hidden"><div class="flex items-center justify-between border-b border-line px-4 py-3"><div><!></div> <button type="button" class="flex items-center gap-1 rounded border border-line px-2 py-1 text-xs text-fg-muted hover:text-fg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent"><!> Refresh</button></div> <div class="flex-1 overflow-auto px-4 py-3"><!></div></div>`);function tV(e,t){it(t,!0);let n=N(yr({status:`idle`}));async function r(){P(n,{status:`loading`},!0);try{let e=pl.value,t=e===null?null:$o(e);if(t===null){P(n,{status:`error`,message:`The telemetry receiver is not connected.`},!0);return}let r=await fetch(`${t}/api/coverage`),i=await r.json();r.status===404?P(n,{status:`missing`,message:i.message??`No map found.`},!0):r.ok?P(n,{status:`ok`,...i},!0):P(n,{status:`error`,message:i.message??r.statusText},!0)}catch(e){P(n,{status:`error`,message:e instanceof Error?e.message:`Request failed`},!0)}}zr(()=>{r()});let i=e=>`vscode://file/${e.file}${e.handler?.line?`:${e.handler.line}`:``}`;var a=eV(),o=F(a),s=F(o),c=F(s),l=e=>{var t=GB(),r=F(t);D(t),R(()=>U(r,`${z(n).total-z(n).seenCount} of ${z(n).total??``} entry points have emitted
38
- nothing`)),H(e,t)},u=e=>{H(e,KB())};W(c,e=>{z(n).status===`ok`?e(l):e(u,-1)}),D(s);var d=L(s,2);fh(F(d),{size:12}),Ke(),D(d),D(o);var f=L(o,2),p=F(f),m=e=>{H(e,qB())},h=e=>{var t=JB(),r=F(t);em(r,{size:14,class:`mt-0.5 shrink-0`});var i=L(r,2),a=F(i,!0);D(i),D(t),R(()=>U(a,z(n).message)),H(e,t)},g=e=>{var t=YB(),r=F(t,!0);D(t),R(()=>U(r,z(n).message)),H(e,t)},_=e=>{H(e,XB())},v=e=>{var t=$B(),r=L(F(t));G(r,21,()=>z(n).entries,e=>`${e.method??``} ${e.path}`,(e,t)=>{var n=QB(),r=F(n),a=F(r),o=e=>{H(e,ZB())};W(a,e=>{z(t).seen||e(o)});var s=L(a);D(r);var c=L(r),l=F(c,!0);D(c);var u=L(c),d=F(u),f=F(d,!0);D(d),D(u),D(n),R(e=>{U(s,` ${z(t).method?`${z(t).method} `:``}${z(t).path??``}`),q(c,1,K(z(t).seen?`py-1 pr-2 tabular-nums text-fg-muted`:`py-1 pr-2 text-danger`)),U(l,z(t).seen?z(t).spanCount:`none`),J(d,`href`,e),U(f,z(t).file)},[()=>i(z(t))]),H(e,n)}),D(r),D(t),H(e,t)};W(p,e=>{z(n).status===`loading`||z(n).status===`idle`?e(m):z(n).status===`missing`?e(h,1):z(n).status===`error`?e(g,2):z(n).entries.length===0?e(_,3):e(v,-1)}),D(f),D(a),B(`click`,d,r),H(e,a),at()}na([`click`]);var nV=V(`<p class="p-4 text-sm text-fg-muted">Loading…</p>`),rV=V(`<p class="p-4 text-sm text-danger"> </p>`),iV=V(`<div class="flex items-start gap-2 m-3 p-2 rounded bg-warning-bg text-warning text-xs"><!> <span> </span></div>`),aV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-success-bg text-success rounded">offered</span>`),oV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-hover text-fg-muted rounded">withdrawn</span>`),sV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="The browser discarded these at registration"> </span>`),cV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="Chrome does not unwrap the MCP envelope; the agent parses it">envelope</span>`),lV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-hover text-fg-muted rounded" title="The browser replaced an empty result with its own text">substituted</span>`),uV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="The agent was not told what arguments to send">no schema</span>`),dV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-hover text-fg-subtle rounded" title="Seen executing but never at registration — annotations and schema are unknown">not observed at registration</span>`),fV=V(`<span class="text-danger"> </span>`),pV=V(`<span>session <code class="font-mono"> </code></span>`),mV=V(`<span> </span>`),hV=V(`<div class="flex items-start gap-2 text-fg-muted"><span> <code class="font-mono"></code> </span></div>`),gV=V(`, kept <code class="font-mono"> </code>`,1),_V=V(`<div class="text-fg-muted">annotations sent <code class="font-mono"> </code><!></div>`),vV=V(`<button type="button" class="flex items-center gap-1 text-fg-subtle hover:text-fg"> </button>`),yV=V(`<span class="text-fg-muted break-all"> </span>`),bV=V(`<li class="font-mono text-[11px] flex flex-wrap gap-2"><span class="text-fg-subtle"> </span> <span> </span> <!></li>`),xV=V(`<div><div class="flex items-center justify-between mb-1.5"><h5 class="font-semibold text-fg-muted">Recent calls</h5> <!></div> <ul class="space-y-1"></ul></div>`),SV=V(`<div class="border-t border-line p-3 bg-subtle space-y-3 text-xs"><div class="flex flex-wrap gap-4 text-fg-muted"><span>service <code class="font-mono"> </code></span> <!> <span>installation <code class="font-mono"> </code></span> <!></div> <!> <!> <!></div>`),CV=V(`<li><button type="button" class="w-full p-3 flex items-start gap-3 hover:bg-subtle transition-colors text-left"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 mb-1 flex-wrap"><span class="text-sm font-mono font-semibold"> </span> <!> <!> <!> <!> <!> <!></div> <div class="flex items-center gap-4 text-xs text-fg-subtle"><span> </span> <!> <span> </span> <span> </span></div></div></button> <!></li>`),wV=V(`<div class="grid grid-cols-2 sm:grid-cols-4 gap-3 p-3 border-b border-line"><div><div class="text-lg font-semibold"> </div> <div class="text-xs text-fg-subtle">offered now</div></div> <div><div class="text-lg font-semibold"> </div> <div class="text-xs text-fg-subtle"> </div></div> <div><div> </div> <div class="text-xs text-fg-subtle">with dropped annotations</div></div> <div><div class="text-lg font-semibold"> </div> <div class="text-xs text-fg-subtle"> </div></div></div> <!> <ul class="divide-y divide-line"></ul>`,1),TV=V(`<div class="p-6 max-w-xl space-y-3 text-sm"><p class="text-fg-muted">No WebMCP tools observed in this window.</p> <p class="text-fg-subtle text-xs">WebMCP needs Chrome 151+ with <code class="font-mono bg-code px-1 rounded">chrome://flags/#web-machine-learning-model-context</code> enabled. Check with <code class="font-mono">'modelContext' in document</code>.</p> <pre class="bg-code text-fg p-2 rounded text-xs overflow-x-auto"></pre> <p class="text-fg-subtle text-xs">Registrations that happen before <code class="font-mono">instrumentWebMCP()</code> runs are invisible to it.</p></div>`),EV=V(`<div class="h-full overflow-auto"><div class="flex items-center justify-between p-3 border-b border-line"><div class="flex items-center gap-2"><!> <h2 class="text-sm font-semibold">WebMCP tools</h2></div> <button type="button" class="flex items-center gap-1 text-xs text-fg-subtle hover:text-fg">Refresh</button></div> <!></div>`);function DV(e,t){it(t,!0);let n=N(yr({status:`idle`})),r=N(null),i,a=N(!1),o=e=>`${e.service}/${e.installationId}/${e.name}`;async function s(){i?.abort();let e=new AbortController;i=e;let t=pl.value,r=t===null?null:$o(t);if(r===null){P(n,{status:`error`,message:`The telemetry receiver is not connected.`},!0);return}P(n,{status:`loading`},!0);let a=await EA({window:Ms(Es(ml.value,Date.now()))},{fetch,baseUrl:r,signal:e.signal});e.signal.aborted||(a.status===`ok`?P(n,{status:`ok`,inventory:a.webmcp},!0):a.status===`invalid`?P(n,{status:`error`,message:`The server rejected the query.`},!0):a.status===`error`&&P(n,{status:`error`,message:a.message},!0))}zr(()=>{ml.value,pl.value,s()});let c=M(()=>z(n).status===`ok`?z(n).inventory:void 0),l=M(()=>z(c)?.summary),u=e=>e<1024?`${e} B`:`${(e/1024).toFixed(1)} kB`,d=e=>z(a)?dd(e):`•`.repeat(Math.min(e.length,32));var f=EV(),p=F(f),m=F(p);eg(F(m),{size:16,class:`text-fg-muted`}),Ke(2),D(m);var h=L(m,2);D(p);var g=L(p,2),_=e=>{H(e,nV())},v=e=>{var t=rV(),r=F(t,!0);D(t),R(()=>U(r,z(n).message)),H(e,t)},y=e=>{var t=wV(),n=I(t),i=F(n),s=F(i),f=F(s,!0);D(s),Ke(2),D(i);var p=L(i,2),m=F(p),h=F(m,!0);D(m);var g=L(m,2),_=F(g);D(g),D(p);var v=L(p,2),y=F(v);let b;var x=F(y,!0);D(y),Ke(2),D(v);var S=L(v,2),C=F(S),w=F(C,!0);D(C);var T=L(C,2),ee=F(T);D(T),D(S),D(n);var te=L(n,2),ne=e=>{var t=iV(),n=F(t);Wh(n,{size:14,class:`mt-0.5 shrink-0`});var r=L(n,2),i=F(r);D(r),D(t),R(()=>U(i,`${z(l).emptyInstallations??``} installation${z(l).emptyInstallations===1?``:`s`} registered no tools. \`instrumentWebMCP()\` only sees registrations
39
- that happen after it runs — call it before registering your tools.`)),H(e,t)};W(te,e=>{z(l).emptyInstallations>0&&e(ne)});var re=L(te,2);G(re,21,()=>z(c).tools,e=>o(e),(e,t)=>{let n=M(()=>o(z(t)));var i=CV(),s=F(i),c=F(s),l=F(c),f=F(l),p=F(f,!0);D(f);var m=L(f,2),h=e=>{H(e,aV())},g=e=>{H(e,oV())};W(m,e=>{z(t).offered?e(h):e(g,-1)});var _=L(m,2),v=e=>{var n=sV(),r=F(n);D(n),R(e=>U(r,`dropped ${e??``}`),[()=>z(t).annotationsDropped.join(`, `)]),H(e,n)};W(_,e=>{z(t).annotationsDropped.length>0&&e(v)});var y=L(_,2),b=e=>{H(e,cV())};W(y,e=>{z(t).envelopeCalls>0&&e(b)});var x=L(y,2),S=e=>{H(e,lV())};W(x,e=>{z(t).substitutedCalls>0&&e(S)});var C=L(x,2),w=e=>{H(e,uV())};W(C,e=>{z(t).observedAtRegistration&&z(t).hasInputSchema===!1&&e(w)});var T=L(C,2),ee=e=>{H(e,dV())};W(T,e=>{z(t).observedAtRegistration||e(ee)}),D(l);var te=L(l,2),ne=F(te),re=F(ne);D(ne);var ie=L(ne,2),ae=e=>{var n=fV(),r=F(n);D(n),R(()=>U(r,`${z(t).errors??``} failed`)),H(e,n)};W(ie,e=>{z(t).errors>0&&e(ae)});var oe=L(ie,2),se=F(oe);D(oe);var ce=L(oe,2),le=F(ce,!0);D(ce),D(te),D(c),D(s);var E=L(s,2),ue=e=>{var n=SV(),r=F(n),i=F(r),o=L(F(i)),s=F(o,!0);D(o),D(i);var c=L(i,2),l=e=>{var n=pV(),r=L(F(n)),i=F(r,!0);D(r),D(n),R(()=>U(i,z(t).sessionId)),H(e,n)};W(c,e=>{z(t).sessionId&&e(l)});var f=L(c,2),p=L(F(f)),m=F(p,!0);D(p),D(f);var h=L(f,2),g=e=>{var n=mV(),r=F(n);D(n),R(()=>U(r,`${z(t).descriptionLength??``}-char description`)),H(e,n)};W(h,e=>{z(t).descriptionLength!==void 0&&e(g)}),D(r);var _=L(r,2),v=e=>{var n=hV(),r=F(n),i=F(r),a=L(i);a.textContent=`{ content: [...] }`;var o=L(a);D(r),D(n),R((e,n)=>{U(i,`${z(t).envelopeCalls??``} of ${z(t).calls??``} results arrived as an MCP `),U(o,` envelope. Chrome hands the agent the wrapper unparsed, so
38
+ nothing`)),H(e,t)},u=e=>{H(e,KB())};W(c,e=>{z(n).status===`ok`?e(l):e(u,-1)}),D(s);var d=L(s,2);fh(F(d),{size:12}),Ke(),D(d),D(o);var f=L(o,2),p=F(f),m=e=>{H(e,qB())},h=e=>{var t=JB(),r=F(t);em(r,{size:14,class:`mt-0.5 shrink-0`});var i=L(r,2),a=F(i,!0);D(i),D(t),R(()=>U(a,z(n).message)),H(e,t)},g=e=>{var t=YB(),r=F(t,!0);D(t),R(()=>U(r,z(n).message)),H(e,t)},_=e=>{H(e,XB())},v=e=>{var t=$B(),r=L(F(t));G(r,21,()=>z(n).entries,e=>`${e.method??``} ${e.path}`,(e,t)=>{var n=QB(),r=F(n),a=F(r),o=e=>{H(e,ZB())};W(a,e=>{z(t).seen||e(o)});var s=L(a);D(r);var c=L(r),l=F(c,!0);D(c);var u=L(c),d=F(u),f=F(d,!0);D(d),D(u),D(n),R(e=>{U(s,` ${z(t).method?`${z(t).method} `:``}${z(t).path??``}`),q(c,1,K(z(t).seen?`py-1 pr-2 tabular-nums text-fg-muted`:`py-1 pr-2 text-danger`)),U(l,z(t).seen?z(t).spanCount:`none`),J(d,`href`,e),U(f,z(t).file)},[()=>i(z(t))]),H(e,n)}),D(r),D(t),H(e,t)};W(p,e=>{z(n).status===`loading`||z(n).status===`idle`?e(m):z(n).status===`missing`?e(h,1):z(n).status===`error`?e(g,2):z(n).entries.length===0?e(_,3):e(v,-1)}),D(f),D(a),B(`click`,d,r),H(e,a),at()}na([`click`]);var nV=V(`<p class="p-4 text-sm text-fg-muted">Loading…</p>`),rV=V(`<p class="p-4 text-sm text-danger"> </p>`),iV=V(`<div class="flex items-start gap-2 m-3 p-2 rounded bg-warning-bg text-warning text-xs"><!> <span> </span></div>`),aV=V(`<span class="text-xs text-fg-muted font-normal"> </span>`),oV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-success-bg text-success rounded">offered</span>`),sV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-hover text-fg-muted rounded">withdrawn</span>`),cV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="The title the browser may show does not match the name that runs">label mismatch</span>`),lV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="This name came back with a different descriptor after it was first offered">redefined</span>`),uV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-hover text-fg-muted rounded" title="A known library refusal — the handler did not run"> </span>`),dV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="The browser discarded these at registration"> </span>`),fV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="Chrome does not unwrap the MCP envelope; the agent parses it">envelope</span>`),pV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-hover text-fg-muted rounded" title="The browser replaced an empty result with its own text">substituted</span>`),mV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-warning-bg text-warning rounded" title="The agent was not told what arguments to send">no schema</span>`),hV=V(`<span class="px-1.5 py-0.5 text-xs font-medium bg-hover text-fg-subtle rounded" title="Seen executing but never at registration — annotations and schema are unknown">not observed at registration</span>`),gV=V(`<span class="text-danger"> </span>`),_V=V(`<span>session <code class="font-mono"> </code></span>`),vV=V(`<span> </span>`),yV=V(`<div class="flex items-start gap-2 text-fg-muted"><span> <code class="font-mono"></code> </span></div>`),bV=V(`, kept <code class="font-mono"> </code>`,1),xV=V(`<div class="text-fg-muted">annotations sent <code class="font-mono"> </code><!></div>`),SV=V(`<button type="button" class="flex items-center gap-1 text-fg-subtle hover:text-fg"> </button>`),CV=V(`<span class="text-fg-subtle"> </span>`),wV=V(`<span class="text-fg-muted"> </span>`),TV=V(`<span class="text-fg-muted break-all"> </span>`),EV=V(`<li class="font-mono text-[11px] flex flex-wrap gap-2"><!> <span class="text-fg-subtle"> </span> <!> <span> </span> <!></li>`),DV=V(`<div><div class="flex items-center justify-between mb-1.5"><h5 class="font-semibold text-fg-muted">Recent calls</h5> <!></div> <ul class="space-y-1"></ul></div>`),OV=V(`<div class="border-t border-line p-3 bg-subtle space-y-3 text-xs"><div class="flex flex-wrap gap-4 text-fg-muted"><span>service <code class="font-mono"> </code></span> <!> <span>installation <code class="font-mono"> </code></span> <!></div> <!> <!> <!></div>`),kV=V(`<li><button type="button" class="w-full p-3 flex items-start gap-3 hover:bg-subtle transition-colors text-left"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 mb-1 flex-wrap"><span class="text-sm font-mono font-semibold"> </span> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!></div> <div class="flex items-center gap-4 text-xs text-fg-subtle"><span> </span> <!> <span> </span> <span> </span></div></div></button> <!></li>`),AV=V(`<div class="grid grid-cols-2 sm:grid-cols-4 gap-3 p-3 border-b border-line"><div><div class="text-lg font-semibold"> </div> <div class="text-xs text-fg-subtle">offered now</div></div> <div><div class="text-lg font-semibold"> </div> <div class="text-xs text-fg-subtle"> </div></div> <div><div> </div> <div class="text-xs text-fg-subtle">with dropped annotations</div></div> <div><div class="text-lg font-semibold"> </div> <div class="text-xs text-fg-subtle"> </div></div></div> <!> <ul class="divide-y divide-line"></ul>`,1),jV=V(`<div class="p-6 max-w-xl space-y-3 text-sm"><p class="text-fg-muted">No WebMCP tools observed in this window.</p> <p class="text-fg-subtle text-xs">WebMCP needs Chrome 151+ with <code class="font-mono bg-code px-1 rounded">chrome://flags/#web-machine-learning-model-context</code> enabled. Check with <code class="font-mono">'modelContext' in document</code>.</p> <pre class="bg-code text-fg p-2 rounded text-xs overflow-x-auto"></pre> <p class="text-fg-subtle text-xs">Registrations that happen before <code class="font-mono">instrumentWebMCP()</code> runs are invisible to it.</p></div>`),MV=V(`<div class="h-full overflow-auto"><div class="flex items-center justify-between p-3 border-b border-line"><div class="flex items-center gap-2"><!> <h2 class="text-sm font-semibold">WebMCP tools</h2></div> <button type="button" class="flex items-center gap-1 text-xs text-fg-subtle hover:text-fg">Refresh</button></div> <!></div>`);function NV(e,t){it(t,!0);let n=N(yr({status:`idle`})),r=N(null),i,a=N(!1),o=e=>`${e.service}/${e.installationId}/${e.name}`;async function s(){i?.abort();let e=new AbortController;i=e;let t=pl.value,r=t===null?null:$o(t);if(r===null){P(n,{status:`error`,message:`The telemetry receiver is not connected.`},!0);return}P(n,{status:`loading`},!0);let a=await EA({window:Ms(Es(ml.value,Date.now()))},{fetch,baseUrl:r,signal:e.signal});e.signal.aborted||(a.status===`ok`?P(n,{status:`ok`,inventory:a.webmcp},!0):a.status===`invalid`?P(n,{status:`error`,message:`The server rejected the query.`},!0):a.status===`error`&&P(n,{status:`error`,message:a.message},!0))}zr(()=>{ml.value,pl.value,s()});let c=M(()=>z(n).status===`ok`?z(n).inventory:void 0),l=M(()=>z(c)?.summary),u=e=>e<1024?`${e} B`:`${(e/1024).toFixed(1)} kB`,d=e=>z(a)?dd(e):`•`.repeat(Math.min(e.length,32));var f=MV(),p=F(f),m=F(p);eg(F(m),{size:16,class:`text-fg-muted`}),Ke(2),D(m);var h=L(m,2);D(p);var g=L(p,2),_=e=>{H(e,nV())},v=e=>{var t=rV(),r=F(t,!0);D(t),R(()=>U(r,z(n).message)),H(e,t)},y=e=>{var t=AV(),n=I(t),i=F(n),s=F(i),f=F(s,!0);D(s),Ke(2),D(i);var p=L(i,2),m=F(p),h=F(m,!0);D(m);var g=L(m,2),_=F(g);D(g),D(p);var v=L(p,2),y=F(v);let b;var x=F(y,!0);D(y),Ke(2),D(v);var S=L(v,2),C=F(S),w=F(C,!0);D(C);var T=L(C,2),ee=F(T);D(T),D(S),D(n);var te=L(n,2),ne=e=>{var t=iV(),n=F(t);Wh(n,{size:14,class:`mt-0.5 shrink-0`});var r=L(n,2),i=F(r);D(r),D(t),R(()=>U(i,`${z(l).emptyInstallations??``} installation${z(l).emptyInstallations===1?``:`s`} registered no tools. \`instrumentWebMCP()\` only sees registrations
39
+ that happen after it runs — call it before registering your tools.`)),H(e,t)};W(te,e=>{z(l).emptyInstallations>0&&e(ne)});var re=L(te,2);G(re,21,()=>z(c).tools,e=>o(e),(e,t)=>{let n=M(()=>o(z(t)));var i=kV(),s=F(i),c=F(s),l=F(c),f=F(l),p=F(f,!0);D(f);var m=L(f,2),h=e=>{var n=aV(),r=F(n);D(n),R(()=>U(r,`title ${z(t).title??``}`)),H(e,n)};W(m,e=>{z(t).title&&z(t).labelMismatch&&e(h)});var g=L(m,2),_=e=>{H(e,oV())},v=e=>{H(e,sV())};W(g,e=>{z(t).offered?e(_):e(v,-1)});var y=L(g,2),b=e=>{H(e,cV())};W(y,e=>{z(t).labelMismatch&&e(b)});var x=L(y,2),S=e=>{H(e,lV())};W(x,e=>{z(t).redefined&&e(S)});var C=L(x,2),w=e=>{var n=uV(),r=F(n);D(n),R(()=>U(r,`refused ${z(t).refusedCalls??``}`)),H(e,n)};W(C,e=>{z(t).refusedCalls>0&&e(w)});var T=L(C,2),ee=e=>{var n=dV(),r=F(n);D(n),R(e=>U(r,`dropped ${e??``}`),[()=>z(t).annotationsDropped.join(`, `)]),H(e,n)};W(T,e=>{z(t).annotationsDropped.length>0&&e(ee)});var te=L(T,2),ne=e=>{H(e,fV())};W(te,e=>{z(t).envelopeCalls>0&&e(ne)});var re=L(te,2),ie=e=>{H(e,pV())};W(re,e=>{z(t).substitutedCalls>0&&e(ie)});var ae=L(re,2),oe=e=>{H(e,mV())};W(ae,e=>{z(t).observedAtRegistration&&z(t).hasInputSchema===!1&&e(oe)});var se=L(ae,2),ce=e=>{H(e,hV())};W(se,e=>{z(t).observedAtRegistration||e(ce)}),D(l);var le=L(l,2),E=F(le),ue=F(E);D(E);var de=L(E,2),fe=e=>{var n=gV(),r=F(n);D(n),R(()=>U(r,`${z(t).errors??``} failed`)),H(e,n)};W(de,e=>{z(t).errors>0&&e(fe)});var pe=L(de,2),me=F(pe);D(pe);var he=L(pe,2),ge=F(he,!0);D(he),D(le),D(c),D(s);var _e=L(s,2),ve=e=>{var n=OV(),r=F(n),i=F(r),o=L(F(i)),s=F(o,!0);D(o),D(i);var c=L(i,2),l=e=>{var n=_V(),r=L(F(n)),i=F(r,!0);D(r),D(n),R(()=>U(i,z(t).sessionId)),H(e,n)};W(c,e=>{z(t).sessionId&&e(l)});var f=L(c,2),p=L(F(f)),m=F(p,!0);D(p),D(f);var h=L(f,2),g=e=>{var n=vV(),r=F(n);D(n),R(()=>U(r,`${z(t).descriptionLength??``}-char description`)),H(e,n)};W(h,e=>{z(t).descriptionLength!==void 0&&e(g)}),D(r);var _=L(r,2),v=e=>{var n=yV(),r=F(n),i=F(r),a=L(i);a.textContent=`{ content: [...] }`;var o=L(a);D(r),D(n),R((e,n)=>{U(i,`${z(t).envelopeCalls??``} of ${z(t).calls??``} results arrived as an MCP `),U(o,` envelope. Chrome hands the agent the wrapper unparsed, so
40
40
  ${e??``} would be about
41
41
  ${n??``}
42
- returning the text plainly.`)},[()=>u(z(t).resultBytes),()=>u(Math.max(0,z(t).resultBytes-z(t).envelopeBytes))]),H(e,n)};W(_,e=>{z(t).envelopeCalls>0&&e(v)});var y=L(_,2),b=e=>{var n=_V(),r=L(F(n)),i=F(r,!0);D(r);var a=L(r),o=e=>{var n=gV(),r=L(I(n)),i=F(r,!0);D(r),R(e=>U(i,e),[()=>z(t).annotationsSent.filter(e=>!z(t).annotationsDropped.includes(e)).join(`, `)||`none`]),H(e,n)};W(a,e=>{z(t).annotationsDropped.length>0&&e(o)}),D(n),R(e=>U(i,e),[()=>z(t).annotationsSent.join(`, `)]),H(e,n)};W(y,e=>{z(t).annotationsSent.length>0&&e(b)});var x=L(y,2),S=e=>{var n=xV(),r=F(n),i=L(F(r),2),o=e=>{var t=vV(),n=F(t,!0);D(t),R(()=>U(n,z(a)?`Hide payloads`:`Reveal payloads`)),B(`click`,t,()=>P(a,!z(a))),H(e,t)},s=M(()=>z(t).recentCalls.some(e=>e.input||e.result));W(i,e=>{z(s)&&e(o)}),D(r);var c=L(r,2);G(c,21,()=>z(t).recentCalls,e=>e.spanId,(e,t)=>{var n=bV(),r=F(n),i=F(r,!0);D(r);var a=L(r,2);let o;var s=F(a);D(a);var c=L(a,2),l=e=>{var n=yV(),r=F(n,!0);D(n),R(e=>U(r,e),[()=>d(z(t).result)]),H(e,n)};W(c,e=>{z(t).result&&e(l)}),D(n),R((e,n)=>{U(i,e),o=q(a,1,``,null,o,{"text-danger":z(t).error}),U(s,`${z(t).resultType??`result`??``} · ${n??``}`)},[()=>od(z(t).timestamp),()=>u(z(t).resultBytes)]),H(e,n)}),D(c),D(n),H(e,n)};W(x,e=>{z(t).recentCalls.length>0&&e(S)}),D(n),R(()=>{U(s,z(t).service),U(m,z(t).installationId)}),H(e,n)};W(E,e=>{z(r)===z(n)&&e(ue)}),D(i),R((e,n,r)=>{U(p,z(t).name),U(re,`${e??``} calls`),U(se,`${n??``} median result`),U(le,r)},[()=>sd(z(t).calls),()=>u(z(t).medianResultBytes),()=>od(z(t).lastSeen)]),B(`click`,s,()=>P(r,z(r)===z(n)?null:z(n),!0)),H(e,i)}),D(re),R((e,t,n)=>{U(f,z(l).toolsOffered),U(h,e),U(_,`calls${z(l).errors>0?`, ${z(l).errors} failed`:``}`),b=q(y,1,`text-lg font-semibold`,null,b,{"text-warning":z(l).toolsWithDroppedAnnotations>0}),U(x,z(l).toolsWithDroppedAnnotations),U(w,t),U(ee,`result bytes${n??``}`)},[()=>sd(z(l).calls),()=>u(z(l).resultBytes),()=>z(l).envelopeBytes>0?` · ${u(z(l).envelopeBytes)} envelope`:``]),H(e,t)},b=e=>{var t=TV(),n=L(F(t),4);n.textContent=`npm install autotel-webmcp autotel-web
42
+ returning the text plainly.`)},[()=>u(z(t).resultBytes),()=>u(Math.max(0,z(t).resultBytes-z(t).envelopeBytes))]),H(e,n)};W(_,e=>{z(t).envelopeCalls>0&&e(v)});var y=L(_,2),b=e=>{var n=xV(),r=L(F(n)),i=F(r,!0);D(r);var a=L(r),o=e=>{var n=bV(),r=L(I(n)),i=F(r,!0);D(r),R(e=>U(i,e),[()=>z(t).annotationsSent.filter(e=>!z(t).annotationsDropped.includes(e)).join(`, `)||`none`]),H(e,n)};W(a,e=>{z(t).annotationsDropped.length>0&&e(o)}),D(n),R(e=>U(i,e),[()=>z(t).annotationsSent.join(`, `)]),H(e,n)};W(y,e=>{z(t).annotationsSent.length>0&&e(b)});var x=L(y,2),S=e=>{var n=DV(),r=F(n),i=L(F(r),2),o=e=>{var t=SV(),n=F(t,!0);D(t),R(()=>U(n,z(a)?`Hide payloads`:`Reveal payloads`)),B(`click`,t,()=>P(a,!z(a))),H(e,t)},s=M(()=>z(t).recentCalls.some(e=>e.input||e.result));W(i,e=>{z(s)&&e(o)}),D(r);var c=L(r,2);G(c,21,()=>z(t).recentCalls,e=>e.spanId,(e,t)=>{var n=EV(),r=F(n),i=e=>{var n=CV(),r=F(n);D(n),R(()=>U(r,`#${z(t).seq??``}`)),H(e,n)};W(r,e=>{z(t).seq!==void 0&&e(i)});var a=L(r,2),o=F(a,!0);D(a);var s=L(a,2),c=e=>{var n=wV(),r=F(n,!0);D(n),R(()=>U(r,z(t).refusal??`refused`)),H(e,n)};W(s,e=>{z(t).refused&&e(c)});var l=L(s,2);let f;var p=F(l);D(l);var m=L(l,2),h=e=>{var n=TV(),r=F(n,!0);D(n),R(e=>U(r,e),[()=>d(z(t).result)]),H(e,n)};W(m,e=>{z(t).result&&e(h)}),D(n),R((e,n)=>{U(o,e),f=q(l,1,``,null,f,{"text-danger":z(t).error}),U(p,`${z(t).resultType??`result`??``} · ${n??``}`)},[()=>od(z(t).timestamp),()=>u(z(t).resultBytes)]),H(e,n)}),D(c),D(n),H(e,n)};W(x,e=>{z(t).recentCalls.length>0&&e(S)}),D(n),R(()=>{U(s,z(t).service),U(m,z(t).installationId)}),H(e,n)};W(_e,e=>{z(r)===z(n)&&e(ve)}),D(i),R((e,n,r)=>{U(p,z(t).name),U(ue,`${e??``} calls`),U(me,`${n??``} median result`),U(ge,r)},[()=>sd(z(t).calls),()=>u(z(t).medianResultBytes),()=>od(z(t).lastSeen)]),B(`click`,s,()=>P(r,z(r)===z(n)?null:z(n),!0)),H(e,i)}),D(re),R((e,t,n)=>{U(f,z(l).toolsOffered),U(h,e),U(_,`calls${z(l).errors>0?`, ${z(l).errors} failed`:``}`),b=q(y,1,`text-lg font-semibold`,null,b,{"text-warning":z(l).toolsWithDroppedAnnotations>0}),U(x,z(l).toolsWithDroppedAnnotations),U(w,t),U(ee,`result bytes${n??``}`)},[()=>sd(z(l).calls),()=>u(z(l).resultBytes),()=>z(l).envelopeBytes>0?` · ${u(z(l).envelopeBytes)} envelope`:``]),H(e,t)},b=e=>{var t=jV(),n=L(F(t),4);n.textContent=`npm install autotel-webmcp autotel-web
43
43
 
44
44
  import { instrumentWebMCP } from 'autotel-webmcp';
45
- instrumentWebMCP(); // before you register any tools`,Ke(2),D(t),H(e,t)};W(g,e=>{z(n).status===`loading`?e(_):z(n).status===`error`?e(v,1):z(c)&&z(l)&&z(c).tools.length>0?e(y,2):e(b,-1)}),D(f),B(`click`,h,()=>void s()),H(e,f),at()}na([`click`]);var OV={traces:rj,agents:Nj,genai:FN,flow:OP,resources:RP,"service-map":gF,metrics:iz,logs:Dz,errors:dB,security:kB,compare:WB,coverage:tV,webmcp:DV},kV=[{id:`traces`,label:`Traces`,icon:Hp},{id:`agents`,label:`Agents`,icon:cp},{id:`genai`,label:`GenAI`,icon:Mh},{id:`flow`,label:`Flow`,icon:Qh},{id:`resources`,label:`Resources`,icon:up},{id:`service-map`,label:`Service Map`,icon:Km},{id:`metrics`,label:`Metrics`,icon:vp},{id:`logs`,label:`Logs`,icon:nm},{id:`errors`,label:`Errors`,icon:Wh},{id:`security`,label:`Security`,icon:Oh},{id:`compare`,label:`Compare`,icon:mm},{id:`coverage`,label:`Coverage`,icon:gh},{id:`webmcp`,label:`WebMCP`,icon:eg}].filter(e=>OV[e.id]!==void 0),AV=kV.map(e=>e.id),jV=16,MV=48;function NV(e){let{isVertical:t,dock:n,axisSize:r,setSize:i,resetSize:a}=e,o=N(!1);return{get resizing(){return z(o)},onPointerDown:e=>{e.stopPropagation();let a=t(),s=a?`vertical`:`horizontal`,c=a?e.clientY:e.clientX,l=r(),u=n()===`bottom`||n()===`right`?-1:1;_y(e,{cursor:a?`ns-resize`:`ew-resize`,onStart:()=>P(o,!0),onMove:e=>{let t=a?e.clientY:e.clientX;i(s,l+(t-c)*u)},onEnd:()=>P(o,!1)})},onKeyDown:e=>{let a=t()?`vertical`:`horizontal`,o=e.shiftKey?MV:jV,s=t()?{ArrowUp:n()===`bottom`?o:-o,ArrowDown:n()===`bottom`?-o:o}:{ArrowLeft:n()===`right`?o:-o,ArrowRight:n()===`right`?-o:o};e.key in s&&(e.preventDefault(),i(a,r()+s[e.key]))},onDblClick:()=>a(t()?`vertical`:`horizontal`)}}function PV(e,t,n,r){let i={left:e,right:n-e,top:t,bottom:r-t};return Object.keys(i).reduce((e,t)=>i[t]<i[e]?t:e)}function FV(e){let{dock:t,pipActive:n,onDock:r}=e,i=N(!1),a=N(null);return{get dragging(){return z(i)},get dropTarget(){return z(a)},onHeaderPointerDown:e=>{e.button===0&&(e.target.closest(`button`)||n()||_y(e,{cursor:`grabbing`,onStart:()=>{P(i,!0),P(a,t(),!0)},onMove:e=>{P(a,PV(e.clientX,e.clientY,window.innerWidth,window.innerHeight),!0)},onEnd:()=>{P(i,!1),z(a)&&z(a)!==t()&&r(z(a)),P(a,null)}}))}}}function IV(e,t){it(t,!0);let n=M(()=>Bc.value),r=M(()=>OV[z(n)]??OV.traces);var i=da(),a=I(i),o=e=>{var t=da();Ba(I(t),()=>z(r),(e,t)=>{t(e,{})}),H(e,t)};W(a,e=>{z(r)&&e(o)}),H(e,i),at()}var LV=V(`<span class="absolute inset-0 rounded-full bg-success opacity-75 animate-ping" aria-hidden="true"></span>`),RV=V(`<span class="text-xs font-mono tabular-nums text-fg-subtle" title="Telemetry ingest rate"> </span>`),zV=V(`<span class="text-xs font-mono tabular-nums text-fg-subtle" title="Telemetry store usage and retention cap"> </span>`),BV=V(`<span> </span> <!> <!>`,1),VV=V(`<div role="status"><span class="relative inline-flex w-2 h-2 shrink-0"><!> <span aria-hidden="true"></span></span> <!></div>`);function HV(e,t){it(t,!0);let n=Z(t,`compact`,3,!1),r=M(()=>fl.value),i=M(()=>z(r)===`connected`?{dot:`bg-success`,label:`Connected`,text:`text-success`}:z(r)===`connecting`?{dot:`bg-warning animate-pulse`,label:`Connecting…`,text:`text-warning`}:{dot:`bg-danger`,label:`Disconnected`,text:`text-fg-subtle`}),a=M(()=>yl.value),o=N(!1);zr(()=>{if(z(a),z(a)===0)return;P(o,!0);let e=setTimeout(()=>P(o,!1),900);return()=>clearTimeout(e)});let s=N(0);zr(()=>{if(n())return;let e=()=>{P(s,Math.round(Cl(5e3).total),!0)};e();let t=setInterval(e,1e3);return()=>clearInterval(t)});let c=M(()=>!n()&&z(r)===`connected`&&z(s)>0),l=N(null);zr(()=>{if(n()||z(r)!==`connected`)return;let e=!0,t=async()=>{let t=pl.value,n=(t?$o(t):null)??globalThis.location?.origin;if(n)try{let t=await fetch(`${n}/api/stats`);t.ok&&e&&P(l,await t.json(),!0)}catch{}};t();let i=setInterval(t,3e4);return()=>{e=!1,clearInterval(i)}});function u(e){return e<1024**2?`${Math.round(e/1024)} KB`:e<1024**3?`${(e/1024**2).toFixed(1)} MB`:`${(e/1024**3).toFixed(1)} GB`}var d=VV(),f=F(d),p=F(f),m=e=>{H(e,LV())};W(p,e=>{z(o)&&z(r)===`connected`&&e(m)});var h=L(p,2);D(f);var g=L(f,2),_=e=>{var t=BV(),n=I(t),r=F(n,!0);D(n);var a=L(n,2),o=e=>{var t=RV(),n=F(t);D(t),R(()=>U(n,`· ${z(s)??``}/s`)),H(e,t)};W(a,e=>{z(c)&&e(o)});var d=L(a,2),f=e=>{var t=zV(),n=F(t);D(t),R((e,t)=>U(n,`· ${e??``} / ${t??``}`),[()=>u(z(l).bytesUsed),()=>u(z(l).maxBytes)]),H(e,t)};W(d,e=>{z(l)&&e(f)}),R(e=>{q(n,1,e),U(r,z(i).label)},[()=>K(Q(`text-xs font-medium`,z(i).text))]),H(e,t)};W(g,e=>{n()||e(_)}),D(d),R((e,t)=>{q(d,1,e),J(d,`aria-label`,`OTLP receiver: ${z(i).label}`),J(d,`title`,`OTLP receiver: ${z(i).label}${z(s)>0?` · ${z(s)}/s`:``}`),q(h,1,t)},[()=>K(Q(`flex items-center gap-1.5`,!n()&&`px-3 py-2`)),()=>K(Q(`relative inline-block w-2 h-2 rounded-full`,z(i).dot))]),H(e,d),at()}var UV=V(`<kbd class="inline-block px-1.5 py-0.5 font-mono text-xs font-semibold bg-hover border border-line rounded text-fg mr-1 last:mr-0 shadow-[0_1px_0_#d4d4d8]"> </kbd>`),WV=V(`<tr class="border-b border-line-subtle last:border-b-0"><td class="py-2.5 px-4 whitespace-nowrap align-middle w-[1%]"></td><td class="py-2.5 pr-4 pl-1 text-sm text-fg-muted align-middle"> </td></tr>`),GV=V(`<div class="fixed inset-0 z-[1000] flex items-center justify-center" role="dialog" aria-modal="true" aria-label="Keyboard shortcuts"><button type="button" aria-label="Close" class="absolute inset-0 bg-black/55 backdrop-blur-[2px] at-backdrop-in"></button> <div tabindex="-1" class="at-modal-in relative z-[1] bg-surface border border-line rounded-lg shadow-xl w-[480px] max-w-[90vw] max-h-[80vh] flex flex-col overflow-hidden outline-none"><div class="flex items-center justify-between px-4 py-3 border-b border-line bg-subtle flex-shrink-0"><span class="text-sm font-semibold text-fg">Keyboard Shortcuts</span> <button class="inline-flex items-center justify-center w-7 h-7 p-0 bg-transparent border border-line rounded cursor-pointer text-sm text-fg-subtle hover:bg-danger-bg hover:border-danger-border hover:text-danger transition-colors" title="Close (Esc)"><!></button></div> <div class="overflow-y-auto py-2"><table class="w-full border-collapse"><tbody></tbody></table></div></div></div>`);function KV(e,t){it(t,!0);let n=N(void 0);zr(()=>{let e=e=>{e.key===`Escape`&&(e.stopPropagation(),t.onClose())},r=z(n);return r&&(r.addEventListener(`keydown`,e),r.focus()),window.addEventListener(`keydown`,e),()=>{r&&r.removeEventListener(`keydown`,e),window.removeEventListener(`keydown`,e)}});var r=GV(),i=F(r),a=L(i,2),o=F(a),s=L(F(o),2);ng(F(s),{size:14}),D(s),D(o);var c=L(o,2),l=F(c),u=F(l);G(u,21,()=>t.shortcuts,Aa,(e,t)=>{var n=WV(),r=F(n);G(r,21,()=>z(t).keys,Aa,(e,t)=>{var n=UV(),r=F(n,!0);D(n),R(()=>U(r,z(t)===`CmdOrCtrl`?bg?`⌘`:`Ctrl`:z(t)===`AltOrOpt`?bg?`⌥`:`Alt`:z(t))),H(e,n)}),D(r);var i=L(r),a=F(i,!0);D(i),D(n),R(()=>U(a,z(t).description)),H(e,n)}),D(u),D(l),D(c),D(a),Uo(a,e=>P(n,e),()=>z(n)),D(r),B(`click`,i,function(...e){t.onClose?.apply(this,e)}),B(`click`,s,function(...e){t.onClose?.apply(this,e)}),H(e,r),at()}na([`click`]);var qV=V(`<div role="separator" aria-label="Resize panel" tabindex="0" title="Drag to resize · double-click to reset"><div></div> <div></div></div>`),JV=V(`<span class="text-fg-subtle/60 flex-shrink-0 pl-0.5" aria-hidden="true"><!></span>`),YV=V(`<span> </span>`),XV=V(`<button><!> <span> </span> <!></button>`),ZV=V(`<button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors" title="Dock position (click to cycle: bottom → right → left) — or drag the header to an edge" aria-label="Change dock position"><!></button>`),QV=V(`<button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors"><!></button>`),$V=V(`<button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors" title="Close (Esc)" aria-label="Close devtools"><!></button>`),eH=V(`<span class="px-2.5 py-1 rounded-md bg-accent text-white text-xs font-semibold shadow-lg"> </span>`),tH=V(`<div><!></div>`),nH=V(`<div class="fixed inset-0 z-[1001] pointer-events-none" aria-hidden="true"></div>`),rH=V(`<section aria-label="Autotel devtools"><!> <header><!> <div class="flex items-center gap-2 flex-shrink-0 pr-1 mr-0.5"><!> <span class="text-xs font-semibold tracking-tight text-fg hidden sm:inline">autotel</span></div> <nav class="flex items-center gap-0.5 overflow-x-auto min-w-0 flex-1 at-no-scrollbar" aria-label="Devtools sections"></nav> <div class="flex items-center gap-1 flex-shrink-0 pl-1"><!> <button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors" title="Keyboard shortcuts (?)" aria-label="Keyboard shortcuts"><!></button> <!> <!> <!></div></header> <div class="flex-1 min-h-0 overflow-hidden"><!></div> <!></section> <!>`,1);function iH(e,t){it(t,!0);let n=N(void 0),r=M(()=>Fc.value),i=M(()=>Bc.value),a=M(()=>Rc.value??`bottom`),o=M(()=>il.value),s=M(()=>zc.value),c=sg(),l=M(()=>z(a)===`bottom`||z(a)===`top`),u=M(()=>z(l)?z(o).vertical:z(o).horizontal),d=M(()=>al(z(l)?`vertical`:`horizontal`)),f=M(()=>su.value),p=M(()=>nu.value),m=M(()=>ru.value),h=M(()=>({genai:z(p)>0?z(p):void 0,flow:z(m)>0?z(m):void 0,errors:z(f)>0?z(f):void 0})),g=M(()=>kV.map(e=>({...e,badge:z(h)[e.id]}))),_=NV({isVertical:()=>z(l),dock:()=>z(a),axisSize:()=>z(u),setSize:ol,resetSize:sl}),v=FV({dock:()=>z(a),pipActive:()=>z(s),onDock:Lu});async function y(){if(z(s)){dg(()=>zc.value=!1);return}let e=z(n)?.getRootNode(),t=e instanceof ShadowRoot?e.host:null;t&&await ug(t,()=>zc.value=!1,{width:760,height:600})&&(zc.value=!0)}let b=globalThis.window!==void 0&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches;function x(e,{dock:t}){if(b||z(s))return{duration:0};let n=t===`left`||t===`right`?`X`:`Y`,r=t===`bottom`||t===`right`?1:-1;return{duration:240,easing:ag,css:(e,t)=>`transform: translate${n}(${t*r*100}%)`}}let S=[`traces`,`genai`,`flow`,`service-map`,`metrics`,`logs`,`errors`],C=M(()=>$c.value);function w(){return Vc.value?_g:Bc.value===`traces`?gg:hg}zr(()=>{let e=z(n)?.getRootNode(),t=e instanceof ShadowRoot||e instanceof Document?e:window,r=e=>{let t=e;if(t.key===`Escape`){if($c.value){tl();return}if(vg())return;if(zc.value){dg(()=>zc.value=!1);return}ju();return}if(t.key===`?`&&!vg()){t.preventDefault(),nl(w());return}if(!$c.value&&!vg()&&t.key>=`1`&&t.key<=`7`){let e=Number.parseInt(t.key,10)-1;e<S.length&&Mu(S[e])}};return t.addEventListener(`keydown`,r),()=>t.removeEventListener(`keydown`,r)});let T=M(()=>z(s)?`inset-0`:{bottom:`left-0 right-0 bottom-0`,top:`left-0 right-0 top-0`,right:`top-0 bottom-0 right-0`,left:`top-0 bottom-0 left-0`}[z(a)]),ee=M(()=>z(s)?``:{bottom:`border-t`,top:`border-b`,right:`border-l`,left:`border-r`}[z(a)]),te=M(()=>({bottom:`-top-1 left-0 right-0 h-2 cursor-ns-resize`,top:`-bottom-1 left-0 right-0 h-2 cursor-ns-resize`,right:`-left-1 top-0 bottom-0 w-2 cursor-ew-resize`,left:`-right-1 top-0 bottom-0 w-2 cursor-ew-resize`})[z(a)]),ne=M(()=>({bottom:`inset-x-0 top-1 h-px`,top:`inset-x-0 bottom-1 h-px`,right:`inset-y-0 left-1 w-px`,left:`inset-y-0 right-1 w-px`})[z(a)]),re=M(()=>z(s)?``:z(l)?`height: ${z(u)}px;`:`width: ${z(u)}px;`),ie=M(()=>z(s)?``:{bottom:`box-shadow: 0 -12px 32px -14px var(--at-shadow), 0 -2px 6px -4px var(--at-shadow);`,top:`box-shadow: 0 12px 32px -14px var(--at-shadow), 0 2px 6px -4px var(--at-shadow);`,right:`box-shadow: -12px 0 32px -14px var(--at-shadow), -2px 0 6px -4px var(--at-shadow);`,left:`box-shadow: 12px 0 32px -14px var(--at-shadow), 2px 0 6px -4px var(--at-shadow);`}[z(a)]),ae=M(()=>z(a)===`right`?Qm:z(a)===`left`?Xm:Jm),oe=[{edge:`bottom`,pos:`left-0 right-0 bottom-0 h-24`,label:`Dock bottom`},{edge:`top`,pos:`left-0 right-0 top-0 h-24`,label:`Dock top`},{edge:`left`,pos:`top-0 bottom-0 left-0 w-44`,label:`Dock left`},{edge:`right`,pos:`top-0 bottom-0 right-0 w-44`,label:`Dock right`}];var se=da(),ce=I(se),le=e=>{var t=rH(),r=I(t),o=F(r),f=e=>{var t=qV(),n=F(t),r=L(n,2);D(t),R((e,i,a,o)=>{J(t,`aria-orientation`,z(l)?`horizontal`:`vertical`),J(t,`aria-valuenow`,e),J(t,`aria-valuemin`,z(d).min),J(t,`aria-valuemax`,z(d).max),q(t,1,i),q(n,1,a),q(r,1,o)},[()=>Math.round(z(u)),()=>K(Q(`absolute z-20 group touch-none select-none outline-none`,z(te))),()=>K(Q(`absolute bg-line-subtle transition-colors duration-150`,`group-hover:bg-accent group-focus-visible:bg-accent`,_.resizing&&`!bg-accent`,z(ne))),()=>K(Q(`absolute rounded-full bg-line transition-colors duration-150`,`group-hover:bg-accent group-focus-visible:bg-accent`,_.resizing&&`!bg-accent`,z(l)?`left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2 w-9 h-1`:`top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 h-9 w-1`))]),B(`pointerdown`,t,function(...e){_.onPointerDown?.apply(this,e)}),B(`keydown`,t,function(...e){_.onKeyDown?.apply(this,e)}),B(`dblclick`,t,function(...e){_.onDblClick?.apply(this,e)}),H(e,t)};W(o,e=>{z(s)||e(f)});var p=L(o,2),m=F(p),h=e=>{var t=JV();vm(F(t),{size:14}),D(t),H(e,t)};W(m,e=>{z(s)||e(h)});var b=L(m,2);id(F(b),{width:18,height:18}),Ke(2),D(b);var S=L(b,2);G(S,21,()=>z(g),e=>e.id,(e,t)=>{let n=M(()=>z(t).icon),r=M(()=>z(i)===z(t).id);var a=XV(),o=F(a);{let e=M(()=>z(t).id===`errors`&&z(t).badge?`text-danger`:void 0);Ba(o,()=>z(n),(t,n)=>{n(t,{size:14,get class(){return z(e)}})})}var s=L(o,2),c=F(s,!0);D(s);var l=L(s,2),u=e=>{var n=YV(),r=F(n,!0);D(n),R(e=>{q(n,1,e),U(r,z(t).badge>99?`99+`:z(t).badge)},[()=>K(Q(`px-1.5 py-px text-[10px] font-semibold rounded-full`,z(t).id===`errors`?`bg-danger-bg text-danger`:`bg-accent/15 text-fg-muted`))]),H(e,n)};W(l,e=>{z(t).badge&&e(u)}),D(a),R(e=>{J(a,`aria-current`,z(r)?`page`:void 0),q(a,1,e),U(c,z(t).label)},[()=>K(Q(`flex items-center gap-1.5 px-2.5 h-8 rounded-md flex-shrink-0`,`text-xs transition-colors cursor-pointer`,z(r)?`bg-accent/12 text-fg font-semibold ring-1 ring-inset ring-accent/20`:`text-fg-subtle font-medium hover:text-fg hover:bg-subtle`))]),B(`click`,a,()=>Mu(z(t).id)),H(e,a)}),D(S);var se=L(S,2);{let e=e=>{let t=M(()=>z(ae));var n=da();Ba(I(n),()=>z(t),(e,t)=>{t(e,{size:15})}),H(e,n)};var ce=F(se);HV(ce,{compact:!0});var le=L(ce,2);Ap(F(le),{size:15}),D(le);var E=L(le,2),ue=t=>{var n=ZV(),r=F(n);e(r),D(n),B(`click`,n,function(...e){Ru?.apply(this,e)}),H(t,n)};W(E,e=>{z(s)||e(ue)});var de=L(E,2),fe=e=>{var t=QV(),n=F(t),r=e=>{Rm(e,{size:15})},i=e=>{nh(e,{size:15})};W(n,e=>{z(s)?e(r):e(i,-1)}),D(t),R(()=>{J(t,`title`,z(s)?`Return to docked panel`:`Pop out to a separate window`),J(t,`aria-label`,z(s)?`Return to docked panel`:`Pop out to window`)}),B(`click`,t,y),H(e,t)};W(de,e=>{c&&e(fe)});var pe=L(de,2),me=e=>{var t=$V();ng(F(t),{size:16}),D(t),B(`click`,t,function(...e){ju?.apply(this,e)}),H(e,t)};W(pe,e=>{z(s)||e(me)}),D(se),B(`click`,le,()=>nl(w()))}D(p);var he=L(p,2);IV(F(he),{}),D(he);var ge=L(he,2),_e=e=>{KV(e,{get shortcuts(){return z(C)},get onClose(){return tl}})};W(ge,e=>{z(C)&&e(_e)}),D(r),Uo(r,e=>P(n,e),()=>z(n));var ve=L(r,2),ye=e=>{var t=nH();G(t,21,()=>oe,e=>e.edge,(e,t)=>{let n=M(()=>v.dropTarget===z(t).edge);var r=tH(),i=F(r),a=e=>{var n=eH(),r=F(n,!0);D(n),R(()=>U(r,z(t).label)),H(e,n)};W(i,e=>{z(n)&&e(a)}),D(r),R(e=>q(r,1,e),[()=>K(Q(`absolute flex items-center justify-center transition-colors duration-100`,z(t).pos,z(n)?`bg-accent/15 ring-2 ring-inset ring-accent`:`bg-accent/5`))]),H(e,r)}),D(t),H(e,t)};W(ve,e=>{v.dragging&&e(ye)}),R((e,t)=>{q(r,1,e),co(r,`${z(re)} ${z(ie)}`),q(p,1,t)},[()=>K(Q(`fixed z-[1000] flex flex-col`,`bg-surface text-fg`,z(T),z(ee),`border-line`)),()=>K(Q(`flex items-center gap-1 pl-2 pr-2 h-11 flex-shrink-0`,`border-b border-line bg-surface`,z(s)?``:`cursor-grab active:cursor-grabbing`))]),B(`pointerdown`,p,function(...e){v.onHeaderPointerDown?.apply(this,e)}),Ya(3,r,()=>x,()=>({dock:z(a)})),H(e,t)};W(ce,e=>{z(r)&&e(le)}),H(e,se),at()}na([`pointerdown`,`keydown`,`dblclick`,`click`]);var aH=V(`<button><!> </button>`),oH=V(`<nav></nav>`);function sH(e,t){it(t,!0);let n=Z(t,`orientation`,3,`horizontal`),r=M(()=>Bc.value);var i=oH();G(i,21,()=>kV,({id:e,label:t,icon:n})=>e,(e,t)=>{let n=()=>z(t).id,i=()=>z(t).label,a=()=>z(t).icon;var o=aH(),s=F(o);Ba(s,a,(e,t)=>{t(e,{size:14})});var c=L(s);D(o),R(e=>{q(o,1,e),U(c,` ${i()??``}`)},[()=>K(Q(`flex items-center gap-2 px-3 py-2 text-xs font-medium rounded transition-colors whitespace-nowrap`,z(r)===n()?`bg-accent text-white`:`text-fg-subtle hover:bg-hover hover:text-fg`))]),B(`click`,o,()=>Mu(n())),H(e,o)}),D(i),R(e=>q(i,1,e),[()=>K(Q(`flex gap-1 p-1`,n()===`vertical`?`flex-col w-48 border-r border-line`:`border-b border-line overflow-x-auto`))]),H(e,i),at()}na([`click`]);var cH=V(`<!> <span class="font-medium">Snapshot mode</span> <span class="text-warning">— live updates paused.</span> <button class="ml-auto inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-warning-bg transition-colors" title="Exit snapshot and clear data"><!> Exit</button>`,1),lH=V(`<span class="text-fg-subtle"> </span> <button class="ml-auto inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-hover transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent"><!> Download snapshot</button> <button class="inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-hover transition-colors" title="Load a snapshot file"><!> Load snapshot</button> <button class="inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-hover hover:text-danger transition-colors" title="Clear all captured data — traces, logs, metrics and errors"><!> Clear</button>`,1),uH=V(`<span class="text-danger truncate"> </span>`),dH=V(`<span class="text-warning truncate"> </span>`),fH=V(`<div><!> <input type="file" accept="application/json,.json" class="hidden"/> <!> <!></div>`);function pH(e,t){it(t,!0);let n=N(void 0),r=N(null),i=N(null),a=M(()=>kl.value),o=M(()=>[{n:cl.value.length,one:`trace`,many:`traces`},{n:dl.value.length,one:`log`,many:`logs`},{n:ul.value.length,one:`error`,many:`errors`}].filter(e=>e.n>0).map(e=>`${e.n} ${e.n===1?e.one:e.many}`)),s=M(()=>z(o).length===0),c=()=>{P(r,null),P(i,null),qy({traces:cl.value,logs:dl.value,errors:ul.value})},l=()=>{z(n)?.click()},u=()=>{P(r,null),P(i,null),Bu()},d=async e=>{P(r,null),P(i,null);let t=e.currentTarget,n=t.files?.[0];if(t.value=``,!n)return;let a=await Xy(n);if(!a.success||!a.snapshot){P(r,a.errors.join(`; `)||`Failed to load snapshot`,!0);return}a.warnings.length>0&&P(i,a.warnings.join(`; `),!0),ku(a.snapshot)};var f=fH(),p=F(f),m=e=>{var t=cH(),n=I(t);mp(n,{size:12});var r=L(n,6);ng(F(r),{size:12}),Ke(),D(r),B(`click`,r,function(...e){Au?.apply(this,e)}),H(e,t)},h=e=>{var t=lH(),n=I(t),r=F(n,!0);D(n);var i=L(n,2);mp(F(i),{size:12}),Ke(),D(i);var a=L(i,2);Kh(F(a),{size:12}),Ke(),D(a);var d=L(a,2);Bh(F(d),{size:12}),Ke(),D(d),R(e=>{U(r,e),i.disabled=z(s),J(i,`title`,z(s)?`Nothing captured yet`:`Download a snapshot of traces, logs, errors and metrics`)},[()=>z(s)?`No data captured`:z(o).join(` · `)]),B(`click`,i,c),B(`click`,a,l),B(`click`,d,u),H(e,t)};W(p,e=>{z(a)?e(m):e(h,-1)});var g=L(p,2);Uo(g,e=>P(n,e),()=>z(n));var _=L(g,2),v=e=>{var t=uH(),n=F(t,!0);D(t),R(()=>{J(t,`title`,z(r)),U(n,z(r))}),H(e,t)};W(_,e=>{z(r)&&e(v)});var y=L(_,2),b=e=>{var t=dH(),n=F(t,!0);D(t),R(()=>{J(t,`title`,z(i)),U(n,z(i))}),H(e,t)};W(y,e=>{z(i)&&!z(r)&&e(b)}),D(f),R(e=>q(f,1,e),[()=>K(Q(`border-b border-line px-3 py-1.5 text-xs flex items-center gap-2`,z(a)?`bg-warning-bg text-warning`:`bg-subtle text-fg-muted`))]),B(`change`,g,d),H(e,f),at()}na([`click`,`change`]);var mH=V(`<div class="flex h-screen w-screen bg-surface text-fg"><div class="hidden md:flex flex-col border-r border-line"><!> <div class="mt-auto p-2 border-t border-line flex flex-col gap-1"><!> <button class="flex items-center gap-2 px-3 py-2 text-xs text-fg-subtle hover:bg-hover hover:text-fg rounded transition-colors"><!> </button> <button class="flex items-center gap-2 px-3 py-2 text-xs text-fg-subtle hover:bg-hover hover:text-fg rounded transition-colors" title="Keyboard shortcuts (?)"><!> Shortcuts</button></div></div> <div class="flex-1 flex flex-col min-w-0"><!> <div class="md:hidden"><!></div> <div class="flex-1 overflow-hidden"><!></div></div> <!></div>`);function hH(e,t){it(t,!0);function n(){return Vc.value?_g:Bc.value===`traces`?gg:hg}let r=M(()=>Gc.value),i=M(()=>$c.value);zr(()=>{Gc.value=Kc()});let a=N(void 0);zr(()=>{let e=null,t=z(a)?.getRootNode();t instanceof ShadowRoot?e=t.host:globalThis.document!==void 0&&(e=document.documentElement),e&&e.setAttribute(`data-theme`,z(r))}),zr(()=>{let e=e=>{if(e.key===`?`&&!vg()){e.preventDefault(),nl(n());return}if(!$c.value&&!vg()&&e.key>=`1`&&e.key<=`9`){let t=parseInt(e.key,10)-1;t<AV.length&&Mu(AV[t])}};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)});let o=M(()=>z(r)===`dark`?`Dark`:z(r)===`light`?`Light`:`System`);var s=mH(),c=F(s),l=F(c);sH(l,{orientation:`vertical`});var u=L(l,2),d=F(u);HV(d,{});var f=L(d,2),p=F(f),m=e=>{Wm(e,{size:14})},h=e=>{Ph(e,{size:14})},g=e=>{Hm(e,{size:14})};W(p,e=>{z(r)===`dark`?e(m):z(r)===`light`?e(h,1):e(g,-1)});var _=L(p);D(f);var v=L(f,2);Ap(F(v),{size:14}),Ke(),D(v),D(u),D(c);var y=L(c,2),b=F(y);pH(b,{});var x=L(b,2);sH(F(x),{orientation:`horizontal`}),D(x);var S=L(x,2);IV(F(S),{}),D(S),D(y);var C=L(y,2),w=e=>{KV(e,{get shortcuts(){return z(i)},get onClose(){return tl}})};W(C,e=>{z(i)&&e(w)}),D(s),Uo(s,e=>P(a,e),()=>z(a)),R(()=>{J(f,`title`,`Theme: ${z(o)} (click to cycle)`),U(_,` ${z(o)??``}`)}),B(`click`,f,function(...e){Jc?.apply(this,e)}),B(`click`,v,()=>el(n())),H(e,s),at()}na([`click`]);var gH=250,_H=5e3;function vH(e={}){let t=e.now??(()=>Date.now()),n=e.debounceMs??gH,r=e.limit??_H,i=0,a=null,o=null,s=!1;function c(){let t=pl.value,n=e.baseUrl??(t?$o(t):null)??globalThis.location?.origin??``;return{fetch:e.fetch??globalThis.fetch.bind(globalThis),baseUrl:n}}async function l(){if(s)return;let e=++i;a?.abort();let n=new AbortController;a=n;let o={query:``,window:Ms(Es(ml.value,t())),limit:r},l={...c(),signal:n.signal},[u,d]=await Promise.all([yH(o,l),TA(o,l)]);e!==i||s||(u.status===`ok`?(hl.value=u.traces,_l.value=`ready`):u.status===`error`&&(_l.value=`unavailable`),d.status===`ok`&&(gl.value=d.errors))}function u(){if(!s){if(o&&clearTimeout(o),n<=0){l();return}o=setTimeout(()=>{o=null,l()},n)}}return{refresh:l,invalidate:u,dispose(){s=!0,o&&clearTimeout(o),a?.abort()}}}async function yH(e,t){let n=[],r=new Set,i;do{let a=await SA({...e,cursor:i},t);if(a.status!==`ok`)return a;if(n.push(...a.traces),i=a.nextCursor??void 0,i&&r.has(i))return{status:`error`,message:`The trace query returned a repeated pagination cursor.`};i&&r.add(i)}while(i);return{status:`ok`,traces:n,nextCursor:null}}var bH=`data-autotel-portal`;function xH(e){let t=e.querySelector(`[${bH}]`);if(t)return t;let n=document.createElement(`div`);return n.setAttribute(bH,``),n.style.position=`absolute`,n.style.top=`0`,n.style.left=`0`,n.style.zIndex=`2147483000`,e.appendChild(n),n}var SH=V(`<!> <!>`,1),CH=V(`<div class="contents"><!></div>`);function wH(e,t){it(t,!0);function n(e){Mu(e.tab??`traces`),Nl.value=e.q??``,Pl.value=e.status??`all`,Fl.value=e.minDuration??0,ml.value=e.window??Cs,Ml.value=e.sort??Zu,zl.value=e.genaiQuery??``,e.traceId&&Wc(e.traceId,e.spanId)}zr(()=>{pl.value=t.wsUrl});let r=vH();zr(()=>(r.refresh(),()=>r.dispose())),zr(()=>{ml.value,cl.value.length,r.invalidate()});let i=N(void 0),a=N(void 0);zr(()=>{if(!z(i))return;let e=z(i).getRootNode();P(a,xH(e instanceof ShadowRoot?e:document.body),!0)}),zr(()=>{t.deepLink&&n(t.deepLink)}),zr(()=>{let e=Uc.value;e&&cl.value.some(t=>t.traceId===e.traceId)&&(Nu(e.traceId,e.spanId??null),Mu(`traces`),Uc.value=null)});let o=null;zr(()=>{if(t.mode!==`fullpage`)return;let e={tab:Bc.value,traceId:Vc.value??void 0,spanId:Hc.value??void 0,q:Nl.value||void 0,status:Pl.value,minDuration:Fl.value,window:ml.value,sort:Ml.value,genaiQuery:zl.value||void 0};if(Uc.value)return;let n=ed(e);if(n===location.hash)return;let r=td(o,e);o=e;let i=`${location.pathname}${location.search}${n}`;r===`push`?history.pushState(history.state,``,i):history.replaceState(history.state,``,i)}),zr(()=>{if(t.mode!==`fullpage`)return;let e=()=>{let e=$u(location.hash);o=e,n(e)};return window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)}),zr(()=>{Wu(),ns($o(t.wsUrl));let e=new Qo(t.wsUrl);fl.value=`connecting`;let n=e.onStatusChange(e=>{fl.value=e}),r=e.onMessage(Tu);return e.connect(),()=>{r(),n(),e.disconnect()}});var s=CH();dE(F(s),{get defaultPortalTo(){return z(a)},children:(e,n)=>{var r=da(),i=I(r),a=e=>{hH(e,{})},o=e=>{var t=SH(),n=I(t);Hf(n,{}),iH(L(n,2),{}),H(e,t)};W(i,e=>{t.mode===`fullpage`?e(a):e(o,-1)}),H(e,r)},$$slots:{default:!0}}),D(s),Uo(s,e=>P(i,e),()=>z(i)),H(e,s),at()}function TH(e,t){let n=ha(wH,{target:e,props:t});return()=>{ya(n)}}var EH=`/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
46
- @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{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--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-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-outline-style:solid}::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--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-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:"Hanken Grotesk", system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, "SF Mono", monospace;--color-red-100:#ffe2e2;--color-red-400:#ff6568;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-red-700:#bf000f;--color-orange-100:#ffedd5;--color-orange-400:#ff8b1a;--color-orange-500:#fe6e00;--color-orange-600:#f05100;--color-orange-700:#c53c00;--color-amber-100:#fef3c6;--color-amber-500:#f99c00;--color-amber-600:#dd7400;--color-amber-700:#b75000;--color-yellow-100:#fef9c2;--color-yellow-500:#edb200;--color-yellow-600:#cd8900;--color-green-100:#dcfce7;--color-green-400:#05df72;--color-green-500:#00c758;--color-green-600:#00a544;--color-emerald-500:#00bb7f;--color-emerald-600:#009767;--color-teal-500:#00baa7;--color-teal-600:#009588;--color-cyan-100:#cefafe;--color-cyan-500:#00b7d7;--color-cyan-600:#0092b5;--color-sky-500:#00a5ef;--color-sky-600:#0084cc;--color-blue-100:#dbeafe;--color-blue-400:#54a2ff;--color-blue-500:#3080ff;--color-blue-600:#155dfc;--color-indigo-500:#625fff;--color-indigo-600:#4f39f6;--color-violet-100:#ede9fe;--color-violet-500:#8d54ff;--color-violet-600:#7f22fe;--color-violet-700:#7008e7;--color-purple-100:#f3e8ff;--color-purple-400:#c07eff;--color-purple-500:#ac4bff;--color-purple-600:#9810fa;--color-fuchsia-500:#e12afb;--color-fuchsia-600:#c600db;--color-rose-500:#ff2357;--color-rose-600:#e70044;--color-gray-50:#f9fafb;--color-gray-100:#f3f4f6;--color-gray-400:#99a1af;--color-gray-500:#6a7282;--color-gray-900:#101828;--color-stone-500:#79716b;--color-stone-600:#57534d;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--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:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--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);--color-surface:var(--at-surface);--color-subtle:var(--at-muted);--color-hover:var(--at-surface-hover);--color-code:var(--at-code);--color-fg:var(--at-text-primary);--color-fg-muted:var(--at-text-secondary);--color-fg-subtle:var(--at-text-muted);--color-line:var(--at-border);--color-line-subtle:var(--at-border-light);--color-accent:var(--at-accent);--color-danger:var(--at-error-text);--color-danger-bg:var(--at-error-bg);--color-danger-border:var(--at-error-border);--color-success:var(--at-ok-text);--color-success-bg:var(--at-ok-bg);--color-success-border:var(--at-ok-border);--color-warning:var(--at-warn-text);--color-warning-bg:var(--at-warn-bg);--color-warning-border:var(--at-warn-border);--color-selected:var(--at-selected-bg)}@supports (color:color(display-p3 0 0 0)){:root,:host{--color-red-100:color(display-p3 .980386 .889727 .887779);--color-red-400:color(display-p3 .933534 .431676 .423491);--color-red-500:color(display-p3 .903738 .262579 .253307);--color-red-600:color(display-p3 .830323 .140383 .133196);--color-red-700:color(display-p3 .692737 .116232 .104679);--color-orange-100:color(display-p3 .988762 .931393 .843273);--color-orange-400:color(display-p3 .950192 .561807 .211017);--color-orange-500:color(display-p3 .946589 .449788 .0757345);--color-orange-600:color(display-p3 .887467 .341665 .0219962);--color-orange-700:color(display-p3 .729844 .257256 .0511062);--color-amber-100:color(display-p3 .989391 .954583 .796328);--color-amber-500:color(display-p3 .93994 .620584 .0585367);--color-amber-600:color(display-p3 .827144 .467166 .0336006);--color-amber-700:color(display-p3 .67989 .32771 .0520514);--color-yellow-100:color(display-p3 .993436 .977463 .782913);--color-yellow-500:color(display-p3 .903651 .703062 .0745389);--color-yellow-600:color(display-p3 .776342 .542492 .041709);--color-green-100:color(display-p3 .885269 .984329 .910368);--color-green-400:color(display-p3 .399536 .862346 .49324);--color-green-500:color(display-p3 .308734 .774754 .374307);--color-green-600:color(display-p3 .243882 .640824 .294808);--color-emerald-500:color(display-p3 .267113 .726847 .508397);--color-emerald-600:color(display-p3 .206557 .589057 .413962);--color-teal-500:color(display-p3 .266569 .721518 .655462);--color-teal-600:color(display-p3 .207114 .579584 .53668);--color-cyan-100:color(display-p3 .843085 .97553 .992573);--color-cyan-500:color(display-p3 .246703 .710032 .841444);--color-cyan-600:color(display-p3 .193249 .564651 .707197);--color-sky-500:color(display-p3 .219113 .639027 .931479);--color-sky-600:color(display-p3 .162505 .509376 .796082);--color-blue-100:color(display-p3 .869214 .915931 .989622);--color-blue-400:color(display-p3 .397443 .62813 .992116);--color-blue-500:color(display-p3 .266422 .491219 .988624);--color-blue-600:color(display-p3 .174493 .358974 .950247);--color-indigo-500:color(display-p3 .380374 .372235 .971707);--color-indigo-600:color(display-p3 .297656 .227891 .929242);--color-violet-100:color(display-p3 .926222 .913546 .990178);--color-violet-500:color(display-p3 .523372 .329605 .990884);--color-violet-600:color(display-p3 .459951 .162666 .957985);--color-violet-700:color(display-p3 .40161 .0841901 .871151);--color-purple-100:color(display-p3 .945034 .910569 .992972);--color-purple-400:color(display-p3 .719919 .492497 .995173);--color-purple-500:color(display-p3 .629519 .30089 .990817);--color-purple-600:color(display-p3 .546729 .130167 .94439);--color-fuchsia-500:color(display-p3 .81268 .241966 .951571);--color-fuchsia-600:color(display-p3 .716587 .083681 .841036);--color-rose-500:color(display-p3 .921824 .240748 .355666);--color-rose-600:color(display-p3 .848792 .102011 .269259);--color-gray-50:color(display-p3 .977213 .98084 .985102);--color-gray-100:color(display-p3 .953567 .956796 .964321);--color-gray-400:color(display-p3 .605734 .630385 .680158);--color-gray-500:color(display-p3 .421287 .446085 .504784);--color-gray-900:color(display-p3 .070423 .0928982 .151928);--color-stone-500:color(display-p3 .467445 .443064 .42264);--color-stone-600:color(display-p3 .339543 .325291 .304619)}}@supports (color:lab(0% 0 0)){:root,:host{--color-red-100:lab(92.243% 10.2865 3.83865);--color-red-400:lab(63.7053% 60.745 31.3109);--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452);--color-red-700:lab(40.4273% 67.2623 53.7441);--color-orange-100:lab(94.7127% 3.58394 14.3151);--color-orange-400:lab(70.0429% 42.5156 75.8207);--color-orange-500:lab(64.272% 57.1788 90.3583);--color-orange-600:lab(57.1026% 64.2584 89.8886);--color-orange-700:lab(46.4615% 57.7275 70.8507);--color-amber-100:lab(95.916% -1.21653 23.111);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-amber-600:lab(60.3514% 40.5624 87.1228);--color-amber-700:lab(47.2709% 42.9082 69.2966);--color-yellow-100:lab(97.3564% -4.51407 27.344);--color-yellow-500:lab(76.3898% 14.5258 98.4589);--color-yellow-600:lab(62.7799% 22.4197 86.1544);--color-green-100:lab(96.1861% -13.8464 6.52365);--color-green-400:lab(78.503% -64.9265 39.7492);--color-green-500:lab(70.5521% -66.5147 45.8073);--color-green-600:lab(59.0978% -58.6621 41.2579);--color-emerald-500:lab(66.9756% -58.27 19.5419);--color-emerald-600:lab(55.0481% -49.9246 15.93);--color-teal-500:lab(67.3859% -49.0983 -2.63511);--color-teal-600:lab(55.0223% -41.0774 -3.90277);--color-cyan-100:lab(95.3146% -13.8285 -6.84732);--color-cyan-500:lab(67.805% -35.3952 -30.2018);--color-cyan-600:lab(55.1767% -26.7496 -30.5139);--color-sky-500:lab(63.3038% -18.433 -51.0407);--color-sky-600:lab(51.7754% -11.4712 -49.8349);--color-blue-100:lab(92.0301% -2.24757 -11.6453);--color-blue-400:lab(65.0361% -1.42065 -56.9802);--color-blue-500:lab(54.1736% 13.3369 -74.6839);--color-blue-600:lab(44.0605% 29.0279 -86.0352);--color-indigo-500:lab(48.295% 38.3129 -81.9673);--color-indigo-600:lab(38.4009% 52.6132 -92.3857);--color-violet-100:lab(93.0838% 4.35197 -9.88284);--color-violet-500:lab(49.9355% 55.1776 -81.8963);--color-violet-600:lab(41.088% 68.9966 -91.995);--color-violet-700:lab(35.2783% 67.9912 -88.793);--color-purple-100:lab(93.3333% 6.97437 -9.83434);--color-purple-400:lab(63.6946% 47.6127 -59.2066);--color-purple-500:lab(52.0183% 66.11 -78.2316);--color-purple-600:lab(43.0295% 75.21 -86.5669);--color-fuchsia-500:lab(56.4256% 83.132 -64.639);--color-fuchsia-600:lab(47.5131% 83.4271 -63.0363);--color-rose-500:lab(56.101% 79.4328 31.4532);--color-rose-600:lab(49.1882% 81.577 36.0311);--color-gray-50:lab(98.2596% -.247031 -.706708);--color-gray-100:lab(96.1596% -.0823438 -1.13575);--color-gray-400:lab(65.9269% -.832707 -8.17473);--color-gray-500:lab(47.7841% -.393182 -10.0268);--color-gray-900:lab(8.11897% .811279 -12.254);--color-stone-500:lab(48.1164% 2.35701 4.26852);--color-stone-600:lab(35.5168% 1.08604 4.07829)}}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{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;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;-webkit-text-decoration:inherit;-webkit-text-decoration: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:where(:not(iframe)){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}::-webkit-file-upload-button{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:-webkit-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:-webkit-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::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-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button{-webkit-appearance:button;appearance:button}input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-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}}@layer components;@layer utilities{.\\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{top:0;bottom:0;left:0;right:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-top-1{top:calc(var(--spacing) * -1)}.top-0{top:0}.top-0\\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-3{top:calc(var(--spacing) * 3)}.top-10{top:calc(var(--spacing) * 10)}.top-\\[7px\\]{top:7px}.top-\\[9px\\]{top:9px}.top-\\[calc\\(100\\%-2px\\)\\]{top:calc(100% - 2px)}.top-full{top:100%}.-right-1{right:calc(var(--spacing) * -1)}.-right-1\\.5{right:calc(var(--spacing) * -1.5)}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\\.5{right:calc(var(--spacing) * 1.5)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.-bottom-1{bottom:calc(var(--spacing) * -1)}.bottom-0{bottom:0}.bottom-0\\.5{bottom:calc(var(--spacing) * .5)}.bottom-1{bottom:var(--spacing)}.bottom-3{bottom:calc(var(--spacing) * 3)}.-left-1{left:calc(var(--spacing) * -1)}.-left-1\\.5{left:calc(var(--spacing) * -1.5)}.-left-px{left:-1px}.left-0{left:0}.left-1{left:var(--spacing)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[1000\\]{z-index:1000}.z-\\[1001\\]{z-index:1001}.z-\\[1100\\]{z-index:1100}.z-\\[1200\\]{z-index:1200}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-m-1{margin:calc(var(--spacing) * -1)}.m-3{margin:calc(var(--spacing) * 3)}.m-4{margin:calc(var(--spacing) * 4)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline-start:auto;margin-inline-end:auto}.my-1{margin-block:var(--spacing)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-auto{margin-top:auto}.mt-px{margin-top:1px}.mr-0\\.5{margin-right:calc(var(--spacing) * .5)}.mr-1{margin-right:var(--spacing)}.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:var(--spacing)}.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-0\\.5{margin-left:calc(var(--spacing) * .5)}.ml-1{margin-left:var(--spacing)}.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}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-0\\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-1\\/2{height:50%}.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-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-11{height:calc(var(--spacing) * 11)}.h-24{height:calc(var(--spacing) * 24)}.h-\\[300px\\]{height:300px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[85vh\\]{max-height:85vh}.max-h-\\[160px\\]{max-height:160px}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[240px\\]{max-height:240px}.min-h-0{min-height:0}.min-h-\\[120px\\]{min-height:120px}.w-0\\.5{width:calc(var(--spacing) * .5)}.w-1{width:var(--spacing)}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.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-4{width:calc(var(--spacing) * 4)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\\[1\\%\\]{width:1%}.w-\\[80px\\]{width:80px}.w-\\[200px\\]{width:200px}.w-\\[480px\\]{width:480px}.w-\\[min\\(560px\\,92vw\\)\\]{width:min(560px,92vw)}.w-\\[min\\(700px\\,92vw\\)\\]{width:min(700px,92vw)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[10rem\\]{max-width:10rem}.max-w-\\[14rem\\]{max-width:14rem}.max-w-\\[16rem\\]{max-width:16rem}.max-w-\\[90vw\\]{max-width:90vw}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[420px\\]{max-width:420px}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-xl{max-width:var(--container-xl)}.min-w-0{min-width:0}.min-w-\\[8px\\]{min-width:8px}.min-w-\\[16px\\]{min-width:16px}.min-w-\\[180px\\]{min-width:180px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-125{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-ns-resize{cursor:ns-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\\[80px_1fr\\]{grid-template-columns:80px 1fr}.grid-cols-\\[100px_1fr\\]{grid-template-columns:100px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-px{gap:1px}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:0;margin-block-end:0}: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(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * 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)))}.gap-y-2{row-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-line>:not(:last-child)){border-color:var(--color-line)}:where(.divide-line-subtle>:not(:last-child)){border-color:var(--color-line-subtle)}.self-stretch{align-self:stretch}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[1px\\]{border-radius:1px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.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-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-accent,.border-accent\\/30{border-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.border-accent\\/30{border-color:color-mix(in oklab, var(--color-accent) 30%, transparent)}}.border-accent\\/40{border-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.border-accent\\/40{border-color:color-mix(in oklab, var(--color-accent) 40%, transparent)}}.border-amber-500\\/20{border-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.border-amber-500\\/20{border-color:color-mix(in oklab, var(--color-amber-500) 20%, transparent)}}.border-amber-500\\/30{border-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.border-amber-500\\/30{border-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.border-blue-500\\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab, red, red)){.border-blue-500\\/30{border-color:color-mix(in oklab, var(--color-blue-500) 30%, transparent)}}.border-cyan-500\\/30{border-color:#00b7d74d}@supports (color:color-mix(in lab, red, red)){.border-cyan-500\\/30{border-color:color-mix(in oklab, var(--color-cyan-500) 30%, transparent)}}.border-danger-border{border-color:var(--color-danger-border)}.border-danger\\/30{border-color:var(--color-danger)}@supports (color:color-mix(in lab, red, red)){.border-danger\\/30{border-color:color-mix(in oklab, var(--color-danger) 30%, transparent)}}.border-emerald-500\\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\\/30{border-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.border-fuchsia-500\\/30{border-color:#e12afb4d}@supports (color:color-mix(in lab, red, red)){.border-fuchsia-500\\/30{border-color:color-mix(in oklab, var(--color-fuchsia-500) 30%, transparent)}}.border-green-500\\/30{border-color:#00c7584d}@supports (color:color-mix(in lab, red, red)){.border-green-500\\/30{border-color:color-mix(in oklab, var(--color-green-500) 30%, transparent)}}.border-indigo-500\\/30{border-color:#625fff4d}@supports (color:color-mix(in lab, red, red)){.border-indigo-500\\/30{border-color:color-mix(in oklab, var(--color-indigo-500) 30%, transparent)}}.border-line{border-color:var(--color-line)}.border-line-subtle{border-color:var(--color-line-subtle)}.border-line\\/50{border-color:var(--color-line)}@supports (color:color-mix(in lab, red, red)){.border-line\\/50{border-color:color-mix(in oklab, var(--color-line) 50%, transparent)}}.border-line\\/60{border-color:var(--color-line)}@supports (color:color-mix(in lab, red, red)){.border-line\\/60{border-color:color-mix(in oklab, var(--color-line) 60%, transparent)}}.border-orange-500\\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab, red, red)){.border-orange-500\\/30{border-color:color-mix(in oklab, var(--color-orange-500) 30%, transparent)}}.border-purple-500\\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab, red, red)){.border-purple-500\\/30{border-color:color-mix(in oklab, var(--color-purple-500) 30%, transparent)}}.border-red-500\\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab, red, red)){.border-red-500\\/30{border-color:color-mix(in oklab, var(--color-red-500) 30%, transparent)}}.border-stone-500\\/30{border-color:#79716b4d}@supports (color:color-mix(in lab, red, red)){.border-stone-500\\/30{border-color:color-mix(in oklab, var(--color-stone-500) 30%, transparent)}}.border-success-border{border-color:var(--color-success-border)}.border-violet-500\\/30{border-color:#8d54ff4d}@supports (color:color-mix(in lab, red, red)){.border-violet-500\\/30{border-color:color-mix(in oklab, var(--color-violet-500) 30%, transparent)}}.border-warning-border{border-color:var(--color-warning-border)}.border-white{border-color:var(--color-white)}.border-l-warning{border-left-color:var(--color-warning)}.\\!bg-accent{background-color:var(--color-accent)!important}.bg-accent,.bg-accent\\/5{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/5{background-color:color-mix(in oklab, var(--color-accent) 5%, transparent)}}.bg-accent\\/10{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/10{background-color:color-mix(in oklab, var(--color-accent) 10%, transparent)}}.bg-accent\\/12{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/12{background-color:color-mix(in oklab, var(--color-accent) 12%, transparent)}}.bg-accent\\/15{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/15{background-color:color-mix(in oklab, var(--color-accent) 15%, transparent)}}.bg-accent\\/70{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/70{background-color:color-mix(in oklab, var(--color-accent) 70%, transparent)}}.bg-amber-100{background-color:var(--color-amber-100)}.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-amber-500\\/15{background-color:#f99c0026}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\\/15{background-color:color-mix(in oklab, var(--color-amber-500) 15%, transparent)}}.bg-black\\/55{background-color:#0000008c}@supports (color:color-mix(in lab, red, red)){.bg-black\\/55{background-color:color-mix(in oklab, var(--color-black) 55%, transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\\/10{background-color:color-mix(in oklab, var(--color-blue-500) 10%, transparent)}}.bg-blue-500\\/15{background-color:#3080ff26}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\\/15{background-color:color-mix(in oklab, var(--color-blue-500) 15%, transparent)}}.bg-code{background-color:var(--color-code)}.bg-cyan-100{background-color:var(--color-cyan-100)}.bg-cyan-500\\/15{background-color:#00b7d726}@supports (color:color-mix(in lab, red, red)){.bg-cyan-500\\/15{background-color:color-mix(in oklab, var(--color-cyan-500) 15%, transparent)}}.bg-danger{background-color:var(--color-danger)}.bg-danger-bg,.bg-danger-bg\\/40{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.bg-danger-bg\\/40{background-color:color-mix(in oklab, var(--color-danger-bg) 40%, transparent)}}.bg-danger\\/5{background-color:var(--color-danger)}@supports (color:color-mix(in lab, red, red)){.bg-danger\\/5{background-color:color-mix(in oklab, var(--color-danger) 5%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-500\\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\\/10{background-color:color-mix(in oklab, var(--color-emerald-500) 10%, transparent)}}.bg-emerald-500\\/15{background-color:#00bb7f26}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\\/15{background-color:color-mix(in oklab, var(--color-emerald-500) 15%, transparent)}}.bg-fg-subtle{background-color:var(--color-fg-subtle)}.bg-fuchsia-500\\/15{background-color:#e12afb26}@supports (color:color-mix(in lab, red, red)){.bg-fuchsia-500\\/15{background-color:color-mix(in oklab, var(--color-fuchsia-500) 15%, transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\\/15{background-color:#00c75826}@supports (color:color-mix(in lab, red, red)){.bg-green-500\\/15{background-color:color-mix(in oklab, var(--color-green-500) 15%, transparent)}}.bg-hover{background-color:var(--color-hover)}.bg-indigo-500\\/15{background-color:#625fff26}@supports (color:color-mix(in lab, red, red)){.bg-indigo-500\\/15{background-color:color-mix(in oklab, var(--color-indigo-500) 15%, transparent)}}.bg-line{background-color:var(--color-line)}.bg-line-subtle{background-color:var(--color-line-subtle)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-400{background-color:var(--color-orange-400)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\\/15{background-color:#fe6e0026}@supports (color:color-mix(in lab, red, red)){.bg-orange-500\\/15{background-color:color-mix(in oklab, var(--color-orange-500) 15%, transparent)}}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-500\\/15{background-color:#ac4bff26}@supports (color:color-mix(in lab, red, red)){.bg-purple-500\\/15{background-color:color-mix(in oklab, var(--color-purple-500) 15%, transparent)}}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/15{background-color:#fb2c3626}@supports (color:color-mix(in lab, red, red)){.bg-red-500\\/15{background-color:color-mix(in oklab, var(--color-red-500) 15%, transparent)}}.bg-rose-500{background-color:var(--color-rose-500)}.bg-selected{background-color:var(--color-selected)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-stone-500\\/15{background-color:#79716b26}@supports (color:color-mix(in lab, red, red)){.bg-stone-500\\/15{background-color:color-mix(in oklab, var(--color-stone-500) 15%, transparent)}}.bg-subtle,.bg-subtle\\/40{background-color:var(--color-subtle)}@supports (color:color-mix(in lab, red, red)){.bg-subtle\\/40{background-color:color-mix(in oklab, var(--color-subtle) 40%, transparent)}}.bg-subtle\\/50{background-color:var(--color-subtle)}@supports (color:color-mix(in lab, red, red)){.bg-subtle\\/50{background-color:color-mix(in oklab, var(--color-subtle) 50%, transparent)}}.bg-subtle\\/60{background-color:var(--color-subtle)}@supports (color:color-mix(in lab, red, red)){.bg-subtle\\/60{background-color:color-mix(in oklab, var(--color-subtle) 60%, transparent)}}.bg-success{background-color:var(--color-success)}.bg-success-bg{background-color:var(--color-success-bg)}.bg-surface{background-color:var(--color-surface)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-violet-100{background-color:var(--color-violet-100)}.bg-violet-500{background-color:var(--color-violet-500)}.bg-violet-500\\/10{background-color:#8d54ff1a}@supports (color:color-mix(in lab, red, red)){.bg-violet-500\\/10{background-color:color-mix(in oklab, var(--color-violet-500) 10%, transparent)}}.bg-violet-500\\/15{background-color:#8d54ff26}@supports (color:color-mix(in lab, red, red)){.bg-violet-500\\/15{background-color:color-mix(in oklab, var(--color-violet-500) 15%, transparent)}}.bg-warning{background-color:var(--color-warning)}.bg-warning-bg{background-color:var(--color-warning-bg)}.bg-warning\\/5{background-color:var(--color-warning)}@supports (color:color-mix(in lab, red, red)){.bg-warning\\/5{background-color:color-mix(in oklab, var(--color-warning) 5%, transparent)}}.bg-yellow-100{background-color:var(--color-yellow-100)}.fill-\\[var\\(--color-fg-subtle\\)\\]{fill:var(--color-fg-subtle)}.fill-amber-500\\/15{fill:#f99c0026}@supports (color:color-mix(in lab, red, red)){.fill-amber-500\\/15{fill:color-mix(in oklab, var(--color-amber-500) 15%, transparent)}}.fill-amber-600{fill:var(--color-amber-600)}.fill-blue-500\\/15{fill:#3080ff26}@supports (color:color-mix(in lab, red, red)){.fill-blue-500\\/15{fill:color-mix(in oklab, var(--color-blue-500) 15%, transparent)}}.fill-blue-600{fill:var(--color-blue-600)}.fill-danger{fill:var(--color-danger)}.fill-emerald-500\\/15{fill:#00bb7f26}@supports (color:color-mix(in lab, red, red)){.fill-emerald-500\\/15{fill:color-mix(in oklab, var(--color-emerald-500) 15%, transparent)}}.fill-emerald-600{fill:var(--color-emerald-600)}.fill-fg-muted{fill:var(--color-fg-muted)}.fill-fg-subtle{fill:var(--color-fg-subtle)}.fill-red-500{fill:var(--color-red-500)}.fill-rose-500\\/15{fill:#ff235726}@supports (color:color-mix(in lab, red, red)){.fill-rose-500\\/15{fill:color-mix(in oklab, var(--color-rose-500) 15%, transparent)}}.fill-rose-600{fill:var(--color-rose-600)}.fill-sky-500\\/15{fill:#00a5ef26}@supports (color:color-mix(in lab, red, red)){.fill-sky-500\\/15{fill:color-mix(in oklab, var(--color-sky-500) 15%, transparent)}}.fill-sky-600{fill:var(--color-sky-600)}.fill-teal-500\\/15{fill:#00baa726}@supports (color:color-mix(in lab, red, red)){.fill-teal-500\\/15{fill:color-mix(in oklab, var(--color-teal-500) 15%, transparent)}}.fill-teal-600{fill:var(--color-teal-600)}.fill-violet-500\\/15{fill:#8d54ff26}@supports (color:color-mix(in lab, red, red)){.fill-violet-500\\/15{fill:color-mix(in oklab, var(--color-violet-500) 15%, transparent)}}.fill-violet-600{fill:var(--color-violet-600)}.fill-warning{fill:var(--color-warning)}.fill-white{fill:var(--color-white)}.stroke-accent{stroke:var(--color-accent)}.stroke-amber-500\\/60{stroke:#f99c0099}@supports (color:color-mix(in lab, red, red)){.stroke-amber-500\\/60{stroke:color-mix(in oklab, var(--color-amber-500) 60%, transparent)}}.stroke-blue-500\\/60{stroke:#3080ff99}@supports (color:color-mix(in lab, red, red)){.stroke-blue-500\\/60{stroke:color-mix(in oklab, var(--color-blue-500) 60%, transparent)}}.stroke-emerald-500\\/60{stroke:#00bb7f99}@supports (color:color-mix(in lab, red, red)){.stroke-emerald-500\\/60{stroke:color-mix(in oklab, var(--color-emerald-500) 60%, transparent)}}.stroke-fg-subtle{stroke:var(--color-fg-subtle)}.stroke-red-500{stroke:var(--color-red-500)}.stroke-rose-500\\/60{stroke:#ff235799}@supports (color:color-mix(in lab, red, red)){.stroke-rose-500\\/60{stroke:color-mix(in oklab, var(--color-rose-500) 60%, transparent)}}.stroke-sky-500\\/60{stroke:#00a5ef99}@supports (color:color-mix(in lab, red, red)){.stroke-sky-500\\/60{stroke:color-mix(in oklab, var(--color-sky-500) 60%, transparent)}}.stroke-teal-500\\/60{stroke:#00baa799}@supports (color:color-mix(in lab, red, red)){.stroke-teal-500\\/60{stroke:color-mix(in oklab, var(--color-teal-500) 60%, transparent)}}.stroke-violet-500\\/60{stroke:#8d54ff99}@supports (color:color-mix(in lab, red, red)){.stroke-violet-500\\/60{stroke:color-mix(in oklab, var(--color-violet-500) 60%, transparent)}}.stroke-\\[2\\.5px\\]{stroke-width:2.5px}.p-0{padding:0}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0\\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.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:var(--spacing)}.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)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block-start:1px;padding-block-end:1px}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:var(--spacing)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-7{padding-right:calc(var(--spacing) * 7)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pl-0\\.5{padding-left:calc(var(--spacing) * .5)}.pl-1{padding-left:var(--spacing)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-7{padding-left:calc(var(--spacing) * 7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.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-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.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-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent,.text-accent\\/80{color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.text-accent\\/80{color:color-mix(in oklab, var(--color-accent) 80%, transparent)}}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-cyan-500{color:var(--color-cyan-500)}.text-cyan-600{color:var(--color-cyan-600)}.text-danger{color:var(--color-danger)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-fg{color:var(--color-fg)}.text-fg-muted,.text-fg-muted\\/70{color:var(--color-fg-muted)}@supports (color:color-mix(in lab, red, red)){.text-fg-muted\\/70{color:color-mix(in oklab, var(--color-fg-muted) 70%, transparent)}}.text-fg-muted\\/80{color:var(--color-fg-muted)}@supports (color:color-mix(in lab, red, red)){.text-fg-muted\\/80{color:color-mix(in oklab, var(--color-fg-muted) 80%, transparent)}}.text-fg-subtle,.text-fg-subtle\\/60{color:var(--color-fg-subtle)}@supports (color:color-mix(in lab, red, red)){.text-fg-subtle\\/60{color:color-mix(in oklab, var(--color-fg-subtle) 60%, transparent)}}.text-fuchsia-500{color:var(--color-fuchsia-500)}.text-fuchsia-600{color:var(--color-fuchsia-600)}.text-gray-50{color:var(--color-gray-50)}.text-gray-100{color:var(--color-gray-100)}.text-gray-500{color:var(--color-gray-500)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-line{color:var(--color-line)}.text-line-subtle{color:var(--color-line-subtle)}.text-orange-600{color:var(--color-orange-600)}.text-orange-700{color:var(--color-orange-700)}.text-purple-500{color:var(--color-purple-500)}.text-purple-600{color:var(--color-purple-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-sky-500{color:var(--color-sky-500)}.text-sky-600{color:var(--color-sky-600)}.text-stone-600{color:var(--color-stone-600)}.text-success{color:var(--color-success)}.text-surface{color:var(--color-surface)}.text-violet-500{color:var(--color-violet-500)}.text-violet-600{color:var(--color-violet-600)}.text-violet-600\\/70{color:#7f22feb3}@supports (color:color-mix(in lab, red, red)){.text-violet-600\\/70{color:color-mix(in oklab, var(--color-violet-600) 70%, transparent)}}.text-violet-700{color:var(--color-violet-700)}.text-warning{color:var(--color-warning)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.shadow{--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-\\[0_1px_0_\\#d4d4d8\\]{--tw-shadow:0 1px 0 var(--tw-shadow-color,#d4d4d8);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.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-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px 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)}.ring,.ring-1{--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)}.ring-2{--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)}.ring-accent,.ring-accent\\/20{--tw-ring-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.ring-accent\\/20{--tw-ring-color:color-mix(in oklab, var(--color-accent) 20%, transparent)}}.ring-danger{--tw-ring-color:var(--color-danger)}.ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.blur{--tw-blur:blur(8px);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,)}.invert{--tw-invert:invert(100%);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,)}.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,)}.backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.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,-webkit-backdrop-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-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))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.row-virtual{content-visibility:auto;contain-intrinsic-size:auto 32px}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:bg-accent:is(:where(.group):hover *){background-color:var(--color-accent)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\/stat\\:underline:is(:where(.group\\/stat):hover *){text-decoration-line:underline}}.group-focus-visible\\:bg-accent:is(:where(.group):focus-visible *){background-color:var(--color-accent)}.last\\:mr-0:last-child{margin-right:0}.last\\:mb-0:last-child{margin-bottom:0}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-danger-border:hover{border-color:var(--color-danger-border)}.hover\\:bg-accent:hover,.hover\\:bg-accent\\/5:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/5:hover{background-color:color-mix(in oklab, var(--color-accent) 5%, transparent)}}.hover\\:bg-accent\\/10:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/10:hover{background-color:color-mix(in oklab, var(--color-accent) 10%, transparent)}}.hover\\:bg-accent\\/15:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/15:hover{background-color:color-mix(in oklab, var(--color-accent) 15%, transparent)}}.hover\\:bg-accent\\/20:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/20:hover{background-color:color-mix(in oklab, var(--color-accent) 20%, transparent)}}.hover\\:bg-accent\\/90:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/90:hover{background-color:color-mix(in oklab, var(--color-accent) 90%, transparent)}}.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-danger-bg:hover,.hover\\:bg-danger-bg\\/60:hover{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger-bg\\/60:hover{background-color:color-mix(in oklab, var(--color-danger-bg) 60%, transparent)}}.hover\\:bg-danger-bg\\/70:hover{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger-bg\\/70:hover{background-color:color-mix(in oklab, var(--color-danger-bg) 70%, transparent)}}.hover\\:bg-danger-bg\\/80:hover{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger-bg\\/80:hover{background-color:color-mix(in oklab, var(--color-danger-bg) 80%, transparent)}}.hover\\:bg-emerald-500\\/25:hover{background-color:#00bb7f40}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-emerald-500\\/25:hover{background-color:color-mix(in oklab, var(--color-emerald-500) 25%, transparent)}}.hover\\:bg-gray-400:hover{background-color:var(--color-gray-400)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-hover:hover,.hover\\:bg-hover\\/50:hover{background-color:var(--color-hover)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-hover\\/50:hover{background-color:color-mix(in oklab, var(--color-hover) 50%, transparent)}}.hover\\:bg-orange-400:hover{background-color:var(--color-orange-400)}.hover\\:bg-purple-400:hover{background-color:var(--color-purple-400)}.hover\\:bg-red-400:hover{background-color:var(--color-red-400)}.hover\\:bg-red-500\\/25:hover{background-color:#fb2c3640}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-red-500\\/25:hover{background-color:color-mix(in oklab, var(--color-red-500) 25%, transparent)}}.hover\\:bg-subtle:hover{background-color:var(--color-subtle)}.hover\\:bg-violet-500\\/25:hover{background-color:#8d54ff40}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-violet-500\\/25:hover{background-color:color-mix(in oklab, var(--color-violet-500) 25%, transparent)}}.hover\\:bg-warning-bg:hover,.hover\\:bg-warning-bg\\/80:hover{background-color:var(--color-warning-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-warning-bg\\/80:hover{background-color:color-mix(in oklab, var(--color-warning-bg) 80%, transparent)}}.hover\\:text-accent:hover{color:var(--color-accent)}.hover\\:text-danger:hover{color:var(--color-danger)}.hover\\:text-fg:hover{color:var(--color-fg)}.hover\\:text-fg-muted:hover{color:var(--color-fg-muted)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-lg:hover{--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)}}.focus\\:border-accent:focus{border-color:var(--color-accent)}.focus\\:border-line:focus{border-color:var(--color-line)}.focus\\:ring-1:focus{--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)}.focus\\:ring-accent:focus{--tw-ring-color:var(--color-accent)}.focus\\:ring-danger:focus{--tw-ring-color:var(--color-danger)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:bg-hover:focus-visible{background-color:var(--color-hover)}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:ring-1:focus-visible{--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)}.focus-visible\\:ring-2:focus-visible{--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-visible\\:ring-accent:focus-visible{--tw-ring-color:var(--color-accent)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-accent:focus-visible{outline-color:var(--color-accent)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:cursor-grabbing:active{cursor:grabbing}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media (hover:hover){.disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}@media (min-width:40rem){.sm\\:inline{display:inline}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:48rem){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width>=28rem){.\\@md\\:block{display:block}.\\@md\\:flex{display:flex}.\\@md\\:hidden{display:none}.\\@md\\:w-72{width:calc(var(--spacing) * 72)}.\\@md\\:shrink-0{flex-shrink:0}.\\@md\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}}}*{box-sizing:border-box}:host,:root{--at-surface:#fcfdfe;--at-surface-hover:#f5f6f9;--at-muted:#f2f5f8;--at-code:#f3f6fa;--at-text-primary:#1a1f29;--at-text-secondary:#515864;--at-text-muted:#868d97;--at-border:#dfe1e5;--at-border-light:#eef0f3;--at-shadow:#171f2e1a;--at-accent:#3177dc;--at-error-bg:#ffecea;--at-error-text:#cc2827;--at-error-border:#f8a49d;--at-ok-bg:#e0fae4;--at-ok-text:#0e8c41;--at-ok-border:#89da9b;--at-warn-bg:#fff0d1;--at-warn-text:#a16500;--at-warn-border:#e5c379;--at-highlight-bg:#fff6d1;--at-selected-bg:#e9f3ff;--at-scrollbar-thumb:#ced1d6;--at-scrollbar-thumb-hover:#999fa8}@supports (color:color(display-p3 0 0 0)){:host,:root{--at-surface:color(display-p3 .989609 .992382 .997175);--at-surface-hover:color(display-p3 .960878 .966392 .975929);--at-muted:color(display-p3 .951795 .958673 .970576);--at-code:color(display-p3 .955784 .964045 .978342);--at-text-primary:color(display-p3 .106201 .12247 .157281);--at-text-secondary:color(display-p3 .323937 .346032 .388256);--at-text-muted:color(display-p3 .528711 .550898 .589512);--at-border:color(display-p3 .875378 .883503 .897566);--at-border-light:color(display-p3 .934839 .941694 .953557);--at-shadow:color(display-p3 .0979137 .121845 .174352/.1);--at-accent:color(display-p3 .266557 .461859 .837181);--at-error-bg:color(display-p3 1.00853 .923821 .911661);--at-error-text:color(display-p3 .7372 .221951 .191652);--at-error-border:color(display-p3 .924106 .659231 .626897);--at-ok-bg:color(display-p3 .896905 .977035 .900254);--at-ok-text:color(display-p3 .247857 .539374 .286752);--at-ok-border:color(display-p3 .609805 .847347 .627399);--at-warn-bg:color(display-p3 .997819 .943515 .816698);--at-warn-text:color(display-p3 .607081 .403503 .0845266);--at-warn-border:color(display-p3 .876737 .768181 .515098);--at-highlight-bg:color(display-p3 .994932 .96424 .830533);--at-selected-bg:color(display-p3 .910207 .951093 1.02232);--at-scrollbar-thumb:color(display-p3 .80912 .819793 .838278);--at-scrollbar-thumb-hover:color(display-p3 .60332 .622263 .655172)}}@supports (color:lab(0% 0 0)){:host,:root{--at-surface:lab(99.2988% -.132054 -.745118);--at-surface-hover:lab(96.9735% -.261605 -1.48877);--at-muted:lab(96.2747% -.325292 -1.86008);--at-code:lab(96.736% -.388592 -2.23104);--at-text-primary:lab(11.741% -.349499 -7.30943);--at-text-secondary:lab(37.2801% -.862852 -7.73156);--at-text-muted:lab(58.1854% -1.04666 -6.62941);--at-border:lab(89.5439% -.387847 -2.23061);--at-border-light:lab(94.7667% -.325233 -1.86);--at-shadow:lab(11.6682% -.113927 -10.842/.1);--at-accent:lab(49.8997% 5.63273 -59.1615);--at-error-bg:lab(95.0829% 9.19622 4.96011);--at-error-text:lab(45.8049% 62.9533 44.1);--at-error-border:lab(75.8489% 31.0226 17.1029);--at-ok-bg:lab(95.8936% -11.84 7.56052);--at-ok-text:lab(50.824% -45.5785 30.3918);--at-ok-border:lab(80.6679% -35.8792 23.2774);--at-warn-bg:lab(95.5261% 2.02972 19.535);--at-warn-text:lab(48.6413% 21.7782 63.415);--at-warn-border:lab(80.5062% 5.88706 41.41);--at-highlight-bg:lab(96.7959% -.972748 19.4827);--at-selected-bg:lab(95.2674% -1.71572 -11.035);--at-scrollbar-thumb:lab(83.7382% -.510752 -2.97043);--at-scrollbar-thumb-hover:lab(65.1562% -.902712 -5.53997)}}:host([data-theme=dark]),:root[data-theme=dark]{--at-surface:#151b25;--at-surface-hover:#1d2431;--at-muted:#191f2b;--at-code:#1b222d;--at-text-primary:#dfe5ed;--at-text-secondary:#9ca5b3;--at-text-muted:#727b88;--at-border:#2e3643;--at-border-light:#232934;--at-shadow:#00000073;--at-accent:#63a6ff;--at-error-bg:#742e2940;--at-error-text:#ff7f73;--at-error-border:#cf413a;--at-ok-bg:#39794933;--at-ok-text:#6ed889;--at-ok-border:#2e9e52;--at-warn-bg:#7e5d1d38;--at-warn-text:#f1bf5b;--at-warn-border:#b07b00;--at-highlight-bg:#b8a4571f;--at-selected-bg:#6087c22e;--at-scrollbar-thumb:#3d434d;--at-scrollbar-thumb-hover:#565e6c}@supports (color:color(display-p3 0 0 0)){:host([data-theme=dark]),:root[data-theme=dark]{--at-surface:color(display-p3 .0866362 .104012 .141551);--at-surface-hover:color(display-p3 .119527 .140938 .187194);--at-muted:color(display-p3 .10291 .122282 .164135);--at-code:color(display-p3 .112011 .131618 .173879);--at-text-primary:color(display-p3 .880198 .897517 .925177);--at-text-secondary:color(display-p3 .618009 .647763 .695453);--at-text-muted:color(display-p3 .454817 .481202 .527256);--at-border:color(display-p3 .187231 .209329 .256415);--at-border-light:color(display-p3 .14159 .16023 .200008);--at-shadow:color(display-p3 0 0 0/.45);--at-accent:color(display-p3 .445537 .644287 .978823);--at-error-bg:color(display-p3 .422373 .197971 .171651/.25);--at-error-text:color(display-p3 .938127 .52257 .468553);--at-error-border:color(display-p3 .751519 .297873 .256966);--at-ok-bg:color(display-p3 .287508 .467968 .304198/.2);--at-ok-text:color(display-p3 .538207 .838899 .565385);--at-ok-border:color(display-p3 .319936 .612208 .354223);--at-warn-bg:color(display-p3 .474062 .369044 .161788/.22);--at-warn-text:color(display-p3 .915105 .755059 .421563);--at-warn-border:color(display-p3 .660566 .489104 .15495);--at-highlight-bg:color(display-p3 .708898 .646062 .385093/.12);--at-selected-bg:color(display-p3 .407909 .526271 .742584/.18);--at-scrollbar-thumb:color(display-p3 .241934 .260441 .299404);--at-scrollbar-thumb-hover:color(display-p3 .342885 .367416 .419047)}}@supports (color:lab(0% 0 0)){:host([data-theme=dark]),:root[data-theme=dark]{--at-surface:lab(9.40435% -.26536 -8.00193);--at-surface-hover:lab(14.0233% -.313595 -9.45683);--at-muted:lab(11.7138% -.289485 -8.72938);--at-code:lab(12.8756% -.320837 -8.73908);--at-text-primary:lab(90.6923% -.891328 -4.41389);--at-text-secondary:lab(67.4629% -1.51783 -8.03232);--at-text-muted:lab(51.2096% -1.21292 -8.07107);--at-border:lab(22.1597% -.497714 -9.15806);--at-border-light:lab(16.373% -.418156 -8.05204);--at-shadow:lab(0% 0 0/.45);--at-accent:lab(66.6499% -1.4444 -52.3046);--at-error-bg:lab(29.4384% 31.1218 19.7271/.25);--at-error-text:lab(68.3188% 49.5998 30.86);--at-error-border:lab(49.5145% 56.3761 37.3383);--at-ok-bg:lab(45.5916% -30.0637 19.6786/.2);--at-ok-text:lab(78.7102% -45.0683 29.4705);--at-ok-border:lab(57.7987% -45.4011 30.0617);--at-warn-bg:lab(42.0282% 9.23485 40.2236/.22);--at-warn-text:lab(80.4197% 11.1201 56.0991);--at-warn-border:lab(55.853% 15.6735 62.0226);--at-highlight-bg:lab(67.9375% .259876 42.1122/.12);--at-selected-bg:lab(55.3782% -1.45972 -35.4324/.18);--at-scrollbar-thumb:lab(27.992% -.544697 -7.38333);--at-scrollbar-thumb-hover:lab(39.5702% -.685155 -9.23098)}}@media (prefers-color-scheme:dark){:host([data-theme=system]),:root[data-theme=system]{--at-surface:#151b25;--at-surface-hover:#1d2431;--at-muted:#191f2b;--at-code:#1b222d;--at-text-primary:#dfe5ed;--at-text-secondary:#9ca5b3;--at-text-muted:#727b88;--at-border:#2e3643;--at-border-light:#232934;--at-shadow:#00000073;--at-accent:#63a6ff;--at-error-bg:#742e2940;--at-error-text:#ff7f73;--at-error-border:#cf413a;--at-ok-bg:#39794933;--at-ok-text:#6ed889;--at-ok-border:#2e9e52;--at-highlight-bg:#b8a4571f;--at-selected-bg:#6087c22e;--at-scrollbar-thumb:#3d434d;--at-scrollbar-thumb-hover:#565e6c}@supports (color:color(display-p3 0 0 0)){:host([data-theme=system]),:root[data-theme=system]{--at-surface:color(display-p3 .0866362 .104012 .141551);--at-surface-hover:color(display-p3 .119527 .140938 .187194);--at-muted:color(display-p3 .10291 .122282 .164135);--at-code:color(display-p3 .112011 .131618 .173879);--at-text-primary:color(display-p3 .880198 .897517 .925177);--at-text-secondary:color(display-p3 .618009 .647763 .695453);--at-text-muted:color(display-p3 .454817 .481202 .527256);--at-border:color(display-p3 .187231 .209329 .256415);--at-border-light:color(display-p3 .14159 .16023 .200008);--at-shadow:color(display-p3 0 0 0/.45);--at-accent:color(display-p3 .445537 .644287 .978823);--at-error-bg:color(display-p3 .422373 .197971 .171651/.25);--at-error-text:color(display-p3 .938127 .52257 .468553);--at-error-border:color(display-p3 .751519 .297873 .256966);--at-ok-bg:color(display-p3 .287508 .467968 .304198/.2);--at-ok-text:color(display-p3 .538207 .838899 .565385);--at-ok-border:color(display-p3 .319936 .612208 .354223);--at-highlight-bg:color(display-p3 .708898 .646062 .385093/.12);--at-selected-bg:color(display-p3 .407909 .526271 .742584/.18);--at-scrollbar-thumb:color(display-p3 .241934 .260441 .299404);--at-scrollbar-thumb-hover:color(display-p3 .342885 .367416 .419047)}}@supports (color:lab(0% 0 0)){:host([data-theme=system]),:root[data-theme=system]{--at-surface:lab(9.40435% -.26536 -8.00193);--at-surface-hover:lab(14.0233% -.313595 -9.45683);--at-muted:lab(11.7138% -.289485 -8.72938);--at-code:lab(12.8756% -.320837 -8.73908);--at-text-primary:lab(90.6923% -.891328 -4.41389);--at-text-secondary:lab(67.4629% -1.51783 -8.03232);--at-text-muted:lab(51.2096% -1.21292 -8.07107);--at-border:lab(22.1597% -.497714 -9.15806);--at-border-light:lab(16.373% -.418156 -8.05204);--at-shadow:lab(0% 0 0/.45);--at-accent:lab(66.6499% -1.4444 -52.3046);--at-error-bg:lab(29.4384% 31.1218 19.7271/.25);--at-error-text:lab(68.3188% 49.5998 30.86);--at-error-border:lab(49.5145% 56.3761 37.3383);--at-ok-bg:lab(45.5916% -30.0637 19.6786/.2);--at-ok-text:lab(78.7102% -45.0683 29.4705);--at-ok-border:lab(57.7987% -45.4011 30.0617);--at-highlight-bg:lab(67.9375% .259876 42.1122/.12);--at-selected-bg:lab(55.3782% -1.45972 -35.4324/.18);--at-scrollbar-thumb:lab(27.992% -.544697 -7.38333);--at-scrollbar-thumb-hover:lab(39.5702% -.685155 -9.23098)}}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--at-scrollbar-thumb,#d4d4d8);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--at-scrollbar-thumb-hover,#a1a1aa)}.waterfall-row:hover .waterfall-bar{filter:brightness(1.1)}.waterfall-bar{transition:all .15s ease-out}.trace-list-container{container-type:inline-size}.trace-grid{grid-template-columns:20px 104px minmax(0,1fr) 84px 52px 88px 60px 16px;align-items:center;gap:.75rem;display:grid}@container (width<=640px){.trace-grid{grid-template-columns:20px 92px minmax(0,1fr) 80px 58px 16px}.trace-col-spans,.trace-col-time{display:none}}@keyframes at-modal-in{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes at-fade-in{0%{opacity:0}to{opacity:1}}.at-modal-in{animation:.17s cubic-bezier(.22,1,.36,1) at-modal-in}.at-backdrop-in{animation:.17s ease-out at-fade-in}.at-wrap-anywhere{overflow-wrap:anywhere;word-break:normal}.at-no-scrollbar{scrollbar-width:none}.at-no-scrollbar::-webkit-scrollbar{display:none}@media (prefers-reduced-motion:reduce){.at-modal-in,.at-backdrop-in{animation:none}}.at-edge-label{paint-order:stroke;stroke:var(--color-surface);stroke-width:3px;stroke-linejoin:round}:where(a,button,[role=button],input,select,textarea,summary,[tabindex]:not([tabindex="-1"])):focus-visible{outline:2px solid var(--at-accent);outline-offset:2px}:where([data-focus-inset]):focus-visible{outline-offset:-2px}@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-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@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-divide-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-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}`,DH=class extends HTMLElement{constructor(...e){super(...e),x(this,`cleanup`,null)}connectedCallback(){let e=this.attachShadow({mode:`open`}),t=document.createElement(`link`);t.rel=`stylesheet`,t.href=`https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap`,e.appendChild(t);let n=document.createElement(`style`);n.textContent=EH,e.appendChild(n);let r=this.getAttribute(`mode`)||`widget`,i=this.getAttribute(`ws-url`)||this.deriveWsUrl();this.cleanup=TH(e,{mode:r,wsUrl:i})}disconnectedCallback(){this.cleanup?.(),this.cleanup=null}deriveWsUrl(){return`ws://${location.host}/ws`}};x(DH,`observedAttributes`,[`mode`,`ws-url`]);function OH(){customElements.get(`autotel-devtools`)||customElements.define(`autotel-devtools`,DH)}var kH=document.currentScript;function AH(){let e=$u(location.hash);return Object.keys(e).length>0?e:void 0}function jH(){let e=AH();if(!kH?.src)return{mode:`widget`,wsUrl:`ws://${location.host}/ws`,deepLink:e};let t=new URL(kH.src),n=t.searchParams;return{mode:n.get(`mode`)||`widget`,wsUrl:n.get(`ws`)||`ws://${t.host}/ws`,deepLink:e}}function MH(){if(OH(),document.querySelector(`autotel-devtools`))return;let{mode:e,wsUrl:t,deepLink:n}=jH(),r=document.createElement(`div`);r.id=`autotel-devtools-root`,document.body.appendChild(r);let i=r.attachShadow({mode:`open`}),a=document.createElement(`style`);a.textContent=EH,i.appendChild(a),TH(i,{mode:e,wsUrl:t,deepLink:n})}return document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,MH):MH(),e.mountWidget=TH,e.registerElement=OH,e})({});
45
+ instrumentWebMCP(); // before you register any tools`,Ke(2),D(t),H(e,t)};W(g,e=>{z(n).status===`loading`?e(_):z(n).status===`error`?e(v,1):z(c)&&z(l)&&z(c).tools.length>0?e(y,2):e(b,-1)}),D(f),B(`click`,h,()=>void s()),H(e,f),at()}na([`click`]);var PV={traces:rj,agents:Nj,genai:FN,flow:OP,resources:RP,"service-map":gF,metrics:iz,logs:Dz,errors:dB,security:kB,compare:WB,coverage:tV,webmcp:NV},FV=[{id:`traces`,label:`Traces`,icon:Hp},{id:`agents`,label:`Agents`,icon:cp},{id:`genai`,label:`GenAI`,icon:Mh},{id:`flow`,label:`Flow`,icon:Qh},{id:`resources`,label:`Resources`,icon:up},{id:`service-map`,label:`Service Map`,icon:Km},{id:`metrics`,label:`Metrics`,icon:vp},{id:`logs`,label:`Logs`,icon:nm},{id:`errors`,label:`Errors`,icon:Wh},{id:`security`,label:`Security`,icon:Oh},{id:`compare`,label:`Compare`,icon:mm},{id:`coverage`,label:`Coverage`,icon:gh},{id:`webmcp`,label:`WebMCP`,icon:eg}].filter(e=>PV[e.id]!==void 0),IV=FV.map(e=>e.id),LV=16,RV=48;function zV(e){let{isVertical:t,dock:n,axisSize:r,setSize:i,resetSize:a}=e,o=N(!1);return{get resizing(){return z(o)},onPointerDown:e=>{e.stopPropagation();let a=t(),s=a?`vertical`:`horizontal`,c=a?e.clientY:e.clientX,l=r(),u=n()===`bottom`||n()===`right`?-1:1;_y(e,{cursor:a?`ns-resize`:`ew-resize`,onStart:()=>P(o,!0),onMove:e=>{let t=a?e.clientY:e.clientX;i(s,l+(t-c)*u)},onEnd:()=>P(o,!1)})},onKeyDown:e=>{let a=t()?`vertical`:`horizontal`,o=e.shiftKey?RV:LV,s=t()?{ArrowUp:n()===`bottom`?o:-o,ArrowDown:n()===`bottom`?-o:o}:{ArrowLeft:n()===`right`?o:-o,ArrowRight:n()===`right`?-o:o};e.key in s&&(e.preventDefault(),i(a,r()+s[e.key]))},onDblClick:()=>a(t()?`vertical`:`horizontal`)}}function BV(e,t,n,r){let i={left:e,right:n-e,top:t,bottom:r-t};return Object.keys(i).reduce((e,t)=>i[t]<i[e]?t:e)}function VV(e){let{dock:t,pipActive:n,onDock:r}=e,i=N(!1),a=N(null);return{get dragging(){return z(i)},get dropTarget(){return z(a)},onHeaderPointerDown:e=>{e.button===0&&(e.target.closest(`button`)||n()||_y(e,{cursor:`grabbing`,onStart:()=>{P(i,!0),P(a,t(),!0)},onMove:e=>{P(a,BV(e.clientX,e.clientY,window.innerWidth,window.innerHeight),!0)},onEnd:()=>{P(i,!1),z(a)&&z(a)!==t()&&r(z(a)),P(a,null)}}))}}}function HV(e,t){it(t,!0);let n=M(()=>Bc.value),r=M(()=>PV[z(n)]??PV.traces);var i=da(),a=I(i),o=e=>{var t=da();Ba(I(t),()=>z(r),(e,t)=>{t(e,{})}),H(e,t)};W(a,e=>{z(r)&&e(o)}),H(e,i),at()}var UV=V(`<span class="absolute inset-0 rounded-full bg-success opacity-75 animate-ping" aria-hidden="true"></span>`),WV=V(`<span class="text-xs font-mono tabular-nums text-fg-subtle" title="Telemetry ingest rate"> </span>`),GV=V(`<span class="text-xs font-mono tabular-nums text-fg-subtle" title="Telemetry store usage and retention cap"> </span>`),KV=V(`<span> </span> <!> <!>`,1),qV=V(`<div role="status"><span class="relative inline-flex w-2 h-2 shrink-0"><!> <span aria-hidden="true"></span></span> <!></div>`);function JV(e,t){it(t,!0);let n=Z(t,`compact`,3,!1),r=M(()=>fl.value),i=M(()=>z(r)===`connected`?{dot:`bg-success`,label:`Connected`,text:`text-success`}:z(r)===`connecting`?{dot:`bg-warning animate-pulse`,label:`Connecting…`,text:`text-warning`}:{dot:`bg-danger`,label:`Disconnected`,text:`text-fg-subtle`}),a=M(()=>yl.value),o=N(!1);zr(()=>{if(z(a),z(a)===0)return;P(o,!0);let e=setTimeout(()=>P(o,!1),900);return()=>clearTimeout(e)});let s=N(0);zr(()=>{if(n())return;let e=()=>{P(s,Math.round(Cl(5e3).total),!0)};e();let t=setInterval(e,1e3);return()=>clearInterval(t)});let c=M(()=>!n()&&z(r)===`connected`&&z(s)>0),l=N(null);zr(()=>{if(n()||z(r)!==`connected`)return;let e=!0,t=async()=>{let t=pl.value,n=(t?$o(t):null)??globalThis.location?.origin;if(n)try{let t=await fetch(`${n}/api/stats`);t.ok&&e&&P(l,await t.json(),!0)}catch{}};t();let i=setInterval(t,3e4);return()=>{e=!1,clearInterval(i)}});function u(e){return e<1024**2?`${Math.round(e/1024)} KB`:e<1024**3?`${(e/1024**2).toFixed(1)} MB`:`${(e/1024**3).toFixed(1)} GB`}var d=qV(),f=F(d),p=F(f),m=e=>{H(e,UV())};W(p,e=>{z(o)&&z(r)===`connected`&&e(m)});var h=L(p,2);D(f);var g=L(f,2),_=e=>{var t=KV(),n=I(t),r=F(n,!0);D(n);var a=L(n,2),o=e=>{var t=WV(),n=F(t);D(t),R(()=>U(n,`· ${z(s)??``}/s`)),H(e,t)};W(a,e=>{z(c)&&e(o)});var d=L(a,2),f=e=>{var t=GV(),n=F(t);D(t),R((e,t)=>U(n,`· ${e??``} / ${t??``}`),[()=>u(z(l).bytesUsed),()=>u(z(l).maxBytes)]),H(e,t)};W(d,e=>{z(l)&&e(f)}),R(e=>{q(n,1,e),U(r,z(i).label)},[()=>K(Q(`text-xs font-medium`,z(i).text))]),H(e,t)};W(g,e=>{n()||e(_)}),D(d),R((e,t)=>{q(d,1,e),J(d,`aria-label`,`OTLP receiver: ${z(i).label}`),J(d,`title`,`OTLP receiver: ${z(i).label}${z(s)>0?` · ${z(s)}/s`:``}`),q(h,1,t)},[()=>K(Q(`flex items-center gap-1.5`,!n()&&`px-3 py-2`)),()=>K(Q(`relative inline-block w-2 h-2 rounded-full`,z(i).dot))]),H(e,d),at()}var YV=V(`<kbd class="inline-block px-1.5 py-0.5 font-mono text-xs font-semibold bg-hover border border-line rounded text-fg mr-1 last:mr-0 shadow-[0_1px_0_#d4d4d8]"> </kbd>`),XV=V(`<tr class="border-b border-line-subtle last:border-b-0"><td class="py-2.5 px-4 whitespace-nowrap align-middle w-[1%]"></td><td class="py-2.5 pr-4 pl-1 text-sm text-fg-muted align-middle"> </td></tr>`),ZV=V(`<div class="fixed inset-0 z-[1000] flex items-center justify-center" role="dialog" aria-modal="true" aria-label="Keyboard shortcuts"><button type="button" aria-label="Close" class="absolute inset-0 bg-black/55 backdrop-blur-[2px] at-backdrop-in"></button> <div tabindex="-1" class="at-modal-in relative z-[1] bg-surface border border-line rounded-lg shadow-xl w-[480px] max-w-[90vw] max-h-[80vh] flex flex-col overflow-hidden outline-none"><div class="flex items-center justify-between px-4 py-3 border-b border-line bg-subtle flex-shrink-0"><span class="text-sm font-semibold text-fg">Keyboard Shortcuts</span> <button class="inline-flex items-center justify-center w-7 h-7 p-0 bg-transparent border border-line rounded cursor-pointer text-sm text-fg-subtle hover:bg-danger-bg hover:border-danger-border hover:text-danger transition-colors" title="Close (Esc)"><!></button></div> <div class="overflow-y-auto py-2"><table class="w-full border-collapse"><tbody></tbody></table></div></div></div>`);function QV(e,t){it(t,!0);let n=N(void 0);zr(()=>{let e=e=>{e.key===`Escape`&&(e.stopPropagation(),t.onClose())},r=z(n);return r&&(r.addEventListener(`keydown`,e),r.focus()),window.addEventListener(`keydown`,e),()=>{r&&r.removeEventListener(`keydown`,e),window.removeEventListener(`keydown`,e)}});var r=ZV(),i=F(r),a=L(i,2),o=F(a),s=L(F(o),2);ng(F(s),{size:14}),D(s),D(o);var c=L(o,2),l=F(c),u=F(l);G(u,21,()=>t.shortcuts,Aa,(e,t)=>{var n=XV(),r=F(n);G(r,21,()=>z(t).keys,Aa,(e,t)=>{var n=YV(),r=F(n,!0);D(n),R(()=>U(r,z(t)===`CmdOrCtrl`?bg?`⌘`:`Ctrl`:z(t)===`AltOrOpt`?bg?`⌥`:`Alt`:z(t))),H(e,n)}),D(r);var i=L(r),a=F(i,!0);D(i),D(n),R(()=>U(a,z(t).description)),H(e,n)}),D(u),D(l),D(c),D(a),Uo(a,e=>P(n,e),()=>z(n)),D(r),B(`click`,i,function(...e){t.onClose?.apply(this,e)}),B(`click`,s,function(...e){t.onClose?.apply(this,e)}),H(e,r),at()}na([`click`]);var $V=V(`<div role="separator" aria-label="Resize panel" tabindex="0" title="Drag to resize · double-click to reset"><div></div> <div></div></div>`),eH=V(`<span class="text-fg-subtle/60 flex-shrink-0 pl-0.5" aria-hidden="true"><!></span>`),tH=V(`<span> </span>`),nH=V(`<button><!> <span> </span> <!></button>`),rH=V(`<button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors" title="Dock position (click to cycle: bottom → right → left) — or drag the header to an edge" aria-label="Change dock position"><!></button>`),iH=V(`<button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors"><!></button>`),aH=V(`<button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors" title="Close (Esc)" aria-label="Close devtools"><!></button>`),oH=V(`<span class="px-2.5 py-1 rounded-md bg-accent text-white text-xs font-semibold shadow-lg"> </span>`),sH=V(`<div><!></div>`),cH=V(`<div class="fixed inset-0 z-[1001] pointer-events-none" aria-hidden="true"></div>`),lH=V(`<section aria-label="Autotel devtools"><!> <header><!> <div class="flex items-center gap-2 flex-shrink-0 pr-1 mr-0.5"><!> <span class="text-xs font-semibold tracking-tight text-fg hidden sm:inline">autotel</span></div> <nav class="flex items-center gap-0.5 overflow-x-auto min-w-0 flex-1 at-no-scrollbar" aria-label="Devtools sections"></nav> <div class="flex items-center gap-1 flex-shrink-0 pl-1"><!> <button class="p-1.5 rounded-md text-fg-subtle hover:text-fg hover:bg-subtle transition-colors" title="Keyboard shortcuts (?)" aria-label="Keyboard shortcuts"><!></button> <!> <!> <!></div></header> <div class="flex-1 min-h-0 overflow-hidden"><!></div> <!></section> <!>`,1);function uH(e,t){it(t,!0);let n=N(void 0),r=M(()=>Fc.value),i=M(()=>Bc.value),a=M(()=>Rc.value??`bottom`),o=M(()=>il.value),s=M(()=>zc.value),c=sg(),l=M(()=>z(a)===`bottom`||z(a)===`top`),u=M(()=>z(l)?z(o).vertical:z(o).horizontal),d=M(()=>al(z(l)?`vertical`:`horizontal`)),f=M(()=>su.value),p=M(()=>nu.value),m=M(()=>ru.value),h=M(()=>({genai:z(p)>0?z(p):void 0,flow:z(m)>0?z(m):void 0,errors:z(f)>0?z(f):void 0})),g=M(()=>FV.map(e=>({...e,badge:z(h)[e.id]}))),_=zV({isVertical:()=>z(l),dock:()=>z(a),axisSize:()=>z(u),setSize:ol,resetSize:sl}),v=VV({dock:()=>z(a),pipActive:()=>z(s),onDock:Lu});async function y(){if(z(s)){dg(()=>zc.value=!1);return}let e=z(n)?.getRootNode(),t=e instanceof ShadowRoot?e.host:null;t&&await ug(t,()=>zc.value=!1,{width:760,height:600})&&(zc.value=!0)}let b=globalThis.window!==void 0&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches;function x(e,{dock:t}){if(b||z(s))return{duration:0};let n=t===`left`||t===`right`?`X`:`Y`,r=t===`bottom`||t===`right`?1:-1;return{duration:240,easing:ag,css:(e,t)=>`transform: translate${n}(${t*r*100}%)`}}let S=[`traces`,`genai`,`flow`,`service-map`,`metrics`,`logs`,`errors`],C=M(()=>$c.value);function w(){return Vc.value?_g:Bc.value===`traces`?gg:hg}zr(()=>{let e=z(n)?.getRootNode(),t=e instanceof ShadowRoot||e instanceof Document?e:window,r=e=>{let t=e;if(t.key===`Escape`){if($c.value){tl();return}if(vg())return;if(zc.value){dg(()=>zc.value=!1);return}ju();return}if(t.key===`?`&&!vg()){t.preventDefault(),nl(w());return}if(!$c.value&&!vg()&&t.key>=`1`&&t.key<=`7`){let e=Number.parseInt(t.key,10)-1;e<S.length&&Mu(S[e])}};return t.addEventListener(`keydown`,r),()=>t.removeEventListener(`keydown`,r)});let T=M(()=>z(s)?`inset-0`:{bottom:`left-0 right-0 bottom-0`,top:`left-0 right-0 top-0`,right:`top-0 bottom-0 right-0`,left:`top-0 bottom-0 left-0`}[z(a)]),ee=M(()=>z(s)?``:{bottom:`border-t`,top:`border-b`,right:`border-l`,left:`border-r`}[z(a)]),te=M(()=>({bottom:`-top-1 left-0 right-0 h-2 cursor-ns-resize`,top:`-bottom-1 left-0 right-0 h-2 cursor-ns-resize`,right:`-left-1 top-0 bottom-0 w-2 cursor-ew-resize`,left:`-right-1 top-0 bottom-0 w-2 cursor-ew-resize`})[z(a)]),ne=M(()=>({bottom:`inset-x-0 top-1 h-px`,top:`inset-x-0 bottom-1 h-px`,right:`inset-y-0 left-1 w-px`,left:`inset-y-0 right-1 w-px`})[z(a)]),re=M(()=>z(s)?``:z(l)?`height: ${z(u)}px;`:`width: ${z(u)}px;`),ie=M(()=>z(s)?``:{bottom:`box-shadow: 0 -12px 32px -14px var(--at-shadow), 0 -2px 6px -4px var(--at-shadow);`,top:`box-shadow: 0 12px 32px -14px var(--at-shadow), 0 2px 6px -4px var(--at-shadow);`,right:`box-shadow: -12px 0 32px -14px var(--at-shadow), -2px 0 6px -4px var(--at-shadow);`,left:`box-shadow: 12px 0 32px -14px var(--at-shadow), 2px 0 6px -4px var(--at-shadow);`}[z(a)]),ae=M(()=>z(a)===`right`?Qm:z(a)===`left`?Xm:Jm),oe=[{edge:`bottom`,pos:`left-0 right-0 bottom-0 h-24`,label:`Dock bottom`},{edge:`top`,pos:`left-0 right-0 top-0 h-24`,label:`Dock top`},{edge:`left`,pos:`top-0 bottom-0 left-0 w-44`,label:`Dock left`},{edge:`right`,pos:`top-0 bottom-0 right-0 w-44`,label:`Dock right`}];var se=da(),ce=I(se),le=e=>{var t=lH(),r=I(t),o=F(r),f=e=>{var t=$V(),n=F(t),r=L(n,2);D(t),R((e,i,a,o)=>{J(t,`aria-orientation`,z(l)?`horizontal`:`vertical`),J(t,`aria-valuenow`,e),J(t,`aria-valuemin`,z(d).min),J(t,`aria-valuemax`,z(d).max),q(t,1,i),q(n,1,a),q(r,1,o)},[()=>Math.round(z(u)),()=>K(Q(`absolute z-20 group touch-none select-none outline-none`,z(te))),()=>K(Q(`absolute bg-line-subtle transition-colors duration-150`,`group-hover:bg-accent group-focus-visible:bg-accent`,_.resizing&&`!bg-accent`,z(ne))),()=>K(Q(`absolute rounded-full bg-line transition-colors duration-150`,`group-hover:bg-accent group-focus-visible:bg-accent`,_.resizing&&`!bg-accent`,z(l)?`left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2 w-9 h-1`:`top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 h-9 w-1`))]),B(`pointerdown`,t,function(...e){_.onPointerDown?.apply(this,e)}),B(`keydown`,t,function(...e){_.onKeyDown?.apply(this,e)}),B(`dblclick`,t,function(...e){_.onDblClick?.apply(this,e)}),H(e,t)};W(o,e=>{z(s)||e(f)});var p=L(o,2),m=F(p),h=e=>{var t=eH();vm(F(t),{size:14}),D(t),H(e,t)};W(m,e=>{z(s)||e(h)});var b=L(m,2);id(F(b),{width:18,height:18}),Ke(2),D(b);var S=L(b,2);G(S,21,()=>z(g),e=>e.id,(e,t)=>{let n=M(()=>z(t).icon),r=M(()=>z(i)===z(t).id);var a=nH(),o=F(a);{let e=M(()=>z(t).id===`errors`&&z(t).badge?`text-danger`:void 0);Ba(o,()=>z(n),(t,n)=>{n(t,{size:14,get class(){return z(e)}})})}var s=L(o,2),c=F(s,!0);D(s);var l=L(s,2),u=e=>{var n=tH(),r=F(n,!0);D(n),R(e=>{q(n,1,e),U(r,z(t).badge>99?`99+`:z(t).badge)},[()=>K(Q(`px-1.5 py-px text-[10px] font-semibold rounded-full`,z(t).id===`errors`?`bg-danger-bg text-danger`:`bg-accent/15 text-fg-muted`))]),H(e,n)};W(l,e=>{z(t).badge&&e(u)}),D(a),R(e=>{J(a,`aria-current`,z(r)?`page`:void 0),q(a,1,e),U(c,z(t).label)},[()=>K(Q(`flex items-center gap-1.5 px-2.5 h-8 rounded-md flex-shrink-0`,`text-xs transition-colors cursor-pointer`,z(r)?`bg-accent/12 text-fg font-semibold ring-1 ring-inset ring-accent/20`:`text-fg-subtle font-medium hover:text-fg hover:bg-subtle`))]),B(`click`,a,()=>Mu(z(t).id)),H(e,a)}),D(S);var se=L(S,2);{let e=e=>{let t=M(()=>z(ae));var n=da();Ba(I(n),()=>z(t),(e,t)=>{t(e,{size:15})}),H(e,n)};var ce=F(se);JV(ce,{compact:!0});var le=L(ce,2);Ap(F(le),{size:15}),D(le);var E=L(le,2),ue=t=>{var n=rH(),r=F(n);e(r),D(n),B(`click`,n,function(...e){Ru?.apply(this,e)}),H(t,n)};W(E,e=>{z(s)||e(ue)});var de=L(E,2),fe=e=>{var t=iH(),n=F(t),r=e=>{Rm(e,{size:15})},i=e=>{nh(e,{size:15})};W(n,e=>{z(s)?e(r):e(i,-1)}),D(t),R(()=>{J(t,`title`,z(s)?`Return to docked panel`:`Pop out to a separate window`),J(t,`aria-label`,z(s)?`Return to docked panel`:`Pop out to window`)}),B(`click`,t,y),H(e,t)};W(de,e=>{c&&e(fe)});var pe=L(de,2),me=e=>{var t=aH();ng(F(t),{size:16}),D(t),B(`click`,t,function(...e){ju?.apply(this,e)}),H(e,t)};W(pe,e=>{z(s)||e(me)}),D(se),B(`click`,le,()=>nl(w()))}D(p);var he=L(p,2);HV(F(he),{}),D(he);var ge=L(he,2),_e=e=>{QV(e,{get shortcuts(){return z(C)},get onClose(){return tl}})};W(ge,e=>{z(C)&&e(_e)}),D(r),Uo(r,e=>P(n,e),()=>z(n));var ve=L(r,2),ye=e=>{var t=cH();G(t,21,()=>oe,e=>e.edge,(e,t)=>{let n=M(()=>v.dropTarget===z(t).edge);var r=sH(),i=F(r),a=e=>{var n=oH(),r=F(n,!0);D(n),R(()=>U(r,z(t).label)),H(e,n)};W(i,e=>{z(n)&&e(a)}),D(r),R(e=>q(r,1,e),[()=>K(Q(`absolute flex items-center justify-center transition-colors duration-100`,z(t).pos,z(n)?`bg-accent/15 ring-2 ring-inset ring-accent`:`bg-accent/5`))]),H(e,r)}),D(t),H(e,t)};W(ve,e=>{v.dragging&&e(ye)}),R((e,t)=>{q(r,1,e),co(r,`${z(re)} ${z(ie)}`),q(p,1,t)},[()=>K(Q(`fixed z-[1000] flex flex-col`,`bg-surface text-fg`,z(T),z(ee),`border-line`)),()=>K(Q(`flex items-center gap-1 pl-2 pr-2 h-11 flex-shrink-0`,`border-b border-line bg-surface`,z(s)?``:`cursor-grab active:cursor-grabbing`))]),B(`pointerdown`,p,function(...e){v.onHeaderPointerDown?.apply(this,e)}),Ya(3,r,()=>x,()=>({dock:z(a)})),H(e,t)};W(ce,e=>{z(r)&&e(le)}),H(e,se),at()}na([`pointerdown`,`keydown`,`dblclick`,`click`]);var dH=V(`<button><!> </button>`),fH=V(`<nav></nav>`);function pH(e,t){it(t,!0);let n=Z(t,`orientation`,3,`horizontal`),r=M(()=>Bc.value);var i=fH();G(i,21,()=>FV,({id:e,label:t,icon:n})=>e,(e,t)=>{let n=()=>z(t).id,i=()=>z(t).label,a=()=>z(t).icon;var o=dH(),s=F(o);Ba(s,a,(e,t)=>{t(e,{size:14})});var c=L(s);D(o),R(e=>{q(o,1,e),U(c,` ${i()??``}`)},[()=>K(Q(`flex items-center gap-2 px-3 py-2 text-xs font-medium rounded transition-colors whitespace-nowrap`,z(r)===n()?`bg-accent text-white`:`text-fg-subtle hover:bg-hover hover:text-fg`))]),B(`click`,o,()=>Mu(n())),H(e,o)}),D(i),R(e=>q(i,1,e),[()=>K(Q(`flex gap-1 p-1`,n()===`vertical`?`flex-col w-48 border-r border-line`:`border-b border-line overflow-x-auto`))]),H(e,i),at()}na([`click`]);var mH=V(`<!> <span class="font-medium">Snapshot mode</span> <span class="text-warning">— live updates paused.</span> <button class="ml-auto inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-warning-bg transition-colors" title="Exit snapshot and clear data"><!> Exit</button>`,1),hH=V(`<span class="text-fg-subtle"> </span> <button class="ml-auto inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-hover transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent"><!> Download snapshot</button> <button class="inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-hover transition-colors" title="Load a snapshot file"><!> Load snapshot</button> <button class="inline-flex items-center gap-1 px-2 py-0.5 rounded hover:bg-hover hover:text-danger transition-colors" title="Clear all captured data — traces, logs, metrics and errors"><!> Clear</button>`,1),gH=V(`<span class="text-danger truncate"> </span>`),_H=V(`<span class="text-warning truncate"> </span>`),vH=V(`<div><!> <input type="file" accept="application/json,.json" class="hidden"/> <!> <!></div>`);function yH(e,t){it(t,!0);let n=N(void 0),r=N(null),i=N(null),a=M(()=>kl.value),o=M(()=>[{n:cl.value.length,one:`trace`,many:`traces`},{n:dl.value.length,one:`log`,many:`logs`},{n:ul.value.length,one:`error`,many:`errors`}].filter(e=>e.n>0).map(e=>`${e.n} ${e.n===1?e.one:e.many}`)),s=M(()=>z(o).length===0),c=()=>{P(r,null),P(i,null),qy({traces:cl.value,logs:dl.value,errors:ul.value})},l=()=>{z(n)?.click()},u=()=>{P(r,null),P(i,null),Bu()},d=async e=>{P(r,null),P(i,null);let t=e.currentTarget,n=t.files?.[0];if(t.value=``,!n)return;let a=await Xy(n);if(!a.success||!a.snapshot){P(r,a.errors.join(`; `)||`Failed to load snapshot`,!0);return}a.warnings.length>0&&P(i,a.warnings.join(`; `),!0),ku(a.snapshot)};var f=vH(),p=F(f),m=e=>{var t=mH(),n=I(t);mp(n,{size:12});var r=L(n,6);ng(F(r),{size:12}),Ke(),D(r),B(`click`,r,function(...e){Au?.apply(this,e)}),H(e,t)},h=e=>{var t=hH(),n=I(t),r=F(n,!0);D(n);var i=L(n,2);mp(F(i),{size:12}),Ke(),D(i);var a=L(i,2);Kh(F(a),{size:12}),Ke(),D(a);var d=L(a,2);Bh(F(d),{size:12}),Ke(),D(d),R(e=>{U(r,e),i.disabled=z(s),J(i,`title`,z(s)?`Nothing captured yet`:`Download a snapshot of traces, logs, errors and metrics`)},[()=>z(s)?`No data captured`:z(o).join(` · `)]),B(`click`,i,c),B(`click`,a,l),B(`click`,d,u),H(e,t)};W(p,e=>{z(a)?e(m):e(h,-1)});var g=L(p,2);Uo(g,e=>P(n,e),()=>z(n));var _=L(g,2),v=e=>{var t=gH(),n=F(t,!0);D(t),R(()=>{J(t,`title`,z(r)),U(n,z(r))}),H(e,t)};W(_,e=>{z(r)&&e(v)});var y=L(_,2),b=e=>{var t=_H(),n=F(t,!0);D(t),R(()=>{J(t,`title`,z(i)),U(n,z(i))}),H(e,t)};W(y,e=>{z(i)&&!z(r)&&e(b)}),D(f),R(e=>q(f,1,e),[()=>K(Q(`border-b border-line px-3 py-1.5 text-xs flex items-center gap-2`,z(a)?`bg-warning-bg text-warning`:`bg-subtle text-fg-muted`))]),B(`change`,g,d),H(e,f),at()}na([`click`,`change`]);var bH=V(`<div class="flex h-screen w-screen bg-surface text-fg"><div class="hidden md:flex flex-col border-r border-line"><!> <div class="mt-auto p-2 border-t border-line flex flex-col gap-1"><!> <button class="flex items-center gap-2 px-3 py-2 text-xs text-fg-subtle hover:bg-hover hover:text-fg rounded transition-colors"><!> </button> <button class="flex items-center gap-2 px-3 py-2 text-xs text-fg-subtle hover:bg-hover hover:text-fg rounded transition-colors" title="Keyboard shortcuts (?)"><!> Shortcuts</button></div></div> <div class="flex-1 flex flex-col min-w-0"><!> <div class="md:hidden"><!></div> <div class="flex-1 overflow-hidden"><!></div></div> <!></div>`);function xH(e,t){it(t,!0);function n(){return Vc.value?_g:Bc.value===`traces`?gg:hg}let r=M(()=>Gc.value),i=M(()=>$c.value);zr(()=>{Gc.value=Kc()});let a=N(void 0);zr(()=>{let e=null,t=z(a)?.getRootNode();t instanceof ShadowRoot?e=t.host:globalThis.document!==void 0&&(e=document.documentElement),e&&e.setAttribute(`data-theme`,z(r))}),zr(()=>{let e=e=>{if(e.key===`?`&&!vg()){e.preventDefault(),nl(n());return}if(!$c.value&&!vg()&&e.key>=`1`&&e.key<=`9`){let t=parseInt(e.key,10)-1;t<IV.length&&Mu(IV[t])}};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)});let o=M(()=>z(r)===`dark`?`Dark`:z(r)===`light`?`Light`:`System`);var s=bH(),c=F(s),l=F(c);pH(l,{orientation:`vertical`});var u=L(l,2),d=F(u);JV(d,{});var f=L(d,2),p=F(f),m=e=>{Wm(e,{size:14})},h=e=>{Ph(e,{size:14})},g=e=>{Hm(e,{size:14})};W(p,e=>{z(r)===`dark`?e(m):z(r)===`light`?e(h,1):e(g,-1)});var _=L(p);D(f);var v=L(f,2);Ap(F(v),{size:14}),Ke(),D(v),D(u),D(c);var y=L(c,2),b=F(y);yH(b,{});var x=L(b,2);pH(F(x),{orientation:`horizontal`}),D(x);var S=L(x,2);HV(F(S),{}),D(S),D(y);var C=L(y,2),w=e=>{QV(e,{get shortcuts(){return z(i)},get onClose(){return tl}})};W(C,e=>{z(i)&&e(w)}),D(s),Uo(s,e=>P(a,e),()=>z(a)),R(()=>{J(f,`title`,`Theme: ${z(o)} (click to cycle)`),U(_,` ${z(o)??``}`)}),B(`click`,f,function(...e){Jc?.apply(this,e)}),B(`click`,v,()=>el(n())),H(e,s),at()}na([`click`]);var SH=250,CH=5e3;function wH(e={}){let t=e.now??(()=>Date.now()),n=e.debounceMs??SH,r=e.limit??CH,i=0,a=null,o=null,s=!1;function c(){let t=pl.value,n=e.baseUrl??(t?$o(t):null)??globalThis.location?.origin??``;return{fetch:e.fetch??globalThis.fetch.bind(globalThis),baseUrl:n}}async function l(){if(s)return;let e=++i;a?.abort();let n=new AbortController;a=n;let o={query:``,window:Ms(Es(ml.value,t())),limit:r},l={...c(),signal:n.signal},[u,d]=await Promise.all([TH(o,l),TA(o,l)]);e!==i||s||(u.status===`ok`?(hl.value=u.traces,_l.value=`ready`):u.status===`error`&&(_l.value=`unavailable`),d.status===`ok`&&(gl.value=d.errors))}function u(){if(!s){if(o&&clearTimeout(o),n<=0){l();return}o=setTimeout(()=>{o=null,l()},n)}}return{refresh:l,invalidate:u,dispose(){s=!0,o&&clearTimeout(o),a?.abort()}}}async function TH(e,t){let n=[],r=new Set,i;do{let a=await SA({...e,cursor:i},t);if(a.status!==`ok`)return a;if(n.push(...a.traces),i=a.nextCursor??void 0,i&&r.has(i))return{status:`error`,message:`The trace query returned a repeated pagination cursor.`};i&&r.add(i)}while(i);return{status:`ok`,traces:n,nextCursor:null}}var EH=`data-autotel-portal`;function DH(e){let t=e.querySelector(`[${EH}]`);if(t)return t;let n=document.createElement(`div`);return n.setAttribute(EH,``),n.style.position=`absolute`,n.style.top=`0`,n.style.left=`0`,n.style.zIndex=`2147483000`,e.appendChild(n),n}var OH=V(`<!> <!>`,1),kH=V(`<div class="contents"><!></div>`);function AH(e,t){it(t,!0);function n(e){Mu(e.tab??`traces`),Nl.value=e.q??``,Pl.value=e.status??`all`,Fl.value=e.minDuration??0,ml.value=e.window??Cs,Ml.value=e.sort??Zu,zl.value=e.genaiQuery??``,e.traceId&&Wc(e.traceId,e.spanId)}zr(()=>{pl.value=t.wsUrl});let r=wH();zr(()=>(r.refresh(),()=>r.dispose())),zr(()=>{ml.value,cl.value.length,r.invalidate()});let i=N(void 0),a=N(void 0);zr(()=>{if(!z(i))return;let e=z(i).getRootNode();P(a,DH(e instanceof ShadowRoot?e:document.body),!0)}),zr(()=>{t.deepLink&&n(t.deepLink)}),zr(()=>{let e=Uc.value;e&&cl.value.some(t=>t.traceId===e.traceId)&&(Nu(e.traceId,e.spanId??null),Mu(`traces`),Uc.value=null)});let o=null;zr(()=>{if(t.mode!==`fullpage`)return;let e={tab:Bc.value,traceId:Vc.value??void 0,spanId:Hc.value??void 0,q:Nl.value||void 0,status:Pl.value,minDuration:Fl.value,window:ml.value,sort:Ml.value,genaiQuery:zl.value||void 0};if(Uc.value)return;let n=ed(e);if(n===location.hash)return;let r=td(o,e);o=e;let i=`${location.pathname}${location.search}${n}`;r===`push`?history.pushState(history.state,``,i):history.replaceState(history.state,``,i)}),zr(()=>{if(t.mode!==`fullpage`)return;let e=()=>{let e=$u(location.hash);o=e,n(e)};return window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)}),zr(()=>{Wu(),ns($o(t.wsUrl));let e=new Qo(t.wsUrl);fl.value=`connecting`;let n=e.onStatusChange(e=>{fl.value=e}),r=e.onMessage(Tu);return e.connect(),()=>{r(),n(),e.disconnect()}});var s=kH();dE(F(s),{get defaultPortalTo(){return z(a)},children:(e,n)=>{var r=da(),i=I(r),a=e=>{xH(e,{})},o=e=>{var t=OH(),n=I(t);Hf(n,{}),uH(L(n,2),{}),H(e,t)};W(i,e=>{t.mode===`fullpage`?e(a):e(o,-1)}),H(e,r)},$$slots:{default:!0}}),D(s),Uo(s,e=>P(i,e),()=>z(i)),H(e,s),at()}function jH(e,t){let n=ha(AH,{target:e,props:t});return()=>{ya(n)}}var MH=`/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
46
+ @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{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--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-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-outline-style:solid}::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--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-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:"Hanken Grotesk", system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, "SF Mono", monospace;--color-red-100:#ffe2e2;--color-red-400:#ff6568;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-red-700:#bf000f;--color-orange-100:#ffedd5;--color-orange-400:#ff8b1a;--color-orange-500:#fe6e00;--color-orange-600:#f05100;--color-orange-700:#c53c00;--color-amber-100:#fef3c6;--color-amber-500:#f99c00;--color-amber-600:#dd7400;--color-amber-700:#b75000;--color-yellow-100:#fef9c2;--color-yellow-500:#edb200;--color-yellow-600:#cd8900;--color-green-100:#dcfce7;--color-green-400:#05df72;--color-green-500:#00c758;--color-green-600:#00a544;--color-emerald-500:#00bb7f;--color-emerald-600:#009767;--color-teal-500:#00baa7;--color-teal-600:#009588;--color-cyan-100:#cefafe;--color-cyan-500:#00b7d7;--color-cyan-600:#0092b5;--color-sky-500:#00a5ef;--color-sky-600:#0084cc;--color-blue-100:#dbeafe;--color-blue-400:#54a2ff;--color-blue-500:#3080ff;--color-blue-600:#155dfc;--color-indigo-500:#625fff;--color-indigo-600:#4f39f6;--color-violet-100:#ede9fe;--color-violet-500:#8d54ff;--color-violet-600:#7f22fe;--color-violet-700:#7008e7;--color-purple-100:#f3e8ff;--color-purple-400:#c07eff;--color-purple-500:#ac4bff;--color-purple-600:#9810fa;--color-fuchsia-500:#e12afb;--color-fuchsia-600:#c600db;--color-rose-500:#ff2357;--color-rose-600:#e70044;--color-gray-50:#f9fafb;--color-gray-100:#f3f4f6;--color-gray-400:#99a1af;--color-gray-500:#6a7282;--color-gray-900:#101828;--color-stone-500:#79716b;--color-stone-600:#57534d;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--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:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--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);--color-surface:var(--at-surface);--color-subtle:var(--at-muted);--color-hover:var(--at-surface-hover);--color-code:var(--at-code);--color-fg:var(--at-text-primary);--color-fg-muted:var(--at-text-secondary);--color-fg-subtle:var(--at-text-muted);--color-line:var(--at-border);--color-line-subtle:var(--at-border-light);--color-accent:var(--at-accent);--color-danger:var(--at-error-text);--color-danger-bg:var(--at-error-bg);--color-danger-border:var(--at-error-border);--color-success:var(--at-ok-text);--color-success-bg:var(--at-ok-bg);--color-success-border:var(--at-ok-border);--color-warning:var(--at-warn-text);--color-warning-bg:var(--at-warn-bg);--color-warning-border:var(--at-warn-border);--color-selected:var(--at-selected-bg)}@supports (color:color(display-p3 0 0 0)){:root,:host{--color-red-100:color(display-p3 .980386 .889727 .887779);--color-red-400:color(display-p3 .933534 .431676 .423491);--color-red-500:color(display-p3 .903738 .262579 .253307);--color-red-600:color(display-p3 .830323 .140383 .133196);--color-red-700:color(display-p3 .692737 .116232 .104679);--color-orange-100:color(display-p3 .988762 .931393 .843273);--color-orange-400:color(display-p3 .950192 .561807 .211017);--color-orange-500:color(display-p3 .946589 .449788 .0757345);--color-orange-600:color(display-p3 .887467 .341665 .0219962);--color-orange-700:color(display-p3 .729844 .257256 .0511062);--color-amber-100:color(display-p3 .989391 .954583 .796328);--color-amber-500:color(display-p3 .93994 .620584 .0585367);--color-amber-600:color(display-p3 .827144 .467166 .0336006);--color-amber-700:color(display-p3 .67989 .32771 .0520514);--color-yellow-100:color(display-p3 .993436 .977463 .782913);--color-yellow-500:color(display-p3 .903651 .703062 .0745389);--color-yellow-600:color(display-p3 .776342 .542492 .041709);--color-green-100:color(display-p3 .885269 .984329 .910368);--color-green-400:color(display-p3 .399536 .862346 .49324);--color-green-500:color(display-p3 .308734 .774754 .374307);--color-green-600:color(display-p3 .243882 .640824 .294808);--color-emerald-500:color(display-p3 .267113 .726847 .508397);--color-emerald-600:color(display-p3 .206557 .589057 .413962);--color-teal-500:color(display-p3 .266569 .721518 .655462);--color-teal-600:color(display-p3 .207114 .579584 .53668);--color-cyan-100:color(display-p3 .843085 .97553 .992573);--color-cyan-500:color(display-p3 .246703 .710032 .841444);--color-cyan-600:color(display-p3 .193249 .564651 .707197);--color-sky-500:color(display-p3 .219113 .639027 .931479);--color-sky-600:color(display-p3 .162505 .509376 .796082);--color-blue-100:color(display-p3 .869214 .915931 .989622);--color-blue-400:color(display-p3 .397443 .62813 .992116);--color-blue-500:color(display-p3 .266422 .491219 .988624);--color-blue-600:color(display-p3 .174493 .358974 .950247);--color-indigo-500:color(display-p3 .380374 .372235 .971707);--color-indigo-600:color(display-p3 .297656 .227891 .929242);--color-violet-100:color(display-p3 .926222 .913546 .990178);--color-violet-500:color(display-p3 .523372 .329605 .990884);--color-violet-600:color(display-p3 .459951 .162666 .957985);--color-violet-700:color(display-p3 .40161 .0841901 .871151);--color-purple-100:color(display-p3 .945034 .910569 .992972);--color-purple-400:color(display-p3 .719919 .492497 .995173);--color-purple-500:color(display-p3 .629519 .30089 .990817);--color-purple-600:color(display-p3 .546729 .130167 .94439);--color-fuchsia-500:color(display-p3 .81268 .241966 .951571);--color-fuchsia-600:color(display-p3 .716587 .083681 .841036);--color-rose-500:color(display-p3 .921824 .240748 .355666);--color-rose-600:color(display-p3 .848792 .102011 .269259);--color-gray-50:color(display-p3 .977213 .98084 .985102);--color-gray-100:color(display-p3 .953567 .956796 .964321);--color-gray-400:color(display-p3 .605734 .630385 .680158);--color-gray-500:color(display-p3 .421287 .446085 .504784);--color-gray-900:color(display-p3 .070423 .0928982 .151928);--color-stone-500:color(display-p3 .467445 .443064 .42264);--color-stone-600:color(display-p3 .339543 .325291 .304619)}}@supports (color:lab(0% 0 0)){:root,:host{--color-red-100:lab(92.243% 10.2865 3.83865);--color-red-400:lab(63.7053% 60.745 31.3109);--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452);--color-red-700:lab(40.4273% 67.2623 53.7441);--color-orange-100:lab(94.7127% 3.58394 14.3151);--color-orange-400:lab(70.0429% 42.5156 75.8207);--color-orange-500:lab(64.272% 57.1788 90.3583);--color-orange-600:lab(57.1026% 64.2584 89.8886);--color-orange-700:lab(46.4615% 57.7275 70.8507);--color-amber-100:lab(95.916% -1.21653 23.111);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-amber-600:lab(60.3514% 40.5624 87.1228);--color-amber-700:lab(47.2709% 42.9082 69.2966);--color-yellow-100:lab(97.3564% -4.51407 27.344);--color-yellow-500:lab(76.3898% 14.5258 98.4589);--color-yellow-600:lab(62.7799% 22.4197 86.1544);--color-green-100:lab(96.1861% -13.8464 6.52365);--color-green-400:lab(78.503% -64.9265 39.7492);--color-green-500:lab(70.5521% -66.5147 45.8073);--color-green-600:lab(59.0978% -58.6621 41.2579);--color-emerald-500:lab(66.9756% -58.27 19.5419);--color-emerald-600:lab(55.0481% -49.9246 15.93);--color-teal-500:lab(67.3859% -49.0983 -2.63511);--color-teal-600:lab(55.0223% -41.0774 -3.90277);--color-cyan-100:lab(95.3146% -13.8285 -6.84732);--color-cyan-500:lab(67.805% -35.3952 -30.2018);--color-cyan-600:lab(55.1767% -26.7496 -30.5139);--color-sky-500:lab(63.3038% -18.433 -51.0407);--color-sky-600:lab(51.7754% -11.4712 -49.8349);--color-blue-100:lab(92.0301% -2.24757 -11.6453);--color-blue-400:lab(65.0361% -1.42065 -56.9802);--color-blue-500:lab(54.1736% 13.3369 -74.6839);--color-blue-600:lab(44.0605% 29.0279 -86.0352);--color-indigo-500:lab(48.295% 38.3129 -81.9673);--color-indigo-600:lab(38.4009% 52.6132 -92.3857);--color-violet-100:lab(93.0838% 4.35197 -9.88284);--color-violet-500:lab(49.9355% 55.1776 -81.8963);--color-violet-600:lab(41.088% 68.9966 -91.995);--color-violet-700:lab(35.2783% 67.9912 -88.793);--color-purple-100:lab(93.3333% 6.97437 -9.83434);--color-purple-400:lab(63.6946% 47.6127 -59.2066);--color-purple-500:lab(52.0183% 66.11 -78.2316);--color-purple-600:lab(43.0295% 75.21 -86.5669);--color-fuchsia-500:lab(56.4256% 83.132 -64.639);--color-fuchsia-600:lab(47.5131% 83.4271 -63.0363);--color-rose-500:lab(56.101% 79.4328 31.4532);--color-rose-600:lab(49.1882% 81.577 36.0311);--color-gray-50:lab(98.2596% -.247031 -.706708);--color-gray-100:lab(96.1596% -.0823438 -1.13575);--color-gray-400:lab(65.9269% -.832707 -8.17473);--color-gray-500:lab(47.7841% -.393182 -10.0268);--color-gray-900:lab(8.11897% .811279 -12.254);--color-stone-500:lab(48.1164% 2.35701 4.26852);--color-stone-600:lab(35.5168% 1.08604 4.07829)}}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{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;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;-webkit-text-decoration:inherit;-webkit-text-decoration: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:where(:not(iframe)){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}::-webkit-file-upload-button{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:-webkit-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:-webkit-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::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-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button{-webkit-appearance:button;appearance:button}input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-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}}@layer components;@layer utilities{.\\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{top:0;bottom:0;left:0;right:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-top-1{top:calc(var(--spacing) * -1)}.top-0{top:0}.top-0\\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-3{top:calc(var(--spacing) * 3)}.top-10{top:calc(var(--spacing) * 10)}.top-\\[7px\\]{top:7px}.top-\\[9px\\]{top:9px}.top-\\[calc\\(100\\%-2px\\)\\]{top:calc(100% - 2px)}.top-full{top:100%}.-right-1{right:calc(var(--spacing) * -1)}.-right-1\\.5{right:calc(var(--spacing) * -1.5)}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\\.5{right:calc(var(--spacing) * 1.5)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.-bottom-1{bottom:calc(var(--spacing) * -1)}.bottom-0{bottom:0}.bottom-0\\.5{bottom:calc(var(--spacing) * .5)}.bottom-1{bottom:var(--spacing)}.bottom-3{bottom:calc(var(--spacing) * 3)}.-left-1{left:calc(var(--spacing) * -1)}.-left-1\\.5{left:calc(var(--spacing) * -1.5)}.-left-px{left:-1px}.left-0{left:0}.left-1{left:var(--spacing)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[1000\\]{z-index:1000}.z-\\[1001\\]{z-index:1001}.z-\\[1100\\]{z-index:1100}.z-\\[1200\\]{z-index:1200}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-m-1{margin:calc(var(--spacing) * -1)}.m-3{margin:calc(var(--spacing) * 3)}.m-4{margin:calc(var(--spacing) * 4)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline-start:auto;margin-inline-end:auto}.my-1{margin-block:var(--spacing)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-auto{margin-top:auto}.mt-px{margin-top:1px}.mr-0\\.5{margin-right:calc(var(--spacing) * .5)}.mr-1{margin-right:var(--spacing)}.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:var(--spacing)}.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-0\\.5{margin-left:calc(var(--spacing) * .5)}.ml-1{margin-left:var(--spacing)}.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}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-0\\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-1\\/2{height:50%}.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-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-11{height:calc(var(--spacing) * 11)}.h-24{height:calc(var(--spacing) * 24)}.h-\\[300px\\]{height:300px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[85vh\\]{max-height:85vh}.max-h-\\[160px\\]{max-height:160px}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[240px\\]{max-height:240px}.min-h-0{min-height:0}.min-h-\\[120px\\]{min-height:120px}.w-0\\.5{width:calc(var(--spacing) * .5)}.w-1{width:var(--spacing)}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.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-4{width:calc(var(--spacing) * 4)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\\[1\\%\\]{width:1%}.w-\\[80px\\]{width:80px}.w-\\[200px\\]{width:200px}.w-\\[480px\\]{width:480px}.w-\\[min\\(560px\\,92vw\\)\\]{width:min(560px,92vw)}.w-\\[min\\(700px\\,92vw\\)\\]{width:min(700px,92vw)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[10rem\\]{max-width:10rem}.max-w-\\[14rem\\]{max-width:14rem}.max-w-\\[16rem\\]{max-width:16rem}.max-w-\\[90vw\\]{max-width:90vw}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[420px\\]{max-width:420px}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-xl{max-width:var(--container-xl)}.min-w-0{min-width:0}.min-w-\\[8px\\]{min-width:8px}.min-w-\\[16px\\]{min-width:16px}.min-w-\\[180px\\]{min-width:180px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-125{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-ns-resize{cursor:ns-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\\[80px_1fr\\]{grid-template-columns:80px 1fr}.grid-cols-\\[100px_1fr\\]{grid-template-columns:100px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-px{gap:1px}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:0;margin-block-end:0}: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(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * 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)))}.gap-y-2{row-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-line>:not(:last-child)){border-color:var(--color-line)}:where(.divide-line-subtle>:not(:last-child)){border-color:var(--color-line-subtle)}.self-stretch{align-self:stretch}.justify-self-end{justify-self:flex-end}.justify-self-start{justify-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[1px\\]{border-radius:1px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.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-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-accent,.border-accent\\/30{border-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.border-accent\\/30{border-color:color-mix(in oklab, var(--color-accent) 30%, transparent)}}.border-accent\\/40{border-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.border-accent\\/40{border-color:color-mix(in oklab, var(--color-accent) 40%, transparent)}}.border-amber-500\\/20{border-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.border-amber-500\\/20{border-color:color-mix(in oklab, var(--color-amber-500) 20%, transparent)}}.border-amber-500\\/30{border-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.border-amber-500\\/30{border-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.border-blue-500\\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab, red, red)){.border-blue-500\\/30{border-color:color-mix(in oklab, var(--color-blue-500) 30%, transparent)}}.border-cyan-500\\/30{border-color:#00b7d74d}@supports (color:color-mix(in lab, red, red)){.border-cyan-500\\/30{border-color:color-mix(in oklab, var(--color-cyan-500) 30%, transparent)}}.border-danger-border{border-color:var(--color-danger-border)}.border-danger\\/30{border-color:var(--color-danger)}@supports (color:color-mix(in lab, red, red)){.border-danger\\/30{border-color:color-mix(in oklab, var(--color-danger) 30%, transparent)}}.border-emerald-500\\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\\/30{border-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.border-fuchsia-500\\/30{border-color:#e12afb4d}@supports (color:color-mix(in lab, red, red)){.border-fuchsia-500\\/30{border-color:color-mix(in oklab, var(--color-fuchsia-500) 30%, transparent)}}.border-green-500\\/30{border-color:#00c7584d}@supports (color:color-mix(in lab, red, red)){.border-green-500\\/30{border-color:color-mix(in oklab, var(--color-green-500) 30%, transparent)}}.border-indigo-500\\/30{border-color:#625fff4d}@supports (color:color-mix(in lab, red, red)){.border-indigo-500\\/30{border-color:color-mix(in oklab, var(--color-indigo-500) 30%, transparent)}}.border-line{border-color:var(--color-line)}.border-line-subtle{border-color:var(--color-line-subtle)}.border-line\\/50{border-color:var(--color-line)}@supports (color:color-mix(in lab, red, red)){.border-line\\/50{border-color:color-mix(in oklab, var(--color-line) 50%, transparent)}}.border-line\\/60{border-color:var(--color-line)}@supports (color:color-mix(in lab, red, red)){.border-line\\/60{border-color:color-mix(in oklab, var(--color-line) 60%, transparent)}}.border-orange-500\\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab, red, red)){.border-orange-500\\/30{border-color:color-mix(in oklab, var(--color-orange-500) 30%, transparent)}}.border-purple-500\\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab, red, red)){.border-purple-500\\/30{border-color:color-mix(in oklab, var(--color-purple-500) 30%, transparent)}}.border-red-500\\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab, red, red)){.border-red-500\\/30{border-color:color-mix(in oklab, var(--color-red-500) 30%, transparent)}}.border-stone-500\\/30{border-color:#79716b4d}@supports (color:color-mix(in lab, red, red)){.border-stone-500\\/30{border-color:color-mix(in oklab, var(--color-stone-500) 30%, transparent)}}.border-success-border{border-color:var(--color-success-border)}.border-violet-500\\/30{border-color:#8d54ff4d}@supports (color:color-mix(in lab, red, red)){.border-violet-500\\/30{border-color:color-mix(in oklab, var(--color-violet-500) 30%, transparent)}}.border-warning-border{border-color:var(--color-warning-border)}.border-white{border-color:var(--color-white)}.border-l-warning{border-left-color:var(--color-warning)}.\\!bg-accent{background-color:var(--color-accent)!important}.bg-accent,.bg-accent\\/5{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/5{background-color:color-mix(in oklab, var(--color-accent) 5%, transparent)}}.bg-accent\\/10{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/10{background-color:color-mix(in oklab, var(--color-accent) 10%, transparent)}}.bg-accent\\/12{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/12{background-color:color-mix(in oklab, var(--color-accent) 12%, transparent)}}.bg-accent\\/15{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/15{background-color:color-mix(in oklab, var(--color-accent) 15%, transparent)}}.bg-accent\\/70{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/70{background-color:color-mix(in oklab, var(--color-accent) 70%, transparent)}}.bg-amber-100{background-color:var(--color-amber-100)}.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-amber-500\\/15{background-color:#f99c0026}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\\/15{background-color:color-mix(in oklab, var(--color-amber-500) 15%, transparent)}}.bg-black\\/55{background-color:#0000008c}@supports (color:color-mix(in lab, red, red)){.bg-black\\/55{background-color:color-mix(in oklab, var(--color-black) 55%, transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\\/10{background-color:color-mix(in oklab, var(--color-blue-500) 10%, transparent)}}.bg-blue-500\\/15{background-color:#3080ff26}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\\/15{background-color:color-mix(in oklab, var(--color-blue-500) 15%, transparent)}}.bg-code{background-color:var(--color-code)}.bg-cyan-100{background-color:var(--color-cyan-100)}.bg-cyan-500\\/15{background-color:#00b7d726}@supports (color:color-mix(in lab, red, red)){.bg-cyan-500\\/15{background-color:color-mix(in oklab, var(--color-cyan-500) 15%, transparent)}}.bg-danger{background-color:var(--color-danger)}.bg-danger-bg,.bg-danger-bg\\/40{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.bg-danger-bg\\/40{background-color:color-mix(in oklab, var(--color-danger-bg) 40%, transparent)}}.bg-danger\\/5{background-color:var(--color-danger)}@supports (color:color-mix(in lab, red, red)){.bg-danger\\/5{background-color:color-mix(in oklab, var(--color-danger) 5%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-500\\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\\/10{background-color:color-mix(in oklab, var(--color-emerald-500) 10%, transparent)}}.bg-emerald-500\\/15{background-color:#00bb7f26}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\\/15{background-color:color-mix(in oklab, var(--color-emerald-500) 15%, transparent)}}.bg-fg-subtle{background-color:var(--color-fg-subtle)}.bg-fuchsia-500\\/15{background-color:#e12afb26}@supports (color:color-mix(in lab, red, red)){.bg-fuchsia-500\\/15{background-color:color-mix(in oklab, var(--color-fuchsia-500) 15%, transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\\/15{background-color:#00c75826}@supports (color:color-mix(in lab, red, red)){.bg-green-500\\/15{background-color:color-mix(in oklab, var(--color-green-500) 15%, transparent)}}.bg-hover{background-color:var(--color-hover)}.bg-indigo-500\\/15{background-color:#625fff26}@supports (color:color-mix(in lab, red, red)){.bg-indigo-500\\/15{background-color:color-mix(in oklab, var(--color-indigo-500) 15%, transparent)}}.bg-line{background-color:var(--color-line)}.bg-line-subtle{background-color:var(--color-line-subtle)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-400{background-color:var(--color-orange-400)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\\/15{background-color:#fe6e0026}@supports (color:color-mix(in lab, red, red)){.bg-orange-500\\/15{background-color:color-mix(in oklab, var(--color-orange-500) 15%, transparent)}}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-500\\/15{background-color:#ac4bff26}@supports (color:color-mix(in lab, red, red)){.bg-purple-500\\/15{background-color:color-mix(in oklab, var(--color-purple-500) 15%, transparent)}}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/15{background-color:#fb2c3626}@supports (color:color-mix(in lab, red, red)){.bg-red-500\\/15{background-color:color-mix(in oklab, var(--color-red-500) 15%, transparent)}}.bg-rose-500{background-color:var(--color-rose-500)}.bg-selected{background-color:var(--color-selected)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-stone-500\\/15{background-color:#79716b26}@supports (color:color-mix(in lab, red, red)){.bg-stone-500\\/15{background-color:color-mix(in oklab, var(--color-stone-500) 15%, transparent)}}.bg-subtle,.bg-subtle\\/40{background-color:var(--color-subtle)}@supports (color:color-mix(in lab, red, red)){.bg-subtle\\/40{background-color:color-mix(in oklab, var(--color-subtle) 40%, transparent)}}.bg-subtle\\/50{background-color:var(--color-subtle)}@supports (color:color-mix(in lab, red, red)){.bg-subtle\\/50{background-color:color-mix(in oklab, var(--color-subtle) 50%, transparent)}}.bg-subtle\\/60{background-color:var(--color-subtle)}@supports (color:color-mix(in lab, red, red)){.bg-subtle\\/60{background-color:color-mix(in oklab, var(--color-subtle) 60%, transparent)}}.bg-success{background-color:var(--color-success)}.bg-success-bg{background-color:var(--color-success-bg)}.bg-surface{background-color:var(--color-surface)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-violet-100{background-color:var(--color-violet-100)}.bg-violet-500{background-color:var(--color-violet-500)}.bg-violet-500\\/10{background-color:#8d54ff1a}@supports (color:color-mix(in lab, red, red)){.bg-violet-500\\/10{background-color:color-mix(in oklab, var(--color-violet-500) 10%, transparent)}}.bg-violet-500\\/15{background-color:#8d54ff26}@supports (color:color-mix(in lab, red, red)){.bg-violet-500\\/15{background-color:color-mix(in oklab, var(--color-violet-500) 15%, transparent)}}.bg-warning{background-color:var(--color-warning)}.bg-warning-bg{background-color:var(--color-warning-bg)}.bg-warning\\/5{background-color:var(--color-warning)}@supports (color:color-mix(in lab, red, red)){.bg-warning\\/5{background-color:color-mix(in oklab, var(--color-warning) 5%, transparent)}}.bg-yellow-100{background-color:var(--color-yellow-100)}.fill-\\[var\\(--color-fg-subtle\\)\\]{fill:var(--color-fg-subtle)}.fill-amber-500\\/15{fill:#f99c0026}@supports (color:color-mix(in lab, red, red)){.fill-amber-500\\/15{fill:color-mix(in oklab, var(--color-amber-500) 15%, transparent)}}.fill-amber-600{fill:var(--color-amber-600)}.fill-blue-500\\/15{fill:#3080ff26}@supports (color:color-mix(in lab, red, red)){.fill-blue-500\\/15{fill:color-mix(in oklab, var(--color-blue-500) 15%, transparent)}}.fill-blue-600{fill:var(--color-blue-600)}.fill-danger{fill:var(--color-danger)}.fill-emerald-500\\/15{fill:#00bb7f26}@supports (color:color-mix(in lab, red, red)){.fill-emerald-500\\/15{fill:color-mix(in oklab, var(--color-emerald-500) 15%, transparent)}}.fill-emerald-600{fill:var(--color-emerald-600)}.fill-fg-muted{fill:var(--color-fg-muted)}.fill-fg-subtle{fill:var(--color-fg-subtle)}.fill-red-500{fill:var(--color-red-500)}.fill-rose-500\\/15{fill:#ff235726}@supports (color:color-mix(in lab, red, red)){.fill-rose-500\\/15{fill:color-mix(in oklab, var(--color-rose-500) 15%, transparent)}}.fill-rose-600{fill:var(--color-rose-600)}.fill-sky-500\\/15{fill:#00a5ef26}@supports (color:color-mix(in lab, red, red)){.fill-sky-500\\/15{fill:color-mix(in oklab, var(--color-sky-500) 15%, transparent)}}.fill-sky-600{fill:var(--color-sky-600)}.fill-teal-500\\/15{fill:#00baa726}@supports (color:color-mix(in lab, red, red)){.fill-teal-500\\/15{fill:color-mix(in oklab, var(--color-teal-500) 15%, transparent)}}.fill-teal-600{fill:var(--color-teal-600)}.fill-violet-500\\/15{fill:#8d54ff26}@supports (color:color-mix(in lab, red, red)){.fill-violet-500\\/15{fill:color-mix(in oklab, var(--color-violet-500) 15%, transparent)}}.fill-violet-600{fill:var(--color-violet-600)}.fill-warning{fill:var(--color-warning)}.fill-white{fill:var(--color-white)}.stroke-accent{stroke:var(--color-accent)}.stroke-amber-500\\/60{stroke:#f99c0099}@supports (color:color-mix(in lab, red, red)){.stroke-amber-500\\/60{stroke:color-mix(in oklab, var(--color-amber-500) 60%, transparent)}}.stroke-blue-500\\/60{stroke:#3080ff99}@supports (color:color-mix(in lab, red, red)){.stroke-blue-500\\/60{stroke:color-mix(in oklab, var(--color-blue-500) 60%, transparent)}}.stroke-emerald-500\\/60{stroke:#00bb7f99}@supports (color:color-mix(in lab, red, red)){.stroke-emerald-500\\/60{stroke:color-mix(in oklab, var(--color-emerald-500) 60%, transparent)}}.stroke-fg-subtle{stroke:var(--color-fg-subtle)}.stroke-red-500{stroke:var(--color-red-500)}.stroke-rose-500\\/60{stroke:#ff235799}@supports (color:color-mix(in lab, red, red)){.stroke-rose-500\\/60{stroke:color-mix(in oklab, var(--color-rose-500) 60%, transparent)}}.stroke-sky-500\\/60{stroke:#00a5ef99}@supports (color:color-mix(in lab, red, red)){.stroke-sky-500\\/60{stroke:color-mix(in oklab, var(--color-sky-500) 60%, transparent)}}.stroke-teal-500\\/60{stroke:#00baa799}@supports (color:color-mix(in lab, red, red)){.stroke-teal-500\\/60{stroke:color-mix(in oklab, var(--color-teal-500) 60%, transparent)}}.stroke-violet-500\\/60{stroke:#8d54ff99}@supports (color:color-mix(in lab, red, red)){.stroke-violet-500\\/60{stroke:color-mix(in oklab, var(--color-violet-500) 60%, transparent)}}.stroke-\\[2\\.5px\\]{stroke-width:2.5px}.p-0{padding:0}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0\\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.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:var(--spacing)}.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)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block-start:1px;padding-block-end:1px}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:var(--spacing)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-7{padding-right:calc(var(--spacing) * 7)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pl-0\\.5{padding-left:calc(var(--spacing) * .5)}.pl-1{padding-left:var(--spacing)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-7{padding-left:calc(var(--spacing) * 7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.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-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.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-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent,.text-accent\\/80{color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.text-accent\\/80{color:color-mix(in oklab, var(--color-accent) 80%, transparent)}}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-cyan-500{color:var(--color-cyan-500)}.text-cyan-600{color:var(--color-cyan-600)}.text-danger{color:var(--color-danger)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-fg{color:var(--color-fg)}.text-fg-muted,.text-fg-muted\\/70{color:var(--color-fg-muted)}@supports (color:color-mix(in lab, red, red)){.text-fg-muted\\/70{color:color-mix(in oklab, var(--color-fg-muted) 70%, transparent)}}.text-fg-muted\\/80{color:var(--color-fg-muted)}@supports (color:color-mix(in lab, red, red)){.text-fg-muted\\/80{color:color-mix(in oklab, var(--color-fg-muted) 80%, transparent)}}.text-fg-subtle,.text-fg-subtle\\/60{color:var(--color-fg-subtle)}@supports (color:color-mix(in lab, red, red)){.text-fg-subtle\\/60{color:color-mix(in oklab, var(--color-fg-subtle) 60%, transparent)}}.text-fuchsia-500{color:var(--color-fuchsia-500)}.text-fuchsia-600{color:var(--color-fuchsia-600)}.text-gray-50{color:var(--color-gray-50)}.text-gray-100{color:var(--color-gray-100)}.text-gray-500{color:var(--color-gray-500)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-line{color:var(--color-line)}.text-line-subtle{color:var(--color-line-subtle)}.text-orange-600{color:var(--color-orange-600)}.text-orange-700{color:var(--color-orange-700)}.text-purple-500{color:var(--color-purple-500)}.text-purple-600{color:var(--color-purple-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-sky-500{color:var(--color-sky-500)}.text-sky-600{color:var(--color-sky-600)}.text-stone-600{color:var(--color-stone-600)}.text-success{color:var(--color-success)}.text-surface{color:var(--color-surface)}.text-violet-500{color:var(--color-violet-500)}.text-violet-600{color:var(--color-violet-600)}.text-violet-600\\/70{color:#7f22feb3}@supports (color:color-mix(in lab, red, red)){.text-violet-600\\/70{color:color-mix(in oklab, var(--color-violet-600) 70%, transparent)}}.text-violet-700{color:var(--color-violet-700)}.text-warning{color:var(--color-warning)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.shadow{--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-\\[0_1px_0_\\#d4d4d8\\]{--tw-shadow:0 1px 0 var(--tw-shadow-color,#d4d4d8);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.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-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px 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)}.ring,.ring-1{--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)}.ring-2{--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)}.ring-accent,.ring-accent\\/20{--tw-ring-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.ring-accent\\/20{--tw-ring-color:color-mix(in oklab, var(--color-accent) 20%, transparent)}}.ring-danger{--tw-ring-color:var(--color-danger)}.ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.blur{--tw-blur:blur(8px);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,)}.invert{--tw-invert:invert(100%);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,)}.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,)}.backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.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,-webkit-backdrop-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-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))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.row-virtual{content-visibility:auto;contain-intrinsic-size:auto 32px}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:bg-accent:is(:where(.group):hover *){background-color:var(--color-accent)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\/stat\\:underline:is(:where(.group\\/stat):hover *){text-decoration-line:underline}}.group-focus-visible\\:bg-accent:is(:where(.group):focus-visible *){background-color:var(--color-accent)}.last\\:mr-0:last-child{margin-right:0}.last\\:mb-0:last-child{margin-bottom:0}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-danger-border:hover{border-color:var(--color-danger-border)}.hover\\:bg-accent:hover,.hover\\:bg-accent\\/5:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/5:hover{background-color:color-mix(in oklab, var(--color-accent) 5%, transparent)}}.hover\\:bg-accent\\/10:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/10:hover{background-color:color-mix(in oklab, var(--color-accent) 10%, transparent)}}.hover\\:bg-accent\\/15:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/15:hover{background-color:color-mix(in oklab, var(--color-accent) 15%, transparent)}}.hover\\:bg-accent\\/20:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/20:hover{background-color:color-mix(in oklab, var(--color-accent) 20%, transparent)}}.hover\\:bg-accent\\/90:hover{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/90:hover{background-color:color-mix(in oklab, var(--color-accent) 90%, transparent)}}.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-danger-bg:hover,.hover\\:bg-danger-bg\\/60:hover{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger-bg\\/60:hover{background-color:color-mix(in oklab, var(--color-danger-bg) 60%, transparent)}}.hover\\:bg-danger-bg\\/70:hover{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger-bg\\/70:hover{background-color:color-mix(in oklab, var(--color-danger-bg) 70%, transparent)}}.hover\\:bg-danger-bg\\/80:hover{background-color:var(--color-danger-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger-bg\\/80:hover{background-color:color-mix(in oklab, var(--color-danger-bg) 80%, transparent)}}.hover\\:bg-emerald-500\\/25:hover{background-color:#00bb7f40}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-emerald-500\\/25:hover{background-color:color-mix(in oklab, var(--color-emerald-500) 25%, transparent)}}.hover\\:bg-gray-400:hover{background-color:var(--color-gray-400)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-hover:hover,.hover\\:bg-hover\\/50:hover{background-color:var(--color-hover)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-hover\\/50:hover{background-color:color-mix(in oklab, var(--color-hover) 50%, transparent)}}.hover\\:bg-orange-400:hover{background-color:var(--color-orange-400)}.hover\\:bg-purple-400:hover{background-color:var(--color-purple-400)}.hover\\:bg-red-400:hover{background-color:var(--color-red-400)}.hover\\:bg-red-500\\/25:hover{background-color:#fb2c3640}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-red-500\\/25:hover{background-color:color-mix(in oklab, var(--color-red-500) 25%, transparent)}}.hover\\:bg-subtle:hover{background-color:var(--color-subtle)}.hover\\:bg-violet-500\\/25:hover{background-color:#8d54ff40}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-violet-500\\/25:hover{background-color:color-mix(in oklab, var(--color-violet-500) 25%, transparent)}}.hover\\:bg-warning-bg:hover,.hover\\:bg-warning-bg\\/80:hover{background-color:var(--color-warning-bg)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-warning-bg\\/80:hover{background-color:color-mix(in oklab, var(--color-warning-bg) 80%, transparent)}}.hover\\:text-accent:hover{color:var(--color-accent)}.hover\\:text-danger:hover{color:var(--color-danger)}.hover\\:text-fg:hover{color:var(--color-fg)}.hover\\:text-fg-muted:hover{color:var(--color-fg-muted)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-lg:hover{--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)}}.focus\\:border-accent:focus{border-color:var(--color-accent)}.focus\\:border-line:focus{border-color:var(--color-line)}.focus\\:ring-1:focus{--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)}.focus\\:ring-accent:focus{--tw-ring-color:var(--color-accent)}.focus\\:ring-danger:focus{--tw-ring-color:var(--color-danger)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:bg-hover:focus-visible{background-color:var(--color-hover)}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:ring-1:focus-visible{--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)}.focus-visible\\:ring-2:focus-visible{--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-visible\\:ring-accent:focus-visible{--tw-ring-color:var(--color-accent)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-accent:focus-visible{outline-color:var(--color-accent)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:cursor-grabbing:active{cursor:grabbing}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media (hover:hover){.disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}@media (min-width:40rem){.sm\\:inline{display:inline}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:48rem){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width>=28rem){.\\@md\\:block{display:block}.\\@md\\:flex{display:flex}.\\@md\\:hidden{display:none}.\\@md\\:w-72{width:calc(var(--spacing) * 72)}.\\@md\\:shrink-0{flex-shrink:0}.\\@md\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}}}*{box-sizing:border-box}:host,:root{--at-surface:#fcfdfe;--at-surface-hover:#f5f6f9;--at-muted:#f2f5f8;--at-code:#f3f6fa;--at-text-primary:#1a1f29;--at-text-secondary:#515864;--at-text-muted:#868d97;--at-border:#dfe1e5;--at-border-light:#eef0f3;--at-shadow:#171f2e1a;--at-accent:#3177dc;--at-error-bg:#ffecea;--at-error-text:#cc2827;--at-error-border:#f8a49d;--at-ok-bg:#e0fae4;--at-ok-text:#0e8c41;--at-ok-border:#89da9b;--at-warn-bg:#fff0d1;--at-warn-text:#a16500;--at-warn-border:#e5c379;--at-highlight-bg:#fff6d1;--at-selected-bg:#e9f3ff;--at-scrollbar-thumb:#ced1d6;--at-scrollbar-thumb-hover:#999fa8}@supports (color:color(display-p3 0 0 0)){:host,:root{--at-surface:color(display-p3 .989609 .992382 .997175);--at-surface-hover:color(display-p3 .960878 .966392 .975929);--at-muted:color(display-p3 .951795 .958673 .970576);--at-code:color(display-p3 .955784 .964045 .978342);--at-text-primary:color(display-p3 .106201 .12247 .157281);--at-text-secondary:color(display-p3 .323937 .346032 .388256);--at-text-muted:color(display-p3 .528711 .550898 .589512);--at-border:color(display-p3 .875378 .883503 .897566);--at-border-light:color(display-p3 .934839 .941694 .953557);--at-shadow:color(display-p3 .0979137 .121845 .174352/.1);--at-accent:color(display-p3 .266557 .461859 .837181);--at-error-bg:color(display-p3 1.00853 .923821 .911661);--at-error-text:color(display-p3 .7372 .221951 .191652);--at-error-border:color(display-p3 .924106 .659231 .626897);--at-ok-bg:color(display-p3 .896905 .977035 .900254);--at-ok-text:color(display-p3 .247857 .539374 .286752);--at-ok-border:color(display-p3 .609805 .847347 .627399);--at-warn-bg:color(display-p3 .997819 .943515 .816698);--at-warn-text:color(display-p3 .607081 .403503 .0845266);--at-warn-border:color(display-p3 .876737 .768181 .515098);--at-highlight-bg:color(display-p3 .994932 .96424 .830533);--at-selected-bg:color(display-p3 .910207 .951093 1.02232);--at-scrollbar-thumb:color(display-p3 .80912 .819793 .838278);--at-scrollbar-thumb-hover:color(display-p3 .60332 .622263 .655172)}}@supports (color:lab(0% 0 0)){:host,:root{--at-surface:lab(99.2988% -.132054 -.745118);--at-surface-hover:lab(96.9735% -.261605 -1.48877);--at-muted:lab(96.2747% -.325292 -1.86008);--at-code:lab(96.736% -.388592 -2.23104);--at-text-primary:lab(11.741% -.349499 -7.30943);--at-text-secondary:lab(37.2801% -.862852 -7.73156);--at-text-muted:lab(58.1854% -1.04666 -6.62941);--at-border:lab(89.5439% -.387847 -2.23061);--at-border-light:lab(94.7667% -.325233 -1.86);--at-shadow:lab(11.6682% -.113927 -10.842/.1);--at-accent:lab(49.8997% 5.63273 -59.1615);--at-error-bg:lab(95.0829% 9.19622 4.96011);--at-error-text:lab(45.8049% 62.9533 44.1);--at-error-border:lab(75.8489% 31.0226 17.1029);--at-ok-bg:lab(95.8936% -11.84 7.56052);--at-ok-text:lab(50.824% -45.5785 30.3918);--at-ok-border:lab(80.6679% -35.8792 23.2774);--at-warn-bg:lab(95.5261% 2.02972 19.535);--at-warn-text:lab(48.6413% 21.7782 63.415);--at-warn-border:lab(80.5062% 5.88706 41.41);--at-highlight-bg:lab(96.7959% -.972748 19.4827);--at-selected-bg:lab(95.2674% -1.71572 -11.035);--at-scrollbar-thumb:lab(83.7382% -.510752 -2.97043);--at-scrollbar-thumb-hover:lab(65.1562% -.902712 -5.53997)}}:host([data-theme=dark]),:root[data-theme=dark]{--at-surface:#151b25;--at-surface-hover:#1d2431;--at-muted:#191f2b;--at-code:#1b222d;--at-text-primary:#dfe5ed;--at-text-secondary:#9ca5b3;--at-text-muted:#727b88;--at-border:#2e3643;--at-border-light:#232934;--at-shadow:#00000073;--at-accent:#63a6ff;--at-error-bg:#742e2940;--at-error-text:#ff7f73;--at-error-border:#cf413a;--at-ok-bg:#39794933;--at-ok-text:#6ed889;--at-ok-border:#2e9e52;--at-warn-bg:#7e5d1d38;--at-warn-text:#f1bf5b;--at-warn-border:#b07b00;--at-highlight-bg:#b8a4571f;--at-selected-bg:#6087c22e;--at-scrollbar-thumb:#3d434d;--at-scrollbar-thumb-hover:#565e6c}@supports (color:color(display-p3 0 0 0)){:host([data-theme=dark]),:root[data-theme=dark]{--at-surface:color(display-p3 .0866362 .104012 .141551);--at-surface-hover:color(display-p3 .119527 .140938 .187194);--at-muted:color(display-p3 .10291 .122282 .164135);--at-code:color(display-p3 .112011 .131618 .173879);--at-text-primary:color(display-p3 .880198 .897517 .925177);--at-text-secondary:color(display-p3 .618009 .647763 .695453);--at-text-muted:color(display-p3 .454817 .481202 .527256);--at-border:color(display-p3 .187231 .209329 .256415);--at-border-light:color(display-p3 .14159 .16023 .200008);--at-shadow:color(display-p3 0 0 0/.45);--at-accent:color(display-p3 .445537 .644287 .978823);--at-error-bg:color(display-p3 .422373 .197971 .171651/.25);--at-error-text:color(display-p3 .938127 .52257 .468553);--at-error-border:color(display-p3 .751519 .297873 .256966);--at-ok-bg:color(display-p3 .287508 .467968 .304198/.2);--at-ok-text:color(display-p3 .538207 .838899 .565385);--at-ok-border:color(display-p3 .319936 .612208 .354223);--at-warn-bg:color(display-p3 .474062 .369044 .161788/.22);--at-warn-text:color(display-p3 .915105 .755059 .421563);--at-warn-border:color(display-p3 .660566 .489104 .15495);--at-highlight-bg:color(display-p3 .708898 .646062 .385093/.12);--at-selected-bg:color(display-p3 .407909 .526271 .742584/.18);--at-scrollbar-thumb:color(display-p3 .241934 .260441 .299404);--at-scrollbar-thumb-hover:color(display-p3 .342885 .367416 .419047)}}@supports (color:lab(0% 0 0)){:host([data-theme=dark]),:root[data-theme=dark]{--at-surface:lab(9.40435% -.26536 -8.00193);--at-surface-hover:lab(14.0233% -.313595 -9.45683);--at-muted:lab(11.7138% -.289485 -8.72938);--at-code:lab(12.8756% -.320837 -8.73908);--at-text-primary:lab(90.6923% -.891328 -4.41389);--at-text-secondary:lab(67.4629% -1.51783 -8.03232);--at-text-muted:lab(51.2096% -1.21292 -8.07107);--at-border:lab(22.1597% -.497714 -9.15806);--at-border-light:lab(16.373% -.418156 -8.05204);--at-shadow:lab(0% 0 0/.45);--at-accent:lab(66.6499% -1.4444 -52.3046);--at-error-bg:lab(29.4384% 31.1218 19.7271/.25);--at-error-text:lab(68.3188% 49.5998 30.86);--at-error-border:lab(49.5145% 56.3761 37.3383);--at-ok-bg:lab(45.5916% -30.0637 19.6786/.2);--at-ok-text:lab(78.7102% -45.0683 29.4705);--at-ok-border:lab(57.7987% -45.4011 30.0617);--at-warn-bg:lab(42.0282% 9.23485 40.2236/.22);--at-warn-text:lab(80.4197% 11.1201 56.0991);--at-warn-border:lab(55.853% 15.6735 62.0226);--at-highlight-bg:lab(67.9375% .259876 42.1122/.12);--at-selected-bg:lab(55.3782% -1.45972 -35.4324/.18);--at-scrollbar-thumb:lab(27.992% -.544697 -7.38333);--at-scrollbar-thumb-hover:lab(39.5702% -.685155 -9.23098)}}@media (prefers-color-scheme:dark){:host([data-theme=system]),:root[data-theme=system]{--at-surface:#151b25;--at-surface-hover:#1d2431;--at-muted:#191f2b;--at-code:#1b222d;--at-text-primary:#dfe5ed;--at-text-secondary:#9ca5b3;--at-text-muted:#727b88;--at-border:#2e3643;--at-border-light:#232934;--at-shadow:#00000073;--at-accent:#63a6ff;--at-error-bg:#742e2940;--at-error-text:#ff7f73;--at-error-border:#cf413a;--at-ok-bg:#39794933;--at-ok-text:#6ed889;--at-ok-border:#2e9e52;--at-highlight-bg:#b8a4571f;--at-selected-bg:#6087c22e;--at-scrollbar-thumb:#3d434d;--at-scrollbar-thumb-hover:#565e6c}@supports (color:color(display-p3 0 0 0)){:host([data-theme=system]),:root[data-theme=system]{--at-surface:color(display-p3 .0866362 .104012 .141551);--at-surface-hover:color(display-p3 .119527 .140938 .187194);--at-muted:color(display-p3 .10291 .122282 .164135);--at-code:color(display-p3 .112011 .131618 .173879);--at-text-primary:color(display-p3 .880198 .897517 .925177);--at-text-secondary:color(display-p3 .618009 .647763 .695453);--at-text-muted:color(display-p3 .454817 .481202 .527256);--at-border:color(display-p3 .187231 .209329 .256415);--at-border-light:color(display-p3 .14159 .16023 .200008);--at-shadow:color(display-p3 0 0 0/.45);--at-accent:color(display-p3 .445537 .644287 .978823);--at-error-bg:color(display-p3 .422373 .197971 .171651/.25);--at-error-text:color(display-p3 .938127 .52257 .468553);--at-error-border:color(display-p3 .751519 .297873 .256966);--at-ok-bg:color(display-p3 .287508 .467968 .304198/.2);--at-ok-text:color(display-p3 .538207 .838899 .565385);--at-ok-border:color(display-p3 .319936 .612208 .354223);--at-highlight-bg:color(display-p3 .708898 .646062 .385093/.12);--at-selected-bg:color(display-p3 .407909 .526271 .742584/.18);--at-scrollbar-thumb:color(display-p3 .241934 .260441 .299404);--at-scrollbar-thumb-hover:color(display-p3 .342885 .367416 .419047)}}@supports (color:lab(0% 0 0)){:host([data-theme=system]),:root[data-theme=system]{--at-surface:lab(9.40435% -.26536 -8.00193);--at-surface-hover:lab(14.0233% -.313595 -9.45683);--at-muted:lab(11.7138% -.289485 -8.72938);--at-code:lab(12.8756% -.320837 -8.73908);--at-text-primary:lab(90.6923% -.891328 -4.41389);--at-text-secondary:lab(67.4629% -1.51783 -8.03232);--at-text-muted:lab(51.2096% -1.21292 -8.07107);--at-border:lab(22.1597% -.497714 -9.15806);--at-border-light:lab(16.373% -.418156 -8.05204);--at-shadow:lab(0% 0 0/.45);--at-accent:lab(66.6499% -1.4444 -52.3046);--at-error-bg:lab(29.4384% 31.1218 19.7271/.25);--at-error-text:lab(68.3188% 49.5998 30.86);--at-error-border:lab(49.5145% 56.3761 37.3383);--at-ok-bg:lab(45.5916% -30.0637 19.6786/.2);--at-ok-text:lab(78.7102% -45.0683 29.4705);--at-ok-border:lab(57.7987% -45.4011 30.0617);--at-highlight-bg:lab(67.9375% .259876 42.1122/.12);--at-selected-bg:lab(55.3782% -1.45972 -35.4324/.18);--at-scrollbar-thumb:lab(27.992% -.544697 -7.38333);--at-scrollbar-thumb-hover:lab(39.5702% -.685155 -9.23098)}}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--at-scrollbar-thumb,#d4d4d8);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--at-scrollbar-thumb-hover,#a1a1aa)}.waterfall-row:hover .waterfall-bar{filter:brightness(1.1)}.waterfall-bar{transition:all .15s ease-out}.trace-list-container{container-type:inline-size}.trace-grid{grid-template-columns:20px 104px minmax(0,1fr) 84px 52px 88px 60px 16px;align-items:center;gap:.75rem;display:grid}@container (width<=640px){.trace-grid{grid-template-columns:20px 92px minmax(0,1fr) 80px 58px 16px}.trace-col-spans,.trace-col-time{display:none}}@keyframes at-modal-in{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes at-fade-in{0%{opacity:0}to{opacity:1}}.at-modal-in{animation:.17s cubic-bezier(.22,1,.36,1) at-modal-in}.at-backdrop-in{animation:.17s ease-out at-fade-in}.at-wrap-anywhere{overflow-wrap:anywhere;word-break:normal}.at-no-scrollbar{scrollbar-width:none}.at-no-scrollbar::-webkit-scrollbar{display:none}@media (prefers-reduced-motion:reduce){.at-modal-in,.at-backdrop-in{animation:none}}.at-edge-label{paint-order:stroke;stroke:var(--color-surface);stroke-width:3px;stroke-linejoin:round}:where(a,button,[role=button],input,select,textarea,summary,[tabindex]:not([tabindex="-1"])):focus-visible{outline:2px solid var(--at-accent);outline-offset:2px}:where([data-focus-inset]):focus-visible{outline-offset:-2px}@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-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@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-divide-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-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}`,NH=class extends HTMLElement{constructor(...e){super(...e),x(this,`cleanup`,null)}connectedCallback(){let e=this.attachShadow({mode:`open`}),t=document.createElement(`link`);t.rel=`stylesheet`,t.href=`https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap`,e.appendChild(t);let n=document.createElement(`style`);n.textContent=MH,e.appendChild(n);let r=this.getAttribute(`mode`)||`widget`,i=this.getAttribute(`ws-url`)||this.deriveWsUrl();this.cleanup=jH(e,{mode:r,wsUrl:i})}disconnectedCallback(){this.cleanup?.(),this.cleanup=null}deriveWsUrl(){return`ws://${location.host}/ws`}};x(NH,`observedAttributes`,[`mode`,`ws-url`]);function PH(){customElements.get(`autotel-devtools`)||customElements.define(`autotel-devtools`,NH)}var FH=document.currentScript;function IH(){let e=$u(location.hash);return Object.keys(e).length>0?e:void 0}function LH(){let e=IH();if(!FH?.src)return{mode:`widget`,wsUrl:`ws://${location.host}/ws`,deepLink:e};let t=new URL(FH.src),n=t.searchParams;return{mode:n.get(`mode`)||`widget`,wsUrl:n.get(`ws`)||`ws://${t.host}/ws`,deepLink:e}}function RH(){if(PH(),document.querySelector(`autotel-devtools`))return;let{mode:e,wsUrl:t,deepLink:n}=LH(),r=document.createElement(`div`);r.id=`autotel-devtools-root`,document.body.appendChild(r);let i=r.attachShadow({mode:`open`}),a=document.createElement(`style`);a.textContent=MH,i.appendChild(a),jH(i,{mode:e,wsUrl:t,deepLink:n})}return document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,RH):RH(),e.mountWidget=jH,e.registerElement=PH,e})({});