Sync build v0.9.290

Automated sync from private repository.
Commit: ae3df54d7bdfbda846d953be413dfbf7366f7db9
This commit is contained in:
GitHub Actions Bot
2026-02-27 17:25:17 +00:00
parent 754bf9c22b
commit e05bd72c02
82 changed files with 151 additions and 156 deletions
+1 -1
View File
@@ -1 +1 @@
0.9.289
0.9.290
@@ -1,4 +1,4 @@
import{d as U,$ as J,r as u,j as n,bc as K,R as q,bL as G,B as Q}from"./index-CdwYueSG.js";import{c as V}from"./node-types-DedpfI8l.js";import{F as Y}from"./funnel-DznwFNVG.js";import{M as Z}from"./monitor-smartphone-CBUcuPPv.js";import{C as W}from"./circle-question-mark-Bdu9dBju.js";import{S as ee}from"./search-DV-Xcdgb.js";/**
import{d as U,$ as J,r as u,j as n,bc as K,R as q,bL as G,B as Q}from"./index-C8IY8K2r.js";import{c as V}from"./node-types-3T9Wr7vI.js";import{F as Y}from"./funnel-BDRRJl0y.js";import{M as Z}from"./monitor-smartphone-DF_mmgOV.js";import{C as W}from"./circle-question-mark-C7l07_IA.js";import{S as ee}from"./search-zALFwCS4.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as f,r as e,ci as l,j as m,cj as A}from"./index-CdwYueSG.js";import{A as h}from"./index-BaK1kOPF.js";/**
import{d as f,r as e,ci as l,j as m,cj as A}from"./index-C8IY8K2r.js";import{A as h}from"./index-B-prVW1V.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as h,r as u,j as e,c as t}from"./index-CdwYueSG.js";import{e as f,g as p,a as g,b as j,f as b}from"./chat-utils-B3hkabuB.js";/**
import{d as h,r as u,j as e,c as t}from"./index-C8IY8K2r.js";import{e as f,g as p,a as g,b as j,f as b}from"./chat-utils-D1Q4VWjO.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as l,r as m,j as s,ac as x,dr as h,c as p,ad as f,dK as g,B as o}from"./index-CdwYueSG.js";import{T as j}from"./triangle-alert-DaComX7z.js";/**
import{d as l,r as m,j as s,ac as x,dr as h,c as p,ad as f,dK as g,B as o}from"./index-C8IY8K2r.js";import{T as j}from"./triangle-alert-8k00uu7o.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as A,e as st,r as f,j as e,A as Re,m as Q,S as nt,M as at,U as ot,f as it,h as rt,k as lt,n as ct,o as H,p as ue,q as U,t as dt,v as mt,w as be,x as ut,L as ee,y as G,z as xt,D as ht,E as te,F as Be,T as ft,G as pt,B as je,R as Le,H as Fe,J as gt,K as X,N as P,O as yt,P as bt,Q as jt,V as Nt,W as vt,X as wt,Y as ne,u as xe,_ as kt,$ as Ne,a0 as ae,a1 as K,a2 as Mt,a3 as J,a4 as Ct,a5 as Tt,a6 as St,a7 as ve,a8 as _t,c as F,a9 as Dt,aa as Pe,ab as we,ac as Rt,ad as Bt,ae as Lt,af as Ft,ag as Pt,ah as At,ai as $t}from"./index-CdwYueSG.js";import{C as ke,P as Et,a as Ht,B as It}from"./PageLayout-gbvZ6tct.js";import{u as I,r as O,h as Ot,a as zt,b as Wt,i as qt}from"./consumer-registry-DhVehOm2.js";import{A as V,E as Ut}from"./AnimatedNumber-CQ0Uhsch.js";import{c as Vt}from"./node-types-DedpfI8l.js";import{b as Ae,c as q,a as Gt,d as Xt,F as Z}from"./meshcore-tx-constants-DgpFTAmf.js";import{S as Yt,u as ce,P as Kt,T as Jt,C as $e,a as Zt}from"./PacketList-DlLtC0gN.js";import{u as Qt,a as es}from"./usePipelineStore-DPGbI6IX.js";import{A as Me}from"./SignalIndicator-B7F9Dvpc.js";import{T as Ee}from"./TimeRangeStepper-DCz-TWVT.js";import{L as he}from"./LightSparkline-DDCHe_-F.js";import{c as ts}from"./link-scoring-D5cTtUUv.js";import{Z as ss,H as ns}from"./useMapViewStore-COYDTQJ4.js";import{N as as}from"./NodeInformationCard-BChhyc1s.js";import{g as os,e as oe,a as is,f as rs}from"./chat-utils-B3hkabuB.js";import{M as He,C as ls}from"./ChatBubble-CZ6SrnkY.js";import{C as Ce}from"./chevron-right-Clx_OSXY.js";import{H as cs}from"./hash-L59YOER_.js";import{R as ie,C as re}from"./Grid-Ug7vbOHZ.js";import"./index-BaK1kOPF.js";import"./primitives-BiOSQYsZ.js";import"./payload-decoders-C2OKjW7M.js";import"./badge-colors-BNUqIXCA.js";import"./arrow-up-DSinL38e.js";import"./map-pin-BTzarosW.js";import"./circle-question-mark-Bdu9dBju.js";import"./triangle-alert-DaComX7z.js";import"./DataBox-D9AB1NGO.js";import"./layers-BiC-Ns73.js";import"./activity-B7U7wJdR.js";import"./circle-check-D1pZScos.js";import"./database-BZ4a6Qd1.js";import"./shield-C_TDkZ-m.js";import"./geo-utils-BP1zBK9h.js";/**
import{d as A,e as st,r as f,j as e,A as Re,m as Q,S as nt,M as at,U as ot,f as it,h as rt,k as lt,n as ct,o as H,p as ue,q as U,t as dt,v as mt,w as be,x as ut,L as ee,y as G,z as xt,D as ht,E as te,F as Be,T as ft,G as pt,B as je,R as Le,H as Fe,J as gt,K as X,N as P,O as yt,P as bt,Q as jt,V as Nt,W as vt,X as wt,Y as ne,u as xe,_ as kt,$ as Ne,a0 as ae,a1 as K,a2 as Mt,a3 as J,a4 as Ct,a5 as Tt,a6 as St,a7 as ve,a8 as _t,c as F,a9 as Dt,aa as Pe,ab as we,ac as Rt,ad as Bt,ae as Lt,af as Ft,ag as Pt,ah as At,ai as $t}from"./index-C8IY8K2r.js";import{C as ke,P as Et,a as Ht,B as It}from"./PageLayout-NQBVrM09.js";import{u as I,r as O,h as Ot,a as zt,b as Wt,i as qt}from"./consumer-registry-lDKP4bcU.js";import{A as V,E as Ut}from"./AnimatedNumber-BmJRWt4U.js";import{c as Vt}from"./node-types-3T9Wr7vI.js";import{b as Ae,c as q,a as Gt,d as Xt,F as Z}from"./meshcore-tx-constants-DgpFTAmf.js";import{S as Yt,u as ce,P as Kt,T as Jt,C as $e,a as Zt}from"./PacketList-DNy8yTeL.js";import{u as Qt,a as es}from"./usePipelineStore-CyFB3GIy.js";import{A as Me}from"./SignalIndicator-Dw_bfp50.js";import{T as Ee}from"./TimeRangeStepper-BlC9rlkV.js";import{L as he}from"./LightSparkline-CkL4j4OZ.js";import{c as ts}from"./link-scoring-CX7bMGSJ.js";import{Z as ss,H as ns}from"./useMapViewStore-ax-BqDpg.js";import{N as as}from"./NodeInformationCard-p2ujbtr-.js";import{g as os,e as oe,a as is,f as rs}from"./chat-utils-D1Q4VWjO.js";import{M as He,C as ls}from"./ChatBubble-0UYYugYB.js";import{C as Ce}from"./chevron-right-DUgYTR6d.js";import{H as cs}from"./hash-BkZp0AKy.js";import{R as ie,C as re}from"./Grid-CEGkNRmt.js";import"./index-B-prVW1V.js";import"./primitives-Ca8Zb5cD.js";import"./payload-decoders-BX6pSxwl.js";import"./badge-colors-BNUqIXCA.js";import"./arrow-up-DbeeGdHO.js";import"./map-pin-DMVHq6j8.js";import"./circle-question-mark-C7l07_IA.js";import"./triangle-alert-8k00uu7o.js";import"./DataBox-W2v3wy8k.js";import"./layers-Oxzfug7f.js";import"./activity-2-g8m4_g.js";import"./circle-check-BOp4wLxA.js";import"./database-BEyHF_p_.js";import"./shield-DlHwWwz2.js";import"./geo-utils-BP1zBK9h.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{r as u,j as a,c as r,w as T,x as N}from"./index-CdwYueSG.js";const E={standard:"w-3 h-3",compact:"w-2.5 h-2.5",responsive:"w-2.5 h-2.5 sm:w-3 sm:h-3"};function k(t){var s;if(typeof window<"u"&&(window.isSecureContext||window.location.protocol==="https:"||window.location.hostname==="localhost")&&((s=navigator.clipboard)!=null&&s.writeText))return navigator.clipboard.writeText(t).catch(()=>{}),!0;try{const{scrollX:o,scrollY:i}=window,e=document.createElement("textarea");e.value=t,e.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;pointer-events:none",e.setAttribute("readonly",""),document.body.appendChild(e),e.focus({preventScroll:!0}),e.select(),e.setSelectionRange(0,t.length);const l=document.execCommand("copy");return document.body.removeChild(e),window.scrollTo(o,i),l}catch(o){return console.error("Copy failed:",o),!1}}function $({children:t,copyValue:x,copy:s=!1,size:o="standard",className:i,title:e,color:l,truncate:d}){const[m,y]=u.useState(!1),[S,w]=u.useState(!1),f=u.useRef(null),c=x??(typeof t=="string"?t:""),C=E[o],h=(()=>{if(!d||typeof t!="string")return t;const n=t,[p,g]=d===!0?[6,4]:d;return n.length<=p+g+3?n:`${n.slice(0,p)}${n.slice(-g)}`})(),j=u.useCallback(n=>{if(!s)return;n.preventDefault(),n.stopPropagation(),f.current&&clearTimeout(f.current);const p=k(c);y(!0),f.current=setTimeout(()=>y(!1),2e3),p||console.warn("Copy may have failed for:",c.slice(0,16)+"...")},[s,c]),v=o==="compact"?"data-box-compact":o==="responsive"?"data-box-responsive":"",b=s?e||`Click to copy: ${c}`:e;return s?a.jsxs("button",{type:"button",onClick:j,onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),className:r("data-box interactive",v,"cursor-pointer select-none gap-1","hover-bg",l,i),title:b,"aria-label":`Copy ${c}`,children:[a.jsx("span",{className:r("transition-colors duration-200",m?"text-sys-green":""),children:h}),a.jsx("span",{className:r("flex items-center justify-center",o==="compact"?"w-3 h-3":"w-3.5 h-3.5"),children:m?a.jsx(T,{className:r("text-sys-green",C)}):a.jsx(N,{className:r("transition-opacity duration-200",S?"opacity-70":"opacity-40",C)})})]}):a.jsx("span",{className:r("data-box",v,l,i),title:b,children:h})}export{$ as D};
import{r as u,j as a,c as r,w as T,x as N}from"./index-C8IY8K2r.js";const E={standard:"w-3 h-3",compact:"w-2.5 h-2.5",responsive:"w-2.5 h-2.5 sm:w-3 sm:h-3"};function k(t){var s;if(typeof window<"u"&&(window.isSecureContext||window.location.protocol==="https:"||window.location.hostname==="localhost")&&((s=navigator.clipboard)!=null&&s.writeText))return navigator.clipboard.writeText(t).catch(()=>{}),!0;try{const{scrollX:o,scrollY:i}=window,e=document.createElement("textarea");e.value=t,e.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;pointer-events:none",e.setAttribute("readonly",""),document.body.appendChild(e),e.focus({preventScroll:!0}),e.select(),e.setSelectionRange(0,t.length);const l=document.execCommand("copy");return document.body.removeChild(e),window.scrollTo(o,i),l}catch(o){return console.error("Copy failed:",o),!1}}function $({children:t,copyValue:x,copy:s=!1,size:o="standard",className:i,title:e,color:l,truncate:d}){const[m,y]=u.useState(!1),[S,w]=u.useState(!1),f=u.useRef(null),c=x??(typeof t=="string"?t:""),C=E[o],h=(()=>{if(!d||typeof t!="string")return t;const n=t,[p,g]=d===!0?[6,4]:d;return n.length<=p+g+3?n:`${n.slice(0,p)}${n.slice(-g)}`})(),j=u.useCallback(n=>{if(!s)return;n.preventDefault(),n.stopPropagation(),f.current&&clearTimeout(f.current);const p=k(c);y(!0),f.current=setTimeout(()=>y(!1),2e3),p||console.warn("Copy may have failed for:",c.slice(0,16)+"...")},[s,c]),v=o==="compact"?"data-box-compact":o==="responsive"?"data-box-responsive":"",b=s?e||`Click to copy: ${c}`:e;return s?a.jsxs("button",{type:"button",onClick:j,onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),className:r("data-box interactive",v,"cursor-pointer select-none gap-1","hover-bg",l,i),title:b,"aria-label":`Copy ${c}`,children:[a.jsx("span",{className:r("transition-colors duration-200",m?"text-sys-green":""),children:h}),a.jsx("span",{className:r("flex items-center justify-center",o==="compact"?"w-3 h-3":"w-3.5 h-3.5"),children:m?a.jsx(T,{className:r("text-sys-green",C)}):a.jsx(N,{className:r("transition-opacity duration-200",S?"opacity-70":"opacity-40",C)})})]}):a.jsx("span",{className:r("data-box",v,l,i),title:b,children:h})}export{$ as D};
@@ -1,4 +1,4 @@
import{d as b,bf as G,ds as q,dt as D,r as M,bN as F,fR as P,fS as W,j as f,ac as $,fT as B,ad as H,m as Y,w as L,c as w,L as U}from"./index-CdwYueSG.js";import{c as R}from"./geo-utils-BP1zBK9h.js";import{D as K}from"./download-Cxh-dhwT.js";import{D as X}from"./database-BZ4a6Qd1.js";/**
import{d as b,bf as G,ds as q,dt as D,r as M,bN as F,fR as P,fS as W,j as f,ac as $,fT as B,ad as H,m as Y,w as L,c as w,L as U}from"./index-C8IY8K2r.js";import{c as R}from"./geo-utils-BP1zBK9h.js";import{D as K}from"./download-IUkhheKK.js";import{D as X}from"./database-BEyHF_p_.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{r as b,j as c,c as d}from"./index-CdwYueSG.js";const g={hero:{mobile:12},"hero-tall":{mobile:12},"hero-auto":{mobile:12},panel:{mobile:12,md:6},feature:{mobile:12,md:6,lg:4},standard:{mobile:12,sm:6,lg:4,xl:3},compact:{mobile:6,lg:3},widget:{mobile:6,sm:4,md:3,lg:2},auto:{mobile:12}},p={hero:"bento-row-hero","hero-tall":"bento-row-hero-tall","hero-auto":"bento-row-hero-auto",panel:"bento-row-panel",feature:"bento-row-feature",standard:"bento-row-standard",compact:"bento-row-compact",widget:"bento-row-widget",auto:"bento-row-auto"};function w({template:o,children:r,className:e,gap:n}){const t=g[o],m=p[o],a=n==="none"?"gap-0":n==="sm"?"bento-gap-sm":n==="lg"?"bento-gap-lg":"bento-gap",i=b.Children.map(r,l=>!b.isValidElement(l)||l.type===u?l:c.jsx(u,{span:t.mobile,sm:t.sm,md:t.md,lg:t.lg,xl:t.xl,children:l}));return c.jsx("div",{className:d("bento-row",m,a,e),children:i})}function s(o,r=""){const e=r?`${r}:`:"";return o==="full"?`${e}col-span-full`:o==="auto"?`${e}col-auto`:o===1.5?`${e}bento-col-1-5`:`${e}bento-col-${o}`}function u({children:o,span:r,sm:e,md:n,lg:t,xl:m,ratio:a,className:i}){const l=d("bento-cell",s(r),e&&s(e,"sm"),n&&s(n,"md"),t&&s(t,"lg"),m&&s(m,"xl"),i);return c.jsx("div",{className:l,"data-ratio":a??void 0,style:a?{"--cell-ratio":a}:void 0,children:o})}export{u as C,w as R};
import{r as b,j as c,c as d}from"./index-C8IY8K2r.js";const g={hero:{mobile:12},"hero-tall":{mobile:12},"hero-auto":{mobile:12},panel:{mobile:12,md:6},feature:{mobile:12,md:6,lg:4},standard:{mobile:12,sm:6,lg:4,xl:3},compact:{mobile:6,lg:3},widget:{mobile:6,sm:4,md:3,lg:2},auto:{mobile:12}},p={hero:"bento-row-hero","hero-tall":"bento-row-hero-tall","hero-auto":"bento-row-hero-auto",panel:"bento-row-panel",feature:"bento-row-feature",standard:"bento-row-standard",compact:"bento-row-compact",widget:"bento-row-widget",auto:"bento-row-auto"};function w({template:o,children:r,className:e,gap:n}){const t=g[o],m=p[o],a=n==="none"?"gap-0":n==="sm"?"bento-gap-sm":n==="lg"?"bento-gap-lg":"bento-gap",i=b.Children.map(r,l=>!b.isValidElement(l)||l.type===u?l:c.jsx(u,{span:t.mobile,sm:t.sm,md:t.md,lg:t.lg,xl:t.xl,children:l}));return c.jsx("div",{className:d("bento-row",m,a,e),children:i})}function s(o,r=""){const e=r?`${r}:`:"";return o==="full"?`${e}col-span-full`:o==="auto"?`${e}col-auto`:o===1.5?`${e}bento-col-1-5`:`${e}bento-col-${o}`}function u({children:o,span:r,sm:e,md:n,lg:t,xl:m,ratio:a,className:i}){const l=d("bento-cell",s(r),e&&s(e,"sm"),n&&s(n,"md"),t&&s(t,"lg"),m&&s(m,"xl"),i);return c.jsx("div",{className:l,"data-ratio":a??void 0,style:a?{"--cell-ratio":a}:void 0,children:o})}export{u as C,w as R};
@@ -1 +1 @@
import{r as l,j as t,Z as O}from"./index-CdwYueSG.js";import{b as F,c as x}from"./keycap-sfx-ByZp-njj.js";const R={a:"24,3 76,3 83,7 76,11 24,11 17,7",b:"88,22 93,27 93,71 88,76 83,71 83,27",c:"88,106 93,111 93,155 88,160 83,155 83,111",d:"24,171 76,171 83,175 76,179 24,179 17,175",e:"12,106 17,111 17,155 12,160 7,155 7,111",f:"12,22 17,27 17,71 12,76 7,71 7,27",g:"24,86 76,86 83,91 76,96 24,96 17,91"},w=Object.keys(R),N={0:"abcdef",1:"bc",2:"abdeg",3:"abcdg",4:"bcfg",5:"acdfg",6:"acdefg",7:"abc",8:"abcdefg",9:"abcdfg",A:"abcefg",B:"cdefg",C:"adef",D:"bcdeg",E:"adefg",F:"aefg",G:"acdef",H:"bcefg",I:"ef",J:"bcde",L:"def",M:"abcefg",N:"ceg",O:"abcdef",P:"abefg",Q:"abcfg",R:"eg",S:"acdfg",T:"defg",U:"bcdef",V:"cde",Y:"bcdfg",Z:"abdeg",a:"abcefg",b:"cdefg",c:"deg",d:"bcdeg",e:"adefg",f:"aefg",g:"abcdfg",h:"cefg",i:"c",j:"bcde",l:"def",m:"abcef",n:"ceg",o:"cdeg",p:"abefg",r:"eg",s:"acdfg",t:"defg",u:"cde",v:"cde",y:"bcdfg"," ":"",_:"d","-":"g","=":"dg","°":"abfg",'"':"bf","'":"f","(":"adef",")":"abcd","[":"adef","]":"abcd","!":"bc",".":"d"},C=6,D=56,L=2;function B(){return w.filter(()=>Math.random()>.45).join("")}function $(r,i){const n=Array.from(r).map(a=>N[a.toUpperCase()]??N[a]??""),d=Math.max(0,(i??0)-r.length);for(let a=0;a<d;a++)n.push("");return n}function Y({text:r,color:i="currentColor",size:n=18,minChars:d,noCycle:a=!1,className:S}){const h=Math.round(n*.5494505494505495),M=document.documentElement.dataset.mode==="light"?.08:.16,[T,f]=l.useState(null);l.useEffect(()=>{if(a)return;const e=$(r,d),o=e.length,g=C+(o-1)*L;let y=0,b,E=!1;const k=()=>{if(!E){if(y++,y>=g){f(null);return}f(e.map((j,_)=>{const v=C+_*L;return y>=v?j:B()})),b=setTimeout(k,D)}};return k(),()=>{E=!0,clearTimeout(b)}},[r,d,a]);const c=(e,o)=>t.jsx("svg",{viewBox:"0 0 100 182",width:h,height:n,className:"seven-seg__char","aria-hidden":"true",children:w.map(g=>t.jsx("polygon",{points:R[g],fill:i,stroke:i,strokeWidth:4,strokeLinejoin:"round",opacity:e.includes(g)?1:M},g))},o),s=$(r,d),u=T??s;return t.jsxs("span",{className:`seven-seg${S?` ${S}`:""}`,children:[u.map((e,o)=>c(e,`${o}-${e}`)),t.jsx("span",{className:"sr-only",children:r})]})}const G={grey:"/assets/keycap.svg",red:"/assets/keycap-red.svg"},I=O[900],P="#FFDEB0";function Z({icon:r,variant:i="grey",onClick:n,onPress:d,sentDuration:a=2e3,title:S,disabled:h=!1,className:m,iconColor:M=I,iconActiveColor:T=P,indicators:f}){const c=!!d,[s,u]=l.useState("idle"),[e,o]=l.useState(!1),g=l.useRef(),y=c?s==="held":e,b=c&&(s==="sending"||s==="sent"),E=c?s==="held"||s==="sending":e;l.useEffect(()=>()=>clearTimeout(g.current),[]);const k=l.useCallback(()=>{h||b||(F(),c?u("held"):o(!0))},[h,b,c]),j=l.useCallback(async()=>{if(c){if(s!=="held")return;x(),u("sending");const p=await d();u(p?"sent":"idle"),p&&(g.current=setTimeout(()=>u("idle"),a))}else{if(!e)return;o(!1),x(),n==null||n()}},[c,s,d,a,e,n]),_=l.useCallback(()=>{c?s==="held"&&(x(),u("idle")):(e&&x(),o(!1))},[c,s,e]),v=t.jsx("button",{onMouseDown:k,onMouseUp:j,onMouseLeave:_,onTouchStart:k,onTouchEnd:j,onTouchCancel:_,disabled:h||b,className:`keycap-btn${i==="red"?" keycap-btn--red-cap":""}${E?" keycap-btn--pressed":""}${m&&!f?` ${m}`:""}`,title:S,children:t.jsxs("div",{className:"keycap-wrap",children:[t.jsx("img",{src:G[i],alt:"",className:"keycap-btn__img",draggable:!1}),t.jsx("span",{className:"keycap-icon-overlay",style:{color:y||s==="sending"?T:M},children:r})]})});return f!=null&&f.length?t.jsxs("div",{className:`keycap-group${m?` ${m}`:""}`,children:[v,t.jsx("div",{className:"indicator-key-pair",children:f.map(p=>{const A=p.trackPress?s:p.active?"active":"idle";return t.jsxs("div",{className:`indicator-key${A!=="idle"?` indicator-key--${A}`:""}`,children:[t.jsx("span",{className:"indicator-key__label",children:p.label}),t.jsx("span",{className:"indicator-key__led"})]},p.label)})})]}):v}export{Z as K,Y as S};
import{r as l,j as t,Z as O}from"./index-C8IY8K2r.js";import{b as F,c as x}from"./keycap-sfx-ByZp-njj.js";const R={a:"24,3 76,3 83,7 76,11 24,11 17,7",b:"88,22 93,27 93,71 88,76 83,71 83,27",c:"88,106 93,111 93,155 88,160 83,155 83,111",d:"24,171 76,171 83,175 76,179 24,179 17,175",e:"12,106 17,111 17,155 12,160 7,155 7,111",f:"12,22 17,27 17,71 12,76 7,71 7,27",g:"24,86 76,86 83,91 76,96 24,96 17,91"},w=Object.keys(R),N={0:"abcdef",1:"bc",2:"abdeg",3:"abcdg",4:"bcfg",5:"acdfg",6:"acdefg",7:"abc",8:"abcdefg",9:"abcdfg",A:"abcefg",B:"cdefg",C:"adef",D:"bcdeg",E:"adefg",F:"aefg",G:"acdef",H:"bcefg",I:"ef",J:"bcde",L:"def",M:"abcefg",N:"ceg",O:"abcdef",P:"abefg",Q:"abcfg",R:"eg",S:"acdfg",T:"defg",U:"bcdef",V:"cde",Y:"bcdfg",Z:"abdeg",a:"abcefg",b:"cdefg",c:"deg",d:"bcdeg",e:"adefg",f:"aefg",g:"abcdfg",h:"cefg",i:"c",j:"bcde",l:"def",m:"abcef",n:"ceg",o:"cdeg",p:"abefg",r:"eg",s:"acdfg",t:"defg",u:"cde",v:"cde",y:"bcdfg"," ":"",_:"d","-":"g","=":"dg","°":"abfg",'"':"bf","'":"f","(":"adef",")":"abcd","[":"adef","]":"abcd","!":"bc",".":"d"},C=6,D=56,L=2;function B(){return w.filter(()=>Math.random()>.45).join("")}function $(r,i){const n=Array.from(r).map(a=>N[a.toUpperCase()]??N[a]??""),d=Math.max(0,(i??0)-r.length);for(let a=0;a<d;a++)n.push("");return n}function Y({text:r,color:i="currentColor",size:n=18,minChars:d,noCycle:a=!1,className:S}){const h=Math.round(n*.5494505494505495),M=document.documentElement.dataset.mode==="light"?.08:.16,[T,f]=l.useState(null);l.useEffect(()=>{if(a)return;const e=$(r,d),o=e.length,g=C+(o-1)*L;let y=0,b,E=!1;const k=()=>{if(!E){if(y++,y>=g){f(null);return}f(e.map((j,_)=>{const v=C+_*L;return y>=v?j:B()})),b=setTimeout(k,D)}};return k(),()=>{E=!0,clearTimeout(b)}},[r,d,a]);const c=(e,o)=>t.jsx("svg",{viewBox:"0 0 100 182",width:h,height:n,className:"seven-seg__char","aria-hidden":"true",children:w.map(g=>t.jsx("polygon",{points:R[g],fill:i,stroke:i,strokeWidth:4,strokeLinejoin:"round",opacity:e.includes(g)?1:M},g))},o),s=$(r,d),u=T??s;return t.jsxs("span",{className:`seven-seg${S?` ${S}`:""}`,children:[u.map((e,o)=>c(e,`${o}-${e}`)),t.jsx("span",{className:"sr-only",children:r})]})}const G={grey:"/assets/keycap.svg",red:"/assets/keycap-red.svg"},I=O[900],P="#FFDEB0";function Z({icon:r,variant:i="grey",onClick:n,onPress:d,sentDuration:a=2e3,title:S,disabled:h=!1,className:m,iconColor:M=I,iconActiveColor:T=P,indicators:f}){const c=!!d,[s,u]=l.useState("idle"),[e,o]=l.useState(!1),g=l.useRef(),y=c?s==="held":e,b=c&&(s==="sending"||s==="sent"),E=c?s==="held"||s==="sending":e;l.useEffect(()=>()=>clearTimeout(g.current),[]);const k=l.useCallback(()=>{h||b||(F(),c?u("held"):o(!0))},[h,b,c]),j=l.useCallback(async()=>{if(c){if(s!=="held")return;x(),u("sending");const p=await d();u(p?"sent":"idle"),p&&(g.current=setTimeout(()=>u("idle"),a))}else{if(!e)return;o(!1),x(),n==null||n()}},[c,s,d,a,e,n]),_=l.useCallback(()=>{c?s==="held"&&(x(),u("idle")):(e&&x(),o(!1))},[c,s,e]),v=t.jsx("button",{onMouseDown:k,onMouseUp:j,onMouseLeave:_,onTouchStart:k,onTouchEnd:j,onTouchCancel:_,disabled:h||b,className:`keycap-btn${i==="red"?" keycap-btn--red-cap":""}${E?" keycap-btn--pressed":""}${m&&!f?` ${m}`:""}`,title:S,children:t.jsxs("div",{className:"keycap-wrap",children:[t.jsx("img",{src:G[i],alt:"",className:"keycap-btn__img",draggable:!1}),t.jsx("span",{className:"keycap-icon-overlay",style:{color:y||s==="sending"?T:M},children:r})]})});return f!=null&&f.length?t.jsxs("div",{className:`keycap-group${m?` ${m}`:""}`,children:[v,t.jsx("div",{className:"indicator-key-pair",children:f.map(p=>{const A=p.trackPress?s:p.active?"active":"idle";return t.jsxs("div",{className:`indicator-key${A!=="idle"?` indicator-key--${A}`:""}`,children:[t.jsx("span",{className:"indicator-key__label",children:p.label}),t.jsx("span",{className:"indicator-key__led"})]},p.label)})})]}):v}export{Z as K,Y as S};
@@ -1 +1 @@
import{r as m,j as u}from"./index-CdwYueSG.js";const a="var(--sparkline-critical)",C="var(--sparkline-poor)",L="var(--sparkline-fair)",g="var(--sparkline-good)",y="var(--sparkline-excellent)",$="var(--fg-muted)";function j(o){if(o.length===0)return a;const r=o.slice(-4),e=r.reduce((t,c)=>t+c.count,0),n=e/r.length,l=o.reduce((t,c)=>t+c.count,0)/o.length;if(e===0)return a;if(l>0){const t=n/l;return t>=1.2?y:t>=.8?g:t>=.4?L:t>=.1?C:a}return e>=10?y:e>=5?g:e>=2?L:e>=1?C:a}function h(o,r,e,n=2){if(o.length<2)return"";const s=o.map(i=>i.count),l=Math.max(...s,1),t=Math.min(...s),c=l-t||1,p=r-n*2,O=e-n*2,x=s.map((i,f)=>({x:n+f/(s.length-1)*p,y:n+O-(i-t)/c*O}));let k=`M ${x[0].x.toFixed(1)} ${x[0].y.toFixed(1)}`;for(let i=1;i<x.length;i++){const f=x[i-1],v=x[i],R=(f.x+v.x)/2;k+=` Q ${R.toFixed(1)} ${f.y.toFixed(1)} ${v.x.toFixed(1)} ${v.y.toFixed(1)}`}return k}const A=m.memo(function({data:r,width:e=48,height:n=16,color:s,isLoading:l=!1,className:t=""}){const c=m.useMemo(()=>h(r,e,n),[r,e,n]),p=m.useMemo(()=>s??(r.length>0?j(r):$),[s,r]);return l&&r.length<2?u.jsx("div",{className:`flex items-center justify-center ${t}`,style:{width:e,height:n},children:u.jsx("div",{className:"rounded animate-pulse bg-subtle-fill-hover",style:{width:e-8,height:n-6}})}):r.length<2?u.jsx("svg",{width:e,height:n,viewBox:`0 0 ${e} ${n}`,className:t,"aria-hidden":"true",children:u.jsx("line",{x1:4,y1:n/2,x2:e-4,y2:n/2,stroke:a,strokeWidth:1.5,strokeDasharray:"3,2"})}):u.jsx("svg",{width:e,height:n,viewBox:`0 0 ${e} ${n}`,preserveAspectRatio:"none",className:t,"aria-hidden":"true",style:{maxWidth:"100%"},children:u.jsx("path",{d:c,fill:"none",stroke:p,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})});export{A as L};
import{r as m,j as u}from"./index-C8IY8K2r.js";const a="var(--sparkline-critical)",C="var(--sparkline-poor)",L="var(--sparkline-fair)",g="var(--sparkline-good)",y="var(--sparkline-excellent)",$="var(--fg-muted)";function j(o){if(o.length===0)return a;const r=o.slice(-4),e=r.reduce((t,c)=>t+c.count,0),n=e/r.length,l=o.reduce((t,c)=>t+c.count,0)/o.length;if(e===0)return a;if(l>0){const t=n/l;return t>=1.2?y:t>=.8?g:t>=.4?L:t>=.1?C:a}return e>=10?y:e>=5?g:e>=2?L:e>=1?C:a}function h(o,r,e,n=2){if(o.length<2)return"";const s=o.map(i=>i.count),l=Math.max(...s,1),t=Math.min(...s),c=l-t||1,p=r-n*2,O=e-n*2,x=s.map((i,f)=>({x:n+f/(s.length-1)*p,y:n+O-(i-t)/c*O}));let k=`M ${x[0].x.toFixed(1)} ${x[0].y.toFixed(1)}`;for(let i=1;i<x.length;i++){const f=x[i-1],v=x[i],R=(f.x+v.x)/2;k+=` Q ${R.toFixed(1)} ${f.y.toFixed(1)} ${v.x.toFixed(1)} ${v.y.toFixed(1)}`}return k}const A=m.memo(function({data:r,width:e=48,height:n=16,color:s,isLoading:l=!1,className:t=""}){const c=m.useMemo(()=>h(r,e,n),[r,e,n]),p=m.useMemo(()=>s??(r.length>0?j(r):$),[s,r]);return l&&r.length<2?u.jsx("div",{className:`flex items-center justify-center ${t}`,style:{width:e,height:n},children:u.jsx("div",{className:"rounded animate-pulse bg-subtle-fill-hover",style:{width:e-8,height:n-6}})}):r.length<2?u.jsx("svg",{width:e,height:n,viewBox:`0 0 ${e} ${n}`,className:t,"aria-hidden":"true",children:u.jsx("line",{x1:4,y1:n/2,x2:e-4,y2:n/2,stroke:a,strokeWidth:1.5,strokeDasharray:"3,2"})}):u.jsx("svg",{width:e,height:n,viewBox:`0 0 ${e} ${n}`,preserveAspectRatio:"none",className:t,"aria-hidden":"true",style:{maxWidth:"100%"},children:u.jsx("path",{d:c,fill:"none",stroke:p,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})});export{A as L};
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as g,d6 as y,d7 as f,D as j,d8 as L,d9 as v,r as o,da as N,j as e,db as m,F as w,B as b,c as n,dc as k,cX as C,m as S,dd as E}from"./index-CdwYueSG.js";import{P,a as R,B,C as I}from"./PageLayout-gbvZ6tct.js";/**
import{d as g,d6 as y,d7 as f,D as j,d8 as L,d9 as v,r as o,da as N,j as e,db as m,F as w,B as b,c as n,dc as k,cX as C,m as S,dd as E}from"./index-C8IY8K2r.js";import{P,a as R,B,C as I}from"./PageLayout-NQBVrM09.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{j as s,F as i,R as d,cG as c}from"./index-CdwYueSG.js";import{C as n}from"./PageLayout-gbvZ6tct.js";import{D as m}from"./DataBox-D9AB1NGO.js";function j({nodeName:e,repeaterVersion:a,coreVersion:t,localHash:r,publicKey:l}){return s.jsxs(n,{neomorphic:!0,children:[s.jsx(i,{icon:s.jsx(d,{}),title:"Node Information"}),s.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4",children:[s.jsxs("div",{className:"min-w-0 col-span-2 sm:col-span-1",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Node Name"}),s.jsx("p",{className:"type-body text-fg-primary mt-0.5 sm:mt-1 truncate",title:e,children:e})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Repeater"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${a}`,children:["v",a]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Core"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${t}`,children:["v",t]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Console"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${c}`,children:["v",c]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Local Hash"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:r?s.jsx(m,{copy:!0,size:"compact",children:r}):s.jsx("span",{className:"type-data-sm text-fg-secondary",children:"N/A"})})]})]}),l&&s.jsxs("div",{className:"mt-3 sm:mt-4 pt-3 sm:pt-4 border-t border-edge-subtle",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Public Key"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:s.jsx(m,{copy:!0,size:"responsive",children:l})})]})]})}export{j as N};
import{j as s,F as i,R as d,cG as c}from"./index-C8IY8K2r.js";import{C as n}from"./PageLayout-NQBVrM09.js";import{D as m}from"./DataBox-W2v3wy8k.js";function j({nodeName:e,repeaterVersion:a,coreVersion:t,localHash:r,publicKey:l}){return s.jsxs(n,{neomorphic:!0,children:[s.jsx(i,{icon:s.jsx(d,{}),title:"Node Information"}),s.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4",children:[s.jsxs("div",{className:"min-w-0 col-span-2 sm:col-span-1",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Node Name"}),s.jsx("p",{className:"type-body text-fg-primary mt-0.5 sm:mt-1 truncate",title:e,children:e})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Repeater"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${a}`,children:["v",a]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Core"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${t}`,children:["v",t]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Console"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${c}`,children:["v",c]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Local Hash"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:r?s.jsx(m,{copy:!0,size:"compact",children:r}):s.jsx("span",{className:"type-data-sm text-fg-secondary",children:"N/A"})})]})]}),l&&s.jsxs("div",{className:"mt-3 sm:mt-4 pt-3 sm:pt-4 border-t border-edge-subtle",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Public Key"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:s.jsx(m,{copy:!0,size:"responsive",children:l})})]})]})}export{j as N};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{j as e,o as r,c as t}from"./index-CdwYueSG.js";function l({children:a,className:s}){return e.jsx("div",{className:t("section-gap",s),children:a})}function x({children:a,className:s}){return e.jsx("div",{className:t("bento-section",s),children:a})}function m({title:a,icon:s,controls:n,subtitle:i}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 min-h-9",children:[e.jsxs("h1",{className:"type-title text-fg-primary flex items-baseline gap-2 sm:gap-3 min-w-0",children:[s&&e.jsx("span",{className:"text-icon-page-title flex-shrink-0 translate-y-[0.1em] [&>svg]:h-[1em] [&>svg]:w-[1em] [&>svg]:stroke-[1.5]",children:s}),e.jsx("span",{className:"truncate",children:a})]}),n&&e.jsx("div",{className:"flex items-center gap-2 flex-shrink-0",children:n})]}),i&&e.jsx("div",{children:i})]})}function d({size:a,...s}){return e.jsx(r,{...s})}export{x as B,d as C,l as P,m as a};
import{j as e,o as r,c as t}from"./index-C8IY8K2r.js";function l({children:a,className:s}){return e.jsx("div",{className:t("section-gap",s),children:a})}function x({children:a,className:s}){return e.jsx("div",{className:t("bento-section",s),children:a})}function m({title:a,icon:s,controls:n,subtitle:i}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 min-h-9",children:[e.jsxs("h1",{className:"type-title text-fg-primary flex items-baseline gap-2 sm:gap-3 min-w-0",children:[s&&e.jsx("span",{className:"text-icon-page-title flex-shrink-0 translate-y-[0.1em] [&>svg]:h-[1em] [&>svg]:w-[1em] [&>svg]:stroke-[1.5]",children:s}),e.jsx("span",{className:"truncate",children:a})]}),n&&e.jsx("div",{className:"flex items-center gap-2 flex-shrink-0",children:n})]}),i&&e.jsx("div",{children:i})]})}function d({size:a,...s}){return e.jsx(r,{...s})}export{x as B,d as C,l as P,m as a};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as V,j as e,cW as Ke,c as L,aw as Fe,dJ as Oe,r as o,bL as Y,R as qe,ac as Be,dr as ze,ad as He,q as W,I as B,dK as Ue,B as F,bv as Me,ae as ue,cR as Ve,F as se,w as G,x as We,dL as Re,dM as Ge,b8 as Te,dN as Ye,dO as Ie,dP as Je,dQ as Qe,dR as Xe,dS as Ze,dT as es,dU as ss,E as ts,y as as,dE as ns,bN as xe}from"./index-CdwYueSG.js";import{C as U,P as pe,a as he,B as rs}from"./PageLayout-gbvZ6tct.js";import{R as ls,C as ge}from"./Grid-Ug7vbOHZ.js";import{c as os,m as is}from"./node-types-DedpfI8l.js";import{L as cs,a as ds,b as ms}from"./listbox-B4IRFwwn.js";import{P as us}from"./plus-BxLpl_sF.js";import{M as X}from"./map-pin-BTzarosW.js";import{T as Le,C as fe}from"./ConfirmModal-D_7JTlAb.js";import{S as Z,K as I}from"./KeycapButton-B-Jvp-EH.js";import{S as xs,C as ps,M as hs}from"./ChatBubble-CZ6SrnkY.js";import{e as gs,g as fs,a as js}from"./chat-utils-B3hkabuB.js";import{W as ee}from"./wifi-Af5E3WZ9.js";import{K as vs}from"./key-round-D-QO71kp.js";import"./element-movement-C6F5QGkE.js";import"./triangle-alert-DaComX7z.js";import"./keycap-sfx-ByZp-njj.js";/**
import{d as V,j as e,cW as Ke,c as L,aw as Fe,dJ as Oe,r as o,bL as Y,R as qe,ac as Be,dr as ze,ad as He,q as W,I as B,dK as Ue,B as F,bv as Me,ae as ue,cR as Ve,F as se,w as G,x as We,dL as Re,dM as Ge,b8 as Te,dN as Ye,dO as Ie,dP as Je,dQ as Qe,dR as Xe,dS as Ze,dT as es,dU as ss,E as ts,y as as,dE as ns,bN as xe}from"./index-C8IY8K2r.js";import{C as U,P as pe,a as he,B as rs}from"./PageLayout-NQBVrM09.js";import{R as ls,C as ge}from"./Grid-CEGkNRmt.js";import{c as os,m as is}from"./node-types-3T9Wr7vI.js";import{L as cs,a as ds,b as ms}from"./listbox-BhQdM5DY.js";import{P as us}from"./plus-PWV57wbr.js";import{M as X}from"./map-pin-DMVHq6j8.js";import{T as Le,C as fe}from"./ConfirmModal-CNsW1W2q.js";import{S as Z,K as I}from"./KeycapButton-BJvlGsWZ.js";import{S as xs,C as ps,M as hs}from"./ChatBubble-0UYYugYB.js";import{e as gs,g as fs,a as js}from"./chat-utils-D1Q4VWjO.js";import{W as ee}from"./wifi-Cq9uCDyf.js";import{K as vs}from"./key-round-CQ-pu-yY.js";import"./element-movement-D4o83B2Z.js";import"./triangle-alert-8k00uu7o.js";import"./keycap-sfx-ByZp-njj.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as x,r as l,f6 as G,f7 as O,dn as U,j as e,B as g,L as M,w as V,b8 as C,c as N,dM as J,cd as Q,bL as Z}from"./index-CdwYueSG.js";import{C as W,T as P}from"./ConfirmModal-D_7JTlAb.js";import{D as X}from"./DataBox-D9AB1NGO.js";import{P as Y,a as ee,B as se,C as D}from"./PageLayout-gbvZ6tct.js";import{R as ae}from"./refresh-cw-Bcz_yxe3.js";import{R as T,C as j}from"./Grid-Ug7vbOHZ.js";import{C as te}from"./circle-question-mark-Bdu9dBju.js";import{T as le}from"./triangle-alert-DaComX7z.js";import{S as ie}from"./shield-C_TDkZ-m.js";import{A as ne}from"./antenna-_XOMaVsr.js";/**
import{d as x,r as l,f6 as G,f7 as O,dn as U,j as e,B as g,L as M,w as V,b8 as C,c as N,dM as J,cd as Q,bL as Z}from"./index-C8IY8K2r.js";import{C as W,T as P}from"./ConfirmModal-CNsW1W2q.js";import{D as X}from"./DataBox-W2v3wy8k.js";import{P as Y,a as ee,B as se,C as D}from"./PageLayout-NQBVrM09.js";import{R as ae}from"./refresh-cw-BqACEANM.js";import{R as T,C as j}from"./Grid-CEGkNRmt.js";import{C as te}from"./circle-question-mark-C7l07_IA.js";import{T as le}from"./triangle-alert-8k00uu7o.js";import{S as ie}from"./shield-DlHwWwz2.js";import{A as ne}from"./antenna-DOuH490Q.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as s,r as m,c as l,j as r,bW as j,bX as k,bY as _}from"./index-CdwYueSG.js";/**
import{d as s,r as m,c as l,j as r,bW as j,bX as k,bY as _}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
var Mt=Object.defineProperty;var Ct=(t,n,s)=>n in t?Mt(t,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[n]=s;var xe=(t,n,s)=>Ct(t,typeof n!="symbol"?n+"":n,s);import{d as Ae,r as c,j as e,k as Ce,c as nt,b9 as yt,bZ as bt,b_ as Je,b$ as ve,c0 as At,q as Fe,c1 as _t,c2 as Rt,e as Lt,c3 as Dt,c4 as Et,c5 as Tt,c6 as It,c7 as Pt,bw as Ot,c8 as Be,by as Ft,c9 as Ht,ca as Bt,F as Ne,cb as $t,cc as zt,cd as Wt,E as Ut,J as Gt,H as qt,y as Vt,ag as Kt,ah as Yt,K as Xt,aa as Zt,ce as Qt,cf as $e,cg as at,a2 as Jt,R as es,ch as ts}from"./index-CdwYueSG.js";import{L as Se}from"./layers-BiC-Ns73.js";import{u as et,h as ss,r as tt}from"./consumer-registry-DhVehOm2.js";import{C as ze,e as ns}from"./easing-D6lOfiWJ.js";import{T as as}from"./TimeRangeStepper-DCz-TWVT.js";import{C as le,P as rs,a as is,B as os}from"./PageLayout-gbvZ6tct.js";import{D as ls}from"./DataBox-D9AB1NGO.js";import{E as cs,A as Oe}from"./AnimatedNumber-CQ0Uhsch.js";import{C as ms}from"./CollisionExplorerModal-CjMAUeX8.js";import{H as rt}from"./hash-L59YOER_.js";import{T as Ze}from"./triangle-alert-DaComX7z.js";import{L as ds}from"./LightSparkline-DDCHe_-F.js";import{A as us}from"./activity-B7U7wJdR.js";import{c as hs,a as xs,A as ps}from"./AnalyzerFilterPanel-BWI2h57w.js";import{a as fs}from"./usePipelineStore-DPGbI6IX.js";import{R as ge,C as we}from"./Grid-Ug7vbOHZ.js";import{S as gs}from"./settings-2-OMoG5snn.js";import{N as ys}from"./network-CWIy2ZSo.js";import"./chevron-right-Clx_OSXY.js";import"./map-pin-BTzarosW.js";import"./index-BaK1kOPF.js";import"./BasemapLayer-DAxIlO26.js";import"./monitor-smartphone-CBUcuPPv.js";import"./node-types-DedpfI8l.js";import"./funnel-DznwFNVG.js";import"./circle-question-mark-Bdu9dBju.js";import"./search-DV-Xcdgb.js";import"./geo-utils-BP1zBK9h.js";/**
var Mt=Object.defineProperty;var Ct=(t,n,s)=>n in t?Mt(t,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[n]=s;var xe=(t,n,s)=>Ct(t,typeof n!="symbol"?n+"":n,s);import{d as Ae,r as c,j as e,k as Ce,c as nt,b9 as yt,bZ as bt,b_ as Je,b$ as ve,c0 as At,q as Fe,c1 as _t,c2 as Rt,e as Lt,c3 as Dt,c4 as Et,c5 as Tt,c6 as It,c7 as Pt,bw as Ot,c8 as Be,by as Ft,c9 as Ht,ca as Bt,F as Ne,cb as $t,cc as zt,cd as Wt,E as Ut,J as Gt,H as qt,y as Vt,ag as Kt,ah as Yt,K as Xt,aa as Zt,ce as Qt,cf as $e,cg as at,a2 as Jt,R as es,ch as ts}from"./index-C8IY8K2r.js";import{L as Se}from"./layers-Oxzfug7f.js";import{u as et,h as ss,r as tt}from"./consumer-registry-lDKP4bcU.js";import{C as ze,e as ns}from"./easing-CXN4GmUW.js";import{T as as}from"./TimeRangeStepper-BlC9rlkV.js";import{C as le,P as rs,a as is,B as os}from"./PageLayout-NQBVrM09.js";import{D as ls}from"./DataBox-W2v3wy8k.js";import{E as cs,A as Oe}from"./AnimatedNumber-BmJRWt4U.js";import{C as ms}from"./CollisionExplorerModal-DeHgfjGl.js";import{H as rt}from"./hash-BkZp0AKy.js";import{T as Ze}from"./triangle-alert-8k00uu7o.js";import{L as ds}from"./LightSparkline-CkL4j4OZ.js";import{A as us}from"./activity-2-g8m4_g.js";import{c as hs,a as xs,A as ps}from"./AnalyzerFilterPanel-BPawhC5X.js";import{a as fs}from"./usePipelineStore-CyFB3GIy.js";import{R as ge,C as we}from"./Grid-CEGkNRmt.js";import{S as gs}from"./settings-2-BUdn2-nA.js";import{N as ys}from"./network-DBkquEPb.js";import"./chevron-right-DUgYTR6d.js";import"./map-pin-DMVHq6j8.js";import"./index-B-prVW1V.js";import"./BasemapLayer-D5WYHXmJ.js";import"./monitor-smartphone-DF_mmgOV.js";import"./node-types-3T9Wr7vI.js";import"./funnel-BDRRJl0y.js";import"./circle-question-mark-C7l07_IA.js";import"./search-zALFwCS4.js";import"./geo-utils-BP1zBK9h.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as Y,c_ as A,cR as F,r as l,h as J,j as e,n as G,c as H,F as B,c$ as te,d0 as se,d1 as ne,d2 as re,d3 as ae,bZ as oe,B as le,d4 as ce,d5 as W}from"./index-CdwYueSG.js";import{C as E,P as ie,a as de,B as me}from"./PageLayout-gbvZ6tct.js";import{T as ue}from"./triangle-alert-DaComX7z.js";import{a as xe,A as pe}from"./arrow-up-DSinL38e.js";import{N as fe}from"./network-CWIy2ZSo.js";import{A as O}from"./activity-B7U7wJdR.js";import{R as he}from"./refresh-cw-Bcz_yxe3.js";import{R as $,C as L}from"./Grid-Ug7vbOHZ.js";/**
import{d as Y,c_ as A,cR as F,r as l,h as J,j as e,n as G,c as H,F as B,c$ as te,d0 as se,d1 as ne,d2 as re,d3 as ae,bZ as oe,B as le,d4 as ce,d5 as W}from"./index-C8IY8K2r.js";import{C as E,P as ie,a as de,B as me}from"./PageLayout-NQBVrM09.js";import{T as ue}from"./triangle-alert-8k00uu7o.js";import{a as xe,A as pe}from"./arrow-up-DbeeGdHO.js";import{N as fe}from"./network-DBkquEPb.js";import{A as O}from"./activity-2-g8m4_g.js";import{R as he}from"./refresh-cw-BqACEANM.js";import{R as $,C as L}from"./Grid-CEGkNRmt.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as t}from"./index-CdwYueSG.js";/**
import{d as t}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as o}from"./index-CdwYueSG.js";/**
import{d as o}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{cR as a,r as l}from"./index-CdwYueSG.js";const s=[a.green,a.blue,a.amber,a.pink,a.purple,a.cyan,a.orange,a.teal];function m(e){let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n);return s[Math.abs(n)%s.length]}const i=new RegExp("(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)","gu");function u(e){const n=e.match(i);if(n&&n.length>0){const t=n[0],o=e.replace(i,"").trim();return{emoji:t,cleanName:o||e}}return{emoji:null,cleanName:e}}function f(e){const{cleanName:n}=u(e),t=n.split(/[\s-_]+/).filter(Boolean);if(t.length>=2){const r=Array.from(t[0])[0]||"",c=Array.from(t[1])[0]||"";return(r+c).toUpperCase()}return Array.from(n).slice(0,2).join("").toUpperCase()}function p(e){return new Date(e*1e3).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1})}function g(e){const n=/@\[([^\]]+)\]/g,t=[];let o=0,r;for(;(r=n.exec(e))!==null;)r.index>o&&t.push(e.slice(o,r.index)),t.push(l.createElement("span",{key:r.index,className:"font-extrabold text-white"},r[1])),o=r.index+r[0].length;return o<e.length&&t.push(e.slice(o)),t.length>0?t:e}export{f as a,p as b,u as e,g as f,m as g};
import{cR as a,r as l}from"./index-C8IY8K2r.js";const s=[a.green,a.blue,a.amber,a.pink,a.purple,a.cyan,a.orange,a.teal];function m(e){let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n);return s[Math.abs(n)%s.length]}const i=new RegExp("(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)","gu");function u(e){const n=e.match(i);if(n&&n.length>0){const t=n[0],o=e.replace(i,"").trim();return{emoji:t,cleanName:o||e}}return{emoji:null,cleanName:e}}function f(e){const{cleanName:n}=u(e),t=n.split(/[\s-_]+/).filter(Boolean);if(t.length>=2){const r=Array.from(t[0])[0]||"",c=Array.from(t[1])[0]||"";return(r+c).toUpperCase()}return Array.from(n).slice(0,2).join("").toUpperCase()}function p(e){return new Date(e*1e3).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1})}function g(e){const n=/@\[([^\]]+)\]/g,t=[];let o=0,r;for(;(r=n.exec(e))!==null;)r.index>o&&t.push(e.slice(o,r.index)),t.push(l.createElement("span",{key:r.index,className:"font-extrabold text-white"},r[1])),o=r.index+r[0].length;return o<e.length&&t.push(e.slice(o)),t.length>0?t:e}export{f as a,p as b,u as e,g as f,m as g};
@@ -1,4 +1,4 @@
import{d as o}from"./index-CdwYueSG.js";/**
import{d as o}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as c}from"./index-CdwYueSG.js";/**
import{d as c}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as c}from"./index-CdwYueSG.js";/**
import{d as c}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{a7 as n,r as i}from"./index-CdwYueSG.js";const p=t=>(t.type??t.payload_type)===n.ADVERT,l=t=>(t.type??t.payload_type)===n.TRACE,h=t=>(t.type??t.payload_type)===n.TXT_MSG,_=t=>(t.type??t.payload_type)===n.PATH,d=t=>(t.type??t.payload_type)===n.ACK,g=t=>{const e=t.type??t.payload_type;return e===n.GRP_TXT||e===n.GRP_DATA},m=t=>(t.path_length??(Array.isArray(t.original_path)?t.original_path.length:0))>0,A=t=>!!t.src_hash,T=t=>t.airtime_ms!=null,c=new Set,o=new Map;function a(t,e){return`${t}|${e}`}function u(t,e){const s=a(t,e);o.set(s,(o.get(s)??0)+1)}function y(t,e){const s=a(t,e),r=o.get(s)??0;r>1?o.set(s,r-1):o.delete(s)}function C(t){for(const e of t){const s=a(e.target,e.fn);c.has(s)||c.add(s)}}function P(t){i.useEffect(()=>{for(const e of t)u(e.target,e.fn);return()=>{for(const e of t)y(e.target,e.fn)}},[t])}export{m as a,A as b,h as c,d,p as e,l as f,_ as g,T as h,g as i,C as r,P as u};
import{a7 as n,r as i}from"./index-C8IY8K2r.js";const p=t=>(t.type??t.payload_type)===n.ADVERT,l=t=>(t.type??t.payload_type)===n.TRACE,h=t=>(t.type??t.payload_type)===n.TXT_MSG,_=t=>(t.type??t.payload_type)===n.PATH,d=t=>(t.type??t.payload_type)===n.ACK,g=t=>{const e=t.type??t.payload_type;return e===n.GRP_TXT||e===n.GRP_DATA},m=t=>(t.path_length??(Array.isArray(t.original_path)?t.original_path.length:0))>0,A=t=>!!t.src_hash,T=t=>t.airtime_ms!=null,c=new Set,o=new Map;function a(t,e){return`${t}|${e}`}function u(t,e){const s=a(t,e);o.set(s,(o.get(s)??0)+1)}function y(t,e){const s=a(t,e),r=o.get(s)??0;r>1?o.set(s,r-1):o.delete(s)}function C(t){for(const e of t){const s=a(e.target,e.fn);c.has(s)||c.add(s)}}function P(t){i.useEffect(()=>{for(const e of t)u(e.target,e.fn);return()=>{for(const e of t)y(e.target,e.fn)}},[t])}export{m as a,A as b,h as c,d,p as e,l as f,_ as g,T as h,g as i,C as r,P as u};
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as o}from"./index-CdwYueSG.js";/**
import{d as o}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as s,fo as a}from"./index-CdwYueSG.js";/**
import{d as s,fo as a}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{r as o,aj as v,cm as h,dY as b,dZ as w,cD as x,aX as c,a_ as R}from"./index-CdwYueSG.js";function y(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function j(e=y){return o.useCallback((t,r)=>{if(typeof e=="string"){let u=e;return(t==null?void 0:t[u])===(r==null?void 0:r[u])}return e(t,r)},[e])}var $=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))($||{});function N(e){let t=o.useRef(null),r=v(l=>{t.current=l.pointerType,!h(l.currentTarget)&&l.pointerType==="mouse"&&l.button===$.Left&&(l.preventDefault(),e(l))}),u=v(l=>{t.current!=="mouse"&&(h(l.currentTarget)||e(l))});return{onPointerDown:r,onClick:u}}var S=(e=>(e[e.Ignore=0]="Ignore",e[e.Select=1]="Select",e[e.Close=2]="Close",e))(S||{});const z={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}},I=200,k=5;function F(e,{trigger:t,action:r,close:u,select:l}){let n=o.useRef(null),i=o.useRef(null),a=o.useRef(null);b(e&&t!==null,"pointerdown",s=>{w(s==null?void 0:s.target)&&t!=null&&t.contains(s.target)&&(i.current=s.x,a.current=s.y,n.current=s.timeStamp)}),b(e&&t!==null,"pointerup",s=>{var d,f;let g=n.current;if(g===null||(n.current=null,!x(s.target))||Math.abs(s.x-((d=i.current)!=null?d:s.x))<k&&Math.abs(s.y-((f=a.current)!=null?f:s.y))<k)return;let p=r(s);switch(p.kind){case 0:return;case 1:{s.timeStamp-g>I&&(l(p.target),u());break}case 2:{u();break}}},{capture:!0})}function m(e){return[e.screenX,e.screenY]}function P(){let e=o.useRef([-1,-1]);return{wasMoved(t){let r=m(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=m(t)}}}function L({children:e,freeze:t},r){let u=D(t,e);return o.isValidElement(u)?o.cloneElement(u,{ref:r}):c.createElement(c.Fragment,null,u)}const X=c.forwardRef(L);function D(e,t){let[r,u]=o.useState(t);return!e&&r!==t&&u(t),e?r:t}function E(e){throw new Error("Unexpected object: "+e)}var T=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(T||{});function Y(e,t){let r=t.resolveItems();if(r.length<=0)return null;let u=t.resolveActiveIndex(),l=u??-1;switch(e.focus){case 0:{for(let n=0;n<r.length;++n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 1:{l===-1&&(l=r.length);for(let n=l-1;n>=0;--n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 2:{for(let n=l+1;n<r.length;++n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 3:{for(let n=r.length-1;n>=0;--n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 4:{for(let n=0;n<r.length;++n)if(t.resolveId(r[n],n,r)===e.id)return n;return u}case 5:return null;default:E(e)}}const A={Idle:{kind:"Idle"},Tracked:e=>({kind:"Tracked",position:e}),Moved:{kind:"Moved"}};function C(e){let t=e.getBoundingClientRect();return`${t.x},${t.y}`}function B(e,t,r){let u=R();if(t.kind==="Tracked"){let l=function(){n!==C(e)&&(u.dispose(),r())},{position:n}=t,i=new ResizeObserver(l);i.observe(e),u.add(()=>i.disconnect()),u.addEventListener(window,"scroll",l,{passive:!0}),u.addEventListener(window,"resize",l)}return()=>u.dispose()}export{F as L,z as S,A as a,C as b,T as c,X as d,P as e,Y as f,$ as g,j as h,B as p,N as s,D as u};
import{r as o,aj as v,cm as h,dY as b,dZ as w,cD as x,aX as c,a_ as R}from"./index-C8IY8K2r.js";function y(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function j(e=y){return o.useCallback((t,r)=>{if(typeof e=="string"){let u=e;return(t==null?void 0:t[u])===(r==null?void 0:r[u])}return e(t,r)},[e])}var $=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))($||{});function N(e){let t=o.useRef(null),r=v(l=>{t.current=l.pointerType,!h(l.currentTarget)&&l.pointerType==="mouse"&&l.button===$.Left&&(l.preventDefault(),e(l))}),u=v(l=>{t.current!=="mouse"&&(h(l.currentTarget)||e(l))});return{onPointerDown:r,onClick:u}}var S=(e=>(e[e.Ignore=0]="Ignore",e[e.Select=1]="Select",e[e.Close=2]="Close",e))(S||{});const z={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}},I=200,k=5;function F(e,{trigger:t,action:r,close:u,select:l}){let n=o.useRef(null),i=o.useRef(null),a=o.useRef(null);b(e&&t!==null,"pointerdown",s=>{w(s==null?void 0:s.target)&&t!=null&&t.contains(s.target)&&(i.current=s.x,a.current=s.y,n.current=s.timeStamp)}),b(e&&t!==null,"pointerup",s=>{var d,f;let g=n.current;if(g===null||(n.current=null,!x(s.target))||Math.abs(s.x-((d=i.current)!=null?d:s.x))<k&&Math.abs(s.y-((f=a.current)!=null?f:s.y))<k)return;let p=r(s);switch(p.kind){case 0:return;case 1:{s.timeStamp-g>I&&(l(p.target),u());break}case 2:{u();break}}},{capture:!0})}function m(e){return[e.screenX,e.screenY]}function P(){let e=o.useRef([-1,-1]);return{wasMoved(t){let r=m(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=m(t)}}}function L({children:e,freeze:t},r){let u=D(t,e);return o.isValidElement(u)?o.cloneElement(u,{ref:r}):c.createElement(c.Fragment,null,u)}const X=c.forwardRef(L);function D(e,t){let[r,u]=o.useState(t);return!e&&r!==t&&u(t),e?r:t}function E(e){throw new Error("Unexpected object: "+e)}var T=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(T||{});function Y(e,t){let r=t.resolveItems();if(r.length<=0)return null;let u=t.resolveActiveIndex(),l=u??-1;switch(e.focus){case 0:{for(let n=0;n<r.length;++n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 1:{l===-1&&(l=r.length);for(let n=l-1;n>=0;--n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 2:{for(let n=l+1;n<r.length;++n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 3:{for(let n=r.length-1;n>=0;--n)if(!t.resolveDisabled(r[n],n,r))return n;return u}case 4:{for(let n=0;n<r.length;++n)if(t.resolveId(r[n],n,r)===e.id)return n;return u}case 5:return null;default:E(e)}}const A={Idle:{kind:"Idle"},Tracked:e=>({kind:"Tracked",position:e}),Moved:{kind:"Moved"}};function C(e){let t=e.getBoundingClientRect();return`${t.x},${t.y}`}function B(e,t,r){let u=R();if(t.kind==="Tracked"){let l=function(){n!==C(e)&&(u.dispose(),r())},{position:n}=t,i=new ResizeObserver(l);i.observe(e),u.add(()=>i.disconnect()),u.addEventListener(window,"scroll",l,{passive:!0}),u.addEventListener(window,"resize",l)}return()=>u.dispose()}export{F as L,z as S,A as a,C as b,T as c,X as d,P as e,Y as f,$ as g,j as h,B as p,N as s,D as u};
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as a}from"./index-CdwYueSG.js";/**
import{d as a}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{$ as L,bX as R,cR as x}from"./index-CdwYueSG.js";function w(n){if(Array.isArray(n))return n;if(typeof n=="string"&&n.startsWith("["))try{const a=JSON.parse(n);return Array.isArray(a)?a:[]}catch{return[]}return[]}function A(n,a,S){const i=new Map;for(const t of a){const r=L(t);i.has(r)||i.set(r,t)}const f=new Map,u=new Map;for(const t of n){const r=t.route??t.route_type;if(!R(r))continue;const c=w(t.original_path);if(c.length===0)continue;const o=c.map(e=>e.toUpperCase());if(!t.transmitted&&o.length>=2){const e=o[o.length-2];if(e){const s=i.get(e);s&&u.set(s,(u.get(s)??0)+1)}}if(o.includes(S))for(const e of o){if(e===S)continue;const s=i.get(e);s&&f.set(s,(f.get(s)??0)+1)}}let h=0,p=0;for(const t of a)h=Math.max(h,f.get(t)??0),p=Math.max(p,u.get(t)??0);const M=new Map;let d=0,g=0,m=0;for(const t of a){const r=f.get(t)??0,c=u.get(t)??0,o=h>0?Math.round(r/h*100):0,l=p>0?Math.round(c/p*100):0,e=o+l;M.set(t,{hash:t,listenerCount:r,loudCount:c,listenerScore:o,loudScore:l,blendedScore:e}),d=Math.max(d,o),g=Math.max(g,l),m=Math.max(m,e)}return{scores:M,maxListenerScore:d,maxLoudScore:g,maxBlendedScore:m}}const C={YELLOW:x.amber,GREEN:x.green,RED:x.red,GRAY:"#505050"};export{C as L,A as c};
import{$ as L,bX as R,cR as x}from"./index-C8IY8K2r.js";function w(n){if(Array.isArray(n))return n;if(typeof n=="string"&&n.startsWith("["))try{const a=JSON.parse(n);return Array.isArray(a)?a:[]}catch{return[]}return[]}function A(n,a,S){const i=new Map;for(const t of a){const r=L(t);i.has(r)||i.set(r,t)}const f=new Map,u=new Map;for(const t of n){const r=t.route??t.route_type;if(!R(r))continue;const c=w(t.original_path);if(c.length===0)continue;const o=c.map(e=>e.toUpperCase());if(!t.transmitted&&o.length>=2){const e=o[o.length-2];if(e){const s=i.get(e);s&&u.set(s,(u.get(s)??0)+1)}}if(o.includes(S))for(const e of o){if(e===S)continue;const s=i.get(e);s&&f.set(s,(f.get(s)??0)+1)}}let h=0,p=0;for(const t of a)h=Math.max(h,f.get(t)??0),p=Math.max(p,u.get(t)??0);const M=new Map;let d=0,g=0,m=0;for(const t of a){const r=f.get(t)??0,c=u.get(t)??0,o=h>0?Math.round(r/h*100):0,l=p>0?Math.round(c/p*100):0,e=o+l;M.set(t,{hash:t,listenerCount:r,loudCount:c,listenerScore:o,loudScore:l,blendedScore:e}),d=Math.max(d,o),g=Math.max(g,l),m=Math.max(m,e)}return{scores:M,maxListenerScore:d,maxLoudScore:g,maxBlendedScore:m}}const C={YELLOW:x.amber,GREEN:x.green,RED:x.red,GRAY:"#505050"};export{C as L,A as c};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{bH as a}from"./index-CdwYueSG.js";function o(r){var t;const e=((t=r.contact_type)==null?void 0:t.toLowerCase())??"";return e==="room server"||e==="room_server"||e==="room"||e==="server"?{type:"room_server",isRepeater:r.is_repeater===!0,isCompanion:!1,isRoomServer:!0,isClient:!1,label:"Room Server",badgeText:"ROOM"}:e==="companion"||e==="chat node"||e==="chat_node"||e==="chat"?{type:"companion",isRepeater:!1,isCompanion:!0,isRoomServer:!1,isClient:!1,label:"Companion",badgeText:"COMP"}:e==="client"||e==="cli"?{type:"companion",isRepeater:!1,isCompanion:!1,isRoomServer:!1,isClient:!0,label:"Client",badgeText:"CLI"}:e==="repeater"||e==="rep"?{type:"repeater",isRepeater:!0,isCompanion:!1,isRoomServer:!1,isClient:!1,label:"Repeater",badgeText:"RPT"}:r.is_repeater===!0?{type:"repeater",isRepeater:!0,isCompanion:!1,isRoomServer:!1,isClient:!1,label:"Repeater",badgeText:"RPT"}:{type:"unknown",isRepeater:!1,isCompanion:!1,isRoomServer:!1,isClient:!1,label:"Unknown",badgeText:""}}function n(r){switch(r){case a.GRP_TXT:case a.TXT_MSG:case a.REQ:case a.ANON_REQ:return"companion";case a.TRACE:case a.PATH:return"repeater";case a.GRP_DATA:return"room_server";default:return"unknown"}}function i(r){switch(r){case 1:return"companion";case 2:return"repeater";case 3:return"room_server";default:return"unknown"}}export{o as c,n as i,i as m};
import{bH as a}from"./index-C8IY8K2r.js";function o(r){var t;const e=((t=r.contact_type)==null?void 0:t.toLowerCase())??"";return e==="room server"||e==="room_server"||e==="room"||e==="server"?{type:"room_server",isRepeater:r.is_repeater===!0,isCompanion:!1,isRoomServer:!0,isClient:!1,label:"Room Server",badgeText:"ROOM"}:e==="companion"||e==="chat node"||e==="chat_node"||e==="chat"?{type:"companion",isRepeater:!1,isCompanion:!0,isRoomServer:!1,isClient:!1,label:"Companion",badgeText:"COMP"}:e==="client"||e==="cli"?{type:"companion",isRepeater:!1,isCompanion:!1,isRoomServer:!1,isClient:!0,label:"Client",badgeText:"CLI"}:e==="repeater"||e==="rep"?{type:"repeater",isRepeater:!0,isCompanion:!1,isRoomServer:!1,isClient:!1,label:"Repeater",badgeText:"RPT"}:r.is_repeater===!0?{type:"repeater",isRepeater:!0,isCompanion:!1,isRoomServer:!1,isClient:!1,label:"Repeater",badgeText:"RPT"}:{type:"unknown",isRepeater:!1,isCompanion:!1,isRoomServer:!1,isClient:!1,label:"Unknown",badgeText:""}}function n(r){switch(r){case a.GRP_TXT:case a.TXT_MSG:case a.REQ:case a.ANON_REQ:return"companion";case a.TRACE:case a.PATH:return"repeater";case a.GRP_DATA:return"room_server";default:return"unknown"}}function i(r){switch(r){case 1:return"companion";case 2:return"repeater";case 3:return"room_server";default:return"unknown"}}export{o as c,n as i,i as m};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{dA as i}from"./index-CdwYueSG.js";async function d(e,r=10){return i("/api/ping_neighbor",{method:"POST",body:JSON.stringify({target_id:e,timeout:r})})}const u=["Chat Node","Repeater","Room Server","Hybrid Node","Unknown"];async function f(e){const r=e.toLowerCase();for(const o of u)try{const s=await i(`/api/adverts_by_contact_type?contact_type=${encodeURIComponent(o)}&hours=168`),t=s.success&&s.data?s.data:s,n=(Array.isArray(t)?t:[]).find(c=>c.node_name&&c.node_name.toLowerCase()===r);if(n&&n.pubkey)return`0x${n.pubkey.substring(0,2)}`}catch{continue}return null}function p(e){return e.rtt_ms>500||e.rssi<-120?"Poor":e.rtt_ms>250||e.rssi<-100?"Fair":e.rtt_ms>100||e.rssi<-80?"Good":"Excellent"}async function m(e,r=10){if(r<1||r>60)return{success:!1,error:"Timeout must be 1-60 seconds"};let o;const s=e.match(/^(0x)?([0-9a-fA-F]{1,2})$/);if(s)o=`0x${s[2].padStart(2,"0")}`;else{const n=await f(e);if(!n)return{success:!1,error:`Node '${e}' not found`};o=n}const t=await d(o,r);if(!t.success||!t.data)return{success:!1,error:t.error||"Ping failed"};const a=p(t.data);return{success:!0,data:{...t.data,quality:a}}}export{m as a,d as p};
import{dA as i}from"./index-C8IY8K2r.js";async function d(e,r=10){return i("/api/ping_neighbor",{method:"POST",body:JSON.stringify({target_id:e,timeout:r})})}const u=["Chat Node","Repeater","Room Server","Hybrid Node","Unknown"];async function f(e){const r=e.toLowerCase();for(const o of u)try{const s=await i(`/api/adverts_by_contact_type?contact_type=${encodeURIComponent(o)}&hours=168`),t=s.success&&s.data?s.data:s,n=(Array.isArray(t)?t:[]).find(c=>c.node_name&&c.node_name.toLowerCase()===r);if(n&&n.pubkey)return`0x${n.pubkey.substring(0,2)}`}catch{continue}return null}function p(e){return e.rtt_ms>500||e.rssi<-120?"Poor":e.rtt_ms>250||e.rssi<-100?"Fair":e.rtt_ms>100||e.rssi<-80?"Good":"Excellent"}async function m(e,r=10){if(r<1||r>60)return{success:!1,error:"Timeout must be 1-60 seconds"};let o;const s=e.match(/^(0x)?([0-9a-fA-F]{1,2})$/);if(s)o=`0x${s[2].padStart(2,"0")}`;else{const n=await f(e);if(!n)return{success:!1,error:`Node '${e}' not found`};o=n}const t=await d(o,r);if(!t.success||!t.data)return{success:!1,error:t.error||"Ping failed"};const a=p(t.data);return{success:!0,data:{...t.data,quality:a}}}export{m as a,d as p};
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as c}from"./index-CdwYueSG.js";/**
import{d as c}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as c}from"./index-CdwYueSG.js";/**
import{d as c}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1 +1 @@
import{dA as t}from"./index-CdwYueSG.js";async function a(){return t("/api/transport_keys")}async function e(o){return t("/api/transport_keys",{method:"POST",body:JSON.stringify(o)})}async function s(o,r){return t(`/api/transport_key/${o}`,{method:"PUT",body:JSON.stringify(r)})}async function c(o){return t(`/api/transport_key/${o}`,{method:"DELETE"})}async function i(){return t("/api/global_flood_policy")}async function y(o){return t("/api/global_flood_policy",{method:"POST",body:JSON.stringify({global_flood_allow:o})})}async function l(o){return t("/api/restart_service",{method:"POST",body:"{}",signal:o})}async function p(){return t("/api/check_pymc_console")}export{i as a,e as b,p as c,c as d,a as g,l as r,y as s,s as u};
import{dA as t}from"./index-C8IY8K2r.js";async function a(){return t("/api/transport_keys")}async function e(o){return t("/api/transport_keys",{method:"POST",body:JSON.stringify(o)})}async function s(o,r){return t(`/api/transport_key/${o}`,{method:"PUT",body:JSON.stringify(r)})}async function c(o){return t(`/api/transport_key/${o}`,{method:"DELETE"})}async function i(){return t("/api/global_flood_policy")}async function y(o){return t("/api/global_flood_policy",{method:"POST",body:JSON.stringify({global_flood_allow:o})})}async function l(o){return t("/api/restart_service",{method:"POST",body:"{}",signal:o})}async function p(){return t("/api/check_pymc_console")}export{i as a,e as b,p as c,c as d,a as g,l as r,y as s,s as u};
@@ -1,4 +1,4 @@
import{d as c}from"./index-CdwYueSG.js";/**
import{d as c}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
import{d as T,r as A,j as b,cj as E,bh as D}from"./index-CdwYueSG.js";import{A as H}from"./index-BaK1kOPF.js";/**
import{d as T,r as A,j as b,cj as E,bh as D}from"./index-C8IY8K2r.js";import{A as H}from"./index-B-prVW1V.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{d as e}from"./index-CdwYueSG.js";/**
import{d as e}from"./index-C8IY8K2r.js";/**
* @license lucide-react v0.559.0 - ISC
*
* This source code is licensed under the ISC license.
-1
View File
@@ -1 +0,0 @@
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 391 B

-1
View File
@@ -1 +0,0 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

+1 -1
View File
@@ -39,7 +39,7 @@
--font-data: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}
</style>
<script type="module" crossorigin src="/assets/index-CdwYueSG.js"></script>
<script type="module" crossorigin src="/assets/index-C8IY8K2r.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DUfCykEc.css">
</head>
<body>
-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

-1
View File
@@ -1 +0,0 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 128 B

-1
View File
@@ -1 +0,0 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>

Before

Width:  |  Height:  |  Size: 385 B

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pymc_console",
"version": "0.9.289",
"version": "0.9.290",
"description": "Vite + React Dashboard for pyMC_Repeater",
"private": true,
"type": "module",