@camstack/addon-admin-ui 1.2.132 → 1.2.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/assets/{AddLocationWizard-6ATNYrjM.js → AddLocationWizard-D6XT4vuA.js} +1 -1
  2. package/dist/assets/{AddonCollectionPage-DCbev8Bt.js → AddonCollectionPage-Dk9GuUTX.js} +1 -1
  3. package/dist/assets/{Addons-CV31BuBn.js → Addons-D4VNdHei.js} +1 -1
  4. package/dist/assets/{AdminTabs-CjKVzLow.js → AdminTabs-DuCWG_SL.js} +1 -1
  5. package/dist/assets/{AiProfiles-PhDyeFeH.js → AiProfiles-DrI7Fkzi.js} +1 -1
  6. package/dist/assets/{BrokerForm-BnBFXJav.js → BrokerForm-TGCkG5i5.js} +1 -1
  7. package/dist/assets/{Build-BX8ZYYvI.js → Build-CBOhgWFX.js} +1 -1
  8. package/dist/assets/{Capabilities-JzhDiKH3.js → Capabilities-DQnPc_lf.js} +1 -1
  9. package/dist/assets/{CapabilityBadges-Di-XG_V2.js → CapabilityBadges-C-pQEsun.js} +1 -1
  10. package/dist/assets/Cluster-ClHxs8rX.js +11 -0
  11. package/dist/assets/{Data-BLbDw3Qi.js → Data-D2N8AR1i.js} +1 -1
  12. package/dist/assets/DetectionIntelligence-CrtM4Kiw.js +1 -0
  13. package/dist/assets/{DeviceAggregateSection-B21sSDU8.js → DeviceAggregateSection-CdjE-CGt.js} +1 -1
  14. package/dist/assets/DeviceDetail-aGiYyTVI.js +2 -0
  15. package/dist/assets/{Devices-CFyp-bTP.js → Devices-BWxp2jk-.js} +1 -1
  16. package/dist/assets/{EmbedPlayerPage-BrYe9pWI.js → EmbedPlayerPage-IBU9zhwj.js} +1 -1
  17. package/dist/assets/Events-CA0HdPtp.js +1 -0
  18. package/dist/assets/{FormBuilder-C9W0JD97.js → FormBuilder-q2oxATW0.js} +1 -1
  19. package/dist/assets/Identity-D3Knqaix.js +1 -0
  20. package/dist/assets/IntegrationDetail-B83JX-1S.js +1 -0
  21. package/dist/assets/{Integrations-lxasor4g.js → Integrations-DQ1IW9-8.js} +1 -1
  22. package/dist/assets/Integrations-ubDaE5Ry.js +1 -0
  23. package/dist/assets/{Locations-D_gKD5A1.js → Locations-DyH744t2.js} +1 -1
  24. package/dist/assets/{Logs-CBBpDiQM.js → Logs-CA_ESxSr.js} +1 -1
  25. package/dist/assets/{MotionZonesSettings-C6Z9rAIP.js → MotionZonesSettings-r9nFEi6f.js} +1 -1
  26. package/dist/assets/{MyAccess-B7WRNyXp.js → MyAccess-rBqNPgL3.js} +1 -1
  27. package/dist/assets/Network-8rv_2JtZ.js +1 -0
  28. package/dist/assets/{NodeAddonsSettingsPanel-DUCth2UR.js → NodeAddonsSettingsPanel-CPmp4-C9.js} +1 -1
  29. package/dist/assets/{NodeInferenceDevices-mv81Y6ys.js → NodeInferenceDevices-CgahPSSt.js} +1 -1
  30. package/dist/assets/Notifications-DLcYsAj1.js +1 -0
  31. package/dist/assets/Pipeline-BP6PG2Q9.js +1 -0
  32. package/dist/assets/Plates-Bpk78-gE.js +1 -0
  33. package/dist/assets/{PrivacyMaskSettings-2ca_qpO6.js → PrivacyMaskSettings-BiT9hQAV.js} +1 -1
  34. package/dist/assets/{ProviderIcon-B4SKpCgj.js → ProviderIcon-CGNG0pBW.js} +1 -1
  35. package/dist/assets/Recordings-Dr52wK0e.js +1 -0
  36. package/dist/assets/{ScanNetworkModal-ClJO8ogE.js → ScanNetworkModal-BP25rTbA.js} +1 -1
  37. package/dist/assets/{SceneMonitorEditor-BgKnMQKe.js → SceneMonitorEditor-x1YamDSu.js} +1 -1
  38. package/dist/assets/{Scenes-BxhKK3pU.js → Scenes-y5wrmuur.js} +1 -1
  39. package/dist/assets/{Settings-BBoYKSUm.js → Settings-8R9EwlR_.js} +1 -1
  40. package/dist/assets/{Showroom-BmA1_lSy.js → Showroom-Ba2_YT1t.js} +1 -1
  41. package/dist/assets/{StorageLocationsPanel-Ci1yYy5-.js → StorageLocationsPanel-Cb7e27Jf.js} +1 -1
  42. package/dist/assets/{Terminal-BaaG1pLz.js → Terminal-DpwlBosE.js} +3 -3
  43. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-T7wDosHe.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DXVDbHW6.js} +1 -1
  44. package/dist/assets/{bell-off-CgMq4Ogk.js → bell-off-BkVNCTlz.js} +1 -1
  45. package/dist/assets/{bell-ring-_12GgrIl.js → bell-ring-C1kgYVgL.js} +1 -1
  46. package/dist/assets/{boxes-B7-ii2is.js → boxes-CQKMwHBZ.js} +1 -1
  47. package/dist/assets/circle-check-big-CcXivLUy.js +1 -0
  48. package/dist/assets/circle-dot-CIfo-znS.js +1 -0
  49. package/dist/assets/{circle-x-BzuFiVRH.js → circle-x-B8ZmC37F.js} +1 -1
  50. package/dist/assets/clock-CXPKH2dT.js +1 -0
  51. package/dist/assets/{copy-DZ-3SVnz.js → copy-CXDTREVv.js} +1 -1
  52. package/dist/assets/{debounced-invalidate-C5ZjlpDr.js → debounced-invalidate-Dox8ZS-q.js} +1 -1
  53. package/dist/assets/{dist-Db4oRh-1.js → dist-CQ2ppZs-.js} +1 -1
  54. package/dist/assets/{dist-fFpE9HRC.js → dist-nYn-S-oV.js} +1 -1
  55. package/dist/assets/{download-H1rzCXbR.js → download-C0pNnlKj.js} +1 -1
  56. package/dist/assets/{face-bbox-D1LZDm5v.js → face-bbox-xu8Qlb8r.js} +1 -1
  57. package/dist/assets/{flame-BxWqD-L5.js → flame-BGjdV319.js} +1 -1
  58. package/dist/assets/{hard-drive-CKV8Uv6O.js → hard-drive-DjGNtDXr.js} +1 -1
  59. package/dist/assets/{hostInit-B-TKp2C_.js → hostInit-CAl5QIPS.js} +1 -1
  60. package/dist/assets/index-DalvuwcK.js +4 -0
  61. package/dist/assets/{key-round-BE22kGDo.js → key-round-DRCVL-kM.js} +1 -1
  62. package/dist/assets/{layers-Cka_FcYP.js → layers-2uukXT60.js} +1 -1
  63. package/dist/assets/{mf-entry-bootstrap-0-04182267.js → mf-entry-bootstrap-0-6dddcdbf.js} +2 -2
  64. package/dist/assets/{pencil-41O4eHNy.js → pencil-BUEAYwqN.js} +1 -1
  65. package/dist/assets/play-ckP7J5Zm.js +1 -0
  66. package/dist/assets/{player-overlays-HI_DHIYc.js → player-overlays-C3I025v9.js} +1 -1
  67. package/dist/assets/plus-D3CNZJcK.js +1 -0
  68. package/dist/assets/power-Brm2XE3X.js +1 -0
  69. package/dist/assets/{radio-Cxr9zukJ.js → radio-DqmqIUdo.js} +1 -1
  70. package/dist/assets/{refresh-cw-ce0Y6OiJ.js → refresh-cw-CAAh5XyA.js} +1 -1
  71. package/dist/assets/remoteEntry-DFM4kowH.js +1 -0
  72. package/dist/assets/rotate-ccw-DveK8I3_.js +1 -0
  73. package/dist/assets/rotate-cw-BJ98_Cry.js +1 -0
  74. package/dist/assets/{send-CpLK_Aw9.js → send-f9IDxhNs.js} +1 -1
  75. package/dist/assets/{server-B3ndDUUe.js → server-qATQnJsr.js} +1 -1
  76. package/dist/assets/{shield-CBwbYZVU.js → shield-DBssjAHv.js} +1 -1
  77. package/dist/assets/{shield-alert-CJwq6N1w.js → shield-alert-CbUkH_Ei.js} +1 -1
  78. package/dist/assets/square-DAOZKEHV.js +1 -0
  79. package/dist/assets/{square-check-big-DMFYVKb-.js → square-check-big-D9_A7Oa5.js} +1 -1
  80. package/dist/assets/{src-6ex6NLOy.js → src-CCr5jG67.js} +1 -1
  81. package/dist/assets/src-Coe6ub7W.js +67 -0
  82. package/dist/assets/{undo-2-mhYO9tDJ.js → undo-2-ChKaXm2M.js} +1 -1
  83. package/dist/assets/{use-scenes-feed-C_M33v5A.js → use-scenes-feed-Cat2HDbh.js} +1 -1
  84. package/dist/assets/useEventInvalidation-C-NK7msH.js +1 -0
  85. package/dist/assets/{useNodeUrlSelection-Btm6dt7x.js → useNodeUrlSelection-CWge_OOL.js} +1 -1
  86. package/dist/assets/user-round-Z2N0daFf.js +1 -0
  87. package/dist/assets/{video-YKC2IG7f.js → video-C19I6iDt.js} +1 -1
  88. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BtU5ksYm.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-HDWx7Yhh.js} +2 -2
  89. package/dist/assets/{wifi-DeHxhh4Q.js → wifi-BvXQSpsq.js} +1 -1
  90. package/dist/assets/{zap-GMacvpp9.js → zap-D2a6f3rc.js} +1 -1
  91. package/dist/index.html +5 -5
  92. package/dist/server/addon.js +1 -1
  93. package/package.json +1 -1
  94. package/dist/assets/Cluster-DKT-5oGQ.js +0 -11
  95. package/dist/assets/DetectionIntelligence-B20t_MhC.js +0 -1
  96. package/dist/assets/DeviceDetail-BOrGL8yW.js +0 -2
  97. package/dist/assets/Events-vNu7UDgj.js +0 -1
  98. package/dist/assets/Identity-DofnEoKm.js +0 -1
  99. package/dist/assets/IntegrationDetail-CkZ8IayK.js +0 -1
  100. package/dist/assets/Integrations-BBeoFrfr.js +0 -1
  101. package/dist/assets/Network-WS1yYKUK.js +0 -1
  102. package/dist/assets/Notifications-rmQpKvbM.js +0 -1
  103. package/dist/assets/Pipeline-C6NAgFvf.js +0 -1
  104. package/dist/assets/Plates-BI88dIIE.js +0 -1
  105. package/dist/assets/Recordings-C2Q08D8R.js +0 -1
  106. package/dist/assets/circle-check-big-CHPVKL0g.js +0 -1
  107. package/dist/assets/circle-dot-BKyKwObP.js +0 -1
  108. package/dist/assets/clock-DMPflx2t.js +0 -1
  109. package/dist/assets/index-Bo0PCWht.js +0 -4
  110. package/dist/assets/play-C85bN_h1.js +0 -1
  111. package/dist/assets/plus-bLL0eB3V.js +0 -1
  112. package/dist/assets/power-BTldCr7T.js +0 -1
  113. package/dist/assets/remoteEntry-xd5aBrYf.js +0 -1
  114. package/dist/assets/rotate-ccw-DYpZ87lM.js +0 -1
  115. package/dist/assets/rotate-cw-BF-BmrTI.js +0 -1
  116. package/dist/assets/square-B6FVyKkr.js +0 -1
  117. package/dist/assets/src-CCK0xLZ1.js +0 -67
  118. package/dist/assets/useEventInvalidation-BSlACo3I.js +0 -1
  119. package/dist/assets/user-round-D4jxB6Rr.js +0 -1
