@camstack/addon-model-studio 1.1.304 → 1.1.305

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. package/dist/{MotionZonesSettings-DBGT8Nj8.mjs → MotionZonesSettings-nwsYJ4LM.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-CLQVQM7P.mjs → PrivacyMaskSettings-D44t-3Il.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-Bh49Hy9u.mjs → SceneMonitorEditor-B7GPFInk.mjs} +3 -3
  4. package/dist/_stub.js +650 -650
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-C21hMYtP.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Dm-CsmsB.mjs} +3 -3
  6. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B5mcgboO.mjs +26 -0
  7. package/dist/{hostInit-ZZzTzmNI.mjs → hostInit-BCkvpKIY.mjs} +2 -2
  8. package/dist/model-studio.addon.js +168 -28
  9. package/dist/model-studio.addon.mjs +168 -28
  10. package/dist/{player-overlays-Cyvfs2Sv.mjs → player-overlays-BmekT-lx.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-m4ExMXS1.mjs → responsive-DEe2tyvb.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-BQJaiY--.mjs → scene-monitor-copy-0SI6bJjg.mjs} +1 -1
  14. package/dist/{square-CfhGQSpr.mjs → square-_3D14YQf.mjs} +1 -1
  15. package/dist/{trash-2-a_u-D224.mjs → trash-2-CBnastSw.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D2OpYesY.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BVMDXJrt.mjs} +1 -1
  17. package/package.json +1 -1
  18. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-ClO1ZruD.mjs +0 -26
package/dist/_stub.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./virtualExposes-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D2OpYesY.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BVMDXJrt.mjs";
3
3
  import { S as e, _ as t, a as n, b as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, r as p, t as m, u as h, v as g, y as _ } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
4
4
  import { n as v, r as y, t as b } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
5
5
  import { n as x, r as S, t as C } from "./ui-text-BqZa5BNK.mjs";
6
- import { $ as w, A as T, B as ee, C as te, D as ne, E as re, F as E, G as ie, H as D, I as ae, J as oe, K as se, L as O, M as ce, N as le, O as k, P as ue, Q as de, R as fe, S as A, T as pe, U as me, V as he, W as ge, X as _e, Y as ve, Z as ye, _ as be, a as xe, at as j, c as Se, d as Ce, dt as we, et as Te, f as Ee, ft as De, g as Oe, h as ke, i as Ae, it as je, j as Me, k as Ne, l as Pe, lt as Fe, m as Ie, n as Le, nt as Re, o as ze, ot as M, p as Be, q as Ve, r as He, rt as Ue, s as We, st as N, t as Ge, tt as Ke, u as qe, ut as Je, v as Ye, w as Xe, x as Ze, y as Qe, z as $e } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-ClO1ZruD.mjs";
7
- import { _ as P, a as et, c as tt, f as nt, g as rt, h as it, i as at, l as ot, m as st, o as ct, p as lt, r as ut, s as dt, t as ft, u as pt } from "./responsive-m4ExMXS1.mjs";
8
- import { d as mt, l as ht, u as gt } from "./scene-monitor-copy-BQJaiY--.mjs";
9
- import { i as _t, r as vt } from "./player-overlays-Cyvfs2Sv.mjs";
10
- import { r as yt, t as bt } from "./square-CfhGQSpr.mjs";
11
- import { t as xt } from "./trash-2-a_u-D224.mjs";
6
+ import { $ as w, A as T, B as E, D as ee, E as te, F as ne, G as D, H as re, I as O, J as ie, K as ae, L as oe, M as k, N as se, O as ce, P as le, Q as ue, R as de, S as A, T as fe, U as pe, V as me, W as he, X as ge, Y as _e, Z as ve, _ as ye, a as be, at as xe, b as Se, c as Ce, ct as j, d as we, dt as Te, et as Ee, f as De, ft as Oe, g as ke, h as Ae, i as je, it as Me, j as Ne, k as Pe, l as Fe, lt as M, m as Ie, n as Le, nt as Re, o as ze, ot as Be, p as Ve, q as He, r as Ue, rt as We, s as Ge, st as N, t as Ke, tt as qe, u as Je, v as Ye, w as Xe, x as Ze, y as Qe, z as $e } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B5mcgboO.mjs";
7
+ import { _ as P, a as et, c as tt, f as nt, g as rt, h as it, i as at, l as ot, m as st, o as ct, p as lt, r as ut, s as dt, t as ft, u as pt } from "./responsive-DEe2tyvb.mjs";
8
+ import { d as mt, l as ht, u as gt } from "./scene-monitor-copy-0SI6bJjg.mjs";
9
+ import { i as _t, r as vt } from "./player-overlays-BmekT-lx.mjs";
10
+ import { r as yt, t as bt } from "./square-_3D14YQf.mjs";
11
+ import { t as xt } from "./trash-2-CBnastSw.mjs";
12
12
  import { t as St } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BvzT760A.mjs";
13
13
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_2_dom__loadShare__.js-C8Ar0nzL.mjs";
14
14
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B-9Pn2K0.mjs";
@@ -2462,474 +2462,474 @@ function oi(e, t) {
2462
2462
  };
2463
2463
  }
