diff --git a/design-qa.md b/design-qa.md new file mode 100644 index 0000000..060ebc7 --- /dev/null +++ b/design-qa.md @@ -0,0 +1,47 @@ +# Reference design QA — 2026-10-21 + +## Source and comparison evidence + +- Source header: `C:/Users/19926/Documents/wr/work/lj_style_20261021/topnav/source-header.png`, supplied screenshot, 2622 × 184 pixels. Browser rendering normalizes the app region to 1920 × 82 CSS pixels after removing surrounding capture whitespace; no recoloring or raster editing was used. +- Source login: `C:/Users/19926/Documents/wr/work/lj_style_20261021/topnav/source-login-1920.png`, extracted from the supplied offline prototype, 1920 × 1080 pixels, deviceScaleFactor=1. +- Full comparison inputs opened and reviewed: `C:/Users/19926/Documents/wr/work/lj_style_20261021/topnav/comparison-headers.png` and `C:/Users/19926/Documents/wr/work/lj_style_20261021/topnav/comparison-login.png`. Each file contains source and rendered implementation together. +- Desktop viewport: 1920 × 1080 CSS pixels, deviceScaleFactor=1. Additional checks: 1280 × 800; login and system-fusion navigation at 390 × 844. + +## Required fidelity surfaces + +- Typography: source Chinese sans-serif hierarchy, 34px title and 18px desktop navigation retained; Microsoft YaHei/PingFang SC fallbacks. Product titles and actual menu labels intentionally follow each existing product. +- Layout: 82px top navigation replaces the previous fixed left sidebar. Original first-tab selected state, centered underline, full-screen action, horizontal navigation and header user area are compared in the normalized header image. Existing nested management menus remain functional dropdowns. Narrow screens scroll the top row rather than hide menu items. +- Colors: original green header stops #092c01 / #043e03, mint title #78dcae, cyan active state #22dec0, light underline #dbffd9, and dark green content surfaces. +- Assets: original login background, transparent panel, emblem and rule were extracted without repainting. The title decoration was rendered from the prototype's own vector widgets; source scene imagery is reused behind the green application canvas. +- Content: current product names, routes, permissions, account/password interface and service states are retained. No placeholder menu destinations, fake logout action or fake authentication challenge was introduced. + +## Comparison history + +1. Earlier P1 findings: left sidebar differed from the selected header; the old login background and compact card differed from the source. Fixed with shared top navigation and original login assets at original desktop coordinates. +2. Earlier P2 finding: the title decoration was a simple border. Fixed by extracting and using the original vector decoration; post-fix evidence is comparison-headers.png. +3. Post-fix comparison: no outstanding P0/P1/P2 issue in the requested style adaptation. Full-source and rendered-source assets, navigation hierarchy, selected states, typography and focused login region were reviewed together. Product-specific functional differences are listed below rather than represented as new capabilities. + +## Verification + +- Both frontends build successfully. The system-fusion project's existing 3 data-rule tests pass. +- 18 browser screenshots/states passed: no page script errors and no document-width overflow in the checked viewports. +- Tested top-level route changes, management dropdown navigation, opening/canceling an existing form, full-screen entry/exit, login validation, frontend login/logout routing and remembered account. The remembered value contains only the username; password is never stored. +- HD authenticated pages use isolated browser API fixtures; no live business writes or camera/stream operations were performed. System-fusion checks use the real coordinator snapshot. + +## Intentional functional boundaries + +- The existing HD login API accepts username/password only. The reference's verification-code field was not added as a nonfunctional security control. Remembering the account does not save the password. +- System fusion has no login/logout session in its existing console; its right header shows actual service state and full screen, without inventing a logged-in user or logout operation. +- Actual application titles, menu counts and data-region content differ from the source product; the visual system and header arrangement are the comparison target. + +## Implementation checklist + +- [x] Reuse original reference assets. +- [x] Move application navigation to the top in both products. +- [x] Preserve real routes and permission-filtered management menus. +- [x] Check original-source and rendered-implementation comparisons. +- [x] Verify frontend builds and the deployed coordinator's static resources. + +final result: passed + +Implementation screenshots: xtrh-receive-1920.png; xtrh-header-1920.png diff --git a/frontend/public/assets/lj-header-rule.png b/frontend/public/assets/lj-header-rule.png new file mode 100644 index 0000000..10f96bc Binary files /dev/null and b/frontend/public/assets/lj-header-rule.png differ diff --git a/frontend/public/assets/lj-scene-background.png b/frontend/public/assets/lj-scene-background.png new file mode 100644 index 0000000..baaa781 Binary files /dev/null and b/frontend/public/assets/lj-scene-background.png differ diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 535aa07..d42a521 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -1,5 +1,5 @@ import React,{useCallback,useEffect,useMemo,useState} from 'react'; -import {Radio,Activity,Send,MonitorPlay,ChartNoAxesColumn,Network,ChevronRight,RefreshCw,PanelLeftClose,Gauge,AlertCircle} from 'lucide-react'; +import {Radio,Activity,Send,MonitorPlay,ChartNoAxesColumn,Network,ChevronRight,RefreshCw,Maximize,Minimize,AlertCircle} from 'lucide-react'; import {Status} from './ui'; import {realEquipment,collectionState,effectiveEquipment} from './data.mjs'; import {ReceivePage,SyncPage} from './ReceivePages'; @@ -18,9 +18,11 @@ const currentRoute=()=>PAGES.find(item=>item.id===location.hash.slice(1))?.id||' export function App(){ const [pageId,setPageId]=useState(currentRoute),[snapshot,setSnapshot]=useState(emptySnapshot); const [contextId,setContextId]=useState(''),[selectedId,setSelectedId]=useState(''); - const [failed,setFailed]=useState(false),[loading,setLoading]=useState(true),[refreshKey,setRefreshKey]=useState(0),[collapsed,setCollapsed]=useState(false),[now,setNow]=useState(Date.now()); + const [failed,setFailed]=useState(false),[loading,setLoading]=useState(true),[refreshKey,setRefreshKey]=useState(0),[fullscreen,setFullscreen]=useState(false),[now,setNow]=useState(Date.now()); useEffect(()=>{const handler=()=>{setPageId(currentRoute());window.scrollTo(0,0);};window.addEventListener('hashchange',handler);return()=>window.removeEventListener('hashchange',handler);},[]); useEffect(()=>{const timer=setInterval(()=>setNow(Date.now()),1000);return()=>clearInterval(timer);},[]); + useEffect(()=>{const changed=()=>setFullscreen(Boolean(document.fullscreenElement));document.addEventListener('fullscreenchange',changed);return()=>document.removeEventListener('fullscreenchange',changed);},[]); + const toggleFullscreen=async()=>{try{if(document.fullscreenElement)await document.exitFullscreen();else await document.documentElement.requestFullscreen();}catch{}}; useEffect(()=>{let closed=false,timer,controller; const poll=async()=>{controller=new AbortController();const timeout=setTimeout(()=>controller.abort(),6000);try{const response=await fetch('/console/api/snapshot',{signal:controller.signal,credentials:'same-origin',cache:'no-store',headers:{Accept:'application/json'}});if(!response.ok)throw new Error('snapshot');const body=await response.json();if(!body||!Array.isArray(body.collection?.contexts)||!Array.isArray(body.nodes))throw new Error('shape');if(!closed){setSnapshot(body);setFailed(false);}}catch{if(!closed)setFailed(true);}finally{clearTimeout(timeout);if(!closed){setLoading(false);timer=setTimeout(poll,2000);}}};poll();return()=>{closed=true;clearTimeout(timer);controller?.abort();}; },[refreshKey]); @@ -34,5 +36,9 @@ export function App(){ const onSelect=useCallback(id=>setSelectedId(id),[]); const props={equipments,selectedId:selected,onSelect}; const date=new Intl.DateTimeFormat('zh-CN',{timeZone:'Asia/Shanghai',year:'numeric',month:'2-digit',day:'2-digit',hour:'2-digit',minute:'2-digit',second:'2-digit',hour12:false}).format(new Date(now)); - return
系统融合软件{page.name}

{page.name}

{page.description}

{contexts.length>0&&}
{(failed||state==='STALE')&&
{failed?'服务暂时不可用,当前显示最后一次收到的数据。':'采集数据同步已超时,当前显示最后一次收到的数据。'}
}{page.id==='receive'&&}{page.id==='sync'&&}{page.id==='virtual'&&}{page.id==='video'&&}{page.id==='metrics'&&}{page.id==='nodes'&&}
; + return
+ 系统融合软件 + +
+
系统融合软件{page.name}

{page.name}

{page.description}

