@camstack/addon-model-studio 1.1.331 → 1.1.332

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{MotionZonesSettings-TRskNMCZ.mjs → MotionZonesSettings-BOx4d1Ua.mjs} +25 -25
  3. package/dist/{PrivacyMaskSettings-DH6RQBr5.mjs → PrivacyMaskSettings-DjczOhqD.mjs} +33 -33
  4. package/dist/{SceneMonitorEditor-BoI9Rdr-.mjs → SceneMonitorEditor-GO3Ncxcb.mjs} +54 -54
  5. package/dist/_stub.js +6678 -6592
  6. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BFgqLpv4.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CjYR9sfM.mjs} +3 -3
  7. package/dist/{_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CuUWnexp.mjs → _virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CAr_q7cE.mjs} +5 -5
  8. package/dist/{hostInit-CuSlERor.mjs → hostInit-BkqKC8rn.mjs} +2 -2
  9. package/dist/model-studio.addon.js +19 -4
  10. package/dist/model-studio.addon.mjs +19 -4
  11. package/dist/{player-overlays-BnOwVQOH.mjs → player-overlays-CSRalrk9.mjs} +5 -5
  12. package/dist/remoteEntry.js +1 -1
  13. package/dist/{responsive-BdfGJMHO.mjs → responsive-B-cQZlMu.mjs} +10 -6
  14. package/dist/{scene-monitor-copy-CVS-8qPq.mjs → scene-monitor-copy-DSKHpazF.mjs} +5 -5
  15. package/dist/{square-DlqxlbDO.mjs → square-BtSmfB1z.mjs} +1 -1
  16. package/dist/{trash-2-fWJjK5Xt.mjs → trash-2-BmbtsckV.mjs} +1 -1
  17. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BtS2uZAv.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BiIQ9kpg.mjs} +1 -1
  18. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.332] - 2026-10-31
11
+
12
+ ### Changed
13
+
14
+ - Rebuilt against updated dependencies.
15
+
10
16
  ## [1.1.331] - 2026-10-31
11
17
 
12
18
  ### Changed
@@ -1,10 +1,10 @@
1
1
  import { S as e, _ as t, d as n, g as r, l as i, v as a } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
3
  import { r as ee, t as te } from "./ui-text-BqZa5BNK.mjs";
4
- import { _ as l, d as u, f as d, h as f, l as p } from "./responsive-BdfGJMHO.mjs";
5
- import { n as ne, t as m } from "./player-overlays-BnOwVQOH.mjs";
4
+ import { d as l, f as u, g as d, l as f, v as p } from "./responsive-B-cQZlMu.mjs";
5
+ import { n as ne, t as m } from "./player-overlays-CSRalrk9.mjs";
6
6
  import { MaskShapeCanvas as h } from "./MaskShapeCanvas-CrWutXSb.mjs";