2464
2464
  var si = {
2465
- [M.Camera]: {
2465
+ [j.Camera]: {
2466
2466
  icon: mt,
2467
2467
  labelKey: "uiLibrary.deviceMeta.type.camera",
2468
2468
  labelFallback: "Camera"
2469
2469
  },
2470
- [M.Hub]: {
2470
+ [j.Hub]: {
2471
2471
  icon: Yn,
2472
2472
  labelKey: "uiLibrary.deviceMeta.type.hub",
2473
2473
  labelFallback: "Hub"
2474
2474
  },
2475
- [M.Light]: {
2475
+ [j.Light]: {
2476
2476
  icon: Mn,
2477
2477
  labelKey: "uiLibrary.deviceMeta.type.light",
2478
2478
  labelFallback: "Light"
2479
2479
  },
2480
- [M.Siren]: {
2480
+ [j.Siren]: {
2481
2481
  icon: gr,
2482
2482
  labelKey: "uiLibrary.deviceMeta.type.siren",
2483
2483
  labelFallback: "Siren"
2484
2484
  },
2485
- [M.Switch]: {
2485
+ [j.Switch]: {
2486
2486
  icon: Ar,
2487
2487
  labelKey: "uiLibrary.deviceMeta.type.switch",
2488
2488
  labelFallback: "Switch"
2489
2489
  },
2490
- [M.Sensor]: {
2490
+ [j.Sensor]: {
2491
2491
  icon: Ct,
2492
2492
  labelKey: "uiLibrary.deviceMeta.type.sensor",
2493
2493
  labelFallback: "Sensor"
2494
2494
  },
2495
- [M.Thermostat]: {
2495
+ [j.Thermostat]: {
2496
2496
  icon: Or,
2497
2497
  labelKey: "uiLibrary.deviceMeta.type.thermostat",
2498
2498
  labelFallback: "Thermostat"
2499
2499
  },
2500
- [M.Climate]: {
2500
+ [j.Climate]: {
2501
2501
  icon: wt,
2502
2502
  labelKey: "uiLibrary.deviceMeta.type.climate",
2503
2503
  labelFallback: "Air conditioner"
2504
2504
  },
2505
- [M.Button]: {
2505
+ [j.Button]: {
2506
2506
  icon: Zt,
2507
2507
  labelKey: "uiLibrary.deviceMeta.type.button",
2508
2508
  labelFallback: "Button"
2509
2509
  },
2510
- [M.EventEmitter]: {
2510
+ [j.EventEmitter]: {
2511
2511
  icon: Zr,
2512
2512
  labelKey: "uiLibrary.deviceMeta.type.eventEmitter",
2513
2513
  labelFallback: "Event Emitter"
2514
2514
  },
2515
- [M.Update]: {
2515
+ [j.Update]: {
2516
2516
  icon: cr,
2517
2517
  labelKey: "uiLibrary.deviceMeta.type.update",
2518
2518
  labelFallback: "Update"
2519
2519
  },
2520
- [M.Generic]: {
2520
+ [j.Generic]: {
2521
2521
  icon: zt,
2522
2522
  labelKey: "uiLibrary.deviceMeta.type.generic",
2523
2523
  labelFallback: "Generic"
2524
2524
  },
2525
- [M.Notifier]: {
2525
+ [j.Notifier]: {
2526
2526
  icon: Nt,
2527
2527
  labelKey: "uiLibrary.deviceMeta.type.notifier",
2528
2528
  labelFallback: "Notifier"
2529
2529
  },
2530
- [M.Script]: {
2530
+ [j.Script]: {
2531
2531
  icon: ur,
2532
2532
  labelKey: "uiLibrary.deviceMeta.type.script",
2533
2533
  labelFallback: "Script"
2534
2534
  },
2535
- [M.Automation]: {
2535
+ [j.Automation]: {
2536
2536
  icon: Yr,
2537
2537
  labelKey: "uiLibrary.deviceMeta.type.automation",
2538
2538
  labelFallback: "Automation"
2539
2539
  },
2540
- [M.Lock]: {
2540
+ [j.Lock]: {
2541
2541
  icon: Ln,
2542
2542
  labelKey: "uiLibrary.deviceMeta.type.lock",
2543
2543
  labelFallback: "Lock"
2544
2544
  },
2545
- [M.Cover]: {
2545
+ [j.Cover]: {
2546
2546
  icon: It,
2547
2547
  labelKey: "uiLibrary.deviceMeta.type.cover",
2548
2548
  labelFallback: "Cover"
2549
2549
  },
2550
- [M.Valve]: {
2550
+ [j.Valve]: {
2551
2551
  icon: tr,
2552
2552
  labelKey: "uiLibrary.deviceMeta.type.valve",
2553
2553
  labelFallback: "Valve"
2554
2554
  },
2555
- [M.Humidifier]: {
2555
+ [j.Humidifier]: {
2556
2556
  icon: Gr,
2557
2557
  labelKey: "uiLibrary.deviceMeta.type.humidifier",
2558
2558
  labelFallback: "Humidifier"
2559
2559
  },
2560
- [M.WaterHeater]: {
2560
+ [j.WaterHeater]: {
2561
2561
  icon: kt,
2562
2562
  labelKey: "uiLibrary.deviceMeta.type.waterHeater",
2563
2563
  labelFallback: "Water heater"
2564
2564
  },
2565
- [M.Fan]: {
2565
+ [j.Fan]: {
2566
2566
  icon: vn,
2567
2567
  labelKey: "uiLibrary.deviceMeta.type.fan",
2568
2568
  labelFallback: "Fan"
2569
2569
  },
2570
- [M.MediaPlayer]: {
2570
+ [j.MediaPlayer]: {
2571
2571
  icon: Hn,
2572
2572
  labelKey: "uiLibrary.deviceMeta.type.mediaPlayer",
2573
2573
  labelFallback: "Media player"
2574
2574
  },
2575
- [M.AlarmPanel]: {
2575
+ [j.AlarmPanel]: {
2576
2576
  icon: fr,
2577
2577
  labelKey: "uiLibrary.deviceMeta.type.alarmPanel",
2578
2578
  labelFallback: "Alarm panel"
2579
2579
  },
2580
- [M.Control]: {
2580
+ [j.Control]: {
2581
2581
  icon: yr,
2582
2582
  labelKey: "uiLibrary.deviceMeta.type.control",
2583
2583
  labelFallback: "Control"
2584
2584
  },
2585
- [M.Presence]: {
2585
+ [j.Presence]: {
2586
2586
  icon: zn,
2587
2587
  labelKey: "uiLibrary.deviceMeta.type.presence",
2588
2588
  labelFallback: "Presence"
2589
2589
  },
2590
- [M.Weather]: {
2590
+ [j.Weather]: {
2591
2591
  icon: an,
2592
2592
  labelKey: "uiLibrary.deviceMeta.type.weather",
2593
2593
  labelFallback: "Weather"
2594
2594
  },
2595
- [M.Vacuum]: {
2595
+ [j.Vacuum]: {
2596
2596
  icon: Rt,
2597
2597
  labelKey: "uiLibrary.deviceMeta.type.vacuum",
2598
2598
  labelFallback: "Vacuum"
2599
2599
  },
2600
- [M.LawnMower]: {
2600
+ [j.LawnMower]: {
2601
2601
  icon: Mr,
2602
2602
  labelKey: "uiLibrary.deviceMeta.type.lawnMower",
2603
2603
  labelFallback: "Lawn mower"
2604
2604
  },
2605
- [M.Container]: {
2605
+ [j.Container]: {
2606
2606
  icon: zt,
2607
2607
  labelKey: "uiLibrary.deviceMeta.type.container",
2608
2608
  labelFallback: "Container"
2609
2609
  },
2610
- [M.Image]: {
2610
+ [j.Image]: {
2611
2611
  icon: On,
2612
2612
  labelKey: "uiLibrary.deviceMeta.type.image",
2613
2613
  labelFallback: "Image"
2614
2614
  },
2615
- [M.PetFeeder]: {
2615
+ [j.PetFeeder]: {
2616
2616
  icon: Lt,
2617
2617
  labelKey: "uiLibrary.deviceMeta.type.petFeeder",
2618
2618
  labelFallback: "Pet feeder"
2619
2619
  },
2620
- [M.Dishwasher]: {
2620
+ [j.Dishwasher]: {
2621
2621
  icon: Gr,
2622
2622
  labelKey: "uiLibrary.deviceMeta.type.dishwasher",
2623
2623
  labelFallback: "Dishwasher"
2624
2624
  },
2625
- [M.Washer]: {
2625
+ [j.Washer]: {
2626
2626
  icon: Wr,
2627
2627
  labelKey: "uiLibrary.deviceMeta.type.washer",
2628
2628
  labelFallback: "Washing machine"
2629
2629
  },
2630
- [M.Dryer]: {
2630
+ [j.Dryer]: {
2631
2631
  icon: Jr,
2632
2632
  labelKey: "uiLibrary.deviceMeta.type.dryer",
2633
2633
  labelFallback: "Dryer"
2634
2634
  }
2635
2635
  }, ci = {
2636
- [j.Siren]: {
2636
+ [N.Siren]: {
2637
2637
  icon: gr,
2638
2638
  labelKey: "uiLibrary.deviceMeta.role.siren",
2639
2639
  labelFallback: "Siren"
2640
2640
  },
2641
- [j.Floodlight]: {
2641
+ [N.Floodlight]: {
2642
2642
  icon: Mn,
2643
2643
  labelKey: "uiLibrary.deviceMeta.role.floodlight",
2644
2644
  labelFallback: "Floodlight"
2645
2645
  },
2646
- [j.Spotlight]: {
2646
+ [N.Spotlight]: {
2647
2647
  icon: xn,
2648
2648
  labelKey: "uiLibrary.deviceMeta.role.spotlight",
2649
2649
  labelFallback: "Spotlight"
2650
2650
  },
2651
- [j.PirSensor]: {
2651
+ [N.PirSensor]: {
2652
2652
  icon: or,
2653
2653
  labelKey: "uiLibrary.deviceMeta.role.pirSensor",
2654
2654
  labelFallback: "PIR sensor"
2655
2655
  },
2656
- [j.Chime]: {
2656
+ [N.Chime]: {
2657
2657
  icon: Nt,
2658
2658
  labelKey: "uiLibrary.deviceMeta.role.chime",
2659
2659
  labelFallback: "Chime"
2660
2660
  },
2661
- [j.Autotrack]: {
2661
+ [N.Autotrack]: {
2662
2662
  icon: un,
2663
2663
  labelKey: "uiLibrary.deviceMeta.role.autotrack",
2664
2664
  labelFallback: "Auto-track"
2665
2665
  },
2666
- [j.Nightvision]: {
2666
+ [N.Nightvision]: {
2667
2667
  icon: Un,
2668
2668
  labelKey: "uiLibrary.deviceMeta.role.nightvision",
2669
2669
  labelFallback: "Night vision"
2670
2670
  },
2671
- [j.PrivacyMask]: {
2671
+ [N.PrivacyMask]: {
2672
2672
  icon: yt,
2673
2673
  labelKey: "uiLibrary.deviceMeta.role.privacyMask",
2674
2674
  labelFallback: "Privacy mask"
2675
2675
  },
2676
- [j.Doorbell]: {
2676
+ [N.Doorbell]: {
2677
2677
  icon: fn,
2678
2678
  labelKey: "uiLibrary.deviceMeta.role.doorbell",
2679
2679
  labelFallback: "Doorbell"
2680
2680
  },
2681
- [j.CoverBlind]: {
2681
+ [N.CoverBlind]: {
2682
2682
  icon: It,
2683
2683
  labelKey: "uiLibrary.deviceMeta.role.coverBlind",
2684
2684
  labelFallback: "Blind"
2685
2685
  },
2686
- [j.CoverShutter]: {
2686
+ [N.CoverShutter]: {
2687
2687
  icon: It,
2688
2688
  labelKey: "uiLibrary.deviceMeta.role.coverShutter",
2689
2689
  labelFallback: "Shutter"
2690
2690
  },
2691
- [j.CoverAwning]: {
2691
+ [N.CoverAwning]: {
2692
2692
  icon: It,
2693
2693
  labelKey: "uiLibrary.deviceMeta.role.coverAwning",
2694
2694
  labelFallback: "Awning"
2695
2695
  },
2696
- [j.CoverCurtain]: {
2696
+ [N.CoverCurtain]: {
2697
2697
  icon: It,
2698
2698
  labelKey: "uiLibrary.deviceMeta.role.coverCurtain",
2699
2699
  labelFallback: "Curtain"
2700
2700
  },
2701
- [j.CoverGarage]: {
2701
+ [N.CoverGarage]: {
2702
2702
  icon: fn,
2703
2703
  labelKey: "uiLibrary.deviceMeta.role.coverGarage",
2704
2704
  labelFallback: "Garage door"
2705
2705
  },
2706
- [j.CoverGate]: {
2706
+ [N.CoverGate]: {
2707
2707
  icon: fn,
2708
2708
  labelKey: "uiLibrary.deviceMeta.role.coverGate",
2709
2709
  labelFallback: "Gate"
2710
2710
  },
2711
- [j.CoverDoor]: {
2711
+ [N.CoverDoor]: {
2712
2712
  icon: pn,
2713
2713
  labelKey: "uiLibrary.deviceMeta.role.coverDoor",
2714
2714
  labelFallback: "Door"
2715
2715
  },
2716
- [j.CoverWindow]: {
2716
+ [N.CoverWindow]: {
2717
2717
  icon: It,
2718
2718
  labelKey: "uiLibrary.deviceMeta.role.coverWindow",
2719
2719
  labelFallback: "Window"
2720
2720
  },
2721
- [j.BinaryHelper]: {
2721
+ [N.BinaryHelper]: {
2722
2722
  icon: Ar,
2723
2723
  labelKey: "uiLibrary.deviceMeta.role.binaryHelper",
2724
2724
  labelFallback: "Binary helper"
2725
2725
  },
2726
- [j.Outlet]: {
2726
+ [N.Outlet]: {
2727
2727
  icon: ir,
2728
2728
  labelKey: "uiLibrary.deviceMeta.role.outlet",
2729
2729
  labelFallback: "Outlet"
2730
2730
  },
2731
- [j.MotionSensor]: {
2731
+ [N.MotionSensor]: {
2732
2732
  icon: Sn,
2733
2733
  labelKey: "uiLibrary.deviceMeta.role.motionSensor",
2734
2734
  labelFallback: "Motion sensor"
2735
2735
  },
2736
- [j.ContactSensor]: {
2736
+ [N.ContactSensor]: {
2737
2737
  icon: pn,
2738
2738
  labelKey: "uiLibrary.deviceMeta.role.contactSensor",
2739
2739
  labelFallback: "Contact sensor"
2740
2740
  },
2741
- [j.LeakSensor]: {
2741
+ [N.LeakSensor]: {
2742
2742
  icon: hn,
2743
2743
  labelKey: "uiLibrary.deviceMeta.role.leakSensor",
2744
2744
  labelFallback: "Leak sensor"
2745
2745
  },
2746
- [j.SmokeSensor]: {
2746
+ [N.SmokeSensor]: {
2747
2747
  icon: Tt,
2748
2748
  labelKey: "uiLibrary.deviceMeta.role.smokeSensor",
2749
2749
  labelFallback: "Smoke sensor"
2750
2750
  },
2751
- [j.COSensor]: {
2751
+ [N.COSensor]: {
2752
2752
  icon: Jr,
2753
2753
  labelKey: "uiLibrary.deviceMeta.role.cOSensor",
2754
2754
  labelFallback: "CO sensor"
2755
2755
  },
2756
- [j.GasSensor]: {
2756
+ [N.GasSensor]: {
2757
2757
  icon: bn,
2758
2758
  labelKey: "uiLibrary.deviceMeta.role.gasSensor",
2759
2759
  labelFallback: "Gas sensor"
2760
2760
  },
2761
- [j.TamperSensor]: {
2761
+ [N.TamperSensor]: {
2762
2762
  icon: fr,
2763
2763
  labelKey: "uiLibrary.deviceMeta.role.tamperSensor",
2764
2764
  labelFallback: "Tamper sensor"
2765
2765
  },
2766
- [j.VibrationSensor]: {
2766
+ [N.VibrationSensor]: {
2767
2767
  icon: Vr,
2768
2768
  labelKey: "uiLibrary.deviceMeta.role.vibrationSensor",
2769
2769
  labelFallback: "Vibration sensor"
2770
2770
  },
2771
- [j.ConnectivitySensor]: {
2771
+ [N.ConnectivitySensor]: {
2772
2772
  icon: qr,
2773
2773
  labelKey: "uiLibrary.deviceMeta.role.connectivitySensor",
2774
2774
  labelFallback: "Connectivity"
2775
2775
  },
2776
- [j.SoundSensor]: {
2776
+ [N.SoundSensor]: {
2777
2777
  icon: Hr,
2778
2778
  labelKey: "uiLibrary.deviceMeta.role.soundSensor",
2779
2779
  labelFallback: "Sound sensor"
2780
2780
  },
2781
- [j.BinarySensor]: {
2781
+ [N.BinarySensor]: {
2782
2782
  icon: Ar,
2783
2783
  labelKey: "uiLibrary.deviceMeta.role.binarySensor",
2784
2784
  labelFallback: "Binary sensor"
2785
2785
  },
2786
- [j.TemperatureSensor]: {
2786
+ [N.TemperatureSensor]: {
2787
2787
  icon: Or,
2788
2788
  labelKey: "uiLibrary.deviceMeta.role.temperatureSensor",
2789
2789
  labelFallback: "Temperature"
2790
2790
  },
2791
- [j.HumiditySensor]: {
2791
+ [N.HumiditySensor]: {
2792
2792
  icon: gn,
2793
2793
  labelKey: "uiLibrary.deviceMeta.role.humiditySensor",
2794
2794
  labelFallback: "Humidity"
2795
2795
  },
2796
- [j.AmbientLightSensor]: {
2796
+ [N.AmbientLightSensor]: {
2797
2797
  icon: Tr,
2798
2798
  labelKey: "uiLibrary.deviceMeta.role.ambientLightSensor",
2799
2799
  labelFallback: "Ambient light"
2800
2800
  },
2801
- [j.PressureSensor]: {
2801
+ [N.PressureSensor]: {
2802
2802
  icon: Cn,
2803
2803
  labelKey: "uiLibrary.deviceMeta.role.pressureSensor",
2804
2804
  labelFallback: "Pressure"
2805
2805
  },
2806
- [j.WindSensor]: {
2806
+ [N.WindSensor]: {
2807
2807
  icon: Jr,
2808
2808
  labelKey: "uiLibrary.deviceMeta.role.windSensor",
2809
2809
  labelFallback: "Wind"
2810
2810
  },
2811
- [j.RainSensor]: {
2811
+ [N.RainSensor]: {
2812
2812
  icon: nn,
2813
2813
  labelKey: "uiLibrary.deviceMeta.role.rainSensor",
2814
2814
  labelFallback: "Rain"
2815
2815
  },
2816
- [j.UvSensor]: {
2816
+ [N.UvSensor]: {
2817
2817
  icon: wr,
2818
2818
  labelKey: "uiLibrary.deviceMeta.role.uvSensor",
2819
2819
  labelFallback: "UV index"
2820
2820
  },
2821
- [j.SolarRadiationSensor]: {
2821
+ [N.SolarRadiationSensor]: {
2822
2822
  icon: Er,
2823
2823
  labelKey: "uiLibrary.deviceMeta.role.solarRadiationSensor",
2824
2824
  labelFallback: "Solar radiation"
2825
2825
  },
2826
- [j.SoilMoistureSensor]: {
2826
+ [N.SoilMoistureSensor]: {
2827
2827
  icon: Cr,
2828
2828
  labelKey: "uiLibrary.deviceMeta.role.soilMoistureSensor",
2829
2829
  labelFallback: "Soil moisture"
2830
2830
  },
2831
- [j.PowerSensor]: {
2831
+ [N.PowerSensor]: {
2832
2832
  icon: Zr,
2833
2833
  labelKey: "uiLibrary.deviceMeta.role.powerSensor",
2834
2834
  labelFallback: "Power"
2835
2835
  },
2836
- [j.EnergySensor]: {
2836
+ [N.EnergySensor]: {
2837
2837
  icon: Zr,
2838
2838
  labelKey: "uiLibrary.deviceMeta.role.energySensor",
2839
2839
  labelFallback: "Energy"
2840
2840
  },
2841
- [j.VoltageSensor]: {
2841
+ [N.VoltageSensor]: {
2842
2842
  icon: Zr,
2843
2843
  labelKey: "uiLibrary.deviceMeta.role.voltageSensor",
2844
2844
  labelFallback: "Voltage"
2845
2845
  },
2846
- [j.CurrentSensor]: {
2846
+ [N.CurrentSensor]: {
2847
2847
  icon: Zr,
2848
2848
  labelKey: "uiLibrary.deviceMeta.role.currentSensor",
2849
2849
  labelFallback: "Current"
2850
2850
  },
2851
- [j.AirQualitySensor]: {
2851
+ [N.AirQualitySensor]: {
2852
2852
  icon: Jr,
2853
2853
  labelKey: "uiLibrary.deviceMeta.role.airQualitySensor",
2854
2854
  labelFallback: "Air quality"
2855
2855
  },
2856
- [j.BatterySensor]: {
2856
+ [N.BatterySensor]: {
2857
2857
  icon: Cn,
2858
2858
  labelKey: "uiLibrary.deviceMeta.role.batterySensor",
2859
2859
  labelFallback: "Battery"
2860
2860
  },
2861
- [j.NumericSensor]: {
2861
+ [N.NumericSensor]: {
2862
2862
  icon: Tn,
2863
2863
  labelKey: "uiLibrary.deviceMeta.role.numericSensor",
2864
2864
  labelFallback: "Numeric sensor"
2865
2865
  },
2866
- [j.EnumSensor]: {
2866
+ [N.EnumSensor]: {
2867
2867
  icon: Pn,
2868
2868
  labelKey: "uiLibrary.deviceMeta.role.enumSensor",
2869
2869
  labelFallback: "Enum sensor"
2870
2870
  },
2871
- [j.DateTimeSensor]: {
2871
+ [N.DateTimeSensor]: {
2872
2872
  icon: $t,
2873
2873
  labelKey: "uiLibrary.deviceMeta.role.dateTimeSensor",
2874
2874
  labelFallback: "Date / time"
2875
2875
  },
2876
- [j.GenericSensor]: {
2876
+ [N.GenericSensor]: {
2877
2877
  icon: Cn,
2878
2878
  labelKey: "uiLibrary.deviceMeta.role.genericSensor",
2879
2879
  labelFallback: "Sensor"
2880
2880
  },
2881
- [j.NumericControl]: {
2881
+ [N.NumericControl]: {
2882
2882
  icon: yr,
2883
2883
  labelKey: "uiLibrary.deviceMeta.role.numericControl",
2884
2884
  labelFallback: "Numeric control"
2885
2885
  },
2886
- [j.SelectControl]: {
2886
+ [N.SelectControl]: {
2887
2887
  icon: Nn,
2888
2888
  labelKey: "uiLibrary.deviceMeta.role.selectControl",
2889
2889
  labelFallback: "Select control"
2890
2890
  },
2891
- [j.TextControl]: {
2891
+ [N.TextControl]: {
2892
2892
  icon: Ir,
2893
2893
  labelKey: "uiLibrary.deviceMeta.role.textControl",
2894
2894
  labelFallback: "Text control"
2895
2895
  },
2896
- [j.DateTimeControl]: {
2896
+ [N.DateTimeControl]: {
2897
2897
  icon: $t,
2898
2898
  labelKey: "uiLibrary.deviceMeta.role.dateTimeControl",
2899
2899
  labelFallback: "Date / time control"
2900
2900
  },
2901
- [j.MobilePushNotifier]: {
2901
+ [N.MobilePushNotifier]: {
2902
2902
  icon: br,
2903
2903
  labelKey: "uiLibrary.deviceMeta.role.mobilePushNotifier",
2904
2904
  labelFallback: "Mobile push"
2905
2905
  },
2906
- [j.MessagingNotifier]: {
2906
+ [N.MessagingNotifier]: {
2907
2907
  icon: Vn,
2908
2908
  labelKey: "uiLibrary.deviceMeta.role.messagingNotifier",
2909
2909
  labelFallback: "Messaging"
2910
2910
  },
2911
- [j.EmailNotifier]: {
2911
+ [N.EmailNotifier]: {
2912
2912
  icon: Rn,
2913
2913
  labelKey: "uiLibrary.deviceMeta.role.emailNotifier",
2914
2914
  labelFallback: "Email"
2915
2915
  },
2916
- [j.GenericNotifier]: {
2916
+ [N.GenericNotifier]: {
2917
2917
  icon: Nt,
2918
2918
  labelKey: "uiLibrary.deviceMeta.role.genericNotifier",
2919
2919
  labelFallback: "Notifier"
2920
2920
  }
2921
- }, li = new Set(Object.values(M));
2922
- new Set(Object.values(j));
2921
+ }, li = new Set(Object.values(j));
2922
+ new Set(Object.values(N));
2923
2923
  function ui(e) {
2924
2924
  return li.has(e);
2925
2925
  }
2926
- var di = si[M.Generic];
2927
- ci[j.GenericSensor];
2926
+ var di = si[j.Generic];
2927
+ ci[N.GenericSensor];
2928
2928
  function fi(e, t = x) {
2929
2929
  return ui(e) ? oi(si[e] ?? di, t) : oi(di, t);
2930
2930
  }
2931
2931
  function pi(e) {
2932
- return Object.values(M).map((t) => {
2932
+ return Object.values(j).map((t) => {
2933
2933
  let n = fi(t, e);
2934
2934
  return {
2935
2935
  id: t,
@@ -3240,13 +3240,13 @@ var gi = (e, t) => {
3240
3240
  "full",
3241
3241
  "auto",
3242
3242
  ...w()
3243
- ], ee = () => [
3243
+ ], E = () => [
3244
3244
  aa,
3245
3245
  "none",
3246
3246
  "subgrid",
3247
3247
  R,
3248
3248
  L
3249
- ], te = () => [
3249
+ ], ee = () => [
3250
3250
  "auto",
3251
3251
  { span: [
3252
3252
  "full",
@@ -3257,19 +3257,19 @@ var gi = (e, t) => {
3257
3257
  aa,
3258
3258
  R,
3259
3259
  L
3260
- ], ne = () => [
3260
+ ], te = () => [
3261
3261
  aa,
3262
3262
  "auto",
3263
3263
  R,
3264
3264
  L
3265
- ], re = () => [
3265
+ ], ne = () => [
3266
3266
  "auto",
3267
3267
  "min",
3268
3268
  "max",
3269
3269
  "fr",
3270
3270
  R,
3271
3271
  L
3272
- ], E = () => [
3272
+ ], D = () => [
3273
3273
  "start",
3274
3274
  "end",
3275
3275
  "center",
@@ -3280,14 +3280,14 @@ var gi = (e, t) => {
3280
3280
  "baseline",
3281
3281
  "center-safe",
3282
3282
  "end-safe"
3283
- ], ie = () => [
3283
+ ], re = () => [
3284
3284
  "start",
3285
3285
  "end",
3286
3286
  "center",
3287
3287
  "stretch",
3288
3288
  "center-safe",
3289
3289
  "end-safe"
3290
- ], D = () => ["auto", ...w()], ae = () => [
3290
+ ], O = () => ["auto", ...w()], ie = () => [
3291
3291
  ia,
3292
3292
  "auto",
3293
3293
  "full",
@@ -3301,7 +3301,7 @@ var gi = (e, t) => {
3301
3301
  "max",
3302
3302
  "fit",
3303
3303
  ...w()
3304
- ], oe = () => [
3304
+ ], ae = () => [
3305
3305
  ia,
3306
3306
  "screen",
3307
3307
  "full",
@@ -3312,7 +3312,7 @@ var gi = (e, t) => {
3312
3312
  "max",
3313
3313
  "fit",
3314
3314
  ...w()
3315
- ], se = () => [
3315
+ ], oe = () => [
3316
3316
  ia,
3317
3317
  "screen",
3318
3318
  "full",
@@ -3324,22 +3324,22 @@ var gi = (e, t) => {
3324
3324
  "max",
3325
3325
  "fit",
3326
3326
  ...w()
3327
- ], O = () => [
3327
+ ], k = () => [
3328
3328
  e,
3329
3329
  R,
3330
3330
  L
3331
- ], ce = () => [
3331
+ ], se = () => [
3332
3332
  ...b(),
3333
3333
  Ta,
3334
3334
  ba,
3335
3335
  { position: [R, L] }
3336
- ], le = () => ["no-repeat", { repeat: [
3336
+ ], ce = () => ["no-repeat", { repeat: [
3337
3337
  "",
3338
3338
  "x",
3339
3339
  "y",
3340
3340
  "space",
3341
3341
  "round"
3342
- ] }], k = () => [
3342
+ ] }], le = () => [
3343
3343
  "auto",
3344
3344
  "cover",
3345
3345
  "contain",
@@ -3357,12 +3357,12 @@ var gi = (e, t) => {
3357
3357
  l,
3358
3358
  R,
3359
3359
  L
3360
- ], fe = () => [
3360
+ ], A = () => [
3361
3361
  "",
3362
3362
  I,
3363
3363
  Ca,
3364
3364
  ga
3365
- ], A = () => [
3365
+ ], fe = () => [
3366
3366
  "solid",
3367
3367
  "dashed",
3368
3368
  "dotted",
@@ -3646,14 +3646,14 @@ var gi = (e, t) => {
3646
3646
  R,
3647
3647
  L
3648
3648
  ] }],
3649
- "grid-cols": [{ "grid-cols": ee() }],
3650
- "col-start-end": [{ col: te() }],
3651
- "col-start": [{ "col-start": ne() }],
3652
- "col-end": [{ "col-end": ne() }],
3653
- "grid-rows": [{ "grid-rows": ee() }],
3654
- "row-start-end": [{ row: te() }],
3655
- "row-start": [{ "row-start": ne() }],
3656
- "row-end": [{ "row-end": ne() }],
3649
+ "grid-cols": [{ "grid-cols": E() }],
3650
+ "col-start-end": [{ col: ee() }],
3651
+ "col-start": [{ "col-start": te() }],
3652
+ "col-end": [{ "col-end": te() }],
3653
+ "grid-rows": [{ "grid-rows": E() }],
3654
+ "row-start-end": [{ row: ee() }],
3655
+ "row-start": [{ "row-start": te() }],
3656
+ "row-end": [{ "row-end": te() }],
3657
3657
  "grid-flow": [{ "grid-flow": [
3658
3658
  "row",
3659
3659
  "col",
@@ -3661,24 +3661,24 @@ var gi = (e, t) => {
3661
3661
  "row-dense",
3662
3662
  "col-dense"
3663
3663
  ] }],
3664
- "auto-cols": [{ "auto-cols": re() }],
3665
- "auto-rows": [{ "auto-rows": re() }],
3664
+ "auto-cols": [{ "auto-cols": ne() }],
3665
+ "auto-rows": [{ "auto-rows": ne() }],
3666
3666
  gap: [{ gap: w() }],
3667
3667
  "gap-x": [{ "gap-x": w() }],
3668
3668
  "gap-y": [{ "gap-y": w() }],
3669
- "justify-content": [{ justify: [...E(), "normal"] }],
3670
- "justify-items": [{ "justify-items": [...ie(), "normal"] }],
3671
- "justify-self": [{ "justify-self": ["auto", ...ie()] }],
3672
- "align-content": [{ content: ["normal", ...E()] }],
3673
- "align-items": [{ items: [...ie(), { baseline: ["", "last"] }] }],
3669
+ "justify-content": [{ justify: [...D(), "normal"] }],
3670
+ "justify-items": [{ "justify-items": [...re(), "normal"] }],
3671
+ "justify-self": [{ "justify-self": ["auto", ...re()] }],
3672
+ "align-content": [{ content: ["normal", ...D()] }],
3673
+ "align-items": [{ items: [...re(), { baseline: ["", "last"] }] }],
3674
3674
  "align-self": [{ self: [
3675
3675
  "auto",
3676
- ...ie(),
3676
+ ...re(),
3677
3677
  { baseline: ["", "last"] }
3678
3678
  ] }],
3679
- "place-content": [{ "place-content": E() }],
3680
- "place-items": [{ "place-items": [...ie(), "baseline"] }],
3681
- "place-self": [{ "place-self": ["auto", ...ie()] }],
3679
+ "place-content": [{ "place-content": D() }],
3680
+ "place-items": [{ "place-items": [...re(), "baseline"] }],
3681
+ "place-self": [{ "place-self": ["auto", ...re()] }],
3682
3682
  p: [{ p: w() }],
3683
3683
  px: [{ px: w() }],
3684
3684
  py: [{ py: w() }],
@@ -3690,38 +3690,38 @@ var gi = (e, t) => {
3690
3690
  pr: [{ pr: w() }],
3691
3691
  pb: [{ pb: w() }],
3692
3692
  pl: [{ pl: w() }],
3693
- m: [{ m: D() }],
3694
- mx: [{ mx: D() }],
3695
- my: [{ my: D() }],
3696
- ms: [{ ms: D() }],
3697
- me: [{ me: D() }],
3698
- mbs: [{ mbs: D() }],
3699
- mbe: [{ mbe: D() }],
3700
- mt: [{ mt: D() }],
3701
- mr: [{ mr: D() }],
3702
- mb: [{ mb: D() }],
3703
- ml: [{ ml: D() }],
3693
+ m: [{ m: O() }],
3694
+ mx: [{ mx: O() }],
3695
+ my: [{ my: O() }],
3696
+ ms: [{ ms: O() }],
3697
+ me: [{ me: O() }],
3698
+ mbs: [{ mbs: O() }],
3699
+ mbe: [{ mbe: O() }],
3700
+ mt: [{ mt: O() }],
3701
+ mr: [{ mr: O() }],
3702
+ mb: [{ mb: O() }],
3703
+ ml: [{ ml: O() }],
3704
3704
  "space-x": [{ "space-x": w() }],
3705
3705
  "space-x-reverse": ["space-x-reverse"],
3706
3706
  "space-y": [{ "space-y": w() }],
3707
3707
  "space-y-reverse": ["space-y-reverse"],
3708
- size: [{ size: ae() }],
3709
- "inline-size": [{ inline: ["auto", ...oe()] }],
3710
- "min-inline-size": [{ "min-inline": ["auto", ...oe()] }],
3711
- "max-inline-size": [{ "max-inline": ["none", ...oe()] }],
3712
- "block-size": [{ block: ["auto", ...se()] }],
3713
- "min-block-size": [{ "min-block": ["auto", ...se()] }],
3714
- "max-block-size": [{ "max-block": ["none", ...se()] }],
3708
+ size: [{ size: ie() }],
3709
+ "inline-size": [{ inline: ["auto", ...ae()] }],
3710
+ "min-inline-size": [{ "min-inline": ["auto", ...ae()] }],
3711
+ "max-inline-size": [{ "max-inline": ["none", ...ae()] }],
3712
+ "block-size": [{ block: ["auto", ...oe()] }],
3713
+ "min-block-size": [{ "min-block": ["auto", ...oe()] }],
3714
+ "max-block-size": [{ "max-block": ["none", ...oe()] }],
3715
3715
  w: [{ w: [
3716
3716
  s,
3717
3717
  "screen",
3718
- ...ae()
3718
+ ...ie()
3719
3719
  ] }],
3720
3720
  "min-w": [{ "min-w": [
3721
3721
  s,
3722
3722
  "screen",
3723
3723
  "none",
3724
- ...ae()
3724
+ ...ie()
3725
3725
  ] }],
3726
3726
  "max-w": [{ "max-w": [
3727
3727
  s,
@@ -3729,23 +3729,23 @@ var gi = (e, t) => {
3729
3729
  "none",
3730
3730
  "prose",
3731
3731
  { screen: [o] },
3732
- ...ae()
3732
+ ...ie()
3733
3733
  ] }],
3734
3734
  h: [{ h: [
3735
3735
  "screen",
3736
3736
  "lh",
3737
- ...ae()
3737
+ ...ie()
3738
3738
  ] }],
3739
3739
  "min-h": [{ "min-h": [
3740
3740
  "screen",
3741
3741
  "lh",
3742
3742
  "none",
3743
- ...ae()
3743
+ ...ie()
3744
3744
  ] }],
3745
3745
  "max-h": [{ "max-h": [
3746
3746
  "screen",
3747
3747
  "lh",
3748
- ...ae()
3748
+ ...ie()
3749
3749
  ] }],
3750
3750
  "font-size": [{ text: [
3751
3751
  "base",
@@ -3818,15 +3818,15 @@ var gi = (e, t) => {
3818
3818
  "start",
3819
3819
  "end"
3820
3820
  ] }],
3821
- "placeholder-color": [{ placeholder: O() }],
3822
- "text-color": [{ text: O() }],
3821
+ "placeholder-color": [{ placeholder: k() }],
3822
+ "text-color": [{ text: k() }],
3823
3823
  "text-decoration": [
3824
3824
  "underline",
3825
3825
  "overline",
3826
3826
  "line-through",
3827
3827
  "no-underline"
3828
3828
  ],
3829
- "text-decoration-style": [{ decoration: [...A(), "wavy"] }],
3829
+ "text-decoration-style": [{ decoration: [...fe(), "wavy"] }],
3830
3830
  "text-decoration-thickness": [{ decoration: [
3831
3831
  I,
3832
3832
  "from-font",
@@ -3834,7 +3834,7 @@ var gi = (e, t) => {
3834
3834
  R,
3835
3835
  ga
3836
3836
  ] }],
3837
- "text-decoration-color": [{ decoration: O() }],
3837
+ "text-decoration-color": [{ decoration: k() }],
3838
3838
  "underline-offset": [{ "underline-offset": [
3839
3839
  I,
3840
3840
  "auto",
@@ -3921,9 +3921,9 @@ var gi = (e, t) => {
3921
3921
  "padding",
3922
3922
  "content"
3923
3923
  ] }],
3924
- "bg-position": [{ bg: ce() }],
3925
- "bg-repeat": [{ bg: le() }],
3926
- "bg-size": [{ bg: k() }],
3924
+ "bg-position": [{ bg: se() }],
3925
+ "bg-repeat": [{ bg: ce() }],
3926
+ "bg-size": [{ bg: le() }],
3927
3927
  "bg-image": [{ bg: [
3928
3928
  "none",
3929
3929
  {
@@ -3956,13 +3956,13 @@ var gi = (e, t) => {
3956
3956
  Da,
3957
3957
  xa
3958
3958
  ] }],
3959
- "bg-color": [{ bg: O() }],
3959
+ "bg-color": [{ bg: k() }],
3960
3960
  "gradient-from-pos": [{ from: ue() }],
3961
3961
  "gradient-via-pos": [{ via: ue() }],
3962
3962
  "gradient-to-pos": [{ to: ue() }],
3963
- "gradient-from": [{ from: O() }],
3964
- "gradient-via": [{ via: O() }],
3965
- "gradient-to": [{ to: O() }],
3963
+ "gradient-from": [{ from: k() }],
3964
+ "gradient-via": [{ via: k() }],
3965
+ "gradient-to": [{ to: k() }],
3966
3966
  rounded: [{ rounded: de() }],
3967
3967
  "rounded-s": [{ "rounded-s": de() }],
3968
3968
  "rounded-e": [{ "rounded-e": de() }],
@@ -3978,45 +3978,45 @@ var gi = (e, t) => {
3978
3978
  "rounded-tr": [{ "rounded-tr": de() }],
3979
3979
  "rounded-br": [{ "rounded-br": de() }],
3980
3980
  "rounded-bl": [{ "rounded-bl": de() }],
3981
- "border-w": [{ border: fe() }],
3982
- "border-w-x": [{ "border-x": fe() }],
3983
- "border-w-y": [{ "border-y": fe() }],
3984
- "border-w-s": [{ "border-s": fe() }],
3985
- "border-w-e": [{ "border-e": fe() }],
3986
- "border-w-bs": [{ "border-bs": fe() }],
3987
- "border-w-be": [{ "border-be": fe() }],
3988
- "border-w-t": [{ "border-t": fe() }],
3989
- "border-w-r": [{ "border-r": fe() }],
3990
- "border-w-b": [{ "border-b": fe() }],
3991
- "border-w-l": [{ "border-l": fe() }],
3992
- "divide-x": [{ "divide-x": fe() }],
3981
+ "border-w": [{ border: A() }],
3982
+ "border-w-x": [{ "border-x": A() }],
3983
+ "border-w-y": [{ "border-y": A() }],
3984
+ "border-w-s": [{ "border-s": A() }],
3985
+ "border-w-e": [{ "border-e": A() }],
3986
+ "border-w-bs": [{ "border-bs": A() }],
3987
+ "border-w-be": [{ "border-be": A() }],
3988
+ "border-w-t": [{ "border-t": A() }],
3989
+ "border-w-r": [{ "border-r": A() }],
3990
+ "border-w-b": [{ "border-b": A() }],
3991
+ "border-w-l": [{ "border-l": A() }],
3992
+ "divide-x": [{ "divide-x": A() }],
3993
3993
  "divide-x-reverse": ["divide-x-reverse"],
3994
- "divide-y": [{ "divide-y": fe() }],
3994
+ "divide-y": [{ "divide-y": A() }],
3995
3995
  "divide-y-reverse": ["divide-y-reverse"],
3996
3996
  "border-style": [{ border: [
3997
- ...A(),
3997
+ ...fe(),
3998
3998
  "hidden",
3999
3999
  "none"
4000
4000
  ] }],
4001
4001
  "divide-style": [{ divide: [
4002
- ...A(),
4002
+ ...fe(),
4003
4003
  "hidden",
4004
4004
  "none"
4005
4005
  ] }],
4006
- "border-color": [{ border: O() }],
4007
- "border-color-x": [{ "border-x": O() }],
4008
- "border-color-y": [{ "border-y": O() }],
4009
- "border-color-s": [{ "border-s": O() }],
4010
- "border-color-e": [{ "border-e": O() }],
4011
- "border-color-bs": [{ "border-bs": O() }],
4012
- "border-color-be": [{ "border-be": O() }],
4013
- "border-color-t": [{ "border-t": O() }],
4014
- "border-color-r": [{ "border-r": O() }],
4015
- "border-color-b": [{ "border-b": O() }],
4016
- "border-color-l": [{ "border-l": O() }],
4017
- "divide-color": [{ divide: O() }],
4006
+ "border-color": [{ border: k() }],
4007
+ "border-color-x": [{ "border-x": k() }],
4008
+ "border-color-y": [{ "border-y": k() }],
4009
+ "border-color-s": [{ "border-s": k() }],
4010
+ "border-color-e": [{ "border-e": k() }],
4011
+ "border-color-bs": [{ "border-bs": k() }],
4012
+ "border-color-be": [{ "border-be": k() }],
4013
+ "border-color-t": [{ "border-t": k() }],
4014
+ "border-color-r": [{ "border-r": k() }],
4015
+ "border-color-b": [{ "border-b": k() }],
4016
+ "border-color-l": [{ "border-l": k() }],
4017
+ "divide-color": [{ divide: k() }],
4018
4018
  "outline-style": [{ outline: [
4019
- ...A(),
4019
+ ...fe(),
4020
4020
  "none",
4021
4021
  "hidden"
4022
4022
  ] }],
@@ -4031,7 +4031,7 @@ var gi = (e, t) => {
4031
4031
  Ca,
4032
4032
  ga
4033
4033
  ] }],
4034
- "outline-color": [{ outline: O() }],
4034
+ "outline-color": [{ outline: k() }],
4035
4035
  shadow: [{ shadow: [
4036
4036
  "",
4037
4037
  "none",
@@ -4039,28 +4039,28 @@ var gi = (e, t) => {
4039
4039
  Oa,
4040
4040
  Sa
4041
4041
  ] }],
4042
- "shadow-color": [{ shadow: O() }],
4042
+ "shadow-color": [{ shadow: k() }],
4043
4043
  "inset-shadow": [{ "inset-shadow": [
4044
4044
  "none",
4045
4045
  d,
4046
4046
  Oa,
4047
4047
  Sa
4048
4048
  ] }],
4049
- "inset-shadow-color": [{ "inset-shadow": O() }],
4050
- "ring-w": [{ ring: fe() }],
4049
+ "inset-shadow-color": [{ "inset-shadow": k() }],
4050
+ "ring-w": [{ ring: A() }],
4051
4051
  "ring-w-inset": ["ring-inset"],
4052
- "ring-color": [{ ring: O() }],
4052
+ "ring-color": [{ ring: k() }],
4053
4053
  "ring-offset-w": [{ "ring-offset": [I, ga] }],
4054
- "ring-offset-color": [{ "ring-offset": O() }],
4055
- "inset-ring-w": [{ "inset-ring": fe() }],
4056
- "inset-ring-color": [{ "inset-ring": O() }],
4054
+ "ring-offset-color": [{ "ring-offset": k() }],
4055
+ "inset-ring-w": [{ "inset-ring": A() }],
4056
+ "inset-ring-color": [{ "inset-ring": k() }],
4057
4057
  "text-shadow": [{ "text-shadow": [
4058
4058
  "none",
4059
4059
  f,
4060
4060
  Oa,
4061
4061
  Sa
4062
4062
  ] }],
4063
- "text-shadow-color": [{ "text-shadow": O() }],
4063
+ "text-shadow-color": [{ "text-shadow": k() }],
4064
4064
  opacity: [{ opacity: [
4065
4065
  I,
4066
4066
  R,
@@ -4089,37 +4089,37 @@ var gi = (e, t) => {
4089
4089
  "mask-image-linear-pos": [{ "mask-linear": [I] }],
4090
4090
  "mask-image-linear-from-pos": [{ "mask-linear-from": me() }],
4091
4091
  "mask-image-linear-to-pos": [{ "mask-linear-to": me() }],
4092
- "mask-image-linear-from-color": [{ "mask-linear-from": O() }],
4093
- "mask-image-linear-to-color": [{ "mask-linear-to": O() }],
4092
+ "mask-image-linear-from-color": [{ "mask-linear-from": k() }],
4093
+ "mask-image-linear-to-color": [{ "mask-linear-to": k() }],
4094
4094
  "mask-image-t-from-pos": [{ "mask-t-from": me() }],
4095
4095
  "mask-image-t-to-pos": [{ "mask-t-to": me() }],
4096
- "mask-image-t-from-color": [{ "mask-t-from": O() }],
4097
- "mask-image-t-to-color": [{ "mask-t-to": O() }],
4096
+ "mask-image-t-from-color": [{ "mask-t-from": k() }],
4097
+ "mask-image-t-to-color": [{ "mask-t-to": k() }],
4098
4098
  "mask-image-r-from-pos": [{ "mask-r-from": me() }],
4099
4099
  "mask-image-r-to-pos": [{ "mask-r-to": me() }],
4100
- "mask-image-r-from-color": [{ "mask-r-from": O() }],
4101
- "mask-image-r-to-color": [{ "mask-r-to": O() }],
4100
+ "mask-image-r-from-color": [{ "mask-r-from": k() }],
4101
+ "mask-image-r-to-color": [{ "mask-r-to": k() }],
4102
4102
  "mask-image-b-from-pos": [{ "mask-b-from": me() }],
4103
4103
  "mask-image-b-to-pos": [{ "mask-b-to": me() }],
4104
- "mask-image-b-from-color": [{ "mask-b-from": O() }],
4105
- "mask-image-b-to-color": [{ "mask-b-to": O() }],
4104
+ "mask-image-b-from-color": [{ "mask-b-from": k() }],
4105
+ "mask-image-b-to-color": [{ "mask-b-to": k() }],
4106
4106
  "mask-image-l-from-pos": [{ "mask-l-from": me() }],
4107
4107
  "mask-image-l-to-pos": [{ "mask-l-to": me() }],
4108
- "mask-image-l-from-color": [{ "mask-l-from": O() }],
4109
- "mask-image-l-to-color": [{ "mask-l-to": O() }],
4108
+ "mask-image-l-from-color": [{ "mask-l-from": k() }],
4109
+ "mask-image-l-to-color": [{ "mask-l-to": k() }],
4110
4110
  "mask-image-x-from-pos": [{ "mask-x-from": me() }],
4111
4111
  "mask-image-x-to-pos": [{ "mask-x-to": me() }],
4112
- "mask-image-x-from-color": [{ "mask-x-from": O() }],
4113
- "mask-image-x-to-color": [{ "mask-x-to": O() }],
4112
+ "mask-image-x-from-color": [{ "mask-x-from": k() }],
4113
+ "mask-image-x-to-color": [{ "mask-x-to": k() }],
4114
4114
  "mask-image-y-from-pos": [{ "mask-y-from": me() }],
4115
4115
  "mask-image-y-to-pos": [{ "mask-y-to": me() }],
4116
- "mask-image-y-from-color": [{ "mask-y-from": O() }],
4117
- "mask-image-y-to-color": [{ "mask-y-to": O() }],
4116
+ "mask-image-y-from-color": [{ "mask-y-from": k() }],
4117
+ "mask-image-y-to-color": [{ "mask-y-to": k() }],
4118
4118
  "mask-image-radial": [{ "mask-radial": [R, L] }],
4119
4119
  "mask-image-radial-from-pos": [{ "mask-radial-from": me() }],
4120
4120
  "mask-image-radial-to-pos": [{ "mask-radial-to": me() }],
4121
- "mask-image-radial-from-color": [{ "mask-radial-from": O() }],
4122
- "mask-image-radial-to-color": [{ "mask-radial-to": O() }],
4121
+ "mask-image-radial-from-color": [{ "mask-radial-from": k() }],
4122
+ "mask-image-radial-to-color": [{ "mask-radial-to": k() }],
4123
4123
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
4124
4124
  "mask-image-radial-size": [{ "mask-radial": [{
4125
4125
  closest: ["side", "corner"],
@@ -4129,8 +4129,8 @@ var gi = (e, t) => {
4129
4129
  "mask-image-conic-pos": [{ "mask-conic": [I] }],
4130
4130
  "mask-image-conic-from-pos": [{ "mask-conic-from": me() }],
4131
4131
  "mask-image-conic-to-pos": [{ "mask-conic-to": me() }],
4132
- "mask-image-conic-from-color": [{ "mask-conic-from": O() }],
4133
- "mask-image-conic-to-color": [{ "mask-conic-to": O() }],
4132
+ "mask-image-conic-from-color": [{ "mask-conic-from": k() }],
4133
+ "mask-image-conic-to-color": [{ "mask-conic-to": k() }],
4134
4134
  "mask-mode": [{ mask: [
4135
4135
  "alpha",
4136
4136
  "luminance",
@@ -4144,9 +4144,9 @@ var gi = (e, t) => {
4144
4144
  "stroke",
4145
4145
  "view"
4146
4146
  ] }],
4147
- "mask-position": [{ mask: ce() }],
4148
- "mask-repeat": [{ mask: le() }],
4149
- "mask-size": [{ mask: k() }],
4147
+ "mask-position": [{ mask: se() }],
4148
+ "mask-repeat": [{ mask: ce() }],
4149
+ "mask-size": [{ mask: le() }],
4150
4150
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
4151
4151
  "mask-image": [{ mask: [
4152
4152
  "none",
@@ -4177,7 +4177,7 @@ var gi = (e, t) => {
4177
4177
  Oa,
4178
4178
  Sa
4179
4179
  ] }],
4180
- "drop-shadow-color": [{ "drop-shadow": O() }],
4180
+ "drop-shadow-color": [{ "drop-shadow": k() }],
4181
4181
  grayscale: [{ grayscale: [
4182
4182
  "",
4183
4183
  I,
@@ -4337,9 +4337,9 @@ var gi = (e, t) => {
4337
4337
  R,
4338
4338
  L
4339
4339
  ] }],
4340
- accent: [{ accent: O() }],
4340
+ accent: [{ accent: k() }],
4341
4341
  appearance: [{ appearance: ["none", "auto"] }],
4342
- "caret-color": [{ caret: O() }],
4342
+ "caret-color": [{ caret: k() }],
4343
4343
  "color-scheme": [{ scheme: [
4344
4344
  "normal",
4345
4345
  "dark",
@@ -4397,8 +4397,8 @@ var gi = (e, t) => {
4397
4397
  "x"
4398
4398
  ] }],
4399
4399
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
4400
- "scrollbar-thumb-color": [{ "scrollbar-thumb": O() }],
4401
- "scrollbar-track-color": [{ "scrollbar-track": O() }],
4400
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": k() }],
4401
+ "scrollbar-track-color": [{ "scrollbar-track": k() }],
4402
4402
  "scrollbar-gutter": [{ "scrollbar-gutter": [
4403
4403
  "auto",
4404
4404
  "stable",
@@ -4475,14 +4475,14 @@ var gi = (e, t) => {
4475
4475
  R,
4476
4476
  L
4477
4477
  ] }],
4478
- fill: [{ fill: ["none", ...O()] }],
4478
+ fill: [{ fill: ["none", ...k()] }],
4479
4479
  "stroke-w": [{ stroke: [
4480
4480
  I,
4481
4481
  Ca,
4482
4482
  ga,
4483
4483
  _a
4484
4484
  ] }],
4485
- stroke: [{ stroke: ["none", ...O()] }],
4485
+ stroke: [{ stroke: ["none", ...k()] }],
4486
4486
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
4487
4487
  },
4488
4488
  conflictingClassGroups: {
@@ -4888,7 +4888,7 @@ F.deviceManager.setRoleDisplayDefaults.useMutation, F.deviceManager.getWireableF
4888
4888
  var ro = F.deviceManager.getDevice.useQuery;
4889
4889
  F.deviceManager.getChildren.useQuery, F.deviceManager.getChildrenBatch.useQuery, F.deviceManager.getLinkedDevices.useQuery, F.deviceManager.getLinkedDevicesBatch.useQuery, F.deviceManager.getStreamSources.useQuery, F.deviceManager.getConfigSchema.useQuery, F.deviceManager.getSettingsSchema.useQuery, F.deviceManager.updateConfig.useMutation, F.deviceManager.enable.useMutation, F.deviceManager.disable.useMutation, F.deviceManager.remove.useMutation, F.deviceManager.listDeletedSince.useQuery, F.deviceManager.cleanupDeletedDevicesData.useMutation, F.deviceManager.removeByIntegration.useMutation, F.deviceManager.getStreamProfileMap.useQuery, F.deviceManager.setStreamProfileMap.useMutation, F.deviceManager.probeStreams.useMutation, F.deviceManager.getBindings.useQuery, F.deviceManager.getBindingsBatch.useQuery, F.deviceManager.getAllBindings.useQuery, F.deviceManager.listDeviceIdsByCaps.useQuery, F.deviceManager.setWrapperActive.useMutation, F.deviceManager.getWrapperActivation.useQuery, F.deviceManager.listWrappersForCap.useQuery, F.deviceManager.listBindableCapsForDeviceType.useQuery, F.deviceManager.getDeviceSettingsAggregate.useQuery, F.deviceManager.getDeviceLiveInfoAggregate.useQuery, F.deviceManager.getDeviceAggregate.useQuery, F.deviceManager.runDeviceAction.useMutation, F.deviceManager.updateDeviceField.useMutation, F.deviceManager.updateDeviceFieldsBatch.useMutation, F.deviceManager.discoverDevices.useMutation, F.deviceManager.adoptDevice.useMutation, F.deviceManager.getCreationSchema.useQuery, F.deviceManager.createDevice.useMutation, F.deviceManager.testCreationField.useMutation, F.deviceManager.adoptionListCandidateFilters.useQuery, F.deviceManager.adoptionListCandidates.useQuery, F.deviceManager.adoptionRefresh.useMutation, F.deviceManager.adoptionAdopt.useMutation, F.deviceManager.adoptionRelease.useMutation, F.deviceManager.adoptionStartJob.useMutation, F.deviceManager.adoptionListJobs.useQuery, F.deviceManager.adoptionCancelJob.useMutation, F.deviceManager.adoptionResync.useMutation, F.deviceManager.discoveryProviders.useQuery, F.deviceManager.discoverAllProviders.useMutation, F.deviceManager.discoverProvider.useMutation, F.deviceManager.providerCreationType.useQuery, F.deviceManager.providerDiscoveryParamsSchema.useQuery, F.deviceManager.testField.useMutation, F.deviceManager.getDeviceStatusAggregate.useQuery, F.deviceManager.getDeviceStatusAggregateBatch.useQuery, F.deviceOps.getStreamSources.useQuery, F.deviceOps.getConfigEntries.useQuery, F.deviceOps.setConfig.useMutation, F.deviceOps.runAction.useMutation, F.deviceOps.removeDevice.useMutation, F.deviceOps.getSettingsSchema.useQuery, F.deviceOps.getRawState.useQuery, F.deviceProvider.start.useMutation, F.deviceProvider.stop.useMutation, F.deviceProvider.getStatus.useQuery, F.deviceProvider.getDevices.useQuery, F.deviceProvider.reloadDevice.useMutation, F.deviceProvider.supportsDiscovery.useQuery, F.deviceProvider.discoverDevices.useMutation, F.deviceProvider.getDiscoveryParamsSchema.useQuery, F.deviceProvider.getManualCreationType.useQuery, F.deviceProvider.adoptDiscoveredDevice.useMutation, F.deviceProvider.supportsManualCreation.useQuery, F.deviceProvider.getChildCreationSchema.useQuery, F.deviceProvider.createDevice.useMutation, F.deviceProvider.testCreationField.useMutation;
4890
4890
  var io = F.deviceState.getSnapshot.useQuery;
4891
- F.deviceState.getCapSlice.useQuery, F.deviceState.getAllSnapshots.useQuery, F.deviceState.setCapSlice.useMutation, F.deviceState.claimFields.useMutation, F.deviceState.patchOwnedFields.useMutation, F.deviceState.releaseClaim.useMutation, F.deviceState.listClaims.useQuery, F.deviceState.getNativeCapSlice.useQuery, F.deviceStatus.getStatus.useQuery, F.dishwasher.start.useMutation, F.dishwasher.pause.useMutation, F.dishwasher.resume.useMutation, F.dishwasher.stop.useMutation, F.dishwasher.setProgram.useMutation, F.dishwasher.setPower.useMutation, F.dishwasher.setHalfLoad.useMutation, F.dishwasher.setHygienePlus.useMutation, F.dishwasher.setExtraDry.useMutation, F.dishwasher.setIntensiveZone.useMutation, F.dishwasher.setVarioSpeedPlus.useMutation, F.dishwasher.setChildLock.useMutation, F.dishwasher.setOption.useMutation, F.dishwasher.getOptions.useQuery, F.dishwasher.getStatus.useQuery, F.displayPalette.getPalette.useQuery, F.displayPalette.listPresets.useQuery, F.displayPalette.setPalette.useMutation, F.doorbell.getStatus.useQuery, F.enumSensor.getStatus.useQuery, F.eventEmitter.getStatus.useQuery, F.faceGallery.listIdentities.useQuery, F.faceGallery.createIdentity.useMutation, F.faceGallery.renameIdentity.useMutation, F.faceGallery.deleteIdentity.useMutation, F.faceGallery.listIdentitySamples.useQuery, F.faceGallery.auditIdentitySamples.useQuery, F.faceGallery.removeSample.useMutation, F.faceGallery.listRecentFaces.useQuery, F.faceGallery.getFaceByTrack.useQuery, F.faceGallery.getFaceMedia.useQuery, F.faceGallery.assignFace.useMutation, F.faceGallery.unassignFace.useMutation, F.faceGallery.deleteFace.useMutation, F.faceGallery.assignFaces.useMutation, F.faceGallery.unassignFaces.useMutation, F.faceGallery.suggestFaceClusters.useQuery, F.fanControl.setPercentage.useMutation, F.fanControl.setPreset.useMutation, F.fanControl.setDirection.useMutation, F.fanControl.setOscillating.useMutation, F.fanControl.getStatus.useQuery, F.featureProbe.getStatus.useQuery, F.flood.getStatus.useQuery, F.gas.getStatus.useQuery, F.groupCommands.getStatus.useQuery, F.groupStatus.getStatus.useQuery, F.heatingValve.getStatus.useQuery, F.humidifier.setOn.useMutation, F.humidifier.setTargetHumidity.useMutation, F.humidifier.setMode.useMutation, F.humidifier.getStatus.useQuery, F.humiditySensor.getStatus.useQuery, F.image.getStatus.useQuery, F.imageSettings.getOptions.useQuery, F.imageSettings.setSettings.useMutation, F.imageSettings.getStatus.useQuery, F.integrations.list.useQuery, F.integrations.get.useQuery, F.integrations.getByAddonId.useQuery, F.integrations.create.useMutation, F.integrations.update.useMutation, F.integrations.delete.useMutation, F.integrations.getSettings.useQuery, F.integrations.setSettings.useMutation, F.integrations.getAvailableTypes.useQuery, F.integrations.testConnection.useMutation, F.intercom.startSession.useMutation, F.intercom.handleAnswer.useMutation, F.intercom.stopSession.useMutation, F.intercom.startTalkSession.useMutation, F.intercom.pushTalkAudio.useMutation, F.intercom.endTalkSession.useMutation, F.intercom.getStatus.useQuery, F.keychainAdmin.status.useQuery, F.keychainAdmin.listSecrets.useQuery, F.keychainAdmin.listAudit.useQuery, F.keychainAdmin.reveal.useMutation, F.keychainAdmin.setSystemSecret.useMutation, F.keychainAdmin.importSecret.useMutation, F.keychainAdmin.deleteOrphans.useMutation, F.keychainAdmin.rotateMasterKey.useMutation, F.keychainAdmin.purgeRetiredKeys.useMutation, F.keychainAdmin.downloadRecoveryKey.useMutation, F.keychainAdmin.resetKeychain.useMutation, F.keychainAdmin.resetReport.useQuery, F.keychainAdmin.acknowledgeReset.useMutation, F.lawnMowerControl.startMowing.useMutation, F.lawnMowerControl.pause.useMutation, F.lawnMowerControl.dock.useMutation, F.lawnMowerControl.getStatus.useQuery, F.llm.generate.useMutation, F.llm.generateVision.useMutation, F.llm.cancel.useMutation, F.llm.listProfileKinds.useQuery, F.llm.listProfiles.useQuery, F.llm.upsertProfile.useMutation, F.llm.migrateRawSecrets.useMutation, F.llm.deleteProfile.useMutation, F.llm.testProfile.useMutation, F.llm.listModels.useMutation, F.llm.getDefaults.useQuery, F.llm.setDefault.useMutation, F.llm.getUsage.useQuery, F.llm.listModelCatalog.useQuery, F.llm.listRuntimeNodes.useQuery, F.llm.listNodeModels.useQuery, F.llm.resolveModelRef.useMutation, F.llm.installModel.useMutation, F.llm.deleteModel.useMutation, F.llm.getRuntimeStatus.useQuery, F.llm.startRuntime.useMutation, F.llm.stopRuntime.useMutation, F.localNetwork.list.useQuery, F.localNetwork.getPreferred.useQuery, F.localNetwork.getConnectionEndpoints.useQuery, F.localNetwork.getNotificationEndpoint.useQuery, F.localNetwork.setNotificationEndpoint.useMutation, F.localNetwork.getViewerEndpoints.useQuery, F.localNetwork.setViewerEndpoints.useMutation, F.localNetwork.getAddresses.useQuery, F.localNetwork.addCustomAddress.useMutation, F.localNetwork.removeCustomAddress.useMutation, F.localNetwork.setAddressRole.useMutation, F.localNetwork.getHubAddresses.useQuery, F.localNetwork.getAllowedAddresses.useQuery, F.localNetwork.setAllowedAddresses.useMutation, F.localNetwork.resetAllowlistToBestMatch.useMutation, F.localNetwork.getTlsStatus.useQuery, F.localNetwork.regenerateCertificate.useMutation, F.localNetwork.uploadCertificate.useMutation, F.localNetwork.downloadCa.useQuery, F.localNetwork.useStoredUploadedCertificate.useMutation, F.localNetwork.revertToGeneratedCertificate.useMutation, F.lockControl.lock.useMutation, F.lockControl.unlock.useMutation, F.lockControl.open.useMutation, F.lockControl.getStatus.useQuery, F.mediaPlayer.play.useMutation, F.mediaPlayer.pause.useMutation, F.mediaPlayer.stop.useMutation, F.mediaPlayer.next.useMutation, F.mediaPlayer.previous.useMutation, F.mediaPlayer.seek.useMutation, F.mediaPlayer.setVolume.useMutation, F.mediaPlayer.setMute.useMutation, F.mediaPlayer.setShuffle.useMutation, F.mediaPlayer.setRepeat.useMutation, F.mediaPlayer.selectSource.useMutation, F.mediaPlayer.playMedia.useMutation, F.mediaPlayer.getStatus.useQuery, F.meshNetwork.getStatus.useQuery, F.meshNetwork.join.useMutation, F.meshNetwork.startLogin.useMutation, F.meshNetwork.leave.useMutation, F.meshNetwork.logout.useMutation, F.meshNetwork.listPeers.useQuery, F.meshNetwork.testConnection.useMutation, F.metricsProvider.collectSnapshot.useQuery, F.metricsProvider.getCached.useQuery, F.metricsProvider.getCurrent.useQuery, F.metricsProvider.getDiskSpace.useQuery, F.metricsProvider.getGpuInfo.useQuery, F.metricsProvider.getCpuTemperature.useQuery, F.metricsProvider.getProcessStats.useQuery, F.metricsProvider.listAddonInstances.useQuery, F.metricsProvider.getAddonStats.useQuery, F.metricsProvider.listNodeProcesses.useQuery, F.metricsProvider.getLoadSeries.useQuery, F.motion.isDetected.useQuery, F.motion.getStatus.useQuery, F.motionDetection.analyze.useMutation, F.motionDetection.removeCamera.useMutation, F.motionDetection.reset.useMutation, F.motionDetection.getDeviceSettingsContribution.useQuery, F.motionDetection.getDeviceLiveContribution.useQuery, F.motionDetection.applyDeviceSettingsPatch.useMutation, F.motionTrigger.setMotionTrigger.useMutation, F.motionTrigger.getStatus.useQuery, F.motionZones.getOptions.useQuery, F.motionZones.setZone.useMutation, F.motionZones.getStatus.useQuery, F.mqttBroker.listBrokers.useQuery, F.mqttBroker.getBrokerConfig.useQuery, F.mqttBroker.addBroker.useMutation, F.mqttBroker.removeBroker.useMutation, F.mqttBroker.testConnection.useMutation, F.mqttBroker.startEmbeddedBroker.useMutation, F.mqttBroker.stopEmbeddedBroker.useMutation, F.mqttBroker.getStatus.useQuery, F.nativeObjectDetection.getOptions.useQuery, F.nativeObjectDetection.setSettings.useMutation, F.nativeObjectDetection.setEnabled.useMutation, F.nativeObjectDetection.getStatus.useQuery, F.navigation.move.useMutation, F.navigation.stop.useMutation, F.navigation.goToPoint.useMutation, F.navigation.listActions.useQuery, F.navigation.runAction.useMutation, F.navigation.playSound.useMutation, F.navigation.setLightOn.useMutation, F.navigation.setLightMode.useMutation, F.navigation.setLightLevel.useMutation, F.navigation.getFeatures.useQuery, F.navigation.getStatus.useQuery, F.networkAccess.start.useMutation, F.networkAccess.stop.useMutation, F.networkAccess.getEndpoint.useQuery, F.networkAccess.getStatus.useQuery, F.networkAccess.listEndpoints.useQuery, F.networkLink.getStatus.useQuery, F.networkQuality.getDeviceStats.useQuery, F.networkQuality.getAllStats.useQuery, F.networkQuality.reportClientStats.useMutation, F.nodes.topology.useQuery, F.nodes.directory.useQuery, F.nodes.deployAddon.useMutation, F.nodes.undeployAddon.useMutation, F.nodes.restartAddon.useMutation, F.nodes.restartProcess.useMutation, F.nodes.restartNode.useMutation, F.nodes.shutdownNode.useMutation, F.nodes.renameNode.useMutation, F.nodes.clusterAddonStatus.useQuery, F.nodes.getCapUsageGraph.useQuery, F.nodes.getNodeAddons.useQuery, F.nodes.setProcessLogLevel.useMutation, F.nodes.executeQuery.useMutation, F.notificationOutput.listTargetKinds.useQuery, F.notificationOutput.listTargets.useQuery, F.notificationOutput.getTarget.useQuery, F.notificationOutput.discoverTargets.useQuery, F.notificationOutput.probeTargetConfig.useMutation, F.notificationOutput.send.useMutation, F.notificationOutput.testTarget.useMutation, F.notificationOutput.upsertTarget.useMutation, F.notificationOutput.deleteTarget.useMutation, F.notificationOutput.setTargetEnabled.useMutation, F.notificationRules.listRules.useQuery, F.notificationRules.getRule.useQuery, F.notificationRules.createRule.useMutation, F.notificationRules.updateRule.useMutation, F.notificationRules.deleteRule.useMutation, F.notificationRules.setRuleEnabled.useMutation, F.notificationRules.listSequences.useQuery, F.notificationRules.getSequence.useQuery, F.notificationRules.createSequence.useMutation, F.notificationRules.updateSequence.useMutation, F.notificationRules.deleteSequence.useMutation, F.notificationRules.getClipRetentionAsks.useQuery, F.notificationRules.listDeviceMutes.useQuery, F.notificationRules.setDeviceMuted.useMutation, F.notificationRules.testRule.useMutation, F.notificationRules.previewStateSummary.useMutation, F.notificationRules.getConditionCatalog.useQuery, F.notificationRules.getTemplateCatalog.useQuery, F.notificationRules.previewTemplate.useMutation, F.notificationRules.getHistory.useQuery, F.notificationRules.getRuleLastRuns.useQuery, F.notificationRules.resolveArtifactUrl.useQuery, F.notificationRules.listSnoozes.useQuery, F.notificationRules.createSnooze.useMutation, F.notificationRules.cancelSnooze.useMutation, F.notificationRules.getAlarmConfig.useQuery, F.notificationRules.setAlarmConfig.useMutation, F.notificationRules.createAlarmProfile.useMutation, F.notificationRules.renameAlarmProfile.useMutation, F.notificationRules.deleteAlarmProfile.useMutation, F.notificationRules.activateAlarmProfile.useMutation, F.notificationRules.getAlarmSensors.useQuery, F.notifier.send.useMutation, F.notifier.cancel.useMutation, F.notifier.getStatus.useQuery, F.numericSensor.getStatus.useQuery, F.oidcConnections.connectionFormSchema.useQuery, F.oidcConnections.listConnections.useQuery, F.oidcConnections.createConnection.useMutation, F.oidcConnections.updateConnection.useMutation, F.oidcConnections.deleteConnection.useMutation, F.osd.setOverlay.useMutation, F.osd.getStatus.useQuery, F.osdManager.getDeviceOsd.useQuery, F.osdManager.getSourceCatalog.useQuery, F.osdManager.getConditionSupport.useQuery, F.osdManager.setSlotBinding.useMutation, F.osdManager.clearSlotBinding.useMutation, F.osdManager.setSlotCameraEnabled.useMutation, F.osdManager.copyDeviceConfiguration.useMutation, F.osdManager.previewSlot.useMutation, F.osdManager.renderDevice.useMutation, F.osdManager.listTemplates.useQuery, F.osdManager.upsertTemplate.useMutation, F.osdManager.deleteTemplate.useMutation, F.petFeeder.feed.useMutation, F.petFeeder.cancelFeed.useMutation, F.petFeeder.resetDesiccant.useMutation, F.petFeeder.markFoodReplenished.useMutation, F.petFeeder.callPet.useMutation, F.petFeeder.playSound.useMutation, F.petFeeder.setChildLock.useMutation, F.petFeeder.setIndicatorLight.useMutation, F.petFeeder.setFeedSound.useMutation, F.petFeeder.setVolume.useMutation, F.petFeeder.getStatus.useQuery, F.pipelineAnalytics.getActiveTracks.useQuery, F.pipelineAnalytics.getTrack.useQuery, F.pipelineAnalytics.listTracks.useQuery, F.pipelineAnalytics.listRecentTracks.useQuery, F.pipelineAnalytics.clearTracks.useMutation, F.pipelineAnalytics.getMotionEvents.useQuery, F.pipelineAnalytics.getObjectEvents.useQuery, F.pipelineAnalytics.getAudioEvents.useQuery, F.pipelineAnalytics.listEventKinds.useQuery, F.pipelineAnalytics.listEventKindsBatch.useQuery, F.pipelineAnalytics.getSensorEvents.useQuery, F.pipelineAnalytics.getKeyEvents.useQuery, F.pipelineAnalytics.getKeyEventsBatch.useQuery, F.pipelineAnalytics.readLongTermSeries.useQuery, F.pipelineAnalytics.getEventDensity.useQuery, F.pipelineAnalytics.getEventDensityBatch.useQuery, F.pipelineAnalytics.pruneEventsBefore.useMutation, F.pipelineAnalytics.pruneTracksBefore.useMutation, F.pipelineAnalytics.wipeAllAnalytics.useMutation, F.pipelineAnalytics.reconcileFromDisk.useMutation, F.pipelineAnalytics.deleteTracks.useMutation, F.pipelineAnalytics.setTrackFlags.useMutation, F.pipelineAnalytics.listArchivedDebugNotes.useQuery, F.pipelineAnalytics.setTrackRelation.useMutation, F.pipelineAnalytics.clearTrackRelation.useMutation, F.pipelineAnalytics.setTrackPurity.useMutation, F.pipelineAnalytics.listTrackRelations.useQuery, F.pipelineAnalytics.listBirthDecisions.useQuery, F.pipelineAnalytics.getEventStoreFootprint.useQuery, F.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, F.pipelineAnalytics.pruneEvents.useMutation, F.pipelineAnalytics.deleteDeviceEvents.useMutation, F.pipelineAnalytics.pauseForStorageMigration.useMutation, F.pipelineAnalytics.resumeForStorageMigration.useMutation, F.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, F.pipelineAnalytics.startStorageMigrationMove.useMutation, F.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, F.pipelineAnalytics.cancelStorageMigrationMove.useMutation, F.pipelineAnalytics.relocateMedia.useMutation, F.pipelineAnalytics.countUnstampedEventMedia.useQuery, F.pipelineAnalytics.countRelocatableMedia.useQuery, F.pipelineAnalytics.listRelocateMediaJobs.useQuery, F.pipelineAnalytics.cancelRelocateMedia.useMutation, F.pipelineAnalytics.listOpsLog.useQuery, F.pipelineAnalytics.reclaimDebugMedia.useMutation, F.pipelineAnalytics.getMediaReclaimStatus.useQuery, F.pipelineAnalytics.getTrainingExportSummary.useQuery, F.pipelineAnalytics.getTrainingExportUrl.useQuery, F.pipelineAnalytics.listRetrainStaging.useQuery, F.pipelineAnalytics.listRetrainCorpusPage.useQuery, F.pipelineAnalytics.getRetrainCorpusKpi.useQuery, F.pipelineAnalytics.listRetrainFrames.useQuery, F.pipelineAnalytics.selectRetrainFrames.useMutation, F.pipelineAnalytics.deselectRetrainFrame.useMutation, F.pipelineAnalytics.getRetrainFrameImage.useQuery, F.pipelineAnalytics.proposeRetrainAnnotations.useMutation, F.pipelineAnalytics.listRetrainAnnotations.useQuery, F.pipelineAnalytics.saveRetrainAnnotations.useMutation, F.pipelineAnalytics.backfillRetrainOrigins.useMutation, F.pipelineAnalytics.completeRetrainTrack.useMutation, F.pipelineAnalytics.restageRetrainTrack.useMutation, F.pipelineAnalytics.getRetrainExportUrl.useQuery, F.pipelineAnalytics.setRetrainFrameComplete.useMutation, F.pipelineAnalytics.writeRetrainArchive.useMutation, F.pipelineAnalytics.offerRetrainArchive.useMutation, F.pipelineAnalytics.listRetrainAssistProfiles.useQuery, F.pipelineAnalytics.proposeRetrainAnnotationsWithLlm.useMutation, F.pipelineAnalytics.createRetrainCollection.useMutation, F.pipelineAnalytics.listRetrainCollections.useQuery, F.pipelineAnalytics.resolveRetrainTrainingCorpus.useQuery, F.pipelineAnalytics.renameRetrainCollection.useMutation, F.pipelineAnalytics.deleteRetrainCollection.useMutation, F.pipelineAnalytics.addRetrainFrameFromRecording.useMutation, F.pipelineAnalytics.addRetrainFramesToCollection.useMutation, F.pipelineAnalytics.removeRetrainFrameFromCollection.useMutation, F.pipelineAnalytics.listRetrainCollectionFrames.useQuery, F.pipelineAnalytics.getEventMedia.useQuery, F.pipelineAnalytics.getTrackMedia.useQuery, F.pipelineAnalytics.listTrackMedia.useQuery, F.pipelineAnalytics.listEventMedia.useQuery, F.pipelineAnalytics.ownersWithMedia.useQuery, F.pipelineAnalytics.searchObjectEvents.useQuery, F.pipelineAnalytics.wipeObjectEmbeddings.useMutation, F.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, F.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, F.pipelineAnalytics.getDeviceSettingsContribution.useQuery, F.pipelineAnalytics.getDeviceLiveContribution.useQuery, F.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, F.pipelineExecutor.getAvailableEngines.useQuery, F.pipelineExecutor.getSelectedEngine.useQuery, F.pipelineExecutor.getEngineProvisioning.useQuery, F.pipelineExecutor.getVideoPipelineSteps.useQuery, F.pipelineExecutor.setVideoPipelineSteps.useMutation, F.pipelineExecutor.getInferenceDeviceHealth.useQuery, F.pipelineExecutor.rearmInferenceDevice.useMutation, F.pipelineExecutor.getSchema.useQuery, F.pipelineExecutor.getOrchestratorConfigSchema.useQuery, F.pipelineExecutor.validatePipeline.useQuery, F.pipelineExecutor.getCapabilities.useQuery, F.pipelineExecutor.getAddonModels.useQuery, F.pipelineExecutor.downloadModel.useMutation, F.pipelineExecutor.deleteModel.useMutation, F.pipelineExecutor.runPipeline.useMutation, F.pipelineExecutor.runPipelineBatch.useMutation, F.pipelineExecutor.cacheFrameInPool.useMutation, F.pipelineExecutor.inferCached.useMutation, F.pipelineExecutor.uncacheFrame.useMutation, F.pipelineExecutor.getEffectiveTuning.useQuery, F.pipelineExecutor.listLoadedEngines.useQuery, F.pipelineExecutor.spinEngine.useMutation, F.pipelineExecutor.killEngine.useMutation, F.pipelineExecutor.listReferenceImages.useQuery, F.pipelineExecutor.getReferenceImage.useQuery, F.pipelineExecutor.getReferenceAudioFiles.useQuery, F.pipelineExecutor.getReferenceAudio.useQuery, F.pipelineExecutor.getAudioCapabilities.useQuery, F.pipelineExecutor.runAudioTest.useMutation, F.pipelineExecutor.getDetectionConfigSchema.useQuery, F.pipelineOrchestrator.requestOccupancyLook.useMutation, F.pipelineOrchestrator.pauseForStorageMigration.useMutation, F.pipelineOrchestrator.resumeForStorageMigration.useMutation, F.pipelineOrchestrator.assignPipeline.useMutation, F.pipelineOrchestrator.unassignPipeline.useMutation, F.pipelineOrchestrator.setPipelineDevicePin.useMutation, F.pipelineOrchestrator.getPipelineDevicePin.useQuery, F.pipelineOrchestrator.rebalance.useMutation, F.pipelineOrchestrator.getPipelineAssignments.useQuery, F.pipelineOrchestrator.getPipelineAssignment.useQuery, F.pipelineOrchestrator.getAgentLoad.useQuery, F.pipelineOrchestrator.getClusterModelChoice.useQuery, F.pipelineOrchestrator.getGlobalMetrics.useQuery, F.pipelineOrchestrator.getCameraMetrics.useQuery, F.pipelineOrchestrator.getCapabilityBindings.useQuery, F.pipelineOrchestrator.setCapabilityBinding.useMutation, F.pipelineOrchestrator.getIngestOwner.useQuery, F.pipelineOrchestrator.assignAudio.useMutation, F.pipelineOrchestrator.unassignAudio.useMutation, F.pipelineOrchestrator.getAudioAssignment.useQuery, F.pipelineOrchestrator.getAudioNodeLoad.useQuery, F.pipelineOrchestrator.getAudioAssignments.useQuery, F.pipelineOrchestrator.getAgentSettings.useQuery;
4891
+ F.deviceState.getCapSlice.useQuery, F.deviceState.getAllSnapshots.useQuery, F.deviceState.setCapSlice.useMutation, F.deviceState.claimFields.useMutation, F.deviceState.patchOwnedFields.useMutation, F.deviceState.releaseClaim.useMutation, F.deviceState.listClaims.useQuery, F.deviceState.getNativeCapSlice.useQuery, F.deviceStatus.getStatus.useQuery, F.dishwasher.start.useMutation, F.dishwasher.pause.useMutation, F.dishwasher.resume.useMutation, F.dishwasher.stop.useMutation, F.dishwasher.setProgram.useMutation, F.dishwasher.setPower.useMutation, F.dishwasher.setHalfLoad.useMutation, F.dishwasher.setHygienePlus.useMutation, F.dishwasher.setExtraDry.useMutation, F.dishwasher.setIntensiveZone.useMutation, F.dishwasher.setVarioSpeedPlus.useMutation, F.dishwasher.setChildLock.useMutation, F.dishwasher.setOption.useMutation, F.dishwasher.getOptions.useQuery, F.dishwasher.getStatus.useQuery, F.displayPalette.getPalette.useQuery, F.displayPalette.listPresets.useQuery, F.displayPalette.setPalette.useMutation, F.doorbell.getStatus.useQuery, F.enumSensor.getStatus.useQuery, F.eventEmitter.getStatus.useQuery, F.faceGallery.listIdentities.useQuery, F.faceGallery.createIdentity.useMutation, F.faceGallery.renameIdentity.useMutation, F.faceGallery.deleteIdentity.useMutation, F.faceGallery.listIdentitySamples.useQuery, F.faceGallery.auditIdentitySamples.useQuery, F.faceGallery.removeSample.useMutation, F.faceGallery.listRecentFaces.useQuery, F.faceGallery.getFaceByTrack.useQuery, F.faceGallery.getFaceMedia.useQuery, F.faceGallery.assignFace.useMutation, F.faceGallery.unassignFace.useMutation, F.faceGallery.deleteFace.useMutation, F.faceGallery.assignFaces.useMutation, F.faceGallery.unassignFaces.useMutation, F.faceGallery.suggestFaceClusters.useQuery, F.fanControl.setPercentage.useMutation, F.fanControl.setPreset.useMutation, F.fanControl.setDirection.useMutation, F.fanControl.setOscillating.useMutation, F.fanControl.getStatus.useQuery, F.featureProbe.getStatus.useQuery, F.flood.getStatus.useQuery, F.gas.getStatus.useQuery, F.groupCommands.getStatus.useQuery, F.groupStatus.getStatus.useQuery, F.heatingValve.getStatus.useQuery, F.humidifier.setOn.useMutation, F.humidifier.setTargetHumidity.useMutation, F.humidifier.setMode.useMutation, F.humidifier.getStatus.useQuery, F.humiditySensor.getStatus.useQuery, F.image.getStatus.useQuery, F.imageSettings.getOptions.useQuery, F.imageSettings.setSettings.useMutation, F.imageSettings.getStatus.useQuery, F.integrations.list.useQuery, F.integrations.get.useQuery, F.integrations.getByAddonId.useQuery, F.integrations.create.useMutation, F.integrations.update.useMutation, F.integrations.delete.useMutation, F.integrations.getSettings.useQuery, F.integrations.setSettings.useMutation, F.integrations.getAvailableTypes.useQuery, F.integrations.testConnection.useMutation, F.intercom.startSession.useMutation, F.intercom.handleAnswer.useMutation, F.intercom.stopSession.useMutation, F.intercom.startTalkSession.useMutation, F.intercom.pushTalkAudio.useMutation, F.intercom.endTalkSession.useMutation, F.intercom.getStatus.useQuery, F.keychainAdmin.status.useQuery, F.keychainAdmin.listSecrets.useQuery, F.keychainAdmin.listAudit.useQuery, F.keychainAdmin.reveal.useMutation, F.keychainAdmin.setSystemSecret.useMutation, F.keychainAdmin.importSecret.useMutation, F.keychainAdmin.deleteOrphans.useMutation, F.keychainAdmin.rotateMasterKey.useMutation, F.keychainAdmin.purgeRetiredKeys.useMutation, F.keychainAdmin.downloadRecoveryKey.useMutation, F.keychainAdmin.resetKeychain.useMutation, F.keychainAdmin.resetReport.useQuery, F.keychainAdmin.acknowledgeReset.useMutation, F.lawnMowerControl.startMowing.useMutation, F.lawnMowerControl.pause.useMutation, F.lawnMowerControl.dock.useMutation, F.lawnMowerControl.getStatus.useQuery, F.llm.generate.useMutation, F.llm.generateVision.useMutation, F.llm.cancel.useMutation, F.llm.listProfileKinds.useQuery, F.llm.listProfiles.useQuery, F.llm.upsertProfile.useMutation, F.llm.migrateRawSecrets.useMutation, F.llm.deleteProfile.useMutation, F.llm.testProfile.useMutation, F.llm.listModels.useMutation, F.llm.getDefaults.useQuery, F.llm.setDefault.useMutation, F.llm.getUsage.useQuery, F.llm.listModelCatalog.useQuery, F.llm.listRuntimeNodes.useQuery, F.llm.listNodeModels.useQuery, F.llm.resolveModelRef.useMutation, F.llm.installModel.useMutation, F.llm.deleteModel.useMutation, F.llm.getRuntimeStatus.useQuery, F.llm.startRuntime.useMutation, F.llm.stopRuntime.useMutation, F.localNetwork.list.useQuery, F.localNetwork.getPreferred.useQuery, F.localNetwork.getConnectionEndpoints.useQuery, F.localNetwork.getNotificationEndpoint.useQuery, F.localNetwork.setNotificationEndpoint.useMutation, F.localNetwork.getViewerEndpoints.useQuery, F.localNetwork.setViewerEndpoints.useMutation, F.localNetwork.getAddresses.useQuery, F.localNetwork.addCustomAddress.useMutation, F.localNetwork.removeCustomAddress.useMutation, F.localNetwork.setAddressRole.useMutation, F.localNetwork.getHubAddresses.useQuery, F.localNetwork.getAllowedAddresses.useQuery, F.localNetwork.setAllowedAddresses.useMutation, F.localNetwork.resetAllowlistToBestMatch.useMutation, F.localNetwork.getTlsStatus.useQuery, F.localNetwork.regenerateCertificate.useMutation, F.localNetwork.uploadCertificate.useMutation, F.localNetwork.downloadCa.useQuery, F.localNetwork.useStoredUploadedCertificate.useMutation, F.localNetwork.revertToGeneratedCertificate.useMutation, F.lockControl.lock.useMutation, F.lockControl.unlock.useMutation, F.lockControl.open.useMutation, F.lockControl.getStatus.useQuery, F.mediaPlayer.play.useMutation, F.mediaPlayer.pause.useMutation, F.mediaPlayer.stop.useMutation, F.mediaPlayer.next.useMutation, F.mediaPlayer.previous.useMutation, F.mediaPlayer.seek.useMutation, F.mediaPlayer.setVolume.useMutation, F.mediaPlayer.setMute.useMutation, F.mediaPlayer.setShuffle.useMutation, F.mediaPlayer.setRepeat.useMutation, F.mediaPlayer.selectSource.useMutation, F.mediaPlayer.playMedia.useMutation, F.mediaPlayer.getStatus.useQuery, F.meshNetwork.getStatus.useQuery, F.meshNetwork.join.useMutation, F.meshNetwork.startLogin.useMutation, F.meshNetwork.leave.useMutation, F.meshNetwork.logout.useMutation, F.meshNetwork.listPeers.useQuery, F.meshNetwork.testConnection.useMutation, F.meter.getStatus.useQuery, F.metricsProvider.collectSnapshot.useQuery, F.metricsProvider.getCached.useQuery, F.metricsProvider.getCurrent.useQuery, F.metricsProvider.getDiskSpace.useQuery, F.metricsProvider.getGpuInfo.useQuery, F.metricsProvider.getCpuTemperature.useQuery, F.metricsProvider.getProcessStats.useQuery, F.metricsProvider.listAddonInstances.useQuery, F.metricsProvider.getAddonStats.useQuery, F.metricsProvider.listNodeProcesses.useQuery, F.metricsProvider.getLoadSeries.useQuery, F.motion.isDetected.useQuery, F.motion.getStatus.useQuery, F.motionDetection.analyze.useMutation, F.motionDetection.removeCamera.useMutation, F.motionDetection.reset.useMutation, F.motionDetection.getDeviceSettingsContribution.useQuery, F.motionDetection.getDeviceLiveContribution.useQuery, F.motionDetection.applyDeviceSettingsPatch.useMutation, F.motionTrigger.setMotionTrigger.useMutation, F.motionTrigger.getStatus.useQuery, F.motionZones.getOptions.useQuery, F.motionZones.setZone.useMutation, F.motionZones.getStatus.useQuery, F.mqttBroker.listBrokers.useQuery, F.mqttBroker.getBrokerConfig.useQuery, F.mqttBroker.addBroker.useMutation, F.mqttBroker.removeBroker.useMutation, F.mqttBroker.testConnection.useMutation, F.mqttBroker.startEmbeddedBroker.useMutation, F.mqttBroker.stopEmbeddedBroker.useMutation, F.mqttBroker.getStatus.useQuery, F.nativeObjectDetection.getOptions.useQuery, F.nativeObjectDetection.setSettings.useMutation, F.nativeObjectDetection.setEnabled.useMutation, F.nativeObjectDetection.getStatus.useQuery, F.navigation.move.useMutation, F.navigation.stop.useMutation, F.navigation.goToPoint.useMutation, F.navigation.listActions.useQuery, F.navigation.runAction.useMutation, F.navigation.playSound.useMutation, F.navigation.setLightOn.useMutation, F.navigation.setLightMode.useMutation, F.navigation.setLightLevel.useMutation, F.navigation.getFeatures.useQuery, F.navigation.getStatus.useQuery, F.networkAccess.start.useMutation, F.networkAccess.stop.useMutation, F.networkAccess.getEndpoint.useQuery, F.networkAccess.getStatus.useQuery, F.networkAccess.listEndpoints.useQuery, F.networkLink.getStatus.useQuery, F.networkQuality.getDeviceStats.useQuery, F.networkQuality.getAllStats.useQuery, F.networkQuality.reportClientStats.useMutation, F.nodes.topology.useQuery, F.nodes.directory.useQuery, F.nodes.deployAddon.useMutation, F.nodes.undeployAddon.useMutation, F.nodes.restartAddon.useMutation, F.nodes.restartProcess.useMutation, F.nodes.restartNode.useMutation, F.nodes.shutdownNode.useMutation, F.nodes.renameNode.useMutation, F.nodes.clusterAddonStatus.useQuery, F.nodes.getCapUsageGraph.useQuery, F.nodes.getNodeAddons.useQuery, F.nodes.setProcessLogLevel.useMutation, F.nodes.executeQuery.useMutation, F.notificationOutput.listTargetKinds.useQuery, F.notificationOutput.listTargets.useQuery, F.notificationOutput.getTarget.useQuery, F.notificationOutput.discoverTargets.useQuery, F.notificationOutput.probeTargetConfig.useMutation, F.notificationOutput.send.useMutation, F.notificationOutput.testTarget.useMutation, F.notificationOutput.upsertTarget.useMutation, F.notificationOutput.deleteTarget.useMutation, F.notificationOutput.setTargetEnabled.useMutation, F.notificationRules.listRules.useQuery, F.notificationRules.getRule.useQuery, F.notificationRules.createRule.useMutation, F.notificationRules.updateRule.useMutation, F.notificationRules.deleteRule.useMutation, F.notificationRules.setRuleEnabled.useMutation, F.notificationRules.listSequences.useQuery, F.notificationRules.getSequence.useQuery, F.notificationRules.createSequence.useMutation, F.notificationRules.updateSequence.useMutation, F.notificationRules.deleteSequence.useMutation, F.notificationRules.getClipRetentionAsks.useQuery, F.notificationRules.listDeviceMutes.useQuery, F.notificationRules.setDeviceMuted.useMutation, F.notificationRules.testRule.useMutation, F.notificationRules.previewStateSummary.useMutation, F.notificationRules.getConditionCatalog.useQuery, F.notificationRules.getTemplateCatalog.useQuery, F.notificationRules.previewTemplate.useMutation, F.notificationRules.getHistory.useQuery, F.notificationRules.getRuleLastRuns.useQuery, F.notificationRules.resolveArtifactUrl.useQuery, F.notificationRules.listSnoozes.useQuery, F.notificationRules.createSnooze.useMutation, F.notificationRules.cancelSnooze.useMutation, F.notificationRules.getAlarmConfig.useQuery, F.notificationRules.setAlarmConfig.useMutation, F.notificationRules.createAlarmProfile.useMutation, F.notificationRules.renameAlarmProfile.useMutation, F.notificationRules.deleteAlarmProfile.useMutation, F.notificationRules.activateAlarmProfile.useMutation, F.notificationRules.getAlarmSensors.useQuery, F.notifier.send.useMutation, F.notifier.cancel.useMutation, F.notifier.getStatus.useQuery, F.numericSensor.getStatus.useQuery, F.oidcConnections.connectionFormSchema.useQuery, F.oidcConnections.listConnections.useQuery, F.oidcConnections.createConnection.useMutation, F.oidcConnections.updateConnection.useMutation, F.oidcConnections.deleteConnection.useMutation, F.osd.setOverlay.useMutation, F.osd.getStatus.useQuery, F.osdManager.getDeviceOsd.useQuery, F.osdManager.getSourceCatalog.useQuery, F.osdManager.getConditionSupport.useQuery, F.osdManager.setSlotBinding.useMutation, F.osdManager.clearSlotBinding.useMutation, F.osdManager.setSlotCameraEnabled.useMutation, F.osdManager.copyDeviceConfiguration.useMutation, F.osdManager.previewSlot.useMutation, F.osdManager.renderDevice.useMutation, F.osdManager.listTemplates.useQuery, F.osdManager.upsertTemplate.useMutation, F.osdManager.deleteTemplate.useMutation, F.petFeeder.feed.useMutation, F.petFeeder.cancelFeed.useMutation, F.petFeeder.resetDesiccant.useMutation, F.petFeeder.markFoodReplenished.useMutation, F.petFeeder.callPet.useMutation, F.petFeeder.playSound.useMutation, F.petFeeder.setChildLock.useMutation, F.petFeeder.setIndicatorLight.useMutation, F.petFeeder.setFeedSound.useMutation, F.petFeeder.setVolume.useMutation, F.petFeeder.getStatus.useQuery, F.pipelineAnalytics.getActiveTracks.useQuery, F.pipelineAnalytics.getTrack.useQuery, F.pipelineAnalytics.listTracks.useQuery, F.pipelineAnalytics.listRecentTracks.useQuery, F.pipelineAnalytics.clearTracks.useMutation, F.pipelineAnalytics.getMotionEvents.useQuery, F.pipelineAnalytics.getObjectEvents.useQuery, F.pipelineAnalytics.getAudioEvents.useQuery, F.pipelineAnalytics.listEventKinds.useQuery, F.pipelineAnalytics.listEventKindsBatch.useQuery, F.pipelineAnalytics.getSensorEvents.useQuery, F.pipelineAnalytics.getKeyEvents.useQuery, F.pipelineAnalytics.getKeyEventsBatch.useQuery, F.pipelineAnalytics.readLongTermSeries.useQuery, F.pipelineAnalytics.getEventDensity.useQuery, F.pipelineAnalytics.getEventDensityBatch.useQuery, F.pipelineAnalytics.pruneEventsBefore.useMutation, F.pipelineAnalytics.pruneTracksBefore.useMutation, F.pipelineAnalytics.wipeAllAnalytics.useMutation, F.pipelineAnalytics.reconcileFromDisk.useMutation, F.pipelineAnalytics.deleteTracks.useMutation, F.pipelineAnalytics.setTrackFlags.useMutation, F.pipelineAnalytics.listArchivedDebugNotes.useQuery, F.pipelineAnalytics.setTrackRelation.useMutation, F.pipelineAnalytics.clearTrackRelation.useMutation, F.pipelineAnalytics.setTrackPurity.useMutation, F.pipelineAnalytics.listTrackRelations.useQuery, F.pipelineAnalytics.listBirthDecisions.useQuery, F.pipelineAnalytics.getEventStoreFootprint.useQuery, F.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, F.pipelineAnalytics.pruneEvents.useMutation, F.pipelineAnalytics.deleteDeviceEvents.useMutation, F.pipelineAnalytics.pauseForStorageMigration.useMutation, F.pipelineAnalytics.resumeForStorageMigration.useMutation, F.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, F.pipelineAnalytics.startStorageMigrationMove.useMutation, F.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, F.pipelineAnalytics.cancelStorageMigrationMove.useMutation, F.pipelineAnalytics.relocateMedia.useMutation, F.pipelineAnalytics.countUnstampedEventMedia.useQuery, F.pipelineAnalytics.countRelocatableMedia.useQuery, F.pipelineAnalytics.listRelocateMediaJobs.useQuery, F.pipelineAnalytics.cancelRelocateMedia.useMutation, F.pipelineAnalytics.listOpsLog.useQuery, F.pipelineAnalytics.reclaimDebugMedia.useMutation, F.pipelineAnalytics.getMediaReclaimStatus.useQuery, F.pipelineAnalytics.getTrainingExportSummary.useQuery, F.pipelineAnalytics.getTrainingExportUrl.useQuery, F.pipelineAnalytics.listRetrainStaging.useQuery, F.pipelineAnalytics.listRetrainCorpusPage.useQuery, F.pipelineAnalytics.getRetrainCorpusKpi.useQuery, F.pipelineAnalytics.listRetrainFrames.useQuery, F.pipelineAnalytics.selectRetrainFrames.useMutation, F.pipelineAnalytics.deselectRetrainFrame.useMutation, F.pipelineAnalytics.getRetrainFrameImage.useQuery, F.pipelineAnalytics.proposeRetrainAnnotations.useMutation, F.pipelineAnalytics.listRetrainAnnotations.useQuery, F.pipelineAnalytics.saveRetrainAnnotations.useMutation, F.pipelineAnalytics.backfillRetrainOrigins.useMutation, F.pipelineAnalytics.completeRetrainTrack.useMutation, F.pipelineAnalytics.restageRetrainTrack.useMutation, F.pipelineAnalytics.getRetrainExportUrl.useQuery, F.pipelineAnalytics.setRetrainFrameComplete.useMutation, F.pipelineAnalytics.writeRetrainArchive.useMutation, F.pipelineAnalytics.offerRetrainArchive.useMutation, F.pipelineAnalytics.listRetrainAssistProfiles.useQuery, F.pipelineAnalytics.proposeRetrainAnnotationsWithLlm.useMutation, F.pipelineAnalytics.createRetrainCollection.useMutation, F.pipelineAnalytics.listRetrainCollections.useQuery, F.pipelineAnalytics.resolveRetrainTrainingCorpus.useQuery, F.pipelineAnalytics.renameRetrainCollection.useMutation, F.pipelineAnalytics.deleteRetrainCollection.useMutation, F.pipelineAnalytics.addRetrainFrameFromRecording.useMutation, F.pipelineAnalytics.addRetrainFramesToCollection.useMutation, F.pipelineAnalytics.removeRetrainFrameFromCollection.useMutation, F.pipelineAnalytics.listRetrainCollectionFrames.useQuery, F.pipelineAnalytics.getEventMedia.useQuery, F.pipelineAnalytics.getTrackMedia.useQuery, F.pipelineAnalytics.listTrackMedia.useQuery, F.pipelineAnalytics.listEventMedia.useQuery, F.pipelineAnalytics.ownersWithMedia.useQuery, F.pipelineAnalytics.searchObjectEvents.useQuery, F.pipelineAnalytics.wipeObjectEmbeddings.useMutation, F.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, F.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, F.pipelineAnalytics.getDeviceSettingsContribution.useQuery, F.pipelineAnalytics.getDeviceLiveContribution.useQuery, F.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, F.pipelineExecutor.getAvailableEngines.useQuery, F.pipelineExecutor.getSelectedEngine.useQuery, F.pipelineExecutor.getEngineProvisioning.useQuery, F.pipelineExecutor.getVideoPipelineSteps.useQuery, F.pipelineExecutor.setVideoPipelineSteps.useMutation, F.pipelineExecutor.getInferenceDeviceHealth.useQuery, F.pipelineExecutor.rearmInferenceDevice.useMutation, F.pipelineExecutor.getSchema.useQuery, F.pipelineExecutor.getOrchestratorConfigSchema.useQuery, F.pipelineExecutor.validatePipeline.useQuery, F.pipelineExecutor.getCapabilities.useQuery, F.pipelineExecutor.getAddonModels.useQuery, F.pipelineExecutor.downloadModel.useMutation, F.pipelineExecutor.deleteModel.useMutation, F.pipelineExecutor.runPipeline.useMutation, F.pipelineExecutor.runPipelineBatch.useMutation, F.pipelineExecutor.cacheFrameInPool.useMutation, F.pipelineExecutor.inferCached.useMutation, F.pipelineExecutor.uncacheFrame.useMutation, F.pipelineExecutor.getEffectiveTuning.useQuery, F.pipelineExecutor.listLoadedEngines.useQuery, F.pipelineExecutor.spinEngine.useMutation, F.pipelineExecutor.killEngine.useMutation, F.pipelineExecutor.listReferenceImages.useQuery, F.pipelineExecutor.getReferenceImage.useQuery, F.pipelineExecutor.getReferenceAudioFiles.useQuery, F.pipelineExecutor.getReferenceAudio.useQuery, F.pipelineExecutor.getAudioCapabilities.useQuery, F.pipelineExecutor.runAudioTest.useMutation, F.pipelineExecutor.getDetectionConfigSchema.useQuery, F.pipelineOrchestrator.requestOccupancyLook.useMutation, F.pipelineOrchestrator.pauseForStorageMigration.useMutation, F.pipelineOrchestrator.resumeForStorageMigration.useMutation, F.pipelineOrchestrator.assignPipeline.useMutation, F.pipelineOrchestrator.unassignPipeline.useMutation, F.pipelineOrchestrator.setPipelineDevicePin.useMutation, F.pipelineOrchestrator.getPipelineDevicePin.useQuery, F.pipelineOrchestrator.rebalance.useMutation, F.pipelineOrchestrator.getPipelineAssignments.useQuery, F.pipelineOrchestrator.getPipelineAssignment.useQuery, F.pipelineOrchestrator.getAgentLoad.useQuery, F.pipelineOrchestrator.getClusterModelChoice.useQuery, F.pipelineOrchestrator.getGlobalMetrics.useQuery, F.pipelineOrchestrator.getCameraMetrics.useQuery, F.pipelineOrchestrator.getCapabilityBindings.useQuery, F.pipelineOrchestrator.setCapabilityBinding.useMutation, F.pipelineOrchestrator.getIngestOwner.useQuery, F.pipelineOrchestrator.assignAudio.useMutation, F.pipelineOrchestrator.unassignAudio.useMutation, F.pipelineOrchestrator.getAudioAssignment.useQuery, F.pipelineOrchestrator.getAudioNodeLoad.useQuery, F.pipelineOrchestrator.getAudioAssignments.useQuery, F.pipelineOrchestrator.getAgentSettings.useQuery;
4892
4892
  var ao = F.pipelineOrchestrator.listAgentSettings.useQuery;
4893
4893
  //#endregion
4894
4894
  //#region ../ui-library/src/primitives/badge.tsx
@@ -29459,7 +29459,7 @@ function ry({ device: e, form: t, parent: n, siblings: r, className: i, testId:
29459
29459
  children: o
29460
29460
  });
29461
29461
  }
29462
- e(), e(), M.Camera;
29462
+ e(), e(), j.Camera;
29463
29463
  //#endregion
29464
29464
  //#region ../ui-library/src/hooks/use-device-capability.ts
29465
29465
  function Z(e) {
@@ -29475,7 +29475,7 @@ function Z(e) {
29475
29475
  }
29476
29476
  //#endregion
29477
29477
  //#region ../ui-library/src/primitives/skeleton.tsx
29478
- e(), de.exclude(["full"]).options, e();
29478
+ e(), Ee.exclude(["full"]).options, e();
29479
29479
  var iy = c(({ className: e, ...t }, n) => /* @__PURE__ */ v("div", {
29480
29480
  ref: n,
29481
29481
  className: z("animate-pulse bg-surface-hover rounded-md h-4 w-full", e),
@@ -29634,7 +29634,7 @@ function hy({ className: e, ...t }) {
29634
29634
  }
29635
29635
  //#endregion
29636
29636
  //#region ../../node_modules/qrcode.react/lib/esm/index.js
29637
- e(), e(), e(), e(), e(), e(), e(), n(() => import("./MotionZonesSettings-DBGT8Nj8.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./PrivacyMaskSettings-CLQVQM7P.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), e(), e();
29637
+ e(), e(), e(), e(), e(), e(), e(), n(() => import("./MotionZonesSettings-nwsYJ4LM.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./PrivacyMaskSettings-D44t-3Il.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), e(), e();
29638
29638
  var gy = Object.defineProperty, _y = Object.getOwnPropertySymbols, vy = Object.prototype.hasOwnProperty, yy = Object.prototype.propertyIsEnumerable, by = (e, t, n) => t in e ? gy(e, t, {
29639
29639
  enumerable: !0,
29640
29640
  configurable: !0,
@@ -30487,7 +30487,7 @@ var By = function() {
30487
30487
  "imageSettings"
30488
30488
  ]), { style: h } = m, g = Sy(m, ["style"]), _ = p?.src, v = r.useRef(null), y = r.useRef(null), b = r.useCallback((e) => {
30489
30489
  v.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
30490
- }, [t]), [x, S] = r.useState(!1), { margin: C, cells: w, numCells: T, calculatedImageSettings: ee } = zy({
30490
+ }, [t]), [x, S] = r.useState(!1), { margin: C, cells: w, numCells: T, calculatedImageSettings: E } = zy({
30491
30491
  value: i,
30492
30492
  level: o,
30493
30493
  minVersion: u,
@@ -30501,8 +30501,8 @@ var By = function() {
30501
30501
  if (v.current != null) {
30502
30502
  let e = v.current, t = e.getContext("2d");
30503
30503
  if (!t) return;
30504
- let n = w, r = y.current, i = ee != null && r !== null && r.complete && r.naturalHeight !== 0 && r.naturalWidth !== 0;
30505
- i && ee.excavation != null && (n = Iy(w, ee.excavation));
30504
+ let n = w, r = y.current, i = E != null && r !== null && r.complete && r.naturalHeight !== 0 && r.naturalWidth !== 0;
30505
+ i && E.excavation != null && (n = Iy(w, E.excavation));
30506
30506
  let o = window.devicePixelRatio || 1;
30507
30507
  e.height = e.width = a * o;
30508
30508
  let l = a / T * o;
@@ -30510,16 +30510,16 @@ var By = function() {
30510
30510
  e.forEach(function(e, r) {
30511
30511
  e && t.fillRect(r + C, n + C, 1, 1);
30512
30512
  });
30513
- }), ee && (t.globalAlpha = ee.opacity), i && t.drawImage(r, ee.x + C, ee.y + C, ee.w, ee.h);
30513
+ }), E && (t.globalAlpha = E.opacity), i && t.drawImage(r, E.x + C, E.y + C, E.w, E.h);
30514
30514
  }
30515
30515
  }), r.useEffect(() => {
30516
30516
  S(!1);
30517
30517
  }, [_]);
30518
- let te = xy({
30518
+ let ee = xy({
30519
30519
  height: a,
30520
30520
  width: a
30521
- }, h), ne = null;
30522
- return _ != null && (ne = /* @__PURE__ */ r.createElement("img", {
30521
+ }, h), te = null;
30522
+ return _ != null && (te = /* @__PURE__ */ r.createElement("img", {
30523
30523
  src: _,
30524
30524
  key: _,
30525
30525
  style: { display: "none" },
@@ -30527,14 +30527,14 @@ var By = function() {
30527
30527
  S(!0);
30528
30528
  },
30529
30529
  ref: y,
30530
- crossOrigin: ee?.crossOrigin
30530
+ crossOrigin: E?.crossOrigin
30531
30531
  })), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("canvas", xy({
30532
- style: te,
30532
+ style: ee,
30533
30533
  height: a,
30534
30534
  width: a,
30535
30535
  ref: b,
30536
30536
  role: "img"
30537
- }, g)), ne);
30537
+ }, g)), te);
30538
30538
  });
30539
30539
  Vy.displayName = "QRCodeCanvas";
30540
30540
  var Hy = r.forwardRef(function(e, t) {
@@ -30649,7 +30649,7 @@ function Jy({ active: e, onClick: t, disabled: n, children: r, title: i }) {
30649
30649
  });
30650
30650
  }
30651
30651
  function Yy({ catalog: e, value: t, onChange: n, disabled: r }) {
30652
- let i = S(), a = qe(e), o = Xe(e, t), s = a.find((e) => e.family === o?.family)?.family ?? a[0]?.family ?? "", c = a.find((e) => e.family === s) ?? a[0];
30652
+ let i = S(), a = De(e), o = te(e, t), s = a.find((e) => e.family === o?.family)?.family ?? a[0]?.family ?? "", c = a.find((e) => e.family === s) ?? a[0];
30653
30653
  if (!c) return null;
30654
30654
  let l = c.tiers.find((e) => e.tier === o?.tier)?.tier ?? c.tiers[0]?.tier ?? "", u = c.tiers.find((e) => e.tier === l) ?? c.tiers[0];
30655
30655
  if (!u) return null;
@@ -30660,7 +30660,7 @@ function Yy({ catalog: e, value: t, onChange: n, disabled: r }) {
30660
30660
  let t = u.options.filter((t) => t.resolution === e), r = t.find((e) => e.precision === (o?.precision ?? "fp32") && e.optimization === (o?.optimization ?? "standard")) ?? t[0];
30661
30661
  r && n(r.modelId);
30662
30662
  }, _ = (t) => {
30663
- let r = ie(e, {
30663
+ let r = He(e, {
30664
30664
  family: c.family,
30665
30665
  tier: u.tier,
30666
30666
  precision: t.precision,
@@ -30792,7 +30792,7 @@ function Qy({ models: e, value: t, onChange: n, disabled: r, defaultModelId: a }
30792
30792
  r ? r.push(n) : t.set(e, [n]);
30793
30793
  }
30794
30794
  return t;
30795
- }, [e]), l = o(() => Je.filter((e) => (c.get(e)?.length ?? 0) > 0), [c]), u = o(() => {
30795
+ }, [e]), l = o(() => Oe.filter((e) => (c.get(e)?.length ?? 0) > 0), [c]), u = o(() => {
30796
30796
  let n = e.find((e) => e.id === t);
30797
30797
  return n ? Zy(n) : void 0;
30798
30798
  }, [e, t]) ?? (l.includes("camstack") ? "camstack" : l[0] ?? "camstack"), [d, f] = g(u);
@@ -30890,12 +30890,12 @@ function rb(e) {
30890
30890
  //#endregion
30891
30891
  //#region ../ui-library/src/composites/root-model-source.tsx
30892
30892
  function ib(e, t, n) {
30893
- return ue(e) ? ge(e, t, n?.supplies) : null;
30893
+ return O(e) ? ae(e, t, n?.supplies) : null;
30894
30894
  }
30895
30895
  function ab(e, t) {
30896
30896
  return {
30897
30897
  ...e,
30898
- [We]: t
30898
+ [Fe]: t
30899
30899
  };
30900
30900
  }
30901
30901
  function ob(e, t = x) {
@@ -30958,8 +30958,8 @@ function ub(e, t) {
30958
30958
  return (t === void 0 ? e : e / t).toFixed(2).replace(/\.?0+$/, "");
30959
30959
  }
30960
30960
  function db({ field: e, modelId: t, settings: n, disabled: r, onChangeSettings: i, hideSourceRow: a = !1 }) {
30961
- let o = S(), s = e.modelApplicability?.defaultByModel?.[t], c = me(n, e.key, t.length > 0 ? t : void 0, s, e.default), l = typeof e.default == "number" ? e.default : e.min ?? 0, u = typeof c.value == "number" ? c.value : l, d = e.type === "slider" ? e.displayScale : void 0, f = "unit" in e ? e.unit : void 0, p = c.inapplicableOverride, m = n?.[e.key] !== void 0, h = (r) => {
30962
- i(t.length > 0 ? ye(n, e.key, r, t) : {
30961
+ let o = S(), s = e.modelApplicability?.defaultByModel?.[t], c = D(n, e.key, t.length > 0 ? t : void 0, s, e.default), l = typeof e.default == "number" ? e.default : e.min ?? 0, u = typeof c.value == "number" ? c.value : l, d = e.type === "slider" ? e.displayScale : void 0, f = "unit" in e ? e.unit : void 0, p = c.inapplicableOverride, m = n?.[e.key] !== void 0, h = (r) => {
30962
+ i(t.length > 0 ? w(n, e.key, r, t) : {
30963
30963
  ...n,
30964
30964
  [e.key]: r
30965
30965
  });
@@ -30999,7 +30999,7 @@ function db({ field: e, modelId: t, settings: n, disabled: r, onChangeSettings:
30999
30999
  type: "button",
31000
31000
  disabled: r,
31001
31001
  className: "text-foreground-subtle hover:text-foreground disabled:opacity-50",
31002
- onClick: () => i(Ie(n, e.key)),
31002
+ onClick: () => i(ye(n, e.key)),
31003
31003
  children: o("uiLibrary.modelBoundSlider.resetToDefault", "Reset to model default")
31004
31004
  })]
31005
31005
  }),
@@ -31021,7 +31021,7 @@ function pb({ fields: e, modelId: t, settings: n, disabled: r, onReset: i }) {
31021
31021
  type: "button",
31022
31022
  disabled: r,
31023
31023
  className: "text-[10px] text-primary hover:underline disabled:opacity-50",
31024
- onClick: () => i(Be(n, o, s)),
31024
+ onClick: () => i(ke(n, o, s)),
31025
31025
  children: a("uiLibrary.modelBoundSlider.resetThresholds", "Reset thresholds to model defaults")
31026
31026
  });
31027
31027
  }
@@ -31224,7 +31224,7 @@ function yb(e) {
31224
31224
  return e.type !== "separator" && e.type !== "info" && e.type !== "group";
31225
31225
  }
31226
31226
  function bb(e) {
31227
- return "bindsToModel" in e && e.bindsToModel === !0 ? !0 : "key" in e && ce(e.key);
31227
+ return "bindsToModel" in e && e.bindsToModel === !0 ? !0 : "key" in e && le(e.key);
31228
31228
  }
31229
31229
  function xb(e) {
31230
31230
  return e.flatMap((e) => {
@@ -31292,13 +31292,13 @@ function Ob(e, t, n) {
31292
31292
  }
31293
31293
  var kb = ["camera", "node"];
31294
31294
  function Ab({ field: e, layers: t, target: n, labels: r, boundKeys: i, modelId: a, pinned: o, disabled: s, onReset: c, action: l }) {
31295
- let u = S(), d = ne(t), f = Cb(e, a), p = f.fromModel ? u("uiLibrary.layeredSettings.modelDefault", "model default") : u("uiLibrary.layeredSettings.default", "default"), m = Ve(t, e.key, i), h = Sb(e), g = h ? me(d, e.key, a, f.value, f.value) : null, _ = g === null || g.source === "override" ? m : "default", b = _ === "default" ? p : r[_] ?? _, x = kb.filter((e) => e !== _ && r[e] !== void 0).filter((n) => t[n]?.[e.key] !== void 0).map((n) => {
31296
- let i = h ? t[n]?.[E(e.key)] : void 0, o = typeof i == "string" && i !== a ? u("uiLibrary.layeredSettings.forModel", " (for {{model}})", { model: i }) : "";
31295
+ let u = S(), d = Pe(t), f = Cb(e, a), p = f.fromModel ? u("uiLibrary.layeredSettings.modelDefault", "model default") : u("uiLibrary.layeredSettings.default", "default"), m = _e(t, e.key, i), h = Sb(e), g = h ? D(d, e.key, a, f.value, f.value) : null, _ = g === null || g.source === "override" ? m : "default", b = _ === "default" ? p : r[_] ?? _, x = kb.filter((e) => e !== _ && r[e] !== void 0).filter((n) => t[n]?.[e.key] !== void 0).map((n) => {
31296
+ let i = h ? t[n]?.[oe(e.key)] : void 0, o = typeof i == "string" && i !== a ? u("uiLibrary.layeredSettings.forModel", " (for {{model}})", { model: i }) : "";
31297
31297
  return `${r[n]} ${Tb(e, t[n]?.[e.key])}${o}`;
31298
- }), C = _ === "default" ? x : [...x, `${p} ${Tb(e, f.value)}`], w = Ve({ [n]: t[n] }, e.key, i) !== "default", T = kb.slice(kb.indexOf(n) + 1).find((n) => r[n] !== void 0 && t[n]?.[e.key] !== void 0), ee = T === void 0 ? p : r[T] ?? T, te = m === "default" ? "default" : Ve({
31298
+ }), C = _ === "default" ? x : [...x, `${p} ${Tb(e, f.value)}`], w = _e({ [n]: t[n] }, e.key, i) !== "default", T = kb.slice(kb.indexOf(n) + 1).find((n) => r[n] !== void 0 && t[n]?.[e.key] !== void 0), E = T === void 0 ? p : r[T] ?? T, ee = m === "default" ? "default" : _e({
31299
31299
  ...t,
31300
31300
  [m]: void 0
31301
- }, e.key, i), re = te === "default" ? p : r[te] ?? te;
31301
+ }, e.key, i), te = ee === "default" ? p : r[ee] ?? ee;
31302
31302
  return /* @__PURE__ */ y("div", {
31303
31303
  className: "mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 text-[10px]",
31304
31304
  children: [
@@ -31315,7 +31315,7 @@ function Ab({ field: e, layers: t, target: n, labels: r, boundKeys: i, modelId:
31315
31315
  o && /* @__PURE__ */ v("span", {
31316
31316
  className: "rounded border border-warning/40 px-1.5 py-px text-warning",
31317
31317
  title: u("uiLibrary.layeredSettings.pinnedHint", "Stored by an older editor as a copy of the value below. It changes nothing today, but it stops later changes below from reaching this camera."),
31318
- children: u("uiLibrary.layeredSettings.pinned", "pinned at the {{source}} value", { source: re.toLowerCase() })
31318
+ children: u("uiLibrary.layeredSettings.pinned", "pinned at the {{source}} value", { source: te.toLowerCase() })
31319
31319
  }),
31320
31320
  /* @__PURE__ */ y("span", {
31321
31321
  className: "ml-auto flex items-center gap-2",
@@ -31324,14 +31324,14 @@ function Ab({ field: e, layers: t, target: n, labels: r, boundKeys: i, modelId:
31324
31324
  disabled: s,
31325
31325
  onClick: c,
31326
31326
  className: "rounded px-1 text-foreground-subtle hover:bg-muted hover:text-foreground disabled:opacity-50",
31327
- children: u("uiLibrary.layeredSettings.resetTo", "Reset to {{target}}", { target: ee.toLowerCase() })
31327
+ children: u("uiLibrary.layeredSettings.resetTo", "Reset to {{target}}", { target: E.toLowerCase() })
31328
31328
  })]
31329
31329
  })
31330
31330
  ]
31331
31331
  });
31332
31332
  }
31333
31333
  function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a, onChangeLayer: o, rootModel: s, pinnedKeys: c = [], fieldActions: l, headerActions: u, highlightKey: d = null, disabled: f = !1 }) {
31334
- let p = S(), m = r === "camera" ? xb(t) : t, h = Ye(m), g = ne(n), _ = n[r], b = Ob(e, a, g), x = ib(e.id, g, s);
31334
+ let p = S(), m = r === "camera" ? xb(t) : t, h = Se(m), g = Pe(n), _ = n[r], b = Ob(e, a, g), x = ib(e.id, g, s);
31335
31335
  return /* @__PURE__ */ y("div", {
31336
31336
  className: "space-y-2 text-xs",
31337
31337
  children: [
@@ -31363,7 +31363,7 @@ function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a,
31363
31363
  settings: g,
31364
31364
  rootModel: s,
31365
31365
  disabled: f,
31366
- onChange: (e) => o(ve(_, We, ab(g, e), []))
31366
+ onChange: (e) => o(ve(_, Fe, ab(g, e), []))
31367
31367
  }),
31368
31368
  m.map((e) => {
31369
31369
  if (!yb(e)) return /* @__PURE__ */ v(_b, {
@@ -31394,8 +31394,8 @@ function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a,
31394
31394
  modelId: a,
31395
31395
  pinned: c.includes(e.key),
31396
31396
  disabled: f,
31397
- onReset: () => o(_e(_, e.key, h)),
31398
- action: l?.(e.key, Ve(n, e.key, h))
31397
+ onReset: () => o(ue(_, e.key, h)),
31398
+ action: l?.(e.key, _e(n, e.key, h))
31399
31399
  })]
31400
31400
  }, e.key);
31401
31401
  })
@@ -31406,7 +31406,7 @@ function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a,
31406
31406
  //#region ../ui-library/src/composites/agent-step-editor.tsx
31407
31407
  e();
31408
31408
  function Mb(e) {
31409
- let t = new Set(be(e.id).map((e) => e.key));
31409
+ let t = new Set(Qe(e.id).map((e) => e.key));
31410
31410
  return (e.configSchema ?? []).filter((e) => !t.has(e.key));
31411
31411
  }
31412
31412
  function Nb(e, t, n, r) {
@@ -31414,7 +31414,7 @@ function Nb(e, t, n, r) {
31414
31414
  }
31415
31415
  function Pb({ addonId: e }) {
31416
31416
  let t = S();
31417
- return be(e).length === 0 ? null : /* @__PURE__ */ v("p", {
31417
+ return Qe(e).length === 0 ? null : /* @__PURE__ */ v("p", {
31418
31418
  className: "text-[10px] leading-snug text-foreground-subtle",
31419
31419
  children: t("uiLibrary.agentStepEditor.clusterHint", "Admission knobs for this step live in Pipeline → Cluster → Settings → Enrichment models. They apply to every camera — a per-device copy would fill the shared index from two policies.")
31420
31420
  });
@@ -31734,13 +31734,13 @@ function rx(e) {
31734
31734
  function ix(e) {
31735
31735
  let t = /* @__PURE__ */ new Map();
31736
31736
  for (let n of e ?? []) {
31737
- let e = Le.safeParse(rx(n.settings));
31738
- t.set(n.nodeId, e.success ? e.data : Se(n.nodeId));
31737
+ let e = je.safeParse(rx(n.settings));
31738
+ t.set(n.nodeId, e.success ? e.data : Je(n.nodeId));
31739
31739
  }
31740
31740
  return t;
31741
31741
  }
31742
31742
  function ax(e, t) {
31743
- return e.get(t) ?? Se(t);
31743
+ return e.get(t) ?? Je(t);
31744
31744
  }
31745
31745
  //#endregion
31746
31746
  //#region ../ui-library/src/composites/camera-stream-player.tsx
@@ -31894,46 +31894,46 @@ var yx = {
31894
31894
  center: "text-center"
31895
31895
  };
31896
31896
  function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480, emptyMessage: s, className: c, bordered: l = !0, rowClassName: u, maxBodyHeight: d, fill: f = !1, defaultSort: p, sort: m, onSortChange: h, pageSize: _, page: b, onPageChange: x, paginationLabels: S = cx, selection: C, renderExpanded: w, isExpanded: T }) {
31897
- let [ee, te] = g(p ?? null), [ne, re] = g(0), E = m === void 0 ? ee : m, ie = (e) => {
31898
- m === void 0 && te(e), h?.(e);
31899
- }, D = (e) => {
31900
- b === void 0 && re(e), x?.(e);
31901
- }, ae = f || d !== void 0, oe = f ? "h-full min-h-0" : d ?? "", se = o(() => E === null ? void 0 : e.find((e) => e.key === E.columnKey && e.sortValue !== void 0), [e, E]), O = se?.sortValue, ce = o(() => O === void 0 ? t : _x(t, E, O), [
31897
+ let [E, ee] = g(p ?? null), [te, ne] = g(0), D = m === void 0 ? E : m, re = (e) => {
31898
+ m === void 0 && ee(e), h?.(e);
31899
+ }, O = (e) => {
31900
+ b === void 0 && ne(e), x?.(e);
31901
+ }, ie = f || d !== void 0, ae = f ? "h-full min-h-0" : d ?? "", oe = o(() => D === null ? void 0 : e.find((e) => e.key === D.columnKey && e.sortValue !== void 0), [e, D]), k = oe?.sortValue, se = o(() => k === void 0 ? t : _x(t, D, k), [
31902
31902
  t,
31903
- E,
31904
- O
31905
- ]), le = se === void 0 ? null : E, k = _ === void 0 ? null : sx(ce, b ?? ne, _), ue = k === null ? ce : k.pageRows, de = k !== null && k.pageCount > 1 ? /* @__PURE__ */ v(ox, {
31906
- page: k,
31903
+ D,
31904
+ k
31905
+ ]), ce = oe === void 0 ? null : D, le = _ === void 0 ? null : sx(se, b ?? te, _), ue = le === null ? se : le.pageRows, de = le !== null && le.pageCount > 1 ? /* @__PURE__ */ v(ox, {
31906
+ page: le,
31907
31907
  labels: S,
31908
- onPageChange: D
31909
- }) : null, fe = C === void 0 ? e : [fx(C, ue, (e) => String(n ? n(e, t.indexOf(e)) : t.indexOf(e))), ...e];
31908
+ onPageChange: O
31909
+ }) : null, A = C === void 0 ? e : [fx(C, ue, (e) => String(n ? n(e, t.indexOf(e)) : t.indexOf(e))), ...e];
31910
31910
  if (t.length === 0 && s) return /* @__PURE__ */ v("div", {
31911
31911
  className: `rounded-lg ${l ? "border border-border" : ""} bg-surface px-3 py-4 text-xs text-foreground-subtle text-center ${c ?? ""}`,
31912
31912
  children: s
31913
31913
  });
31914
31914
  if (t.length === 0) return null;
31915
- let A = /* @__PURE__ */ v("div", {
31915
+ let fe = /* @__PURE__ */ v("div", {
31916
31916
  className: [
31917
31917
  "rounded-lg",
31918
31918
  l ? "border border-border" : "",
31919
31919
  "bg-surface overflow-x-auto",
31920
- ae ? `${oe} overflow-y-auto` : "",
31920
+ ie ? `${ae} overflow-y-auto` : "",
31921
31921
  f ? "min-h-0 flex-1" : "",
31922
31922
  !f && de === null ? c ?? "" : ""
31923
31923
  ].filter(Boolean).join(" "),
31924
31924
  children: /* @__PURE__ */ y("table", {
31925
- className: `w-full text-xs ${ae ? "border-separate border-spacing-0" : ""}`,
31925
+ className: `w-full text-xs ${ie ? "border-separate border-spacing-0" : ""}`,
31926
31926
  style: { minWidth: `${i}px` },
31927
31927
  children: [/* @__PURE__ */ v("thead", {
31928
31928
  className: "bg-surface",
31929
- children: /* @__PURE__ */ v("tr", { children: fe.map((e) => {
31930
- let t = e.align ?? "left", n = e.nowrap ?? !0, r = e.sortValue !== void 0, i = le !== null && le.columnKey === e.key;
31929
+ children: /* @__PURE__ */ v("tr", { children: A.map((e) => {
31930
+ let t = e.align ?? "left", n = e.nowrap ?? !0, r = e.sortValue !== void 0, i = ce !== null && ce.columnKey === e.key;
31931
31931
  return /* @__PURE__ */ v("th", {
31932
- "aria-sort": r ? vx(le, e.key) : void 0,
31932
+ "aria-sort": r ? vx(ce, e.key) : void 0,
31933
31933
  title: r ? void 0 : e.notSortableReason,
31934
31934
  className: [
31935
31935
  "px-3 py-2 text-foreground-subtle font-medium bg-surface border-b border-border",
31936
- ae ? "sticky top-0 z-10" : "",
31936
+ ie ? "sticky top-0 z-10" : "",
31937
31937
  yx[t],
31938
31938
  n ? "whitespace-nowrap" : "",
31939
31939
  e.width ?? ""
@@ -31941,8 +31941,8 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31941
31941
  children: r ? /* @__PURE__ */ v(px, {
31942
31942
  label: e.headerRender ? e.headerRender() : e.header,
31943
31943
  active: i,
31944
- dir: i && le !== null ? le.dir : "asc",
31945
- onSort: () => ie(hx(E, e.key))
31944
+ dir: i && ce !== null ? ce.dir : "asc",
31945
+ onSort: () => re(hx(D, e.key))
31946
31946
  }) : e.headerRender ? e.headerRender() : e.header
31947
31947
  }, e.key);
31948
31948
  }) })
@@ -31951,7 +31951,7 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31951
31951
  return /* @__PURE__ */ y(a, { children: [/* @__PURE__ */ v("tr", {
31952
31952
  onClick: s ? () => r(e, t) : void 0,
31953
31953
  className: [s ? "cursor-pointer hover:bg-primary/5" : "hover:bg-primary/5", o].filter(Boolean).join(" "),
31954
- children: fe.map((n) => {
31954
+ children: A.map((n) => {
31955
31955
  let r = n.align ?? "left", i = n.nowrap ?? !0;
31956
31956
  return /* @__PURE__ */ v("td", {
31957
31957
  "data-cell": n.key,
@@ -31967,7 +31967,7 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31967
31967
  "data-expanded-row": "",
31968
31968
  className: "bg-surface",
31969
31969
  children: /* @__PURE__ */ v("td", {
31970
- colSpan: fe.length,
31970
+ colSpan: A.length,
31971
31971
  className: "border-b border-border px-3 py-2",
31972
31972
  children: c
31973
31973
  })
@@ -31977,10 +31977,10 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31977
31977
  });
31978
31978
  return de === null ? f ? /* @__PURE__ */ v("div", {
31979
31979
  className: `flex min-h-0 flex-1 flex-col ${c ?? ""}`,
31980
- children: A
31981
- }) : A : /* @__PURE__ */ y("div", {
31980
+ children: fe
31981
+ }) : fe : /* @__PURE__ */ y("div", {
31982
31982
  className: f ? `flex min-h-0 flex-1 flex-col ${c ?? ""}` : c,
31983
- children: [A, de]
31983
+ children: [fe, de]
31984
31984
  });
31985
31985
  }
31986
31986
  //#endregion
@@ -32069,12 +32069,12 @@ var Ex = class {
32069
32069
  e(), new Ex(), e(), e(), e(), e(), e(), e();
32070
32070
  //#endregion
32071
32071
  //#region ../ui-library/src/composites/detection-colors.ts
32072
- var Dx = Ce(), Ox = new Set([
32072
+ var Dx = Ve(), Ox = new Set([
32073
32073
  "live",
32074
32074
  "recording",
32075
32075
  "heatmapScrub"
32076
32076
  ]);
32077
- Object.freeze(Object.fromEntries(He.filter((e) => !Ox.has(e)).map((e) => [e, O(Dx.swatches, Dx.fallbacks, e)])));
32077
+ Object.freeze(Object.fromEntries(be.filter((e) => !Ox.has(e)).map((e) => [e, $e(Dx.swatches, Dx.fallbacks, e)])));
32078
32078
  function kx(e) {
32079
32079
  let t = e[0];
32080
32080
  if (t === void 0) throw Error("display palette has no fallback colour");
@@ -32082,7 +32082,7 @@ function kx(e) {
32082
32082
  }
32083
32083
  //#endregion
32084
32084
  //#region ../ui-library/src/composites/detection-result-tree.tsx
32085
- kx(Dx.fallbacks), e(), Ce(), d({ status: "absent" }), e(), e();
32085
+ kx(Dx.fallbacks), e(), Ve(), d({ status: "absent" }), e(), e();
32086
32086
  //#endregion
32087
32087
  //#region ../../node_modules/superjson/dist/double-indexed-kv.js
32088
32088
  var Ax = class {
@@ -32760,50 +32760,50 @@ var JS = {
32760
32760
  "error"
32761
32761
  ], XS = 500, ZS = 300, QS = 24, $S = 1024 * 1024;
32762
32762
  function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integrationId: c, requestId: u, level: d, maxHeight: f = "max-h-96", showScope: p = !1, showDeviceChip: m = !1, showFilters: h = !0, showSourceSelect: _, limit: b = 100, liveBuffer: x, onClose: C, className: w }) {
32763
- let T = S(), ee = _ ?? h, [te, ne] = g(""), [re, E] = g(""), [ie, D] = g(d ?? "info"), [ae, oe] = g(void 0), se = e, O = n ?? (te || void 0), ce = r ?? (re ? Number(re) : void 0), le = c, k = u, ue = o(() => {
32763
+ let T = S(), E = _ ?? h, [ee, te] = g(""), [ne, D] = g(""), [re, O] = g(d ?? "info"), [ie, ae] = g(void 0), oe = e, k = n ?? (ee || void 0), se = r ?? (ne ? Number(ne) : void 0), ce = c, le = u, ue = o(() => {
32764
32764
  let e = {};
32765
- return se && (e.agentId = se), O && (e.addonId = O), a !== void 0 && Number.isFinite(a) ? e.containerDeviceId = a : ce !== void 0 && Number.isFinite(ce) && (e.deviceId = ce), le && (e.integrationId = le), k && (e.requestId = k), Object.keys(e).length > 0 ? e : void 0;
32765
+ return oe && (e.agentId = oe), k && (e.addonId = k), a !== void 0 && Number.isFinite(a) ? e.containerDeviceId = a : se !== void 0 && Number.isFinite(se) && (e.deviceId = se), ce && (e.integrationId = ce), le && (e.requestId = le), Object.keys(e).length > 0 ? e : void 0;
32766
32766
  }, [
32767
+ oe,
32768
+ k,
32767
32769
  se,
32768
- O,
32769
- ce,
32770
32770
  a,
32771
- le,
32772
- k
32773
- ]), de = zS(XS), fe = x ?? de, A = fe.entries, [pe, me] = g(0), [he, ge] = g(!0), _e = t(!1), [ve, ye] = g(!1), [be, xe] = g(!1), [j, Se] = g(/* @__PURE__ */ new Set()), [Ce, we] = g(""), Te = t(null), Ee = `${se ?? ""}:${O ?? ""}:${String(ce ?? "")}:${String(a ?? "")}:${le ?? ""}:${k ?? ""}`, De = t(Ee);
32771
+ ce,
32772
+ le
32773
+ ]), de = zS(XS), A = x ?? de, fe = A.entries, [pe, me] = g(0), [he, ge] = g(!0), _e = t(!1), [ve, ye] = g(!1), [be, xe] = g(!1), [Se, Ce] = g(/* @__PURE__ */ new Set()), [j, we] = g(""), Te = t(null), Ee = `${oe ?? ""}:${k ?? ""}:${String(se ?? "")}:${String(a ?? "")}:${ce ?? ""}:${le ?? ""}`, De = t(Ee);
32774
32774
  i(() => {
32775
- De.current !== Ee && (De.current = Ee, fe.reset(), me(0), Se(/* @__PURE__ */ new Set()), ye(!1));
32776
- }, [Ee, fe]);
32777
- let Oe = BS(Ce, ZS).trim(), ke = F.logs.sources.useQuery(void 0, { staleTime: 6e4 }), Ae = o(() => (ke.data ?? []).filter((e) => e.readable), [ke.data]), je = GS(o(() => ({
32778
- ...ae ? { source: ae } : {},
32779
- level: ie,
32775
+ De.current !== Ee && (De.current = Ee, A.reset(), me(0), Ce(/* @__PURE__ */ new Set()), ye(!1));
32776
+ }, [Ee, A]);
32777
+ let Oe = BS(j, ZS).trim(), ke = F.logs.sources.useQuery(void 0, { staleTime: 6e4 }), Ae = o(() => (ke.data ?? []).filter((e) => e.readable), [ke.data]), je = GS(o(() => ({
32778
+ ...ie ? { source: ie } : {},
32779
+ level: re,
32780
32780
  ...Oe ? { text: Oe } : {},
32781
32781
  ...ue ? { tags: ue } : {}
32782
32782
  }), [
32783
- ae,
32784
32783
  ie,
32784
+ re,
32785
32785
  Oe,
32786
32786
  ue
32787
32787
  ]), b);
32788
32788
  F.logs.subscribe.useSubscription({
32789
- level: ie,
32789
+ level: re,
32790
32790
  ...Oe ? { text: Oe } : {},
32791
32791
  ...ue ? { tags: ue } : {}
32792
32792
  }, { onData: (e) => {
32793
- fe.append(e);
32793
+ A.append(e);
32794
32794
  } });
32795
- let Me = `${ae ?? ""}|${ie}|${Oe}`, Ne = t(Me);
32795
+ let Me = `${ie ?? ""}|${re}|${Oe}`, Ne = t(Me);
32796
32796
  i(() => {
32797
- Ne.current !== Me && (Ne.current = Me, fe.reset(), ge(!0));
32798
- }, [Me, fe]);
32797
+ Ne.current !== Me && (Ne.current = Me, A.reset(), ge(!0));
32798
+ }, [Me, A]);
32799
32799
  let Pe = o(() => {
32800
- let e = US(je.entries, A);
32800
+ let e = US(je.entries, fe);
32801
32801
  return pe > 0 ? e.filter((e) => new Date(e.timestamp).getTime() > pe) : e;
32802
32802
  }, [
32803
32803
  je.entries,
32804
- A,
32804
+ fe,
32805
32805
  pe
32806
- ]), Fe = t(null), Ie = l(() => {
32806
+ ]), Fe = t(null), M = l(() => {
32807
32807
  if (je.status === "loading" || je.done) return;
32808
32808
  let e = Te.current;
32809
32809
  e && (Fe.current = {
@@ -32818,26 +32818,26 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32818
32818
  let n = e.top + (t.scrollHeight - e.height);
32819
32819
  Math.abs(n - t.scrollTop) < 1 || (_e.current = !0, t.scrollTop = n);
32820
32820
  }, [je.status, je.entries.length]);
32821
- let Le = l((e) => {
32821
+ let Ie = l((e) => {
32822
32822
  let t = Te.current;
32823
32823
  t && (_e.current = !0, t.scrollTo({
32824
32824
  top: t.scrollHeight,
32825
32825
  ...e ? { behavior: e } : {}
32826
32826
  }));
32827
- }, []), [Re, ze] = g(!1), M = Pe.length > 0 ? HS(Pe[Pe.length - 1]) : "", Be = t(M);
32827
+ }, []), [Le, Re] = g(!1), ze = Pe.length > 0 ? HS(Pe[Pe.length - 1]) : "", Be = t(ze);
32828
32828
  s(() => {
32829
- let e = M !== "" && M !== Be.current;
32830
- Be.current = M, e && (he ? Le() : ze(!0));
32829
+ let e = ze !== "" && ze !== Be.current;
32830
+ Be.current = ze, e && (he ? Ie() : Re(!0));
32831
32831
  }, [
32832
- M,
32832
+ ze,
32833
32833
  he,
32834
- Le
32834
+ Ie
32835
32835
  ]), i(() => {
32836
- he && Re && ze(!1);
32837
- }, [he, Re]);
32836
+ he && Le && Re(!1);
32837
+ }, [he, Le]);
32838
32838
  let Ve = l(() => {
32839
- ge(!0), Le("smooth");
32840
- }, [Le]), He = l(() => {
32839
+ ge(!0), Ie("smooth");
32840
+ }, [Ie]), He = l(() => {
32841
32841
  if (_e.current) {
32842
32842
  _e.current = !1;
32843
32843
  return;
@@ -32845,10 +32845,10 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32845
32845
  let e = Te.current;
32846
32846
  if (!e) return;
32847
32847
  let t = KS(e, 40);
32848
- ge((e) => e === t ? e : t), e.scrollTop <= QS && Ie();
32849
- }, [Ie]), Ue = o(() => Pe.filter((e) => e.tags && Object.keys(e.tags).length > 0 || e.meta && Object.keys(e.meta).length > 0).map(HS), [Pe]), We = l(() => {
32850
- ye((e) => (e && Se(/* @__PURE__ */ new Set()), !e));
32851
- }, []), N = l(() => {
32848
+ ge((e) => e === t ? e : t), e.scrollTop <= QS && M();
32849
+ }, [M]), Ue = o(() => Pe.filter((e) => e.tags && Object.keys(e.tags).length > 0 || e.meta && Object.keys(e.meta).length > 0).map(HS), [Pe]), We = l(() => {
32850
+ ye((e) => (e && Ce(/* @__PURE__ */ new Set()), !e));
32851
+ }, []), Ge = l(() => {
32852
32852
  let e = Pe.map((e) => {
32853
32853
  let t = new Date(e.timestamp).toLocaleTimeString(), n = e.tags ? " " + Object.entries(e.tags).filter(([, e]) => e).map(([e, t]) => `${e}=${t}`).join(" ") : "";
32854
32854
  return `${t} [${e.level.toUpperCase()}]${e.scope ? ` [${e.scope}]` : ""}${n} ${e.message}`;
@@ -32856,14 +32856,14 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32856
32856
  navigator.clipboard.writeText(e.join("\n")).then(() => {
32857
32857
  xe(!0), setTimeout(() => xe(!1), 1500);
32858
32858
  });
32859
- }, [Pe]), Ge = F.logs.clear.useMutation(), Ke = l(() => {
32860
- me(Date.now()), fe.reset(), Ge.mutate(ue ? { tags: ue } : {});
32859
+ }, [Pe]), N = F.logs.clear.useMutation(), Ke = l(() => {
32860
+ me(Date.now()), A.reset(), N.mutate(ue ? { tags: ue } : {});
32861
32861
  }, [
32862
- fe,
32863
- Ge,
32862
+ A,
32863
+ N,
32864
32864
  ue
32865
32865
  ]), qe = l((e) => {
32866
- Se((t) => {
32866
+ Ce((t) => {
32867
32867
  let n = new Set(t);
32868
32868
  return n.has(e) ? n.delete(e) : n.add(e), n;
32869
32869
  });
@@ -32886,41 +32886,41 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32886
32886
  className: "text-[10px] uppercase tracking-wide text-foreground-subtle font-medium",
32887
32887
  children: T("uiLibrary.logStream.logs", "Logs")
32888
32888
  }),
32889
- se && /* @__PURE__ */ v(rC, {
32889
+ oe && /* @__PURE__ */ v(rC, {
32890
32890
  label: T("uiLibrary.logStream.scopeAgent", "agent"),
32891
- value: se
32891
+ value: oe
32892
32892
  }),
32893
- O && /* @__PURE__ */ v(rC, {
32893
+ k && /* @__PURE__ */ v(rC, {
32894
32894
  label: T("uiLibrary.logStream.scopeAddon", "addon"),
32895
- value: O
32895
+ value: k
32896
32896
  }),
32897
- ce !== void 0 && /* @__PURE__ */ v(rC, {
32897
+ se !== void 0 && /* @__PURE__ */ v(rC, {
32898
32898
  label: T("uiLibrary.logStream.scopeDevice", "device"),
32899
- value: `#${ce}`
32899
+ value: `#${se}`
32900
32900
  }),
32901
32901
  /* @__PURE__ */ v("div", {
32902
32902
  className: "flex rounded border border-border overflow-hidden text-[9px]",
32903
32903
  children: YS.map((e, t) => /* @__PURE__ */ y("button", {
32904
32904
  type: "button",
32905
- onClick: () => D(e),
32906
- className: z("px-1.5 py-0.5 capitalize transition-colors", ie === e ? "bg-primary/10 text-primary" : "text-foreground-subtle hover:bg-surface-hover", t > 0 && "border-l border-border"),
32905
+ onClick: () => O(e),
32906
+ className: z("px-1.5 py-0.5 capitalize transition-colors", re === e ? "bg-primary/10 text-primary" : "text-foreground-subtle hover:bg-surface-hover", t > 0 && "border-l border-border"),
32907
32907
  children: [e, "+"]
32908
32908
  }, e))
32909
32909
  }),
32910
- ee && Ae.length > 1 && /* @__PURE__ */ v("div", {
32910
+ E && Ae.length > 1 && /* @__PURE__ */ v("div", {
32911
32911
  className: "w-36",
32912
32912
  children: /* @__PURE__ */ v(to, {
32913
32913
  "aria-label": T("uiLibrary.logStream.source", "Log source"),
32914
32914
  className: "h-5 text-[10px]",
32915
- value: ae ?? Ae.find((e) => e.isDefault)?.addonId ?? "",
32916
- onChange: (e) => oe(e.target.value),
32915
+ value: ie ?? Ae.find((e) => e.isDefault)?.addonId ?? "",
32916
+ onChange: (e) => ae(e.target.value),
32917
32917
  options: Ae.map((e) => ({
32918
32918
  value: e.addonId,
32919
32919
  label: e.addonId
32920
32920
  }))
32921
32921
  })
32922
32922
  }),
32923
- ee && Ae.length <= 1 && je.source && /* @__PURE__ */ v("span", {
32923
+ E && Ae.length <= 1 && je.source && /* @__PURE__ */ v("span", {
32924
32924
  className: "text-[9px] text-foreground-subtle",
32925
32925
  children: T("uiLibrary.logStream.sourceName", "Source: {{name}}", { name: je.source })
32926
32926
  }),
@@ -32942,7 +32942,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32942
32942
  /* @__PURE__ */ v(aC, {
32943
32943
  icon: cn,
32944
32944
  label: be ? T("uiLibrary.logStream.copied", "Copied!") : T("uiLibrary.logStream.copy", "Copy"),
32945
- onClick: N,
32945
+ onClick: Ge,
32946
32946
  disabled: Pe.length === 0
32947
32947
  }),
32948
32948
  /* @__PURE__ */ v(aC, {
@@ -32954,11 +32954,11 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32954
32954
  className: "relative",
32955
32955
  children: [/* @__PURE__ */ v("input", {
32956
32956
  type: "text",
32957
- value: Ce,
32957
+ value: j,
32958
32958
  onChange: (e) => we(e.target.value),
32959
32959
  placeholder: T("uiLibrary.logStream.searchPlaceholder", "Search…"),
32960
32960
  className: "w-32 pl-1.5 pr-5 py-0.5 rounded border border-border bg-background text-foreground text-[10px] focus:outline-none focus:border-primary/50"
32961
- }), Ce && /* @__PURE__ */ v("button", {
32961
+ }), j && /* @__PURE__ */ v("button", {
32962
32962
  type: "button",
32963
32963
  onClick: () => we(""),
32964
32964
  className: "absolute right-1 top-1/2 -translate-y-1/2 text-foreground-subtle hover:text-foreground",
@@ -32966,9 +32966,9 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32966
32966
  children: /* @__PURE__ */ v(Xr, { className: "h-2.5 w-2.5" })
32967
32967
  })]
32968
32968
  }),
32969
- A.length > 0 && /* @__PURE__ */ v("span", {
32969
+ fe.length > 0 && /* @__PURE__ */ v("span", {
32970
32970
  className: "text-[9px] text-emerald-400 font-medium",
32971
- children: T("uiLibrary.logStream.live", "+{{count}} live", { count: A.length })
32971
+ children: T("uiLibrary.logStream.live", "+{{count}} live", { count: fe.length })
32972
32972
  })
32973
32973
  ]
32974
32974
  }), C && /* @__PURE__ */ v("button", {
@@ -32988,8 +32988,8 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32988
32988
  children: T("uiLibrary.logStream.addon", "Addon:")
32989
32989
  }), /* @__PURE__ */ v("input", {
32990
32990
  type: "text",
32991
- value: te,
32992
- onChange: (e) => ne(e.target.value),
32991
+ value: ee,
32992
+ onChange: (e) => te(e.target.value),
32993
32993
  placeholder: T("uiLibrary.logStream.all", "all"),
32994
32994
  className: "w-28 px-1.5 py-0.5 rounded border border-border bg-background text-foreground text-[10px] focus:outline-none focus:border-primary/50"
32995
32995
  })]
@@ -33001,8 +33001,8 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33001
33001
  }), /* @__PURE__ */ v("input", {
33002
33002
  type: "text",
33003
33003
  inputMode: "numeric",
33004
- value: re,
33005
- onChange: (e) => E(e.target.value),
33004
+ value: ne,
33005
+ onChange: (e) => D(e.target.value),
33006
33006
  placeholder: T("uiLibrary.logStream.all", "all"),
33007
33007
  className: "w-16 px-1.5 py-0.5 rounded border border-border bg-background text-foreground text-[10px] focus:outline-none focus:border-primary/50"
33008
33008
  })]
@@ -33010,7 +33010,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33010
33010
  }),
33011
33011
  /* @__PURE__ */ y("div", {
33012
33012
  className: "relative flex-1 min-h-0 flex flex-col",
33013
- children: [!he && Re && /* @__PURE__ */ y("button", {
33013
+ children: [!he && Le && /* @__PURE__ */ y("button", {
33014
33014
  type: "button",
33015
33015
  onClick: Ve,
33016
33016
  className: "absolute bottom-2 left-1/2 -translate-x-1/2 z-10 inline-flex items-center gap-1 px-2 py-1 rounded-full border border-primary/40 bg-primary/15 text-primary text-[10px] font-medium shadow-md backdrop-blur-sm hover:bg-primary/25 transition-colors",
@@ -33027,7 +33027,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33027
33027
  scannedBytes: je.scannedBytes,
33028
33028
  hasRows: Pe.length > 0,
33029
33029
  error: je.error,
33030
- onLoadOlder: Ie,
33030
+ onLoadOlder: M,
33031
33031
  onCancel: je.cancel
33032
33032
  }),
33033
33033
  je.status === "idle" && je.done && Pe.length === 0 && /* @__PURE__ */ v("div", {
@@ -33037,7 +33037,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33037
33037
  Pe.length > 0 && /* @__PURE__ */ v("table", {
33038
33038
  className: "w-full",
33039
33039
  children: /* @__PURE__ */ v("tbody", { children: Pe.map((e) => {
33040
- let t = JS[e.level] ?? JS.info, n = t.icon, r = Ze(e), i = ve || j.has(r), a = e.tags && Object.keys(e.tags).length > 0, o = e.meta && Object.keys(e.meta).length > 0, s = a || o;
33040
+ let t = JS[e.level] ?? JS.info, n = t.icon, r = Ze(e), i = ve || Se.has(r), a = e.tags && Object.keys(e.tags).length > 0, o = e.meta && Object.keys(e.meta).length > 0, s = a || o;
33041
33041
  return /* @__PURE__ */ y("tr", {
33042
33042
  className: z("hover:bg-surface-hover/30 border-b border-border/30", s && "cursor-pointer"),
33043
33043
  onClick: s ? () => qe(r) : void 0,
@@ -33197,30 +33197,30 @@ function aC({ icon: e, label: t, onClick: n, disabled: r, active: i }) {
33197
33197
  children: [/* @__PURE__ */ v(e, { className: "h-2.5 w-2.5" }), t]
33198
33198
  });
33199
33199
  }
33200
- e(), N.AddonStarted, N.AddonInstalled, N.AddonRestarted, N.AddonUpdated, N.AddonStopped, N.AddonUninstalled, N.AddonCrashed, N.AddonError, N.DetectionPhaseTransition, N.DetectionResult, N.DetectionEvent, N.DetectionCameraNative, N.ProviderMotion, N.MotionOnMotionChanged, N.MotionAnalysis, N.MotionZonesRaw, N.ProviderDetection, N.PipelineAudioInferenceResult, N.AgentOnline, N.AgentOffline, N.DeviceRegistered, N.DeviceUnregistered, N.DeviceStateChanged, N.EventEmitted;
33201
- var oC = Object.freeze([...D()]), sC = Object.freeze([
33202
- N.PipelineCameraMetricsSnapshot,
33203
- N.PipelineRunnerLoadSnapshot,
33204
- N.PipelineEngineMetricsSnapshot,
33205
- N.PipelineInferenceResult,
33206
- N.PipelineTrace,
33207
- N.PipelineProgress,
33208
- N.StreamBrokerMetricsSnapshot,
33209
- N.MetricsNodeResourcesSnapshot,
33210
- N.MetricsNodeProcessesSnapshot,
33211
- N.ClusterTopologySnapshot,
33212
- N.MotionAnalysis,
33213
- N.MotionZonesRaw,
33214
- N.DetectionResult,
33215
- N.PipelineAudioInferenceResult,
33216
- N.PlatformProbePhase,
33217
- N.BenchmarkProgress,
33218
- N.ModelDownloadProgress,
33219
- N.ProviderMotion
33200
+ e(), M.AddonStarted, M.AddonInstalled, M.AddonRestarted, M.AddonUpdated, M.AddonStopped, M.AddonUninstalled, M.AddonCrashed, M.AddonError, M.DetectionPhaseTransition, M.DetectionResult, M.DetectionEvent, M.DetectionCameraNative, M.ProviderMotion, M.MotionOnMotionChanged, M.MotionAnalysis, M.MotionZonesRaw, M.ProviderDetection, M.PipelineAudioInferenceResult, M.AgentOnline, M.AgentOffline, M.DeviceRegistered, M.DeviceUnregistered, M.DeviceStateChanged, M.EventEmitted;
33201
+ var oC = Object.freeze([...he()]), sC = Object.freeze([
33202
+ M.PipelineCameraMetricsSnapshot,
33203
+ M.PipelineRunnerLoadSnapshot,
33204
+ M.PipelineEngineMetricsSnapshot,
33205
+ M.PipelineInferenceResult,
33206
+ M.PipelineTrace,
33207
+ M.PipelineProgress,
33208
+ M.StreamBrokerMetricsSnapshot,
33209
+ M.MetricsNodeResourcesSnapshot,
33210
+ M.MetricsNodeProcessesSnapshot,
33211
+ M.ClusterTopologySnapshot,
33212
+ M.MotionAnalysis,
33213
+ M.MotionZonesRaw,
33214
+ M.DetectionResult,
33215
+ M.PipelineAudioInferenceResult,
33216
+ M.PlatformProbePhase,
33217
+ M.BenchmarkProgress,
33218
+ M.ModelDownloadProgress,
33219
+ M.ProviderMotion
33220
33220
  ]), cC = new Set(sC);
33221
33221
  //#endregion
33222
33222
  //#region ../ui-library/src/composites/device-controls/atoms.tsx
33223
- Object.freeze(oC.filter((e) => !cC.has(e))), e(), Object.freeze([...new Set(Ge.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), e(), e();
33223
+ Object.freeze(oC.filter((e) => !cC.has(e))), e(), Object.freeze([...new Set(Ke.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), e(), e();
33224
33224
  function lC({ value: e, unit: t, onDelta: n }) {
33225
33225
  let r = S();
33226
33226
  return /* @__PURE__ */ y("div", {
@@ -33498,13 +33498,13 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33498
33498
  slice: (e) => e.state.lockControl
33499
33499
  }), { display: l, applyOptimistic: u } = OC(s, { enabled: r ?? !0 }), [d, f] = g(null), [p, m] = g(!1), [h, _] = g(null);
33500
33500
  if (l === void 0) return null;
33501
- let b = l.state === "locked" || l.state === "locking", x = !c || l.state === "jammed", C = i?.includes(je.LockOpen) === !0, w = n === "compact", T = () => {
33501
+ let b = l.state === "locked" || l.state === "locking", x = !c || l.state === "jammed", C = i?.includes(Be.LockOpen) === !0, w = n === "compact", T = () => {
33502
33502
  u({ state: "locking" }), o?.lock({});
33503
- }, ee = () => {
33503
+ }, E = () => {
33504
33504
  u({ state: "unlocking" }), o?.unlock({});
33505
- }, te = () => {
33505
+ }, ee = () => {
33506
33506
  o?.open({});
33507
- }, ne = () => {
33507
+ }, te = () => {
33508
33508
  if (!x) {
33509
33509
  if (!b) {
33510
33510
  T();
@@ -33514,19 +33514,19 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33514
33514
  _(null), f("unlock");
33515
33515
  return;
33516
33516
  }
33517
- ee();
33517
+ E();
33518
33518
  }
33519
- }, re = () => {
33519
+ }, ne = () => {
33520
33520
  if (!x) {
33521
33521
  if (w) {
33522
33522
  _(null), f("open");
33523
33523
  return;
33524
33524
  }
33525
- te();
33525
+ ee();
33526
33526
  }
33527
- }, E = () => {
33527
+ }, D = () => {
33528
33528
  p || f(null);
33529
- }, ie = async () => {
33529
+ }, re = async () => {
33530
33530
  if (!(p || d === null)) {
33531
33531
  _(null), m(!0);
33532
33532
  try {
@@ -33537,17 +33537,17 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33537
33537
  m(!1);
33538
33538
  }
33539
33539
  }
33540
- }, D = b ? a("uiLibrary.lockPanel.unlock", "Unlock") : a("uiLibrary.lockPanel.lock", "Lock"), ae = d === "open" ? a("uiLibrary.lockPanel.openDoorTitle", "Open door?") : a("uiLibrary.lockPanel.unlockTitle", "Unlock device?"), oe = d === "open" ? a("uiLibrary.lockPanel.openDoorBody", "This will release the latch and open the door.") : a("uiLibrary.lockPanel.unlockBody", "This will unlock the device."), se = d === "open" ? a("uiLibrary.lockPanel.confirmOpen", "Confirm open") : a("uiLibrary.lockPanel.confirmUnlock", "Confirm unlock"), O = v(d === "open" ? pn : In, { className: "h-4 w-4 text-amber-400" });
33540
+ }, O = b ? a("uiLibrary.lockPanel.unlock", "Unlock") : a("uiLibrary.lockPanel.lock", "Lock"), ie = d === "open" ? a("uiLibrary.lockPanel.openDoorTitle", "Open door?") : a("uiLibrary.lockPanel.unlockTitle", "Unlock device?"), ae = d === "open" ? a("uiLibrary.lockPanel.openDoorBody", "This will release the latch and open the door.") : a("uiLibrary.lockPanel.unlockBody", "This will unlock the device."), oe = d === "open" ? a("uiLibrary.lockPanel.confirmOpen", "Confirm open") : a("uiLibrary.lockPanel.confirmUnlock", "Confirm unlock"), k = v(d === "open" ? pn : In, { className: "h-4 w-4 text-amber-400" });
33541
33541
  return /* @__PURE__ */ y("div", {
33542
33542
  className: z("inline-flex items-center", n === "full" ? "gap-2" : "gap-1"),
33543
33543
  children: [
33544
33544
  /* @__PURE__ */ y("button", {
33545
33545
  type: "button",
33546
- "aria-label": D,
33547
- title: l.state === "jammed" ? a("uiLibrary.lockPanel.jammed", "Jammed") : D,
33546
+ "aria-label": O,
33547
+ title: l.state === "jammed" ? a("uiLibrary.lockPanel.jammed", "Jammed") : O,
33548
33548
  disabled: x,
33549
33549
  onClick: (e) => {
33550
- e.stopPropagation(), ne();
33550
+ e.stopPropagation(), te();
33551
33551
  },
33552
33552
  className: z("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", b ? "text-success" : "text-warning", x && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
33553
33553
  children: [v(b ? Ln : In, { className: "h-3.5 w-3.5" }), n === "full" && /* @__PURE__ */ v("span", { children: l.state })]
@@ -33558,7 +33558,7 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33558
33558
  title: a("uiLibrary.lockPanel.openDoor", "Open door"),
33559
33559
  disabled: x,
33560
33560
  onClick: (e) => {
33561
- e.stopPropagation(), re();
33561
+ e.stopPropagation(), ne();
33562
33562
  },
33563
33563
  className: z("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", "text-foreground-muted", x && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
33564
33564
  children: [/* @__PURE__ */ v(pn, { className: "h-3.5 w-3.5" }), n === "full" && /* @__PURE__ */ v("span", { children: a("uiLibrary.lockPanel.open", "Open") })]
@@ -33566,7 +33566,7 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33566
33566
  w && /* @__PURE__ */ v(ly, {
33567
33567
  open: d !== null,
33568
33568
  onOpenChange: (e) => {
33569
- e || E();
33569
+ e || D();
33570
33570
  },
33571
33571
  children: /* @__PURE__ */ y(dy, {
33572
33572
  width: "sm",
@@ -33574,8 +33574,8 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33574
33574
  children: [
33575
33575
  /* @__PURE__ */ y(fy, { children: [/* @__PURE__ */ y(my, {
33576
33576
  className: "flex items-center gap-2",
33577
- children: [O, ae]
33578
- }), /* @__PURE__ */ v(hy, { children: oe })] }),
33577
+ children: [k, ie]
33578
+ }), /* @__PURE__ */ v(hy, { children: ae })] }),
33579
33579
  h !== null && /* @__PURE__ */ v("div", {
33580
33580
  className: "mt-2 px-3 py-2 rounded border border-danger/40 bg-danger/10 text-xs text-danger",
33581
33581
  children: h
@@ -33585,18 +33585,18 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33585
33585
  variant: "ghost",
33586
33586
  size: "sm",
33587
33587
  disabled: p,
33588
- onClick: () => E(),
33588
+ onClick: () => D(),
33589
33589
  children: a("uiLibrary.lockPanel.cancel", "Cancel")
33590
33590
  }), /* @__PURE__ */ y(po, {
33591
33591
  type: "button",
33592
33592
  variant: "danger",
33593
33593
  size: "sm",
33594
- "aria-label": se,
33594
+ "aria-label": oe,
33595
33595
  disabled: p,
33596
33596
  onClick: () => {
33597
- ie();
33597
+ re();
33598
33598
  },
33599
- children: [p && /* @__PURE__ */ v(Fn, { className: "h-3.5 w-3.5 animate-spin" }), se]
33599
+ children: [p && /* @__PURE__ */ v(Fn, { className: "h-3.5 w-3.5 animate-spin" }), oe]
33600
33600
  })] })
33601
33601
  ]
33602
33602
  })
@@ -34188,7 +34188,7 @@ function qC(e, t) {
34188
34188
  //#endregion
34189
34189
  //#region ../ui-library/src/lib/resolve-sensor-display.ts
34190
34190
  function JC(e) {
34191
- if (e !== void 0) return ae(e) ?? e;
34191
+ if (e !== void 0) return de(e) ?? e;
34192
34192
  }
34193
34193
  function YC(e) {
34194
34194
  if (e.quantity !== void 0) {
@@ -34200,15 +34200,15 @@ function YC(e) {
34200
34200
  }
34201
34201
  }
34202
34202
  function XC(e) {
34203
- let t = e.capName === void 0 ? void 0 : e.display?.perCap?.[e.capName], n = t?.precision ?? e.display?.precision ?? e.roleDefault?.precision ?? e.declarationPrecision, r = YC(e), i = e.preference ?? Re, a = r === void 0 ? void 0 : Pe(r), o = r === void 0 ? void 0 : re(r, i), s = JC(t?.unit ?? e.display?.unit ?? e.roleDefault?.unit), c = s !== void 0 && a !== void 0 && s !== a && Ee(a, s), l = c ? s : o ?? "", u = r === "duration" || r === "information" || r === "duration-ms", d = (e) => u || a === void 0 || l.length === 0 || l === a ? e : oe(e, a, l) ?? e;
34203
+ let t = e.capName === void 0 ? void 0 : e.display?.perCap?.[e.capName], n = t?.precision ?? e.display?.precision ?? e.roleDefault?.precision ?? e.declarationPrecision, r = YC(e), i = e.preference ?? Me, a = r === void 0 ? void 0 : we(r), o = r === void 0 ? void 0 : ce(r, i), s = JC(t?.unit ?? e.display?.unit ?? e.roleDefault?.unit), c = s !== void 0 && a !== void 0 && s !== a && Ie(a, s), l = c ? s : o ?? "", u = r === "duration" || r === "information" || r === "duration-ms", d = (e) => u || a === void 0 || l.length === 0 || l === a ? e : ge(e, a, l) ?? e;
34204
34204
  return {
34205
34205
  unit: l,
34206
34206
  precision: n,
34207
34207
  toDisplayValue: d,
34208
- fromDisplayValue: (e) => u || a === void 0 || l.length === 0 || l === a ? e : oe(e, l, a) ?? e,
34208
+ fromDisplayValue: (e) => u || a === void 0 || l.length === 0 || l === a ? e : ge(e, l, a) ?? e,
34209
34209
  format: (e) => {
34210
34210
  if (r !== void 0 && !c) {
34211
- let t = k({
34211
+ let t = T({
34212
34212
  value: e,
34213
34213
  quantity: r,
34214
34214
  preference: i,
@@ -34459,7 +34459,7 @@ function uw({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
34459
34459
  slice: (e) => e.state.control
34460
34460
  }), { display: l, applyOptimistic: u } = OC(s, { enabled: i ?? !0 });
34461
34461
  if (l === void 0) return null;
34462
- let d = !c, f = a?.sourceInfo?.quantity, p = le(f) && f !== "device" && f !== "none" ? f : void 0;
34462
+ let d = !c, f = a?.sourceInfo?.quantity, p = ne(f) && f !== "device" && f !== "none" ? f : void 0;
34463
34463
  return /* @__PURE__ */ v("div", {
34464
34464
  "data-kind": l.kind,
34465
34465
  className: "inline-flex min-w-0 max-w-full items-center gap-1 rounded border border-border px-2 py-1 transition-colors",
@@ -34944,7 +34944,7 @@ function Aw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
34944
34944
  slice: (e) => e.state.cover
34945
34945
  }), { display: c, applyOptimistic: l } = OC(o, { enabled: r ?? !0 });
34946
34946
  if (a === void 0) return null;
34947
- let u = !s, d = (n ?? []).includes(je.CoverPositionable), f = (n ?? []).includes(je.CoverTilt), p = Sw(c?.state), m = c?.position ?? null, h = m !== null, g = c?.state === "open" || c?.state === "opening", _ = (e, t) => {
34947
+ let u = !s, d = (n ?? []).includes(Be.CoverPositionable), f = (n ?? []).includes(Be.CoverTilt), p = Sw(c?.state), m = c?.position ?? null, h = m !== null, g = c?.state === "open" || c?.state === "opening", _ = (e, t) => {
34948
34948
  u || !e || (t !== void 0 && l(t), e({}));
34949
34949
  }, b = (e) => {
34950
34950
  u || (l({ position: e }), a?.setPosition({ position: e }));
@@ -35197,7 +35197,7 @@ function Vw(e) {
35197
35197
  return t !== void 0 && Lw(t, n) ? {
35198
35198
  kind: "value",
35199
35199
  slice: n
35200
- } : e.addonId === Ze && e.snapshotStatus === "success" ? { kind: "quiet" } : { kind: "awaiting" };
35200
+ } : e.addonId === A && e.snapshotStatus === "success" ? { kind: "quiet" } : { kind: "awaiting" };
35201
35201
  }
35202
35202
  //#endregion
35203
35203
  //#region ../ui-library/src/composites/device-controls/sensor-hero-card.tsx
@@ -36573,7 +36573,7 @@ function MT({ label: e, busy: t, variant: n, onClick: r, children: i }) {
36573
36573
  function NT({ trpc: e, deviceId: t, features: n, optimistic: r }) {
36574
36574
  let i = S(), { cap: a, slice: o, available: s } = TT(e, t), { display: c, applyOptimistic: l } = OC(o, { enabled: r ?? !0 });
36575
36575
  if (a === void 0) return null;
36576
- let u = !s, d = (n ?? []).includes(je.ValvePositionable), f = Sw(c?.state), p = wT(c?.state, i), m = c?.position ?? null, h = m !== null, g = (e, t) => {
36576
+ let u = !s, d = (n ?? []).includes(Be.ValvePositionable), f = Sw(c?.state), p = wT(c?.state, i), m = c?.position ?? null, h = m !== null, g = (e, t) => {
36577
36577
  u || !e || (t !== void 0 && l(t), e({}));
36578
36578
  }, _ = (e) => {
36579
36579
  u || (l({ position: e }), a.setPosition({ position: e }));
@@ -37337,7 +37337,7 @@ function JT(e, t) {
37337
37337
  }
37338
37338
  function YT(e, t) {
37339
37339
  if (e === null) return "—";
37340
- let n = k({
37340
+ let n = T({
37341
37341
  value: e,
37342
37342
  quantity: t,
37343
37343
  precision: 0
@@ -37647,7 +37647,7 @@ function eE({ icon: e, label: t, value: n }) {
37647
37647
  function tE({ trpc: e, deviceId: t }) {
37648
37648
  let n = S(), { slice: r } = JT(e, t);
37649
37649
  if (r === void 0) return null;
37650
- let i = GT(r.condition, n), a = KT(r.condition), o = r.temperature === null ? void 0 : k({
37650
+ let i = GT(r.condition, n), a = KT(r.condition), o = r.temperature === null ? void 0 : T({
37651
37651
  value: r.temperature,
37652
37652
  quantity: "temperature",
37653
37653
  precision: 0
@@ -37670,7 +37670,7 @@ function tE({ trpc: e, deviceId: t }) {
37670
37670
  }),
37671
37671
  /* @__PURE__ */ v("span", {
37672
37672
  className: "text-base text-foreground-subtle",
37673
- children: o === void 0 ? k({
37673
+ children: o === void 0 ? T({
37674
37674
  value: 0,
37675
37675
  quantity: "temperature"
37676
37676
  }).unit : o.unit
@@ -37867,7 +37867,7 @@ function lE({ trpc: e, deviceId: t, deviceName: n }) {
37867
37867
  e();
37868
37868
  var uE = 20, dE = 9, fE = "#f59e0b", pE = "#ef4444";
37869
37869
  function mE(e, t) {
37870
- let n = k({
37870
+ let n = T({
37871
37871
  value: t,
37872
37872
  quantity: "duration"
37873
37873
  });
@@ -37877,7 +37877,7 @@ function mE(e, t) {
37877
37877
  });
37878
37878
  }
37879
37879
  function hE(e) {
37880
- return Math.min(Ae, Math.max(xe, e));
37880
+ return Math.min(ze, Math.max(Ge, e));
37881
37881
  }
37882
37882
  var gE = "\n@keyframes pf-eat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(2px)} }\n@keyframes pf-pulse { 0%,100%{opacity:.55} 50%{opacity:1} }\n@media (prefers-reduced-motion: reduce) {\n .pf-eat, .pf-pulse { animation: none !important; }\n}\n";
37883
37883
  function _E({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
@@ -38176,7 +38176,7 @@ function yE({ icon: e, label: t }) {
38176
38176
  });
38177
38177
  }
38178
38178
  function bE({ grams: e, low: t, eating: n }) {
38179
- let r = S(), i = Math.min(1, Math.max(0, (e ?? 0) / Ae)), a = t ? pE : fE, o = 52 - i * 24;
38179
+ let r = S(), i = Math.min(1, Math.max(0, (e ?? 0) / ze)), a = t ? pE : fE, o = 52 - i * 24;
38180
38180
  return /* @__PURE__ */ y("svg", {
38181
38181
  width: 72,
38182
38182
  height: 72,
@@ -38242,7 +38242,7 @@ function xE({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
38242
38242
  /* @__PURE__ */ v(SE, {
38243
38243
  label: a("uiLibrary.petFeeder.decreasePortion", "Decrease {{label}} portion", { label: e }),
38244
38244
  symbol: "−",
38245
- disabled: n || t <= xe,
38245
+ disabled: n || t <= Ge,
38246
38246
  onClick: () => r(hE(t - 1))
38247
38247
  }),
38248
38248
  /* @__PURE__ */ y("span", {
@@ -38255,7 +38255,7 @@ function xE({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
38255
38255
  /* @__PURE__ */ v(SE, {
38256
38256
  label: a("uiLibrary.petFeeder.increasePortion", "Increase {{label}} portion", { label: e }),
38257
38257
  symbol: "+",
38258
- disabled: n || t >= Ae,
38258
+ disabled: n || t >= ze,
38259
38259
  onClick: () => r(hE(t + 1))
38260
38260
  })
38261
38261
  ]
@@ -39594,7 +39594,7 @@ function DD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39594
39594
  slice: (e) => e.state.lockControl
39595
39595
  }), { display: s, applyOptimistic: c } = OC(a, { enabled: r ?? !0 });
39596
39596
  if (i === void 0 || s === void 0) return null;
39597
- let l = xD(s.state), u = SD(s.state) || !o, d = n?.includes(je.LockOpen) === !0, f = () => {
39597
+ let l = xD(s.state), u = SD(s.state) || !o, d = n?.includes(Be.LockOpen) === !0, f = () => {
39598
39598
  u || (l ? (c({ state: "unlocking" }), i.unlock({})) : (c({ state: "locking" }), i.lock({})));
39599
39599
  }, p = () => {
39600
39600
  u || i.open({});
@@ -39652,7 +39652,7 @@ function FD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39652
39652
  slice: (e) => e.state.color
39653
39653
  }), c = OC(a.slice, { enabled: r ?? !0 }), l = OC(o.slice, { enabled: r ?? !0 }), u = OC(s.slice, { enabled: r ?? !0 });
39654
39654
  if (a.cap === void 0 || c.display === void 0) return null;
39655
- let d = c.display.on === !0, f = !a.available, p = l.display?.percentage ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? ND : PD, _ = (n?.includes(je.LightColorMired) ?? !1) && s.cap !== void 0, b = u.display?.mireds, x = !s.available;
39655
+ let d = c.display.on === !0, f = !a.available, p = l.display?.percentage ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? ND : PD, _ = (n?.includes(Be.LightColorMired) ?? !1) && s.cap !== void 0, b = u.display?.mireds, x = !s.available;
39656
39656
  return /* @__PURE__ */ y("div", {
39657
39657
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-4",
39658
39658
  children: [
@@ -39777,7 +39777,7 @@ function RD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39777
39777
  slice: (e) => e.state.fanControl
39778
39778
  }), s = OC(a.slice, { enabled: r ?? !0 }), c = OC(o.slice, { enabled: r ?? !0 });
39779
39779
  if (a.cap === void 0 || s.display === void 0) return null;
39780
- let l = s.display.on === !0, u = !a.available, d = c.display?.percentage ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? ID : LD, h = n?.includes(je.FanSpeed) ?? !1, g = (n?.includes(je.FanOscillating) ?? !1) && o.cap !== void 0, _ = c.display?.availablePresets ?? [], b = (n?.includes(je.FanPreset) ?? !1) && o.cap !== void 0 && _.length > 0, x = c.display?.preset ?? "", C = c.display?.oscillating === !0, w = () => {
39780
+ let l = s.display.on === !0, u = !a.available, d = c.display?.percentage ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? ID : LD, h = n?.includes(Be.FanSpeed) ?? !1, g = (n?.includes(Be.FanOscillating) ?? !1) && o.cap !== void 0, _ = c.display?.availablePresets ?? [], b = (n?.includes(Be.FanPreset) ?? !1) && o.cap !== void 0 && _.length > 0, x = c.display?.preset ?? "", C = c.display?.oscillating === !0, w = () => {
39781
39781
  if (u) return;
39782
39782
  let e = !l;
39783
39783
  s.applyOptimistic({ on: e }), a.cap?.setState({ on: e });
@@ -39785,13 +39785,13 @@ function RD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39785
39785
  if (f) return;
39786
39786
  let e = !C;
39787
39787
  c.applyOptimistic({ oscillating: e }), o.cap?.setOscillating({ oscillating: e });
39788
- }, ee = (e) => {
39788
+ }, E = (e) => {
39789
39789
  if (f) return;
39790
39790
  let t = c.display;
39791
39791
  if (t === void 0) return;
39792
39792
  let n = t.percentageStep !== void 0 && t.percentageStep > 0 ? t.percentageStep : 1, r = Math.min(100, Math.max(0, Math.round(e * 100 / n) * n));
39793
39793
  c.applyOptimistic({ percentage: r }), o.cap?.setPercentage({ percentage: r });
39794
- }, te = (e) => {
39794
+ }, ee = (e) => {
39795
39795
  f || e === "" || (c.applyOptimistic({ preset: e }), o.cap?.setPreset({ preset: e }));
39796
39796
  };
39797
39797
  return /* @__PURE__ */ y("div", {
@@ -39802,7 +39802,7 @@ function RD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39802
39802
  children: h ? /* @__PURE__ */ y(SC, {
39803
39803
  fraction: p,
39804
39804
  color: m,
39805
- onDragFraction: ee,
39805
+ onDragFraction: E,
39806
39806
  children: [/* @__PURE__ */ y("div", {
39807
39807
  "data-testid": "speed-readout",
39808
39808
  className: "text-3xl font-bold tabular-nums text-foreground leading-none",
@@ -39833,7 +39833,7 @@ function RD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39833
39833
  value: x,
39834
39834
  disabled: f,
39835
39835
  onChange: (e) => {
39836
- e.stopPropagation(), te(e.target.value);
39836
+ e.stopPropagation(), ee(e.target.value);
39837
39837
  },
39838
39838
  className: z("bg-surface border border-border rounded px-1 py-0.5", f && "opacity-40 cursor-not-allowed"),
39839
39839
  children: [/* @__PURE__ */ v("option", {
@@ -39967,7 +39967,7 @@ function GD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39967
39967
  slice: (e) => e.state.mediaPlayer
39968
39968
  }), { display: c, applyOptimistic: l } = OC(o, { enabled: r ?? !0 });
39969
39969
  if (a === void 0 || c === void 0) return null;
39970
- let u = !s, d = BD(c.state), f = (n?.includes(je.MediaPlayerSeek) ?? !1) && c.durationMs !== null && c.durationMs > 0, p = n?.includes(je.MediaPlayerNext) ?? !1, m = n?.includes(je.MediaPlayerPrevious) ?? !1, h = (n?.includes(je.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
39970
+ let u = !s, d = BD(c.state), f = (n?.includes(Be.MediaPlayerSeek) ?? !1) && c.durationMs !== null && c.durationMs > 0, p = n?.includes(Be.MediaPlayerNext) ?? !1, m = n?.includes(Be.MediaPlayerPrevious) ?? !1, h = (n?.includes(Be.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
39971
39971
  u || (d === "play" ? (l({ state: "playing" }), a.play({})) : (l({ state: "paused" }), a.pause({})));
39972
39972
  }, _ = c.currentMedia?.artist ?? c.currentMedia?.album ?? null, b = VD(c.positionMs, c.durationMs), x = c.volumeLevel ?? 0;
39973
39973
  return /* @__PURE__ */ y("div", {
@@ -40861,13 +40861,13 @@ var PO = {
40861
40861
  HeroCard: Mw
40862
40862
  }
40863
40863
  };
40864
- Object.fromEntries(Object.values(M).map((e) => [e, PO[Ue[e]]])), M.Cover, M.Valve, M.Thermostat, M.Climate, M.Control, M.Button, M.MediaPlayer, M.AlarmPanel, M.Lock, M.Vacuum, M.LawnMower, M.Humidifier, M.Switch, M.Siren, M.Light, M.Fan, M.WaterHeater, M.Sensor, M.Presence, M.EventEmitter, M.Notifier, M.Script, M.Automation, M.Camera, M.Hub, M.Update, M.Generic, M.Weather, M.Container, M.Image, M.PetFeeder, M.Dishwasher, M.Washer, M.Dryer, new Set(Object.values(M));
40864
+ Object.fromEntries(Object.values(j).map((e) => [e, PO[xe[e]]])), j.Cover, j.Valve, j.Thermostat, j.Climate, j.Control, j.Button, j.MediaPlayer, j.AlarmPanel, j.Lock, j.Vacuum, j.LawnMower, j.Humidifier, j.Switch, j.Siren, j.Light, j.Fan, j.WaterHeater, j.Sensor, j.Presence, j.EventEmitter, j.Notifier, j.Script, j.Automation, j.Camera, j.Hub, j.Update, j.Generic, j.Weather, j.Container, j.Image, j.PetFeeder, j.Dishwasher, j.Washer, j.Dryer, new Set(Object.values(j));
40865
40865
  //#endregion
40866
40866
  //#region ../ui-library/src/lib/format-last-seen.ts
40867
40867
  var FO = 1e3;
40868
40868
  //#endregion
40869
40869
  //#region ../ui-library/src/composites/device-selector-picker.tsx
40870
- 24 * (60 * FO * 60), 30 * FO, e(), e(), e(), e(), e(), e(), d(null), e(), new Set([M.Sensor, M.Presence]), e(), d({}), e(), e(), Object.freeze([]), e(), e(), e(), rt("camstack:device-quick-detail", null), e(), e(), e(), e(), e(), e(), e(), e(), e(), K({
40870
+ 24 * (60 * FO * 60), 30 * FO, e(), e(), e(), e(), e(), e(), d(null), e(), new Set([j.Sensor, j.Presence]), e(), d({}), e(), e(), Object.freeze([]), e(), e(), e(), rt("camstack:device-quick-detail", null), e(), e(), e(), e(), e(), e(), e(), e(), e(), K({
40871
40871
  id: U(),
40872
40872
  stableId: H(),
40873
40873
  addonId: H(),
@@ -41169,20 +41169,20 @@ function ek({ nodes: e, selected: t, onSelect: n }) {
41169
41169
  });
41170
41170
  }
41171
41171
  var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onStepClick: c, stepBadge: l, selectedCell: d, single: f, reserveRightPx: p, label: m }, h) {
41172
- let _ = S(), b = o(() => RO(e), [e]), x = o(() => LO(n), [n]), C = t(null), w = f ? ZO : YO, T = `${w}rem repeat(${n.length}, 13rem)`, ee = n.length + 1, [te, ne] = g(!0);
41172
+ let _ = S(), b = o(() => RO(e), [e]), x = o(() => LO(n), [n]), C = t(null), w = f ? ZO : YO, T = `${w}rem repeat(${n.length}, 13rem)`, E = n.length + 1, [ee, te] = g(!0);
41173
41173
  s(() => {
41174
41174
  let e = C.current;
41175
41175
  if (!e || p <= 0) {
41176
- ne(!0);
41176
+ te(!0);
41177
41177
  return;
41178
41178
  }
41179
41179
  let t = () => {
41180
41180
  let t = e.getBoundingClientRect().left;
41181
- ne(window.innerWidth - p - t >= w * 16 + 208 + 24);
41181
+ te(window.innerWidth - p - t >= w * 16 + 208 + 24);
41182
41182
  };
41183
41183
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
41184
41184
  }, [p, w]);
41185
- let re = o(() => {
41185
+ let ne = o(() => {
41186
41186
  if (d === null) return null;
41187
41187
  let e = b.findIndex((e) => e.node.addonId === d.addonId);
41188
41188
  if (e < 0) return null;
@@ -41195,30 +41195,30 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41195
41195
  d,
41196
41196
  b,
41197
41197
  n
41198
- ]), [E, ie] = g({
41198
+ ]), [D, re] = g({
41199
41199
  r: 0,
41200
41200
  c: 0
41201
41201
  });
41202
41202
  i(() => {
41203
- re !== null && ie(re);
41204
- }, [re]);
41205
- let D = E.r < b.length && E.c < ee ? E : {
41203
+ ne !== null && re(ne);
41204
+ }, [ne]);
41205
+ let O = D.r < b.length && D.c < E ? D : {
41206
41206
  r: 0,
41207
41207
  c: 0
41208
- }, ae = (e, t) => {
41208
+ }, ie = (e, t) => {
41209
41209
  C.current?.querySelector(`[data-r="${e}"][data-c="${t}"]`)?.focus();
41210
41210
  };
41211
41211
  return u(h, () => ({ focusCell: (e, t) => {
41212
41212
  let r = b.findIndex((t) => t.node.addonId === e);
41213
41213
  if (r < 0) return;
41214
41214
  let i = t === null ? -1 : n.findIndex((e) => IO(e) === t), a = i < 0 ? 0 : i + 1;
41215
- ie({
41215
+ re({
41216
41216
  r,
41217
41217
  c: a
41218
- }), ae(r, a);
41218
+ }), ie(r, a);
41219
41219
  } }), [b, n]), s(() => {
41220
- if (re === null) return;
41221
- let e = C.current, t = e?.querySelector(`[data-r="${re.r}"][data-c="${re.c}"]`);
41220
+ if (ne === null) return;
41221
+ let e = C.current, t = e?.querySelector(`[data-r="${ne.r}"][data-c="${ne.c}"]`);
41222
41222
  if (!e || !t || (typeof t.scrollIntoView == "function" && t.scrollIntoView({
41223
41223
  block: "nearest",
41224
41224
  inline: "nearest"
@@ -41226,9 +41226,9 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41226
41226
  let n = window.innerWidth - p - 12, r = t.getBoundingClientRect().right;
41227
41227
  r > n && (e.scrollLeft += r - n);
41228
41228
  }, [
41229
- re,
41229
+ ne,
41230
41230
  p,
41231
- te
41231
+ ee
41232
41232
  ]), /* @__PURE__ */ v("div", {
41233
41233
  ref: C,
41234
41234
  className: "overflow-auto rounded border border-border",
@@ -41245,15 +41245,15 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41245
41245
  let t = {
41246
41246
  r: Number(e.target.dataset.r),
41247
41247
  c: Number(e.target.dataset.c)
41248
- }, n = QO(e.key, t, b.length, ee);
41249
- n !== null && (e.preventDefault(), ie(n), ae(n.r, n.c));
41248
+ }, n = QO(e.key, t, b.length, E);
41249
+ n !== null && (e.preventDefault(), re(n), ie(n.r, n.c));
41250
41250
  },
41251
41251
  children: [/* @__PURE__ */ y("div", {
41252
41252
  role: "row",
41253
41253
  className: "contents",
41254
41254
  children: [/* @__PURE__ */ v("div", {
41255
41255
  role: "columnheader",
41256
- className: z("top-0 z-20 border-b border-border bg-muted/60 px-3 py-2 text-[10px] uppercase tracking-widest text-foreground-subtle", te ? "sticky left-0" : "sticky"),
41256
+ className: z("top-0 z-20 border-b border-border bg-muted/60 px-3 py-2 text-[10px] uppercase tracking-widest text-foreground-subtle", ee ? "sticky left-0" : "sticky"),
41257
41257
  children: _("uiLibrary.deviceStepMatrix.step", "Step")
41258
41258
  }), x.map((e) => e.grouped ? /* @__PURE__ */ v(GO, { group: e }, e.agentNodeId) : e.columns.map((e) => /* @__PURE__ */ y("div", {
41259
41259
  role: "columnheader",
@@ -41270,11 +41270,11 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41270
41270
  node: e,
41271
41271
  depth: t,
41272
41272
  r: i,
41273
- tabbable: D.r === i && D.c === 0,
41273
+ tabbable: O.r === i && O.c === 0,
41274
41274
  selected: d?.addonId === e.addonId,
41275
41275
  badge: l?.(e.addonId),
41276
41276
  onClick: c ? (t) => c(e.addonId, t) : void 0,
41277
- sticky: te
41277
+ sticky: ee
41278
41278
  }), n.map((t, n) => {
41279
41279
  let o = r(e.addonId, t), s = d !== null && d.addonId === e.addonId && IO(d) === IO(t), c = o.kind === "enabled" || o.kind === "skip";
41280
41280
  return /* @__PURE__ */ v("div", {
@@ -41286,7 +41286,7 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41286
41286
  "data-c": n + 1,
41287
41287
  "data-step": e.addonId,
41288
41288
  "data-col": IO(t),
41289
- tabIndex: D.r === i && D.c === n + 1 ? 0 : -1,
41289
+ tabIndex: O.r === i && O.c === n + 1 ? 0 : -1,
41290
41290
  "aria-disabled": !c,
41291
41291
  "aria-selected": s,
41292
41292
  onClick: (n) => {
@@ -41327,7 +41327,7 @@ c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, selectedCell:
41327
41327
  l,
41328
41328
  u
41329
41329
  ]);
41330
- let ee = C && w ? w.columns : n;
41330
+ let E = C && w ? w.columns : n;
41331
41331
  return /* @__PURE__ */ y("div", {
41332
41332
  ref: _,
41333
41333
  className: "w-full space-y-2",
@@ -41338,7 +41338,7 @@ c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, selectedCell:
41338
41338
  }), /* @__PURE__ */ v(tk, {
41339
41339
  ref: h,
41340
41340
  tree: e,
41341
- agents: ee,
41341
+ agents: E,
41342
41342
  getCellState: r,
41343
41343
  onCellClick: a,
41344
41344
  onStepClick: d,
@@ -41715,7 +41715,7 @@ function Rk(e, t) {
41715
41715
  translate: (t, n) => Mk(e, Ck(), t, n)
41716
41716
  };
41717
41717
  }
41718
- e(), n(() => import("./MaskShapeCanvas-CrWutXSb.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), n(() => import("./MotionZonesSettings-DBGT8Nj8.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./SceneMonitorEditor-Bh49Hy9u.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), n(() => import("./PrivacyMaskSettings-CLQVQM7P.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
41718
+ e(), n(() => import("./MaskShapeCanvas-CrWutXSb.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), n(() => import("./MotionZonesSettings-nwsYJ4LM.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./SceneMonitorEditor-B7GPFInk.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), n(() => import("./PrivacyMaskSettings-D44t-3Il.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
41719
41719
  //#endregion
41720
41720
  //#region src/plugin-catalog/plugin-catalog-yolo-manifest-data.json
41721
41721
  var zk = /*#__PURE__*/ JSON.parse("[{\"id\":\"scrypted-yolov9t-relu-coreml\",\"label\":\"plugin catalog YOLOv9T ReLU CoreML\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"0a8733949d77e3204dba6418e81a11a8cc177015711457ce2c171266f23382d6\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322229,\"sha256\":\"f5a62f196f1e72a84efa1637119dffb6501621af9cf6f867bc76b4b59c9242a0\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":3797160,\"sha256\":\"b994419b8b68cfd6b89c3c6f3fe6b37458c86cc1d87fcca3df5034476a99dd38\"}],\"sizeMB\":4.12},{\"id\":\"scrypted-yolov9t-relu-onnx\",\"label\":\"plugin catalog YOLOv9T ReLU ONNX\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9t_relu/scrypted_yolov9t_relu.onnx\",\"size\":8499266,\"sha256\":\"3f11ea2071b27c285b58c16636a44d6a0a27bdd1ca8b64112dfadabd39cfea47\"}],\"sizeMB\":8.5},{\"id\":\"scrypted-yolov9t-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9T ReLU test CoreML\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"a5e0128b643f1a66f3e07d4b332f9ccbca97ccab75651c794f0b9f1fb41c8491\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322229,\"sha256\":\"79f4f647f2a0c79db3b560c84251b48c7ba7cbe9c1fecc9674d1a603a389dfa3\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":3797160,\"sha256\":\"72efc9dc6af9241b5e5ee7de24a4f55741f6425d0e279d797f0f223e3d355f84\"}],\"sizeMB\":4.12},{\"id\":\"scrypted-yolov9t-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9T ReLU test ONNX\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.onnx\",\"size\":8499266,\"sha256\":\"d20aa0e6923a3af7f5e84e3a6d28fb00e8ecd592e3225f986f93bd34b634e2f8\"}],\"sizeMB\":8.5},{\"id\":\"scrypted-yolov9s-relu-coreml\",\"label\":\"plugin catalog YOLOv9S ReLU CoreML\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"3bcdb820b82f1e89266f2d11bae1604d3ee4ca6d11dc5bd5c57055ff4157e9f3\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322664,\"sha256\":\"9a9c3c9cbca406ec2f0418ec867ed6b878ec6d02c16636d30e0bbd83d2ff7c40\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":14190120,\"sha256\":\"fd51eda58a993997268f6a2e424b536ba173207ad7974ab8bee2a8ff76d52dab\"}],\"sizeMB\":14.51},{\"id\":\"scrypted-yolov9s-relu-onnx\",\"label\":\"plugin catalog YOLOv9S ReLU ONNX\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9s_relu/scrypted_yolov9s_relu.onnx\",\"size\":29287339,\"sha256\":\"ca0b5bd98d5f59eb2029c6cb5129d53af59873f62a317a028beda463bbb96399\"}],\"sizeMB\":29.29},{\"id\":\"scrypted-yolov9s-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9S ReLU test CoreML\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"e2d24de0ce7e8573f19572029765e55abc714f36a85175ad7fcb95c001a76653\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322664,\"sha256\":\"186b147cdfd15c5ed7a381ec3a426a22cee0b5c52d56f14efd26da06357f5cb0\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":14190120,\"sha256\":\"e50651924c2cbffd56008a8953569e66c3de69f21807fcf7d825390ce30f21f8\"}],\"sizeMB\":14.51},{\"id\":\"scrypted-yolov9s-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9S ReLU test ONNX\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.onnx\",\"size\":29287339,\"sha256\":\"115ddb83333762a0f2599421335678696454a5c3571ade5df9bac8e9cb5fb4cf\"}],\"sizeMB\":29.29},{\"id\":\"scrypted-yolov9m-relu-coreml\",\"label\":\"plugin catalog YOLOv9M ReLU CoreML\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"c548c6e1ff768b2b01bd71e230aa712a1635ae2baa30e0369557a42fc531ecbf\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":247061,\"sha256\":\"1c40e02fc2a2559cb906ea6cd9da9c730d4a78f5019290cbb38d2fcaae379fe7\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":39880616,\"sha256\":\"4cf938e5bfcc3ee1644813e4eb4702a7de450cc0581df94c719cf43d0ed2e408\"}],\"sizeMB\":40.13},{\"id\":\"scrypted-yolov9m-relu-onnx\",\"label\":\"plugin catalog YOLOv9M ReLU ONNX\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9m_relu/scrypted_yolov9m_relu.onnx\",\"size\":80380404,\"sha256\":\"e7a81fb33224a0105d2a0a594c3fa43c398c361de623f1d14156ae826e7312d5\"}],\"sizeMB\":80.38},{\"id\":\"scrypted-yolov9m-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9M ReLU test CoreML\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"8e2684b286d02b4bdf9db1027c84cb89bf8e4830cfb58269f3ec457c5a010650\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":247061,\"sha256\":\"53d5946e74b13b15c5f8616081c9f15e8a95a5df3d5b45b830fc5a7f49561c16\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":39880616,\"sha256\":\"69774bf0032c37707601b8cdc1e1820dbd9f8288eb5d6f3879618a5d34ff5199\"}],\"sizeMB\":40.13},{\"id\":\"scrypted-yolov9m-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9M ReLU test ONNX\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.onnx\",\"size\":80380404,\"sha256\":\"8bb054f099295909ec518e2a6598d63db24d3f90edc8105a0f016903f2a205a2\"}],\"sizeMB\":80.38},{\"id\":\"scrypted-yolov9c-relu-coreml\",\"label\":\"plugin catalog YOLOv9C ReLU CoreML\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"813a306ebd69cabfd31f00434f5a961feeca7d237833f3e11805dcf4ad120ba9\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":263210,\"sha256\":\"862f082619075e470738306b0ff0a37ae70a7d08e684ca6a6dfa1971d404e0c3\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":50489960,\"sha256\":\"ed89747e58943758e2a87221d1d404f6a4466cbc039c3c6f96e327cadc403d27\"}],\"sizeMB\":50.75},{\"id\":\"scrypted-yolov9c-relu-onnx\",\"label\":\"plugin catalog YOLOv9C ReLU ONNX\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9c_relu/scrypted_yolov9c_relu.onnx\",\"size\":101631962,\"sha256\":\"b9372c4428daf4cd944c114b1e80d1a9ff0487d743e53a77216a051cfbef7116\"}],\"sizeMB\":101.63},{\"id\":\"scrypted-yolov9c-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9C ReLU test CoreML\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"966ef82a93cb0ccf1036a8c9729c065fd372fa9590a97d0945e581cc674f7ad2\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":263210,\"sha256\":\"08718ecd3e9552d21a702bd8df60911cad0eec7b2ae382466809550f14634711\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":50489960,\"sha256\":\"fe5936b9430ab4c87f30b148220131d6ec998b2377223d033e2fa2a00e60aada\"}],\"sizeMB\":50.75},{\"id\":\"scrypted-yolov9c-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9C ReLU test ONNX\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.onnx\",\"size\":101631962,\"sha256\":\"2f4e2031e8efb4cbc871594338b2e875d78ab4af3ee0258d253273b1aac84742\"}],\"sizeMB\":101.63},{\"id\":\"scrypted-yolov9t-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9T ReLU OpenVINO FP32\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu/best-converted.xml\",\"size\":628222,\"sha256\":\"01b5a9d02a0f281e1aaf4860e1b0ed3a7f16b9d78975be8ff985ae0ee283d877\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu/best-converted.bin\",\"size\":7542204,\"sha256\":\"4fe9ce8dbdf94514fdd450cbfc907f257153e4898a0c1489a44e4912d8e32cc7\"}],\"sizeMB\":8.17},{\"id\":\"scrypted-yolov9s-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9S ReLU OpenVINO FP32\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu/best-converted.xml\",\"size\":629249,\"sha256\":\"5b4a229bf7229425698b63bd065a403e440a6151a6ddff0034867659cc4a480d\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu/best-converted.bin\",\"size\":28329724,\"sha256\":\"c030bd219208ea94082578c81f383d4ef9ec45d7150eec1c2c2ff2569cf49b35\"}],\"sizeMB\":28.96},{\"id\":\"scrypted-yolov9m-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9M ReLU OpenVINO FP32\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu/best-converted.xml\",\"size\":485439,\"sha256\":\"c66f9f1965bf70fd3635d4dfc3cb94c72c06b344c256713237d77706725b9a0c\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu/best-converted.bin\",\"size\":79717372,\"sha256\":\"dfc2d8952bbca9ad0e116168e3fd5c754e601c327d78c4f4d0d4cae12f0e1d2a\"}],\"sizeMB\":80.2},{\"id\":\"scrypted-yolov9c-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9C ReLU OpenVINO FP32\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu/best-converted.xml\",\"size\":535047,\"sha256\":\"836c1e998ebf76108ff64d554fdfa07aa72c42624f1a5448701bb409f27b8d68\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu/best-converted.bin\",\"size\":100942972,\"sha256\":\"11a1b330ac9843b349927977b3c7c7f17bb42af73a7ff102969132f27ab81814\"}],\"sizeMB\":101.48},{\"id\":\"scrypted-yolov9t-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9T ReLU OpenVINO INT8\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu_int8/best-converted.xml\",\"size\":1380379,\"sha256\":\"e5a76bf88ac69fc0ebc50c04b61ff91550dd9c2349af1f6d7e4cac949c640cec\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu_int8/best-converted.bin\",\"size\":1954956,\"sha256\":\"98fb5b6826d7c6697a585f69ba96754873772d9d61fbed8335aab761e8248659\"}],\"sizeMB\":3.34},{\"id\":\"scrypted-yolov9t-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9T ReLU test OpenVINO INT8\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu_test_int8/best-converted.xml\",\"size\":1380383,\"sha256\":\"9e4119284e923e08c9929e78fd31e2552e602a552ac538ae99bf34a50dd4d172\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu_test_int8/best-converted.bin\",\"size\":1954960,\"sha256\":\"efe5b0a2fd2f5ddef5923eeb9e592a7ef14719061bb7605c86e05b35c2c58ea9\"}],\"sizeMB\":3.34},{\"id\":\"scrypted-yolov9s-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9S ReLU OpenVINO INT8\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu_int8/best-converted.xml\",\"size\":1382088,\"sha256\":\"4e6c24cf24afbab21462f7e1a15bd05b1cbbe5915046000e03c2435d8110bbbf\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu_int8/best-converted.bin\",\"size\":7197308,\"sha256\":\"23fd3d666a938c41db232d9c6239baec1134716cfb4ed4ddd3d602dd20eb8ac0\"}],\"sizeMB\":8.58},{\"id\":\"scrypted-yolov9s-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9S ReLU test OpenVINO INT8\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu_test_int8/best-converted.xml\",\"size\":1382092,\"sha256\":\"49865bfeafe7576afce089ba6f5c3e25a9192c8b514eb96265c90fe877795641\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu_test_int8/best-converted.bin\",\"size\":7197312,\"sha256\":\"78e9d36e6b74754db2b624ea3ec0b3ff57ed6dfed59a4f2225e1a271054597de\"}],\"sizeMB\":8.58},{\"id\":\"scrypted-yolov9m-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9M ReLU OpenVINO INT8\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu_int8/best-converted.xml\",\"size\":1024595,\"sha256\":\"1242ab8d8c73b2e80c5dd541177ade6e102a2684114b059136acb4cad6efb034\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu_int8/best-converted.bin\",\"size\":20090516,\"sha256\":\"da8e44af8bee66478e6f359e9504bfb13ab4b76f4bd8a2f1b10cfbc22febcf6e\"}],\"sizeMB\":21.12},{\"id\":\"scrypted-yolov9m-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9M ReLU test OpenVINO INT8\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu_test_int8/best-converted.xml\",\"size\":1024601,\"sha256\":\"24395ae5fdbb321304c865372cd2b905cdc55abb7610520f3963702e2371decb\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu_test_int8/best-converted.bin\",\"size\":20090520,\"sha256\":\"4360fe0312067f92c49f180c7b8a10271f14d58b8909aa9b96b13af4ab9289aa\"}],\"sizeMB\":21.12},{\"id\":\"scrypted-yolov9c-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9C ReLU OpenVINO INT8\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu_int8/best-converted.xml\",\"size\":1092695,\"sha256\":\"a45c62940120c4301d8fff9fb3b275c29e3618f403ea68a785f2f3220cefec7a\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu_int8/best-converted.bin\",\"size\":25428280,\"sha256\":\"0643403a56178c3ed1e066c7884458d8ea6780115d662bdc38d10754d7a11c79\"}],\"sizeMB\":26.52},{\"id\":\"scrypted-yolov9c-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9C ReLU test OpenVINO INT8\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu_test_int8/best-converted.xml\",\"size\":1092695,\"sha256\":\"a8a1899848ebd060af2326d3c8d3c09ea83354f0bedff6cce6fa08b284ea5519\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu_test_int8/best-converted.bin\",\"size\":25428280,\"sha256\":\"2eb6bb3d0a03a9b239b6f623f9e7bced62eea61fbe4d8ff89c1b3e2e2b7978a2\"}],\"sizeMB\":26.52},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-float16\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite float16\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"float16\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_float16.tflite\",\"size\":14482836,\"sha256\":\"04889db3b81af361c361e41ffa99327330d37b71d680a2f889e6cdf1e94c0d8c\"}],\"sizeMB\":14.48},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-float32\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite float32\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"float32\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_float32.tflite\",\"size\":28777068,\"sha256\":\"f5d7d08fc1d8f2262633d2df4391638e0481740331aaa1837880a47c33001a96\"}],\"sizeMB\":28.78},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-int8\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite int8\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_int8.tflite\",\"size\":7325616,\"sha256\":\"1e9866b16fe80931383bf3c94dc629fe93a37ba3dc1465ea019eb0a50bd428df\"}],\"sizeMB\":7.33},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-integer_quant\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite integer_quant\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"integer_quant\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_integer_quant.tflite\",\"size\":7342552,\"sha256\":\"bc1c902e9a9865637ee2403f70c6bf5c29c695d9163e58ad658feb29bb097ebc\"}],\"sizeMB\":7.34},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-full_integer_quant\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite full_integer_quant\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"full_integer_quant\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_full_integer_quant.tflite\",\"size\":7341704,\"sha256\":\"483ce38dbe33ee5a35f40a82f56c77629a44fa5d95efd8ade9fa97e4d2a261fd\"}],\"sizeMB\":7.34},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-edgetpu\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite edgetpu\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"edgetpu\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_full_integer_quant_edgetpu.tflite\",\"size\":8164480,\"sha256\":\"e1e6b074a3b9fdf19a171baf615553ad375a046aa7de2a3fef9a1950175fab22\"}],\"sizeMB\":8.16}]"), Bk = {
@@ -41916,7 +41916,7 @@ var oA = K({
41916
41916
  bytes: typeof t.bytes == "number" ? t.bytes : 0,
41917
41917
  at: typeof t.at == "number" ? t.at : 0
41918
41918
  } } } : e;
41919
- }, K({ formats: Lf(q(Fe), oA) })), cA = If(H(), If(H(), sA));
41919
+ }, K({ formats: Lf(q(Te), oA) })), cA = If(H(), If(H(), sA));
41920
41920
  function lA(e) {
41921
41921
  return `plus-catalog-${e}`;
41922
41922
  }
@@ -41946,7 +41946,7 @@ var uA = K({
41946
41946
  height: U()
41947
41947
  }),
41948
41948
  files: G(uA).readonly(),
41949
- model: we
41949
+ model: Le
41950
41950
  }), fA = K({
41951
41951
  manifestId: H(),
41952
41952
  status: q([
@@ -41959,7 +41959,7 @@ var uA = K({
41959
41959
  }), pA = K({
41960
41960
  id: H(),
41961
41961
  label: H(),
41962
- format: q(Fe),
41962
+ format: q(Te),
41963
41963
  sizeMB: U(),
41964
41964
  inputSize: U(),
41965
41965
  notes: H()
@@ -41976,8 +41976,8 @@ var uA = K({
41976
41976
  width: U().optional(),
41977
41977
  height: U().optional()
41978
41978
  });
41979
- te({
41980
- registerCustomModel: A(Ke, K({
41979
+ fe({
41980
+ registerCustomModel: Xe(We, K({
41981
41981
  ok: J(!0),
41982
41982
  conversions: G(K({
41983
41983
  format: q(["openvino", "coreml"]),
@@ -41986,7 +41986,7 @@ te({
41986
41986
  error: H().optional()
41987
41987
  })).readonly()
41988
41988
  }), { kind: "mutation" }),
41989
- ensureFormatsThenDistribute: A(K({ modelId: H() }), K({
41989
+ ensureFormatsThenDistribute: Xe(K({ modelId: H() }), K({
41990
41990
  conversions: G(K({
41991
41991
  format: q(["openvino", "coreml"]),
41992
41992
  ok: W(),
@@ -41995,13 +41995,13 @@ te({
41995
41995
  })).readonly(),
41996
41996
  distributed: G(K({
41997
41997
  nodeId: H(),
41998
- format: q(Fe),
41998
+ format: q(Te),
41999
41999
  ok: W(),
42000
42000
  error: H().optional(),
42001
42001
  bytes: U().optional()
42002
42002
  })).readonly()
42003
42003
  }), { kind: "mutation" }),
42004
- ensureModelFormats: A(K({
42004
+ ensureModelFormats: Xe(K({
42005
42005
  modelId: H(),
42006
42006
  formats: G(q(["openvino", "coreml"])).min(1).readonly()
42007
42007
  }), K({ conversions: G(K({
@@ -42010,59 +42010,59 @@ te({
42010
42010
  nodeId: H().optional(),
42011
42011
  error: H().optional()
42012
42012
  })).readonly() }), { kind: "mutation" }),
42013
- removeCustomModel: A(K({ modelId: H() }), K({
42013
+ removeCustomModel: Xe(K({ modelId: H() }), K({
42014
42014
  removed: W(),
42015
42015
  deletedNodes: G(H()).readonly(),
42016
42016
  clearedPins: U().int().nonnegative()
42017
42017
  }), { kind: "mutation" }),
42018
- renameCustomModel: A(K({
42018
+ renameCustomModel: Xe(K({
42019
42019
  modelId: H().min(1),
42020
42020
  name: H()
42021
42021
  }), K({
42022
42022
  modelId: H(),
42023
42023
  name: H()
42024
42024
  }), { kind: "mutation" }),
42025
- removeModelFromNode: A(K({
42025
+ removeModelFromNode: Xe(K({
42026
42026
  modelId: H(),
42027
42027
  nodeId: H(),
42028
- format: q(Fe)
42028
+ format: q(Te)
42029
42029
  }), K({
42030
42030
  deleted: W(),
42031
42031
  clearedAvailability: W()
42032
42032
  }), { kind: "mutation" }),
42033
- deleteSeedFromNode: A(K({
42033
+ deleteSeedFromNode: Xe(K({
42034
42034
  addonId: H(),
42035
42035
  modelId: H(),
42036
- format: q(Fe),
42036
+ format: q(Te),
42037
42037
  nodeId: H()
42038
42038
  }), K({ success: J(!0) }), { kind: "mutation" }),
42039
- listCustomModels: A(Ef(), G(Ke).readonly()),
42040
- distributeModel: A(K({
42039
+ listCustomModels: Xe(Ef(), G(We).readonly()),
42040
+ distributeModel: Xe(K({
42041
42041
  modelId: H(),
42042
42042
  nodeId: H(),
42043
- format: q(Fe)
42043
+ format: q(Te)
42044
42044
  }), K({
42045
42045
  ok: W(),
42046
42046
  sha256: H(),
42047
42047
  bytes: U()
42048
42048
  }), { kind: "mutation" }),
42049
- listAvailability: A(Ef(), cA),
42050
- beginModelUpload: A(K({
42049
+ listAvailability: Xe(Ef(), cA),
42050
+ beginModelUpload: Xe(K({
42051
42051
  filename: H(),
42052
42052
  totalBytes: U().int().positive()
42053
42053
  }), K({ uploadId: H() }), { kind: "mutation" }),
42054
- appendModelUpload: A(K({
42054
+ appendModelUpload: Xe(K({
42055
42055
  uploadId: H(),
42056
42056
  chunkBase64: H()
42057
42057
  }), K({ received: U() }), { kind: "mutation" }),
42058
- commitModelUpload: A(K({ uploadId: H() }), K({
42058
+ commitModelUpload: Xe(K({ uploadId: H() }), K({
42059
42059
  filename: H(),
42060
42060
  bytes: U(),
42061
42061
  sha256: H()
42062
42062
  }), { kind: "mutation" }),
42063
- abortModelUpload: A(K({ uploadId: H() }), K({ ok: J(!0) }), { kind: "mutation" }),
42064
- listPlusCatalogCatalog: A(Ef(), G(pA).readonly()),
42065
- importPlusCatalogCatalogModel: A(K({
42063
+ abortModelUpload: Xe(K({ uploadId: H() }), K({ ok: J(!0) }), { kind: "mutation" }),
42064
+ listPlusCatalogCatalog: Xe(Ef(), G(pA).readonly()),
42065
+ importPlusCatalogCatalogModel: Xe(K({
42066
42066
  catalogId: H(),
42067
42067
  modelId: H().optional(),
42068
42068
  name: H().optional(),
@@ -42072,26 +42072,26 @@ te({
42072
42072
  modelId: H(),
42073
42073
  bytes: U()
42074
42074
  }), { kind: "mutation" }),
42075
- listPluginCatalogCatalog: A(Ef(), K({
42075
+ listPluginCatalogCatalog: Xe(Ef(), K({
42076
42076
  entries: G(dA).readonly(),
42077
42077
  drift: G(fA).readonly()
42078
42078
  })),
42079
- importPluginCatalogCatalogModel: A(K({
42079
+ importPluginCatalogCatalogModel: Xe(K({
42080
42080
  manifestId: H(),
42081
42081
  name: H().optional(),
42082
42082
  targetNodeId: H().optional()
42083
- }), Ke, { kind: "mutation" }),
42084
- tfliteSupport: A(K({}).optional(), K({ nodes: G(H()).readonly() })),
42085
- plusCatalogPlusStatus: A(Ef(), K({
42083
+ }), We, { kind: "mutation" }),
42084
+ tfliteSupport: Xe(K({}).optional(), K({ nodes: G(H()).readonly() })),
42085
+ plusCatalogPlusStatus: Xe(Ef(), K({
42086
42086
  configured: W(),
42087
42087
  keyFormatValid: W()
42088
42088
  })),
42089
- plusCatalogPlusTest: A(Ef(), K({
42089
+ plusCatalogPlusTest: Xe(Ef(), K({
42090
42090
  ok: W(),
42091
42091
  error: H().optional()
42092
42092
  }), { kind: "mutation" }),
42093
- plusCatalogPlusListModels: A(Ef(), G(mA).readonly()),
42094
- importPlusCatalogModel: A(K({
42093
+ plusCatalogPlusListModels: Xe(Ef(), G(mA).readonly()),
42094
+ importPlusCatalogModel: Xe(K({
42095
42095
  plusModelId: H(),
42096
42096
  modelId: H().optional(),
42097
42097
  name: H().optional(),
@@ -42108,21 +42108,21 @@ te({
42108
42108
  error: H().optional()
42109
42109
  })).readonly()
42110
42110
  }), { kind: "mutation" }),
42111
- recommendConvertNode: A(K({ targets: G(Te).min(1).readonly() }), G(K({
42111
+ recommendConvertNode: Xe(K({ targets: G(Re).min(1).readonly() }), G(K({
42112
42112
  nodeId: H(),
42113
42113
  reason: H(),
42114
42114
  supported: W()
42115
42115
  })).readonly()),
42116
- convertModel: A(K({
42116
+ convertModel: Xe(K({
42117
42117
  sourceUrl: H(),
42118
- metadata: De,
42119
- targets: G(Te).min(1).readonly(),
42118
+ metadata: Ue,
42119
+ targets: G(Re).min(1).readonly(),
42120
42120
  targetNodeId: H().optional(),
42121
42121
  calibrationRef: H().optional()
42122
42122
  }), K({
42123
- entry: we,
42123
+ entry: Le,
42124
42124
  nodeId: H(),
42125
- artifacts: G(w).readonly()
42125
+ artifacts: G(qe).readonly()
42126
42126
  }), { kind: "mutation" })
42127
42127
  });
42128
42128
  var hA = /[\u0000-\u001f\u007f]/;
@@ -42151,9 +42151,9 @@ function _A(e) {
42151
42151
  //#region src/ui/model-studio-ui.ts
42152
42152
  var vA = "object-detection";
42153
42153
  function yA(e) {
42154
- return e.stepId === vA ? se(e.entry, {
42154
+ return e.stepId === vA ? ie(e.entry, {
42155
42155
  labels: [],
42156
- classMap: Qe
42156
+ classMap: Ze
42157
42157
  }) : [];
42158
42158
  }
42159
42159
  var bA = [
@@ -42328,7 +42328,7 @@ function GA(e, t, n) {
42328
42328
  return r.data;
42329
42329
  }
42330
42330
  function KA(e) {
42331
- return Array.isArray(e) ? WA(Ke, e, "listCustomModels") : [];
42331
+ return Array.isArray(e) ? WA(We, e, "listCustomModels") : [];
42332
42332
  }
42333
42333
  function qA(e) {
42334
42334
  if (!UA(e)) return {};
@@ -42532,13 +42532,13 @@ async function Sj(e, t) {
42532
42532
  }
42533
42533
  async function Cj(e, t) {
42534
42534
  let n = await BA(e, "pipelineExecutor.listLoadedEngines.query").pipelineExecutor.listLoadedEngines.query({ nodeId: t });
42535
- return GA($e.methods.listLoadedEngines.output, n, "listLoadedEngines");
42535
+ return GA(me.methods.listLoadedEngines.output, n, "listLoadedEngines");
42536
42536
  }
42537
42537
  async function wj(e, t) {
42538
42538
  await BA(e, "pipelineOrchestrator.setAgentInferenceDevices.mutate").pipelineOrchestrator.setAgentInferenceDevices.mutate(t);
42539
42539
  }
42540
42540
  async function Tj(e) {
42541
- return fe(await BA(e, "addonSettings.getGlobalSettings.query").addonSettings.getGlobalSettings.query({ addonId: "pipeline-orchestrator" }));
42541
+ return E(await BA(e, "addonSettings.getGlobalSettings.query").addonSettings.getGlobalSettings.query({ addonId: "pipeline-orchestrator" }));
42542
42542
  }
42543
42543
  async function Ej(e, t) {
42544
42544
  await BA(e, "addonSettings.updateGlobalSettings.mutate").addonSettings.updateGlobalSettings.mutate({
@@ -42581,7 +42581,7 @@ async function Aj(e) {
42581
42581
  };
42582
42582
  }
42583
42583
  async function jj(e, t) {
42584
- return GA(Ke, await HA(e, "importPluginCatalogCatalogModel", {
42584
+ return GA(We, await HA(e, "importPluginCatalogCatalogModel", {
42585
42585
  manifestId: t.manifestId,
42586
42586
  ...t.name === void 0 ? {} : { name: t.name },
42587
42587
  ...t.targetNodeId === void 0 ? {} : { targetNodeId: t.targetNodeId }
@@ -43894,7 +43894,7 @@ function xM({ label: e, value: t, options: n, onChange: r, disabled: i = !1, pla
43894
43894
  //#region src/components/SourceModelBrowser.tsx
43895
43895
  e();
43896
43896
  function SM({ preSelectors: e = [], catalog: t, value: n, onChange: r, title: i, subtitle: a, actionRow: o, renderActionRow: s, footer: c, emptyMessage: l, testId: u = "source-model-browser" }) {
43897
- let { t: d } = $(), f = qe(t), [p, m] = g({});
43897
+ let { t: d } = $(), f = De(t), [p, m] = g({});
43898
43898
  return /* @__PURE__ */ y("div", {
43899
43899
  className: "space-y-3",
43900
43900
  "data-testid": u,
@@ -44078,8 +44078,8 @@ var OM = [
44078
44078
  key: "test"
44079
44079
  }];
44080
44080
  function AM({ trpc: e, landNodeId: n, onImported: r }) {
44081
- let { t: a } = $(), s = Xj(), [c, u] = g(null), [d, f] = g([]), [p, m] = g(null), [h, _] = g({}), [b, x] = g({}), [S, C] = g(null), [w, T] = g(null), [ee, te] = g(null), [ne, re] = g("relu"), [E, ie] = g(""), [D, ae] = g(""), [oe, se] = g(null), [O, ce] = g(""), le = t(0), k = t(!1), ue = n !== void 0 && n.length > 0 ? n : O.length > 0 ? O : void 0, de = l(async () => {
44082
- let t = ++le.current;
44081
+ let { t: a } = $(), s = Xj(), [c, u] = g(null), [d, f] = g([]), [p, m] = g(null), [h, _] = g({}), [b, x] = g({}), [S, C] = g(null), [w, T] = g(null), [E, ee] = g(null), [te, ne] = g("relu"), [D, re] = g(""), [O, ie] = g(""), [ae, oe] = g(null), [k, se] = g(""), ce = t(0), le = t(!1), ue = n !== void 0 && n.length > 0 ? n : k.length > 0 ? k : void 0, de = l(async () => {
44082
+ let t = ++ce.current;
44083
44083
  C(null);
44084
44084
  try {
44085
44085
  let n = Aj(e), r = JA(e).then((e) => ({
@@ -44094,8 +44094,8 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44094
44094
  i,
44095
44095
  a
44096
44096
  ]);
44097
- if (t !== le.current) return;
44098
- if (u(o.entries), f(o.drift), se(l), l.length > 0 && ce((e) => e.length > 0 && l.includes(e) ? e : l[0]), s.ok) {
44097
+ if (t !== ce.current) return;
44098
+ if (u(o.entries), f(o.drift), oe(l), l.length > 0 && se((e) => e.length > 0 && l.includes(e) ? e : l[0]), s.ok) {
44099
44099
  m(new Set(s.value.map((e) => e.entry.id)));
44100
44100
  let e = {};
44101
44101
  for (let t of s.value) e[t.entry.id] = xA(t.entry);
@@ -44107,17 +44107,17 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44107
44107
  x(e);
44108
44108
  } else x({});
44109
44109
  } catch (e) {
44110
- if (t !== le.current) return;
44110
+ if (t !== ce.current) return;
44111
44111
  u(null), C(e instanceof Error ? e.message : a("pluginCatalog.loadFailed"));
44112
44112
  }
44113
44113
  }, [e, a]);
44114
44114
  i(() => {
44115
44115
  de();
44116
44116
  }, [de]);
44117
- let fe = o(() => (c ?? []).filter((e) => e.variant === ne), [c, ne]), A = o(() => vM(fe), [fe]), pe = o(() => new Map(A.map((e) => [e.id, e])), [A]), me = E.length > 0 && pe.has(E) ? E : A[0]?.id ?? "", he = l(async (t) => {
44118
- if (k.current || DM(D)) return;
44119
- let i = EM(D);
44120
- k.current = !0, T(t.id), te(null);
44117
+ let A = o(() => (c ?? []).filter((e) => e.variant === te), [c, te]), fe = o(() => vM(A), [A]), pe = o(() => new Map(fe.map((e) => [e.id, e])), [fe]), me = D.length > 0 && pe.has(D) ? D : fe[0]?.id ?? "", he = l(async (t) => {
44118
+ if (le.current || DM(O)) return;
44119
+ let i = EM(O);
44120
+ le.current = !0, T(t.id), ee(null);
44121
44121
  let o = t.format === "tflite" ? ue : n !== void 0 && n.length > 0 ? n : void 0;
44122
44122
  try {
44123
44123
  await s.run({
@@ -44162,9 +44162,9 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44162
44162
  } : e));
44163
44163
  }), await de(), r?.();
44164
44164
  } catch (e) {
44165
- te(e instanceof Error ? e.message : a("importOp.failed"));
44165
+ ee(e instanceof Error ? e.message : a("importOp.failed"));
44166
44166
  } finally {
44167
- k.current = !1, T(null);
44167
+ le.current = !1, T(null);
44168
44168
  }
44169
44169
  }, [
44170
44170
  e,
@@ -44175,7 +44175,7 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44175
44175
  ue,
44176
44176
  n,
44177
44177
  s,
44178
- D,
44178
+ O,
44179
44179
  a
44180
44180
  ]);
44181
44181
  if (c === null && S === null) return /* @__PURE__ */ v("div", {
@@ -44197,7 +44197,7 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44197
44197
  })]
44198
44198
  });
44199
44199
  let ge = pe.get(me), _e = ge && c ? NM({
44200
- filtered: fe,
44200
+ filtered: A,
44201
44201
  drift: d,
44202
44202
  sourceId: ge.id
44203
44203
  }) : [], ve = _e.map((e) => ({
@@ -44210,30 +44210,30 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44210
44210
  "data-testid": "plugin-catalog-tab",
44211
44211
  className: "space-y-4",
44212
44212
  children: [
44213
- ee && /* @__PURE__ */ v("div", {
44213
+ E && /* @__PURE__ */ v("div", {
44214
44214
  className: "rounded-md border border-danger/30 bg-danger/10 px-3 py-2 text-xs text-danger",
44215
- children: ee
44215
+ children: E
44216
44216
  }),
44217
44217
  /* @__PURE__ */ v("p", {
44218
44218
  className: "text-[11px] text-foreground-subtle",
44219
44219
  children: a("pluginCatalog.intro")
44220
44220
  }),
44221
- n === void 0 && oe !== null && oe.length > 0 && /* @__PURE__ */ y("label", {
44221
+ n === void 0 && ae !== null && ae.length > 0 && /* @__PURE__ */ y("label", {
44222
44222
  className: "flex items-center gap-2 text-[11px] text-foreground",
44223
44223
  children: [/* @__PURE__ */ v("span", {
44224
44224
  className: "text-foreground-subtle uppercase tracking-wide text-[10px]",
44225
44225
  children: a("pluginCatalog.tfliteCoral")
44226
44226
  }), /* @__PURE__ */ v("select", {
44227
44227
  className: "bg-surface border border-border rounded px-2 py-0.5 text-[11px]",
44228
- value: O,
44229
- onChange: (e) => ce(e.target.value),
44230
- children: oe.map((e) => /* @__PURE__ */ v("option", {
44228
+ value: k,
44229
+ onChange: (e) => se(e.target.value),
44230
+ children: ae.map((e) => /* @__PURE__ */ v("option", {
44231
44231
  value: e,
44232
44232
  children: e
44233
44233
  }, e))
44234
44234
  })]
44235
44235
  }),
44236
- n === void 0 && oe !== null && oe.length === 0 && /* @__PURE__ */ v("p", {
44236
+ n === void 0 && ae !== null && ae.length === 0 && /* @__PURE__ */ v("p", {
44237
44237
  className: "text-[11px] text-warning",
44238
44238
  children: a("pluginCatalog.noCoral")
44239
44239
  }),
@@ -44251,26 +44251,26 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44251
44251
  preSelectors: [{
44252
44252
  id: "variant",
44253
44253
  label: a("pluginCatalog.variant"),
44254
- value: ne,
44254
+ value: te,
44255
44255
  options: kM.map((e) => ({
44256
44256
  value: e.value,
44257
44257
  label: a(`pluginCatalog.variants.${e.key}`),
44258
44258
  count: (c ?? []).filter((t) => t.variant === e.value).length
44259
44259
  })),
44260
44260
  onChange: (e) => {
44261
- (e === "relu" || e === "relu_test") && (re(e), ie(""));
44261
+ (e === "relu" || e === "relu_test") && (ne(e), re(""));
44262
44262
  },
44263
44263
  compactWhenSingle: !1
44264
44264
  }],
44265
- catalog: A,
44265
+ catalog: fe,
44266
44266
  value: me,
44267
- onChange: ie,
44267
+ onChange: re,
44268
44268
  emptyMessage: a("pluginCatalog.emptyVariant"),
44269
44269
  actionRow: ge && ve.length > 0 ? /* @__PURE__ */ y("div", {
44270
44270
  className: "space-y-2",
44271
44271
  children: [/* @__PURE__ */ v(TM, {
44272
- value: D,
44273
- onChange: ae,
44272
+ value: O,
44273
+ onChange: ie,
44274
44274
  defaultName: ge.name
44275
44275
  }), /* @__PURE__ */ v(wM, {
44276
44276
  entries: ve,
@@ -45423,7 +45423,7 @@ var bN = [
45423
45423
  value: "frigate",
45424
45424
  label: "plus catalog"
45425
45425
  }
45426
- ], xN = new Set(Fe);
45426
+ ], xN = new Set(Te);
45427
45427
  function SN(e) {
45428
45428
  return xN.has(e);
45429
45429
  }
@@ -45460,7 +45460,7 @@ function CN({ seed: e, nodeId: t, busyKey: n, onDownload: r }) {
45460
45460
  });
45461
45461
  }
45462
45462
  function wN({ seeds: e, nodeId: t, busyKey: n, selectedByFamily: r, onSelectFamily: i, onDownload: a }) {
45463
- let o = NA(e), s = PA(e), c = o.map(FA), l = qe(c), u = new Map(e.map((e) => [e.modelId, e]));
45463
+ let o = NA(e), s = PA(e), c = o.map(FA), l = De(c), u = new Map(e.map((e) => [e.modelId, e]));
45464
45464
  return l.length === 0 && s.length === 0 ? null : /* @__PURE__ */ y("div", {
45465
45465
  className: "space-y-3",
45466
45466
  "data-testid": "catalog-provider",
@@ -45535,26 +45535,26 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45535
45535
  i(() => {
45536
45536
  f(!0), w();
45537
45537
  }, [w, t]);
45538
- let T = o(() => jA(a), [a]), ee = o(() => MA(a, c).filter((e) => e.provider === "camstack"), [a, c]), te = o(() => qe(NA(ee).map(FA)), [ee]), ne = o(() => {
45538
+ let T = o(() => jA(a), [a]), E = o(() => MA(a, c).filter((e) => e.provider === "camstack"), [a, c]), ee = o(() => De(NA(E).map(FA)), [E]), te = o(() => {
45539
45539
  let e = /* @__PURE__ */ new Map();
45540
- for (let t of ee) e.set(t.modelId, t);
45540
+ for (let t of E) e.set(t.modelId, t);
45541
45541
  return e;
45542
- }, [ee]);
45542
+ }, [E]);
45543
45543
  i(() => {
45544
45544
  C((e) => {
45545
45545
  let t = {}, n = !1;
45546
- for (let r of te) {
45547
- let i = r.tiers[0]?.baseModelId ?? "", a = e[r.family], o = a !== void 0 && ne.has(a) && ne.get(a)?.group?.family === r.family ? a : i;
45546
+ for (let r of ee) {
45547
+ let i = r.tiers[0]?.baseModelId ?? "", a = e[r.family], o = a !== void 0 && te.has(a) && te.get(a)?.group?.family === r.family ? a : i;
45548
45548
  t[r.family] = o, o !== a && (n = !0);
45549
45549
  }
45550
45550
  return !n && Object.keys(e).length === Object.keys(t).length ? e : t;
45551
45551
  });
45552
- }, [te, ne]);
45553
- let re = Xj(), E = l(async (t, i) => {
45552
+ }, [ee, te]);
45553
+ let ne = Xj(), D = l(async (t, i) => {
45554
45554
  if (SN(i)) {
45555
45555
  _(`${t.stepId}/${t.modelId}/${i}`), x(null);
45556
45556
  try {
45557
- await re.run({
45557
+ await ne.run({
45558
45558
  kind: "download",
45559
45559
  title: r("catalog.opTitle", {
45560
45560
  modelId: t.modelId,
@@ -45600,7 +45600,7 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45600
45600
  e,
45601
45601
  n,
45602
45602
  w,
45603
- re,
45603
+ ne,
45604
45604
  r
45605
45605
  ]);
45606
45606
  return d ? /* @__PURE__ */ v("div", {
@@ -45633,11 +45633,11 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45633
45633
  }))
45634
45634
  })
45635
45635
  }),
45636
- ee.length === 0 ? /* @__PURE__ */ v("div", {
45636
+ E.length === 0 ? /* @__PURE__ */ v("div", {
45637
45637
  className: "rounded-xl border border-border bg-surface text-center text-xs text-foreground-subtle italic py-10",
45638
45638
  children: r("catalog.noCamstackModels")
45639
45639
  }) : /* @__PURE__ */ v(wN, {
45640
- seeds: ee,
45640
+ seeds: E,
45641
45641
  nodeId: n,
45642
45642
  busyKey: h,
45643
45643
  selectedByFamily: S,
@@ -45645,7 +45645,7 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45645
45645
  ...n,
45646
45646
  [e]: t
45647
45647
  })),
45648
- onDownload: (e, t) => void E(e, t)
45648
+ onDownload: (e, t) => void D(e, t)
45649
45649
  })
45650
45650
  ]
45651
45651
  });
@@ -45761,8 +45761,8 @@ function jN(e) {
45761
45761
  } : {
45762
45762
  provider: "frigate",
45763
45763
  group: PM(e.type, e.inputWidth),
45764
- ...he(e.labels),
45765
- defaultClassFloors: ee("stock", e.defaultClassFloors)
45764
+ ...pe(e.labels),
45765
+ defaultClassFloors: re("stock", e.defaultClassFloors)
45766
45766
  }
45767
45767
  };
45768
45768
  return {
@@ -45878,13 +45878,13 @@ var BN = [
45878
45878
  ".pt"
45879
45879
  ], HN = [{ value: "upload" }, { value: "url" }];
45880
45880
  function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsumed: a }) {
45881
- let { t: s } = $(), c = Xj(), [u, d] = g("upload"), [f, p] = g(""), [m, h] = g(""), [_, b] = g("object-detection"), [x, S] = g("onnx"), [C, w] = g(""), [T, ee] = g(""), [te, ne] = g(0), [re, E] = g(320), [ie, D] = g(320), [ae, oe] = g(""), [se, O] = g(null), [ce, le] = g([]), [k, ue] = g({ state: "idle" }), [de, fe] = g(!1), [A, pe] = g(null), [me, he] = g(null), ge = t(null), _e = o(() => IM(ae), [ae]);
45881
+ let { t: s } = $(), c = Xj(), [u, d] = g("upload"), [f, p] = g(""), [m, h] = g(""), [_, b] = g("object-detection"), [x, S] = g("onnx"), [C, w] = g(""), [T, E] = g(""), [ee, te] = g(0), [ne, D] = g(320), [re, O] = g(320), [ie, ae] = g(""), [oe, k] = g(null), [se, ce] = g([]), [le, ue] = g({ state: "idle" }), [de, A] = g(!1), [fe, pe] = g(null), [me, he] = g(null), ge = t(null), _e = o(() => IM(ie), [ie]);
45882
45882
  i(() => {
45883
- r != null && (d("upload"), S(r.format), w(r.postprocessor ?? ""), E(r.inputSize), D(r.inputSize), oe(r.labels.join("\n")), O(r.sourceLabel), pe(null), he(null), a?.());
45883
+ r != null && (d("upload"), S(r.format), w(r.postprocessor ?? ""), D(r.inputSize), O(r.inputSize), ae(r.labels.join("\n")), k(r.sourceLabel), pe(null), he(null), a?.());
45884
45884
  }, [r, a]);
45885
45885
  let ve = l((e, t) => {
45886
45886
  let n = zN(e);
45887
- le(n.hints), n.format !== null && S(n.format), E(n.inputSize), D(n.inputSize), (t?.forceId || !f) && p(n.modelId), m || h(n.name), n.sizeMB !== null && e.kind === "url" && ne(n.sizeMB);
45887
+ ce(n.hints), n.format !== null && S(n.format), D(n.inputSize), O(n.inputSize), (t?.forceId || !f) && p(n.modelId), m || h(n.name), n.sizeMB !== null && e.kind === "url" && te(n.sizeMB);
45888
45888
  }, [f, m]), ye = l(async (t) => {
45889
45889
  pe(null), ve({
45890
45890
  kind: "file",
@@ -45931,18 +45931,18 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
45931
45931
  s
45932
45932
  ]), xe = l(async () => {
45933
45933
  pe(null), he(null);
45934
- let t = u === "upload" ? k.state === "done" ? {
45934
+ let t = u === "upload" ? le.state === "done" ? {
45935
45935
  kind: "upload",
45936
- filename: k.file.filename,
45937
- sizeMB: Number((k.file.bytes / 1e6).toFixed(1))
45936
+ filename: le.file.filename,
45937
+ sizeMB: Number((le.file.bytes / 1e6).toFixed(1))
45938
45938
  } : null : T.trim() ? {
45939
45939
  kind: "url",
45940
45940
  url: T.trim(),
45941
- sizeMB: te
45941
+ sizeMB: ee
45942
45942
  } : null;
45943
45943
  if (t === null) return pe(s(u === "upload" ? "register.uploadFirst" : "register.urlRequired"));
45944
45944
  if (DM(m)) return pe(s("register.nameInvalid"));
45945
- fe(!0);
45945
+ A(!0);
45946
45946
  try {
45947
45947
  let r = kN(C), i = jN({
45948
45948
  type: "custom",
@@ -45952,8 +45952,8 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
45952
45952
  source: t,
45953
45953
  format: x,
45954
45954
  ...r === void 0 ? {} : { postprocessor: r },
45955
- inputWidth: re,
45956
- inputHeight: ie,
45955
+ inputWidth: ne,
45956
+ inputHeight: re,
45957
45957
  labels: _e
45958
45958
  });
45959
45959
  await c.run({
@@ -45989,7 +45989,7 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
45989
45989
  } catch (e) {
45990
45990
  pe(e instanceof Error ? e.message : s("register.failed"));
45991
45991
  } finally {
45992
- fe(!1);
45992
+ A(!1);
45993
45993
  }
45994
45994
  }, [
45995
45995
  e,
@@ -46000,11 +46000,11 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46000
46000
  x,
46001
46001
  C,
46002
46002
  T,
46003
- te,
46003
+ ee,
46004
+ ne,
46004
46005
  re,
46005
- ie,
46006
46006
  _e,
46007
- k,
46007
+ le,
46008
46008
  n,
46009
46009
  c,
46010
46010
  s
@@ -46013,9 +46013,9 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46013
46013
  className: "max-w-2xl space-y-4",
46014
46014
  "data-testid": "custom-tab",
46015
46015
  children: [
46016
- A && /* @__PURE__ */ v("div", {
46016
+ fe && /* @__PURE__ */ v("div", {
46017
46017
  className: "rounded-md border border-danger/30 bg-danger/10 px-3 py-2 text-xs text-danger",
46018
- children: A
46018
+ children: fe
46019
46019
  }),
46020
46020
  me && /* @__PURE__ */ v("div", {
46021
46021
  className: "rounded-md border border-success/30 bg-success/10 px-3 py-2 text-xs text-success",
@@ -46038,11 +46038,11 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46038
46038
  }, e.value))
46039
46039
  })]
46040
46040
  }),
46041
- se !== null && u === "upload" && /* @__PURE__ */ v("div", {
46041
+ oe !== null && u === "upload" && /* @__PURE__ */ v("div", {
46042
46042
  className: "rounded-md border border-primary/30 bg-primary/10 px-3 py-2 text-[11px] text-foreground-subtle",
46043
46043
  children: /* @__PURE__ */ v(Ij, {
46044
46044
  i18nKey: "register.prefilled",
46045
- values: { source: se },
46045
+ values: { source: oe },
46046
46046
  components: { b: /* @__PURE__ */ v("span", { className: "text-foreground" }) }
46047
46047
  })
46048
46048
  }),
@@ -46054,25 +46054,25 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46054
46054
  children: [
46055
46055
  /* @__PURE__ */ v("button", {
46056
46056
  onClick: () => ge.current?.click(),
46057
- disabled: k.state === "uploading",
46057
+ disabled: le.state === "uploading",
46058
46058
  className: "px-4 py-1.5 text-xs font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50 transition-colors",
46059
- children: k.state === "uploading" ? s("register.uploading", { pct: k.pct }) : s("register.chooseFile")
46059
+ children: le.state === "uploading" ? s("register.uploading", { pct: le.pct }) : s("register.chooseFile")
46060
46060
  }),
46061
- k.state === "done" && /* @__PURE__ */ y("span", {
46061
+ le.state === "done" && /* @__PURE__ */ y("span", {
46062
46062
  className: "text-[11px] text-success font-mono",
46063
46063
  children: [
46064
- k.file.filename,
46064
+ le.file.filename,
46065
46065
  " · ",
46066
- (k.file.bytes / 1e6).toFixed(1),
46066
+ (le.file.bytes / 1e6).toFixed(1),
46067
46067
  " MB ·",
46068
46068
  " ",
46069
- k.file.sha256.slice(0, 12),
46069
+ le.file.sha256.slice(0, 12),
46070
46070
  "…"
46071
46071
  ]
46072
46072
  }),
46073
- k.state === "error" && /* @__PURE__ */ v("span", {
46073
+ le.state === "error" && /* @__PURE__ */ v("span", {
46074
46074
  className: "text-[11px] text-danger",
46075
- children: k.message
46075
+ children: le.message
46076
46076
  })
46077
46077
  ]
46078
46078
  }),
@@ -46086,11 +46086,11 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46086
46086
  t && ye(t), e.target.value = "";
46087
46087
  }
46088
46088
  }),
46089
- k.state === "uploading" && /* @__PURE__ */ v("div", {
46089
+ le.state === "uploading" && /* @__PURE__ */ v("div", {
46090
46090
  className: "h-1.5 w-full rounded-full bg-surface overflow-hidden mt-2",
46091
46091
  children: /* @__PURE__ */ v("div", {
46092
46092
  className: "h-full rounded-full bg-primary transition-all duration-200",
46093
- style: { width: `${Math.max(2, k.pct)}%` }
46093
+ style: { width: `${Math.max(2, le.pct)}%` }
46094
46094
  })
46095
46095
  })
46096
46096
  ]
@@ -46103,13 +46103,13 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46103
46103
  children: /* @__PURE__ */ v(Pj, {
46104
46104
  label: s("register.urlLabel"),
46105
46105
  value: T,
46106
- onChange: ee,
46106
+ onChange: E,
46107
46107
  placeholder: s("register.urlPlaceholder")
46108
46108
  })
46109
46109
  }), /* @__PURE__ */ v(Fj, {
46110
46110
  label: s("register.sizeMb"),
46111
- value: te,
46112
- onChange: ne,
46111
+ value: ee,
46112
+ onChange: te,
46113
46113
  min: 0
46114
46114
  })]
46115
46115
  }), /* @__PURE__ */ v("button", {
@@ -46119,9 +46119,9 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46119
46119
  children: s("register.probeUrl")
46120
46120
  })]
46121
46121
  }),
46122
- ce.length > 0 && /* @__PURE__ */ v("ul", {
46122
+ se.length > 0 && /* @__PURE__ */ v("ul", {
46123
46123
  className: "rounded-md border border-border bg-surface px-3 py-2 text-[10px] text-foreground-subtle space-y-0.5 list-disc list-inside",
46124
- children: ce.map((e) => /* @__PURE__ */ v("li", { children: e }, e))
46124
+ children: se.map((e) => /* @__PURE__ */ v("li", { children: e }, e))
46125
46125
  }),
46126
46126
  /* @__PURE__ */ y("div", {
46127
46127
  className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
@@ -46146,14 +46146,14 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46146
46146
  }),
46147
46147
  /* @__PURE__ */ v(Fj, {
46148
46148
  label: s("register.inputWidth"),
46149
- value: re,
46150
- onChange: E,
46149
+ value: ne,
46150
+ onChange: D,
46151
46151
  min: 1
46152
46152
  }),
46153
46153
  /* @__PURE__ */ v(Fj, {
46154
46154
  label: s("register.inputHeight"),
46155
- value: ie,
46156
- onChange: D,
46155
+ value: re,
46156
+ onChange: O,
46157
46157
  min: 1
46158
46158
  })
46159
46159
  ]
@@ -46196,8 +46196,8 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46196
46196
  /* @__PURE__ */ v(Nj, {
46197
46197
  label: s("register.labelmap", { count: _e.length }),
46198
46198
  children: /* @__PURE__ */ v("textarea", {
46199
- value: ae,
46200
- onChange: (e) => oe(e.target.value),
46199
+ value: ie,
46200
+ onChange: (e) => ae(e.target.value),
46201
46201
  rows: 8,
46202
46202
  spellCheck: !1,
46203
46203
  className: "w-full px-3 py-1.5 text-xs font-mono rounded-md border border-border bg-surface text-foreground focus:outline-none focus:border-primary/50"
@@ -46207,7 +46207,7 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46207
46207
  className: "flex items-center gap-2",
46208
46208
  children: /* @__PURE__ */ v("button", {
46209
46209
  onClick: () => void xe(),
46210
- disabled: de || u === "upload" && k.state !== "done",
46210
+ disabled: de || u === "upload" && le.state !== "done",
46211
46211
  className: "px-4 py-1.5 text-xs font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50 transition-colors",
46212
46212
  children: s(de ? "register.registering" : "register.registerModel")
46213
46213
  })
@@ -46250,7 +46250,7 @@ function WN({ trpc: e, onRegistered: t, initialPrefill: n = null, onPrefillConsu
46250
46250
  //#endregion
46251
46251
  //#region src/ui/installed-activation.ts
46252
46252
  function GN(e, t, n, r, i) {
46253
- if (r == null || Me(t)) return [];
46253
+ if (r == null || se(t)) return [];
46254
46254
  let a = [];
46255
46255
  for (let o of e) o.enabled && i.has(o.format) && nb(r.models, o.format) && rb({
46256
46256
  catalog: r,
@@ -46264,7 +46264,7 @@ function GN(e, t, n, r, i) {
46264
46264
  return a;
46265
46265
  }
46266
46266
  function KN(e, t) {
46267
- return { [Oe(e)]: t };
46267
+ return { [Ye(e)]: t };
46268
46268
  }
46269
46269
  function qN(e, t, n) {
46270
46270
  let r = Object.keys(t).length > 0;
@@ -46335,7 +46335,7 @@ function nP(e, t, n) {
46335
46335
  function rP(e, t) {
46336
46336
  if (e.onDisk !== "current") return /* @__PURE__ */ new Set();
46337
46337
  let n = t.stepCatalogs[e.stepId], r = new Set([e.format]);
46338
- return Me(e.stepId) ? nP(e.stepId, t.clusterModels, n) === e.modelId ? new Set(t.devices.filter((t) => t.enabled && t.format === e.format).map((e) => e.key)) : /* @__PURE__ */ new Set() : new Set(GN(t.devices, e.stepId, e.modelId, n, r).map((e) => e.deviceKey));
46338
+ return se(e.stepId) ? nP(e.stepId, t.clusterModels, n) === e.modelId ? new Set(t.devices.filter((t) => t.enabled && t.format === e.format).map((e) => e.key)) : /* @__PURE__ */ new Set() : new Set(GN(t.devices, e.stepId, e.modelId, n, r).map((e) => e.deviceKey));
46339
46339
  }
46340
46340
  function iP(e, t, n) {
46341
46341
  return t ? "outside-pools" : e.some((e) => e.loaded === !0) ? "in-use" : e.some((e) => e.configured) ? "configured" : e.some((e) => e.enabled) ? n ? "idle" : "unknown" : "unused";
@@ -46352,7 +46352,7 @@ function aP(e, t) {
46352
46352
  ...e,
46353
46353
  key: `${e.stepId}::${e.modelId}::${e.format}`,
46354
46354
  renameable: e.origin === "registry",
46355
- clusterScoped: Me(e.stepId),
46355
+ clusterScoped: se(e.stepId),
46356
46356
  chips: r,
46357
46357
  usage: a,
46358
46358
  removable: a === "idle" || a === "unused"
@@ -46382,7 +46382,7 @@ function sP(e, t) {
46382
46382
  modelId: i,
46383
46383
  name: _A(r.entry),
46384
46384
  description: r.entry.description,
46385
- provider: T({
46385
+ provider: k({
46386
46386
  id: i,
46387
46387
  description: r.entry.description,
46388
46388
  provider: r.entry.provider
@@ -46784,7 +46784,7 @@ function SP({ trpc: e, refreshKey: t, clusterModels: n, onChanged: r, onError: i
46784
46784
  id: "installed-cluster-models",
46785
46785
  className: pt,
46786
46786
  children: a("cluster.title")
46787
- }), ke.map((e) => /* @__PURE__ */ v(xP, {
46787
+ }), Ae.map((e) => /* @__PURE__ */ v(xP, {
46788
46788
  step: e,
46789
46789
  current: n?.[e.stepId] ?? e.defaultModelId,
46790
46790
  inputs: s,
@@ -46797,7 +46797,7 @@ function SP({ trpc: e, refreshKey: t, clusterModels: n, onChanged: r, onError: i
46797
46797
  function CP(e, t) {
46798
46798
  if (e.kind === "mask") return t("fillBadges.mask");
46799
46799
  if (e.kind === "crop") return e.stepId === "face-detection" ? t("fillBadges.cropFace") : t("fillBadges.cropPlate");
46800
- let n = ze[e.stepId], r = {
46800
+ let n = Ce[e.stepId], r = {
46801
46801
  stepId: e.stepId,
46802
46802
  uncovered: e.uncovered.join(", ")
46803
46803
  };
@@ -46811,7 +46811,7 @@ function wP({ supplies: e }) {
46811
46811
  children: e.map((e) => /* @__PURE__ */ v("span", {
46812
46812
  className: "inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium border bg-primary/10 text-primary border-primary/30",
46813
46813
  title: CP(e, t),
46814
- children: pe(e)
46814
+ children: ee(e)
46815
46815
  }, e.stepId))
46816
46816
  });
46817
46817
  }
@@ -47312,7 +47312,7 @@ function YP(e) {
47312
47312
  return e === null || e.length === 0 ? "hub" : e;
47313
47313
  }
47314
47314
  function XP(e) {
47315
- return Fe.some((t) => t === e);
47315
+ return Te.some((t) => t === e);
47316
47316
  }
47317
47317
  async function ZP(e, t) {
47318
47318
  let [n, r, i, a, o, s] = await Promise.all([
@@ -47338,7 +47338,7 @@ function QP(e, t, n) {
47338
47338
  return [t(r), a];
47339
47339
  }
47340
47340
  function $P({ trpc: e, refreshKey: t }) {
47341
- let { t: n } = $(), [r, a] = dk("provider"), s = GP(r), c = l((e) => a(e === "all" ? null : e), [a]), [u, d] = QP("type", qP, "all"), [f, p] = QP("device", JP, "all"), [m, h] = QP("node", YP, "hub"), _ = go(), [x, S] = g(null), [C, w] = g(null), [T, ee] = g(0), [te, ne] = g(null), re = l(async () => {
47341
+ let { t: n } = $(), [r, a] = dk("provider"), s = GP(r), c = l((e) => a(e === "all" ? null : e), [a]), [u, d] = QP("type", qP, "all"), [f, p] = QP("device", JP, "all"), [m, h] = QP("node", YP, "hub"), _ = go(), [x, S] = g(null), [C, w] = g(null), [T, E] = g(0), [ee, te] = g(null), ne = l(async () => {
47342
47342
  w(null);
47343
47343
  try {
47344
47344
  S(await ZP(e, m));
@@ -47351,11 +47351,11 @@ function $P({ trpc: e, refreshKey: t }) {
47351
47351
  n
47352
47352
  ]);
47353
47353
  i(() => {
47354
- S(null), re();
47355
- }, [re, t]);
47356
- let E = l(async () => {
47357
- await re(), ee((e) => e + 1);
47358
- }, [re]), ie = o(() => x === null ? [] : cP({
47354
+ S(null), ne();
47355
+ }, [ne, t]);
47356
+ let D = l(async () => {
47357
+ await ne(), E((e) => e + 1);
47358
+ }, [ne]), re = o(() => x === null ? [] : cP({
47359
47359
  nodeId: m,
47360
47360
  seeds: x.seeds,
47361
47361
  stepCatalogs: x.stepCatalogs,
@@ -47364,20 +47364,20 @@ function $P({ trpc: e, refreshKey: t }) {
47364
47364
  clusterModels: x.clusterModels,
47365
47365
  registry: x.models,
47366
47366
  availability: x.availability
47367
- }), [x, m]), D = x?.devices ?? [], ae = o(() => lP(ie, D, {
47367
+ }), [x, m]), O = x?.devices ?? [], ie = o(() => lP(re, O, {
47368
47368
  provider: s,
47369
47369
  step: u,
47370
47370
  device: f
47371
47371
  }), [
47372
- ie,
47373
- D,
47372
+ re,
47373
+ O,
47374
47374
  s,
47375
47375
  u,
47376
47376
  f
47377
- ]), oe = o(() => {
47378
- let e = new Set(ie.map((e) => e.stepId));
47377
+ ]), ae = o(() => {
47378
+ let e = new Set(re.map((e) => e.stepId));
47379
47379
  return u !== "all" && e.add(u), [...e].toSorted((e, t) => e.localeCompare(t));
47380
- }, [ie, u]), se = l(async (t) => {
47380
+ }, [re, u]), oe = l(async (t) => {
47381
47381
  if (!t.removable || !XP(t.format)) return;
47382
47382
  let n = {
47383
47383
  modelId: t.modelId,
@@ -47388,7 +47388,7 @@ function $P({ trpc: e, refreshKey: t }) {
47388
47388
  ...n,
47389
47389
  addonId: t.stepId
47390
47390
  });
47391
- }, [m, e]), O = l(async (e) => {
47391
+ }, [m, e]), k = l(async (e) => {
47392
47392
  !e.removable || !XP(e.format) || await _({
47393
47393
  title: n("installed.deleteFile.title"),
47394
47394
  message: n("installed.deleteFile.message", {
@@ -47401,20 +47401,20 @@ function $P({ trpc: e, refreshKey: t }) {
47401
47401
  confirmLabel: n("installed.deleteFile.confirm"),
47402
47402
  cancelLabel: n("common.cancel"),
47403
47403
  variant: "danger"
47404
- }) && (await se(e), await E());
47404
+ }) && (await oe(e), await D());
47405
47405
  }, [
47406
47406
  _,
47407
- se,
47407
+ oe,
47408
47408
  m,
47409
- E,
47409
+ D,
47410
47410
  n
47411
- ]), ce = o(() => ae.filter((e) => e.removable), [ae]), le = l(async () => {
47412
- if (ce.length === 0) return;
47413
- let e = ce.reduce((e, t) => e + t.sizeMB, 0);
47411
+ ]), se = o(() => ie.filter((e) => e.removable), [ie]), ce = l(async () => {
47412
+ if (se.length === 0) return;
47413
+ let e = se.reduce((e, t) => e + t.sizeMB, 0);
47414
47414
  if (await _({
47415
47415
  title: n("installed.deleteUnused.title"),
47416
47416
  message: n("installed.deleteUnused.message", {
47417
- count: ce.length,
47417
+ count: se.length,
47418
47418
  size: IA(e),
47419
47419
  nodeId: m
47420
47420
  }),
@@ -47422,24 +47422,24 @@ function $P({ trpc: e, refreshKey: t }) {
47422
47422
  cancelLabel: n("common.cancel"),
47423
47423
  variant: "danger"
47424
47424
  })) {
47425
- for (let e of ce) await se(e);
47426
- await E();
47425
+ for (let e of se) await oe(e);
47426
+ await D();
47427
47427
  }
47428
47428
  }, [
47429
47429
  _,
47430
- se,
47430
+ oe,
47431
47431
  m,
47432
- E,
47433
- ce,
47432
+ D,
47433
+ se,
47434
47434
  n
47435
- ]), k = l(async (t, n) => {
47435
+ ]), le = l(async (t, n) => {
47436
47436
  await QA(e, {
47437
47437
  modelId: t.modelId,
47438
47438
  name: n
47439
- }), await E();
47440
- }, [e, E]), ue = l(async (t, r) => {
47439
+ }), await D();
47440
+ }, [e, D]), ue = l(async (t, r) => {
47441
47441
  if (r.configured) {
47442
- ne({
47442
+ te({
47443
47443
  row: t,
47444
47444
  deviceKey: r.deviceKey
47445
47445
  });
@@ -47458,16 +47458,16 @@ function $P({ trpc: e, refreshKey: t }) {
47458
47458
  variant: "default"
47459
47459
  }) && (await wj(e, {
47460
47460
  agentNodeId: m,
47461
- inferenceDevices: JN(D, t.stepId, t.modelId, [r.deviceKey])
47462
- }), await E());
47461
+ inferenceDevices: JN(O, t.stepId, t.modelId, [r.deviceKey])
47462
+ }), await D());
47463
47463
  }, [
47464
47464
  _,
47465
47465
  m,
47466
47466
  e,
47467
+ O,
47467
47468
  D,
47468
- E,
47469
47469
  n
47470
- ]), de = ie.reduce((e, t) => e + t.sizeMB, 0), fe = s !== "all" || u !== "all" || f !== "all";
47470
+ ]), de = re.reduce((e, t) => e + t.sizeMB, 0), A = s !== "all" || u !== "all" || f !== "all";
47471
47471
  return /* @__PURE__ */ y("div", {
47472
47472
  className: tt,
47473
47473
  "data-testid": "installed-tab",
@@ -47480,10 +47480,10 @@ function $P({ trpc: e, refreshKey: t }) {
47480
47480
  provider: s,
47481
47481
  onProvider: c,
47482
47482
  step: u,
47483
- stepOptions: oe,
47483
+ stepOptions: ae,
47484
47484
  onStep: d,
47485
47485
  device: f,
47486
- deviceOptions: ZN(D),
47486
+ deviceOptions: ZN(O),
47487
47487
  onDevice: p,
47488
47488
  nodeId: m,
47489
47489
  onNode: h
@@ -47499,31 +47499,31 @@ function $P({ trpc: e, refreshKey: t }) {
47499
47499
  "data-testid": "installed-summary",
47500
47500
  children: [
47501
47501
  n("installed.summary.files", {
47502
- count: ae.length,
47502
+ count: ie.length,
47503
47503
  nodeId: m
47504
47504
  }),
47505
- fe ? ` ${n("installed.summary.ofTotal", { total: ie.length })}` : "",
47505
+ A ? ` ${n("installed.summary.ofTotal", { total: re.length })}` : "",
47506
47506
  " ·",
47507
47507
  " ",
47508
47508
  n("installed.summary.onDisk", { size: IA(de) }),
47509
47509
  " ·",
47510
47510
  " ",
47511
- n("installed.summary.reclaimable", { size: IA(uP(ie)) }),
47511
+ n("installed.summary.reclaimable", { size: IA(uP(re)) }),
47512
47512
  x?.engines === null ? ` · ${n("installed.summary.loadedUnavailable")}` : ""
47513
47513
  ]
47514
- }), ce.length > 0 && /* @__PURE__ */ v("button", {
47514
+ }), se.length > 0 && /* @__PURE__ */ v("button", {
47515
47515
  type: "button",
47516
47516
  className: "inline-flex items-center justify-center gap-1 rounded border border-danger/40 bg-danger/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-danger hover:bg-danger/20 transition-colors disabled:opacity-40",
47517
47517
  "data-testid": "installed-remove-unused-bulk",
47518
- onClick: () => void le(),
47519
- children: n("installed.removeUnused", { count: ce.length })
47518
+ onClick: () => void ce(),
47519
+ children: n("installed.removeUnused", { count: se.length })
47520
47520
  })]
47521
47521
  }),
47522
47522
  /* @__PURE__ */ v(HP, {
47523
- rows: ae,
47524
- emptyMessage: ie.length === 0 ? n("installed.emptyNode", { nodeId: m }) : n("installed.emptyFiltered"),
47525
- onRemove: O,
47526
- onRename: k,
47523
+ rows: ie,
47524
+ emptyMessage: re.length === 0 ? n("installed.emptyNode", { nodeId: m }) : n("installed.emptyFiltered"),
47525
+ onRemove: k,
47526
+ onRename: le,
47527
47527
  onChip: ue,
47528
47528
  onError: w
47529
47529
  }),
@@ -47531,20 +47531,20 @@ function $P({ trpc: e, refreshKey: t }) {
47531
47531
  trpc: e,
47532
47532
  refreshKey: t + T,
47533
47533
  clusterModels: x?.clusterModels ?? null,
47534
- onChanged: () => void E(),
47534
+ onChanged: () => void D(),
47535
47535
  onError: w
47536
47536
  })
47537
47537
  ] }),
47538
- te && /* @__PURE__ */ v(pP, {
47538
+ ee && /* @__PURE__ */ v(pP, {
47539
47539
  trpc: e,
47540
47540
  nodeId: m,
47541
- stepId: te.row.stepId,
47542
- modelId: te.row.modelId,
47543
- modelName: te.row.name,
47544
- devices: D,
47545
- deviceKey: te.deviceKey,
47546
- onClose: () => ne(null),
47547
- onDone: () => void E()
47541
+ stepId: ee.row.stepId,
47542
+ modelId: ee.row.modelId,
47543
+ modelName: ee.row.name,
47544
+ devices: O,
47545
+ deviceKey: ee.deviceKey,
47546
+ onClose: () => te(null),
47547
+ onDone: () => void D()
47548
47548
  })
47549
47549
  ]
47550
47550
  });