@camstack/addon-benchmark 1.2.162 → 1.2.164

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 (16) hide show
  1. package/dist/{MotionZonesSettings-hx--xMF9.mjs → MotionZonesSettings-QSpVFGbv.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-B8zFnfhm.mjs → PrivacyMaskSettings-BfAlSYcW.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-DvF8aoDg.mjs → SceneMonitorEditor-CaK9yxcO.mjs} +3 -3
  4. package/dist/_stub.js +307 -307
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-knv52JH_.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-DjZZt8nm.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CWX9yxS3.mjs +26 -0
  7. package/dist/{hostInit-CdTvqNIT.mjs → hostInit-BQzRibk7.mjs} +3 -3
  8. package/dist/{player-overlays-Cnv_LaN4.mjs → player-overlays-TL1kZIZe.mjs} +1 -1
  9. package/dist/remoteEntry.js +1 -1
  10. package/dist/{responsive-DsR8sc70.mjs → responsive-Dwo4D9SN.mjs} +1 -1
  11. package/dist/{scene-monitor-copy-CP2lDO4t.mjs → scene-monitor-copy-B7YR_62q.mjs} +1 -1
  12. package/dist/{square-DZTMvyeX.mjs → square-CL-whouD.mjs} +1 -1
  13. package/dist/{trash-2-CK9idNWG.mjs → trash-2-xGbDLXOU.mjs} +1 -1
  14. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-unQ-uCuH.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-C1TyvHkx.mjs} +1 -1
  15. package/package.json +2 -2
  16. package/dist/_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Cv1tx2Yx.mjs +0 -26
package/dist/_stub.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import "./virtualExposes-erbhyesj.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-unQ-uCuH.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-C1TyvHkx.mjs";
3
3
  import { _ as e, c as t, d as n, h as r, i, l as a, m as o, n as s, p as c, r as l, t as u, u as d, y as f } from "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.js-DQXGYpip.mjs";
4
- import { a as p, i as m, o as h, r as g, s as _ } from "./responsive-DsR8sc70.mjs";
5
- import { d as v, l as y, u as b } from "./scene-monitor-copy-CP2lDO4t.mjs";
6
- import { i as x, r as S } from "./player-overlays-Cnv_LaN4.mjs";
7
- import { r as ee, t as C } from "./square-DZTMvyeX.mjs";
8
- import { t as w } from "./trash-2-CK9idNWG.mjs";
4
+ import { a as p, i as m, o as h, r as g, s as _ } from "./responsive-Dwo4D9SN.mjs";
5
+ import { d as v, l as y, u as b } from "./scene-monitor-copy-B7YR_62q.mjs";
6
+ import { i as x, r as S } from "./player-overlays-TL1kZIZe.mjs";
7
+ import { r as ee, t as C } from "./square-CL-whouD.mjs";
8
+ import { t as w } from "./trash-2-xGbDLXOU.mjs";
9
9
  import { t as T } from "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-CQ0VjvSn.mjs";
10
10
  import { n as E, r as D, t as O } from "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-Dh0XkFx5.mjs";
11
11
  import "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare__react_mf_2_dom__loadShare__.js-NtWzzhEn.mjs";
12
12
  import "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-wTD-CVC7.mjs";
13
13
  import "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-CFJOcZEH.mjs";
14
14
  import "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-BxuRwc3x.mjs";
15
- import { _ as te, a as k, b as ne, c as A, d as j, f as M, h as N, i as re, l as ie, m as ae, n as oe, o as P, p as F, s as se, t as ce, u as I, v as le, y as ue } from "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Cv1tx2Yx.mjs";
15
+ import { a as te, b as k, c as ne, d as re, f as A, g as j, h as M, l as ie, m as N, n as ae, o as oe, p as P, r as F, s as se, t as ce, u as I, v as le, y as ue } from "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CWX9yxS3.mjs";
16
16
  import "./_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-BWPcewPF.mjs";