7
- var g = l("grid-2x2", [
7
+ var g = p("grid-2x2", [
8
8
  ["path", {
9
9
  d: "M12 3v18",
10
10
  key: "108xh3"
@@ -63,7 +63,7 @@ function O(e, t, n, r) {
63
63
  return o;
64
64
  }
65
65
  function k({ deviceId: e }) {
66
- let l = ee(), E = d(f().trpcClient, e), [k, A] = a(null), [j, M] = a(!1), [N, P] = a(null), [F, I] = a(null), [L, R] = a(b), [z, B] = a(!1), [V, H] = a(!1), U = t(!1);
66
+ let p = ee(), E = u(d().trpcClient, e), [k, A] = a(null), [j, M] = a(!1), [N, P] = a(null), [F, I] = a(null), [L, R] = a(b), [z, B] = a(!1), [V, H] = a(!1), U = t(!1);
67
67
  n(() => {
68
68
  if (!E) return;
69
69
  let e = !1;
@@ -81,7 +81,7 @@ function k({ deviceId: e }) {
81
81
  I(i), P(D(i, t.grid.width, t.grid.height, b));
82
82
  } catch (t) {
83
83
  if (e) return;
84
- u(t) ? M(!0) : console.error("Motion Zones load failed", t);
84
+ l(t) ? M(!0) : console.error("Motion Zones load failed", t);
85
85
  }
86
86
  })(), () => {
87
87
  e = !0;
@@ -192,15 +192,15 @@ function k({ deviceId: e }) {
192
192
  ]));
193
193
  let ue = !j && k !== null && N !== null;
194
194
  return E ? /* @__PURE__ */ o(ne, {
195
- title: l("uiLibrary.motionZones.title", "Motion Zones"),
195
+ title: p("uiLibrary.motionZones.title", "Motion Zones"),
196
196
  icon: /* @__PURE__ */ o(g, { className: "h-3.5 w-3.5 text-foreground-subtle" }),
197
197
  children: /* @__PURE__ */ o("div", {
198
198
  className: "flex flex-col gap-3",
199
199
  children: j ? /* @__PURE__ */ o("p", {
200
- className: `${p} leading-relaxed`,
201
- children: l("uiLibrary.motionZones.unsupported", "This camera doesn't expose an on-board motion zones grid.")
200
+ className: `${f} leading-relaxed`,
201
+ children: p("uiLibrary.motionZones.unsupported", "This camera doesn't expose an on-board motion zones grid.")
202
202
  }) : ue ? /* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o("p", {
203
- className: `${p} leading-relaxed`,
203
+ className: `${f} leading-relaxed`,
204
204
  children: /* @__PURE__ */ o(te, {
205
205
  uiKey: "uiLibrary.motionZones.intro",
206
206
  fallback: "Toggle <0>Edit grid</0> to paint the region directly on the live frame, then <1>Save</1> to push the mask to the camera. Pick a bigger <2>Cell size</2> for quicker, broad-stroke painting — it's resampled to the camera's native {{width}}×{{height}} grid on save (×1 is the finest).",
@@ -223,45 +223,45 @@ function k({ deviceId: e }) {
223
223
  disabled: z,
224
224
  "aria-pressed": V,
225
225
  className: V ? S : x,
226
- children: V ? l("uiLibrary.motionZones.doneEditing", "Done editing") : l("uiLibrary.motionZones.editGrid", "Edit grid")
226
+ children: V ? p("uiLibrary.motionZones.doneEditing", "Done editing") : p("uiLibrary.motionZones.editGrid", "Edit grid")
227
227
  }),
228
228
  /* @__PURE__ */ o("button", {
229
229
  type: "button",
230
230
  onClick: () => Z(!0),
231
231
  disabled: z,
232
232
  className: x,
233
- children: l("uiLibrary.motionZones.allOn", "All on")
233
+ children: p("uiLibrary.motionZones.allOn", "All on")
234
234
  }),
235
235
  /* @__PURE__ */ o("button", {
236
236
  type: "button",
237
237
  onClick: () => Z(!1),
238
238
  disabled: z,
239
239
  className: x,
240
- children: l("uiLibrary.motionZones.allOff", "All off")
240
+ children: p("uiLibrary.motionZones.allOff", "All off")
241
241
  }),
242
242
  /* @__PURE__ */ o("button", {
243
243
  type: "button",
244
244
  onClick: oe,
245
245
  disabled: z,
246
246
  className: x,
247
- children: l("uiLibrary.motionZones.invert", "Invert")
247
+ children: p("uiLibrary.motionZones.invert", "Invert")
248
248
  }),
249
249
  /* @__PURE__ */ s("div", {
250
250
  className: "flex items-center gap-1 ml-1",
251
251
  role: "group",
252
- "aria-label": l("uiLibrary.motionZones.cellSize", "Cell size"),
252
+ "aria-label": p("uiLibrary.motionZones.cellSize", "Cell size"),
253
253
  children: [/* @__PURE__ */ o("span", {
254
- className: `${p} mr-0.5`,
255
- children: l("uiLibrary.motionZones.cellSize", "Cell size")
254
+ className: `${f} mr-0.5`,
255
+ children: p("uiLibrary.motionZones.cellSize", "Cell size")
256
256
  }), re.map((e) => /* @__PURE__ */ s("button", {
257
257
  type: "button",
258
258
  onClick: () => ce(e),
259
259
  disabled: z,
260
260
  "aria-pressed": L === e,
261
- title: e === 1 ? l("uiLibrary.motionZones.cameraGrid", "Camera grid {{width}}×{{height}} (finest)", {
261
+ title: e === 1 ? p("uiLibrary.motionZones.cameraGrid", "Camera grid {{width}}×{{height}} (finest)", {
262
262
  width: W,
263
263
  height: G
264
- }) : l("uiLibrary.motionZones.paintingGrid", "{{width}}×{{height}} painting grid · cells ×{{factor}} bigger", {
264
+ }) : p("uiLibrary.motionZones.paintingGrid", "{{width}}×{{height}} painting grid · cells ×{{factor}} bigger", {
265
265
  width: T(W, e),
266
266
  height: T(G, e),
267
267
  factor: e
@@ -271,13 +271,13 @@ function k({ deviceId: e }) {
271
271
  }, e))]
272
272
  }),
273
273
  /* @__PURE__ */ s("span", {
274
- className: `${p} ml-1 tabular-nums`,
275
- children: [l("uiLibrary.motionZones.cells", "{{active}} / {{total}} cells · {{width}}×{{height}}", {
274
+ className: `${f} ml-1 tabular-nums`,
275
+ children: [p("uiLibrary.motionZones.cells", "{{active}} / {{total}} cells · {{width}}×{{height}}", {
276
276
  active: ie,
277
277
  total: ae,
278
278
  width: k.grid.width,
279
279
  height: k.grid.height
280
- }), L === 1 ? "" : l("uiLibrary.motionZones.paintSuffix", " · paint {{width}}×{{height}}", {
280
+ }), L === 1 ? "" : p("uiLibrary.motionZones.paintSuffix", " · paint {{width}}×{{height}}", {
281
281
  width: K,
282
282
  height: q
283
283
  })]
@@ -288,19 +288,19 @@ function k({ deviceId: e }) {
288
288
  onClick: se,
289
289
  disabled: z || !Y,
290
290
  className: "rounded-md border border-border bg-surface px-2 py-1 text-[11px] text-foreground-subtle hover:bg-surface-hover disabled:opacity-40 transition-colors",
291
- children: l("uiLibrary.motionZones.revert", "Revert")
291
+ children: p("uiLibrary.motionZones.revert", "Revert")
292
292
  }),
293
293
  /* @__PURE__ */ o("button", {
294
294
  type: "button",
295
295
  onClick: () => void le(),
296
296
  disabled: z || !Y,
297
297
  className: S,
298
- children: z ? l("uiLibrary.motionZones.saving", "Saving…") : l("uiLibrary.motionZones.save", "Save")
298
+ children: z ? p("uiLibrary.motionZones.saving", "Saving…") : p("uiLibrary.motionZones.save", "Save")
299
299
  })
300
300
  ]
301
301
  })] }) : /* @__PURE__ */ o("p", {
302
- className: `${p} leading-relaxed`,
303
- children: l("uiLibrary.motionZones.loading", "Loading the camera's grid…")
302
+ className: `${f} leading-relaxed`,
303
+ children: p("uiLibrary.motionZones.loading", "Loading the camera's grid…")
304
304
  })
305
305
  })
306
306
  }) : null;
@@ -1,15 +1,15 @@
1
1
  import { S as e, _ as t, d as n, g as r, l as i, v as a } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import { n as o, r as s, t as ee } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
3
  import { r as te, t as ne } from "./ui-text-BqZa5BNK.mjs";
4
- import { _ as c, d as re, f as ie, h as ae, l } from "./responsive-BdfGJMHO.mjs";
5
- import { n as oe, t as se } from "./player-overlays-BnOwVQOH.mjs";
6
- import { n as ce, r as le, t as ue } from "./square-DlqxlbDO.mjs";
7
- import { t as de } from "./trash-2-fWJjK5Xt.mjs";
4
+ import { d as re, f as ie, g as ae, l as c, v as l } from "./responsive-B-cQZlMu.mjs";
5
+ import { n as oe, t as se } from "./player-overlays-CSRalrk9.mjs";
6
+ import { n as ce, r as le, t as ue } from "./square-BtSmfB1z.mjs";
7
+ import { t as de } from "./trash-2-BmbtsckV.mjs";
8
8
  import { MaskShapeCanvas as fe } from "./MaskShapeCanvas-CrWutXSb.mjs";
9
- var pe = c("hexagon", [["path", {
9
+ var pe = l("hexagon", [["path", {
10
10
  d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",
11
11
  key: "yt0hxn"
12
- }]]), me = c("mic-off", [
12
+ }]]), me = l("mic-off", [
13
13
  ["path", {
14
14
  d: "M12 19v3",
15
15
  key: "npa21l"
@@ -69,7 +69,7 @@ function ve(e, t) {
69
69
  return !0;
70
70
  }
71
71
  function _({ deviceId: e }) {
72
- let c = te(), u = ie(ae().trpcClient, e), [d, _] = a(null), [v, y] = a(!1), [b, x] = a(!1), [S, C] = a(null), [w, T] = a(null), [E, D] = a(!1), [O, k] = a(!1), [A, j] = a(null), [M, N] = a(null), [P, F] = a(null), [I, L] = a(null), [R, z] = a(null), B = t(!1);
72
+ let l = te(), u = ie(ae().trpcClient, e), [d, _] = a(null), [v, y] = a(!1), [b, x] = a(!1), [S, C] = a(null), [w, T] = a(null), [E, D] = a(!1), [O, k] = a(!1), [A, j] = a(null), [M, N] = a(null), [P, F] = a(null), [I, L] = a(null), [R, z] = a(null), B = t(!1);
73
73
  n(() => {
74
74
  if (!u) return;
75
75
  let e = !1;
@@ -115,8 +115,8 @@ function _({ deviceId: e }) {
115
115
  id: e.id,
116
116
  shape: e.shape,
117
117
  enabled: e.enabled,
118
- label: c("uiLibrary.privacyMaskSettings.zoneN", "Zone {{id}}", { id: e.id })
119
- })) : [], [S, c]), J = i((e, t) => {
118
+ label: l("uiLibrary.privacyMaskSettings.zoneN", "Zone {{id}}", { id: e.id })
119
+ })) : [], [S, l]), J = i((e, t) => {
120
120
  let n = g(t);
121
121
  n && C((t) => t && {
122
122
  ...t,
@@ -227,19 +227,19 @@ function _({ deviceId: e }) {
227
227
  ]));
228
228
  let Ee = d?.supportedShapes.includes("rect") ?? !1, De = d?.supportedShapes.includes("polygon") ?? !1, $ = d !== null && (d.maxRegions <= 0 || d.supportedShapes.length === 0), Oe = !v && !$ && !b && d !== null && S !== null;
229
229
  return u ? /* @__PURE__ */ o(oe, {
230
- title: c("uiLibrary.privacyMaskSettings.title", "Privacy Mask"),
230
+ title: l("uiLibrary.privacyMaskSettings.title", "Privacy Mask"),
231
231
  icon: /* @__PURE__ */ o(le, { className: "h-3.5 w-3.5 text-foreground-subtle" }),
232
232
  children: /* @__PURE__ */ s("div", {
233
233
  className: "flex flex-col gap-3",
234
234
  children: [v || $ ? /* @__PURE__ */ o("p", {
235
- className: `${l} leading-relaxed`,
236
- children: c("uiLibrary.privacyMaskSettings.unsupported", "This camera doesn't support an on-board privacy mask.")
235
+ className: `${c} leading-relaxed`,
236
+ children: l("uiLibrary.privacyMaskSettings.unsupported", "This camera doesn't support an on-board privacy mask.")
237
237
  }) : b ? /* @__PURE__ */ o("p", {
238
- className: `${l} leading-relaxed`,
239
- children: c("uiLibrary.privacyMaskSettings.unreadable", "This camera hasn't answered, so what it currently masks is unknown — the editor stays closed rather than showing an empty frame you could save over. A battery camera answers once it wakes; otherwise check that it is reachable.")
238
+ className: `${c} leading-relaxed`,
239
+ children: l("uiLibrary.privacyMaskSettings.unreadable", "This camera hasn't answered, so what it currently masks is unknown — the editor stays closed rather than showing an empty frame you could save over. A battery camera answers once it wakes; otherwise check that it is reachable.")
240
240
  }) : Oe ? /* @__PURE__ */ s(ee, { children: [
241
241
  /* @__PURE__ */ o("p", {
242
- className: `${l} leading-relaxed`,
242
+ className: `${c} leading-relaxed`,
243
243
  children: /* @__PURE__ */ o(ne, {
244
244
  uiKey: "uiLibrary.privacyMaskSettings.help",
245
245
  fallback: "Toggle <0>Edit mask</0> to draw blanked-out zones on the live frame, then <1>Save</1> to push them to the camera. Drag a rectangle to move, its corner to resize; drag polygon vertices, click an edge midpoint to add one, or right-click a vertex to remove it.",
@@ -255,7 +255,7 @@ function _({ deviceId: e }) {
255
255
  disabled: E,
256
256
  "aria-pressed": O,
257
257
  className: O ? h : m,
258
- children: O ? c("uiLibrary.privacyMaskSettings.doneEditing", "Done editing") : c("uiLibrary.privacyMaskSettings.editMask", "Edit mask")
258
+ children: O ? l("uiLibrary.privacyMaskSettings.doneEditing", "Done editing") : l("uiLibrary.privacyMaskSettings.editMask", "Edit mask")
259
259
  }),
260
260
  /* @__PURE__ */ o("button", {
261
261
  type: "button",
@@ -263,7 +263,7 @@ function _({ deviceId: e }) {
263
263
  disabled: E,
264
264
  "aria-pressed": S.enabled,
265
265
  className: S.enabled ? h : m,
266
- children: S.enabled ? c("uiLibrary.privacyMaskSettings.maskOn", "Mask on") : c("uiLibrary.privacyMaskSettings.maskOff", "Mask off")
266
+ children: S.enabled ? l("uiLibrary.privacyMaskSettings.maskOn", "Mask on") : l("uiLibrary.privacyMaskSettings.maskOff", "Mask off")
267
267
  }),
268
268
  Ee && /* @__PURE__ */ o("button", {
269
269
  type: "button",
@@ -271,8 +271,8 @@ function _({ deviceId: e }) {
271
271
  disabled: E || G,
272
272
  "aria-pressed": M === "rect",
273
273
  className: M === "rect" ? h : m,
274
- title: G ? c("uiLibrary.privacyMaskSettings.maxZones", "Maximum zones reached") : c("uiLibrary.privacyMaskSettings.addRect", "Add a rectangle zone"),
275
- children: c("uiLibrary.privacyMaskSettings.rectButton", "+ Rect")
274
+ title: G ? l("uiLibrary.privacyMaskSettings.maxZones", "Maximum zones reached") : l("uiLibrary.privacyMaskSettings.addRect", "Add a rectangle zone"),
275
+ children: l("uiLibrary.privacyMaskSettings.rectButton", "+ Rect")
276
276
  }),
277
277
  De && /* @__PURE__ */ o("button", {
278
278
  type: "button",
@@ -280,12 +280,12 @@ function _({ deviceId: e }) {
280
280
  disabled: E || G,
281
281
  "aria-pressed": M === "polygon",
282
282
  className: M === "polygon" ? h : m,
283
- title: G ? c("uiLibrary.privacyMaskSettings.maxZones", "Maximum zones reached") : c("uiLibrary.privacyMaskSettings.addPolygon", "Add a polygon zone"),
284
- children: c("uiLibrary.privacyMaskSettings.polygonButton", "+ Polygon")
283
+ title: G ? l("uiLibrary.privacyMaskSettings.maxZones", "Maximum zones reached") : l("uiLibrary.privacyMaskSettings.addPolygon", "Add a polygon zone"),
284
+ children: l("uiLibrary.privacyMaskSettings.polygonButton", "+ Polygon")
285
285
  }),
286
286
  /* @__PURE__ */ o("span", {
287
- className: `${l} ml-1 tabular-nums`,
288
- children: c("uiLibrary.privacyMaskSettings.zoneCount", "{{active}} / {{max}} zones", {
287
+ className: `${c} ml-1 tabular-nums`,
288
+ children: l("uiLibrary.privacyMaskSettings.zoneCount", "{{active}} / {{max}} zones", {
289
289
  active: H,
290
290
  max: U
291
291
  })
@@ -296,14 +296,14 @@ function _({ deviceId: e }) {
296
296
  onClick: Se,
297
297
  disabled: E || !V,
298
298
  className: "rounded-md border border-border bg-surface px-2 py-1 text-[11px] text-foreground-subtle hover:bg-surface-hover disabled:opacity-40 transition-colors",
299
- children: c("uiLibrary.privacyMaskSettings.revert", "Revert")
299
+ children: l("uiLibrary.privacyMaskSettings.revert", "Revert")
300
300
  }),
301
301
  /* @__PURE__ */ o("button", {
302
302
  type: "button",
303
303
  onClick: () => void Ce(),
304
304
  disabled: E || !V,
305
305
  className: h,
306
- children: E ? c("uiLibrary.privacyMaskSettings.saving", "Saving…") : c("uiLibrary.privacyMaskSettings.save", "Save")
306
+ children: E ? l("uiLibrary.privacyMaskSettings.saving", "Saving…") : l("uiLibrary.privacyMaskSettings.save", "Save")
307
307
  })
308
308
  ]
309
309
  }),
@@ -320,7 +320,7 @@ function _({ deviceId: e }) {
320
320
  className: "flex flex-1 items-center gap-2 text-left text-[11px] font-medium text-foreground-subtle hover:text-foreground disabled:opacity-40 transition-colors",
321
321
  children: [
322
322
  /* @__PURE__ */ o(n, { className: "h-3.5 w-3.5 shrink-0" }),
323
- /* @__PURE__ */ o("span", { children: c("uiLibrary.privacyMaskSettings.zoneN", "Zone {{id}}", { id: e.id }) }),
323
+ /* @__PURE__ */ o("span", { children: l("uiLibrary.privacyMaskSettings.zoneN", "Zone {{id}}", { id: e.id }) }),
324
324
  /* @__PURE__ */ o("span", {
325
325
  className: "text-foreground-faint capitalize",
326
326
  children: e.shape.kind
@@ -330,8 +330,8 @@ function _({ deviceId: e }) {
330
330
  type: "button",
331
331
  onClick: () => xe(e.id),
332
332
  disabled: E,
333
- "aria-label": c("uiLibrary.privacyMaskSettings.deleteZoneN", "Delete zone {{id}}", { id: e.id }),
334
- title: c("uiLibrary.privacyMaskSettings.deleteZone", "Delete zone"),
333
+ "aria-label": l("uiLibrary.privacyMaskSettings.deleteZoneN", "Delete zone {{id}}", { id: e.id }),
334
+ title: l("uiLibrary.privacyMaskSettings.deleteZone", "Delete zone"),
335
335
  className: "inline-flex h-6 w-6 items-center justify-center rounded border border-border bg-surface text-foreground-subtle hover:border-red-400/40 hover:bg-red-500/10 hover:text-red-400 disabled:opacity-40 transition-colors",
336
336
  children: /* @__PURE__ */ o(de, { className: "h-3.5 w-3.5" })
337
337
  })]
@@ -339,8 +339,8 @@ function _({ deviceId: e }) {
339
339
  })
340
340
  }) : null
341
341
  ] }) : /* @__PURE__ */ o("p", {
342
- className: `${l} leading-relaxed`,
343
- children: c("uiLibrary.privacyMaskSettings.loading", "Loading the camera's privacy mask…")
342
+ className: `${c} leading-relaxed`,
343
+ children: l("uiLibrary.privacyMaskSettings.loading", "Loading the camera's privacy mask…")
344
344
  }), Z.supported && /* @__PURE__ */ s("div", {
345
345
  className: "flex items-start gap-3 rounded-md border border-border bg-surface px-2 py-2",
346
346
  children: [/* @__PURE__ */ o("button", {
@@ -350,15 +350,15 @@ function _({ deviceId: e }) {
350
350
  "aria-checked": Z.on === !0,
351
351
  disabled: !Z.available || I !== null,
352
352
  onClick: () => void we(),
353
- title: Z.on === null ? c("uiLibrary.privacyMaskSettings.micTitleUnknown", "Microphone — state unknown; the camera did not answer.") : Z.on ? c("uiLibrary.privacyMaskSettings.micTitleOn", "The camera is capturing sound. Turning it off: {{cost}}", { cost: Z.costWhenOff }) : c("uiLibrary.privacyMaskSettings.micTitleOff", "The camera is silent. {{cost}}", { cost: Z.costWhenOff }),
353
+ title: Z.on === null ? l("uiLibrary.privacyMaskSettings.micTitleUnknown", "Microphone — state unknown; the camera did not answer.") : Z.on ? l("uiLibrary.privacyMaskSettings.micTitleOn", "The camera is capturing sound. Turning it off: {{cost}}", { cost: Z.costWhenOff }) : l("uiLibrary.privacyMaskSettings.micTitleOff", "The camera is silent. {{cost}}", { cost: Z.costWhenOff }),
354
354
  className: Z.on === !1 || Z.on === null ? m : h,
355
355
  children: /* @__PURE__ */ s("span", {
356
356
  className: "inline-flex items-center gap-1.5",
357
- children: [Z.on === !1 ? /* @__PURE__ */ o(me, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ o(ce, { className: "h-3.5 w-3.5" }), Z.on === null ? c("uiLibrary.privacyMaskSettings.micUnknown", "Microphone unknown") : Z.on ? c("uiLibrary.privacyMaskSettings.micOn", "Microphone on") : c("uiLibrary.privacyMaskSettings.micOff", "Microphone off")]
357
+ children: [Z.on === !1 ? /* @__PURE__ */ o(me, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ o(ce, { className: "h-3.5 w-3.5" }), Z.on === null ? l("uiLibrary.privacyMaskSettings.micUnknown", "Microphone unknown") : Z.on ? l("uiLibrary.privacyMaskSettings.micOn", "Microphone on") : l("uiLibrary.privacyMaskSettings.micOff", "Microphone off")]
358
358
  })
359
359
  }), /* @__PURE__ */ o("p", {
360
360
  className: "text-[10px] text-foreground-subtle flex-1 leading-relaxed",
361
- children: R === null ? Z.on === null ? c("uiLibrary.privacyMaskSettings.micNotReported", "The camera did not report its microphone, so this state is unknown.") : Z.costWhenOff : c("uiLibrary.privacyMaskSettings.writeFailed", "Write failed: {{reason}}", { reason: R })
361
+ children: R === null ? Z.on === null ? l("uiLibrary.privacyMaskSettings.micNotReported", "The camera did not report its microphone, so this state is unknown.") : Z.costWhenOff : l("uiLibrary.privacyMaskSettings.writeFailed", "Write failed: {{reason}}", { reason: R })
362
362
  })]
363
363
  })]
364
364
  })