mirror of
https://github.com/dmduran12/pymc_console-dist.git
synced 2026-05-07 13:55:10 +02:00
Release v0.6.80
Automated sync from private repository. Built with obfuscation enabled.
This commit is contained in:
Vendored
+1
-1
@@ -1 +1 @@
|
||||
0.6.79
|
||||
0.6.80
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{c as e,j as t}from"./index-CylDUtFA.js";import{b as n,c as o}from"./recharts-CGff6_7g.js";const a=e("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),r=e("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),s=e("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);function c({hash:e,prefixLength:s=8,suffixLength:c=6,full:i=!1,className:d,size:l="md"}){const[p,h]=n.useState(!1),[u,x]=n.useState(!1),m=n.useRef(null),y=n.useCallback(t=>{t.preventDefault(),t.stopPropagation(),m.current&&clearTimeout(m.current),function(e){if("undefined"!=typeof window&&(window.isSecureContext||"https:"===window.location.protocol||"localhost"===window.location.hostname)&&navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)return navigator.clipboard.writeText(e).catch(()=>{}),!0;try{const t=window.scrollX,n=window.scrollY,o=document.createElement("textarea");o.value=e,o.style.position="fixed",o.style.left="-9999px",o.style.top="-9999px",o.style.opacity="0",o.style.pointerEvents="none",o.setAttribute("readonly",""),document.body.appendChild(o),o.focus({preventScroll:!0}),o.select(),o.setSelectionRange(0,e.length);const a=document.execCommand("copy");return document.body.removeChild(o),window.scrollTo(t,n),a}catch(t){return!1}}(e),h(!0),m.current=setTimeout(()=>h(!1),2e3)},[e]),w=i||e.length<=s+c+3?e:`${e.slice(0,s)}…${e.slice(-c)}`,f={xs:"text-[9px] px-1 py-0.5 gap-0.5",sm:"text-[10px] px-1.5 py-0.5 gap-1",md:"text-xs px-2 py-1 gap-1.5"}[l];return t.jsxs("button",{type:"button",onClick:y,onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),className:o("inline-flex items-center font-mono rounded-md transition-all duration-200","bg-bg-subtle/80 hover:bg-bg-elevated border border-border-subtle hover:border-border-strong","cursor-pointer select-none",f,d),title:`Click to copy: ${e}`,"aria-label":`Copy hash ${e}`,children:[t.jsx("span",{className:o("transition-colors duration-200",p?"text-accent-success":"text-text-secondary"),children:w}),t.jsx("span",{className:o("flex items-center justify-center transition-all duration-200","xs"===l?"w-2.5 h-2.5":"sm"===l?"w-3 h-3":"w-3.5 h-3.5"),children:p?t.jsx(a,{className:o("text-accent-success","xs"===l?"w-2 h-2":"sm"===l?"w-2.5 h-2.5":"w-3 h-3")}):t.jsx(r,{className:o("transition-opacity duration-200",u?"opacity-70":"opacity-40","xs"===l?"w-2 h-2":"sm"===l?"w-2.5 h-2.5":"w-3 h-3")})})]})}export{r as C,c as H,s as M,a};
|
||||
import{c as e,j as t}from"./index-B6-Tf7Us.js";import{b as n,c as o}from"./recharts-CGff6_7g.js";const a=e("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),r=e("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),s=e("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);function c({hash:e,prefixLength:s=8,suffixLength:c=6,full:i=!1,className:d,size:l="md"}){const[p,h]=n.useState(!1),[u,x]=n.useState(!1),m=n.useRef(null),y=n.useCallback(t=>{t.preventDefault(),t.stopPropagation(),m.current&&clearTimeout(m.current),function(e){if("undefined"!=typeof window&&(window.isSecureContext||"https:"===window.location.protocol||"localhost"===window.location.hostname)&&navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)return navigator.clipboard.writeText(e).catch(()=>{}),!0;try{const t=window.scrollX,n=window.scrollY,o=document.createElement("textarea");o.value=e,o.style.position="fixed",o.style.left="-9999px",o.style.top="-9999px",o.style.opacity="0",o.style.pointerEvents="none",o.setAttribute("readonly",""),document.body.appendChild(o),o.focus({preventScroll:!0}),o.select(),o.setSelectionRange(0,e.length);const a=document.execCommand("copy");return document.body.removeChild(o),window.scrollTo(t,n),a}catch(t){return!1}}(e),h(!0),m.current=setTimeout(()=>h(!1),2e3)},[e]),w=i||e.length<=s+c+3?e:`${e.slice(0,s)}…${e.slice(-c)}`,f={xs:"text-[9px] px-1 py-0.5 gap-0.5",sm:"text-[10px] px-1.5 py-0.5 gap-1",md:"text-xs px-2 py-1 gap-1.5"}[l];return t.jsxs("button",{type:"button",onClick:y,onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),className:o("inline-flex items-center font-mono rounded-md transition-all duration-200","bg-bg-subtle/80 hover:bg-bg-elevated border border-border-subtle hover:border-border-strong","cursor-pointer select-none",f,d),title:`Click to copy: ${e}`,"aria-label":`Copy hash ${e}`,children:[t.jsx("span",{className:o("transition-colors duration-200",p?"text-accent-success":"text-text-secondary"),children:w}),t.jsx("span",{className:o("flex items-center justify-center transition-all duration-200","xs"===l?"w-2.5 h-2.5":"sm"===l?"w-3 h-3":"w-3.5 h-3.5"),children:p?t.jsx(a,{className:o("text-accent-success","xs"===l?"w-2 h-2":"sm"===l?"w-2.5 h-2.5":"w-3 h-3")}):t.jsx(r,{className:o("transition-opacity duration-200",u?"opacity-70":"opacity-40","xs"===l?"w-2 h-2":"sm"===l?"w-2.5 h-2.5":"w-3 h-3")})})]})}export{r as C,c as H,s as M,a};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{j as e}from"./index-CylDUtFA.js";import{c as a}from"./recharts-CGff6_7g.js";function l({children:l,className:s}){return e.jsx("div",{className:a("section-gap",s),children:l})}function s({title:a,icon:l,controls:s,subtitle:c}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("h1",{className:"type-title text-text-primary flex items-center gap-3",children:[l&&e.jsx("span",{className:"w-6 h-6 text-accent-primary flex-shrink-0",children:l}),a]}),s&&e.jsx("div",{className:"flex items-center gap-2 sm:gap-3",children:s})]}),c&&e.jsx("div",{children:c})]})}function c({children:l,className:s}){return e.jsx("div",{className:a("grid-12",s),children:l})}const t=(e,a)=>{const l=a?`${a}:`:"";return"full"===e?`${l}col-span-full`:`${l}col-span-${e}`};function r({children:l,span:s="full",sm:c,md:r,lg:i,xl:n,className:d}){const m=a(t(s),c&&t(c,"sm"),r&&t(r,"md"),i&&t(i,"lg"),n&&t(n,"xl"),d);return e.jsx("div",{className:m,children:l})}const i={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function n({children:l,size:s,compact:c,noPadding:t,className:r,style:n,onClick:d}){return e.jsx("div",{className:a("glass-card",!t&&(c?"card-padding-sm":"card-padding"),s&&i[s],r),style:n,onClick:d,children:l})}function d({icon:l,title:s,badge:c,subtitle:t,actions:r,iconColor:i="text-accent-primary",largeTitle:n=!1,listHeader:d=!1}){return e.jsxs("div",{className:a("flex flex-col gap-1",d?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[l&&e.jsx("span",{className:a("icon-md",i),children:l}),e.jsx("span",{className:n?"type-subheading text-text-primary":"type-micro",children:s}),c&&e.jsx("span",{className:"pill-tag",children:c})]}),r&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:r})]}),t&&e.jsx("p",{className:"type-label text-text-muted ml-7",children:t})]})}export{n as C,c as G,l as P,s as a,d as b,r as c};
|
||||
import{j as e}from"./index-B6-Tf7Us.js";import{c as a}from"./recharts-CGff6_7g.js";function l({children:l,className:s}){return e.jsx("div",{className:a("section-gap",s),children:l})}function s({title:a,icon:l,controls:s,subtitle:c}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("h1",{className:"type-title text-text-primary flex items-center gap-3",children:[l&&e.jsx("span",{className:"w-6 h-6 text-accent-primary flex-shrink-0",children:l}),a]}),s&&e.jsx("div",{className:"flex items-center gap-2 sm:gap-3",children:s})]}),c&&e.jsx("div",{children:c})]})}function c({children:l,className:s}){return e.jsx("div",{className:a("grid-12",s),children:l})}const t=(e,a)=>{const l=a?`${a}:`:"";return"full"===e?`${l}col-span-full`:`${l}col-span-${e}`};function r({children:l,span:s="full",sm:c,md:r,lg:i,xl:n,className:d}){const m=a(t(s),c&&t(c,"sm"),r&&t(r,"md"),i&&t(i,"lg"),n&&t(n,"xl"),d);return e.jsx("div",{className:m,children:l})}const i={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function n({children:l,size:s,compact:c,noPadding:t,className:r,style:n,onClick:d}){return e.jsx("div",{className:a("glass-card",!t&&(c?"card-padding-sm":"card-padding"),s&&i[s],r),style:n,onClick:d,children:l})}function d({icon:l,title:s,badge:c,subtitle:t,actions:r,iconColor:i="text-accent-primary",largeTitle:n=!1,listHeader:d=!1}){return e.jsxs("div",{className:a("flex flex-col gap-1",d?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[l&&e.jsx("span",{className:a("icon-md",i),children:l}),e.jsx("span",{className:n?"type-subheading text-text-primary":"type-micro",children:s}),c&&e.jsx("span",{className:"pill-tag",children:c})]}),r&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:r})]}),t&&e.jsx("p",{className:"type-label text-text-muted ml-7",children:t})]})}export{n as C,c as G,l as P,s as a,d as b,r as c};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{j as e}from"./index-CylDUtFA.js";import{b as t}from"./recharts-CGff6_7g.js";import{M as o,S as n,L as r,a,P as i}from"./maplibre-gl-zy3TF1FS.js";import"./maplibre-gl-DsiI67my.js";const s="#4F46E5",l="#F9D26F",d="#B49DFF",c="#39D98A",p="#B49DFF";function u(e,t,o,n=!1,r=!1,a=!1){let i;i=r?c:a?p:e?s:t?"#6366F1":o?"transparent":l;const u=e||t||!o||r||a;return`<div style="\n width: 14px;\n height: 14px;\n background: ${i};\n border-radius: 50%;\n border: ${u?0:5}px solid ${u?"transparent":"#4338CA"};\n box-sizing: border-box;\n transition: box-shadow 0.15s ease;\n ${n?`box-shadow: 0 0 0 3px ${d}40, 0 0 8px ${d}60;`:""}\n "></div>`}const m={id:"path-line",type:"line",paint:{"line-color":"#3B3F4A","line-width":2,"line-opacity":.7},layout:{"line-cap":"round","line-join":"round"}};function x({resolvedPath:d,localNode:x,hubNodes:h=[],hoveredHopIndex:f,onHoverHop:b}){const y=t.useRef(null),g=t.useMemo(()=>new Set(h),[h]),[v,N]=t.useState(null),{positions:C,markers:F,pathLineGeoJSON:k}=t.useMemo(()=>{const e=[],t=[],o=[];d.hops.forEach((n,r)=>{const a=n.candidates.filter(e=>{return t=e.latitude,o=e.longitude,0!==t||0!==o;var t,o});if(0===a.length)return;const i=[...a].sort((e,t)=>t.probability-e.probability)[0];o.push([i.longitude,i.latitude]);const s=!0===n.isSource,l=!0===n.isDestination;a.forEach((o,i)=>{const d=[o.latitude,o.longitude];e.push(d);const c=0===i;t.push({position:d,prefix:n.prefix,confidence:n.confidence,candidateCount:a.length,hopIndex:r,candidate:o,isHub:g.has(o.hash),isPrimary:c,isSource:s,isDestination:l})})});const n={type:"FeatureCollection",features:o.length>=2?[{type:"Feature",properties:{},geometry:{type:"LineString",coordinates:o}}]:[]};return{positions:e,markers:t,pathLineGeoJSON:n}},[d,g]),{center:S,zoom:j}=t.useMemo(()=>{if(0===C.length)return x?{center:[x.longitude,x.latitude],zoom:10}:{center:[0,0],zoom:2};let e=1/0,t=-1/0,o=1/0,n=-1/0;for(const[c,p]of C)c<e&&(e=c),c>t&&(t=c),p<o&&(o=p),p>n&&(n=p);const r=(e+t)/2,a=(o+n)/2,i=t-e,s=n-o,l=Math.max(i,s);let d;return d=l<.01?15:l<.05?13:l<.1?12:l<.5?10:l<1?9:l<5?7:5,{center:[a,r],zoom:d}},[C,x]);t.useEffect(()=>{if(!y.current||C.length<2)return;let e=1/0,t=-1/0,o=1/0,n=-1/0;for(const[r,a]of C)r<e&&(e=r),r>t&&(t=r),a<o&&(o=a),a>n&&(n=a);y.current.fitBounds([[o,e],[n,t]],{padding:30,maxZoom:16,duration:0})},[C]);const L=t.useCallback(e=>{N({longitude:e.position[1],latitude:e.position[0],marker:e})},[]);return 0===C.length?e.jsx("div",{className:"h-[200px] flex items-center justify-center text-text-muted text-sm bg-bg-elevated",children:"No mappable path data"}):e.jsxs(o,{ref:y,initialViewState:{longitude:S[0],latitude:S[1],zoom:j},style:{height:"200px",width:"100%"},mapStyle:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",attributionControl:!1,children:[k.features.length>0&&e.jsx(n,{id:"path-line-source",type:"geojson",data:k,children:e.jsx(r,{...m})}),F.map(t=>{const o=f===t.hopIndex;return e.jsx(a,{longitude:t.position[1],latitude:t.position[0],anchor:"center",onClick:()=>L(t),children:e.jsx("div",{style:{cursor:"pointer",opacity:t.isPrimary?1:.5},onMouseEnter:()=>null==b?void 0:b(t.hopIndex),onMouseLeave:()=>null==b?void 0:b(null),dangerouslySetInnerHTML:{t:u(t.candidate.isLocal||!1,t.isHub,t.isPrimary,o,t.isSource,t.isDestination)}})},`${t.hopIndex}-${t.candidate.hash}`)}),v&&e.jsx(i,{longitude:v.longitude,latitude:v.latitude,anchor:"bottom",offset:[0,-12],closeOnClick:!1,onClose:()=>N(null),className:"maplibre-popup",children:e.jsxs("div",{className:"text-xs",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"font-semibold",children:v.marker.candidate.name}),v.marker.isSource&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:c,color:"#000"},children:"SRC"}),v.marker.isDestination&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:p,color:"#000"},children:"DST"}),v.marker.isHub&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:"#FBBF24",color:"#000"},children:"HUB"}),v.marker.candidate.isLocal&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:s,color:"#fff"},children:"LOCAL"})]}),e.jsxs("div",{className:"text-text-muted font-mono text-[10px]",children:[v.marker.prefix," • ",v.marker.candidate.hash.slice(0,10),"..."]}),!v.marker.isPrimary&&v.marker.candidateCount>1&&e.jsxs("div",{style:{color:l},children:["Alternative (",(100*v.marker.candidate.probability).toFixed(0),"%)"]}),v.marker.isPrimary&&v.marker.candidateCount>1&&e.jsxs("div",{className:"text-text-muted",children:[v.marker.candidateCount," candidates"]})]})})]})}export{x as default};
|
||||
import{j as e}from"./index-B6-Tf7Us.js";import{b as t}from"./recharts-CGff6_7g.js";import{M as o,S as n,L as r,a,P as i}from"./maplibre-gl-BvGn-5PG.js";import"./maplibre-gl-DsiI67my.js";const s="#4F46E5",l="#F9D26F",d="#B49DFF",c="#39D98A",p="#B49DFF";function u(e,t,o,n=!1,r=!1,a=!1){let i;i=r?c:a?p:e?s:t?"#6366F1":o?"transparent":l;const u=e||t||!o||r||a;return`<div style="\n width: 14px;\n height: 14px;\n background: ${i};\n border-radius: 50%;\n border: ${u?0:5}px solid ${u?"transparent":"#4338CA"};\n box-sizing: border-box;\n transition: box-shadow 0.15s ease;\n ${n?`box-shadow: 0 0 0 3px ${d}40, 0 0 8px ${d}60;`:""}\n "></div>`}const m={id:"path-line",type:"line",paint:{"line-color":"#3B3F4A","line-width":2,"line-opacity":.7},layout:{"line-cap":"round","line-join":"round"}};function x({resolvedPath:d,localNode:x,hubNodes:h=[],hoveredHopIndex:f,onHoverHop:b}){const y=t.useRef(null),g=t.useMemo(()=>new Set(h),[h]),[v,N]=t.useState(null),{positions:C,markers:F,pathLineGeoJSON:k}=t.useMemo(()=>{const e=[],t=[],o=[];d.hops.forEach((n,r)=>{const a=n.candidates.filter(e=>{return t=e.latitude,o=e.longitude,0!==t||0!==o;var t,o});if(0===a.length)return;const i=[...a].sort((e,t)=>t.probability-e.probability)[0];o.push([i.longitude,i.latitude]);const s=!0===n.isSource,l=!0===n.isDestination;a.forEach((o,i)=>{const d=[o.latitude,o.longitude];e.push(d);const c=0===i;t.push({position:d,prefix:n.prefix,confidence:n.confidence,candidateCount:a.length,hopIndex:r,candidate:o,isHub:g.has(o.hash),isPrimary:c,isSource:s,isDestination:l})})});const n={type:"FeatureCollection",features:o.length>=2?[{type:"Feature",properties:{},geometry:{type:"LineString",coordinates:o}}]:[]};return{positions:e,markers:t,pathLineGeoJSON:n}},[d,g]),{center:S,zoom:j}=t.useMemo(()=>{if(0===C.length)return x?{center:[x.longitude,x.latitude],zoom:10}:{center:[0,0],zoom:2};let e=1/0,t=-1/0,o=1/0,n=-1/0;for(const[c,p]of C)c<e&&(e=c),c>t&&(t=c),p<o&&(o=p),p>n&&(n=p);const r=(e+t)/2,a=(o+n)/2,i=t-e,s=n-o,l=Math.max(i,s);let d;return d=l<.01?15:l<.05?13:l<.1?12:l<.5?10:l<1?9:l<5?7:5,{center:[a,r],zoom:d}},[C,x]);t.useEffect(()=>{if(!y.current||C.length<2)return;let e=1/0,t=-1/0,o=1/0,n=-1/0;for(const[r,a]of C)r<e&&(e=r),r>t&&(t=r),a<o&&(o=a),a>n&&(n=a);y.current.fitBounds([[o,e],[n,t]],{padding:30,maxZoom:16,duration:0})},[C]);const L=t.useCallback(e=>{N({longitude:e.position[1],latitude:e.position[0],marker:e})},[]);return 0===C.length?e.jsx("div",{className:"h-[200px] flex items-center justify-center text-text-muted text-sm bg-bg-elevated",children:"No mappable path data"}):e.jsxs(o,{ref:y,initialViewState:{longitude:S[0],latitude:S[1],zoom:j},style:{height:"200px",width:"100%"},mapStyle:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",attributionControl:!1,children:[k.features.length>0&&e.jsx(n,{id:"path-line-source",type:"geojson",data:k,children:e.jsx(r,{...m})}),F.map(t=>{const o=f===t.hopIndex;return e.jsx(a,{longitude:t.position[1],latitude:t.position[0],anchor:"center",onClick:()=>L(t),children:e.jsx("div",{style:{cursor:"pointer",opacity:t.isPrimary?1:.5},onMouseEnter:()=>null==b?void 0:b(t.hopIndex),onMouseLeave:()=>null==b?void 0:b(null),dangerouslySetInnerHTML:{t:u(t.candidate.isLocal||!1,t.isHub,t.isPrimary,o,t.isSource,t.isDestination)}})},`${t.hopIndex}-${t.candidate.hash}`)}),v&&e.jsx(i,{longitude:v.longitude,latitude:v.latitude,anchor:"bottom",offset:[0,-12],closeOnClick:!1,onClose:()=>N(null),className:"maplibre-popup",children:e.jsxs("div",{className:"text-xs",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"font-semibold",children:v.marker.candidate.name}),v.marker.isSource&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:c,color:"#000"},children:"SRC"}),v.marker.isDestination&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:p,color:"#000"},children:"DST"}),v.marker.isHub&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:"#FBBF24",color:"#000"},children:"HUB"}),v.marker.candidate.isLocal&&e.jsx("span",{className:"px-1 py-0.5 text-[8px] font-bold rounded",style:{backgroundColor:s,color:"#fff"},children:"LOCAL"})]}),e.jsxs("div",{className:"text-text-muted font-mono text-[10px]",children:[v.marker.prefix," • ",v.marker.candidate.hash.slice(0,10),"..."]}),!v.marker.isPrimary&&v.marker.candidateCount>1&&e.jsxs("div",{style:{color:l},children:["Alternative (",(100*v.marker.candidate.probability).toFixed(0),"%)"]}),v.marker.isPrimary&&v.marker.candidateCount>1&&e.jsxs("div",{className:"text-text-muted",children:[v.marker.candidateCount," candidates"]})]})})]})}export{x as default};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as e,j as t}from"./index-CylDUtFA.js";import{c as a,b as s}from"./recharts-CGff6_7g.js";const n=e("signal-high",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]]),r=e("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]),c=e("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]),i=e("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]),o=e("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]);function d(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function l(e,t){if(!t)return"bg-white/10";switch(e){case"excellent":return"bg-accent-success";case"good":return"bg-[#71F8E5]";case"fair":return"bg-[#F9D26F]";case"weak":return"bg-[#FB923C]";case"poor":return"bg-accent-danger";default:return"bg-white/20"}}function h({rssi:e,className:s="w-4 h-4"}){const l=d(e),h=function(e){switch(e){case"excellent":return"text-accent-success";case"good":return"text-[#71F8E5]";case"fair":return"text-[#F9D26F]";case"weak":return"text-[#FB923C]";case"poor":return"text-accent-danger";default:return"text-text-muted"}}(l),u=a(h,s);switch(l){case"excellent":return t.jsx(o,{className:u});case"good":return t.jsx(n,{className:u});case"fair":return t.jsx(c,{className:u});case"weak":return t.jsx(r,{className:u});default:return t.jsx(i,{className:u})}}const u=s.memo(function({rssi:e,snr:s,compact:n=!1,showValues:r=!0}){const c=d(e),i={excellent:4,good:3,fair:2,weak:1,poor:0}[c];return n?t.jsxs("div",{className:"flex items-center justify-end gap-1.5",children:[r&&t.jsx("span",{className:"text-[10px] font-mono text-text-secondary",children:e}),t.jsx("div",{className:"flex items-end gap-[2px] h-3",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",l(c,s<i)),style:{height:(s+1)/4*100+"%"}},s))})]}):t.jsxs("div",{className:"flex items-center justify-end gap-2",children:[r&&t.jsxs("div",{className:"flex flex-col items-end",children:[t.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight",children:[e," dBm"]}),void 0!==s&&t.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight",children:[s.toFixed(1)," dB"]})]}),t.jsx("div",{className:"flex items-end gap-[2px] h-3.5",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",l(c,s<i)),style:{height:(s+1)/4*100+"%"}},s))})]})});function x(e){const t=d(e);return t.charAt(0).toUpperCase()+t.slice(1)}export{u as S,h as a,x as g};
|
||||
import{c as e,j as t}from"./index-B6-Tf7Us.js";import{c as a,b as s}from"./recharts-CGff6_7g.js";const n=e("signal-high",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]]),r=e("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]),c=e("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]),i=e("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]),o=e("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]);function d(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function l(e,t){if(!t)return"bg-white/10";switch(e){case"excellent":return"bg-accent-success";case"good":return"bg-[#71F8E5]";case"fair":return"bg-[#F9D26F]";case"weak":return"bg-[#FB923C]";case"poor":return"bg-accent-danger";default:return"bg-white/20"}}function h({rssi:e,className:s="w-4 h-4"}){const l=d(e),h=function(e){switch(e){case"excellent":return"text-accent-success";case"good":return"text-[#71F8E5]";case"fair":return"text-[#F9D26F]";case"weak":return"text-[#FB923C]";case"poor":return"text-accent-danger";default:return"text-text-muted"}}(l),u=a(h,s);switch(l){case"excellent":return t.jsx(o,{className:u});case"good":return t.jsx(n,{className:u});case"fair":return t.jsx(c,{className:u});case"weak":return t.jsx(r,{className:u});default:return t.jsx(i,{className:u})}}const u=s.memo(function({rssi:e,snr:s,compact:n=!1,showValues:r=!0}){const c=d(e),i={excellent:4,good:3,fair:2,weak:1,poor:0}[c];return n?t.jsxs("div",{className:"flex items-center justify-end gap-1.5",children:[r&&t.jsx("span",{className:"text-[10px] font-mono text-text-secondary",children:e}),t.jsx("div",{className:"flex items-end gap-[2px] h-3",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",l(c,s<i)),style:{height:(s+1)/4*100+"%"}},s))})]}):t.jsxs("div",{className:"flex items-center justify-end gap-2",children:[r&&t.jsxs("div",{className:"flex flex-col items-end",children:[t.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight",children:[e," dBm"]}),void 0!==s&&t.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight",children:[s.toFixed(1)," dB"]})]}),t.jsx("div",{className:"flex items-end gap-[2px] h-3.5",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",l(c,s<i)),style:{height:(s+1)/4*100+"%"}},s))})]})});function x(e){const t=d(e);return t.charAt(0).toUpperCase()+t.slice(1)}export{u as S,h as a,x as g};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{b as e}from"./recharts-CGff6_7g.js";import{j as t}from"./index-CylDUtFA.js";function o(t,o){const[r,n]=e.useState(t);return e.useEffect(()=>{const e=setTimeout(()=>n(t),o);return()=>clearTimeout(e)},[t,o]),r}const r=e.memo(function({ranges:e,selectedIndex:o,onSelect:r}){return t.jsx("div",{className:"toggle-group flex-shrink-0 overflow-x-auto",children:e.map((e,n)=>t.jsx("button",{onClick:()=>r(n),className:"toggle-group-item "+(o===n?"active":""),children:e.label},e.label))})});export{r as T,o as u};
|
||||
import{b as e}from"./recharts-CGff6_7g.js";import{j as t}from"./index-B6-Tf7Us.js";function o(t,o){const[r,n]=e.useState(t);return e.useEffect(()=>{const e=setTimeout(()=>n(t),o);return()=>clearTimeout(e)},[t,o]),r}const r=e.memo(function({ranges:e,selectedIndex:o,onSelect:r}){return t.jsx("div",{className:"toggle-group flex-shrink-0 overflow-x-auto",children:e.map((e,n)=>t.jsx("button",{onClick:()=>r(n),className:"toggle-group-item "+(o===n?"active":""),children:e.label},e.label))})});export{r as T,o as u};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CylDUtFA.js";const t=a("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);export{t as A};
|
||||
import{c as a}from"./index-B6-Tf7Us.js";const t=a("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);export{t as A};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{c}from"./index-B6-Tf7Us.js";const r=c("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);export{r as C};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c}from"./index-CylDUtFA.js";const r=c("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);export{r as C};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CylDUtFA.js";const s=a("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);export{s as H};
|
||||
import{c as a}from"./index-B6-Tf7Us.js";const s=a("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);export{s as H};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{c as e}from"./index-CylDUtFA.js";const c=e("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);export{c as I};
|
||||
import{c as e}from"./index-B6-Tf7Us.js";const c=e("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);export{c as I};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CylDUtFA.js";const e=a("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);export{e as L};
|
||||
import{c as a}from"./index-B6-Tf7Us.js";const e=a("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);export{e as L};
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CylDUtFA.js";const e=a("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{e as R};
|
||||
import{c as a}from"./index-B6-Tf7Us.js";const e=a("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{e as R};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as t}from"./index-CylDUtFA.js";const e=t("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]),h=t("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);export{e as N,h as T};
|
||||
import{c as t}from"./index-B6-Tf7Us.js";const e=t("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]),h=t("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);export{e as N,h as T};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CylDUtFA.js";const e=a("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);export{e as T};
|
||||
import{c as a}from"./index-B6-Tf7Us.js";const e=a("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);export{e as T};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CylDUtFA.js";const e=a("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);export{e as U};
|
||||
import{c as a}from"./index-B6-Tf7Us.js";const e=a("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);export{e as U};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CylDUtFA.js";const t=a("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),d=a("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),h=a("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);export{t as M,d as T,h as Z};
|
||||
import{c as a}from"./index-B6-Tf7Us.js";const t=a("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),d=a("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),h=a("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);export{t as M,d as T,h as Z};
|
||||
Vendored
+1
-1
@@ -38,7 +38,7 @@
|
||||
--font-data: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/assets/index-CylDUtFA.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-B6-Tf7Us.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/maplibre-gl-DsiI67my.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/recharts-CGff6_7g.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CLg20r2M.css">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pymc_console",
|
||||
"version": "0.6.79",
|
||||
"version": "0.6.80",
|
||||
"description": "Vite + React Dashboard for pyMC_Repeater",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
@@ -2959,8 +2959,8 @@ install_backend_service() {
|
||||
fi
|
||||
}
|
||||
|
||||
# GitHub repository for UI releases
|
||||
UI_REPO="dmduran12/pymc_console"
|
||||
# GitHub repository for UI releases (public distribution repo)
|
||||
UI_REPO="dmduran12/pymc_console-dist"
|
||||
UI_RELEASE_URL="https://github.com/${UI_REPO}/releases"
|
||||
|
||||
# Download and install dashboard from GitHub Releases
|
||||
|
||||
Reference in New Issue
Block a user