@camstack/addon-admin-ui 1.2.260 → 1.2.261
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/assets/{AddonCollectionPage-CS0TnWg9.js → AddonCollectionPage--eDij6gR.js} +1 -1
- package/dist/assets/{Addons-C30etjze.js → Addons-DPcMLHlz.js} +1 -1
- package/dist/assets/{AdminTabs-FTjDtV3h.js → AdminTabs-BK7N8lsV.js} +1 -1
- package/dist/assets/{AiProfiles-mbAsm8w-.js → AiProfiles-B7jyJdda.js} +1 -1
- package/dist/assets/{BrokerForm-Q6_-XEV6.js → BrokerForm-ITsMv2qE.js} +1 -1
- package/dist/assets/{Build-DEIHGbUT.js → Build-BBPfMW38.js} +1 -1
- package/dist/assets/{Capabilities-BBNd5xr5.js → Capabilities-CuUy6amU.js} +1 -1
- package/dist/assets/{CapabilityBadges-CrEM9xUa.js → CapabilityBadges-crNVvPMW.js} +1 -1
- package/dist/assets/{Cluster-Bzkxl6x3.js → Cluster-CTZlYWRi.js} +1 -1
- package/dist/assets/{Data-TtTvLPLA.js → Data-vU8VVocG.js} +1 -1
- package/dist/assets/{DetectionIntelligence-DfTa4lpL.js → DetectionIntelligence-CsXbDOMG.js} +1 -1
- package/dist/assets/{DeviceAggregateSection-f6elW-hA.js → DeviceAggregateSection-Bns6q4dh.js} +1 -1
- package/dist/assets/{DeviceDetail-2sfyugFO.js → DeviceDetail-Bf9bvxlm.js} +1 -1
- package/dist/assets/{Devices-Co8wNAQR.js → Devices-DyfNHzjP.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-C-PGfe8W.js → EmbedPlayerPage-OeC5zBSX.js} +1 -1
- package/dist/assets/{Events-BoiEuALN.js → Events-bi-6IwJN.js} +1 -1
- package/dist/assets/{FormBuilder-B3mdR0Gk.js → FormBuilder-GwoY4eBk.js} +1 -1
- package/dist/assets/{Identity-CYZ21kQd.js → Identity-BBIh2my-.js} +1 -1
- package/dist/assets/{IntegrationDetail-DkvBX9o8.js → IntegrationDetail-CKWEoy9C.js} +1 -1
- package/dist/assets/{Integrations-CZio9vzA.js → Integrations-BWWIE00S.js} +1 -1
- package/dist/assets/{Integrations-CxQSQ9fW.js → Integrations-Ciw2g5r2.js} +1 -1
- package/dist/assets/{Locations-D0BRCdcK.js → Locations-2ZAHX5o0.js} +1 -1
- package/dist/assets/{Logs-zkWqa-Zv.js → Logs-D671CkLk.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DPp47_Em.js → MotionZonesSettings-BLY_TxNO.js} +1 -1
- package/dist/assets/{MyAccess-BISLeGOK.js → MyAccess-DhSsXA2u.js} +1 -1
- package/dist/assets/{Network-CopgOYrO.js → Network-B2odAKC8.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-B5y6dSOO.js → NodeAddonsSettingsPanel-D5FQHmR2.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-MUCKntIr.js → NodeInferenceDevices-C7Az-W_O.js} +1 -1
- package/dist/assets/{Notifications-C-euUn8Y.js → Notifications-Blz8iPpb.js} +1 -1
- package/dist/assets/{Pipeline-CRvLk6_r.js → Pipeline-DoJ8nNnx.js} +1 -1
- package/dist/assets/{Plates-ChoLztf-.js → Plates-IKZ7Utth.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-Bt6X63Rt.js → PrivacyMaskSettings-CqzEZNtz.js} +1 -1
- package/dist/assets/{ProviderIcon-D9PLOXMZ.js → ProviderIcon-BAV-Rvhs.js} +1 -1
- package/dist/assets/{Recordings-TgH0kxt8.js → Recordings-BP0eyo5u.js} +1 -1
- package/dist/assets/{ScanNetworkModal-lEnThbrW.js → ScanNetworkModal-CU9cvVBy.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-Coey7DkB.js → SceneMonitorEditor-v5nh2Lxc.js} +1 -1
- package/dist/assets/{Scenes-DCGaMi0H.js → Scenes-D1EvPYdu.js} +1 -1
- package/dist/assets/{Settings-Cya6w94r.js → Settings-dgHQMbm7.js} +1 -1
- package/dist/assets/{Showroom-CEIjIU3D.js → Showroom-CsAbqvVD.js} +1 -1
- package/dist/assets/{StorageLocationsPanel-dpSl2bc_.js → StorageLocationsPanel-C2e4eB8x.js} +1 -1
- package/dist/assets/{Terminal-DYbduyac.js → Terminal-hYboOO7b.js} +1 -1
- package/dist/assets/{Viewer-BCs5TInB.js → Viewer-B02QBhjE.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BAEaiPOS.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BKuXrkMW.js} +1 -1
- package/dist/assets/{archive-BDAG8ZtC.js → archive-DIvzskcI.js} +1 -1
- package/dist/assets/{authed-media-BgHAN7mo.js → authed-media-Bd-QFC5W.js} +1 -1
- package/dist/assets/{boxes-CGA7dQAX.js → boxes-CSKKBi4u.js} +1 -1
- package/dist/assets/circle-slash-CteLsla4.js +1 -0
- package/dist/assets/{debounced-invalidate-DUhUAjlV.js → debounced-invalidate-BV3nDQPS.js} +1 -1
- package/dist/assets/{dist-Cxb_X-h6.js → dist-BbIc-rCH.js} +1 -1
- package/dist/assets/{dist-CIB8yuhW.js → dist-C4v18q8H.js} +1 -1
- package/dist/assets/{face-bbox-q-9rvLF7.js → face-bbox-BvbTxaCS.js} +1 -1
- package/dist/assets/{hard-drive-download-DXfQNx7b.js → hard-drive-download-B2GSnQHz.js} +1 -1
- package/dist/assets/{hostInit-DHzuQRJh.js → hostInit-DSbv4-s9.js} +1 -1
- package/dist/assets/{index-Dx7jiq4X.js → index-DAAsNMtg.js} +3 -3
- package/dist/assets/{layers-D-Qb89PK.js → layers-BBmKM8YT.js} +1 -1
- package/dist/assets/{location-owned-usage-C-JLRZgq.js → location-owned-usage-kZ5sn58L.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-19449b84.js → mf-entry-bootstrap-0-86b82436.js} +2 -2
- package/dist/assets/{player-overlays-BHhXtyqA.js → player-overlays-DRIy-fCw.js} +1 -1
- package/dist/assets/remoteEntry-554FIKL7.js +1 -0
- package/dist/assets/{send-DtWddy40.js → send-DHfS_uWJ.js} +1 -1
- package/dist/assets/{settings-2-a-fUhkjD.js → settings-2-BBZVr4ih.js} +1 -1
- package/dist/assets/{square-check-big-DBadJoiu.js → square-check-big-D11rDTUh.js} +1 -1
- package/dist/assets/{src-DJhS86y-.js → src-CsP-9WJl.js} +1 -1
- package/dist/assets/{src-D1KVMjXF.js → src-CvEqSgs7.js} +11 -11
- package/dist/assets/{use-scenes-feed-Cgbz38uA.js → use-scenes-feed-BrKLinIU.js} +1 -1
- package/dist/assets/{use-stationary-objects-NIqG_ma3.js → use-stationary-objects-BK5BDo2O.js} +1 -1
- package/dist/assets/useEventInvalidation-apdOrvxA.js +1 -0
- package/dist/assets/{useNodeUrlSelection-CjOpKTO_.js → useNodeUrlSelection-DjLiOaP3.js} +1 -1
- package/dist/assets/user-round-kptqRABF.js +1 -0
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CXmVBdRr.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BmTwfqc6.js} +2 -2
- package/dist/index.html +5 -5
- package/dist/server/addon.js +6 -2
- package/package.json +1 -1
- package/dist/assets/circle-slash-xqjuzvya.js +0 -1
- package/dist/assets/remoteEntry-BnoRpCyV.js +0 -1
- package/dist/assets/useEventInvalidation-DE-QGHTV.js +0 -1
- package/dist/assets/user-round-BFvKN2vL.js +0 -1
|
@@ -346,4 +346,4 @@ ${r.triggers.map((e,t)=>Sc(e,t)).join(`
|
|
|
346
346
|
`).replace(/<\s*\/\s*(p|div|li|h[1-6])\s*>/gi,`
|
|
347
347
|
`).replace(/<[^>]+>/g,``);for(let[e,n]of NI)t=t.replace(e,n);return t.replace(/\n{3,}/g,`
|
|
348
348
|
|
|
349
|
-
`).trim()}var FI=[[/&/g,`&`],[/</g,`<`],[/>/g,`>`],[/"/g,`"`],[/'/g,`'`]];function II(e){let t=e;for(let[e,n]of FI)t=t.replace(e,n);return t}function LI(e){return II(e).replace(/\n/g,`<br>`)}function RI(e){return II(e).replace(/(\*\*|__)(.*?)\1/g,`<b>$2</b>`).replace(/(\*|_)(.*?)\1/g,`<i>$2</i>`).replace(/`([^`]*)`/g,`<code>$1</code>`).replace(/\[([^\]]*)\]\(([^)]*)\)/g,`<a href="$2">$1</a>`).replace(/\n/g,`<br>`)}var zI={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function BI(e,t){for(let n of zI[e]??zI.text)if(t.includes(n))return n;return t[0]??`text`}function VI(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return MI(e);if(t===`html`)return PI(e)}if(n===`html`){if(t===`text`)return LI(e);if(t===`markdown`)return RI(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return PI(e)}return e}function HI(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function UI(e,t){if(e.length===0)return null;if(t.level!==void 0){let n=e.find(e=>e.id===t.level);if(n)return HI(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return HI(e[0]);let r=t.priority;return HI([...n].sort((e,t)=>{let n=Math.abs((e.ordinal??0)-r),i=Math.abs((t.ordinal??0)-r);return n===i?(t.ordinal??0)-(e.ordinal??0):n-i})[0])}function WI(e,t){if(!Number.isFinite(t)||t<=0||e.length<=t)return[e];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function GI(e,t){let n=[],r=t.format,i=BI(r,e.format);i!==r&&n.push(`format`);let a=VI(t.body,r,i),o=UI(e.levels,t),s=t.attachments??[],c=[];for(let t of s){if(!e.attachments.mediaTypes.includes(t.mediaType)){n.push(`attachment:${t.mediaType}`);continue}if(e.attachments.mode===`url`&&t.url===void 0){n.push(`attachment:noUrl`);continue}if(t.bytes!==void 0&&e.attachments.maxBytes!==void 0&&t.bytes.length>e.attachments.maxBytes){n.push(`attachment:maxBytes`);continue}if(c.length>=e.attachments.max){n.push(`attachment:max`);continue}let r=e.attachments.mode===`bytes`&&t.bytes===void 0&&t.url!==void 0;c.push({mediaType:t.mediaType,...t.url===void 0?{}:{url:t.url},...t.bytes===void 0?{}:{bytes:t.bytes},...t.mime===void 0?{}:{mime:t.mime},...t.name===void 0?{}:{name:t.name},needsFetch:r})}let l=t.actions??[],u=l.slice(0,Math.max(0,e.actions));l.length>u.length&&n.push(`actions`);let d=e.actionIcons===!0;!d&&u.some(e=>e.icon!==void 0)&&n.push(`actionIcons`);let f=d?u:u.map(({icon:e,...t})=>t),ee=null;t.clickUrl!==void 0&&(e.clickUrl?ee=t.clickUrl:n.push(`clickUrl`));let p=null;t.sound!==void 0&&(e.sound?p=t.sound:n.push(`sound`));let te=null;t.ttl!==void 0&&(e.ttl?te=t.ttl:n.push(`ttl`));let ne=t.tag??null,re=WI(a,e.bodyMaxLen),ie=re.length>1,m={level:o?.id??``,format:i,attachmentsSent:c.length,actionsSent:f.length,truncated:ie,dropped:n};return{body:re[0]??``,...t.title===void 0?{}:{title:t.title},format:i,level:o,attachments:c,actions:f,clickUrl:ee,sound:p,ttl:te,tag:ne,bodyParts:re,renderedAs:m}}var KI=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,qI=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,JI=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,YI=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,XI=`A sound rule fires on what the camera HEARD. Its subject carries no detection, so this condition can never match one — name the sounds in the Sound condition instead.`,ZI=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,QI=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,$I=[{kind:`detection`,label:`Conditions`,excluded:{},carriesMedia:!0,carriesSubjectCrop:!0},{kind:`sensor`,label:`Conditions`,excluded:{},carriesMedia:!0,carriesSubjectCrop:!0,blurb:`A doorbell press or a linked sensor changing state. The picture comes from the camera the sensor is attributed to.`},{kind:`occupancy`,label:`Occupancy`,discriminator:`occupancy`,excluded:{sensorKinds:KI,eventTypeTokens:qI,source:JI},carriesMedia:!0,carriesSubjectCrop:!0,blurb:`Fires when the count in a camera frame or a zone crosses your threshold and holds. Pick the camera first — the zone list is that camera’s.`},{kind:`sound`,label:`Sound`,discriminator:`audio`,excluded:{classes:XI,classesExclude:XI,minConfidence:ZI,zones:QI,zonesExclude:QI,customZones:QI,crossing:QI,labelEquals:XI,identities:XI,identitiesExclude:XI,plates:XI,source:YI},carriesMedia:!0,carriesSubjectCrop:!1,blurb:`Fires on a confirmed sampling window of audio, never on a picture. Name the sounds and/or keep a level threshold — with neither it can never match.`,mediaBlurb:`A sound owns no frame, so the picture is a photograph of the camera taken at the moment of the match — the whole scene, never a crop. The GIF and the clip are cut around the same instant, from the camera.`},{kind:`system`,label:`Events`,discriminator:`systemEvent`,excluded:{},carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The installation itself: a camera or stream dropping, a node leaving, an update landing. There is no detection behind it and no frame to attach.`}];function eL(e){return $I.find(t=>t.kind===e)??$I[0]}var tL=`system-event`;function nL(e){return e===tL}function rL(e){return nL(e.delivery)?`system`:e.conditions.occupancy!==void 0&&e.delivery===`device-event`?`occupancy`:e.conditions.audio!==void 0&&e.delivery===`immediate`?`sound`:e.delivery===`device-event`?`sensor`:`detection`}function iL(e,t,n){let r=eL(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function aL(e,t){let n=eL(t);return e===n.discriminator?null:n.excluded[e]??null}function oL(e,t){let n=eL(t),r=[];for(let[t,i]of Object.entries(e)){if(i===void 0||Array.isArray(i)&&i.length===0)continue;let e=n.excluded[t];e!==void 0&&r.push({conditionId:t,reason:e})}return r}var sL=[{key:`all`,label:`All rules`,blurb:`Every notification rule, whatever its trigger. Each rule picks a trigger, matches conditions and fans out to one or more delivery targets.`,newRuleLabel:`New rule`,emptyHint:`No notification rules yet. Create one to be told what your cameras see.`},{key:`detection`,label:`Detections & devices`,blurb:`Rules driven by what the cameras and sensors SEE — detections, tracks, doorbell presses and package events.`,newRuleLabel:`New detection rule`,emptyHint:`No detection rules yet. Create one to be told what your cameras see.`},{key:`audio`,label:`Sound`,blurb:`Rules on what the cameras HEAR: a sustained window of sound loud enough, or classified as one of the sounds you name. A sound rule fires only on a confirmed sampling window, never on a picture.`,newRuleLabel:`New sound rule`,emptyHint:`No sound rules yet. A new sound rule opens on the sound condition already filled in with a level threshold, so you only have to name the sounds and the targets.`},{key:`occupancy`,label:`Occupancy`,blurb:`Rules on how many objects are in a camera frame or a zone, and for how long: "the driveway became occupied", "the garden emptied".`,newRuleLabel:`New occupancy rule`,emptyHint:`No occupancy rules yet. A new occupancy rule opens on the occupancy condition; pick the camera first, then the zone and the count.`},{key:`system`,label:`System events`,blurb:`Rules about the installation itself: a camera or stream dropping, a node leaving the cluster, an addon or server update becoming available. These carry no image and are not tied to a detection.`,newRuleLabel:`New system rule`,emptyHint:`No system-event rules yet. These tell you when a camera drops, a node leaves or an update lands.`}];function cL(e){return sL.find(t=>t.key===e)??sL[0]}function lL(e){return sL.find(t=>t.key===e)?.key}function uL(e){return e.conditions.audio!==void 0}function dL(e){return e.conditions.occupancy!==void 0}function fL(e,t){return t===`all`?!0:t===`system`?nL(e.delivery):t===`audio`?uL(e):t===`occupancy`?dL(e):!nL(e.delivery)&&!uL(e)&&!dL(e)}function pL(e){return fL(e,`system`)?`system`:fL(e,`audio`)?`audio`:fL(e,`occupancy`)?`occupancy`:`detection`}var mL={op:`became-occupied`,count:1,sustainSeconds:15},hL={hitPercent:dI.hitPercent,samplingSeconds:dI.samplingSeconds,dbThreshold:uI};function gL(e){switch(e){case`system`:return{delivery:tL,conditions:{}};case`audio`:return{delivery:`immediate`,conditions:{audio:hL}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:mL}};default:return{delivery:`immediate`,conditions:{}}}}function _L(e){return gL(e).delivery}var vL=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],yL={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function bL(e){let t=eL(e),n=[];for(let r of vL)r===`devices`&&e===`system`||n.push({key:r,label:r===`conditions`?t.label:yL[r]});return n}var xL={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function SL(e,t){let n=new Date(e);if(t!==void 0)try{let e=new Intl.DateTimeFormat(`en-US`,{timeZone:t,weekday:`short`,hour:`numeric`,minute:`numeric`,hourCycle:`h23`}).formatToParts(n),r,i,a;for(let t of e)t.type===`weekday`?r=t.value:t.type===`hour`?i=Number(t.value):t.type===`minute`&&(a=Number(t.value));let o=r===void 0?void 0:xL[r];if(o!==void 0&&i!==void 0&&a!==void 0)return{day:o,minute:i*60+a}}catch{}return{day:n.getDay(),minute:n.getHours()*60+n.getMinutes()}}function CL(e,t){if(e===void 0)return!0;let{day:n,minute:r}=SL(t,e.timezone),i=(n+6)%7,a=!1;for(let t of e.windows)if(t.startMinute<=t.endMinute){if(t.days.includes(n)&&r>=t.startMinute&&r<t.endMinute){a=!0;break}}else if(t.days.includes(n)&&r>=t.startMinute||t.days.includes(i)&&r<t.endMinute){a=!0;break}return e.invert===!0?!a:a}var wL=[`body`],Z=[`title`,`body`],TL=[`device-battery-low`,`device-battery-normal`],EL=[`device-consumable-low`,`device-consumable-normal`],DL=[`addon-update-available`,`server-update-available`,`wrapper-update-available`],OL=[`addon-update-available`,`server-update-available`],kL=[`alarm-triggered`,`alarm-armed`,`alarm-disarmed`,`alarm-arming`,`alarm-arm-refused`],AL=[`alarm-triggered`],jL=[`device-online`,`device-offline`,`device-disabled`,`device-enabled`,...TL,...EL,`stream-online`,`stream-offline`,`detection-blind`,...kL],ML=[{name:`camera`,label:`Camera`,example:`Ingresso`,group:`subject`,families:[`rule`,`timelapse`],systemEventKinds:[...jL,`export-completed`]},{name:`class`,label:`Detected class`,description:`The counted class on an occupancy row (e.g. "person"); the detected class elsewhere.`,example:`person`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...AL]},{name:`label`,label:`Name or plate`,description:`Recognised person or read plate; empty otherwise.`,example:`Mario`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`subject`,label:`Subject sentence`,description:`Composed in the notification language, e.g. "person (Mario)".`,example:`persona (Mario)`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`sensor`,`sound`,`occupancy`]},{name:`confidence`,label:`Confidence`,example:`87%`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`count`,label:`Count`,description:`Occupancy count, subjects in a grouped notification, or the event count of a system notice.`,example:`3`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[`addon-crash-loop`,...OL,`addon-updated`]},{name:`detectionSummary`,label:`Detection summary`,description:`Class composition, e.g. "2 persons and 1 car".`,example:`2 persone e 1 auto`,group:`subject`,families:[`rule`,`timelapse`,`summary`],fields:[...Z],kinds:[`detection`]},{name:`zones`,label:`Zones`,example:`Cancello, Vialetto`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`zone`,label:`Zone`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[...AL]},{name:`inZones`,label:`"in <zones>" fragment`,description:`Leading space included; empty when no zone.`,example:` in Cancello`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`scope`,label:`Occupancy scope`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`occupancy`]},{name:`time`,label:`Time`,description:`Hours and minutes, in the notification language.`,example:`20:05`,group:`time`,families:[`rule`,`timelapse`,`summary`],fields:[...Z]},{name:`rule`,label:`Rule name`,example:`Ingresso notte`,group:`rule`,families:[`rule`,`timelapse`,`summary`]},{name:`from`,label:`Window start`,example:`07:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`to`,label:`Window end`,example:`08:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`capacity`,label:`Capacity`,example:`2`,group:`occupancy`,families:[`rule`],fields:[...Z],kinds:[`occupancy`]},{name:`op`,label:`Occupied / free`,example:`occupata`,group:`occupancy`,families:[`rule`],fields:[...Z],kinds:[`occupancy`]},{name:`sounds`,label:`Sounds heard`,example:`abbaio, clacson`,group:`sound`,families:[`rule`],fields:[...Z],kinds:[`sound`]},{name:`hitPercent`,label:`Share of the window`,description:`Level mode only: percentage of samples above the threshold.`,example:`42`,group:`sound`,families:[`rule`],fields:[...Z],kinds:[`sound`]},{name:`db`,label:`Peak level (dBFS)`,example:`-18`,group:`sound`,families:[`rule`],fields:[...Z],kinds:[`sound`]},{name:`eventType`,label:`Event type`,description:`Raw device event token, e.g. "press" or "open"; empty when the device sends none.`,example:`press`,group:`sensor`,families:[`rule`],fields:[...Z],kinds:[`sensor`]},{name:`ai`,label:`AI sentence`,description:`Where the AI description goes; appended on its own line when absent.`,example:`Una persona lascia un pacco.`,group:`ai`,families:[`rule`,`summary`],fields:[...wL],kinds:[`detection`,`occupancy`]},{name:`eventKind`,label:`Event kind`,example:`device-offline`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`]},{name:`deviceName`,label:`Device`,example:`Ingresso`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...jL]},{name:`deviceId`,label:`Device id`,example:`617`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...jL,`export-completed`]},{name:`percentage`,label:`Percentage`,example:`15`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...TL,...EL]},{name:`item`,label:`Consumable`,example:`Filtro`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...EL]},{name:`profile`,label:`Stream profile`,example:`high`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`stream-online`,`stream-offline`]},{name:`node`,label:`Node`,example:`hub`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-inference-unavailable`,`addon-crash-loop`,...DL,`addon-updated`,`server-updated`]},{name:`nodeId`,label:`Node id`,example:`hub`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-inference-unavailable`,`addon-crash-loop`,...DL,`server-updated`]},{name:`devices`,label:`Devices`,description:`node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / refusal: HOW MANY devices are armed (or open).`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`node-inference-unavailable`,`alarm-armed`,`alarm-arm-refused`]},{name:`addons`,label:`Addons`,example:`stream-broker`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`minutes`,label:`Minutes`,example:`12`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`detection-blind`]},{name:`package`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...DL,`addon-updated`,`server-updated`]},{name:`packageName`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...OL,`server-updated`]},{name:`nodes`,label:`Nodes`,description:"Comma-joined node ids, when an update spans more than one — the single-node case names it through {{nodeId}} instead. `incomingFromUpdateAvailable` (event-intake.ts) fills `nodes` from ONE shared textParams object for both addon- and server-update-available, exactly like packageName/currentVersion/latestVersion/count — only the shipped TEXT (system.server-update-available.body.onNodes) reads it today, but the var is real on both kinds.",example:`hub, little-unraid`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...OL]},{name:`currentVersion`,label:`Current version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...DL]},{name:`latestVersion`,label:`Latest version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...DL]},{name:`list`,label:`Updated packages`,description:"One line per package. `incomingFromUpdateAvailable` fills it for addon-/server-update-available too (the SAME shared textParams object as `nodes`) — `system.addon-update-available.body` reads it; `incomingFromAddonUpdates` fills it again, independently, for the completed `addon-updated` event.",example:`recorder, notifiers`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...OL,`addon-updated`]},{name:`fromVersion`,label:`From version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`server-updated`]},{name:`toVersion`,label:`To version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`server-updated`]},{name:`destinationsOk`,label:`Destinations ok`,example:`2`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsTotal`,label:`Destinations`,example:`2`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsFailed`,label:`Destinations failed`,example:`0`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`sizeMB`,label:`Size (MB)`,example:`412`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`backupId`,label:`Backup id`,example:`bk-20260924`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`title`,label:`Export title`,example:`Ingresso 08:00`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`exportId`,label:`Export id`,example:`exp-20260924`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`bytes`,label:`Export size (bytes)`,example:`10485760`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`mode`,label:`Alarm mode`,example:`away`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`seconds`,label:`Seconds`,description:`Arming: the exit delay left. Refusal: how long the retry-to-arm-anyway lasts.`,example:`30`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-arming`,`alarm-arm-refused`]},{name:`rules`,label:`Covering rules`,description:`How many enabled rules the armed mode gates.`,example:`2`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`]},{name:`names`,label:`Device names`,description:`Armed: the devices armed. Arming: the devices this mode cannot arm. Refusal: the open sensors.`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`skippedNames`,label:`Skipped devices`,description:`Devices the mode names but cannot arm (muted, detection off, offline).`,example:`Garage`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`]},{name:`bypassedNames`,label:`Bypassed sensors`,description:`Sensors the operator armed around because they were open.`,example:`Finestra veranda`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`coverage`,label:`Coverage %`,example:`96`,group:`digest`,families:[`timelapse`],fields:[...Z]},{name:`events`,label:`Events`,example:`4`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Z]},{name:`detections`,label:`Detections`,example:`7`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Z]},{name:`count_person`,label:`Count of one class`,description:`count_<class>, e.g. count_person, count_car.`,example:`3`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Z],dynamic:{prefix:`count_`,from:`classes`}},{name:`cameras`,label:`Cameras`,example:`3`,group:`digest`,families:[`summary`],fields:[...Z]},{name:`matched`,label:`Matched events`,example:`12`,group:`digest`,families:[`summary`],fields:[...Z]},{name:`shown`,label:`Events shown`,example:`9`,group:`digest`,families:[`summary`],fields:[...Z]},{name:`total`,label:`Events total`,example:`12`,group:`digest`,families:[`summary`],fields:[...Z]}],NL={previewText:[`camera`,`rule`,`from`,`to`],captionText:[`rule`,`from`,`to`]};function PL(e,t){return e===void 0||t===void 0||e.includes(t)}function FL(e,t){if(t.kind!==`system`||e.systemEventKinds===void 0)return!0;let n=t.systemEventKinds??[];return n.length===0||n.some(t=>e.systemEventKinds?.includes(t)===!0)}function IL(e){if(e.field===`previewText`||e.field===`captionText`){let t=NL[e.field];return ML.filter(n=>n.families.includes(e.family)&&t.includes(n.name)&&n.dynamic===void 0)}return ML.filter(t=>t.families.includes(e.family)&&PL(t.fields,e.field)&&PL(t.kinds,e.kind)&&PL(t.deliveries,e.delivery)&&FL(t,e))}function LL(e,t){return IL(t).some(t=>t.dynamic===void 0?t.name===e:e.startsWith(t.dynamic.prefix)&&e.length>t.dynamic.prefix.length)}var RL=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`];function zL(e,t){switch(t){case`deviceIds`:return e.startsWith(`device-`)||e.startsWith(`stream-`)||e===`detection-blind`||e===`alarm-triggered`||e===`export-completed`;case`deviceTypes`:return e.startsWith(`device-`)||e===`detection-blind`;case`nodeIds`:return e.startsWith(`node-`)||e===`addon-crash-loop`||e===`addon-update-available`||e===`addon-updated`||e===`server-update-available`||e===`wrapper-update-available`||e===`server-updated`;case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`server-updated`}}function BL(e,t){return e.some(e=>zL(e,t))}var VL=a({title:g().max(500).optional(),body:g().max(2e3).optional()}),HL=g().min(1).max(200),UL=p(o()).min(1),WL=o().int().min(2).max(3600),GL=o().int().min(1).max(60),KL=p(Eg).min(1),qL=o().int().min(1).max(5),JL=.1,YL=o().min(JL).max(3600),XL=o().min(0).max(60),ZL=g().max(200),QL=m([`image`,`gif`]),$L=p(g().min(1).max(40)).max(20),eR=a({name:HL,enabled:v().default(!0),deviceIds:UL,schedule:pg,cadenceSec:WL.default(15),framerate:GL.default(10),denseCadenceSec:YL.optional(),minDwellSec:XL.optional(),targets:KL,template:VL.optional(),previewText:ZL.optional(),previewMode:QL.default(`image`),reportClasses:$L.optional(),priority:qL.default(3)}),tR=`Timelapse {{camera}}`,nR=a({name:HL.optional(),enabled:v().optional(),deviceIds:UL.optional(),schedule:pg.optional(),cadenceSec:WL.optional(),framerate:GL.optional(),denseCadenceSec:YL.optional(),minDwellSec:XL.optional(),targets:KL.optional(),template:VL.nullable().optional(),previewText:ZL.optional(),previewMode:QL.optional(),reportClasses:$L.optional(),priority:qL.optional()}),rR=eR.extend({id:g(),ownerUserId:g().optional(),lastGeneratedAt:o().optional(),generatedByDevice:r(g(),o()).optional(),createdBy:g(),createdAt:o(),updatedAt:o()});function iR(e){let t=e.denseCadenceSec;if(t!==void 0&&t>=e.cadenceSec)throw Error(`denseCadenceSec (${t}s) must be strictly smaller than cadenceSec (${e.cadenceSec}s) — a dense cadence that is not denser renders a uniform timelapse`)}function aR(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}var oR=[{stepId:`face-embedding`,label:`Face recognition model`,defaultModelId:`arcface-r100`,indexName:`the enrolled face gallery`,options:[{id:`arcface-r100`,label:`ArcFace (ResNet34)`},{id:`auraface-r100`,label:`AuraFace R100`},{id:`inception-resnet-v1`,label:`Inception ResNet V1`}]},{stepId:`clip-embedding`,label:`Semantic search model`,defaultModelId:`mobileclip-s1`,indexName:`the object semantic-search index`,options:[{id:`mobileclip-s1`,label:`MobileCLIP S1`},{id:`mobileclip-s2`,label:`MobileCLIP S2`}]}],sR=`cluster-step-models`;function cR(e){return`clusterModel:${e}`}function lR(e){return oR.some(t=>t.stepId===e)}var uR=Object.freeze(Object.fromEntries(oR.map(e=>[e.stepId,e.defaultModelId]))),dR=g().min(1);function fR(e){let t={};for(let n of oR){let r=dR.safeParse(e[cR(n.stepId)]);t[n.stepId]=r.success?r.data:n.defaultModelId}return t}function pR(e){return typeof e==`object`&&!!e&&`key`in e}function mR(e){if(e===null)return uR;let t={},n=new Set(oR.map(e=>cR(e.stepId)));for(let r of e.sections)for(let e of r.fields)!pR(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return fR(t)}function hR(e,t){let n=oR.find(t=>t.stepId===e);if(n===void 0)return null;let r=t[e];return r!==void 0&&r!==``?r:n.defaultModelId}var gR=[{stepId:`face-embedding`,key:`minLandmarkFaceSize`,label:`Min face size for recognition (detection px)`,description:`Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.`,type:`slider`,min:0,max:64,step:2,default:24}];function _R(e,t){return`clusterStepSetting:${e}:${t}`}function vR(e){return gR.filter(t=>t.stepId===e)}var yR=o().finite();function bR(e){let t={};for(let n of gR){let r=yR.safeParse(e[_R(n.stepId,n.key)]),i=r.success?r.data:n.default,a=t[n.stepId]??{};t[n.stepId]={...a,[n.key]:i}}return t}var xR=bR({});function SR(e){if(e===null)return xR;let t={},n=new Set(gR.map(e=>_R(e.stepId,e.key)));for(let r of e.sections)for(let e of r.fields)!pR(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return bR(t)}function CR(e,t,n){let r=n[e];return r===void 0||Object.keys(r).length===0?t===void 0?void 0:{...t}:t===void 0?{...r}:{...t,...r}}var wR=`detail-crop`,TR=`detailCropPaddingRatio`,ER=`detailCropSquare`,DR=a({paddingRatio:o().min(0).max(4),square:v()}),OR={paddingRatio:.15,square:!1};function kR(e){let t=DR.shape.paddingRatio.safeParse(e[TR]),n=DR.shape.square.safeParse(e[ER]);return{paddingRatio:t.success?t.data:OR.paddingRatio,square:n.success?n.data:OR.square}}function AR(e){return typeof e==`object`&&!!e&&`key`in e}function jR(e){if(e===null)return OR;let t={};for(let n of e.sections)for(let e of n.fields)!AR(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return kR(t)}var MR=Object.freeze({x:0,y:0,w:1,h:1}),NR={min:0,max:1,step:.05,default:OR.paddingRatio};function PR(e,t,n,r){let i=r.paddingRatio*e.w,a=r.paddingRatio*e.h,o={x:e.x-i,y:e.y-a,w:e.w+2*i,h:e.h+2*a};return r.square?LR(FR(o,t,n),t,n):IR(o,t,n)}function FR(e,t,n){let r=Math.min(Math.max(e.w,e.h),Math.min(t,n)),i=e.x+e.w/2,a=e.y+e.h/2;return{x:i-r/2,y:a-r/2,w:r,h:r}}function IR(e,t,n){let r=Math.max(0,e.x),i=Math.max(0,e.y),a=Math.min(t,e.x+e.w),o=Math.min(n,e.y+e.h);return{x:r,y:i,w:Math.max(0,a-r),h:Math.max(0,o-i)}}function LR(e,t,n){let r=Math.max(0,Math.min(e.w,t)),i=Math.max(0,Math.min(e.h,n));return{x:Math.min(Math.max(0,e.x),Math.max(0,t-r)),y:Math.min(Math.max(0,e.y),Math.max(0,n-i)),w:r,h:i}}var RR=`native-lease`,zR=`nativeLeaseHoldFrames`,BR=`nativeLeaseBudgetMb`,VR=`nativeLeaseActivityMs`,HR=`nativeLeaseAdmission`,UR=`nativeTileBudgetMb`,WR=`nativeSceneBudgetMb`,GR=m([`all`,`inferred`]),KR=a({holdFrames:o().int().min(1).max(64),budgetMb:o().int().min(0).max(4096),activityMs:o().int().min(0).max(12e4),admission:GR,tileBudgetMb:o().int().min(0).max(1024),sceneBudgetMb:o().int().min(0).max(1024)}),Q={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},qR={min:1,max:64,step:1,default:Q.holdFrames},JR={min:0,max:4096,step:64,default:Q.budgetMb},YR={min:0,max:12e4,step:1e3,default:Q.activityMs},XR={min:0,max:1024,step:16,default:Q.tileBudgetMb},ZR={min:0,max:1024,step:16,default:Q.sceneBudgetMb},QR={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:Q.admission};function $R(e,t){let n=KR.shape[e].safeParse(t);return n.success?n.data===Q[e]?null:n.data:null}function ez(e){let t=GR.safeParse(e);return t.success?t.data===Q.admission?null:t.data:null}function tz(e){let t=$R(`holdFrames`,e[zR]),n=$R(`budgetMb`,e[BR]),r=$R(`activityMs`,e[VR]),i=ez(e[HR]),a=$R(`tileBudgetMb`,e[UR]),o=$R(`sceneBudgetMb`,e[WR]);return{...t===null?{}:{holdFrames:t},...n===null?{}:{budgetMb:n},...r===null?{}:{activityMs:r},...i===null?{}:{admission:i},...a===null?{}:{tileBudgetMb:a},...o===null?{}:{sceneBudgetMb:o}}}function nz(e){return typeof e==`object`&&!!e&&`key`in e}var rz=[zR,BR,VR,HR,UR,WR];function iz(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!nz(e)||typeof e.key!=`string`||rz.includes(e.key)&&(t[e.key]=e.value);return tz(t)}var az=[{id:`viewer`,label:`View`,description:`Watch live and recorded video, browse events and read device state. Cannot change anything.`,deviceAccess:[`view`],systemAccess:[`view`]},{id:`operator`,label:`Operate`,description:`Everything View does, plus acting on a device: PTZ, lights, sirens, locks, and snoozing notifications. Cannot delete.`,deviceAccess:[`view`,`create`],systemAccess:[`view`,`create`]},{id:`manager`,label:`Full management`,description:`Everything Operate does, plus deleting devices, recordings and events. Short of admin — no user or cluster administration.`,deviceAccess:[`view`,`create`,`delete`],systemAccess:[`view`,`create`,`delete`]}];function oz(e){let t=az.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function sz(e){let t=oz(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function cz(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function lz(e){if(e.length!==2)return null;let t=e.filter(e=>e.type===`device`),n=e.filter(e=>e.type===`category`&&e.target===`system`);if(t.length!==1||n.length!==1)return null;let[r]=t,[i]=n;if(r===void 0||i===void 0||r.type!==`device`||r.includeLinked===void 0)return null;let a=az.find(e=>cz(e.deviceAccess,r.access)&&cz(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var uz=8;function dz(e,t){switch(e.kind){case`all`:return!0;case`ids`:return e.ids.includes(t.id);case`types`:return e.types.some(e=>String(e)===t.type);case`locations`:return t.location!==null&&e.locations.includes(t.location)}}function fz(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function pz(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function mz(e,t){return e.includeLinked??t===`view`}function hz(e,t){let n=[],r=e;for(let e=0;e<uz;e++){let e=r===null?null:t.get(r)?.parentDeviceId??null;if(e===null||e===r)break;n.push(e),r=e}return n}function gz(e,t,n){if(fz(e,n))return new Set(t.map(e=>e.id));let r=new Map;for(let e of t)r.set(e.id,e);let i=pz(e,n),a=new Set;for(let e of t)for(let t of i){if(dz(t.selector,e)){a.add(e.id);break}if(mz(t,n)&&hz(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&dz(t.selector,n)})){a.add(e.id);break}}return a}function _z(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=K.safeParse(n);e.success&&t.push(e.data)}return t}var vz=[`view`,`create`,`delete`];function yz(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:fz(e,n)||pz(e,n).some(e=>e.selector.kind===`all`),deviceCount:gz(e,t,n).size}}function bz(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function xz(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function Sz(e,t,n){let r={view:yz(e,t,`view`,n),create:yz(e,t,`create`,n),delete:yz(e,t,`delete`,n)},i=n?vz:vz.filter(t=>e.some(e=>e.type===`category`&&e.target===`system`&&e.access.includes(t)));return{isAdmin:n,allDevicesViewable:r.view.all,viewableDeviceCount:r.view.deviceCount,device:r,system:i,capabilities:bz(e),addons:xz(e)}}var Cz={camera:{type:`camera`,label:`Camera`,icon:`camera`}},wz={"°C":{dimension:`temperature`,factor:1,offset:0},"°F":{dimension:`temperature`,factor:5/9,offset:-160/9},K:{dimension:`temperature`,factor:1,offset:-273.15},hPa:{dimension:`pressure`,factor:1,offset:0},kPa:{dimension:`pressure`,factor:10,offset:0},Pa:{dimension:`pressure`,factor:.01,offset:0},mbar:{dimension:`pressure`,factor:1,offset:0},bar:{dimension:`pressure`,factor:1e3,offset:0},inHg:{dimension:`pressure`,factor:33.8639,offset:0},mmHg:{dimension:`pressure`,factor:1.33322,offset:0},psi:{dimension:`pressure`,factor:68.9476,offset:0},"m/s":{dimension:`speed`,factor:1,offset:0},"km/h":{dimension:`speed`,factor:1/3.6,offset:0},mph:{dimension:`speed`,factor:.44704,offset:0},kn:{dimension:`speed`,factor:.514444,offset:0},"mm/h":{dimension:`precipitation-rate`,factor:1,offset:0},"in/h":{dimension:`precipitation-rate`,factor:25.4,offset:0},m:{dimension:`length`,factor:1,offset:0},mm:{dimension:`length`,factor:.001,offset:0},cm:{dimension:`length`,factor:.01,offset:0},km:{dimension:`length`,factor:1e3,offset:0},in:{dimension:`length`,factor:.0254,offset:0},ft:{dimension:`length`,factor:.3048,offset:0},mi:{dimension:`length`,factor:1609.344,offset:0},lx:{dimension:`illuminance`,factor:1,offset:0},"W/m²":{dimension:`irradiance`,factor:1,offset:0},W:{dimension:`power`,factor:1,offset:0},kW:{dimension:`power`,factor:1e3,offset:0},VA:{dimension:`apparent-power`,factor:1,offset:0},Wh:{dimension:`energy`,factor:1,offset:0},kWh:{dimension:`energy`,factor:1e3,offset:0},MWh:{dimension:`energy`,factor:1e6,offset:0},V:{dimension:`voltage`,factor:1,offset:0},mV:{dimension:`voltage`,factor:.001,offset:0},A:{dimension:`current`,factor:1,offset:0},mA:{dimension:`current`,factor:.001,offset:0},ppm:{dimension:`concentration-volume`,factor:1,offset:0},ppb:{dimension:`concentration-volume`,factor:.001,offset:0},"µg/m³":{dimension:`concentration-mass`,factor:1,offset:0},"mg/m³":{dimension:`concentration-mass`,factor:1e3,offset:0},kg:{dimension:`mass`,factor:1,offset:0},g:{dimension:`mass`,factor:.001,offset:0},lb:{dimension:`mass`,factor:.453592,offset:0},oz:{dimension:`mass`,factor:.0283495,offset:0},"%":{dimension:`percentage`,factor:1,offset:0}},Tz=class extends Error{from;to;reason;constructor(e,t,n){super(`[units] cannot convert '${e}' → '${t}': ${n}`),this.name=`UnitConversionError`,this.from=e,this.to=t,this.reason=n}};function Ez(e){return Object.hasOwn(wz,e)?wz[e]:void 0}function Dz(e){return Ez(e)?.dimension}function Oz(e,t){return e*t.factor+t.offset}function kz(e,t){return(e-t.offset)/t.factor}function Az(e,t,n){if(t===n)return e;let r=Ez(t);if(!r)throw new Tz(t,n,`unknown-from`);let i=Ez(n);if(!i)throw new Tz(t,n,`unknown-to`);if(r.dimension!==i.dimension)throw new Tz(t,n,`cross-dimension`);return kz(Oz(e,r),i)}function jz(e,t,n){if(t===n)return e;let r=Ez(t);if(!r)return;let i=Ez(n);if(i&&r.dimension===i.dimension)return kz(Oz(e,r),i)}function Mz(e,t){if(e===t)return!0;let n=Dz(e);return n===void 0?!1:n===Dz(t)}function Nz(e){let t=[];for(let[n,r]of Object.entries(wz))r.dimension===e&&t.push(n);return t}var Pz=[15e3,6e4,5*6e4,15*6e4,30*6e4,60*6e4,90*6e4];function Fz(e,t){let n=e.length,r=t.length;if(n===0)return r;if(r===0)return n;let i=Array.from({length:r+1},(e,t)=>t),a=Array.from({length:r+1},()=>0);for(let o=1;o<=n;o++){a[0]=o;let n=i[0]??0;for(let s=1;s<=r;s++){let r=i[s]??0,c=a[s-1]??0,l=e.charCodeAt(o-1)===t.charCodeAt(s-1)?0:1;a[s]=Math.min(r+1,c+1,n+l),n=r}for(let e=0;e<=r;e++)i[e]=a[e]??0}return i[r]??0}function Iz(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-Fz(n,r)/Math.max(n.length,r.length)}function Lz(e,t,n=.8){let r=null,i=0;for(let a of t){let t=Iz(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var Rz=`addon:`;function zz(e){return e.startsWith(Rz)?e.slice(6):e}function Bz(e,t){return zz(e)===zz(t)}function Vz(e,t){if(e.length!==t.length)return 0;let n=0,r=0,i=0;for(let a=0;a<e.length;a++)n+=e[a]*t[a],r+=e[a]*e[a],i+=t[a]*t[a];let a=Math.sqrt(r)*Math.sqrt(i);return a===0?0:n/a}var Hz=class{elementId;cache={};listeners=new Set;loaded=!1;getBackend;constructor(e,t){this.elementId=e,this.getBackend=typeof t==`function`?t:()=>t}async ensureLoaded(){if(this.loaded)return;let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available`);let t=await e.query({collection:`config`,filter:{where:{id:this.elementId},limit:1}});t.length>0&&(this.cache=t[0].data??{}),this.loaded=!0}getAll(){return{...this.cache}}get(e){let t=e.split(`.`),n=this.cache;for(let e of t){if(typeof n!=`object`||!n||Array.isArray(n))return;n=Reflect.get(n,e)}return n}async set(e,t){await this.ensureLoaded(),Uz(this.cache,e,t),await this.persist(),this.notifyListeners()}async setAll(e){await this.ensureLoaded(),this.cache={...e},await this.persist(),this.notifyListeners()}onChange(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}async load(){await this.ensureLoaded()}async loadDefaults(e){await this.ensureLoaded(),Object.keys(this.cache).length===0&&(this.cache={...e},await this.persist())}async persist(){let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available — cannot persist config`);await e.set({collection:`config`,key:this.elementId,value:this.cache})}notifyListeners(){let e=this.getAll();for(let t of this.listeners)try{t(e)}catch{}}};function Uz(e,t,n){let r=t.split(`.`),i=e;for(let e=0;e<r.length-1;e++){let t=r[e],n=i[t];if(typeof n!=`object`||!n||Array.isArray(n)){let e={};i[t]=e,i=e}else i=n}i[r[r.length-1]]=n}function Wz(e){return e instanceof Error?e.message:typeof e==`string`?e:String(e)}function Gz(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}function Kz(e){return JSON.parse(e)}function qz(e){return typeof e!=`object`||!e||Array.isArray(e)?null:{...e}}function Jz(e){return Array.isArray(e)?e:[]}function Yz(e,t=``){return typeof e==`string`?e:t}function Xz(e,t=0){return typeof e==`number`?e:t}function Zz(e,t=!1){return typeof e==`boolean`?e:t}function Qz(e){try{return qz(Kz(e))}catch{return null}}function $z(e){try{let t=Kz(e);return Array.isArray(t)?t:null}catch{return null}}var eB=[/^user$/i,/^usr$/i,/^username$/i,/^password$/i,/^pwd$/i,/^pass$/i,/^passwd$/i,/^secret$/i,/^token$/i,/^auth$/i,/^auth[_-]?token$/i,/^bearer$/i,/^api[_-]?key$/i,/^access[_-]?token$/i,/^refresh[_-]?token$/i];function tB(e){return eB.some(t=>t.test(e))}function nB(e){try{let t=new URL(e),n=!1;(t.username||t.password)&&(t.username=``,t.password=``,n=!0);for(let e of Array.from(t.searchParams.keys()))tB(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,rB={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function iB(e){let t=(t,n,r)=>{let i=e[t];if(i===void 0)return n;let a=Number(i);return Number.isFinite(a)&&a>=r?a:n},n=rB;return{sampleIntervalMs:t(`CAMSTACK_POOL_MEM_INTERVAL_MS`,n.sampleIntervalMs,5e3),baselineSettleSamples:n.baselineSettleSamples,baselineSampleCount:n.baselineSampleCount,restartMultiple:t(`CAMSTACK_POOL_MEM_MULTIPLE`,n.restartMultiple,1.5),floorBytes:t(`CAMSTACK_POOL_MEM_FLOOR_MB`,n.floorBytes/$,128)*$,ceilingBytes:t(`CAMSTACK_POOL_MEM_CEILING_MB`,n.ceilingBytes/$,256)*$,cooldownMs:t(`CAMSTACK_POOL_MEM_COOLDOWN_MS`,n.cooldownMs,6e4),maxRestartsPerWindow:t(`CAMSTACK_POOL_MEM_MAX_RESTARTS`,n.maxRestartsPerWindow,1),restartWindowMs:t(`CAMSTACK_POOL_MEM_RESTART_WINDOW_MS`,n.restartWindowMs,6e4)}}function aB(e){let t=t=>{let n=e.match(RegExp(`^${t}:\\s+(\\d+)\\s*kB`,`m`));return n?Number(n[1])*1024:null},n=t(`VmRSS`);if(n===null)return null;let r=e.match(/^Threads:\s+(\d+)/m);return{rssBytes:n,vmBytes:t(`VmSize`)??0,hwmBytes:t(`VmHWM`)??0,swapBytes:t(`VmSwap`)??0,threads:r?Number(r[1]):0}}function oB(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function sB(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function cB(e,t,n){if(e.baselineBytes!==null)return e;if(e.settleSeen<n.baselineSettleSamples)return{...e,settleSeen:e.settleSeen+1};let r=[...e.baselineWindow,t];return r.length<n.baselineSampleCount?{...e,baselineWindow:r}:{...e,baselineWindow:r,baselineBytes:sB(r)}}function lB(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function uB(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function dB(e,t,n,r){let i=cB(e,t,r),a=lB(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=uB(i.restartsAt,n,r),s={...i,restartsAt:o};return o.length>=r.maxRestartsPerWindow?{state:s,action:`exhausted`,baselineBytes:i.baselineBytes,thresholdBytes:a}:s.lastRestartAt!==null&&n-s.lastRestartAt<r.cooldownMs?{state:s,action:`cooldown`,baselineBytes:i.baselineBytes,thresholdBytes:a}:{state:s,action:`restart`,baselineBytes:i.baselineBytes,thresholdBytes:a}}function fB(e,t){return{...oB(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function pB(e){return{...oB(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function mB(e){if(e.length===0)return null;let t=e[0];for(let n of e)n.rssBytes/n.thresholdBytes>t.rssBytes/t.thresholdBytes&&(t=n);return t.key}var hB=class{pools=new Map;timer=null;sweeping=!1;stopped=!1;opts;now;setTimer;clearTimer;constructor(e){this.opts=e,this.now=e.now??(()=>Date.now()),this.setTimer=e.setTimer??((e,t)=>setTimeout(e,t)),this.clearTimer=e.clearTimer??(e=>clearTimeout(e))}start(){this.timer||this.stopped||this.arm()}stop(){this.stopped=!0,this.timer&&=(this.clearTimer(this.timer),null)}arm(){let e=this.setTimer(()=>{this.sweep().finally(()=>{this.stopped||this.arm()})},this.opts.policy.sampleIntervalMs);typeof e.unref==`function`&&e.unref(),this.timer=e}async sweep(){if(!this.sweeping){this.sweeping=!0;try{await this.doSweep()}catch(e){this.opts.log.warn(`pool memory sweep failed`,{meta:{error:e instanceof Error?e.message:String(e)}})}finally{this.sweeping=!1}}}async doSweep(){let e=this.now(),t=await this.opts.sample(),n=[],r=new Map;for(let i of t){let t=this.pools.get(i.key),a=t?.state??oB();t&&t.pids.length>0&&!gB(t.pids,i.pids)&&(this.opts.log.warn(`pool process changed outside the watchdog — re-baselining`,{meta:{poolKey:i.key,previousPids:t.pids,pids:i.pids}}),a=pB(a));let o=dB(a,i.rssBytes,e,this.opts.policy);this.pools.set(i.key,{state:o.state,pids:i.pids}),r.set(i.key,o),this.opts.log.info(`pool memory`,{meta:{poolKey:i.key,pids:i.pids,rssMb:Math.round(i.rssBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),action:o.action,...i.meta}}),o.action===`restart`?n.push({key:i.key,rssBytes:i.rssBytes,thresholdBytes:o.thresholdBytes}):o.action===`cooldown`?this.opts.log.warn(`pool over memory threshold but inside restart cooldown`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),cooldownMs:this.opts.policy.cooldownMs}}):o.action===`exhausted`&&this.opts.log.error(`pool memory watchdog gave up — restart budget exhausted, pool leaks faster than restarts can pay for; needs a heap profile (py-spy / tracemalloc)`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),maxRestartsPerWindow:this.opts.policy.maxRestartsPerWindow,restartWindowMs:this.opts.policy.restartWindowMs}})}for(let e of[...this.pools.keys()])t.some(t=>t.key===e)||this.pools.delete(e);let i=mB(n);if(i===null)return;let a=n.find(e=>e.key===i),o=r.get(i),s=this.pools.get(i),c=s.state.restartsAt.length+1;this.opts.log.warn(`pool memory watchdog restarting pool — RSS over threshold`,{meta:{poolKey:i,pids:s.pids,rssMb:Math.round(a.rssBytes/$),thresholdMb:Math.round(a.thresholdBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),restartsInWindow:c,deferredCandidates:n.filter(e=>e.key!==i).map(e=>e.key)}});try{await this.opts.restart(i),this.pools.set(i,{state:fB(s.state,this.now()),pids:[]})}catch(e){this.opts.log.error(`pool memory watchdog restart failed`,{meta:{poolKey:i,error:e instanceof Error?e.message:String(e)}})}}};function gB(e,t){if(e.length!==t.length)return!1;let n=[...e].sort((e,t)=>e-t),r=[...t].sort((e,t)=>e-t);return n.every((e,t)=>e===r[t])}function _B(e,t,n){let r=t*n;if(r<=0||e.length===0)return Array.from({length:Math.max(0,r)}).fill(!1);let i=Array.from({length:r}).fill(!1);for(let r=0;r<n;r++)for(let a=0;a<t;a++){let o=(a+.5)/t,s=(r+.5)/n;for(let n of e)if(o>=n.x&&o<=n.x+n.w&&s>=n.y&&s<=n.y+n.h){i[r*t+a]=!0;break}}return i}function vB(e,t,n,r){if(t<=0||n<=0||r<=0)return[];let i=t*n,a=Array.from({length:i}).fill(!1),o=Math.min(e.length,i);for(let t=0;t<o;t++)a[t]=e[t]===!0;let s=[],c=[];for(let e=0;e<=n;e++){let r=[];if(e<n){let n=-1;for(let i=0;i<=t;i++){let o=i<t&&a[e*t+i]===!0;o&&n===-1?n=i:!o&&n!==-1&&(r.push({colStart:n,colEnd:i-1}),n=-1)}}let i=new Set,o=[];for(let t of c){let n=r.findIndex(e=>e.colStart===t.colStart&&e.colEnd===t.colEnd);n>=0?(o.push(t),i.add(n)):s.push({...t,rowEnd:e-1})}for(let t=0;t<r.length;t++)if(!i.has(t)){let n=r[t];o.push({colStart:n.colStart,colEnd:n.colEnd,rowStart:e})}c.length=0;for(let e of o)c.push(e)}if(s.length===0)return[];let l=s.slice().toSorted((e,t)=>{let n=(e.colEnd-e.colStart+1)*(e.rowEnd-e.rowStart+1);return(t.colEnd-t.colStart+1)*(t.rowEnd-t.rowStart+1)-n});return(r>0?l.slice(0,r):l).map(e=>({x:e.colStart/t,y:e.rowStart/n,w:(e.colEnd-e.colStart+1)/t,h:(e.rowEnd-e.rowStart+1)/n}))}var yB=class{capacity;items;head=0;tail=0;count=0;constructor(e){this.capacity=e,this.items=Array.from({length:e})}get size(){return this.count}push(e){this.items[this.tail]=e,this.tail=(this.tail+1)%this.capacity,this.count<this.capacity?this.count++:this.head=(this.head+1)%this.capacity}drain(e){let t=[],n=Math.min(e,this.count);for(let e=0;e<n;e++)t.push(this.items[this.head]),this.items[this.head]=void 0,this.head=(this.head+1)%this.capacity;return this.count-=n,t}};async function bB(e,t){let n=performance.now();try{return{output:t===void 0?await e():await SB(e(),t),durationMs:xB(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:xB(performance.now()-n),ok:!1,error:Wz(e)}}}function xB(e){return Math.round(e*100)/100}function SB(e,t){return new Promise((n,r)=>{let i=setTimeout(()=>r(Error(`Inference timeout after ${t}ms`)),t);e.then(e=>{clearTimeout(i),n(e)}).catch(e=>{clearTimeout(i),r(e)})})}var CB={cpu:`onnx`,coreml:`onnx`,cuda:`onnx`,tensorrt:`onnx`,"onnx-py":`onnx`,pytorch:`pt`,openvino:`openvino`},wB={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function TB(e){return wB[e]??`onnx`}var EB={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},DB={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function OB(e,t){return e===`node`?`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pytorch`,"onnx-py":`onnx`,cpu:`onnx`}[t]??t}function kB(e,t){return e===`node`?CB[t]??`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pt`,"onnx-py":`onnx`,cpu:`onnx`}[t]??`onnx`}function AB(e,t){return!e||e===`auto`?`auto`:OB(e,t??`cpu`)}function jB(e){return CB[e]??`onnx`}function MB(e){return EB[e]}function NB(e){return DB[e]}function PB(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function FB(e){return new Promise(t=>setTimeout(t,Math.max(0,e)))}function IB(e,t){return t.aborted?Promise.resolve():new Promise(n=>{let r=setTimeout(()=>{t.removeEventListener(`abort`,i),n()},Math.max(0,e)),i=()=>{clearTimeout(r),t.removeEventListener(`abort`,i),n()};t.addEventListener(`abort`,i,{once:!0})})}function LB(e){let t=e instanceof Float32Array?e:Float32Array.from(e),n=new Uint8Array(t.length*4),r=new DataView(n.buffer);for(let e=0;e<t.length;e+=1)r.setFloat32(e*4,t[e]??0,!0);return Buffer.from(n).toString(`base64`)}function RB(e){let t=Buffer.from(e,`base64`);if(t.byteLength%4!=0)throw Error(`decodeVectorBase64: ${t.byteLength} bytes is not a whole number of Float32 values`);let n=new Float32Array(t.byteLength/4);for(let e=0;e<n.length;e+=1)n[e]=t.readFloatLE(e*4);return n}function zB(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function BB(e,t,n,r,i){if(n.length===0||t.length===0)return{passed:e,excluded:[]};let a=n.filter(e=>e.enabled!==!1),o=a.filter(e=>e.mode===`include`),s=a.filter(e=>e.mode===`exclude`),c=o.length>0,l=new Map(t.map(e=>[e.id,e])),u=[],d=[];for(let t of e){let e=r(t),n=i?.(t),a=o.some(t=>VB(t,e,n,l)),f=s.some(t=>VB(t,e,n,l));c?a&&!f?u.push(t):d.push(t):f?d.push(t):u.push(t)}return{passed:u,excluded:d}}function VB(e,t,n,r){if(e.classFilter&&e.classFilter.length>0&&n!==void 0&&!e.classFilter.includes(n))return!1;for(let n of e.zoneIds){let e=r.get(n);if(e&&HB(t,e.polygon))return!0}return!1}function HB(e,t){if(t.length<3)return!1;let n=!1,{x:r,y:i}=e;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a];o.y>i!=s.y>i&&r<(s.x-o.x)*(i-o.y)/(s.y-o.y||2**-52)+o.x&&(n=!n)}return n}function UB(e,t,n){let r={};for(let i of Object.keys(n))r[i]=n=>e.addons.custom.mutate({addonId:t,action:i,input:n});return r}var WB={value:`auto`,label:`Auto`},GB={value:`cpu`,label:`CPU`},KB={value:`usb`,label:`Coral USB`},qB=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[GB];let t=[GB];return e.gpu?.type===`nvidia`&&t.push({value:`cuda`,label:`CUDA`}),e.npu?.type===`apple-ane`&&t.push({value:`coreml`,label:`CoreML EP`}),t},defaultDevice:`cpu`},{id:`openvino`,supports:e=>e?.arch===`x64`&&e.platform!==`darwin`&&e.gpu?.type===`intel`,devices:e=>{if(!e)return[WB];let t=[WB,GB];return e.gpu?.type===`intel`&&t.push({value:`gpu`,label:`GPU`}),e.npu?.type===`intel-npu`&&t.push({value:`npu`,label:`NPU`}),t},defaultDevice:`auto`},{id:`coreml`,supports:e=>e?.platform===`darwin`,devices:e=>{let t={value:`all`,label:`All (ANE + GPU + CPU)`};if(!e)return[t];let n=[t];return e.npu?.type===`apple-ane`&&n.push({value:`ane`,label:`Apple Neural Engine`}),n.push({value:`gpu`,label:`GPU`},GB),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[KB],defaultDevice:`usb`}];function JB(e){let t=qB.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function YB(e){return qB.filter(t=>t.supports(e)).map(e=>e.id)}function XB(e,t){return JB(e).devices(t)}function ZB(e){return JB(e).defaultDevice}function QB(e){return e===`edgetpu`?`tflite`:MB(e)}function $B(e){let t=[];if(e.platform===`darwin`&&e.arch===`arm64`&&t.push({runtime:`python`,backend:`coreml`,format:`coreml`,score:95,reason:`Apple Neural Engine (Python CoreML)`,available:!0}),e.gpu?.type===`nvidia`&&t.push({runtime:`python`,backend:`cuda`,format:`onnx`,score:85,reason:`NVIDIA CUDA (Python ONNX Runtime)`,available:!0}),e.gpu?.type===`intel`){let n=e.npu?.type===`intel-npu`?90:80;t.push({runtime:`python`,backend:`openvino`,format:`openvino`,score:n,reason:`Intel OpenVINO`,available:!0})}e.coral!=null&&t.push({runtime:`python`,backend:`edgetpu`,format:`tflite`,score:70,reason:`Coral Edge TPU (Python LiteRT)`,available:!0}),t.push({runtime:`python`,backend:`cpu`,format:`onnx`,score:50,reason:`CPU (Python ONNX Runtime)`,available:!0});let n=t.toSorted((e,t)=>t.score-e.score);return{scores:n,best:n.find(e=>e.available)??n[n.length-1]}}var eV={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function tV(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function nV(e){let{scores:t}=$B(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(tV(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(tV(`openvino`,`gpu`,r.format,r.score));continue}if(r.backend===`edgetpu`){let t=Math.max(1,e.coral?.count??1);for(let e=0;e<t;e++){let t=e===0?`usb`:`usb:${e}`;n.push(tV(`edgetpu`,t,r.format,r.score))}continue}let t=eV[r.backend]??r.backend;n.push(tV(r.backend,t,r.format,r.score))}return n}var rV=t({ACCESSORY_LABEL:()=>KN,ACCESS_ROLES:()=>az,ALEXA_EGRESS_PROFILE:()=>Kt,ALL_CAPABILITY_DEFINITIONS:()=>IF,APPLE_SA_TO_MACRO:()=>Ah,ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT:()=>200,AUDIO_ANALYSIS_CAP_NAME:()=>Gn,AUDIO_BACKEND_CHOICES:()=>Al,AUDIO_CHUNK_FORMATS:()=>ge,AUDIO_MACRO_LABELS:()=>Oh,AUDIO_PRESETS:()=>xt,AUDIO_SCALE_EPOCH_ISO:()=>tI,AUDIO_SCALE_EPOCH_MS:()=>nI,AccessoriesStatusSchema:()=>WC,AccessoryKind:()=>Y,AddBrokerInputSchema:()=>Ym,AddonAutoUpdateSchema:()=>fw,AddonListItemSchema:()=>ow,AddonPageDeclarationSchema:()=>Uc,AddonPageInfoSchema:()=>Vc,AdminLinkTargetEnum:()=>Vd,AdoptionAdoptInputSchema:()=>hf,AdoptionAdoptResultSchema:()=>gf,AdoptionCandidateResultSchema:()=>Pn,AdoptionFilterSchema:()=>cf,AdoptionGetCandidateInputSchema:()=>ff,AdoptionJobSchema:()=>Fn,AdoptionJobStateSchema:()=>Mn,AdoptionListCandidatesInputSchema:()=>uf,AdoptionListCandidatesOutputSchema:()=>df,AdoptionOutcomeSchema:()=>Nn,AdoptionReleaseInputSchema:()=>_f,AdoptionStatusSchema:()=>pf,AgentLoadSummarySchema:()=>ex,AirQualitySensorStatusSchema:()=>ww,AlarmArmModeSchema:()=>G,AlarmPanelStatusSchema:()=>qh,AlarmStateSchema:()=>Kh,AlertSchema:()=>pl,AlertSeveritySchema:()=>ul,AlertSourceSchema:()=>fl,AlertStatusSchema:()=>dl,AmbientLightSensorStatusSchema:()=>Ew,AnalyticsLtsSeriesSchema:()=>ob,ApiKeyRecordSchema:()=>j_,ApiKeySummarySchema:()=>YM,ArchiveEntrySchema:()=>Kl,ArchiveManifestSchema:()=>ql,ArchivedDebugNoteQueryInputSchema:()=>hr,ArchivedDebugNoteSchema:()=>mr,AttachmentMediaTypeSchema:()=>sh,AttachmentSchema:()=>ch,AudioAnalysisResultSchema:()=>wl,AudioAnalysisSettingsSchema:()=>Tl,AudioAttachDeviceInputSchema:()=>El,AudioAttachDeviceResultSchema:()=>Dl,AudioChunkFormatSchema:()=>Qr,AudioChunkInputSchema:()=>xl,AudioClassSummarySchema:()=>Ow,AudioClassificationLabelSchema:()=>Cl,AudioClassificationResultSchema:()=>kl,AudioCodecInfoSchema:()=>Pl,AudioDecodeSessionConfigSchema:()=>Fl,AudioDetachDeviceResultSchema:()=>Ol,AudioEncodeSchema:()=>ft,AudioEncodeSessionConfigSchema:()=>Il,AudioEncodedChunkSchema:()=>Rl,AudioEventSchema:()=>$v,AudioLevelSchema:()=>Sl,AudioMetricsHistoryPointSchema:()=>Aw,AudioMetricsHistorySchema:()=>jw,AudioMetricsSnapshotSchema:()=>kw,AudioPcmChunkSchema:()=>Ll,AudioStreamPickSchema:()=>Fr,AuthResultSchema:()=>Vl,AutoUpdateSettingsSchema:()=>dw,AutomationActionSchema:()=>mc,AutomationConditionOperatorSchema:()=>lc,AutomationConditionSchema:()=>fc,AutomationControlStatusSchema:()=>Nw,AutomationRecipeSchema:()=>hc,AutomationTriggerSchema:()=>pc,AvailableIntegrationTypeSchema:()=>AE,BACKEND_TO_FORMAT:()=>CB,BASE_LIVE_EGRESS_PROFILE:()=>Wt,BATTERY_DEVICE_PROFILE:()=>AP,BATTERY_UNREACHABLE_AFTER_MS:()=>aP,BIRTH_DECISION_DEFAULT_LIMIT:()=>500,BOOT_RECOVERY_BACKOFF_MS:()=>Pz,BacklightModeSchema:()=>SE,BackupDestinationInfoSchema:()=>Ul,BackupEntrySchema:()=>Gl,BackupRunPhaseSchema:()=>Xl,BackupRunSchema:()=>Zl,BackupRunStateSchema:()=>Yl,BackupTriggerResultSchema:()=>Ql,BaseAddon:()=>nt,BaseDevice:()=>QN,BaseDeviceProvider:()=>iP,BatteryStatusSchema:()=>Fw,BinaryStatusSchema:()=>Lw,BirthDecisionQueryInputSchema:()=>fr,BirthDecisionRecordSchema:()=>dr,BirthDecisionVerdictSchema:()=>ur,BoundingBoxSchema:()=>z,BrightnessStatusSchema:()=>zw,BrokerAddInputSchema:()=>su,BrokerAudioClientSchema:()=>ju,BrokerClientsSchema:()=>Fu,BrokerConnectionDetailsSchema:()=>Jm,BrokerConsumerAttributionSchema:()=>Nu,BrokerConsumerKindSchema:()=>Mu,BrokerDecodedClientSchema:()=>Au,BrokerEncodedClientSchema:()=>Pu,BrokerGetStateInputSchema:()=>bu,BrokerInfoSchema:()=>qm,BrokerProviderInfoSchema:()=>iu,BrokerPublishInputSchema:()=>gu,BrokerRegistryStatusSchema:()=>ru,BrokerRtspClientSchema:()=>ku,BrokerStatsSchema:()=>ri,BrokerStatusEnum:()=>tu,BrokerStatusSchema:()=>ni,BrokerSubscribeInputSchema:()=>_u,BrokerSubscribeResultSchema:()=>vu,BrokerTestConnectionResultSchema:()=>uu,BrokerUnsubscribeInputSchema:()=>yu,BulkRecordSchema:()=>Ad,CAMERA_SWITCH_CATALOG:()=>Yn,CAMERA_SWITCH_ORDER:()=>Rn,CAM_PROFILE_ORDER:()=>Pr,CAPABILITY_NAMES:()=>PF,CAPABILITY_ROUTER_KEYS:()=>FF,CAP_NAMES_WITH_STATUS:()=>NF,CAP_NODE_PIN_CONTEXT_KEY:()=>Tc,CAP_PROVIDER_KIND_MAP:()=>GF,CLASS_MAP_MACRO_TARGETS:()=>oi,CLIP_BROKER_PACED_RATES:()=>EC,CLIP_PLAYBACK_OPTIONS:()=>NC,CLIP_REALTIME_SOURCE_RATES:()=>OC,CLIP_REASON_HEADER_MAX:()=>500,CLIP_STILL_DISPOSITION_HEADER:()=>mC,CLIP_STILL_REASON_CODE_HEADER:()=>pC,CLIP_STILL_REASON_HEADER:()=>dC,CLIP_STREAM_SOURCE_RATES:()=>DC,CLIP_STREAM_TRANSPORT_HEADER:()=>hC,CLUSTER_MODEL_SCOPED_STEPS:()=>oR,CLUSTER_MODEL_SECTION_ID:()=>sR,CLUSTER_STEP_SETTING_FIELDS:()=>gR,COCO_80_LABELS:()=>Ch,COCO_TO_MACRO:()=>Dh,CONNECTION_TEST_TIMEOUT_MS:()=>sT,CONTAINER_CHILD_PRIORITY:()=>cP,CORE_BLOCKS_ADDON_ID:()=>dd,CORE_BLOCK_ADDON_PREFIX:()=>ud,CamProfileSchema:()=>C,CamStreamDescriptorSchema:()=>Gj,CamStreamKindSchema:()=>Ir,CamStreamResolutionSchema:()=>Lr,CameraAssignmentStatusSchema:()=>ox,CameraAudioStatusSchema:()=>gx,CameraBrokerProfileSchema:()=>sx,CameraBrokerStatusSchema:()=>cx,CameraCredentialsSchema:()=>Hw,CameraCredentialsStatusSchema:()=>Uw,CameraDecoderShmSchema:()=>lx,CameraDecoderStatusSchema:()=>ux,CameraDetectionPhaseSchema:()=>mx,CameraDetectionProvisioningSchema:()=>px,CameraDetectionProvisioningStateSchema:()=>fx,CameraDetectionStatusSchema:()=>hx,CameraMetricsSchema:()=>fb,CameraMetricsWithDeviceIdSchema:()=>pb,CameraMotionStatusSchema:()=>dx,CameraOccupancySnapshotForDeviceSchema:()=>SN,CameraRecordingModeSchema:()=>_x,CameraRecordingStatusSchema:()=>vx,CameraSourceStatusSchema:()=>ax,CameraSourceStreamSchema:()=>ix,CameraStatusDegradationReasonSchema:()=>bx,CameraStatusDegradationSchema:()=>xx,CameraStatusSchema:()=>Cx,CameraStatusStageSchema:()=>yx,CameraStreamSchema:()=>Rr,CameraSwitchAuthoritySchema:()=>zn,CameraSwitchGroupSchema:()=>Un,CameraSwitchIdSchema:()=>Ln,CameraSwitchSchema:()=>Hn,CameraSwitchUnavailableReasonSchema:()=>Bn,CameraSwitchWarningSchema:()=>Vn,CandidateQueryFilterSchema:()=>lf,CapScopeSchema:()=>E_,CapabilityBindingsSchema:()=>nx,CarbonMonoxideStatusSchema:()=>Zw,ChargingStatus:()=>gl,ClientNetworkStatsSchema:()=>tO,ClimateControlStatusSchema:()=>eT,ClipBytesOfferSchema:()=>SC,ClipBytesSchema:()=>xC,ClipExportFailureSchema:()=>MA,ClipPlaybackOptionsSchema:()=>kC,ClipPlaybackSchema:()=>_C,ClipSchema:()=>gC,ClipSourceAvailabilitySchema:()=>AC,ClipSourceSchema:()=>jC,ClipStillDispositionSchema:()=>uC,ClipStillRefusalCodeSchema:()=>lC,ClipStreamAudioReasonSchema:()=>wC,ClipStreamAudioSchema:()=>CC,ClipStreamDialSchema:()=>TC,ClipWakeSchema:()=>vC,ClusterAddonNodeDeploymentSchema:()=>dO,ClusterAddonStatusEntrySchema:()=>fO,CollectionColumnSchema:()=>jd,CollectionIndexSchema:()=>Md,ColorStatusSchema:()=>aT,ConfigEntrySchema:()=>Zf,ConfigSectionWithValuesSchema:()=>Xc,ConfigTabDeclarationSchema:()=>Yc,ConnectionTestDescriptorSchema:()=>uT,ConnectionTestInputSchema:()=>lT,ConnectionTestOutcomeSchema:()=>cT,ConnectivityStatusSchema:()=>fT,ConsumableItemSchema:()=>mT,ConsumablesStatusSchema:()=>hT,ContactStatusSchema:()=>_T,ControlKindSchema:()=>yT,ControlStatusSchema:()=>bT,ConvertArtifactSchema:()=>ds,ConvertResultSchema:()=>fs,ConvertTargetSchema:()=>ls,CoreBlockCompileResultSchema:()=>vd,CoreBlockInputSchema:()=>gd,CoreBlockPlacementSchema:()=>md,CoreBlockSchema:()=>_d,CoreBlockStatusSchema:()=>hd,CoverStateSchema:()=>CT,CoverStatusSchema:()=>wT,CreateApiKeyInputSchema:()=>XM,CreateApiKeyResultSchema:()=>ZM,CreateIntegrationInputSchema:()=>NE,CreateScopedTokenInputSchema:()=>$M,CreateScopedTokenResultSchema:()=>eN,CreateUserInputSchema:()=>qM,CustomActionInputSchema:()=>Sw,CustomModelDescriptorSchema:()=>wd,DATAPLANE_SECRET_HEADER:()=>En,DAYS_PER_WEEK:()=>7,DAY_NAMES:()=>rj,DECLARED_DEVICE_SWEEP_LIMIT:()=>32,DECLARED_INTEGRATION_FIXED_KEY:()=>gP,DEFAULT_ADDON_PLACEMENT:()=>vn,DEFAULT_AUDIO_ANALYZER_CONFIG:()=>jl,DEFAULT_CLUSTER_STEP_MODELS:()=>uR,DEFAULT_CLUSTER_STEP_SETTINGS:()=>xR,DEFAULT_DECODER_HWACCEL_CONFIG:()=>Ld,DEFAULT_DETAIL_CROP_CONVENTION:()=>OR,DEFAULT_EVENTS_BAND_BUFFER_SEC:()=>xi,DEFAULT_EVENT_COLOR:()=>Ph,DEFAULT_FEATURES:()=>Er,DEFAULT_FIRST_SIGHTING_FRESHNESS_MS:()=>VN,DEFAULT_MIN_LANDMARK_FACE_SIZE_PX:()=>24,DEFAULT_NATIVE_LEASE_SETTINGS:()=>Q,DEFAULT_OVERLAY_LAYERS:()=>Ro,DEFAULT_POOL_MEMORY_POLICY:()=>rB,DEFAULT_RECORDING_PROFILES:()=>Di,DEFAULT_RETENTION:()=>In,DEFAULT_RUNTIME_STATE_DURABILITY:()=>kc,DEFAULT_TIMELAPSE_PREVIEW_TEXT:()=>tR,DEFAULT_TOKEN_EXPIRY:()=>`30d`,DERIVED_CAMERA_SILENCED_CAP_NAMES:()=>Jn,DETAIL_CROP_PADDING_FIELD:()=>NR,DETAIL_CROP_PADDING_KEY:()=>TR,DETAIL_CROP_SECTION_ID:()=>wR,DETAIL_CROP_SQUARE_KEY:()=>ER,DETECTION_MACRO_CLASSES:()=>Th,DETECTION_PIPELINE_CAP_NAME:()=>Wn,DEVICE_BACKEND_TO_FORMAT:()=>wB,DEVICE_CAP_NAMES:()=>VF,DEVICE_CHILDREN_BATCH_MAX:()=>256,DEVICE_PROFILES:()=>jP,DEVICE_RESTORE_RETRY_CONCURRENCY:()=>4,DEVICE_RESTORE_RETRY_DELAYS_MS:()=>$N,DEVICE_SCOPED_CAPS:()=>LF,DEVICE_SETTINGS_CONTRIBUTION_METHODS:()=>Pc,DEVICE_STATE_READERS:()=>jN,DEVICE_STATUS_METHOD:()=>Fc,DEVICE_TYPE_CONTROL_KIND:()=>yP,DEVICE_TYPE_INFO:()=>Cz,DISPLAY_ICON_GROUPS:()=>RP,DISPLAY_ICON_KEYS:()=>BP,DISPLAY_ICON_OFFERED_KEYS:()=>VP,DISPLAY_ICON_VOCABULARY:()=>zP,DataStoreEngineInfoSchema:()=>Pd,DayNightModeSchema:()=>ET,DayNightOptionsSchema:()=>kT,DayNightSettingsPatchSchema:()=>AT,DayNightStatusSchema:()=>OT,DeclaredDevices:()=>vP,DecodedAudioChunkSchema:()=>$r,DecodedFrameSchema:()=>Jr,DecoderSessionConfigSchema:()=>Ya,DecoderStatsSchema:()=>Ja,DeleteIntegrationResultSchema:()=>FE,DetailCropConventionSchema:()=>DR,DetectionCatalogClassMapSchema:()=>li,DetectionSourceSchema:()=>Jv,DetectionSourcesSchema:()=>Pb,DeviceAdminLinkSchema:()=>Hd,DeviceCodeSeveritySchema:()=>HE,DeviceConfig:()=>JN,DeviceDiscoveryStatusSchema:()=>of,DeviceExportExposeInputSchema:()=>Df,DeviceExportStatusSchema:()=>wf,DeviceExportUnexposeInputSchema:()=>Of,DeviceFeature:()=>hl,DeviceInfoSchema:()=>Xf,DeviceNetworkStatsSchema:()=>nO,DeviceRestoreRetryScheduler:()=>nP,DeviceRole:()=>R,DeviceRuntimeState:()=>YN,DeviceSelectorSchema:()=>D_,DeviceStatusSchema:()=>IT,DeviceType:()=>L,DiagnosticIdSchema:()=>xM,DiagnosticWindowPatchSchema:()=>OM,DiagnosticWindowSchema:()=>DM,DiscoveredChildDeviceSchema:()=>af,DiscoveredChildStatusSchema:()=>rf,DiscoveredDeviceSchema:()=>Bf,DiscoveredTargetSchema:()=>vh,DiskReconcileJobSchema:()=>Sx,DisposerChain:()=>ut,DoorbellPressEventSchema:()=>zT,DoorbellStatusSchema:()=>RT,EVENTFUL_CAP_NAMES:()=>Px,EVENT_DENSITY_BATCH_MAX:()=>200,EVENT_KIND_BY_CAP:()=>Nx,EVENT_OWNER_TYPES:()=>Ae,EVENT_PAD_MS:()=>ui,EVENT_TAXONOMY:()=>W,EXPORT_DENSE_MAX_RANGES:()=>200,EXPRESSION_BUILTINS:()=>Ss,EXPRESSION_BUILTIN_NAMES:()=>Cs,EXPRESSION_COMPILE_CACHE_CAPACITY:()=>256,EXPRESSION_IDENTIFIER_RE:()=>Es,EXPRESSION_INJECTED_NOW:()=>`now`,EgressEncodeSchema:()=>Vu,EgressRateControlSchema:()=>Hu,EgressTranscodeRequestSchema:()=>Uu,EgressTranscodeSchema:()=>Wu,ElementConfigStore:()=>Hz,EmbeddingInfoSchema:()=>hp,EmbeddingResultSchema:()=>mp,EncodeProfileSchema:()=>pt,EncodedPacketSchema:()=>qr,EnrichedWidgetMetadataSchema:()=>al,EnumSensorDateTimeFormatSchema:()=>VT,EnumSensorStatusSchema:()=>HT,EventCategory:()=>Ie,EventDensityBucketSchema:()=>Ry,EventDensityForDeviceSchema:()=>zy,EventEmitterStatusSchema:()=>GT,EventFireSchema:()=>WT,EventKindCategorySchema:()=>wv,EventKindDescriptorSchema:()=>Ev,EventKindIconSchema:()=>Cv,EventKindSchema:()=>xv,EventKindsForDeviceSchema:()=>Dv,EventMediaArtifactSchema:()=>Tu,EventMediaCoverageSchema:()=>Eu,EventMediaKindSchema:()=>wu,EventMediaProductionSchema:()=>Du,EventOwnerTypeSchema:()=>je,EventSourceType:()=>MF,ExportBytesSchema:()=>LA,ExportClipSubjectSchema:()=>kA,ExportDenseRangeSchema:()=>CA,ExportDenseSchema:()=>wA,ExportDownloadSchema:()=>FA,ExportFootageSubjectSchema:()=>OA,ExportOptionsSchema:()=>EA,ExportRecordSchema:()=>jA,ExportSetupFieldSchema:()=>Sf,ExportSetupSchema:()=>Cf,ExportSpeedSchema:()=>SA,ExportStateSchema:()=>DA,ExportSubjectSchema:()=>AA,ExportTimelapseSchema:()=>TA,ExposedDeviceSchema:()=>Ef,ExposureModeSchema:()=>xE,ExpressionBindingSourceSchema:()=>sc,ExpressionEvalError:()=>k,ExpressionFieldBindingSchema:()=>ic,ExpressionGlobalBindingSchema:()=>oc,ExpressionLiteralBindingSchema:()=>ac,ExpressionParseError:()=>O,ExpressionSourceSchema:()=>cc,FIRST_LEVEL_MACRO_CLASSES:()=>si,FULL_IMAGE_BBOX:()=>MR,FailureContributionSchema:()=>vp,FailureCounters:()=>ho,FailureReasonCountSchema:()=>_p,FanControlStatusSchema:()=>aE,FanDirectionSchema:()=>iE,FeatureManifestSchema:()=>sM,FeatureProbeStatusSchema:()=>sE,FloodStatusSchema:()=>lE,Fmp4BoxSplitter:()=>$t,FrameHandleFormatSchema:()=>Yr,FrameHandleSchema:()=>w,FrameInputSchema:()=>yl,FrameLazyCountersSchema:()=>Vb,FrameLazyMetricsSchema:()=>Hb,G711_SCALE_CORRECTION_DB:()=>rI,GasStatusSchema:()=>dE,GetLoggingSettingsInputSchema:()=>PM,GetStreamWithCodecInputSchema:()=>zu,GlobalMetricsSchema:()=>tx,GridLayoutPatchSchema:()=>Yw,GridLayoutViewSchema:()=>Jw,HAP_AUDIO_BASE:()=>Yt,HAP_AUDIO_BITRATE_KBPS:()=>24,HAP_AUDIO_VBV_KBITS:()=>96,HAP_KEYFRAME_INTERVAL_SEC:()=>4,HF_BASE_URL:()=>WN,HF_REPO:()=>UN,HOURS_PER_DAY:()=>24,HWACCEL_OPTIONS:()=>Id,HealthStatusSchema:()=>cM,HfModelResolutionSchema:()=>Zp,HistoryPointSchema:()=>TN,HistoryResolutionEnum:()=>CN,HumidifierStatusSchema:()=>pE,HumiditySensorStatusSchema:()=>hE,HvacModeSchema:()=>$w,INFERENCE_DEVICE_EXCLUSION_REASONS:()=>wx,ImageContractSchema:()=>zx,ImageContractStateSchema:()=>Rx,ImageRotateSchema:()=>yE,ImageSettingsOptionsSchema:()=>TE,ImageSettingsPatchSchema:()=>EE,ImageSettingsStatusSchema:()=>wE,ImageStatusSchema:()=>_E,InferenceDeviceExclusionReasonSchema:()=>Tx,IngestOwnerSchema:()=>rx,InstalledPackageSchema:()=>sw,IntegrationLiteSchema:()=>kE,IntegrationWithStateSchema:()=>OE,IntercomAbilitySchema:()=>LE,IntercomStatusSchema:()=>RE,KNOWN_CAP_NAMES:()=>BF,KeyEventSchema:()=>Fy,LEGACY_READ_ONLY_CONFIG_KEY:()=>Da,LOAD_CONTRIBUTION_ATTRIBUTIONS:()=>rm,LOAD_CONTRIBUTION_ROLES:()=>nm,LOCATION_DESCRIPTION_MAX:()=>400,LOCATION_ICON_FALLBACK:()=>jf,LOCATION_ICON_IDS:()=>Af,LOG_CHANNEL_TICK_MS:()=>lo,LOG_LEVEL_RANK:()=>Dr,LTS_SCOPE_CLASS_SEPARATOR:()=>`|`,LabelAttributionSchema:()=>Vv,LabelDefinitionSchema:()=>ai,LabelTierSchema:()=>Bv,LawnMowerActivitySchema:()=>VE,LawnMowerControlStatusSchema:()=>UE,LedgerWalkDeviceReportSchema:()=>ma,LedgerWalkInputSchema:()=>ua,LedgerWalkRefusalSchema:()=>da,LedgerWalkReportSchema:()=>ha,LedgerWalkSkipCountsSchema:()=>pa,LedgerWalkSkipReasonSchema:()=>fa,LegacyStorageLocationDefaultSchema:()=>Ba,LinkedDeviceSchema:()=>$f,LinkedDevicesModeSchema:()=>Qf,LlmDefaultSchema:()=>Jp,LlmDefaultSelectorSchema:()=>qp,LlmDownloadProgressSchema:()=>Lp,LlmErrorCodeSchema:()=>Ep,LlmGenerateBaseInputSchema:()=>Np,LlmGenerateErrSchema:()=>Op,LlmGenerateOkSchema:()=>Dp,LlmGenerateResultSchema:()=>kp,LlmImageSchema:()=>Ap,LlmNodeModelSchema:()=>zp,LlmProfileKindDescriptorSchema:()=>Kp,LlmProfileKindSchema:()=>Up,LlmProfileSchema:()=>Wp,LlmRetryPolicySchema:()=>jp,LlmRuntimeCompleteInputSchema:()=>Vp,LlmRuntimeDiskUsageSchema:()=>Bp,LlmRuntimeNodeSchema:()=>Qp,LlmRuntimeStatusSchema:()=>Rp,LlmTimeoutDefaults:()=>Mp,LlmUsageRollupSchema:()=>Yp,LlmUsageSchema:()=>Tp,LoadContributionSchema:()=>im,LocateSegmentResultSchema:()=>_A,LocationDescriptionAssignmentSchema:()=>If,LocationIconAssignmentSchema:()=>Nf,LocationIconIdSchema:()=>Mf,LocationStatSchema:()=>Jl,LockControlStatusSchema:()=>aD,LockStateSchema:()=>iD,LogChannelApplyResultSchema:()=>om,LogChannelDescriptorSchema:()=>to,LogChannelGate:()=>ro,LogChannelLevelSchema:()=>eo,LogChannelRegistry:()=>io,LogChannelWindowPatchSchema:()=>AM,LogChannelWindowSchema:()=>no,LogChannelWindowStateSchema:()=>kM,LogEntrySchema:()=>lm,LogLevelSchema:()=>cm,LogStreamEntrySchema:()=>bw,LoggingEffectiveSchema:()=>TM,LoggingExplicitSchema:()=>EM,LoggingLevelLayerSchema:()=>wM,LoggingLevelSourceSchema:()=>CM,LoggingScopeKindSchema:()=>SM,LoggingSettingsPatchSchema:()=>jM,LoggingSettingsStateSchema:()=>IM,LoginMethodContributionSchema:()=>hm,LoginStageEnum:()=>dm,LtsBucketSchema:()=>lb,MACRO_LABELS:()=>wh,MAX_ARCHIVED_DEBUG_NOTES:()=>pr,MAX_BIRTH_DECISION_RECORDS:()=>cr,MAX_BIRTH_LATENCY_PROXY_MS:()=>lr,MAX_CLIP_EVENT_IDS:()=>24,MAX_CLIP_LABELS:()=>3,MAX_CONDITION_DEPTH:()=>3,MAX_CONDITION_LEAVES:()=>32,MAX_EXPRESSION_AST_NODES:()=>256,MAX_EXPRESSION_BINDINGS:()=>32,MAX_EXPRESSION_CALL_ARGS:()=>16,MAX_EXPRESSION_EVAL_STEPS:()=>Ts,MAX_EXPRESSION_SOURCE_LENGTH:()=>ws,MAX_KEYS:()=>fo,MAX_REASONS_PER_KEY:()=>16,MAX_SENSOR_TRIGGER_DEVICES:()=>16,MAX_TRACK_DEBUG_NOTE_LEN:()=>500,MEDIA_OWNER_TYPES:()=>we,MEDIA_PRESENCE_OWNER_KINDS:()=>Me,METHOD_ACCESS_MAP:()=>zF,METHOD_DEVICE_SELECTORS:()=>UF,MINUTES_PER_DAY:()=>nj,MODEL_FORMATS:()=>es,MODEL_PROVIDER_IDS:()=>as,MOTION_CLOSE_AFTER_MS:()=>gD,MOTION_TRIGGER_FEATURE:()=>SP,ManagedModelCatalogEntrySchema:()=>Xp,ManagedModelExtraFileSchema:()=>Pp,ManagedModelRefSchema:()=>Fp,ManagedRuntimeConfigSchema:()=>Ip,MaskGridDimsSchema:()=>rg,MaskGridShapeSchema:()=>Qh,MaskLineShapeSchema:()=>$h,MaskPointSchema:()=>Yh,MaskPolygonShapeSchema:()=>Zh,MaskPolygonVerticesSchema:()=>ng,MaskRectShapeSchema:()=>Xh,MaskShapeKindSchema:()=>tg,MaskShapeSchema:()=>eg,MediaFileInfoSchema:()=>ry,MediaFileKindEnum:()=>ey,MediaFileRefSchema:()=>ty,MediaFileSchema:()=>ny,MediaPlayerRepeatSchema:()=>cD,MediaPlayerStateSchema:()=>sD,MediaPlayerStatusSchema:()=>uD,MediaPresenceOwnerKindSchema:()=>Ne,MediaRelocateModeSchema:()=>Bi,MeshPeerSchema:()=>pD,MeshStatusSchema:()=>mD,MethodAccessSchema:()=>C_,MigrateDeviceResultSchema:()=>dp,MigrateSwitchOutcomeSchema:()=>lp,MigrateSwitchReportSchema:()=>up,ModelCatalogEntrySchema:()=>cs,ModelConvertInputSchema:()=>Lm,ModelConvertMetadataSchema:()=>us,ModelDistributeInputSchema:()=>zm,ModelDistributeResultSchema:()=>Bm,ModelExtraFileSchema:()=>ns,ModelFormatEntrySchema:()=>ts,ModelFormatsSchema:()=>rs,ModelProviderIdSchema:()=>os,ModelSubstitutionSchema:()=>Y_,ModelVariantGroupSchema:()=>is,MotionAnalysisResultSchema:()=>Um,MotionEventSchema:()=>qv,MotionOnMotionChangedDataSchema:()=>vD,MotionRegionSchema:()=>Hm,MotionSourceEnum:()=>Mb,MotionSourcesSchema:()=>Nb,MotionStatusSchema:()=>_D,MotionTriggerRuntimeStateSchema:()=>xD,MotionTriggerStatusSchema:()=>bD,MotionZoneOptionsSchema:()=>TD,MotionZonePatchSchema:()=>ED,MotionZoneRegionSchema:()=>CD,MotionZoneStatusSchema:()=>wD,MqttBrokerStatusSchema:()=>th,MutationFilterSchema:()=>Ed,NATIVE_LEASE_ACTIVITY_FIELD:()=>YR,NATIVE_LEASE_ACTIVITY_KEY:()=>VR,NATIVE_LEASE_ADMISSION_FIELD:()=>QR,NATIVE_LEASE_ADMISSION_KEY:()=>HR,NATIVE_LEASE_BUDGET_FIELD:()=>JR,NATIVE_LEASE_BUDGET_KEY:()=>BR,NATIVE_LEASE_HOLD_FIELD:()=>qR,NATIVE_LEASE_HOLD_KEY:()=>zR,NATIVE_LEASE_SCENE_BUDGET_FIELD:()=>ZR,NATIVE_LEASE_SCENE_BUDGET_KEY:()=>WR,NATIVE_LEASE_SECTION_ID:()=>RR,NATIVE_LEASE_TILE_BUDGET_FIELD:()=>XR,NATIVE_LEASE_TILE_BUDGET_KEY:()=>UR,NAVIGATION_ACTION_CATALOG:()=>BD,NAVIGATION_LIGHT_LEVEL_MAX:()=>100,NAVIGATION_LIGHT_LEVEL_MIN:()=>40,NC_ALARM_SYSTEM_EVENT_KINDS:()=>cg,NC_AUDIO_CONFIRM_HITS_DEFAULT:()=>2,NC_AUDIO_CONFIRM_HITS_MAX:()=>20,NC_AUDIO_CONFIRM_HITS_MIN:()=>1,NC_AUDIO_CONFIRM_WINDOW_MAX_SEC:()=>60,NC_AUDIO_CONFIRM_WINDOW_MIN_SEC:()=>1,NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT:()=>5,NC_AUDIO_DBFS_FLOOR:()=>-96,NC_AUDIO_DB_MAX:()=>0,NC_AUDIO_DB_MIN:()=>lI,NC_AUDIO_DB_OFFERED:()=>uI,NC_AUDIO_DB_STEP:()=>3,NC_AUDIO_DEFAULTS:()=>dI,NC_AUDIO_HIT_PERCENT_MAX:()=>100,NC_AUDIO_HIT_PERCENT_MIN:()=>1,NC_AUDIO_SAMPLING_MAX_SEC:()=>300,NC_AUDIO_SAMPLING_MIN_SEC:()=>1,NC_AUDIO_SEED:()=>hL,NC_AUTHORABLE_SYSTEM_EVENT_KINDS:()=>sg,NC_BASE_CONDITION_KEYS:()=>kI,NC_CLIP_RETENTION_MAX_SEC:()=>60,NC_CONDITION_CATALOG:()=>$g,NC_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,NC_CONFIRM_DEFAULT_TIMEOUT_MS:()=>Pg,NC_CONFIRM_MAX_TIMEOUT_MS:()=>Ng,NC_CONFIRM_MIN_TIMEOUT_MS:()=>Mg,NC_DEFAULT_SNOOZE_MINUTES:()=>dg,NC_HISTORY_LIMIT_DEFAULT:()=>100,NC_HISTORY_LIMIT_MAX:()=>500,NC_MAX_PER_TRACK_IMMEDIATE:()=>1,NC_OCCUPANCY_DEFAULTS:()=>mL,NC_RULE_CLEARABLE_KEYS:()=>zg,NC_RULE_EDITOR_SECTION_ORDER:()=>vL,NC_RULE_KIND_SPECS:()=>$I,NC_RULE_SECTIONS:()=>sL,NC_SNOOZE_MAX_MINUTES:()=>ug,NC_SYSTEM_DELIVERY:()=>tL,NC_SYSTEM_EVENT_FILTER_KEYS:()=>RL,NC_TAXONOMY:()=>Gh,NC_TEMPLATE_VARS:()=>ML,NETWORK_LINK_TYPES:()=>JD,NETWORK_LINK_UNKNOWN:()=>XD,NativeCropBboxSchema:()=>mb,NativeCropRefSchema:()=>F_,NativeCropResultSchema:()=>hb,NativeDetectionSchema:()=>kD,NativeLeaseAdmissionSchema:()=>GR,NativeLeaseSettingsSchema:()=>KR,NativeObjectClassEnum:()=>OD,NativeObjectDetectionOptionsSchema:()=>MD,NativeObjectDetectionRuntimeStateSchema:()=>PD,NativeObjectDetectionSettingsPatchSchema:()=>ND,NativeObjectDetectionStatusSchema:()=>AD,NativeObjectGeometryEnum:()=>jD,NavigationActionEntrySchema:()=>zD,NavigationActionIdSchema:()=>LD,NavigationEntryKindSchema:()=>RD,NavigationFeaturesSchema:()=>HD,NavigationLightModeSchema:()=>UD,NavigationModeSchema:()=>WD,NavigationMoveCommandSchema:()=>ID,NavigationPointSchema:()=>VD,NavigationRuntimeStateSchema:()=>KD,NavigationStatusSchema:()=>GD,NcAlarmConfigSchema:()=>y_,NcAlarmModeCoverageSchema:()=>m_,NcAlarmSettingsPatchSchema:()=>d_,NcAlarmSettingsSchema:()=>u_,NcAlarmSkipReasonSchema:()=>f_,NcAlarmSkippedDeviceSchema:()=>p_,NcAudioConditionSchema:()=>gg,NcClipRetentionAskSchema:()=>b_,NcClipRetentionPlanSchema:()=>x_,NcConditionDescriptorSchema:()=>Qg,NcConditionsSchema:()=>Tg,NcConfirmExpectSchema:()=>Fg,NcConfirmSchema:()=>Ig,NcCrossingSchema:()=>_g,NcDeliverySchema:()=>ig,NcDeviceStateConditionSchema:()=>Cg,NcHistoryEntrySchema:()=>r_,NcHistoryFilterSchema:()=>i_,NcHistoryRecordKindSchema:()=>t_,NcHistoryStatusSchema:()=>e_,NcHistorySubjectSchema:()=>n_,NcLinkedCameraModeSchema:()=>Og,NcMediaFrameSchema:()=>Dg,NcMediaPolicySchema:()=>kg,NcOccupancyConditionSchema:()=>hg,NcPlateMatcherSchema:()=>mg,NcRuleActionSchema:()=>yg,NcRuleActionSequenceSchema:()=>bg,NcRuleActionsSchema:()=>Sg,NcRuleClearableKeySchema:()=>Bg,NcRuleInputSchema:()=>Lg,NcRuleKindSchema:()=>Wg,NcRuleNotificationButtonSchema:()=>xg,NcRulePatchSchema:()=>Rg,NcRuleSchema:()=>Hg,NcRuleTargetSchema:()=>Eg,NcRuleUpdateInputSchema:()=>Vg,NcSceneConditionSchema:()=>wg,NcScheduleSchema:()=>pg,NcScheduleWindowSchema:()=>fg,NcSnoozeInputSchema:()=>o_,NcSnoozeSchema:()=>s_,NcSnoozeScopeSchema:()=>a_,NcSnoozeSuppressedSchema:()=>c_,NcSystemEventConditionSchema:()=>lg,NcSystemEventKindSchema:()=>ag,NcTaxonomyEntrySchema:()=>Vh,NcTaxonomySchema:()=>Hh,NcTemplateFamilySchema:()=>Gg,NcTemplateFieldSchema:()=>Kg,NcTemplatePreviewInputSchema:()=>Xg,NcTemplatePreviewSchema:()=>Zg,NcTemplateVarContextSchema:()=>Yg,NcTemplateVarDescriptorSchema:()=>Jg,NcTemplateVarGroupSchema:()=>qg,NcTestResultSchema:()=>Ug,NcThrottleGranularitySchema:()=>Ag,NcThrottleSchema:()=>jg,NcZoneConditionSchema:()=>vg,NetworkAccessStatusSchema:()=>ih,NetworkAddressSchema:()=>lM,NetworkEndpointSchema:()=>rh,NetworkLinkStatusSchema:()=>YD,NotificationActionIconSchema:()=>uh,NotificationActionSchema:()=>dh,NotificationFormatSchema:()=>lh,NotificationSchema:()=>fh,NotifierStatusSchema:()=>CO,NumericSensorStatusSchema:()=>DO,OPERATOR_WRITTEN_STALE_MS:()=>aF,OPS_LOG_DEFAULT_LIMIT:()=>200,OPS_LOG_RING_DEFAULT_MAX:()=>500,OVERFLOW_REASON:()=>po,OVERLAY_LAYERS:()=>Lo,OauthIntegrationDescriptorSchema:()=>N_,ObjectEventSchema:()=>Qv,OccupancyBurstRefusalSchema:()=>Wb,OnboardFieldSupportSchema:()=>ZA,OnboardRecordTrackSchema:()=>qA,OnboardScheduleSupportSchema:()=>QA,OnboardStorageSchema:()=>KA,OnboardStorageVolumeSchema:()=>GA,OpsLogDomainSchema:()=>kr,OpsLogEntrySchema:()=>Mr,OpsLogOpSchema:()=>Ar,OpsLogQueryInputSchema:()=>Nr,OpsLogReasonSchema:()=>jr,OrchestratorMetricsSchema:()=>db,OsdOverlayKindEnum:()=>kO,OsdOverlayPatchSchema:()=>NO,OsdOverlaySchema:()=>jO,OsdPositionEnum:()=>AO,OsdRenderOutcomeEnum:()=>RO,OsdRenderResultSchema:()=>zO,OsdSlotBindingSchema:()=>IO,OsdSlotViewSchema:()=>LO,OsdSourceOptionSchema:()=>VO,OsdSourceSchema:()=>FO,OsdSourceValueTypeEnum:()=>BO,OsdStatusSchema:()=>MO,PEER_BYTES_CHUNK_BYTES:()=>An,PEER_BYTES_MAX_OUTSTANDING:()=>64,PEER_BYTES_STALL_MS:()=>kn,PEER_BYTES_TICKET_TTL_MS:()=>On,PET_FEEDER_MANUAL_FEED_MAX:()=>200,PET_FEEDER_MANUAL_FEED_MIN:()=>4,PIPELINE_ANALYTICS_CAP_NAME:()=>qn,PIPELINE_FLOW_CAPABILITY_NAMES:()=>kN,PIPELINE_OWNER_CAPABILITY_NAMES:()=>AN,PRIVACY_MASK_CAP_NAME:()=>Kn,PROVIDER_KIND_CAP_NAMES:()=>KF,PROVIDER_PIN_FIELD:()=>jc,PYTHON_SCRIPT:()=>DB,PackageUpdateSchema:()=>cw,PackageVersionInfoSchema:()=>lw,ParkRefusalSchema:()=>_b,ParkTrackFrameResultSchema:()=>vb,ParkedFrameKindSchema:()=>gb,ParkedTrackFrameSchema:()=>yb,PasskeyLoginMethodSchema:()=>mm,PasskeySummarySchema:()=>zS,PcmSampleFormatSchema:()=>Nl,PeerBytesTicketSchema:()=>jn,PerScopeBreakdownSchema:()=>vN,PetFeederStatusSchema:()=>GO,PickStreamPreferencesSchema:()=>Ju,PickStreamRequirementsSchema:()=>qu,PickedCamStreamSchema:()=>Yu,PipelineAssignmentSchema:()=>$b,PipelineDefaultStepSchema:()=>B_,PipelineEngineChoiceSchema:()=>q,PipelineRunResultBridge:()=>dv,PipelineStepInputSchema:()=>J,PipelineValidationIssueSchema:()=>X_,PipelineValidationResultSchema:()=>Z_,PlaceholderReasonSchema:()=>Iu,PolygonPointSchema:()=>_v,PoolMemoryWatchdog:()=>hB,PowerMeterStatusSchema:()=>hk,PresenceStatusSchema:()=>vk,PressureSensorStatusSchema:()=>bk,PrivacyMaskOptionsSchema:()=>Tk,PrivacyMaskPatchSchema:()=>Ek,PrivacyMaskRegionSchema:()=>Ck,PrivacyMaskShapeSchema:()=>Sk,PrivacyMaskStatusSchema:()=>wk,ProfileRtspEntrySchema:()=>ii,ProfileSlotSchema:()=>Br,ProfileSlotStatusSchema:()=>zr,ProviderStatusSchema:()=>zf,PtzAutotrackRuntimeStateSchema:()=>Vk,PtzAutotrackSettingsSchema:()=>Rk,PtzAutotrackStatusSchema:()=>Bk,PtzAutotrackTargetOptionSchema:()=>zk,PtzHomePresetSchema:()=>Fk,PtzHomeReturnSchema:()=>Ik,PtzMoveCommandSchema:()=>Mk,PtzOptionsSchema:()=>Pk,PtzPositionSchema:()=>jk,PtzPresetFunctionSchema:()=>kk,PtzPresetSchema:()=>Ak,PtzStatusSchema:()=>Nk,QueryFilterSchema:()=>B,RATE_CONTROL_RELAXED:()=>Jt,RATE_CONTROL_TIGHT:()=>qt,REACHABILITY_FAILURES_TO_OFFLINE:()=>3,REACHABILITY_POLL_INTERVAL_MS:()=>$P,REACHABILITY_PROBE_TIMEOUT_MS:()=>eF,RECOGNITION_TYPES:()=>Ca,RECORDING_AUDIO_TRIGGER_OFFERED_DBFS:()=>-30,RECORDING_EXPORT_MAX_READ_BYTES:()=>IA,RECORDING_SOURCE_CAMSTACK:()=>Wk,RECORDING_SOURCE_CAMSTACK_ADDON:()=>Gk,RECORDING_TIMELINE_BATCH_MAX:()=>200,REDACTED_SECRET:()=>er,RESERVED_BINDING_NAMES:()=>Ds,RESERVED_COLLECTION_SOURCES:()=>Sj,RESTORED_CAP_NAMES:()=>QF,ROOT_BUCKET_KEY:()=>vo,RUNTIME_DEFAULTS:()=>GN,RUNTIME_STATE_POLICY:()=>JF,RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS:()=>iF,RUNTIME_TO_FORMAT:()=>EB,RawStateResultSchema:()=>PT,ReadGopBytesResultSchema:()=>yA,ReadSegmentBytesResultSchema:()=>vA,ReadWindowBytesResultSchema:()=>bA,ReadinessRegistry:()=>Mo,ReadinessTimeoutError:()=>Do,RecentTracksPageSchema:()=>jy,RecentTracksQueryInput:()=>Cy,RecordTriggerSchema:()=>UA,RecordWindowSchema:()=>WA,RecordingAvailabilityForDeviceSchema:()=>rA,RecordingAvailabilitySchema:()=>Jk,RecordingBandAudioSchema:()=>yi,RecordingBandModeSchema:()=>_i,RecordingBandSchema:()=>bi,RecordingBandTriggersSchema:()=>vi,RecordingConfigSchema:()=>Ti,RecordingDaysForDeviceSchema:()=>iA,RecordingDaysSchema:()=>Yk,RecordingDeviceUsageSchema:()=>aA,RecordingLocationUsageSchema:()=>oA,RecordingManifestSchema:()=>Xk,RecordingObjectTriggerClassSchema:()=>mi,RecordingOnboardOptionsSchema:()=>$A,RecordingOnboardPatchSchema:()=>ej,RecordingOnboardStatusSchema:()=>JA,RecordingPlaybackSchema:()=>eA,RecordingRangeSchema:()=>Kk,RecordingReadSchema:()=>qk,RecordingRebalanceInputSchema:()=>fA,RecordingRebalanceMoveSchema:()=>cA,RecordingRebalancePlanSchema:()=>dA,RecordingRebalanceSkipReasonSchema:()=>lA,RecordingRebalanceSkipSchema:()=>uA,RecordingRetentionSchema:()=>wi,RecordingSignalRuntimeStateSchema:()=>bj,RecordingSignalStatusSchema:()=>yj,RecordingSourceAvailabilitySchema:()=>Zk,RecordingSourceOptionsSchema:()=>$k,RecordingSourceSchema:()=>Qk,RecordingStatusSchema:()=>nA,RecordingStorageModeSchema:()=>pi,RecordingStorageUsageSchema:()=>sA,RecordingTriggersSchema:()=>gi,RecordingWeekdaySchema:()=>di,RedirectLoginMethodSchema:()=>fm,RelocatableMediaCountInputSchema:()=>_a,RelocatableMediaCountSchema:()=>ga,RelocateFootageClassSchema:()=>Li,RelocateFootageInputSchema:()=>Ri,RelocateJobSchema:()=>Ii,RelocateJobStateSchema:()=>Fi,RelocateMediaInputSchema:()=>Vi,RelocateResidueInputSchema:()=>ca,RelocateResidueSchema:()=>la,RenderedAsSchema:()=>yh,ReportMotionInputSchema:()=>Fb,ReportedFailureContributionSchema:()=>NM,ReportedLoadContributionSchema:()=>MM,RequestCensusGroupSchema:()=>gM,RequestCensusProcedureSchema:()=>_M,RequestCensusSnapshotSchema:()=>vM,RequestCensusStatusSchema:()=>yM,RetrainAnnotationDraftSchema:()=>ly,RetrainAnnotationKindSchema:()=>ay,RetrainAnnotationSchema:()=>cy,RetrainAnnotationSourceSchema:()=>oy,RetrainAssistResultSchema:()=>_y,RetrainAssistSubjectSchema:()=>gy,RetrainCopyRefusalSchema:()=>py,RetrainFrameCandidateSchema:()=>dy,RetrainFrameListSchema:()=>hy,RetrainFrameSchema:()=>fy,RetrainFrameSelectionSchema:()=>my,RetrainMacroClassSchema:()=>iy,RetrainStatusSchema:()=>Fv,RetrainTrackSchema:()=>uy,RetrainTransitionResultSchema:()=>vy,RingBuffer:()=>yB,RtpSourceSchema:()=>Bu,RtspRestreamEntrySchema:()=>Ou,RunnerCameraConfigSchema:()=>Rb,RunnerCameraDeviceUIFields:()=>zb,RunnerFrameSourceSchema:()=>Ib,RunnerInferenceDeviceSchema:()=>Lb,RunnerLocalLoadSchema:()=>Bb,RunnerLocalMetricsSchema:()=>Ub,SCENE_CONDITIONS:()=>Tj,SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,SCENE_CONFIRM_DEFAULT_TIMEOUT_MS:()=>Fj,SCENE_DEFAULT_ANCHOR_THRESHOLD:()=>Nj,SCENE_DEFAULT_CHECK_INTERVAL_SEC:()=>60,SCENE_DEFAULT_OBSERVATION_SPACING_SEC:()=>120,SCENE_DEFAULT_QUIET_SECONDS:()=>60,SCENE_DEFAULT_UNCOVERED_POLICY:()=>Pj,SCENE_DIVERGED:()=>Dj,SCENE_RESET_RECAPTURES:()=>!0,SCOPE_PRESETS:()=>$F,SENSOR_FEATURES:()=>wP,SENSOR_MAP:()=>EP,SHARE_VIEW_KINDS:()=>Dn,SOURCE_CAPS:()=>IN,SOURCE_CAP_ACTIVE_FIELD:()=>PN,SOURCE_CAP_CHANGED_AT_FIELD:()=>FN,SOURCE_DEVICE_TYPES:()=>LN,SOURCE_INFO_METADATA_KEY:()=>tf,STATIONARY_OVERLAY_STYLE:()=>zo,STORAGE_ACCESS_FALLBACK:()=>Ka,STORAGE_BYTES_PER_GB:()=>Ha,STORAGE_LOCATION_MODES:()=>wa,STREAM_PROFILE_META:()=>tM,STREAM_QUALITY_LABELS:()=>gr,SUB_DETECTION_TYPES:()=>Sa,SUMMARIES_DEFAULT_LIMIT:()=>50,SUMMARIES_MAX_LIMIT:()=>200,SYSTEM_CAP_NAMES:()=>HF,SYSTEM_SCOPE_DEVICE_METHODS:()=>WF,SceneCheckSchema:()=>Mj,SceneConditionSchema:()=>wj,SceneConfirmSchema:()=>Ij,SceneMonitorSchema:()=>Lj,SceneMonitorStateSchema:()=>jj,SceneMonitorStatusForDeviceSchema:()=>zj,SceneMonitorStatusSchema:()=>Rj,SceneReferenceSchema:()=>Aj,SceneUnavailableSchema:()=>kj,SceneUncoveredPolicySchema:()=>Ej,SceneVerdictSchema:()=>Oj,ScopedTokenSchema:()=>M_,ScopedTokenSummarySchema:()=>QM,ScoredObjectEventSchema:()=>Hy,ScriptRunnerStatusSchema:()=>Vj,SearchResultSchema:()=>uw,SendEmailInputSchema:()=>Xx,SendEmailResultSchema:()=>Zx,SendResultSchema:()=>bh,SensorEventSchema:()=>Ov,ServerBootModeSchema:()=>Ix,ServerPackageStatusSchema:()=>Wx,ServerRollbackInfoSchema:()=>Ux,ServerUpdateActionResultSchema:()=>qx,ServerUpdateCheckResultSchema:()=>Gx,ServerUpdateOutcomeSchema:()=>Kx,ServerUpdateStateSchema:()=>Lx,SetLoggingSettingsInputSchema:()=>FM,SetSiteLocationInputSchema:()=>pM,SettingsPatchSchema:()=>Zc,SettingsRecordSchema:()=>kd,SettingsSchemaWithValuesSchema:()=>I,SettingsUpdateResultSchema:()=>Qc,ShmRingStatsSchema:()=>Rd,SiteLocationSchema:()=>dM,SiteLocationSourceSchema:()=>uM,SiteLocationStatusSchema:()=>fM,SiteZoneSchema:()=>Lf,SmokeStatusSchema:()=>Uj,SmtpStatusSchema:()=>Qx,SnapshotImageSchema:()=>eS,SourceInfoSchema:()=>Zd,SpatialDetectionSchema:()=>bl,SsoBridgeClaimsSchema:()=>rS,StartEmbeddedInputSchema:()=>$m,StationaryObjectSchema:()=>bN,StorageAbortUploadInputSchema:()=>yS,StorageAccessSchema:()=>Ga,StorageBeginDownloadInputSchema:()=>bS,StorageBeginDownloadResultSchema:()=>xS,StorageBeginUploadInputSchema:()=>hS,StorageBeginUploadResultSchema:()=>gS,StorageCleanupInputSchema:()=>ya,StorageCleanupJobSchema:()=>ba,StorageCleanupPhaseSchema:()=>va,StorageCleanupStatusInputSchema:()=>xa,StorageDrainProgressSchema:()=>Wa,StorageEndDownloadInputSchema:()=>CS,StorageEvictionPolicySchema:()=>Ea,StorageFinalizeUploadInputSchema:()=>vS,StorageLocationDeclarationSchema:()=>qa,StorageLocationModeSchema:()=>Ta,StorageLocationRefSchema:()=>D,StorageLocationSchema:()=>E,StorageLocationTypeSchema:()=>za,StorageMigrationClassSchema:()=>Gi,StorageMigrationDestinationsSchema:()=>Ki,StorageMigrationDrainInputSchema:()=>sa,StorageMigrationFindingCodeSchema:()=>ta,StorageMigrationFindingSchema:()=>na,StorageMigrationFootageMoveInputSchema:()=>zi,StorageMigrationInputSchema:()=>Yi,StorageMigrationJobSchema:()=>ea,StorageMigrationLaneSchema:()=>ia,StorageMigrationLeaseInputSchema:()=>T,StorageMigrationMediaMoveInputSchema:()=>Wi,StorageMigrationModeSchema:()=>Ji,StorageMigrationMoveProgressSchema:()=>Qi,StorageMigrationMoveSchema:()=>$i,StorageMigrationMoverSchema:()=>aa,StorageMigrationParticipantSchema:()=>Zi,StorageMigrationPhaseSchema:()=>Xi,StorageMigrationPlanSchema:()=>ra,StorageMigrationResidueSchema:()=>oa,StorageMigrationSourcesSchema:()=>qi,StorageOccupancyReportSchema:()=>dS,StorageProviderInfoSchema:()=>pS,StorageReadChunkInputSchema:()=>SS,StorageTestLocationResultSchema:()=>mS,StorageWriteChunkInputSchema:()=>_S,StreamCodecSchema:()=>Ku,StreamFormatSchema:()=>Cu,StreamNetworkStatsSchema:()=>eO,StreamParamsOptionsSchema:()=>Qj,StreamParamsStatusSchema:()=>Xj,StreamProfileConfigSchema:()=>Yj,StreamProfileOptionsSchema:()=>Zj,StreamProfilePatchSchema:()=>$j,StreamProfileSchema:()=>Jj,StreamSignalSchema:()=>TS,StreamSignalsStatusSchema:()=>ES,StreamSourceEntrySchema:()=>Gr,StreamSourceSchema:()=>Kr,SubscribeAudioChunksInputSchema:()=>ei,SubscribeAudioChunksResultSchema:()=>ti,SubscribeFramesInputSchema:()=>Xr,SubscribeFramesResultSchema:()=>Zr,SummarySchema:()=>wy,SwitchStatusSchema:()=>aM,SystemMetricsSchema:()=>Fm,SystemMirror:()=>_F,TAXONOMY_COLORS:()=>V,TIMELAPSE_DENSE_FLOOR_SEC:()=>JL,TIMEZONES:()=>Qa,TRANSCODE_DOWN_MAX_BITRATE_KBPS:()=>400,TRANSCODE_DOWN_MAX_HEIGHT:()=>360,TamperStatusSchema:()=>RM,TankStatusSchema:()=>oN,TargetKindCapsSchema:()=>mh,TargetKindLevelSchema:()=>ph,TargetKindSchema:()=>gh,TargetSchema:()=>_h,TemperatureSensorStatusSchema:()=>BM,TerminalInstanceInfoSchema:()=>MS,TerminalLegacyCameraSchema:()=>NS,TerminalOutputBatchSchema:()=>FS,TerminalOutputEventSchema:()=>PS,TerminalProfileInfoSchema:()=>jS,TerminalSessionInfoSchema:()=>AS,TestConnectionResultSchema:()=>ME,TestConnectionStatusEnum:()=>jE,TestResultSchema:()=>xh,TimelapseRuleInputSchema:()=>eR,TimelapseRulePatchSchema:()=>nR,TimelapseRuleSchema:()=>rR,TimelapseTemplateSchema:()=>VL,ToastSchema:()=>HM,TokenScopeSchema:()=>K,TopologyNodeSchema:()=>lO,TopologyProcessSchema:()=>aO,TopologyServiceSchema:()=>iO,TrackCascadeCountsSchema:()=>Wy,TrackEnvelopeSchema:()=>jv,TrackFlagsPatchSchema:()=>Rv,TrackFlagsSchema:()=>zv,TrackProjectionSchema:()=>Mv,TrackSchema:()=>Gv,TrackSourceSchema:()=>Pv,TrackStateSchema:()=>bv,TrackZoneFilterSchema:()=>Sv,TrackedDetectionSchema:()=>By,TrainingExportDeviceTotalsSchema:()=>Uv,TrainingExportSummarySchema:()=>Wv,TransportPlaneCountsSchema:()=>hM,TransportPlaneSchema:()=>mM,TurnServerSchema:()=>LS,UNATTRIBUTED_BUCKET_KEY:()=>_o,UNIT_TABLE:()=>wz,UnifiedBrokerInfoSchema:()=>nu,UnitConversionError:()=>Tz,UnstampedEventMediaCountSchema:()=>Ui,UnstampedRowsSchema:()=>Hi,UpdateIntegrationInputSchema:()=>PE,UpdateStatusSchema:()=>WM,UpdateUserInputSchema:()=>JM,UserRecordSchema:()=>A_,UserSummarySchema:()=>KM,VIDEOCLIPS_MAX_OFFER_BYTES:()=>bC,VIDEOCLIPS_MAX_READ_BYTES:()=>yC,VISIT_MERGE_GAP_MS:()=>Ci,VacuumControlStatusSchema:()=>sN,VacuumStateSchema:()=>aN,ValveStateSchema:()=>lN,ValveStatusSchema:()=>uN,VectorDeclareIndexInputSchema:()=>KS,VectorDeleteByFilterInputSchema:()=>QS,VectorDeleteInputSchema:()=>ZS,VectorDeleteResultSchema:()=>$S,VectorFilterSchema:()=>US,VectorGetInputSchema:()=>eC,VectorGetResultSchema:()=>tC,VectorItemSchema:()=>WS,VectorMatchSchema:()=>GS,VectorMetadataSchema:()=>HS,VectorMetricSchema:()=>VS,VectorQueryInputSchema:()=>YS,VectorQueryResultSchema:()=>XS,VectorStatsInputSchema:()=>oC,VectorStatsResultSchema:()=>sC,VectorUpsertInputSchema:()=>qS,VectorUpsertResultSchema:()=>JS,VibrationStatusSchema:()=>fN,VideoEncodeSchema:()=>dt,WEBRTC_EGRESS_PROFILE:()=>Gt,WEEKLY_MASK_LENGTH:()=>168,WELL_KNOWN_TABS:()=>Le,WELL_KNOWN_TAB_MAP:()=>Re,WaterHeaterStatusSchema:()=>mN,WeatherStatusSchema:()=>gN,WebrtcLadderDecisionSchema:()=>BC,WebrtcSessionDebugSchema:()=>HC,WebrtcStreamChoiceSchema:()=>zC,WebrtcStreamTargetSchema:()=>RC,WebrtcTierFailureSchema:()=>VC,WhiteBalanceModeSchema:()=>bE,WidgetHostEnum:()=>el,WidgetLoginMethodSchema:()=>pm,WidgetMetadataSchema:()=>rl,WidgetRemoteSchema:()=>nl,WidgetSizeEnum:()=>tl,WrapperEvidenceSchema:()=>Vx,WrapperIdentitySchema:()=>Hx,WrapperKindSchema:()=>Bx,YAMNET_TO_MACRO:()=>kh,ZoneCrossingDirectionSchema:()=>Yv,ZoneCrossingSchema:()=>Xv,ZoneKindEnum:()=>gv,ZoneRuleModeEnum:()=>pv,ZoneRuleSchema:()=>mv,ZoneRuleStageEnum:()=>DN,ZoneRulesArraySchema:()=>hv,ZoneSchema:()=>vv,ZoneScopeBreakdownSchema:()=>yN,__resetLogChannelRegistryForTests:()=>co,accessoriesCapability:()=>GC,accessoryStableId:()=>qN,addonPagesCapability:()=>Hc,addonPagesSourceCapability:()=>Wc,addonRoutesCapability:()=>Jc,addonSettingsCapability:()=>$c,addonWidgetsCapability:()=>ol,addonWidgetsSourceCapability:()=>il,addonsCapability:()=>Cw,adminUiCapability:()=>ll,airQualitySensorCapability:()=>Tw,alarmPanelCapability:()=>Jh,alertsCapability:()=>ml,ambientLightSensorCapability:()=>Dw,asBoolean:()=>Zz,asJsonArray:()=>Jz,asJsonObject:()=>qz,asNumber:()=>Xz,asString:()=>Yz,assertTimelapseCadences:()=>iR,audioAnalysisCapability:()=>_l,audioAnalyzerCapability:()=>Ml,audioChunkBytesPerSample:()=>ve,audioCodecCapability:()=>Bl,audioIsFailClosed:()=>mI,audioKindId:()=>cI,audioLabelChoices:()=>vI,audioMetricsCapability:()=>Mw,audioModeOf:()=>pI,audioOrDefaults:()=>fI,audioPlanFromEncodeProfile:()=>Ht,audioScaleEraOf:()=>aI,authProviderCapability:()=>Hl,autoAssignProfiles:()=>Tr,automationControlCapability:()=>Pw,backupCapability:()=>eu,bareAddonId:()=>zz,batteryCapability:()=>Iw,bestLocationMatch:()=>Lz,binaryCapability:()=>Rw,bindAddonActions:()=>UB,brightnessCapability:()=>Bw,brokerCapability:()=>xu,buildAddonRouteProvider:()=>ot,buildAudioArgs:()=>At,buildDeviceAdminUrl:()=>Yd,buildEventKindDescriptor:()=>Fx,buildFfmpegArgs:()=>zt,buildInputArgs:()=>wt,buildModelVariantGroups:()=>Zo,buildNcTaxonomy:()=>Wh,buildRoleScopes:()=>sz,buildStreamParamsConfigSchema:()=>rM,buildVideoArgs:()=>kt,buttonCapability:()=>Vw,cameraCredentialsCapability:()=>Ww,cameraGridLayoutCapability:()=>Xw,cameraPipelineConfigCapability:()=>Su,cameraStreamsCapability:()=>Xu,canConvertUnit:()=>Mz,canonicalEgressPlan:()=>dn,carbonMonoxideCapability:()=>Qw,cellsToRects:()=>vB,classifyBearerPrincipal:()=>gs,classifyStream:()=>br,classifyStreams:()=>yr,climateControlCapability:()=>tT,clipExportFailure:()=>NA,clipExportFailureOf:()=>PA,clipReasonHeaderValue:()=>fC,clusterModelSettingKey:()=>cR,clusterStepSettingFieldsFor:()=>vR,clusterStepSettingKey:()=>_R,codecIsAccepted:()=>_t,collectHydratedFieldEntries:()=>Be,collectHydratedFieldValues:()=>He,collectSecretConfigKeys:()=>nr,colorCapability:()=>oT,colorForKind:()=>zh,commitWatchdogRestart:()=>fB,compareToTarget:()=>ht,compileExpression:()=>Us,compileExpressionSafe:()=>Ws,composeSwitchedOff:()=>$n,conditionDepth:()=>gc,conditionExclusionReason:()=>aL,conditionVisibleForKind:()=>iL,connectionTestCapability:()=>dT,connectivityCapability:()=>pT,consumablesCapability:()=>gT,contactCapability:()=>vT,controlCapability:()=>ST,convertUnit:()=>Az,coreBlockAddonId:()=>fd,coreBlockIdFromAddonId:()=>pd,coreBlocksCapability:()=>yd,cosineSimilarity:()=>Vz,countConditionLeaves:()=>_c,coverCapability:()=>TT,createDeviceProxy:()=>dF,createDurableState:()=>Xe,createEvent:()=>Je,createEventBusSliceSource:()=>FP,createExpressionScope:()=>Ks,createHwAccelCache:()=>en,createLazyTrpcSource:()=>PP,createLogChannelsProvider:()=>uo,createMirrorSource:()=>IP,createRuntimeStateBridge:()=>oF,createSliceHandle:()=>X,createSystemProxy:()=>eI,customAction:()=>xd,customModelRegistryCapability:()=>Td,dataStoreProviderCapability:()=>Fd,dayNightCapability:()=>jT,dayOfWeekToIndex:()=>_j,declarationOwnerNodeId:()=>_P,declareLogChannel:()=>so,decodeVectorBase64:()=>RB,decoderCapability:()=>zd,defaultDeliveryForSection:()=>_L,defaultDeviceFor:()=>ZB,defineCustomActions:()=>bd,deriveBatteryPresence:()=>oP,deriveCameraSwitches:()=>Zn,deriveDetailCropRect:()=>PR,deriveRecordingMode:()=>Ei,describeCustomActions:()=>Cd,describeModelVariant:()=>$o,describeOnboardClamp:()=>vj,describeOnboardRefusal:()=>ij,detectAccessRole:()=>lz,detectionPipelineCapability:()=>Bd,deviceAdminLinkCapability:()=>Ud,deviceAdoptionCapability:()=>bf,deviceBackendToFormat:()=>TB,deviceCustomAction:()=>Sd,deviceDiscoveryCapability:()=>sf,deviceExportCapability:()=>kf,deviceManagerCapability:()=>fp,deviceMatchesProfile:()=>kP,deviceOpsCapability:()=>FT,deviceProviderCapability:()=>Gf,deviceSelectorMatches:()=>dz,deviceStateCapability:()=>pp,deviceStatusCapability:()=>LT,displayIconEntry:()=>WP,displayIconsInGroup:()=>GP,doorbellCapability:()=>BT,droppedConditionsForKind:()=>oL,egressTranscodeSharingKey:()=>fn,egressTransportFromRequest:()=>sn,embeddingEncoderCapability:()=>gp,emitDownForOwnedCaps:()=>Po,emitReadiness:()=>Ye,emitsCollectionSelector:()=>Zu,encodeProfileFromStreamShape:()=>mt,encodeVectorBase64:()=>LB,enumSensorCapability:()=>UT,enumerateInferenceDevices:()=>nV,enumerateItemArrayFields:()=>uF,enumerateSchemaFields:()=>lF,errMsg:()=>Wz,evaluateAst:()=>ec,evaluateExpressionSource:()=>rc,evaluatePoolMemory:()=>dB,evaluateSensorEdge:()=>HN,evaluateZoneRules:()=>BB,event:()=>F,eventEmitterCapability:()=>KT,evictionPolicyForMode:()=>Aa,evictionPolicyOfLocation:()=>Ia,expandAudioChunkToF32le:()=>ye,expandCapMethods:()=>Ic,expandContainer:()=>mP,exportSubjectOf:()=>VA,extractNestedAddonId:()=>rd,extractSourceInfoFromMetadata:()=>nf,faceGalleryCapability:()=>rE,failureContributionCapability:()=>yp,failureRate:()=>go,fanControlCapability:()=>oE,featureProbeCapability:()=>cE,filesystemBrowseCapability:()=>Sp,findTimezone:()=>$a,floodCapability:()=>uE,foldSnapshotByFunction:()=>xo,formatForBackend:()=>jB,formatForRuntime:()=>MB,formatMediaOwnerKey:()=>ke,formatMinutes:()=>uj,formatParkedFor:()=>Bo,gasCapability:()=>fE,gbToBytes:()=>Ua,generateAutomationBlock:()=>wc,getAudioMacroClassIds:()=>Nh,getByPath:()=>ZP,getCapsByProviderKind:()=>qF,getLogChannelRegistry:()=>oo,getTaxonomyEntry:()=>Rh,hasMotionTrigger:()=>CP,hfModelUrl:()=>Gz,htmlToText:()=>PI,humidifierCapability:()=>mE,humiditySensorCapability:()=>gE,hydrateSchema:()=>We,imageCapability:()=>vE,imageSettingsCapability:()=>DE,inferModelProvider:()=>ss,initialPoolMemoryState:()=>oB,integrationsCapability:()=>IE,intercomCapability:()=>BE,invocationFromEncodeProfile:()=>Ut,isAgentOnlyPlacement:()=>xn,isArrayOutputSchema:()=>ed,isAudioChunkFormat:()=>_e,isAudioLabelSelected:()=>yI,isAudioRule:()=>uL,isBaseConditionKey:()=>jI,isBatteryPresenceFault:()=>sP,isClusterScopedStep:()=>lR,isCollectionArrayMethod:()=>td,isDeployableToAgent:()=>bn,isDetectionMacroClass:()=>Eh,isDeviceConfigCap:()=>zc,isDeviceScopedCap:()=>RF,isDisplayIconKey:()=>UP,isEvent:()=>qe,isEventOwnerType:()=>Fe,isFirstLevelMacroClass:()=>ci,isIsolatedBuiltin:()=>Tn,isKnownTemplateVar:()=>LL,isLocationEnabled:()=>Va,isMediaOwnerType:()=>De,isNode:()=>DP,isObjectInput:()=>$u,isOccupancyRule:()=>dL,isRestoredCap:()=>ZF,isSameAddonId:()=>Bz,isScheduleActive:()=>CL,isSecretConfigField:()=>tr,isSoftwareDecode:()=>Ct,isSourceCap:()=>RN,isStorageLocationMode:()=>Na,isSystemDelivery:()=>nL,isVoidInput:()=>Qu,ituDbfsFromPreEpoch:()=>iI,jobKindSchema:()=>KC,kebabToCamel:()=>ld,knownValues:()=>OI,lawnMowerControlCapability:()=>WE,legacyAutoLinkIds:()=>hP,legacyModeOf:()=>ja,lifecycleJobSchema:()=>$C,lifecycleJobScopeSchema:()=>QC,lifecycleJobStateSchema:()=>ZC,lifecycleTaskSchema:()=>XC,llmCapability:()=>tm,llmRuntimeCapability:()=>Hp,loadContributionCapability:()=>am,localNetworkCapability:()=>rD,locationIconKey:()=>Pf,locationSimilarity:()=>Iz,lockControlCapability:()=>oD,logBannerArgs:()=>St,logChannelsCapability:()=>sm,logDestinationCapability:()=>um,logLevelAtMost:()=>Or,loginMethodCapability:()=>gm,looseSchema:()=>nd,makeProfileBrokerId:()=>Vr,makeSourceBrokerId:()=>Hr,mapAudioLabelToMacro:()=>Mh,markdownToHtmlLite:()=>RI,markdownToText:()=>MI,maskUrlCredentials:()=>nB,mayReadLocation:()=>Fa,mayWriteToLocation:()=>Pa,mediaPlayerCapability:()=>dD,mergeSourceInfo:()=>$d,meshNetworkCapability:()=>hD,method:()=>P,methodAccessForHttpMethod:()=>ps,metricsProviderCapability:()=>Im,migrateLegacyDeviceSignalConfig:()=>Pi,minutesToTimeOfDay:()=>gj,modeMayRead:()=>ka,modeMayWrite:()=>Oa,modelConvertCapability:()=>Rm,modelDistributorCapability:()=>Vm,modelFormatForRuntime:()=>QB,motionCapability:()=>yD,motionDetectionCapability:()=>Wm,motionTriggerCapability:()=>SD,motionZonesCapability:()=>DD,mqttBrokerCapability:()=>nh,nativeObjectDetectionCapability:()=>FD,navigationCapability:()=>qD,networkAccessCapability:()=>oh,networkLinkCapability:()=>$D,networkQualityCapability:()=>rO,nodePin:()=>Ec,nodesCapability:()=>yO,normalizeAddonInitResult:()=>at,normalizeAudioLabel:()=>sI,normalizeTokenScopes:()=>_z,normalizeUnit:()=>ef,notificationOutputCapability:()=>Sh,notificationRulesCapability:()=>S_,notifierCapability:()=>EO,numericSensorCapability:()=>OO,oauthIntegrationCapability:()=>P_,objectInputDeclaresAddonId:()=>id,objectInputDeclaresRequiredDeviceId:()=>ad,occupancyScope:()=>sb,optionalMethod:()=>Rc,osdCapability:()=>PO,osdManagerCapability:()=>HO,overlayClusterStepSettings:()=>CR,parseAdminBase:()=>Xd,parseCameraStreamConfig:()=>wr,parseExpression:()=>Bs,parseJsonArray:()=>$z,parseJsonObject:()=>Qz,parseJsonUnknown:()=>Kz,parseMediaOwnerKey:()=>Oe,parseOccupancyScope:()=>cb,parseProcStatus:()=>aB,parseProfileBrokerId:()=>Ur,parseRuleSection:()=>lL,parseStreamParamsFormPatch:()=>iM,patchAudio:()=>_I,petFeederCapability:()=>KO,pickAccessoryControl:()=>TP,pickClusterStepModels:()=>mR,pickClusterStepSettings:()=>SR,pickDetailCropConvention:()=>jR,pickNativeLeaseOverride:()=>iz,pickPreferredRtspEntry:()=>Fo,pickRestartCandidate:()=>mB,pickVideoEncoder:()=>Vt,pickerForCondition:()=>DI,pipelineAnalyticsCapability:()=>ub,pipelineExecutorCapability:()=>fv,pipelineOrchestratorCapability:()=>Ox,pipelineRunnerCapability:()=>Gb,plateGalleryCapability:()=>QO,platformProbeCapability:()=>mk,poolMemoryThreshold:()=>lB,powerMeterCapability:()=>gk,prepareNotification:()=>GI,presenceCapability:()=>yk,pressureSensorCapability:()=>xk,principalMayReachAddon:()=>_s,privacyMaskCapability:()=>Dk,procedureAuthKey:()=>cd,ptzAutotrackCapability:()=>Hk,ptzCapability:()=>Lk,pythonScriptForBackend:()=>NB,rankStreams:()=>yt,readClusterStepModels:()=>fR,readClusterStepSettings:()=>bR,readDetailCropConvention:()=>kR,readDeviceStateFrom:()=>MN,readNativeLeaseOverride:()=>tz,readNodePin:()=>Oc,readTimelapseGeneratedAt:()=>aR,readinessKey:()=>Oo,rebootCapability:()=>Uk,recordingArchiveCapability:()=>xA,recordingCapability:()=>tA,recordingExportCapability:()=>HA,recordingOnboardCapability:()=>tj,recordingSignalCapability:()=>xj,rectsToCells:()=>_B,reducePoints:()=>Eo,requiresPython:()=>PB,reservedSourceOwner:()=>Cj,resetPoolBaseline:()=>pB,resolveAddonExecution:()=>yn,resolveAddonGroup:()=>Sn,resolveAddonPlacement:()=>wn,resolveAddonRuntime:()=>AB,resolveBucketMs:()=>To,resolveCapMount:()=>Ac,resolveClusterStepModelId:()=>hR,resolveContainerPrimaryChild:()=>pP,resolveCreateExportSubject:()=>BA,resolveDetectionRuntime:()=>OB,resolveDeviceControlKind:()=>xP,resolveDeviceProfile:()=>MP,resolveEgressDecodeHwAccel:()=>nn,resolveExportProfiles:()=>RA,resolveFormat:()=>BI,resolveHydratedFieldValue:()=>Ue,resolveLocationIcon:()=>Ff,resolveLocationMode:()=>Ma,resolveMethodAuth:()=>sd,resolveModelFormat:()=>kB,resolveMutate:()=>OP,resolvePoolMemoryPolicy:()=>iB,resolveRecordingProfiles:()=>Oi,resolveRunnerId:()=>Cn,resolveStreamMaps:()=>Tt,resolveVariantModelId:()=>Qo,resolveViewableDeviceIds:()=>gz,roleSpec:()=>oz,ruleEditorSectionsForKind:()=>bL,ruleKindOf:()=>rL,ruleKindSpec:()=>eL,ruleMatchesSection:()=>fL,ruleSection:()=>cL,ruleSectionOf:()=>pL,ruleSeedForSection:()=>gL,runInferenceStep:()=>bB,runtimeDevices:()=>XB,runtimeStatePolicyFor:()=>YF,sceneMonitorCapability:()=>Bj,schemaDeclaresAnyField:()=>rr,scopeInherits:()=>mz,scopeKey:()=>ko,scopesAllowAddon:()=>hs,scopesAllowDeviceCap:()=>ms,scoreRuntimes:()=>$B,scriptRunnerCapability:()=>Hj,searchDisplayIcons:()=>YP,selectAssignedProfileSlots:()=>Wr,serverManagementCapability:()=>Jx,setByPath:()=>QP,settingsStoreCapability:()=>Nd,signalPercentFromBars:()=>ZD,signalPercentFromRssi:()=>QD,siteZoneKey:()=>Rf,sleep:()=>FB,sleepCancellable:()=>IB,sliceActiveValue:()=>zN,sliceChangedAt:()=>BN,smokeCapability:()=>Wj,smtpProviderCapability:()=>$x,snapshotCapability:()=>nS,ssoBridgeCapability:()=>iS,startReachabilityPoll:()=>nF,stateVocabularyFor:()=>NN,storageCapability:()=>oS,storageEvictableCapability:()=>lS,storageMigrationCapability:()=>uS,storageOccupancyCapability:()=>fS,storageProviderCapability:()=>wS,streamBrokerCapability:()=>Gu,streamCatalogCapability:()=>qj,streamParamsCapability:()=>eM,streamPixels:()=>vr,streamQualityLabel:()=>_r,streamSignalsCapability:()=>DS,stripRetiredBandPreBufferSec:()=>Si,strippedOfLegacyReadOnly:()=>La,subKindsOf:()=>Bh,summarisePrivacyAudio:()=>Ok,summarizeEffectiveScope:()=>Sz,supportedRuntimes:()=>YB,switchCapability:()=>oM,switchedOffIds:()=>Qn,synthesizeSourceInfo:()=>Qd,systemCapability:()=>LM,systemEventFilterApplies:()=>zL,systemEventFilterAppliesToAnyKind:()=>BL,tamperCapability:()=>zM,taskLogEntrySchema:()=>YC,taskPhaseSchema:()=>qC,taskTargetSchema:()=>JC,temperatureSensorCapability:()=>VM,templateVarsFor:()=>IL,terminalSessionCapability:()=>IS,textToHtml:()=>LI,timeOfDayToMinutes:()=>hj,toDeviceSummary:()=>rP,toExpressionValue:()=>tc,toNodeId:()=>Dc,toStreamSourceEntry:()=>xr,toastCapability:()=>UM,toggleAudioLabel:()=>bI,tokenize:()=>Ns,transcodeBody:()=>VI,tryConvertUnit:()=>jz,turnProviderCapability:()=>RS,unitDimension:()=>Dz,unitsForDimension:()=>Nz,updateCapability:()=>GM,userManagementCapability:()=>iN,userPasskeysCapability:()=>BS,vacuumControlCapability:()=>cN,validateExpressionSource:()=>nc,validateRecipeBounds:()=>yc,valveCapability:()=>dN,vectorDimFromBase64:()=>zB,vectorStoreCapability:()=>cC,vibrationCapability:()=>pN,videoclipsCapability:()=>MC,viewerUiCapability:()=>IC,waterHeaterCapability:()=>hN,weatherCapability:()=>_N,webrtcClientHintsSchema:()=>LC,webrtcSessionCapability:()=>UC,weeklyMaskIndex:()=>dj,weeklyMaskIsUniform:()=>fj,weeklyMaskToWindows:()=>pj,windowsToWeeklyMask:()=>mj,wiringAddonHealthSchema:()=>hn,wiringHealthSnapshotSchema:()=>_n,wiringNodeHealthSchema:()=>gn,wiringProbeKindSchema:()=>pn,wiringProbeResultSchema:()=>mn,withLocationMode:()=>Ra,zodEntriesToConfigUI:()=>CF,zoneAnalyticsCapability:()=>EN,zoneRulesCapability:()=>ON,zonesCapability:()=>yv});export{yP as $,Wr as $t,OI as A,gc as At,_I as B,_o as Bt,nL as C,fd as Ct,fL as D,L as Dt,eL as E,R as Et,mI as F,$o as Ft,zF as G,xi as Gt,eI as H,Qa as Ht,vI as I,Qo as It,dF as J,Oi as Jt,IF as K,Ti as Kt,pI as L,zo as Lt,lI as M,yc as Mt,uI as N,as as Nt,gL as O,wc as Ot,dI as P,Zo as Pt,X as Q,Hr as Qt,fI as R,Bo as Rt,oL as S,Ef as St,rL as T,hl as Tt,GF as U,$a as Ut,bI as V,xo as Vt,BF as W,Ma as Wt,YP as X,Pr as Xt,RP as Y,si as Yt,PP as Z,C as Zt,JL as _,Mp as _t,Nz as a,NN as at,mL as b,Ff as bt,az as c,mD as ct,oz as d,dC as dt,Yn as en,xP as et,oR as f,$g as ft,tR as g,ih as gt,mR as h,W as ht,Dz as i,PN as it,DI as j,_c as jt,jI as k,hc as kt,sz as l,mC as lt,vR as m,Ph as mt,Mz as n,Be as nn,cP as nt,_z as o,nA as ot,cR as p,Kh as pt,_F as q,Ei as qt,jz as r,Ie as rn,pP as rt,gz as s,Gk as st,rV as t,Re as tn,hP as tt,lz as u,pC as ut,rR as v,Af as vt,lL as w,ru as wt,iL as x,wf as xt,BL as y,Pf as yt,yI as z,vo as zt};
|
|
349
|
+
`).trim()}var FI=[[/&/g,`&`],[/</g,`<`],[/>/g,`>`],[/"/g,`"`],[/'/g,`'`]];function II(e){let t=e;for(let[e,n]of FI)t=t.replace(e,n);return t}function LI(e){return II(e).replace(/\n/g,`<br>`)}function RI(e){return II(e).replace(/(\*\*|__)(.*?)\1/g,`<b>$2</b>`).replace(/(\*|_)(.*?)\1/g,`<i>$2</i>`).replace(/`([^`]*)`/g,`<code>$1</code>`).replace(/\[([^\]]*)\]\(([^)]*)\)/g,`<a href="$2">$1</a>`).replace(/\n/g,`<br>`)}var zI={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function BI(e,t){for(let n of zI[e]??zI.text)if(t.includes(n))return n;return t[0]??`text`}function VI(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return MI(e);if(t===`html`)return PI(e)}if(n===`html`){if(t===`text`)return LI(e);if(t===`markdown`)return RI(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return PI(e)}return e}function HI(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function UI(e,t){if(e.length===0)return null;if(t.level!==void 0){let n=e.find(e=>e.id===t.level);if(n)return HI(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return HI(e[0]);let r=t.priority;return HI([...n].sort((e,t)=>{let n=Math.abs((e.ordinal??0)-r),i=Math.abs((t.ordinal??0)-r);return n===i?(t.ordinal??0)-(e.ordinal??0):n-i})[0])}function WI(e,t){if(!Number.isFinite(t)||t<=0||e.length<=t)return[e];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function GI(e,t){let n=[],r=t.format,i=BI(r,e.format);i!==r&&n.push(`format`);let a=VI(t.body,r,i),o=UI(e.levels,t),s=t.attachments??[],c=[];for(let t of s){if(!e.attachments.mediaTypes.includes(t.mediaType)){n.push(`attachment:${t.mediaType}`);continue}if(e.attachments.mode===`url`&&t.url===void 0){n.push(`attachment:noUrl`);continue}if(t.bytes!==void 0&&e.attachments.maxBytes!==void 0&&t.bytes.length>e.attachments.maxBytes){n.push(`attachment:maxBytes`);continue}if(c.length>=e.attachments.max){n.push(`attachment:max`);continue}let r=e.attachments.mode===`bytes`&&t.bytes===void 0&&t.url!==void 0;c.push({mediaType:t.mediaType,...t.url===void 0?{}:{url:t.url},...t.bytes===void 0?{}:{bytes:t.bytes},...t.mime===void 0?{}:{mime:t.mime},...t.name===void 0?{}:{name:t.name},needsFetch:r})}let l=t.actions??[],u=l.slice(0,Math.max(0,e.actions));l.length>u.length&&n.push(`actions`);let d=e.actionIcons===!0;!d&&u.some(e=>e.icon!==void 0)&&n.push(`actionIcons`);let f=d?u:u.map(({icon:e,...t})=>t),ee=null;t.clickUrl!==void 0&&(e.clickUrl?ee=t.clickUrl:n.push(`clickUrl`));let p=null;t.sound!==void 0&&(e.sound?p=t.sound:n.push(`sound`));let te=null;t.ttl!==void 0&&(e.ttl?te=t.ttl:n.push(`ttl`));let ne=t.tag??null,re=WI(a,e.bodyMaxLen),ie=re.length>1,m={level:o?.id??``,format:i,attachmentsSent:c.length,actionsSent:f.length,truncated:ie,dropped:n};return{body:re[0]??``,...t.title===void 0?{}:{title:t.title},format:i,level:o,attachments:c,actions:f,clickUrl:ee,sound:p,ttl:te,tag:ne,bodyParts:re,renderedAs:m}}var KI=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,qI=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,JI=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,YI=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,XI=`A sound rule fires on what the camera HEARD. Its subject carries no detection, so this condition can never match one — name the sounds in the Sound condition instead.`,ZI=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,QI=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,$I=[{kind:`detection`,label:`Conditions`,excluded:{},carriesMedia:!0,carriesSubjectCrop:!0},{kind:`sensor`,label:`Conditions`,excluded:{},carriesMedia:!0,carriesSubjectCrop:!0,blurb:`A doorbell press or a linked sensor changing state. The picture comes from the camera the sensor is attributed to.`},{kind:`occupancy`,label:`Occupancy`,discriminator:`occupancy`,excluded:{sensorKinds:KI,eventTypeTokens:qI,source:JI},carriesMedia:!0,carriesSubjectCrop:!0,blurb:`Fires when the count in a camera frame or a zone crosses your threshold and holds. Pick the camera first — the zone list is that camera’s.`},{kind:`sound`,label:`Sound`,discriminator:`audio`,excluded:{classes:XI,classesExclude:XI,minConfidence:ZI,zones:QI,zonesExclude:QI,customZones:QI,crossing:QI,labelEquals:XI,identities:XI,identitiesExclude:XI,plates:XI,source:YI},carriesMedia:!0,carriesSubjectCrop:!1,blurb:`Fires on a confirmed sampling window of audio, never on a picture. Name the sounds and/or keep a level threshold — with neither it can never match.`,mediaBlurb:`A sound owns no frame, so the picture is a photograph of the camera taken at the moment of the match — the whole scene, never a crop. The GIF and the clip are cut around the same instant, from the camera.`},{kind:`system`,label:`Events`,discriminator:`systemEvent`,excluded:{},carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The installation itself: a camera or stream dropping, a node leaving, an update landing. There is no detection behind it and no frame to attach.`}];function eL(e){return $I.find(t=>t.kind===e)??$I[0]}var tL=`system-event`;function nL(e){return e===tL}function rL(e){return nL(e.delivery)?`system`:e.conditions.occupancy!==void 0&&e.delivery===`device-event`?`occupancy`:e.conditions.audio!==void 0&&e.delivery===`immediate`?`sound`:e.delivery===`device-event`?`sensor`:`detection`}function iL(e,t,n){let r=eL(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function aL(e,t){let n=eL(t);return e===n.discriminator?null:n.excluded[e]??null}function oL(e,t){let n=eL(t),r=[];for(let[t,i]of Object.entries(e)){if(i===void 0||Array.isArray(i)&&i.length===0)continue;let e=n.excluded[t];e!==void 0&&r.push({conditionId:t,reason:e})}return r}var sL=[{key:`all`,label:`All rules`,blurb:`Every notification rule, whatever its trigger. Each rule picks a trigger, matches conditions and fans out to one or more delivery targets.`,newRuleLabel:`New rule`,emptyHint:`No notification rules yet. Create one to be told what your cameras see.`},{key:`detection`,label:`Detections & devices`,blurb:`Rules driven by what the cameras and sensors SEE — detections, tracks, doorbell presses and package events.`,newRuleLabel:`New detection rule`,emptyHint:`No detection rules yet. Create one to be told what your cameras see.`},{key:`audio`,label:`Sound`,blurb:`Rules on what the cameras HEAR: a sustained window of sound loud enough, or classified as one of the sounds you name. A sound rule fires only on a confirmed sampling window, never on a picture.`,newRuleLabel:`New sound rule`,emptyHint:`No sound rules yet. A new sound rule opens on the sound condition already filled in with a level threshold, so you only have to name the sounds and the targets.`},{key:`occupancy`,label:`Occupancy`,blurb:`Rules on how many objects are in a camera frame or a zone, and for how long: "the driveway became occupied", "the garden emptied".`,newRuleLabel:`New occupancy rule`,emptyHint:`No occupancy rules yet. A new occupancy rule opens on the occupancy condition; pick the camera first, then the zone and the count.`},{key:`system`,label:`System events`,blurb:`Rules about the installation itself: a camera or stream dropping, a node leaving the cluster, an addon or server update becoming available. These carry no image and are not tied to a detection.`,newRuleLabel:`New system rule`,emptyHint:`No system-event rules yet. These tell you when a camera drops, a node leaves or an update lands.`}];function cL(e){return sL.find(t=>t.key===e)??sL[0]}function lL(e){return sL.find(t=>t.key===e)?.key}function uL(e){return e.conditions.audio!==void 0}function dL(e){return e.conditions.occupancy!==void 0}function fL(e,t){return t===`all`?!0:t===`system`?nL(e.delivery):t===`audio`?uL(e):t===`occupancy`?dL(e):!nL(e.delivery)&&!uL(e)&&!dL(e)}function pL(e){return fL(e,`system`)?`system`:fL(e,`audio`)?`audio`:fL(e,`occupancy`)?`occupancy`:`detection`}var mL={op:`became-occupied`,count:1,sustainSeconds:15},hL={hitPercent:dI.hitPercent,samplingSeconds:dI.samplingSeconds,dbThreshold:uI};function gL(e){switch(e){case`system`:return{delivery:tL,conditions:{}};case`audio`:return{delivery:`immediate`,conditions:{audio:hL}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:mL}};default:return{delivery:`immediate`,conditions:{}}}}function _L(e){return gL(e).delivery}var vL=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],yL={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function bL(e){let t=eL(e),n=[];for(let r of vL)r===`devices`&&e===`system`||n.push({key:r,label:r===`conditions`?t.label:yL[r]});return n}var xL={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function SL(e,t){let n=new Date(e);if(t!==void 0)try{let e=new Intl.DateTimeFormat(`en-US`,{timeZone:t,weekday:`short`,hour:`numeric`,minute:`numeric`,hourCycle:`h23`}).formatToParts(n),r,i,a;for(let t of e)t.type===`weekday`?r=t.value:t.type===`hour`?i=Number(t.value):t.type===`minute`&&(a=Number(t.value));let o=r===void 0?void 0:xL[r];if(o!==void 0&&i!==void 0&&a!==void 0)return{day:o,minute:i*60+a}}catch{}return{day:n.getDay(),minute:n.getHours()*60+n.getMinutes()}}function CL(e,t){if(e===void 0)return!0;let{day:n,minute:r}=SL(t,e.timezone),i=(n+6)%7,a=!1;for(let t of e.windows)if(t.startMinute<=t.endMinute){if(t.days.includes(n)&&r>=t.startMinute&&r<t.endMinute){a=!0;break}}else if(t.days.includes(n)&&r>=t.startMinute||t.days.includes(i)&&r<t.endMinute){a=!0;break}return e.invert===!0?!a:a}var wL=[`body`],Z=[`title`,`body`],TL=[`device-battery-low`,`device-battery-normal`],EL=[`device-consumable-low`,`device-consumable-normal`],DL=[`addon-update-available`,`server-update-available`,`wrapper-update-available`],OL=[`addon-update-available`,`server-update-available`],kL=[`alarm-triggered`,`alarm-armed`,`alarm-disarmed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-sensor-bypass`,`alarm-check-failed`],AL=[`alarm-triggered`],jL=[`device-online`,`device-offline`,`device-disabled`,`device-enabled`,...TL,...EL,`stream-online`,`stream-offline`,`detection-blind`,...kL],ML=[{name:`camera`,label:`Camera`,example:`Ingresso`,group:`subject`,families:[`rule`,`timelapse`],systemEventKinds:[...jL,`export-completed`]},{name:`class`,label:`Detected class`,description:`The counted class on an occupancy row (e.g. "person"); the detected class elsewhere.`,example:`person`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...AL]},{name:`label`,label:`Name or plate`,description:`Recognised person or read plate; empty otherwise.`,example:`Mario`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`subject`,label:`Subject sentence`,description:`Composed in the notification language, e.g. "person (Mario)".`,example:`persona (Mario)`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`sensor`,`sound`,`occupancy`]},{name:`confidence`,label:`Confidence`,example:`87%`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`count`,label:`Count`,description:`Occupancy count, subjects in a grouped notification, or the event count of a system notice.`,example:`3`,group:`subject`,families:[`rule`],fields:[...Z],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[`addon-crash-loop`,...OL,`addon-updated`]},{name:`detectionSummary`,label:`Detection summary`,description:`Class composition, e.g. "2 persons and 1 car".`,example:`2 persone e 1 auto`,group:`subject`,families:[`rule`,`timelapse`,`summary`],fields:[...Z],kinds:[`detection`]},{name:`zones`,label:`Zones`,example:`Cancello, Vialetto`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`zone`,label:`Zone`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[...AL]},{name:`inZones`,label:`"in <zones>" fragment`,description:`Leading space included; empty when no zone.`,example:` in Cancello`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`detection`,`system`],systemEventKinds:[...AL]},{name:`scope`,label:`Occupancy scope`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Z],kinds:[`occupancy`]},{name:`time`,label:`Time`,description:`Hours and minutes, in the notification language.`,example:`20:05`,group:`time`,families:[`rule`,`timelapse`,`summary`],fields:[...Z]},{name:`rule`,label:`Rule name`,example:`Ingresso notte`,group:`rule`,families:[`rule`,`timelapse`,`summary`]},{name:`from`,label:`Window start`,example:`07:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`to`,label:`Window end`,example:`08:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`capacity`,label:`Capacity`,example:`2`,group:`occupancy`,families:[`rule`],fields:[...Z],kinds:[`occupancy`]},{name:`op`,label:`Occupied / free`,example:`occupata`,group:`occupancy`,families:[`rule`],fields:[...Z],kinds:[`occupancy`]},{name:`sounds`,label:`Sounds heard`,example:`abbaio, clacson`,group:`sound`,families:[`rule`],fields:[...Z],kinds:[`sound`]},{name:`hitPercent`,label:`Share of the window`,description:`Level mode only: percentage of samples above the threshold.`,example:`42`,group:`sound`,families:[`rule`],fields:[...Z],kinds:[`sound`]},{name:`db`,label:`Peak level (dBFS)`,example:`-18`,group:`sound`,families:[`rule`],fields:[...Z],kinds:[`sound`]},{name:`eventType`,label:`Event type`,description:`Raw device event token, e.g. "press" or "open"; empty when the device sends none.`,example:`press`,group:`sensor`,families:[`rule`],fields:[...Z],kinds:[`sensor`]},{name:`ai`,label:`AI sentence`,description:`Where the AI description goes; appended on its own line when absent.`,example:`Una persona lascia un pacco.`,group:`ai`,families:[`rule`,`summary`],fields:[...wL],kinds:[`detection`,`occupancy`]},{name:`eventKind`,label:`Event kind`,example:`device-offline`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`]},{name:`deviceName`,label:`Device`,example:`Ingresso`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...jL]},{name:`deviceId`,label:`Device id`,example:`617`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...jL,`export-completed`]},{name:`percentage`,label:`Percentage`,example:`15`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...TL,...EL]},{name:`item`,label:`Consumable`,example:`Filtro`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...EL]},{name:`profile`,label:`Stream profile`,example:`high`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`stream-online`,`stream-offline`]},{name:`node`,label:`Node`,example:`hub`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-inference-unavailable`,`addon-crash-loop`,...DL,`addon-updated`,`server-updated`]},{name:`nodeId`,label:`Node id`,example:`hub`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-inference-unavailable`,`addon-crash-loop`,...DL,`server-updated`]},{name:`devices`,label:`Devices`,description:`node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / refusal: HOW MANY devices are armed (or open).`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`node-inference-unavailable`,`alarm-armed`,`alarm-arm-refused`]},{name:`addons`,label:`Addons`,example:`stream-broker`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`minutes`,label:`Minutes`,example:`12`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`detection-blind`]},{name:`package`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...DL,`addon-updated`,`server-updated`]},{name:`packageName`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...OL,`server-updated`]},{name:`nodes`,label:`Nodes`,description:"Comma-joined node ids, when an update spans more than one — the single-node case names it through {{nodeId}} instead. `incomingFromUpdateAvailable` (event-intake.ts) fills `nodes` from ONE shared textParams object for both addon- and server-update-available, exactly like packageName/currentVersion/latestVersion/count — only the shipped TEXT (system.server-update-available.body.onNodes) reads it today, but the var is real on both kinds.",example:`hub, little-unraid`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...OL]},{name:`currentVersion`,label:`Current version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...DL]},{name:`latestVersion`,label:`Latest version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...DL]},{name:`list`,label:`Updated packages`,description:"One line per package. `incomingFromUpdateAvailable` fills it for addon-/server-update-available too (the SAME shared textParams object as `nodes`) — `system.addon-update-available.body` reads it; `incomingFromAddonUpdates` fills it again, independently, for the completed `addon-updated` event.",example:`recorder, notifiers`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[...OL,`addon-updated`]},{name:`fromVersion`,label:`From version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`server-updated`]},{name:`toVersion`,label:`To version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`server-updated`]},{name:`destinationsOk`,label:`Destinations ok`,example:`2`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsTotal`,label:`Destinations`,example:`2`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsFailed`,label:`Destinations failed`,example:`0`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`sizeMB`,label:`Size (MB)`,example:`412`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`backupId`,label:`Backup id`,example:`bk-20260924`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`title`,label:`Export title`,example:`Ingresso 08:00`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`exportId`,label:`Export id`,example:`exp-20260924`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`bytes`,label:`Export size (bytes)`,example:`10485760`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`mode`,label:`Alarm mode`,example:`away`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-check-failed`]},{name:`seconds`,label:`Seconds`,description:`Arming: the exit delay left. Pending: the entry delay left to disarm.`,example:`30`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-arming`,`alarm-pending`]},{name:`rules`,label:`Covering rules`,description:`How many enabled rules the armed mode gates.`,example:`2`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`]},{name:`names`,label:`Device names`,description:`Armed: the devices armed. Arming: the devices this mode cannot arm. Refusal: the open sensors.`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`skippedNames`,label:`Skipped devices`,description:`Devices the mode names but cannot arm (muted, detection off, offline).`,example:`Garage`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`]},{name:`bypassedNames`,label:`Bypassed sensors`,description:`Sensors the operator armed around because they were open.`,example:`Finestra veranda`,group:`system`,families:[`rule`],fields:[...Z],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`coverage`,label:`Coverage %`,example:`96`,group:`digest`,families:[`timelapse`],fields:[...Z]},{name:`events`,label:`Events`,example:`4`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Z]},{name:`detections`,label:`Detections`,example:`7`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Z]},{name:`count_person`,label:`Count of one class`,description:`count_<class>, e.g. count_person, count_car.`,example:`3`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Z],dynamic:{prefix:`count_`,from:`classes`}},{name:`cameras`,label:`Cameras`,example:`3`,group:`digest`,families:[`summary`],fields:[...Z]},{name:`matched`,label:`Matched events`,example:`12`,group:`digest`,families:[`summary`],fields:[...Z]},{name:`shown`,label:`Events shown`,example:`9`,group:`digest`,families:[`summary`],fields:[...Z]},{name:`total`,label:`Events total`,example:`12`,group:`digest`,families:[`summary`],fields:[...Z]}],NL={previewText:[`camera`,`rule`,`from`,`to`],captionText:[`rule`,`from`,`to`]};function PL(e,t){return e===void 0||t===void 0||e.includes(t)}function FL(e,t){if(t.kind!==`system`||e.systemEventKinds===void 0)return!0;let n=t.systemEventKinds??[];return n.length===0||n.some(t=>e.systemEventKinds?.includes(t)===!0)}function IL(e){if(e.field===`previewText`||e.field===`captionText`){let t=NL[e.field];return ML.filter(n=>n.families.includes(e.family)&&t.includes(n.name)&&n.dynamic===void 0)}return ML.filter(t=>t.families.includes(e.family)&&PL(t.fields,e.field)&&PL(t.kinds,e.kind)&&PL(t.deliveries,e.delivery)&&FL(t,e))}function LL(e,t){return IL(t).some(t=>t.dynamic===void 0?t.name===e:e.startsWith(t.dynamic.prefix)&&e.length>t.dynamic.prefix.length)}var RL=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`];function zL(e,t){switch(t){case`deviceIds`:return e.startsWith(`device-`)||e.startsWith(`stream-`)||e===`detection-blind`||e===`alarm-triggered`||e===`export-completed`;case`deviceTypes`:return e.startsWith(`device-`)||e===`detection-blind`;case`nodeIds`:return e.startsWith(`node-`)||e===`addon-crash-loop`||e===`addon-update-available`||e===`addon-updated`||e===`server-update-available`||e===`wrapper-update-available`||e===`server-updated`;case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`server-updated`}}function BL(e,t){return e.some(e=>zL(e,t))}var VL=a({title:g().max(500).optional(),body:g().max(2e3).optional()}),HL=g().min(1).max(200),UL=p(o()).min(1),WL=o().int().min(2).max(3600),GL=o().int().min(1).max(60),KL=p(Eg).min(1),qL=o().int().min(1).max(5),JL=.1,YL=o().min(JL).max(3600),XL=o().min(0).max(60),ZL=g().max(200),QL=m([`image`,`gif`]),$L=p(g().min(1).max(40)).max(20),eR=a({name:HL,enabled:v().default(!0),deviceIds:UL,schedule:pg,cadenceSec:WL.default(15),framerate:GL.default(10),denseCadenceSec:YL.optional(),minDwellSec:XL.optional(),targets:KL,template:VL.optional(),previewText:ZL.optional(),previewMode:QL.default(`image`),reportClasses:$L.optional(),priority:qL.default(3)}),tR=`Timelapse {{camera}}`,nR=a({name:HL.optional(),enabled:v().optional(),deviceIds:UL.optional(),schedule:pg.optional(),cadenceSec:WL.optional(),framerate:GL.optional(),denseCadenceSec:YL.optional(),minDwellSec:XL.optional(),targets:KL.optional(),template:VL.nullable().optional(),previewText:ZL.optional(),previewMode:QL.optional(),reportClasses:$L.optional(),priority:qL.optional()}),rR=eR.extend({id:g(),ownerUserId:g().optional(),lastGeneratedAt:o().optional(),generatedByDevice:r(g(),o()).optional(),createdBy:g(),createdAt:o(),updatedAt:o()});function iR(e){let t=e.denseCadenceSec;if(t!==void 0&&t>=e.cadenceSec)throw Error(`denseCadenceSec (${t}s) must be strictly smaller than cadenceSec (${e.cadenceSec}s) — a dense cadence that is not denser renders a uniform timelapse`)}function aR(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}var oR=[{stepId:`face-embedding`,label:`Face recognition model`,defaultModelId:`arcface-r100`,indexName:`the enrolled face gallery`,options:[{id:`arcface-r100`,label:`ArcFace (ResNet34)`},{id:`auraface-r100`,label:`AuraFace R100`},{id:`inception-resnet-v1`,label:`Inception ResNet V1`}]},{stepId:`clip-embedding`,label:`Semantic search model`,defaultModelId:`mobileclip-s1`,indexName:`the object semantic-search index`,options:[{id:`mobileclip-s1`,label:`MobileCLIP S1`},{id:`mobileclip-s2`,label:`MobileCLIP S2`}]}],sR=`cluster-step-models`;function cR(e){return`clusterModel:${e}`}function lR(e){return oR.some(t=>t.stepId===e)}var uR=Object.freeze(Object.fromEntries(oR.map(e=>[e.stepId,e.defaultModelId]))),dR=g().min(1);function fR(e){let t={};for(let n of oR){let r=dR.safeParse(e[cR(n.stepId)]);t[n.stepId]=r.success?r.data:n.defaultModelId}return t}function pR(e){return typeof e==`object`&&!!e&&`key`in e}function mR(e){if(e===null)return uR;let t={},n=new Set(oR.map(e=>cR(e.stepId)));for(let r of e.sections)for(let e of r.fields)!pR(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return fR(t)}function hR(e,t){let n=oR.find(t=>t.stepId===e);if(n===void 0)return null;let r=t[e];return r!==void 0&&r!==``?r:n.defaultModelId}var gR=[{stepId:`face-embedding`,key:`minLandmarkFaceSize`,label:`Min face size for recognition (detection px)`,description:`Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.`,type:`slider`,min:0,max:64,step:2,default:24}];function _R(e,t){return`clusterStepSetting:${e}:${t}`}function vR(e){return gR.filter(t=>t.stepId===e)}var yR=o().finite();function bR(e){let t={};for(let n of gR){let r=yR.safeParse(e[_R(n.stepId,n.key)]),i=r.success?r.data:n.default,a=t[n.stepId]??{};t[n.stepId]={...a,[n.key]:i}}return t}var xR=bR({});function SR(e){if(e===null)return xR;let t={},n=new Set(gR.map(e=>_R(e.stepId,e.key)));for(let r of e.sections)for(let e of r.fields)!pR(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return bR(t)}function CR(e,t,n){let r=n[e];return r===void 0||Object.keys(r).length===0?t===void 0?void 0:{...t}:t===void 0?{...r}:{...t,...r}}var wR=`detail-crop`,TR=`detailCropPaddingRatio`,ER=`detailCropSquare`,DR=a({paddingRatio:o().min(0).max(4),square:v()}),OR={paddingRatio:.15,square:!1};function kR(e){let t=DR.shape.paddingRatio.safeParse(e[TR]),n=DR.shape.square.safeParse(e[ER]);return{paddingRatio:t.success?t.data:OR.paddingRatio,square:n.success?n.data:OR.square}}function AR(e){return typeof e==`object`&&!!e&&`key`in e}function jR(e){if(e===null)return OR;let t={};for(let n of e.sections)for(let e of n.fields)!AR(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return kR(t)}var MR=Object.freeze({x:0,y:0,w:1,h:1}),NR={min:0,max:1,step:.05,default:OR.paddingRatio};function PR(e,t,n,r){let i=r.paddingRatio*e.w,a=r.paddingRatio*e.h,o={x:e.x-i,y:e.y-a,w:e.w+2*i,h:e.h+2*a};return r.square?LR(FR(o,t,n),t,n):IR(o,t,n)}function FR(e,t,n){let r=Math.min(Math.max(e.w,e.h),Math.min(t,n)),i=e.x+e.w/2,a=e.y+e.h/2;return{x:i-r/2,y:a-r/2,w:r,h:r}}function IR(e,t,n){let r=Math.max(0,e.x),i=Math.max(0,e.y),a=Math.min(t,e.x+e.w),o=Math.min(n,e.y+e.h);return{x:r,y:i,w:Math.max(0,a-r),h:Math.max(0,o-i)}}function LR(e,t,n){let r=Math.max(0,Math.min(e.w,t)),i=Math.max(0,Math.min(e.h,n));return{x:Math.min(Math.max(0,e.x),Math.max(0,t-r)),y:Math.min(Math.max(0,e.y),Math.max(0,n-i)),w:r,h:i}}var RR=`native-lease`,zR=`nativeLeaseHoldFrames`,BR=`nativeLeaseBudgetMb`,VR=`nativeLeaseActivityMs`,HR=`nativeLeaseAdmission`,UR=`nativeTileBudgetMb`,WR=`nativeSceneBudgetMb`,GR=m([`all`,`inferred`]),KR=a({holdFrames:o().int().min(1).max(64),budgetMb:o().int().min(0).max(4096),activityMs:o().int().min(0).max(12e4),admission:GR,tileBudgetMb:o().int().min(0).max(1024),sceneBudgetMb:o().int().min(0).max(1024)}),Q={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},qR={min:1,max:64,step:1,default:Q.holdFrames},JR={min:0,max:4096,step:64,default:Q.budgetMb},YR={min:0,max:12e4,step:1e3,default:Q.activityMs},XR={min:0,max:1024,step:16,default:Q.tileBudgetMb},ZR={min:0,max:1024,step:16,default:Q.sceneBudgetMb},QR={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:Q.admission};function $R(e,t){let n=KR.shape[e].safeParse(t);return n.success?n.data===Q[e]?null:n.data:null}function ez(e){let t=GR.safeParse(e);return t.success?t.data===Q.admission?null:t.data:null}function tz(e){let t=$R(`holdFrames`,e[zR]),n=$R(`budgetMb`,e[BR]),r=$R(`activityMs`,e[VR]),i=ez(e[HR]),a=$R(`tileBudgetMb`,e[UR]),o=$R(`sceneBudgetMb`,e[WR]);return{...t===null?{}:{holdFrames:t},...n===null?{}:{budgetMb:n},...r===null?{}:{activityMs:r},...i===null?{}:{admission:i},...a===null?{}:{tileBudgetMb:a},...o===null?{}:{sceneBudgetMb:o}}}function nz(e){return typeof e==`object`&&!!e&&`key`in e}var rz=[zR,BR,VR,HR,UR,WR];function iz(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!nz(e)||typeof e.key!=`string`||rz.includes(e.key)&&(t[e.key]=e.value);return tz(t)}var az=[{id:`viewer`,label:`View`,description:`Watch live and recorded video, browse events and read device state. Cannot change anything.`,deviceAccess:[`view`],systemAccess:[`view`]},{id:`operator`,label:`Operate`,description:`Everything View does, plus acting on a device: PTZ, lights, sirens, locks, and snoozing notifications. Cannot delete.`,deviceAccess:[`view`,`create`],systemAccess:[`view`,`create`]},{id:`manager`,label:`Full management`,description:`Everything Operate does, plus deleting devices, recordings and events. Short of admin — no user or cluster administration.`,deviceAccess:[`view`,`create`,`delete`],systemAccess:[`view`,`create`,`delete`]}];function oz(e){let t=az.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function sz(e){let t=oz(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function cz(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function lz(e){if(e.length!==2)return null;let t=e.filter(e=>e.type===`device`),n=e.filter(e=>e.type===`category`&&e.target===`system`);if(t.length!==1||n.length!==1)return null;let[r]=t,[i]=n;if(r===void 0||i===void 0||r.type!==`device`||r.includeLinked===void 0)return null;let a=az.find(e=>cz(e.deviceAccess,r.access)&&cz(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var uz=8;function dz(e,t){switch(e.kind){case`all`:return!0;case`ids`:return e.ids.includes(t.id);case`types`:return e.types.some(e=>String(e)===t.type);case`locations`:return t.location!==null&&e.locations.includes(t.location)}}function fz(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function pz(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function mz(e,t){return e.includeLinked??t===`view`}function hz(e,t){let n=[],r=e;for(let e=0;e<uz;e++){let e=r===null?null:t.get(r)?.parentDeviceId??null;if(e===null||e===r)break;n.push(e),r=e}return n}function gz(e,t,n){if(fz(e,n))return new Set(t.map(e=>e.id));let r=new Map;for(let e of t)r.set(e.id,e);let i=pz(e,n),a=new Set;for(let e of t)for(let t of i){if(dz(t.selector,e)){a.add(e.id);break}if(mz(t,n)&&hz(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&dz(t.selector,n)})){a.add(e.id);break}}return a}function _z(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=K.safeParse(n);e.success&&t.push(e.data)}return t}var vz=[`view`,`create`,`delete`];function yz(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:fz(e,n)||pz(e,n).some(e=>e.selector.kind===`all`),deviceCount:gz(e,t,n).size}}function bz(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function xz(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function Sz(e,t,n){let r={view:yz(e,t,`view`,n),create:yz(e,t,`create`,n),delete:yz(e,t,`delete`,n)},i=n?vz:vz.filter(t=>e.some(e=>e.type===`category`&&e.target===`system`&&e.access.includes(t)));return{isAdmin:n,allDevicesViewable:r.view.all,viewableDeviceCount:r.view.deviceCount,device:r,system:i,capabilities:bz(e),addons:xz(e)}}var Cz={camera:{type:`camera`,label:`Camera`,icon:`camera`}},wz={"°C":{dimension:`temperature`,factor:1,offset:0},"°F":{dimension:`temperature`,factor:5/9,offset:-160/9},K:{dimension:`temperature`,factor:1,offset:-273.15},hPa:{dimension:`pressure`,factor:1,offset:0},kPa:{dimension:`pressure`,factor:10,offset:0},Pa:{dimension:`pressure`,factor:.01,offset:0},mbar:{dimension:`pressure`,factor:1,offset:0},bar:{dimension:`pressure`,factor:1e3,offset:0},inHg:{dimension:`pressure`,factor:33.8639,offset:0},mmHg:{dimension:`pressure`,factor:1.33322,offset:0},psi:{dimension:`pressure`,factor:68.9476,offset:0},"m/s":{dimension:`speed`,factor:1,offset:0},"km/h":{dimension:`speed`,factor:1/3.6,offset:0},mph:{dimension:`speed`,factor:.44704,offset:0},kn:{dimension:`speed`,factor:.514444,offset:0},"mm/h":{dimension:`precipitation-rate`,factor:1,offset:0},"in/h":{dimension:`precipitation-rate`,factor:25.4,offset:0},m:{dimension:`length`,factor:1,offset:0},mm:{dimension:`length`,factor:.001,offset:0},cm:{dimension:`length`,factor:.01,offset:0},km:{dimension:`length`,factor:1e3,offset:0},in:{dimension:`length`,factor:.0254,offset:0},ft:{dimension:`length`,factor:.3048,offset:0},mi:{dimension:`length`,factor:1609.344,offset:0},lx:{dimension:`illuminance`,factor:1,offset:0},"W/m²":{dimension:`irradiance`,factor:1,offset:0},W:{dimension:`power`,factor:1,offset:0},kW:{dimension:`power`,factor:1e3,offset:0},VA:{dimension:`apparent-power`,factor:1,offset:0},Wh:{dimension:`energy`,factor:1,offset:0},kWh:{dimension:`energy`,factor:1e3,offset:0},MWh:{dimension:`energy`,factor:1e6,offset:0},V:{dimension:`voltage`,factor:1,offset:0},mV:{dimension:`voltage`,factor:.001,offset:0},A:{dimension:`current`,factor:1,offset:0},mA:{dimension:`current`,factor:.001,offset:0},ppm:{dimension:`concentration-volume`,factor:1,offset:0},ppb:{dimension:`concentration-volume`,factor:.001,offset:0},"µg/m³":{dimension:`concentration-mass`,factor:1,offset:0},"mg/m³":{dimension:`concentration-mass`,factor:1e3,offset:0},kg:{dimension:`mass`,factor:1,offset:0},g:{dimension:`mass`,factor:.001,offset:0},lb:{dimension:`mass`,factor:.453592,offset:0},oz:{dimension:`mass`,factor:.0283495,offset:0},"%":{dimension:`percentage`,factor:1,offset:0}},Tz=class extends Error{from;to;reason;constructor(e,t,n){super(`[units] cannot convert '${e}' → '${t}': ${n}`),this.name=`UnitConversionError`,this.from=e,this.to=t,this.reason=n}};function Ez(e){return Object.hasOwn(wz,e)?wz[e]:void 0}function Dz(e){return Ez(e)?.dimension}function Oz(e,t){return e*t.factor+t.offset}function kz(e,t){return(e-t.offset)/t.factor}function Az(e,t,n){if(t===n)return e;let r=Ez(t);if(!r)throw new Tz(t,n,`unknown-from`);let i=Ez(n);if(!i)throw new Tz(t,n,`unknown-to`);if(r.dimension!==i.dimension)throw new Tz(t,n,`cross-dimension`);return kz(Oz(e,r),i)}function jz(e,t,n){if(t===n)return e;let r=Ez(t);if(!r)return;let i=Ez(n);if(i&&r.dimension===i.dimension)return kz(Oz(e,r),i)}function Mz(e,t){if(e===t)return!0;let n=Dz(e);return n===void 0?!1:n===Dz(t)}function Nz(e){let t=[];for(let[n,r]of Object.entries(wz))r.dimension===e&&t.push(n);return t}var Pz=[15e3,6e4,5*6e4,15*6e4,30*6e4,60*6e4,90*6e4];function Fz(e,t){let n=e.length,r=t.length;if(n===0)return r;if(r===0)return n;let i=Array.from({length:r+1},(e,t)=>t),a=Array.from({length:r+1},()=>0);for(let o=1;o<=n;o++){a[0]=o;let n=i[0]??0;for(let s=1;s<=r;s++){let r=i[s]??0,c=a[s-1]??0,l=e.charCodeAt(o-1)===t.charCodeAt(s-1)?0:1;a[s]=Math.min(r+1,c+1,n+l),n=r}for(let e=0;e<=r;e++)i[e]=a[e]??0}return i[r]??0}function Iz(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-Fz(n,r)/Math.max(n.length,r.length)}function Lz(e,t,n=.8){let r=null,i=0;for(let a of t){let t=Iz(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var Rz=`addon:`;function zz(e){return e.startsWith(Rz)?e.slice(6):e}function Bz(e,t){return zz(e)===zz(t)}function Vz(e,t){if(e.length!==t.length)return 0;let n=0,r=0,i=0;for(let a=0;a<e.length;a++)n+=e[a]*t[a],r+=e[a]*e[a],i+=t[a]*t[a];let a=Math.sqrt(r)*Math.sqrt(i);return a===0?0:n/a}var Hz=class{elementId;cache={};listeners=new Set;loaded=!1;getBackend;constructor(e,t){this.elementId=e,this.getBackend=typeof t==`function`?t:()=>t}async ensureLoaded(){if(this.loaded)return;let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available`);let t=await e.query({collection:`config`,filter:{where:{id:this.elementId},limit:1}});t.length>0&&(this.cache=t[0].data??{}),this.loaded=!0}getAll(){return{...this.cache}}get(e){let t=e.split(`.`),n=this.cache;for(let e of t){if(typeof n!=`object`||!n||Array.isArray(n))return;n=Reflect.get(n,e)}return n}async set(e,t){await this.ensureLoaded(),Uz(this.cache,e,t),await this.persist(),this.notifyListeners()}async setAll(e){await this.ensureLoaded(),this.cache={...e},await this.persist(),this.notifyListeners()}onChange(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}async load(){await this.ensureLoaded()}async loadDefaults(e){await this.ensureLoaded(),Object.keys(this.cache).length===0&&(this.cache={...e},await this.persist())}async persist(){let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available — cannot persist config`);await e.set({collection:`config`,key:this.elementId,value:this.cache})}notifyListeners(){let e=this.getAll();for(let t of this.listeners)try{t(e)}catch{}}};function Uz(e,t,n){let r=t.split(`.`),i=e;for(let e=0;e<r.length-1;e++){let t=r[e],n=i[t];if(typeof n!=`object`||!n||Array.isArray(n)){let e={};i[t]=e,i=e}else i=n}i[r[r.length-1]]=n}function Wz(e){return e instanceof Error?e.message:typeof e==`string`?e:String(e)}function Gz(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}function Kz(e){return JSON.parse(e)}function qz(e){return typeof e!=`object`||!e||Array.isArray(e)?null:{...e}}function Jz(e){return Array.isArray(e)?e:[]}function Yz(e,t=``){return typeof e==`string`?e:t}function Xz(e,t=0){return typeof e==`number`?e:t}function Zz(e,t=!1){return typeof e==`boolean`?e:t}function Qz(e){try{return qz(Kz(e))}catch{return null}}function $z(e){try{let t=Kz(e);return Array.isArray(t)?t:null}catch{return null}}var eB=[/^user$/i,/^usr$/i,/^username$/i,/^password$/i,/^pwd$/i,/^pass$/i,/^passwd$/i,/^secret$/i,/^token$/i,/^auth$/i,/^auth[_-]?token$/i,/^bearer$/i,/^api[_-]?key$/i,/^access[_-]?token$/i,/^refresh[_-]?token$/i];function tB(e){return eB.some(t=>t.test(e))}function nB(e){try{let t=new URL(e),n=!1;(t.username||t.password)&&(t.username=``,t.password=``,n=!0);for(let e of Array.from(t.searchParams.keys()))tB(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,rB={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function iB(e){let t=(t,n,r)=>{let i=e[t];if(i===void 0)return n;let a=Number(i);return Number.isFinite(a)&&a>=r?a:n},n=rB;return{sampleIntervalMs:t(`CAMSTACK_POOL_MEM_INTERVAL_MS`,n.sampleIntervalMs,5e3),baselineSettleSamples:n.baselineSettleSamples,baselineSampleCount:n.baselineSampleCount,restartMultiple:t(`CAMSTACK_POOL_MEM_MULTIPLE`,n.restartMultiple,1.5),floorBytes:t(`CAMSTACK_POOL_MEM_FLOOR_MB`,n.floorBytes/$,128)*$,ceilingBytes:t(`CAMSTACK_POOL_MEM_CEILING_MB`,n.ceilingBytes/$,256)*$,cooldownMs:t(`CAMSTACK_POOL_MEM_COOLDOWN_MS`,n.cooldownMs,6e4),maxRestartsPerWindow:t(`CAMSTACK_POOL_MEM_MAX_RESTARTS`,n.maxRestartsPerWindow,1),restartWindowMs:t(`CAMSTACK_POOL_MEM_RESTART_WINDOW_MS`,n.restartWindowMs,6e4)}}function aB(e){let t=t=>{let n=e.match(RegExp(`^${t}:\\s+(\\d+)\\s*kB`,`m`));return n?Number(n[1])*1024:null},n=t(`VmRSS`);if(n===null)return null;let r=e.match(/^Threads:\s+(\d+)/m);return{rssBytes:n,vmBytes:t(`VmSize`)??0,hwmBytes:t(`VmHWM`)??0,swapBytes:t(`VmSwap`)??0,threads:r?Number(r[1]):0}}function oB(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function sB(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function cB(e,t,n){if(e.baselineBytes!==null)return e;if(e.settleSeen<n.baselineSettleSamples)return{...e,settleSeen:e.settleSeen+1};let r=[...e.baselineWindow,t];return r.length<n.baselineSampleCount?{...e,baselineWindow:r}:{...e,baselineWindow:r,baselineBytes:sB(r)}}function lB(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function uB(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function dB(e,t,n,r){let i=cB(e,t,r),a=lB(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=uB(i.restartsAt,n,r),s={...i,restartsAt:o};return o.length>=r.maxRestartsPerWindow?{state:s,action:`exhausted`,baselineBytes:i.baselineBytes,thresholdBytes:a}:s.lastRestartAt!==null&&n-s.lastRestartAt<r.cooldownMs?{state:s,action:`cooldown`,baselineBytes:i.baselineBytes,thresholdBytes:a}:{state:s,action:`restart`,baselineBytes:i.baselineBytes,thresholdBytes:a}}function fB(e,t){return{...oB(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function pB(e){return{...oB(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function mB(e){if(e.length===0)return null;let t=e[0];for(let n of e)n.rssBytes/n.thresholdBytes>t.rssBytes/t.thresholdBytes&&(t=n);return t.key}var hB=class{pools=new Map;timer=null;sweeping=!1;stopped=!1;opts;now;setTimer;clearTimer;constructor(e){this.opts=e,this.now=e.now??(()=>Date.now()),this.setTimer=e.setTimer??((e,t)=>setTimeout(e,t)),this.clearTimer=e.clearTimer??(e=>clearTimeout(e))}start(){this.timer||this.stopped||this.arm()}stop(){this.stopped=!0,this.timer&&=(this.clearTimer(this.timer),null)}arm(){let e=this.setTimer(()=>{this.sweep().finally(()=>{this.stopped||this.arm()})},this.opts.policy.sampleIntervalMs);typeof e.unref==`function`&&e.unref(),this.timer=e}async sweep(){if(!this.sweeping){this.sweeping=!0;try{await this.doSweep()}catch(e){this.opts.log.warn(`pool memory sweep failed`,{meta:{error:e instanceof Error?e.message:String(e)}})}finally{this.sweeping=!1}}}async doSweep(){let e=this.now(),t=await this.opts.sample(),n=[],r=new Map;for(let i of t){let t=this.pools.get(i.key),a=t?.state??oB();t&&t.pids.length>0&&!gB(t.pids,i.pids)&&(this.opts.log.warn(`pool process changed outside the watchdog — re-baselining`,{meta:{poolKey:i.key,previousPids:t.pids,pids:i.pids}}),a=pB(a));let o=dB(a,i.rssBytes,e,this.opts.policy);this.pools.set(i.key,{state:o.state,pids:i.pids}),r.set(i.key,o),this.opts.log.info(`pool memory`,{meta:{poolKey:i.key,pids:i.pids,rssMb:Math.round(i.rssBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),action:o.action,...i.meta}}),o.action===`restart`?n.push({key:i.key,rssBytes:i.rssBytes,thresholdBytes:o.thresholdBytes}):o.action===`cooldown`?this.opts.log.warn(`pool over memory threshold but inside restart cooldown`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),cooldownMs:this.opts.policy.cooldownMs}}):o.action===`exhausted`&&this.opts.log.error(`pool memory watchdog gave up — restart budget exhausted, pool leaks faster than restarts can pay for; needs a heap profile (py-spy / tracemalloc)`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),maxRestartsPerWindow:this.opts.policy.maxRestartsPerWindow,restartWindowMs:this.opts.policy.restartWindowMs}})}for(let e of[...this.pools.keys()])t.some(t=>t.key===e)||this.pools.delete(e);let i=mB(n);if(i===null)return;let a=n.find(e=>e.key===i),o=r.get(i),s=this.pools.get(i),c=s.state.restartsAt.length+1;this.opts.log.warn(`pool memory watchdog restarting pool — RSS over threshold`,{meta:{poolKey:i,pids:s.pids,rssMb:Math.round(a.rssBytes/$),thresholdMb:Math.round(a.thresholdBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),restartsInWindow:c,deferredCandidates:n.filter(e=>e.key!==i).map(e=>e.key)}});try{await this.opts.restart(i),this.pools.set(i,{state:fB(s.state,this.now()),pids:[]})}catch(e){this.opts.log.error(`pool memory watchdog restart failed`,{meta:{poolKey:i,error:e instanceof Error?e.message:String(e)}})}}};function gB(e,t){if(e.length!==t.length)return!1;let n=[...e].sort((e,t)=>e-t),r=[...t].sort((e,t)=>e-t);return n.every((e,t)=>e===r[t])}function _B(e,t,n){let r=t*n;if(r<=0||e.length===0)return Array.from({length:Math.max(0,r)}).fill(!1);let i=Array.from({length:r}).fill(!1);for(let r=0;r<n;r++)for(let a=0;a<t;a++){let o=(a+.5)/t,s=(r+.5)/n;for(let n of e)if(o>=n.x&&o<=n.x+n.w&&s>=n.y&&s<=n.y+n.h){i[r*t+a]=!0;break}}return i}function vB(e,t,n,r){if(t<=0||n<=0||r<=0)return[];let i=t*n,a=Array.from({length:i}).fill(!1),o=Math.min(e.length,i);for(let t=0;t<o;t++)a[t]=e[t]===!0;let s=[],c=[];for(let e=0;e<=n;e++){let r=[];if(e<n){let n=-1;for(let i=0;i<=t;i++){let o=i<t&&a[e*t+i]===!0;o&&n===-1?n=i:!o&&n!==-1&&(r.push({colStart:n,colEnd:i-1}),n=-1)}}let i=new Set,o=[];for(let t of c){let n=r.findIndex(e=>e.colStart===t.colStart&&e.colEnd===t.colEnd);n>=0?(o.push(t),i.add(n)):s.push({...t,rowEnd:e-1})}for(let t=0;t<r.length;t++)if(!i.has(t)){let n=r[t];o.push({colStart:n.colStart,colEnd:n.colEnd,rowStart:e})}c.length=0;for(let e of o)c.push(e)}if(s.length===0)return[];let l=s.slice().toSorted((e,t)=>{let n=(e.colEnd-e.colStart+1)*(e.rowEnd-e.rowStart+1);return(t.colEnd-t.colStart+1)*(t.rowEnd-t.rowStart+1)-n});return(r>0?l.slice(0,r):l).map(e=>({x:e.colStart/t,y:e.rowStart/n,w:(e.colEnd-e.colStart+1)/t,h:(e.rowEnd-e.rowStart+1)/n}))}var yB=class{capacity;items;head=0;tail=0;count=0;constructor(e){this.capacity=e,this.items=Array.from({length:e})}get size(){return this.count}push(e){this.items[this.tail]=e,this.tail=(this.tail+1)%this.capacity,this.count<this.capacity?this.count++:this.head=(this.head+1)%this.capacity}drain(e){let t=[],n=Math.min(e,this.count);for(let e=0;e<n;e++)t.push(this.items[this.head]),this.items[this.head]=void 0,this.head=(this.head+1)%this.capacity;return this.count-=n,t}};async function bB(e,t){let n=performance.now();try{return{output:t===void 0?await e():await SB(e(),t),durationMs:xB(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:xB(performance.now()-n),ok:!1,error:Wz(e)}}}function xB(e){return Math.round(e*100)/100}function SB(e,t){return new Promise((n,r)=>{let i=setTimeout(()=>r(Error(`Inference timeout after ${t}ms`)),t);e.then(e=>{clearTimeout(i),n(e)}).catch(e=>{clearTimeout(i),r(e)})})}var CB={cpu:`onnx`,coreml:`onnx`,cuda:`onnx`,tensorrt:`onnx`,"onnx-py":`onnx`,pytorch:`pt`,openvino:`openvino`},wB={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function TB(e){return wB[e]??`onnx`}var EB={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},DB={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function OB(e,t){return e===`node`?`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pytorch`,"onnx-py":`onnx`,cpu:`onnx`}[t]??t}function kB(e,t){return e===`node`?CB[t]??`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pt`,"onnx-py":`onnx`,cpu:`onnx`}[t]??`onnx`}function AB(e,t){return!e||e===`auto`?`auto`:OB(e,t??`cpu`)}function jB(e){return CB[e]??`onnx`}function MB(e){return EB[e]}function NB(e){return DB[e]}function PB(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function FB(e){return new Promise(t=>setTimeout(t,Math.max(0,e)))}function IB(e,t){return t.aborted?Promise.resolve():new Promise(n=>{let r=setTimeout(()=>{t.removeEventListener(`abort`,i),n()},Math.max(0,e)),i=()=>{clearTimeout(r),t.removeEventListener(`abort`,i),n()};t.addEventListener(`abort`,i,{once:!0})})}function LB(e){let t=e instanceof Float32Array?e:Float32Array.from(e),n=new Uint8Array(t.length*4),r=new DataView(n.buffer);for(let e=0;e<t.length;e+=1)r.setFloat32(e*4,t[e]??0,!0);return Buffer.from(n).toString(`base64`)}function RB(e){let t=Buffer.from(e,`base64`);if(t.byteLength%4!=0)throw Error(`decodeVectorBase64: ${t.byteLength} bytes is not a whole number of Float32 values`);let n=new Float32Array(t.byteLength/4);for(let e=0;e<n.length;e+=1)n[e]=t.readFloatLE(e*4);return n}function zB(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function BB(e,t,n,r,i){if(n.length===0||t.length===0)return{passed:e,excluded:[]};let a=n.filter(e=>e.enabled!==!1),o=a.filter(e=>e.mode===`include`),s=a.filter(e=>e.mode===`exclude`),c=o.length>0,l=new Map(t.map(e=>[e.id,e])),u=[],d=[];for(let t of e){let e=r(t),n=i?.(t),a=o.some(t=>VB(t,e,n,l)),f=s.some(t=>VB(t,e,n,l));c?a&&!f?u.push(t):d.push(t):f?d.push(t):u.push(t)}return{passed:u,excluded:d}}function VB(e,t,n,r){if(e.classFilter&&e.classFilter.length>0&&n!==void 0&&!e.classFilter.includes(n))return!1;for(let n of e.zoneIds){let e=r.get(n);if(e&&HB(t,e.polygon))return!0}return!1}function HB(e,t){if(t.length<3)return!1;let n=!1,{x:r,y:i}=e;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a];o.y>i!=s.y>i&&r<(s.x-o.x)*(i-o.y)/(s.y-o.y||2**-52)+o.x&&(n=!n)}return n}function UB(e,t,n){let r={};for(let i of Object.keys(n))r[i]=n=>e.addons.custom.mutate({addonId:t,action:i,input:n});return r}var WB={value:`auto`,label:`Auto`},GB={value:`cpu`,label:`CPU`},KB={value:`usb`,label:`Coral USB`},qB=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[GB];let t=[GB];return e.gpu?.type===`nvidia`&&t.push({value:`cuda`,label:`CUDA`}),e.npu?.type===`apple-ane`&&t.push({value:`coreml`,label:`CoreML EP`}),t},defaultDevice:`cpu`},{id:`openvino`,supports:e=>e?.arch===`x64`&&e.platform!==`darwin`&&e.gpu?.type===`intel`,devices:e=>{if(!e)return[WB];let t=[WB,GB];return e.gpu?.type===`intel`&&t.push({value:`gpu`,label:`GPU`}),e.npu?.type===`intel-npu`&&t.push({value:`npu`,label:`NPU`}),t},defaultDevice:`auto`},{id:`coreml`,supports:e=>e?.platform===`darwin`,devices:e=>{let t={value:`all`,label:`All (ANE + GPU + CPU)`};if(!e)return[t];let n=[t];return e.npu?.type===`apple-ane`&&n.push({value:`ane`,label:`Apple Neural Engine`}),n.push({value:`gpu`,label:`GPU`},GB),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[KB],defaultDevice:`usb`}];function JB(e){let t=qB.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function YB(e){return qB.filter(t=>t.supports(e)).map(e=>e.id)}function XB(e,t){return JB(e).devices(t)}function ZB(e){return JB(e).defaultDevice}function QB(e){return e===`edgetpu`?`tflite`:MB(e)}function $B(e){let t=[];if(e.platform===`darwin`&&e.arch===`arm64`&&t.push({runtime:`python`,backend:`coreml`,format:`coreml`,score:95,reason:`Apple Neural Engine (Python CoreML)`,available:!0}),e.gpu?.type===`nvidia`&&t.push({runtime:`python`,backend:`cuda`,format:`onnx`,score:85,reason:`NVIDIA CUDA (Python ONNX Runtime)`,available:!0}),e.gpu?.type===`intel`){let n=e.npu?.type===`intel-npu`?90:80;t.push({runtime:`python`,backend:`openvino`,format:`openvino`,score:n,reason:`Intel OpenVINO`,available:!0})}e.coral!=null&&t.push({runtime:`python`,backend:`edgetpu`,format:`tflite`,score:70,reason:`Coral Edge TPU (Python LiteRT)`,available:!0}),t.push({runtime:`python`,backend:`cpu`,format:`onnx`,score:50,reason:`CPU (Python ONNX Runtime)`,available:!0});let n=t.toSorted((e,t)=>t.score-e.score);return{scores:n,best:n.find(e=>e.available)??n[n.length-1]}}var eV={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function tV(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function nV(e){let{scores:t}=$B(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(tV(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(tV(`openvino`,`gpu`,r.format,r.score));continue}if(r.backend===`edgetpu`){let t=Math.max(1,e.coral?.count??1);for(let e=0;e<t;e++){let t=e===0?`usb`:`usb:${e}`;n.push(tV(`edgetpu`,t,r.format,r.score))}continue}let t=eV[r.backend]??r.backend;n.push(tV(r.backend,t,r.format,r.score))}return n}var rV=t({ACCESSORY_LABEL:()=>KN,ACCESS_ROLES:()=>az,ALEXA_EGRESS_PROFILE:()=>Kt,ALL_CAPABILITY_DEFINITIONS:()=>IF,APPLE_SA_TO_MACRO:()=>Ah,ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT:()=>200,AUDIO_ANALYSIS_CAP_NAME:()=>Gn,AUDIO_BACKEND_CHOICES:()=>Al,AUDIO_CHUNK_FORMATS:()=>ge,AUDIO_MACRO_LABELS:()=>Oh,AUDIO_PRESETS:()=>xt,AUDIO_SCALE_EPOCH_ISO:()=>tI,AUDIO_SCALE_EPOCH_MS:()=>nI,AccessoriesStatusSchema:()=>WC,AccessoryKind:()=>Y,AddBrokerInputSchema:()=>Ym,AddonAutoUpdateSchema:()=>fw,AddonListItemSchema:()=>ow,AddonPageDeclarationSchema:()=>Uc,AddonPageInfoSchema:()=>Vc,AdminLinkTargetEnum:()=>Vd,AdoptionAdoptInputSchema:()=>hf,AdoptionAdoptResultSchema:()=>gf,AdoptionCandidateResultSchema:()=>Pn,AdoptionFilterSchema:()=>cf,AdoptionGetCandidateInputSchema:()=>ff,AdoptionJobSchema:()=>Fn,AdoptionJobStateSchema:()=>Mn,AdoptionListCandidatesInputSchema:()=>uf,AdoptionListCandidatesOutputSchema:()=>df,AdoptionOutcomeSchema:()=>Nn,AdoptionReleaseInputSchema:()=>_f,AdoptionStatusSchema:()=>pf,AgentLoadSummarySchema:()=>ex,AirQualitySensorStatusSchema:()=>ww,AlarmArmModeSchema:()=>G,AlarmPanelStatusSchema:()=>qh,AlarmStateSchema:()=>Kh,AlertSchema:()=>pl,AlertSeveritySchema:()=>ul,AlertSourceSchema:()=>fl,AlertStatusSchema:()=>dl,AmbientLightSensorStatusSchema:()=>Ew,AnalyticsLtsSeriesSchema:()=>ob,ApiKeyRecordSchema:()=>j_,ApiKeySummarySchema:()=>YM,ArchiveEntrySchema:()=>Kl,ArchiveManifestSchema:()=>ql,ArchivedDebugNoteQueryInputSchema:()=>hr,ArchivedDebugNoteSchema:()=>mr,AttachmentMediaTypeSchema:()=>sh,AttachmentSchema:()=>ch,AudioAnalysisResultSchema:()=>wl,AudioAnalysisSettingsSchema:()=>Tl,AudioAttachDeviceInputSchema:()=>El,AudioAttachDeviceResultSchema:()=>Dl,AudioChunkFormatSchema:()=>Qr,AudioChunkInputSchema:()=>xl,AudioClassSummarySchema:()=>Ow,AudioClassificationLabelSchema:()=>Cl,AudioClassificationResultSchema:()=>kl,AudioCodecInfoSchema:()=>Pl,AudioDecodeSessionConfigSchema:()=>Fl,AudioDetachDeviceResultSchema:()=>Ol,AudioEncodeSchema:()=>ft,AudioEncodeSessionConfigSchema:()=>Il,AudioEncodedChunkSchema:()=>Rl,AudioEventSchema:()=>$v,AudioLevelSchema:()=>Sl,AudioMetricsHistoryPointSchema:()=>Aw,AudioMetricsHistorySchema:()=>jw,AudioMetricsSnapshotSchema:()=>kw,AudioPcmChunkSchema:()=>Ll,AudioStreamPickSchema:()=>Fr,AuthResultSchema:()=>Vl,AutoUpdateSettingsSchema:()=>dw,AutomationActionSchema:()=>mc,AutomationConditionOperatorSchema:()=>lc,AutomationConditionSchema:()=>fc,AutomationControlStatusSchema:()=>Nw,AutomationRecipeSchema:()=>hc,AutomationTriggerSchema:()=>pc,AvailableIntegrationTypeSchema:()=>AE,BACKEND_TO_FORMAT:()=>CB,BASE_LIVE_EGRESS_PROFILE:()=>Wt,BATTERY_DEVICE_PROFILE:()=>AP,BATTERY_UNREACHABLE_AFTER_MS:()=>aP,BIRTH_DECISION_DEFAULT_LIMIT:()=>500,BOOT_RECOVERY_BACKOFF_MS:()=>Pz,BacklightModeSchema:()=>SE,BackupDestinationInfoSchema:()=>Ul,BackupEntrySchema:()=>Gl,BackupRunPhaseSchema:()=>Xl,BackupRunSchema:()=>Zl,BackupRunStateSchema:()=>Yl,BackupTriggerResultSchema:()=>Ql,BaseAddon:()=>nt,BaseDevice:()=>QN,BaseDeviceProvider:()=>iP,BatteryStatusSchema:()=>Fw,BinaryStatusSchema:()=>Lw,BirthDecisionQueryInputSchema:()=>fr,BirthDecisionRecordSchema:()=>dr,BirthDecisionVerdictSchema:()=>ur,BoundingBoxSchema:()=>z,BrightnessStatusSchema:()=>zw,BrokerAddInputSchema:()=>su,BrokerAudioClientSchema:()=>ju,BrokerClientsSchema:()=>Fu,BrokerConnectionDetailsSchema:()=>Jm,BrokerConsumerAttributionSchema:()=>Nu,BrokerConsumerKindSchema:()=>Mu,BrokerDecodedClientSchema:()=>Au,BrokerEncodedClientSchema:()=>Pu,BrokerGetStateInputSchema:()=>bu,BrokerInfoSchema:()=>qm,BrokerProviderInfoSchema:()=>iu,BrokerPublishInputSchema:()=>gu,BrokerRegistryStatusSchema:()=>ru,BrokerRtspClientSchema:()=>ku,BrokerStatsSchema:()=>ri,BrokerStatusEnum:()=>tu,BrokerStatusSchema:()=>ni,BrokerSubscribeInputSchema:()=>_u,BrokerSubscribeResultSchema:()=>vu,BrokerTestConnectionResultSchema:()=>uu,BrokerUnsubscribeInputSchema:()=>yu,BulkRecordSchema:()=>Ad,CAMERA_SWITCH_CATALOG:()=>Yn,CAMERA_SWITCH_ORDER:()=>Rn,CAM_PROFILE_ORDER:()=>Pr,CAPABILITY_NAMES:()=>PF,CAPABILITY_ROUTER_KEYS:()=>FF,CAP_NAMES_WITH_STATUS:()=>NF,CAP_NODE_PIN_CONTEXT_KEY:()=>Tc,CAP_PROVIDER_KIND_MAP:()=>GF,CLASS_MAP_MACRO_TARGETS:()=>oi,CLIP_BROKER_PACED_RATES:()=>EC,CLIP_PLAYBACK_OPTIONS:()=>NC,CLIP_REALTIME_SOURCE_RATES:()=>OC,CLIP_REASON_HEADER_MAX:()=>500,CLIP_STILL_DISPOSITION_HEADER:()=>mC,CLIP_STILL_REASON_CODE_HEADER:()=>pC,CLIP_STILL_REASON_HEADER:()=>dC,CLIP_STREAM_SOURCE_RATES:()=>DC,CLIP_STREAM_TRANSPORT_HEADER:()=>hC,CLUSTER_MODEL_SCOPED_STEPS:()=>oR,CLUSTER_MODEL_SECTION_ID:()=>sR,CLUSTER_STEP_SETTING_FIELDS:()=>gR,COCO_80_LABELS:()=>Ch,COCO_TO_MACRO:()=>Dh,CONNECTION_TEST_TIMEOUT_MS:()=>sT,CONTAINER_CHILD_PRIORITY:()=>cP,CORE_BLOCKS_ADDON_ID:()=>dd,CORE_BLOCK_ADDON_PREFIX:()=>ud,CamProfileSchema:()=>C,CamStreamDescriptorSchema:()=>Gj,CamStreamKindSchema:()=>Ir,CamStreamResolutionSchema:()=>Lr,CameraAssignmentStatusSchema:()=>ox,CameraAudioStatusSchema:()=>gx,CameraBrokerProfileSchema:()=>sx,CameraBrokerStatusSchema:()=>cx,CameraCredentialsSchema:()=>Hw,CameraCredentialsStatusSchema:()=>Uw,CameraDecoderShmSchema:()=>lx,CameraDecoderStatusSchema:()=>ux,CameraDetectionPhaseSchema:()=>mx,CameraDetectionProvisioningSchema:()=>px,CameraDetectionProvisioningStateSchema:()=>fx,CameraDetectionStatusSchema:()=>hx,CameraMetricsSchema:()=>fb,CameraMetricsWithDeviceIdSchema:()=>pb,CameraMotionStatusSchema:()=>dx,CameraOccupancySnapshotForDeviceSchema:()=>SN,CameraRecordingModeSchema:()=>_x,CameraRecordingStatusSchema:()=>vx,CameraSourceStatusSchema:()=>ax,CameraSourceStreamSchema:()=>ix,CameraStatusDegradationReasonSchema:()=>bx,CameraStatusDegradationSchema:()=>xx,CameraStatusSchema:()=>Cx,CameraStatusStageSchema:()=>yx,CameraStreamSchema:()=>Rr,CameraSwitchAuthoritySchema:()=>zn,CameraSwitchGroupSchema:()=>Un,CameraSwitchIdSchema:()=>Ln,CameraSwitchSchema:()=>Hn,CameraSwitchUnavailableReasonSchema:()=>Bn,CameraSwitchWarningSchema:()=>Vn,CandidateQueryFilterSchema:()=>lf,CapScopeSchema:()=>E_,CapabilityBindingsSchema:()=>nx,CarbonMonoxideStatusSchema:()=>Zw,ChargingStatus:()=>gl,ClientNetworkStatsSchema:()=>tO,ClimateControlStatusSchema:()=>eT,ClipBytesOfferSchema:()=>SC,ClipBytesSchema:()=>xC,ClipExportFailureSchema:()=>MA,ClipPlaybackOptionsSchema:()=>kC,ClipPlaybackSchema:()=>_C,ClipSchema:()=>gC,ClipSourceAvailabilitySchema:()=>AC,ClipSourceSchema:()=>jC,ClipStillDispositionSchema:()=>uC,ClipStillRefusalCodeSchema:()=>lC,ClipStreamAudioReasonSchema:()=>wC,ClipStreamAudioSchema:()=>CC,ClipStreamDialSchema:()=>TC,ClipWakeSchema:()=>vC,ClusterAddonNodeDeploymentSchema:()=>dO,ClusterAddonStatusEntrySchema:()=>fO,CollectionColumnSchema:()=>jd,CollectionIndexSchema:()=>Md,ColorStatusSchema:()=>aT,ConfigEntrySchema:()=>Zf,ConfigSectionWithValuesSchema:()=>Xc,ConfigTabDeclarationSchema:()=>Yc,ConnectionTestDescriptorSchema:()=>uT,ConnectionTestInputSchema:()=>lT,ConnectionTestOutcomeSchema:()=>cT,ConnectivityStatusSchema:()=>fT,ConsumableItemSchema:()=>mT,ConsumablesStatusSchema:()=>hT,ContactStatusSchema:()=>_T,ControlKindSchema:()=>yT,ControlStatusSchema:()=>bT,ConvertArtifactSchema:()=>ds,ConvertResultSchema:()=>fs,ConvertTargetSchema:()=>ls,CoreBlockCompileResultSchema:()=>vd,CoreBlockInputSchema:()=>gd,CoreBlockPlacementSchema:()=>md,CoreBlockSchema:()=>_d,CoreBlockStatusSchema:()=>hd,CoverStateSchema:()=>CT,CoverStatusSchema:()=>wT,CreateApiKeyInputSchema:()=>XM,CreateApiKeyResultSchema:()=>ZM,CreateIntegrationInputSchema:()=>NE,CreateScopedTokenInputSchema:()=>$M,CreateScopedTokenResultSchema:()=>eN,CreateUserInputSchema:()=>qM,CustomActionInputSchema:()=>Sw,CustomModelDescriptorSchema:()=>wd,DATAPLANE_SECRET_HEADER:()=>En,DAYS_PER_WEEK:()=>7,DAY_NAMES:()=>rj,DECLARED_DEVICE_SWEEP_LIMIT:()=>32,DECLARED_INTEGRATION_FIXED_KEY:()=>gP,DEFAULT_ADDON_PLACEMENT:()=>vn,DEFAULT_AUDIO_ANALYZER_CONFIG:()=>jl,DEFAULT_CLUSTER_STEP_MODELS:()=>uR,DEFAULT_CLUSTER_STEP_SETTINGS:()=>xR,DEFAULT_DECODER_HWACCEL_CONFIG:()=>Ld,DEFAULT_DETAIL_CROP_CONVENTION:()=>OR,DEFAULT_EVENTS_BAND_BUFFER_SEC:()=>xi,DEFAULT_EVENT_COLOR:()=>Ph,DEFAULT_FEATURES:()=>Er,DEFAULT_FIRST_SIGHTING_FRESHNESS_MS:()=>VN,DEFAULT_MIN_LANDMARK_FACE_SIZE_PX:()=>24,DEFAULT_NATIVE_LEASE_SETTINGS:()=>Q,DEFAULT_OVERLAY_LAYERS:()=>Ro,DEFAULT_POOL_MEMORY_POLICY:()=>rB,DEFAULT_RECORDING_PROFILES:()=>Di,DEFAULT_RETENTION:()=>In,DEFAULT_RUNTIME_STATE_DURABILITY:()=>kc,DEFAULT_TIMELAPSE_PREVIEW_TEXT:()=>tR,DEFAULT_TOKEN_EXPIRY:()=>`30d`,DERIVED_CAMERA_SILENCED_CAP_NAMES:()=>Jn,DETAIL_CROP_PADDING_FIELD:()=>NR,DETAIL_CROP_PADDING_KEY:()=>TR,DETAIL_CROP_SECTION_ID:()=>wR,DETAIL_CROP_SQUARE_KEY:()=>ER,DETECTION_MACRO_CLASSES:()=>Th,DETECTION_PIPELINE_CAP_NAME:()=>Wn,DEVICE_BACKEND_TO_FORMAT:()=>wB,DEVICE_CAP_NAMES:()=>VF,DEVICE_CHILDREN_BATCH_MAX:()=>256,DEVICE_PROFILES:()=>jP,DEVICE_RESTORE_RETRY_CONCURRENCY:()=>4,DEVICE_RESTORE_RETRY_DELAYS_MS:()=>$N,DEVICE_SCOPED_CAPS:()=>LF,DEVICE_SETTINGS_CONTRIBUTION_METHODS:()=>Pc,DEVICE_STATE_READERS:()=>jN,DEVICE_STATUS_METHOD:()=>Fc,DEVICE_TYPE_CONTROL_KIND:()=>yP,DEVICE_TYPE_INFO:()=>Cz,DISPLAY_ICON_GROUPS:()=>RP,DISPLAY_ICON_KEYS:()=>BP,DISPLAY_ICON_OFFERED_KEYS:()=>VP,DISPLAY_ICON_VOCABULARY:()=>zP,DataStoreEngineInfoSchema:()=>Pd,DayNightModeSchema:()=>ET,DayNightOptionsSchema:()=>kT,DayNightSettingsPatchSchema:()=>AT,DayNightStatusSchema:()=>OT,DeclaredDevices:()=>vP,DecodedAudioChunkSchema:()=>$r,DecodedFrameSchema:()=>Jr,DecoderSessionConfigSchema:()=>Ya,DecoderStatsSchema:()=>Ja,DeleteIntegrationResultSchema:()=>FE,DetailCropConventionSchema:()=>DR,DetectionCatalogClassMapSchema:()=>li,DetectionSourceSchema:()=>Jv,DetectionSourcesSchema:()=>Pb,DeviceAdminLinkSchema:()=>Hd,DeviceCodeSeveritySchema:()=>HE,DeviceConfig:()=>JN,DeviceDiscoveryStatusSchema:()=>of,DeviceExportExposeInputSchema:()=>Df,DeviceExportStatusSchema:()=>wf,DeviceExportUnexposeInputSchema:()=>Of,DeviceFeature:()=>hl,DeviceInfoSchema:()=>Xf,DeviceNetworkStatsSchema:()=>nO,DeviceRestoreRetryScheduler:()=>nP,DeviceRole:()=>R,DeviceRuntimeState:()=>YN,DeviceSelectorSchema:()=>D_,DeviceStatusSchema:()=>IT,DeviceType:()=>L,DiagnosticIdSchema:()=>xM,DiagnosticWindowPatchSchema:()=>OM,DiagnosticWindowSchema:()=>DM,DiscoveredChildDeviceSchema:()=>af,DiscoveredChildStatusSchema:()=>rf,DiscoveredDeviceSchema:()=>Bf,DiscoveredTargetSchema:()=>vh,DiskReconcileJobSchema:()=>Sx,DisposerChain:()=>ut,DoorbellPressEventSchema:()=>zT,DoorbellStatusSchema:()=>RT,EVENTFUL_CAP_NAMES:()=>Px,EVENT_DENSITY_BATCH_MAX:()=>200,EVENT_KIND_BY_CAP:()=>Nx,EVENT_OWNER_TYPES:()=>Ae,EVENT_PAD_MS:()=>ui,EVENT_TAXONOMY:()=>W,EXPORT_DENSE_MAX_RANGES:()=>200,EXPRESSION_BUILTINS:()=>Ss,EXPRESSION_BUILTIN_NAMES:()=>Cs,EXPRESSION_COMPILE_CACHE_CAPACITY:()=>256,EXPRESSION_IDENTIFIER_RE:()=>Es,EXPRESSION_INJECTED_NOW:()=>`now`,EgressEncodeSchema:()=>Vu,EgressRateControlSchema:()=>Hu,EgressTranscodeRequestSchema:()=>Uu,EgressTranscodeSchema:()=>Wu,ElementConfigStore:()=>Hz,EmbeddingInfoSchema:()=>hp,EmbeddingResultSchema:()=>mp,EncodeProfileSchema:()=>pt,EncodedPacketSchema:()=>qr,EnrichedWidgetMetadataSchema:()=>al,EnumSensorDateTimeFormatSchema:()=>VT,EnumSensorStatusSchema:()=>HT,EventCategory:()=>Ie,EventDensityBucketSchema:()=>Ry,EventDensityForDeviceSchema:()=>zy,EventEmitterStatusSchema:()=>GT,EventFireSchema:()=>WT,EventKindCategorySchema:()=>wv,EventKindDescriptorSchema:()=>Ev,EventKindIconSchema:()=>Cv,EventKindSchema:()=>xv,EventKindsForDeviceSchema:()=>Dv,EventMediaArtifactSchema:()=>Tu,EventMediaCoverageSchema:()=>Eu,EventMediaKindSchema:()=>wu,EventMediaProductionSchema:()=>Du,EventOwnerTypeSchema:()=>je,EventSourceType:()=>MF,ExportBytesSchema:()=>LA,ExportClipSubjectSchema:()=>kA,ExportDenseRangeSchema:()=>CA,ExportDenseSchema:()=>wA,ExportDownloadSchema:()=>FA,ExportFootageSubjectSchema:()=>OA,ExportOptionsSchema:()=>EA,ExportRecordSchema:()=>jA,ExportSetupFieldSchema:()=>Sf,ExportSetupSchema:()=>Cf,ExportSpeedSchema:()=>SA,ExportStateSchema:()=>DA,ExportSubjectSchema:()=>AA,ExportTimelapseSchema:()=>TA,ExposedDeviceSchema:()=>Ef,ExposureModeSchema:()=>xE,ExpressionBindingSourceSchema:()=>sc,ExpressionEvalError:()=>k,ExpressionFieldBindingSchema:()=>ic,ExpressionGlobalBindingSchema:()=>oc,ExpressionLiteralBindingSchema:()=>ac,ExpressionParseError:()=>O,ExpressionSourceSchema:()=>cc,FIRST_LEVEL_MACRO_CLASSES:()=>si,FULL_IMAGE_BBOX:()=>MR,FailureContributionSchema:()=>vp,FailureCounters:()=>ho,FailureReasonCountSchema:()=>_p,FanControlStatusSchema:()=>aE,FanDirectionSchema:()=>iE,FeatureManifestSchema:()=>sM,FeatureProbeStatusSchema:()=>sE,FloodStatusSchema:()=>lE,Fmp4BoxSplitter:()=>$t,FrameHandleFormatSchema:()=>Yr,FrameHandleSchema:()=>w,FrameInputSchema:()=>yl,FrameLazyCountersSchema:()=>Vb,FrameLazyMetricsSchema:()=>Hb,G711_SCALE_CORRECTION_DB:()=>rI,GasStatusSchema:()=>dE,GetLoggingSettingsInputSchema:()=>PM,GetStreamWithCodecInputSchema:()=>zu,GlobalMetricsSchema:()=>tx,GridLayoutPatchSchema:()=>Yw,GridLayoutViewSchema:()=>Jw,HAP_AUDIO_BASE:()=>Yt,HAP_AUDIO_BITRATE_KBPS:()=>24,HAP_AUDIO_VBV_KBITS:()=>96,HAP_KEYFRAME_INTERVAL_SEC:()=>4,HF_BASE_URL:()=>WN,HF_REPO:()=>UN,HOURS_PER_DAY:()=>24,HWACCEL_OPTIONS:()=>Id,HealthStatusSchema:()=>cM,HfModelResolutionSchema:()=>Zp,HistoryPointSchema:()=>TN,HistoryResolutionEnum:()=>CN,HumidifierStatusSchema:()=>pE,HumiditySensorStatusSchema:()=>hE,HvacModeSchema:()=>$w,INFERENCE_DEVICE_EXCLUSION_REASONS:()=>wx,ImageContractSchema:()=>zx,ImageContractStateSchema:()=>Rx,ImageRotateSchema:()=>yE,ImageSettingsOptionsSchema:()=>TE,ImageSettingsPatchSchema:()=>EE,ImageSettingsStatusSchema:()=>wE,ImageStatusSchema:()=>_E,InferenceDeviceExclusionReasonSchema:()=>Tx,IngestOwnerSchema:()=>rx,InstalledPackageSchema:()=>sw,IntegrationLiteSchema:()=>kE,IntegrationWithStateSchema:()=>OE,IntercomAbilitySchema:()=>LE,IntercomStatusSchema:()=>RE,KNOWN_CAP_NAMES:()=>BF,KeyEventSchema:()=>Fy,LEGACY_READ_ONLY_CONFIG_KEY:()=>Da,LOAD_CONTRIBUTION_ATTRIBUTIONS:()=>rm,LOAD_CONTRIBUTION_ROLES:()=>nm,LOCATION_DESCRIPTION_MAX:()=>400,LOCATION_ICON_FALLBACK:()=>jf,LOCATION_ICON_IDS:()=>Af,LOG_CHANNEL_TICK_MS:()=>lo,LOG_LEVEL_RANK:()=>Dr,LTS_SCOPE_CLASS_SEPARATOR:()=>`|`,LabelAttributionSchema:()=>Vv,LabelDefinitionSchema:()=>ai,LabelTierSchema:()=>Bv,LawnMowerActivitySchema:()=>VE,LawnMowerControlStatusSchema:()=>UE,LedgerWalkDeviceReportSchema:()=>ma,LedgerWalkInputSchema:()=>ua,LedgerWalkRefusalSchema:()=>da,LedgerWalkReportSchema:()=>ha,LedgerWalkSkipCountsSchema:()=>pa,LedgerWalkSkipReasonSchema:()=>fa,LegacyStorageLocationDefaultSchema:()=>Ba,LinkedDeviceSchema:()=>$f,LinkedDevicesModeSchema:()=>Qf,LlmDefaultSchema:()=>Jp,LlmDefaultSelectorSchema:()=>qp,LlmDownloadProgressSchema:()=>Lp,LlmErrorCodeSchema:()=>Ep,LlmGenerateBaseInputSchema:()=>Np,LlmGenerateErrSchema:()=>Op,LlmGenerateOkSchema:()=>Dp,LlmGenerateResultSchema:()=>kp,LlmImageSchema:()=>Ap,LlmNodeModelSchema:()=>zp,LlmProfileKindDescriptorSchema:()=>Kp,LlmProfileKindSchema:()=>Up,LlmProfileSchema:()=>Wp,LlmRetryPolicySchema:()=>jp,LlmRuntimeCompleteInputSchema:()=>Vp,LlmRuntimeDiskUsageSchema:()=>Bp,LlmRuntimeNodeSchema:()=>Qp,LlmRuntimeStatusSchema:()=>Rp,LlmTimeoutDefaults:()=>Mp,LlmUsageRollupSchema:()=>Yp,LlmUsageSchema:()=>Tp,LoadContributionSchema:()=>im,LocateSegmentResultSchema:()=>_A,LocationDescriptionAssignmentSchema:()=>If,LocationIconAssignmentSchema:()=>Nf,LocationIconIdSchema:()=>Mf,LocationStatSchema:()=>Jl,LockControlStatusSchema:()=>aD,LockStateSchema:()=>iD,LogChannelApplyResultSchema:()=>om,LogChannelDescriptorSchema:()=>to,LogChannelGate:()=>ro,LogChannelLevelSchema:()=>eo,LogChannelRegistry:()=>io,LogChannelWindowPatchSchema:()=>AM,LogChannelWindowSchema:()=>no,LogChannelWindowStateSchema:()=>kM,LogEntrySchema:()=>lm,LogLevelSchema:()=>cm,LogStreamEntrySchema:()=>bw,LoggingEffectiveSchema:()=>TM,LoggingExplicitSchema:()=>EM,LoggingLevelLayerSchema:()=>wM,LoggingLevelSourceSchema:()=>CM,LoggingScopeKindSchema:()=>SM,LoggingSettingsPatchSchema:()=>jM,LoggingSettingsStateSchema:()=>IM,LoginMethodContributionSchema:()=>hm,LoginStageEnum:()=>dm,LtsBucketSchema:()=>lb,MACRO_LABELS:()=>wh,MAX_ARCHIVED_DEBUG_NOTES:()=>pr,MAX_BIRTH_DECISION_RECORDS:()=>cr,MAX_BIRTH_LATENCY_PROXY_MS:()=>lr,MAX_CLIP_EVENT_IDS:()=>24,MAX_CLIP_LABELS:()=>3,MAX_CONDITION_DEPTH:()=>3,MAX_CONDITION_LEAVES:()=>32,MAX_EXPRESSION_AST_NODES:()=>256,MAX_EXPRESSION_BINDINGS:()=>32,MAX_EXPRESSION_CALL_ARGS:()=>16,MAX_EXPRESSION_EVAL_STEPS:()=>Ts,MAX_EXPRESSION_SOURCE_LENGTH:()=>ws,MAX_KEYS:()=>fo,MAX_REASONS_PER_KEY:()=>16,MAX_SENSOR_TRIGGER_DEVICES:()=>16,MAX_TRACK_DEBUG_NOTE_LEN:()=>500,MEDIA_OWNER_TYPES:()=>we,MEDIA_PRESENCE_OWNER_KINDS:()=>Me,METHOD_ACCESS_MAP:()=>zF,METHOD_DEVICE_SELECTORS:()=>UF,MINUTES_PER_DAY:()=>nj,MODEL_FORMATS:()=>es,MODEL_PROVIDER_IDS:()=>as,MOTION_CLOSE_AFTER_MS:()=>gD,MOTION_TRIGGER_FEATURE:()=>SP,ManagedModelCatalogEntrySchema:()=>Xp,ManagedModelExtraFileSchema:()=>Pp,ManagedModelRefSchema:()=>Fp,ManagedRuntimeConfigSchema:()=>Ip,MaskGridDimsSchema:()=>rg,MaskGridShapeSchema:()=>Qh,MaskLineShapeSchema:()=>$h,MaskPointSchema:()=>Yh,MaskPolygonShapeSchema:()=>Zh,MaskPolygonVerticesSchema:()=>ng,MaskRectShapeSchema:()=>Xh,MaskShapeKindSchema:()=>tg,MaskShapeSchema:()=>eg,MediaFileInfoSchema:()=>ry,MediaFileKindEnum:()=>ey,MediaFileRefSchema:()=>ty,MediaFileSchema:()=>ny,MediaPlayerRepeatSchema:()=>cD,MediaPlayerStateSchema:()=>sD,MediaPlayerStatusSchema:()=>uD,MediaPresenceOwnerKindSchema:()=>Ne,MediaRelocateModeSchema:()=>Bi,MeshPeerSchema:()=>pD,MeshStatusSchema:()=>mD,MethodAccessSchema:()=>C_,MigrateDeviceResultSchema:()=>dp,MigrateSwitchOutcomeSchema:()=>lp,MigrateSwitchReportSchema:()=>up,ModelCatalogEntrySchema:()=>cs,ModelConvertInputSchema:()=>Lm,ModelConvertMetadataSchema:()=>us,ModelDistributeInputSchema:()=>zm,ModelDistributeResultSchema:()=>Bm,ModelExtraFileSchema:()=>ns,ModelFormatEntrySchema:()=>ts,ModelFormatsSchema:()=>rs,ModelProviderIdSchema:()=>os,ModelSubstitutionSchema:()=>Y_,ModelVariantGroupSchema:()=>is,MotionAnalysisResultSchema:()=>Um,MotionEventSchema:()=>qv,MotionOnMotionChangedDataSchema:()=>vD,MotionRegionSchema:()=>Hm,MotionSourceEnum:()=>Mb,MotionSourcesSchema:()=>Nb,MotionStatusSchema:()=>_D,MotionTriggerRuntimeStateSchema:()=>xD,MotionTriggerStatusSchema:()=>bD,MotionZoneOptionsSchema:()=>TD,MotionZonePatchSchema:()=>ED,MotionZoneRegionSchema:()=>CD,MotionZoneStatusSchema:()=>wD,MqttBrokerStatusSchema:()=>th,MutationFilterSchema:()=>Ed,NATIVE_LEASE_ACTIVITY_FIELD:()=>YR,NATIVE_LEASE_ACTIVITY_KEY:()=>VR,NATIVE_LEASE_ADMISSION_FIELD:()=>QR,NATIVE_LEASE_ADMISSION_KEY:()=>HR,NATIVE_LEASE_BUDGET_FIELD:()=>JR,NATIVE_LEASE_BUDGET_KEY:()=>BR,NATIVE_LEASE_HOLD_FIELD:()=>qR,NATIVE_LEASE_HOLD_KEY:()=>zR,NATIVE_LEASE_SCENE_BUDGET_FIELD:()=>ZR,NATIVE_LEASE_SCENE_BUDGET_KEY:()=>WR,NATIVE_LEASE_SECTION_ID:()=>RR,NATIVE_LEASE_TILE_BUDGET_FIELD:()=>XR,NATIVE_LEASE_TILE_BUDGET_KEY:()=>UR,NAVIGATION_ACTION_CATALOG:()=>BD,NAVIGATION_LIGHT_LEVEL_MAX:()=>100,NAVIGATION_LIGHT_LEVEL_MIN:()=>40,NC_ALARM_SYSTEM_EVENT_KINDS:()=>cg,NC_AUDIO_CONFIRM_HITS_DEFAULT:()=>2,NC_AUDIO_CONFIRM_HITS_MAX:()=>20,NC_AUDIO_CONFIRM_HITS_MIN:()=>1,NC_AUDIO_CONFIRM_WINDOW_MAX_SEC:()=>60,NC_AUDIO_CONFIRM_WINDOW_MIN_SEC:()=>1,NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT:()=>5,NC_AUDIO_DBFS_FLOOR:()=>-96,NC_AUDIO_DB_MAX:()=>0,NC_AUDIO_DB_MIN:()=>lI,NC_AUDIO_DB_OFFERED:()=>uI,NC_AUDIO_DB_STEP:()=>3,NC_AUDIO_DEFAULTS:()=>dI,NC_AUDIO_HIT_PERCENT_MAX:()=>100,NC_AUDIO_HIT_PERCENT_MIN:()=>1,NC_AUDIO_SAMPLING_MAX_SEC:()=>300,NC_AUDIO_SAMPLING_MIN_SEC:()=>1,NC_AUDIO_SEED:()=>hL,NC_AUTHORABLE_SYSTEM_EVENT_KINDS:()=>sg,NC_BASE_CONDITION_KEYS:()=>kI,NC_CLIP_RETENTION_MAX_SEC:()=>60,NC_CONDITION_CATALOG:()=>$g,NC_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,NC_CONFIRM_DEFAULT_TIMEOUT_MS:()=>Pg,NC_CONFIRM_MAX_TIMEOUT_MS:()=>Ng,NC_CONFIRM_MIN_TIMEOUT_MS:()=>Mg,NC_DEFAULT_SNOOZE_MINUTES:()=>dg,NC_HISTORY_LIMIT_DEFAULT:()=>100,NC_HISTORY_LIMIT_MAX:()=>500,NC_MAX_PER_TRACK_IMMEDIATE:()=>1,NC_OCCUPANCY_DEFAULTS:()=>mL,NC_RULE_CLEARABLE_KEYS:()=>zg,NC_RULE_EDITOR_SECTION_ORDER:()=>vL,NC_RULE_KIND_SPECS:()=>$I,NC_RULE_SECTIONS:()=>sL,NC_SNOOZE_MAX_MINUTES:()=>ug,NC_SYSTEM_DELIVERY:()=>tL,NC_SYSTEM_EVENT_FILTER_KEYS:()=>RL,NC_TAXONOMY:()=>Gh,NC_TEMPLATE_VARS:()=>ML,NETWORK_LINK_TYPES:()=>JD,NETWORK_LINK_UNKNOWN:()=>XD,NativeCropBboxSchema:()=>mb,NativeCropRefSchema:()=>F_,NativeCropResultSchema:()=>hb,NativeDetectionSchema:()=>kD,NativeLeaseAdmissionSchema:()=>GR,NativeLeaseSettingsSchema:()=>KR,NativeObjectClassEnum:()=>OD,NativeObjectDetectionOptionsSchema:()=>MD,NativeObjectDetectionRuntimeStateSchema:()=>PD,NativeObjectDetectionSettingsPatchSchema:()=>ND,NativeObjectDetectionStatusSchema:()=>AD,NativeObjectGeometryEnum:()=>jD,NavigationActionEntrySchema:()=>zD,NavigationActionIdSchema:()=>LD,NavigationEntryKindSchema:()=>RD,NavigationFeaturesSchema:()=>HD,NavigationLightModeSchema:()=>UD,NavigationModeSchema:()=>WD,NavigationMoveCommandSchema:()=>ID,NavigationPointSchema:()=>VD,NavigationRuntimeStateSchema:()=>KD,NavigationStatusSchema:()=>GD,NcAlarmConfigSchema:()=>y_,NcAlarmModeCoverageSchema:()=>m_,NcAlarmSettingsPatchSchema:()=>d_,NcAlarmSettingsSchema:()=>u_,NcAlarmSkipReasonSchema:()=>f_,NcAlarmSkippedDeviceSchema:()=>p_,NcAudioConditionSchema:()=>gg,NcClipRetentionAskSchema:()=>b_,NcClipRetentionPlanSchema:()=>x_,NcConditionDescriptorSchema:()=>Qg,NcConditionsSchema:()=>Tg,NcConfirmExpectSchema:()=>Fg,NcConfirmSchema:()=>Ig,NcCrossingSchema:()=>_g,NcDeliverySchema:()=>ig,NcDeviceStateConditionSchema:()=>Cg,NcHistoryEntrySchema:()=>r_,NcHistoryFilterSchema:()=>i_,NcHistoryRecordKindSchema:()=>t_,NcHistoryStatusSchema:()=>e_,NcHistorySubjectSchema:()=>n_,NcLinkedCameraModeSchema:()=>Og,NcMediaFrameSchema:()=>Dg,NcMediaPolicySchema:()=>kg,NcOccupancyConditionSchema:()=>hg,NcPlateMatcherSchema:()=>mg,NcRuleActionSchema:()=>yg,NcRuleActionSequenceSchema:()=>bg,NcRuleActionsSchema:()=>Sg,NcRuleClearableKeySchema:()=>Bg,NcRuleInputSchema:()=>Lg,NcRuleKindSchema:()=>Wg,NcRuleNotificationButtonSchema:()=>xg,NcRulePatchSchema:()=>Rg,NcRuleSchema:()=>Hg,NcRuleTargetSchema:()=>Eg,NcRuleUpdateInputSchema:()=>Vg,NcSceneConditionSchema:()=>wg,NcScheduleSchema:()=>pg,NcScheduleWindowSchema:()=>fg,NcSnoozeInputSchema:()=>o_,NcSnoozeSchema:()=>s_,NcSnoozeScopeSchema:()=>a_,NcSnoozeSuppressedSchema:()=>c_,NcSystemEventConditionSchema:()=>lg,NcSystemEventKindSchema:()=>ag,NcTaxonomyEntrySchema:()=>Vh,NcTaxonomySchema:()=>Hh,NcTemplateFamilySchema:()=>Gg,NcTemplateFieldSchema:()=>Kg,NcTemplatePreviewInputSchema:()=>Xg,NcTemplatePreviewSchema:()=>Zg,NcTemplateVarContextSchema:()=>Yg,NcTemplateVarDescriptorSchema:()=>Jg,NcTemplateVarGroupSchema:()=>qg,NcTestResultSchema:()=>Ug,NcThrottleGranularitySchema:()=>Ag,NcThrottleSchema:()=>jg,NcZoneConditionSchema:()=>vg,NetworkAccessStatusSchema:()=>ih,NetworkAddressSchema:()=>lM,NetworkEndpointSchema:()=>rh,NetworkLinkStatusSchema:()=>YD,NotificationActionIconSchema:()=>uh,NotificationActionSchema:()=>dh,NotificationFormatSchema:()=>lh,NotificationSchema:()=>fh,NotifierStatusSchema:()=>CO,NumericSensorStatusSchema:()=>DO,OPERATOR_WRITTEN_STALE_MS:()=>aF,OPS_LOG_DEFAULT_LIMIT:()=>200,OPS_LOG_RING_DEFAULT_MAX:()=>500,OVERFLOW_REASON:()=>po,OVERLAY_LAYERS:()=>Lo,OauthIntegrationDescriptorSchema:()=>N_,ObjectEventSchema:()=>Qv,OccupancyBurstRefusalSchema:()=>Wb,OnboardFieldSupportSchema:()=>ZA,OnboardRecordTrackSchema:()=>qA,OnboardScheduleSupportSchema:()=>QA,OnboardStorageSchema:()=>KA,OnboardStorageVolumeSchema:()=>GA,OpsLogDomainSchema:()=>kr,OpsLogEntrySchema:()=>Mr,OpsLogOpSchema:()=>Ar,OpsLogQueryInputSchema:()=>Nr,OpsLogReasonSchema:()=>jr,OrchestratorMetricsSchema:()=>db,OsdOverlayKindEnum:()=>kO,OsdOverlayPatchSchema:()=>NO,OsdOverlaySchema:()=>jO,OsdPositionEnum:()=>AO,OsdRenderOutcomeEnum:()=>RO,OsdRenderResultSchema:()=>zO,OsdSlotBindingSchema:()=>IO,OsdSlotViewSchema:()=>LO,OsdSourceOptionSchema:()=>VO,OsdSourceSchema:()=>FO,OsdSourceValueTypeEnum:()=>BO,OsdStatusSchema:()=>MO,PEER_BYTES_CHUNK_BYTES:()=>An,PEER_BYTES_MAX_OUTSTANDING:()=>64,PEER_BYTES_STALL_MS:()=>kn,PEER_BYTES_TICKET_TTL_MS:()=>On,PET_FEEDER_MANUAL_FEED_MAX:()=>200,PET_FEEDER_MANUAL_FEED_MIN:()=>4,PIPELINE_ANALYTICS_CAP_NAME:()=>qn,PIPELINE_FLOW_CAPABILITY_NAMES:()=>kN,PIPELINE_OWNER_CAPABILITY_NAMES:()=>AN,PRIVACY_MASK_CAP_NAME:()=>Kn,PROVIDER_KIND_CAP_NAMES:()=>KF,PROVIDER_PIN_FIELD:()=>jc,PYTHON_SCRIPT:()=>DB,PackageUpdateSchema:()=>cw,PackageVersionInfoSchema:()=>lw,ParkRefusalSchema:()=>_b,ParkTrackFrameResultSchema:()=>vb,ParkedFrameKindSchema:()=>gb,ParkedTrackFrameSchema:()=>yb,PasskeyLoginMethodSchema:()=>mm,PasskeySummarySchema:()=>zS,PcmSampleFormatSchema:()=>Nl,PeerBytesTicketSchema:()=>jn,PerScopeBreakdownSchema:()=>vN,PetFeederStatusSchema:()=>GO,PickStreamPreferencesSchema:()=>Ju,PickStreamRequirementsSchema:()=>qu,PickedCamStreamSchema:()=>Yu,PipelineAssignmentSchema:()=>$b,PipelineDefaultStepSchema:()=>B_,PipelineEngineChoiceSchema:()=>q,PipelineRunResultBridge:()=>dv,PipelineStepInputSchema:()=>J,PipelineValidationIssueSchema:()=>X_,PipelineValidationResultSchema:()=>Z_,PlaceholderReasonSchema:()=>Iu,PolygonPointSchema:()=>_v,PoolMemoryWatchdog:()=>hB,PowerMeterStatusSchema:()=>hk,PresenceStatusSchema:()=>vk,PressureSensorStatusSchema:()=>bk,PrivacyMaskOptionsSchema:()=>Tk,PrivacyMaskPatchSchema:()=>Ek,PrivacyMaskRegionSchema:()=>Ck,PrivacyMaskShapeSchema:()=>Sk,PrivacyMaskStatusSchema:()=>wk,ProfileRtspEntrySchema:()=>ii,ProfileSlotSchema:()=>Br,ProfileSlotStatusSchema:()=>zr,ProviderStatusSchema:()=>zf,PtzAutotrackRuntimeStateSchema:()=>Vk,PtzAutotrackSettingsSchema:()=>Rk,PtzAutotrackStatusSchema:()=>Bk,PtzAutotrackTargetOptionSchema:()=>zk,PtzHomePresetSchema:()=>Fk,PtzHomeReturnSchema:()=>Ik,PtzMoveCommandSchema:()=>Mk,PtzOptionsSchema:()=>Pk,PtzPositionSchema:()=>jk,PtzPresetFunctionSchema:()=>kk,PtzPresetSchema:()=>Ak,PtzStatusSchema:()=>Nk,QueryFilterSchema:()=>B,RATE_CONTROL_RELAXED:()=>Jt,RATE_CONTROL_TIGHT:()=>qt,REACHABILITY_FAILURES_TO_OFFLINE:()=>3,REACHABILITY_POLL_INTERVAL_MS:()=>$P,REACHABILITY_PROBE_TIMEOUT_MS:()=>eF,RECOGNITION_TYPES:()=>Ca,RECORDING_AUDIO_TRIGGER_OFFERED_DBFS:()=>-30,RECORDING_EXPORT_MAX_READ_BYTES:()=>IA,RECORDING_SOURCE_CAMSTACK:()=>Wk,RECORDING_SOURCE_CAMSTACK_ADDON:()=>Gk,RECORDING_TIMELINE_BATCH_MAX:()=>200,REDACTED_SECRET:()=>er,RESERVED_BINDING_NAMES:()=>Ds,RESERVED_COLLECTION_SOURCES:()=>Sj,RESTORED_CAP_NAMES:()=>QF,ROOT_BUCKET_KEY:()=>vo,RUNTIME_DEFAULTS:()=>GN,RUNTIME_STATE_POLICY:()=>JF,RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS:()=>iF,RUNTIME_TO_FORMAT:()=>EB,RawStateResultSchema:()=>PT,ReadGopBytesResultSchema:()=>yA,ReadSegmentBytesResultSchema:()=>vA,ReadWindowBytesResultSchema:()=>bA,ReadinessRegistry:()=>Mo,ReadinessTimeoutError:()=>Do,RecentTracksPageSchema:()=>jy,RecentTracksQueryInput:()=>Cy,RecordTriggerSchema:()=>UA,RecordWindowSchema:()=>WA,RecordingAvailabilityForDeviceSchema:()=>rA,RecordingAvailabilitySchema:()=>Jk,RecordingBandAudioSchema:()=>yi,RecordingBandModeSchema:()=>_i,RecordingBandSchema:()=>bi,RecordingBandTriggersSchema:()=>vi,RecordingConfigSchema:()=>Ti,RecordingDaysForDeviceSchema:()=>iA,RecordingDaysSchema:()=>Yk,RecordingDeviceUsageSchema:()=>aA,RecordingLocationUsageSchema:()=>oA,RecordingManifestSchema:()=>Xk,RecordingObjectTriggerClassSchema:()=>mi,RecordingOnboardOptionsSchema:()=>$A,RecordingOnboardPatchSchema:()=>ej,RecordingOnboardStatusSchema:()=>JA,RecordingPlaybackSchema:()=>eA,RecordingRangeSchema:()=>Kk,RecordingReadSchema:()=>qk,RecordingRebalanceInputSchema:()=>fA,RecordingRebalanceMoveSchema:()=>cA,RecordingRebalancePlanSchema:()=>dA,RecordingRebalanceSkipReasonSchema:()=>lA,RecordingRebalanceSkipSchema:()=>uA,RecordingRetentionSchema:()=>wi,RecordingSignalRuntimeStateSchema:()=>bj,RecordingSignalStatusSchema:()=>yj,RecordingSourceAvailabilitySchema:()=>Zk,RecordingSourceOptionsSchema:()=>$k,RecordingSourceSchema:()=>Qk,RecordingStatusSchema:()=>nA,RecordingStorageModeSchema:()=>pi,RecordingStorageUsageSchema:()=>sA,RecordingTriggersSchema:()=>gi,RecordingWeekdaySchema:()=>di,RedirectLoginMethodSchema:()=>fm,RelocatableMediaCountInputSchema:()=>_a,RelocatableMediaCountSchema:()=>ga,RelocateFootageClassSchema:()=>Li,RelocateFootageInputSchema:()=>Ri,RelocateJobSchema:()=>Ii,RelocateJobStateSchema:()=>Fi,RelocateMediaInputSchema:()=>Vi,RelocateResidueInputSchema:()=>ca,RelocateResidueSchema:()=>la,RenderedAsSchema:()=>yh,ReportMotionInputSchema:()=>Fb,ReportedFailureContributionSchema:()=>NM,ReportedLoadContributionSchema:()=>MM,RequestCensusGroupSchema:()=>gM,RequestCensusProcedureSchema:()=>_M,RequestCensusSnapshotSchema:()=>vM,RequestCensusStatusSchema:()=>yM,RetrainAnnotationDraftSchema:()=>ly,RetrainAnnotationKindSchema:()=>ay,RetrainAnnotationSchema:()=>cy,RetrainAnnotationSourceSchema:()=>oy,RetrainAssistResultSchema:()=>_y,RetrainAssistSubjectSchema:()=>gy,RetrainCopyRefusalSchema:()=>py,RetrainFrameCandidateSchema:()=>dy,RetrainFrameListSchema:()=>hy,RetrainFrameSchema:()=>fy,RetrainFrameSelectionSchema:()=>my,RetrainMacroClassSchema:()=>iy,RetrainStatusSchema:()=>Fv,RetrainTrackSchema:()=>uy,RetrainTransitionResultSchema:()=>vy,RingBuffer:()=>yB,RtpSourceSchema:()=>Bu,RtspRestreamEntrySchema:()=>Ou,RunnerCameraConfigSchema:()=>Rb,RunnerCameraDeviceUIFields:()=>zb,RunnerFrameSourceSchema:()=>Ib,RunnerInferenceDeviceSchema:()=>Lb,RunnerLocalLoadSchema:()=>Bb,RunnerLocalMetricsSchema:()=>Ub,SCENE_CONDITIONS:()=>Tj,SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,SCENE_CONFIRM_DEFAULT_TIMEOUT_MS:()=>Fj,SCENE_DEFAULT_ANCHOR_THRESHOLD:()=>Nj,SCENE_DEFAULT_CHECK_INTERVAL_SEC:()=>60,SCENE_DEFAULT_OBSERVATION_SPACING_SEC:()=>120,SCENE_DEFAULT_QUIET_SECONDS:()=>60,SCENE_DEFAULT_UNCOVERED_POLICY:()=>Pj,SCENE_DIVERGED:()=>Dj,SCENE_RESET_RECAPTURES:()=>!0,SCOPE_PRESETS:()=>$F,SENSOR_FEATURES:()=>wP,SENSOR_MAP:()=>EP,SHARE_VIEW_KINDS:()=>Dn,SOURCE_CAPS:()=>IN,SOURCE_CAP_ACTIVE_FIELD:()=>PN,SOURCE_CAP_CHANGED_AT_FIELD:()=>FN,SOURCE_DEVICE_TYPES:()=>LN,SOURCE_INFO_METADATA_KEY:()=>tf,STATIONARY_OVERLAY_STYLE:()=>zo,STORAGE_ACCESS_FALLBACK:()=>Ka,STORAGE_BYTES_PER_GB:()=>Ha,STORAGE_LOCATION_MODES:()=>wa,STREAM_PROFILE_META:()=>tM,STREAM_QUALITY_LABELS:()=>gr,SUB_DETECTION_TYPES:()=>Sa,SUMMARIES_DEFAULT_LIMIT:()=>50,SUMMARIES_MAX_LIMIT:()=>200,SYSTEM_CAP_NAMES:()=>HF,SYSTEM_SCOPE_DEVICE_METHODS:()=>WF,SceneCheckSchema:()=>Mj,SceneConditionSchema:()=>wj,SceneConfirmSchema:()=>Ij,SceneMonitorSchema:()=>Lj,SceneMonitorStateSchema:()=>jj,SceneMonitorStatusForDeviceSchema:()=>zj,SceneMonitorStatusSchema:()=>Rj,SceneReferenceSchema:()=>Aj,SceneUnavailableSchema:()=>kj,SceneUncoveredPolicySchema:()=>Ej,SceneVerdictSchema:()=>Oj,ScopedTokenSchema:()=>M_,ScopedTokenSummarySchema:()=>QM,ScoredObjectEventSchema:()=>Hy,ScriptRunnerStatusSchema:()=>Vj,SearchResultSchema:()=>uw,SendEmailInputSchema:()=>Xx,SendEmailResultSchema:()=>Zx,SendResultSchema:()=>bh,SensorEventSchema:()=>Ov,ServerBootModeSchema:()=>Ix,ServerPackageStatusSchema:()=>Wx,ServerRollbackInfoSchema:()=>Ux,ServerUpdateActionResultSchema:()=>qx,ServerUpdateCheckResultSchema:()=>Gx,ServerUpdateOutcomeSchema:()=>Kx,ServerUpdateStateSchema:()=>Lx,SetLoggingSettingsInputSchema:()=>FM,SetSiteLocationInputSchema:()=>pM,SettingsPatchSchema:()=>Zc,SettingsRecordSchema:()=>kd,SettingsSchemaWithValuesSchema:()=>I,SettingsUpdateResultSchema:()=>Qc,ShmRingStatsSchema:()=>Rd,SiteLocationSchema:()=>dM,SiteLocationSourceSchema:()=>uM,SiteLocationStatusSchema:()=>fM,SiteZoneSchema:()=>Lf,SmokeStatusSchema:()=>Uj,SmtpStatusSchema:()=>Qx,SnapshotImageSchema:()=>eS,SourceInfoSchema:()=>Zd,SpatialDetectionSchema:()=>bl,SsoBridgeClaimsSchema:()=>rS,StartEmbeddedInputSchema:()=>$m,StationaryObjectSchema:()=>bN,StorageAbortUploadInputSchema:()=>yS,StorageAccessSchema:()=>Ga,StorageBeginDownloadInputSchema:()=>bS,StorageBeginDownloadResultSchema:()=>xS,StorageBeginUploadInputSchema:()=>hS,StorageBeginUploadResultSchema:()=>gS,StorageCleanupInputSchema:()=>ya,StorageCleanupJobSchema:()=>ba,StorageCleanupPhaseSchema:()=>va,StorageCleanupStatusInputSchema:()=>xa,StorageDrainProgressSchema:()=>Wa,StorageEndDownloadInputSchema:()=>CS,StorageEvictionPolicySchema:()=>Ea,StorageFinalizeUploadInputSchema:()=>vS,StorageLocationDeclarationSchema:()=>qa,StorageLocationModeSchema:()=>Ta,StorageLocationRefSchema:()=>D,StorageLocationSchema:()=>E,StorageLocationTypeSchema:()=>za,StorageMigrationClassSchema:()=>Gi,StorageMigrationDestinationsSchema:()=>Ki,StorageMigrationDrainInputSchema:()=>sa,StorageMigrationFindingCodeSchema:()=>ta,StorageMigrationFindingSchema:()=>na,StorageMigrationFootageMoveInputSchema:()=>zi,StorageMigrationInputSchema:()=>Yi,StorageMigrationJobSchema:()=>ea,StorageMigrationLaneSchema:()=>ia,StorageMigrationLeaseInputSchema:()=>T,StorageMigrationMediaMoveInputSchema:()=>Wi,StorageMigrationModeSchema:()=>Ji,StorageMigrationMoveProgressSchema:()=>Qi,StorageMigrationMoveSchema:()=>$i,StorageMigrationMoverSchema:()=>aa,StorageMigrationParticipantSchema:()=>Zi,StorageMigrationPhaseSchema:()=>Xi,StorageMigrationPlanSchema:()=>ra,StorageMigrationResidueSchema:()=>oa,StorageMigrationSourcesSchema:()=>qi,StorageOccupancyReportSchema:()=>dS,StorageProviderInfoSchema:()=>pS,StorageReadChunkInputSchema:()=>SS,StorageTestLocationResultSchema:()=>mS,StorageWriteChunkInputSchema:()=>_S,StreamCodecSchema:()=>Ku,StreamFormatSchema:()=>Cu,StreamNetworkStatsSchema:()=>eO,StreamParamsOptionsSchema:()=>Qj,StreamParamsStatusSchema:()=>Xj,StreamProfileConfigSchema:()=>Yj,StreamProfileOptionsSchema:()=>Zj,StreamProfilePatchSchema:()=>$j,StreamProfileSchema:()=>Jj,StreamSignalSchema:()=>TS,StreamSignalsStatusSchema:()=>ES,StreamSourceEntrySchema:()=>Gr,StreamSourceSchema:()=>Kr,SubscribeAudioChunksInputSchema:()=>ei,SubscribeAudioChunksResultSchema:()=>ti,SubscribeFramesInputSchema:()=>Xr,SubscribeFramesResultSchema:()=>Zr,SummarySchema:()=>wy,SwitchStatusSchema:()=>aM,SystemMetricsSchema:()=>Fm,SystemMirror:()=>_F,TAXONOMY_COLORS:()=>V,TIMELAPSE_DENSE_FLOOR_SEC:()=>JL,TIMEZONES:()=>Qa,TRANSCODE_DOWN_MAX_BITRATE_KBPS:()=>400,TRANSCODE_DOWN_MAX_HEIGHT:()=>360,TamperStatusSchema:()=>RM,TankStatusSchema:()=>oN,TargetKindCapsSchema:()=>mh,TargetKindLevelSchema:()=>ph,TargetKindSchema:()=>gh,TargetSchema:()=>_h,TemperatureSensorStatusSchema:()=>BM,TerminalInstanceInfoSchema:()=>MS,TerminalLegacyCameraSchema:()=>NS,TerminalOutputBatchSchema:()=>FS,TerminalOutputEventSchema:()=>PS,TerminalProfileInfoSchema:()=>jS,TerminalSessionInfoSchema:()=>AS,TestConnectionResultSchema:()=>ME,TestConnectionStatusEnum:()=>jE,TestResultSchema:()=>xh,TimelapseRuleInputSchema:()=>eR,TimelapseRulePatchSchema:()=>nR,TimelapseRuleSchema:()=>rR,TimelapseTemplateSchema:()=>VL,ToastSchema:()=>HM,TokenScopeSchema:()=>K,TopologyNodeSchema:()=>lO,TopologyProcessSchema:()=>aO,TopologyServiceSchema:()=>iO,TrackCascadeCountsSchema:()=>Wy,TrackEnvelopeSchema:()=>jv,TrackFlagsPatchSchema:()=>Rv,TrackFlagsSchema:()=>zv,TrackProjectionSchema:()=>Mv,TrackSchema:()=>Gv,TrackSourceSchema:()=>Pv,TrackStateSchema:()=>bv,TrackZoneFilterSchema:()=>Sv,TrackedDetectionSchema:()=>By,TrainingExportDeviceTotalsSchema:()=>Uv,TrainingExportSummarySchema:()=>Wv,TransportPlaneCountsSchema:()=>hM,TransportPlaneSchema:()=>mM,TurnServerSchema:()=>LS,UNATTRIBUTED_BUCKET_KEY:()=>_o,UNIT_TABLE:()=>wz,UnifiedBrokerInfoSchema:()=>nu,UnitConversionError:()=>Tz,UnstampedEventMediaCountSchema:()=>Ui,UnstampedRowsSchema:()=>Hi,UpdateIntegrationInputSchema:()=>PE,UpdateStatusSchema:()=>WM,UpdateUserInputSchema:()=>JM,UserRecordSchema:()=>A_,UserSummarySchema:()=>KM,VIDEOCLIPS_MAX_OFFER_BYTES:()=>bC,VIDEOCLIPS_MAX_READ_BYTES:()=>yC,VISIT_MERGE_GAP_MS:()=>Ci,VacuumControlStatusSchema:()=>sN,VacuumStateSchema:()=>aN,ValveStateSchema:()=>lN,ValveStatusSchema:()=>uN,VectorDeclareIndexInputSchema:()=>KS,VectorDeleteByFilterInputSchema:()=>QS,VectorDeleteInputSchema:()=>ZS,VectorDeleteResultSchema:()=>$S,VectorFilterSchema:()=>US,VectorGetInputSchema:()=>eC,VectorGetResultSchema:()=>tC,VectorItemSchema:()=>WS,VectorMatchSchema:()=>GS,VectorMetadataSchema:()=>HS,VectorMetricSchema:()=>VS,VectorQueryInputSchema:()=>YS,VectorQueryResultSchema:()=>XS,VectorStatsInputSchema:()=>oC,VectorStatsResultSchema:()=>sC,VectorUpsertInputSchema:()=>qS,VectorUpsertResultSchema:()=>JS,VibrationStatusSchema:()=>fN,VideoEncodeSchema:()=>dt,WEBRTC_EGRESS_PROFILE:()=>Gt,WEEKLY_MASK_LENGTH:()=>168,WELL_KNOWN_TABS:()=>Le,WELL_KNOWN_TAB_MAP:()=>Re,WaterHeaterStatusSchema:()=>mN,WeatherStatusSchema:()=>gN,WebrtcLadderDecisionSchema:()=>BC,WebrtcSessionDebugSchema:()=>HC,WebrtcStreamChoiceSchema:()=>zC,WebrtcStreamTargetSchema:()=>RC,WebrtcTierFailureSchema:()=>VC,WhiteBalanceModeSchema:()=>bE,WidgetHostEnum:()=>el,WidgetLoginMethodSchema:()=>pm,WidgetMetadataSchema:()=>rl,WidgetRemoteSchema:()=>nl,WidgetSizeEnum:()=>tl,WrapperEvidenceSchema:()=>Vx,WrapperIdentitySchema:()=>Hx,WrapperKindSchema:()=>Bx,YAMNET_TO_MACRO:()=>kh,ZoneCrossingDirectionSchema:()=>Yv,ZoneCrossingSchema:()=>Xv,ZoneKindEnum:()=>gv,ZoneRuleModeEnum:()=>pv,ZoneRuleSchema:()=>mv,ZoneRuleStageEnum:()=>DN,ZoneRulesArraySchema:()=>hv,ZoneSchema:()=>vv,ZoneScopeBreakdownSchema:()=>yN,__resetLogChannelRegistryForTests:()=>co,accessoriesCapability:()=>GC,accessoryStableId:()=>qN,addonPagesCapability:()=>Hc,addonPagesSourceCapability:()=>Wc,addonRoutesCapability:()=>Jc,addonSettingsCapability:()=>$c,addonWidgetsCapability:()=>ol,addonWidgetsSourceCapability:()=>il,addonsCapability:()=>Cw,adminUiCapability:()=>ll,airQualitySensorCapability:()=>Tw,alarmPanelCapability:()=>Jh,alertsCapability:()=>ml,ambientLightSensorCapability:()=>Dw,asBoolean:()=>Zz,asJsonArray:()=>Jz,asJsonObject:()=>qz,asNumber:()=>Xz,asString:()=>Yz,assertTimelapseCadences:()=>iR,audioAnalysisCapability:()=>_l,audioAnalyzerCapability:()=>Ml,audioChunkBytesPerSample:()=>ve,audioCodecCapability:()=>Bl,audioIsFailClosed:()=>mI,audioKindId:()=>cI,audioLabelChoices:()=>vI,audioMetricsCapability:()=>Mw,audioModeOf:()=>pI,audioOrDefaults:()=>fI,audioPlanFromEncodeProfile:()=>Ht,audioScaleEraOf:()=>aI,authProviderCapability:()=>Hl,autoAssignProfiles:()=>Tr,automationControlCapability:()=>Pw,backupCapability:()=>eu,bareAddonId:()=>zz,batteryCapability:()=>Iw,bestLocationMatch:()=>Lz,binaryCapability:()=>Rw,bindAddonActions:()=>UB,brightnessCapability:()=>Bw,brokerCapability:()=>xu,buildAddonRouteProvider:()=>ot,buildAudioArgs:()=>At,buildDeviceAdminUrl:()=>Yd,buildEventKindDescriptor:()=>Fx,buildFfmpegArgs:()=>zt,buildInputArgs:()=>wt,buildModelVariantGroups:()=>Zo,buildNcTaxonomy:()=>Wh,buildRoleScopes:()=>sz,buildStreamParamsConfigSchema:()=>rM,buildVideoArgs:()=>kt,buttonCapability:()=>Vw,cameraCredentialsCapability:()=>Ww,cameraGridLayoutCapability:()=>Xw,cameraPipelineConfigCapability:()=>Su,cameraStreamsCapability:()=>Xu,canConvertUnit:()=>Mz,canonicalEgressPlan:()=>dn,carbonMonoxideCapability:()=>Qw,cellsToRects:()=>vB,classifyBearerPrincipal:()=>gs,classifyStream:()=>br,classifyStreams:()=>yr,climateControlCapability:()=>tT,clipExportFailure:()=>NA,clipExportFailureOf:()=>PA,clipReasonHeaderValue:()=>fC,clusterModelSettingKey:()=>cR,clusterStepSettingFieldsFor:()=>vR,clusterStepSettingKey:()=>_R,codecIsAccepted:()=>_t,collectHydratedFieldEntries:()=>Be,collectHydratedFieldValues:()=>He,collectSecretConfigKeys:()=>nr,colorCapability:()=>oT,colorForKind:()=>zh,commitWatchdogRestart:()=>fB,compareToTarget:()=>ht,compileExpression:()=>Us,compileExpressionSafe:()=>Ws,composeSwitchedOff:()=>$n,conditionDepth:()=>gc,conditionExclusionReason:()=>aL,conditionVisibleForKind:()=>iL,connectionTestCapability:()=>dT,connectivityCapability:()=>pT,consumablesCapability:()=>gT,contactCapability:()=>vT,controlCapability:()=>ST,convertUnit:()=>Az,coreBlockAddonId:()=>fd,coreBlockIdFromAddonId:()=>pd,coreBlocksCapability:()=>yd,cosineSimilarity:()=>Vz,countConditionLeaves:()=>_c,coverCapability:()=>TT,createDeviceProxy:()=>dF,createDurableState:()=>Xe,createEvent:()=>Je,createEventBusSliceSource:()=>FP,createExpressionScope:()=>Ks,createHwAccelCache:()=>en,createLazyTrpcSource:()=>PP,createLogChannelsProvider:()=>uo,createMirrorSource:()=>IP,createRuntimeStateBridge:()=>oF,createSliceHandle:()=>X,createSystemProxy:()=>eI,customAction:()=>xd,customModelRegistryCapability:()=>Td,dataStoreProviderCapability:()=>Fd,dayNightCapability:()=>jT,dayOfWeekToIndex:()=>_j,declarationOwnerNodeId:()=>_P,declareLogChannel:()=>so,decodeVectorBase64:()=>RB,decoderCapability:()=>zd,defaultDeliveryForSection:()=>_L,defaultDeviceFor:()=>ZB,defineCustomActions:()=>bd,deriveBatteryPresence:()=>oP,deriveCameraSwitches:()=>Zn,deriveDetailCropRect:()=>PR,deriveRecordingMode:()=>Ei,describeCustomActions:()=>Cd,describeModelVariant:()=>$o,describeOnboardClamp:()=>vj,describeOnboardRefusal:()=>ij,detectAccessRole:()=>lz,detectionPipelineCapability:()=>Bd,deviceAdminLinkCapability:()=>Ud,deviceAdoptionCapability:()=>bf,deviceBackendToFormat:()=>TB,deviceCustomAction:()=>Sd,deviceDiscoveryCapability:()=>sf,deviceExportCapability:()=>kf,deviceManagerCapability:()=>fp,deviceMatchesProfile:()=>kP,deviceOpsCapability:()=>FT,deviceProviderCapability:()=>Gf,deviceSelectorMatches:()=>dz,deviceStateCapability:()=>pp,deviceStatusCapability:()=>LT,displayIconEntry:()=>WP,displayIconsInGroup:()=>GP,doorbellCapability:()=>BT,droppedConditionsForKind:()=>oL,egressTranscodeSharingKey:()=>fn,egressTransportFromRequest:()=>sn,embeddingEncoderCapability:()=>gp,emitDownForOwnedCaps:()=>Po,emitReadiness:()=>Ye,emitsCollectionSelector:()=>Zu,encodeProfileFromStreamShape:()=>mt,encodeVectorBase64:()=>LB,enumSensorCapability:()=>UT,enumerateInferenceDevices:()=>nV,enumerateItemArrayFields:()=>uF,enumerateSchemaFields:()=>lF,errMsg:()=>Wz,evaluateAst:()=>ec,evaluateExpressionSource:()=>rc,evaluatePoolMemory:()=>dB,evaluateSensorEdge:()=>HN,evaluateZoneRules:()=>BB,event:()=>F,eventEmitterCapability:()=>KT,evictionPolicyForMode:()=>Aa,evictionPolicyOfLocation:()=>Ia,expandAudioChunkToF32le:()=>ye,expandCapMethods:()=>Ic,expandContainer:()=>mP,exportSubjectOf:()=>VA,extractNestedAddonId:()=>rd,extractSourceInfoFromMetadata:()=>nf,faceGalleryCapability:()=>rE,failureContributionCapability:()=>yp,failureRate:()=>go,fanControlCapability:()=>oE,featureProbeCapability:()=>cE,filesystemBrowseCapability:()=>Sp,findTimezone:()=>$a,floodCapability:()=>uE,foldSnapshotByFunction:()=>xo,formatForBackend:()=>jB,formatForRuntime:()=>MB,formatMediaOwnerKey:()=>ke,formatMinutes:()=>uj,formatParkedFor:()=>Bo,gasCapability:()=>fE,gbToBytes:()=>Ua,generateAutomationBlock:()=>wc,getAudioMacroClassIds:()=>Nh,getByPath:()=>ZP,getCapsByProviderKind:()=>qF,getLogChannelRegistry:()=>oo,getTaxonomyEntry:()=>Rh,hasMotionTrigger:()=>CP,hfModelUrl:()=>Gz,htmlToText:()=>PI,humidifierCapability:()=>mE,humiditySensorCapability:()=>gE,hydrateSchema:()=>We,imageCapability:()=>vE,imageSettingsCapability:()=>DE,inferModelProvider:()=>ss,initialPoolMemoryState:()=>oB,integrationsCapability:()=>IE,intercomCapability:()=>BE,invocationFromEncodeProfile:()=>Ut,isAgentOnlyPlacement:()=>xn,isArrayOutputSchema:()=>ed,isAudioChunkFormat:()=>_e,isAudioLabelSelected:()=>yI,isAudioRule:()=>uL,isBaseConditionKey:()=>jI,isBatteryPresenceFault:()=>sP,isClusterScopedStep:()=>lR,isCollectionArrayMethod:()=>td,isDeployableToAgent:()=>bn,isDetectionMacroClass:()=>Eh,isDeviceConfigCap:()=>zc,isDeviceScopedCap:()=>RF,isDisplayIconKey:()=>UP,isEvent:()=>qe,isEventOwnerType:()=>Fe,isFirstLevelMacroClass:()=>ci,isIsolatedBuiltin:()=>Tn,isKnownTemplateVar:()=>LL,isLocationEnabled:()=>Va,isMediaOwnerType:()=>De,isNode:()=>DP,isObjectInput:()=>$u,isOccupancyRule:()=>dL,isRestoredCap:()=>ZF,isSameAddonId:()=>Bz,isScheduleActive:()=>CL,isSecretConfigField:()=>tr,isSoftwareDecode:()=>Ct,isSourceCap:()=>RN,isStorageLocationMode:()=>Na,isSystemDelivery:()=>nL,isVoidInput:()=>Qu,ituDbfsFromPreEpoch:()=>iI,jobKindSchema:()=>KC,kebabToCamel:()=>ld,knownValues:()=>OI,lawnMowerControlCapability:()=>WE,legacyAutoLinkIds:()=>hP,legacyModeOf:()=>ja,lifecycleJobSchema:()=>$C,lifecycleJobScopeSchema:()=>QC,lifecycleJobStateSchema:()=>ZC,lifecycleTaskSchema:()=>XC,llmCapability:()=>tm,llmRuntimeCapability:()=>Hp,loadContributionCapability:()=>am,localNetworkCapability:()=>rD,locationIconKey:()=>Pf,locationSimilarity:()=>Iz,lockControlCapability:()=>oD,logBannerArgs:()=>St,logChannelsCapability:()=>sm,logDestinationCapability:()=>um,logLevelAtMost:()=>Or,loginMethodCapability:()=>gm,looseSchema:()=>nd,makeProfileBrokerId:()=>Vr,makeSourceBrokerId:()=>Hr,mapAudioLabelToMacro:()=>Mh,markdownToHtmlLite:()=>RI,markdownToText:()=>MI,maskUrlCredentials:()=>nB,mayReadLocation:()=>Fa,mayWriteToLocation:()=>Pa,mediaPlayerCapability:()=>dD,mergeSourceInfo:()=>$d,meshNetworkCapability:()=>hD,method:()=>P,methodAccessForHttpMethod:()=>ps,metricsProviderCapability:()=>Im,migrateLegacyDeviceSignalConfig:()=>Pi,minutesToTimeOfDay:()=>gj,modeMayRead:()=>ka,modeMayWrite:()=>Oa,modelConvertCapability:()=>Rm,modelDistributorCapability:()=>Vm,modelFormatForRuntime:()=>QB,motionCapability:()=>yD,motionDetectionCapability:()=>Wm,motionTriggerCapability:()=>SD,motionZonesCapability:()=>DD,mqttBrokerCapability:()=>nh,nativeObjectDetectionCapability:()=>FD,navigationCapability:()=>qD,networkAccessCapability:()=>oh,networkLinkCapability:()=>$D,networkQualityCapability:()=>rO,nodePin:()=>Ec,nodesCapability:()=>yO,normalizeAddonInitResult:()=>at,normalizeAudioLabel:()=>sI,normalizeTokenScopes:()=>_z,normalizeUnit:()=>ef,notificationOutputCapability:()=>Sh,notificationRulesCapability:()=>S_,notifierCapability:()=>EO,numericSensorCapability:()=>OO,oauthIntegrationCapability:()=>P_,objectInputDeclaresAddonId:()=>id,objectInputDeclaresRequiredDeviceId:()=>ad,occupancyScope:()=>sb,optionalMethod:()=>Rc,osdCapability:()=>PO,osdManagerCapability:()=>HO,overlayClusterStepSettings:()=>CR,parseAdminBase:()=>Xd,parseCameraStreamConfig:()=>wr,parseExpression:()=>Bs,parseJsonArray:()=>$z,parseJsonObject:()=>Qz,parseJsonUnknown:()=>Kz,parseMediaOwnerKey:()=>Oe,parseOccupancyScope:()=>cb,parseProcStatus:()=>aB,parseProfileBrokerId:()=>Ur,parseRuleSection:()=>lL,parseStreamParamsFormPatch:()=>iM,patchAudio:()=>_I,petFeederCapability:()=>KO,pickAccessoryControl:()=>TP,pickClusterStepModels:()=>mR,pickClusterStepSettings:()=>SR,pickDetailCropConvention:()=>jR,pickNativeLeaseOverride:()=>iz,pickPreferredRtspEntry:()=>Fo,pickRestartCandidate:()=>mB,pickVideoEncoder:()=>Vt,pickerForCondition:()=>DI,pipelineAnalyticsCapability:()=>ub,pipelineExecutorCapability:()=>fv,pipelineOrchestratorCapability:()=>Ox,pipelineRunnerCapability:()=>Gb,plateGalleryCapability:()=>QO,platformProbeCapability:()=>mk,poolMemoryThreshold:()=>lB,powerMeterCapability:()=>gk,prepareNotification:()=>GI,presenceCapability:()=>yk,pressureSensorCapability:()=>xk,principalMayReachAddon:()=>_s,privacyMaskCapability:()=>Dk,procedureAuthKey:()=>cd,ptzAutotrackCapability:()=>Hk,ptzCapability:()=>Lk,pythonScriptForBackend:()=>NB,rankStreams:()=>yt,readClusterStepModels:()=>fR,readClusterStepSettings:()=>bR,readDetailCropConvention:()=>kR,readDeviceStateFrom:()=>MN,readNativeLeaseOverride:()=>tz,readNodePin:()=>Oc,readTimelapseGeneratedAt:()=>aR,readinessKey:()=>Oo,rebootCapability:()=>Uk,recordingArchiveCapability:()=>xA,recordingCapability:()=>tA,recordingExportCapability:()=>HA,recordingOnboardCapability:()=>tj,recordingSignalCapability:()=>xj,rectsToCells:()=>_B,reducePoints:()=>Eo,requiresPython:()=>PB,reservedSourceOwner:()=>Cj,resetPoolBaseline:()=>pB,resolveAddonExecution:()=>yn,resolveAddonGroup:()=>Sn,resolveAddonPlacement:()=>wn,resolveAddonRuntime:()=>AB,resolveBucketMs:()=>To,resolveCapMount:()=>Ac,resolveClusterStepModelId:()=>hR,resolveContainerPrimaryChild:()=>pP,resolveCreateExportSubject:()=>BA,resolveDetectionRuntime:()=>OB,resolveDeviceControlKind:()=>xP,resolveDeviceProfile:()=>MP,resolveEgressDecodeHwAccel:()=>nn,resolveExportProfiles:()=>RA,resolveFormat:()=>BI,resolveHydratedFieldValue:()=>Ue,resolveLocationIcon:()=>Ff,resolveLocationMode:()=>Ma,resolveMethodAuth:()=>sd,resolveModelFormat:()=>kB,resolveMutate:()=>OP,resolvePoolMemoryPolicy:()=>iB,resolveRecordingProfiles:()=>Oi,resolveRunnerId:()=>Cn,resolveStreamMaps:()=>Tt,resolveVariantModelId:()=>Qo,resolveViewableDeviceIds:()=>gz,roleSpec:()=>oz,ruleEditorSectionsForKind:()=>bL,ruleKindOf:()=>rL,ruleKindSpec:()=>eL,ruleMatchesSection:()=>fL,ruleSection:()=>cL,ruleSectionOf:()=>pL,ruleSeedForSection:()=>gL,runInferenceStep:()=>bB,runtimeDevices:()=>XB,runtimeStatePolicyFor:()=>YF,sceneMonitorCapability:()=>Bj,schemaDeclaresAnyField:()=>rr,scopeInherits:()=>mz,scopeKey:()=>ko,scopesAllowAddon:()=>hs,scopesAllowDeviceCap:()=>ms,scoreRuntimes:()=>$B,scriptRunnerCapability:()=>Hj,searchDisplayIcons:()=>YP,selectAssignedProfileSlots:()=>Wr,serverManagementCapability:()=>Jx,setByPath:()=>QP,settingsStoreCapability:()=>Nd,signalPercentFromBars:()=>ZD,signalPercentFromRssi:()=>QD,siteZoneKey:()=>Rf,sleep:()=>FB,sleepCancellable:()=>IB,sliceActiveValue:()=>zN,sliceChangedAt:()=>BN,smokeCapability:()=>Wj,smtpProviderCapability:()=>$x,snapshotCapability:()=>nS,ssoBridgeCapability:()=>iS,startReachabilityPoll:()=>nF,stateVocabularyFor:()=>NN,storageCapability:()=>oS,storageEvictableCapability:()=>lS,storageMigrationCapability:()=>uS,storageOccupancyCapability:()=>fS,storageProviderCapability:()=>wS,streamBrokerCapability:()=>Gu,streamCatalogCapability:()=>qj,streamParamsCapability:()=>eM,streamPixels:()=>vr,streamQualityLabel:()=>_r,streamSignalsCapability:()=>DS,stripRetiredBandPreBufferSec:()=>Si,strippedOfLegacyReadOnly:()=>La,subKindsOf:()=>Bh,summarisePrivacyAudio:()=>Ok,summarizeEffectiveScope:()=>Sz,supportedRuntimes:()=>YB,switchCapability:()=>oM,switchedOffIds:()=>Qn,synthesizeSourceInfo:()=>Qd,systemCapability:()=>LM,systemEventFilterApplies:()=>zL,systemEventFilterAppliesToAnyKind:()=>BL,tamperCapability:()=>zM,taskLogEntrySchema:()=>YC,taskPhaseSchema:()=>qC,taskTargetSchema:()=>JC,temperatureSensorCapability:()=>VM,templateVarsFor:()=>IL,terminalSessionCapability:()=>IS,textToHtml:()=>LI,timeOfDayToMinutes:()=>hj,toDeviceSummary:()=>rP,toExpressionValue:()=>tc,toNodeId:()=>Dc,toStreamSourceEntry:()=>xr,toastCapability:()=>UM,toggleAudioLabel:()=>bI,tokenize:()=>Ns,transcodeBody:()=>VI,tryConvertUnit:()=>jz,turnProviderCapability:()=>RS,unitDimension:()=>Dz,unitsForDimension:()=>Nz,updateCapability:()=>GM,userManagementCapability:()=>iN,userPasskeysCapability:()=>BS,vacuumControlCapability:()=>cN,validateExpressionSource:()=>nc,validateRecipeBounds:()=>yc,valveCapability:()=>dN,vectorDimFromBase64:()=>zB,vectorStoreCapability:()=>cC,vibrationCapability:()=>pN,videoclipsCapability:()=>MC,viewerUiCapability:()=>IC,waterHeaterCapability:()=>hN,weatherCapability:()=>_N,webrtcClientHintsSchema:()=>LC,webrtcSessionCapability:()=>UC,weeklyMaskIndex:()=>dj,weeklyMaskIsUniform:()=>fj,weeklyMaskToWindows:()=>pj,windowsToWeeklyMask:()=>mj,wiringAddonHealthSchema:()=>hn,wiringHealthSnapshotSchema:()=>_n,wiringNodeHealthSchema:()=>gn,wiringProbeKindSchema:()=>pn,wiringProbeResultSchema:()=>mn,withLocationMode:()=>Ra,zodEntriesToConfigUI:()=>CF,zoneAnalyticsCapability:()=>EN,zoneRulesCapability:()=>ON,zonesCapability:()=>yv});export{yP as $,Wr as $t,OI as A,gc as At,_I as B,_o as Bt,nL as C,fd as Ct,fL as D,L as Dt,eL as E,R as Et,mI as F,$o as Ft,zF as G,xi as Gt,eI as H,Qa as Ht,vI as I,Qo as It,dF as J,Oi as Jt,IF as K,Ti as Kt,pI as L,zo as Lt,lI as M,yc as Mt,uI as N,as as Nt,gL as O,wc as Ot,dI as P,Zo as Pt,X as Q,Hr as Qt,fI as R,Bo as Rt,oL as S,Ef as St,rL as T,hl as Tt,GF as U,$a as Ut,bI as V,xo as Vt,BF as W,Ma as Wt,YP as X,Pr as Xt,RP as Y,si as Yt,PP as Z,C as Zt,JL as _,Mp as _t,Nz as a,NN as at,mL as b,Ff as bt,az as c,mD as ct,oz as d,dC as dt,Yn as en,xP as et,oR as f,$g as ft,tR as g,ih as gt,mR as h,W as ht,Dz as i,PN as it,DI as j,_c as jt,jI as k,hc as kt,sz as l,mC as lt,vR as m,Ph as mt,Mz as n,Be as nn,cP as nt,_z as o,nA as ot,cR as p,Kh as pt,_F as q,Ei as qt,jz as r,Ie as rn,pP as rt,gz as s,Gk as st,rV as t,Re as tn,hP as tt,lz as u,pC as ut,rR as v,Af as vt,lL as w,ru as wt,iL as x,wf as xt,BL as y,Pf as yt,yI as z,vo as zt};
|