{contexts.length>0&&}
{(failed||state==='STALE')&&
{failed?'服务暂时不可用,当前显示最后一次收到的数据。':'采集数据同步已超时,当前显示最后一次收到的数据。'}
}{page.id==='receive'&&}{page.id==='sync'&&}{page.id==='virtual'&&}{page.id==='video'&&}{page.id==='metrics'&&}{page.id==='nodes'&&}
; } diff --git a/frontend/src/lj-theme.css b/frontend/src/lj-theme.css new file mode 100644 index 0000000..7d2b0a6 --- /dev/null +++ b/frontend/src/lj-theme.css @@ -0,0 +1,80 @@ +/* LJ reference: dark green canvas, cyan accents and fine panel frames. */ +:root { + color-scheme: dark; + --lj-page: #031b0b; + --lj-surface: #0a301b; + --lj-surface-raised: #114025; + --lj-surface-deep: #052511; + --lj-text: #e7f5f0; + --lj-muted: #a0c3ba; + --lj-faint: #87aaa3; + --lj-accent: #22dec0; + --lj-primary: #0c8073; + --lj-border: #1b6a47; + --lj-border-strong: #379e8d; + --lj-success: #68d9a4; + --lj-warning: #efc46b; + --lj-danger: #ff9298; + --lj-accent-rgb: 34, 222, 192; + --lj-primary-rgb: 12, 128, 115; + --lj-border-rgb: 33, 93, 84; + --lj-shadow-rgb: 0, 13, 12; + --lj-text-rgb: 231, 245, 240; + --lj-surface-rgb: 11, 48, 48; + --lj-page-rgb: 6, 29, 29; +} + +body { background: var(--lj-page); } +.app { background: radial-gradient(ellipse at 75% 0, #103d35 0, transparent 65%), var(--lj-page); } +.app .sidebar { background: linear-gradient(180deg, #0b352d, #061f1c); border-right: 1px solid var(--lj-border); } +.sidebar .brand { color: var(--lj-accent); letter-spacing: 1px; } +.sidebar .brand::after { content: ''; position: absolute; bottom: 15px; left: 12px; right: 12px; height: 1px; background: linear-gradient(90deg, #22dec0, #22dec000); pointer-events: none; } +.sidebar .brand img { background: #087a67; border: 1px solid #43b79b; border-radius: 5px; } +.app .nav-link { border-radius: 3px; border-left: 3px solid transparent; } +.app .nav-link.active { background: linear-gradient(90deg, #0d6652, #0b3a31); color: #c8ffee; border-left-color: var(--lj-accent); box-shadow: inset 0 1px 0 #22dec012; } +.app .nav-link.active svg { color: var(--lj-accent); } +.app .nav-link:hover { background-color: #124639; } +.app .topbar { position: relative; color: var(--lj-muted); background: linear-gradient(180deg, #0b3431, #062623); border-bottom-color: var(--lj-border-strong); box-shadow: 0 4px 24px #000f0e38; } +.app .topbar::after { content: ''; position: absolute; bottom: -1px; left: 29px; width: 170px; height: 2px; background: linear-gradient(90deg, var(--lj-accent), transparent); pointer-events: none; } +.page-heading h1 { position: relative; padding-left: 15px; color: var(--lj-text); } +.page-heading h1::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 3px; background: var(--lj-accent); box-shadow: 0 0 10px #22dec044; } +.app .panel { position: relative; border-color: var(--lj-border); border-radius: 4px; box-shadow: inset 0 1px 0 #53cab220, 0 8px 24px #000d0c20; } +.app .panel::before { content: ''; position: absolute; top: 0; left: 18px; width: 66px; height: 2px; background: var(--lj-accent); box-shadow: 0 0 12px #22dec050; pointer-events: none; } +.panel .panel-title { background: linear-gradient(90deg, #11443d, #0b3030); border-bottom: 1px solid #215d5466; } +.panel .panel-title h2 { color: #c5efe0; } +.app .equipment-row.selected { background: linear-gradient(90deg, #155242, #0c3831); border-left-color: var(--lj-accent); } +.app .equipment-heading > svg { color: var(--lj-accent); } +.app .data-table th, .app .secondary-table th { color: #badfd1; background: #114435; border-color: #25624e; } +.app .data-table td, .app .secondary-table td { border-color: #215246; } +.app .data-table tr.selected { background: #103d32; } +.app .receive-table tbody tr:hover, .app .secondary-table tbody tr:hover { background: #144638; } +.app .refresh-button:hover { color: #8ff4d6; border-color: var(--lj-accent); background: #104b3d; } +.app .search-input:focus-within, .app .secondary-search:focus-within { border-color: var(--lj-accent); box-shadow: 0 0 0 2px #22dec018; } +.app .status-good, .app .node-state-online { color: var(--lj-success); } +.app .status-warn { color: var(--lj-warning); } +.app .status-bad { color: var(--lj-danger); } +.app .source-notice { color: #efd39b; background: #3a321f; border-color: #746039; } +.app .video-stage { background: #041c19; border: 1px solid #286b58; } +.app .video-metrics-overlay { background: #0a342eea; border-color: #3b8e77; } +.app .video-control-bar { background: #092c25; } +select option { background: var(--lj-surface); color: var(--lj-text); } +@media(max-width:650px) { .app .equipment-row.selected { border-top-color: var(--lj-accent); } } + +.app { background: linear-gradient(180deg, rgba(3,49,16,.95), rgba(1,15,6,.98)), url('/console/assets/lj-scene-background.png') center / cover fixed; } +.app .main-shell { margin-left: 0; min-height: calc(100vh - 82px); } +.reference-console-header { position: sticky; top: 0; z-index: 1000; display: grid; grid-template-columns: minmax(270px, 30%) minmax(0, 1fr) auto; align-items: center; gap: 26px; height: 82px; padding: 0 2.4% 0 5.4%; color: #f2fff0; background: linear-gradient(180deg, #092c01 0%, #043e03 53%, #092c01 100%); border-bottom: 1px solid #174c15; } +.reference-console-brand { display: flex; align-items: center; align-self: stretch; padding-bottom: 2px; color: #78dcae; font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; font-size: clamp(24px, 1.77vw, 34px); font-weight: 700; letter-spacing: 1px; white-space: nowrap; border-bottom: 1px solid #36a34c; text-shadow: 0 1px 1px #001e01; } +.reference-console-navigation { display: flex; align-items: stretch; height: 82px; gap: clamp(16px, 1.4vw, 28px); min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #388e54 transparent; } +.reference-console-navigation::-webkit-scrollbar { height: 3px; }.reference-console-navigation::-webkit-scrollbar-thumb { background: #388e54; } +.reference-nav-link { position: relative; display: flex; flex: none; align-items: center; color: #f2fff0; font-size: clamp(14px, .94vw, 18px); white-space: nowrap; } +.reference-nav-link:hover, .reference-nav-link.active { color: #22dec0; }.reference-nav-link.active { font-weight: 700; } +.reference-nav-link.active::after { content: ''; position: absolute; height: 3px; width: 46px; bottom: 0; left: calc(50% - 23px); background: #dbffd9; } +.reference-console-actions { display: flex; align-items: center; gap: 20px; white-space: nowrap; } +.reference-console-actions button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 34px; padding: 0; color: #f2fff0; background: transparent; border: 0; }.reference-console-actions button:hover { color: #22dec0; } +.reference-console-actions .status { color: #d8f2d7; font-size: 14px; }.reference-console-actions .status-good i { color: #68d9a4; } +.console-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 0 30px; border-bottom: 1px solid #1a4d2c; } +.app main { max-width: none; }.app .equipment-layout, .app .secondary-equipment-layout { grid-template-columns: 320px minmax(0, 1fr); } +@media(max-width:1400px) { .reference-console-header { grid-template-columns: minmax(235px, 25%) minmax(0, 1fr) auto; gap: 16px; padding-inline: 3%; }.reference-console-actions { gap: 13px; }.app .equipment-layout, .app .secondary-equipment-layout { grid-template-columns: 270px minmax(0, 1fr); } } +@media(max-width:800px) { .reference-console-header { height: auto; min-height: 112px; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 0 16px; }.reference-console-brand { height: 60px; font-size: 23px; }.reference-console-actions { grid-column: 2; grid-row: 1; }.reference-console-navigation { grid-column: 1 / -1; grid-row: 2; height: 52px; }.console-meta { padding-inline: 17px; }.console-meta .service-state { display: none; }.app .equipment-layout, .app .secondary-equipment-layout { grid-template-columns: 1fr; }.app .main-shell { min-height: calc(100vh - 112px); } } + +.reference-console-brand { border-bottom: 0; background: url('/console/assets/lj-header-rule.png') left bottom / 100% 14px no-repeat; } diff --git a/frontend/src/secondary.css b/frontend/src/secondary.css index eb2024c..c616657 100644 --- a/frontend/src/secondary.css +++ b/frontend/src/secondary.css @@ -1,71 +1,71 @@ .secondary-equipment-layout { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 18px; align-items: stretch; } .secondary-detail-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; } -.secondary-search { display: flex; align-items: center; gap: 10px; width: 330px; max-width: 100%; min-height: 40px; padding: 0 12px; color: #647e9f; border: 1px solid #d6e2f0; border-radius: 6px; background: #fff; } -.secondary-search:focus-within { border-color: #3280d4; box-shadow: 0 0 0 3px #2b7bd316; } -.secondary-search input { width: 100%; min-width: 0; height: 38px; padding: 0; color: #203753; font: inherit; font-size: 13px; border: 0; outline: 0; background: transparent; } -.secondary-search input::placeholder { color: #7d91ab; } +.secondary-search { display: flex; align-items: center; gap: 10px; width: 330px; max-width: 100%; min-height: 40px; padding: 0 12px; color: var(--lj-muted); border: 1px solid var(--lj-border); border-radius: 6px; background: var(--lj-surface); } +.secondary-search:focus-within { border-color: var(--lj-border-strong); box-shadow: 0 0 0 3px rgba(var(--lj-shadow-rgb), 0.0863); } +.secondary-search input { width: 100%; min-width: 0; height: 38px; padding: 0; color: var(--lj-text); font: inherit; font-size: 13px; border: 0; outline: 0; background: transparent; } +.secondary-search input::placeholder { color: var(--lj-muted); } .secondary-list-search { padding: 0 18px 18px; } .secondary-list-search .secondary-search { width: auto; } .secondary-panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; } -.secondary-muted, .secondary-blank { color: #8294ac; } +.secondary-muted, .secondary-blank { color: var(--lj-muted); } .secondary-blank { white-space: nowrap; font-variant-numeric: tabular-nums; } -.secondary-blank small { margin-left: 8px; color: #8294ac; font-size: 12px; } -.secondary-unavailable { display: inline-flex; align-items: center; gap: 7px; color: #8393a9; white-space: nowrap; font-size: 13px; } +.secondary-blank small { margin-left: 8px; color: var(--lj-muted); font-size: 12px; } +.secondary-unavailable { display: inline-flex; align-items: center; gap: 7px; color: var(--lj-muted); white-space: nowrap; font-size: 13px; } .secondary-unavailable i, .node-state i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: currentColor; } .secondary-table-scroll { width: 100%; overflow-x: auto; } -.secondary-table { width: 100%; border-spacing: 0; border-collapse: collapse; table-layout: fixed; color: #294360; font-size: 13px; } -.secondary-table th { height: 48px; padding: 12px 14px; color: #5c7798; background: #f4f8fc; border: 1px solid #e1eaf4; font-weight: 500; text-align: left; } -.secondary-table td { height: 83px; padding: 17px 14px; border: 1px solid #e1eaf4; vertical-align: middle; } +.secondary-table { width: 100%; border-spacing: 0; border-collapse: collapse; table-layout: fixed; color: var(--lj-text); font-size: 13px; } +.secondary-table th { height: 48px; padding: 12px 14px; color: var(--lj-muted); background: var(--lj-surface); border: 1px solid var(--lj-border); font-weight: 500; text-align: left; } +.secondary-table td { height: 83px; padding: 17px 14px; border: 1px solid var(--lj-border); vertical-align: middle; } .secondary-table th svg { display: inline-block; margin: 0 6px -2px 0; } -.secondary-table tbody tr:hover { background: #f9fbfe; } +.secondary-table tbody tr:hover { background: var(--lj-surface); } .secondary-table .secondary-empty-cell { height: 230px; padding: 30px 16px; text-align: center; } -.secondary-table .secondary-empty-cell:hover { background: #fff; } +.secondary-table .secondary-empty-cell:hover { background: var(--lj-surface); } .secondary-column-unit { white-space: nowrap; } -.secondary-panel-note { margin: 20px 0 0; color: #7f94ae; font-size: 12px; line-height: 1.6; } +.secondary-panel-note { margin: 20px 0 0; color: var(--lj-muted); font-size: 12px; line-height: 1.6; } .virtual-list-panel { min-height: 650px; } .virtual-list-empty { display: grid; place-items: center; padding: 80px 18px 28px; } -.virtual-unselected-header { display: flex; align-items: center; gap: 18px; padding: 23px; min-height: 100px; border: 1px solid #dfe8f3; border-radius: 8px; background: #fff; } -.virtual-equipment-icon { display: grid; place-items: center; width: 48px; height: 48px; color: #a2b5cc; background: #f2f6fb; border-radius: 9px; } -.virtual-unselected-header h2, .video-unselected-header h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: #566d89; } -.virtual-unselected-header p, .video-unselected-header p { margin: 0; color: #8396ae; font-size: 13px; } +.virtual-unselected-header { display: flex; align-items: center; gap: 18px; padding: 23px; min-height: 100px; border: 1px solid var(--lj-border); border-radius: 8px; background: var(--lj-surface); } +.virtual-equipment-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--lj-muted); background: var(--lj-surface); border-radius: 9px; } +.virtual-unselected-header h2, .video-unselected-header h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: var(--lj-muted); } +.virtual-unselected-header p, .video-unselected-header p { margin: 0; color: var(--lj-muted); font-size: 13px; } .virtual-unselected-header p span { margin-left: 12px; } .virtual-unselected-header > .secondary-unavailable { margin-left: auto; } .virtual-state-body { padding: 0; } -.virtual-health-row { display: flex; align-items: center; gap: 20px; padding: 20px 22px; background: #f9fbfe; border: 1px solid #e5edf6; border-radius: 5px; } -.virtual-health-row > svg { color: #9badc2; } -.virtual-health-label { color: #66809f; font-size: 14px; } -.virtual-health-row strong { color: #8195ad; font-size: 23px; font-weight: 500; white-space: nowrap; } -.virtual-health-track { flex: 1; height: 10px; margin-left: 8px; border-radius: 6px; background: #e7edf5; } +.virtual-health-row { display: flex; align-items: center; gap: 20px; padding: 20px 22px; background: var(--lj-surface); border: 1px solid var(--lj-border); border-radius: 5px; } +.virtual-health-row > svg { color: var(--lj-muted); } +.virtual-health-label { color: var(--lj-muted); font-size: 14px; } +.virtual-health-row strong { color: var(--lj-muted); font-size: 23px; font-weight: 500; white-space: nowrap; } +.virtual-health-track { flex: 1; height: 10px; margin-left: 8px; border-radius: 6px; background: var(--lj-surface-raised); } .virtual-position-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 36px; padding: 23px 12px 4px; } .virtual-position-item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; font-size: 14px; } -.virtual-position-item > span:first-child { color: #6783a3; } +.virtual-position-item > span:first-child { color: var(--lj-muted); } .virtual-overview-table { min-width: 620px; } .virtual-overview-table th:first-child { width: 23%; } .virtual-overview-table th:nth-child(3) { width: 33%; } .video-main-panel { min-width: 0; overflow: hidden; } -.video-unselected-header { display: flex; align-items: center; gap: 18px; min-height: 91px; color: #91a6bf; } +.video-unselected-header { display: flex; align-items: center; gap: 18px; min-height: 91px; color: var(--lj-muted); } .video-main-panel > .panel-header:empty { display: none; } -.video-stage { position: relative; display: flex; flex-direction: column; min-height: 480px; aspect-ratio: 16 / 10; overflow: hidden; background: #101d2c; border-radius: 6px; } -.video-empty-frame { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 180px 24px 36px; color: #5f7893; text-align: center; } -.video-empty-frame h3 { margin: 16px 0 9px; color: #c1cede; font-size: 19px; font-weight: 500; } -.video-empty-frame p { margin: 0; color: #7d92a9; font-size: 13px; line-height: 1.7; } -.video-metrics-overlay { position: absolute; top: 18px; right: 18px; width: 222px; padding: 15px 17px; color: #dfe7f0; border: 1px solid #52667c50; border-radius: 7px; background: #223246e8; } -.video-overlay-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid #a4b4c12b; } +.video-stage { position: relative; display: flex; flex-direction: column; min-height: 480px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lj-page); border-radius: 6px; } +.video-empty-frame { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 180px 24px 36px; color: var(--lj-muted); text-align: center; } +.video-empty-frame h3 { margin: 16px 0 9px; color: var(--lj-faint); font-size: 19px; font-weight: 500; } +.video-empty-frame p { margin: 0; color: var(--lj-muted); font-size: 13px; line-height: 1.7; } +.video-metrics-overlay { position: absolute; top: 18px; right: 18px; width: 222px; padding: 15px 17px; color: var(--lj-faint); border: 1px solid rgba(var(--lj-border-rgb), 0.3137); border-radius: 7px; background: rgba(var(--lj-page-rgb), 0.9098); } +.video-overlay-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid rgba(var(--lj-border-rgb), 0.1686); } .video-overlay-heading strong { font-size: 14px; } -.video-overlay-heading > span { max-width: 102px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9fb2c7; font-size: 11px; } +.video-overlay-heading > span { max-width: 102px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lj-muted); font-size: 11px; } .video-metrics-overlay dl { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 0; font-size: 12px; } .video-metrics-overlay dl > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; } -.video-metrics-overlay dt { color: #c1cede; } -.video-metrics-overlay dd { margin: 0; color: #a9bbcf; white-space: nowrap; } -.video-metrics-overlay dd small { margin-left: 6px; color: #8098b3; font-size: 10px; } -.video-control-bar { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 16px; color: #8195ad; background: #1c2a3a; } -.video-control-bar .secondary-unavailable { color: #879bb2; font-size: 12px; } -.video-control-divider { height: 21px; width: 1px; background: #47596d; } -.video-control-bar button { display: grid; place-items: center; min-width: 25px; padding: 5px 0; border: 0; color: #768b9f; background: none; } +.video-metrics-overlay dt { color: var(--lj-faint); } +.video-metrics-overlay dd { margin: 0; color: var(--lj-faint); white-space: nowrap; } +.video-metrics-overlay dd small { margin-left: 6px; color: var(--lj-muted); font-size: 10px; } +.video-control-bar { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 16px; color: var(--lj-muted); background: var(--lj-surface-deep); } +.video-control-bar .secondary-unavailable { color: var(--lj-muted); font-size: 12px; } +.video-control-divider { height: 21px; width: 1px; background: var(--lj-surface-deep); } +.video-control-bar button { display: grid; place-items: center; min-width: 25px; padding: 5px 0; border: 0; color: var(--lj-muted); background: none; } .video-control-bar button:disabled { cursor: not-allowed; opacity: .55; } -.video-volume-track { width: 96px; height: 3px; border-radius: 3px; background: #3f5369; } +.video-volume-track { width: 96px; height: 3px; border-radius: 3px; background: var(--lj-surface-deep); } .video-resolution { margin-left: auto; font-size: 11px; white-space: nowrap; } .fusion-metrics-panel { min-height: 550px; } @@ -75,11 +75,11 @@ .fusion-metrics-table td:not(:first-child), .fusion-metrics-table th:not(:first-child) { text-align: center; } .fusion-metrics-table td { height: 93px; } .fusion-equipment-name { display: flex; align-items: center; gap: 14px; } -.fusion-equipment-name > svg { color: #287dcb; flex-shrink: 0; } +.fusion-equipment-name > svg { color: var(--lj-accent); flex-shrink: 0; } .fusion-equipment-name > div { min-width: 0; } -.fusion-equipment-name strong { display: block; color: #1b395c; font-size: 15px; font-weight: 600; word-break: break-word; } -.fusion-equipment-name span { display: block; margin-top: 7px; color: #7e94b0; font-size: 12px; word-break: break-all; } -.fusion-metrics-footer { margin: 22px 0 0; color: #7b93b0; font-size: 13px; } +.fusion-equipment-name strong { display: block; color: var(--lj-text); font-size: 15px; font-weight: 600; word-break: break-word; } +.fusion-equipment-name span { display: block; margin-top: 7px; color: var(--lj-muted); font-size: 12px; word-break: break-all; } +.fusion-metrics-footer { margin: 22px 0 0; color: var(--lj-muted); font-size: 13px; } .node-status-table { min-width: 1020px; } .node-status-table th:first-child { width: 250px; } @@ -88,23 +88,23 @@ .node-status-table th:last-child { width: 115px; } .node-status-table td { height: 96px; } .node-identity { display: flex; align-items: center; gap: 15px; } -.node-identity > svg { flex-shrink: 0; color: #267bd1; } +.node-identity > svg { flex-shrink: 0; color: var(--lj-accent); } .node-identity > div { min-width: 0; } -.node-identity strong { display: block; color: #193a5c; font-size: 15px; font-weight: 600; word-break: break-word; } -.node-identity span { display: block; margin-top: 7px; color: #7a91ad; font-size: 11px; overflow-wrap: anywhere; } +.node-identity strong { display: block; color: var(--lj-text); font-size: 15px; font-weight: 600; word-break: break-word; } +.node-identity span { display: block; margin-top: 7px; color: var(--lj-muted); font-size: 11px; overflow-wrap: anywhere; } .node-state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; } -.node-state-online { color: #0da76a; } -.node-state-offline, .node-state-unknown { color: #8092aa; } -.node-network-panel { margin-top: 24px; padding: 18px; border: 1px solid #e0e9f4; border-radius: 6px; } -.node-network-panel h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid #e6edf6; font-size: 15px; font-weight: 600; color: #234363; } +.node-state-online { color: var(--lj-success); } +.node-state-offline, .node-state-unknown { color: var(--lj-muted); } +.node-network-panel { margin-top: 24px; padding: 18px; border: 1px solid var(--lj-border); border-radius: 6px; } +.node-network-panel h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--lj-border); font-size: 15px; font-weight: 600; color: var(--lj-text); } .node-network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .node-network-item { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 7px 0; } -.node-network-item > svg { flex-shrink: 0; color: #287dc9; } +.node-network-item > svg { flex-shrink: 0; color: var(--lj-accent); } .node-network-item > div { min-width: 0; } -.node-network-item strong { display: block; color: #294664; font-size: 13px; font-weight: 600; word-break: break-word; } -.node-network-item > div > span { display: block; margin-top: 6px; color: #8294aa; font-size: 11px; } +.node-network-item strong { display: block; color: var(--lj-text); font-size: 13px; font-weight: 600; word-break: break-word; } +.node-network-item > div > span { display: block; margin-top: 6px; color: var(--lj-muted); font-size: 11px; } .node-network-item > .node-state { margin-left: auto; } -.node-network-empty { margin: 28px 0; color: #8b9bb0; text-align: center; font-size: 13px; } +.node-network-empty { margin: 28px 0; color: var(--lj-muted); text-align: center; font-size: 13px; } @media (max-width: 1220px) { .secondary-equipment-layout { grid-template-columns: 260px minmax(0, 1fr); } diff --git a/frontend/src/styles.css b/frontend/src/styles.css index ac16881..b950afd 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -1,10 +1,11 @@ +@import './lj-theme.css'; @import './secondary.css'; -:root{font-family:'Microsoft YaHei','Segoe UI',sans-serif;color:#263e5b;background:#f4f6fa;font-synthesis:none;font-size:14px;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased} -*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:2px solid #276cc0;outline-offset:3px}button{border:0}input,select{color:#314d70}input::placeholder{color:#8d9bb1}svg{flex-shrink:0}time,.mono{font-variant-numeric:tabular-nums}.muted{color:#8797ac;font-size:12px} -.sidebar{width:246px;background:#172c46;color:#becddd;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:27px 13px 24px;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 30px;color:#fff;position:relative;white-space:nowrap}.brand img{width:43px;height:43px}.brand strong{font-size:18px;font-weight:600}.collapse-toggle{display:grid;place-items:center;width:23px;height:25px;background:#ffffff06;color:#9eb3cc;border:1px solid #ffffff20;border-radius:4px;position:absolute;right:0;bottom:9px}.sidebar nav{padding-top:16px}.nav-link{display:flex;align-items:center;gap:20px;padding:16px 16px;margin:6px 0 12px;border-radius:7px;font-size:15px;white-space:nowrap;min-height:54px}.nav-link:hover{background:#ffffff0b}.nav-link.active{background:#2c5d97;color:#fff;font-weight:600}.nav-link svg{color:#a5bdd6}.nav-link.active svg{color:#f2f8ff}.sidebar-foot{margin-top:auto;display:flex;gap:19px;align-items:center;border-top:1px solid #ffffff14;padding:25px 17px 3px;font-size:14px;color:#bdcede}.main-shell{margin-left:246px;min-height:100vh;display:flex;flex-direction:column;min-width:0}.topbar{height:64px;min-height:64px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-bottom:1px solid #e1e8f0;font-size:13px}.breadcrumb{display:flex;align-items:center;gap:13px;color:#7e90a9;white-space:nowrap}.breadcrumb strong{color:#344c6b;font-weight:600}.service-state{display:flex;gap:22px;align-items:center;white-space:nowrap}.service-state time{border-left:1px solid #d7e1ed;padding-left:22px;color:#6e84a3;font-size:12px}main{padding:28px 29px 0;flex:1;min-width:0;max-width:1900px;width:100%;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;min-height:70px}.page-heading h1{font-size:27px;line-height:1.35;font-weight:650;color:#1f3653;letter-spacing:.2px}.page-heading p{margin-top:8px;color:#7b8fa8;line-height:1.5;font-size:14px}.heading-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}.refresh-button{display:flex;gap:7px;align-items:center;padding:9px 12px;min-height:38px;background:#fff;border:1px solid #dce5ef;border-radius:5px;color:#6b80a0;font-size:12px}.refresh-button:hover{border-color:#276cc0;color:#276cc0}.context-select{display:flex;align-items:center;gap:10px;color:#7a8ca4;font-size:12px}.context-select select{max-width:260px;border:1px solid #d9e3ef;border-radius:5px;background:#fff;padding:10px 28px 10px 11px;min-width:120px}.panel{background:#fff;border:1px solid #dfe7f1;border-radius:7px;min-width:0;overflow:hidden}.panel-title{padding:19px 20px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:56px}.panel-title h2{font-size:17px;color:#253f5f;font-weight:600}.panel-extra{font-size:12px;color:#8193ab}.equipment-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;min-height:650px;align-items:stretch}.equipment-list{min-height:650px}.equipment-list .panel-title{padding-bottom:14px}.search-input{display:flex;align-items:center;gap:10px;border:1px solid #cfdbeb;border-radius:5px;min-height:42px;padding:0 12px;margin:4px 20px 20px;color:#708baa;min-width:0}.search-input input{background:transparent;width:100%;min-width:0;border:0;outline:none!important;padding:10px 0;font-size:13px}.search-input:focus-within{border-color:#4384c7;box-shadow:0 0 0 2px #276cc014}.equipment-rows{border-top:1px solid #e5ecf4}.equipment-row{display:flex;align-items:center;gap:14px;min-height:92px;width:100%;padding:18px 18px 18px 23px;background:#fff;color:#2873bf;text-align:left;border-bottom:1px solid #e3ebf4;border-left:3px solid transparent}.equipment-row:hover{background:#f6faff}.equipment-row.selected{background:#eaf3ff;border-left-color:#3284df}.equipment-row-copy{min-width:0;flex:1}.equipment-row-copy strong{display:block;font-weight:600;color:#273f61;font-size:15px;overflow-wrap:anywhere}.equipment-row-copy small{display:block;color:#8198b4;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.equipment-row .status{font-size:11px;gap:5px;max-width:86px;white-space:normal;line-height:1.45}.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;line-height:1.45}.status i{width:7px;height:7px;flex:none;background:currentColor;border-radius:50%}.status-good{color:#14965c}.status-warn{color:#bf881c}.status-bad{color:#c25b48}.status-muted{color:#879bb6}.detail-stack{display:flex;flex-direction:column;gap:12px;min-width:0}.equipment-header{display:flex;align-items:center;justify-content:space-between;padding:24px 25px;gap:18px;min-height:106px}.equipment-heading{display:flex;align-items:center;gap:23px;min-width:0;color:#2778c2}.equipment-heading h2{font-size:24px;color:#213b60;font-weight:600;overflow-wrap:anywhere}.equipment-heading p{font-size:12px;color:#8297b4;margin-top:7px;line-height:1.5}.equipment-heading p span{margin:0 11px}.equipment-heading>.status{background:#eaf7f0;padding:5px 9px;border-radius:3px;margin-left:3px}.equipment-updated{font-size:12px;color:#8b9db5;white-space:nowrap}.equipment-updated time{color:#607c9f;margin-left:9px}.table-scroll{overflow:auto;max-width:100%}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.data-table th{background:#f6f8fc;color:#7c91ad;font-size:12px;font-weight:500;padding:14px 19px;border-block:1px solid #e5ecf4;white-space:nowrap}.data-table td{border-bottom:1px solid #e5ecf4;padding:19px;vertical-align:middle;color:#426185;font-variant-numeric:tabular-nums}.data-table tr:last-child td{border-bottom:0}.data-table tr.selected{background:#f3f8ff}.data-table td strong{font-weight:500;color:#334f72}.data-table td small{display:block;font-size:11px;color:#8d9eb3;margin-top:5px}.receive-table tbody tr{cursor:pointer}.receive-table tbody tr:hover{background:#f6faff}.receive-table td.parameter-value{overflow-wrap:anywhere;min-width:130px;max-width:450px}.receive-table td:first-child{min-width:145px}.receive-table td time{white-space:nowrap}.value-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;margin:0;padding:14px 24px 25px}.value-details>div{min-width:0;border-left:1px solid #e2ebf6;padding-left:16px}.value-details dt{color:#8095b1;font-size:12px;margin-bottom:11px}.value-details dd{margin:0;font-size:16px;color:#2e4c73;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;min-height:190px;padding:34px 24px;color:#94a9c0}.empty-state strong{font-size:15px;font-weight:500;color:#6d88a7}.empty-state p{max-width:450px;font-size:12px;line-height:1.8;color:#8c9fb6}.equipment-list .empty-state{min-height:240px;padding-inline:18px}.unselected-panel{min-height:650px;display:flex;align-items:center;justify-content:center}.unselected-panel .empty-state{min-height:400px}.sync-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 20px 22px}.sync-values>div{border:1px solid #e1eaf5;padding:17px 18px}.sync-values span{font-size:13px;color:#7289a8}.sync-values strong{display:block;font-size:27px;font-weight:600;margin-top:12px;color:#5d7ba0}.sync-values small{font-size:12px;font-weight:400}.sync-values p{margin-top:8px;font-size:11px;color:#91a3ba}.source-notice{display:flex;align-items:center;gap:8px;background:#fff7e8;border:1px solid #f2e3c5;color:#a27f3f;font-size:12px;padding:11px 15px;border-radius:5px;margin-bottom:16px;line-height:1.7}.app-footer{padding:23px 29px;font-size:11px;color:#92a5be;display:flex;align-items:center;justify-content:space-between;gap:12px}.nav-collapsed .sidebar{width:76px;padding-inline:10px}.nav-collapsed .main-shell{margin-left:76px}.nav-collapsed .brand{padding:0 6px 28px}.nav-collapsed .brand img{width:43px;height:43px}.nav-collapsed .brand strong,.nav-collapsed .nav-link span,.nav-collapsed .sidebar-foot span{display:none}.nav-collapsed .nav-link{padding:15px;justify-content:center}.nav-collapsed .sidebar-foot{padding:24px 17px 3px}.nav-collapsed .collapse-toggle{bottom:-4px;right:16px} -.brand img{background:#4b92d5;border-radius:10px;padding:5px}.sidebar nav{padding-top:3px}.secondary-equipment-layout{grid-template-columns:290px minmax(0,1fr);gap:12px}.video-unselected-header{padding:23px}.virtual-state-body{padding:0 20px 20px}.virtual-overview-panel>.secondary-table-scroll,.fusion-metrics-panel>.secondary-table-scroll,.node-page>.secondary-table-scroll{width:calc(100% - 40px);margin-inline:20px}.secondary-panel-toolbar{margin-inline:20px}.node-page>.node-network-panel{margin:24px 20px 0}.secondary-panel-note{margin:20px}.fusion-metrics-panel,.node-page{padding-bottom:18px} +:root{font-family:'Microsoft YaHei','Segoe UI',sans-serif;color:var(--lj-text);background:var(--lj-surface);font-synthesis:none;font-size:14px;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased} +*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:2px solid var(--lj-border-strong);outline-offset:3px}button{border:0}input,select{color:var(--lj-text)}input::placeholder{color:var(--lj-muted)}svg{flex-shrink:0}time,.mono{font-variant-numeric:tabular-nums}.muted{color:var(--lj-muted);font-size:12px} +.sidebar{width:246px;background:var(--lj-surface-deep);color:var(--lj-faint);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:27px 13px 24px;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 30px;color:var(--lj-text);position:relative;white-space:nowrap}.brand img{width:43px;height:43px}.brand strong{font-size:18px;font-weight:600}.collapse-toggle{display:grid;place-items:center;width:23px;height:25px;background:rgba(var(--lj-surface-rgb), 0.0235);color:var(--lj-muted);border:1px solid rgba(var(--lj-border-rgb), 0.1255);border-radius:4px;position:absolute;right:0;bottom:9px}.sidebar nav{padding-top:16px}.nav-link{display:flex;align-items:center;gap:20px;padding:16px 16px;margin:6px 0 12px;border-radius:7px;font-size:15px;white-space:nowrap;min-height:54px}.nav-link:hover{background:rgba(var(--lj-surface-rgb), 0.0431)}.nav-link.active{background:var(--lj-primary);color:var(--lj-text);font-weight:600}.nav-link svg{color:var(--lj-faint)}.nav-link.active svg{color:var(--lj-text)}.sidebar-foot{margin-top:auto;display:flex;gap:19px;align-items:center;border-top:1px solid rgba(var(--lj-border-rgb), 0.0784);padding:25px 17px 3px;font-size:14px;color:var(--lj-faint)}.main-shell{margin-left:246px;min-height:100vh;display:flex;flex-direction:column;min-width:0}.topbar{height:64px;min-height:64px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--lj-surface);border-bottom:1px solid var(--lj-border);font-size:13px}.breadcrumb{display:flex;align-items:center;gap:13px;color:var(--lj-muted);white-space:nowrap}.breadcrumb strong{color:var(--lj-text);font-weight:600}.service-state{display:flex;gap:22px;align-items:center;white-space:nowrap}.service-state time{border-left:1px solid var(--lj-border);padding-left:22px;color:var(--lj-muted);font-size:12px}main{padding:28px 29px 0;flex:1;min-width:0;max-width:1900px;width:100%;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;min-height:70px}.page-heading h1{font-size:27px;line-height:1.35;font-weight:650;color:var(--lj-text);letter-spacing:.2px}.page-heading p{margin-top:8px;color:var(--lj-muted);line-height:1.5;font-size:14px}.heading-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}.refresh-button{display:flex;gap:7px;align-items:center;padding:9px 12px;min-height:38px;background:var(--lj-surface);border:1px solid var(--lj-border);border-radius:5px;color:var(--lj-muted);font-size:12px}.refresh-button:hover{border-color:var(--lj-border-strong);color:var(--lj-accent)}.context-select{display:flex;align-items:center;gap:10px;color:var(--lj-muted);font-size:12px}.context-select select{max-width:260px;border:1px solid var(--lj-border);border-radius:5px;background:var(--lj-surface);padding:10px 28px 10px 11px;min-width:120px}.panel{background:var(--lj-surface);border:1px solid var(--lj-border);border-radius:7px;min-width:0;overflow:hidden}.panel-title{padding:19px 20px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:56px}.panel-title h2{font-size:17px;color:var(--lj-text);font-weight:600}.panel-extra{font-size:12px;color:var(--lj-muted)}.equipment-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;min-height:650px;align-items:stretch}.equipment-list{min-height:650px}.equipment-list .panel-title{padding-bottom:14px}.search-input{display:flex;align-items:center;gap:10px;border:1px solid var(--lj-border);border-radius:5px;min-height:42px;padding:0 12px;margin:4px 20px 20px;color:var(--lj-muted);min-width:0}.search-input input{background:transparent;width:100%;min-width:0;border:0;outline:none!important;padding:10px 0;font-size:13px}.search-input:focus-within{border-color:var(--lj-border);box-shadow:0 0 0 2px rgba(var(--lj-shadow-rgb), 0.0784)}.equipment-rows{border-top:1px solid var(--lj-border)}.equipment-row{display:flex;align-items:center;gap:14px;min-height:92px;width:100%;padding:18px 18px 18px 23px;background:var(--lj-surface);color:var(--lj-accent);text-align:left;border-bottom:1px solid var(--lj-border);border-left:3px solid transparent}.equipment-row:hover{background:var(--lj-surface)}.equipment-row.selected{background:var(--lj-surface);border-left-color:var(--lj-border-strong)}.equipment-row-copy{min-width:0;flex:1}.equipment-row-copy strong{display:block;font-weight:600;color:var(--lj-text);font-size:15px;overflow-wrap:anywhere}.equipment-row-copy small{display:block;color:var(--lj-muted);font-size:12px;margin-top:5px;overflow-wrap:anywhere}.equipment-row .status{font-size:11px;gap:5px;max-width:86px;white-space:normal;line-height:1.45}.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;line-height:1.45}.status i{width:7px;height:7px;flex:none;background:currentColor;border-radius:50%}.status-good{color:var(--lj-text)}.status-warn{color:var(--lj-warning)}.status-bad{color:var(--lj-danger)}.status-muted{color:var(--lj-muted)}.detail-stack{display:flex;flex-direction:column;gap:12px;min-width:0}.equipment-header{display:flex;align-items:center;justify-content:space-between;padding:24px 25px;gap:18px;min-height:106px}.equipment-heading{display:flex;align-items:center;gap:23px;min-width:0;color:var(--lj-accent)}.equipment-heading h2{font-size:24px;color:var(--lj-text);font-weight:600;overflow-wrap:anywhere}.equipment-heading p{font-size:12px;color:var(--lj-muted);margin-top:7px;line-height:1.5}.equipment-heading p span{margin:0 11px}.equipment-heading>.status{background:var(--lj-surface-raised);padding:5px 9px;border-radius:3px;margin-left:3px}.equipment-updated{font-size:12px;color:var(--lj-muted);white-space:nowrap}.equipment-updated time{color:var(--lj-muted);margin-left:9px}.table-scroll{overflow:auto;max-width:100%}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.data-table th{background:var(--lj-surface);color:var(--lj-muted);font-size:12px;font-weight:500;padding:14px 19px;border-block:1px solid var(--lj-border);white-space:nowrap}.data-table td{border-bottom:1px solid var(--lj-border);padding:19px;vertical-align:middle;color:var(--lj-muted);font-variant-numeric:tabular-nums}.data-table tr:last-child td{border-bottom:0}.data-table tr.selected{background:var(--lj-surface)}.data-table td strong{font-weight:500;color:var(--lj-text)}.data-table td small{display:block;font-size:11px;color:var(--lj-muted);margin-top:5px}.receive-table tbody tr{cursor:pointer}.receive-table tbody tr:hover{background:var(--lj-surface)}.receive-table td.parameter-value{overflow-wrap:anywhere;min-width:130px;max-width:450px}.receive-table td:first-child{min-width:145px}.receive-table td time{white-space:nowrap}.value-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;margin:0;padding:14px 24px 25px}.value-details>div{min-width:0;border-left:1px solid var(--lj-border);padding-left:16px}.value-details dt{color:var(--lj-muted);font-size:12px;margin-bottom:11px}.value-details dd{margin:0;font-size:16px;color:var(--lj-text);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;min-height:190px;padding:34px 24px;color:var(--lj-muted)}.empty-state strong{font-size:15px;font-weight:500;color:var(--lj-muted)}.empty-state p{max-width:450px;font-size:12px;line-height:1.8;color:var(--lj-muted)}.equipment-list .empty-state{min-height:240px;padding-inline:18px}.unselected-panel{min-height:650px;display:flex;align-items:center;justify-content:center}.unselected-panel .empty-state{min-height:400px}.sync-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 20px 22px}.sync-values>div{border:1px solid var(--lj-border);padding:17px 18px}.sync-values span{font-size:13px;color:var(--lj-muted)}.sync-values strong{display:block;font-size:27px;font-weight:600;margin-top:12px;color:var(--lj-muted)}.sync-values small{font-size:12px;font-weight:400}.sync-values p{margin-top:8px;font-size:11px;color:var(--lj-muted)}.source-notice{display:flex;align-items:center;gap:8px;background:var(--lj-surface-raised);border:1px solid var(--lj-warning);color:var(--lj-warning);font-size:12px;padding:11px 15px;border-radius:5px;margin-bottom:16px;line-height:1.7}.app-footer{padding:23px 29px;font-size:11px;color:var(--lj-muted);display:flex;align-items:center;justify-content:space-between;gap:12px}.nav-collapsed .sidebar{width:76px;padding-inline:10px}.nav-collapsed .main-shell{margin-left:76px}.nav-collapsed .brand{padding:0 6px 28px}.nav-collapsed .brand img{width:43px;height:43px}.nav-collapsed .brand strong,.nav-collapsed .nav-link span,.nav-collapsed .sidebar-foot span{display:none}.nav-collapsed .nav-link{padding:15px;justify-content:center}.nav-collapsed .sidebar-foot{padding:24px 17px 3px}.nav-collapsed .collapse-toggle{bottom:-4px;right:16px} +.brand img{background:var(--lj-primary);border-radius:10px;padding:5px}.sidebar nav{padding-top:3px}.secondary-equipment-layout{grid-template-columns:290px minmax(0,1fr);gap:12px}.video-unselected-header{padding:23px}.virtual-state-body{padding:0 20px 20px}.virtual-overview-panel>.secondary-table-scroll,.fusion-metrics-panel>.secondary-table-scroll,.node-page>.secondary-table-scroll{width:calc(100% - 40px);margin-inline:20px}.secondary-panel-toolbar{margin-inline:20px}.node-page>.node-network-panel{margin:24px 20px 0}.secondary-panel-note{margin:20px}.fusion-metrics-panel,.node-page{padding-bottom:18px} @media(min-width:1550px){.equipment-layout,.secondary-equipment-layout{grid-template-columns:350px minmax(0,1fr)}.equipment-row{padding-block:22px}.equipment-row .status{font-size:12px}.equipment-header{min-height:111px}.equipment-list,.equipment-layout{min-height:730px}.nav-link{font-size:16px}.brand strong{font-size:19px}.page-heading h1{font-size:29px}.data-table{font-size:14px}} @media(max-width:1280px){.sidebar{width:210px;padding-inline:10px}.main-shell{margin-left:210px}.brand{gap:9px;padding-inline:8px}.brand img{width:36px;height:36px}.brand strong{font-size:16px}.nav-link{font-size:13px;gap:15px;padding-inline:12px}.equipment-layout{grid-template-columns:250px minmax(0,1fr)}.equipment-row{gap:10px;padding-inline:14px}.equipment-row .status{font-size:10px;max-width:65px}.equipment-row-copy strong{font-size:13px}.equipment-row-copy small{font-size:11px}.equipment-heading{gap:15px}.equipment-heading h2{font-size:21px}.equipment-header{padding:20px;flex-wrap:wrap;gap:12px}.equipment-updated{width:100%;padding-left:61px}.topbar{padding-inline:22px}main{padding:24px 22px 0}.data-table td,.data-table th{padding-inline:14px}.service-state{gap:12px}.service-state time{padding-left:12px}.value-details{grid-template-columns:repeat(2,minmax(0,1fr))}} @media(max-width:1000px){.service-state time{display:none}.topbar{gap:10px}.equipment-layout{grid-template-columns:220px minmax(0,1fr)}.equipment-row{flex-wrap:wrap;column-gap:9px;padding-block:14px;min-height:86px}.equipment-row .status{margin-left:35px;max-width:none;width:100%;font-size:10px}.equipment-list .panel-title h2{font-size:15px}.search-input{margin-inline:14px;padding-inline:9px}.equipment-heading>.status{margin-left:0}.equipment-heading{flex-wrap:wrap;gap:12px}.equipment-heading>svg{width:34px}.equipment-updated{padding-left:46px}.panel-title h2{font-size:15px}.heading-actions{flex-wrap:wrap}.context-select>span{display:none}.context-select select{max-width:180px}.refresh-button span{display:none}.sync-values{gap:9px;padding-inline:14px}.sync-values>div{padding:13px 10px}.sync-values span{font-size:11px}} @media(max-width:800px){.sidebar{width:68px;padding-inline:8px}.main-shell{margin-left:68px}.brand{padding:0 7px 30px}.brand img{width:37px;height:37px}.brand strong,.nav-link span,.sidebar-foot span{display:none}.collapse-toggle{display:none}.nav-link{padding:14px;justify-content:center}.sidebar-foot{justify-content:center;padding-inline:0}.equipment-layout{grid-template-columns:210px minmax(0,1fr)}main{padding:20px 17px 0}.topbar{padding-inline:17px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.page-heading{align-items:flex-start;gap:12px}.equipment-heading h2{font-size:19px}.equipment-heading p{font-size:11px}.equipment-header{padding:18px 16px}.value-details{gap:20px 12px;padding-inline:15px}.value-details dd{font-size:14px}} -@media(max-width:650px){.equipment-layout{grid-template-columns:1fr;min-height:0}.equipment-list{min-height:0}.equipment-list .equipment-rows{display:flex;overflow:auto}.equipment-row{min-width:220px;width:220px;border-left:0;border-top:3px solid transparent}.equipment-row.selected{border-top-color:#3284df}.equipment-list .empty-state{min-height:140px}.unselected-panel{min-height:320px}.page-heading{flex-direction:column}.heading-actions{width:100%;justify-content:flex-end}.context-select{flex:1}.context-select select{max-width:100%;width:100%}.service-state{display:none}.breadcrumb{font-size:12px}.topbar{height:56px;min-height:56px}.detail-stack{gap:12px}.equipment-updated{padding-left:0}.sync-values{grid-template-columns:1fr}.sync-values>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.sync-values strong,.sync-values p{margin:0}.app-footer{padding:20px 17px}.app-footer span:first-child{display:none}.nav-collapsed .sidebar{width:68px}.nav-collapsed .main-shell{margin-left:68px}} +@media(max-width:650px){.equipment-layout{grid-template-columns:1fr;min-height:0}.equipment-list{min-height:0}.equipment-list .equipment-rows{display:flex;overflow:auto}.equipment-row{min-width:220px;width:220px;border-left:0;border-top:3px solid transparent}.equipment-row.selected{border-top-color:var(--lj-border-strong)}.equipment-list .empty-state{min-height:140px}.unselected-panel{min-height:320px}.page-heading{flex-direction:column}.heading-actions{width:100%;justify-content:flex-end}.context-select{flex:1}.context-select select{max-width:100%;width:100%}.service-state{display:none}.breadcrumb{font-size:12px}.topbar{height:56px;min-height:56px}.detail-stack{gap:12px}.equipment-updated{padding-left:0}.sync-values{grid-template-columns:1fr}.sync-values>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.sync-values strong,.sync-values p{margin:0}.app-footer{padding:20px 17px}.app-footer span:first-child{display:none}.nav-collapsed .sidebar{width:68px}.nav-collapsed .main-shell{margin-left:68px}} diff --git a/src/main/resources/static/console/assets/index-BHc7FaY4.css b/src/main/resources/static/console/assets/index-BHc7FaY4.css new file mode 100644 index 0000000..9c4984b --- /dev/null +++ b/src/main/resources/static/console/assets/index-BHc7FaY4.css @@ -0,0 +1 @@ +:root{color-scheme:dark;--lj-page: #031b0b;--lj-surface: #0a301b;--lj-surface-raised: #114025;--lj-surface-deep: #052511;--lj-text: #e7f5f0;--lj-muted: #a0c3ba;--lj-faint: #87aaa3;--lj-accent: #22dec0;--lj-primary: #0c8073;--lj-border: #1b6a47;--lj-border-strong: #379e8d;--lj-success: #68d9a4;--lj-warning: #efc46b;--lj-danger: #ff9298;--lj-accent-rgb: 34, 222, 192;--lj-primary-rgb: 12, 128, 115;--lj-border-rgb: 33, 93, 84;--lj-shadow-rgb: 0, 13, 12;--lj-text-rgb: 231, 245, 240;--lj-surface-rgb: 11, 48, 48;--lj-page-rgb: 6, 29, 29}body{background:var(--lj-page)}.app{background:radial-gradient(ellipse at 75% 0,#103d35 0,transparent 65%),var(--lj-page)}.app .sidebar{background:linear-gradient(180deg,#0b352d,#061f1c);border-right:1px solid var(--lj-border)}.sidebar .brand{color:var(--lj-accent);letter-spacing:1px}.sidebar .brand:after{content:"";position:absolute;bottom:15px;left:12px;right:12px;height:1px;background:linear-gradient(90deg,#22dec0,#22dec000);pointer-events:none}.sidebar .brand img{background:#087a67;border:1px solid #43b79b;border-radius:5px}.app .nav-link{border-radius:3px;border-left:3px solid transparent}.app .nav-link.active{background:linear-gradient(90deg,#0d6652,#0b3a31);color:#c8ffee;border-left-color:var(--lj-accent);box-shadow:inset 0 1px #22dec012}.app .nav-link.active svg{color:var(--lj-accent)}.app .nav-link:hover{background-color:#124639}.app .topbar{position:relative;color:var(--lj-muted);background:linear-gradient(180deg,#0b3431,#062623);border-bottom-color:var(--lj-border-strong);box-shadow:0 4px 24px #000f0e38}.app .topbar:after{content:"";position:absolute;bottom:-1px;left:29px;width:170px;height:2px;background:linear-gradient(90deg,var(--lj-accent),transparent);pointer-events:none}.page-heading h1{position:relative;padding-left:15px;color:var(--lj-text)}.page-heading h1:before{content:"";position:absolute;left:0;top:15%;height:70%;width:3px;background:var(--lj-accent);box-shadow:0 0 10px #22dec044}.app .panel{position:relative;border-color:var(--lj-border);border-radius:4px;box-shadow:inset 0 1px #53cab220,0 8px 24px #000d0c20}.app .panel:before{content:"";position:absolute;top:0;left:18px;width:66px;height:2px;background:var(--lj-accent);box-shadow:0 0 12px #22dec050;pointer-events:none}.panel .panel-title{background:linear-gradient(90deg,#11443d,#0b3030);border-bottom:1px solid #215d5466}.panel .panel-title h2{color:#c5efe0}.app .equipment-row.selected{background:linear-gradient(90deg,#155242,#0c3831);border-left-color:var(--lj-accent)}.app .equipment-heading>svg{color:var(--lj-accent)}.app .data-table th,.app .secondary-table th{color:#badfd1;background:#114435;border-color:#25624e}.app .data-table td,.app .secondary-table td{border-color:#215246}.app .data-table tr.selected{background:#103d32}.app .receive-table tbody tr:hover,.app .secondary-table tbody tr:hover{background:#144638}.app .refresh-button:hover{color:#8ff4d6;border-color:var(--lj-accent);background:#104b3d}.app .search-input:focus-within,.app .secondary-search:focus-within{border-color:var(--lj-accent);box-shadow:0 0 0 2px #22dec018}.app .status-good,.app .node-state-online{color:var(--lj-success)}.app .status-warn{color:var(--lj-warning)}.app .status-bad{color:var(--lj-danger)}.app .source-notice{color:#efd39b;background:#3a321f;border-color:#746039}.app .video-stage{background:#041c19;border:1px solid #286b58}.app .video-metrics-overlay{background:#0a342eea;border-color:#3b8e77}.app .video-control-bar{background:#092c25}select option{background:var(--lj-surface);color:var(--lj-text)}@media(max-width:650px){.app .equipment-row.selected{border-top-color:var(--lj-accent)}}.app{background:linear-gradient(180deg,#033110f2,#010f06fa),url(/console/assets/lj-scene-background.png) center / cover fixed}.app .main-shell{margin-left:0;min-height:calc(100vh - 82px)}.reference-console-header{position:sticky;top:0;z-index:1000;display:grid;grid-template-columns:minmax(270px,30%) minmax(0,1fr) auto;align-items:center;gap:26px;height:82px;padding:0 2.4% 0 5.4%;color:#f2fff0;background:linear-gradient(180deg,#092c01,#043e03 53%,#092c01);border-bottom:1px solid #174c15}.reference-console-brand{display:flex;align-items:center;align-self:stretch;padding-bottom:2px;color:#78dcae;font-family:Microsoft YaHei,PingFang SC,sans-serif;font-size:clamp(24px,1.77vw,34px);font-weight:700;letter-spacing:1px;white-space:nowrap;border-bottom:1px solid #36a34c;text-shadow:0 1px 1px #001e01}.reference-console-navigation{display:flex;align-items:stretch;height:82px;gap:clamp(16px,1.4vw,28px);min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#388e54 transparent}.reference-console-navigation::-webkit-scrollbar{height:3px}.reference-console-navigation::-webkit-scrollbar-thumb{background:#388e54}.reference-nav-link{position:relative;display:flex;flex:none;align-items:center;color:#f2fff0;font-size:clamp(14px,.94vw,18px);white-space:nowrap}.reference-nav-link:hover,.reference-nav-link.active{color:#22dec0}.reference-nav-link.active{font-weight:700}.reference-nav-link.active:after{content:"";position:absolute;height:3px;width:46px;bottom:0;left:calc(50% - 23px);background:#dbffd9}.reference-console-actions{display:flex;align-items:center;gap:20px;white-space:nowrap}.reference-console-actions button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:34px;padding:0;color:#f2fff0;background:transparent;border:0}.reference-console-actions button:hover{color:#22dec0}.reference-console-actions .status{color:#d8f2d7;font-size:14px}.reference-console-actions .status-good i{color:#68d9a4}.console-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:0 30px;border-bottom:1px solid #1a4d2c}.app main{max-width:none}.app .equipment-layout,.app .secondary-equipment-layout{grid-template-columns:320px minmax(0,1fr)}@media(max-width:1400px){.reference-console-header{grid-template-columns:minmax(235px,25%) minmax(0,1fr) auto;gap:16px;padding-inline:3%}.reference-console-actions{gap:13px}.app .equipment-layout,.app .secondary-equipment-layout{grid-template-columns:270px minmax(0,1fr)}}@media(max-width:800px){.reference-console-header{height:auto;min-height:112px;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding:0 16px}.reference-console-brand{height:60px;font-size:23px}.reference-console-actions{grid-column:2;grid-row:1}.reference-console-navigation{grid-column:1 / -1;grid-row:2;height:52px}.console-meta{padding-inline:17px}.console-meta .service-state{display:none}.app .equipment-layout,.app .secondary-equipment-layout{grid-template-columns:1fr}.app .main-shell{min-height:calc(100vh - 112px)}}.reference-console-brand{border-bottom:0;background:url(/console/assets/lj-header-rule.png) left bottom / 100% 14px no-repeat}.secondary-equipment-layout{display:grid;grid-template-columns:296px minmax(0,1fr);gap:18px;align-items:stretch}.secondary-detail-stack{display:flex;flex-direction:column;gap:14px;min-width:0}.secondary-search{display:flex;align-items:center;gap:10px;width:330px;max-width:100%;min-height:40px;padding:0 12px;color:var(--lj-muted);border:1px solid var(--lj-border);border-radius:6px;background:var(--lj-surface)}.secondary-search:focus-within{border-color:var(--lj-border-strong);box-shadow:0 0 0 3px rgba(var(--lj-shadow-rgb),.0863)}.secondary-search input{width:100%;min-width:0;height:38px;padding:0;color:var(--lj-text);font:inherit;font-size:13px;border:0;outline:0;background:transparent}.secondary-search input::placeholder{color:var(--lj-muted)}.secondary-list-search{padding:0 18px 18px}.secondary-list-search .secondary-search{width:auto}.secondary-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.secondary-muted,.secondary-blank{color:var(--lj-muted)}.secondary-blank{white-space:nowrap;font-variant-numeric:tabular-nums}.secondary-blank small{margin-left:8px;color:var(--lj-muted);font-size:12px}.secondary-unavailable{display:inline-flex;align-items:center;gap:7px;color:var(--lj-muted);white-space:nowrap;font-size:13px}.secondary-unavailable i,.node-state i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:currentColor}.secondary-table-scroll{width:100%;overflow-x:auto}.secondary-table{width:100%;border-spacing:0;border-collapse:collapse;table-layout:fixed;color:var(--lj-text);font-size:13px}.secondary-table th{height:48px;padding:12px 14px;color:var(--lj-muted);background:var(--lj-surface);border:1px solid var(--lj-border);font-weight:500;text-align:left}.secondary-table td{height:83px;padding:17px 14px;border:1px solid var(--lj-border);vertical-align:middle}.secondary-table th svg{display:inline-block;margin:0 6px -2px 0}.secondary-table tbody tr:hover{background:var(--lj-surface)}.secondary-table .secondary-empty-cell{height:230px;padding:30px 16px;text-align:center}.secondary-table .secondary-empty-cell:hover{background:var(--lj-surface)}.secondary-column-unit{white-space:nowrap}.secondary-panel-note{margin:20px 0 0;color:var(--lj-muted);font-size:12px;line-height:1.6}.virtual-list-panel{min-height:650px}.virtual-list-empty{display:grid;place-items:center;padding:80px 18px 28px}.virtual-unselected-header{display:flex;align-items:center;gap:18px;padding:23px;min-height:100px;border:1px solid var(--lj-border);border-radius:8px;background:var(--lj-surface)}.virtual-equipment-icon{display:grid;place-items:center;width:48px;height:48px;color:var(--lj-muted);background:var(--lj-surface);border-radius:9px}.virtual-unselected-header h2,.video-unselected-header h2{margin:0 0 8px;font-size:21px;font-weight:600;color:var(--lj-muted)}.virtual-unselected-header p,.video-unselected-header p{margin:0;color:var(--lj-muted);font-size:13px}.virtual-unselected-header p span{margin-left:12px}.virtual-unselected-header>.secondary-unavailable{margin-left:auto}.virtual-state-body{padding:0}.virtual-health-row{display:flex;align-items:center;gap:20px;padding:20px 22px;background:var(--lj-surface);border:1px solid var(--lj-border);border-radius:5px}.virtual-health-row>svg{color:var(--lj-muted)}.virtual-health-label{color:var(--lj-muted);font-size:14px}.virtual-health-row strong{color:var(--lj-muted);font-size:23px;font-weight:500;white-space:nowrap}.virtual-health-track{flex:1;height:10px;margin-left:8px;border-radius:6px;background:var(--lj-surface-raised)}.virtual-position-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 36px;padding:23px 12px 4px}.virtual-position-item{display:grid;grid-template-columns:84px 1fr;gap:12px;font-size:14px}.virtual-position-item>span:first-child{color:var(--lj-muted)}.virtual-overview-table{min-width:620px}.virtual-overview-table th:first-child{width:23%}.virtual-overview-table th:nth-child(3){width:33%}.video-main-panel{min-width:0;overflow:hidden}.video-unselected-header{display:flex;align-items:center;gap:18px;min-height:91px;color:var(--lj-muted)}.video-main-panel>.panel-header:empty{display:none}.video-stage{position:relative;display:flex;flex-direction:column;min-height:480px;aspect-ratio:16 / 10;overflow:hidden;background:var(--lj-page);border-radius:6px}.video-empty-frame{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:180px 24px 36px;color:var(--lj-muted);text-align:center}.video-empty-frame h3{margin:16px 0 9px;color:var(--lj-faint);font-size:19px;font-weight:500}.video-empty-frame p{margin:0;color:var(--lj-muted);font-size:13px;line-height:1.7}.video-metrics-overlay{position:absolute;top:18px;right:18px;width:222px;padding:15px 17px;color:var(--lj-faint);border:1px solid rgba(var(--lj-border-rgb),.3137);border-radius:7px;background:rgba(var(--lj-page-rgb),.9098)}.video-overlay-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid rgba(var(--lj-border-rgb),.1686)}.video-overlay-heading strong{font-size:14px}.video-overlay-heading>span{max-width:102px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--lj-muted);font-size:11px}.video-metrics-overlay dl{display:flex;flex-direction:column;gap:10px;margin:12px 0 0;font-size:12px}.video-metrics-overlay dl>div{display:flex;justify-content:space-between;align-items:center;gap:15px}.video-metrics-overlay dt{color:var(--lj-faint)}.video-metrics-overlay dd{margin:0;color:var(--lj-faint);white-space:nowrap}.video-metrics-overlay dd small{margin-left:6px;color:var(--lj-muted);font-size:10px}.video-control-bar{display:flex;align-items:center;gap:16px;min-height:48px;padding:0 16px;color:var(--lj-muted);background:var(--lj-surface-deep)}.video-control-bar .secondary-unavailable{color:var(--lj-muted);font-size:12px}.video-control-divider{height:21px;width:1px;background:var(--lj-surface-deep)}.video-control-bar button{display:grid;place-items:center;min-width:25px;padding:5px 0;border:0;color:var(--lj-muted);background:none}.video-control-bar button:disabled{cursor:not-allowed;opacity:.55}.video-volume-track{width:96px;height:3px;border-radius:3px;background:var(--lj-surface-deep)}.video-resolution{margin-left:auto;font-size:11px;white-space:nowrap}.fusion-metrics-panel{min-height:550px}.fusion-metrics-table{min-width:1000px}.fusion-metrics-table th:first-child{width:215px}.fusion-metrics-table th:last-child{width:105px}.fusion-metrics-table td:not(:first-child),.fusion-metrics-table th:not(:first-child){text-align:center}.fusion-metrics-table td{height:93px}.fusion-equipment-name{display:flex;align-items:center;gap:14px}.fusion-equipment-name>svg{color:var(--lj-accent);flex-shrink:0}.fusion-equipment-name>div{min-width:0}.fusion-equipment-name strong{display:block;color:var(--lj-text);font-size:15px;font-weight:600;word-break:break-word}.fusion-equipment-name span{display:block;margin-top:7px;color:var(--lj-muted);font-size:12px;word-break:break-all}.fusion-metrics-footer{margin:22px 0 0;color:var(--lj-muted);font-size:13px}.node-status-table{min-width:1020px}.node-status-table th:first-child{width:250px}.node-status-table th:nth-child(2){width:90px}.node-status-table th:nth-child(4){width:180px}.node-status-table th:last-child{width:115px}.node-status-table td{height:96px}.node-identity{display:flex;align-items:center;gap:15px}.node-identity>svg{flex-shrink:0;color:var(--lj-accent)}.node-identity>div{min-width:0}.node-identity strong{display:block;color:var(--lj-text);font-size:15px;font-weight:600;word-break:break-word}.node-identity span{display:block;margin-top:7px;color:var(--lj-muted);font-size:11px;overflow-wrap:anywhere}.node-state{display:inline-flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.node-state-online{color:var(--lj-success)}.node-state-offline,.node-state-unknown{color:var(--lj-muted)}.node-network-panel{margin-top:24px;padding:18px;border:1px solid var(--lj-border);border-radius:6px}.node-network-panel h3{display:flex;align-items:center;gap:9px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--lj-border);font-size:15px;font-weight:600;color:var(--lj-text)}.node-network-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.node-network-item{display:flex;align-items:center;gap:11px;min-width:0;padding:7px 0}.node-network-item>svg{flex-shrink:0;color:var(--lj-accent)}.node-network-item>div{min-width:0}.node-network-item strong{display:block;color:var(--lj-text);font-size:13px;font-weight:600;word-break:break-word}.node-network-item>div>span{display:block;margin-top:6px;color:var(--lj-muted);font-size:11px}.node-network-item>.node-state{margin-left:auto}.node-network-empty{margin:28px 0;color:var(--lj-muted);text-align:center;font-size:13px}@media(max-width:1220px){.secondary-equipment-layout{grid-template-columns:260px minmax(0,1fr)}.video-stage{min-height:490px}.video-empty-frame{padding-top:230px}.node-network-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.virtual-health-row{gap:13px;padding:18px 14px}.virtual-health-row strong{font-size:19px}}@media(max-width:950px){.secondary-equipment-layout{grid-template-columns:1fr}.virtual-list-panel{min-height:240px}.virtual-list-empty{padding:25px 18px}.video-stage{aspect-ratio:16 / 10;min-height:440px}.video-empty-frame{padding-top:180px}}@media(max-width:650px){.virtual-unselected-header{gap:12px;padding:17px;flex-wrap:wrap}.virtual-unselected-header>.secondary-unavailable{margin-left:60px}.virtual-position-grid{grid-template-columns:1fr}.virtual-health-row{flex-wrap:wrap}.virtual-health-track{min-width:70px}.video-stage{min-height:480px}.video-metrics-overlay{width:200px;right:12px;top:12px}.video-empty-frame{padding-top:250px}.video-control-bar{gap:12px;padding:0 12px}.video-volume-track,.video-resolution{display:none}.video-control-bar button:last-child{margin-left:auto}.node-network-grid{grid-template-columns:1fr}}:root{font-family:Microsoft YaHei,Segoe UI,sans-serif;color:var(--lj-text);background:var(--lj-surface);font-size:14px;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:2px solid var(--lj-border-strong);outline-offset:3px}button{border:0}input,select{color:var(--lj-text)}input::placeholder{color:var(--lj-muted)}svg{flex-shrink:0}time,.mono{font-variant-numeric:tabular-nums}.muted{color:var(--lj-muted);font-size:12px}.sidebar{width:246px;background:var(--lj-surface-deep);color:var(--lj-faint);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:27px 13px 24px;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 30px;color:var(--lj-text);position:relative;white-space:nowrap}.brand img{width:43px;height:43px}.brand strong{font-size:18px;font-weight:600}.collapse-toggle{display:grid;place-items:center;width:23px;height:25px;background:rgba(var(--lj-surface-rgb),.0235);color:var(--lj-muted);border:1px solid rgba(var(--lj-border-rgb),.1255);border-radius:4px;position:absolute;right:0;bottom:9px}.sidebar nav{padding-top:16px}.nav-link{display:flex;align-items:center;gap:20px;padding:16px;margin:6px 0 12px;border-radius:7px;font-size:15px;white-space:nowrap;min-height:54px}.nav-link:hover{background:rgba(var(--lj-surface-rgb),.0431)}.nav-link.active{background:var(--lj-primary);color:var(--lj-text);font-weight:600}.nav-link svg{color:var(--lj-faint)}.nav-link.active svg{color:var(--lj-text)}.sidebar-foot{margin-top:auto;display:flex;gap:19px;align-items:center;border-top:1px solid rgba(var(--lj-border-rgb),.0784);padding:25px 17px 3px;font-size:14px;color:var(--lj-faint)}.main-shell{margin-left:246px;min-height:100vh;display:flex;flex-direction:column;min-width:0}.topbar{height:64px;min-height:64px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--lj-surface);border-bottom:1px solid var(--lj-border);font-size:13px}.breadcrumb{display:flex;align-items:center;gap:13px;color:var(--lj-muted);white-space:nowrap}.breadcrumb strong{color:var(--lj-text);font-weight:600}.service-state{display:flex;gap:22px;align-items:center;white-space:nowrap}.service-state time{border-left:1px solid var(--lj-border);padding-left:22px;color:var(--lj-muted);font-size:12px}main{padding:28px 29px 0;flex:1;min-width:0;max-width:1900px;width:100%;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;min-height:70px}.page-heading h1{font-size:27px;line-height:1.35;font-weight:650;color:var(--lj-text);letter-spacing:.2px}.page-heading p{margin-top:8px;color:var(--lj-muted);line-height:1.5;font-size:14px}.heading-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}.refresh-button{display:flex;gap:7px;align-items:center;padding:9px 12px;min-height:38px;background:var(--lj-surface);border:1px solid var(--lj-border);border-radius:5px;color:var(--lj-muted);font-size:12px}.refresh-button:hover{border-color:var(--lj-border-strong);color:var(--lj-accent)}.context-select{display:flex;align-items:center;gap:10px;color:var(--lj-muted);font-size:12px}.context-select select{max-width:260px;border:1px solid var(--lj-border);border-radius:5px;background:var(--lj-surface);padding:10px 28px 10px 11px;min-width:120px}.panel{background:var(--lj-surface);border:1px solid var(--lj-border);border-radius:7px;min-width:0;overflow:hidden}.panel-title{padding:19px 20px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:56px}.panel-title h2{font-size:17px;color:var(--lj-text);font-weight:600}.panel-extra{font-size:12px;color:var(--lj-muted)}.equipment-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;min-height:650px;align-items:stretch}.equipment-list{min-height:650px}.equipment-list .panel-title{padding-bottom:14px}.search-input{display:flex;align-items:center;gap:10px;border:1px solid var(--lj-border);border-radius:5px;min-height:42px;padding:0 12px;margin:4px 20px 20px;color:var(--lj-muted);min-width:0}.search-input input{background:transparent;width:100%;min-width:0;border:0;outline:none!important;padding:10px 0;font-size:13px}.search-input:focus-within{border-color:var(--lj-border);box-shadow:0 0 0 2px rgba(var(--lj-shadow-rgb),.0784)}.equipment-rows{border-top:1px solid var(--lj-border)}.equipment-row{display:flex;align-items:center;gap:14px;min-height:92px;width:100%;padding:18px 18px 18px 23px;background:var(--lj-surface);color:var(--lj-accent);text-align:left;border-bottom:1px solid var(--lj-border);border-left:3px solid transparent}.equipment-row:hover{background:var(--lj-surface)}.equipment-row.selected{background:var(--lj-surface);border-left-color:var(--lj-border-strong)}.equipment-row-copy{min-width:0;flex:1}.equipment-row-copy strong{display:block;font-weight:600;color:var(--lj-text);font-size:15px;overflow-wrap:anywhere}.equipment-row-copy small{display:block;color:var(--lj-muted);font-size:12px;margin-top:5px;overflow-wrap:anywhere}.equipment-row .status{font-size:11px;gap:5px;max-width:86px;white-space:normal;line-height:1.45}.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;line-height:1.45}.status i{width:7px;height:7px;flex:none;background:currentColor;border-radius:50%}.status-good{color:var(--lj-text)}.status-warn{color:var(--lj-warning)}.status-bad{color:var(--lj-danger)}.status-muted{color:var(--lj-muted)}.detail-stack{display:flex;flex-direction:column;gap:12px;min-width:0}.equipment-header{display:flex;align-items:center;justify-content:space-between;padding:24px 25px;gap:18px;min-height:106px}.equipment-heading{display:flex;align-items:center;gap:23px;min-width:0;color:var(--lj-accent)}.equipment-heading h2{font-size:24px;color:var(--lj-text);font-weight:600;overflow-wrap:anywhere}.equipment-heading p{font-size:12px;color:var(--lj-muted);margin-top:7px;line-height:1.5}.equipment-heading p span{margin:0 11px}.equipment-heading>.status{background:var(--lj-surface-raised);padding:5px 9px;border-radius:3px;margin-left:3px}.equipment-updated{font-size:12px;color:var(--lj-muted);white-space:nowrap}.equipment-updated time{color:var(--lj-muted);margin-left:9px}.table-scroll{overflow:auto;max-width:100%}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.data-table th{background:var(--lj-surface);color:var(--lj-muted);font-size:12px;font-weight:500;padding:14px 19px;border-block:1px solid var(--lj-border);white-space:nowrap}.data-table td{border-bottom:1px solid var(--lj-border);padding:19px;vertical-align:middle;color:var(--lj-muted);font-variant-numeric:tabular-nums}.data-table tr:last-child td{border-bottom:0}.data-table tr.selected{background:var(--lj-surface)}.data-table td strong{font-weight:500;color:var(--lj-text)}.data-table td small{display:block;font-size:11px;color:var(--lj-muted);margin-top:5px}.receive-table tbody tr{cursor:pointer}.receive-table tbody tr:hover{background:var(--lj-surface)}.receive-table td.parameter-value{overflow-wrap:anywhere;min-width:130px;max-width:450px}.receive-table td:first-child{min-width:145px}.receive-table td time{white-space:nowrap}.value-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;margin:0;padding:14px 24px 25px}.value-details>div{min-width:0;border-left:1px solid var(--lj-border);padding-left:16px}.value-details dt{color:var(--lj-muted);font-size:12px;margin-bottom:11px}.value-details dd{margin:0;font-size:16px;color:var(--lj-text);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;min-height:190px;padding:34px 24px;color:var(--lj-muted)}.empty-state strong{font-size:15px;font-weight:500;color:var(--lj-muted)}.empty-state p{max-width:450px;font-size:12px;line-height:1.8;color:var(--lj-muted)}.equipment-list .empty-state{min-height:240px;padding-inline:18px}.unselected-panel{min-height:650px;display:flex;align-items:center;justify-content:center}.unselected-panel .empty-state{min-height:400px}.sync-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 20px 22px}.sync-values>div{border:1px solid var(--lj-border);padding:17px 18px}.sync-values span{font-size:13px;color:var(--lj-muted)}.sync-values strong{display:block;font-size:27px;font-weight:600;margin-top:12px;color:var(--lj-muted)}.sync-values small{font-size:12px;font-weight:400}.sync-values p{margin-top:8px;font-size:11px;color:var(--lj-muted)}.source-notice{display:flex;align-items:center;gap:8px;background:var(--lj-surface-raised);border:1px solid var(--lj-warning);color:var(--lj-warning);font-size:12px;padding:11px 15px;border-radius:5px;margin-bottom:16px;line-height:1.7}.app-footer{padding:23px 29px;font-size:11px;color:var(--lj-muted);display:flex;align-items:center;justify-content:space-between;gap:12px}.nav-collapsed .sidebar{width:76px;padding-inline:10px}.nav-collapsed .main-shell{margin-left:76px}.nav-collapsed .brand{padding:0 6px 28px}.nav-collapsed .brand img{width:43px;height:43px}.nav-collapsed .brand strong,.nav-collapsed .nav-link span,.nav-collapsed .sidebar-foot span{display:none}.nav-collapsed .nav-link{padding:15px;justify-content:center}.nav-collapsed .sidebar-foot{padding:24px 17px 3px}.nav-collapsed .collapse-toggle{bottom:-4px;right:16px}.brand img{background:var(--lj-primary);border-radius:10px;padding:5px}.sidebar nav{padding-top:3px}.secondary-equipment-layout{grid-template-columns:290px minmax(0,1fr);gap:12px}.video-unselected-header{padding:23px}.virtual-state-body{padding:0 20px 20px}.virtual-overview-panel>.secondary-table-scroll,.fusion-metrics-panel>.secondary-table-scroll,.node-page>.secondary-table-scroll{width:calc(100% - 40px);margin-inline:20px}.secondary-panel-toolbar{margin-inline:20px}.node-page>.node-network-panel{margin:24px 20px 0}.secondary-panel-note{margin:20px}.fusion-metrics-panel,.node-page{padding-bottom:18px}@media(min-width:1550px){.equipment-layout,.secondary-equipment-layout{grid-template-columns:350px minmax(0,1fr)}.equipment-row{padding-block:22px}.equipment-row .status{font-size:12px}.equipment-header{min-height:111px}.equipment-list,.equipment-layout{min-height:730px}.nav-link{font-size:16px}.brand strong{font-size:19px}.page-heading h1{font-size:29px}.data-table{font-size:14px}}@media(max-width:1280px){.sidebar{width:210px;padding-inline:10px}.main-shell{margin-left:210px}.brand{gap:9px;padding-inline:8px}.brand img{width:36px;height:36px}.brand strong{font-size:16px}.nav-link{font-size:13px;gap:15px;padding-inline:12px}.equipment-layout{grid-template-columns:250px minmax(0,1fr)}.equipment-row{gap:10px;padding-inline:14px}.equipment-row .status{font-size:10px;max-width:65px}.equipment-row-copy strong{font-size:13px}.equipment-row-copy small{font-size:11px}.equipment-heading{gap:15px}.equipment-heading h2{font-size:21px}.equipment-header{padding:20px;flex-wrap:wrap;gap:12px}.equipment-updated{width:100%;padding-left:61px}.topbar{padding-inline:22px}main{padding:24px 22px 0}.data-table td,.data-table th{padding-inline:14px}.service-state{gap:12px}.service-state time{padding-left:12px}.value-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.service-state time{display:none}.topbar{gap:10px}.equipment-layout{grid-template-columns:220px minmax(0,1fr)}.equipment-row{flex-wrap:wrap;column-gap:9px;padding-block:14px;min-height:86px}.equipment-row .status{margin-left:35px;max-width:none;width:100%;font-size:10px}.equipment-list .panel-title h2{font-size:15px}.search-input{margin-inline:14px;padding-inline:9px}.equipment-heading>.status{margin-left:0}.equipment-heading{flex-wrap:wrap;gap:12px}.equipment-heading>svg{width:34px}.equipment-updated{padding-left:46px}.panel-title h2{font-size:15px}.heading-actions{flex-wrap:wrap}.context-select>span{display:none}.context-select select{max-width:180px}.refresh-button span{display:none}.sync-values{gap:9px;padding-inline:14px}.sync-values>div{padding:13px 10px}.sync-values span{font-size:11px}}@media(max-width:800px){.sidebar{width:68px;padding-inline:8px}.main-shell{margin-left:68px}.brand{padding:0 7px 30px}.brand img{width:37px;height:37px}.brand strong,.nav-link span,.sidebar-foot span,.collapse-toggle{display:none}.nav-link{padding:14px;justify-content:center}.sidebar-foot{justify-content:center;padding-inline:0}.equipment-layout{grid-template-columns:210px minmax(0,1fr)}main{padding:20px 17px 0}.topbar{padding-inline:17px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.page-heading{align-items:flex-start;gap:12px}.equipment-heading h2{font-size:19px}.equipment-heading p{font-size:11px}.equipment-header{padding:18px 16px}.value-details{gap:20px 12px;padding-inline:15px}.value-details dd{font-size:14px}}@media(max-width:650px){.equipment-layout{grid-template-columns:1fr;min-height:0}.equipment-list{min-height:0}.equipment-list .equipment-rows{display:flex;overflow:auto}.equipment-row{min-width:220px;width:220px;border-left:0;border-top:3px solid transparent}.equipment-row.selected{border-top-color:var(--lj-border-strong)}.equipment-list .empty-state{min-height:140px}.unselected-panel{min-height:320px}.page-heading{flex-direction:column}.heading-actions{width:100%;justify-content:flex-end}.context-select{flex:1}.context-select select{max-width:100%;width:100%}.service-state{display:none}.breadcrumb{font-size:12px}.topbar{height:56px;min-height:56px}.detail-stack{gap:12px}.equipment-updated{padding-left:0}.sync-values{grid-template-columns:1fr}.sync-values>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.sync-values strong,.sync-values p{margin:0}.app-footer{padding:20px 17px}.app-footer span:first-child{display:none}.nav-collapsed .sidebar{width:68px}.nav-collapsed .main-shell{margin-left:68px}} diff --git a/src/main/resources/static/console/assets/index-CGh3g9P7.css b/src/main/resources/static/console/assets/index-CGh3g9P7.css deleted file mode 100644 index 149b3af..0000000 --- a/src/main/resources/static/console/assets/index-CGh3g9P7.css +++ /dev/null @@ -1 +0,0 @@ -.secondary-equipment-layout{display:grid;grid-template-columns:296px minmax(0,1fr);gap:18px;align-items:stretch}.secondary-detail-stack{display:flex;flex-direction:column;gap:14px;min-width:0}.secondary-search{display:flex;align-items:center;gap:10px;width:330px;max-width:100%;min-height:40px;padding:0 12px;color:#647e9f;border:1px solid #d6e2f0;border-radius:6px;background:#fff}.secondary-search:focus-within{border-color:#3280d4;box-shadow:0 0 0 3px #2b7bd316}.secondary-search input{width:100%;min-width:0;height:38px;padding:0;color:#203753;font:inherit;font-size:13px;border:0;outline:0;background:transparent}.secondary-search input::placeholder{color:#7d91ab}.secondary-list-search{padding:0 18px 18px}.secondary-list-search .secondary-search{width:auto}.secondary-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.secondary-muted,.secondary-blank{color:#8294ac}.secondary-blank{white-space:nowrap;font-variant-numeric:tabular-nums}.secondary-blank small{margin-left:8px;color:#8294ac;font-size:12px}.secondary-unavailable{display:inline-flex;align-items:center;gap:7px;color:#8393a9;white-space:nowrap;font-size:13px}.secondary-unavailable i,.node-state i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:currentColor}.secondary-table-scroll{width:100%;overflow-x:auto}.secondary-table{width:100%;border-spacing:0;border-collapse:collapse;table-layout:fixed;color:#294360;font-size:13px}.secondary-table th{height:48px;padding:12px 14px;color:#5c7798;background:#f4f8fc;border:1px solid #e1eaf4;font-weight:500;text-align:left}.secondary-table td{height:83px;padding:17px 14px;border:1px solid #e1eaf4;vertical-align:middle}.secondary-table th svg{display:inline-block;margin:0 6px -2px 0}.secondary-table tbody tr:hover{background:#f9fbfe}.secondary-table .secondary-empty-cell{height:230px;padding:30px 16px;text-align:center}.secondary-table .secondary-empty-cell:hover{background:#fff}.secondary-column-unit{white-space:nowrap}.secondary-panel-note{margin:20px 0 0;color:#7f94ae;font-size:12px;line-height:1.6}.virtual-list-panel{min-height:650px}.virtual-list-empty{display:grid;place-items:center;padding:80px 18px 28px}.virtual-unselected-header{display:flex;align-items:center;gap:18px;padding:23px;min-height:100px;border:1px solid #dfe8f3;border-radius:8px;background:#fff}.virtual-equipment-icon{display:grid;place-items:center;width:48px;height:48px;color:#a2b5cc;background:#f2f6fb;border-radius:9px}.virtual-unselected-header h2,.video-unselected-header h2{margin:0 0 8px;font-size:21px;font-weight:600;color:#566d89}.virtual-unselected-header p,.video-unselected-header p{margin:0;color:#8396ae;font-size:13px}.virtual-unselected-header p span{margin-left:12px}.virtual-unselected-header>.secondary-unavailable{margin-left:auto}.virtual-state-body{padding:0}.virtual-health-row{display:flex;align-items:center;gap:20px;padding:20px 22px;background:#f9fbfe;border:1px solid #e5edf6;border-radius:5px}.virtual-health-row>svg{color:#9badc2}.virtual-health-label{color:#66809f;font-size:14px}.virtual-health-row strong{color:#8195ad;font-size:23px;font-weight:500;white-space:nowrap}.virtual-health-track{flex:1;height:10px;margin-left:8px;border-radius:6px;background:#e7edf5}.virtual-position-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 36px;padding:23px 12px 4px}.virtual-position-item{display:grid;grid-template-columns:84px 1fr;gap:12px;font-size:14px}.virtual-position-item>span:first-child{color:#6783a3}.virtual-overview-table{min-width:620px}.virtual-overview-table th:first-child{width:23%}.virtual-overview-table th:nth-child(3){width:33%}.video-main-panel{min-width:0;overflow:hidden}.video-unselected-header{display:flex;align-items:center;gap:18px;min-height:91px;color:#91a6bf}.video-main-panel>.panel-header:empty{display:none}.video-stage{position:relative;display:flex;flex-direction:column;min-height:480px;aspect-ratio:16 / 10;overflow:hidden;background:#101d2c;border-radius:6px}.video-empty-frame{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:180px 24px 36px;color:#5f7893;text-align:center}.video-empty-frame h3{margin:16px 0 9px;color:#c1cede;font-size:19px;font-weight:500}.video-empty-frame p{margin:0;color:#7d92a9;font-size:13px;line-height:1.7}.video-metrics-overlay{position:absolute;top:18px;right:18px;width:222px;padding:15px 17px;color:#dfe7f0;border:1px solid #52667c50;border-radius:7px;background:#223246e8}.video-overlay-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #a4b4c12b}.video-overlay-heading strong{font-size:14px}.video-overlay-heading>span{max-width:102px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fb2c7;font-size:11px}.video-metrics-overlay dl{display:flex;flex-direction:column;gap:10px;margin:12px 0 0;font-size:12px}.video-metrics-overlay dl>div{display:flex;justify-content:space-between;align-items:center;gap:15px}.video-metrics-overlay dt{color:#c1cede}.video-metrics-overlay dd{margin:0;color:#a9bbcf;white-space:nowrap}.video-metrics-overlay dd small{margin-left:6px;color:#8098b3;font-size:10px}.video-control-bar{display:flex;align-items:center;gap:16px;min-height:48px;padding:0 16px;color:#8195ad;background:#1c2a3a}.video-control-bar .secondary-unavailable{color:#879bb2;font-size:12px}.video-control-divider{height:21px;width:1px;background:#47596d}.video-control-bar button{display:grid;place-items:center;min-width:25px;padding:5px 0;border:0;color:#768b9f;background:none}.video-control-bar button:disabled{cursor:not-allowed;opacity:.55}.video-volume-track{width:96px;height:3px;border-radius:3px;background:#3f5369}.video-resolution{margin-left:auto;font-size:11px;white-space:nowrap}.fusion-metrics-panel{min-height:550px}.fusion-metrics-table{min-width:1000px}.fusion-metrics-table th:first-child{width:215px}.fusion-metrics-table th:last-child{width:105px}.fusion-metrics-table td:not(:first-child),.fusion-metrics-table th:not(:first-child){text-align:center}.fusion-metrics-table td{height:93px}.fusion-equipment-name{display:flex;align-items:center;gap:14px}.fusion-equipment-name>svg{color:#287dcb;flex-shrink:0}.fusion-equipment-name>div{min-width:0}.fusion-equipment-name strong{display:block;color:#1b395c;font-size:15px;font-weight:600;word-break:break-word}.fusion-equipment-name span{display:block;margin-top:7px;color:#7e94b0;font-size:12px;word-break:break-all}.fusion-metrics-footer{margin:22px 0 0;color:#7b93b0;font-size:13px}.node-status-table{min-width:1020px}.node-status-table th:first-child{width:250px}.node-status-table th:nth-child(2){width:90px}.node-status-table th:nth-child(4){width:180px}.node-status-table th:last-child{width:115px}.node-status-table td{height:96px}.node-identity{display:flex;align-items:center;gap:15px}.node-identity>svg{flex-shrink:0;color:#267bd1}.node-identity>div{min-width:0}.node-identity strong{display:block;color:#193a5c;font-size:15px;font-weight:600;word-break:break-word}.node-identity span{display:block;margin-top:7px;color:#7a91ad;font-size:11px;overflow-wrap:anywhere}.node-state{display:inline-flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.node-state-online{color:#0da76a}.node-state-offline,.node-state-unknown{color:#8092aa}.node-network-panel{margin-top:24px;padding:18px;border:1px solid #e0e9f4;border-radius:6px}.node-network-panel h3{display:flex;align-items:center;gap:9px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e6edf6;font-size:15px;font-weight:600;color:#234363}.node-network-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.node-network-item{display:flex;align-items:center;gap:11px;min-width:0;padding:7px 0}.node-network-item>svg{flex-shrink:0;color:#287dc9}.node-network-item>div{min-width:0}.node-network-item strong{display:block;color:#294664;font-size:13px;font-weight:600;word-break:break-word}.node-network-item>div>span{display:block;margin-top:6px;color:#8294aa;font-size:11px}.node-network-item>.node-state{margin-left:auto}.node-network-empty{margin:28px 0;color:#8b9bb0;text-align:center;font-size:13px}@media(max-width:1220px){.secondary-equipment-layout{grid-template-columns:260px minmax(0,1fr)}.video-stage{min-height:490px}.video-empty-frame{padding-top:230px}.node-network-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.virtual-health-row{gap:13px;padding:18px 14px}.virtual-health-row strong{font-size:19px}}@media(max-width:950px){.secondary-equipment-layout{grid-template-columns:1fr}.virtual-list-panel{min-height:240px}.virtual-list-empty{padding:25px 18px}.video-stage{aspect-ratio:16 / 10;min-height:440px}.video-empty-frame{padding-top:180px}}@media(max-width:650px){.virtual-unselected-header{gap:12px;padding:17px;flex-wrap:wrap}.virtual-unselected-header>.secondary-unavailable{margin-left:60px}.virtual-position-grid{grid-template-columns:1fr}.virtual-health-row{flex-wrap:wrap}.virtual-health-track{min-width:70px}.video-stage{min-height:480px}.video-metrics-overlay{width:200px;right:12px;top:12px}.video-empty-frame{padding-top:250px}.video-control-bar{gap:12px;padding:0 12px}.video-volume-track,.video-resolution{display:none}.video-control-bar button:last-child{margin-left:auto}.node-network-grid{grid-template-columns:1fr}}:root{font-family:Microsoft YaHei,Segoe UI,sans-serif;color:#263e5b;background:#f4f6fa;font-size:14px;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:2px solid #276cc0;outline-offset:3px}button{border:0}input,select{color:#314d70}input::placeholder{color:#8d9bb1}svg{flex-shrink:0}time,.mono{font-variant-numeric:tabular-nums}.muted{color:#8797ac;font-size:12px}.sidebar{width:246px;background:#172c46;color:#becddd;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:27px 13px 24px;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 30px;color:#fff;position:relative;white-space:nowrap}.brand img{width:43px;height:43px}.brand strong{font-size:18px;font-weight:600}.collapse-toggle{display:grid;place-items:center;width:23px;height:25px;background:#ffffff06;color:#9eb3cc;border:1px solid #ffffff20;border-radius:4px;position:absolute;right:0;bottom:9px}.sidebar nav{padding-top:16px}.nav-link{display:flex;align-items:center;gap:20px;padding:16px;margin:6px 0 12px;border-radius:7px;font-size:15px;white-space:nowrap;min-height:54px}.nav-link:hover{background:#ffffff0b}.nav-link.active{background:#2c5d97;color:#fff;font-weight:600}.nav-link svg{color:#a5bdd6}.nav-link.active svg{color:#f2f8ff}.sidebar-foot{margin-top:auto;display:flex;gap:19px;align-items:center;border-top:1px solid #ffffff14;padding:25px 17px 3px;font-size:14px;color:#bdcede}.main-shell{margin-left:246px;min-height:100vh;display:flex;flex-direction:column;min-width:0}.topbar{height:64px;min-height:64px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-bottom:1px solid #e1e8f0;font-size:13px}.breadcrumb{display:flex;align-items:center;gap:13px;color:#7e90a9;white-space:nowrap}.breadcrumb strong{color:#344c6b;font-weight:600}.service-state{display:flex;gap:22px;align-items:center;white-space:nowrap}.service-state time{border-left:1px solid #d7e1ed;padding-left:22px;color:#6e84a3;font-size:12px}main{padding:28px 29px 0;flex:1;min-width:0;max-width:1900px;width:100%;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;min-height:70px}.page-heading h1{font-size:27px;line-height:1.35;font-weight:650;color:#1f3653;letter-spacing:.2px}.page-heading p{margin-top:8px;color:#7b8fa8;line-height:1.5;font-size:14px}.heading-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}.refresh-button{display:flex;gap:7px;align-items:center;padding:9px 12px;min-height:38px;background:#fff;border:1px solid #dce5ef;border-radius:5px;color:#6b80a0;font-size:12px}.refresh-button:hover{border-color:#276cc0;color:#276cc0}.context-select{display:flex;align-items:center;gap:10px;color:#7a8ca4;font-size:12px}.context-select select{max-width:260px;border:1px solid #d9e3ef;border-radius:5px;background:#fff;padding:10px 28px 10px 11px;min-width:120px}.panel{background:#fff;border:1px solid #dfe7f1;border-radius:7px;min-width:0;overflow:hidden}.panel-title{padding:19px 20px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:56px}.panel-title h2{font-size:17px;color:#253f5f;font-weight:600}.panel-extra{font-size:12px;color:#8193ab}.equipment-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;min-height:650px;align-items:stretch}.equipment-list{min-height:650px}.equipment-list .panel-title{padding-bottom:14px}.search-input{display:flex;align-items:center;gap:10px;border:1px solid #cfdbeb;border-radius:5px;min-height:42px;padding:0 12px;margin:4px 20px 20px;color:#708baa;min-width:0}.search-input input{background:transparent;width:100%;min-width:0;border:0;outline:none!important;padding:10px 0;font-size:13px}.search-input:focus-within{border-color:#4384c7;box-shadow:0 0 0 2px #276cc014}.equipment-rows{border-top:1px solid #e5ecf4}.equipment-row{display:flex;align-items:center;gap:14px;min-height:92px;width:100%;padding:18px 18px 18px 23px;background:#fff;color:#2873bf;text-align:left;border-bottom:1px solid #e3ebf4;border-left:3px solid transparent}.equipment-row:hover{background:#f6faff}.equipment-row.selected{background:#eaf3ff;border-left-color:#3284df}.equipment-row-copy{min-width:0;flex:1}.equipment-row-copy strong{display:block;font-weight:600;color:#273f61;font-size:15px;overflow-wrap:anywhere}.equipment-row-copy small{display:block;color:#8198b4;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.equipment-row .status{font-size:11px;gap:5px;max-width:86px;white-space:normal;line-height:1.45}.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;line-height:1.45}.status i{width:7px;height:7px;flex:none;background:currentColor;border-radius:50%}.status-good{color:#14965c}.status-warn{color:#bf881c}.status-bad{color:#c25b48}.status-muted{color:#879bb6}.detail-stack{display:flex;flex-direction:column;gap:12px;min-width:0}.equipment-header{display:flex;align-items:center;justify-content:space-between;padding:24px 25px;gap:18px;min-height:106px}.equipment-heading{display:flex;align-items:center;gap:23px;min-width:0;color:#2778c2}.equipment-heading h2{font-size:24px;color:#213b60;font-weight:600;overflow-wrap:anywhere}.equipment-heading p{font-size:12px;color:#8297b4;margin-top:7px;line-height:1.5}.equipment-heading p span{margin:0 11px}.equipment-heading>.status{background:#eaf7f0;padding:5px 9px;border-radius:3px;margin-left:3px}.equipment-updated{font-size:12px;color:#8b9db5;white-space:nowrap}.equipment-updated time{color:#607c9f;margin-left:9px}.table-scroll{overflow:auto;max-width:100%}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.data-table th{background:#f6f8fc;color:#7c91ad;font-size:12px;font-weight:500;padding:14px 19px;border-block:1px solid #e5ecf4;white-space:nowrap}.data-table td{border-bottom:1px solid #e5ecf4;padding:19px;vertical-align:middle;color:#426185;font-variant-numeric:tabular-nums}.data-table tr:last-child td{border-bottom:0}.data-table tr.selected{background:#f3f8ff}.data-table td strong{font-weight:500;color:#334f72}.data-table td small{display:block;font-size:11px;color:#8d9eb3;margin-top:5px}.receive-table tbody tr{cursor:pointer}.receive-table tbody tr:hover{background:#f6faff}.receive-table td.parameter-value{overflow-wrap:anywhere;min-width:130px;max-width:450px}.receive-table td:first-child{min-width:145px}.receive-table td time{white-space:nowrap}.value-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;margin:0;padding:14px 24px 25px}.value-details>div{min-width:0;border-left:1px solid #e2ebf6;padding-left:16px}.value-details dt{color:#8095b1;font-size:12px;margin-bottom:11px}.value-details dd{margin:0;font-size:16px;color:#2e4c73;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;min-height:190px;padding:34px 24px;color:#94a9c0}.empty-state strong{font-size:15px;font-weight:500;color:#6d88a7}.empty-state p{max-width:450px;font-size:12px;line-height:1.8;color:#8c9fb6}.equipment-list .empty-state{min-height:240px;padding-inline:18px}.unselected-panel{min-height:650px;display:flex;align-items:center;justify-content:center}.unselected-panel .empty-state{min-height:400px}.sync-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 20px 22px}.sync-values>div{border:1px solid #e1eaf5;padding:17px 18px}.sync-values span{font-size:13px;color:#7289a8}.sync-values strong{display:block;font-size:27px;font-weight:600;margin-top:12px;color:#5d7ba0}.sync-values small{font-size:12px;font-weight:400}.sync-values p{margin-top:8px;font-size:11px;color:#91a3ba}.source-notice{display:flex;align-items:center;gap:8px;background:#fff7e8;border:1px solid #f2e3c5;color:#a27f3f;font-size:12px;padding:11px 15px;border-radius:5px;margin-bottom:16px;line-height:1.7}.app-footer{padding:23px 29px;font-size:11px;color:#92a5be;display:flex;align-items:center;justify-content:space-between;gap:12px}.nav-collapsed .sidebar{width:76px;padding-inline:10px}.nav-collapsed .main-shell{margin-left:76px}.nav-collapsed .brand{padding:0 6px 28px}.nav-collapsed .brand img{width:43px;height:43px}.nav-collapsed .brand strong,.nav-collapsed .nav-link span,.nav-collapsed .sidebar-foot span{display:none}.nav-collapsed .nav-link{padding:15px;justify-content:center}.nav-collapsed .sidebar-foot{padding:24px 17px 3px}.nav-collapsed .collapse-toggle{bottom:-4px;right:16px}.brand img{background:#4b92d5;border-radius:10px;padding:5px}.sidebar nav{padding-top:3px}.secondary-equipment-layout{grid-template-columns:290px minmax(0,1fr);gap:12px}.video-unselected-header{padding:23px}.virtual-state-body{padding:0 20px 20px}.virtual-overview-panel>.secondary-table-scroll,.fusion-metrics-panel>.secondary-table-scroll,.node-page>.secondary-table-scroll{width:calc(100% - 40px);margin-inline:20px}.secondary-panel-toolbar{margin-inline:20px}.node-page>.node-network-panel{margin:24px 20px 0}.secondary-panel-note{margin:20px}.fusion-metrics-panel,.node-page{padding-bottom:18px}@media(min-width:1550px){.equipment-layout,.secondary-equipment-layout{grid-template-columns:350px minmax(0,1fr)}.equipment-row{padding-block:22px}.equipment-row .status{font-size:12px}.equipment-header{min-height:111px}.equipment-list,.equipment-layout{min-height:730px}.nav-link{font-size:16px}.brand strong{font-size:19px}.page-heading h1{font-size:29px}.data-table{font-size:14px}}@media(max-width:1280px){.sidebar{width:210px;padding-inline:10px}.main-shell{margin-left:210px}.brand{gap:9px;padding-inline:8px}.brand img{width:36px;height:36px}.brand strong{font-size:16px}.nav-link{font-size:13px;gap:15px;padding-inline:12px}.equipment-layout{grid-template-columns:250px minmax(0,1fr)}.equipment-row{gap:10px;padding-inline:14px}.equipment-row .status{font-size:10px;max-width:65px}.equipment-row-copy strong{font-size:13px}.equipment-row-copy small{font-size:11px}.equipment-heading{gap:15px}.equipment-heading h2{font-size:21px}.equipment-header{padding:20px;flex-wrap:wrap;gap:12px}.equipment-updated{width:100%;padding-left:61px}.topbar{padding-inline:22px}main{padding:24px 22px 0}.data-table td,.data-table th{padding-inline:14px}.service-state{gap:12px}.service-state time{padding-left:12px}.value-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.service-state time{display:none}.topbar{gap:10px}.equipment-layout{grid-template-columns:220px minmax(0,1fr)}.equipment-row{flex-wrap:wrap;column-gap:9px;padding-block:14px;min-height:86px}.equipment-row .status{margin-left:35px;max-width:none;width:100%;font-size:10px}.equipment-list .panel-title h2{font-size:15px}.search-input{margin-inline:14px;padding-inline:9px}.equipment-heading>.status{margin-left:0}.equipment-heading{flex-wrap:wrap;gap:12px}.equipment-heading>svg{width:34px}.equipment-updated{padding-left:46px}.panel-title h2{font-size:15px}.heading-actions{flex-wrap:wrap}.context-select>span{display:none}.context-select select{max-width:180px}.refresh-button span{display:none}.sync-values{gap:9px;padding-inline:14px}.sync-values>div{padding:13px 10px}.sync-values span{font-size:11px}}@media(max-width:800px){.sidebar{width:68px;padding-inline:8px}.main-shell{margin-left:68px}.brand{padding:0 7px 30px}.brand img{width:37px;height:37px}.brand strong,.nav-link span,.sidebar-foot span,.collapse-toggle{display:none}.nav-link{padding:14px;justify-content:center}.sidebar-foot{justify-content:center;padding-inline:0}.equipment-layout{grid-template-columns:210px minmax(0,1fr)}main{padding:20px 17px 0}.topbar{padding-inline:17px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.page-heading{align-items:flex-start;gap:12px}.equipment-heading h2{font-size:19px}.equipment-heading p{font-size:11px}.equipment-header{padding:18px 16px}.value-details{gap:20px 12px;padding-inline:15px}.value-details dd{font-size:14px}}@media(max-width:650px){.equipment-layout{grid-template-columns:1fr;min-height:0}.equipment-list{min-height:0}.equipment-list .equipment-rows{display:flex;overflow:auto}.equipment-row{min-width:220px;width:220px;border-left:0;border-top:3px solid transparent}.equipment-row.selected{border-top-color:#3284df}.equipment-list .empty-state{min-height:140px}.unselected-panel{min-height:320px}.page-heading{flex-direction:column}.heading-actions{width:100%;justify-content:flex-end}.context-select{flex:1}.context-select select{max-width:100%;width:100%}.service-state{display:none}.breadcrumb{font-size:12px}.topbar{height:56px;min-height:56px}.detail-stack{gap:12px}.equipment-updated{padding-left:0}.sync-values{grid-template-columns:1fr}.sync-values>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.sync-values strong,.sync-values p{margin:0}.app-footer{padding:20px 17px}.app-footer span:first-child{display:none}.nav-collapsed .sidebar{width:68px}.nav-collapsed .main-shell{margin-left:68px}} diff --git a/src/main/resources/static/console/assets/index-DHXeX6-t.js b/src/main/resources/static/console/assets/index-DHXeX6-t.js deleted file mode 100644 index 027d47b..0000000 --- a/src/main/resources/static/console/assets/index-DHXeX6-t.js +++ /dev/null @@ -1,214 +0,0 @@ -(function(){const S=document.createElement("link").relList;if(S&&S.supports&&S.supports("modulepreload"))return;for(const _ of document.querySelectorAll('link[rel="modulepreload"]'))o(_);new MutationObserver(_=>{for(const D of _)if(D.type==="childList")for(const w of D.addedNodes)w.tagName==="LINK"&&w.rel==="modulepreload"&&o(w)}).observe(document,{childList:!0,subtree:!0});function N(_){const D={};return _.integrity&&(D.integrity=_.integrity),_.referrerPolicy&&(D.referrerPolicy=_.referrerPolicy),_.crossOrigin==="use-credentials"?D.credentials="include":_.crossOrigin==="anonymous"?D.credentials="omit":D.credentials="same-origin",D}function o(_){if(_.ep)return;_.ep=!0;const D=N(_);fetch(_.href,D)}})();function ky(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var rf={exports:{}},Au={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Yh;function $y(){if(Yh)return Au;Yh=1;var s=Symbol.for("react.transitional.element"),S=Symbol.for("react.fragment");function N(o,_,D){var w=null;if(D!==void 0&&(w=""+D),_.key!==void 0&&(w=""+_.key),"key"in _){D={};for(var J in _)J!=="key"&&(D[J]=_[J])}else D=_;return _=D.ref,{$$typeof:s,type:o,key:w,ref:_!==void 0?_:null,props:D}}return Au.Fragment=S,Au.jsx=N,Au.jsxs=N,Au}var qh;function Wy(){return qh||(qh=1,rf.exports=$y()),rf.exports}var f=Wy(),vf={exports:{}},X={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Gh;function Fy(){if(Gh)return X;Gh=1;var s=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),w=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),ul=Symbol.iterator;function Tl(y){return y===null||typeof y!="object"?null:(y=ul&&y[ul]||y["@@iterator"],typeof y=="function"?y:null)}var nl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gl=Object.assign,Rl={};function _l(y,A,O){this.props=y,this.context=A,this.refs=Rl,this.updater=O||nl}_l.prototype.isReactComponent={},_l.prototype.setState=function(y,A){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,A,"setState")},_l.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function Cl(){}Cl.prototype=_l.prototype;function bl(y,A,O){this.props=y,this.context=A,this.refs=Rl,this.updater=O||nl}var Nl=bl.prototype=new Cl;Nl.constructor=bl,gl(Nl,_l.prototype),Nl.isPureReactComponent=!0;var Xl=Array.isArray;function Bl(){}var Y={H:null,A:null,T:null,S:null},Yl=Object.prototype.hasOwnProperty;function Il(y,A,O){var C=O.ref;return{$$typeof:s,type:y,key:A,ref:C!==void 0?C:null,props:O}}function Pt(y,A){return Il(y.type,A,y.props)}function ct(y){return typeof y=="object"&&y!==null&&y.$$typeof===s}function Ll(y){var A={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(O){return A[O]})}var Q=/\/+/g;function gt(y,A){return typeof y=="object"&&y!==null&&y.key!=null?Ll(""+y.key):A.toString(36)}function ql(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(Bl,Bl):(y.status="pending",y.then(function(A){y.status==="pending"&&(y.status="fulfilled",y.value=A)},function(A){y.status==="pending"&&(y.status="rejected",y.reason=A)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function E(y,A,O,C,L){var k=typeof y;(k==="undefined"||k==="boolean")&&(y=null);var fl=!1;if(y===null)fl=!0;else switch(k){case"bigint":case"string":case"number":fl=!0;break;case"object":switch(y.$$typeof){case s:case S:fl=!0;break;case V:return fl=y._init,E(fl(y._payload),A,O,C,L)}}if(fl)return L=L(y),fl=C===""?"."+gt(y,0):C,Xl(L)?(O="",fl!=null&&(O=fl.replace(Q,"$&/")+"/"),E(L,A,O,"",function(De){return De})):L!=null&&(ct(L)&&(L=Pt(L,O+(L.key==null||y&&y.key===L.key?"":(""+L.key).replace(Q,"$&/")+"/")+fl)),A.push(L)),1;fl=0;var $l=C===""?".":C+":";if(Xl(y))for(var Al=0;Al>>1,ll=E[cl];if(0<_(ll,M))E[cl]=M,E[q]=ll,q=cl;else break l}}function N(E){return E.length===0?null:E[0]}function o(E){if(E.length===0)return null;var M=E[0],q=E.pop();if(q!==M){E[0]=q;l:for(var cl=0,ll=E.length,y=ll>>>1;cl_(O,q))C_(L,O)?(E[cl]=L,E[C]=q,cl=C):(E[cl]=O,E[A]=q,cl=A);else if(C_(L,q))E[cl]=L,E[C]=q,cl=C;else break l}}return M}function _(E,M){var q=E.sortIndex-M.sortIndex;return q!==0?q:E.id-M.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var D=performance;s.unstable_now=function(){return D.now()}}else{var w=Date,J=w.now();s.unstable_now=function(){return w.now()-J}}var p=[],x=[],V=1,B=null,ul=3,Tl=!1,nl=!1,gl=!1,Rl=!1,_l=typeof setTimeout=="function"?setTimeout:null,Cl=typeof clearTimeout=="function"?clearTimeout:null,bl=typeof setImmediate<"u"?setImmediate:null;function Nl(E){for(var M=N(x);M!==null;){if(M.callback===null)o(x);else if(M.startTime<=E)o(x),M.sortIndex=M.expirationTime,S(p,M);else break;M=N(x)}}function Xl(E){if(gl=!1,Nl(E),!nl)if(N(p)!==null)nl=!0,Bl||(Bl=!0,Ll());else{var M=N(x);M!==null&&ql(Xl,M.startTime-E)}}var Bl=!1,Y=-1,Yl=5,Il=-1;function Pt(){return Rl?!0:!(s.unstable_now()-IlE&&Pt());){var cl=B.callback;if(typeof cl=="function"){B.callback=null,ul=B.priorityLevel;var ll=cl(B.expirationTime<=E);if(E=s.unstable_now(),typeof ll=="function"){B.callback=ll,Nl(E),M=!0;break t}B===N(p)&&o(p),Nl(E)}else o(p);B=N(p)}if(B!==null)M=!0;else{var y=N(x);y!==null&&ql(Xl,y.startTime-E),M=!1}}break l}finally{B=null,ul=q,Tl=!1}M=void 0}}finally{M?Ll():Bl=!1}}}var Ll;if(typeof bl=="function")Ll=function(){bl(ct)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,gt=Q.port2;Q.port1.onmessage=ct,Ll=function(){gt.postMessage(null)}}else Ll=function(){_l(ct,0)};function ql(E,M){Y=_l(function(){E(s.unstable_now())},M)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(E){E.callback=null},s.unstable_forceFrameRate=function(E){0>E||125cl?(E.sortIndex=q,S(x,E),N(p)===null&&E===N(x)&&(gl?(Cl(Y),Y=-1):gl=!0,ql(Xl,q-cl))):(E.sortIndex=ll,S(p,E),nl||Tl||(nl=!0,Bl||(Bl=!0,Ll()))),E},s.unstable_shouldYield=Pt,s.unstable_wrapCallback=function(E){var M=ul;return function(){var q=ul;ul=M;try{return E.apply(this,arguments)}finally{ul=q}}}})(Sf)),Sf}var Lh;function lr(){return Lh||(Lh=1,gf.exports=Py()),gf.exports}var bf={exports:{}},kl={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Zh;function tr(){if(Zh)return kl;Zh=1;var s=Nf();function S(p){var x="https://react.dev/errors/"+p;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(S){console.error(S)}}return s(),bf.exports=tr(),bf.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Kh;function er(){if(Kh)return xu;Kh=1;var s=lr(),S=Nf(),N=ar();function o(l){var t="https://react.dev/errors/"+l;if(1ll||(l.current=cl[ll],cl[ll]=null,ll--)}function O(l,t){ll++,cl[ll]=l.current,l.current=t}var C=y(null),L=y(null),k=y(null),fl=y(null);function $l(l,t){switch(O(k,t),O(L,l),O(C,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?ch(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=ch(t),l=ih(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}A(C),O(C,l)}function Al(){A(C),A(L),A(k)}function De(l){l.memoizedState!==null&&O(fl,l);var t=C.current,a=ih(t,l.type);t!==a&&(O(L,l),O(C,a))}function Nu(l){L.current===l&&(A(C),A(L)),fl.current===l&&(A(fl),zu._currentValue=q)}var $n,Rf;function pa(l){if($n===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);$n=t&&t[1]||"",Rf=-1)":-1u||d[e]!==m[u]){var z=` -`+d[e].replace(" at new "," at ");return l.displayName&&z.includes("")&&(z=z.replace("",l.displayName)),z}while(1<=e&&0<=u);break}}}finally{Wn=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?pa(a):""}function x0(l,t){switch(l.tag){case 26:case 27:case 5:return pa(l.type);case 16:return pa("Lazy");case 13:return l.child!==t&&t!==null?pa("Suspense Fallback"):pa("Suspense");case 19:return pa("SuspenseList");case 0:case 15:return Fn(l.type,!1);case 11:return Fn(l.type.render,!1);case 1:return Fn(l.type,!0);case 31:return pa("Activity");default:return""}}function Bf(l){try{var t="",a=null;do t+=x0(l,a),a=l,l=l.return;while(l);return t}catch(e){return` -Error generating stack: `+e.message+` -`+e.stack}}var In=Object.prototype.hasOwnProperty,Pn=s.unstable_scheduleCallback,lc=s.unstable_cancelCallback,p0=s.unstable_shouldYield,_0=s.unstable_requestPaint,it=s.unstable_now,N0=s.unstable_getCurrentPriorityLevel,Yf=s.unstable_ImmediatePriority,qf=s.unstable_UserBlockingPriority,Mu=s.unstable_NormalPriority,M0=s.unstable_LowPriority,Gf=s.unstable_IdlePriority,O0=s.log,D0=s.unstable_setDisableYieldValue,Ue=null,ft=null;function la(l){if(typeof O0=="function"&&D0(l),ft&&typeof ft.setStrictMode=="function")try{ft.setStrictMode(Ue,l)}catch{}}var st=Math.clz32?Math.clz32:H0,U0=Math.log,C0=Math.LN2;function H0(l){return l>>>=0,l===0?32:31-(U0(l)/C0|0)|0}var Ou=256,Du=262144,Uu=4194304;function _a(l){var t=l&42;if(t!==0)return t;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Cu(l,t,a){var e=l.pendingLanes;if(e===0)return 0;var u=0,n=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var i=e&134217727;return i!==0?(e=i&~n,e!==0?u=_a(e):(c&=i,c!==0?u=_a(c):a||(a=i&~l,a!==0&&(u=_a(a))))):(i=e&~n,i!==0?u=_a(i):c!==0?u=_a(c):a||(a=e&~l,a!==0&&(u=_a(a)))),u===0?0:t!==0&&t!==u&&(t&n)===0&&(n=u&-u,a=t&-t,n>=a||n===32&&(a&4194048)!==0)?t:u}function Ce(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function R0(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qf(){var l=Uu;return Uu<<=1,(Uu&62914560)===0&&(Uu=4194304),l}function tc(l){for(var t=[],a=0;31>a;a++)t.push(l);return t}function He(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function B0(l,t,a,e,u,n){var c=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var i=l.entanglements,d=l.expirationTimes,m=l.hiddenUpdates;for(a=c&~a;0"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var L0=/[\n"\\]/g;function bt(l){return l.replace(L0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ic(l,t,a,e,u,n,c,i){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+St(t)):l.value!==""+St(t)&&(l.value=""+St(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?fc(l,c,St(t)):a!=null?fc(l,c,St(a)):e!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.name=""+St(i):l.removeAttribute("name")}function Pf(l,t,a,e,u,n,c,i){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||t!=null)){cc(l);return}a=a!=null?""+St(a):"",t=t!=null?""+St(t):a,i||t===l.value||(l.value=t),l.defaultValue=t}e=e??u,e=typeof e!="function"&&typeof e!="symbol"&&!!e,l.checked=i?l.checked:!!e,l.defaultChecked=!!e,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),cc(l)}function fc(l,t,a){t==="number"&&Bu(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Fa(l,t,a,e){if(l=l.options,t){t={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yc=!1;if(Yt)try{var qe={};Object.defineProperty(qe,"passive",{get:function(){yc=!0}}),window.addEventListener("test",qe,qe),window.removeEventListener("test",qe,qe)}catch{yc=!1}var aa=null,rc=null,qu=null;function cs(){if(qu)return qu;var l,t=rc,a=t.length,e,u="value"in aa?aa.value:aa.textContent,n=u.length;for(l=0;l=Xe),hs=" ",ys=!1;function rs(l,t){switch(l){case"keyup":return m1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vs(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var te=!1;function S1(l,t){switch(l){case"compositionend":return vs(t);case"keypress":return t.which!==32?null:(ys=!0,hs);case"textInput":return l=t.data,l===hs&&ys?null:l;default:return null}}function b1(l,t){if(te)return l==="compositionend"||!bc&&rs(l,t)?(l=cs(),qu=rc=aa=null,te=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-l};l=e}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=Ts(a)}}function xs(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?xs(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function ps(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Bu(l.document);t instanceof l.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)l=t.contentWindow;else break;t=Bu(l.document)}return t}function jc(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var _1=Yt&&"documentMode"in document&&11>=document.documentMode,ae=null,Tc=null,Ke=null,Ac=!1;function _s(l,t,a){var e=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ac||ae==null||ae!==Bu(e)||(e=ae,"selectionStart"in e&&jc(e)?e={start:e.selectionStart,end:e.selectionEnd}:(e=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection(),e={anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}),Ke&&Ve(Ke,e)||(Ke=e,e=Un(Tc,"onSelect"),0>=c,u-=c,Dt=1<<32-st(t)+u|a<K?(I=H,H=null):I=H.sibling;var al=g(r,H,v[K],j);if(al===null){H===null&&(H=I);break}l&&H&&al.alternate===null&&t(r,H),h=n(al,h,K),tl===null?R=al:tl.sibling=al,tl=al,H=I}if(K===v.length)return a(r,H),P&&Gt(r,K),R;if(H===null){for(;KK?(I=H,H=null):I=H.sibling;var Aa=g(r,H,al.value,j);if(Aa===null){H===null&&(H=I);break}l&&H&&Aa.alternate===null&&t(r,H),h=n(Aa,h,K),tl===null?R=Aa:tl.sibling=Aa,tl=Aa,H=I}if(al.done)return a(r,H),P&&Gt(r,K),R;if(H===null){for(;!al.done;K++,al=v.next())al=T(r,al.value,j),al!==null&&(h=n(al,h,K),tl===null?R=al:tl.sibling=al,tl=al);return P&&Gt(r,K),R}for(H=e(H);!al.done;K++,al=v.next())al=b(H,r,K,al.value,j),al!==null&&(l&&al.alternate!==null&&H.delete(al.key===null?K:al.key),h=n(al,h,K),tl===null?R=al:tl.sibling=al,tl=al);return l&&H.forEach(function(wy){return t(r,wy)}),P&&Gt(r,K),R}function yl(r,h,v,j){if(typeof v=="object"&&v!==null&&v.type===gl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Tl:l:{for(var R=v.key;h!==null;){if(h.key===R){if(R=v.type,R===gl){if(h.tag===7){a(r,h.sibling),j=u(h,v.props.children),j.return=r,r=j;break l}}else if(h.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===Yl&&qa(R)===h.type){a(r,h.sibling),j=u(h,v.props),Fe(j,v),j.return=r,r=j;break l}a(r,h);break}else t(r,h);h=h.sibling}v.type===gl?(j=Ca(v.props.children,r.mode,j,v.key),j.return=r,r=j):(j=ku(v.type,v.key,v.props,null,r.mode,j),Fe(j,v),j.return=r,r=j)}return c(r);case nl:l:{for(R=v.key;h!==null;){if(h.key===R)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){a(r,h.sibling),j=u(h,v.children||[]),j.return=r,r=j;break l}else{a(r,h);break}else t(r,h);h=h.sibling}j=Dc(v,r.mode,j),j.return=r,r=j}return c(r);case Yl:return v=qa(v),yl(r,h,v,j)}if(ql(v))return U(r,h,v,j);if(Ll(v)){if(R=Ll(v),typeof R!="function")throw Error(o(150));return v=R.call(v),G(r,h,v,j)}if(typeof v.then=="function")return yl(r,h,tn(v),j);if(v.$$typeof===bl)return yl(r,h,Fu(r,v),j);an(r,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,h!==null&&h.tag===6?(a(r,h.sibling),j=u(h,v),j.return=r,r=j):(a(r,h),j=Oc(v,r.mode,j),j.return=r,r=j),c(r)):a(r,h)}return function(r,h,v,j){try{We=0;var R=yl(r,h,v,j);return ye=null,R}catch(H){if(H===he||H===Pu)throw H;var tl=ot(29,H,null,r.mode);return tl.lanes=j,tl.return=r,tl}finally{}}}var Qa=Ws(!0),Fs=Ws(!1),ia=!1;function Zc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function fa(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function sa(l,t,a){var e=l.updateQueue;if(e===null)return null;if(e=e.shared,(il&2)!==0){var u=e.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),e.pending=t,t=wu(l),Hs(l,null,a),t}return Ju(l,e,t,a),wu(l)}function Ie(l,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Lf(l,a)}}function Kc(l,t){var a=l.updateQueue,e=l.alternate;if(e!==null&&(e=e.updateQueue,a===e)){var u=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};n===null?u=n=c:n=n.next=c,a=a.next}while(a!==null);n===null?u=n=t:n=n.next=t}else u=n=t;a={baseState:e.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:e.shared,callbacks:e.callbacks},l.updateQueue=a;return}l=a.lastBaseUpdate,l===null?a.firstBaseUpdate=t:l.next=t,a.lastBaseUpdate=t}var Jc=!1;function Pe(){if(Jc){var l=oe;if(l!==null)throw l}}function lu(l,t,a,e){Jc=!1;var u=l.updateQueue;ia=!1;var n=u.firstBaseUpdate,c=u.lastBaseUpdate,i=u.shared.pending;if(i!==null){u.shared.pending=null;var d=i,m=d.next;d.next=null,c===null?n=m:c.next=m,c=d;var z=l.alternate;z!==null&&(z=z.updateQueue,i=z.lastBaseUpdate,i!==c&&(i===null?z.firstBaseUpdate=m:i.next=m,z.lastBaseUpdate=d))}if(n!==null){var T=u.baseState;c=0,z=m=d=null,i=n;do{var g=i.lane&-536870913,b=g!==i.lane;if(b?(F&g)===g:(e&g)===g){g!==0&&g===de&&(Jc=!0),z!==null&&(z=z.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});l:{var U=l,G=i;g=t;var yl=a;switch(G.tag){case 1:if(U=G.payload,typeof U=="function"){T=U.call(yl,T,g);break l}T=U;break l;case 3:U.flags=U.flags&-65537|128;case 0:if(U=G.payload,g=typeof U=="function"?U.call(yl,T,g):U,g==null)break l;T=B({},T,g);break l;case 2:ia=!0}}g=i.callback,g!==null&&(l.flags|=64,b&&(l.flags|=8192),b=u.callbacks,b===null?u.callbacks=[g]:b.push(g))}else b={lane:g,tag:i.tag,payload:i.payload,callback:i.callback,next:null},z===null?(m=z=b,d=T):z=z.next=b,c|=g;if(i=i.next,i===null){if(i=u.shared.pending,i===null)break;b=i,i=b.next,b.next=null,u.lastBaseUpdate=b,u.shared.pending=null}}while(!0);z===null&&(d=T),u.baseState=d,u.firstBaseUpdate=m,u.lastBaseUpdate=z,n===null&&(u.shared.lanes=0),ra|=c,l.lanes=c,l.memoizedState=T}}function Is(l,t){if(typeof l!="function")throw Error(o(191,l));l.call(t)}function Ps(l,t){var a=l.callbacks;if(a!==null)for(l.callbacks=null,l=0;ln?n:8;var c=E.T,i={};E.T=i,oi(l,!1,t,a);try{var d=u(),m=E.S;if(m!==null&&m(i,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){var z=B1(d,e);eu(l,t,z,mt(l))}else eu(l,t,e,mt(l))}catch(T){eu(l,t,{then:function(){},status:"rejected",reason:T},mt())}finally{M.p=n,c!==null&&i.types!==null&&(c.types=i.types),E.T=c}}function L1(){}function si(l,t,a,e){if(l.tag!==5)throw Error(o(476));var u=Dd(l).queue;Od(l,u,t,q,a===null?L1:function(){return Ud(l),a(e)})}function Dd(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:q},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:a},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function Ud(l){var t=Dd(l);t.next===null&&(t=l.alternate.memoizedState),eu(l,t.next.queue,{},mt())}function di(){return Kl(zu)}function Cd(){return pl().memoizedState}function Hd(){return pl().memoizedState}function Z1(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var a=mt();l=fa(a);var e=sa(t,l,a);e!==null&&(nt(e,t,a),Ie(e,t,a)),t={cache:Gc()},l.payload=t;return}t=t.return}}function V1(l,t,a){var e=mt();a={lane:e,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},yn(l)?Bd(t,a):(a=Nc(l,t,a,e),a!==null&&(nt(a,l,e),Yd(a,t,e)))}function Rd(l,t,a){var e=mt();eu(l,t,a,e)}function eu(l,t,a,e){var u={lane:e,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(yn(l))Bd(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var c=t.lastRenderedState,i=n(c,a);if(u.hasEagerState=!0,u.eagerState=i,dt(i,c))return Ju(l,t,u,0),rl===null&&Ku(),!1}catch{}finally{}if(a=Nc(l,t,u,e),a!==null)return nt(a,l,e),Yd(a,t,e),!0}return!1}function oi(l,t,a,e){if(e={lane:2,revertLane:Zi(),gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},yn(l)){if(t)throw Error(o(479))}else t=Nc(l,a,e,2),t!==null&&nt(t,l,2)}function yn(l){var t=l.alternate;return l===Z||t!==null&&t===Z}function Bd(l,t){ve=nn=!0;var a=l.pending;a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t}function Yd(l,t,a){if((a&4194048)!==0){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Lf(l,a)}}var uu={readContext:Kl,use:sn,useCallback:El,useContext:El,useEffect:El,useImperativeHandle:El,useLayoutEffect:El,useInsertionEffect:El,useMemo:El,useReducer:El,useRef:El,useState:El,useDebugValue:El,useDeferredValue:El,useTransition:El,useSyncExternalStore:El,useId:El,useHostTransitionStatus:El,useFormState:El,useActionState:El,useOptimistic:El,useMemoCache:El,useCacheRefresh:El};uu.useEffectEvent=El;var qd={readContext:Kl,use:sn,useCallback:function(l,t){return Wl().memoizedState=[l,t===void 0?null:t],l},useContext:Kl,useEffect:Ed,useImperativeHandle:function(l,t,a){a=a!=null?a.concat([l]):null,on(4194308,4,xd.bind(null,t,l),a)},useLayoutEffect:function(l,t){return on(4194308,4,l,t)},useInsertionEffect:function(l,t){on(4,2,l,t)},useMemo:function(l,t){var a=Wl();t=t===void 0?null:t;var e=l();if(Xa){la(!0);try{l()}finally{la(!1)}}return a.memoizedState=[e,t],e},useReducer:function(l,t,a){var e=Wl();if(a!==void 0){var u=a(t);if(Xa){la(!0);try{a(t)}finally{la(!1)}}}else u=t;return e.memoizedState=e.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},e.queue=l,l=l.dispatch=V1.bind(null,Z,l),[e.memoizedState,l]},useRef:function(l){var t=Wl();return l={current:l},t.memoizedState=l},useState:function(l){l=ui(l);var t=l.queue,a=Rd.bind(null,Z,t);return t.dispatch=a,[l.memoizedState,a]},useDebugValue:ii,useDeferredValue:function(l,t){var a=Wl();return fi(a,l,t)},useTransition:function(){var l=ui(!1);return l=Od.bind(null,Z,l.queue,!0,!1),Wl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,a){var e=Z,u=Wl();if(P){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),rl===null)throw Error(o(349));(F&127)!==0||nd(e,t,a)}u.memoizedState=a;var n={value:a,getSnapshot:t};return u.queue=n,Ed(id.bind(null,e,n,l),[l]),e.flags|=2048,ge(9,{destroy:void 0},cd.bind(null,e,n,a,t),null),a},useId:function(){var l=Wl(),t=rl.identifierPrefix;if(P){var a=Ut,e=Dt;a=(e&~(1<<32-st(e)-1)).toString(32)+a,t="_"+t+"R_"+a,a=cn++,0<\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof e.is=="string"?c.createElement("select",{is:e.is}):c.createElement("select"),e.multiple?n.multiple=!0:e.size&&(n.size=e.size);break;default:n=typeof e.is=="string"?c.createElement(u,{is:e.is}):c.createElement(u)}}n[Zl]=t,n[Pl]=e;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)n.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=n;l:switch(wl(n,u,e),u){case"button":case"input":case"select":case"textarea":e=!!e.autoFocus;break l;case"img":e=!0;break l;default:e=!1}e&&Kt(t)}}return ml(t),xi(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,a),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==e&&Kt(t);else{if(typeof e!="string"&&t.stateNode===null)throw Error(o(166));if(l=k.current,fe(t)){if(l=t.stateNode,a=t.memoizedProps,e=null,u=Vl,u!==null)switch(u.tag){case 27:case 5:e=u.memoizedProps}l[Zl]=t,l=!!(l.nodeValue===a||e!==null&&e.suppressHydrationWarning===!0||uh(l.nodeValue,a)),l||na(t,!0)}else l=Cn(l).createTextNode(e),l[Zl]=t,t.stateNode=l}return ml(t),null;case 31:if(a=t.memoizedState,l===null||l.memoizedState!==null){if(e=fe(t),a!==null){if(l===null){if(!e)throw Error(o(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(557));l[Zl]=t}else Ha(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ml(t),l=!1}else a=Rc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=a),l=!0;if(!l)return t.flags&256?(yt(t),t):(yt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return ml(t),null;case 13:if(e=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=fe(t),e!==null&&e.dehydrated!==null){if(l===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Zl]=t}else Ha(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ml(t),u=!1}else u=Rc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(yt(t),t):(yt(t),null)}return yt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=e!==null,l=l!==null&&l.memoizedState!==null,a&&(e=t.child,u=null,e.alternate!==null&&e.alternate.memoizedState!==null&&e.alternate.memoizedState.cachePool!==null&&(u=e.alternate.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==u&&(e.flags|=2048)),a!==l&&a&&(t.child.flags|=8192),Sn(t,t.updateQueue),ml(t),null);case 4:return Al(),l===null&&wi(t.stateNode.containerInfo),ml(t),null;case 10:return Xt(t.type),ml(t),null;case 19:if(A(xl),e=t.memoizedState,e===null)return ml(t),null;if(u=(t.flags&128)!==0,n=e.rendering,n===null)if(u)cu(e,!1);else{if(jl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=un(l),n!==null){for(t.flags|=128,cu(e,!1),l=n.updateQueue,t.updateQueue=l,Sn(t,l),t.subtreeFlags=0,l=a,a=t.child;a!==null;)Rs(a,l),a=a.sibling;return O(xl,xl.current&1|2),P&&Gt(t,e.treeForkCount),t.child}l=l.sibling}e.tail!==null&&it()>Tn&&(t.flags|=128,u=!0,cu(e,!1),t.lanes=4194304)}else{if(!u)if(l=un(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,Sn(t,l),cu(e,!0),e.tail===null&&e.tailMode==="hidden"&&!n.alternate&&!P)return ml(t),null}else 2*it()-e.renderingStartTime>Tn&&a!==536870912&&(t.flags|=128,u=!0,cu(e,!1),t.lanes=4194304);e.isBackwards?(n.sibling=t.child,t.child=n):(l=e.last,l!==null?l.sibling=n:t.child=n,e.last=n)}return e.tail!==null?(l=e.tail,e.rendering=l,e.tail=l.sibling,e.renderingStartTime=it(),l.sibling=null,a=xl.current,O(xl,u?a&1|2:a&1),P&&Gt(t,e.treeForkCount),l):(ml(t),null);case 22:case 23:return yt(t),kc(),e=t.memoizedState!==null,l!==null?l.memoizedState!==null!==e&&(t.flags|=8192):e&&(t.flags|=8192),e?(a&536870912)!==0&&(t.flags&128)===0&&(ml(t),t.subtreeFlags&6&&(t.flags|=8192)):ml(t),a=t.updateQueue,a!==null&&Sn(t,a.retryQueue),a=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(t.flags|=2048),l!==null&&A(Ya),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Xt(Ml),ml(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function $1(l,t){switch(Cc(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Xt(Ml),Al(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Nu(t),null;case 31:if(t.memoizedState!==null){if(yt(t),t.alternate===null)throw Error(o(340));Ha()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(yt(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Ha()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return A(xl),null;case 4:return Al(),null;case 10:return Xt(t.type),null;case 22:case 23:return yt(t),kc(),l!==null&&A(Ya),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Xt(Ml),null;case 25:return null;default:return null}}function fo(l,t){switch(Cc(t),t.tag){case 3:Xt(Ml),Al();break;case 26:case 27:case 5:Nu(t);break;case 4:Al();break;case 31:t.memoizedState!==null&&yt(t);break;case 13:yt(t);break;case 19:A(xl);break;case 10:Xt(t.type);break;case 22:case 23:yt(t),kc(),l!==null&&A(Ya);break;case 24:Xt(Ml)}}function iu(l,t){try{var a=t.updateQueue,e=a!==null?a.lastEffect:null;if(e!==null){var u=e.next;a=u;do{if((a.tag&l)===l){e=void 0;var n=a.create,c=a.inst;e=n(),c.destroy=e}a=a.next}while(a!==u)}}catch(i){dl(t,t.return,i)}}function ha(l,t,a){try{var e=t.updateQueue,u=e!==null?e.lastEffect:null;if(u!==null){var n=u.next;e=n;do{if((e.tag&l)===l){var c=e.inst,i=c.destroy;if(i!==void 0){c.destroy=void 0,u=t;var d=a,m=i;try{m()}catch(z){dl(u,d,z)}}}e=e.next}while(e!==n)}}catch(z){dl(t,t.return,z)}}function so(l){var t=l.updateQueue;if(t!==null){var a=l.stateNode;try{Ps(t,a)}catch(e){dl(l,l.return,e)}}}function oo(l,t,a){a.props=La(l.type,l.memoizedProps),a.state=l.memoizedState;try{a.componentWillUnmount()}catch(e){dl(l,t,e)}}function fu(l,t){try{var a=l.ref;if(a!==null){switch(l.tag){case 26:case 27:case 5:var e=l.stateNode;break;case 30:e=l.stateNode;break;default:e=l.stateNode}typeof a=="function"?l.refCleanup=a(e):a.current=e}}catch(u){dl(l,t,u)}}function Ct(l,t){var a=l.ref,e=l.refCleanup;if(a!==null)if(typeof e=="function")try{e()}catch(u){dl(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(u){dl(l,t,u)}else a.current=null}function ho(l){var t=l.type,a=l.memoizedProps,e=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break l;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}catch(u){dl(l,l.return,u)}}function pi(l,t,a){try{var e=l.stateNode;gy(e,l.type,a,t),e[Pl]=t}catch(u){dl(l,l.return,u)}}function yo(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ba(l.type)||l.tag===4}function _i(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||yo(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&ba(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Ni(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(l,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(l),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Bt));else if(e!==4&&(e===27&&ba(l.type)&&(a=l.stateNode,t=null),l=l.child,l!==null))for(Ni(l,t,a),l=l.sibling;l!==null;)Ni(l,t,a),l=l.sibling}function bn(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?a.insertBefore(l,t):a.appendChild(l);else if(e!==4&&(e===27&&ba(l.type)&&(a=l.stateNode),l=l.child,l!==null))for(bn(l,t,a),l=l.sibling;l!==null;)bn(l,t,a),l=l.sibling}function ro(l){var t=l.stateNode,a=l.memoizedProps;try{for(var e=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);wl(t,e,a),t[Zl]=l,t[Pl]=a}catch(n){dl(l,l.return,n)}}var Jt=!1,Ul=!1,Mi=!1,vo=typeof WeakSet=="function"?WeakSet:Set,Ql=null;function W1(l,t){if(l=l.containerInfo,Wi=Qn,l=ps(l),jc(l)){if("selectionStart"in l)var a={start:l.selectionStart,end:l.selectionEnd};else l:{a=(a=l.ownerDocument)&&a.defaultView||window;var e=a.getSelection&&a.getSelection();if(e&&e.rangeCount!==0){a=e.anchorNode;var u=e.anchorOffset,n=e.focusNode;e=e.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break l}var c=0,i=-1,d=-1,m=0,z=0,T=l,g=null;t:for(;;){for(var b;T!==a||u!==0&&T.nodeType!==3||(i=c+u),T!==n||e!==0&&T.nodeType!==3||(d=c+e),T.nodeType===3&&(c+=T.nodeValue.length),(b=T.firstChild)!==null;)g=T,T=b;for(;;){if(T===l)break t;if(g===a&&++m===u&&(i=c),g===n&&++z===e&&(d=c),(b=T.nextSibling)!==null)break;T=g,g=T.parentNode}T=b}a=i===-1||d===-1?null:{start:i,end:d}}else a=null}a=a||{start:0,end:0}}else a=null;for(Fi={focusedElem:l,selectionRange:a},Qn=!1,Ql=t;Ql!==null;)if(t=Ql,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Ql=l;else for(;Ql!==null;){switch(t=Ql,n=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(a=0;a title"))),wl(n,e,a),n[Zl]=l,Gl(n),e=n;break l;case"link":var c=Eh("link","href",u).get(e+(a.href||""));if(c){for(var i=0;iyl&&(c=yl,yl=G,G=c);var r=As(i,G),h=As(i,yl);if(r&&h&&(b.rangeCount!==1||b.anchorNode!==r.node||b.anchorOffset!==r.offset||b.focusNode!==h.node||b.focusOffset!==h.offset)){var v=T.createRange();v.setStart(r.node,r.offset),b.removeAllRanges(),G>yl?(b.addRange(v),b.extend(h.node,h.offset)):(v.setEnd(h.node,h.offset),b.addRange(v))}}}}for(T=[],b=i;b=b.parentNode;)b.nodeType===1&&T.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;ia?32:a,E.T=null,a=Bi,Bi=null;var n=ma,c=Ft;if(Hl=0,je=ma=null,Ft=0,(il&6)!==0)throw Error(o(331));var i=il;if(il|=4,po(n.current),To(n,n.current,c,a),il=i,ru(0,!1),ft&&typeof ft.onPostCommitFiberRoot=="function")try{ft.onPostCommitFiberRoot(Ue,n)}catch{}return!0}finally{M.p=u,E.T=e,Vo(l,t)}}function Jo(l,t,a){t=Et(a,t),t=vi(l.stateNode,t,2),l=sa(l,t,2),l!==null&&(He(l,2),Ht(l))}function dl(l,t,a){if(l.tag===3)Jo(l,l,a);else for(;t!==null;){if(t.tag===3){Jo(t,l,a);break}else if(t.tag===1){var e=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof e.componentDidCatch=="function"&&(va===null||!va.has(e))){l=Et(a,l),a=Jd(2),e=sa(t,a,2),e!==null&&(wd(a,e,t,l),He(e,2),Ht(e));break}}t=t.return}}function Qi(l,t,a){var e=l.pingCache;if(e===null){e=l.pingCache=new P1;var u=new Set;e.set(t,u)}else u=e.get(t),u===void 0&&(u=new Set,e.set(t,u));u.has(a)||(Ui=!0,u.add(a),l=uy.bind(null,l,t,a),t.then(l,l))}function uy(l,t,a){var e=l.pingCache;e!==null&&e.delete(t),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,rl===l&&(F&a)===a&&(jl===4||jl===3&&(F&62914560)===F&&300>it()-jn?(il&2)===0&&Te(l,0):Ci|=a,Ee===F&&(Ee=0)),Ht(l)}function wo(l,t){t===0&&(t=Qf()),l=Ua(l,t),l!==null&&(He(l,t),Ht(l))}function ny(l){var t=l.memoizedState,a=0;t!==null&&(a=t.retryLane),wo(l,a)}function cy(l,t){var a=0;switch(l.tag){case 31:case 13:var e=l.stateNode,u=l.memoizedState;u!==null&&(a=u.retryLane);break;case 19:e=l.stateNode;break;case 22:e=l.stateNode._retryCache;break;default:throw Error(o(314))}e!==null&&e.delete(t),wo(l,a)}function iy(l,t){return Pn(l,t)}var Mn=null,xe=null,Xi=!1,On=!1,Li=!1,Sa=0;function Ht(l){l!==xe&&l.next===null&&(xe===null?Mn=xe=l:xe=xe.next=l),On=!0,Xi||(Xi=!0,sy())}function ru(l,t){if(!Li&&On){Li=!0;do for(var a=!1,e=Mn;e!==null;){if(l!==0){var u=e.pendingLanes;if(u===0)var n=0;else{var c=e.suspendedLanes,i=e.pingedLanes;n=(1<<31-st(42|l)+1)-1,n&=u&~(c&~i),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(a=!0,Fo(e,n))}else n=F,n=Cu(e,e===rl?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),(n&3)===0||Ce(e,n)||(a=!0,Fo(e,n));e=e.next}while(a);Li=!1}}function fy(){ko()}function ko(){On=Xi=!1;var l=0;Sa!==0&&by()&&(l=Sa);for(var t=it(),a=null,e=Mn;e!==null;){var u=e.next,n=$o(e,t);n===0?(e.next=null,a===null?Mn=u:a.next=u,u===null&&(xe=a)):(a=e,(l!==0||(n&3)!==0)&&(On=!0)),e=u}Hl!==0&&Hl!==5||ru(l),Sa!==0&&(Sa=0)}function $o(l,t){for(var a=l.suspendedLanes,e=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0i)break;var z=d.transferSize,T=d.initiatorType;z&&nh(T)&&(d=d.responseEnd,c+=z*(d"u"?null:document;function gh(l,t,a){var e=pe;if(e&&typeof t=="string"&&t){var u=bt(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),mh.has(u)||(mh.add(u),l={rel:l,crossOrigin:a,href:t},e.querySelector(u)===null&&(t=e.createElement("link"),wl(t,"link",l),Gl(t),e.head.appendChild(t)))}}function Ny(l){It.D(l),gh("dns-prefetch",l,null)}function My(l,t){It.C(l,t),gh("preconnect",l,t)}function Oy(l,t,a){It.L(l,t,a);var e=pe;if(e&&l&&t){var u='link[rel="preload"][as="'+bt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+bt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+bt(a.imageSizes)+'"]')):u+='[href="'+bt(l)+'"]';var n=u;switch(t){case"style":n=_e(l);break;case"script":n=Ne(l)}_t.has(n)||(l=B({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:l,as:t},a),_t.set(n,l),e.querySelector(u)!==null||t==="style"&&e.querySelector(Su(n))||t==="script"&&e.querySelector(bu(n))||(t=e.createElement("link"),wl(t,"link",l),Gl(t),e.head.appendChild(t)))}}function Dy(l,t){It.m(l,t);var a=pe;if(a&&l){var e=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+bt(e)+'"][href="'+bt(l)+'"]',n=u;switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Ne(l)}if(!_t.has(n)&&(l=B({rel:"modulepreload",href:l},t),_t.set(n,l),a.querySelector(u)===null)){switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(bu(n)))return}e=a.createElement("link"),wl(e,"link",l),Gl(e),a.head.appendChild(e)}}}function Uy(l,t,a){It.S(l,t,a);var e=pe;if(e&&l){var u=$a(e).hoistableStyles,n=_e(l);t=t||"default";var c=u.get(n);if(!c){var i={loading:0,preload:null};if(c=e.querySelector(Su(n)))i.loading=5;else{l=B({rel:"stylesheet",href:l,"data-precedence":t},a),(a=_t.get(n))&&uf(l,a);var d=c=e.createElement("link");Gl(d),wl(d,"link",l),d._p=new Promise(function(m,z){d.onload=m,d.onerror=z}),d.addEventListener("load",function(){i.loading|=1}),d.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Rn(c,t,e)}c={type:"stylesheet",instance:c,count:1,state:i},u.set(n,c)}}}function Cy(l,t){It.X(l,t);var a=pe;if(a&&l){var e=$a(a).hoistableScripts,u=Ne(l),n=e.get(u);n||(n=a.querySelector(bu(u)),n||(l=B({src:l,async:!0},t),(t=_t.get(u))&&nf(l,t),n=a.createElement("script"),Gl(n),wl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Hy(l,t){It.M(l,t);var a=pe;if(a&&l){var e=$a(a).hoistableScripts,u=Ne(l),n=e.get(u);n||(n=a.querySelector(bu(u)),n||(l=B({src:l,async:!0,type:"module"},t),(t=_t.get(u))&&nf(l,t),n=a.createElement("script"),Gl(n),wl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Sh(l,t,a,e){var u=(u=k.current)?Hn(u):null;if(!u)throw Error(o(446));switch(l){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=_e(a.href),a=$a(u).hoistableStyles,e=a.get(t),e||(e={type:"style",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){l=_e(a.href);var n=$a(u).hoistableStyles,c=n.get(l);if(c||(u=u.ownerDocument||u,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,c),(n=u.querySelector(Su(l)))&&!n._p&&(c.instance=n,c.state.loading=5),_t.has(l)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},_t.set(l,a),n||Ry(u,l,a,c.state))),t&&e===null)throw Error(o(528,""));return c}if(t&&e!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ne(a),a=$a(u).hoistableScripts,e=a.get(t),e||(e={type:"script",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,l))}}function _e(l){return'href="'+bt(l)+'"'}function Su(l){return'link[rel="stylesheet"]['+l+"]"}function bh(l){return B({},l,{"data-precedence":l.precedence,precedence:null})}function Ry(l,t,a,e){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?e.loading=1:(t=l.createElement("link"),e.preload=t,t.addEventListener("load",function(){return e.loading|=1}),t.addEventListener("error",function(){return e.loading|=2}),wl(t,"link",a),Gl(t),l.head.appendChild(t))}function Ne(l){return'[src="'+bt(l)+'"]'}function bu(l){return"script[async]"+l}function zh(l,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var e=l.querySelector('style[data-href~="'+bt(a.href)+'"]');if(e)return t.instance=e,Gl(e),e;var u=B({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return e=(l.ownerDocument||l).createElement("style"),Gl(e),wl(e,"style",u),Rn(e,a.precedence,l),t.instance=e;case"stylesheet":u=_e(a.href);var n=l.querySelector(Su(u));if(n)return t.state.loading|=4,t.instance=n,Gl(n),n;e=bh(a),(u=_t.get(u))&&uf(e,u),n=(l.ownerDocument||l).createElement("link"),Gl(n);var c=n;return c._p=new Promise(function(i,d){c.onload=i,c.onerror=d}),wl(n,"link",e),t.state.loading|=4,Rn(n,a.precedence,l),t.instance=n;case"script":return n=Ne(a.src),(u=l.querySelector(bu(n)))?(t.instance=u,Gl(u),u):(e=a,(u=_t.get(n))&&(e=B({},a),nf(e,u)),l=l.ownerDocument||l,u=l.createElement("script"),Gl(u),wl(u,"link",e),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(e=t.instance,t.state.loading|=4,Rn(e,a.precedence,l));return t.instance}function Rn(l,t,a){for(var e=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=e.length?e[e.length-1]:null,n=u,c=0;c title"):null)}function By(l,t,a){if(a===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Th(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function Yy(l,t,a,e){if(a.type==="stylesheet"&&(typeof e.media!="string"||matchMedia(e.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var u=_e(e.href),n=t.querySelector(Su(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Yn.bind(l),t.then(l,l)),a.state.loading|=4,a.instance=n,Gl(n);return}n=t.ownerDocument||t,e=bh(e),(u=_t.get(u))&&uf(e,u),n=n.createElement("link"),Gl(n);var c=n;c._p=new Promise(function(i,d){c.onload=i,c.onerror=d}),wl(n,"link",e),a.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(l.count++,a=Yn.bind(l),t.addEventListener("load",a),t.addEventListener("error",a))}}var cf=0;function qy(l,t){return l.stylesheets&&l.count===0&&Gn(l,l.stylesheets),0cf?50:800)+t);return l.unsuspend=a,function(){l.unsuspend=null,clearTimeout(e),clearTimeout(u)}}:null}function Yn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gn(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var qn=null;function Gn(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,qn=new Map,t.forEach(Gy,l),qn=null,Yn.call(l))}function Gy(l,t){if(!(t.state.loading&4)){var a=qn.get(l);if(a)var e=a.get(null);else{a=new Map,qn.set(l,a);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(S){console.error(S)}}return s(),mf.exports=er(),mf.exports}var nr=ur();/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const cr=s=>s==null?void 0:s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */function ir(s,S,N=[]){if(S==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:cr(s),size:24,node:S,...N.length>0?{aliases:N}:{}}}/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const fr=s=>{let S="",N=!1;for(const o of s){if(o==="-"||o==="_"||o<=" "){N=S.length>0;continue}S.length===0?S+=o.toLowerCase():S+=N?o.toUpperCase():o,N=!1}return S};/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const sr=s=>{const S=fr(s);return S.charAt(0).toUpperCase()+S.slice(1)};/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const jf=(...s)=>s.filter((S,N,o)=>!!S&&S.trim()!==""&&o.indexOf(S)===N).join(" ").trim();/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ka={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */function zf(s){return s!=null}function dr(s,S={}){var ul,Tl;const N=S.attributeNames??{},o=nl=>N[nl]??nl,_=s.size??s.width??Ka.width,D=s.size??s.height??Ka.height,w=((ul=s.aliases)==null?void 0:ul.filter(nl=>typeof nl=="string"&&nl.trim()!=="").map(nl=>`lucide-${nl}`))??[],J=[...s.name?[`lucide-${s.name}`]:[],...w],p=((Tl=S.className)==null?void 0:Tl.split(" ").filter(Boolean))??[],x=S.includeDefaultClasses===!1?jf(...p):jf("lucide",...J,...p),V=S.absoluteStrokeWidth?Number(S.strokeWidth??Ka["stroke-width"])*Number(s.size??s.width??Ka.width)/Number(S.size??S.width??Ka.width):S.strokeWidth??Ka["stroke-width"];return["svg",{...Object.entries(Ka).reduce((nl,[gl,Rl])=>(nl[o(gl)]=Rl,nl),{}),..."color"in S&&S.color&&{[o("stroke")]:S.color},..."size"in S&&zf(S.size)&&{[o("width")]:S.size,[o("height")]:S.size},..."width"in S&&zf(S.width)&&{[o("width")]:S.width},..."height"in S&&zf(S.height)&&{[o("height")]:S.height},[o("stroke-width")]:V,...x&&{[o("class")]:x},[o("viewBox")]:`0 0 ${_} ${D}`,...S.hasA11yProp===!1?{[o("aria-hidden")]:"true"}:{},..."attributes"in S&&S.attributes},s.node.map(nl=>{const[gl,Rl,_l]=nl,Cl=S.nonScalingStroke?{[o("vector-effect")]:"non-scaling-stroke",...Rl}:Rl;return _l?[gl,Cl,_l]:[gl,Cl]})]}/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */function or(s,S={}){return dr(s,{...S,attributeNames:{...S.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const hr=s=>{for(const S in s)if(S.startsWith("aria-")||S==="role"||S==="title")return!0;return!1},yr=el.createContext({}),rr=()=>el.useContext(yr),vr=el.forwardRef(({color:s,size:S,width:N,height:o,strokeWidth:_,absoluteStrokeWidth:D,nonScalingStroke:w,className:J="",children:p,iconNode:x=[],icon:V={node:x,aliases:[],size:24},...B},ul)=>{const{size:Tl=24,strokeWidth:nl=2,absoluteStrokeWidth:gl=!1,nonScalingStroke:Rl=!1,color:_l="currentColor",className:Cl=""}=rr()??{},bl=!!p||hr(B),[Nl,Xl,Bl=[]]=or(V,{color:s??_l,width:N??S??Tl,height:o??S??Tl,strokeWidth:_??nl,absoluteStrokeWidth:D??gl,nonScalingStroke:w??Rl,className:jf(Cl,J),hasA11yProp:bl,attributes:B});return el.createElement(Nl,{ref:ul,...Xl},[...Bl.map(([Y,Yl])=>el.createElement(Y,Yl)),...Array.isArray(p)?p:[p]])});/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */function zl(s,S=[],N=[]){const o=typeof s=="string"?ir(s,S,N):s,_=el.forwardRef(({className:D,...w},J)=>el.createElement(vr,{ref:J,icon:o,className:D,...w}));return o.name&&(_.displayName=sr(o.name)),_}/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const l0={name:"activity",size:24,node:[["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"}]]};l0.node;const pu=zl(l0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const t0={name:"arrow-down-to-line",size:24,node:[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]};t0.node;const mr=zl(t0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const a0={name:"arrow-up-from-line",size:24,node:[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]]};a0.node;const gr=zl(a0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const e0={name:"chart-no-axes-column",size:24,node:[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],aliases:["bar-chart-2"]};e0.node;const Sr=zl(e0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const u0={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};u0.node;const br=zl(u0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const n0={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};n0.node;const zr=zl(n0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const c0={name:"cpu",size:24,node:[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]};c0.node;const Er=zl(c0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const i0={name:"gauge",size:24,node:[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]};i0.node;const jr=zl(i0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const f0={name:"heart-pulse",size:24,node:[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]]};f0.node;const wh=zl(f0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const s0={name:"inbox",size:24,node:[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]};s0.node;const Tr=zl(s0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const d0={name:"maximize",size:24,node:[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]};d0.node;const Ar=zl(d0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const o0={name:"monitor-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]};o0.node;const Tf=zl(o0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const h0={name:"network",size:24,node:[["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"}]]};h0.node;const y0=zl(h0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const r0={name:"panel-left-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],aliases:["sidebar-close"]};r0.node;const xr=zl(r0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const v0={name:"pause",size:24,node:[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]};v0.node;const pr=zl(v0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const m0={name:"plane",size:24,node:[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]};m0.node;const _r=zl(m0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const g0={name:"radio",size:24,node:[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};g0.node;const Af=zl(g0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const S0={name:"refresh-cw",size:24,node:[["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"}]]};S0.node;const Nr=zl(S0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const b0={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};b0.node;const z0=zl(b0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const E0={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]};E0.node;const Mr=zl(E0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const j0={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};j0.node;const Ef=zl(j0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const T0={name:"truck",size:24,node:[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]};T0.node;const Or=zl(T0);/** - * @license lucide-react v1.57.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const A0={name:"volume-2",size:24,node:[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]};A0.node;const Dr=zl(A0),kh={RECEIVING:"接收正常",GOOD:"正常",CONNECTED:"服务连接正常",STALE:"数据已过期",NOT_RECEIVED:"未接收",MISSING:"未采到",ERROR:"数据异常",WAITING:"等待数据同步",INVALID_TIME:"时间异常",INVALID_VALUE:"数值异常",AMBIGUOUS:"来源不明确",online:"在线",offline:"离线",UNKNOWN:"未接入"};function _u({state:s="UNKNOWN",label:S}){const N=["RECEIVING","GOOD","CONNECTED","online"].includes(s)?"good":["STALE","INVALID_TIME","AMBIGUOUS"].includes(s)?"warn":["ERROR","INVALID_VALUE"].includes(s)?"bad":"muted";return f.jsxs("span",{className:`status status-${N}`,children:[f.jsx("i",{}),S||kh[s]||kh.UNKNOWN]})}function Fl({title:s,children:S,extra:N,className:o=""}){return f.jsxs("section",{className:`panel ${o}`,children:[(s||N)&&f.jsxs("div",{className:"panel-title",children:[f.jsx("h2",{children:s}),N&&f.jsx("div",{className:"panel-extra",children:N})]}),S]})}function xa({title:s="暂无数据",description:S,icon:N=Tr}){return f.jsxs("div",{className:"empty-state",children:[f.jsx(N,{size:35,strokeWidth:1.4}),f.jsx("strong",{children:s}),S&&f.jsx("p",{children:S})]})}function Mf({equipment:s,size:S=25}){const o=/无人机|航空|飞行|UAV/i.test(`${(s==null?void 0:s.name)||""} ${(s==null?void 0:s.code)||""} ${(s==null?void 0:s.type)||""}`)?_r:Or;return f.jsx(o,{size:S,strokeWidth:1.7})}function Of({equipments:s=[],selectedId:S,onSelect:N,title:o="实装列表",emptyText:_="暂无已绑定装备"}){const[D,w]=el.useState(""),J=el.useMemo(()=>s.filter(p=>`${p.name||""} ${p.code||""}`.toLowerCase().includes(D.trim().toLowerCase())),[s,D]);return f.jsxs(Fl,{title:o,className:"equipment-list",children:[f.jsxs("label",{className:"search-input",children:[f.jsx(z0,{size:17}),f.jsx("input",{type:"search","aria-label":"搜索装备名称或编号",placeholder:"搜索装备名称或编号",value:D,onChange:p=>w(p.target.value)})]}),f.jsx("div",{className:"equipment-rows",children:J.map(p=>f.jsxs("button",{type:"button",className:`equipment-row ${S===p.id?"selected":""}`,onClick:()=>N==null?void 0:N(p.id),"aria-pressed":S===p.id,children:[f.jsx(Mf,{equipment:p}),f.jsxs("span",{className:"equipment-row-copy",children:[f.jsx("strong",{children:p.name||p.code||"未命名装备"}),f.jsx("small",{children:p.code||p.participantCode||"—"})]}),f.jsx(_u,{state:p.state})]},p.id))}),!J.length&&f.jsx(xa,{title:D?"无匹配装备":_,description:D?"请调整名称或编号。":"绑定装备后将在此显示。"})]})}function Df({equipment:s,statusLabel:S}){return s?f.jsxs(Fl,{className:"equipment-header",children:[f.jsxs("div",{className:"equipment-heading",children:[f.jsx(Mf,{equipment:s,size:46}),f.jsxs("div",{children:[f.jsx("h2",{children:s.name||s.code||"未命名装备"}),f.jsxs("p",{children:[s.code||"—",f.jsx("span",{children:"·"}),s.type||"实装装备"]})]}),f.jsx(_u,{state:s.state,label:S})]}),f.jsxs("div",{className:"equipment-updated",children:["最近接收 ",f.jsx("time",{children:wn(s.lastReceivedAt)})]})]}):null}function wn(s){if(s==null||s==="")return"—";const S=new Date(s);return Number.isNaN(S.getTime())?"—":new Intl.DateTimeFormat("zh-CN",{timeZone:"Asia/Shanghai",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).format(S)}const $h=s=>(s==null?void 0:s.simulated)===!0||/SIMULATED|模拟|演示/i.test([s==null?void 0:s.quality,s==null?void 0:s.sourceType,s==null?void 0:s.sourceName].join(" "));function Ur(s){return(Array.isArray(s==null?void 0:s.equipment)?s.equipment:[]).filter(S=>!$h(S)).map(S=>({...S,id:String(S.id||S.equipmentId||""),items:(Array.isArray(S.items)?S.items:[]).filter(N=>!$h(N))})).filter(S=>S.id)}function Wh(s,S=""){if(s==null||s===""||typeof s=="object")return"—";const N=typeof s=="boolean"?s?"是":"否":String(s);return S?`${N} ${S}`:N}function Cr(s,S){return S?"ERROR":["CONNECTED","STALE","WAITING"].includes(s==null?void 0:s.state)?s.state:"WAITING"}function Hr(s,S){if(s)return S==="CONNECTED"?s:{...s,state:s.lastReceivedAt?"STALE":"NOT_RECEIVED",items:(s.items||[]).map(N=>["GOOD","VALID"].includes(N.quality)?{...N,quality:"STALE"}:N)}}const Rr={NUMBER:"数值数据",STATE:"状态数据",IMAGE:"图像数据"};function Br({equipments:s,selectedId:S,onSelect:N}){const o=s.find(p=>p.id===S),_=(o==null?void 0:o.items)||[],[D,w]=el.useState("");el.useEffect(()=>w(""),[S]);const J=_.find(p=>p.key===D)||_[0];return f.jsxs("div",{className:"equipment-layout",children:[f.jsx(Of,{equipments:s,selectedId:S,onSelect:N}),f.jsx("div",{className:"detail-stack",children:o?f.jsxs(f.Fragment,{children:[f.jsx(Df,{equipment:o}),f.jsxs(Fl,{title:"数据接收情况",extra:f.jsx("span",{className:"muted",children:o.participantCode||""}),children:[f.jsx("div",{className:"table-scroll",children:f.jsxs("table",{className:"data-table receive-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{children:"数据类型 / 参数"}),f.jsx("th",{children:"最新数据"}),f.jsx("th",{children:"接收时间"}),f.jsx("th",{children:"接收状态"})]})}),f.jsx("tbody",{children:_.map((p,x)=>f.jsxs("tr",{className:J===p?"selected":"",onClick:()=>w(p.key),tabIndex:0,"aria-selected":J===p,onKeyDown:V=>{(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),w(p.key))},children:[f.jsxs("td",{children:[f.jsx("strong",{children:p.label||p.key}),f.jsx("small",{children:Rr[p.type]||p.type||"采集数据"})]}),f.jsx("td",{className:"parameter-value",children:Wh(p.value,p.unit)}),f.jsx("td",{children:f.jsx("time",{children:wn(p.receivedAt)})}),f.jsx("td",{children:f.jsx(_u,{state:p.quality})})]},`${p.key}-${x}`))})]})}),!_.length&&f.jsx(xa,{title:"尚未收到该装备的数据",description:"采集数据到达后将在此显示。",icon:Af})]}),f.jsx(Fl,{title:J?`${J.label||J.key}详情`:"数据详情",children:J?f.jsxs("dl",{className:"value-details",children:[f.jsxs("div",{children:[f.jsx("dt",{children:"当前值"}),f.jsx("dd",{children:Wh(J.value,J.unit)})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"数据来源"}),f.jsx("dd",{children:J.sourceName||"—"})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"采样时间"}),f.jsx("dd",{children:wn(J.sampleTime)})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"接收时间"}),f.jsx("dd",{children:wn(J.receivedAt)})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"数据质量"}),f.jsx("dd",{children:f.jsx(_u,{state:J.quality})})]})]}):f.jsx(xa,{title:"暂无参数详情",description:"选择已接收参数查看其来源和时间。"})})]}):f.jsx(Fl,{className:"unselected-panel",children:f.jsx(xa,{title:"等待装备采集数据",description:"已绑定的实装及其采集数据同步后将在此显示。",icon:Af})})})]})}function Yr({equipments:s,selectedId:S,onSelect:N}){const o=s.find(_=>_.id===S);return f.jsxs("div",{className:"equipment-layout",children:[f.jsx(Of,{equipments:s,selectedId:S,onSelect:N}),f.jsxs("div",{className:"detail-stack",children:[o&&f.jsx(Df,{equipment:{...o,state:"NOT_RECEIVED"},statusLabel:"同步指标未接入"}),f.jsx(Fl,{title:"当前同步指标",children:f.jsx("div",{className:"sync-values",children:[["同步延迟","ms"],["数据丢包率","%"],["同步偏差","ms"]].map(([_,D])=>f.jsxs("div",{children:[f.jsx("span",{children:_}),f.jsxs("strong",{children:["— ",f.jsx("small",{children:D})]}),f.jsx("p",{children:"未接入"})]},_))})}),f.jsx(Fl,{title:"同步质量趋势",children:f.jsx(xa,{title:"暂无同步质量数据",description:"同步质量数据接入后,可查看所选装备的指标与趋势。",icon:pu})}),f.jsxs(Fl,{title:"数据同步状态",children:[f.jsx("div",{className:"table-scroll",children:f.jsx("table",{className:"data-table",children:f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{children:"数据类型"}),f.jsx("th",{children:"数据时间"}),f.jsx("th",{children:"同步偏差"}),f.jsx("th",{children:"同步状态"})]})})})}),f.jsx(xa,{title:"暂无同步状态"})]})]})]})}const xf=[["帧率","fps"],["码率","Mbps"],["丢帧率","%"],["同步偏差","ms"],["网络带宽","Mbps"],["运行时长","min"]];function kn(s){return String((s==null?void 0:s.equipmentId)??(s==null?void 0:s.id)??(s==null?void 0:s.code)??"")}function Fh(s){return(s==null?void 0:s.equipmentName)||(s==null?void 0:s.name)||(s==null?void 0:s.code)||kn(s)||"未命名装备"}function pf(s){return(s==null?void 0:s.equipmentCode)||(s==null?void 0:s.code)||kn(s)||"—"}function Uf({value:s,onChange:S,placeholder:N,label:o}){return f.jsxs("label",{className:"secondary-search",children:[f.jsx(z0,{size:17,"aria-hidden":"true"}),f.jsx("input",{"aria-label":o||N,value:s,onChange:_=>S(_.target.value),placeholder:N,type:"search"})]})}function Oe({unit:s}){return f.jsxs("span",{className:"secondary-blank",children:["—",s&&f.jsx("small",{children:s})]})}function Cf({children:s}){return f.jsxs("span",{className:"secondary-unavailable",children:[f.jsx("i",{}),s]})}function Hf({colSpan:s,title:S,description:N,icon:o}){return f.jsx("tr",{children:f.jsx("td",{colSpan:s,className:"secondary-empty-cell",children:f.jsx(xa,{title:S,description:N,icon:o})})})}function qr(){const[s,S]=el.useState("");return f.jsxs("div",{className:"secondary-equipment-layout virtual-page",children:[f.jsxs(Fl,{title:"虚拟装备列表",className:"virtual-list-panel",children:[f.jsx("div",{className:"secondary-list-search",children:f.jsx(Uf,{value:s,onChange:S,placeholder:"搜索虚拟装备名称或编号"})}),f.jsx("div",{className:"virtual-list-empty",children:f.jsx(xa,{title:s.trim()?"未找到匹配的虚拟装备":"暂无虚拟装备",description:"接入虚拟装备后,可在此选择查看。",icon:pu})})]}),f.jsxs("div",{className:"secondary-detail-stack",children:[f.jsxs("div",{className:"virtual-unselected-header",children:[f.jsx("span",{className:"virtual-equipment-icon",children:f.jsx(pu,{size:32,"aria-hidden":"true"})}),f.jsxs("div",{children:[f.jsx("h2",{children:"未选择虚拟装备"}),f.jsxs("p",{children:["装备编号 ",f.jsx("span",{children:"—"})]})]}),f.jsx(Cf,{children:"暂无状态"})]}),f.jsx(Fl,{title:"当前装备状态",className:"virtual-state-panel",children:f.jsxs("div",{className:"virtual-state-body",children:[f.jsxs("div",{className:"virtual-health-row",children:[f.jsx(wh,{size:31,"aria-hidden":"true"}),f.jsx("span",{className:"virtual-health-label",children:"血量"}),f.jsx("strong",{children:"— / —"}),f.jsx("div",{className:"virtual-health-track","aria-label":"暂无血量数据"}),f.jsx("span",{className:"secondary-muted",children:"—"})]}),f.jsx("div",{className:"virtual-position-grid",children:[["经度","°"],["速度","m/s"],["纬度","°"],["航向角","°"],["高程","m"],["动作状态",""]].map(([N,o])=>f.jsxs("div",{className:"virtual-position-item",children:[f.jsx("span",{children:N}),f.jsx(Oe,{unit:o})]},N))})]})}),f.jsx(Fl,{title:"虚拟装备状态一览",className:"virtual-overview-panel",children:f.jsx("div",{className:"secondary-table-scroll",children:f.jsxs("table",{className:"secondary-table virtual-overview-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{scope:"col",children:"虚拟装备"}),f.jsx("th",{scope:"col",children:"血量"}),f.jsx("th",{scope:"col",children:"位置(经度 / 纬度)"}),f.jsx("th",{scope:"col",children:"高程"}),f.jsx("th",{scope:"col",children:"状态"})]})}),f.jsx("tbody",{children:f.jsx(Hf,{colSpan:5,title:"暂无虚拟装备状态",description:"装备接入后显示血量、位置与运行状态。",icon:wh})})]})})})]})]})}function Gr({equipments:s=[],selectedId:S,onSelect:N}){const o=s.find(_=>kn(_)===String(S??""));return f.jsxs("div",{className:"secondary-equipment-layout video-page",children:[f.jsx(Of,{equipments:s,selectedId:S,onSelect:N,title:"实装列表",emptyText:"暂无已接入的实装"}),f.jsxs("div",{className:"secondary-detail-stack video-main-column",children:[o?f.jsx(Df,{equipment:{...o,state:"NOT_RECEIVED"},statusLabel:"暂无融合视频"}):f.jsx(Fl,{children:f.jsxs("div",{className:"video-unselected-header",children:[f.jsx(Tf,{size:30,"aria-hidden":"true"}),f.jsxs("div",{children:[f.jsx("h2",{children:"未选择实装"}),f.jsx("p",{children:"从实装列表选择装备查看融合视频。"})]})]})}),f.jsx(Fl,{className:"video-main-panel",children:f.jsxs("div",{className:"video-stage",children:[f.jsxs("div",{className:"video-empty-frame",children:[f.jsx(Tf,{size:54,strokeWidth:1.5,"aria-hidden":"true"}),f.jsx("h3",{children:o?"暂无融合视频":"请选择实装"}),f.jsx("p",{children:o?"当前装备尚无可用的融合视频源。":"选择装备后查看对应的融合画面。"})]}),f.jsxs("aside",{className:"video-metrics-overlay","aria-label":"当前装备融合指标",children:[f.jsxs("div",{className:"video-overlay-heading",children:[f.jsx("strong",{children:"融合指标"}),f.jsx("span",{children:o?pf(o):"—"})]}),f.jsx("dl",{children:xf.map(([_,D])=>f.jsxs("div",{children:[f.jsx("dt",{children:_}),f.jsxs("dd",{children:["—",f.jsx("small",{children:D})]})]},_))})]}),f.jsxs("div",{className:"video-control-bar","aria-label":"视频播放控制",children:[f.jsx(Cf,{children:o?"暂无画面":"未选择装备"}),f.jsx("span",{className:"video-control-divider"}),f.jsx("button",{type:"button",disabled:!0,"aria-label":"暂停视频",title:"暂无可播放的融合视频",children:f.jsx(pr,{size:19})}),f.jsx("button",{type:"button",disabled:!0,"aria-label":"视频音量",title:"暂无可播放的融合视频",children:f.jsx(Dr,{size:20})}),f.jsx("div",{className:"video-volume-track","aria-hidden":"true"}),f.jsx("span",{className:"video-resolution",children:"分辨率 —"}),f.jsx("button",{type:"button",disabled:!0,"aria-label":"视频全屏",title:"暂无可播放的融合视频",children:f.jsx(Ar,{size:20})})]})]})})]})]})}function Qr({equipments:s=[]}){const[S,N]=el.useState(""),o=el.useMemo(()=>{const _=S.trim().toLocaleLowerCase();return _?s.filter(D=>`${Fh(D)} ${pf(D)}`.toLocaleLowerCase().includes(_)):s},[s,S]);return f.jsxs("div",{className:"fusion-metrics-page",children:[f.jsxs(Fl,{title:"装备融合指标",className:"fusion-metrics-panel",children:[f.jsx("div",{className:"secondary-panel-toolbar",children:f.jsx(Uf,{value:S,onChange:N,placeholder:"搜索装备名称或编号"})}),f.jsx("div",{className:"secondary-table-scroll",children:f.jsxs("table",{className:"secondary-table fusion-metrics-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{scope:"col",children:"装备名称"}),xf.map(([_,D])=>f.jsxs("th",{scope:"col",children:[_,f.jsxs("span",{className:"secondary-column-unit",children:["(",D,")"]})]},_)),f.jsx("th",{scope:"col",children:"状态"})]})}),f.jsx("tbody",{children:o.length?o.map((_,D)=>f.jsxs("tr",{children:[f.jsx("td",{children:f.jsxs("div",{className:"fusion-equipment-name",children:[f.jsx(Mf,{equipment:_,size:26}),f.jsxs("div",{children:[f.jsx("strong",{children:Fh(_)}),f.jsx("span",{children:pf(_)})]})]})}),xf.map(([w])=>f.jsx("td",{children:f.jsx(Oe,{})},w)),f.jsx("td",{children:f.jsx(Cf,{children:"暂无指标"})})]},`${kn(_)}-${D}`)):f.jsx(Hf,{colSpan:8,title:S.trim()?"未找到匹配的装备":"暂无实装",description:S.trim()?"请调整名称或编号后重试。":"装备接入后,将在此显示对应的融合指标。",icon:pu})})]})}),f.jsx("p",{className:"secondary-panel-note",children:"未接入融合指标的装备显示为 —。"})]}),f.jsx("p",{className:"fusion-metrics-footer",children:"可在融合视频展示页查看对应装备的画面与融合指标。"})]})}function Ih({node:s}){const S=s.online===!0?"online":s.online===!1?"offline":"unknown";return f.jsxs("span",{className:`node-state node-state-${S}`,children:[f.jsx("i",{}),S==="online"?"在线":S==="offline"?"离线":"状态未知"]})}function Xr(s){return s.nodeRole==="COORDINATOR"?"主节点":s.nodeRole==="WORKER"?"从节点":"—"}function Lr({nodes:s=[]}){const[S,N]=el.useState(""),o=el.useMemo(()=>{const _=S.trim().toLocaleLowerCase();return _?s.filter(D=>`${D.name||""} ${D.nodeId||""}`.toLocaleLowerCase().includes(_)):s},[s,S]);return f.jsxs(Fl,{title:"节点运行状态",className:"node-page",children:[f.jsx("div",{className:"secondary-panel-toolbar",children:f.jsx(Uf,{value:S,onChange:N,placeholder:"搜索节点名称或编号"})}),f.jsx("div",{className:"secondary-table-scroll",children:f.jsxs("table",{className:"secondary-table node-status-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{scope:"col",children:"节点名称"}),f.jsx("th",{scope:"col",children:"角色"}),f.jsxs("th",{scope:"col",children:[f.jsx(Er,{size:15,"aria-hidden":"true"}),"CPU 使用率"]}),f.jsx("th",{scope:"col",children:"内存使用情况"}),f.jsxs("th",{scope:"col",children:[f.jsx(mr,{size:15,"aria-hidden":"true"}),"网络接收"]}),f.jsxs("th",{scope:"col",children:[f.jsx(gr,{size:15,"aria-hidden":"true"}),"网络发送"]}),f.jsx("th",{scope:"col",children:"运行状态"})]})}),f.jsx("tbody",{children:o.length?o.map((_,D)=>f.jsxs("tr",{children:[f.jsx("td",{children:f.jsxs("div",{className:"node-identity",children:[f.jsx(Ef,{size:28,"aria-hidden":"true"}),f.jsxs("div",{children:[f.jsx("strong",{children:_.name||_.nodeId||"未命名节点"}),f.jsx("span",{title:_.nodeId||"",children:_.nodeId||"—"})]})]})}),f.jsx("td",{children:Xr(_)}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Ih,{node:_})})]},_.nodeId||D)):f.jsx(Hf,{colSpan:7,title:S.trim()?"未找到匹配的节点":"暂无已注册节点",description:S.trim()?"请调整名称或编号后重试。":"节点注册后,可在此查看运行状态。",icon:Ef})})]})}),f.jsxs("section",{className:"node-network-panel","aria-label":"节点心跳连接状态",children:[f.jsxs("h3",{children:[f.jsx(y0,{size:18,"aria-hidden":"true"}),"节点心跳连接状态"]}),o.length?f.jsx("div",{className:"node-network-grid",children:o.map((_,D)=>f.jsxs("div",{className:"node-network-item",children:[f.jsx(Ef,{size:25,"aria-hidden":"true"}),f.jsxs("div",{children:[f.jsx("strong",{children:_.name||_.nodeId||"未命名节点"}),f.jsx("span",{children:_.online===!0?"心跳在线":_.online===!1?"心跳中断":"暂无心跳状态"})]}),f.jsx(Ih,{node:_})]},_.nodeId||D))}):f.jsx("p",{className:"node-network-empty",children:"暂无节点连接信息"})]}),f.jsx("p",{className:"secondary-panel-note",children:"资源使用情况与网络速率未上报时显示为 —。"})]})}const _f=[{id:"receive",name:"数据接收",description:"按装备查看接收数据与当前状态",icon:Af},{id:"sync",name:"同步质量监控",description:"按装备查看同步状态与质量指标",icon:pu},{id:"virtual",name:"虚拟数据下发",description:"查看虚拟装备的血量、位置与运行状态",icon:Mr},{id:"video",name:"融合视频展示",description:"按实装查看融合视频及当前融合指标",icon:Tf},{id:"metrics",name:"融合指标展示",description:"以装备列表查看各实装的融合指标",icon:Sr},{id:"nodes",name:"主从控制",description:"查看各节点的 CPU、内存和网络运行状态",icon:y0}],Zr={collection:{state:"WAITING",contexts:[]},nodes:[]},Ph=()=>{var s;return((s=_f.find(S=>S.id===location.hash.slice(1)))==null?void 0:s.id)||"receive"};function Vr(){var ct,Ll;const[s,S]=el.useState(Ph),[N,o]=el.useState(Zr),[_,D]=el.useState(""),[w,J]=el.useState(""),[p,x]=el.useState(!1),[V,B]=el.useState(!0),[ul,Tl]=el.useState(0),[nl,gl]=el.useState(!1),[Rl,_l]=el.useState(Date.now());el.useEffect(()=>{const Q=()=>{S(Ph()),window.scrollTo(0,0)};return window.addEventListener("hashchange",Q),()=>window.removeEventListener("hashchange",Q)},[]),el.useEffect(()=>{const Q=setInterval(()=>_l(Date.now()),1e3);return()=>clearInterval(Q)},[]),el.useEffect(()=>{let Q=!1,gt,ql;const E=async()=>{var q;ql=new AbortController;const M=setTimeout(()=>ql.abort(),6e3);try{const cl=await fetch("/console/api/snapshot",{signal:ql.signal,credentials:"same-origin",cache:"no-store",headers:{Accept:"application/json"}});if(!cl.ok)throw new Error("snapshot");const ll=await cl.json();if(!ll||!Array.isArray((q=ll.collection)==null?void 0:q.contexts)||!Array.isArray(ll.nodes))throw new Error("shape");Q||(o(ll),x(!1))}catch{Q||x(!0)}finally{clearTimeout(M),Q||(B(!1),gt=setTimeout(E,2e3))}};return E(),()=>{Q=!0,clearTimeout(gt),ql==null||ql.abort()}},[ul]);const Cl=Cr(N.collection,p),bl=N.collection.contexts||[],Nl=bl.find(Q=>Q.id===_)||bl[0],Xl=el.useMemo(()=>Ur(Nl).map(Q=>Hr(Q,Cl)),[Nl,Cl]),Bl=((ct=Xl.find(Q=>Q.id===w))==null?void 0:ct.id)||((Ll=Xl[0])==null?void 0:Ll.id)||"",Y=_f.find(Q=>Q.id===s);el.useEffect(()=>{document.title=`${Y.name} · 系统融合软件`},[Y.name]);const Yl=el.useCallback(Q=>J(Q),[]),Il={equipments:Xl,selectedId:Bl,onSelect:Yl},Pt=new Intl.DateTimeFormat("zh-CN",{timeZone:"Asia/Shanghai",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).format(new Date(Rl));return f.jsxs("div",{className:`app ${nl?"nav-collapsed":""}`,children:[f.jsxs("aside",{className:"sidebar",children:[f.jsxs("div",{className:"brand",children:[f.jsx("img",{src:"/console/assets/brand.svg",alt:""}),f.jsx("strong",{children:"系统融合软件"}),f.jsx("button",{className:"collapse-toggle",type:"button","aria-label":"切换侧栏",onClick:()=>gl(Q=>!Q),children:f.jsx(xr,{size:16})})]}),f.jsx("nav",{"aria-label":"功能导航",children:_f.map(Q=>f.jsxs("a",{href:`#${Q.id}`,className:`nav-link ${Q.id===Y.id?"active":""}`,title:Q.name,"aria-current":Q.id===Y.id?"page":void 0,children:[f.jsx(Q.icon,{size:23,strokeWidth:1.6}),f.jsx("span",{children:Q.name})]},Q.id))}),f.jsxs("div",{className:"sidebar-foot",children:[f.jsx(jr,{size:22}),f.jsx("span",{children:"运行监测"})]})]}),f.jsxs("div",{className:"main-shell",children:[f.jsxs("header",{className:"topbar",children:[f.jsxs("div",{className:"breadcrumb",children:[f.jsx("span",{children:"系统融合软件"}),f.jsx(br,{size:14}),f.jsx("strong",{children:Y.name})]}),f.jsxs("div",{className:"service-state",children:[f.jsx(_u,{state:p?"ERROR":V?"WAITING":"CONNECTED",label:p?"服务连接中断":V?"正在连接":"服务连接正常"}),f.jsx("time",{children:Pt})]})]}),f.jsxs("main",{children:[f.jsxs("div",{className:"page-heading",children:[f.jsxs("div",{children:[f.jsx("h1",{children:Y.name}),f.jsx("p",{children:Y.description})]}),f.jsxs("div",{className:"heading-actions",children:[bl.length>0&&f.jsxs("label",{className:"context-select",children:[f.jsx("span",{children:"试验"}),f.jsx("select",{"aria-label":"选择试验上下文",value:(Nl==null?void 0:Nl.id)||"",onChange:Q=>{D(Q.target.value),J("")},children:bl.map(Q=>f.jsx("option",{value:Q.id,children:Q.name||Q.id},Q.id))})]}),f.jsxs("button",{className:"refresh-button",type:"button",onClick:()=>Tl(Q=>Q+1),"aria-label":"刷新数据",title:"刷新数据",children:[f.jsx(Nr,{size:17}),f.jsx("span",{children:"刷新"})]})]})]}),(p||Cl==="STALE")&&f.jsxs("div",{className:"source-notice",role:"status",children:[f.jsx(zr,{size:17}),p?"服务暂时不可用,当前显示最后一次收到的数据。":"采集数据同步已超时,当前显示最后一次收到的数据。"]}),Y.id==="receive"&&f.jsx(Br,{...Il}),Y.id==="sync"&&f.jsx(Yr,{...Il}),Y.id==="virtual"&&f.jsx(qr,{}),Y.id==="video"&&f.jsx(Gr,{...Il}),Y.id==="metrics"&&f.jsx(Qr,{equipments:Xl}),Y.id==="nodes"&&f.jsx(Lr,{nodes:N.nodes||[]})]}),f.jsxs("footer",{className:"app-footer",children:[f.jsx("span",{children:"系统融合软件"}),f.jsx("span",{children:Cl==="WAITING"?"等待采集数据接入":Cl==="CONNECTED"?"采集数据自动更新":"采集数据同步中断"})]})]})]})}nr.createRoot(document.getElementById("root")).render(f.jsx(Iy.StrictMode,{children:f.jsx(Vr,{})})); diff --git a/src/main/resources/static/console/assets/index-qgYYwJPd.js b/src/main/resources/static/console/assets/index-qgYYwJPd.js new file mode 100644 index 0000000..e9d22c2 --- /dev/null +++ b/src/main/resources/static/console/assets/index-qgYYwJPd.js @@ -0,0 +1,209 @@ +(function(){const S=document.createElement("link").relList;if(S&&S.supports&&S.supports("modulepreload"))return;for(const _ of document.querySelectorAll('link[rel="modulepreload"]'))o(_);new MutationObserver(_=>{for(const D of _)if(D.type==="childList")for(const w of D.addedNodes)w.tagName==="LINK"&&w.rel==="modulepreload"&&o(w)}).observe(document,{childList:!0,subtree:!0});function N(_){const D={};return _.integrity&&(D.integrity=_.integrity),_.referrerPolicy&&(D.referrerPolicy=_.referrerPolicy),_.crossOrigin==="use-credentials"?D.credentials="include":_.crossOrigin==="anonymous"?D.credentials="omit":D.credentials="same-origin",D}function o(_){if(_.ep)return;_.ep=!0;const D=N(_);fetch(_.href,D)}})();function ky(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var rf={exports:{}},xu={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Yh;function $y(){if(Yh)return xu;Yh=1;var s=Symbol.for("react.transitional.element"),S=Symbol.for("react.fragment");function N(o,_,D){var w=null;if(D!==void 0&&(w=""+D),_.key!==void 0&&(w=""+_.key),"key"in _){D={};for(var K in _)K!=="key"&&(D[K]=_[K])}else D=_;return _=D.ref,{$$typeof:s,type:o,key:w,ref:_!==void 0?_:null,props:D}}return xu.Fragment=S,xu.jsx=N,xu.jsxs=N,xu}var qh;function Wy(){return qh||(qh=1,rf.exports=$y()),rf.exports}var f=Wy(),vf={exports:{}},Q={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Gh;function Fy(){if(Gh)return Q;Gh=1;var s=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),w=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),ul=Symbol.iterator;function Al(y){return y===null||typeof y!="object"?null:(y=ul&&y[ul]||y["@@iterator"],typeof y=="function"?y:null)}var tl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sl=Object.assign,Bl={};function Ml(y,A,O){this.props=y,this.context=A,this.refs=Bl,this.updater=O||tl}Ml.prototype.isReactComponent={},Ml.prototype.setState=function(y,A){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,A,"setState")},Ml.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function wl(){}wl.prototype=Ml.prototype;function bl(y,A,O){this.props=y,this.context=A,this.refs=Bl,this.updater=O||tl}var Rl=bl.prototype=new wl;Rl.constructor=bl,Sl(Rl,Ml.prototype),Rl.isPureReactComponent=!0;var Yl=Array.isArray;function xl(){}var J={H:null,A:null,T:null,S:null},il=Object.prototype.hasOwnProperty;function vt(y,A,O){var C=O.ref;return{$$typeof:s,type:y,key:A,ref:C!==void 0?C:null,props:O}}function Ot(y,A){return vt(y.type,A,y.props)}function mt(y){return typeof y=="object"&&y!==null&&y.$$typeof===s}function Ql(y){var A={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(O){return A[O]})}var Dt=/\/+/g;function G(y,A){return typeof y=="object"&&y!==null&&y.key!=null?Ql(""+y.key):A.toString(36)}function Fl(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(xl,xl):(y.status="pending",y.then(function(A){y.status==="pending"&&(y.status="fulfilled",y.value=A)},function(A){y.status==="pending"&&(y.status="rejected",y.reason=A)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function z(y,A,O,C,L){var k=typeof y;(k==="undefined"||k==="boolean")&&(y=null);var sl=!1;if(y===null)sl=!0;else switch(k){case"bigint":case"string":case"number":sl=!0;break;case"object":switch(y.$$typeof){case s:case S:sl=!0;break;case X:return sl=y._init,z(sl(y._payload),A,O,C,L)}}if(sl)return L=L(y),sl=C===""?"."+G(y,0):C,Yl(L)?(O="",sl!=null&&(O=sl.replace(Dt,"$&/")+"/"),z(L,A,O,"",function(Ue){return Ue})):L!=null&&(mt(L)&&(L=Ot(L,O+(L.key==null||y&&y.key===L.key?"":(""+L.key).replace(Dt,"$&/")+"/")+sl)),A.push(L)),1;sl=0;var kl=C===""?".":C+":";if(Yl(y))for(var pl=0;pl>>1,fl=z[nl];if(0<_(fl,M))z[nl]=M,z[q]=fl,q=nl;else break l}}function N(z){return z.length===0?null:z[0]}function o(z){if(z.length===0)return null;var M=z[0],q=z.pop();if(q!==M){z[0]=q;l:for(var nl=0,fl=z.length,y=fl>>>1;nl_(O,q))C_(L,O)?(z[nl]=L,z[C]=q,nl=C):(z[nl]=O,z[A]=q,nl=A);else if(C_(L,q))z[nl]=L,z[C]=q,nl=C;else break l}}return M}function _(z,M){var q=z.sortIndex-M.sortIndex;return q!==0?q:z.id-M.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var D=performance;s.unstable_now=function(){return D.now()}}else{var w=Date,K=w.now();s.unstable_now=function(){return w.now()-K}}var p=[],x=[],X=1,B=null,ul=3,Al=!1,tl=!1,Sl=!1,Bl=!1,Ml=typeof setTimeout=="function"?setTimeout:null,wl=typeof clearTimeout=="function"?clearTimeout:null,bl=typeof setImmediate<"u"?setImmediate:null;function Rl(z){for(var M=N(x);M!==null;){if(M.callback===null)o(x);else if(M.startTime<=z)o(x),M.sortIndex=M.expirationTime,S(p,M);else break;M=N(x)}}function Yl(z){if(Sl=!1,Rl(z),!tl)if(N(p)!==null)tl=!0,xl||(xl=!0,Ql());else{var M=N(x);M!==null&&Fl(Yl,M.startTime-z)}}var xl=!1,J=-1,il=5,vt=-1;function Ot(){return Bl?!0:!(s.unstable_now()-vtz&&Ot());){var nl=B.callback;if(typeof nl=="function"){B.callback=null,ul=B.priorityLevel;var fl=nl(B.expirationTime<=z);if(z=s.unstable_now(),typeof fl=="function"){B.callback=fl,Rl(z),M=!0;break t}B===N(p)&&o(p),Rl(z)}else o(p);B=N(p)}if(B!==null)M=!0;else{var y=N(x);y!==null&&Fl(Yl,y.startTime-z),M=!1}}break l}finally{B=null,ul=q,Al=!1}M=void 0}}finally{M?Ql():xl=!1}}}var Ql;if(typeof bl=="function")Ql=function(){bl(mt)};else if(typeof MessageChannel<"u"){var Dt=new MessageChannel,G=Dt.port2;Dt.port1.onmessage=mt,Ql=function(){G.postMessage(null)}}else Ql=function(){Ml(mt,0)};function Fl(z,M){J=Ml(function(){z(s.unstable_now())},M)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(z){z.callback=null},s.unstable_forceFrameRate=function(z){0>z||125nl?(z.sortIndex=q,S(x,z),N(p)===null&&z===N(x)&&(Sl?(wl(J),J=-1):Sl=!0,Fl(Yl,q-nl))):(z.sortIndex=fl,S(p,z),tl||Al||(tl=!0,xl||(xl=!0,Ql()))),z},s.unstable_shouldYield=Ot,s.unstable_wrapCallback=function(z){var M=ul;return function(){var q=ul;ul=M;try{return z.apply(this,arguments)}finally{ul=q}}}})(Sf)),Sf}var Lh;function lr(){return Lh||(Lh=1,gf.exports=Py()),gf.exports}var bf={exports:{}},Jl={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Zh;function tr(){if(Zh)return Jl;Zh=1;var s=Nf();function S(p){var x="https://react.dev/errors/"+p;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(S){console.error(S)}}return s(),bf.exports=tr(),bf.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Kh;function er(){if(Kh)return pu;Kh=1;var s=lr(),S=Nf(),N=ar();function o(l){var t="https://react.dev/errors/"+l;if(1fl||(l.current=nl[fl],nl[fl]=null,fl--)}function O(l,t){fl++,nl[fl]=l.current,l.current=t}var C=y(null),L=y(null),k=y(null),sl=y(null);function kl(l,t){switch(O(k,t),O(L,l),O(C,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?ch(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=ch(t),l=ih(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}A(C),O(C,l)}function pl(){A(C),A(L),A(k)}function Ue(l){l.memoizedState!==null&&O(sl,l);var t=C.current,a=ih(t,l.type);t!==a&&(O(L,l),O(C,a))}function Nu(l){L.current===l&&(A(C),A(L)),sl.current===l&&(A(sl),Eu._currentValue=q)}var $n,Hf;function pa(l){if($n===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);$n=t&&t[1]||"",Hf=-1)":-1u||d[e]!==m[u]){var E=` +`+d[e].replace(" at new "," at ");return l.displayName&&E.includes("")&&(E=E.replace("",l.displayName)),E}while(1<=e&&0<=u);break}}}finally{Wn=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?pa(a):""}function x0(l,t){switch(l.tag){case 26:case 27:case 5:return pa(l.type);case 16:return pa("Lazy");case 13:return l.child!==t&&t!==null?pa("Suspense Fallback"):pa("Suspense");case 19:return pa("SuspenseList");case 0:case 15:return Fn(l.type,!1);case 11:return Fn(l.type.render,!1);case 1:return Fn(l.type,!0);case 31:return pa("Activity");default:return""}}function Bf(l){try{var t="",a=null;do t+=x0(l,a),a=l,l=l.return;while(l);return t}catch(e){return` +Error generating stack: `+e.message+` +`+e.stack}}var In=Object.prototype.hasOwnProperty,Pn=s.unstable_scheduleCallback,lc=s.unstable_cancelCallback,p0=s.unstable_shouldYield,_0=s.unstable_requestPaint,nt=s.unstable_now,N0=s.unstable_getCurrentPriorityLevel,Yf=s.unstable_ImmediatePriority,qf=s.unstable_UserBlockingPriority,Mu=s.unstable_NormalPriority,M0=s.unstable_LowPriority,Gf=s.unstable_IdlePriority,O0=s.log,D0=s.unstable_setDisableYieldValue,Ce=null,ct=null;function la(l){if(typeof O0=="function"&&D0(l),ct&&typeof ct.setStrictMode=="function")try{ct.setStrictMode(Ce,l)}catch{}}var it=Math.clz32?Math.clz32:R0,U0=Math.log,C0=Math.LN2;function R0(l){return l>>>=0,l===0?32:31-(U0(l)/C0|0)|0}var Ou=256,Du=262144,Uu=4194304;function _a(l){var t=l&42;if(t!==0)return t;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Cu(l,t,a){var e=l.pendingLanes;if(e===0)return 0;var u=0,n=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var i=e&134217727;return i!==0?(e=i&~n,e!==0?u=_a(e):(c&=i,c!==0?u=_a(c):a||(a=i&~l,a!==0&&(u=_a(a))))):(i=e&~n,i!==0?u=_a(i):c!==0?u=_a(c):a||(a=e&~l,a!==0&&(u=_a(a)))),u===0?0:t!==0&&t!==u&&(t&n)===0&&(n=u&-u,a=t&-t,n>=a||n===32&&(a&4194048)!==0)?t:u}function Re(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function H0(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qf(){var l=Uu;return Uu<<=1,(Uu&62914560)===0&&(Uu=4194304),l}function tc(l){for(var t=[],a=0;31>a;a++)t.push(l);return t}function He(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function B0(l,t,a,e,u,n){var c=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var i=l.entanglements,d=l.expirationTimes,m=l.hiddenUpdates;for(a=c&~a;0"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var L0=/[\n"\\]/g;function St(l){return l.replace(L0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ic(l,t,a,e,u,n,c,i){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+gt(t)):l.value!==""+gt(t)&&(l.value=""+gt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?fc(l,c,gt(t)):a!=null?fc(l,c,gt(a)):e!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.name=""+gt(i):l.removeAttribute("name")}function Pf(l,t,a,e,u,n,c,i){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||t!=null)){cc(l);return}a=a!=null?""+gt(a):"",t=t!=null?""+gt(t):a,i||t===l.value||(l.value=t),l.defaultValue=t}e=e??u,e=typeof e!="function"&&typeof e!="symbol"&&!!e,l.checked=i?l.checked:!!e,l.defaultChecked=!!e,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),cc(l)}function fc(l,t,a){t==="number"&&Bu(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Fa(l,t,a,e){if(l=l.options,t){t={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yc=!1;if(qt)try{var Ge={};Object.defineProperty(Ge,"passive",{get:function(){yc=!0}}),window.addEventListener("test",Ge,Ge),window.removeEventListener("test",Ge,Ge)}catch{yc=!1}var aa=null,rc=null,qu=null;function cs(){if(qu)return qu;var l,t=rc,a=t.length,e,u="value"in aa?aa.value:aa.textContent,n=u.length;for(l=0;l=Le),hs=" ",ys=!1;function rs(l,t){switch(l){case"keyup":return m1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vs(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var te=!1;function S1(l,t){switch(l){case"compositionend":return vs(t);case"keypress":return t.which!==32?null:(ys=!0,hs);case"textInput":return l=t.data,l===hs&&ys?null:l;default:return null}}function b1(l,t){if(te)return l==="compositionend"||!bc&&rs(l,t)?(l=cs(),qu=rc=aa=null,te=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-l};l=e}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=Ts(a)}}function xs(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?xs(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function ps(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Bu(l.document);t instanceof l.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)l=t.contentWindow;else break;t=Bu(l.document)}return t}function jc(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var _1=qt&&"documentMode"in document&&11>=document.documentMode,ae=null,Tc=null,Je=null,Ac=!1;function _s(l,t,a){var e=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ac||ae==null||ae!==Bu(e)||(e=ae,"selectionStart"in e&&jc(e)?e={start:e.selectionStart,end:e.selectionEnd}:(e=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection(),e={anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}),Je&&Ke(Je,e)||(Je=e,e=Un(Tc,"onSelect"),0>=c,u-=c,Ut=1<<32-it(t)+u|a<V?(I=R,R=null):I=R.sibling;var el=g(r,R,v[V],j);if(el===null){R===null&&(R=I);break}l&&R&&el.alternate===null&&t(r,R),h=n(el,h,V),al===null?H=el:al.sibling=el,al=el,R=I}if(V===v.length)return a(r,R),P&&Qt(r,V),H;if(R===null){for(;VV?(I=R,R=null):I=R.sibling;var Aa=g(r,R,el.value,j);if(Aa===null){R===null&&(R=I);break}l&&R&&Aa.alternate===null&&t(r,R),h=n(Aa,h,V),al===null?H=Aa:al.sibling=Aa,al=Aa,R=I}if(el.done)return a(r,R),P&&Qt(r,V),H;if(R===null){for(;!el.done;V++,el=v.next())el=T(r,el.value,j),el!==null&&(h=n(el,h,V),al===null?H=el:al.sibling=el,al=el);return P&&Qt(r,V),H}for(R=e(R);!el.done;V++,el=v.next())el=b(R,r,V,el.value,j),el!==null&&(l&&el.alternate!==null&&R.delete(el.key===null?V:el.key),h=n(el,h,V),al===null?H=el:al.sibling=el,al=el);return l&&R.forEach(function(wy){return t(r,wy)}),P&&Qt(r,V),H}function rl(r,h,v,j){if(typeof v=="object"&&v!==null&&v.type===Sl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Al:l:{for(var H=v.key;h!==null;){if(h.key===H){if(H=v.type,H===Sl){if(h.tag===7){a(r,h.sibling),j=u(h,v.props.children),j.return=r,r=j;break l}}else if(h.elementType===H||typeof H=="object"&&H!==null&&H.$$typeof===il&&qa(H)===h.type){a(r,h.sibling),j=u(h,v.props),Ie(j,v),j.return=r,r=j;break l}a(r,h);break}else t(r,h);h=h.sibling}v.type===Sl?(j=Ca(v.props.children,r.mode,j,v.key),j.return=r,r=j):(j=ku(v.type,v.key,v.props,null,r.mode,j),Ie(j,v),j.return=r,r=j)}return c(r);case tl:l:{for(H=v.key;h!==null;){if(h.key===H)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){a(r,h.sibling),j=u(h,v.children||[]),j.return=r,r=j;break l}else{a(r,h);break}else t(r,h);h=h.sibling}j=Dc(v,r.mode,j),j.return=r,r=j}return c(r);case il:return v=qa(v),rl(r,h,v,j)}if(Fl(v))return U(r,h,v,j);if(Ql(v)){if(H=Ql(v),typeof H!="function")throw Error(o(150));return v=H.call(v),Y(r,h,v,j)}if(typeof v.then=="function")return rl(r,h,tn(v),j);if(v.$$typeof===bl)return rl(r,h,Fu(r,v),j);an(r,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,h!==null&&h.tag===6?(a(r,h.sibling),j=u(h,v),j.return=r,r=j):(a(r,h),j=Oc(v,r.mode,j),j.return=r,r=j),c(r)):a(r,h)}return function(r,h,v,j){try{Fe=0;var H=rl(r,h,v,j);return ye=null,H}catch(R){if(R===he||R===Pu)throw R;var al=st(29,R,null,r.mode);return al.lanes=j,al.return=r,al}finally{}}}var Qa=Ws(!0),Fs=Ws(!1),ia=!1;function Zc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function fa(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function sa(l,t,a){var e=l.updateQueue;if(e===null)return null;if(e=e.shared,(cl&2)!==0){var u=e.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),e.pending=t,t=wu(l),Rs(l,null,a),t}return Ju(l,e,t,a),wu(l)}function Pe(l,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Lf(l,a)}}function Kc(l,t){var a=l.updateQueue,e=l.alternate;if(e!==null&&(e=e.updateQueue,a===e)){var u=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};n===null?u=n=c:n=n.next=c,a=a.next}while(a!==null);n===null?u=n=t:n=n.next=t}else u=n=t;a={baseState:e.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:e.shared,callbacks:e.callbacks},l.updateQueue=a;return}l=a.lastBaseUpdate,l===null?a.firstBaseUpdate=t:l.next=t,a.lastBaseUpdate=t}var Jc=!1;function lu(){if(Jc){var l=oe;if(l!==null)throw l}}function tu(l,t,a,e){Jc=!1;var u=l.updateQueue;ia=!1;var n=u.firstBaseUpdate,c=u.lastBaseUpdate,i=u.shared.pending;if(i!==null){u.shared.pending=null;var d=i,m=d.next;d.next=null,c===null?n=m:c.next=m,c=d;var E=l.alternate;E!==null&&(E=E.updateQueue,i=E.lastBaseUpdate,i!==c&&(i===null?E.firstBaseUpdate=m:i.next=m,E.lastBaseUpdate=d))}if(n!==null){var T=u.baseState;c=0,E=m=d=null,i=n;do{var g=i.lane&-536870913,b=g!==i.lane;if(b?(F&g)===g:(e&g)===g){g!==0&&g===de&&(Jc=!0),E!==null&&(E=E.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});l:{var U=l,Y=i;g=t;var rl=a;switch(Y.tag){case 1:if(U=Y.payload,typeof U=="function"){T=U.call(rl,T,g);break l}T=U;break l;case 3:U.flags=U.flags&-65537|128;case 0:if(U=Y.payload,g=typeof U=="function"?U.call(rl,T,g):U,g==null)break l;T=B({},T,g);break l;case 2:ia=!0}}g=i.callback,g!==null&&(l.flags|=64,b&&(l.flags|=8192),b=u.callbacks,b===null?u.callbacks=[g]:b.push(g))}else b={lane:g,tag:i.tag,payload:i.payload,callback:i.callback,next:null},E===null?(m=E=b,d=T):E=E.next=b,c|=g;if(i=i.next,i===null){if(i=u.shared.pending,i===null)break;b=i,i=b.next,b.next=null,u.lastBaseUpdate=b,u.shared.pending=null}}while(!0);E===null&&(d=T),u.baseState=d,u.firstBaseUpdate=m,u.lastBaseUpdate=E,n===null&&(u.shared.lanes=0),ra|=c,l.lanes=c,l.memoizedState=T}}function Is(l,t){if(typeof l!="function")throw Error(o(191,l));l.call(t)}function Ps(l,t){var a=l.callbacks;if(a!==null)for(l.callbacks=null,l=0;ln?n:8;var c=z.T,i={};z.T=i,oi(l,!1,t,a);try{var d=u(),m=z.S;if(m!==null&&m(i,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){var E=B1(d,e);uu(l,t,E,rt(l))}else uu(l,t,e,rt(l))}catch(T){uu(l,t,{then:function(){},status:"rejected",reason:T},rt())}finally{M.p=n,c!==null&&i.types!==null&&(c.types=i.types),z.T=c}}function L1(){}function si(l,t,a,e){if(l.tag!==5)throw Error(o(476));var u=Dd(l).queue;Od(l,u,t,q,a===null?L1:function(){return Ud(l),a(e)})}function Dd(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:q},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:a},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function Ud(l){var t=Dd(l);t.next===null&&(t=l.alternate.memoizedState),uu(l,t.next.queue,{},rt())}function di(){return Zl(Eu)}function Cd(){return Nl().memoizedState}function Rd(){return Nl().memoizedState}function Z1(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var a=rt();l=fa(a);var e=sa(t,l,a);e!==null&&(ut(e,t,a),Pe(e,t,a)),t={cache:Gc()},l.payload=t;return}t=t.return}}function V1(l,t,a){var e=rt();a={lane:e,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},yn(l)?Bd(t,a):(a=Nc(l,t,a,e),a!==null&&(ut(a,l,e),Yd(a,t,e)))}function Hd(l,t,a){var e=rt();uu(l,t,a,e)}function uu(l,t,a,e){var u={lane:e,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(yn(l))Bd(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var c=t.lastRenderedState,i=n(c,a);if(u.hasEagerState=!0,u.eagerState=i,ft(i,c))return Ju(l,t,u,0),vl===null&&Ku(),!1}catch{}finally{}if(a=Nc(l,t,u,e),a!==null)return ut(a,l,e),Yd(a,t,e),!0}return!1}function oi(l,t,a,e){if(e={lane:2,revertLane:Zi(),gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},yn(l)){if(t)throw Error(o(479))}else t=Nc(l,a,e,2),t!==null&&ut(t,l,2)}function yn(l){var t=l.alternate;return l===Z||t!==null&&t===Z}function Bd(l,t){ve=nn=!0;var a=l.pending;a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t}function Yd(l,t,a){if((a&4194048)!==0){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Lf(l,a)}}var nu={readContext:Zl,use:sn,useCallback:El,useContext:El,useEffect:El,useImperativeHandle:El,useLayoutEffect:El,useInsertionEffect:El,useMemo:El,useReducer:El,useRef:El,useState:El,useDebugValue:El,useDeferredValue:El,useTransition:El,useSyncExternalStore:El,useId:El,useHostTransitionStatus:El,useFormState:El,useActionState:El,useOptimistic:El,useMemoCache:El,useCacheRefresh:El};nu.useEffectEvent=El;var qd={readContext:Zl,use:sn,useCallback:function(l,t){return $l().memoizedState=[l,t===void 0?null:t],l},useContext:Zl,useEffect:Ed,useImperativeHandle:function(l,t,a){a=a!=null?a.concat([l]):null,on(4194308,4,xd.bind(null,t,l),a)},useLayoutEffect:function(l,t){return on(4194308,4,l,t)},useInsertionEffect:function(l,t){on(4,2,l,t)},useMemo:function(l,t){var a=$l();t=t===void 0?null:t;var e=l();if(Xa){la(!0);try{l()}finally{la(!1)}}return a.memoizedState=[e,t],e},useReducer:function(l,t,a){var e=$l();if(a!==void 0){var u=a(t);if(Xa){la(!0);try{a(t)}finally{la(!1)}}}else u=t;return e.memoizedState=e.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},e.queue=l,l=l.dispatch=V1.bind(null,Z,l),[e.memoizedState,l]},useRef:function(l){var t=$l();return l={current:l},t.memoizedState=l},useState:function(l){l=ui(l);var t=l.queue,a=Hd.bind(null,Z,t);return t.dispatch=a,[l.memoizedState,a]},useDebugValue:ii,useDeferredValue:function(l,t){var a=$l();return fi(a,l,t)},useTransition:function(){var l=ui(!1);return l=Od.bind(null,Z,l.queue,!0,!1),$l().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,a){var e=Z,u=$l();if(P){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),vl===null)throw Error(o(349));(F&127)!==0||nd(e,t,a)}u.memoizedState=a;var n={value:a,getSnapshot:t};return u.queue=n,Ed(id.bind(null,e,n,l),[l]),e.flags|=2048,ge(9,{destroy:void 0},cd.bind(null,e,n,a,t),null),a},useId:function(){var l=$l(),t=vl.identifierPrefix;if(P){var a=Ct,e=Ut;a=(e&~(1<<32-it(e)-1)).toString(32)+a,t="_"+t+"R_"+a,a=cn++,0<\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof e.is=="string"?c.createElement("select",{is:e.is}):c.createElement("select"),e.multiple?n.multiple=!0:e.size&&(n.size=e.size);break;default:n=typeof e.is=="string"?c.createElement(u,{is:e.is}):c.createElement(u)}}n[Xl]=t,n[Il]=e;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)n.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=n;l:switch(Kl(n,u,e),u){case"button":case"input":case"select":case"textarea":e=!!e.autoFocus;break l;case"img":e=!0;break l;default:e=!1}e&&Jt(t)}}return gl(t),xi(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,a),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==e&&Jt(t);else{if(typeof e!="string"&&t.stateNode===null)throw Error(o(166));if(l=k.current,fe(t)){if(l=t.stateNode,a=t.memoizedProps,e=null,u=Ll,u!==null)switch(u.tag){case 27:case 5:e=u.memoizedProps}l[Xl]=t,l=!!(l.nodeValue===a||e!==null&&e.suppressHydrationWarning===!0||uh(l.nodeValue,a)),l||na(t,!0)}else l=Cn(l).createTextNode(e),l[Xl]=t,t.stateNode=l}return gl(t),null;case 31:if(a=t.memoizedState,l===null||l.memoizedState!==null){if(e=fe(t),a!==null){if(l===null){if(!e)throw Error(o(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(557));l[Xl]=t}else Ra(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;gl(t),l=!1}else a=Hc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=a),l=!0;if(!l)return t.flags&256?(ot(t),t):(ot(t),null);if((t.flags&128)!==0)throw Error(o(558))}return gl(t),null;case 13:if(e=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=fe(t),e!==null&&e.dehydrated!==null){if(l===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Xl]=t}else Ra(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;gl(t),u=!1}else u=Hc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(ot(t),t):(ot(t),null)}return ot(t),(t.flags&128)!==0?(t.lanes=a,t):(a=e!==null,l=l!==null&&l.memoizedState!==null,a&&(e=t.child,u=null,e.alternate!==null&&e.alternate.memoizedState!==null&&e.alternate.memoizedState.cachePool!==null&&(u=e.alternate.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==u&&(e.flags|=2048)),a!==l&&a&&(t.child.flags|=8192),Sn(t,t.updateQueue),gl(t),null);case 4:return pl(),l===null&&wi(t.stateNode.containerInfo),gl(t),null;case 10:return Lt(t.type),gl(t),null;case 19:if(A(_l),e=t.memoizedState,e===null)return gl(t),null;if(u=(t.flags&128)!==0,n=e.rendering,n===null)if(u)iu(e,!1);else{if(jl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=un(l),n!==null){for(t.flags|=128,iu(e,!1),l=n.updateQueue,t.updateQueue=l,Sn(t,l),t.subtreeFlags=0,l=a,a=t.child;a!==null;)Hs(a,l),a=a.sibling;return O(_l,_l.current&1|2),P&&Qt(t,e.treeForkCount),t.child}l=l.sibling}e.tail!==null&&nt()>Tn&&(t.flags|=128,u=!0,iu(e,!1),t.lanes=4194304)}else{if(!u)if(l=un(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,Sn(t,l),iu(e,!0),e.tail===null&&e.tailMode==="hidden"&&!n.alternate&&!P)return gl(t),null}else 2*nt()-e.renderingStartTime>Tn&&a!==536870912&&(t.flags|=128,u=!0,iu(e,!1),t.lanes=4194304);e.isBackwards?(n.sibling=t.child,t.child=n):(l=e.last,l!==null?l.sibling=n:t.child=n,e.last=n)}return e.tail!==null?(l=e.tail,e.rendering=l,e.tail=l.sibling,e.renderingStartTime=nt(),l.sibling=null,a=_l.current,O(_l,u?a&1|2:a&1),P&&Qt(t,e.treeForkCount),l):(gl(t),null);case 22:case 23:return ot(t),kc(),e=t.memoizedState!==null,l!==null?l.memoizedState!==null!==e&&(t.flags|=8192):e&&(t.flags|=8192),e?(a&536870912)!==0&&(t.flags&128)===0&&(gl(t),t.subtreeFlags&6&&(t.flags|=8192)):gl(t),a=t.updateQueue,a!==null&&Sn(t,a.retryQueue),a=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(t.flags|=2048),l!==null&&A(Ya),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Lt(Ol),gl(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function $1(l,t){switch(Cc(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Lt(Ol),pl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Nu(t),null;case 31:if(t.memoizedState!==null){if(ot(t),t.alternate===null)throw Error(o(340));Ra()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(ot(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Ra()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return A(_l),null;case 4:return pl(),null;case 10:return Lt(t.type),null;case 22:case 23:return ot(t),kc(),l!==null&&A(Ya),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Lt(Ol),null;case 25:return null;default:return null}}function fo(l,t){switch(Cc(t),t.tag){case 3:Lt(Ol),pl();break;case 26:case 27:case 5:Nu(t);break;case 4:pl();break;case 31:t.memoizedState!==null&&ot(t);break;case 13:ot(t);break;case 19:A(_l);break;case 10:Lt(t.type);break;case 22:case 23:ot(t),kc(),l!==null&&A(Ya);break;case 24:Lt(Ol)}}function fu(l,t){try{var a=t.updateQueue,e=a!==null?a.lastEffect:null;if(e!==null){var u=e.next;a=u;do{if((a.tag&l)===l){e=void 0;var n=a.create,c=a.inst;e=n(),c.destroy=e}a=a.next}while(a!==u)}}catch(i){ol(t,t.return,i)}}function ha(l,t,a){try{var e=t.updateQueue,u=e!==null?e.lastEffect:null;if(u!==null){var n=u.next;e=n;do{if((e.tag&l)===l){var c=e.inst,i=c.destroy;if(i!==void 0){c.destroy=void 0,u=t;var d=a,m=i;try{m()}catch(E){ol(u,d,E)}}}e=e.next}while(e!==n)}}catch(E){ol(t,t.return,E)}}function so(l){var t=l.updateQueue;if(t!==null){var a=l.stateNode;try{Ps(t,a)}catch(e){ol(l,l.return,e)}}}function oo(l,t,a){a.props=La(l.type,l.memoizedProps),a.state=l.memoizedState;try{a.componentWillUnmount()}catch(e){ol(l,t,e)}}function su(l,t){try{var a=l.ref;if(a!==null){switch(l.tag){case 26:case 27:case 5:var e=l.stateNode;break;case 30:e=l.stateNode;break;default:e=l.stateNode}typeof a=="function"?l.refCleanup=a(e):a.current=e}}catch(u){ol(l,t,u)}}function Rt(l,t){var a=l.ref,e=l.refCleanup;if(a!==null)if(typeof e=="function")try{e()}catch(u){ol(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(u){ol(l,t,u)}else a.current=null}function ho(l){var t=l.type,a=l.memoizedProps,e=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break l;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}catch(u){ol(l,l.return,u)}}function pi(l,t,a){try{var e=l.stateNode;gy(e,l.type,a,t),e[Il]=t}catch(u){ol(l,l.return,u)}}function yo(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ba(l.type)||l.tag===4}function _i(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||yo(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&ba(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Ni(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(l,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(l),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Yt));else if(e!==4&&(e===27&&ba(l.type)&&(a=l.stateNode,t=null),l=l.child,l!==null))for(Ni(l,t,a),l=l.sibling;l!==null;)Ni(l,t,a),l=l.sibling}function bn(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?a.insertBefore(l,t):a.appendChild(l);else if(e!==4&&(e===27&&ba(l.type)&&(a=l.stateNode),l=l.child,l!==null))for(bn(l,t,a),l=l.sibling;l!==null;)bn(l,t,a),l=l.sibling}function ro(l){var t=l.stateNode,a=l.memoizedProps;try{for(var e=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Kl(t,e,a),t[Xl]=l,t[Il]=a}catch(n){ol(l,l.return,n)}}var wt=!1,Cl=!1,Mi=!1,vo=typeof WeakSet=="function"?WeakSet:Set,Gl=null;function W1(l,t){if(l=l.containerInfo,Wi=Qn,l=ps(l),jc(l)){if("selectionStart"in l)var a={start:l.selectionStart,end:l.selectionEnd};else l:{a=(a=l.ownerDocument)&&a.defaultView||window;var e=a.getSelection&&a.getSelection();if(e&&e.rangeCount!==0){a=e.anchorNode;var u=e.anchorOffset,n=e.focusNode;e=e.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break l}var c=0,i=-1,d=-1,m=0,E=0,T=l,g=null;t:for(;;){for(var b;T!==a||u!==0&&T.nodeType!==3||(i=c+u),T!==n||e!==0&&T.nodeType!==3||(d=c+e),T.nodeType===3&&(c+=T.nodeValue.length),(b=T.firstChild)!==null;)g=T,T=b;for(;;){if(T===l)break t;if(g===a&&++m===u&&(i=c),g===n&&++E===e&&(d=c),(b=T.nextSibling)!==null)break;T=g,g=T.parentNode}T=b}a=i===-1||d===-1?null:{start:i,end:d}}else a=null}a=a||{start:0,end:0}}else a=null;for(Fi={focusedElem:l,selectionRange:a},Qn=!1,Gl=t;Gl!==null;)if(t=Gl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Gl=l;else for(;Gl!==null;){switch(t=Gl,n=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(a=0;a title"))),Kl(n,e,a),n[Xl]=l,ql(n),e=n;break l;case"link":var c=Eh("link","href",u).get(e+(a.href||""));if(c){for(var i=0;irl&&(c=rl,rl=Y,Y=c);var r=As(i,Y),h=As(i,rl);if(r&&h&&(b.rangeCount!==1||b.anchorNode!==r.node||b.anchorOffset!==r.offset||b.focusNode!==h.node||b.focusOffset!==h.offset)){var v=T.createRange();v.setStart(r.node,r.offset),b.removeAllRanges(),Y>rl?(b.addRange(v),b.extend(h.node,h.offset)):(v.setEnd(h.node,h.offset),b.addRange(v))}}}}for(T=[],b=i;b=b.parentNode;)b.nodeType===1&&T.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;ia?32:a,z.T=null,a=Bi,Bi=null;var n=ma,c=It;if(Hl=0,je=ma=null,It=0,(cl&6)!==0)throw Error(o(331));var i=cl;if(cl|=4,po(n.current),To(n,n.current,c,a),cl=i,vu(0,!1),ct&&typeof ct.onPostCommitFiberRoot=="function")try{ct.onPostCommitFiberRoot(Ce,n)}catch{}return!0}finally{M.p=u,z.T=e,Vo(l,t)}}function Jo(l,t,a){t=zt(a,t),t=vi(l.stateNode,t,2),l=sa(l,t,2),l!==null&&(He(l,2),Ht(l))}function ol(l,t,a){if(l.tag===3)Jo(l,l,a);else for(;t!==null;){if(t.tag===3){Jo(t,l,a);break}else if(t.tag===1){var e=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof e.componentDidCatch=="function"&&(va===null||!va.has(e))){l=zt(a,l),a=Jd(2),e=sa(t,a,2),e!==null&&(wd(a,e,t,l),He(e,2),Ht(e));break}}t=t.return}}function Qi(l,t,a){var e=l.pingCache;if(e===null){e=l.pingCache=new P1;var u=new Set;e.set(t,u)}else u=e.get(t),u===void 0&&(u=new Set,e.set(t,u));u.has(a)||(Ui=!0,u.add(a),l=uy.bind(null,l,t,a),t.then(l,l))}function uy(l,t,a){var e=l.pingCache;e!==null&&e.delete(t),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,vl===l&&(F&a)===a&&(jl===4||jl===3&&(F&62914560)===F&&300>nt()-jn?(cl&2)===0&&Te(l,0):Ci|=a,Ee===F&&(Ee=0)),Ht(l)}function wo(l,t){t===0&&(t=Qf()),l=Ua(l,t),l!==null&&(He(l,t),Ht(l))}function ny(l){var t=l.memoizedState,a=0;t!==null&&(a=t.retryLane),wo(l,a)}function cy(l,t){var a=0;switch(l.tag){case 31:case 13:var e=l.stateNode,u=l.memoizedState;u!==null&&(a=u.retryLane);break;case 19:e=l.stateNode;break;case 22:e=l.stateNode._retryCache;break;default:throw Error(o(314))}e!==null&&e.delete(t),wo(l,a)}function iy(l,t){return Pn(l,t)}var Mn=null,xe=null,Xi=!1,On=!1,Li=!1,Sa=0;function Ht(l){l!==xe&&l.next===null&&(xe===null?Mn=xe=l:xe=xe.next=l),On=!0,Xi||(Xi=!0,sy())}function vu(l,t){if(!Li&&On){Li=!0;do for(var a=!1,e=Mn;e!==null;){if(l!==0){var u=e.pendingLanes;if(u===0)var n=0;else{var c=e.suspendedLanes,i=e.pingedLanes;n=(1<<31-it(42|l)+1)-1,n&=u&~(c&~i),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(a=!0,Fo(e,n))}else n=F,n=Cu(e,e===vl?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),(n&3)===0||Re(e,n)||(a=!0,Fo(e,n));e=e.next}while(a);Li=!1}}function fy(){ko()}function ko(){On=Xi=!1;var l=0;Sa!==0&&by()&&(l=Sa);for(var t=nt(),a=null,e=Mn;e!==null;){var u=e.next,n=$o(e,t);n===0?(e.next=null,a===null?Mn=u:a.next=u,u===null&&(xe=a)):(a=e,(l!==0||(n&3)!==0)&&(On=!0)),e=u}Hl!==0&&Hl!==5||vu(l),Sa!==0&&(Sa=0)}function $o(l,t){for(var a=l.suspendedLanes,e=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0i)break;var E=d.transferSize,T=d.initiatorType;E&&nh(T)&&(d=d.responseEnd,c+=E*(d"u"?null:document;function gh(l,t,a){var e=pe;if(e&&typeof t=="string"&&t){var u=St(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),mh.has(u)||(mh.add(u),l={rel:l,crossOrigin:a,href:t},e.querySelector(u)===null&&(t=e.createElement("link"),Kl(t,"link",l),ql(t),e.head.appendChild(t)))}}function Ny(l){Pt.D(l),gh("dns-prefetch",l,null)}function My(l,t){Pt.C(l,t),gh("preconnect",l,t)}function Oy(l,t,a){Pt.L(l,t,a);var e=pe;if(e&&l&&t){var u='link[rel="preload"][as="'+St(t)+'"]';t==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+St(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+St(a.imageSizes)+'"]')):u+='[href="'+St(l)+'"]';var n=u;switch(t){case"style":n=_e(l);break;case"script":n=Ne(l)}pt.has(n)||(l=B({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:l,as:t},a),pt.set(n,l),e.querySelector(u)!==null||t==="style"&&e.querySelector(bu(n))||t==="script"&&e.querySelector(zu(n))||(t=e.createElement("link"),Kl(t,"link",l),ql(t),e.head.appendChild(t)))}}function Dy(l,t){Pt.m(l,t);var a=pe;if(a&&l){var e=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+St(e)+'"][href="'+St(l)+'"]',n=u;switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Ne(l)}if(!pt.has(n)&&(l=B({rel:"modulepreload",href:l},t),pt.set(n,l),a.querySelector(u)===null)){switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(zu(n)))return}e=a.createElement("link"),Kl(e,"link",l),ql(e),a.head.appendChild(e)}}}function Uy(l,t,a){Pt.S(l,t,a);var e=pe;if(e&&l){var u=$a(e).hoistableStyles,n=_e(l);t=t||"default";var c=u.get(n);if(!c){var i={loading:0,preload:null};if(c=e.querySelector(bu(n)))i.loading=5;else{l=B({rel:"stylesheet",href:l,"data-precedence":t},a),(a=pt.get(n))&&uf(l,a);var d=c=e.createElement("link");ql(d),Kl(d,"link",l),d._p=new Promise(function(m,E){d.onload=m,d.onerror=E}),d.addEventListener("load",function(){i.loading|=1}),d.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Hn(c,t,e)}c={type:"stylesheet",instance:c,count:1,state:i},u.set(n,c)}}}function Cy(l,t){Pt.X(l,t);var a=pe;if(a&&l){var e=$a(a).hoistableScripts,u=Ne(l),n=e.get(u);n||(n=a.querySelector(zu(u)),n||(l=B({src:l,async:!0},t),(t=pt.get(u))&&nf(l,t),n=a.createElement("script"),ql(n),Kl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Ry(l,t){Pt.M(l,t);var a=pe;if(a&&l){var e=$a(a).hoistableScripts,u=Ne(l),n=e.get(u);n||(n=a.querySelector(zu(u)),n||(l=B({src:l,async:!0,type:"module"},t),(t=pt.get(u))&&nf(l,t),n=a.createElement("script"),ql(n),Kl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Sh(l,t,a,e){var u=(u=k.current)?Rn(u):null;if(!u)throw Error(o(446));switch(l){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=_e(a.href),a=$a(u).hoistableStyles,e=a.get(t),e||(e={type:"style",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){l=_e(a.href);var n=$a(u).hoistableStyles,c=n.get(l);if(c||(u=u.ownerDocument||u,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,c),(n=u.querySelector(bu(l)))&&!n._p&&(c.instance=n,c.state.loading=5),pt.has(l)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},pt.set(l,a),n||Hy(u,l,a,c.state))),t&&e===null)throw Error(o(528,""));return c}if(t&&e!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ne(a),a=$a(u).hoistableScripts,e=a.get(t),e||(e={type:"script",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,l))}}function _e(l){return'href="'+St(l)+'"'}function bu(l){return'link[rel="stylesheet"]['+l+"]"}function bh(l){return B({},l,{"data-precedence":l.precedence,precedence:null})}function Hy(l,t,a,e){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?e.loading=1:(t=l.createElement("link"),e.preload=t,t.addEventListener("load",function(){return e.loading|=1}),t.addEventListener("error",function(){return e.loading|=2}),Kl(t,"link",a),ql(t),l.head.appendChild(t))}function Ne(l){return'[src="'+St(l)+'"]'}function zu(l){return"script[async]"+l}function zh(l,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var e=l.querySelector('style[data-href~="'+St(a.href)+'"]');if(e)return t.instance=e,ql(e),e;var u=B({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return e=(l.ownerDocument||l).createElement("style"),ql(e),Kl(e,"style",u),Hn(e,a.precedence,l),t.instance=e;case"stylesheet":u=_e(a.href);var n=l.querySelector(bu(u));if(n)return t.state.loading|=4,t.instance=n,ql(n),n;e=bh(a),(u=pt.get(u))&&uf(e,u),n=(l.ownerDocument||l).createElement("link"),ql(n);var c=n;return c._p=new Promise(function(i,d){c.onload=i,c.onerror=d}),Kl(n,"link",e),t.state.loading|=4,Hn(n,a.precedence,l),t.instance=n;case"script":return n=Ne(a.src),(u=l.querySelector(zu(n)))?(t.instance=u,ql(u),u):(e=a,(u=pt.get(n))&&(e=B({},a),nf(e,u)),l=l.ownerDocument||l,u=l.createElement("script"),ql(u),Kl(u,"link",e),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(e=t.instance,t.state.loading|=4,Hn(e,a.precedence,l));return t.instance}function Hn(l,t,a){for(var e=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=e.length?e[e.length-1]:null,n=u,c=0;c title"):null)}function By(l,t,a){if(a===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Th(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function Yy(l,t,a,e){if(a.type==="stylesheet"&&(typeof e.media!="string"||matchMedia(e.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var u=_e(e.href),n=t.querySelector(bu(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Yn.bind(l),t.then(l,l)),a.state.loading|=4,a.instance=n,ql(n);return}n=t.ownerDocument||t,e=bh(e),(u=pt.get(u))&&uf(e,u),n=n.createElement("link"),ql(n);var c=n;c._p=new Promise(function(i,d){c.onload=i,c.onerror=d}),Kl(n,"link",e),a.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(l.count++,a=Yn.bind(l),t.addEventListener("load",a),t.addEventListener("error",a))}}var cf=0;function qy(l,t){return l.stylesheets&&l.count===0&&Gn(l,l.stylesheets),0cf?50:800)+t);return l.unsuspend=a,function(){l.unsuspend=null,clearTimeout(e),clearTimeout(u)}}:null}function Yn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gn(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var qn=null;function Gn(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,qn=new Map,t.forEach(Gy,l),qn=null,Yn.call(l))}function Gy(l,t){if(!(t.state.loading&4)){var a=qn.get(l);if(a)var e=a.get(null);else{a=new Map,qn.set(l,a);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(S){console.error(S)}}return s(),mf.exports=er(),mf.exports}var nr=ur();/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const cr=s=>s==null?void 0:s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */function ir(s,S,N=[]){if(S==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:cr(s),size:24,node:S,...N.length>0?{aliases:N}:{}}}/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fr=s=>{let S="",N=!1;for(const o of s){if(o==="-"||o==="_"||o<=" "){N=S.length>0;continue}S.length===0?S+=o.toLowerCase():S+=N?o.toUpperCase():o,N=!1}return S};/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const sr=s=>{const S=fr(s);return S.charAt(0).toUpperCase()+S.slice(1)};/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const jf=(...s)=>s.filter((S,N,o)=>!!S&&S.trim()!==""&&o.indexOf(S)===N).join(" ").trim();/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ka={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */function zf(s){return s!=null}function dr(s,S={}){var ul,Al;const N=S.attributeNames??{},o=tl=>N[tl]??tl,_=s.size??s.width??Ka.width,D=s.size??s.height??Ka.height,w=((ul=s.aliases)==null?void 0:ul.filter(tl=>typeof tl=="string"&&tl.trim()!=="").map(tl=>`lucide-${tl}`))??[],K=[...s.name?[`lucide-${s.name}`]:[],...w],p=((Al=S.className)==null?void 0:Al.split(" ").filter(Boolean))??[],x=S.includeDefaultClasses===!1?jf(...p):jf("lucide",...K,...p),X=S.absoluteStrokeWidth?Number(S.strokeWidth??Ka["stroke-width"])*Number(s.size??s.width??Ka.width)/Number(S.size??S.width??Ka.width):S.strokeWidth??Ka["stroke-width"];return["svg",{...Object.entries(Ka).reduce((tl,[Sl,Bl])=>(tl[o(Sl)]=Bl,tl),{}),..."color"in S&&S.color&&{[o("stroke")]:S.color},..."size"in S&&zf(S.size)&&{[o("width")]:S.size,[o("height")]:S.size},..."width"in S&&zf(S.width)&&{[o("width")]:S.width},..."height"in S&&zf(S.height)&&{[o("height")]:S.height},[o("stroke-width")]:X,...x&&{[o("class")]:x},[o("viewBox")]:`0 0 ${_} ${D}`,...S.hasA11yProp===!1?{[o("aria-hidden")]:"true"}:{},..."attributes"in S&&S.attributes},s.node.map(tl=>{const[Sl,Bl,Ml]=tl,wl=S.nonScalingStroke?{[o("vector-effect")]:"non-scaling-stroke",...Bl}:Bl;return Ml?[Sl,wl,Ml]:[Sl,wl]})]}/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */function or(s,S={}){return dr(s,{...S,attributeNames:{...S.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hr=s=>{for(const S in s)if(S.startsWith("aria-")||S==="role"||S==="title")return!0;return!1},yr=ll.createContext({}),rr=()=>ll.useContext(yr),vr=ll.forwardRef(({color:s,size:S,width:N,height:o,strokeWidth:_,absoluteStrokeWidth:D,nonScalingStroke:w,className:K="",children:p,iconNode:x=[],icon:X={node:x,aliases:[],size:24},...B},ul)=>{const{size:Al=24,strokeWidth:tl=2,absoluteStrokeWidth:Sl=!1,nonScalingStroke:Bl=!1,color:Ml="currentColor",className:wl=""}=rr()??{},bl=!!p||hr(B),[Rl,Yl,xl=[]]=or(X,{color:s??Ml,width:N??S??Al,height:o??S??Al,strokeWidth:_??tl,absoluteStrokeWidth:D??Sl,nonScalingStroke:w??Bl,className:jf(wl,K),hasA11yProp:bl,attributes:B});return ll.createElement(Rl,{ref:ul,...Yl},[...xl.map(([J,il])=>ll.createElement(J,il)),...Array.isArray(p)?p:[p]])});/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */function Tl(s,S=[],N=[]){const o=typeof s=="string"?ir(s,S,N):s,_=ll.forwardRef(({className:D,...w},K)=>ll.createElement(vr,{ref:K,icon:o,className:D,...w}));return o.name&&(_.displayName=sr(o.name)),_}/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const l0={name:"activity",size:24,node:[["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"}]]};l0.node;const _u=Tl(l0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const t0={name:"arrow-down-to-line",size:24,node:[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]};t0.node;const mr=Tl(t0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const a0={name:"arrow-up-from-line",size:24,node:[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]]};a0.node;const gr=Tl(a0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const e0={name:"chart-no-axes-column",size:24,node:[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],aliases:["bar-chart-2"]};e0.node;const Sr=Tl(e0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const u0={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};u0.node;const br=Tl(u0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const n0={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};n0.node;const zr=Tl(n0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const c0={name:"cpu",size:24,node:[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]};c0.node;const Er=Tl(c0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const i0={name:"heart-pulse",size:24,node:[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]]};i0.node;const wh=Tl(i0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const f0={name:"inbox",size:24,node:[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]};f0.node;const jr=Tl(f0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const s0={name:"maximize",size:24,node:[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]};s0.node;const d0=Tl(s0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const o0={name:"minimize",size:24,node:[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]]};o0.node;const Tr=Tl(o0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const h0={name:"monitor-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]};h0.node;const Tf=Tl(h0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const y0={name:"network",size:24,node:[["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"}]]};y0.node;const r0=Tl(y0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const v0={name:"pause",size:24,node:[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]};v0.node;const Ar=Tl(v0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const m0={name:"plane",size:24,node:[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]};m0.node;const xr=Tl(m0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const g0={name:"radio",size:24,node:[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};g0.node;const Af=Tl(g0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const S0={name:"refresh-cw",size:24,node:[["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"}]]};S0.node;const pr=Tl(S0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const b0={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};b0.node;const z0=Tl(b0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const E0={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]};E0.node;const _r=Tl(E0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const j0={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};j0.node;const Ef=Tl(j0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const T0={name:"truck",size:24,node:[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]};T0.node;const Nr=Tl(T0);/** + * @license lucide-react v1.57.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const A0={name:"volume-2",size:24,node:[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]};A0.node;const Mr=Tl(A0),kh={RECEIVING:"接收正常",GOOD:"正常",CONNECTED:"服务连接正常",STALE:"数据已过期",NOT_RECEIVED:"未接收",MISSING:"未采到",ERROR:"数据异常",WAITING:"等待数据同步",INVALID_TIME:"时间异常",INVALID_VALUE:"数值异常",AMBIGUOUS:"来源不明确",online:"在线",offline:"离线",UNKNOWN:"未接入"};function De({state:s="UNKNOWN",label:S}){const N=["RECEIVING","GOOD","CONNECTED","online"].includes(s)?"good":["STALE","INVALID_TIME","AMBIGUOUS"].includes(s)?"warn":["ERROR","INVALID_VALUE"].includes(s)?"bad":"muted";return f.jsxs("span",{className:`status status-${N}`,children:[f.jsx("i",{}),S||kh[s]||kh.UNKNOWN]})}function Wl({title:s,children:S,extra:N,className:o=""}){return f.jsxs("section",{className:`panel ${o}`,children:[(s||N)&&f.jsxs("div",{className:"panel-title",children:[f.jsx("h2",{children:s}),N&&f.jsx("div",{className:"panel-extra",children:N})]}),S]})}function xa({title:s="暂无数据",description:S,icon:N=jr}){return f.jsxs("div",{className:"empty-state",children:[f.jsx(N,{size:35,strokeWidth:1.4}),f.jsx("strong",{children:s}),S&&f.jsx("p",{children:S})]})}function Mf({equipment:s,size:S=25}){const o=/无人机|航空|飞行|UAV/i.test(`${(s==null?void 0:s.name)||""} ${(s==null?void 0:s.code)||""} ${(s==null?void 0:s.type)||""}`)?xr:Nr;return f.jsx(o,{size:S,strokeWidth:1.7})}function Of({equipments:s=[],selectedId:S,onSelect:N,title:o="实装列表",emptyText:_="暂无已绑定装备"}){const[D,w]=ll.useState(""),K=ll.useMemo(()=>s.filter(p=>`${p.name||""} ${p.code||""}`.toLowerCase().includes(D.trim().toLowerCase())),[s,D]);return f.jsxs(Wl,{title:o,className:"equipment-list",children:[f.jsxs("label",{className:"search-input",children:[f.jsx(z0,{size:17}),f.jsx("input",{type:"search","aria-label":"搜索装备名称或编号",placeholder:"搜索装备名称或编号",value:D,onChange:p=>w(p.target.value)})]}),f.jsx("div",{className:"equipment-rows",children:K.map(p=>f.jsxs("button",{type:"button",className:`equipment-row ${S===p.id?"selected":""}`,onClick:()=>N==null?void 0:N(p.id),"aria-pressed":S===p.id,children:[f.jsx(Mf,{equipment:p}),f.jsxs("span",{className:"equipment-row-copy",children:[f.jsx("strong",{children:p.name||p.code||"未命名装备"}),f.jsx("small",{children:p.code||p.participantCode||"—"})]}),f.jsx(De,{state:p.state})]},p.id))}),!K.length&&f.jsx(xa,{title:D?"无匹配装备":_,description:D?"请调整名称或编号。":"绑定装备后将在此显示。"})]})}function Df({equipment:s,statusLabel:S}){return s?f.jsxs(Wl,{className:"equipment-header",children:[f.jsxs("div",{className:"equipment-heading",children:[f.jsx(Mf,{equipment:s,size:46}),f.jsxs("div",{children:[f.jsx("h2",{children:s.name||s.code||"未命名装备"}),f.jsxs("p",{children:[s.code||"—",f.jsx("span",{children:"·"}),s.type||"实装装备"]})]}),f.jsx(De,{state:s.state,label:S})]}),f.jsxs("div",{className:"equipment-updated",children:["最近接收 ",f.jsx("time",{children:wn(s.lastReceivedAt)})]})]}):null}function wn(s){if(s==null||s==="")return"—";const S=new Date(s);return Number.isNaN(S.getTime())?"—":new Intl.DateTimeFormat("zh-CN",{timeZone:"Asia/Shanghai",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).format(S)}const $h=s=>(s==null?void 0:s.simulated)===!0||/SIMULATED|模拟|演示/i.test([s==null?void 0:s.quality,s==null?void 0:s.sourceType,s==null?void 0:s.sourceName].join(" "));function Or(s){return(Array.isArray(s==null?void 0:s.equipment)?s.equipment:[]).filter(S=>!$h(S)).map(S=>({...S,id:String(S.id||S.equipmentId||""),items:(Array.isArray(S.items)?S.items:[]).filter(N=>!$h(N))})).filter(S=>S.id)}function Wh(s,S=""){if(s==null||s===""||typeof s=="object")return"—";const N=typeof s=="boolean"?s?"是":"否":String(s);return S?`${N} ${S}`:N}function Dr(s,S){return S?"ERROR":["CONNECTED","STALE","WAITING"].includes(s==null?void 0:s.state)?s.state:"WAITING"}function Ur(s,S){if(s)return S==="CONNECTED"?s:{...s,state:s.lastReceivedAt?"STALE":"NOT_RECEIVED",items:(s.items||[]).map(N=>["GOOD","VALID"].includes(N.quality)?{...N,quality:"STALE"}:N)}}const Cr={NUMBER:"数值数据",STATE:"状态数据",IMAGE:"图像数据"};function Rr({equipments:s,selectedId:S,onSelect:N}){const o=s.find(p=>p.id===S),_=(o==null?void 0:o.items)||[],[D,w]=ll.useState("");ll.useEffect(()=>w(""),[S]);const K=_.find(p=>p.key===D)||_[0];return f.jsxs("div",{className:"equipment-layout",children:[f.jsx(Of,{equipments:s,selectedId:S,onSelect:N}),f.jsx("div",{className:"detail-stack",children:o?f.jsxs(f.Fragment,{children:[f.jsx(Df,{equipment:o}),f.jsxs(Wl,{title:"数据接收情况",extra:f.jsx("span",{className:"muted",children:o.participantCode||""}),children:[f.jsx("div",{className:"table-scroll",children:f.jsxs("table",{className:"data-table receive-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{children:"数据类型 / 参数"}),f.jsx("th",{children:"最新数据"}),f.jsx("th",{children:"接收时间"}),f.jsx("th",{children:"接收状态"})]})}),f.jsx("tbody",{children:_.map((p,x)=>f.jsxs("tr",{className:K===p?"selected":"",onClick:()=>w(p.key),tabIndex:0,"aria-selected":K===p,onKeyDown:X=>{(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),w(p.key))},children:[f.jsxs("td",{children:[f.jsx("strong",{children:p.label||p.key}),f.jsx("small",{children:Cr[p.type]||p.type||"采集数据"})]}),f.jsx("td",{className:"parameter-value",children:Wh(p.value,p.unit)}),f.jsx("td",{children:f.jsx("time",{children:wn(p.receivedAt)})}),f.jsx("td",{children:f.jsx(De,{state:p.quality})})]},`${p.key}-${x}`))})]})}),!_.length&&f.jsx(xa,{title:"尚未收到该装备的数据",description:"采集数据到达后将在此显示。",icon:Af})]}),f.jsx(Wl,{title:K?`${K.label||K.key}详情`:"数据详情",children:K?f.jsxs("dl",{className:"value-details",children:[f.jsxs("div",{children:[f.jsx("dt",{children:"当前值"}),f.jsx("dd",{children:Wh(K.value,K.unit)})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"数据来源"}),f.jsx("dd",{children:K.sourceName||"—"})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"采样时间"}),f.jsx("dd",{children:wn(K.sampleTime)})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"接收时间"}),f.jsx("dd",{children:wn(K.receivedAt)})]}),f.jsxs("div",{children:[f.jsx("dt",{children:"数据质量"}),f.jsx("dd",{children:f.jsx(De,{state:K.quality})})]})]}):f.jsx(xa,{title:"暂无参数详情",description:"选择已接收参数查看其来源和时间。"})})]}):f.jsx(Wl,{className:"unselected-panel",children:f.jsx(xa,{title:"等待装备采集数据",description:"已绑定的实装及其采集数据同步后将在此显示。",icon:Af})})})]})}function Hr({equipments:s,selectedId:S,onSelect:N}){const o=s.find(_=>_.id===S);return f.jsxs("div",{className:"equipment-layout",children:[f.jsx(Of,{equipments:s,selectedId:S,onSelect:N}),f.jsxs("div",{className:"detail-stack",children:[o&&f.jsx(Df,{equipment:{...o,state:"NOT_RECEIVED"},statusLabel:"同步指标未接入"}),f.jsx(Wl,{title:"当前同步指标",children:f.jsx("div",{className:"sync-values",children:[["同步延迟","ms"],["数据丢包率","%"],["同步偏差","ms"]].map(([_,D])=>f.jsxs("div",{children:[f.jsx("span",{children:_}),f.jsxs("strong",{children:["— ",f.jsx("small",{children:D})]}),f.jsx("p",{children:"未接入"})]},_))})}),f.jsx(Wl,{title:"同步质量趋势",children:f.jsx(xa,{title:"暂无同步质量数据",description:"同步质量数据接入后,可查看所选装备的指标与趋势。",icon:_u})}),f.jsxs(Wl,{title:"数据同步状态",children:[f.jsx("div",{className:"table-scroll",children:f.jsx("table",{className:"data-table",children:f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{children:"数据类型"}),f.jsx("th",{children:"数据时间"}),f.jsx("th",{children:"同步偏差"}),f.jsx("th",{children:"同步状态"})]})})})}),f.jsx(xa,{title:"暂无同步状态"})]})]})]})}const xf=[["帧率","fps"],["码率","Mbps"],["丢帧率","%"],["同步偏差","ms"],["网络带宽","Mbps"],["运行时长","min"]];function kn(s){return String((s==null?void 0:s.equipmentId)??(s==null?void 0:s.id)??(s==null?void 0:s.code)??"")}function Fh(s){return(s==null?void 0:s.equipmentName)||(s==null?void 0:s.name)||(s==null?void 0:s.code)||kn(s)||"未命名装备"}function pf(s){return(s==null?void 0:s.equipmentCode)||(s==null?void 0:s.code)||kn(s)||"—"}function Uf({value:s,onChange:S,placeholder:N,label:o}){return f.jsxs("label",{className:"secondary-search",children:[f.jsx(z0,{size:17,"aria-hidden":"true"}),f.jsx("input",{"aria-label":o||N,value:s,onChange:_=>S(_.target.value),placeholder:N,type:"search"})]})}function Oe({unit:s}){return f.jsxs("span",{className:"secondary-blank",children:["—",s&&f.jsx("small",{children:s})]})}function Cf({children:s}){return f.jsxs("span",{className:"secondary-unavailable",children:[f.jsx("i",{}),s]})}function Rf({colSpan:s,title:S,description:N,icon:o}){return f.jsx("tr",{children:f.jsx("td",{colSpan:s,className:"secondary-empty-cell",children:f.jsx(xa,{title:S,description:N,icon:o})})})}function Br(){const[s,S]=ll.useState("");return f.jsxs("div",{className:"secondary-equipment-layout virtual-page",children:[f.jsxs(Wl,{title:"虚拟装备列表",className:"virtual-list-panel",children:[f.jsx("div",{className:"secondary-list-search",children:f.jsx(Uf,{value:s,onChange:S,placeholder:"搜索虚拟装备名称或编号"})}),f.jsx("div",{className:"virtual-list-empty",children:f.jsx(xa,{title:s.trim()?"未找到匹配的虚拟装备":"暂无虚拟装备",description:"接入虚拟装备后,可在此选择查看。",icon:_u})})]}),f.jsxs("div",{className:"secondary-detail-stack",children:[f.jsxs("div",{className:"virtual-unselected-header",children:[f.jsx("span",{className:"virtual-equipment-icon",children:f.jsx(_u,{size:32,"aria-hidden":"true"})}),f.jsxs("div",{children:[f.jsx("h2",{children:"未选择虚拟装备"}),f.jsxs("p",{children:["装备编号 ",f.jsx("span",{children:"—"})]})]}),f.jsx(Cf,{children:"暂无状态"})]}),f.jsx(Wl,{title:"当前装备状态",className:"virtual-state-panel",children:f.jsxs("div",{className:"virtual-state-body",children:[f.jsxs("div",{className:"virtual-health-row",children:[f.jsx(wh,{size:31,"aria-hidden":"true"}),f.jsx("span",{className:"virtual-health-label",children:"血量"}),f.jsx("strong",{children:"— / —"}),f.jsx("div",{className:"virtual-health-track","aria-label":"暂无血量数据"}),f.jsx("span",{className:"secondary-muted",children:"—"})]}),f.jsx("div",{className:"virtual-position-grid",children:[["经度","°"],["速度","m/s"],["纬度","°"],["航向角","°"],["高程","m"],["动作状态",""]].map(([N,o])=>f.jsxs("div",{className:"virtual-position-item",children:[f.jsx("span",{children:N}),f.jsx(Oe,{unit:o})]},N))})]})}),f.jsx(Wl,{title:"虚拟装备状态一览",className:"virtual-overview-panel",children:f.jsx("div",{className:"secondary-table-scroll",children:f.jsxs("table",{className:"secondary-table virtual-overview-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{scope:"col",children:"虚拟装备"}),f.jsx("th",{scope:"col",children:"血量"}),f.jsx("th",{scope:"col",children:"位置(经度 / 纬度)"}),f.jsx("th",{scope:"col",children:"高程"}),f.jsx("th",{scope:"col",children:"状态"})]})}),f.jsx("tbody",{children:f.jsx(Rf,{colSpan:5,title:"暂无虚拟装备状态",description:"装备接入后显示血量、位置与运行状态。",icon:wh})})]})})})]})]})}function Yr({equipments:s=[],selectedId:S,onSelect:N}){const o=s.find(_=>kn(_)===String(S??""));return f.jsxs("div",{className:"secondary-equipment-layout video-page",children:[f.jsx(Of,{equipments:s,selectedId:S,onSelect:N,title:"实装列表",emptyText:"暂无已接入的实装"}),f.jsxs("div",{className:"secondary-detail-stack video-main-column",children:[o?f.jsx(Df,{equipment:{...o,state:"NOT_RECEIVED"},statusLabel:"暂无融合视频"}):f.jsx(Wl,{children:f.jsxs("div",{className:"video-unselected-header",children:[f.jsx(Tf,{size:30,"aria-hidden":"true"}),f.jsxs("div",{children:[f.jsx("h2",{children:"未选择实装"}),f.jsx("p",{children:"从实装列表选择装备查看融合视频。"})]})]})}),f.jsx(Wl,{className:"video-main-panel",children:f.jsxs("div",{className:"video-stage",children:[f.jsxs("div",{className:"video-empty-frame",children:[f.jsx(Tf,{size:54,strokeWidth:1.5,"aria-hidden":"true"}),f.jsx("h3",{children:o?"暂无融合视频":"请选择实装"}),f.jsx("p",{children:o?"当前装备尚无可用的融合视频源。":"选择装备后查看对应的融合画面。"})]}),f.jsxs("aside",{className:"video-metrics-overlay","aria-label":"当前装备融合指标",children:[f.jsxs("div",{className:"video-overlay-heading",children:[f.jsx("strong",{children:"融合指标"}),f.jsx("span",{children:o?pf(o):"—"})]}),f.jsx("dl",{children:xf.map(([_,D])=>f.jsxs("div",{children:[f.jsx("dt",{children:_}),f.jsxs("dd",{children:["—",f.jsx("small",{children:D})]})]},_))})]}),f.jsxs("div",{className:"video-control-bar","aria-label":"视频播放控制",children:[f.jsx(Cf,{children:o?"暂无画面":"未选择装备"}),f.jsx("span",{className:"video-control-divider"}),f.jsx("button",{type:"button",disabled:!0,"aria-label":"暂停视频",title:"暂无可播放的融合视频",children:f.jsx(Ar,{size:19})}),f.jsx("button",{type:"button",disabled:!0,"aria-label":"视频音量",title:"暂无可播放的融合视频",children:f.jsx(Mr,{size:20})}),f.jsx("div",{className:"video-volume-track","aria-hidden":"true"}),f.jsx("span",{className:"video-resolution",children:"分辨率 —"}),f.jsx("button",{type:"button",disabled:!0,"aria-label":"视频全屏",title:"暂无可播放的融合视频",children:f.jsx(d0,{size:20})})]})]})})]})]})}function qr({equipments:s=[]}){const[S,N]=ll.useState(""),o=ll.useMemo(()=>{const _=S.trim().toLocaleLowerCase();return _?s.filter(D=>`${Fh(D)} ${pf(D)}`.toLocaleLowerCase().includes(_)):s},[s,S]);return f.jsxs("div",{className:"fusion-metrics-page",children:[f.jsxs(Wl,{title:"装备融合指标",className:"fusion-metrics-panel",children:[f.jsx("div",{className:"secondary-panel-toolbar",children:f.jsx(Uf,{value:S,onChange:N,placeholder:"搜索装备名称或编号"})}),f.jsx("div",{className:"secondary-table-scroll",children:f.jsxs("table",{className:"secondary-table fusion-metrics-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{scope:"col",children:"装备名称"}),xf.map(([_,D])=>f.jsxs("th",{scope:"col",children:[_,f.jsxs("span",{className:"secondary-column-unit",children:["(",D,")"]})]},_)),f.jsx("th",{scope:"col",children:"状态"})]})}),f.jsx("tbody",{children:o.length?o.map((_,D)=>f.jsxs("tr",{children:[f.jsx("td",{children:f.jsxs("div",{className:"fusion-equipment-name",children:[f.jsx(Mf,{equipment:_,size:26}),f.jsxs("div",{children:[f.jsx("strong",{children:Fh(_)}),f.jsx("span",{children:pf(_)})]})]})}),xf.map(([w])=>f.jsx("td",{children:f.jsx(Oe,{})},w)),f.jsx("td",{children:f.jsx(Cf,{children:"暂无指标"})})]},`${kn(_)}-${D}`)):f.jsx(Rf,{colSpan:8,title:S.trim()?"未找到匹配的装备":"暂无实装",description:S.trim()?"请调整名称或编号后重试。":"装备接入后,将在此显示对应的融合指标。",icon:_u})})]})}),f.jsx("p",{className:"secondary-panel-note",children:"未接入融合指标的装备显示为 —。"})]}),f.jsx("p",{className:"fusion-metrics-footer",children:"可在融合视频展示页查看对应装备的画面与融合指标。"})]})}function Ih({node:s}){const S=s.online===!0?"online":s.online===!1?"offline":"unknown";return f.jsxs("span",{className:`node-state node-state-${S}`,children:[f.jsx("i",{}),S==="online"?"在线":S==="offline"?"离线":"状态未知"]})}function Gr(s){return s.nodeRole==="COORDINATOR"?"主节点":s.nodeRole==="WORKER"?"从节点":"—"}function Qr({nodes:s=[]}){const[S,N]=ll.useState(""),o=ll.useMemo(()=>{const _=S.trim().toLocaleLowerCase();return _?s.filter(D=>`${D.name||""} ${D.nodeId||""}`.toLocaleLowerCase().includes(_)):s},[s,S]);return f.jsxs(Wl,{title:"节点运行状态",className:"node-page",children:[f.jsx("div",{className:"secondary-panel-toolbar",children:f.jsx(Uf,{value:S,onChange:N,placeholder:"搜索节点名称或编号"})}),f.jsx("div",{className:"secondary-table-scroll",children:f.jsxs("table",{className:"secondary-table node-status-table",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{scope:"col",children:"节点名称"}),f.jsx("th",{scope:"col",children:"角色"}),f.jsxs("th",{scope:"col",children:[f.jsx(Er,{size:15,"aria-hidden":"true"}),"CPU 使用率"]}),f.jsx("th",{scope:"col",children:"内存使用情况"}),f.jsxs("th",{scope:"col",children:[f.jsx(mr,{size:15,"aria-hidden":"true"}),"网络接收"]}),f.jsxs("th",{scope:"col",children:[f.jsx(gr,{size:15,"aria-hidden":"true"}),"网络发送"]}),f.jsx("th",{scope:"col",children:"运行状态"})]})}),f.jsx("tbody",{children:o.length?o.map((_,D)=>f.jsxs("tr",{children:[f.jsx("td",{children:f.jsxs("div",{className:"node-identity",children:[f.jsx(Ef,{size:28,"aria-hidden":"true"}),f.jsxs("div",{children:[f.jsx("strong",{children:_.name||_.nodeId||"未命名节点"}),f.jsx("span",{title:_.nodeId||"",children:_.nodeId||"—"})]})]})}),f.jsx("td",{children:Gr(_)}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Oe,{})}),f.jsx("td",{children:f.jsx(Ih,{node:_})})]},_.nodeId||D)):f.jsx(Rf,{colSpan:7,title:S.trim()?"未找到匹配的节点":"暂无已注册节点",description:S.trim()?"请调整名称或编号后重试。":"节点注册后,可在此查看运行状态。",icon:Ef})})]})}),f.jsxs("section",{className:"node-network-panel","aria-label":"节点心跳连接状态",children:[f.jsxs("h3",{children:[f.jsx(r0,{size:18,"aria-hidden":"true"}),"节点心跳连接状态"]}),o.length?f.jsx("div",{className:"node-network-grid",children:o.map((_,D)=>f.jsxs("div",{className:"node-network-item",children:[f.jsx(Ef,{size:25,"aria-hidden":"true"}),f.jsxs("div",{children:[f.jsx("strong",{children:_.name||_.nodeId||"未命名节点"}),f.jsx("span",{children:_.online===!0?"心跳在线":_.online===!1?"心跳中断":"暂无心跳状态"})]}),f.jsx(Ih,{node:_})]},_.nodeId||D))}):f.jsx("p",{className:"node-network-empty",children:"暂无节点连接信息"})]}),f.jsx("p",{className:"secondary-panel-note",children:"资源使用情况与网络速率未上报时显示为 —。"})]})}const _f=[{id:"receive",name:"数据接收",description:"按装备查看接收数据与当前状态",icon:Af},{id:"sync",name:"同步质量监控",description:"按装备查看同步状态与质量指标",icon:_u},{id:"virtual",name:"虚拟数据下发",description:"查看虚拟装备的血量、位置与运行状态",icon:_r},{id:"video",name:"融合视频展示",description:"按实装查看融合视频及当前融合指标",icon:Tf},{id:"metrics",name:"融合指标展示",description:"以装备列表查看各实装的融合指标",icon:Sr},{id:"nodes",name:"主从控制",description:"查看各节点的 CPU、内存和网络运行状态",icon:r0}],Xr={collection:{state:"WAITING",contexts:[]},nodes:[]},Ph=()=>{var s;return((s=_f.find(S=>S.id===location.hash.slice(1)))==null?void 0:s.id)||"receive"};function Lr(){var Ql,Dt;const[s,S]=ll.useState(Ph),[N,o]=ll.useState(Xr),[_,D]=ll.useState(""),[w,K]=ll.useState(""),[p,x]=ll.useState(!1),[X,B]=ll.useState(!0),[ul,Al]=ll.useState(0),[tl,Sl]=ll.useState(!1),[Bl,Ml]=ll.useState(Date.now());ll.useEffect(()=>{const G=()=>{S(Ph()),window.scrollTo(0,0)};return window.addEventListener("hashchange",G),()=>window.removeEventListener("hashchange",G)},[]),ll.useEffect(()=>{const G=setInterval(()=>Ml(Date.now()),1e3);return()=>clearInterval(G)},[]),ll.useEffect(()=>{const G=()=>Sl(!!document.fullscreenElement);return document.addEventListener("fullscreenchange",G),()=>document.removeEventListener("fullscreenchange",G)},[]);const wl=async()=>{try{document.fullscreenElement?await document.exitFullscreen():await document.documentElement.requestFullscreen()}catch{}};ll.useEffect(()=>{let G=!1,Fl,z;const M=async()=>{var nl;z=new AbortController;const q=setTimeout(()=>z.abort(),6e3);try{const fl=await fetch("/console/api/snapshot",{signal:z.signal,credentials:"same-origin",cache:"no-store",headers:{Accept:"application/json"}});if(!fl.ok)throw new Error("snapshot");const y=await fl.json();if(!y||!Array.isArray((nl=y.collection)==null?void 0:nl.contexts)||!Array.isArray(y.nodes))throw new Error("shape");G||(o(y),x(!1))}catch{G||x(!0)}finally{clearTimeout(q),G||(B(!1),Fl=setTimeout(M,2e3))}};return M(),()=>{G=!0,clearTimeout(Fl),z==null||z.abort()}},[ul]);const bl=Dr(N.collection,p),Rl=N.collection.contexts||[],Yl=Rl.find(G=>G.id===_)||Rl[0],xl=ll.useMemo(()=>Or(Yl).map(G=>Ur(G,bl)),[Yl,bl]),J=((Ql=xl.find(G=>G.id===w))==null?void 0:Ql.id)||((Dt=xl[0])==null?void 0:Dt.id)||"",il=_f.find(G=>G.id===s);ll.useEffect(()=>{document.title=`${il.name} · 系统融合软件`},[il.name]);const vt=ll.useCallback(G=>K(G),[]),Ot={equipments:xl,selectedId:J,onSelect:vt},mt=new Intl.DateTimeFormat("zh-CN",{timeZone:"Asia/Shanghai",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).format(new Date(Bl));return f.jsxs("div",{className:"app",children:[f.jsxs("header",{className:"reference-console-header",children:[f.jsx("a",{href:"#receive",className:"reference-console-brand",children:"系统融合软件"}),f.jsx("nav",{className:"reference-console-navigation","aria-label":"功能导航",children:_f.map(G=>f.jsx("a",{href:`#${G.id}`,className:`reference-nav-link ${G.id===il.id?"active":""}`,"aria-current":G.id===il.id?"page":void 0,children:G.name},G.id))}),f.jsxs("div",{className:"reference-console-actions",children:[f.jsx("button",{type:"button","aria-label":tl?"退出全屏":"全屏显示",onClick:wl,children:tl?f.jsx(Tr,{size:21}):f.jsx(d0,{size:21})}),f.jsx(De,{state:p?"ERROR":X?"WAITING":"CONNECTED",label:p?"连接中断":X?"正在连接":"运行监测"})]})]}),f.jsxs("div",{className:"main-shell",children:[f.jsxs("div",{className:"console-meta",children:[f.jsxs("div",{className:"breadcrumb",children:[f.jsx("span",{children:"系统融合软件"}),f.jsx(br,{size:14}),f.jsx("strong",{children:il.name})]}),f.jsxs("div",{className:"service-state",children:[f.jsx(De,{state:p?"ERROR":X?"WAITING":"CONNECTED",label:p?"服务连接中断":X?"正在连接":"服务连接正常"}),f.jsx("time",{children:mt})]})]}),f.jsxs("main",{children:[f.jsxs("div",{className:"page-heading",children:[f.jsxs("div",{children:[f.jsx("h1",{children:il.name}),f.jsx("p",{children:il.description})]}),f.jsxs("div",{className:"heading-actions",children:[Rl.length>0&&f.jsxs("label",{className:"context-select",children:[f.jsx("span",{children:"试验"}),f.jsx("select",{"aria-label":"选择试验上下文",value:(Yl==null?void 0:Yl.id)||"",onChange:G=>{D(G.target.value),K("")},children:Rl.map(G=>f.jsx("option",{value:G.id,children:G.name||G.id},G.id))})]}),f.jsxs("button",{className:"refresh-button",type:"button",onClick:()=>Al(G=>G+1),"aria-label":"刷新数据",title:"刷新数据",children:[f.jsx(pr,{size:17}),f.jsx("span",{children:"刷新"})]})]})]}),(p||bl==="STALE")&&f.jsxs("div",{className:"source-notice",role:"status",children:[f.jsx(zr,{size:17}),p?"服务暂时不可用,当前显示最后一次收到的数据。":"采集数据同步已超时,当前显示最后一次收到的数据。"]}),il.id==="receive"&&f.jsx(Rr,{...Ot}),il.id==="sync"&&f.jsx(Hr,{...Ot}),il.id==="virtual"&&f.jsx(Br,{}),il.id==="video"&&f.jsx(Yr,{...Ot}),il.id==="metrics"&&f.jsx(qr,{equipments:xl}),il.id==="nodes"&&f.jsx(Qr,{nodes:N.nodes||[]})]}),f.jsxs("footer",{className:"app-footer",children:[f.jsx("span",{children:"系统融合软件"}),f.jsx("span",{children:bl==="WAITING"?"等待采集数据接入":bl==="CONNECTED"?"采集数据自动更新":"采集数据同步中断"})]})]})]})}nr.createRoot(document.getElementById("root")).render(f.jsx(Iy.StrictMode,{children:f.jsx(Lr,{})})); diff --git a/src/main/resources/static/console/assets/lj-header-rule.png b/src/main/resources/static/console/assets/lj-header-rule.png new file mode 100644 index 0000000..10f96bc Binary files /dev/null and b/src/main/resources/static/console/assets/lj-header-rule.png differ diff --git a/src/main/resources/static/console/assets/lj-scene-background.png b/src/main/resources/static/console/assets/lj-scene-background.png new file mode 100644 index 0000000..baaa781 Binary files /dev/null and b/src/main/resources/static/console/assets/lj-scene-background.png differ diff --git a/src/main/resources/static/console/index.html b/src/main/resources/static/console/index.html index c4ad3f2..8944d6a 100644 --- a/src/main/resources/static/console/index.html +++ b/src/main/resources/static/console/index.html @@ -6,8 +6,8 @@ 系统融合软件 - - + +