@camstack/addon-post-analysis 1.2.206 → 1.2.208
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.
- package/dist/{dist-sREZj0iq.js → dist-CoLA3NHh.js} +72 -0
- package/dist/{dist-WtZuLM5F.mjs → dist-WxrHfFRz.mjs} +72 -0
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-Di0Bams-.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CHmvWGlL.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BYQbvSbq.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-WRyV_amV.mjs → hostInit-B5t-MBOX.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +327 -15
- package/dist/pipeline-analytics/index.mjs +327 -15
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BsBwoxCb.mjs +0 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as audioModeOf, $t as EventCategory, A as NcSnoozeSchema, At as vectorDimFromBase64, B as SCENE_DEFAULT_UNCOVERED_POLICY, Bt as nodePin, C as NcConditionDescriptorSchema, Ct as readTimelapseGeneratedAt, D as NcRuleTargetSchema, Dt as storageOccupancyCapability, E as NcRuleSchema, Et as sceneMonitorCapability, Ft as CamProfileSchema, G as TimelapseRulePatchSchema, Gt as discriminatedUnion, H as SceneMonitorSchema, Ht as _enum, I as RECORDING_EXPORT_MAX_READ_BYTES, It as DeviceType, J as VISIT_MERGE_GAP_MS, Jt as object, K as TimelapseRuleSchema, Kt as literal, L as RetrainStatusSchema, Lt as createEvent, M as NcSystemEventKindSchema, Mt as zoneAnalyticsCapability, N as NcTaxonomySchema, Nt as errMsg$1, O as NcScheduleSchema, Ot as subKindsOf, P as OpsLogEntrySchema, Pt as BaseAddon, Q as audioMetricsCapability, Qt as unknown, Rt as hydrateSchema, S as NC_TAXONOMY, St as readDeviceStateFrom, T as NcRulePatchSchema, U as TIMELAPSE_DENSE_FLOOR_SEC, Ut as array, V as SCENE_DIVERGED, Vt as sleep$1, W as TimelapseRuleInputSchema, Wt as boolean, X as alarmPanelCapability, Xt as record, Y as addonWidgetsSourceCapability, Yt as partialRecord, Z as assertTimelapseCadences, Zt as string, _ as MediaFileKindEnum, _t as notificationRulesCapability, a as DEFAULT_EVENT_COLOR, b as NC_DEFAULT_SNOOZE_MINUTES, bt as pipelineAnalyticsCapability, c as DETECTION_MACRO_CLASSES, ct as evictionPolicyOfLocation, d as EVENT_KIND_BY_CAP, et as buildEventKindDescriptor, f as EVENT_PAD_MS, ft as isDetectionMacroClass, g as MACRO_LABELS, gt as mayWriteToLocation, h as LabelAttributionSchema, ht as kebabToCamel, i as COCO_TO_MACRO, it as deriveRecordingMode, j as NcSnoozeSuppressedSchema, jt as videoclipsCapability, k as NcSnoozeInputSchema, kt as systemEventFilterApplies, lt as faceGalleryCapability, m as FailureCounters, mt as isSourceCap, n as BaseDevice, nt as customAction, ot as encodeVectorBase64, p as FULL_IMAGE_BBOX, pt as isScheduleActive, q as TrackSourceSchema, qt as number, r as CLUSTER_MODEL_SCOPED_STEPS, rt as defineCustomActions, st as evaluateSensorEdge, t as AUDIO_MACRO_LABELS, tt as cosineSimilarity$1, u as DeclaredDevices, ut as failureContributionCapability, v as NC_ALARM_SYSTEM_EVENT_KINDS, w as NcRuleInputSchema, wt as resolveLocationMode, xt as plateGalleryCapability, y as NC_CONDITION_CATALOG, yt as pickClusterStepModels, z as SCENE_DEFAULT_ANCHOR_THRESHOLD, zt as isDeviceScopedCap } from "../dist-
|
|
1
|
+
import { $ as audioModeOf, $t as EventCategory, A as NcSnoozeSchema, At as vectorDimFromBase64, B as SCENE_DEFAULT_UNCOVERED_POLICY, Bt as nodePin, C as NcConditionDescriptorSchema, Ct as readTimelapseGeneratedAt, D as NcRuleTargetSchema, Dt as storageOccupancyCapability, E as NcRuleSchema, Et as sceneMonitorCapability, Ft as CamProfileSchema, G as TimelapseRulePatchSchema, Gt as discriminatedUnion, H as SceneMonitorSchema, Ht as _enum, I as RECORDING_EXPORT_MAX_READ_BYTES, It as DeviceType, J as VISIT_MERGE_GAP_MS, Jt as object, K as TimelapseRuleSchema, Kt as literal, L as RetrainStatusSchema, Lt as createEvent, M as NcSystemEventKindSchema, Mt as zoneAnalyticsCapability, N as NcTaxonomySchema, Nt as errMsg$1, O as NcScheduleSchema, Ot as subKindsOf, P as OpsLogEntrySchema, Pt as BaseAddon, Q as audioMetricsCapability, Qt as unknown, Rt as hydrateSchema, S as NC_TAXONOMY, St as readDeviceStateFrom, T as NcRulePatchSchema, U as TIMELAPSE_DENSE_FLOOR_SEC, Ut as array, V as SCENE_DIVERGED, Vt as sleep$1, W as TimelapseRuleInputSchema, Wt as boolean, X as alarmPanelCapability, Xt as record, Y as addonWidgetsSourceCapability, Yt as partialRecord, Z as assertTimelapseCadences, Zt as string, _ as MediaFileKindEnum, _t as notificationRulesCapability, a as DEFAULT_EVENT_COLOR, b as NC_DEFAULT_SNOOZE_MINUTES, bt as pipelineAnalyticsCapability, c as DETECTION_MACRO_CLASSES, ct as evictionPolicyOfLocation, d as EVENT_KIND_BY_CAP, et as buildEventKindDescriptor, f as EVENT_PAD_MS, ft as isDetectionMacroClass, g as MACRO_LABELS, gt as mayWriteToLocation, h as LabelAttributionSchema, ht as kebabToCamel, i as COCO_TO_MACRO, it as deriveRecordingMode, j as NcSnoozeSuppressedSchema, jt as videoclipsCapability, k as NcSnoozeInputSchema, kt as systemEventFilterApplies, lt as faceGalleryCapability, m as FailureCounters, mt as isSourceCap, n as BaseDevice, nt as customAction, ot as encodeVectorBase64, p as FULL_IMAGE_BBOX, pt as isScheduleActive, q as TrackSourceSchema, qt as number, r as CLUSTER_MODEL_SCOPED_STEPS, rt as defineCustomActions, st as evaluateSensorEdge, t as AUDIO_MACRO_LABELS, tt as cosineSimilarity$1, u as DeclaredDevices, ut as failureContributionCapability, v as NC_ALARM_SYSTEM_EVENT_KINDS, w as NcRuleInputSchema, wt as resolveLocationMode, xt as plateGalleryCapability, y as NC_CONDITION_CATALOG, yt as pickClusterStepModels, z as SCENE_DEFAULT_ANCHOR_THRESHOLD, zt as isDeviceScopedCap } from "../dist-WxrHfFRz.mjs";
|
|
2
2
|
import { t as __exportAll } from "../embedding-encoder/index.mjs";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import { promises } from "node:fs";
|
|
@@ -27572,10 +27572,63 @@ function squareSubjectCropRegion(bbox, frame) {
|
|
|
27572
27572
|
h: Math.round(side)
|
|
27573
27573
|
};
|
|
27574
27574
|
}
|
|
27575
|
-
|
|
27576
|
-
|
|
27575
|
+
/**
|
|
27576
|
+
* How much of the composed picture may be synthesized fill before the canvas
|
|
27577
|
+
* NARROWS instead (operator directive, 2026-09-08, track a46599d5 device 3829).
|
|
27578
|
+
*
|
|
27579
|
+
* A subject flush against a frame edge for its whole life has no containable
|
|
27580
|
+
* frame, so `containSubject` keeps the middle square on it and pays the
|
|
27581
|
+
* overhang in lateral fill. On that car the bill was 225 px — 21.9% of the
|
|
27582
|
+
* picture, and the operator read the blurred stretch as a mirrored duplicate of
|
|
27583
|
+
* the scene.
|
|
27584
|
+
*
|
|
27585
|
+
* Rather than choose between an uncontained subject and a quarter of ambience,
|
|
27586
|
+
* the canvas gives up WIDTH: it narrows towards its own central square until
|
|
27587
|
+
* the fill is at most this fraction. Aspect then lands between 1:1 and 16:9 —
|
|
27588
|
+
* the square is never crossed, because the square is the region that is
|
|
27589
|
+
* guaranteed to hold the subject.
|
|
27590
|
+
*
|
|
27591
|
+
* The cost is real and it is lateral CONTEXT: a wide surface cover-fitting a
|
|
27592
|
+
* near-square picture crops top and bottom. That is why this is a cap and not a
|
|
27593
|
+
* rule — everything that already composes with a small fill keeps its 16:9.
|
|
27594
|
+
*/
|
|
27595
|
+
var MAX_LETTERBOX_FRACTION = .1;
|
|
27596
|
+
/**
|
|
27597
|
+
* The 16:9 width, narrowed just enough to hold the fill under
|
|
27598
|
+
* {@link MAX_LETTERBOX_FRACTION}.
|
|
27599
|
+
*
|
|
27600
|
+
* The canvas is CENTRED on the square, so each side wants `(canvasW - c) / 2`
|
|
27601
|
+
* and gets whatever real frame lies there; the rest is fill. Solving
|
|
27602
|
+
* `(w - c)/2 - available <= cap * w` for `w` gives the widest canvas that
|
|
27603
|
+
* respects the cap on that side, and the binding side is the narrower answer.
|
|
27604
|
+
*
|
|
27605
|
+
* It is computed from the space available BEFORE the slide, which can only
|
|
27606
|
+
* over-estimate the fill: the slide moves the window towards real scene and
|
|
27607
|
+
* never away from it. So a layout that the slide would have rescued anyway may
|
|
27608
|
+
* come out a few percent narrower than strictly necessary — a smaller error
|
|
27609
|
+
* than the band it removes, and in the other direction.
|
|
27610
|
+
*
|
|
27611
|
+
* Never narrower than the square itself: below that the picture would cut the
|
|
27612
|
+
* one region the layout guarantees contains the subject.
|
|
27613
|
+
*/
|
|
27614
|
+
function cappedCanvasWidth(c, centralX, frameW) {
|
|
27615
|
+
const full = Math.round(c * 16 / 9);
|
|
27616
|
+
const denominator = .5 - MAX_LETTERBOX_FRACTION;
|
|
27617
|
+
const widest = (available) => (c / 2 + Math.max(0, available)) / denominator;
|
|
27618
|
+
const bound = Math.min(widest(centralX), widest(frameW - (centralX + c)));
|
|
27619
|
+
if (!Number.isFinite(bound) || bound >= full) return full;
|
|
27620
|
+
return Math.max(c, Math.round(bound));
|
|
27621
|
+
}
|
|
27622
|
+
/**
|
|
27623
|
+
* The layout at a GIVEN canvas width. `wideCentralSquareLayout` runs it twice:
|
|
27624
|
+
* once at the full 16:9 width, and — only when that leaves more fill than
|
|
27625
|
+
* {@link MAX_LETTERBOX_FRACTION} — once at the narrowed width. Two passes
|
|
27626
|
+
* rather than one predictive formula because the slide's result is what
|
|
27627
|
+
* decides, and computing the fill after the slide is exact where predicting it
|
|
27628
|
+
* is not.
|
|
27629
|
+
*/
|
|
27630
|
+
function layoutAtWidth(bbox, frame, options, central, canvasW) {
|
|
27577
27631
|
const c = central.w;
|
|
27578
|
-
const canvasW = Math.round(c * 16 / 9);
|
|
27579
27632
|
const centralX0 = Math.round((canvasW - c) / 2);
|
|
27580
27633
|
const anchorX = central.x - (canvasW - c) / 2;
|
|
27581
27634
|
let frameOriginX = anchorX;
|
|
@@ -27613,6 +27666,21 @@ function wideCentralSquareLayout(bbox, frame, options = {}) {
|
|
|
27613
27666
|
frameOriginX
|
|
27614
27667
|
};
|
|
27615
27668
|
}
|
|
27669
|
+
/** Synthesized fill as a fraction of the composed picture. */
|
|
27670
|
+
function letterboxFraction(layout, frame) {
|
|
27671
|
+
const left = Math.max(0, -layout.frameOriginX);
|
|
27672
|
+
const right = Math.max(0, layout.frameOriginX + layout.canvasW - frame.W);
|
|
27673
|
+
return layout.canvasW <= 0 ? 0 : Math.max(left, right) / layout.canvasW;
|
|
27674
|
+
}
|
|
27675
|
+
function wideCentralSquareLayout(bbox, frame, options = {}) {
|
|
27676
|
+
const central = squareSubjectCropRegion(bbox, frame);
|
|
27677
|
+
const c = central.w;
|
|
27678
|
+
const full = Math.round(c * 16 / 9);
|
|
27679
|
+
const wide = layoutAtWidth(bbox, frame, options, central, full);
|
|
27680
|
+
if (full > frame.W || letterboxFraction(wide, frame) <= .1) return wide;
|
|
27681
|
+
const narrowed = cappedCanvasWidth(c, central.x, frame.W);
|
|
27682
|
+
return narrowed >= full ? wide : layoutAtWidth(bbox, frame, options, central, narrowed);
|
|
27683
|
+
}
|
|
27616
27684
|
/**
|
|
27617
27685
|
* Fraction of the subject bbox's area that lands inside the CENTRAL SQUARE a
|
|
27618
27686
|
* square consumer center-crops from the composed 16:9 canvas — i.e. how much
|
|
@@ -28556,11 +28624,37 @@ var MediaStore = class {
|
|
|
28556
28624
|
timestamp,
|
|
28557
28625
|
deviceId: Number(data["deviceId"])
|
|
28558
28626
|
};
|
|
28559
|
-
} catch {
|
|
28627
|
+
} catch (err) {
|
|
28628
|
+
this.logger.warn("media read failed — row kept, blob not served", {
|
|
28629
|
+
tags: { deviceId: Number(data["deviceId"]) },
|
|
28630
|
+
meta: {
|
|
28631
|
+
key,
|
|
28632
|
+
path,
|
|
28633
|
+
location: mediaRowLocation(data),
|
|
28634
|
+
error: String(err)
|
|
28635
|
+
}
|
|
28636
|
+
});
|
|
28560
28637
|
return null;
|
|
28561
28638
|
}
|
|
28562
28639
|
}
|
|
28563
28640
|
/**
|
|
28641
|
+
* Can this row's blob be SERVED? The question `getByKey` answers in bytes,
|
|
28642
|
+
* asked without fetching any.
|
|
28643
|
+
*
|
|
28644
|
+
* False covers both permanent causes — no row, and a row whose blob cannot be
|
|
28645
|
+
* reached (deleted, or on a storage location the row names and the cluster no
|
|
28646
|
+
* longer has). They are one answer here because they are one answer to the
|
|
28647
|
+
* viewer: the tile is blank. Which of the two it is belongs in the log line
|
|
28648
|
+
* above, not in a boolean.
|
|
28649
|
+
*/
|
|
28650
|
+
async blobServable(key) {
|
|
28651
|
+
try {
|
|
28652
|
+
return await this.referencedBlobState(key) === "exists";
|
|
28653
|
+
} catch {
|
|
28654
|
+
return false;
|
|
28655
|
+
}
|
|
28656
|
+
}
|
|
28657
|
+
/**
|
|
28564
28658
|
* Delete a single media entry by its key (id).
|
|
28565
28659
|
* Deletes the blob from storage (best-effort) and removes the index row.
|
|
28566
28660
|
*/
|
|
@@ -28758,11 +28852,15 @@ var MediaStore = class {
|
|
|
28758
28852
|
...provenance !== void 0 ? { provenance } : {}
|
|
28759
28853
|
});
|
|
28760
28854
|
} catch (err) {
|
|
28761
|
-
this.logger.
|
|
28762
|
-
|
|
28763
|
-
|
|
28764
|
-
|
|
28765
|
-
|
|
28855
|
+
this.logger.warn("media read failed — row kept, blob not served", {
|
|
28856
|
+
tags: { deviceId: Number(data["deviceId"]) },
|
|
28857
|
+
meta: {
|
|
28858
|
+
key: row.id,
|
|
28859
|
+
path,
|
|
28860
|
+
location: mediaRowLocation(data),
|
|
28861
|
+
error: String(err)
|
|
28862
|
+
}
|
|
28863
|
+
});
|
|
28766
28864
|
}
|
|
28767
28865
|
}
|
|
28768
28866
|
return files;
|
|
@@ -30394,6 +30492,8 @@ function analyseDebugTrack(inventory) {
|
|
|
30394
30492
|
const durationMs = trackDurationMs(facts);
|
|
30395
30493
|
const closed = !facts.active;
|
|
30396
30494
|
const out = [];
|
|
30495
|
+
const unreadable = inventory.unreadableMedia ?? [];
|
|
30496
|
+
if (unreadable.length > 0) out.push(finding("MEDIA_ROW_WITHOUT_BLOB", "error", `${unreadable.length} of ${media.length} media rows exist in the index but their bytes could not be read — the tile renders blank and every count taken from the index overstates what is there. The blob is missing, or its row names a storage location that no longer resolves.`));
|
|
30397
30497
|
if (media.length === 0) out.push(finding("MEDIA_EVICTED_OR_NEVER", "error", "No media at all — either nothing was captured, or it was evicted (a debug mark does not pin retention)."));
|
|
30398
30498
|
else if (closed) {
|
|
30399
30499
|
const keyFrameMissing = !hasKind(media, "keyFrame");
|
|
@@ -30573,12 +30673,15 @@ async function gatherTrack(deps, track) {
|
|
|
30573
30673
|
for (const owner of MEDIA_OWNERS) media.push(...await deps.listMediaInfo(owner.kind, `${owner.prefix}${track.trackId}`));
|
|
30574
30674
|
const events = await deps.listEvents(track.trackId);
|
|
30575
30675
|
const thumbnailProvenance = await deps.trackThumbnailProvenance(track.trackId);
|
|
30676
|
+
const unreadableMedia = [];
|
|
30677
|
+
for (const row of media) if (!await deps.probeMediaBlob(row.key)) unreadableMedia.push(row.key);
|
|
30576
30678
|
return {
|
|
30577
30679
|
inventory: {
|
|
30578
30680
|
facts: toFacts(track),
|
|
30579
30681
|
media,
|
|
30580
30682
|
eventCount: events.length,
|
|
30581
|
-
thumbnailProvenance
|
|
30683
|
+
thumbnailProvenance,
|
|
30684
|
+
unreadableMedia
|
|
30582
30685
|
},
|
|
30583
30686
|
events
|
|
30584
30687
|
};
|
|
@@ -32614,6 +32717,130 @@ var FaceStore = class {
|
|
|
32614
32717
|
}
|
|
32615
32718
|
};
|
|
32616
32719
|
//#endregion
|
|
32720
|
+
//#region src/pipeline-analytics/identity-audit.ts
|
|
32721
|
+
/**
|
|
32722
|
+
* identity-audit — which of a person's ENROLLED samples do not look like the
|
|
32723
|
+
* rest of that person.
|
|
32724
|
+
*
|
|
32725
|
+
* ## Why this exists
|
|
32726
|
+
*
|
|
32727
|
+
* The gallery is the one input to recognition that nobody re-reads. A sample
|
|
32728
|
+
* enrolled from the wrong face keeps voting forever: it pulls the wrong name
|
|
32729
|
+
* onto every future match near it, and because auto-assignment then looks
|
|
32730
|
+
* confident, nobody goes back to check. The 2026-09-08 sweep found exactly one
|
|
32731
|
+
* such pair on this cluster — a sample under one person scoring 0.61 against
|
|
32732
|
+
* three samples of another, enrolled from the same camera in the same minute,
|
|
32733
|
+
* where every other cross-identity pair on the cluster sits under 0.50.
|
|
32734
|
+
*
|
|
32735
|
+
* Finding that took a script and a day. This module makes it a question the
|
|
32736
|
+
* operator can ask per person, from the Review tab, and act on.
|
|
32737
|
+
*
|
|
32738
|
+
* ## What it measures
|
|
32739
|
+
*
|
|
32740
|
+
* Two numbers per sample, and the second is the one that convicts:
|
|
32741
|
+
*
|
|
32742
|
+
* - `selfMean` — mean cosine against the person's OTHER samples. Low means
|
|
32743
|
+
* "this does not look like the rest of you", which is suspicious but can
|
|
32744
|
+
* also be a legitimate hard angle, bad light, a mask.
|
|
32745
|
+
* - `bestForeign` — the highest cosine against any OTHER person's samples,
|
|
32746
|
+
* with that person named. High means "this looks like someone we can name",
|
|
32747
|
+
* which is what a mis-enrolment actually looks like.
|
|
32748
|
+
*
|
|
32749
|
+
* `suspicion` combines them so a sample that looks like somebody else outranks
|
|
32750
|
+
* one that merely looks like nobody: the first is a fixable error, the second
|
|
32751
|
+
* is often just a difficult photograph.
|
|
32752
|
+
*
|
|
32753
|
+
* ## What it refuses to do
|
|
32754
|
+
*
|
|
32755
|
+
* A cosine between vectors from two different face models is a well-formed
|
|
32756
|
+
* float with no meaning — `face-matcher` refuses the comparison and so does
|
|
32757
|
+
* this (`comparable: false`). It must read as "cannot say", never as an
|
|
32758
|
+
* accusation and never as a clean bill: this list ends in a DELETE button.
|
|
32759
|
+
*
|
|
32760
|
+
* A person with one sample is not judged either. One sample has nothing to
|
|
32761
|
+
* disagree with, and the only thing an outlier score could do there is delete
|
|
32762
|
+
* the only sample a new person has.
|
|
32763
|
+
*
|
|
32764
|
+
* Pure — the caller loads the vectors and performs the removal.
|
|
32765
|
+
*/
|
|
32766
|
+
/** Above this a row is worth the operator's attention. */
|
|
32767
|
+
var SUSPICION_FLAG = .5;
|
|
32768
|
+
/**
|
|
32769
|
+
* How far a foreign match has to stand OUT to count as looking like someone
|
|
32770
|
+
* else: `bestForeign - selfMean`. A sample that scores 0.6 against a stranger
|
|
32771
|
+
* and 0.7 against its own person is not a mis-enrolment.
|
|
32772
|
+
*/
|
|
32773
|
+
function foreignExcess(selfMean, foreign) {
|
|
32774
|
+
if (foreign === void 0) return 0;
|
|
32775
|
+
if (selfMean === null) return 0;
|
|
32776
|
+
return Math.max(0, foreign.score - selfMean);
|
|
32777
|
+
}
|
|
32778
|
+
function meanCosine(target, pool) {
|
|
32779
|
+
let sum = 0;
|
|
32780
|
+
let n = 0;
|
|
32781
|
+
for (const other of pool) {
|
|
32782
|
+
if (other.sampleId === target.sampleId) continue;
|
|
32783
|
+
sum += cosineSimilarity(target.embedding, other.embedding);
|
|
32784
|
+
n += 1;
|
|
32785
|
+
}
|
|
32786
|
+
return n === 0 ? null : sum / n;
|
|
32787
|
+
}
|
|
32788
|
+
function bestForeignMatch(target, others, modelId) {
|
|
32789
|
+
let best;
|
|
32790
|
+
for (const identity of others) for (const sample of identity.samples) {
|
|
32791
|
+
if (sample.modelId !== modelId) continue;
|
|
32792
|
+
const score = cosineSimilarity(target.embedding, sample.embedding);
|
|
32793
|
+
if (best === void 0 || score > best.score) best = {
|
|
32794
|
+
identityId: identity.identityId,
|
|
32795
|
+
name: identity.name,
|
|
32796
|
+
score
|
|
32797
|
+
};
|
|
32798
|
+
}
|
|
32799
|
+
return best;
|
|
32800
|
+
}
|
|
32801
|
+
/**
|
|
32802
|
+
* Rank one person's samples, worst first.
|
|
32803
|
+
*
|
|
32804
|
+
* `suspicion` is `(1 - selfMean) / 2` — how far the sample sits from its own
|
|
32805
|
+
* person, on [0,1] — plus the foreign EXCESS, which dominates when a sample
|
|
32806
|
+
* genuinely resembles somebody the gallery can name. A sample that agrees with
|
|
32807
|
+
* its person scores near zero on both terms.
|
|
32808
|
+
*/
|
|
32809
|
+
function auditIdentitySamples(input) {
|
|
32810
|
+
const comparable = input.samples.filter((s) => s.modelId === input.modelId);
|
|
32811
|
+
const rows = input.samples.map((sample) => {
|
|
32812
|
+
if (sample.modelId !== input.modelId) return {
|
|
32813
|
+
sampleId: sample.sampleId,
|
|
32814
|
+
enrolledAt: sample.enrolledAt,
|
|
32815
|
+
...sample.deviceId === void 0 ? {} : { deviceId: sample.deviceId },
|
|
32816
|
+
comparable: false,
|
|
32817
|
+
selfMean: null,
|
|
32818
|
+
suspicion: 0
|
|
32819
|
+
};
|
|
32820
|
+
const selfMean = meanCosine(sample, comparable);
|
|
32821
|
+
const foreign = bestForeignMatch(sample, input.others, input.modelId);
|
|
32822
|
+
const excess = foreignExcess(selfMean, foreign);
|
|
32823
|
+
const suspicion = selfMean === null ? 0 : (1 - selfMean) / 2 + excess;
|
|
32824
|
+
return {
|
|
32825
|
+
sampleId: sample.sampleId,
|
|
32826
|
+
enrolledAt: sample.enrolledAt,
|
|
32827
|
+
...sample.deviceId === void 0 ? {} : { deviceId: sample.deviceId },
|
|
32828
|
+
comparable: true,
|
|
32829
|
+
selfMean,
|
|
32830
|
+
...foreign === void 0 ? {} : { bestForeign: foreign },
|
|
32831
|
+
suspicion
|
|
32832
|
+
};
|
|
32833
|
+
});
|
|
32834
|
+
rows.sort((a, b) => b.suspicion - a.suspicion);
|
|
32835
|
+
return {
|
|
32836
|
+
identityId: input.identityId,
|
|
32837
|
+
totalSamples: input.samples.length,
|
|
32838
|
+
comparableSamples: comparable.length,
|
|
32839
|
+
flagged: rows.filter((r) => r.suspicion >= SUSPICION_FLAG).length,
|
|
32840
|
+
rows
|
|
32841
|
+
};
|
|
32842
|
+
}
|
|
32843
|
+
//#endregion
|
|
32617
32844
|
//#region src/pipeline-analytics/face-gallery-provider.ts
|
|
32618
32845
|
/** Attribution of a face identity NAMED BY THE OPERATOR in the gallery. */
|
|
32619
32846
|
var OPERATOR_FACE_STEP_ID = "operator:face-gallery";
|
|
@@ -32665,6 +32892,7 @@ var FaceGalleryProvider = class {
|
|
|
32665
32892
|
eventStore;
|
|
32666
32893
|
logger;
|
|
32667
32894
|
refreshGallery;
|
|
32895
|
+
resolveClusterModelId;
|
|
32668
32896
|
eventMediaBaseUrl;
|
|
32669
32897
|
eventMediaPathPrefix;
|
|
32670
32898
|
emitFaceGalleryChanged;
|
|
@@ -32676,6 +32904,7 @@ var FaceGalleryProvider = class {
|
|
|
32676
32904
|
this.eventStore = deps.eventStore;
|
|
32677
32905
|
this.logger = deps.logger;
|
|
32678
32906
|
this.refreshGallery = deps.refreshGallery;
|
|
32907
|
+
this.resolveClusterModelId = deps.resolveClusterModelId;
|
|
32679
32908
|
this.eventMediaBaseUrl = deps.eventMediaBaseUrl;
|
|
32680
32909
|
this.eventMediaPathPrefix = deps.eventMediaPathPrefix;
|
|
32681
32910
|
this.emitFaceGalleryChanged = deps.emitFaceGalleryChanged;
|
|
@@ -32752,6 +32981,67 @@ var FaceGalleryProvider = class {
|
|
|
32752
32981
|
}
|
|
32753
32982
|
return result;
|
|
32754
32983
|
}
|
|
32984
|
+
/**
|
|
32985
|
+
* Re-analyse one person's enrolled samples against the whole gallery.
|
|
32986
|
+
*
|
|
32987
|
+
* Reads every identity's samples and their vectors — 327 on this cluster —
|
|
32988
|
+
* and ranks the target's own by how little they look like the rest of that
|
|
32989
|
+
* person and how much they look like somebody else (`identity-audit.ts`).
|
|
32990
|
+
* Dot products, no inference, no write.
|
|
32991
|
+
*
|
|
32992
|
+
* The whole gallery is loaded on purpose: the accusation that matters is
|
|
32993
|
+
* "this looks like SOMEONE ELSE", and that cannot be computed from one
|
|
32994
|
+
* person's samples.
|
|
32995
|
+
*/
|
|
32996
|
+
async auditIdentitySamples(input) {
|
|
32997
|
+
const modelId = await this.resolveClusterModelId();
|
|
32998
|
+
if (modelId === null) throw new Error("auditIdentitySamples: the cluster face-embedding model could not be resolved");
|
|
32999
|
+
const identities = await this.identityStore.listIdentities();
|
|
33000
|
+
const target = identities.find((i) => i.id === input.identityId);
|
|
33001
|
+
if (target === void 0) throw new Error(`auditIdentitySamples: no identity ${input.identityId}`);
|
|
33002
|
+
const samplesByIdentity = /* @__PURE__ */ new Map();
|
|
33003
|
+
for (const identity of identities) samplesByIdentity.set(identity.id, await this.identityStore.listSamples(identity.id));
|
|
33004
|
+
const vectors = await this.identityStore.loadSampleVectors([...samplesByIdentity.values()].flat().map((sample) => sample.id));
|
|
33005
|
+
const inputsFor = (identityId) => (samplesByIdentity.get(identityId) ?? []).flatMap((sample) => {
|
|
33006
|
+
const embedding = vectors.get(sample.id);
|
|
33007
|
+
if (embedding === void 0) return [];
|
|
33008
|
+
return [{
|
|
33009
|
+
sampleId: sample.id,
|
|
33010
|
+
embedding,
|
|
33011
|
+
modelId: sample.modelId,
|
|
33012
|
+
enrolledAt: sample.addedAt,
|
|
33013
|
+
...sample.deviceId === void 0 ? {} : { deviceId: sample.deviceId }
|
|
33014
|
+
}];
|
|
33015
|
+
});
|
|
33016
|
+
const report = auditIdentitySamples({
|
|
33017
|
+
identityId: input.identityId,
|
|
33018
|
+
samples: inputsFor(input.identityId),
|
|
33019
|
+
others: identities.filter((identity) => identity.id !== input.identityId).map((identity) => ({
|
|
33020
|
+
identityId: identity.id,
|
|
33021
|
+
name: identity.name,
|
|
33022
|
+
samples: inputsFor(identity.id)
|
|
33023
|
+
})),
|
|
33024
|
+
modelId
|
|
33025
|
+
});
|
|
33026
|
+
const meta = new Map((samplesByIdentity.get(input.identityId) ?? []).map((sample) => [sample.id, sample]));
|
|
33027
|
+
return {
|
|
33028
|
+
identityId: report.identityId,
|
|
33029
|
+
name: target.name,
|
|
33030
|
+
modelId,
|
|
33031
|
+
totalSamples: report.totalSamples,
|
|
33032
|
+
comparableSamples: report.comparableSamples,
|
|
33033
|
+
flagged: report.flagged,
|
|
33034
|
+
flagThreshold: SUSPICION_FLAG,
|
|
33035
|
+
rows: report.rows.map((row) => {
|
|
33036
|
+
const sample = meta.get(row.sampleId);
|
|
33037
|
+
return {
|
|
33038
|
+
...row,
|
|
33039
|
+
source: sample?.source ?? "detected",
|
|
33040
|
+
...sample?.mediaKey === void 0 ? {} : { mediaKey: sample.mediaKey }
|
|
33041
|
+
};
|
|
33042
|
+
})
|
|
33043
|
+
};
|
|
33044
|
+
}
|
|
32755
33045
|
async removeSample(input) {
|
|
32756
33046
|
const sample = (await this.identityStore.listSamples(input.identityId)).find((s) => s.id === input.sampleId);
|
|
32757
33047
|
if (sample?.mediaKey) await this.mediaStore.deleteByKey(sample.mediaKey);
|
|
@@ -37378,7 +37668,7 @@ var TrackCloser = class {
|
|
|
37378
37668
|
async maybePromoteLastFrame(t, ownedMedia) {
|
|
37379
37669
|
const promotion = decideLastFramePromotion(ownedMedia);
|
|
37380
37670
|
if (!promotion.promote) {
|
|
37381
|
-
if (promotion.declinedBecause
|
|
37671
|
+
if (promotion.declinedBecause === "no-key-frame") this.deps.logger.warn("no lastFrame at close", {
|
|
37382
37672
|
tags: { deviceId: t.deviceId },
|
|
37383
37673
|
meta: {
|
|
37384
37674
|
trackId: t.trackId,
|
|
@@ -58949,12 +59239,24 @@ var IdentityStore = class {
|
|
|
58949
59239
|
id: r.id,
|
|
58950
59240
|
source: d.source ?? "detected",
|
|
58951
59241
|
addedAt: Number(d.addedAt ?? 0),
|
|
59242
|
+
modelId: String(d.modelId ?? ""),
|
|
58952
59243
|
...d.mediaKey != null ? { mediaKey: d.mediaKey } : {},
|
|
58953
59244
|
...d.sourceMediaKey != null ? { sourceMediaKey: d.sourceMediaKey } : {},
|
|
58954
59245
|
...d.deviceId != null ? { deviceId: d.deviceId } : {}
|
|
58955
59246
|
};
|
|
58956
59247
|
});
|
|
58957
59248
|
}
|
|
59249
|
+
/**
|
|
59250
|
+
* The enrolled vectors for these sample ids, straight off the index.
|
|
59251
|
+
*
|
|
59252
|
+
* Exposed because the gallery audit compares samples with each other, and
|
|
59253
|
+
* `loadGallery` — the only other vector read — drops the sample id in favour
|
|
59254
|
+
* of the identity id. An audit that cannot name the sample it accuses has
|
|
59255
|
+
* nothing to offer a Remove button.
|
|
59256
|
+
*/
|
|
59257
|
+
async loadSampleVectors(sampleIds) {
|
|
59258
|
+
return this.vectors.load(sampleIds);
|
|
59259
|
+
}
|
|
58958
59260
|
async removeSample(identityId, sampleId) {
|
|
58959
59261
|
await this.store.delete.mutate({
|
|
58960
59262
|
collection: IDENTITY_SAMPLES_COLLECTION,
|
|
@@ -70866,9 +71168,13 @@ var PipelineAnalyticsAddon = class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
70866
71168
|
/**
|
|
70867
71169
|
* The store seam the `debug.*` actions and the debug bundle both read through.
|
|
70868
71170
|
*
|
|
70869
|
-
*
|
|
70870
|
-
*
|
|
70871
|
-
*
|
|
71171
|
+
* Index reads, plus ONE existence probe per media row — never a blob. The
|
|
71172
|
+
* probe is the only thing here that touches the filesystem, and it earns the
|
|
71173
|
+
* trip: every index read in this file counts rows the two serving reads
|
|
71174
|
+
* (`listByOwner`, `getByKey`) silently drop when the bytes are unreachable,
|
|
71175
|
+
* so without it the tab reports tiles the viewer draws blank. The bytes
|
|
71176
|
+
* themselves are still fetched one at a time, by key, by the export handler,
|
|
71177
|
+
* so a bundle of a hundred tracks never holds more than one file.
|
|
70872
71178
|
*/
|
|
70873
71179
|
buildDebugServiceDeps() {
|
|
70874
71180
|
const trackStore = this.trackStore;
|
|
@@ -70882,6 +71188,7 @@ var PipelineAnalyticsAddon = class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
70882
71188
|
listMediaInfo: (ownerKind, ownerId) => mediaStore.listInfoByOwner(ownerKind, ownerId),
|
|
70883
71189
|
listEvents: (trackId) => eventStore.queryObjectByTrackIds([trackId]),
|
|
70884
71190
|
trackThumbnailProvenance: (trackId) => mediaStore.trackThumbnailProvenance(trackId),
|
|
71191
|
+
probeMediaBlob: (key) => mediaStore.blobServable(key),
|
|
70885
71192
|
logger: this.ctx.logger.child("debug"),
|
|
70886
71193
|
now: () => Date.now()
|
|
70887
71194
|
};
|
|
@@ -71583,6 +71890,11 @@ var PipelineAnalyticsAddon = class PipelineAnalyticsAddon extends BaseAddon {
|
|
|
71583
71890
|
eventStore: stores.eventStore,
|
|
71584
71891
|
logger: this.ctx.logger,
|
|
71585
71892
|
refreshGallery: () => this.faceRecognizer?.refreshGallery(),
|
|
71893
|
+
resolveClusterModelId: async () => {
|
|
71894
|
+
const api = this.ctx.api;
|
|
71895
|
+
if (!api) return null;
|
|
71896
|
+
return resolveClusterModelPin(api, FACE_EMBEDDING_STEP_ID, { warn: (m, e) => this.ctx.logger.warn(m, e) });
|
|
71897
|
+
},
|
|
71586
71898
|
eventMediaBaseUrl: () => this.eventMediaBaseUrl,
|
|
71587
71899
|
eventMediaPathPrefix: () => this.eventMediaPathPrefix(),
|
|
71588
71900
|
emitFaceGalleryChanged: (payload) => this.emitFaceGalleryChanged(payload)
|
|
@@ -30,7 +30,7 @@ async function d(e) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
async function f() {
|
|
33
|
-
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CHmvWGlL.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-post-analysis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.208",
|
|
4
4
|
"description": "Post-Analysis bundle — enrichment, embedding-encoder, pipeline-analytics. Multi-entry npm package shipping addons that consume pipeline output.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region \0virtual:mf:__mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js
|
|
2
|
-
var e = "__mf_init__virtual:mf:__mfe_internal__addon_pipeline_analytics_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
-
if (!t) {
|
|
4
|
-
let n, r, i = new Promise((e, t) => {
|
|
5
|
-
n = e, r = t;
|
|
6
|
-
});
|
|
7
|
-
t = globalThis[e] = {
|
|
8
|
-
initPromise: i,
|
|
9
|
-
initResolve: n,
|
|
10
|
-
initReject: r
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
-
globalThis[r] ||= {
|
|
15
|
-
share: {},
|
|
16
|
-
remote: {}
|
|
17
|
-
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
-
var i = globalThis[r], a, o, s, c, l, u, d, f = (e) => {
|
|
19
|
-
e.AddonGlobalSettingsForm, e.AgentStepEditor, e.AlarmHeroCard, e.AlarmPanelInlineControl, e.AppShell, e.ArcKnob, e.AudioClassificationList, e.AudioLevelWaveform, e.AudioWaveform, e.AutomationHeroCard, e.AutomationInlineControl, e.AutotrackSection, e.BTN_COMPACT, e.BTN_COMPACT_DANGER, e.BTN_COMPACT_PRIMARY, e.BTN_COMPACT_WARNING, e.Badge, e.BatteryBadge, e.BottomSheet, e.Breadcrumb, e.BrightnessPanel, e.Button, e.ButtonControl, e.ButtonHeroCard, e.CARD_MODE_MIN_COLUMNS, e.CENTER, e.CHIP_ACTIVE, e.CHIP_BASE, e.CHIP_INACTIVE, e.CLASS_COLORS, e.COLUMN_BREAKPOINT_CLASS, e.COLUMN_PRIORITY, e.COMMIT_DEDUPE_TOLERANCE_MS, e.COMMIT_DEDUPE_WINDOW_MS, e.CONTROL_CAP_NAMES, e.CONTROL_FILLS, e.Camera, e.CameraStreamPlayer, e.Card, e.Checkbox, e.ChildSectionAccordion, e.ClimatePanel, e.CodeBlock, e.CollapsibleCard, e.ConfigFormBuilder, e.ConfigFormField, e.ConfigSchemaField, e.ConfirmActionButton, e.ConfirmDialogProvider, e.ConsumablesPanel, e.ContainerChildrenProvider, e.ContainerPrimaryHero, e.ControlColumn, e.ControlHeroCard, e.ControlInlineControl, e.ControlPanel, e.CopyButton, e.CoverHeroCard, e.CoverInlineControl, e.CoverPanel, e.CustomFieldRenderersProvider, e.DEFAULT_COLOR, e.DEVICE_COLUMNS, e.DEVICE_LIST_PAGE_SIZE_KEY, e.DEVICE_LIST_PAGE_SIZE_OPTIONS, e.DEVICE_ROLE_META, e.DEVICE_TYPE_CONTROL, e.DEVICE_TYPE_META, e.DISPLAY_ICON_REGISTRY, e.DataTable, e.DetectionCanvas, e.DetectionOverlay, e.DetectionResultTree, e.DevShell, e.DeviceActivityPanel, e.DeviceBatchToolbar, e.DeviceCard, e.DeviceContextProvider, e.DeviceExportPanel, e.DeviceGrid, e.DeviceItem, e.DeviceList, e.DeviceMultiSelectField, e.DeviceSelectField, e.DeviceSelectorPicker, e.DeviceStepMatrix, e.Dialog, e.DialogBody, e.DialogContent, e.DialogDescription, e.DialogFooter, e.DialogHeader, e.DialogTitle, e.DialogTrigger, e.DiscoveryPanel, e.DoorbellRecentPanel, e.Dropdown, e.DropdownContent, e.DropdownItem, e.DropdownTrigger, e.DummyHeroCard, e.DummyInline, e.EVENT_KIND_ICONS, e.EmptyState, e.ErrorBox, e.EventKindGlyph, e.EventStream, e.EyeOff, e.FILL, e.FLEET_LIST_GC_TIME_MS, e.FLEET_LIST_QUERY_KEY, e.FLEET_LIST_STALE_TIME_MS, e.FanHeroCard, e.FanInlineControl, e.FanPanel, e.FilterBar, e.FloatingEventStream, e.FloatingLogStream, e.FloatingPanel, e.FormField, a = e.GRID_GAP, e.GRID_PAIRED, e.GRID_QUICK_STATS, e.GripTrack, e.GroupedModelSelector, e.HOST_WIDGETS, e.HlsVideo, e.HoverZoomImage, e.HumidifierHeroCard, e.HumidifierInlineControl, e.INPUT_COMPACT, e.IconAction, e.IconButton, e.ImageHeroCard, e.ImageInlineControl, e.ImageOff, e.ImageSelector, e.InferenceConfigSelector, e.Input, e.KebabMenu, e.KeyValueList, e.LIST_ROW, e.Label, e.LawnMowerHeroCard, e.LawnMowerInlineControl, e.LightHeroCard, e.LightInlineControl, e.LockHeroCard, e.LockInlineControl, e.LockPanel, e.LogStream, e.LoginForm, e.MODE_COLOR, e.MaskShapeCanvas, e.MediaPlayerHeroCard, e.MediaPlayerInlineControl, e.MediaPlayerPanel, e.Mic, e.MobileDrawer, e.ModelPicker, e.MotionZonesSettings, e.NAVIGATION_DRIVE_INTERVAL_MS, e.NavigationPanel, e.NetworkLinkBadge, e.NodeMultiSelectField, e.NodePicker, e.NodeSelectField, e.OfflineBadge, e.PHASE_CONFIG, e.PRIORITY, e.PTZOverlay, e.PageHeader, e.PhaseIcon, e.PipelineBuilder, e.PipelineRuntimeSelector, e.PipelineStep, e.PipelineTreeMatrix, e.PlayerOverlaysProvider, e.Popover, e.PopoverContent, e.PopoverRowAction, e.PopoverTrigger, e.PrimaryChildPicker, e.PrivacyMaskSettings, e.ProviderBadge, e.PtzPanel, e.QrCode, e.RECONNECT_POLICY, e.RECORDED_PLAYBACK_MODES, e.RIGHT, e.ROI_AREA_WARN_FRACTION, e.ROLE_DESCRIPTOR, e.RadialGauge, e.RecordedPlaybackProvider, e.RecordingPanel, e.ResponseLog, e.RotateCcw, e.SCENE_CAPTURE_VARIANTS, e.SCENE_CAPTURE_VARIANTS$1, e.SECTION_BODY, e.SECTION_CARD, e.SECTION_HEADER, e.SETTING_ROW, e.SETTING_ROW_LABEL, e.SETTING_ROW_STACK_BREAKPOINT, e.SETTING_ROW_VALUE, e.SETTING_ROW_VALUE_TEXT, e.SNAPSHOT_MEDIA_PATH, e.SPLIT_PANEL_OUTER, e.SPLIT_PANEL_SIDE, o = e.STACK_GAP, e.STATE_COLOR, e.SceneMonitorEditor, e.ScopePicker, e.ScriptHeroCard, e.ScriptInlineControl, e.ScrollArea, e.Select, e.SemanticBadge, e.SensorHeroCard, e.SensorInlineControl, e.SensorValueAtom, e.Separator, e.SettingRow, e.Sidebar, e.SidebarItem, e.Skeleton, e.SlideOverPanel, e.SlideToggle, e.SnapshotButton, e.SortHeaderButton, e.Square, e.StatCard, e.StateValuesStream, e.StatusBadge, e.StepTimings, e.StepTreeMaster, e.Stepper, e.StreamBrokerSelector, e.StreamPanel, e.Switch, e.SwitchHeroCard, e.SwitchInlineControl, e.SwitchPanel, e.SystemProvider, e.TABLE_SCROLL_MAX_H, e.TEXT_FIELD_LABEL, e.TEXT_HINT, e.TEXT_METRIC, e.TEXT_SECTION_LABEL, e.TEXT_VALUE, e.TIMEZONES, e.Tabs, e.TabsContent, e.TabsList, e.TabsTrigger, e.TapToggle, e.ThemeProvider, e.ThermostatHeroCard, e.ThermostatInlineControl, e.TimezoneSelector, e.Tooltip, e.TooltipContent, e.TooltipTrigger, e.Trash2, e.VacuumHeroCard, e.VacuumInlineControl, e.ValueReadout, e.ValveHeroCard, e.ValveInlineControl, e.VersionBadge, e.VodPlaybackProvider, e.WaterHeaterHeroCard, e.WaterHeaterInlineControl, e.WeatherHeroCard, e.WeatherInlineControl, e.WidgetMetricCard, e.WidgetPanel, e.WidgetRegistryProvider, s = e.WidgetSlot, e.ZoneEditingProvider, e.agentColumnKey, e.allDeviceTypeFilterOptions, e.applyFleetQueryDefaults, e.ariaSortForColumn, e.badgeFor, e.badgeFor$1, e.buildStepTreeFromSchema, e.childEntityId, e.childListName, e.cn, e.columnsForContext, e.containerChildToRef, e.countableDevices, e.coverHighlight, e.coverageLine, e.coverageLine$1, e.createLucideIcon, e.createSharedContext, e.createTheme, e.cursorFractionFor, e.darkColors, e.defaultTheme, e.deriveDeviceKind, e.describeDeviceSelector, e.deviceMatchesFilter, e.deviceOptionLabel, e.deviceRoleMeta, e.deviceRoleMetaOf, e.deviceTypeLabel, e.deviceTypeMeta, e.deviceTypeMetaOf, e.devicesToOptions, e.ensureMfHostInit, e.eventKindLabel, e.filterDeviceOptions, e.findTimezone, e.formatControlDateTime, e.formatLastSeen, e.formatNumeric, e.fuzzyMatch, e.getClassColor, e.getPhaseVisual, e.groupAgentColumns, e.groupChildrenByLayout, e.hardwareLabel, e.hubOrigin, e.hubPath, e.hubPath$1, e.hubUrl, e.hubWsUrl, e.humanDuration, e.humidifierTint, e.initialScrubState, e.isAbsentProvider, e.isAbsentProvider$1, e.isFieldVisible, e.lawnMowerActivityMeta, e.lightColors, e.loadRemoteBundle, e.makeScrubBridge, e.metadataEntries, e.metadataString, e.mirror, e.mountAddonPage, e.mountPath, e.nextReconnectAction, e.nextSort, e.nextSortDirection, e.nextTableSort, e.normalizeForSearch, e.overrideEntityIdFromLink, e.parseRecordedServerMessage, e.providerIcons, e.resetHubMountForTests, e.resolveContainerPrimary, e.resolveControlAlign, e.resolveDeviceControl, e.resolveDisplayIcon, e.resolveEffectiveDefaultModel, e.resolveEffectiveStepModel, e.resolveEventKindIcon, e.resolvePrimaryChild, e.resolveSensorDisplay, e.resolveStepDefaultModel, e.resolveTableLayout, e.roiTooLarge, e.roiTooLarge$1, e.routerBasename, e.scrubReducer, e.selectedDeviceOptions, e.serializeRecordedCommand, e.shouldCommit, e.shouldEmit, e.shouldUseSingleNode, e.sortRows, e.sortRowsByColumn, e.statusIcons, e.statusLine, e.statusLine$1, e.stepHasModelForFormat, e.stepModelOptions, e.stripParentNamePrefix, e.tabForSelector, e.tankAlert, e.themeToCss, e.trpc, e.useAccessoriesGetStatus, e.useAccessoriesSetChildHidden, e.useAddonPagesListPages, e.useAddonSettingsGetDeviceSettings, e.useAddonSettingsGetGlobalSettings, e.useAddonSettingsGetIntegrationSettings, e.useAddonSettingsUpdateDeviceSettings, e.useAddonSettingsUpdateGlobalSettings, e.useAddonWidgetsListWidgets, e.useAddonsApplyAutoUpdateToAll, e.useAddonsCancelJob, e.useAddonsCustom, e.useAddonsForceRefresh, e.useAddonsGetAddonAutoUpdate, e.useAddonsGetAutoUpdateSettings, e.useAddonsGetJob, e.useAddonsGetLastRestart, e.useAddonsGetLogs, e.useAddonsGetVersions, e.useAddonsInstallFromWorkspace, e.useAddonsInstallPackage, e.useAddonsIsWorkspaceAvailable, e.useAddonsList, e.useAddonsListCapabilityProviders, e.useAddonsListFrameworkPackages, e.useAddonsListJobs, e.useAddonsListPackages, e.useAddonsListUpdates, e.useAddonsListWorkspacePackages, e.useAddonsOnAddonLogs, e.useAddonsReloadPackages, e.useAddonsRestartAddon, e.useAddonsRestartServer, e.useAddonsRetryLoad, e.useAddonsRollbackPackage, e.useAddonsSearchAvailable, e.useAddonsSetAddonAutoUpdate, e.useAddonsSetAutoUpdateSettings, e.useAddonsSetCapabilityProviderEnabled, e.useAddonsStartJob, e.useAddonsUninstallPackage, e.useAddonsUpdatePackage, e.useAirQualitySensorGetStatus, e.useAlarmPanelArm, e.useAlarmPanelDisarm, e.useAlarmPanelGetStatus, e.useAlarmPanelTrigger, e.useAlertsDismiss, e.useAlertsEmit, e.useAlertsGetUnreadCount, e.useAlertsList, e.useAlertsMarkAllRead, e.useAlertsMarkRead, e.useAlertsUpdate, e.useAllWidgets, e.useAmbientLightSensorGetStatus, e.useAudioAnalysisApplyDeviceSettingsPatch, e.useAudioAnalysisGetDeviceLiveContribution, e.useAudioAnalysisGetDeviceSettingsContribution, e.useAudioAnalysisResolveDeviceSettings, e.useAudioAnalyzerAnalyseChunk, e.useAudioAnalyzerClassify, e.useAudioAnalyzerDispose, e.useAudioAnalyzerIsReady, e.useAudioAnalyzerReprobeAudioEngine, e.useAudioCodecCanHandle, e.useAudioCodecCloseSession, e.useAudioCodecCreateDecodeSession, e.useAudioCodecCreateEncodeSession, e.useAudioCodecFlushEncode, e.useAudioCodecListActiveSessions, e.useAudioCodecListSupportedCodecs, e.useAudioCodecPullEncoded, e.useAudioCodecPullPcm, e.useAudioCodecPushEncodedFrame, e.useAudioCodecPushPcm, e.useAudioMetricsGetCurrentSnapshot, e.useAudioMetricsGetHistory, e.useAutomationControlDisable, e.useAutomationControlEnable, e.useAutomationControlGetStatus, e.useAutomationControlTrigger, e.useBackupCancel, e.useBackupDelete, e.useBackupDeleteSchedule, e.useBackupGetEntries, e.useBackupList, e.useBackupListArchives, e.useBackupListDestinations, e.useBackupListLocations, e.useBackupListRuns, e.useBackupListSchedules, e.useBackupPreviewSchedule, e.useBackupRestore, e.useBackupTrigger, e.useBackupUpsertDestinationPolicy, e.useBackupUpsertSchedule, e.useBatteryGetStatus, e.useBatteryWakeForStream, e.useBinaryGetStatus, e.useBrightnessGetStatus, e.useBrightnessSetBrightness, e.useBrokerAdd, e.useBrokerGet, e.useBrokerGetBrokerConfig, e.useBrokerGetSettings, e.useBrokerGetSettingsSchema, e.useBrokerGetState, e.useBrokerGetStatus, e.useBrokerList, e.useBrokerListProviders, e.useBrokerPublish, e.useBrokerRemove, e.useBrokerSetSettings, e.useBrokerSubscribe, e.useBrokerTestConnection, e.useBrokerTestSettings, e.useBrokerUnsubscribe, e.useButtonPress, e.useCameraCredentialsGetCredentials, e.useCameraCredentialsGetStatus, e.useCameraPipelineConfigApplyDeviceSettingsPatch, e.useCameraPipelineConfigGetDeviceLiveContribution, e.useCameraPipelineConfigGetDeviceSettingsContribution, e.useCameraStreamsGetBrokerStreams, e.useCameraStreamsGetCameraStreams, e.useCameraStreamsGetProfileRtspEntries, e.useCameraStreamsGetRtspEntries, e.useCameraStreamsPickStream, e.useCarbonMonoxideGetStatus, e.useClimateControlGetStatus, e.useClimateControlSetFanMode, e.useClimateControlSetMode, e.useClimateControlSetPreset, e.useClimateControlSetSwingHorizontal, e.useClimateControlSetSwingVertical, e.useClimateControlSetTarget, e.useClimateControlSetTargetHumidity, e.useClimateControlSetTargetRange, e.useClusterNodes, e.useClusterTopology, e.useColorGetStatus, e.useColorSetColor, e.useConfirm, e.useConnectionTestDescribeTest, e.useConnectionTestTestSettings, e.useConnectivityGetStatus, e.useConsumablesGetStatus, e.useConsumablesReset, e.useContactGetStatus, e.useContainerChildren, e.useControlGetStatus, e.useControlSetValue, e.useCoreBlocksCompile, e.useCoreBlocksCreate, e.useCoreBlocksDelete, e.useCoreBlocksGet, e.useCoreBlocksGetTypeDefs, e.useCoreBlocksList, e.useCoreBlocksRestart, e.useCoreBlocksSetEnabled, e.useCoreBlocksUpdate, e.useCoverClose, e.useCoverGetStatus, e.useCoverOpen, e.useCoverSetPosition, e.useCoverSetTiltPosition, e.useCoverStop, e.useCustomFieldRenderer, e.useDayNightGetOptions, e.useDayNightGetStatus, e.useDayNightSetSettings, e.useDebouncedString, e.useDecoderCreateSession, e.useDecoderDestroySession, e.useDecoderGetFrame, e.useDecoderGetInfo, e.useDecoderGetShmStats, e.useDecoderGetStats, e.useDecoderListActiveSessions, e.useDecoderOpenStream, e.useDecoderPullFrames, e.useDecoderPullHandles, e.useDecoderPushPacket, e.useDecoderReprobeHwaccel, e.useDecoderSupportsCodec, e.useDecoderUpdateConfig, e.useDetectionPipelineApplyDeviceSettingsPatch, e.useDetectionPipelineGetDeviceLiveContribution, e.useDetectionPipelineGetDeviceSettingsContribution, e.useDevShell, e.useDevice, e.useDeviceAdoptionAdopt, e.useDeviceAdoptionGetCandidate, e.useDeviceAdoptionGetStatus, e.useDeviceAdoptionListCandidateFilters, e.useDeviceAdoptionListCandidates, e.useDeviceAdoptionRefresh, e.useDeviceAdoptionRelease, e.useDeviceAdoptionResync, e.useDeviceAutotrack, e.useDeviceBattery, e.useDeviceCapSlice, e.useDeviceCapability, e.useDeviceDetections, e.useDeviceDiscoveryAdoptDevice, e.useDeviceDiscoveryGetStatus, e.useDeviceDiscoveryListDiscovered, e.useDeviceDiscoveryRefreshDiscovery, e.useDeviceDiscoveryReleaseDevice, e.useDeviceExportApplyDeviceSettingsPatch, e.useDeviceExportExposeDevice, e.useDeviceExportGetDeviceLiveContribution, e.useDeviceExportGetDeviceSettingsContribution, e.useDeviceExportGetStatus, e.useDeviceExportListExposedDevices, e.useDeviceExportListSupportedDeviceKinds, e.useDeviceExportUnexposeDevice, e.useDeviceId, e.useDeviceListPageSize, e.useDeviceManagerAddLocation, e.useDeviceManagerAdoptDevice, e.useDeviceManagerAdoptionAdopt, e.useDeviceManagerAdoptionCancelJob, e.useDeviceManagerAdoptionListCandidateFilters, e.useDeviceManagerAdoptionListCandidates, e.useDeviceManagerAdoptionListJobs, e.useDeviceManagerAdoptionRefresh, e.useDeviceManagerAdoptionRelease, e.useDeviceManagerAdoptionResync, e.useDeviceManagerAdoptionStartJob, e.useDeviceManagerAllocateDeviceId, e.useDeviceManagerApplyDeviceSettingsPatch, e.useDeviceManagerApplyInitialMeta, e.useDeviceManagerCreateDevice, e.useDeviceManagerDisable, e.useDeviceManagerDiscoverAllProviders, e.useDeviceManagerDiscoverDevices, e.useDeviceManagerDiscoverProvider, e.useDeviceManagerDiscoveryProviders, e.useDeviceManagerEnable, e.useDeviceManagerGetAllBindings, e.useDeviceManagerGetBindings, e.useDeviceManagerGetBindingsBatch, e.useDeviceManagerGetChildren, e.useDeviceManagerGetChildrenBatch, e.useDeviceManagerGetConfigSchema, e.useDeviceManagerGetCreationSchema, e.useDeviceManagerGetDevice, e.useDeviceManagerGetDeviceAggregate, e.useDeviceManagerGetDeviceLiveContribution, e.useDeviceManagerGetDeviceLiveInfoAggregate, e.useDeviceManagerGetDeviceSettingsAggregate, e.useDeviceManagerGetDeviceSettingsContribution, e.useDeviceManagerGetDeviceStatusAggregate, e.useDeviceManagerGetDeviceStatusAggregateBatch, e.useDeviceManagerGetLinkedDevices, e.useDeviceManagerGetLinkedDevicesBatch, e.useDeviceManagerGetRoleDisplayDefaults, e.useDeviceManagerGetSettingsSchema, e.useDeviceManagerGetStreamProfileMap, e.useDeviceManagerGetStreamSources, e.useDeviceManagerGetWireableFields, e.useDeviceManagerListAll, e.useDeviceManagerListBindableCapsForDeviceType, e.useDeviceManagerListLocations, e.useDeviceManagerListPersistedByAddon, e.useDeviceManagerListWrappersForCap, e.useDeviceManagerLoadConfig, e.useDeviceManagerLoadMeta, e.useDeviceManagerLoadRuntimeState, e.useDeviceManagerMigrateDevice, e.useDeviceManagerPersistConfig, e.useDeviceManagerProbeStreams, e.useDeviceManagerProviderCreationType, e.useDeviceManagerProviderDiscoveryParamsSchema, e.useDeviceManagerRegisterDevice, e.useDeviceManagerRemove, e.useDeviceManagerRemoveByIntegration, e.useDeviceManagerRemoveDevice, e.useDeviceManagerRemoveLocation, e.useDeviceManagerRenameLocation, e.useDeviceManagerRunDeviceAction, e.useDeviceManagerSetChildLayout, e.useDeviceManagerSetDisabled, e.useDeviceManagerSetDisplay, e.useDeviceManagerSetIntegrationId, e.useDeviceManagerSetLinkDeviceId, e.useDeviceManagerSetLocation, e.useDeviceManagerSetMetadata, e.useDeviceManagerSetName, e.useDeviceManagerSetPrimaryChildEntityId, e.useDeviceManagerSetRole, e.useDeviceManagerSetRoleDisplayDefaults, e.useDeviceManagerSetStreamProfileMap, e.useDeviceManagerSetType, e.useDeviceManagerSetWrapperActive, e.useDeviceManagerTestCreationField, e.useDeviceManagerTestField, e.useDeviceManagerUpdateConfig, e.useDeviceManagerUpdateDeviceField, e.useDeviceManagerUpdateDeviceFieldsBatch, e.useDeviceNetworkLink, e.useDeviceOpsGetConfigEntries, e.useDeviceOpsGetRawState, e.useDeviceOpsGetSettingsSchema, e.useDeviceOpsGetStreamSources, e.useDeviceOpsRemoveDevice, e.useDeviceOpsRunAction, e.useDeviceOpsSetConfig, e.useDeviceProviderAdoptDiscoveredDevice, e.useDeviceProviderCreateDevice, e.useDeviceProviderDiscoverDevices, e.useDeviceProviderGetChildCreationSchema, e.useDeviceProviderGetDevices, e.useDeviceProviderGetDiscoveryParamsSchema, e.useDeviceProviderGetManualCreationType, e.useDeviceProviderGetStatus, e.useDeviceProviderReloadDevice, e.useDeviceProviderStart, e.useDeviceProviderStop, e.useDeviceProviderSupportsDiscovery, e.useDeviceProviderSupportsManualCreation, e.useDeviceProviderTestCreationField, c = e.useDeviceProxy, e.useDeviceProxy$1, e.useDeviceSnapshot, e.useDeviceSnapshotImage, e.useDeviceSnapshotImage$1, l = e.useDeviceState, e.useDeviceStateGetAllSnapshots, e.useDeviceStateGetCapSlice, e.useDeviceStateGetSnapshot, e.useDeviceStateSetCapSlice, u = e.useDeviceStateSlice, e.useDeviceStateSlice$1, e.useDeviceStatusGetStatus, e.useDeviceWebrtc, e.useDevices, e.useDoorbellApplyDeviceSettingsPatch, e.useDoorbellEvents, e.useDoorbellGetDeviceLiveContribution, e.useDoorbellGetDeviceSettingsContribution, e.useDoorbellGetStatus, e.useEnumSensorGetStatus, e.useEventEmitterGetStatus, e.useEventInvalidation, e.useEventStreamLatest, e.useEventStreamMap, e.useEventsGetEventClipUrl, e.useEventsGetEventThumbnail, e.useEventsGetEvents, e.useFaceGalleryAssignFace, e.useFaceGalleryAssignFaces, e.useFaceGalleryCreateIdentity, e.useFaceGalleryDeleteFace, e.useFaceGalleryDeleteIdentity, e.useFaceGalleryGetFaceByTrack, e.useFaceGalleryGetFaceMedia, e.useFaceGalleryListIdentities, e.useFaceGalleryListIdentitySamples, e.useFaceGalleryListRecentFaces, e.useFaceGalleryRemoveSample, e.useFaceGalleryRenameIdentity, e.useFaceGallerySuggestFaceClusters, e.useFaceGalleryUnassignFace, e.useFaceGalleryUnassignFaces, e.useFanControlGetStatus, e.useFanControlSetDirection, e.useFanControlSetOscillating, e.useFanControlSetPercentage, e.useFanControlSetPreset, e.useFeatureProbeGetStatus, e.useFloodGetStatus, e.useGasGetStatus, e.useHumidifierGetStatus, e.useHumidifierSetMode, e.useHumidifierSetOn, e.useHumidifierSetTargetHumidity, e.useHumiditySensorGetStatus, e.useImageGetStatus, e.useImageSettingsGetOptions, e.useImageSettingsGetStatus, e.useImageSettingsSetSettings, e.useIntegrationsCreate, e.useIntegrationsDelete, e.useIntegrationsGet, e.useIntegrationsGetAvailableTypes, e.useIntegrationsGetByAddonId, e.useIntegrationsGetSettings, e.useIntegrationsList, e.useIntegrationsSetSettings, e.useIntegrationsTestConnection, e.useIntegrationsUpdate, e.useIntercomEndTalkSession, e.useIntercomGetStatus, e.useIntercomHandleAnswer, e.useIntercomPushTalkAudio, e.useIntercomStartSession, e.useIntercomStartTalkSession, e.useIntercomStopSession, e.useIsMidWidth, e.useIsMobile, e.useLawnMowerControlDock, e.useLawnMowerControlGetStatus, e.useLawnMowerControlPause, e.useLawnMowerControlStartMowing, e.useLiveBuffer, e.useLiveEvent, e.useLlmCancel, e.useLlmDeleteModel, e.useLlmDeleteProfile, e.useLlmGenerate, e.useLlmGenerateVision, e.useLlmGetDefaults, e.useLlmGetRuntimeStatus, e.useLlmGetUsage, e.useLlmInstallModel, e.useLlmListModelCatalog, e.useLlmListModels, e.useLlmListNodeModels, e.useLlmListProfileKinds, e.useLlmListProfiles, e.useLlmListRuntimeNodes, e.useLlmResolveModelRef, e.useLlmSetDefault, e.useLlmStartRuntime, e.useLlmStopRuntime, e.useLlmTestProfile, e.useLlmUpsertProfile, e.useLocalNetworkDownloadCa, e.useLocalNetworkGetAllowedAddresses, e.useLocalNetworkGetConnectionEndpoints, e.useLocalNetworkGetNotificationEndpoint, e.useLocalNetworkGetPreferred, e.useLocalNetworkGetTlsStatus, e.useLocalNetworkGetViewerEndpoints, e.useLocalNetworkList, e.useLocalNetworkRegenerateCertificate, e.useLocalNetworkResetAllowlistToBestMatch, e.useLocalNetworkRevertToGeneratedCertificate, e.useLocalNetworkSetAllowedAddresses, e.useLocalNetworkSetNotificationEndpoint, e.useLocalNetworkSetViewerEndpoints, e.useLocalNetworkUploadCertificate, e.useLockControlGetStatus, e.useLockControlLock, e.useLockControlOpen, e.useLockControlUnlock, e.useMediaPlayerGetStatus, e.useMediaPlayerNext, e.useMediaPlayerPause, e.useMediaPlayerPlay, e.useMediaPlayerPlayMedia, e.useMediaPlayerPrevious, e.useMediaPlayerSeek, e.useMediaPlayerSelectSource, e.useMediaPlayerSetMute, e.useMediaPlayerSetRepeat, e.useMediaPlayerSetShuffle, e.useMediaPlayerSetVolume, e.useMediaPlayerStop, e.useMeshNetworkGetStatus, e.useMeshNetworkJoin, e.useMeshNetworkLeave, e.useMeshNetworkListPeers, e.useMeshNetworkLogout, e.useMeshNetworkStartLogin, e.useMeshNetworkTestConnection, e.useMetricsProviderCollectSnapshot, e.useMetricsProviderGetAddonStats, e.useMetricsProviderGetCached, e.useMetricsProviderGetCpuTemperature, e.useMetricsProviderGetCurrent, e.useMetricsProviderGetDiskSpace, e.useMetricsProviderGetGpuInfo, e.useMetricsProviderGetLoadSeries, e.useMetricsProviderGetProcessStats, e.useMetricsProviderListAddonInstances, e.useMetricsProviderListNodeProcesses, e.useMotionDetectionAnalyze, e.useMotionDetectionApplyDeviceSettingsPatch, e.useMotionDetectionGetDeviceLiveContribution, e.useMotionDetectionGetDeviceSettingsContribution, e.useMotionDetectionRemoveCamera, e.useMotionDetectionReset, e.useMotionGetStatus, e.useMotionIsDetected, e.useMotionTriggerGetStatus, e.useMotionTriggerSetMotionTrigger, e.useMotionZonesGetOptions, e.useMotionZonesGetStatus, e.useMotionZonesSetZone, e.useMqttBrokerAddBroker, e.useMqttBrokerGetBrokerConfig, e.useMqttBrokerGetStatus, e.useMqttBrokerListBrokers, e.useMqttBrokerRemoveBroker, e.useMqttBrokerStartEmbeddedBroker, e.useMqttBrokerStopEmbeddedBroker, e.useMqttBrokerTestConnection, e.useNativeObjectDetectionGetStatus, e.useNativeObjectDetectionSetEnabled, e.useNavigation, e.useNavigationGetFeatures, e.useNavigationGetStatus, e.useNavigationGoToPoint, e.useNavigationListActions, e.useNavigationMove, e.useNavigationPlaySound, e.useNavigationRunAction, e.useNavigationSetLightLevel, e.useNavigationSetLightMode, e.useNavigationSetLightOn, e.useNavigationStop, e.useNetworkAccessGetEndpoint, e.useNetworkAccessGetStatus, e.useNetworkAccessListEndpoints, e.useNetworkAccessStart, e.useNetworkAccessStop, e.useNetworkLinkGetStatus, e.useNetworkQualityGetAllStats, e.useNetworkQualityGetDeviceStats, e.useNetworkQualityReportClientStats, e.useNodesClusterAddonStatus, e.useNodesDeployAddon, e.useNodesExecuteQuery, e.useNodesGetCapUsageGraph, e.useNodesGetNodeAddons, e.useNodesRenameNode, e.useNodesRestartAddon, e.useNodesRestartNode, e.useNodesRestartProcess, e.useNodesSetProcessLogLevel, e.useNodesShutdownNode, e.useNodesTopology, e.useNodesUndeployAddon, e.useNotificationOutputDeleteTarget, e.useNotificationOutputDiscoverTargets, e.useNotificationOutputListTargetKinds, e.useNotificationOutputListTargets, e.useNotificationOutputSend, e.useNotificationOutputSetTargetEnabled, e.useNotificationOutputTestTarget, e.useNotificationOutputUpsertTarget, e.useNotificationRulesCancelSnooze, e.useNotificationRulesCreateRule, e.useNotificationRulesCreateSnooze, e.useNotificationRulesDeleteRule, e.useNotificationRulesGetAlarmConfig, e.useNotificationRulesGetConditionCatalog, e.useNotificationRulesGetHistory, e.useNotificationRulesGetRule, e.useNotificationRulesListDeviceMutes, e.useNotificationRulesListRules, e.useNotificationRulesListSnoozes, e.useNotificationRulesResolveArtifactUrl, e.useNotificationRulesSetAlarmConfig, e.useNotificationRulesSetDeviceMuted, e.useNotificationRulesSetRuleEnabled, e.useNotificationRulesTestRule, e.useNotificationRulesUpdateRule, e.useNotifierCancel, e.useNotifierGetStatus, e.useNotifierSend, e.useNumericSensorGetStatus, e.useOptimisticSlice, e.useOptionalSystem, e.useOptionalWidgetRegistry, e.useOsdGetStatus, e.useOsdManagerClearSlotBinding, e.useOsdManagerCopyDeviceConfiguration, e.useOsdManagerGetConditionSupport, e.useOsdManagerGetDeviceOsd, e.useOsdManagerGetSourceCatalog, e.useOsdManagerPreviewSlot, e.useOsdManagerRenderDevice, e.useOsdManagerSetSlotBinding, e.useOsdSetOverlay, e.usePTZ, e.usePetFeederCallPet, e.usePetFeederCancelFeed, e.usePetFeederFeed, e.usePetFeederGetStatus, e.usePetFeederMarkFoodReplenished, e.usePetFeederPlaySound, e.usePetFeederResetDesiccant, e.usePetFeederSetChildLock, e.usePetFeederSetFeedSound, e.usePetFeederSetIndicatorLight, e.usePetFeederSetVolume, e.usePipelineAnalyticsApplyDeviceSettingsPatch, e.usePipelineAnalyticsCancelRelocateMedia, e.usePipelineAnalyticsCancelStorageMigrationMove, e.usePipelineAnalyticsClearTracks, e.usePipelineAnalyticsCompleteRetrainTrack, e.usePipelineAnalyticsCountRelocatableMedia, e.usePipelineAnalyticsCountUnstampedEventMedia, e.usePipelineAnalyticsDeleteDeviceEvents, e.usePipelineAnalyticsDeleteTracks, e.usePipelineAnalyticsDeselectRetrainFrame, e.usePipelineAnalyticsGetActiveTracks, e.usePipelineAnalyticsGetAudioEvents, e.usePipelineAnalyticsGetDeviceLiveContribution, e.usePipelineAnalyticsGetDeviceSettingsContribution, e.usePipelineAnalyticsGetEventDensity, e.usePipelineAnalyticsGetEventDensityBatch, e.usePipelineAnalyticsGetEventMedia, e.usePipelineAnalyticsGetEventMediaFootprintByKind, e.usePipelineAnalyticsGetEventStoreFootprint, e.usePipelineAnalyticsGetKeyEvents, e.usePipelineAnalyticsGetKeyEventsBatch, e.usePipelineAnalyticsGetMediaReclaimStatus, e.usePipelineAnalyticsGetMotionEvents, e.usePipelineAnalyticsGetObjectEmbeddingRebuildStatus, e.usePipelineAnalyticsGetObjectEvents, e.usePipelineAnalyticsGetRetrainExportUrl, e.usePipelineAnalyticsGetRetrainFrameImage, e.usePipelineAnalyticsGetSensorEvents, e.usePipelineAnalyticsGetStorageMigrationMoveStatus, e.usePipelineAnalyticsGetSummary, e.usePipelineAnalyticsGetTrack, e.usePipelineAnalyticsGetTrackMedia, e.usePipelineAnalyticsGetTrainingExportSummary, e.usePipelineAnalyticsGetTrainingExportUrl, e.usePipelineAnalyticsListEventKinds, e.usePipelineAnalyticsListEventKindsBatch, e.usePipelineAnalyticsListEventMedia, e.usePipelineAnalyticsListOpsLog, e.usePipelineAnalyticsListRecentTracks, e.usePipelineAnalyticsListRelocateMediaJobs, e.usePipelineAnalyticsListRetrainAnnotations, e.usePipelineAnalyticsListRetrainFrames, e.usePipelineAnalyticsListRetrainStaging, e.usePipelineAnalyticsListSummaries, e.usePipelineAnalyticsListTrackMedia, e.usePipelineAnalyticsListTracks, e.usePipelineAnalyticsPauseForStorageMigration, e.usePipelineAnalyticsProposeRetrainAnnotations, e.usePipelineAnalyticsPruneEvents, e.usePipelineAnalyticsPruneEventsBefore, e.usePipelineAnalyticsPruneTracksBefore, e.usePipelineAnalyticsRebuildObjectEmbeddings, e.usePipelineAnalyticsReclaimDebugMedia, e.usePipelineAnalyticsReconcileFromDisk, e.usePipelineAnalyticsRefreshStorageLocationsForMigration, e.usePipelineAnalyticsRelocateMedia, e.usePipelineAnalyticsRestageRetrainTrack, e.usePipelineAnalyticsResumeForStorageMigration, e.usePipelineAnalyticsRunReplayFrameProcessor, e.usePipelineAnalyticsSaveRetrainAnnotations, e.usePipelineAnalyticsSearchObjectEvents, e.usePipelineAnalyticsSelectRetrainFrames, e.usePipelineAnalyticsSetTrackFlags, e.usePipelineAnalyticsStartStorageMigrationMove, e.usePipelineAnalyticsWipeAllAnalytics, e.usePipelineAnalyticsWipeObjectEmbeddings, e.usePipelineExecutorCacheFrameInPool, e.usePipelineExecutorClearDeviceOverrides, e.usePipelineExecutorDeleteModel, e.usePipelineExecutorDeleteTemplate, e.usePipelineExecutorDownloadModel, e.usePipelineExecutorGetAddonModels, e.usePipelineExecutorGetAudioCapabilities, e.usePipelineExecutorGetAvailableEngines, e.usePipelineExecutorGetCapabilities, e.usePipelineExecutorGetDefaultSteps, e.usePipelineExecutorGetDetectionConfigSchema, e.usePipelineExecutorGetEffectiveTuning, e.usePipelineExecutorGetEngineProvisioning, e.usePipelineExecutorGetGlobalPipelineConfig, e.usePipelineExecutorGetGlobalSteps, e.usePipelineExecutorGetInferenceDeviceHealth, e.usePipelineExecutorGetOrchestratorConfigSchema, e.usePipelineExecutorGetReferenceAudio, e.usePipelineExecutorGetReferenceAudioFiles, e.usePipelineExecutorGetReferenceImage, e.usePipelineExecutorGetSchema, e.usePipelineExecutorGetSelectedEngine, e.usePipelineExecutorGetVideoPipelineSteps, e.usePipelineExecutorInferCached, e.usePipelineExecutorKillEngine, e.usePipelineExecutorListLoadedEngines, e.usePipelineExecutorListReferenceImages, e.usePipelineExecutorListTemplates, e.usePipelineExecutorRearmInferenceDevice, e.usePipelineExecutorRunAudioTest, e.usePipelineExecutorRunPipeline, e.usePipelineExecutorRunPipelineBatch, e.usePipelineExecutorSaveTemplate, e.usePipelineExecutorSetVideoPipelineSteps, e.usePipelineExecutorSpinEngine, e.usePipelineExecutorUncacheFrame, e.usePipelineExecutorUpdateTemplate, e.usePipelineExecutorValidatePipeline, e.usePipelineOrchestratorApplyDeviceSettingsPatch, e.usePipelineOrchestratorAssignAudio, e.usePipelineOrchestratorAssignPipeline, e.usePipelineOrchestratorDeleteTemplate, e.usePipelineOrchestratorGetAgentLoad, e.usePipelineOrchestratorGetAgentSettings, e.usePipelineOrchestratorGetAudioAssignment, e.usePipelineOrchestratorGetAudioAssignments, e.usePipelineOrchestratorGetAudioNodeLoad, e.usePipelineOrchestratorGetCameraMetrics, e.usePipelineOrchestratorGetCameraSettings, e.usePipelineOrchestratorGetCameraStatus, e.usePipelineOrchestratorGetCameraStatuses, e.usePipelineOrchestratorGetCameraStepOverrides, e.usePipelineOrchestratorGetCameraSwitches, e.usePipelineOrchestratorGetCapabilityBindings, e.usePipelineOrchestratorGetDeviceLiveContribution, e.usePipelineOrchestratorGetDeviceSettingsContribution, e.usePipelineOrchestratorGetGlobalMetrics, e.usePipelineOrchestratorGetIngestOwner, e.usePipelineOrchestratorGetNodeInferenceDevices, e.usePipelineOrchestratorGetPipelineAssignment, e.usePipelineOrchestratorGetPipelineAssignments, e.usePipelineOrchestratorGetPipelineDevicePin, e.usePipelineOrchestratorGetReconcileFromDiskStatus, e.usePipelineOrchestratorListAgentSettings, e.usePipelineOrchestratorListTemplates, e.usePipelineOrchestratorPauseForStorageMigration, e.usePipelineOrchestratorRebalance, e.usePipelineOrchestratorReconcileFromDisk, e.usePipelineOrchestratorRemoveAgentSettings, e.usePipelineOrchestratorResetNodePipelineDefaults, e.usePipelineOrchestratorResolvePipeline, e.usePipelineOrchestratorResumeForStorageMigration, e.usePipelineOrchestratorSaveTemplate, e.usePipelineOrchestratorSetAgentCapabilities, e.usePipelineOrchestratorSetAgentDecodeLimits, e.usePipelineOrchestratorSetAgentDetectWeight, e.usePipelineOrchestratorSetAgentInferenceDevices, e.usePipelineOrchestratorSetAgentMaxCameras, e.usePipelineOrchestratorSetAgentReachableHost, e.usePipelineOrchestratorSetCameraPipelineForAgent, e.usePipelineOrchestratorSetCameraStepOverride, e.usePipelineOrchestratorSetCameraStepToggle, e.usePipelineOrchestratorSetCameraSwitch, e.usePipelineOrchestratorSetCapabilityBinding, e.usePipelineOrchestratorSetPipelineDevicePin, e.usePipelineOrchestratorUnassignAudio, e.usePipelineOrchestratorUnassignPipeline, e.usePipelineOrchestratorUpdateTemplate, e.usePipelineRunnerAttachCamera, e.usePipelineRunnerDetachCamera, e.usePipelineRunnerGetAllCameraMetrics, e.usePipelineRunnerGetCameraMetrics, e.usePipelineRunnerGetLocalCameras, e.usePipelineRunnerGetLocalLoad, e.usePipelineRunnerGetLocalMetrics, e.usePipelineRunnerGetNativeCrop, e.usePipelineRunnerReportMotion, e.usePipelineRunnerRunDetailSubtree, e.usePipelineRunnerRunStatelessStep, e.usePlateGalleryAssignPlate, e.usePlateGalleryAssignPlates, e.usePlateGalleryCorrectPlateText, e.usePlateGalleryCreateVehicle, e.usePlateGalleryDeletePlate, e.usePlateGalleryDeleteVehicle, e.usePlateGalleryGetPlateByTrack, e.usePlateGalleryGetPlateMedia, e.usePlateGalleryListPlates, e.usePlateGalleryListVehicleSamples, e.usePlateGalleryListVehicles, e.usePlateGalleryRemoveVehicleSample, e.usePlateGalleryRenameVehicle, e.usePlateGallerySearchPlates, e.usePlateGallerySuggestPlateClusters, e.usePlateGalleryUnassignPlate, e.usePlateGalleryUnassignPlates, e.usePlayerOverlayLayer, e.usePlayerOverlayLayers, e.usePlayerToolbarButton, e.usePlayerToolbarButtons, e.usePowerMeterGetStatus, e.usePresenceGetStatus, e.usePressureSensorGetStatus, e.usePrivacyMaskGetOptions, e.usePrivacyMaskGetStatus, e.usePrivacyMaskSetAudioEnabled, e.usePrivacyMaskSetMask, e.usePtzAutotrackGetSettings, e.usePtzAutotrackGetStatus, e.usePtzAutotrackSetEnabled, e.usePtzAutotrackSetSettings, e.usePtzContinuousMove, e.usePtzDeletePreset, e.usePtzGetOptions, e.usePtzGetPosition, e.usePtzGetPresets, e.usePtzGetStatus, e.usePtzGoHome, e.usePtzGoToPreset, e.usePtzMove, e.usePtzSavePreset, e.usePtzSetAutofocus, e.usePtzStop, e.useRebootReboot, e.useRecordedPlayback, e.useRecordingApplyDeviceSettingsPatch, e.useRecordingCancelRelocateJob, e.useRecordingCancelStorageMigrationMove, e.useRecordingDeleteFootprint, e.useRecordingExportCancelExport, e.useRecordingExportCreateExport, e.useRecordingExportDeleteExport, e.useRecordingExportGetDownloadUrl, e.useRecordingExportGetExport, e.useRecordingExportListExports, e.useRecordingExportReadExportBytes, e.useRecordingGetAvailability, e.useRecordingGetAvailabilityBatch, e.useRecordingGetDaysWithRecordings, e.useRecordingGetDaysWithRecordingsBatch, e.useRecordingGetDeviceConfig, e.useRecordingGetDeviceLiveContribution, e.useRecordingGetDeviceSettingsContribution, e.useRecordingGetPlacement, e.useRecordingGetPlaybackManifest, e.useRecordingGetRelocateResidue, e.useRecordingGetStatus, e.useRecordingGetStorageMigrationMoveStatus, e.useRecordingGetStorageUsage, e.useRecordingListOpsLog, e.useRecordingListRelocateJobs, e.useRecordingLocateSegment, e.useRecordingPauseForStorageMigration, e.useRecordingPlanStorageRebalance, e.useRecordingPruneFootage, e.useRecordingReadGopBytes, e.useRecordingReadSegmentBytes, e.useRecordingReadWindowBytes, e.useRecordingReconcileLedgerAgainstDisk, e.useRecordingRefreshStorageLocationsForMigration, e.useRecordingRelocateFootage, e.useRecordingRenderClip, e.useRecordingRenderGif, e.useRecordingRescanStorage, e.useRecordingResumeForStorageMigration, e.useRecordingSetDeviceConfig, e.useRecordingSetDevicePlacement, e.useRecordingSignalGetStatus, e.useRecordingStartStorageMigrationMove, e.useRecordingStartStorageRebalance, e.useRemoteComponent, e.useSceneMonitorCaptureReference, e.useSceneMonitorCreateScene, e.useSceneMonitorDeleteReference, e.useSceneMonitorDeleteScene, e.useSceneMonitorGetStatus, e.useSceneMonitorListScenes, e.useSceneMonitorListScenesBatch, e.useSceneMonitorRecheckNow, e.useSceneMonitorResetScene, e.useSceneMonitorUpdateScene, e.useScriptRunnerGetStatus, e.useScriptRunnerRun, e.useScriptRunnerStop, e.useScrubController, e.useServerManagementApplyServerUpdate, e.useServerManagementCheckServerUpdate, e.useServerManagementGetServerPackageStatus, e.useServerManagementRestartServer, e.useServerManagementRollbackServerUpdate, e.useSettingsStoreAggregate, e.useSettingsStoreCount, e.useSettingsStoreDeclareCollection, e.useSettingsStoreDelete, e.useSettingsStoreDeleteWhere, e.useSettingsStoreGet, e.useSettingsStoreHistogram, e.useSettingsStoreInsert, e.useSettingsStoreInsertMany, e.useSettingsStoreIsEmpty, e.useSettingsStoreQuery, e.useSettingsStoreSet, e.useSettingsStoreUpdate, e.useSettingsStoreUpdateWhere, e.useSmokeGetStatus, e.useSnapshotApplyDeviceSettingsPatch, e.useSnapshotGetDebugState, e.useSnapshotGetDeviceLiveContribution, e.useSnapshotGetDeviceSettingsContribution, e.useSnapshotGetSnapshot, e.useSnapshotGetSnapshotLinks, e.useSnapshotGetSnapshotOverview, e.useSnapshotGetStatus, e.useSnapshotInvalidateCache, e.useStorageAbortUpload, e.useStorageBeginDownload, e.useStorageBeginUpload, e.useStorageDelete, e.useStorageDeleteLocation, e.useStorageEndDownload, e.useStorageExists, e.useStorageFinalizeUpload, e.useStorageGetAvailableSpace, e.useStorageList, e.useStorageListDrainProgress, e.useStorageListLocationDeclarations, e.useStorageListLocations, e.useStorageListProviders, e.useStorageMigrationCancel, e.useStorageMigrationCleanupCancel, e.useStorageMigrationCleanupStart, e.useStorageMigrationCleanupStatus, e.useStorageMigrationDrain, e.useStorageMigrationHistory, e.useStorageMigrationMovers, e.useStorageMigrationPlan, e.useStorageMigrationResidue, e.useStorageMigrationStart, e.useStorageMigrationStatus, e.useStorageRead, e.useStorageReadChunk, e.useStorageResolve, e.useStorageTestConfig, e.useStorageTestLocation, e.useStorageUpsertLocation, e.useStorageWrite, e.useStorageWriteChunk, e.useStreamBrokerAcquireEgressTranscode, e.useStreamBrokerApplyDeviceSettingsPatch, e.useStreamBrokerAssignProfile, e.useStreamBrokerFetchEventMedia, e.useStreamBrokerForgetDeviceHardware, e.useStreamBrokerGetAllRtspEntries, e.useStreamBrokerGetBrokerStats, e.useStreamBrokerGetDeviceAudioMute, e.useStreamBrokerGetDeviceLiveContribution, e.useStreamBrokerGetDeviceSettingsContribution, e.useStreamBrokerGetPreBufferInfo, e.useStreamBrokerGetRtspEntry, e.useStreamBrokerGetRtspPort, e.useStreamBrokerGetStreamUrl, e.useStreamBrokerGetStreamWithCodec, e.useStreamBrokerIsRtspEnabled, e.useStreamBrokerKillClient, e.useStreamBrokerListAllCameraStreams, e.useStreamBrokerListAllProfileSlots, e.useStreamBrokerListClients, e.useStreamBrokerProbeStream, e.useStreamBrokerProduceEventMedia, e.useStreamBrokerPublishCameraStream, e.useStreamBrokerPullAudioChunks, e.useStreamBrokerPullFrameHandles, e.useStreamBrokerRegenerateRtspToken, e.useStreamBrokerReleaseEgressTranscode, e.useStreamBrokerReleaseStreamWithCodec, e.useStreamBrokerRenderPreBufferClip, e.useStreamBrokerRestartProfile, e.useStreamBrokerRetractCameraStream, e.useStreamBrokerSetDeviceAudioMute, e.useStreamBrokerSetPreBufferDuration, e.useStreamBrokerSetRtspEnabled, e.useStreamBrokerSubscribeAudioChunks, e.useStreamBrokerSubscribeFrames, e.useStreamBrokerUnassignProfile, e.useStreamBrokerUnsubscribeAudioChunks, e.useStreamBrokerUnsubscribeFrames, e.useStreamCatalogGetCatalog, e.useStreamParamsGetConfigSchema, e.useStreamParamsGetOptions, e.useStreamParamsGetStatus, e.useStreamParamsSetProfile, e.useSwitchGetStatus, e.useSwitchSetState, d = e.useSystem, e.useSystem$1, e.useSystemDetectSiteLocation, e.useSystemFeatureFlags, e.useSystemForceRetentionCleanup, e.useSystemGetFailureContributions, e.useSystemGetLoadContributions, e.useSystemGetLoggingSettings, e.useSystemGetRequestCensus, e.useSystemGetRetentionConfig, e.useSystemGetSiteLocation, e.useSystemHealth, e.useSystemInfo, e.useSystemMutation, e.useSystemNetworkAddresses, e.useSystemQuery, e.useSystemSetLoggingSettings, e.useSystemSetRetentionConfig, e.useSystemSetSiteLocation, e.useTamperGetStatus, e.useTemperatureSensorGetStatus, e.useTerminalSessionAdoptLegacyMonitor, e.useTerminalSessionClose, e.useTerminalSessionCreateInstance, e.useTerminalSessionDeleteInstance, e.useTerminalSessionListInstances, e.useTerminalSessionListLegacyCameras, e.useTerminalSessionListProfiles, e.useTerminalSessionListSessions, e.useTerminalSessionOpenSession, e.useTerminalSessionPullOutput, e.useTerminalSessionResize, e.useTerminalSessionSetInstanceEnabled, e.useTerminalSessionUpdateInstance, e.useTerminalSessionWriteInput, e.useThemeMode, e.useToastOnToast, e.useTurnProviderGetTurnServers, e.useUpdateGetStatus, e.useUpdateInstallUpdate, e.useUserManagementConfirmTotp, e.useUserManagementCreateApiKey, e.useUserManagementCreateScopedToken, e.useUserManagementCreateUser, e.useUserManagementDeleteUser, e.useUserManagementDisableTotp, e.useUserManagementGetTotpStatus, e.useUserManagementListApiKeys, e.useUserManagementListOauthSessions, e.useUserManagementListScopedTokens, e.useUserManagementListUsers, e.useUserManagementOauthExchangeCode, e.useUserManagementOauthIssueCode, e.useUserManagementOauthRefresh, e.useUserManagementOauthVerifyAccessToken, e.useUserManagementResetPassword, e.useUserManagementRevokeApiKey, e.useUserManagementRevokeOauthSession, e.useUserManagementRevokeScopedToken, e.useUserManagementSetUserScopes, e.useUserManagementSetupTotp, e.useUserManagementUpdateUser, e.useUserManagementValidateApiKey, e.useUserManagementValidateCredentials, e.useUserManagementValidateScopedToken, e.useUserManagementVerifyTotp, e.useVacuumControlGetStatus, e.useVacuumControlLocate, e.useVacuumControlPause, e.useVacuumControlReturnToBase, e.useVacuumControlSetFanSpeed, e.useVacuumControlStart, e.useVacuumControlStop, e.useValveClose, e.useValveGetStatus, e.useValveOpen, e.useValveSetPosition, e.useValveStop, e.useVibrationGetStatus, e.useVideoclipsGetClipPlayback, e.useVideoclipsListClips, e.useVodPlayback, e.useWaterHeaterGetStatus, e.useWaterHeaterSetAway, e.useWaterHeaterSetOperationMode, e.useWaterHeaterSetTargetTemp, e.useWeatherGetStatus, e.useWebrtcSessionAddIceCandidate, e.useWebrtcSessionCloseSession, e.useWebrtcSessionCreateSession, e.useWebrtcSessionGetIceCandidates, e.useWebrtcSessionGetSessionState, e.useWebrtcSessionHandleAnswer, e.useWebrtcSessionHandleOffer, e.useWebrtcSessionHasAdaptiveBitrate, e.useWebrtcSessionListStreams, e.useWidget, e.useWidgetMetadata, e.useWidgetRegistry, e.useZoneAnalyticsGetCameraHistory, e.useZoneAnalyticsGetCurrentSnapshot, e.useZoneAnalyticsGetCurrentSnapshotBatch, e.useZoneAnalyticsGetUnzonedHistory, e.useZoneAnalyticsGetZoneHistory, e.useZoneEditing, e.useZoneRulesListRules, e.useZoneRulesSetRules, e.useZonesAddZone, e.useZonesListZones, e.useZonesRemoveZone, e.useZonesUpdateZone, e.vacuumStateMeta, e.validateScopes, e.valveStateMeta, e.variantLabel, e.variantLabel$1, e.waterHeaterPhase, e.waterHeaterTint, e.weatherConditionMeta, e.weatherTint, e.default;
|
|
20
|
-
}, p = i.share["default:@camstack/ui-library"];
|
|
21
|
-
p === void 0 ? n.then(() => {
|
|
22
|
-
if (p = i.share["default:@camstack/ui-library"], p === void 0) throw Error("[Module Federation] Shared module @camstack/ui-library was imported before federation bootstrap finished.");
|
|
23
|
-
f(p);
|
|
24
|
-
}) : f(p);
|
|
25
|
-
//#endregion
|
|
26
|
-
export { c as a, s as i, d as n, l as o, o as r, u as s, a as t };
|