17
17
  var de = _("activity", [["path", {
18
18
  d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",
@@ -2665,7 +2665,7 @@ var Vn = (e, t) => {
2665
2665
  "stretch",
2666
2666
  "center-safe",
2667
2667
  "end-safe"
2668
- ], ne = () => ["auto", ...C()], A = () => [
2668
+ ], ne = () => ["auto", ...C()], re = () => [
2669
2669
  kr,
2670
2670
  "auto",
2671
2671
  "full",
@@ -2679,7 +2679,7 @@ var Vn = (e, t) => {
2679
2679
  "max",
2680
2680
  "fit",
2681
2681
  ...C()
2682
- ], j = () => [
2682
+ ], A = () => [
2683
2683
  kr,
2684
2684
  "screen",
2685
2685
  "full",
@@ -2690,7 +2690,7 @@ var Vn = (e, t) => {
2690
2690
  "max",
2691
2691
  "fit",
2692
2692
  ...C()
2693
- ], M = () => [
2693
+ ], j = () => [
2694
2694
  kr,
2695
2695
  "screen",
2696
2696
  "full",
@@ -2702,16 +2702,16 @@ var Vn = (e, t) => {
2702
2702
  "max",
2703
2703
  "fit",
2704
2704
  ...C()
2705
- ], N = () => [
2705
+ ], M = () => [
2706
2706
  e,
2707
2707
  V,
2708
2708
  B
2709
- ], re = () => [
2709
+ ], ie = () => [
2710
2710
  ...b(),
2711
2711
  Xr,
2712
2712
  Gr,
2713
2713
  { position: [V, B] }
2714
- ], ie = () => ["no-repeat", { repeat: [
2714
+ ], N = () => ["no-repeat", { repeat: [
2715
2715
  "",
2716
2716
  "x",
2717
2717
  "y",
@@ -3083,23 +3083,23 @@ var Vn = (e, t) => {
3083
3083
  "space-x-reverse": ["space-x-reverse"],
3084
3084
  "space-y": [{ "space-y": C() }],
3085
3085
  "space-y-reverse": ["space-y-reverse"],
3086
- size: [{ size: A() }],
3087
- "inline-size": [{ inline: ["auto", ...j()] }],
3088
- "min-inline-size": [{ "min-inline": ["auto", ...j()] }],
3089
- "max-inline-size": [{ "max-inline": ["none", ...j()] }],
3090
- "block-size": [{ block: ["auto", ...M()] }],
3091
- "min-block-size": [{ "min-block": ["auto", ...M()] }],
3092
- "max-block-size": [{ "max-block": ["none", ...M()] }],
3086
+ size: [{ size: re() }],
3087
+ "inline-size": [{ inline: ["auto", ...A()] }],
3088
+ "min-inline-size": [{ "min-inline": ["auto", ...A()] }],
3089
+ "max-inline-size": [{ "max-inline": ["none", ...A()] }],
3090
+ "block-size": [{ block: ["auto", ...j()] }],
3091
+ "min-block-size": [{ "min-block": ["auto", ...j()] }],
3092
+ "max-block-size": [{ "max-block": ["none", ...j()] }],
3093
3093
  w: [{ w: [
3094
3094
  s,
3095
3095
  "screen",
3096
- ...A()
3096
+ ...re()
3097
3097
  ] }],
3098
3098
  "min-w": [{ "min-w": [
3099
3099
  s,
3100
3100
  "screen",
3101
3101
  "none",
3102
- ...A()
3102
+ ...re()
3103
3103
  ] }],
3104
3104
  "max-w": [{ "max-w": [
3105
3105
  s,
@@ -3107,23 +3107,23 @@ var Vn = (e, t) => {
3107
3107
  "none",
3108
3108
  "prose",
3109
3109
  { screen: [o] },
3110
- ...A()
3110
+ ...re()
3111
3111
  ] }],
3112
3112
  h: [{ h: [
3113
3113
  "screen",
3114
3114
  "lh",
3115
- ...A()
3115
+ ...re()
3116
3116
  ] }],
3117
3117
  "min-h": [{ "min-h": [
3118
3118
  "screen",
3119
3119
  "lh",
3120
3120
  "none",
3121
- ...A()
3121
+ ...re()
3122
3122
  ] }],
3123
3123
  "max-h": [{ "max-h": [
3124
3124
  "screen",
3125
3125
  "lh",
3126
- ...A()
3126
+ ...re()
3127
3127
  ] }],
3128
3128
  "font-size": [{ text: [
3129
3129
  "base",
@@ -3196,8 +3196,8 @@ var Vn = (e, t) => {
3196
3196
  "start",
3197
3197
  "end"
3198
3198
  ] }],
3199
- "placeholder-color": [{ placeholder: N() }],
3200
- "text-color": [{ text: N() }],
3199
+ "placeholder-color": [{ placeholder: M() }],
3200
+ "text-color": [{ text: M() }],
3201
3201
  "text-decoration": [
3202
3202
  "underline",
3203
3203
  "overline",
@@ -3212,7 +3212,7 @@ var Vn = (e, t) => {
3212
3212
  V,
3213
3213
  Vr
3214
3214
  ] }],
3215
- "text-decoration-color": [{ decoration: N() }],
3215
+ "text-decoration-color": [{ decoration: M() }],
3216
3216
  "underline-offset": [{ "underline-offset": [
3217
3217
  z,
3218
3218
  "auto",
@@ -3299,8 +3299,8 @@ var Vn = (e, t) => {
3299
3299
  "padding",
3300
3300
  "content"
3301
3301
  ] }],
3302
- "bg-position": [{ bg: re() }],
3303
- "bg-repeat": [{ bg: ie() }],
3302
+ "bg-position": [{ bg: ie() }],
3303
+ "bg-repeat": [{ bg: N() }],
3304
3304
  "bg-size": [{ bg: ae() }],
3305
3305
  "bg-image": [{ bg: [
3306
3306
  "none",
@@ -3334,13 +3334,13 @@ var Vn = (e, t) => {
3334
3334
  Qr,
3335
3335
  Kr
3336
3336
  ] }],
3337
- "bg-color": [{ bg: N() }],
3337
+ "bg-color": [{ bg: M() }],
3338
3338
  "gradient-from-pos": [{ from: oe() }],
3339
3339
  "gradient-via-pos": [{ via: oe() }],
3340
3340
  "gradient-to-pos": [{ to: oe() }],
3341
- "gradient-from": [{ from: N() }],
3342
- "gradient-via": [{ via: N() }],
3343
- "gradient-to": [{ to: N() }],
3341
+ "gradient-from": [{ from: M() }],
3342
+ "gradient-via": [{ via: M() }],
3343
+ "gradient-to": [{ to: M() }],
3344
3344
  rounded: [{ rounded: P() }],
3345
3345
  "rounded-s": [{ "rounded-s": P() }],
3346
3346
  "rounded-e": [{ "rounded-e": P() }],
@@ -3381,18 +3381,18 @@ var Vn = (e, t) => {
3381
3381
  "hidden",
3382
3382
  "none"
3383
3383
  ] }],
3384
- "border-color": [{ border: N() }],
3385
- "border-color-x": [{ "border-x": N() }],
3386
- "border-color-y": [{ "border-y": N() }],
3387
- "border-color-s": [{ "border-s": N() }],
3388
- "border-color-e": [{ "border-e": N() }],
3389
- "border-color-bs": [{ "border-bs": N() }],
3390
- "border-color-be": [{ "border-be": N() }],
3391
- "border-color-t": [{ "border-t": N() }],
3392
- "border-color-r": [{ "border-r": N() }],
3393
- "border-color-b": [{ "border-b": N() }],
3394
- "border-color-l": [{ "border-l": N() }],
3395
- "divide-color": [{ divide: N() }],
3384
+ "border-color": [{ border: M() }],
3385
+ "border-color-x": [{ "border-x": M() }],
3386
+ "border-color-y": [{ "border-y": M() }],
3387
+ "border-color-s": [{ "border-s": M() }],
3388
+ "border-color-e": [{ "border-e": M() }],
3389
+ "border-color-bs": [{ "border-bs": M() }],
3390
+ "border-color-be": [{ "border-be": M() }],
3391
+ "border-color-t": [{ "border-t": M() }],
3392
+ "border-color-r": [{ "border-r": M() }],
3393
+ "border-color-b": [{ "border-b": M() }],
3394
+ "border-color-l": [{ "border-l": M() }],
3395
+ "divide-color": [{ divide: M() }],
3396
3396
  "outline-style": [{ outline: [
3397
3397
  ...se(),
3398
3398
  "none",
@@ -3409,7 +3409,7 @@ var Vn = (e, t) => {
3409
3409
  Jr,
3410
3410
  Vr
3411
3411
  ] }],
3412
- "outline-color": [{ outline: N() }],
3412
+ "outline-color": [{ outline: M() }],
3413
3413
  shadow: [{ shadow: [
3414
3414
  "",
3415
3415
  "none",
@@ -3417,28 +3417,28 @@ var Vn = (e, t) => {
3417
3417
  $r,
3418
3418
  qr
3419
3419
  ] }],
3420
- "shadow-color": [{ shadow: N() }],
3420
+ "shadow-color": [{ shadow: M() }],
3421
3421
  "inset-shadow": [{ "inset-shadow": [
3422
3422
  "none",
3423
3423
  d,
3424
3424
  $r,
3425
3425
  qr
3426
3426
  ] }],
3427
- "inset-shadow-color": [{ "inset-shadow": N() }],
3427
+ "inset-shadow-color": [{ "inset-shadow": M() }],
3428
3428
  "ring-w": [{ ring: F() }],
3429
3429
  "ring-w-inset": ["ring-inset"],
3430
- "ring-color": [{ ring: N() }],
3430
+ "ring-color": [{ ring: M() }],
3431
3431
  "ring-offset-w": [{ "ring-offset": [z, Vr] }],
3432
- "ring-offset-color": [{ "ring-offset": N() }],
3432
+ "ring-offset-color": [{ "ring-offset": M() }],
3433
3433
  "inset-ring-w": [{ "inset-ring": F() }],
3434
- "inset-ring-color": [{ "inset-ring": N() }],
3434
+ "inset-ring-color": [{ "inset-ring": M() }],
3435
3435
  "text-shadow": [{ "text-shadow": [
3436
3436
  "none",
3437
3437
  f,
3438
3438
  $r,
3439
3439
  qr
3440
3440
  ] }],
3441
- "text-shadow-color": [{ "text-shadow": N() }],
3441
+ "text-shadow-color": [{ "text-shadow": M() }],
3442
3442
  opacity: [{ opacity: [
3443
3443
  z,
3444
3444
  V,
@@ -3467,37 +3467,37 @@ var Vn = (e, t) => {
3467
3467
  "mask-image-linear-pos": [{ "mask-linear": [z] }],
3468
3468
  "mask-image-linear-from-pos": [{ "mask-linear-from": I() }],
3469
3469
  "mask-image-linear-to-pos": [{ "mask-linear-to": I() }],
3470
- "mask-image-linear-from-color": [{ "mask-linear-from": N() }],
3471
- "mask-image-linear-to-color": [{ "mask-linear-to": N() }],
3470
+ "mask-image-linear-from-color": [{ "mask-linear-from": M() }],
3471
+ "mask-image-linear-to-color": [{ "mask-linear-to": M() }],
3472
3472
  "mask-image-t-from-pos": [{ "mask-t-from": I() }],
3473
3473
  "mask-image-t-to-pos": [{ "mask-t-to": I() }],
3474
- "mask-image-t-from-color": [{ "mask-t-from": N() }],
3475
- "mask-image-t-to-color": [{ "mask-t-to": N() }],
3474
+ "mask-image-t-from-color": [{ "mask-t-from": M() }],
3475
+ "mask-image-t-to-color": [{ "mask-t-to": M() }],
3476
3476
  "mask-image-r-from-pos": [{ "mask-r-from": I() }],
3477
3477
  "mask-image-r-to-pos": [{ "mask-r-to": I() }],
3478
- "mask-image-r-from-color": [{ "mask-r-from": N() }],
3479
- "mask-image-r-to-color": [{ "mask-r-to": N() }],
3478
+ "mask-image-r-from-color": [{ "mask-r-from": M() }],
3479
+ "mask-image-r-to-color": [{ "mask-r-to": M() }],
3480
3480
  "mask-image-b-from-pos": [{ "mask-b-from": I() }],
3481
3481
  "mask-image-b-to-pos": [{ "mask-b-to": I() }],
3482
- "mask-image-b-from-color": [{ "mask-b-from": N() }],
3483
- "mask-image-b-to-color": [{ "mask-b-to": N() }],
3482
+ "mask-image-b-from-color": [{ "mask-b-from": M() }],
3483
+ "mask-image-b-to-color": [{ "mask-b-to": M() }],
3484
3484
  "mask-image-l-from-pos": [{ "mask-l-from": I() }],
3485
3485
  "mask-image-l-to-pos": [{ "mask-l-to": I() }],
3486
- "mask-image-l-from-color": [{ "mask-l-from": N() }],
3487
- "mask-image-l-to-color": [{ "mask-l-to": N() }],
3486
+ "mask-image-l-from-color": [{ "mask-l-from": M() }],
3487
+ "mask-image-l-to-color": [{ "mask-l-to": M() }],
3488
3488
  "mask-image-x-from-pos": [{ "mask-x-from": I() }],
3489
3489
  "mask-image-x-to-pos": [{ "mask-x-to": I() }],
3490
- "mask-image-x-from-color": [{ "mask-x-from": N() }],
3491
- "mask-image-x-to-color": [{ "mask-x-to": N() }],
3490
+ "mask-image-x-from-color": [{ "mask-x-from": M() }],
3491
+ "mask-image-x-to-color": [{ "mask-x-to": M() }],
3492
3492
  "mask-image-y-from-pos": [{ "mask-y-from": I() }],
3493
3493
  "mask-image-y-to-pos": [{ "mask-y-to": I() }],
3494
- "mask-image-y-from-color": [{ "mask-y-from": N() }],
3495
- "mask-image-y-to-color": [{ "mask-y-to": N() }],
3494
+ "mask-image-y-from-color": [{ "mask-y-from": M() }],
3495
+ "mask-image-y-to-color": [{ "mask-y-to": M() }],
3496
3496
  "mask-image-radial": [{ "mask-radial": [V, B] }],
3497
3497
  "mask-image-radial-from-pos": [{ "mask-radial-from": I() }],
3498
3498
  "mask-image-radial-to-pos": [{ "mask-radial-to": I() }],
3499
- "mask-image-radial-from-color": [{ "mask-radial-from": N() }],
3500
- "mask-image-radial-to-color": [{ "mask-radial-to": N() }],
3499
+ "mask-image-radial-from-color": [{ "mask-radial-from": M() }],
3500
+ "mask-image-radial-to-color": [{ "mask-radial-to": M() }],
3501
3501
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
3502
3502
  "mask-image-radial-size": [{ "mask-radial": [{
3503
3503
  closest: ["side", "corner"],
@@ -3507,8 +3507,8 @@ var Vn = (e, t) => {
3507
3507
  "mask-image-conic-pos": [{ "mask-conic": [z] }],
3508
3508
  "mask-image-conic-from-pos": [{ "mask-conic-from": I() }],
3509
3509
  "mask-image-conic-to-pos": [{ "mask-conic-to": I() }],
3510
- "mask-image-conic-from-color": [{ "mask-conic-from": N() }],
3511
- "mask-image-conic-to-color": [{ "mask-conic-to": N() }],
3510
+ "mask-image-conic-from-color": [{ "mask-conic-from": M() }],
3511
+ "mask-image-conic-to-color": [{ "mask-conic-to": M() }],
3512
3512
  "mask-mode": [{ mask: [
3513
3513
  "alpha",
3514
3514
  "luminance",
@@ -3522,8 +3522,8 @@ var Vn = (e, t) => {
3522
3522
  "stroke",
3523
3523
  "view"
3524
3524
  ] }],
3525
- "mask-position": [{ mask: re() }],
3526
- "mask-repeat": [{ mask: ie() }],
3525
+ "mask-position": [{ mask: ie() }],
3526
+ "mask-repeat": [{ mask: N() }],
3527
3527
  "mask-size": [{ mask: ae() }],
3528
3528
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
3529
3529
  "mask-image": [{ mask: [
@@ -3555,7 +3555,7 @@ var Vn = (e, t) => {
3555
3555
  $r,
3556
3556
  qr
3557
3557
  ] }],
3558
- "drop-shadow-color": [{ "drop-shadow": N() }],
3558
+ "drop-shadow-color": [{ "drop-shadow": M() }],
3559
3559
  grayscale: [{ grayscale: [
3560
3560
  "",
3561
3561
  z,
@@ -3715,9 +3715,9 @@ var Vn = (e, t) => {
3715
3715
  V,
3716
3716
  B
3717
3717
  ] }],
3718
- accent: [{ accent: N() }],
3718
+ accent: [{ accent: M() }],
3719
3719
  appearance: [{ appearance: ["none", "auto"] }],
3720
- "caret-color": [{ caret: N() }],
3720
+ "caret-color": [{ caret: M() }],
3721
3721
  "color-scheme": [{ scheme: [
3722
3722
  "normal",
3723
3723
  "dark",
@@ -3775,8 +3775,8 @@ var Vn = (e, t) => {
3775
3775
  "x"
3776
3776
  ] }],
3777
3777
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
3778
- "scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],
3779
- "scrollbar-track-color": [{ "scrollbar-track": N() }],
3778
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": M() }],
3779
+ "scrollbar-track-color": [{ "scrollbar-track": M() }],
3780
3780
  "scrollbar-gutter": [{ "scrollbar-gutter": [
3781
3781
  "auto",
3782
3782
  "stable",
@@ -3853,14 +3853,14 @@ var Vn = (e, t) => {
3853
3853
  V,
3854
3854
  B
3855
3855
  ] }],
3856
- fill: [{ fill: ["none", ...N()] }],
3856
+ fill: [{ fill: ["none", ...M()] }],
3857
3857
  "stroke-w": [{ stroke: [
3858
3858
  z,
3859
3859
  Jr,
3860
3860
  Vr,
3861
3861
  Hr
3862
3862
  ] }],
3863
- stroke: [{ stroke: ["none", ...N()] }],
3863
+ stroke: [{ stroke: ["none", ...M()] }],
3864
3864
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
3865
3865
  },
3866
3866
  conflictingClassGroups: {
@@ -4132,7 +4132,7 @@ function mi({ iconId: e, size: t = 16, color: n, className: r }) {
4132
4132
  className: r
4133
4133
  });
4134
4134
  }
4135
- f(), h("camstack:confirm-dialog", null), f(), h("camstack:device-context", null), f(), f(), h("camstack:widget-registry", null), f(), f(), f(), f(), F.Camera;
4135
+ f(), h("camstack:confirm-dialog", null), f(), h("camstack:device-context", null), f(), f(), h("camstack:widget-registry", null), f(), f(), f(), f(), N.Camera;
4136
4136
  //#endregion
4137
4137
  //#region ../ui-library/src/hooks/use-device-capability.ts
4138
4138
  function U(e) {
@@ -4292,7 +4292,7 @@ Ti.displayName = "Badge", f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), h("c
4292
4292
  mode: "live",
4293
4293
  positionMs: null,
4294
4294
  send: () => !1
4295
- }), f(), f(), f(), f(), f(), f(), i(() => import("./MotionZonesSettings-hx--xMF9.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./PrivacyMaskSettings-B8zFnfhm.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), f(), f();
4295
+ }), f(), f(), f(), f(), f(), f(), i(() => import("./MotionZonesSettings-QSpVFGbv.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./PrivacyMaskSettings-BfAlSYcW.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), f(), f();
4296
4296
  var Ei = Object.defineProperty, Di = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Ai = (e, t, n) => t in e ? Ei(e, t, {
4297
4297
  enumerable: !0,
4298
4298
  configurable: !0,
@@ -5284,7 +5284,7 @@ function ea({ active: e, onClick: t, disabled: n, children: r, title: i }) {
5284
5284
  });
5285
5285
  }
5286
5286
  function ta({ catalog: e, value: t, onChange: n, disabled: r }) {
5287
- let i = ce(e), a = re(e, t), o = i.find((e) => e.family === a?.family)?.family ?? i[0]?.family ?? "", s = i.find((e) => e.family === o) ?? i[0];
5287
+ let i = ae(e), a = te(e, t), o = i.find((e) => e.family === a?.family)?.family ?? i[0]?.family ?? "", s = i.find((e) => e.family === o) ?? i[0];
5288
5288
  if (!s) return null;
5289
5289
  let c = s.tiers.find((e) => e.tier === a?.tier)?.tier ?? s.tiers[0]?.tier ?? "", l = s.tiers.find((e) => e.tier === c) ?? s.tiers[0];
5290
5290
  if (!l) return null;
@@ -5295,7 +5295,7 @@ function ta({ catalog: e, value: t, onChange: n, disabled: r }) {
5295
5295
  let t = l.options.filter((t) => t.resolution === e), r = t.find((e) => e.precision === (a?.precision ?? "fp32") && e.optimization === (a?.optimization ?? "standard")) ?? t[0];
5296
5296
  r && n(r.modelId);
5297
5297
  }, g = (t) => {
5298
- let r = P(e, {
5298
+ let r = se(e, {
5299
5299
  family: s.family,
5300
5300
  tier: l.tier,
5301
5301
  precision: t.precision,
@@ -5417,7 +5417,7 @@ function ia({ models: e, value: t, onChange: n, disabled: i }) {
5417
5417
  r ? r.push(n) : t.set(e, [n]);
5418
5418
  }
5419
5419
  return t;
5420
- }, [e]), o = c(() => te.filter((e) => (a.get(e)?.length ?? 0) > 0), [a]), s = c(() => {
5420
+ }, [e]), o = c(() => le.filter((e) => (a.get(e)?.length ?? 0) > 0), [a]), s = c(() => {
5421
5421
  let n = e.find((e) => e.id === t);
5422
5422
  return n ? ra(n) : void 0;
5423
5423
  }, [e, t]) ?? (o.includes("camstack") ? "camstack" : o[0] ?? "camstack"), [l, u] = r(s);
@@ -6106,7 +6106,7 @@ var Na = {
6106
6106
  face: "#a855f7",
6107
6107
  plate: "#ec4899"
6108
6108
  }, Pa = Object.freeze({
6109
- ...Object.fromEntries(Object.values(ae).filter((e) => e.category === "detection" || e.kind === "motion").map((e) => [e.kind, e.color])),
6109
+ ...Object.fromEntries(Object.values(M).filter((e) => e.category === "detection" || e.kind === "motion").map((e) => [e.kind, e.color])),
6110
6110
  ...Na
6111
6111
  }), Fa = [
6112
6112
  "#ef4444",
@@ -6119,11 +6119,11 @@ var Na = {
6119
6119
  "#0891b2",
6120
6120
  "#7c3aed",
6121
6121
  "#059669"
6122
- ], Ia = ie;
6122
+ ], Ia = I;
6123
6123
  function La(e, t) {
6124
6124
  if (t?.[e]) return t[e];
6125
6125
  if (t?.[e.toLowerCase()]) return t[e.toLowerCase()];
6126
- let n = ae[e] ?? ae[e.toLowerCase()];
6126
+ let n = M[e] ?? M[e.toLowerCase()];
6127
6127
  if (n !== void 0) return n.color;
6128
6128
  if (Pa[e]) return Pa[e];
6129
6129
  if (Pa[e.toLowerCase()]) return Pa[e.toLowerCase()];
@@ -7011,29 +7011,29 @@ var W = class {
7011
7011
  this.allowedErrorProps.push(...e);
7012
7012
  }
7013
7013
  };
7014
- W.defaultInstance = new W(), W.serialize = W.defaultInstance.serialize.bind(W.defaultInstance), W.deserialize = W.defaultInstance.deserialize.bind(W.defaultInstance), W.stringify = W.defaultInstance.stringify.bind(W.defaultInstance), W.parse = W.defaultInstance.parse.bind(W.defaultInstance), W.registerClass = W.defaultInstance.registerClass.bind(W.defaultInstance), W.registerSymbol = W.defaultInstance.registerSymbol.bind(W.defaultInstance), W.registerCustom = W.defaultInstance.registerCustom.bind(W.defaultInstance), W.allowErrorProps = W.defaultInstance.allowErrorProps.bind(W.defaultInstance), W.serialize, W.deserialize, W.stringify, W.parse, W.registerClass, W.registerCustom, W.registerSymbol, W.allowErrorProps, f(), u(null), f(), f(), f(), u(null), f(), f(), f(), 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;
7015
- var is = Object.freeze([...k()]), as = Object.freeze([
7016
- N.PipelineCameraMetricsSnapshot,
7017
- N.PipelineRunnerLoadSnapshot,
7018
- N.PipelineEngineMetricsSnapshot,
7019
- N.PipelineInferenceResult,
7020
- N.PipelineTrace,
7021
- N.PipelineProgress,
7022
- N.StreamBrokerMetricsSnapshot,
7023
- N.MetricsNodeResourcesSnapshot,
7024
- N.MetricsNodeProcessesSnapshot,
7025
- N.ClusterTopologySnapshot,
7026
- N.MotionAnalysis,
7027
- N.MotionZonesRaw,
7028
- N.DetectionResult,
7029
- N.PipelineAudioInferenceResult,
7030
- N.PlatformProbePhase,
7031
- N.BenchmarkProgress,
7032
- N.ModelDownloadProgress
7014
+ W.defaultInstance = new W(), W.serialize = W.defaultInstance.serialize.bind(W.defaultInstance), W.deserialize = W.defaultInstance.deserialize.bind(W.defaultInstance), W.stringify = W.defaultInstance.stringify.bind(W.defaultInstance), W.parse = W.defaultInstance.parse.bind(W.defaultInstance), W.registerClass = W.defaultInstance.registerClass.bind(W.defaultInstance), W.registerSymbol = W.defaultInstance.registerSymbol.bind(W.defaultInstance), W.registerCustom = W.defaultInstance.registerCustom.bind(W.defaultInstance), W.allowErrorProps = W.defaultInstance.allowErrorProps.bind(W.defaultInstance), W.serialize, W.deserialize, W.stringify, W.parse, W.registerClass, W.registerCustom, W.registerSymbol, W.allowErrorProps, f(), u(null), f(), f(), f(), u(null), f(), f(), f(), j.AddonStarted, j.AddonInstalled, j.AddonRestarted, j.AddonUpdated, j.AddonStopped, j.AddonUninstalled, j.AddonCrashed, j.AddonError, j.DetectionPhaseTransition, j.DetectionResult, j.DetectionEvent, j.DetectionCameraNative, j.ProviderMotion, j.MotionOnMotionChanged, j.MotionAnalysis, j.MotionZonesRaw, j.ProviderDetection, j.PipelineAudioInferenceResult, j.AgentOnline, j.AgentOffline, j.DeviceRegistered, j.DeviceUnregistered, j.DeviceStateChanged, j.EventEmitted;
7015
+ var is = Object.freeze([...oe()]), as = Object.freeze([
7016
+ j.PipelineCameraMetricsSnapshot,
7017
+ j.PipelineRunnerLoadSnapshot,
7018
+ j.PipelineEngineMetricsSnapshot,
7019
+ j.PipelineInferenceResult,
7020
+ j.PipelineTrace,
7021
+ j.PipelineProgress,
7022
+ j.StreamBrokerMetricsSnapshot,
7023
+ j.MetricsNodeResourcesSnapshot,
7024
+ j.MetricsNodeProcessesSnapshot,
7025
+ j.ClusterTopologySnapshot,
7026
+ j.MotionAnalysis,
7027
+ j.MotionZonesRaw,
7028
+ j.DetectionResult,
7029
+ j.PipelineAudioInferenceResult,
7030
+ j.PlatformProbePhase,
7031
+ j.BenchmarkProgress,
7032
+ j.ModelDownloadProgress
7033
7033
  ]), os = new Set(as);
7034
7034
  //#endregion
7035
7035
  //#region ../ui-library/src/composites/device-controls/atoms.tsx
7036
- Object.freeze(is.filter((e) => !os.has(e))), f(), Object.freeze([...new Set(A.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), f(), f();
7036
+ Object.freeze(is.filter((e) => !os.has(e))), f(), Object.freeze([...new Set(ie.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), f(), f();
7037
7037
  function ss({ value: e, unit: t, onDelta: n }) {
7038
7038
  return /* @__PURE__ */ D("div", {
7039
7039
  className: "flex h-8 w-full overflow-hidden rounded-lg border border-border bg-surface",
@@ -7310,7 +7310,7 @@ function Ds({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
7310
7310
  slice: (e) => e.state.lockControl
7311
7311
  }), { display: l, applyOptimistic: u } = G(s, { enabled: i ?? !0 }), [d, f] = r(null), [p, m] = r(!1), [h, g] = r(null);
7312
7312
  if (l === void 0) return null;
7313
- let _ = l.state === "locked" || l.state === "locking", v = !c || l.state === "jammed", y = a?.includes(j.LockOpen) === !0, b = n === "compact", x = () => {
7313
+ let _ = l.state === "locked" || l.state === "locking", v = !c || l.state === "jammed", y = a?.includes(A.LockOpen) === !0, b = n === "compact", x = () => {
7314
7314
  u({ state: "locking" }), o?.lock({});
7315
7315
  }, S = () => {
7316
7316
  u({ state: "unlocking" }), o?.unlock({});
@@ -7349,7 +7349,7 @@ function Ds({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
7349
7349
  m(!1);
7350
7350
  }
7351
7351
  }
7352
- }, te = _ ? "Unlock" : "Lock", k = d === "open" ? "Open door?" : "Unlock device?", ne = d === "open" ? "This will release the latch and open the door." : "This will unlock the device.", A = d === "open" ? "Confirm open" : "Confirm unlock", M = E(d === "open" ? Je : ht, { className: "h-4 w-4 text-amber-400" });
7352
+ }, te = _ ? "Unlock" : "Lock", k = d === "open" ? "Open door?" : "Unlock device?", ne = d === "open" ? "This will release the latch and open the door." : "This will unlock the device.", re = d === "open" ? "Confirm open" : "Confirm unlock", j = E(d === "open" ? Je : ht, { className: "h-4 w-4 text-amber-400" });
7353
7353
  return /* @__PURE__ */ D("div", {
7354
7354
  className: H("inline-flex items-center", n === "full" ? "gap-2" : "gap-1"),
7355
7355
  children: [
@@ -7386,7 +7386,7 @@ function Ds({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
7386
7386
  children: [
7387
7387
  /* @__PURE__ */ D(Da, { children: [/* @__PURE__ */ D(ka, {
7388
7388
  className: "flex items-center gap-2",
7389
- children: [M, k]
7389
+ children: [j, k]
7390
7390
  }), /* @__PURE__ */ E(Aa, { children: ne })] }),
7391
7391
  h !== null && /* @__PURE__ */ E("div", {
7392
7392
  className: "mt-2 px-3 py-2 rounded border border-danger/40 bg-danger/10 text-xs text-danger",
@@ -7403,12 +7403,12 @@ function Ds({ trpc: e, deviceId: t, layout: n, optimistic: i, features: a }) {
7403
7403
  type: "button",
7404
7404
  variant: "danger",
7405
7405
  size: "sm",
7406
- "aria-label": A,
7406
+ "aria-label": re,
7407
7407
  disabled: p,
7408
7408
  onClick: () => {
7409
7409
  O();
7410
7410
  },
7411
- children: [p && /* @__PURE__ */ E(mt, { className: "h-3.5 w-3.5 animate-spin" }), A]
7411
+ children: [p && /* @__PURE__ */ E(mt, { className: "h-3.5 w-3.5 animate-spin" }), re]
7412
7412
  })] })
7413
7413
  ]
7414
7414
  })
@@ -8218,10 +8218,10 @@ f();
8218
8218
  var nc = (e) => e;
8219
8219
  function rc(e) {
8220
8220
  let t = e.capName === void 0 ? void 0 : e.display?.perCap?.[e.capName], n = t?.precision ?? e.display?.precision ?? e.roleDefault?.precision ?? e.slicePrecision, r = e.sliceUnit ?? e.canonicalUnit, i = t?.unit ?? e.display?.unit ?? e.roleDefault?.unit;
8221
- return i !== void 0 && r !== void 0 && i !== r && oe(r, i) ? {
8221
+ return i !== void 0 && r !== void 0 && i !== r && F(r, i) ? {
8222
8222
  unit: i,
8223
8223
  precision: n,
8224
- toDisplayValue: (e) => se(e, r, i) ?? e
8224
+ toDisplayValue: (e) => ne(e, r, i) ?? e
8225
8225
  } : {
8226
8226
  unit: r ?? "",
8227
8227
  precision: n,
@@ -8687,7 +8687,7 @@ function Cc({ trpc: e, deviceId: t, features: n, optimistic: r }) {
8687
8687
  slice: (e) => e.state.cover
8688
8688
  }), { display: s, applyOptimistic: c } = G(a, { enabled: r ?? !0 });
8689
8689
  if (i === void 0) return null;
8690
- let l = !o, u = (n ?? []).includes(j.CoverPositionable), d = (n ?? []).includes(j.CoverTilt), f = hc(s?.state), p = s?.position ?? null, m = p !== null, h = s?.state === "open" || s?.state === "opening", g = (e, t) => {
8690
+ let l = !o, u = (n ?? []).includes(A.CoverPositionable), d = (n ?? []).includes(A.CoverTilt), f = hc(s?.state), p = s?.position ?? null, m = p !== null, h = s?.state === "open" || s?.state === "opening", g = (e, t) => {
8691
8691
  l || !e || (t !== void 0 && c(t), e({}));
8692
8692
  }, _ = (e) => {
8693
8693
  l || (c({ position: e }), i?.setPosition({ position: e }));
@@ -10319,7 +10319,7 @@ function Cl({ label: e, busy: t, variant: n, onClick: r, children: i }) {
10319
10319
  function wl({ trpc: e, deviceId: t, features: n, optimistic: r }) {
10320
10320
  let { cap: i, slice: a, available: o } = gl(e, t), { display: s, applyOptimistic: c } = G(a, { enabled: r ?? !0 });
10321
10321
  if (i === void 0) return null;
10322
- let l = !o, u = (n ?? []).includes(j.ValvePositionable), d = hc(s?.state), f = hl(s?.state), p = s?.position ?? null, m = p !== null, h = (e, t) => {
10322
+ let l = !o, u = (n ?? []).includes(A.ValvePositionable), d = hc(s?.state), f = hl(s?.state), p = s?.position ?? null, m = p !== null, h = (e, t) => {
10323
10323
  l || !e || (t !== void 0 && c(t), e({}));
10324
10324
  }, g = (e) => {
10325
10325
  l || (c({ position: e }), i.setPosition({ position: e }));
@@ -11612,7 +11612,7 @@ function eu({ trpc: e, deviceId: t, deviceName: n }) {
11612
11612
  f();
11613
11613
  var tu = 20, nu = 9, ru = "#f59e0b", iu = "#ef4444";
11614
11614
  function au(e) {
11615
- return Math.min(le, Math.max(ue, e));
11615
+ return Math.min(ue, Math.max(k, e));
11616
11616
  }
11617
11617
  var ou = "\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";
11618
11618
  function su({ trpc: e, deviceId: t, layout: n, optimistic: i }) {
@@ -11911,7 +11911,7 @@ function lu({ icon: e, label: t }) {
11911
11911
  });
11912
11912
  }
11913
11913
  function uu({ grams: e, low: t, eating: n }) {
11914
- let r = Math.min(1, Math.max(0, (e ?? 0) / le)), i = t ? iu : ru, a = 52 - r * 24;
11914
+ let r = Math.min(1, Math.max(0, (e ?? 0) / ue)), i = t ? iu : ru, a = 52 - r * 24;
11915
11915
  return /* @__PURE__ */ D("svg", {
11916
11916
  width: 72,
11917
11917
  height: 72,
@@ -11976,7 +11976,7 @@ function du({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
11976
11976
  /* @__PURE__ */ E(fu, {
11977
11977
  label: `Decrease ${e} portion`,
11978
11978
  symbol: "−",
11979
- disabled: n || t <= ue,
11979
+ disabled: n || t <= k,
11980
11980
  onClick: () => r(au(t - 1))
11981
11981
  }),
11982
11982
  /* @__PURE__ */ D("span", {
@@ -11989,7 +11989,7 @@ function du({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
11989
11989
  /* @__PURE__ */ E(fu, {
11990
11990
  label: `Increase ${e} portion`,
11991
11991
  symbol: "+",
11992
- disabled: n || t >= le,
11992
+ disabled: n || t >= ue,
11993
11993
  onClick: () => r(au(t + 1))
11994
11994
  })
11995
11995
  ]
@@ -12813,7 +12813,7 @@ function $u({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12813
12813
  slice: (e) => e.state.lockControl
12814
12814
  }), { display: s, applyOptimistic: c } = G(a, { enabled: r ?? !0 });
12815
12815
  if (i === void 0 || s === void 0) return null;
12816
- let l = qu(s.state), u = Ju(s.state) || !o, d = n?.includes(j.LockOpen) === !0, f = () => {
12816
+ let l = qu(s.state), u = Ju(s.state) || !o, d = n?.includes(A.LockOpen) === !0, f = () => {
12817
12817
  u || (l ? (c({ state: "unlocking" }), i.unlock({})) : (c({ state: "locking" }), i.lock({})));
12818
12818
  }, p = () => {
12819
12819
  u || i.open({});
@@ -12871,7 +12871,7 @@ function sd({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12871
12871
  slice: (e) => e.state.color
12872
12872
  }), s = G(i.slice, { enabled: r ?? !0 }), c = G(a.slice, { enabled: r ?? !0 }), l = G(o.slice, { enabled: r ?? !0 });
12873
12873
  if (i.cap === void 0 || s.display === void 0) return null;
12874
- let u = s.display.on === !0, d = !i.available, f = c.display?.percentage ?? 0, p = !a.available, m = u ? f / 100 : 0, h = u ? ad : od, g = (n?.includes(j.LightColorMired) ?? !1) && o.cap !== void 0, _ = l.display?.mireds, v = !o.available;
12874
+ let u = s.display.on === !0, d = !i.available, f = c.display?.percentage ?? 0, p = !a.available, m = u ? f / 100 : 0, h = u ? ad : od, g = (n?.includes(A.LightColorMired) ?? !1) && o.cap !== void 0, _ = l.display?.mireds, v = !o.available;
12875
12875
  return /* @__PURE__ */ D("div", {
12876
12876
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-4",
12877
12877
  children: [
@@ -12996,7 +12996,7 @@ function ud({ trpc: e, deviceId: t, features: n, optimistic: r }) {
12996
12996
  slice: (e) => e.state.fanControl
12997
12997
  }), o = G(i.slice, { enabled: r ?? !0 }), s = G(a.slice, { enabled: r ?? !0 });
12998
12998
  if (i.cap === void 0 || o.display === void 0) return null;
12999
- let c = o.display.on === !0, l = !i.available, u = s.display?.percentage ?? 0, d = !a.available, f = c ? u / 100 : 0, p = c ? cd : ld, m = n?.includes(j.FanSpeed) ?? !1, h = (n?.includes(j.FanOscillating) ?? !1) && a.cap !== void 0, g = s.display?.availablePresets ?? [], _ = (n?.includes(j.FanPreset) ?? !1) && a.cap !== void 0 && g.length > 0, v = s.display?.preset ?? "", y = s.display?.oscillating === !0, b = () => {
12999
+ let c = o.display.on === !0, l = !i.available, u = s.display?.percentage ?? 0, d = !a.available, f = c ? u / 100 : 0, p = c ? cd : ld, m = n?.includes(A.FanSpeed) ?? !1, h = (n?.includes(A.FanOscillating) ?? !1) && a.cap !== void 0, g = s.display?.availablePresets ?? [], _ = (n?.includes(A.FanPreset) ?? !1) && a.cap !== void 0 && g.length > 0, v = s.display?.preset ?? "", y = s.display?.oscillating === !0, b = () => {
13000
13000
  if (l) return;
13001
13001
  let e = !c;
13002
13002
  o.applyOptimistic({ on: e }), i.cap?.setState({ on: e });
@@ -13185,7 +13185,7 @@ function _d({ trpc: e, deviceId: t, features: n, optimistic: r }) {
13185
13185
  slice: (e) => e.state.mediaPlayer
13186
13186
  }), { display: s, applyOptimistic: c } = G(a, { enabled: r ?? !0 });
13187
13187
  if (i === void 0 || s === void 0) return null;
13188
- let l = !o, u = fd(s.state), d = (n?.includes(j.MediaPlayerSeek) ?? !1) && s.durationMs !== null && s.durationMs > 0, f = n?.includes(j.MediaPlayerNext) ?? !1, p = n?.includes(j.MediaPlayerPrevious) ?? !1, m = (n?.includes(j.MediaPlayerVolume) ?? !1) && s.volumeLevel !== null, h = () => {
13188
+ let l = !o, u = fd(s.state), d = (n?.includes(A.MediaPlayerSeek) ?? !1) && s.durationMs !== null && s.durationMs > 0, f = n?.includes(A.MediaPlayerNext) ?? !1, p = n?.includes(A.MediaPlayerPrevious) ?? !1, m = (n?.includes(A.MediaPlayerVolume) ?? !1) && s.volumeLevel !== null, h = () => {
13189
13189
  l || (u === "play" ? (c({ state: "playing" }), i.play({})) : (c({ state: "paused" }), i.pause({})));
13190
13190
  }, g = s.currentMedia?.artist ?? s.currentMedia?.album ?? null, _ = pd(s.positionMs, s.durationMs), v = s.volumeLevel ?? 0;
13191
13191
  return /* @__PURE__ */ D("div", {
@@ -14049,7 +14049,7 @@ var af = {
14049
14049
  HeroCard: Tc
14050
14050
  }
14051
14051
  };
14052
- Object.fromEntries(Object.values(F).map((e) => [e, af[I[e]]])), F.Cover, F.Valve, F.Thermostat, F.Climate, F.Control, F.Button, F.MediaPlayer, F.AlarmPanel, F.Lock, F.Vacuum, F.LawnMower, F.Humidifier, F.Switch, F.Siren, F.Light, F.Fan, F.WaterHeater, F.Sensor, F.Presence, F.EventEmitter, F.Notifier, F.Script, F.Automation, F.Camera, F.Hub, F.Update, F.Generic, F.Weather, F.Container, F.Image, F.PetFeeder, new Set(Object.values(F));
14052
+ Object.fromEntries(Object.values(N).map((e) => [e, af[re[e]]])), N.Cover, N.Valve, N.Thermostat, N.Climate, N.Control, N.Button, N.MediaPlayer, N.AlarmPanel, N.Lock, N.Vacuum, N.LawnMower, N.Humidifier, N.Switch, N.Siren, N.Light, N.Fan, N.WaterHeater, N.Sensor, N.Presence, N.EventEmitter, N.Notifier, N.Script, N.Automation, N.Camera, N.Hub, N.Update, N.Generic, N.Weather, N.Container, N.Image, N.PetFeeder, new Set(Object.values(N));
14053
14053
  //#endregion
14054
14054
  //#region ../ui-library/src/lib/format-last-seen.ts
14055
14055
  var of = 1e3;
@@ -17282,343 +17282,343 @@ f(), f();
17282
17282
  //#endregion
17283
17283
  //#region ../ui-library/src/composites/device-meta.ts
17284
17284
  var Bv = {
17285
- [F.Camera]: {
17285
+ [N.Camera]: {
17286
17286
  icon: v,
17287
17287
  label: "Camera"
17288
17288
  },
17289
- [F.Hub]: {
17289
+ [N.Hub]: {
17290
17290
  icon: Ot,
17291
17291
  label: "Hub"
17292
17292
  },
17293
- [F.Light]: {
17293
+ [N.Light]: {
17294
17294
  icon: dt,
17295
17295
  label: "Light"
17296
17296
  },
17297
- [F.Siren]: {
17297
+ [N.Siren]: {
17298
17298
  icon: Jt,
17299
17299
  label: "Siren"
17300
17300
  },
17301
- [F.Switch]: {
17301
+ [N.Switch]: {
17302
17302
  icon: cn,
17303
17303
  label: "Switch"
17304
17304
  },
17305
- [F.Sensor]: {
17305
+ [N.Sensor]: {
17306
17306
  icon: de,
17307
17307
  label: "Sensor"
17308
17308
  },
17309
- [F.Thermostat]: {
17309
+ [N.Thermostat]: {
17310
17310
  icon: sn,
17311
17311
  label: "Thermostat"
17312
17312
  },
17313
- [F.Climate]: {
17313
+ [N.Climate]: {
17314
17314
  icon: fe,
17315
17315
  label: "Air conditioner"
17316
17316
  },
17317
- [F.Button]: {
17317
+ [N.Button]: {
17318
17318
  icon: Me,
17319
17319
  label: "Button"
17320
17320
  },
17321
- [F.EventEmitter]: {
17321
+ [N.EventEmitter]: {
17322
17322
  icon: On,
17323
17323
  label: "Event Emitter"
17324
17324
  },
17325
- [F.Update]: {
17325
+ [N.Update]: {
17326
17326
  icon: zt,
17327
17327
  label: "Update"
17328
17328
  },
17329
- [F.Generic]: {
17329
+ [N.Generic]: {
17330
17330
  icon: Te,
17331
17331
  label: "Generic"
17332
17332
  },
17333
- [F.Notifier]: {
17333
+ [N.Notifier]: {
17334
17334
  icon: be,
17335
17335
  label: "Notifier"
17336
17336
  },
17337
- [F.Script]: {
17337
+ [N.Script]: {
17338
17338
  icon: Ht,
17339
17339
  label: "Script"
17340
17340
  },
17341
- [F.Automation]: {
17341
+ [N.Automation]: {
17342
17342
  icon: En,
17343
17343
  label: "Automation"
17344
17344
  },
17345
- [F.Lock]: {
17345
+ [N.Lock]: {
17346
17346
  icon: gt,
17347
17347
  label: "Lock"
17348
17348
  },
17349
- [F.Cover]: {
17349
+ [N.Cover]: {
17350
17350
  icon: Se,
17351
17351
  label: "Cover"
17352
17352
  },
17353
- [F.Valve]: {
17353
+ [N.Valve]: {
17354
17354
  icon: Nt,
17355
17355
  label: "Valve"
17356
17356
  },
17357
- [F.Humidifier]: {
17357
+ [N.Humidifier]: {
17358
17358
  icon: Sn,
17359
17359
  label: "Humidifier"
17360
17360
  },
17361
- [F.WaterHeater]: {
17361
+ [N.WaterHeater]: {
17362
17362
  icon: ge,
17363
17363
  label: "Water heater"
17364
17364
  },
17365
- [F.Fan]: {
17365
+ [N.Fan]: {
17366
17366
  icon: Qe,
17367
17367
  label: "Fan"
17368
17368
  },
17369
- [F.MediaPlayer]: {
17369
+ [N.MediaPlayer]: {
17370
17370
  icon: xt,
17371
17371
  label: "Media player"
17372
17372
  },
17373
- [F.AlarmPanel]: {
17373
+ [N.AlarmPanel]: {
17374
17374
  icon: Wt,
17375
17375
  label: "Alarm panel"
17376
17376
  },
17377
- [F.Control]: {
17377
+ [N.Control]: {
17378
17378
  icon: Zt,
17379
17379
  label: "Control"
17380
17380
  },
17381
- [F.Presence]: {
17381
+ [N.Presence]: {
17382
17382
  icon: vt,
17383
17383
  label: "Presence"
17384
17384
  },
17385
- [F.Weather]: {
17385
+ [N.Weather]: {
17386
17386
  icon: Be,
17387
17387
  label: "Weather"
17388
17388
  },
17389
- [F.Vacuum]: {
17389
+ [N.Vacuum]: {
17390
17390
  icon: we,
17391
17391
  label: "Vacuum"
17392
17392
  },
17393
- [F.LawnMower]: {
17393
+ [N.LawnMower]: {
17394
17394
  icon: un,
17395
17395
  label: "Lawn mower"
17396
17396
  },
17397
- [F.Container]: {
17397
+ [N.Container]: {
17398
17398
  icon: Te,
17399
17399
  label: "Container"
17400
17400
  },
17401
- [F.Image]: {
17401
+ [N.Image]: {
17402
17402
  icon: ct,
17403
17403
  label: "Image"
17404
17404
  },
17405
- [F.PetFeeder]: {
17405
+ [N.PetFeeder]: {
17406
17406
  icon: Ce,
17407
17407
  label: "Pet feeder"
17408
17408
  }
17409
17409
  }, Vv = {
17410
- [M.Siren]: {
17410
+ [P.Siren]: {
17411
17411
  icon: Jt,
17412
17412
  label: "Siren"
17413
17413
  },
17414
- [M.Floodlight]: {
17414
+ [P.Floodlight]: {
17415
17415
  icon: dt,
17416
17416
  label: "Floodlight"
17417
17417
  },
17418
- [M.Spotlight]: {
17418
+ [P.Spotlight]: {
17419
17419
  icon: tt,
17420
17420
  label: "Spotlight"
17421
17421
  },
17422
- [M.PirSensor]: {
17422
+ [P.PirSensor]: {
17423
17423
  icon: Lt,
17424
17424
  label: "PIR sensor"
17425
17425
  },
17426
- [M.Chime]: {
17426
+ [P.Chime]: {
17427
17427
  icon: be,
17428
17428
  label: "Chime"
17429
17429
  },
17430
- [M.Autotrack]: {
17430
+ [P.Autotrack]: {
17431
17431
  icon: Ge,
17432
17432
  label: "Auto-track"
17433
17433
  },
17434
- [M.Nightvision]: {
17434
+ [P.Nightvision]: {
17435
17435
  icon: St,
17436
17436
  label: "Night vision"
17437
17437
  },
17438
- [M.PrivacyMask]: {
17438
+ [P.PrivacyMask]: {
17439
17439
  icon: ee,
17440
17440
  label: "Privacy mask"
17441
17441
  },
17442
- [M.Doorbell]: {
17442
+ [P.Doorbell]: {
17443
17443
  icon: qe,
17444
17444
  label: "Doorbell"
17445
17445
  },
17446
- [M.BinaryHelper]: {
17446
+ [P.BinaryHelper]: {
17447
17447
  icon: cn,
17448
17448
  label: "Binary helper"
17449
17449
  },
17450
- [M.MotionSensor]: {
17450
+ [P.MotionSensor]: {
17451
17451
  icon: rt,
17452
17452
  label: "Motion sensor"
17453
17453
  },
17454
- [M.ContactSensor]: {
17454
+ [P.ContactSensor]: {
17455
17455
  icon: Je,
17456
17456
  label: "Contact sensor"
17457
17457
  },
17458
- [M.LeakSensor]: {
17458
+ [P.LeakSensor]: {
17459
17459
  icon: Xe,
17460
17460
  label: "Leak sensor"
17461
17461
  },
17462
- [M.SmokeSensor]: {
17462
+ [P.SmokeSensor]: {
17463
17463
  icon: pe,
17464
17464
  label: "Smoke sensor"
17465
17465
  },
17466
- [M.COSensor]: {
17466
+ [P.COSensor]: {
17467
17467
  icon: Tn,
17468
17468
  label: "CO sensor"
17469
17469
  },
17470
- [M.GasSensor]: {
17470
+ [P.GasSensor]: {
17471
17471
  icon: et,
17472
17472
  label: "Gas sensor"
17473
17473
  },
17474
- [M.TamperSensor]: {
17474
+ [P.TamperSensor]: {
17475
17475
  icon: Wt,
17476
17476
  label: "Tamper sensor"
17477
17477
  },
17478
- [M.VibrationSensor]: {
17478
+ [P.VibrationSensor]: {
17479
17479
  icon: yn,
17480
17480
  label: "Vibration sensor"
17481
17481
  },
17482
- [M.ConnectivitySensor]: {
17482
+ [P.ConnectivitySensor]: {
17483
17483
  icon: wn,
17484
17484
  label: "Connectivity"
17485
17485
  },
17486
- [M.SoundSensor]: {
17486
+ [P.SoundSensor]: {
17487
17487
  icon: bn,
17488
17488
  label: "Sound sensor"
17489
17489
  },
17490
- [M.BinarySensor]: {
17490
+ [P.BinarySensor]: {
17491
17491
  icon: cn,
17492
17492
  label: "Binary sensor"
17493
17493
  },
17494
- [M.TemperatureSensor]: {
17494
+ [P.TemperatureSensor]: {
17495
17495
  icon: sn,
17496
17496
  label: "Temperature"
17497
17497
  },
17498
- [M.HumiditySensor]: {
17498
+ [P.HumiditySensor]: {
17499
17499
  icon: Ze,
17500
17500
  label: "Humidity"
17501
17501
  },
17502
- [M.AmbientLightSensor]: {
17502
+ [P.AmbientLightSensor]: {
17503
17503
  icon: rn,
17504
17504
  label: "Ambient light"
17505
17505
  },
17506
- [M.PressureSensor]: {
17506
+ [P.PressureSensor]: {
17507
17507
  icon: it,
17508
17508
  label: "Pressure"
17509
17509
  },
17510
- [M.WindSensor]: {
17510
+ [P.WindSensor]: {
17511
17511
  icon: Tn,
17512
17512
  label: "Wind"
17513
17513
  },
17514
- [M.RainSensor]: {
17514
+ [P.RainSensor]: {
17515
17515
  icon: Re,
17516
17516
  label: "Rain"
17517
17517
  },
17518
- [M.UvSensor]: {
17518
+ [P.UvSensor]: {
17519
17519
  icon: nn,
17520
17520
  label: "UV index"
17521
17521
  },
17522
- [M.SolarRadiationSensor]: {
17522
+ [P.SolarRadiationSensor]: {
17523
17523
  icon: an,
17524
17524
  label: "Solar radiation"
17525
17525
  },
17526
- [M.SoilMoistureSensor]: {
17526
+ [P.SoilMoistureSensor]: {
17527
17527
  icon: tn,
17528
17528
  label: "Soil moisture"
17529
17529
  },
17530
- [M.PowerSensor]: {
17530
+ [P.PowerSensor]: {
17531
17531
  icon: On,
17532
17532
  label: "Power"
17533
17533
  },
17534
- [M.EnergySensor]: {
17534
+ [P.EnergySensor]: {
17535
17535
  icon: On,
17536
17536
  label: "Energy"
17537
17537
  },
17538
- [M.VoltageSensor]: {
17538
+ [P.VoltageSensor]: {
17539
17539
  icon: On,
17540
17540
  label: "Voltage"
17541
17541
  },
17542
- [M.CurrentSensor]: {
17542
+ [P.CurrentSensor]: {
17543
17543
  icon: On,
17544
17544
  label: "Current"
17545
17545
  },
17546
- [M.AirQualitySensor]: {
17546
+ [P.AirQualitySensor]: {
17547
17547
  icon: Tn,
17548
17548
  label: "Air quality"
17549
17549
  },
17550
- [M.BatterySensor]: {
17550
+ [P.BatterySensor]: {
17551
17551
  icon: it,
17552
17552
  label: "Battery"
17553
17553
  },
17554
- [M.NumericSensor]: {
17554
+ [P.NumericSensor]: {
17555
17555
  icon: ot,
17556
17556
  label: "Numeric sensor"
17557
17557
  },
17558
- [M.EnumSensor]: {
17558
+ [P.EnumSensor]: {
17559
17559
  icon: pt,
17560
17560
  label: "Enum sensor"
17561
17561
  },
17562
- [M.DateTimeSensor]: {
17562
+ [P.DateTimeSensor]: {
17563
17563
  icon: Fe,
17564
17564
  label: "Date / time"
17565
17565
  },
17566
- [M.GenericSensor]: {
17566
+ [P.GenericSensor]: {
17567
17567
  icon: it,
17568
17568
  label: "Sensor"
17569
17569
  },
17570
- [M.NumericControl]: {
17570
+ [P.NumericControl]: {
17571
17571
  icon: Zt,
17572
17572
  label: "Numeric control"
17573
17573
  },
17574
- [M.SelectControl]: {
17574
+ [P.SelectControl]: {
17575
17575
  icon: ft,
17576
17576
  label: "Select control"
17577
17577
  },
17578
- [M.TextControl]: {
17578
+ [P.TextControl]: {
17579
17579
  icon: mn,
17580
17580
  label: "Text control"
17581
17581
  },
17582
- [M.DateTimeControl]: {
17582
+ [P.DateTimeControl]: {
17583
17583
  icon: Fe,
17584
17584
  label: "Date / time control"
17585
17585
  },
17586
- [M.MobilePushNotifier]: {
17586
+ [P.MobilePushNotifier]: {
17587
17587
  icon: Qt,
17588
17588
  label: "Mobile push"
17589
17589
  },
17590
- [M.MessagingNotifier]: {
17590
+ [P.MessagingNotifier]: {
17591
17591
  icon: bt,
17592
17592
  label: "Messaging"
17593
17593
  },
17594
- [M.EmailNotifier]: {
17594
+ [P.EmailNotifier]: {
17595
17595
  icon: _t,
17596
17596
  label: "Email"
17597
17597
  },
17598
- [M.GenericNotifier]: {
17598
+ [P.GenericNotifier]: {
17599
17599
  icon: be,
17600
17600
  label: "Notifier"
17601
17601
  }
17602
- }, Hv = new Set(Object.values(F));
17603
- new Set(Object.values(M));
17602
+ }, Hv = new Set(Object.values(N));
17603
+ new Set(Object.values(P));
17604
17604
  function Uv(e) {
17605
17605
  return Hv.has(e);
17606
17606
  }
17607
- var Wv = Bv[F.Generic];
17608
- Vv[M.GenericSensor];
17607
+ var Wv = Bv[N.Generic];
17608
+ Vv[P.GenericSensor];
17609
17609
  function Gv(e) {
17610
17610
  return Uv(e) ? Bv[e] ?? Wv : Wv;
17611
17611
  }
17612
17612
  //#endregion
17613
17613
  //#region ../ui-library/src/composites/hls-video.tsx
17614
- Object.values(F).map((e) => {
17614
+ Object.values(N).map((e) => {
17615
17615
  let t = Gv(e);
17616
17616
  return {
17617
17617
  id: e,
17618
17618
  label: t.label,
17619
17619
  icon: t.icon
17620
17620
  };
17621
- }), f(), f(), f(), f(), f(), u(null), f(), new Set([F.Sensor, F.Presence]), f(), u({}), f(), f(), Object.freeze([]), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), Q({
17621
+ }), f(), f(), f(), f(), f(), u(null), f(), new Set([N.Sensor, N.Presence]), f(), u({}), f(), f(), Object.freeze([]), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), Q({
17622
17622
  id: Z(),
17623
17623
  stableId: X(),
17624
17624
  addonId: X(),
@@ -17797,19 +17797,19 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17797
17797
  function ne() {
17798
17798
  a && l(a, t);
17799
17799
  }
17800
- function A() {
17800
+ function re() {
17801
17801
  let e = window.prompt("Template name:");
17802
17802
  e?.trim() && s(e.trim(), t);
17803
17803
  }
17804
- function j() {
17804
+ function A() {
17805
17805
  if (!a) return;
17806
17806
  let e = i.find((e) => e.id === a);
17807
17807
  e && window.confirm(`Delete template "${e.name}"?`) && u(a);
17808
17808
  }
17809
- function M(e) {
17810
- n(t.map((t) => t.addonId === e.addonId ? N(e) : t));
17809
+ function j(e) {
17810
+ n(t.map((t) => t.addonId === e.addonId ? M(e) : t));
17811
17811
  }
17812
- function N(e) {
17812
+ function M(e) {
17813
17813
  let t = e.children.some((e) => e.enabled || e.children.some((e) => e.enabled));
17814
17814
  return {
17815
17815
  ...e,
@@ -17823,24 +17823,24 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17823
17823
  })
17824
17824
  };
17825
17825
  }
17826
- function re(e, r) {
17826
+ function ie(e, r) {
17827
17827
  let i = Xv(r);
17828
17828
  n(t.map((t) => t.addonId === e ? {
17829
17829
  ...t,
17830
17830
  children: [...t.children, i]
17831
17831
  } : t));
17832
17832
  }
17833
- function ie(e) {
17833
+ function N(e) {
17834
17834
  let t = /* @__PURE__ */ new Set();
17835
17835
  for (let n of e) {
17836
17836
  t.add(n.addonId);
17837
17837
  for (let e of n.children) t.add(e.addonId);
17838
- let e = ie(n.children);
17838
+ let e = N(n.children);
17839
17839
  for (let n of e) t.add(n);
17840
17840
  }
17841
17841
  return t;
17842
17842
  }
17843
- let ae = ie(t);
17843
+ let ae = N(t);
17844
17844
  function oe(t) {
17845
17845
  let n = C.get(t.addonId);
17846
17846
  if (!n) return [];
@@ -17866,7 +17866,7 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17866
17866
  step: r,
17867
17867
  schema: C.get(r.addonId) ?? null,
17868
17868
  allSchemas: C,
17869
- onChange: M,
17869
+ onChange: j,
17870
17870
  onDelete: d ? void 0 : (e) => n(t.filter((t) => t.addonId !== e)),
17871
17871
  readOnly: d,
17872
17872
  ...S(r.addonId)
@@ -17887,13 +17887,13 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17887
17887
  allSchemas: C,
17888
17888
  depth: 1,
17889
17889
  onChange: (e) => {
17890
- M({
17890
+ j({
17891
17891
  ...r,
17892
17892
  children: r.children.map((t) => t.addonId === e.addonId ? e : t)
17893
17893
  });
17894
17894
  },
17895
17895
  onDelete: d ? void 0 : (e) => {
17896
- M({
17896
+ j({
17897
17897
  ...r,
17898
17898
  children: r.children.filter((t) => t.addonId !== e)
17899
17899
  });
@@ -17913,7 +17913,7 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17913
17913
  allSchemas: C,
17914
17914
  depth: 2,
17915
17915
  onChange: (t) => {
17916
- M({
17916
+ j({
17917
17917
  ...r,
17918
17918
  children: r.children.map((n) => n.addonId === e.addonId ? {
17919
17919
  ...n,
@@ -17922,7 +17922,7 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17922
17922
  });
17923
17923
  },
17924
17924
  onDelete: d ? void 0 : (t) => {
17925
- M({
17925
+ j({
17926
17926
  ...r,
17927
17927
  children: r.children.map((n) => n.addonId === e.addonId ? {
17928
17928
  ...n,
@@ -17937,7 +17937,7 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17937
17937
  addon: t,
17938
17938
  onClick: () => {
17939
17939
  let n = Xv(t);
17940
- M({
17940
+ j({
17941
17941
  ...r,
17942
17942
  children: r.children.map((t) => t.addonId === e.addonId ? {
17943
17943
  ...t,
@@ -17952,7 +17952,7 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17952
17952
  }),
17953
17953
  !d && i.map((e) => /* @__PURE__ */ E(Zv, {
17954
17954
  addon: e,
17955
- onClick: () => re(r.addonId, e)
17955
+ onClick: () => ie(r.addonId, e)
17956
17956
  }, e.id))
17957
17957
  ]
17958
17958
  })]
@@ -17991,14 +17991,14 @@ function Qv({ schema: e, steps: t, onChange: n, templates: i, selectedTemplateId
17991
17991
  children: /* @__PURE__ */ E(Vt, { className: "h-4 w-4" })
17992
17992
  }),
17993
17993
  /* @__PURE__ */ E("button", {
17994
- onClick: A,
17994
+ onClick: re,
17995
17995
  disabled: d,
17996
17996
  title: "Save As",
17997
17997
  className: H("p-2 rounded-lg border border-border transition-colors", d ? "text-foreground-subtle/30 cursor-not-allowed" : "text-foreground-subtle hover:bg-surface-hover"),
17998
17998
  children: /* @__PURE__ */ E(Ue, { className: "h-4 w-4" })
17999
17999
  }),
18000
18000
  /* @__PURE__ */ E("button", {
18001
- onClick: j,
18001
+ onClick: A,
18002
18002
  disabled: !a || d,
18003
18003
  title: "Delete",
18004
18004
  className: H("p-2 rounded-lg border border-border transition-colors", a && !d ? "text-foreground-subtle hover:text-danger" : "text-foreground-subtle/30 cursor-not-allowed"),
@@ -18199,7 +18199,7 @@ var oy = class {
18199
18199
  } catch {}
18200
18200
  }
18201
18201
  };
18202
- f(), new oy(), f(), f(), f(), i(() => import("./MaskShapeCanvas-IMozTYd-.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), i(() => import("./MotionZonesSettings-hx--xMF9.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./SceneMonitorEditor-DvF8aoDg.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), i(() => import("./PrivacyMaskSettings-B8zFnfhm.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
18202
+ f(), new oy(), f(), f(), f(), i(() => import("./MaskShapeCanvas-IMozTYd-.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), i(() => import("./MotionZonesSettings-QSpVFGbv.mjs").then((e) => ({ default: e.MotionZonesSettings }))), i(() => import("./SceneMonitorEditor-CaK9yxcO.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), i(() => import("./PrivacyMaskSettings-BfAlSYcW.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
18203
18203
  //#endregion
18204
18204
  //#region src/components/NodeSelector.tsx
18205
18205
  function sy({ selectedNodeId: e, onSelect: t }) {
@@ -18319,11 +18319,11 @@ function fy({ trpc: e, nodeId: n }) {
18319
18319
  } catch (e) {
18320
18320
  console.warn("[benchmark:audio] Failed to load audio:", e), u(null);
18321
18321
  }
18322
- }, [e, n]), A = async (e) => {
18322
+ }, [e, n]), re = async (e) => {
18323
18323
  s(e), _(null), h(""), await ne(e);
18324
- }, j = (e, t) => {
18324
+ }, A = (e, t) => {
18325
18325
  h(`Upload is not supported for audio: runAudioTest has no payload field for an uploaded file, so "${t}" cannot be classified. Pick a reference WAV above.`), u(dy(e));
18326
- }, M = async () => {
18326
+ }, j = async () => {
18327
18327
  p(!0), h(""), _(null);
18328
18328
  try {
18329
18329
  let t = await e.pipelineExecutor.runAudioTest.mutate({ ...ly({
@@ -18339,13 +18339,13 @@ function fy({ trpc: e, nodeId: n }) {
18339
18339
  p(!1);
18340
18340
  }
18341
18341
  };
18342
- function N(e, t) {
18342
+ function M(e, t) {
18343
18343
  w((n) => ({
18344
18344
  ...n,
18345
18345
  [e]: t
18346
18346
  }));
18347
18347
  }
18348
- function re(e) {
18348
+ function ie(e) {
18349
18349
  if (e.type === "slider") {
18350
18350
  let t = C[e.key], n = typeof e.default == "number" ? e.default : e.min, r = typeof t == "number" ? t : n;
18351
18351
  return /* @__PURE__ */ D("div", { children: [
@@ -18366,7 +18366,7 @@ function fy({ trpc: e, nodeId: n }) {
18366
18366
  max: e.max,
18367
18367
  step: e.step ?? .05,
18368
18368
  value: r,
18369
- onChange: (t) => N(e.key, Number(t.target.value)),
18369
+ onChange: (t) => M(e.key, Number(t.target.value)),
18370
18370
  className: "w-full"
18371
18371
  })
18372
18372
  ] }, e.key);
@@ -18391,7 +18391,7 @@ function fy({ trpc: e, nodeId: n }) {
18391
18391
  max: a,
18392
18392
  step: o,
18393
18393
  value: r,
18394
- onChange: (t) => N(e.key, Number(t.target.value)),
18394
+ onChange: (t) => M(e.key, Number(t.target.value)),
18395
18395
  className: "w-full"
18396
18396
  })
18397
18397
  ] }, e.key);
@@ -18399,7 +18399,7 @@ function fy({ trpc: e, nodeId: n }) {
18399
18399
  if (e.type === "multiselect") {
18400
18400
  let t = C[e.key], n = Array.isArray(t) ? t : Array.isArray(e.default) ? e.default : [], r = (t) => {
18401
18401
  let r = n.includes(t) ? n.filter((e) => e !== t) : [...n, t];
18402
- N(e.key, r);
18402
+ M(e.key, r);
18403
18403
  };
18404
18404
  return /* @__PURE__ */ D("div", { children: [
18405
18405
  /* @__PURE__ */ E("label", {
@@ -18428,7 +18428,7 @@ function fy({ trpc: e, nodeId: n }) {
18428
18428
  children: e.label
18429
18429
  }), /* @__PURE__ */ E("select", {
18430
18430
  value: n,
18431
- onChange: (t) => N(e.key, t.target.value),
18431
+ onChange: (t) => M(e.key, t.target.value),
18432
18432
  className: "w-full rounded-lg border border-border bg-surface px-3 py-2 text-xs text-foreground focus:outline-none focus:border-primary/50",
18433
18433
  children: e.options.map((e) => /* @__PURE__ */ E("option", {
18434
18434
  value: e.value,
@@ -18442,7 +18442,7 @@ function fy({ trpc: e, nodeId: n }) {
18442
18442
  className: "text-sm text-foreground-subtle animate-pulse py-8 text-center",
18443
18443
  children: "Loading audio pipeline..."
18444
18444
  });
18445
- let ie = g?.frame, ae = ie?.detections ?? [], { alternateTopN: oe, inferenceMs: P, totalMs: F } = uy(ie);
18445
+ let N = g?.frame, ae = N?.detections ?? [], { alternateTopN: oe, inferenceMs: P, totalMs: F } = uy(N);
18446
18446
  return /* @__PURE__ */ D("div", {
18447
18447
  className: "space-y-4",
18448
18448
  children: [
@@ -18453,9 +18453,9 @@ function fy({ trpc: e, nodeId: n }) {
18453
18453
  })),
18454
18454
  selectedFilename: o,
18455
18455
  onSelect: (e) => {
18456
- A(e);
18456
+ re(e);
18457
18457
  },
18458
- onUpload: (e, t) => j(e, t),
18458
+ onUpload: (e, t) => A(e, t),
18459
18459
  accept: ".wav,audio/wav",
18460
18460
  uploadLabel: "Upload WAV (preview only)"
18461
18461
  }),
@@ -18678,7 +18678,7 @@ function fy({ trpc: e, nodeId: n }) {
18678
18678
  })
18679
18679
  }), /* @__PURE__ */ E("div", {
18680
18680
  className: "p-3 space-y-3",
18681
- children: k.map(re)
18681
+ children: k.map(ie)
18682
18682
  })]
18683
18683
  }),
18684
18684
  b && /* @__PURE__ */ D("div", {
@@ -18726,7 +18726,7 @@ function fy({ trpc: e, nodeId: n }) {
18726
18726
  })]
18727
18727
  }),
18728
18728
  /* @__PURE__ */ E("button", {
18729
- onClick: M,
18729
+ onClick: j,
18730
18730
  disabled: f || !o,
18731
18731
  className: `w-full px-4 py-2.5 text-sm font-medium rounded-lg transition-colors sticky bottom-4 ${f ? "bg-primary text-primary-foreground animate-pulse" : "bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50"}`,
18732
18732
  children: f ? "Classifying..." : "Classify Audio"
@@ -19541,7 +19541,7 @@ function nb({ label: e, hint: t, value: n, min: r, max: i, step: a, disabled: o,
19541
19541
  });
19542
19542
  }
19543
19543
  function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19544
- let [a, s] = r([]), [l, u] = r(""), [f, p] = r(null), [m, h] = r(null), [g, _] = r(null), [v, y] = r(null), [b, x] = r(gy), [S, ee] = r(null), [C, w] = r(null), [T, te] = r(null), [k, ne] = r(!1), [A, j] = r(!1), [M, N] = r(""), [re, ie] = r([]), [ae, oe] = r([]), P = o(null), F = o(null), se = t((e) => {
19544
+ let [a, s] = r([]), [l, u] = r(""), [f, p] = r(null), [m, h] = r(null), [g, _] = r(null), [v, y] = r(null), [b, x] = r(gy), [S, ee] = r(null), [C, w] = r(null), [T, te] = r(null), [k, ne] = r(!1), [re, A] = r(!1), [j, M] = r(""), [ie, N] = r([]), [ae, oe] = r([]), P = o(null), F = o(null), se = t((e) => {
19545
19545
  x((t) => ({
19546
19546
  ...t,
19547
19547
  ...e
@@ -19551,13 +19551,13 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19551
19551
  e.pipelineExecutor.listReferenceImages.query().then((e) => {
19552
19552
  s(e), e.length > 0 && e[0] && u(e[0].filename);
19553
19553
  }).catch((e) => {
19554
- N(e instanceof Error ? e.message : String(e));
19554
+ M(e instanceof Error ? e.message : String(e));
19555
19555
  });
19556
19556
  }, [e]), d(() => {
19557
19557
  l && e.pipelineExecutor.getReferenceImage.query({ filename: l }).then((e) => {
19558
19558
  e && p(e.base64);
19559
19559
  }).catch((e) => {
19560
- N(e instanceof Error ? e.message : String(e));
19560
+ M(e instanceof Error ? e.message : String(e));
19561
19561
  });
19562
19562
  }, [e, l]);
19563
19563
  let ce = t(async () => {
@@ -19569,7 +19569,7 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19569
19569
  }));
19570
19570
  return t && ee(t), t;
19571
19571
  } catch (e) {
19572
- return N(e instanceof Error ? e.message : String(e)), null;
19572
+ return M(e instanceof Error ? e.message : String(e)), null;
19573
19573
  }
19574
19574
  }, [e]);
19575
19575
  d(() => {
@@ -19599,7 +19599,7 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19599
19599
  let r = Ry(n);
19600
19600
  r && te(r), r && r.state !== "running" && (P.current = null, I(), ce());
19601
19601
  } catch (e) {
19602
- t || N(e instanceof Error ? e.message : String(e));
19602
+ t || M(e instanceof Error ? e.message : String(e));
19603
19603
  }
19604
19604
  };
19605
19605
  n();
@@ -19637,21 +19637,21 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19637
19637
  };
19638
19638
  }, [e]);
19639
19639
  let le = S?.nodeId ?? null, ue = le !== null && le !== n, de = T?.state === "running", fe = c(() => Cy(b.rampText), [b.rampText]), pe = c(() => v ? Ty(my(v.steps)) : null, [v]), me = pe?.steps ?? [], he = T?.result ?? null, ge = he ? Ky(he) : null, _e = he ? By(he) : [], ve = qy(T), ye = fe.ramp.length > 0 ? Math.round(fe.ramp.length * (b.settleSec + b.measureSec) / 60) : 0, be = async () => {
19640
- if (N(""), ie([]), oe([]), te(null), !f) {
19641
- ie(["No reference image loaded — the ramp needs a frame to pin."]);
19640
+ if (M(""), N([]), oe([]), te(null), !f) {
19641
+ N(["No reference image loaded — the ramp needs a frame to pin."]);
19642
19642
  return;
19643
19643
  }
19644
19644
  if (!v) {
19645
- ie(["Pick a camera. The ramp runs the tree that camera really runs; there is no free-form mode here on purpose."]);
19645
+ N(["Pick a camera. The ramp runs the tree that camera really runs; there is no free-form mode here on purpose."]);
19646
19646
  return;
19647
19647
  }
19648
19648
  let t = await ce() ?? S;
19649
19649
  if (!t) {
19650
- ie(["Could not read the runner — cannot confirm which node would be measured."]);
19650
+ N(["Could not read the runner — cannot confirm which node would be measured."]);
19651
19651
  return;
19652
19652
  }
19653
19653
  if (pe && pe.missingModelFor.length > 0) {
19654
- ie([`resolvePipeline left the model to the node for: ${pe.missingModelFor.join(", ")}. The ramp needs an explicit model per root step and this page will not invent one — pin the model on that (node, device) first.`]);
19654
+ N([`resolvePipeline left the model to the node for: ${pe.missingModelFor.join(", ")}. The ramp needs an explicit model per root step and this page will not invent one — pin the model on that (node, device) first.`]);
19655
19655
  return;
19656
19656
  }
19657
19657
  let r = `cap-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`, i = Ey({
@@ -19664,7 +19664,7 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19664
19664
  form: b
19665
19665
  });
19666
19666
  if (!i.ok) {
19667
- ie(i.issues);
19667
+ N(i.issues);
19668
19668
  return;
19669
19669
  }
19670
19670
  ne(!0);
@@ -19689,7 +19689,7 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19689
19689
  form: b
19690
19690
  });
19691
19691
  if (!s.ok) {
19692
- ie(s.issues), I();
19692
+ N(s.issues), I();
19693
19693
  return;
19694
19694
  }
19695
19695
  await e.addons.custom.mutate({
@@ -19701,13 +19701,13 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19701
19701
  state: "running"
19702
19702
  });
19703
19703
  } catch (e) {
19704
- N(e instanceof Error ? e.message : String(e)), I();
19704
+ M(e instanceof Error ? e.message : String(e)), I();
19705
19705
  } finally {
19706
19706
  ne(!1);
19707
19707
  }
19708
19708
  }, xe = async () => {
19709
19709
  if (C) {
19710
- j(!0);
19710
+ A(!0);
19711
19711
  try {
19712
19712
  await e.addons.custom.mutate({
19713
19713
  addonId: tb,
@@ -19715,9 +19715,9 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
19715
19715
  input: { sessionId: C }
19716
19716
  }), oe((e) => [...e, "abort requested — the current step drains, then stops"]);
19717
19717
  } catch (e) {
19718
- N(e instanceof Error ? e.message : String(e));
19718
+ M(e instanceof Error ? e.message : String(e));
19719
19719
  } finally {
19720
- j(!1);
19720
+ A(!1);
19721
19721
  }
19722
19722
  }
19723
19723
  }, L = k || de;
@@ -20002,9 +20002,9 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
20002
20002
  /* @__PURE__ */ E("button", {
20003
20003
  type: "button",
20004
20004
  onClick: () => void xe(),
20005
- disabled: !de || A,
20005
+ disabled: !de || re,
20006
20006
  className: "px-4 py-2 text-sm rounded-md border border-border text-foreground disabled:opacity-40",
20007
- children: A ? "aborting…" : "Abort"
20007
+ children: re ? "aborting…" : "Abort"
20008
20008
  }),
20009
20009
  C && /* @__PURE__ */ D("span", {
20010
20010
  className: "text-[11px] font-mono text-foreground-subtle",
@@ -20016,13 +20016,13 @@ function rb({ trpc: e, nodeId: n, onNodeChange: i }) {
20016
20016
  })
20017
20017
  ]
20018
20018
  }),
20019
- re.length > 0 && /* @__PURE__ */ E("div", {
20019
+ ie.length > 0 && /* @__PURE__ */ E("div", {
20020
20020
  className: "rounded-md bg-danger/10 border border-danger/20 px-3 py-2 text-xs text-danger space-y-1",
20021
- children: re.map((e) => /* @__PURE__ */ E("div", { children: e }, e))
20021
+ children: ie.map((e) => /* @__PURE__ */ E("div", { children: e }, e))
20022
20022
  }),
20023
- M && /* @__PURE__ */ E("div", {
20023
+ j && /* @__PURE__ */ E("div", {
20024
20024
  className: "rounded-md bg-danger/10 border border-danger/20 px-3 py-2 text-xs text-danger",
20025
- children: M
20025
+ children: j
20026
20026
  }),
20027
20027
  T?.state === "failed" && T.error && /* @__PURE__ */ D("div", {
20028
20028
  className: "rounded-md bg-danger/10 border border-danger/20 px-3 py-2 text-xs text-danger",
@@ -20336,7 +20336,7 @@ var ab = Q({
20336
20336
  modelId: X(),
20337
20337
  cameraModelId: X().nullable()
20338
20338
  }),
20339
- rootStep: ne,
20339
+ rootStep: ce,
20340
20340
  cadence: gb,
20341
20341
  frameSize: Q({
20342
20342
  width: Z(),
@@ -20448,7 +20448,7 @@ Q({
20448
20448
  });
20449
20449
  var Tb = wb;
20450
20450
  Q({
20451
- steps: rv(ne).readonly(),
20451
+ steps: rv(ce).readonly(),
20452
20452
  imageBase64: X().optional(),
20453
20453
  referenceImage: X().optional(),
20454
20454
  nodeId: X().optional(),
@@ -21065,14 +21065,14 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21065
21065
  let [a, s] = r(null), [c, l] = r([]), [u, f] = r(null), [p, m] = r([]), [h, g] = r(""), [_, v] = r(null), [y, b] = r(""), [x, S] = r(null), [ee, C] = r({
21066
21066
  w: 640,
21067
21067
  h: 480
21068
- }), [w, T] = r([]), [O, te] = r(null), [k, ne] = r(null), [A, j] = r(null), [M, N] = r(!1), [re, ie] = r(""), [ae, oe] = r(null), [P, F] = r(!0), [se, ce] = r([]), [I, le] = r(200), [ue, de] = r(4), [fe, pe] = r(1), [me, he] = r(!1), [ge, _e] = r(null), [ve, ye] = r(null), [be, xe] = r(null), [L, Se] = r(null), [Ce, we] = r(null), Te = o(null), [Ee, De] = r(/* @__PURE__ */ new Set()), Oe = t((e, t) => {
21068
+ }), [w, T] = r([]), [O, te] = r(null), [k, ne] = r(null), [re, A] = r(null), [j, M] = r(!1), [ie, N] = r(""), [ae, oe] = r(null), [P, F] = r(!0), [se, ce] = r([]), [I, le] = r(200), [ue, de] = r(4), [fe, pe] = r(1), [me, he] = r(!1), [ge, _e] = r(null), [ve, ye] = r(null), [be, xe] = r(null), [L, Se] = r(null), [Ce, we] = r(null), Te = o(null), [Ee, De] = r(/* @__PURE__ */ new Set()), Oe = t((e, t) => {
21069
21069
  De((n) => {
21070
21070
  let r = new Set(n);
21071
21071
  return t ? r.delete(e) : r.add(e), r;
21072
21072
  });
21073
21073
  }, []);
21074
21074
  d(() => {
21075
- oe(null), ie(""), ce([]);
21075
+ oe(null), N(""), ce([]);
21076
21076
  }, [n]), d(() => {
21077
21077
  let t = null;
21078
21078
  try {
@@ -21150,13 +21150,13 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21150
21150
  } catch (e) {
21151
21151
  console.warn("[benchmark:image] Failed to load image:", e);
21152
21152
  }
21153
- }, je = A ? my(A.steps) : w.map((e) => Qb(e)), Me = async () => {
21154
- N(!0), ie(""), oe(null), ce([]);
21153
+ }, je = re ? my(re.steps) : w.map((e) => Qb(e)), Me = async () => {
21154
+ M(!0), N(""), oe(null), ce([]);
21155
21155
  let t = `ui-${Date.now()}-${Math.random().toString(36).slice(2, 10)}`;
21156
21156
  Te.current = t;
21157
21157
  try {
21158
21158
  if (!_) {
21159
- ie("No image loaded");
21159
+ N("No image loaded");
21160
21160
  return;
21161
21161
  }
21162
21162
  let r = await e.addons.custom.mutate({
@@ -21172,16 +21172,16 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21172
21172
  });
21173
21173
  console.log("[benchmark] runPipelineTest OUTPUT:", JSON.stringify(r, null, 2)), oe(r);
21174
21174
  } catch (e) {
21175
- console.error("[benchmark] runPipelineTest ERROR:", e), ie(e instanceof Error ? e.message : String(e));
21175
+ console.error("[benchmark] runPipelineTest ERROR:", e), N(e instanceof Error ? e.message : String(e));
21176
21176
  } finally {
21177
- Te.current = null, N(!1);
21177
+ Te.current = null, M(!1);
21178
21178
  }
21179
21179
  }, Ne = async (t) => {
21180
21180
  if (!_) {
21181
- ie("No image loaded");
21181
+ N("No image loaded");
21182
21182
  return;
21183
21183
  }
21184
- ie(""), he(!0), ye(t), _e("caching frame…"), Se(null), xe(null);
21184
+ N(""), he(!0), ye(t), _e("caching frame…"), Se(null), xe(null);
21185
21185
  let r = `synth-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
21186
21186
  Te.current = r;
21187
21187
  let i = null;
@@ -21231,7 +21231,7 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21231
21231
  result: o
21232
21232
  }));
21233
21233
  } catch (e) {
21234
- ie(e instanceof Error ? e.message : String(e)), _e(null);
21234
+ N(e instanceof Error ? e.message : String(e)), _e(null);
21235
21235
  } finally {
21236
21236
  he(!1), i && e.addons.custom.mutate({
21237
21237
  addonId: "pipeline-runner",
@@ -21259,8 +21259,8 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21259
21259
  onDeviceKeyChange: ne,
21260
21260
  selectedDeviceId: O,
21261
21261
  onSelectCamera: te,
21262
- onResolved: j,
21263
- disabled: M || me
21262
+ onResolved: A,
21263
+ disabled: j || me
21264
21264
  }),
21265
21265
  /* @__PURE__ */ E(Kv, {
21266
21266
  images: p,
@@ -21271,9 +21271,9 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21271
21271
  v(e), b(t), g(""), ke(n), oe(null);
21272
21272
  }
21273
21273
  }),
21274
- re && /* @__PURE__ */ E("div", {
21274
+ ie && /* @__PURE__ */ E("div", {
21275
21275
  className: "rounded-md bg-danger/10 border border-danger/20 px-3 py-2 text-xs text-danger",
21276
- children: re
21276
+ children: ie
21277
21277
  }),
21278
21278
  /* @__PURE__ */ D("div", {
21279
21279
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
@@ -21282,9 +21282,9 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21282
21282
  children: [
21283
21283
  /* @__PURE__ */ E("button", {
21284
21284
  onClick: Me,
21285
- disabled: !M && !h && !_,
21286
- className: `w-full px-4 py-2.5 text-sm font-medium rounded-lg transition-colors ${M ? "bg-primary text-primary-foreground animate-pulse" : "bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50"}`,
21287
- children: M ? se.length > 0 ? se[se.length - 1] : "Processing..." : "Run Pipeline"
21285
+ disabled: !j && !h && !_,
21286
+ className: `w-full px-4 py-2.5 text-sm font-medium rounded-lg transition-colors ${j ? "bg-primary text-primary-foreground animate-pulse" : "bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50"}`,
21287
+ children: j ? se.length > 0 ? se[se.length - 1] : "Processing..." : "Run Pipeline"
21288
21288
  }),
21289
21289
  /* @__PURE__ */ D("div", {
21290
21290
  className: "rounded-md border border-border bg-surface p-2 space-y-2",
@@ -21388,7 +21388,7 @@ function $b({ trpc: e, nodeId: n, onNodeChange: i }) {
21388
21388
  n,
21389
21389
  " · ",
21390
21390
  k ?? "node default pool",
21391
- A ? ` · camera #${A.deviceId} (resolved tree)` : " · custom tree"
21391
+ re ? ` · camera #${re.deviceId} (resolved tree)` : " · custom tree"
21392
21392
  ]
21393
21393
  })
21394
21394
  ]
@@ -21674,7 +21674,7 @@ function ax(e) {
21674
21674
  return new Date(e).toLocaleTimeString();
21675
21675
  }
21676
21676
  function ox({ trpc: e, nodeId: n, onNodeChange: i }) {
21677
- let [a, o] = r(null), [s, l] = r(null), [u, f] = r(null), [p, m] = r([]), [h, g] = r(null), [_, v] = r(""), [y, b] = r([]), [x, S] = r(null), [ee, C] = r(600), [w, T] = r(!1), [O, te] = r(null), [k, ne] = r(null), [A, j] = r(null), [M, N] = r(""), [re, ie] = r(null), ae = c(() => u?.steps.find((e) => e.addonId === "object-detection")?.modelId ?? null, [u]);
21677
+ let [a, o] = r(null), [s, l] = r(null), [u, f] = r(null), [p, m] = r([]), [h, g] = r(null), [_, v] = r(""), [y, b] = r([]), [x, S] = r(null), [ee, C] = r(600), [w, T] = r(!1), [O, te] = r(null), [k, ne] = r(null), [re, A] = r(null), [j, M] = r(""), [ie, N] = r(null), ae = c(() => u?.steps.find((e) => e.addonId === "object-detection")?.modelId ?? null, [u]);
21678
21678
  d(() => {
21679
21679
  let t = !1;
21680
21680
  return e.pipelineExecutor.getSchema.query({ nodeId: n }).then((e) => {
@@ -21688,7 +21688,7 @@ function ox({ trpc: e, nodeId: n, onNodeChange: i }) {
21688
21688
  };
21689
21689
  }, [e, n]);
21690
21690
  let oe = t(async (t) => {
21691
- N("");
21691
+ M("");
21692
21692
  try {
21693
21693
  let [n, r] = await Promise.all([e.addons.custom.mutate({
21694
21694
  addonId: "benchmark",
@@ -21702,19 +21702,19 @@ function ox({ trpc: e, nodeId: n, onNodeChange: i }) {
21702
21702
  action: "listSessionReplays",
21703
21703
  input: { deviceId: t }
21704
21704
  })]);
21705
- m(rx.parse(n)), ie(Nb.parse(r));
21705
+ m(rx.parse(n)), N(Nb.parse(r));
21706
21706
  } catch (e) {
21707
- N(e instanceof Error ? e.message : String(e));
21707
+ M(e instanceof Error ? e.message : String(e));
21708
21708
  }
21709
21709
  }, [e]);
21710
21710
  d(() => {
21711
- g(null), j(null), a === null ? (m([]), ie(null)) : oe(a);
21711
+ g(null), A(null), a === null ? (m([]), N(null)) : oe(a);
21712
21712
  }, [a, oe]);
21713
21713
  let P = p.find((e) => e.motionEventId === h) ?? null, F = async () => {
21714
21714
  if (!(a === null || P === null)) {
21715
- T(!0), N(""), j(null), ne(null);
21715
+ T(!0), M(""), A(null), ne(null);
21716
21716
  try {
21717
- j(await tx((t) => e.addons.custom.mutate({ ...t }), ex({
21717
+ A(await tx((t) => e.addons.custom.mutate({ ...t }), ex({
21718
21718
  deviceId: a,
21719
21719
  motionEventId: P.motionEventId,
21720
21720
  motionStartMs: P.startMs,
@@ -21728,7 +21728,7 @@ function ox({ trpc: e, nodeId: n, onNodeChange: i }) {
21728
21728
  onProgress: ne
21729
21729
  })), await oe(a);
21730
21730
  } catch (e) {
21731
- N(e instanceof Error ? e.message : String(e));
21731
+ M(e instanceof Error ? e.message : String(e));
21732
21732
  } finally {
21733
21733
  T(!1), te(null);
21734
21734
  }
@@ -21746,12 +21746,12 @@ function ox({ trpc: e, nodeId: n, onNodeChange: i }) {
21746
21746
  action: "getSessionReplay",
21747
21747
  input: { id: t }
21748
21748
  }), r = Pb.nullable().parse(n);
21749
- r !== null && j({
21749
+ r !== null && A({
21750
21750
  kind: "ran",
21751
21751
  report: r.report
21752
21752
  });
21753
21753
  } catch (e) {
21754
- N(e instanceof Error ? e.message : String(e));
21754
+ M(e instanceof Error ? e.message : String(e));
21755
21755
  }
21756
21756
  }, I = "mt-1 w-full px-2 py-2 sm:py-1 text-sm bg-background border border-border rounded";
21757
21757
  return /* @__PURE__ */ D("div", {
@@ -21893,32 +21893,32 @@ function ox({ trpc: e, nodeId: n, onNodeChange: i }) {
21893
21893
  })
21894
21894
  ]
21895
21895
  }),
21896
- M && /* @__PURE__ */ E("div", {
21896
+ j && /* @__PURE__ */ E("div", {
21897
21897
  className: "rounded-md bg-danger/10 border border-danger/20 px-3 py-2 text-xs text-danger",
21898
- children: M
21898
+ children: j
21899
21899
  }),
21900
- A?.kind === "refused" && /* @__PURE__ */ D("div", {
21900
+ re?.kind === "refused" && /* @__PURE__ */ D("div", {
21901
21901
  className: "rounded-md bg-warning/10 border border-warning/30 px-3 py-2 text-xs",
21902
21902
  children: [
21903
21903
  /* @__PURE__ */ D("span", {
21904
21904
  className: "font-semibold",
21905
21905
  children: [
21906
21906
  "Refused — ",
21907
- A.reason,
21907
+ re.reason,
21908
21908
  "."
21909
21909
  ]
21910
21910
  }),
21911
21911
  " ",
21912
- A.detail
21912
+ re.detail
21913
21913
  ]
21914
21914
  }),
21915
- A?.kind === "ran" && /* @__PURE__ */ E(cx, { report: A.report }),
21916
- re && re.runs.length > 0 && /* @__PURE__ */ D("div", {
21915
+ re?.kind === "ran" && /* @__PURE__ */ E(cx, { report: re.report }),
21916
+ ie && ie.runs.length > 0 && /* @__PURE__ */ D("div", {
21917
21917
  className: "rounded-md border border-border bg-surface p-3 space-y-2",
21918
21918
  children: [/* @__PURE__ */ E("div", {
21919
21919
  className: "text-[10px] font-medium text-foreground-subtle uppercase tracking-wide",
21920
21920
  children: "Stored replays of this camera"
21921
- }), re.runs.map((e) => /* @__PURE__ */ D("button", {
21921
+ }), ie.runs.map((e) => /* @__PURE__ */ D("button", {
21922
21922
  type: "button",
21923
21923
  onClick: () => void ce(e.id),
21924
21924
  className: "w-full text-left text-xs font-mono px-2 py-1.5 rounded hover:bg-primary/10",
@@ -22419,7 +22419,7 @@ function yx({ trpc: e }) {
22419
22419
  } finally {
22420
22420
  h(!1);
22421
22421
  }
22422
- }, [T, s]), A = t(async () => {
22422
+ }, [T, s]), re = t(async () => {
22423
22423
  h(!0), x([]);
22424
22424
  let e = [];
22425
22425
  for (let t of w) {
@@ -22568,7 +22568,7 @@ function yx({ trpc: e }) {
22568
22568
  }),
22569
22569
  /* @__PURE__ */ E(xx, {
22570
22570
  label: "Test each endpoint",
22571
- onClick: () => void A(),
22571
+ onClick: () => void re(),
22572
22572
  disabled: m || w.length === 0,
22573
22573
  running: m
22574
22574
  })