@@ -1 +1 @@
1
- import{D as e,I as t,J as n,L as r,O as i,Q as a,S as o,W as s,b as c,k as l,q as u,x as d,z as f}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{q as p}from"./src-6ex6NLOy.js";a();var m=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),h=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ee=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),g=e=>{let t=ee(e);return t.charAt(0).toUpperCase()+t.slice(1)},_={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},v=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},te=l(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a=``,children:o,iconNode:s,...c},l)=>i(`svg`,{ref:l,..._,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:m(`lucide`,a),...!o&&!v(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,t])=>i(e,t)),...Array.isArray(o)?o:[o]]));a();var y=(e,t)=>{let n=l(({className:n,...r},a)=>i(te,{ref:a,iconNode:t,className:m(`lucide-${h(g(e))}`,`lucide-${e}`,n),...r}));return n.displayName=g(e),n},b=y(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),x=y(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),S=y(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),C=y(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),w=y(`image-off`,[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]),T=y(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),ne=y(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),re=y(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),ie=y(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]);a();function E(t,n){if(typeof globalThis>`u`)return e(n);let r=globalThis.__camstackSharedContexts,i=r??new Map;r||(globalThis.__camstackSharedContexts=i);let a=i.get(t);if(a)return a;let o=e(n);return i.set(t,o),o}a();var D=E(`camstack:system`,null);function O({system:e,children:t}){return d(D.Provider,{value:e,children:t})}function k(){let e=r(D);if(!e)throw Error(`useSystem(): no <SystemProvider> in tree`);return e}function A(){return r(D)}a();function j({title:e,icon:t,headerRight:n,collapsible:r=!1,defaultOpen:i=!0,bodyClassName:a=`p-3`,children:s}){let[l,f]=u(i),p=!r||l,m=o(c,{children:[o(`span`,{className:`flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground`,children:[t,e]}),r?d(l?x:S,{className:`h-3.5 w-3.5 text-foreground-subtle`}):n]}),h=`px-4 py-2 flex items-center justify-between ${p?`border-b border-border`:``}`;return o(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[r?d(`button`,{type:`button`,onClick:()=>f(e=>!e),className:`w-full text-left ${h}`,children:m}):d(`div`,{className:h,children:m}),p?d(`div`,{className:a,children:s}):null]})}function M({label:e,icon:t,children:n,footer:r}){return o(`div`,{className:`rounded-md border border-border/60 bg-background/40 px-3 py-2`,children:[o(`div`,{className:`mb-1 flex items-center gap-1.5 text-[11px] uppercase tracking-wider text-foreground-subtle`,children:[t,e]}),d(`div`,{className:`text-sm font-medium text-foreground`,children:n}),r?d(`div`,{className:`mt-0.5 text-[10px] text-foreground-subtle`,children:r}):null]})}a();var N=`capability.binding-changed`;function P(e,t){let[n,r]=u(null);return f(()=>{if(t===null){r(null);return}let n=!1,i=async()=>{try{let i=await e.deviceManager.getBindings.query({deviceId:t});n||r(i)}catch{n||r(e=>e)}};i();let a=e.live?.onEvent.subscribe({category:N},{onData:e=>{let n=e.data?.source;if(!n){i();return}n.type===`device`&&n.id===t&&i()}});return()=>{n=!0,a?.unsubscribe()}},[e,t]),s(()=>n?p(e,n):null,[e,n])}function F(e){let r=t(t=>e?e.subscribe(()=>t()):()=>void 0,[e]),i=t(()=>e?.value,[e]);return n(r,i,i)}function I(e,t,n){let r=P(e,t);return F(r?n(r.state):void 0)}function L(e){if(typeof e!=`object`||!e)return null;let t=Reflect.get(e,`data`);if(typeof t==`object`&&t){let e=Reflect.get(t,`capRouteReason`);if(typeof e==`string`)return e}return null}function R(e){let t=L(e);return t===null?(e instanceof Error?e.message:String(e)).includes(`provider not available`):t===`no-provider`||t===`node-offline`}var z=[`day`,`ir`],B={day:`Daylight`,ir:`Night (IR)`,night:`Night`,dawn:`Dawn`,dusk:`Dusk`};function V(e){return B[e]??e}function H(e){let t=new Set(e.coveredConditions),n=z.map(e=>`${V(e)} ${t.has(e)?`✓`:`✗`}`),r=[...t].filter(e=>!z.some(t=>t===e));for(let e of r)n.push(`${V(e)} ✓`);let i=z.filter(e=>!t.has(e));if(i.length===0)return n.join(` · `);if(t.size===0)return`${n.join(` · `)} — nothing captured yet, so this scene is not watching.`;let a=i.map(e=>V(e).toLowerCase()).join(` and `);return e.onUncoveredCondition===`judge-anyway`?`${n.join(` · `)} — ${a} judged against the references you do have.`:`${n.join(` · `)} — optional; checks in ${a} are skipped.`}function U(e){if(e.suspendedCondition===null)return null;let t=V(e.suspendedCondition).toLowerCase();return`Paused — nothing was captured in ${t}, so checks are on hold until the light changes back. Capture ${t} if you want it watched around the clock.`}var W={"no-reference-for-condition":`can’t tell — nothing has been captured for this scene yet. Press “Capture daylight” to photograph what normal looks like.`,"view-shifted":`can’t tell — the camera view has moved since the reference was captured. Re-capture it.`,"no-vision-profile":`can’t tell — the vision model is unreachable, so the change is on hold.`,"encoder-model-changed":`can’t tell — the embedding model changed, so the stored references are unreadable. Re-capture them.`,"no-snapshot":`can’t tell — this camera did not return a frame.`};function G(e,t){if(e.states.length===0)return`Not armed yet — capture the initial state to start watching.`;if(e.verdict===`unknown`)return e.unavailable===null?`can’t tell right now.`:W[e.unavailable];let n=e.verdict===`diverged`?e.divergedAt:e.armedAt,r=n===null?``:` for ${Y(Math.max(0,t-n))}`;if(e.latched)return e.verdict===`diverged`?`CHANGED${r} — press Reset when you have dealt with it.`:`Back to normal, but still flagged as changed${r}. Press Reset to clear it.`;let i=U(e);return i===null?e.verdict===`diverged`?`CHANGED${r}`:`Normal${r}`:i}function K(e){return e.states.length===0?{text:`Not armed`,tone:`unknown`}:e.latched?{text:`Changed`,tone:`alarm`}:e.suspendedCondition===null?e.verdict===`unknown`?{text:`Can’t tell`,tone:`unknown`}:e.verdict===`diverged`?{text:`Changed`,tone:`alarm`}:{text:`Normal`,tone:`ok`}:{text:`Paused`,tone:`unknown`}}var q=.4;function J(e){return e.width*e.height>q}function Y(e){let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let n=Math.floor(t/60);if(n<60)return`${n}m`;let r=Math.floor(n/60);return r<48?`${r}h`:`${Math.floor(r/24)}d`}var ae=`rounded-lg border border-border bg-surface overflow-hidden`,oe=`border-b border-border px-3 sm:px-4 py-1.5 sm:py-2`,se=`p-2 sm:p-3 lg:p-4`,ce=`space-y-3 sm:space-y-4`,le=`gap-2 sm:gap-3`,ue=`px-3 sm:px-4 py-1.5 sm:py-2`,de=`grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4`,fe=`grid grid-cols-1 lg:grid-cols-2`,pe=`flex flex-col-reverse md:flex-row`,me=`w-full md:w-44 lg:w-52 md:flex-shrink-0 border-b md:border-b-0 md:border-l border-border`,he=`sm`,ge=`flex min-w-0 flex-col gap-0.5 py-1.5 sm:flex-row sm:items-center`,_e=`min-w-0 text-[11px] leading-tight text-foreground-subtle sm:w-32 sm:shrink-0 sm:pr-2`,ve=`flex w-full min-w-0 items-center gap-1 sm:flex-1`,ye=`min-w-0 break-all text-xs text-foreground sm:truncate`,be=`text-[10px] sm:text-[11px] font-semibold text-foreground uppercase tracking-wider`,xe=`text-[11px] sm:text-xs text-foreground`,Se=`text-[10px] text-foreground-subtle`,Ce=`text-[11px] sm:text-xs font-medium text-foreground`,we=`text-base sm:text-lg font-semibold leading-tight text-foreground`,Te=`inline-flex items-center justify-center gap-1 rounded border border-border bg-surface px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-foreground hover:bg-surface-hover transition-colors disabled:opacity-40`,Ee=`inline-flex items-center justify-center gap-1 rounded border border-primary/40 bg-primary/15 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-primary hover:bg-primary/25 transition-colors disabled:opacity-40`,De=`inline-flex items-center justify-center gap-1 rounded border border-danger/40 bg-danger/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-danger hover:bg-danger/20 transition-colors disabled:opacity-40`,Oe=`inline-flex items-center justify-center gap-1 rounded border border-warning/40 bg-warning/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-warning hover:bg-warning/20 transition-colors disabled:opacity-40`,ke=`w-full rounded border border-border bg-background px-1.5 py-0.5 sm:px-2 sm:py-1 text-[11px] sm:text-xs text-foreground focus:border-primary focus:ring-1 focus:ring-primary/30 outline-none`,Ae=`inline-flex items-center gap-1 rounded-full border px-1.5 py-0.5 text-[10px] font-medium transition-colors`,X=`border-primary/50 bg-primary/15 text-primary`,je=`border-border bg-surface text-foreground-subtle hover:bg-surface-hover`;a();var Z=`/addon/snapshot/media`;function Me(e,n={}){let{width:r,baseUrl:i}=n,[a,o]=u(0);return{src:s(()=>{if(e===null||e<=0)return null;let t=i===void 0?``:i.replace(/\/+$/,``),n=new URLSearchParams;r!==void 0&&Number.isInteger(r)&&r>0&&n.set(`w`,String(r)),a>0&&(n.set(`force`,`1`),n.set(`r`,String(a)));let o=n.toString();return`${t}${Z}/${String(e)}.jpg${o.length>0?`?${o}`:``}`},[e,r,i,a]),loading:!1,refresh:t(()=>{o(e=>e+1)},[])}}a();var Q=E(`camstack:player-overlays-state`,null),$=E(`camstack:player-overlays-actions`,null);function Ne({children:e}){let[n,r]=u(()=>new Map),[i,a]=u(()=>new Map),o=t(e=>{r(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),c=t(e=>{r(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),l=t(e=>{a(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),f=t(e=>{a(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),p=s(()=>({layers:n,buttons:i}),[n,i]),m=s(()=>({setLayer:o,removeLayer:c,setButton:l,removeButton:f}),[o,c,l,f]);return d(Q.Provider,{value:p,children:d($.Provider,{value:m,children:e})})}function Pe(){let e=r(Q);return s(()=>e?[...e.layers.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Fe(){let e=r(Q);return s(()=>e?[...e.buttons.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Ie(e){let t=r($);f(()=>{if(!(!t||!e))return t.setLayer(e),()=>t.removeLayer(e.id)},[t,e])}function Le(e){let t=r($);f(()=>{if(!(!t||!e))return t.setButton(e),()=>t.removeButton(e.id)},[t,e])}export{E as $,ce as A,Y as B,ge as C,ye as D,ve as E,Ce as F,P as G,G as H,q as I,M as J,I as K,z as L,Se as M,we as N,pe as O,be as P,k as Q,K as R,oe as S,he as T,V as U,J as V,R as W,O as X,j as Y,A as Z,de as _,Fe as a,C as at,se as b,Te as c,b as ct,Oe as d,ie as et,X as f,fe as g,le as h,Le as i,w as it,xe as j,me as k,De as l,y as lt,je as m,Ie as n,ne as nt,Z as o,S as ot,Ae as p,F as q,Pe as r,T as rt,Me as s,x as st,Ne as t,re as tt,Ee as u,ke as v,_e as w,ae as x,ue as y,H as z};
1
+ import{D as e,I as t,J as n,L as r,O as i,Q as a,S as o,W as s,b as c,k as l,q as u,x as d,z as f}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{q as p}from"./src-CCr5jG67.js";a();var m=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),h=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ee=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),g=e=>{let t=ee(e);return t.charAt(0).toUpperCase()+t.slice(1)},_={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},v=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},te=l(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a=``,children:o,iconNode:s,...c},l)=>i(`svg`,{ref:l,..._,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:m(`lucide`,a),...!o&&!v(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,t])=>i(e,t)),...Array.isArray(o)?o:[o]]));a();var y=(e,t)=>{let n=l(({className:n,...r},a)=>i(te,{ref:a,iconNode:t,className:m(`lucide-${h(g(e))}`,`lucide-${e}`,n),...r}));return n.displayName=g(e),n},b=y(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),x=y(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),S=y(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),C=y(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),w=y(`image-off`,[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]),T=y(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),ne=y(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),re=y(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),ie=y(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]);a();function E(t,n){if(typeof globalThis>`u`)return e(n);let r=globalThis.__camstackSharedContexts,i=r??new Map;r||(globalThis.__camstackSharedContexts=i);let a=i.get(t);if(a)return a;let o=e(n);return i.set(t,o),o}a();var D=E(`camstack:system`,null);function O({system:e,children:t}){return d(D.Provider,{value:e,children:t})}function k(){let e=r(D);if(!e)throw Error(`useSystem(): no <SystemProvider> in tree`);return e}function A(){return r(D)}a();function j({title:e,icon:t,headerRight:n,collapsible:r=!1,defaultOpen:i=!0,bodyClassName:a=`p-3`,children:s}){let[l,f]=u(i),p=!r||l,m=o(c,{children:[o(`span`,{className:`flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground`,children:[t,e]}),r?d(l?x:S,{className:`h-3.5 w-3.5 text-foreground-subtle`}):n]}),h=`px-4 py-2 flex items-center justify-between ${p?`border-b border-border`:``}`;return o(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[r?d(`button`,{type:`button`,onClick:()=>f(e=>!e),className:`w-full text-left ${h}`,children:m}):d(`div`,{className:h,children:m}),p?d(`div`,{className:a,children:s}):null]})}function M({label:e,icon:t,children:n,footer:r}){return o(`div`,{className:`rounded-md border border-border/60 bg-background/40 px-3 py-2`,children:[o(`div`,{className:`mb-1 flex items-center gap-1.5 text-[11px] uppercase tracking-wider text-foreground-subtle`,children:[t,e]}),d(`div`,{className:`text-sm font-medium text-foreground`,children:n}),r?d(`div`,{className:`mt-0.5 text-[10px] text-foreground-subtle`,children:r}):null]})}a();var N=`capability.binding-changed`;function P(e,t){let[n,r]=u(null);return f(()=>{if(t===null){r(null);return}let n=!1,i=async()=>{try{let i=await e.deviceManager.getBindings.query({deviceId:t});n||r(i)}catch{n||r(e=>e)}};i();let a=e.live?.onEvent.subscribe({category:N},{onData:e=>{let n=e.data?.source;if(!n){i();return}n.type===`device`&&n.id===t&&i()}});return()=>{n=!0,a?.unsubscribe()}},[e,t]),s(()=>n?p(e,n):null,[e,n])}function F(e){let r=t(t=>e?e.subscribe(()=>t()):()=>void 0,[e]),i=t(()=>e?.value,[e]);return n(r,i,i)}function I(e,t,n){let r=P(e,t);return F(r?n(r.state):void 0)}function L(e){if(typeof e!=`object`||!e)return null;let t=Reflect.get(e,`data`);if(typeof t==`object`&&t){let e=Reflect.get(t,`capRouteReason`);if(typeof e==`string`)return e}return null}function R(e){let t=L(e);return t===null?(e instanceof Error?e.message:String(e)).includes(`provider not available`):t===`no-provider`||t===`node-offline`}var z=[`day`,`ir`],B={day:`Daylight`,ir:`Night (IR)`,night:`Night`,dawn:`Dawn`,dusk:`Dusk`};function V(e){return B[e]??e}function H(e){let t=new Set(e.coveredConditions),n=z.map(e=>`${V(e)} ${t.has(e)?`✓`:`✗`}`),r=[...t].filter(e=>!z.some(t=>t===e));for(let e of r)n.push(`${V(e)} ✓`);let i=z.filter(e=>!t.has(e));if(i.length===0)return n.join(` · `);if(t.size===0)return`${n.join(` · `)} — nothing captured yet, so this scene is not watching.`;let a=i.map(e=>V(e).toLowerCase()).join(` and `);return e.onUncoveredCondition===`judge-anyway`?`${n.join(` · `)} — ${a} judged against the references you do have.`:`${n.join(` · `)} — optional; checks in ${a} are skipped.`}function U(e){if(e.suspendedCondition===null)return null;let t=V(e.suspendedCondition).toLowerCase();return`Paused — nothing was captured in ${t}, so checks are on hold until the light changes back. Capture ${t} if you want it watched around the clock.`}var W={"no-reference-for-condition":`can’t tell — nothing has been captured for this scene yet. Press “Capture daylight” to photograph what normal looks like.`,"view-shifted":`can’t tell — the camera view has moved since the reference was captured. Re-capture it.`,"no-vision-profile":`can’t tell — the vision model is unreachable, so the change is on hold.`,"encoder-model-changed":`can’t tell — the embedding model changed, so the stored references are unreadable. Re-capture them.`,"no-snapshot":`can’t tell — this camera did not return a frame.`};function G(e,t){if(e.states.length===0)return`Not armed yet — capture the initial state to start watching.`;if(e.verdict===`unknown`)return e.unavailable===null?`can’t tell right now.`:W[e.unavailable];let n=e.verdict===`diverged`?e.divergedAt:e.armedAt,r=n===null?``:` for ${Y(Math.max(0,t-n))}`;if(e.latched)return e.verdict===`diverged`?`CHANGED${r} — press Reset when you have dealt with it.`:`Back to normal, but still flagged as changed${r}. Press Reset to clear it.`;let i=U(e);return i===null?e.verdict===`diverged`?`CHANGED${r}`:`Normal${r}`:i}function K(e){return e.states.length===0?{text:`Not armed`,tone:`unknown`}:e.latched?{text:`Changed`,tone:`alarm`}:e.suspendedCondition===null?e.verdict===`unknown`?{text:`Can’t tell`,tone:`unknown`}:e.verdict===`diverged`?{text:`Changed`,tone:`alarm`}:{text:`Normal`,tone:`ok`}:{text:`Paused`,tone:`unknown`}}var q=.4;function J(e){return e.width*e.height>q}function Y(e){let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let n=Math.floor(t/60);if(n<60)return`${n}m`;let r=Math.floor(n/60);return r<48?`${r}h`:`${Math.floor(r/24)}d`}var ae=`rounded-lg border border-border bg-surface overflow-hidden`,oe=`border-b border-border px-3 sm:px-4 py-1.5 sm:py-2`,se=`p-2 sm:p-3 lg:p-4`,ce=`space-y-3 sm:space-y-4`,le=`gap-2 sm:gap-3`,ue=`px-3 sm:px-4 py-1.5 sm:py-2`,de=`grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4`,fe=`grid grid-cols-1 lg:grid-cols-2`,pe=`flex flex-col-reverse md:flex-row`,me=`w-full md:w-44 lg:w-52 md:flex-shrink-0 border-b md:border-b-0 md:border-l border-border`,he=`sm`,ge=`flex min-w-0 flex-col gap-0.5 py-1.5 sm:flex-row sm:items-center`,_e=`min-w-0 text-[11px] leading-tight text-foreground-subtle sm:w-32 sm:shrink-0 sm:pr-2`,ve=`flex w-full min-w-0 items-center gap-1 sm:flex-1`,ye=`min-w-0 break-all text-xs text-foreground sm:truncate`,be=`text-[10px] sm:text-[11px] font-semibold text-foreground uppercase tracking-wider`,xe=`text-[11px] sm:text-xs text-foreground`,Se=`text-[10px] text-foreground-subtle`,Ce=`text-[11px] sm:text-xs font-medium text-foreground`,we=`text-base sm:text-lg font-semibold leading-tight text-foreground`,Te=`inline-flex items-center justify-center gap-1 rounded border border-border bg-surface px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-foreground hover:bg-surface-hover transition-colors disabled:opacity-40`,Ee=`inline-flex items-center justify-center gap-1 rounded border border-primary/40 bg-primary/15 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-primary hover:bg-primary/25 transition-colors disabled:opacity-40`,De=`inline-flex items-center justify-center gap-1 rounded border border-danger/40 bg-danger/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-danger hover:bg-danger/20 transition-colors disabled:opacity-40`,Oe=`inline-flex items-center justify-center gap-1 rounded border border-warning/40 bg-warning/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-warning hover:bg-warning/20 transition-colors disabled:opacity-40`,ke=`w-full rounded border border-border bg-background px-1.5 py-0.5 sm:px-2 sm:py-1 text-[11px] sm:text-xs text-foreground focus:border-primary focus:ring-1 focus:ring-primary/30 outline-none`,Ae=`inline-flex items-center gap-1 rounded-full border px-1.5 py-0.5 text-[10px] font-medium transition-colors`,X=`border-primary/50 bg-primary/15 text-primary`,je=`border-border bg-surface text-foreground-subtle hover:bg-surface-hover`;a();var Z=`/addon/snapshot/media`;function Me(e,n={}){let{width:r,baseUrl:i}=n,[a,o]=u(0);return{src:s(()=>{if(e===null||e<=0)return null;let t=i===void 0?``:i.replace(/\/+$/,``),n=new URLSearchParams;r!==void 0&&Number.isInteger(r)&&r>0&&n.set(`w`,String(r)),a>0&&(n.set(`force`,`1`),n.set(`r`,String(a)));let o=n.toString();return`${t}${Z}/${String(e)}.jpg${o.length>0?`?${o}`:``}`},[e,r,i,a]),loading:!1,refresh:t(()=>{o(e=>e+1)},[])}}a();var Q=E(`camstack:player-overlays-state`,null),$=E(`camstack:player-overlays-actions`,null);function Ne({children:e}){let[n,r]=u(()=>new Map),[i,a]=u(()=>new Map),o=t(e=>{r(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),c=t(e=>{r(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),l=t(e=>{a(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),f=t(e=>{a(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),p=s(()=>({layers:n,buttons:i}),[n,i]),m=s(()=>({setLayer:o,removeLayer:c,setButton:l,removeButton:f}),[o,c,l,f]);return d(Q.Provider,{value:p,children:d($.Provider,{value:m,children:e})})}function Pe(){let e=r(Q);return s(()=>e?[...e.layers.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Fe(){let e=r(Q);return s(()=>e?[...e.buttons.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Ie(e){let t=r($);f(()=>{if(!(!t||!e))return t.setLayer(e),()=>t.removeLayer(e.id)},[t,e])}function Le(e){let t=r($);f(()=>{if(!(!t||!e))return t.setButton(e),()=>t.removeButton(e.id)},[t,e])}export{E as $,ce as A,Y as B,ge as C,ye as D,ve as E,Ce as F,P as G,G as H,q as I,M as J,I as K,z as L,Se as M,we as N,pe as O,be as P,k as Q,K as R,oe as S,he as T,V as U,J as V,R as W,O as X,j as Y,A as Z,de as _,Fe as a,C as at,se as b,Te as c,b as ct,Oe as d,ie as et,X as f,fe as g,le as h,Le as i,w as it,xe as j,me as k,De as l,y as lt,je as m,Ie as n,ne as nt,Z as o,S as ot,Ae as p,F as q,Pe as r,T as rt,Me as s,x as st,Ne as t,re as tt,Ee as u,ke as v,_e as w,ae as x,ue as y,H as z};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-Bo0PCWht.js";var t=e(`radio`,[[`path`,{d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9`,key:`1vaf9d`}],[`path`,{d:`M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5`,key:`u1ii0m`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5`,key:`1j5fej`}],[`path`,{d:`M19.1 4.9C23 8.8 23 15.1 19.1 19`,key:`10b0cb`}]]);export{t};
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`radio`,[[`path`,{d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9`,key:`1vaf9d`}],[`path`,{d:`M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5`,key:`u1ii0m`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5`,key:`1j5fej`}],[`path`,{d:`M19.1 4.9C23 8.8 23 15.1 19.1 19`,key:`10b0cb`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-Bo0PCWht.js";var t=e(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]);export{t};
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{n as e,t}from"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-HDWx7Yhh.js";export{t as get,e as init};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-Bo0PCWht.js";var t=e(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),n=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]);export{t as n,n as t};
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),n=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{J as e}from"./index-Bo0PCWht.js";var t=e(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]);export{t};
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-Bo0PCWht.js";var t=e(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]);export{t};
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-Bo0PCWht.js";var t=e(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]);export{t};
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-Bo0PCWht.js";var t=e(`square-check-big`,[[`path`,{d:`M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5`,key:`1uzm8b`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
1
+ import{J as e}from"./index-DalvuwcK.js";var t=e(`square-check-big`,[[`path`,{d:`M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5`,key:`1uzm8b`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
@@ -346,4 +346,4 @@ ${r.triggers.map((e,t)=>Qo(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 sj)t=t.replace(e,n);return t.replace(/\n{3,}/g,`
348
348
 
349
- `).trim()}var lj=[[/&/g,`&amp;`],[/</g,`&lt;`],[/>/g,`&gt;`],[/"/g,`&quot;`],[/'/g,`&#39;`]];function uj(e){let t=e;for(let[e,n]of lj)t=t.replace(e,n);return t}function dj(e){return uj(e).replace(/\n/g,`<br>`)}function fj(e){return uj(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 pj={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function mj(e,t){for(let n of pj[e]??pj.text)if(t.includes(n))return n;return t[0]??`text`}function hj(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return oj(e);if(t===`html`)return cj(e)}if(n===`html`){if(t===`text`)return dj(e);if(t===`markdown`)return fj(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return cj(e)}return e}function gj(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function _j(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 gj(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return gj(e[0]);let r=t.priority;return gj([...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 vj(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 yj(e,t){let n=[],r=t.format,i=mj(r,e.format);i!==r&&n.push(`format`);let a=hj(t.body,r,i),o=_j(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=vj(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 bj=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,xj=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,Sj=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,Cj=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,wj=`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.`,Tj=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,Ej=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,Dj=[{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:bj,eventTypeTokens:xj,source:Sj},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:wj,classesExclude:wj,minConfidence:Tj,zones:Ej,zonesExclude:Ej,customZones:Ej,crossing:Ej,labelEquals:wj,identities:wj,identitiesExclude:wj,plates:wj,source:Cj},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 Oj(e){return Dj.find(t=>t.kind===e)??Dj[0]}var kj=`system-event`;function Aj(e){return e===kj}function jj(e){return Aj(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 Mj(e,t,n){let r=Oj(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function Nj(e,t){let n=Oj(t);return e===n.discriminator?null:n.excluded[e]??null}function Pj(e,t){let n=Oj(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 Fj=[{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 Ij(e){return Fj.find(t=>t.key===e)??Fj[0]}function Lj(e){return Fj.find(t=>t.key===e)?.key}function Rj(e){return e.conditions.audio!==void 0}function zj(e){return e.conditions.occupancy!==void 0}function Bj(e,t){return t===`all`?!0:t===`system`?Aj(e.delivery):t===`audio`?Rj(e):t===`occupancy`?zj(e):!Aj(e.delivery)&&!Rj(e)&&!zj(e)}function Vj(e){return Bj(e,`system`)?`system`:Bj(e,`audio`)?`audio`:Bj(e,`occupancy`)?`occupancy`:`detection`}var Hj={op:`became-occupied`,count:1,sustainSeconds:15},Uj={hitPercent:zA.hitPercent,samplingSeconds:zA.samplingSeconds,dbThreshold:-55};function Wj(e){switch(e){case`system`:return{delivery:kj,conditions:{}};case`audio`:return{delivery:`immediate`,conditions:{audio:Uj}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:Hj}};default:return{delivery:`immediate`,conditions:{}}}}function Gj(e){return Wj(e).delivery}var Kj=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],qj={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function Jj(e){let t=Oj(e),n=[];for(let r of Kj)r===`devices`&&e===`system`||n.push({key:r,label:r===`conditions`?t.label:qj[r]});return n}var Yj={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function Xj(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:Yj[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 Zj(e,t){if(e===void 0)return!0;let{day:n,minute:r}=Xj(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 Qj=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`];function $j(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===`server-updated`;case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`server-updated`}}function eM(e,t){return e.some(e=>$j(e,t))}var tM=a({title:g().max(500).optional(),body:g().max(2e3).optional()}),nM=g().min(1).max(200),rM=p(o()).min(1),iM=o().int().min(2).max(3600),aM=o().int().min(1).max(60),oM=p(Tm).min(1),sM=o().int().min(1).max(5),cM=.1,lM=o().min(cM).max(3600),uM=o().min(0).max(60),dM=g().max(200),fM=m([`image`,`gif`]),pM=p(g().min(1).max(40)).max(20),mM=a({name:nM,enabled:v().default(!0),deviceIds:rM,schedule:fm,cadenceSec:iM.default(15),framerate:aM.default(10),denseCadenceSec:lM.optional(),minDwellSec:uM.optional(),targets:oM,template:tM.optional(),previewText:dM.optional(),previewMode:fM.default(`image`),reportClasses:pM.optional(),priority:sM.default(3)}),hM=`Timelapse {{camera}}`,gM=a({name:nM.optional(),enabled:v().optional(),deviceIds:rM.optional(),schedule:fm.optional(),cadenceSec:iM.optional(),framerate:aM.optional(),denseCadenceSec:lM.optional(),minDwellSec:uM.optional(),targets:oM.optional(),template:tM.nullable().optional(),previewText:dM.optional(),previewMode:fM.optional(),reportClasses:pM.optional(),priority:sM.optional()}),_M=mM.extend({id:g(),ownerUserId:g().optional(),lastGeneratedAt:o().optional(),generatedByDevice:r(g(),o()).optional(),createdBy:g(),createdAt:o(),updatedAt:o()});function vM(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 yM(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}var bM=[{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`}]}],xM=`cluster-step-models`;function SM(e){return`clusterModel:${e}`}function CM(e){return bM.some(t=>t.stepId===e)}var wM=Object.freeze(Object.fromEntries(bM.map(e=>[e.stepId,e.defaultModelId]))),TM=g().min(1);function EM(e){let t={};for(let n of bM){let r=TM.safeParse(e[SM(n.stepId)]);t[n.stepId]=r.success?r.data:n.defaultModelId}return t}function DM(e){return typeof e==`object`&&!!e&&`key`in e}function OM(e){if(e===null)return wM;let t={},n=new Set(bM.map(e=>SM(e.stepId)));for(let r of e.sections)for(let e of r.fields)!DM(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return EM(t)}function kM(e,t){let n=bM.find(t=>t.stepId===e);if(n===void 0)return null;let r=t[e];return r!==void 0&&r!==``?r:n.defaultModelId}var AM=[{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 jM(e,t){return`clusterStepSetting:${e}:${t}`}function MM(e){return AM.filter(t=>t.stepId===e)}var NM=o().finite();function PM(e){let t={};for(let n of AM){let r=NM.safeParse(e[jM(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 FM=PM({});function IM(e){if(e===null)return FM;let t={},n=new Set(AM.map(e=>jM(e.stepId,e.key)));for(let r of e.sections)for(let e of r.fields)!DM(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return PM(t)}function LM(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 RM=`detail-crop`,zM=`detailCropPaddingRatio`,BM=`detailCropSquare`,VM=a({paddingRatio:o().min(0).max(4),square:v()}),HM={paddingRatio:.15,square:!1};function UM(e){let t=VM.shape.paddingRatio.safeParse(e[zM]),n=VM.shape.square.safeParse(e[BM]);return{paddingRatio:t.success?t.data:HM.paddingRatio,square:n.success?n.data:HM.square}}function WM(e){return typeof e==`object`&&!!e&&`key`in e}function GM(e){if(e===null)return HM;let t={};for(let n of e.sections)for(let e of n.fields)!WM(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return UM(t)}var KM=Object.freeze({x:0,y:0,w:1,h:1}),qM={min:0,max:1,step:.05,default:HM.paddingRatio};function JM(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?ZM(YM(o,t,n),t,n):XM(o,t,n)}function YM(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 XM(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 ZM(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 QM=`native-lease`,$M=`nativeLeaseHoldFrames`,eN=`nativeLeaseBudgetMb`,tN=`nativeLeaseActivityMs`,nN=`nativeLeaseAdmission`,rN=`nativeTileBudgetMb`,iN=`nativeSceneBudgetMb`,aN=m([`all`,`inferred`]),oN=a({holdFrames:o().int().min(1).max(64),budgetMb:o().int().min(0).max(4096),activityMs:o().int().min(0).max(12e4),admission:aN,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`},sN={min:1,max:64,step:1,default:Q.holdFrames},cN={min:0,max:4096,step:64,default:Q.budgetMb},lN={min:0,max:12e4,step:1e3,default:Q.activityMs},uN={min:0,max:1024,step:16,default:Q.tileBudgetMb},dN={min:0,max:1024,step:16,default:Q.sceneBudgetMb},fN={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:Q.admission};function pN(e,t){let n=oN.shape[e].safeParse(t);return n.success?n.data===Q[e]?null:n.data:null}function mN(e){let t=aN.safeParse(e);return t.success?t.data===Q.admission?null:t.data:null}function hN(e){let t=pN(`holdFrames`,e[$M]),n=pN(`budgetMb`,e[eN]),r=pN(`activityMs`,e[tN]),i=mN(e[nN]),a=pN(`tileBudgetMb`,e[rN]),o=pN(`sceneBudgetMb`,e[iN]);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 gN(e){return typeof e==`object`&&!!e&&`key`in e}var _N=[$M,eN,tN,nN,rN,iN];function vN(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!gN(e)||typeof e.key!=`string`||_N.includes(e.key)&&(t[e.key]=e.value);return hN(t)}var yN=[{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 bN(e){let t=yN.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function xN(e){let t=bN(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function SN(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function CN(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=yN.find(e=>SN(e.deviceAccess,r.access)&&SN(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var wN=8;function TN(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 EN(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function DN(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function ON(e,t){return e.includeLinked??t===`view`}function kN(e,t){let n=[],r=e;for(let e=0;e<wN;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 AN(e,t,n){if(EN(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=DN(e,n),a=new Set;for(let e of t)for(let t of i){if(TN(t.selector,e)){a.add(e.id);break}if(ON(t,n)&&kN(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&TN(t.selector,n)})){a.add(e.id);break}}return a}function jN(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 MN=[`view`,`create`,`delete`];function NN(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:EN(e,n)||DN(e,n).some(e=>e.selector.kind===`all`),deviceCount:AN(e,t,n).size}}function PN(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function FN(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function IN(e,t,n){let r={view:NN(e,t,`view`,n),create:NN(e,t,`create`,n),delete:NN(e,t,`delete`,n)},i=n?MN:MN.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:PN(e),addons:FN(e)}}var LN={camera:{type:`camera`,label:`Camera`,icon:`camera`}},RN={"°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}},zN=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 BN(e){return Object.hasOwn(RN,e)?RN[e]:void 0}function VN(e){return BN(e)?.dimension}function HN(e,t){return e*t.factor+t.offset}function UN(e,t){return(e-t.offset)/t.factor}function WN(e,t,n){if(t===n)return e;let r=BN(t);if(!r)throw new zN(t,n,`unknown-from`);let i=BN(n);if(!i)throw new zN(t,n,`unknown-to`);if(r.dimension!==i.dimension)throw new zN(t,n,`cross-dimension`);return UN(HN(e,r),i)}function GN(e,t,n){if(t===n)return e;let r=BN(t);if(!r)return;let i=BN(n);if(i&&r.dimension===i.dimension)return UN(HN(e,r),i)}function KN(e,t){if(e===t)return!0;let n=VN(e);return n===void 0?!1:n===VN(t)}function qN(e){let t=[];for(let[n,r]of Object.entries(RN))r.dimension===e&&t.push(n);return t}var JN=[15e3,6e4,5*6e4,15*6e4,30*6e4,60*6e4,90*6e4];function YN(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 XN(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-YN(n,r)/Math.max(n.length,r.length)}function ZN(e,t,n=.8){let r=null,i=0;for(let a of t){let t=XN(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var QN=`addon:`;function $N(e){return e.startsWith(QN)?e.slice(6):e}function eP(e,t){return $N(e)===$N(t)}function tP(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 nP=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(),rP(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 rP(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 iP(e){return e instanceof Error?e.message:typeof e==`string`?e:String(e)}function aP(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}function oP(e){return JSON.parse(e)}function sP(e){return typeof e!=`object`||!e||Array.isArray(e)?null:{...e}}function cP(e){return Array.isArray(e)?e:[]}function lP(e,t=``){return typeof e==`string`?e:t}function uP(e,t=0){return typeof e==`number`?e:t}function dP(e,t=!1){return typeof e==`boolean`?e:t}function fP(e){try{return sP(oP(e))}catch{return null}}function pP(e){try{let t=oP(e);return Array.isArray(t)?t:null}catch{return null}}var mP=[/^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 hP(e){return mP.some(t=>t.test(e))}function gP(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()))hP(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,_P={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function vP(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=_P;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 yP(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 bP(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function xP(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function SP(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:xP(r)}}function CP(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function wP(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function TP(e,t,n,r){let i=SP(e,t,r),a=CP(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=wP(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 EP(e,t){return{...bP(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function DP(e){return{...bP(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function OP(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 kP=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??bP();t&&t.pids.length>0&&!AP(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=DP(a));let o=TP(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=OP(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:EP(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 AP(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 jP(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 MP(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 NP=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 PP(e,t){let n=performance.now();try{return{output:t===void 0?await e():await IP(e(),t),durationMs:FP(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:FP(performance.now()-n),ok:!1,error:iP(e)}}}function FP(e){return Math.round(e*100)/100}function IP(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 LP={cpu:`onnx`,coreml:`onnx`,cuda:`onnx`,tensorrt:`onnx`,"onnx-py":`onnx`,pytorch:`pt`,openvino:`openvino`},RP={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function zP(e){return RP[e]??`onnx`}var BP={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},VP={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function HP(e,t){return e===`node`?`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pytorch`,"onnx-py":`onnx`,cpu:`onnx`}[t]??t}function UP(e,t){return e===`node`?LP[t]??`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pt`,"onnx-py":`onnx`,cpu:`onnx`}[t]??`onnx`}function WP(e,t){return!e||e===`auto`?`auto`:HP(e,t??`cpu`)}function GP(e){return LP[e]??`onnx`}function KP(e){return BP[e]}function qP(e){return VP[e]}function JP(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function YP(e){return new Promise(t=>setTimeout(t,Math.max(0,e)))}function XP(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 ZP(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 QP(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 $P(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function eF(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=>tF(t,e,n,l)),f=s.some(t=>tF(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 tF(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&&nF(t,e.polygon))return!0}return!1}function nF(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 rF(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 iF={value:`auto`,label:`Auto`},aF={value:`cpu`,label:`CPU`},oF={value:`usb`,label:`Coral USB`},sF=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[aF];let t=[aF];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[iF];let t=[iF,aF];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`},aF),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[oF],defaultDevice:`usb`}];function cF(e){let t=sF.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function lF(e){return sF.filter(t=>t.supports(e)).map(e=>e.id)}function uF(e,t){return cF(e).devices(t)}function dF(e){return cF(e).defaultDevice}function fF(e){return e===`edgetpu`?`tflite`:KP(e)}function pF(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 mF={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function hF(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function gF(e){let{scores:t}=pF(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(hF(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(hF(`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(hF(`edgetpu`,t,r.format,r.score))}continue}let t=mF[r.backend]??r.backend;n.push(hF(r.backend,t,r.format,r.score))}return n}var _F=t({ACCESSORY_LABEL:()=>XO,ACCESS_ROLES:()=>yN,ALEXA_EGRESS_PROFILE:()=>vt,ALL_CAPABILITY_DEFINITIONS:()=>gA,APPLE_SA_TO_MACRO:()=>kp,AUDIO_ANALYSIS_CAP_NAME:()=>dn,AUDIO_BACKEND_CHOICES:()=>tc,AUDIO_MACRO_LABELS:()=>Dp,AUDIO_PRESETS:()=>Xe,AccessoriesStatusSchema:()=>wb,AccessoryKind:()=>X,AddBrokerInputSchema:()=>Jf,AddonAutoUpdateSchema:()=>Kb,AddonListItemSchema:()=>Bb,AddonPageDeclarationSchema:()=>_s,AddonPageInfoSchema:()=>hs,AdoptionAdoptInputSchema:()=>Su,AdoptionAdoptResultSchema:()=>Cu,AdoptionCandidateResultSchema:()=>en,AdoptionFilterSchema:()=>hu,AdoptionGetCandidateInputSchema:()=>yu,AdoptionJobSchema:()=>tn,AdoptionJobStateSchema:()=>Qt,AdoptionListCandidatesInputSchema:()=>_u,AdoptionListCandidatesOutputSchema:()=>vu,AdoptionOutcomeSchema:()=>$t,AdoptionReleaseInputSchema:()=>wu,AdoptionStatusSchema:()=>bu,AgentLoadSummarySchema:()=>mv,AirQualitySensorStatusSchema:()=>ix,AlarmArmModeSchema:()=>Kp,AlarmPanelStatusSchema:()=>qp,AlarmStateSchema:()=>Gp,AlertSchema:()=>Vs,AlertSeveritySchema:()=>Rs,AlertSourceSchema:()=>Bs,AlertStatusSchema:()=>zs,AmbientLightSensorStatusSchema:()=>ox,ApiKeyRecordSchema:()=>dh,ApiKeySummarySchema:()=>$D,ArchiveEntrySchema:()=>_c,ArchiveManifestSchema:()=>vc,AttachmentMediaTypeSchema:()=>op,AttachmentSchema:()=>sp,AudioAnalysisResultSchema:()=>Qs,AudioAnalysisSettingsSchema:()=>$s,AudioChunkInputSchema:()=>Ys,AudioClassSummarySchema:()=>cx,AudioClassificationLabelSchema:()=>Zs,AudioClassificationResultSchema:()=>ec,AudioCodecInfoSchema:()=>ac,AudioDecodeSessionConfigSchema:()=>oc,AudioEncodeSchema:()=>Ke,AudioEncodeSessionConfigSchema:()=>sc,AudioEncodedChunkSchema:()=>lc,AudioEventSchema:()=>jg,AudioLevelSchema:()=>Xs,AudioMetricsHistoryPointSchema:()=>ux,AudioMetricsHistorySchema:()=>dx,AudioMetricsSnapshotSchema:()=>lx,AudioPcmChunkSchema:()=>cc,AuthResultSchema:()=>fc,AutoUpdateSettingsSchema:()=>Gb,AutomationActionSchema:()=>Wo,AutomationConditionOperatorSchema:()=>zo,AutomationConditionSchema:()=>Ho,AutomationControlStatusSchema:()=>px,AutomationRecipeSchema:()=>Go,AutomationTriggerSchema:()=>Uo,AvailableIntegrationTypeSchema:()=>iC,BACKEND_TO_FORMAT:()=>LP,BASE_LIVE_EGRESS_PROFILE:()=>gt,BATTERY_DEVICE_PROFILE:()=>Sk,BATTERY_UNREACHABLE_AFTER_MS:()=>ak,BOOT_RECOVERY_BACKOFF_MS:()=>JN,BacklightModeSchema:()=>XS,BackupDestinationInfoSchema:()=>mc,BackupEntrySchema:()=>gc,BaseAddon:()=>Ie,BaseDevice:()=>nk,BaseDeviceProvider:()=>ik,BatteryStatusSchema:()=>hx,BinaryStatusSchema:()=>_x,BoundingBoxSchema:()=>z,BrightnessStatusSchema:()=>yx,BrokerAddInputSchema:()=>Oc,BrokerAudioClientSchema:()=>Qc,BrokerClientsSchema:()=>nl,BrokerConnectionDetailsSchema:()=>qf,BrokerConsumerAttributionSchema:()=>el,BrokerConsumerKindSchema:()=>$c,BrokerDecodedClientSchema:()=>Zc,BrokerEncodedClientSchema:()=>tl,BrokerGetStateInputSchema:()=>Vc,BrokerInfoSchema:()=>Kf,BrokerProviderInfoSchema:()=>Tc,BrokerPublishInputSchema:()=>Lc,BrokerRegistryStatusSchema:()=>wc,BrokerRtspClientSchema:()=>Xc,BrokerStatsSchema:()=>Sr,BrokerStatusEnum:()=>Sc,BrokerStatusSchema:()=>xr,BrokerSubscribeInputSchema:()=>Rc,BrokerSubscribeResultSchema:()=>zc,BrokerTestConnectionResultSchema:()=>jc,BrokerUnsubscribeInputSchema:()=>Bc,BulkRecordSchema:()=>Jl,CAMERA_SWITCH_CATALOG:()=>pn,CAMERA_SWITCH_ORDER:()=>an,CAM_PROFILE_ORDER:()=>tr,CAPABILITY_NAMES:()=>mA,CAPABILITY_ROUTER_KEYS:()=>hA,CAP_NAMES_WITH_STATUS:()=>pA,CAP_NODE_PIN_CONTEXT_KEY:()=>ts,CAP_PROVIDER_KIND_MAP:()=>TA,CLASS_MAP_MACRO_TARGETS:()=>Tr,CLUSTER_MODEL_SCOPED_STEPS:()=>bM,CLUSTER_MODEL_SECTION_ID:()=>xM,CLUSTER_STEP_SETTING_FIELDS:()=>AM,COCO_80_LABELS:()=>Sp,COCO_TO_MACRO:()=>Ep,CONNECTION_TEST_TIMEOUT_MS:()=>Fx,CORE_BLOCKS_ADDON_ID:()=>Al,CORE_BLOCK_ADDON_PREFIX:()=>kl,CamProfileSchema:()=>C,CamStreamDescriptorSchema:()=>YE,CamStreamKindSchema:()=>nr,CamStreamResolutionSchema:()=>rr,CameraAssignmentStatusSchema:()=>bv,CameraAudioStatusSchema:()=>Av,CameraBrokerProfileSchema:()=>xv,CameraBrokerStatusSchema:()=>Sv,CameraCredentialsSchema:()=>Sx,CameraCredentialsStatusSchema:()=>Cx,CameraDecoderShmSchema:()=>Cv,CameraDecoderStatusSchema:()=>wv,CameraDetectionPhaseSchema:()=>Ov,CameraDetectionProvisioningSchema:()=>Dv,CameraDetectionProvisioningStateSchema:()=>Ev,CameraDetectionStatusSchema:()=>kv,CameraMetricsSchema:()=>N_,CameraMetricsWithDeviceIdSchema:()=>P_,CameraMotionStatusSchema:()=>Tv,CameraOccupancySnapshotForDeviceSchema:()=>EO,CameraRecordingModeSchema:()=>jv,CameraRecordingStatusSchema:()=>Mv,CameraSourceStatusSchema:()=>yv,CameraSourceStreamSchema:()=>vv,CameraStatusDegradationReasonSchema:()=>Pv,CameraStatusDegradationSchema:()=>Fv,CameraStatusSchema:()=>Lv,CameraStatusStageSchema:()=>Nv,CameraStreamSchema:()=>ir,CameraSwitchAuthoritySchema:()=>on,CameraSwitchGroupSchema:()=>ln,CameraSwitchIdSchema:()=>rn,CameraSwitchSchema:()=>cn,CameraSwitchUnavailableReasonSchema:()=>sn,CandidateQueryFilterSchema:()=>gu,CapScopeSchema:()=>oh,CapabilityBindingsSchema:()=>gv,CarbonMonoxideStatusSchema:()=>Tx,ChargingStatus:()=>Ws,ClientNetworkStatsSchema:()=>sw,ClimateControlStatusSchema:()=>Ox,ClipPlaybackSchema:()=>hb,ClipSchema:()=>mb,ClusterAddonNodeDeploymentSchema:()=>_w,ClusterAddonStatusEntrySchema:()=>vw,CollectionColumnSchema:()=>Yl,CollectionIndexSchema:()=>Xl,ColorStatusSchema:()=>Nx,ConfigEntrySchema:()=>Yu,ConfigSectionWithValuesSchema:()=>ws,ConfigTabDeclarationSchema:()=>Cs,ConnectionTestDescriptorSchema:()=>Rx,ConnectionTestInputSchema:()=>Lx,ConnectionTestOutcomeSchema:()=>Ix,ConnectivityStatusSchema:()=>Bx,ConsumableItemSchema:()=>Hx,ConsumablesStatusSchema:()=>Ux,ContactStatusSchema:()=>Gx,ControlKindSchema:()=>qx,ControlStatusSchema:()=>Jx,ConvertArtifactSchema:()=>Ba,ConvertResultSchema:()=>Va,ConvertTargetSchema:()=>Ra,CoreBlockCompileResultSchema:()=>Ll,CoreBlockInputSchema:()=>Fl,CoreBlockPlacementSchema:()=>Nl,CoreBlockSchema:()=>Il,CoreBlockStatusSchema:()=>Pl,CoverStateSchema:()=>Zx,CoverStatusSchema:()=>Qx,CreateApiKeyInputSchema:()=>eO,CreateApiKeyResultSchema:()=>tO,CreateIntegrationInputSchema:()=>sC,CreateScopedTokenInputSchema:()=>rO,CreateScopedTokenResultSchema:()=>iO,CreateUserInputSchema:()=>ZD,CustomActionInputSchema:()=>nx,CustomModelDescriptorSchema:()=>Hl,DATAPLANE_SECRET_HEADER:()=>Zt,DECLARED_DEVICE_SWEEP_LIMIT:()=>32,DECLARED_INTEGRATION_FIXED_KEY:()=>ck,DEFAULT_ADDON_PLACEMENT:()=>Ut,DEFAULT_AUDIO_ANALYZER_CONFIG:()=>nc,DEFAULT_CLUSTER_STEP_MODELS:()=>wM,DEFAULT_CLUSTER_STEP_SETTINGS:()=>FM,DEFAULT_DECODER_HWACCEL_CONFIG:()=>tu,DEFAULT_DETAIL_CROP_CONVENTION:()=>HM,DEFAULT_EVENTS_BAND_BUFFER_SEC:()=>zr,DEFAULT_EVENT_COLOR:()=>Np,DEFAULT_FEATURES:()=>In,DEFAULT_FIRST_SIGHTING_FRESHNESS_MS:()=>GO,DEFAULT_MIN_LANDMARK_FACE_SIZE_PX:()=>24,DEFAULT_NATIVE_LEASE_SETTINGS:()=>Q,DEFAULT_POOL_MEMORY_POLICY:()=>_P,DEFAULT_RECORDING_PROFILES:()=>Wr,DEFAULT_RETENTION:()=>nn,DEFAULT_RUNTIME_STATE_DURABILITY:()=>as,DEFAULT_TIMELAPSE_PREVIEW_TEXT:()=>hM,DEFAULT_TOKEN_EXPIRY:()=>`30d`,DETAIL_CROP_PADDING_FIELD:()=>qM,DETAIL_CROP_PADDING_KEY:()=>zM,DETAIL_CROP_SECTION_ID:()=>RM,DETAIL_CROP_SQUARE_KEY:()=>BM,DETECTION_MACRO_CLASSES:()=>wp,DETECTION_PIPELINE_CAP_NAME:()=>un,DEVICE_BACKEND_TO_FORMAT:()=>RP,DEVICE_CAP_NAMES:()=>xA,DEVICE_CHILDREN_BATCH_MAX:()=>256,DEVICE_PROFILES:()=>Ck,DEVICE_SCOPED_CAPS:()=>_A,DEVICE_SETTINGS_CONTRIBUTION_METHODS:()=>ls,DEVICE_STATE_READERS:()=>FO,DEVICE_STATUS_METHOD:()=>us,DEVICE_TYPE_CONTROL_KIND:()=>dk,DEVICE_TYPE_INFO:()=>LN,DataStoreEngineInfoSchema:()=>Ql,DayNightModeSchema:()=>eS,DayNightOptionsSchema:()=>rS,DayNightSettingsPatchSchema:()=>iS,DayNightStatusSchema:()=>nS,DeclaredDevices:()=>uk,DecodedAudioChunkSchema:()=>vr,DecodedFrameSchema:()=>mr,DecoderSessionConfigSchema:()=>Bi,DecoderStatsSchema:()=>zi,DeleteIntegrationResultSchema:()=>lC,DetailCropConventionSchema:()=>VM,DetectionCatalogClassMapSchema:()=>Or,DetectionSourceSchema:()=>Dg,DeviceCodeSeveritySchema:()=>gC,DeviceConfig:()=>QO,DeviceDiscoveryStatusSchema:()=>pu,DeviceExportExposeInputSchema:()=>Pu,DeviceExportStatusSchema:()=>ju,DeviceExportUnexposeInputSchema:()=>Fu,DeviceFeature:()=>Us,DeviceInfoSchema:()=>Ju,DeviceNetworkStatsSchema:()=>cw,DeviceRole:()=>R,DeviceRuntimeState:()=>$O,DeviceSelectorSchema:()=>sh,DeviceStatusSchema:()=>uS,DeviceType:()=>L,DiagnosticIdSchema:()=>TD,DiagnosticWindowPatchSchema:()=>MD,DiagnosticWindowSchema:()=>jD,DiscoveredChildDeviceSchema:()=>fu,DiscoveredChildStatusSchema:()=>du,DiscoveredDeviceSchema:()=>Ru,DiscoveredTargetSchema:()=>_p,DiskReconcileJobSchema:()=>Iv,DisposerChain:()=>We,DoorbellPressEventSchema:()=>pS,DoorbellStatusSchema:()=>fS,EVENTFUL_CAP_NAMES:()=>Jv,EVENT_DENSITY_BATCH_MAX:()=>200,EVENT_KIND_BY_CAP:()=>qv,EVENT_PAD_MS:()=>kr,EVENT_TAXONOMY:()=>W,EXPORT_DENSE_MAX_RANGES:()=>200,EXPRESSION_BUILTINS:()=>Za,EXPRESSION_BUILTIN_NAMES:()=>Qa,EXPRESSION_COMPILE_CACHE_CAPACITY:()=>256,EXPRESSION_IDENTIFIER_RE:()=>to,EXPRESSION_INJECTED_NOW:()=>`now`,EgressEncodeSchema:()=>cl,EgressRateControlSchema:()=>ll,EgressTranscodeRequestSchema:()=>ul,EgressTranscodeSchema:()=>dl,ElementConfigStore:()=>nP,EmbeddingInfoSchema:()=>pd,EmbeddingResultSchema:()=>fd,EncodeProfileSchema:()=>qe,EncodedPacketSchema:()=>pr,EnrichedWidgetMetadataSchema:()=>Ns,EnumSensorDateTimeFormatSchema:()=>hS,EnumSensorStatusSchema:()=>gS,EventCategory:()=>ge,EventDensityBucketSchema:()=>l_,EventDensityForDeviceSchema:()=>u_,EventEmitterStatusSchema:()=>yS,EventFireSchema:()=>vS,EventItemSchema:()=>xS,EventKindCategorySchema:()=>rg,EventKindDescriptorSchema:()=>ag,EventKindIconSchema:()=>ng,EventKindSchema:()=>eg,EventKindsForDeviceSchema:()=>og,EventMediaArtifactSchema:()=>Kc,EventMediaCoverageSchema:()=>qc,EventMediaKindSchema:()=>Gc,EventMediaProductionSchema:()=>Jc,EventSourceType:()=>fA,ExportBytesSchema:()=>EE,ExportDenseRangeSchema:()=>vE,ExportDenseSchema:()=>yE,ExportDownloadSchema:()=>wE,ExportOptionsSchema:()=>xE,ExportRecordSchema:()=>CE,ExportSetupFieldSchema:()=>ku,ExportSetupSchema:()=>Au,ExportSpeedSchema:()=>_E,ExportStateSchema:()=>SE,ExportTimelapseSchema:()=>bE,ExposedDeviceSchema:()=>Nu,ExposureModeSchema:()=>YS,ExpressionBindingSourceSchema:()=>Lo,ExpressionEvalError:()=>k,ExpressionFieldBindingSchema:()=>Po,ExpressionGlobalBindingSchema:()=>Io,ExpressionLiteralBindingSchema:()=>Fo,ExpressionParseError:()=>O,ExpressionSourceSchema:()=>Ro,FIRST_LEVEL_MACRO_CLASSES:()=>Er,FULL_IMAGE_BBOX:()=>KM,FailureContributionSchema:()=>gd,FailureCounters:()=>ma,FailureReasonCountSchema:()=>hd,FanControlStatusSchema:()=>NS,FanDirectionSchema:()=>MS,FeatureManifestSchema:()=>dD,FeatureProbeStatusSchema:()=>FS,FloodStatusSchema:()=>LS,Fmp4BoxSplitter:()=>Tt,FrameHandleFormatSchema:()=>hr,FrameHandleSchema:()=>w,FrameInputSchema:()=>qs,FrameLazyCountersSchema:()=>nv,FrameLazyMetricsSchema:()=>rv,GasStatusSchema:()=>zS,GetLoggingSettingsInputSchema:()=>RD,GetStreamWithCodecInputSchema:()=>ol,GlobalMetricsSchema:()=>hv,HAP_AUDIO_BASE:()=>xt,HAP_AUDIO_BITRATE_KBPS:()=>24,HAP_AUDIO_VBV_KBITS:()=>96,HAP_KEYFRAME_INTERVAL_SEC:()=>4,HF_BASE_URL:()=>JO,HF_REPO:()=>qO,HWACCEL_OPTIONS:()=>eu,HealthStatusSchema:()=>fD,HfModelResolutionSchema:()=>qd,HistoryPointSchema:()=>kO,HistoryResolutionEnum:()=>DO,HumidifierStatusSchema:()=>VS,HumiditySensorStatusSchema:()=>US,HvacModeSchema:()=>Dx,INFERENCE_DEVICE_EXCLUSION_REASONS:()=>Rv,ImageContractSchema:()=>$v,ImageContractStateSchema:()=>Qv,ImageRotateSchema:()=>qS,ImageSettingsOptionsSchema:()=>$S,ImageSettingsPatchSchema:()=>eC,ImageSettingsStatusSchema:()=>QS,ImageStatusSchema:()=>GS,InferenceDeviceExclusionReasonSchema:()=>zv,IngestOwnerSchema:()=>_v,InstalledPackageSchema:()=>Vb,IntegrationLiteSchema:()=>rC,IntegrationWithStateSchema:()=>nC,IntercomAbilitySchema:()=>dC,IntercomStatusSchema:()=>fC,KNOWN_CAP_NAMES:()=>bA,KeyEventSchema:()=>o_,LOAD_CONTRIBUTION_ATTRIBUTIONS:()=>$d,LOAD_CONTRIBUTION_ROLES:()=>Qd,LOG_CHANNEL_TICK_MS:()=>Jn,LOG_LEVEL_RANK:()=>Ln,LabelAttributionSchema:()=>bg,LabelDefinitionSchema:()=>wr,LabelTierSchema:()=>yg,LawnMowerActivitySchema:()=>hC,LawnMowerControlStatusSchema:()=>_C,LedgerWalkDeviceReportSchema:()=>Ti,LedgerWalkInputSchema:()=>xi,LedgerWalkRefusalSchema:()=>Si,LedgerWalkReportSchema:()=>Ei,LedgerWalkSkipCountsSchema:()=>wi,LedgerWalkSkipReasonSchema:()=>Ci,LinkedDeviceSchema:()=>Zu,LinkedDevicesModeSchema:()=>Xu,LlmDefaultSchema:()=>Wd,LlmDefaultSelectorSchema:()=>Ud,LlmDownloadProgressSchema:()=>Nd,LlmErrorCodeSchema:()=>Sd,LlmGenerateBaseInputSchema:()=>kd,LlmGenerateErrSchema:()=>wd,LlmGenerateOkSchema:()=>Cd,LlmGenerateResultSchema:()=>Td,LlmImageSchema:()=>Ed,LlmNodeModelSchema:()=>Fd,LlmProfileKindDescriptorSchema:()=>Hd,LlmProfileKindSchema:()=>zd,LlmProfileSchema:()=>Bd,LlmRetryPolicySchema:()=>Dd,LlmRuntimeCompleteInputSchema:()=>Ld,LlmRuntimeDiskUsageSchema:()=>Id,LlmRuntimeNodeSchema:()=>Jd,LlmRuntimeStatusSchema:()=>Pd,LlmTimeoutDefaults:()=>Od,LlmUsageRollupSchema:()=>Gd,LlmUsageSchema:()=>xd,LoadContributionSchema:()=>ef,LocateSegmentResultSchema:()=>fE,LocationStatSchema:()=>yc,LockControlStatusSchema:()=>NC,LockStateSchema:()=>MC,LogChannelApplyResultSchema:()=>nf,LogChannelDescriptorSchema:()=>Bn,LogChannelGate:()=>Hn,LogChannelLevelSchema:()=>zn,LogChannelRegistry:()=>Un,LogChannelWindowPatchSchema:()=>PD,LogChannelWindowSchema:()=>Vn,LogChannelWindowStateSchema:()=>ND,LogEntrySchema:()=>of,LogLevelSchema:()=>af,LogStreamEntrySchema:()=>ex,LoggingEffectiveSchema:()=>kD,LoggingExplicitSchema:()=>AD,LoggingLevelLayerSchema:()=>OD,LoggingLevelSourceSchema:()=>DD,LoggingScopeKindSchema:()=>ED,LoggingSettingsPatchSchema:()=>FD,LoggingSettingsStateSchema:()=>BD,LoginMethodContributionSchema:()=>ff,LoginStageEnum:()=>cf,MACRO_LABELS:()=>Cp,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:()=>eo,MAX_EXPRESSION_SOURCE_LENGTH:()=>$a,MAX_KEYS:()=>da,MAX_REASONS_PER_KEY:()=>16,MAX_SENSOR_TRIGGER_DEVICES:()=>16,METHOD_ACCESS_MAP:()=>yA,METHOD_DEVICE_SELECTORS:()=>CA,MODEL_FORMATS:()=>ka,MODEL_PROVIDER_IDS:()=>Pa,MOTION_TRIGGER_FEATURE:()=>mk,ManagedModelCatalogEntrySchema:()=>Kd,ManagedModelExtraFileSchema:()=>Ad,ManagedModelRefSchema:()=>jd,ManagedRuntimeConfigSchema:()=>Md,MaskGridDimsSchema:()=>nm,MaskGridShapeSchema:()=>Zp,MaskLineShapeSchema:()=>Qp,MaskPointSchema:()=>Yp,MaskPolygonShapeSchema:()=>Xp,MaskPolygonVerticesSchema:()=>tm,MaskRectShapeSchema:()=>G,MaskShapeKindSchema:()=>em,MaskShapeSchema:()=>$p,MediaFileInfoSchema:()=>Fg,MediaFileKindEnum:()=>Mg,MediaFileRefSchema:()=>Ng,MediaFileSchema:()=>Pg,MediaPlayerRepeatSchema:()=>IC,MediaPlayerStateSchema:()=>FC,MediaPlayerStatusSchema:()=>RC,MediaRelocateModeSchema:()=>Zr,MeshPeerSchema:()=>VC,MeshStatusSchema:()=>HC,MethodAccessSchema:()=>rh,ModelCatalogEntrySchema:()=>La,ModelConvertInputSchema:()=>If,ModelConvertMetadataSchema:()=>za,ModelDistributeInputSchema:()=>Rf,ModelDistributeResultSchema:()=>zf,ModelExtraFileSchema:()=>ja,ModelFormatEntrySchema:()=>Aa,ModelFormatsSchema:()=>Ma,ModelProviderIdSchema:()=>Fa,ModelSubstitutionSchema:()=>kh,ModelVariantGroupSchema:()=>Na,MotionAnalysisResultSchema:()=>Hf,MotionEventSchema:()=>Eg,MotionOnMotionChangedDataSchema:()=>GC,MotionRegionSchema:()=>Vf,MotionSourceEnum:()=>J_,MotionSourcesSchema:()=>Y_,MotionStatusSchema:()=>WC,MotionTriggerRuntimeStateSchema:()=>JC,MotionTriggerStatusSchema:()=>qC,MotionZoneOptionsSchema:()=>QC,MotionZonePatchSchema:()=>$C,MotionZoneRegionSchema:()=>XC,MotionZoneStatusSchema:()=>ZC,MqttBrokerStatusSchema:()=>ep,MutationFilterSchema:()=>Wl,NATIVE_LEASE_ACTIVITY_FIELD:()=>lN,NATIVE_LEASE_ACTIVITY_KEY:()=>tN,NATIVE_LEASE_ADMISSION_FIELD:()=>fN,NATIVE_LEASE_ADMISSION_KEY:()=>nN,NATIVE_LEASE_BUDGET_FIELD:()=>cN,NATIVE_LEASE_BUDGET_KEY:()=>eN,NATIVE_LEASE_HOLD_FIELD:()=>sN,NATIVE_LEASE_HOLD_KEY:()=>$M,NATIVE_LEASE_SCENE_BUDGET_FIELD:()=>dN,NATIVE_LEASE_SCENE_BUDGET_KEY:()=>iN,NATIVE_LEASE_SECTION_ID:()=>QM,NATIVE_LEASE_TILE_BUDGET_FIELD:()=>uN,NATIVE_LEASE_TILE_BUDGET_KEY:()=>rN,NC_ALARM_SYSTEM_EVENT_KINDS:()=>sm,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:()=>RA,NC_AUDIO_DB_OFFERED:()=>-55,NC_AUDIO_DB_STEP:()=>3,NC_AUDIO_DEFAULTS:()=>zA,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:()=>Uj,NC_AUTHORABLE_SYSTEM_EVENT_KINDS:()=>om,NC_BASE_CONDITION_KEYS:()=>rj,NC_CONDITION_CATALOG:()=>Bm,NC_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,NC_CONFIRM_DEFAULT_TIMEOUT_MS:()=>Mm,NC_CONFIRM_MAX_TIMEOUT_MS:()=>jm,NC_CONFIRM_MIN_TIMEOUT_MS:()=>Am,NC_DEFAULT_SNOOZE_MINUTES:()=>um,NC_HISTORY_LIMIT_DEFAULT:()=>100,NC_HISTORY_LIMIT_MAX:()=>500,NC_MAX_PER_TRACK_IMMEDIATE:()=>1,NC_OCCUPANCY_DEFAULTS:()=>Hj,NC_RULE_EDITOR_SECTION_ORDER:()=>Kj,NC_RULE_KIND_SPECS:()=>Dj,NC_RULE_SECTIONS:()=>Fj,NC_SNOOZE_MAX_MINUTES:()=>lm,NC_SYSTEM_DELIVERY:()=>kj,NC_SYSTEM_EVENT_FILTER_KEYS:()=>Qj,NC_TAXONOMY:()=>Wp,NativeCropBboxSchema:()=>F_,NativeCropRefSchema:()=>hh,NativeCropResultSchema:()=>I_,NativeDetectionSchema:()=>nw,NativeLeaseAdmissionSchema:()=>aN,NativeLeaseSettingsSchema:()=>oN,NativeObjectClassEnum:()=>tw,NativeObjectDetectionRuntimeStateSchema:()=>iw,NativeObjectDetectionStatusSchema:()=>rw,NcAlarmConfigSchema:()=>th,NcAlarmModeCoverageSchema:()=>eh,NcAlarmSettingsPatchSchema:()=>Zm,NcAlarmSettingsSchema:()=>Xm,NcAlarmSkipReasonSchema:()=>Qm,NcAlarmSkippedDeviceSchema:()=>$m,NcAudioConditionSchema:()=>hm,NcConditionDescriptorSchema:()=>zm,NcConditionsSchema:()=>wm,NcConfirmExpectSchema:()=>Nm,NcConfirmSchema:()=>Pm,NcCrossingSchema:()=>gm,NcDeliverySchema:()=>rm,NcDeviceStateConditionSchema:()=>Sm,NcHistoryEntrySchema:()=>Wm,NcHistoryFilterSchema:()=>Gm,NcHistoryRecordKindSchema:()=>Hm,NcHistoryStatusSchema:()=>Vm,NcHistorySubjectSchema:()=>Um,NcMediaFrameSchema:()=>Em,NcMediaPolicySchema:()=>Dm,NcOccupancyConditionSchema:()=>mm,NcPlateMatcherSchema:()=>pm,NcRuleActionSchema:()=>vm,NcRuleActionSequenceSchema:()=>ym,NcRuleActionsSchema:()=>xm,NcRuleInputSchema:()=>Fm,NcRuleNotificationButtonSchema:()=>bm,NcRulePatchSchema:()=>Im,NcRuleSchema:()=>Lm,NcRuleTargetSchema:()=>Tm,NcSceneConditionSchema:()=>Cm,NcScheduleSchema:()=>fm,NcScheduleWindowSchema:()=>dm,NcSnoozeInputSchema:()=>qm,NcSnoozeSchema:()=>Jm,NcSnoozeScopeSchema:()=>Km,NcSnoozeSuppressedSchema:()=>Ym,NcSystemEventConditionSchema:()=>cm,NcSystemEventKindSchema:()=>im,NcTaxonomyEntrySchema:()=>Bp,NcTaxonomySchema:()=>Vp,NcTestResultSchema:()=>Rm,NcThrottleGranularitySchema:()=>Om,NcThrottleSchema:()=>km,NcZoneConditionSchema:()=>_m,NetworkAccessStatusSchema:()=>rp,NetworkAddressSchema:()=>pD,NetworkEndpointSchema:()=>np,NotificationActionIconSchema:()=>lp,NotificationActionSchema:()=>up,NotificationFormatSchema:()=>cp,NotificationSchema:()=>dp,NotifierStatusSchema:()=>kw,NumericSensorStatusSchema:()=>Nw,OPERATOR_WRITTEN_STALE_MS:()=>zk,OPS_LOG_DEFAULT_LIMIT:()=>200,OPS_LOG_RING_DEFAULT_MAX:()=>500,OVERFLOW_REASON:()=>fa,OauthIntegrationDescriptorSchema:()=>ph,ObjectEventSchema:()=>Ag,OpsLogDomainSchema:()=>Xn,OpsLogEntrySchema:()=>$n,OpsLogOpSchema:()=>Zn,OpsLogQueryInputSchema:()=>er,OpsLogReasonSchema:()=>Qn,OrchestratorMetricsSchema:()=>M_,OsdOverlayKindEnum:()=>Fw,OsdOverlayPatchSchema:()=>zw,OsdOverlaySchema:()=>Lw,OsdPositionEnum:()=>Iw,OsdRenderOutcomeEnum:()=>Ww,OsdRenderResultSchema:()=>Gw,OsdSlotBindingSchema:()=>Hw,OsdSlotViewSchema:()=>Uw,OsdSourceOptionSchema:()=>qw,OsdSourceSchema:()=>Vw,OsdSourceValueTypeEnum:()=>Kw,OsdStatusSchema:()=>Rw,PET_FEEDER_MANUAL_FEED_MAX:()=>200,PET_FEEDER_MANUAL_FEED_MIN:()=>4,PIPELINE_FLOW_CAPABILITY_NAMES:()=>NO,PIPELINE_OWNER_CAPABILITY_NAMES:()=>PO,PRIVACY_MASK_CAP_NAME:()=>fn,PROVIDER_KIND_CAP_NAMES:()=>EA,PYTHON_SCRIPT:()=>VP,PackageUpdateSchema:()=>Hb,PackageVersionInfoSchema:()=>Ub,PasskeyLoginMethodSchema:()=>df,PasskeySummarySchema:()=>Wy,PcmSampleFormatSchema:()=>ic,PerScopeBreakdownSchema:()=>SO,PetFeederStatusSchema:()=>Zw,PickStreamPreferencesSchema:()=>hl,PickStreamRequirementsSchema:()=>ml,PickedCamStreamSchema:()=>gl,PipelineAssignmentSchema:()=>pv,PipelineDefaultStepSchema:()=>bh,PipelineEngineChoiceSchema:()=>q,PipelineRunResultBridge:()=>Gh,PipelineStepInputSchema:()=>J,PipelineValidationIssueSchema:()=>Ah,PipelineValidationResultSchema:()=>jh,PlaceholderReasonSchema:()=>rl,PolygonPointSchema:()=>Xh,PoolMemoryWatchdog:()=>kP,PowerMeterStatusSchema:()=>xT,PresenceStatusSchema:()=>wT,PressureSensorStatusSchema:()=>ET,PrivacyMaskOptionsSchema:()=>jT,PrivacyMaskPatchSchema:()=>MT,PrivacyMaskRegionSchema:()=>kT,PrivacyMaskShapeSchema:()=>OT,PrivacyMaskStatusSchema:()=>AT,ProfileRtspEntrySchema:()=>Cr,ProfileSlotSchema:()=>or,ProfileSlotStatusSchema:()=>ar,ProviderStatusSchema:()=>Lu,PtzAutotrackRuntimeStateSchema:()=>WT,PtzAutotrackSettingsSchema:()=>VT,PtzAutotrackStatusSchema:()=>UT,PtzAutotrackTargetOptionSchema:()=>HT,PtzMoveCommandSchema:()=>LT,PtzOptionsSchema:()=>zT,PtzPositionSchema:()=>IT,PtzPresetSchema:()=>FT,PtzStatusSchema:()=>RT,QueryFilterSchema:()=>B,RATE_CONTROL_RELAXED:()=>bt,RATE_CONTROL_TIGHT:()=>yt,REACHABILITY_FAILURES_TO_OFFLINE:()=>3,REACHABILITY_POLL_INTERVAL_MS:()=>Nk,REACHABILITY_PROBE_TIMEOUT_MS:()=>Pk,RECOGNITION_TYPES:()=>Pi,RECORDING_EXPORT_MAX_READ_BYTES:()=>TE,RECORDING_TIMELINE_BATCH_MAX:()=>200,REDACTED_SECRET:()=>vn,RESERVED_BINDING_NAMES:()=>no,RESTORED_CAP_NAMES:()=>MA,ROOT_BUCKET_KEY:()=>na,RUNTIME_DEFAULTS:()=>YO,RUNTIME_STATE_POLICY:()=>OA,RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS:()=>Rk,RUNTIME_TO_FORMAT:()=>BP,RawStateResultSchema:()=>cS,ReadGopBytesResultSchema:()=>mE,ReadSegmentBytesResultSchema:()=>pE,ReadWindowBytesResultSchema:()=>hE,ReadinessRegistry:()=>Xi,ReadinessTimeoutError:()=>Gi,RecentTracksPageSchema:()=>n_,RecentTracksQueryInput:()=>t_,RecordingAvailabilityForDeviceSchema:()=>ZT,RecordingAvailabilitySchema:()=>YT,RecordingBandModeSchema:()=>Ir,RecordingBandSchema:()=>Rr,RecordingBandTriggersSchema:()=>Lr,RecordingConfigSchema:()=>Hr,RecordingDaysForDeviceSchema:()=>QT,RecordingDaysSchema:()=>XT,RecordingDeviceUsageSchema:()=>eE,RecordingLocationUsageSchema:()=>tE,RecordingManifestSchema:()=>$T,RecordingObjectTriggerClassSchema:()=>Nr,RecordingRangeSchema:()=>JT,RecordingRebalanceInputSchema:()=>sE,RecordingRebalanceMoveSchema:()=>rE,RecordingRebalancePlanSchema:()=>oE,RecordingRebalanceSkipReasonSchema:()=>iE,RecordingRebalanceSkipSchema:()=>aE,RecordingRetentionSchema:()=>Vr,RecordingStatusSchema:()=>qT,RecordingStorageModeSchema:()=>Mr,RecordingStorageUsageSchema:()=>nE,RecordingTriggersSchema:()=>Fr,RecordingWeekdaySchema:()=>Ar,RedirectLoginMethodSchema:()=>lf,RelocatableMediaCountInputSchema:()=>Oi,RelocatableMediaCountSchema:()=>Di,RelocateFootageClassSchema:()=>Jr,RelocateFootageInputSchema:()=>Yr,RelocateJobSchema:()=>qr,RelocateJobStateSchema:()=>Kr,RelocateMediaInputSchema:()=>Qr,RelocateResidueInputSchema:()=>yi,RelocateResidueSchema:()=>bi,RenderedAsSchema:()=>vp,ReportMotionInputSchema:()=>X_,ReportedFailureContributionSchema:()=>LD,ReportedLoadContributionSchema:()=>ID,RequestCensusGroupSchema:()=>bD,RequestCensusProcedureSchema:()=>xD,RequestCensusSnapshotSchema:()=>SD,RequestCensusStatusSchema:()=>CD,RetrainAnnotationDraftSchema:()=>Vg,RetrainAnnotationKindSchema:()=>Lg,RetrainAnnotationSchema:()=>Bg,RetrainAnnotationSourceSchema:()=>Rg,RetrainAssistResultSchema:()=>Yg,RetrainAssistSubjectSchema:()=>Jg,RetrainCopyRefusalSchema:()=>Gg,RetrainFrameCandidateSchema:()=>Ug,RetrainFrameListSchema:()=>qg,RetrainFrameSchema:()=>Wg,RetrainFrameSelectionSchema:()=>Kg,RetrainMacroClassSchema:()=>Ig,RetrainStatusSchema:()=>mg,RetrainTrackSchema:()=>Hg,RetrainTransitionResultSchema:()=>Xg,RingBuffer:()=>NP,RtpSourceSchema:()=>sl,RtspRestreamEntrySchema:()=>Yc,RunnerCameraConfigSchema:()=>$_,RunnerCameraDeviceUIFields:()=>ev,RunnerFrameSourceSchema:()=>Z_,RunnerInferenceDeviceSchema:()=>Q_,RunnerLocalLoadSchema:()=>tv,RunnerLocalMetricsSchema:()=>iv,SCENE_CONDITIONS:()=>kE,SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,SCENE_CONFIRM_DEFAULT_TIMEOUT_MS:()=>zE,SCENE_DEFAULT_ANCHOR_THRESHOLD:()=>LE,SCENE_DEFAULT_CHECK_INTERVAL_SEC:()=>60,SCENE_DEFAULT_OBSERVATION_SPACING_SEC:()=>120,SCENE_DEFAULT_QUIET_SECONDS:()=>60,SCENE_DEFAULT_UNCOVERED_POLICY:()=>RE,SCENE_DIVERGED:()=>jE,SCENE_RESET_RECAPTURES:()=>!0,SCOPE_PRESETS:()=>NA,SENSOR_FEATURES:()=>gk,SENSOR_MAP:()=>vk,SOURCE_CAPS:()=>BO,SOURCE_CAP_ACTIVE_FIELD:()=>RO,SOURCE_CAP_CHANGED_AT_FIELD:()=>zO,SOURCE_DEVICE_TYPES:()=>VO,SOURCE_INFO_METADATA_KEY:()=>lu,STORAGE_ACCESS_FALLBACK:()=>Li,STREAM_PROFILE_META:()=>aD,STREAM_QUALITY_LABELS:()=>En,SUB_DETECTION_TYPES:()=>Ni,SYSTEM_CAP_NAMES:()=>SA,SYSTEM_SCOPE_DEVICE_METHODS:()=>wA,SceneCheckSchema:()=>IE,SceneConditionSchema:()=>OE,SceneConfirmSchema:()=>BE,SceneMonitorSchema:()=>VE,SceneMonitorStateSchema:()=>FE,SceneMonitorStatusForDeviceSchema:()=>UE,SceneMonitorStatusSchema:()=>HE,SceneReferenceSchema:()=>PE,SceneUnavailableSchema:()=>NE,SceneUncoveredPolicySchema:()=>AE,SceneVerdictSchema:()=>ME,ScopedTokenSchema:()=>fh,ScopedTokenSummarySchema:()=>nO,ScoredObjectEventSchema:()=>p_,ScriptRunnerStatusSchema:()=>GE,SearchResultSchema:()=>Wb,SendEmailInputSchema:()=>oy,SendEmailResultSchema:()=>sy,SendResultSchema:()=>yp,SensorEventSchema:()=>sg,ServerBootModeSchema:()=>Xv,ServerPackageStatusSchema:()=>ty,ServerRollbackInfoSchema:()=>ey,ServerUpdateActionResultSchema:()=>ry,ServerUpdateCheckResultSchema:()=>ny,ServerUpdateStateSchema:()=>Zv,SetLoggingSettingsInputSchema:()=>zD,SetSiteLocationInputSchema:()=>_D,SettingsPatchSchema:()=>Ts,SettingsRecordSchema:()=>ql,SettingsSchemaWithValuesSchema:()=>I,SettingsUpdateResultSchema:()=>Es,ShmRingStatsSchema:()=>nu,SiteLocationSchema:()=>hD,SiteLocationSourceSchema:()=>mD,SiteLocationStatusSchema:()=>gD,SmokeStatusSchema:()=>qE,SmtpStatusSchema:()=>cy,SnapshotImageSchema:()=>uy,SourceInfoSchema:()=>au,SpatialDetectionSchema:()=>Js,SsoBridgeClaimsSchema:()=>py,StartEmbeddedInputSchema:()=>Qf,StationaryObjectSchema:()=>wO,StorageAbortUploadInputSchema:()=>Dy,StorageAccessSchema:()=>Ii,StorageBeginDownloadInputSchema:()=>Oy,StorageBeginDownloadResultSchema:()=>ky,StorageBeginUploadInputSchema:()=>Cy,StorageBeginUploadResultSchema:()=>wy,StorageCleanupInputSchema:()=>Ai,StorageCleanupJobSchema:()=>ji,StorageCleanupPhaseSchema:()=>ki,StorageCleanupStatusInputSchema:()=>Mi,StorageEndDownloadInputSchema:()=>jy,StorageFinalizeUploadInputSchema:()=>Ey,StorageLocationDeclarationSchema:()=>Ri,StorageLocationRefSchema:()=>D,StorageLocationSchema:()=>E,StorageLocationTypeSchema:()=>Fi,StorageMigrationClassSchema:()=>ni,StorageMigrationDestinationsSchema:()=>ri,StorageMigrationDrainInputSchema:()=>vi,StorageMigrationFindingCodeSchema:()=>fi,StorageMigrationFindingSchema:()=>pi,StorageMigrationFootageMoveInputSchema:()=>Xr,StorageMigrationInputSchema:()=>oi,StorageMigrationJobSchema:()=>di,StorageMigrationLaneSchema:()=>hi,StorageMigrationLeaseInputSchema:()=>T,StorageMigrationMediaMoveInputSchema:()=>ti,StorageMigrationModeSchema:()=>ai,StorageMigrationMoveProgressSchema:()=>li,StorageMigrationMoveSchema:()=>ui,StorageMigrationMoverSchema:()=>gi,StorageMigrationParticipantSchema:()=>ci,StorageMigrationPhaseSchema:()=>si,StorageMigrationPlanSchema:()=>mi,StorageMigrationResidueSchema:()=>_i,StorageMigrationSourcesSchema:()=>ii,StorageProviderInfoSchema:()=>xy,StorageReadChunkInputSchema:()=>Ay,StorageTestLocationResultSchema:()=>Sy,StorageWriteChunkInputSchema:()=>Ty,StreamCodecSchema:()=>pl,StreamFormatSchema:()=>Wc,StreamNetworkStatsSchema:()=>ow,StreamParamsOptionsSchema:()=>nD,StreamParamsStatusSchema:()=>eD,StreamProfileConfigSchema:()=>$E,StreamProfileOptionsSchema:()=>tD,StreamProfilePatchSchema:()=>rD,StreamProfileSchema:()=>QE,StreamSourceEntrySchema:()=>dr,StreamSourceSchema:()=>fr,SubscribeAudioChunksInputSchema:()=>yr,SubscribeAudioChunksResultSchema:()=>br,SubscribeFramesInputSchema:()=>gr,SubscribeFramesResultSchema:()=>_r,SwitchStatusSchema:()=>lD,SystemMetricsSchema:()=>Pf,SystemMirror:()=>Zk,TAXONOMY_COLORS:()=>V,TIMELAPSE_DENSE_FLOOR_SEC:()=>cM,TIMEZONES:()=>Ui,TRANSCODE_DOWN_MAX_BITRATE_KBPS:()=>400,TRANSCODE_DOWN_MAX_HEIGHT:()=>360,TamperStatusSchema:()=>HD,TankStatusSchema:()=>uO,TargetKindCapsSchema:()=>pp,TargetKindLevelSchema:()=>fp,TargetKindSchema:()=>hp,TargetSchema:()=>gp,TemperatureSensorStatusSchema:()=>WD,TerminalInstanceInfoSchema:()=>Ly,TerminalLegacyCameraSchema:()=>Ry,TerminalOutputBatchSchema:()=>By,TerminalOutputEventSchema:()=>zy,TerminalProfileInfoSchema:()=>Iy,TerminalSessionInfoSchema:()=>Fy,TestConnectionResultSchema:()=>oC,TestConnectionStatusEnum:()=>aC,TestResultSchema:()=>bp,TimelapseRuleInputSchema:()=>mM,TimelapseRulePatchSchema:()=>gM,TimelapseRuleSchema:()=>_M,TimelapseTemplateSchema:()=>tM,ToastSchema:()=>KD,TokenScopeSchema:()=>K,TopologyNodeSchema:()=>hw,TopologyProcessSchema:()=>dw,TopologyServiceSchema:()=>uw,TrackCascadeCountsSchema:()=>h_,TrackEnvelopeSchema:()=>ug,TrackFlagsPatchSchema:()=>_g,TrackFlagsSchema:()=>vg,TrackProjectionSchema:()=>dg,TrackSchema:()=>wg,TrackSourceSchema:()=>pg,TrackStateSchema:()=>$h,TrackZoneFilterSchema:()=>tg,TrackedDetectionSchema:()=>d_,TrainingExportDeviceTotalsSchema:()=>Sg,TrainingExportSummarySchema:()=>Cg,TransportPlaneCountsSchema:()=>yD,TransportPlaneSchema:()=>vD,TurnServerSchema:()=>Hy,UNATTRIBUTED_BUCKET_KEY:()=>ta,UNIT_TABLE:()=>RN,UnifiedBrokerInfoSchema:()=>Cc,UnitConversionError:()=>zN,UnstampedEventMediaCountSchema:()=>ei,UnstampedRowsSchema:()=>$r,UpdateIntegrationInputSchema:()=>cC,UpdateStatusSchema:()=>JD,UpdateUserInputSchema:()=>QD,UserRecordSchema:()=>uh,UserSummarySchema:()=>XD,VISIT_MERGE_GAP_MS:()=>Br,VacuumControlStatusSchema:()=>dO,VacuumStateSchema:()=>lO,ValveStateSchema:()=>pO,ValveStatusSchema:()=>mO,VectorDeclareIndexInputSchema:()=>Zy,VectorDeleteByFilterInputSchema:()=>rb,VectorDeleteInputSchema:()=>nb,VectorDeleteResultSchema:()=>ib,VectorFilterSchema:()=>Jy,VectorGetInputSchema:()=>ab,VectorGetResultSchema:()=>ob,VectorItemSchema:()=>Yy,VectorMatchSchema:()=>Xy,VectorMetadataSchema:()=>qy,VectorMetricSchema:()=>Ky,VectorQueryInputSchema:()=>eb,VectorQueryResultSchema:()=>tb,VectorStatsInputSchema:()=>db,VectorStatsResultSchema:()=>fb,VectorUpsertInputSchema:()=>Qy,VectorUpsertResultSchema:()=>$y,VibrationStatusSchema:()=>gO,VideoEncodeSchema:()=>Ge,WEBRTC_EGRESS_PROFILE:()=>_t,WELL_KNOWN_TABS:()=>_e,WELL_KNOWN_TAB_MAP:()=>ve,WaterHeaterStatusSchema:()=>vO,WeatherStatusSchema:()=>bO,WebrtcStreamChoiceSchema:()=>Sb,WebrtcStreamTargetSchema:()=>xb,WhiteBalanceModeSchema:()=>JS,WidgetHostEnum:()=>Os,WidgetLoginMethodSchema:()=>uf,WidgetMetadataSchema:()=>js,WidgetRemoteSchema:()=>As,WidgetSizeEnum:()=>ks,YAMNET_TO_MACRO:()=>Op,ZoneCrossingDirectionSchema:()=>Og,ZoneCrossingSchema:()=>kg,ZoneKindEnum:()=>Yh,ZoneRuleModeEnum:()=>qh,ZoneRuleSchema:()=>Y,ZoneRuleStageEnum:()=>jO,ZoneRulesArraySchema:()=>Jh,ZoneSchema:()=>Zh,ZoneScopeBreakdownSchema:()=>CO,__resetLogChannelRegistryForTests:()=>qn,accessoriesCapability:()=>Tb,accessoryStableId:()=>ZO,addonPagesCapability:()=>gs,addonPagesSourceCapability:()=>vs,addonRoutesCapability:()=>Ss,addonSettingsCapability:()=>Ds,addonWidgetsCapability:()=>Ps,addonWidgetsSourceCapability:()=>Ms,addonsCapability:()=>rx,adminUiCapability:()=>Ls,airQualitySensorCapability:()=>ax,alarmPanelCapability:()=>Jp,alertsCapability:()=>Hs,ambientLightSensorCapability:()=>sx,asBoolean:()=>dP,asJsonArray:()=>cP,asJsonObject:()=>sP,asNumber:()=>uP,asString:()=>lP,assertTimelapseCadences:()=>vM,audioAnalysisCapability:()=>Gs,audioAnalyzerCapability:()=>rc,audioCodecCapability:()=>dc,audioIsFailClosed:()=>HA,audioKindId:()=>LA,audioLabelChoices:()=>KA,audioMetricsCapability:()=>fx,audioModeOf:()=>VA,audioOrDefaults:()=>BA,audioPlanFromEncodeProfile:()=>mt,authProviderCapability:()=>pc,autoAssignProfiles:()=>Fn,automationControlCapability:()=>mx,backupCapability:()=>xc,bareAddonId:()=>$N,batteryCapability:()=>gx,bestLocationMatch:()=>ZN,binaryCapability:()=>vx,bindAddonActions:()=>rF,brightnessCapability:()=>bx,brokerCapability:()=>Hc,buildAddonRouteProvider:()=>Be,buildAudioArgs:()=>rt,buildEventKindDescriptor:()=>Yv,buildFfmpegArgs:()=>dt,buildInputArgs:()=>$e,buildModelVariantGroups:()=>Ea,buildNcTaxonomy:()=>Up,buildRoleScopes:()=>xN,buildStreamParamsConfigSchema:()=>sD,buildVideoArgs:()=>nt,buttonCapability:()=>xx,cameraCredentialsCapability:()=>wx,cameraPipelineConfigCapability:()=>Uc,cameraStreamsCapability:()=>_l,canConvertUnit:()=>KN,canonicalEgressPlan:()=>It,carbonMonoxideCapability:()=>Ex,cellsToRects:()=>MP,classifyBearerPrincipal:()=>Ga,classifyStream:()=>An,classifyStreams:()=>kn,climateControlCapability:()=>kx,clusterModelSettingKey:()=>SM,clusterStepSettingFieldsFor:()=>MM,clusterStepSettingKey:()=>jM,collectHydratedFieldEntries:()=>be,collectHydratedFieldValues:()=>Se,collectSecretConfigKeys:()=>bn,colorCapability:()=>Px,colorForKind:()=>Rp,commitWatchdogRestart:()=>EP,compileExpression:()=>yo,compileExpressionSafe:()=>bo,composeSwitchedOff:()=>_n,conditionDepth:()=>Ko,conditionExclusionReason:()=>Nj,conditionVisibleForKind:()=>Mj,connectionTestCapability:()=>zx,connectivityCapability:()=>Vx,consumablesCapability:()=>Wx,contactCapability:()=>Kx,controlCapability:()=>Xx,convertUnit:()=>WN,coreBlockAddonId:()=>jl,coreBlockIdFromAddonId:()=>Ml,coreBlocksCapability:()=>Rl,cosineSimilarity:()=>tP,countConditionLeaves:()=>qo,coverCapability:()=>$x,createDeviceProxy:()=>Gk,createDurableState:()=>Ae,createEvent:()=>Oe,createEventBusSliceSource:()=>Dk,createExpressionScope:()=>So,createHwAccelCache:()=>Et,createLazyTrpcSource:()=>Ek,createLogChannelsProvider:()=>Yn,createMirrorSource:()=>Ok,createRuntimeStateBridge:()=>Bk,createSliceHandle:()=>Z,createSystemProxy:()=>PA,customAction:()=>Bl,customModelRegistryCapability:()=>Ul,dataStoreProviderCapability:()=>$l,dayNightCapability:()=>aS,declarationOwnerNodeId:()=>lk,declareLogChannel:()=>Kn,decodeVectorBase64:()=>QP,decoderCapability:()=>ru,defaultDeliveryForSection:()=>Gj,defaultDeviceFor:()=>dF,defineCustomActions:()=>zl,deriveBatteryPresence:()=>ok,deriveCameraSwitches:()=>hn,deriveDetailCropRect:()=>JM,deriveRecordingMode:()=>Ur,describeModelVariant:()=>Oa,detectAccessRole:()=>CN,detectionPipelineCapability:()=>iu,deviceAdoptionCapability:()=>Du,deviceBackendToFormat:()=>zP,deviceCustomAction:()=>Vl,deviceDiscoveryCapability:()=>mu,deviceExportCapability:()=>Iu,deviceManagerCapability:()=>ud,deviceMatchesProfile:()=>xk,deviceOpsCapability:()=>lS,deviceProviderCapability:()=>Uu,deviceSelectorMatches:()=>TN,deviceStateCapability:()=>dd,deviceStatusCapability:()=>dS,doorbellCapability:()=>mS,droppedConditionsForKind:()=>Pj,egressTranscodeSharingKey:()=>Lt,egressTransportFromRequest:()=>Mt,embeddingEncoderCapability:()=>md,emitDownForOwnedCaps:()=>Qi,emitReadiness:()=>ke,encodeProfileFromStreamShape:()=>Je,encodeVectorBase64:()=>ZP,enumSensorCapability:()=>_S,enumerateInferenceDevices:()=>gF,enumerateItemArrayFields:()=>Wk,enumerateSchemaFields:()=>Uk,errMsg:()=>iP,evaluateAst:()=>Ao,evaluateExpressionSource:()=>No,evaluatePoolMemory:()=>TP,evaluateSensorEdge:()=>KO,evaluateZoneRules:()=>eF,event:()=>F,eventEmitterCapability:()=>bS,eventsCapability:()=>SS,expandCapMethods:()=>ds,extractNestedAddonId:()=>Cl,extractSourceInfoFromMetadata:()=>uu,faceGalleryCapability:()=>jS,failureContributionCapability:()=>_d,failureRate:()=>ha,fanControlCapability:()=>PS,featureProbeCapability:()=>IS,filesystemBrowseCapability:()=>bd,findTimezone:()=>Wi,floodCapability:()=>RS,foldSnapshotByFunction:()=>aa,formatForBackend:()=>GP,formatForRuntime:()=>KP,gasCapability:()=>BS,generateAutomationBlock:()=>es,getAudioMacroClassIds:()=>Mp,getByPath:()=>jk,getCapsByProviderKind:()=>DA,getLogChannelRegistry:()=>Gn,getTaxonomyEntry:()=>Lp,hasMotionTrigger:()=>hk,hfModelUrl:()=>aP,htmlToText:()=>cj,humidifierCapability:()=>HS,humiditySensorCapability:()=>WS,hydrateSchema:()=>we,imageCapability:()=>KS,imageSettingsCapability:()=>tC,inferModelProvider:()=>Ia,initialPoolMemoryState:()=>bP,integrationsCapability:()=>uC,intercomCapability:()=>mC,invocationFromEncodeProfile:()=>ht,isAgentOnlyPlacement:()=>Kt,isArrayOutputSchema:()=>bl,isAudioLabelSelected:()=>qA,isAudioRule:()=>Rj,isBaseConditionKey:()=>aj,isBatteryPresenceFault:()=>sk,isClusterScopedStep:()=>CM,isCollectionArrayMethod:()=>xl,isDeployableToAgent:()=>Gt,isDetectionMacroClass:()=>Tp,isDeviceConfigCap:()=>ps,isDeviceScopedCap:()=>vA,isEvent:()=>De,isFirstLevelMacroClass:()=>Dr,isIsolatedBuiltin:()=>Xt,isNode:()=>yk,isObjectInput:()=>yl,isOccupancyRule:()=>zj,isRestoredCap:()=>jA,isSameAddonId:()=>eP,isScheduleActive:()=>Zj,isSecretConfigField:()=>yn,isSoftwareDecode:()=>Qe,isSourceCap:()=>HO,isSystemDelivery:()=>Aj,isVoidInput:()=>vl,jobKindSchema:()=>Eb,kebabToCamel:()=>Ol,knownValues:()=>nj,lawnMowerControlCapability:()=>vC,lifecycleJobSchema:()=>Nb,lifecycleJobScopeSchema:()=>Mb,lifecycleJobStateSchema:()=>jb,lifecycleTaskSchema:()=>Ab,llmCapability:()=>Zd,llmRuntimeCapability:()=>Rd,loadContributionCapability:()=>tf,localNetworkCapability:()=>jC,locationSimilarity:()=>XN,lockControlCapability:()=>PC,logBannerArgs:()=>Ze,logChannelsCapability:()=>rf,logDestinationCapability:()=>sf,logLevelAtMost:()=>Rn,loginMethodCapability:()=>pf,looseSchema:()=>Sl,makeProfileBrokerId:()=>sr,makeSourceBrokerId:()=>cr,mapAudioLabelToMacro:()=>jp,markdownToHtmlLite:()=>fj,markdownToText:()=>oj,maskUrlCredentials:()=>gP,mediaPlayerCapability:()=>zC,mergeSourceInfo:()=>su,meshNetworkCapability:()=>UC,method:()=>P,methodAccessForHttpMethod:()=>Ha,metricsProviderCapability:()=>Ff,modelConvertCapability:()=>Lf,modelDistributorCapability:()=>Bf,modelFormatForRuntime:()=>fF,motionCapability:()=>KC,motionDetectionCapability:()=>Uf,motionTriggerCapability:()=>YC,motionZonesCapability:()=>ew,mqttBrokerCapability:()=>tp,nativeObjectDetectionCapability:()=>aw,networkAccessCapability:()=>ap,networkQualityCapability:()=>lw,nodePin:()=>ns,nodesCapability:()=>Tw,normalizeAddonInitResult:()=>ze,normalizeAudioLabel:()=>IA,normalizeTokenScopes:()=>jN,normalizeUnit:()=>cu,notificationOutputCapability:()=>xp,notificationRulesCapability:()=>nh,notifierCapability:()=>Mw,numericSensorCapability:()=>Pw,oauthIntegrationCapability:()=>mh,objectInputDeclaresAddonId:()=>wl,osdCapability:()=>Bw,osdManagerCapability:()=>Jw,overlayClusterStepSettings:()=>LM,parseCameraStreamConfig:()=>Pn,parseExpression:()=>go,parseJsonArray:()=>pP,parseJsonObject:()=>fP,parseJsonUnknown:()=>oP,parseProcStatus:()=>yP,parseProfileBrokerId:()=>lr,parseRuleSection:()=>Lj,parseStreamParamsFormPatch:()=>cD,patchAudio:()=>GA,petFeederCapability:()=>Qw,pickAccessoryControl:()=>_k,pickClusterStepModels:()=>OM,pickClusterStepSettings:()=>IM,pickDetailCropConvention:()=>GM,pickNativeLeaseOverride:()=>vN,pickPreferredRtspEntry:()=>$i,pickRestartCandidate:()=>OP,pickVideoEncoder:()=>pt,pickerForCondition:()=>tj,pipelineAnalyticsCapability:()=>j_,pipelineExecutorCapability:()=>Kh,pipelineOrchestratorCapability:()=>Hv,pipelineRunnerCapability:()=>av,plateGalleryCapability:()=>iT,platformProbeCapability:()=>bT,poolMemoryThreshold:()=>CP,powerMeterCapability:()=>ST,prepareNotification:()=>yj,presenceCapability:()=>TT,pressureSensorCapability:()=>DT,principalMayReachAddon:()=>Ka,privacyMaskCapability:()=>NT,procedureAuthKey:()=>Dl,ptzAutotrackCapability:()=>GT,ptzCapability:()=>BT,pythonScriptForBackend:()=>qP,readClusterStepModels:()=>EM,readClusterStepSettings:()=>PM,readDetailCropConvention:()=>UM,readDeviceStateFrom:()=>IO,readNativeLeaseOverride:()=>hN,readNodePin:()=>is,readTimelapseGeneratedAt:()=>yM,readinessKey:()=>Ki,rebootCapability:()=>KT,recordingCapability:()=>gE,recordingExportCapability:()=>DE,rectsToCells:()=>jP,reducePoints:()=>ua,requiresPython:()=>JP,resetPoolBaseline:()=>DP,resolveAddonExecution:()=>Wt,resolveAddonGroup:()=>qt,resolveAddonPlacement:()=>Yt,resolveAddonRuntime:()=>WP,resolveBucketMs:()=>la,resolveCapMount:()=>os,resolveClusterStepModelId:()=>kM,resolveDetectionRuntime:()=>HP,resolveDeviceControlKind:()=>pk,resolveDeviceProfile:()=>wk,resolveEgressDecodeHwAccel:()=>Ot,resolveFormat:()=>mj,resolveHydratedFieldValue:()=>Ce,resolveMethodAuth:()=>El,resolveModelFormat:()=>UP,resolveMutate:()=>bk,resolvePoolMemoryPolicy:()=>vP,resolveRecordingProfiles:()=>Gr,resolveRunnerId:()=>Jt,resolveVariantModelId:()=>Da,resolveViewableDeviceIds:()=>AN,roleSpec:()=>bN,ruleEditorSectionsForKind:()=>Jj,ruleKindOf:()=>jj,ruleKindSpec:()=>Oj,ruleMatchesSection:()=>Bj,ruleSection:()=>Ij,ruleSectionOf:()=>Vj,ruleSeedForSection:()=>Wj,runInferenceStep:()=>PP,runtimeDevices:()=>uF,runtimeStatePolicyFor:()=>kA,sceneMonitorCapability:()=>WE,schemaDeclaresAnyField:()=>xn,scopeInherits:()=>ON,scopeKey:()=>qi,scopesAllowAddon:()=>Wa,scopesAllowDeviceCap:()=>Ua,scoreRuntimes:()=>pF,scriptRunnerCapability:()=>KE,selectAssignedProfileSlots:()=>ur,serverManagementCapability:()=>iy,setByPath:()=>Mk,settingsStoreCapability:()=>Zl,sleep:()=>YP,sleepCancellable:()=>XP,sliceActiveValue:()=>UO,sliceChangedAt:()=>WO,smokeCapability:()=>JE,smtpProviderCapability:()=>ly,snapshotCapability:()=>fy,ssoBridgeCapability:()=>my,startReachabilityPoll:()=>Ik,stateVocabularyFor:()=>LO,storageCapability:()=>gy,storageEvictableCapability:()=>yy,storageMigrationCapability:()=>by,storageProviderCapability:()=>My,streamBrokerCapability:()=>fl,streamCatalogCapability:()=>ZE,streamParamsCapability:()=>iD,streamPixels:()=>On,streamQualityLabel:()=>Dn,subKindsOf:()=>zp,summarisePrivacyAudio:()=>PT,summarizeEffectiveScope:()=>IN,supportedRuntimes:()=>lF,switchCapability:()=>uD,switchedOffIds:()=>gn,synthesizeSourceInfo:()=>ou,systemCapability:()=>VD,systemEventFilterApplies:()=>$j,systemEventFilterAppliesToAnyKind:()=>eM,tamperCapability:()=>UD,taskLogEntrySchema:()=>kb,taskPhaseSchema:()=>Db,taskTargetSchema:()=>Ob,temperatureSensorCapability:()=>GD,terminalSessionCapability:()=>Vy,textToHtml:()=>dj,toDeviceSummary:()=>rk,toExpressionValue:()=>jo,toNodeId:()=>rs,toStreamSourceEntry:()=>jn,toastCapability:()=>qD,toggleAudioLabel:()=>JA,tokenize:()=>co,transcodeBody:()=>hj,tryConvertUnit:()=>GN,turnProviderCapability:()=>Uy,unitDimension:()=>VN,unitsForDimension:()=>qN,updateCapability:()=>YD,userManagementCapability:()=>cO,userPasskeysCapability:()=>Gy,vacuumControlCapability:()=>fO,validateExpressionSource:()=>Mo,validateRecipeBounds:()=>Yo,valveCapability:()=>hO,vectorDimFromBase64:()=>$P,vectorStoreCapability:()=>pb,vibrationCapability:()=>_O,videoclipsCapability:()=>gb,viewerUiCapability:()=>yb,waterHeaterCapability:()=>yO,weatherCapability:()=>xO,webrtcClientHintsSchema:()=>bb,webrtcSessionCapability:()=>Cb,wiringAddonHealthSchema:()=>Bt,wiringHealthSnapshotSchema:()=>Ht,wiringNodeHealthSchema:()=>Vt,wiringProbeKindSchema:()=>Rt,wiringProbeResultSchema:()=>zt,zodEntriesToConfigUI:()=>rA,zoneAnalyticsCapability:()=>AO,zoneRulesCapability:()=>MO,zonesCapability:()=>Qh});export{qT as $,nj as A,Ur as At,JA as B,ge as Bt,Aj as C,na as Ct,Bj as D,Wi as Dt,Oj as E,Ui as Et,KA as F,ur as Ft,gA as G,TA as H,VA as I,dn as It,Ek as J,Zk as K,BA as L,un as Lt,RA as M,tr as Mt,zA as N,C as Nt,Wj as O,zr as Ot,HA as P,cr as Pt,LO as Q,qA as R,ve as Rt,Pj as S,Da as St,jj as T,aa as Tt,bA as U,PA as V,yA as W,dk as X,Z as Y,pk as Z,cM as _,qo as _t,qN as a,rp as at,Hj as b,Ea as bt,yN as c,Nu as ct,bN as d,Us as dt,HC as et,bM as f,R as ft,hM as g,Ko as gt,OM as h,Go as ht,VN as i,W as it,tj as j,Gr as jt,aj as k,Hr as kt,xN as l,jl as lt,MM as m,es as mt,KN as n,Gp as nt,jN as o,Od as ot,SM as p,L as pt,Gk as q,GN as r,Np as rt,AN as s,ju as st,_F as t,Bm as tt,CN as u,wc as ut,_M as v,Yo as vt,Lj as w,ta as wt,Mj as x,Oa as xt,eM as y,Pa as yt,GA as z,be as zt};
349
+ `).trim()}var lj=[[/&/g,`&amp;`],[/</g,`&lt;`],[/>/g,`&gt;`],[/"/g,`&quot;`],[/'/g,`&#39;`]];function uj(e){let t=e;for(let[e,n]of lj)t=t.replace(e,n);return t}function dj(e){return uj(e).replace(/\n/g,`<br>`)}function fj(e){return uj(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 pj={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function mj(e,t){for(let n of pj[e]??pj.text)if(t.includes(n))return n;return t[0]??`text`}function hj(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return oj(e);if(t===`html`)return cj(e)}if(n===`html`){if(t===`text`)return dj(e);if(t===`markdown`)return fj(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return cj(e)}return e}function gj(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function _j(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 gj(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return gj(e[0]);let r=t.priority;return gj([...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 vj(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 yj(e,t){let n=[],r=t.format,i=mj(r,e.format);i!==r&&n.push(`format`);let a=hj(t.body,r,i),o=_j(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=vj(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 bj=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,xj=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,Sj=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,Cj=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,wj=`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.`,Tj=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,Ej=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,Dj=[{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:bj,eventTypeTokens:xj,source:Sj},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:wj,classesExclude:wj,minConfidence:Tj,zones:Ej,zonesExclude:Ej,customZones:Ej,crossing:Ej,labelEquals:wj,identities:wj,identitiesExclude:wj,plates:wj,source:Cj},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 Oj(e){return Dj.find(t=>t.kind===e)??Dj[0]}var kj=`system-event`;function Aj(e){return e===kj}function jj(e){return Aj(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 Mj(e,t,n){let r=Oj(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function Nj(e,t){let n=Oj(t);return e===n.discriminator?null:n.excluded[e]??null}function Pj(e,t){let n=Oj(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 Fj=[{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 Ij(e){return Fj.find(t=>t.key===e)??Fj[0]}function Lj(e){return Fj.find(t=>t.key===e)?.key}function Rj(e){return e.conditions.audio!==void 0}function zj(e){return e.conditions.occupancy!==void 0}function Bj(e,t){return t===`all`?!0:t===`system`?Aj(e.delivery):t===`audio`?Rj(e):t===`occupancy`?zj(e):!Aj(e.delivery)&&!Rj(e)&&!zj(e)}function Vj(e){return Bj(e,`system`)?`system`:Bj(e,`audio`)?`audio`:Bj(e,`occupancy`)?`occupancy`:`detection`}var Hj={op:`became-occupied`,count:1,sustainSeconds:15},Uj={hitPercent:zA.hitPercent,samplingSeconds:zA.samplingSeconds,dbThreshold:-55};function Wj(e){switch(e){case`system`:return{delivery:kj,conditions:{}};case`audio`:return{delivery:`immediate`,conditions:{audio:Uj}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:Hj}};default:return{delivery:`immediate`,conditions:{}}}}function Gj(e){return Wj(e).delivery}var Kj=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],qj={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function Jj(e){let t=Oj(e),n=[];for(let r of Kj)r===`devices`&&e===`system`||n.push({key:r,label:r===`conditions`?t.label:qj[r]});return n}var Yj={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function Xj(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:Yj[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 Zj(e,t){if(e===void 0)return!0;let{day:n,minute:r}=Xj(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 Qj=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`];function $j(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===`server-updated`;case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`server-updated`}}function eM(e,t){return e.some(e=>$j(e,t))}var tM=a({title:g().max(500).optional(),body:g().max(2e3).optional()}),nM=g().min(1).max(200),rM=p(o()).min(1),iM=o().int().min(2).max(3600),aM=o().int().min(1).max(60),oM=p(Tm).min(1),sM=o().int().min(1).max(5),cM=.1,lM=o().min(cM).max(3600),uM=o().min(0).max(60),dM=g().max(200),fM=m([`image`,`gif`]),pM=p(g().min(1).max(40)).max(20),mM=a({name:nM,enabled:v().default(!0),deviceIds:rM,schedule:fm,cadenceSec:iM.default(15),framerate:aM.default(10),denseCadenceSec:lM.optional(),minDwellSec:uM.optional(),targets:oM,template:tM.optional(),previewText:dM.optional(),previewMode:fM.default(`image`),reportClasses:pM.optional(),priority:sM.default(3)}),hM=`Timelapse {{camera}}`,gM=a({name:nM.optional(),enabled:v().optional(),deviceIds:rM.optional(),schedule:fm.optional(),cadenceSec:iM.optional(),framerate:aM.optional(),denseCadenceSec:lM.optional(),minDwellSec:uM.optional(),targets:oM.optional(),template:tM.nullable().optional(),previewText:dM.optional(),previewMode:fM.optional(),reportClasses:pM.optional(),priority:sM.optional()}),_M=mM.extend({id:g(),ownerUserId:g().optional(),lastGeneratedAt:o().optional(),generatedByDevice:r(g(),o()).optional(),createdBy:g(),createdAt:o(),updatedAt:o()});function vM(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 yM(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}var bM=[{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`}]}],xM=`cluster-step-models`;function SM(e){return`clusterModel:${e}`}function CM(e){return bM.some(t=>t.stepId===e)}var wM=Object.freeze(Object.fromEntries(bM.map(e=>[e.stepId,e.defaultModelId]))),TM=g().min(1);function EM(e){let t={};for(let n of bM){let r=TM.safeParse(e[SM(n.stepId)]);t[n.stepId]=r.success?r.data:n.defaultModelId}return t}function DM(e){return typeof e==`object`&&!!e&&`key`in e}function OM(e){if(e===null)return wM;let t={},n=new Set(bM.map(e=>SM(e.stepId)));for(let r of e.sections)for(let e of r.fields)!DM(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return EM(t)}function kM(e,t){let n=bM.find(t=>t.stepId===e);if(n===void 0)return null;let r=t[e];return r!==void 0&&r!==``?r:n.defaultModelId}var AM=[{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 jM(e,t){return`clusterStepSetting:${e}:${t}`}function MM(e){return AM.filter(t=>t.stepId===e)}var NM=o().finite();function PM(e){let t={};for(let n of AM){let r=NM.safeParse(e[jM(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 FM=PM({});function IM(e){if(e===null)return FM;let t={},n=new Set(AM.map(e=>jM(e.stepId,e.key)));for(let r of e.sections)for(let e of r.fields)!DM(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return PM(t)}function LM(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 RM=`detail-crop`,zM=`detailCropPaddingRatio`,BM=`detailCropSquare`,VM=a({paddingRatio:o().min(0).max(4),square:v()}),HM={paddingRatio:.15,square:!1};function UM(e){let t=VM.shape.paddingRatio.safeParse(e[zM]),n=VM.shape.square.safeParse(e[BM]);return{paddingRatio:t.success?t.data:HM.paddingRatio,square:n.success?n.data:HM.square}}function WM(e){return typeof e==`object`&&!!e&&`key`in e}function GM(e){if(e===null)return HM;let t={};for(let n of e.sections)for(let e of n.fields)!WM(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return UM(t)}var KM=Object.freeze({x:0,y:0,w:1,h:1}),qM={min:0,max:1,step:.05,default:HM.paddingRatio};function JM(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?ZM(YM(o,t,n),t,n):XM(o,t,n)}function YM(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 XM(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 ZM(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 QM=`native-lease`,$M=`nativeLeaseHoldFrames`,eN=`nativeLeaseBudgetMb`,tN=`nativeLeaseActivityMs`,nN=`nativeLeaseAdmission`,rN=`nativeTileBudgetMb`,iN=`nativeSceneBudgetMb`,aN=m([`all`,`inferred`]),oN=a({holdFrames:o().int().min(1).max(64),budgetMb:o().int().min(0).max(4096),activityMs:o().int().min(0).max(12e4),admission:aN,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`},sN={min:1,max:64,step:1,default:Q.holdFrames},cN={min:0,max:4096,step:64,default:Q.budgetMb},lN={min:0,max:12e4,step:1e3,default:Q.activityMs},uN={min:0,max:1024,step:16,default:Q.tileBudgetMb},dN={min:0,max:1024,step:16,default:Q.sceneBudgetMb},fN={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:Q.admission};function pN(e,t){let n=oN.shape[e].safeParse(t);return n.success?n.data===Q[e]?null:n.data:null}function mN(e){let t=aN.safeParse(e);return t.success?t.data===Q.admission?null:t.data:null}function hN(e){let t=pN(`holdFrames`,e[$M]),n=pN(`budgetMb`,e[eN]),r=pN(`activityMs`,e[tN]),i=mN(e[nN]),a=pN(`tileBudgetMb`,e[rN]),o=pN(`sceneBudgetMb`,e[iN]);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 gN(e){return typeof e==`object`&&!!e&&`key`in e}var _N=[$M,eN,tN,nN,rN,iN];function vN(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!gN(e)||typeof e.key!=`string`||_N.includes(e.key)&&(t[e.key]=e.value);return hN(t)}var yN=[{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 bN(e){let t=yN.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function xN(e){let t=bN(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function SN(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function CN(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=yN.find(e=>SN(e.deviceAccess,r.access)&&SN(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var wN=8;function TN(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 EN(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function DN(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function ON(e,t){return e.includeLinked??t===`view`}function kN(e,t){let n=[],r=e;for(let e=0;e<wN;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 AN(e,t,n){if(EN(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=DN(e,n),a=new Set;for(let e of t)for(let t of i){if(TN(t.selector,e)){a.add(e.id);break}if(ON(t,n)&&kN(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&TN(t.selector,n)})){a.add(e.id);break}}return a}function jN(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 MN=[`view`,`create`,`delete`];function NN(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:EN(e,n)||DN(e,n).some(e=>e.selector.kind===`all`),deviceCount:AN(e,t,n).size}}function PN(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function FN(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function IN(e,t,n){let r={view:NN(e,t,`view`,n),create:NN(e,t,`create`,n),delete:NN(e,t,`delete`,n)},i=n?MN:MN.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:PN(e),addons:FN(e)}}var LN={camera:{type:`camera`,label:`Camera`,icon:`camera`}},RN={"°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}},zN=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 BN(e){return Object.hasOwn(RN,e)?RN[e]:void 0}function VN(e){return BN(e)?.dimension}function HN(e,t){return e*t.factor+t.offset}function UN(e,t){return(e-t.offset)/t.factor}function WN(e,t,n){if(t===n)return e;let r=BN(t);if(!r)throw new zN(t,n,`unknown-from`);let i=BN(n);if(!i)throw new zN(t,n,`unknown-to`);if(r.dimension!==i.dimension)throw new zN(t,n,`cross-dimension`);return UN(HN(e,r),i)}function GN(e,t,n){if(t===n)return e;let r=BN(t);if(!r)return;let i=BN(n);if(i&&r.dimension===i.dimension)return UN(HN(e,r),i)}function KN(e,t){if(e===t)return!0;let n=VN(e);return n===void 0?!1:n===VN(t)}function qN(e){let t=[];for(let[n,r]of Object.entries(RN))r.dimension===e&&t.push(n);return t}var JN=[15e3,6e4,5*6e4,15*6e4,30*6e4,60*6e4,90*6e4];function YN(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 XN(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-YN(n,r)/Math.max(n.length,r.length)}function ZN(e,t,n=.8){let r=null,i=0;for(let a of t){let t=XN(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var QN=`addon:`;function $N(e){return e.startsWith(QN)?e.slice(6):e}function eP(e,t){return $N(e)===$N(t)}function tP(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 nP=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(),rP(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 rP(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 iP(e){return e instanceof Error?e.message:typeof e==`string`?e:String(e)}function aP(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}function oP(e){return JSON.parse(e)}function sP(e){return typeof e!=`object`||!e||Array.isArray(e)?null:{...e}}function cP(e){return Array.isArray(e)?e:[]}function lP(e,t=``){return typeof e==`string`?e:t}function uP(e,t=0){return typeof e==`number`?e:t}function dP(e,t=!1){return typeof e==`boolean`?e:t}function fP(e){try{return sP(oP(e))}catch{return null}}function pP(e){try{let t=oP(e);return Array.isArray(t)?t:null}catch{return null}}var mP=[/^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 hP(e){return mP.some(t=>t.test(e))}function gP(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()))hP(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,_P={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function vP(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=_P;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 yP(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 bP(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function xP(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function SP(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:xP(r)}}function CP(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function wP(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function TP(e,t,n,r){let i=SP(e,t,r),a=CP(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=wP(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 EP(e,t){return{...bP(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function DP(e){return{...bP(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function OP(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 kP=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??bP();t&&t.pids.length>0&&!AP(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=DP(a));let o=TP(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=OP(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:EP(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 AP(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 jP(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 MP(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 NP=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 PP(e,t){let n=performance.now();try{return{output:t===void 0?await e():await IP(e(),t),durationMs:FP(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:FP(performance.now()-n),ok:!1,error:iP(e)}}}function FP(e){return Math.round(e*100)/100}function IP(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 LP={cpu:`onnx`,coreml:`onnx`,cuda:`onnx`,tensorrt:`onnx`,"onnx-py":`onnx`,pytorch:`pt`,openvino:`openvino`},RP={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function zP(e){return RP[e]??`onnx`}var BP={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},VP={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function HP(e,t){return e===`node`?`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pytorch`,"onnx-py":`onnx`,cpu:`onnx`}[t]??t}function UP(e,t){return e===`node`?LP[t]??`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pt`,"onnx-py":`onnx`,cpu:`onnx`}[t]??`onnx`}function WP(e,t){return!e||e===`auto`?`auto`:HP(e,t??`cpu`)}function GP(e){return LP[e]??`onnx`}function KP(e){return BP[e]}function qP(e){return VP[e]}function JP(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function YP(e){return new Promise(t=>setTimeout(t,Math.max(0,e)))}function XP(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 ZP(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 QP(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 $P(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function eF(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=>tF(t,e,n,l)),f=s.some(t=>tF(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 tF(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&&nF(t,e.polygon))return!0}return!1}function nF(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 rF(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 iF={value:`auto`,label:`Auto`},aF={value:`cpu`,label:`CPU`},oF={value:`usb`,label:`Coral USB`},sF=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[aF];let t=[aF];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[iF];let t=[iF,aF];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`},aF),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[oF],defaultDevice:`usb`}];function cF(e){let t=sF.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function lF(e){return sF.filter(t=>t.supports(e)).map(e=>e.id)}function uF(e,t){return cF(e).devices(t)}function dF(e){return cF(e).defaultDevice}function fF(e){return e===`edgetpu`?`tflite`:KP(e)}function pF(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 mF={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function hF(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function gF(e){let{scores:t}=pF(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(hF(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(hF(`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(hF(`edgetpu`,t,r.format,r.score))}continue}let t=mF[r.backend]??r.backend;n.push(hF(r.backend,t,r.format,r.score))}return n}var _F=t({ACCESSORY_LABEL:()=>XO,ACCESS_ROLES:()=>yN,ALEXA_EGRESS_PROFILE:()=>vt,ALL_CAPABILITY_DEFINITIONS:()=>gA,APPLE_SA_TO_MACRO:()=>kp,AUDIO_ANALYSIS_CAP_NAME:()=>dn,AUDIO_BACKEND_CHOICES:()=>tc,AUDIO_MACRO_LABELS:()=>Dp,AUDIO_PRESETS:()=>Xe,AccessoriesStatusSchema:()=>wb,AccessoryKind:()=>X,AddBrokerInputSchema:()=>Jf,AddonAutoUpdateSchema:()=>Kb,AddonListItemSchema:()=>Bb,AddonPageDeclarationSchema:()=>_s,AddonPageInfoSchema:()=>hs,AdoptionAdoptInputSchema:()=>Su,AdoptionAdoptResultSchema:()=>Cu,AdoptionCandidateResultSchema:()=>en,AdoptionFilterSchema:()=>hu,AdoptionGetCandidateInputSchema:()=>yu,AdoptionJobSchema:()=>tn,AdoptionJobStateSchema:()=>Qt,AdoptionListCandidatesInputSchema:()=>_u,AdoptionListCandidatesOutputSchema:()=>vu,AdoptionOutcomeSchema:()=>$t,AdoptionReleaseInputSchema:()=>wu,AdoptionStatusSchema:()=>bu,AgentLoadSummarySchema:()=>mv,AirQualitySensorStatusSchema:()=>ix,AlarmArmModeSchema:()=>Kp,AlarmPanelStatusSchema:()=>qp,AlarmStateSchema:()=>Gp,AlertSchema:()=>Vs,AlertSeveritySchema:()=>Rs,AlertSourceSchema:()=>Bs,AlertStatusSchema:()=>zs,AmbientLightSensorStatusSchema:()=>ox,ApiKeyRecordSchema:()=>dh,ApiKeySummarySchema:()=>$D,ArchiveEntrySchema:()=>_c,ArchiveManifestSchema:()=>vc,AttachmentMediaTypeSchema:()=>op,AttachmentSchema:()=>sp,AudioAnalysisResultSchema:()=>Qs,AudioAnalysisSettingsSchema:()=>$s,AudioChunkInputSchema:()=>Ys,AudioClassSummarySchema:()=>cx,AudioClassificationLabelSchema:()=>Zs,AudioClassificationResultSchema:()=>ec,AudioCodecInfoSchema:()=>ac,AudioDecodeSessionConfigSchema:()=>oc,AudioEncodeSchema:()=>Ke,AudioEncodeSessionConfigSchema:()=>sc,AudioEncodedChunkSchema:()=>lc,AudioEventSchema:()=>jg,AudioLevelSchema:()=>Xs,AudioMetricsHistoryPointSchema:()=>ux,AudioMetricsHistorySchema:()=>dx,AudioMetricsSnapshotSchema:()=>lx,AudioPcmChunkSchema:()=>cc,AuthResultSchema:()=>fc,AutoUpdateSettingsSchema:()=>Gb,AutomationActionSchema:()=>Wo,AutomationConditionOperatorSchema:()=>zo,AutomationConditionSchema:()=>Ho,AutomationControlStatusSchema:()=>px,AutomationRecipeSchema:()=>Go,AutomationTriggerSchema:()=>Uo,AvailableIntegrationTypeSchema:()=>iC,BACKEND_TO_FORMAT:()=>LP,BASE_LIVE_EGRESS_PROFILE:()=>gt,BATTERY_DEVICE_PROFILE:()=>Sk,BATTERY_UNREACHABLE_AFTER_MS:()=>ak,BOOT_RECOVERY_BACKOFF_MS:()=>JN,BacklightModeSchema:()=>XS,BackupDestinationInfoSchema:()=>mc,BackupEntrySchema:()=>gc,BaseAddon:()=>Ie,BaseDevice:()=>nk,BaseDeviceProvider:()=>ik,BatteryStatusSchema:()=>hx,BinaryStatusSchema:()=>_x,BoundingBoxSchema:()=>z,BrightnessStatusSchema:()=>yx,BrokerAddInputSchema:()=>Oc,BrokerAudioClientSchema:()=>Qc,BrokerClientsSchema:()=>nl,BrokerConnectionDetailsSchema:()=>qf,BrokerConsumerAttributionSchema:()=>el,BrokerConsumerKindSchema:()=>$c,BrokerDecodedClientSchema:()=>Zc,BrokerEncodedClientSchema:()=>tl,BrokerGetStateInputSchema:()=>Vc,BrokerInfoSchema:()=>Kf,BrokerProviderInfoSchema:()=>Tc,BrokerPublishInputSchema:()=>Lc,BrokerRegistryStatusSchema:()=>wc,BrokerRtspClientSchema:()=>Xc,BrokerStatsSchema:()=>Sr,BrokerStatusEnum:()=>Sc,BrokerStatusSchema:()=>xr,BrokerSubscribeInputSchema:()=>Rc,BrokerSubscribeResultSchema:()=>zc,BrokerTestConnectionResultSchema:()=>jc,BrokerUnsubscribeInputSchema:()=>Bc,BulkRecordSchema:()=>Jl,CAMERA_SWITCH_CATALOG:()=>pn,CAMERA_SWITCH_ORDER:()=>an,CAM_PROFILE_ORDER:()=>tr,CAPABILITY_NAMES:()=>mA,CAPABILITY_ROUTER_KEYS:()=>hA,CAP_NAMES_WITH_STATUS:()=>pA,CAP_NODE_PIN_CONTEXT_KEY:()=>ts,CAP_PROVIDER_KIND_MAP:()=>TA,CLASS_MAP_MACRO_TARGETS:()=>Tr,CLUSTER_MODEL_SCOPED_STEPS:()=>bM,CLUSTER_MODEL_SECTION_ID:()=>xM,CLUSTER_STEP_SETTING_FIELDS:()=>AM,COCO_80_LABELS:()=>Sp,COCO_TO_MACRO:()=>Ep,CONNECTION_TEST_TIMEOUT_MS:()=>Fx,CORE_BLOCKS_ADDON_ID:()=>Al,CORE_BLOCK_ADDON_PREFIX:()=>kl,CamProfileSchema:()=>C,CamStreamDescriptorSchema:()=>YE,CamStreamKindSchema:()=>nr,CamStreamResolutionSchema:()=>rr,CameraAssignmentStatusSchema:()=>bv,CameraAudioStatusSchema:()=>Av,CameraBrokerProfileSchema:()=>xv,CameraBrokerStatusSchema:()=>Sv,CameraCredentialsSchema:()=>Sx,CameraCredentialsStatusSchema:()=>Cx,CameraDecoderShmSchema:()=>Cv,CameraDecoderStatusSchema:()=>wv,CameraDetectionPhaseSchema:()=>Ov,CameraDetectionProvisioningSchema:()=>Dv,CameraDetectionProvisioningStateSchema:()=>Ev,CameraDetectionStatusSchema:()=>kv,CameraMetricsSchema:()=>N_,CameraMetricsWithDeviceIdSchema:()=>P_,CameraMotionStatusSchema:()=>Tv,CameraOccupancySnapshotForDeviceSchema:()=>EO,CameraRecordingModeSchema:()=>jv,CameraRecordingStatusSchema:()=>Mv,CameraSourceStatusSchema:()=>yv,CameraSourceStreamSchema:()=>vv,CameraStatusDegradationReasonSchema:()=>Pv,CameraStatusDegradationSchema:()=>Fv,CameraStatusSchema:()=>Lv,CameraStatusStageSchema:()=>Nv,CameraStreamSchema:()=>ir,CameraSwitchAuthoritySchema:()=>on,CameraSwitchGroupSchema:()=>ln,CameraSwitchIdSchema:()=>rn,CameraSwitchSchema:()=>cn,CameraSwitchUnavailableReasonSchema:()=>sn,CandidateQueryFilterSchema:()=>gu,CapScopeSchema:()=>oh,CapabilityBindingsSchema:()=>gv,CarbonMonoxideStatusSchema:()=>Tx,ChargingStatus:()=>Ws,ClientNetworkStatsSchema:()=>sw,ClimateControlStatusSchema:()=>Ox,ClipPlaybackSchema:()=>hb,ClipSchema:()=>mb,ClusterAddonNodeDeploymentSchema:()=>_w,ClusterAddonStatusEntrySchema:()=>vw,CollectionColumnSchema:()=>Yl,CollectionIndexSchema:()=>Xl,ColorStatusSchema:()=>Nx,ConfigEntrySchema:()=>Yu,ConfigSectionWithValuesSchema:()=>ws,ConfigTabDeclarationSchema:()=>Cs,ConnectionTestDescriptorSchema:()=>Rx,ConnectionTestInputSchema:()=>Lx,ConnectionTestOutcomeSchema:()=>Ix,ConnectivityStatusSchema:()=>Bx,ConsumableItemSchema:()=>Hx,ConsumablesStatusSchema:()=>Ux,ContactStatusSchema:()=>Gx,ControlKindSchema:()=>qx,ControlStatusSchema:()=>Jx,ConvertArtifactSchema:()=>Ba,ConvertResultSchema:()=>Va,ConvertTargetSchema:()=>Ra,CoreBlockCompileResultSchema:()=>Ll,CoreBlockInputSchema:()=>Fl,CoreBlockPlacementSchema:()=>Nl,CoreBlockSchema:()=>Il,CoreBlockStatusSchema:()=>Pl,CoverStateSchema:()=>Zx,CoverStatusSchema:()=>Qx,CreateApiKeyInputSchema:()=>eO,CreateApiKeyResultSchema:()=>tO,CreateIntegrationInputSchema:()=>sC,CreateScopedTokenInputSchema:()=>rO,CreateScopedTokenResultSchema:()=>iO,CreateUserInputSchema:()=>ZD,CustomActionInputSchema:()=>nx,CustomModelDescriptorSchema:()=>Hl,DATAPLANE_SECRET_HEADER:()=>Zt,DECLARED_DEVICE_SWEEP_LIMIT:()=>32,DECLARED_INTEGRATION_FIXED_KEY:()=>ck,DEFAULT_ADDON_PLACEMENT:()=>Ut,DEFAULT_AUDIO_ANALYZER_CONFIG:()=>nc,DEFAULT_CLUSTER_STEP_MODELS:()=>wM,DEFAULT_CLUSTER_STEP_SETTINGS:()=>FM,DEFAULT_DECODER_HWACCEL_CONFIG:()=>tu,DEFAULT_DETAIL_CROP_CONVENTION:()=>HM,DEFAULT_EVENTS_BAND_BUFFER_SEC:()=>zr,DEFAULT_EVENT_COLOR:()=>Np,DEFAULT_FEATURES:()=>In,DEFAULT_FIRST_SIGHTING_FRESHNESS_MS:()=>GO,DEFAULT_MIN_LANDMARK_FACE_SIZE_PX:()=>24,DEFAULT_NATIVE_LEASE_SETTINGS:()=>Q,DEFAULT_POOL_MEMORY_POLICY:()=>_P,DEFAULT_RECORDING_PROFILES:()=>Wr,DEFAULT_RETENTION:()=>nn,DEFAULT_RUNTIME_STATE_DURABILITY:()=>as,DEFAULT_TIMELAPSE_PREVIEW_TEXT:()=>hM,DEFAULT_TOKEN_EXPIRY:()=>`30d`,DETAIL_CROP_PADDING_FIELD:()=>qM,DETAIL_CROP_PADDING_KEY:()=>zM,DETAIL_CROP_SECTION_ID:()=>RM,DETAIL_CROP_SQUARE_KEY:()=>BM,DETECTION_MACRO_CLASSES:()=>wp,DETECTION_PIPELINE_CAP_NAME:()=>un,DEVICE_BACKEND_TO_FORMAT:()=>RP,DEVICE_CAP_NAMES:()=>xA,DEVICE_CHILDREN_BATCH_MAX:()=>256,DEVICE_PROFILES:()=>Ck,DEVICE_SCOPED_CAPS:()=>_A,DEVICE_SETTINGS_CONTRIBUTION_METHODS:()=>ls,DEVICE_STATE_READERS:()=>FO,DEVICE_STATUS_METHOD:()=>us,DEVICE_TYPE_CONTROL_KIND:()=>dk,DEVICE_TYPE_INFO:()=>LN,DataStoreEngineInfoSchema:()=>Ql,DayNightModeSchema:()=>eS,DayNightOptionsSchema:()=>rS,DayNightSettingsPatchSchema:()=>iS,DayNightStatusSchema:()=>nS,DeclaredDevices:()=>uk,DecodedAudioChunkSchema:()=>vr,DecodedFrameSchema:()=>mr,DecoderSessionConfigSchema:()=>Bi,DecoderStatsSchema:()=>zi,DeleteIntegrationResultSchema:()=>lC,DetailCropConventionSchema:()=>VM,DetectionCatalogClassMapSchema:()=>Or,DetectionSourceSchema:()=>Dg,DeviceCodeSeveritySchema:()=>gC,DeviceConfig:()=>QO,DeviceDiscoveryStatusSchema:()=>pu,DeviceExportExposeInputSchema:()=>Pu,DeviceExportStatusSchema:()=>ju,DeviceExportUnexposeInputSchema:()=>Fu,DeviceFeature:()=>Us,DeviceInfoSchema:()=>Ju,DeviceNetworkStatsSchema:()=>cw,DeviceRole:()=>R,DeviceRuntimeState:()=>$O,DeviceSelectorSchema:()=>sh,DeviceStatusSchema:()=>uS,DeviceType:()=>L,DiagnosticIdSchema:()=>TD,DiagnosticWindowPatchSchema:()=>MD,DiagnosticWindowSchema:()=>jD,DiscoveredChildDeviceSchema:()=>fu,DiscoveredChildStatusSchema:()=>du,DiscoveredDeviceSchema:()=>Ru,DiscoveredTargetSchema:()=>_p,DiskReconcileJobSchema:()=>Iv,DisposerChain:()=>We,DoorbellPressEventSchema:()=>pS,DoorbellStatusSchema:()=>fS,EVENTFUL_CAP_NAMES:()=>Jv,EVENT_DENSITY_BATCH_MAX:()=>200,EVENT_KIND_BY_CAP:()=>qv,EVENT_PAD_MS:()=>kr,EVENT_TAXONOMY:()=>W,EXPORT_DENSE_MAX_RANGES:()=>200,EXPRESSION_BUILTINS:()=>Za,EXPRESSION_BUILTIN_NAMES:()=>Qa,EXPRESSION_COMPILE_CACHE_CAPACITY:()=>256,EXPRESSION_IDENTIFIER_RE:()=>to,EXPRESSION_INJECTED_NOW:()=>`now`,EgressEncodeSchema:()=>cl,EgressRateControlSchema:()=>ll,EgressTranscodeRequestSchema:()=>ul,EgressTranscodeSchema:()=>dl,ElementConfigStore:()=>nP,EmbeddingInfoSchema:()=>pd,EmbeddingResultSchema:()=>fd,EncodeProfileSchema:()=>qe,EncodedPacketSchema:()=>pr,EnrichedWidgetMetadataSchema:()=>Ns,EnumSensorDateTimeFormatSchema:()=>hS,EnumSensorStatusSchema:()=>gS,EventCategory:()=>ge,EventDensityBucketSchema:()=>l_,EventDensityForDeviceSchema:()=>u_,EventEmitterStatusSchema:()=>yS,EventFireSchema:()=>vS,EventItemSchema:()=>xS,EventKindCategorySchema:()=>rg,EventKindDescriptorSchema:()=>ag,EventKindIconSchema:()=>ng,EventKindSchema:()=>eg,EventKindsForDeviceSchema:()=>og,EventMediaArtifactSchema:()=>Kc,EventMediaCoverageSchema:()=>qc,EventMediaKindSchema:()=>Gc,EventMediaProductionSchema:()=>Jc,EventSourceType:()=>fA,ExportBytesSchema:()=>EE,ExportDenseRangeSchema:()=>vE,ExportDenseSchema:()=>yE,ExportDownloadSchema:()=>wE,ExportOptionsSchema:()=>xE,ExportRecordSchema:()=>CE,ExportSetupFieldSchema:()=>ku,ExportSetupSchema:()=>Au,ExportSpeedSchema:()=>_E,ExportStateSchema:()=>SE,ExportTimelapseSchema:()=>bE,ExposedDeviceSchema:()=>Nu,ExposureModeSchema:()=>YS,ExpressionBindingSourceSchema:()=>Lo,ExpressionEvalError:()=>k,ExpressionFieldBindingSchema:()=>Po,ExpressionGlobalBindingSchema:()=>Io,ExpressionLiteralBindingSchema:()=>Fo,ExpressionParseError:()=>O,ExpressionSourceSchema:()=>Ro,FIRST_LEVEL_MACRO_CLASSES:()=>Er,FULL_IMAGE_BBOX:()=>KM,FailureContributionSchema:()=>gd,FailureCounters:()=>ma,FailureReasonCountSchema:()=>hd,FanControlStatusSchema:()=>NS,FanDirectionSchema:()=>MS,FeatureManifestSchema:()=>dD,FeatureProbeStatusSchema:()=>FS,FloodStatusSchema:()=>LS,Fmp4BoxSplitter:()=>Tt,FrameHandleFormatSchema:()=>hr,FrameHandleSchema:()=>w,FrameInputSchema:()=>qs,FrameLazyCountersSchema:()=>nv,FrameLazyMetricsSchema:()=>rv,GasStatusSchema:()=>zS,GetLoggingSettingsInputSchema:()=>RD,GetStreamWithCodecInputSchema:()=>ol,GlobalMetricsSchema:()=>hv,HAP_AUDIO_BASE:()=>xt,HAP_AUDIO_BITRATE_KBPS:()=>24,HAP_AUDIO_VBV_KBITS:()=>96,HAP_KEYFRAME_INTERVAL_SEC:()=>4,HF_BASE_URL:()=>JO,HF_REPO:()=>qO,HWACCEL_OPTIONS:()=>eu,HealthStatusSchema:()=>fD,HfModelResolutionSchema:()=>qd,HistoryPointSchema:()=>kO,HistoryResolutionEnum:()=>DO,HumidifierStatusSchema:()=>VS,HumiditySensorStatusSchema:()=>US,HvacModeSchema:()=>Dx,INFERENCE_DEVICE_EXCLUSION_REASONS:()=>Rv,ImageContractSchema:()=>$v,ImageContractStateSchema:()=>Qv,ImageRotateSchema:()=>qS,ImageSettingsOptionsSchema:()=>$S,ImageSettingsPatchSchema:()=>eC,ImageSettingsStatusSchema:()=>QS,ImageStatusSchema:()=>GS,InferenceDeviceExclusionReasonSchema:()=>zv,IngestOwnerSchema:()=>_v,InstalledPackageSchema:()=>Vb,IntegrationLiteSchema:()=>rC,IntegrationWithStateSchema:()=>nC,IntercomAbilitySchema:()=>dC,IntercomStatusSchema:()=>fC,KNOWN_CAP_NAMES:()=>bA,KeyEventSchema:()=>o_,LOAD_CONTRIBUTION_ATTRIBUTIONS:()=>$d,LOAD_CONTRIBUTION_ROLES:()=>Qd,LOG_CHANNEL_TICK_MS:()=>Jn,LOG_LEVEL_RANK:()=>Ln,LabelAttributionSchema:()=>bg,LabelDefinitionSchema:()=>wr,LabelTierSchema:()=>yg,LawnMowerActivitySchema:()=>hC,LawnMowerControlStatusSchema:()=>_C,LedgerWalkDeviceReportSchema:()=>Ti,LedgerWalkInputSchema:()=>xi,LedgerWalkRefusalSchema:()=>Si,LedgerWalkReportSchema:()=>Ei,LedgerWalkSkipCountsSchema:()=>wi,LedgerWalkSkipReasonSchema:()=>Ci,LinkedDeviceSchema:()=>Zu,LinkedDevicesModeSchema:()=>Xu,LlmDefaultSchema:()=>Wd,LlmDefaultSelectorSchema:()=>Ud,LlmDownloadProgressSchema:()=>Nd,LlmErrorCodeSchema:()=>Sd,LlmGenerateBaseInputSchema:()=>kd,LlmGenerateErrSchema:()=>wd,LlmGenerateOkSchema:()=>Cd,LlmGenerateResultSchema:()=>Td,LlmImageSchema:()=>Ed,LlmNodeModelSchema:()=>Fd,LlmProfileKindDescriptorSchema:()=>Hd,LlmProfileKindSchema:()=>zd,LlmProfileSchema:()=>Bd,LlmRetryPolicySchema:()=>Dd,LlmRuntimeCompleteInputSchema:()=>Ld,LlmRuntimeDiskUsageSchema:()=>Id,LlmRuntimeNodeSchema:()=>Jd,LlmRuntimeStatusSchema:()=>Pd,LlmTimeoutDefaults:()=>Od,LlmUsageRollupSchema:()=>Gd,LlmUsageSchema:()=>xd,LoadContributionSchema:()=>ef,LocateSegmentResultSchema:()=>fE,LocationStatSchema:()=>yc,LockControlStatusSchema:()=>NC,LockStateSchema:()=>MC,LogChannelApplyResultSchema:()=>nf,LogChannelDescriptorSchema:()=>Bn,LogChannelGate:()=>Hn,LogChannelLevelSchema:()=>zn,LogChannelRegistry:()=>Un,LogChannelWindowPatchSchema:()=>PD,LogChannelWindowSchema:()=>Vn,LogChannelWindowStateSchema:()=>ND,LogEntrySchema:()=>of,LogLevelSchema:()=>af,LogStreamEntrySchema:()=>ex,LoggingEffectiveSchema:()=>kD,LoggingExplicitSchema:()=>AD,LoggingLevelLayerSchema:()=>OD,LoggingLevelSourceSchema:()=>DD,LoggingScopeKindSchema:()=>ED,LoggingSettingsPatchSchema:()=>FD,LoggingSettingsStateSchema:()=>BD,LoginMethodContributionSchema:()=>ff,LoginStageEnum:()=>cf,MACRO_LABELS:()=>Cp,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:()=>eo,MAX_EXPRESSION_SOURCE_LENGTH:()=>$a,MAX_KEYS:()=>da,MAX_REASONS_PER_KEY:()=>16,MAX_SENSOR_TRIGGER_DEVICES:()=>16,METHOD_ACCESS_MAP:()=>yA,METHOD_DEVICE_SELECTORS:()=>CA,MODEL_FORMATS:()=>ka,MODEL_PROVIDER_IDS:()=>Pa,MOTION_TRIGGER_FEATURE:()=>mk,ManagedModelCatalogEntrySchema:()=>Kd,ManagedModelExtraFileSchema:()=>Ad,ManagedModelRefSchema:()=>jd,ManagedRuntimeConfigSchema:()=>Md,MaskGridDimsSchema:()=>nm,MaskGridShapeSchema:()=>Zp,MaskLineShapeSchema:()=>Qp,MaskPointSchema:()=>Yp,MaskPolygonShapeSchema:()=>Xp,MaskPolygonVerticesSchema:()=>tm,MaskRectShapeSchema:()=>G,MaskShapeKindSchema:()=>em,MaskShapeSchema:()=>$p,MediaFileInfoSchema:()=>Fg,MediaFileKindEnum:()=>Mg,MediaFileRefSchema:()=>Ng,MediaFileSchema:()=>Pg,MediaPlayerRepeatSchema:()=>IC,MediaPlayerStateSchema:()=>FC,MediaPlayerStatusSchema:()=>RC,MediaRelocateModeSchema:()=>Zr,MeshPeerSchema:()=>VC,MeshStatusSchema:()=>HC,MethodAccessSchema:()=>rh,MigrateDeviceResultSchema:()=>ld,MigrateSwitchOutcomeSchema:()=>sd,MigrateSwitchReportSchema:()=>cd,ModelCatalogEntrySchema:()=>La,ModelConvertInputSchema:()=>If,ModelConvertMetadataSchema:()=>za,ModelDistributeInputSchema:()=>Rf,ModelDistributeResultSchema:()=>zf,ModelExtraFileSchema:()=>ja,ModelFormatEntrySchema:()=>Aa,ModelFormatsSchema:()=>Ma,ModelProviderIdSchema:()=>Fa,ModelSubstitutionSchema:()=>kh,ModelVariantGroupSchema:()=>Na,MotionAnalysisResultSchema:()=>Hf,MotionEventSchema:()=>Eg,MotionOnMotionChangedDataSchema:()=>GC,MotionRegionSchema:()=>Vf,MotionSourceEnum:()=>J_,MotionSourcesSchema:()=>Y_,MotionStatusSchema:()=>WC,MotionTriggerRuntimeStateSchema:()=>JC,MotionTriggerStatusSchema:()=>qC,MotionZoneOptionsSchema:()=>QC,MotionZonePatchSchema:()=>$C,MotionZoneRegionSchema:()=>XC,MotionZoneStatusSchema:()=>ZC,MqttBrokerStatusSchema:()=>ep,MutationFilterSchema:()=>Wl,NATIVE_LEASE_ACTIVITY_FIELD:()=>lN,NATIVE_LEASE_ACTIVITY_KEY:()=>tN,NATIVE_LEASE_ADMISSION_FIELD:()=>fN,NATIVE_LEASE_ADMISSION_KEY:()=>nN,NATIVE_LEASE_BUDGET_FIELD:()=>cN,NATIVE_LEASE_BUDGET_KEY:()=>eN,NATIVE_LEASE_HOLD_FIELD:()=>sN,NATIVE_LEASE_HOLD_KEY:()=>$M,NATIVE_LEASE_SCENE_BUDGET_FIELD:()=>dN,NATIVE_LEASE_SCENE_BUDGET_KEY:()=>iN,NATIVE_LEASE_SECTION_ID:()=>QM,NATIVE_LEASE_TILE_BUDGET_FIELD:()=>uN,NATIVE_LEASE_TILE_BUDGET_KEY:()=>rN,NC_ALARM_SYSTEM_EVENT_KINDS:()=>sm,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:()=>RA,NC_AUDIO_DB_OFFERED:()=>-55,NC_AUDIO_DB_STEP:()=>3,NC_AUDIO_DEFAULTS:()=>zA,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:()=>Uj,NC_AUTHORABLE_SYSTEM_EVENT_KINDS:()=>om,NC_BASE_CONDITION_KEYS:()=>rj,NC_CONDITION_CATALOG:()=>Bm,NC_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,NC_CONFIRM_DEFAULT_TIMEOUT_MS:()=>Mm,NC_CONFIRM_MAX_TIMEOUT_MS:()=>jm,NC_CONFIRM_MIN_TIMEOUT_MS:()=>Am,NC_DEFAULT_SNOOZE_MINUTES:()=>um,NC_HISTORY_LIMIT_DEFAULT:()=>100,NC_HISTORY_LIMIT_MAX:()=>500,NC_MAX_PER_TRACK_IMMEDIATE:()=>1,NC_OCCUPANCY_DEFAULTS:()=>Hj,NC_RULE_EDITOR_SECTION_ORDER:()=>Kj,NC_RULE_KIND_SPECS:()=>Dj,NC_RULE_SECTIONS:()=>Fj,NC_SNOOZE_MAX_MINUTES:()=>lm,NC_SYSTEM_DELIVERY:()=>kj,NC_SYSTEM_EVENT_FILTER_KEYS:()=>Qj,NC_TAXONOMY:()=>Wp,NativeCropBboxSchema:()=>F_,NativeCropRefSchema:()=>hh,NativeCropResultSchema:()=>I_,NativeDetectionSchema:()=>nw,NativeLeaseAdmissionSchema:()=>aN,NativeLeaseSettingsSchema:()=>oN,NativeObjectClassEnum:()=>tw,NativeObjectDetectionRuntimeStateSchema:()=>iw,NativeObjectDetectionStatusSchema:()=>rw,NcAlarmConfigSchema:()=>th,NcAlarmModeCoverageSchema:()=>eh,NcAlarmSettingsPatchSchema:()=>Zm,NcAlarmSettingsSchema:()=>Xm,NcAlarmSkipReasonSchema:()=>Qm,NcAlarmSkippedDeviceSchema:()=>$m,NcAudioConditionSchema:()=>hm,NcConditionDescriptorSchema:()=>zm,NcConditionsSchema:()=>wm,NcConfirmExpectSchema:()=>Nm,NcConfirmSchema:()=>Pm,NcCrossingSchema:()=>gm,NcDeliverySchema:()=>rm,NcDeviceStateConditionSchema:()=>Sm,NcHistoryEntrySchema:()=>Wm,NcHistoryFilterSchema:()=>Gm,NcHistoryRecordKindSchema:()=>Hm,NcHistoryStatusSchema:()=>Vm,NcHistorySubjectSchema:()=>Um,NcMediaFrameSchema:()=>Em,NcMediaPolicySchema:()=>Dm,NcOccupancyConditionSchema:()=>mm,NcPlateMatcherSchema:()=>pm,NcRuleActionSchema:()=>vm,NcRuleActionSequenceSchema:()=>ym,NcRuleActionsSchema:()=>xm,NcRuleInputSchema:()=>Fm,NcRuleNotificationButtonSchema:()=>bm,NcRulePatchSchema:()=>Im,NcRuleSchema:()=>Lm,NcRuleTargetSchema:()=>Tm,NcSceneConditionSchema:()=>Cm,NcScheduleSchema:()=>fm,NcScheduleWindowSchema:()=>dm,NcSnoozeInputSchema:()=>qm,NcSnoozeSchema:()=>Jm,NcSnoozeScopeSchema:()=>Km,NcSnoozeSuppressedSchema:()=>Ym,NcSystemEventConditionSchema:()=>cm,NcSystemEventKindSchema:()=>im,NcTaxonomyEntrySchema:()=>Bp,NcTaxonomySchema:()=>Vp,NcTestResultSchema:()=>Rm,NcThrottleGranularitySchema:()=>Om,NcThrottleSchema:()=>km,NcZoneConditionSchema:()=>_m,NetworkAccessStatusSchema:()=>rp,NetworkAddressSchema:()=>pD,NetworkEndpointSchema:()=>np,NotificationActionIconSchema:()=>lp,NotificationActionSchema:()=>up,NotificationFormatSchema:()=>cp,NotificationSchema:()=>dp,NotifierStatusSchema:()=>kw,NumericSensorStatusSchema:()=>Nw,OPERATOR_WRITTEN_STALE_MS:()=>zk,OPS_LOG_DEFAULT_LIMIT:()=>200,OPS_LOG_RING_DEFAULT_MAX:()=>500,OVERFLOW_REASON:()=>fa,OauthIntegrationDescriptorSchema:()=>ph,ObjectEventSchema:()=>Ag,OpsLogDomainSchema:()=>Xn,OpsLogEntrySchema:()=>$n,OpsLogOpSchema:()=>Zn,OpsLogQueryInputSchema:()=>er,OpsLogReasonSchema:()=>Qn,OrchestratorMetricsSchema:()=>M_,OsdOverlayKindEnum:()=>Fw,OsdOverlayPatchSchema:()=>zw,OsdOverlaySchema:()=>Lw,OsdPositionEnum:()=>Iw,OsdRenderOutcomeEnum:()=>Ww,OsdRenderResultSchema:()=>Gw,OsdSlotBindingSchema:()=>Hw,OsdSlotViewSchema:()=>Uw,OsdSourceOptionSchema:()=>qw,OsdSourceSchema:()=>Vw,OsdSourceValueTypeEnum:()=>Kw,OsdStatusSchema:()=>Rw,PET_FEEDER_MANUAL_FEED_MAX:()=>200,PET_FEEDER_MANUAL_FEED_MIN:()=>4,PIPELINE_FLOW_CAPABILITY_NAMES:()=>NO,PIPELINE_OWNER_CAPABILITY_NAMES:()=>PO,PRIVACY_MASK_CAP_NAME:()=>fn,PROVIDER_KIND_CAP_NAMES:()=>EA,PYTHON_SCRIPT:()=>VP,PackageUpdateSchema:()=>Hb,PackageVersionInfoSchema:()=>Ub,PasskeyLoginMethodSchema:()=>df,PasskeySummarySchema:()=>Wy,PcmSampleFormatSchema:()=>ic,PerScopeBreakdownSchema:()=>SO,PetFeederStatusSchema:()=>Zw,PickStreamPreferencesSchema:()=>hl,PickStreamRequirementsSchema:()=>ml,PickedCamStreamSchema:()=>gl,PipelineAssignmentSchema:()=>pv,PipelineDefaultStepSchema:()=>bh,PipelineEngineChoiceSchema:()=>q,PipelineRunResultBridge:()=>Gh,PipelineStepInputSchema:()=>J,PipelineValidationIssueSchema:()=>Ah,PipelineValidationResultSchema:()=>jh,PlaceholderReasonSchema:()=>rl,PolygonPointSchema:()=>Xh,PoolMemoryWatchdog:()=>kP,PowerMeterStatusSchema:()=>xT,PresenceStatusSchema:()=>wT,PressureSensorStatusSchema:()=>ET,PrivacyMaskOptionsSchema:()=>jT,PrivacyMaskPatchSchema:()=>MT,PrivacyMaskRegionSchema:()=>kT,PrivacyMaskShapeSchema:()=>OT,PrivacyMaskStatusSchema:()=>AT,ProfileRtspEntrySchema:()=>Cr,ProfileSlotSchema:()=>or,ProfileSlotStatusSchema:()=>ar,ProviderStatusSchema:()=>Lu,PtzAutotrackRuntimeStateSchema:()=>WT,PtzAutotrackSettingsSchema:()=>VT,PtzAutotrackStatusSchema:()=>UT,PtzAutotrackTargetOptionSchema:()=>HT,PtzMoveCommandSchema:()=>LT,PtzOptionsSchema:()=>zT,PtzPositionSchema:()=>IT,PtzPresetSchema:()=>FT,PtzStatusSchema:()=>RT,QueryFilterSchema:()=>B,RATE_CONTROL_RELAXED:()=>bt,RATE_CONTROL_TIGHT:()=>yt,REACHABILITY_FAILURES_TO_OFFLINE:()=>3,REACHABILITY_POLL_INTERVAL_MS:()=>Nk,REACHABILITY_PROBE_TIMEOUT_MS:()=>Pk,RECOGNITION_TYPES:()=>Pi,RECORDING_EXPORT_MAX_READ_BYTES:()=>TE,RECORDING_TIMELINE_BATCH_MAX:()=>200,REDACTED_SECRET:()=>vn,RESERVED_BINDING_NAMES:()=>no,RESTORED_CAP_NAMES:()=>MA,ROOT_BUCKET_KEY:()=>na,RUNTIME_DEFAULTS:()=>YO,RUNTIME_STATE_POLICY:()=>OA,RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS:()=>Rk,RUNTIME_TO_FORMAT:()=>BP,RawStateResultSchema:()=>cS,ReadGopBytesResultSchema:()=>mE,ReadSegmentBytesResultSchema:()=>pE,ReadWindowBytesResultSchema:()=>hE,ReadinessRegistry:()=>Xi,ReadinessTimeoutError:()=>Gi,RecentTracksPageSchema:()=>n_,RecentTracksQueryInput:()=>t_,RecordingAvailabilityForDeviceSchema:()=>ZT,RecordingAvailabilitySchema:()=>YT,RecordingBandModeSchema:()=>Ir,RecordingBandSchema:()=>Rr,RecordingBandTriggersSchema:()=>Lr,RecordingConfigSchema:()=>Hr,RecordingDaysForDeviceSchema:()=>QT,RecordingDaysSchema:()=>XT,RecordingDeviceUsageSchema:()=>eE,RecordingLocationUsageSchema:()=>tE,RecordingManifestSchema:()=>$T,RecordingObjectTriggerClassSchema:()=>Nr,RecordingRangeSchema:()=>JT,RecordingRebalanceInputSchema:()=>sE,RecordingRebalanceMoveSchema:()=>rE,RecordingRebalancePlanSchema:()=>oE,RecordingRebalanceSkipReasonSchema:()=>iE,RecordingRebalanceSkipSchema:()=>aE,RecordingRetentionSchema:()=>Vr,RecordingStatusSchema:()=>qT,RecordingStorageModeSchema:()=>Mr,RecordingStorageUsageSchema:()=>nE,RecordingTriggersSchema:()=>Fr,RecordingWeekdaySchema:()=>Ar,RedirectLoginMethodSchema:()=>lf,RelocatableMediaCountInputSchema:()=>Oi,RelocatableMediaCountSchema:()=>Di,RelocateFootageClassSchema:()=>Jr,RelocateFootageInputSchema:()=>Yr,RelocateJobSchema:()=>qr,RelocateJobStateSchema:()=>Kr,RelocateMediaInputSchema:()=>Qr,RelocateResidueInputSchema:()=>yi,RelocateResidueSchema:()=>bi,RenderedAsSchema:()=>vp,ReportMotionInputSchema:()=>X_,ReportedFailureContributionSchema:()=>LD,ReportedLoadContributionSchema:()=>ID,RequestCensusGroupSchema:()=>bD,RequestCensusProcedureSchema:()=>xD,RequestCensusSnapshotSchema:()=>SD,RequestCensusStatusSchema:()=>CD,RetrainAnnotationDraftSchema:()=>Vg,RetrainAnnotationKindSchema:()=>Lg,RetrainAnnotationSchema:()=>Bg,RetrainAnnotationSourceSchema:()=>Rg,RetrainAssistResultSchema:()=>Yg,RetrainAssistSubjectSchema:()=>Jg,RetrainCopyRefusalSchema:()=>Gg,RetrainFrameCandidateSchema:()=>Ug,RetrainFrameListSchema:()=>qg,RetrainFrameSchema:()=>Wg,RetrainFrameSelectionSchema:()=>Kg,RetrainMacroClassSchema:()=>Ig,RetrainStatusSchema:()=>mg,RetrainTrackSchema:()=>Hg,RetrainTransitionResultSchema:()=>Xg,RingBuffer:()=>NP,RtpSourceSchema:()=>sl,RtspRestreamEntrySchema:()=>Yc,RunnerCameraConfigSchema:()=>$_,RunnerCameraDeviceUIFields:()=>ev,RunnerFrameSourceSchema:()=>Z_,RunnerInferenceDeviceSchema:()=>Q_,RunnerLocalLoadSchema:()=>tv,RunnerLocalMetricsSchema:()=>iv,SCENE_CONDITIONS:()=>kE,SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX:()=>448,SCENE_CONFIRM_DEFAULT_TIMEOUT_MS:()=>zE,SCENE_DEFAULT_ANCHOR_THRESHOLD:()=>LE,SCENE_DEFAULT_CHECK_INTERVAL_SEC:()=>60,SCENE_DEFAULT_OBSERVATION_SPACING_SEC:()=>120,SCENE_DEFAULT_QUIET_SECONDS:()=>60,SCENE_DEFAULT_UNCOVERED_POLICY:()=>RE,SCENE_DIVERGED:()=>jE,SCENE_RESET_RECAPTURES:()=>!0,SCOPE_PRESETS:()=>NA,SENSOR_FEATURES:()=>gk,SENSOR_MAP:()=>vk,SOURCE_CAPS:()=>BO,SOURCE_CAP_ACTIVE_FIELD:()=>RO,SOURCE_CAP_CHANGED_AT_FIELD:()=>zO,SOURCE_DEVICE_TYPES:()=>VO,SOURCE_INFO_METADATA_KEY:()=>lu,STORAGE_ACCESS_FALLBACK:()=>Li,STREAM_PROFILE_META:()=>aD,STREAM_QUALITY_LABELS:()=>En,SUB_DETECTION_TYPES:()=>Ni,SYSTEM_CAP_NAMES:()=>SA,SYSTEM_SCOPE_DEVICE_METHODS:()=>wA,SceneCheckSchema:()=>IE,SceneConditionSchema:()=>OE,SceneConfirmSchema:()=>BE,SceneMonitorSchema:()=>VE,SceneMonitorStateSchema:()=>FE,SceneMonitorStatusForDeviceSchema:()=>UE,SceneMonitorStatusSchema:()=>HE,SceneReferenceSchema:()=>PE,SceneUnavailableSchema:()=>NE,SceneUncoveredPolicySchema:()=>AE,SceneVerdictSchema:()=>ME,ScopedTokenSchema:()=>fh,ScopedTokenSummarySchema:()=>nO,ScoredObjectEventSchema:()=>p_,ScriptRunnerStatusSchema:()=>GE,SearchResultSchema:()=>Wb,SendEmailInputSchema:()=>oy,SendEmailResultSchema:()=>sy,SendResultSchema:()=>yp,SensorEventSchema:()=>sg,ServerBootModeSchema:()=>Xv,ServerPackageStatusSchema:()=>ty,ServerRollbackInfoSchema:()=>ey,ServerUpdateActionResultSchema:()=>ry,ServerUpdateCheckResultSchema:()=>ny,ServerUpdateStateSchema:()=>Zv,SetLoggingSettingsInputSchema:()=>zD,SetSiteLocationInputSchema:()=>_D,SettingsPatchSchema:()=>Ts,SettingsRecordSchema:()=>ql,SettingsSchemaWithValuesSchema:()=>I,SettingsUpdateResultSchema:()=>Es,ShmRingStatsSchema:()=>nu,SiteLocationSchema:()=>hD,SiteLocationSourceSchema:()=>mD,SiteLocationStatusSchema:()=>gD,SmokeStatusSchema:()=>qE,SmtpStatusSchema:()=>cy,SnapshotImageSchema:()=>uy,SourceInfoSchema:()=>au,SpatialDetectionSchema:()=>Js,SsoBridgeClaimsSchema:()=>py,StartEmbeddedInputSchema:()=>Qf,StationaryObjectSchema:()=>wO,StorageAbortUploadInputSchema:()=>Dy,StorageAccessSchema:()=>Ii,StorageBeginDownloadInputSchema:()=>Oy,StorageBeginDownloadResultSchema:()=>ky,StorageBeginUploadInputSchema:()=>Cy,StorageBeginUploadResultSchema:()=>wy,StorageCleanupInputSchema:()=>Ai,StorageCleanupJobSchema:()=>ji,StorageCleanupPhaseSchema:()=>ki,StorageCleanupStatusInputSchema:()=>Mi,StorageEndDownloadInputSchema:()=>jy,StorageFinalizeUploadInputSchema:()=>Ey,StorageLocationDeclarationSchema:()=>Ri,StorageLocationRefSchema:()=>D,StorageLocationSchema:()=>E,StorageLocationTypeSchema:()=>Fi,StorageMigrationClassSchema:()=>ni,StorageMigrationDestinationsSchema:()=>ri,StorageMigrationDrainInputSchema:()=>vi,StorageMigrationFindingCodeSchema:()=>fi,StorageMigrationFindingSchema:()=>pi,StorageMigrationFootageMoveInputSchema:()=>Xr,StorageMigrationInputSchema:()=>oi,StorageMigrationJobSchema:()=>di,StorageMigrationLaneSchema:()=>hi,StorageMigrationLeaseInputSchema:()=>T,StorageMigrationMediaMoveInputSchema:()=>ti,StorageMigrationModeSchema:()=>ai,StorageMigrationMoveProgressSchema:()=>li,StorageMigrationMoveSchema:()=>ui,StorageMigrationMoverSchema:()=>gi,StorageMigrationParticipantSchema:()=>ci,StorageMigrationPhaseSchema:()=>si,StorageMigrationPlanSchema:()=>mi,StorageMigrationResidueSchema:()=>_i,StorageMigrationSourcesSchema:()=>ii,StorageProviderInfoSchema:()=>xy,StorageReadChunkInputSchema:()=>Ay,StorageTestLocationResultSchema:()=>Sy,StorageWriteChunkInputSchema:()=>Ty,StreamCodecSchema:()=>pl,StreamFormatSchema:()=>Wc,StreamNetworkStatsSchema:()=>ow,StreamParamsOptionsSchema:()=>nD,StreamParamsStatusSchema:()=>eD,StreamProfileConfigSchema:()=>$E,StreamProfileOptionsSchema:()=>tD,StreamProfilePatchSchema:()=>rD,StreamProfileSchema:()=>QE,StreamSourceEntrySchema:()=>dr,StreamSourceSchema:()=>fr,SubscribeAudioChunksInputSchema:()=>yr,SubscribeAudioChunksResultSchema:()=>br,SubscribeFramesInputSchema:()=>gr,SubscribeFramesResultSchema:()=>_r,SwitchStatusSchema:()=>lD,SystemMetricsSchema:()=>Pf,SystemMirror:()=>Zk,TAXONOMY_COLORS:()=>V,TIMELAPSE_DENSE_FLOOR_SEC:()=>cM,TIMEZONES:()=>Ui,TRANSCODE_DOWN_MAX_BITRATE_KBPS:()=>400,TRANSCODE_DOWN_MAX_HEIGHT:()=>360,TamperStatusSchema:()=>HD,TankStatusSchema:()=>uO,TargetKindCapsSchema:()=>pp,TargetKindLevelSchema:()=>fp,TargetKindSchema:()=>hp,TargetSchema:()=>gp,TemperatureSensorStatusSchema:()=>WD,TerminalInstanceInfoSchema:()=>Ly,TerminalLegacyCameraSchema:()=>Ry,TerminalOutputBatchSchema:()=>By,TerminalOutputEventSchema:()=>zy,TerminalProfileInfoSchema:()=>Iy,TerminalSessionInfoSchema:()=>Fy,TestConnectionResultSchema:()=>oC,TestConnectionStatusEnum:()=>aC,TestResultSchema:()=>bp,TimelapseRuleInputSchema:()=>mM,TimelapseRulePatchSchema:()=>gM,TimelapseRuleSchema:()=>_M,TimelapseTemplateSchema:()=>tM,ToastSchema:()=>KD,TokenScopeSchema:()=>K,TopologyNodeSchema:()=>hw,TopologyProcessSchema:()=>dw,TopologyServiceSchema:()=>uw,TrackCascadeCountsSchema:()=>h_,TrackEnvelopeSchema:()=>ug,TrackFlagsPatchSchema:()=>_g,TrackFlagsSchema:()=>vg,TrackProjectionSchema:()=>dg,TrackSchema:()=>wg,TrackSourceSchema:()=>pg,TrackStateSchema:()=>$h,TrackZoneFilterSchema:()=>tg,TrackedDetectionSchema:()=>d_,TrainingExportDeviceTotalsSchema:()=>Sg,TrainingExportSummarySchema:()=>Cg,TransportPlaneCountsSchema:()=>yD,TransportPlaneSchema:()=>vD,TurnServerSchema:()=>Hy,UNATTRIBUTED_BUCKET_KEY:()=>ta,UNIT_TABLE:()=>RN,UnifiedBrokerInfoSchema:()=>Cc,UnitConversionError:()=>zN,UnstampedEventMediaCountSchema:()=>ei,UnstampedRowsSchema:()=>$r,UpdateIntegrationInputSchema:()=>cC,UpdateStatusSchema:()=>JD,UpdateUserInputSchema:()=>QD,UserRecordSchema:()=>uh,UserSummarySchema:()=>XD,VISIT_MERGE_GAP_MS:()=>Br,VacuumControlStatusSchema:()=>dO,VacuumStateSchema:()=>lO,ValveStateSchema:()=>pO,ValveStatusSchema:()=>mO,VectorDeclareIndexInputSchema:()=>Zy,VectorDeleteByFilterInputSchema:()=>rb,VectorDeleteInputSchema:()=>nb,VectorDeleteResultSchema:()=>ib,VectorFilterSchema:()=>Jy,VectorGetInputSchema:()=>ab,VectorGetResultSchema:()=>ob,VectorItemSchema:()=>Yy,VectorMatchSchema:()=>Xy,VectorMetadataSchema:()=>qy,VectorMetricSchema:()=>Ky,VectorQueryInputSchema:()=>eb,VectorQueryResultSchema:()=>tb,VectorStatsInputSchema:()=>db,VectorStatsResultSchema:()=>fb,VectorUpsertInputSchema:()=>Qy,VectorUpsertResultSchema:()=>$y,VibrationStatusSchema:()=>gO,VideoEncodeSchema:()=>Ge,WEBRTC_EGRESS_PROFILE:()=>_t,WELL_KNOWN_TABS:()=>_e,WELL_KNOWN_TAB_MAP:()=>ve,WaterHeaterStatusSchema:()=>vO,WeatherStatusSchema:()=>bO,WebrtcStreamChoiceSchema:()=>Sb,WebrtcStreamTargetSchema:()=>xb,WhiteBalanceModeSchema:()=>JS,WidgetHostEnum:()=>Os,WidgetLoginMethodSchema:()=>uf,WidgetMetadataSchema:()=>js,WidgetRemoteSchema:()=>As,WidgetSizeEnum:()=>ks,YAMNET_TO_MACRO:()=>Op,ZoneCrossingDirectionSchema:()=>Og,ZoneCrossingSchema:()=>kg,ZoneKindEnum:()=>Yh,ZoneRuleModeEnum:()=>qh,ZoneRuleSchema:()=>Y,ZoneRuleStageEnum:()=>jO,ZoneRulesArraySchema:()=>Jh,ZoneSchema:()=>Zh,ZoneScopeBreakdownSchema:()=>CO,__resetLogChannelRegistryForTests:()=>qn,accessoriesCapability:()=>Tb,accessoryStableId:()=>ZO,addonPagesCapability:()=>gs,addonPagesSourceCapability:()=>vs,addonRoutesCapability:()=>Ss,addonSettingsCapability:()=>Ds,addonWidgetsCapability:()=>Ps,addonWidgetsSourceCapability:()=>Ms,addonsCapability:()=>rx,adminUiCapability:()=>Ls,airQualitySensorCapability:()=>ax,alarmPanelCapability:()=>Jp,alertsCapability:()=>Hs,ambientLightSensorCapability:()=>sx,asBoolean:()=>dP,asJsonArray:()=>cP,asJsonObject:()=>sP,asNumber:()=>uP,asString:()=>lP,assertTimelapseCadences:()=>vM,audioAnalysisCapability:()=>Gs,audioAnalyzerCapability:()=>rc,audioCodecCapability:()=>dc,audioIsFailClosed:()=>HA,audioKindId:()=>LA,audioLabelChoices:()=>KA,audioMetricsCapability:()=>fx,audioModeOf:()=>VA,audioOrDefaults:()=>BA,audioPlanFromEncodeProfile:()=>mt,authProviderCapability:()=>pc,autoAssignProfiles:()=>Fn,automationControlCapability:()=>mx,backupCapability:()=>xc,bareAddonId:()=>$N,batteryCapability:()=>gx,bestLocationMatch:()=>ZN,binaryCapability:()=>vx,bindAddonActions:()=>rF,brightnessCapability:()=>bx,brokerCapability:()=>Hc,buildAddonRouteProvider:()=>Be,buildAudioArgs:()=>rt,buildEventKindDescriptor:()=>Yv,buildFfmpegArgs:()=>dt,buildInputArgs:()=>$e,buildModelVariantGroups:()=>Ea,buildNcTaxonomy:()=>Up,buildRoleScopes:()=>xN,buildStreamParamsConfigSchema:()=>sD,buildVideoArgs:()=>nt,buttonCapability:()=>xx,cameraCredentialsCapability:()=>wx,cameraPipelineConfigCapability:()=>Uc,cameraStreamsCapability:()=>_l,canConvertUnit:()=>KN,canonicalEgressPlan:()=>It,carbonMonoxideCapability:()=>Ex,cellsToRects:()=>MP,classifyBearerPrincipal:()=>Ga,classifyStream:()=>An,classifyStreams:()=>kn,climateControlCapability:()=>kx,clusterModelSettingKey:()=>SM,clusterStepSettingFieldsFor:()=>MM,clusterStepSettingKey:()=>jM,collectHydratedFieldEntries:()=>be,collectHydratedFieldValues:()=>Se,collectSecretConfigKeys:()=>bn,colorCapability:()=>Px,colorForKind:()=>Rp,commitWatchdogRestart:()=>EP,compileExpression:()=>yo,compileExpressionSafe:()=>bo,composeSwitchedOff:()=>_n,conditionDepth:()=>Ko,conditionExclusionReason:()=>Nj,conditionVisibleForKind:()=>Mj,connectionTestCapability:()=>zx,connectivityCapability:()=>Vx,consumablesCapability:()=>Wx,contactCapability:()=>Kx,controlCapability:()=>Xx,convertUnit:()=>WN,coreBlockAddonId:()=>jl,coreBlockIdFromAddonId:()=>Ml,coreBlocksCapability:()=>Rl,cosineSimilarity:()=>tP,countConditionLeaves:()=>qo,coverCapability:()=>$x,createDeviceProxy:()=>Gk,createDurableState:()=>Ae,createEvent:()=>Oe,createEventBusSliceSource:()=>Dk,createExpressionScope:()=>So,createHwAccelCache:()=>Et,createLazyTrpcSource:()=>Ek,createLogChannelsProvider:()=>Yn,createMirrorSource:()=>Ok,createRuntimeStateBridge:()=>Bk,createSliceHandle:()=>Z,createSystemProxy:()=>PA,customAction:()=>Bl,customModelRegistryCapability:()=>Ul,dataStoreProviderCapability:()=>$l,dayNightCapability:()=>aS,declarationOwnerNodeId:()=>lk,declareLogChannel:()=>Kn,decodeVectorBase64:()=>QP,decoderCapability:()=>ru,defaultDeliveryForSection:()=>Gj,defaultDeviceFor:()=>dF,defineCustomActions:()=>zl,deriveBatteryPresence:()=>ok,deriveCameraSwitches:()=>hn,deriveDetailCropRect:()=>JM,deriveRecordingMode:()=>Ur,describeModelVariant:()=>Oa,detectAccessRole:()=>CN,detectionPipelineCapability:()=>iu,deviceAdoptionCapability:()=>Du,deviceBackendToFormat:()=>zP,deviceCustomAction:()=>Vl,deviceDiscoveryCapability:()=>mu,deviceExportCapability:()=>Iu,deviceManagerCapability:()=>ud,deviceMatchesProfile:()=>xk,deviceOpsCapability:()=>lS,deviceProviderCapability:()=>Uu,deviceSelectorMatches:()=>TN,deviceStateCapability:()=>dd,deviceStatusCapability:()=>dS,doorbellCapability:()=>mS,droppedConditionsForKind:()=>Pj,egressTranscodeSharingKey:()=>Lt,egressTransportFromRequest:()=>Mt,embeddingEncoderCapability:()=>md,emitDownForOwnedCaps:()=>Qi,emitReadiness:()=>ke,encodeProfileFromStreamShape:()=>Je,encodeVectorBase64:()=>ZP,enumSensorCapability:()=>_S,enumerateInferenceDevices:()=>gF,enumerateItemArrayFields:()=>Wk,enumerateSchemaFields:()=>Uk,errMsg:()=>iP,evaluateAst:()=>Ao,evaluateExpressionSource:()=>No,evaluatePoolMemory:()=>TP,evaluateSensorEdge:()=>KO,evaluateZoneRules:()=>eF,event:()=>F,eventEmitterCapability:()=>bS,eventsCapability:()=>SS,expandCapMethods:()=>ds,extractNestedAddonId:()=>Cl,extractSourceInfoFromMetadata:()=>uu,faceGalleryCapability:()=>jS,failureContributionCapability:()=>_d,failureRate:()=>ha,fanControlCapability:()=>PS,featureProbeCapability:()=>IS,filesystemBrowseCapability:()=>bd,findTimezone:()=>Wi,floodCapability:()=>RS,foldSnapshotByFunction:()=>aa,formatForBackend:()=>GP,formatForRuntime:()=>KP,gasCapability:()=>BS,generateAutomationBlock:()=>es,getAudioMacroClassIds:()=>Mp,getByPath:()=>jk,getCapsByProviderKind:()=>DA,getLogChannelRegistry:()=>Gn,getTaxonomyEntry:()=>Lp,hasMotionTrigger:()=>hk,hfModelUrl:()=>aP,htmlToText:()=>cj,humidifierCapability:()=>HS,humiditySensorCapability:()=>WS,hydrateSchema:()=>we,imageCapability:()=>KS,imageSettingsCapability:()=>tC,inferModelProvider:()=>Ia,initialPoolMemoryState:()=>bP,integrationsCapability:()=>uC,intercomCapability:()=>mC,invocationFromEncodeProfile:()=>ht,isAgentOnlyPlacement:()=>Kt,isArrayOutputSchema:()=>bl,isAudioLabelSelected:()=>qA,isAudioRule:()=>Rj,isBaseConditionKey:()=>aj,isBatteryPresenceFault:()=>sk,isClusterScopedStep:()=>CM,isCollectionArrayMethod:()=>xl,isDeployableToAgent:()=>Gt,isDetectionMacroClass:()=>Tp,isDeviceConfigCap:()=>ps,isDeviceScopedCap:()=>vA,isEvent:()=>De,isFirstLevelMacroClass:()=>Dr,isIsolatedBuiltin:()=>Xt,isNode:()=>yk,isObjectInput:()=>yl,isOccupancyRule:()=>zj,isRestoredCap:()=>jA,isSameAddonId:()=>eP,isScheduleActive:()=>Zj,isSecretConfigField:()=>yn,isSoftwareDecode:()=>Qe,isSourceCap:()=>HO,isSystemDelivery:()=>Aj,isVoidInput:()=>vl,jobKindSchema:()=>Eb,kebabToCamel:()=>Ol,knownValues:()=>nj,lawnMowerControlCapability:()=>vC,lifecycleJobSchema:()=>Nb,lifecycleJobScopeSchema:()=>Mb,lifecycleJobStateSchema:()=>jb,lifecycleTaskSchema:()=>Ab,llmCapability:()=>Zd,llmRuntimeCapability:()=>Rd,loadContributionCapability:()=>tf,localNetworkCapability:()=>jC,locationSimilarity:()=>XN,lockControlCapability:()=>PC,logBannerArgs:()=>Ze,logChannelsCapability:()=>rf,logDestinationCapability:()=>sf,logLevelAtMost:()=>Rn,loginMethodCapability:()=>pf,looseSchema:()=>Sl,makeProfileBrokerId:()=>sr,makeSourceBrokerId:()=>cr,mapAudioLabelToMacro:()=>jp,markdownToHtmlLite:()=>fj,markdownToText:()=>oj,maskUrlCredentials:()=>gP,mediaPlayerCapability:()=>zC,mergeSourceInfo:()=>su,meshNetworkCapability:()=>UC,method:()=>P,methodAccessForHttpMethod:()=>Ha,metricsProviderCapability:()=>Ff,modelConvertCapability:()=>Lf,modelDistributorCapability:()=>Bf,modelFormatForRuntime:()=>fF,motionCapability:()=>KC,motionDetectionCapability:()=>Uf,motionTriggerCapability:()=>YC,motionZonesCapability:()=>ew,mqttBrokerCapability:()=>tp,nativeObjectDetectionCapability:()=>aw,networkAccessCapability:()=>ap,networkQualityCapability:()=>lw,nodePin:()=>ns,nodesCapability:()=>Tw,normalizeAddonInitResult:()=>ze,normalizeAudioLabel:()=>IA,normalizeTokenScopes:()=>jN,normalizeUnit:()=>cu,notificationOutputCapability:()=>xp,notificationRulesCapability:()=>nh,notifierCapability:()=>Mw,numericSensorCapability:()=>Pw,oauthIntegrationCapability:()=>mh,objectInputDeclaresAddonId:()=>wl,osdCapability:()=>Bw,osdManagerCapability:()=>Jw,overlayClusterStepSettings:()=>LM,parseCameraStreamConfig:()=>Pn,parseExpression:()=>go,parseJsonArray:()=>pP,parseJsonObject:()=>fP,parseJsonUnknown:()=>oP,parseProcStatus:()=>yP,parseProfileBrokerId:()=>lr,parseRuleSection:()=>Lj,parseStreamParamsFormPatch:()=>cD,patchAudio:()=>GA,petFeederCapability:()=>Qw,pickAccessoryControl:()=>_k,pickClusterStepModels:()=>OM,pickClusterStepSettings:()=>IM,pickDetailCropConvention:()=>GM,pickNativeLeaseOverride:()=>vN,pickPreferredRtspEntry:()=>$i,pickRestartCandidate:()=>OP,pickVideoEncoder:()=>pt,pickerForCondition:()=>tj,pipelineAnalyticsCapability:()=>j_,pipelineExecutorCapability:()=>Kh,pipelineOrchestratorCapability:()=>Hv,pipelineRunnerCapability:()=>av,plateGalleryCapability:()=>iT,platformProbeCapability:()=>bT,poolMemoryThreshold:()=>CP,powerMeterCapability:()=>ST,prepareNotification:()=>yj,presenceCapability:()=>TT,pressureSensorCapability:()=>DT,principalMayReachAddon:()=>Ka,privacyMaskCapability:()=>NT,procedureAuthKey:()=>Dl,ptzAutotrackCapability:()=>GT,ptzCapability:()=>BT,pythonScriptForBackend:()=>qP,readClusterStepModels:()=>EM,readClusterStepSettings:()=>PM,readDetailCropConvention:()=>UM,readDeviceStateFrom:()=>IO,readNativeLeaseOverride:()=>hN,readNodePin:()=>is,readTimelapseGeneratedAt:()=>yM,readinessKey:()=>Ki,rebootCapability:()=>KT,recordingCapability:()=>gE,recordingExportCapability:()=>DE,rectsToCells:()=>jP,reducePoints:()=>ua,requiresPython:()=>JP,resetPoolBaseline:()=>DP,resolveAddonExecution:()=>Wt,resolveAddonGroup:()=>qt,resolveAddonPlacement:()=>Yt,resolveAddonRuntime:()=>WP,resolveBucketMs:()=>la,resolveCapMount:()=>os,resolveClusterStepModelId:()=>kM,resolveDetectionRuntime:()=>HP,resolveDeviceControlKind:()=>pk,resolveDeviceProfile:()=>wk,resolveEgressDecodeHwAccel:()=>Ot,resolveFormat:()=>mj,resolveHydratedFieldValue:()=>Ce,resolveMethodAuth:()=>El,resolveModelFormat:()=>UP,resolveMutate:()=>bk,resolvePoolMemoryPolicy:()=>vP,resolveRecordingProfiles:()=>Gr,resolveRunnerId:()=>Jt,resolveVariantModelId:()=>Da,resolveViewableDeviceIds:()=>AN,roleSpec:()=>bN,ruleEditorSectionsForKind:()=>Jj,ruleKindOf:()=>jj,ruleKindSpec:()=>Oj,ruleMatchesSection:()=>Bj,ruleSection:()=>Ij,ruleSectionOf:()=>Vj,ruleSeedForSection:()=>Wj,runInferenceStep:()=>PP,runtimeDevices:()=>uF,runtimeStatePolicyFor:()=>kA,sceneMonitorCapability:()=>WE,schemaDeclaresAnyField:()=>xn,scopeInherits:()=>ON,scopeKey:()=>qi,scopesAllowAddon:()=>Wa,scopesAllowDeviceCap:()=>Ua,scoreRuntimes:()=>pF,scriptRunnerCapability:()=>KE,selectAssignedProfileSlots:()=>ur,serverManagementCapability:()=>iy,setByPath:()=>Mk,settingsStoreCapability:()=>Zl,sleep:()=>YP,sleepCancellable:()=>XP,sliceActiveValue:()=>UO,sliceChangedAt:()=>WO,smokeCapability:()=>JE,smtpProviderCapability:()=>ly,snapshotCapability:()=>fy,ssoBridgeCapability:()=>my,startReachabilityPoll:()=>Ik,stateVocabularyFor:()=>LO,storageCapability:()=>gy,storageEvictableCapability:()=>yy,storageMigrationCapability:()=>by,storageProviderCapability:()=>My,streamBrokerCapability:()=>fl,streamCatalogCapability:()=>ZE,streamParamsCapability:()=>iD,streamPixels:()=>On,streamQualityLabel:()=>Dn,subKindsOf:()=>zp,summarisePrivacyAudio:()=>PT,summarizeEffectiveScope:()=>IN,supportedRuntimes:()=>lF,switchCapability:()=>uD,switchedOffIds:()=>gn,synthesizeSourceInfo:()=>ou,systemCapability:()=>VD,systemEventFilterApplies:()=>$j,systemEventFilterAppliesToAnyKind:()=>eM,tamperCapability:()=>UD,taskLogEntrySchema:()=>kb,taskPhaseSchema:()=>Db,taskTargetSchema:()=>Ob,temperatureSensorCapability:()=>GD,terminalSessionCapability:()=>Vy,textToHtml:()=>dj,toDeviceSummary:()=>rk,toExpressionValue:()=>jo,toNodeId:()=>rs,toStreamSourceEntry:()=>jn,toastCapability:()=>qD,toggleAudioLabel:()=>JA,tokenize:()=>co,transcodeBody:()=>hj,tryConvertUnit:()=>GN,turnProviderCapability:()=>Uy,unitDimension:()=>VN,unitsForDimension:()=>qN,updateCapability:()=>YD,userManagementCapability:()=>cO,userPasskeysCapability:()=>Gy,vacuumControlCapability:()=>fO,validateExpressionSource:()=>Mo,validateRecipeBounds:()=>Yo,valveCapability:()=>hO,vectorDimFromBase64:()=>$P,vectorStoreCapability:()=>pb,vibrationCapability:()=>_O,videoclipsCapability:()=>gb,viewerUiCapability:()=>yb,waterHeaterCapability:()=>yO,weatherCapability:()=>xO,webrtcClientHintsSchema:()=>bb,webrtcSessionCapability:()=>Cb,wiringAddonHealthSchema:()=>Bt,wiringHealthSnapshotSchema:()=>Ht,wiringNodeHealthSchema:()=>Vt,wiringProbeKindSchema:()=>Rt,wiringProbeResultSchema:()=>zt,zodEntriesToConfigUI:()=>rA,zoneAnalyticsCapability:()=>AO,zoneRulesCapability:()=>MO,zonesCapability:()=>Qh});export{qT as $,nj as A,Ur as At,JA as B,be as Bt,Aj as C,na as Ct,Bj as D,Wi as Dt,Oj as E,Ui as Et,KA as F,ur as Ft,gA as G,TA as H,VA as I,dn as It,Ek as J,Zk as K,BA as L,pn as Lt,RA as M,tr as Mt,zA as N,C as Nt,Wj as O,zr as Ot,HA as P,cr as Pt,LO as Q,qA as R,un as Rt,Pj as S,Da as St,jj as T,aa as Tt,bA as U,PA as V,ge as Vt,yA as W,dk as X,Z as Y,pk as Z,cM as _,qo as _t,qN as a,rp as at,Hj as b,Ea as bt,yN as c,Nu as ct,bN as d,Us as dt,HC as et,bM as f,R as ft,hM as g,Ko as gt,OM as h,Go as ht,VN as i,W as it,tj as j,Gr as jt,aj as k,Hr as kt,xN as l,jl as lt,MM as m,es as mt,KN as n,Gp as nt,jN as o,Od as ot,SM as p,L as pt,Gk as q,GN as r,Np as rt,AN as s,ju as st,_F as t,Bm as tt,CN as u,wc as ut,_M as v,Yo as vt,Lj as w,ta as wt,Mj as x,Oa as xt,eM as y,Pa as yt,GA as z,ve as zt};