@midscene/visualizer 0.17.3 → 0.17.4-beta-20250528162713.0

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.
@@ -37,8 +37,6 @@ import { useBlackboardPreference } from "./store/store";
37
37
  const itemFillAlpha = 0.4;
38
38
  const highlightAlpha = 0.4;
39
39
  const pointRadius = 10;
40
- const noop = () => {
41
- };
42
40
  const pointMarkForItem = (point, type) => {
43
41
  const [x, y] = point;
44
42
  const themeColor = highlightColorForType("element");
@@ -95,21 +95,12 @@ const allScriptsFromDump = (dump) => {
95
95
  modelDescription = execution.model_description;
96
96
  }
97
97
  execution.tasks.forEach((task) => {
98
- var _a, _b, _c, _d, _e, _f, _g, _h;
98
+ var _a, _b;
99
99
  const insightTask = task;
100
100
  if ((_b = (_a = insightTask.pageContext) == null ? void 0 : _a.size) == null ? void 0 : _b.width) {
101
101
  width = insightTask.pageContext.size.width;
102
102
  height = insightTask.pageContext.size.height;
103
103
  }
104
- if (((_d = (_c = insightTask.log) == null ? void 0 : _c.dump) == null ? void 0 : _d.sdkVersion) && !sdkVersion) {
105
- sdkVersion = insightTask.log.dump.sdkVersion;
106
- }
107
- if (((_f = (_e = insightTask.log) == null ? void 0 : _e.dump) == null ? void 0 : _f.model_name) && !modelName) {
108
- modelName = insightTask.log.dump.model_name;
109
- }
110
- if (((_h = (_g = insightTask.log) == null ? void 0 : _g.dump) == null ? void 0 : _h.model_description) && !modelDescription) {
111
- modelDescription = insightTask.log.dump.model_description;
112
- }
113
104
  });
114
105
  });
115
106
  if (!width || !height) {