@localstack/appinspector-ui 1.0.198 → 1.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -491,7 +491,7 @@ var require_parse = __commonJS({
491
491
  "node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js"(exports, module2) {
492
492
  "use strict";
493
493
  var SemVer = require_semver();
494
- var parse2 = (version, options, throwErrors = false) => {
494
+ var parse3 = (version, options, throwErrors = false) => {
495
495
  if (version instanceof SemVer) {
496
496
  return version;
497
497
  }
@@ -504,7 +504,7 @@ var require_parse = __commonJS({
504
504
  throw er;
505
505
  }
506
506
  };
507
- module2.exports = parse2;
507
+ module2.exports = parse3;
508
508
  }
509
509
  });
510
510
 
@@ -512,9 +512,9 @@ var require_parse = __commonJS({
512
512
  var require_valid = __commonJS({
513
513
  "node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js"(exports, module2) {
514
514
  "use strict";
515
- var parse2 = require_parse();
515
+ var parse3 = require_parse();
516
516
  var valid = (version, options) => {
517
- const v = parse2(version, options);
517
+ const v = parse3(version, options);
518
518
  return v ? v.version : null;
519
519
  };
520
520
  module2.exports = valid;
@@ -525,9 +525,9 @@ var require_valid = __commonJS({
525
525
  var require_clean = __commonJS({
526
526
  "node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js"(exports, module2) {
527
527
  "use strict";
528
- var parse2 = require_parse();
528
+ var parse3 = require_parse();
529
529
  var clean = (version, options) => {
530
- const s = parse2(version.trim().replace(/^[=v]+/, ""), options);
530
+ const s = parse3(version.trim().replace(/^[=v]+/, ""), options);
531
531
  return s ? s.version : null;
532
532
  };
533
533
  module2.exports = clean;
@@ -562,10 +562,10 @@ var require_inc = __commonJS({
562
562
  var require_diff = __commonJS({
563
563
  "node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js"(exports, module2) {
564
564
  "use strict";
565
- var parse2 = require_parse();
565
+ var parse3 = require_parse();
566
566
  var diff = (version1, version2) => {
567
- const v1 = parse2(version1, null, true);
568
- const v2 = parse2(version2, null, true);
567
+ const v1 = parse3(version1, null, true);
568
+ const v2 = parse3(version2, null, true);
569
569
  const comparison = v1.compare(v2);
570
570
  if (comparison === 0) {
571
571
  return null;
@@ -636,9 +636,9 @@ var require_patch = __commonJS({
636
636
  var require_prerelease = __commonJS({
637
637
  "node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js"(exports, module2) {
638
638
  "use strict";
639
- var parse2 = require_parse();
639
+ var parse3 = require_parse();
640
640
  var prerelease = (version, options) => {
641
- const parsed = parse2(version, options);
641
+ const parsed = parse3(version, options);
642
642
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
643
643
  };
644
644
  module2.exports = prerelease;
@@ -824,7 +824,7 @@ var require_coerce = __commonJS({
824
824
  "node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js"(exports, module2) {
825
825
  "use strict";
826
826
  var SemVer = require_semver();
827
- var parse2 = require_parse();
827
+ var parse3 = require_parse();
828
828
  var { safeRe: re, t } = require_re();
829
829
  var coerce = (version, options) => {
830
830
  if (version instanceof SemVer) {
@@ -859,7 +859,7 @@ var require_coerce = __commonJS({
859
859
  const patch = match[4] || "0";
860
860
  const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
861
861
  const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
862
- return parse2(`${major}.${minor}.${patch}${prerelease}${build}`, options);
862
+ return parse3(`${major}.${minor}.${patch}${prerelease}${build}`, options);
863
863
  };
864
864
  module2.exports = coerce;
865
865
  }
@@ -1876,7 +1876,7 @@ var require_semver2 = __commonJS({
1876
1876
  var constants = require_constants();
1877
1877
  var SemVer = require_semver();
1878
1878
  var identifiers = require_identifiers();
1879
- var parse2 = require_parse();
1879
+ var parse3 = require_parse();
1880
1880
  var valid = require_valid();
1881
1881
  var clean = require_clean();
1882
1882
  var inc = require_inc();
@@ -1914,7 +1914,7 @@ var require_semver2 = __commonJS({
1914
1914
  var simplifyRange = require_simplify();
1915
1915
  var subset = require_subset();
1916
1916
  module2.exports = {
1917
- parse: parse2,
1917
+ parse: parse3,
1918
1918
  valid,
1919
1919
  clean,
1920
1920
  inc,
@@ -2017,7 +2017,7 @@ var require_copy_to_clipboard = __commonJS({
2017
2017
  var copyKey = (/mac os x/i.test(navigator.userAgent) ? "\u2318" : "Ctrl") + "+C";
2018
2018
  return message.replace(/#{\s*key\s*}/g, copyKey);
2019
2019
  }
2020
- function copy(text2, options) {
2020
+ function copy(text3, options) {
2021
2021
  var debug2, message, reselectPrevious, range, selection, mark, success = false;
2022
2022
  if (!options) {
2023
2023
  options = {};
@@ -2028,7 +2028,7 @@ var require_copy_to_clipboard = __commonJS({
2028
2028
  range = document.createRange();
2029
2029
  selection = document.getSelection();
2030
2030
  mark = document.createElement("span");
2031
- mark.textContent = text2;
2031
+ mark.textContent = text3;
2032
2032
  mark.ariaHidden = "true";
2033
2033
  mark.style.all = "unset";
2034
2034
  mark.style.position = "fixed";
@@ -2048,10 +2048,10 @@ var require_copy_to_clipboard = __commonJS({
2048
2048
  debug2 && console.warn("trying IE specific stuff");
2049
2049
  window.clipboardData.clearData();
2050
2050
  var format3 = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"];
2051
- window.clipboardData.setData(format3, text2);
2051
+ window.clipboardData.setData(format3, text3);
2052
2052
  } else {
2053
2053
  e2.clipboardData.clearData();
2054
- e2.clipboardData.setData(options.format, text2);
2054
+ e2.clipboardData.setData(options.format, text3);
2055
2055
  }
2056
2056
  }
2057
2057
  if (options.onCopy) {
@@ -2071,14 +2071,14 @@ var require_copy_to_clipboard = __commonJS({
2071
2071
  debug2 && console.error("unable to copy using execCommand: ", err);
2072
2072
  debug2 && console.warn("trying IE specific stuff");
2073
2073
  try {
2074
- window.clipboardData.setData(options.format || "text", text2);
2074
+ window.clipboardData.setData(options.format || "text", text3);
2075
2075
  options.onCopy && options.onCopy(window.clipboardData);
2076
2076
  success = true;
2077
2077
  } catch (err2) {
2078
2078
  debug2 && console.error("unable to copy using clipboardData: ", err2);
2079
2079
  debug2 && console.error("falling back to prompt");
2080
2080
  message = format2("message" in options ? options.message : defaultMessage);
2081
- window.prompt(message, text2);
2081
+ window.prompt(message, text3);
2082
2082
  }
2083
2083
  } finally {
2084
2084
  if (selection) {
@@ -2495,8 +2495,10 @@ var EVENT_DETAILS_SERVICE_NAME_TEST_ID = "event-details-service-name";
2495
2495
  var EVENT_DETAILS_OPERATION_NAME_TEST_ID = "event-details-operation-name";
2496
2496
  var EVENT_DETAILS_CLOSE_BUTTON_TEST_ID = "event-details-close-button";
2497
2497
  var EVENT_DETAILS_HEADING_TEST_ID = "event-details-heading";
2498
- var EVENT_DETAILS_HEADING_DURATION_TEST_ID = "event-details-heading-duration";
2499
- var EVENT_DETAILS_STATUS_TEST_ID = "event-details-status";
2498
+ var EVENT_DETAILS_HEADING_STATUS_TEST_ID = "event-details-heading-status";
2499
+ var EVENT_DETAILS_HEADING_IAM_TEST_ID = "event-details-heading-iam";
2500
+ var EVENT_DETAILS_FUNCTION_ERROR_TEST_ID = "event-details-function-error";
2501
+ var EVENT_DETAILS_STACK_TRACE_TEST_ID = "event-details-stack-trace";
2500
2502
  var EVENT_DETAILS_RESOURCE_NAME_TEST_ID = "event-details-resource-name";
2501
2503
  var EVENT_DETAILS_RESOURCE_ARN_TEST_ID = "event-details-resource-arn";
2502
2504
  var EVENT_DETAILS_CFN_RESOURCE_TYPE_TEST_ID = "event-details-cfn-resource-type";
@@ -2537,7 +2539,8 @@ var DETAIL_TAB_RESPONSE_TEST_ID = "detail-tab-response";
2537
2539
  var DETAIL_TAB_ERROR_TEST_ID = "detail-tab-error";
2538
2540
  var DETAIL_TAB_PERMISSIONS_TEST_ID = "detail-tab-permissions";
2539
2541
  var DETAIL_TAB_LOGS_TEST_ID = "detail-tab-logs";
2540
- var DOWNSTREAM_CELL_TEST_ID = "downstream-cell";
2542
+ var OPERATION_COUNT_CELL_TEST_ID = "operation-count-cell";
2543
+ var ISSUES_CELL_TEST_ID = "issues-cell";
2541
2544
  var WATERFALL_AXIS_TEST_ID = "waterfall-axis";
2542
2545
  var WATERFALL_AXIS_LABEL_TEST_ID = "waterfall-axis-label";
2543
2546
  var WATERFALL_TREE_VIEW_BUTTON_TEST_ID = "waterfall-tree-view-button";
@@ -2630,11 +2633,11 @@ var EmulatorVersionBanner = ({
2630
2633
  };
2631
2634
 
2632
2635
  // src/components/spans-list/spans-list.tsx
2633
- var import_material9 = require("@mui/material");
2636
+ var import_material8 = require("@mui/material");
2634
2637
 
2635
2638
  // src/components/spans-list/spans-data-grid.tsx
2636
- var import_icons_material5 = require("@mui/icons-material");
2637
- var import_material8 = require("@mui/material");
2639
+ var import_icons_material4 = require("@mui/icons-material");
2640
+ var import_material7 = require("@mui/material");
2638
2641
  var import_styles2 = require("@mui/material/styles");
2639
2642
 
2640
2643
  // node_modules/.pnpm/@tanstack+react-table@8.21.3_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/@tanstack/react-table/build/lib/index.mjs
@@ -7148,12 +7151,12 @@ var isColorString = (type, testProp) => (v) => {
7148
7151
  var splitColor = (aName, bName, cName) => (v) => {
7149
7152
  if (!isString(v))
7150
7153
  return v;
7151
- const [a3, b3, c3, alpha6] = v.match(floatRegex);
7154
+ const [a3, b3, c3, alpha7] = v.match(floatRegex);
7152
7155
  return {
7153
7156
  [aName]: parseFloat(a3),
7154
7157
  [bName]: parseFloat(b3),
7155
7158
  [cName]: parseFloat(c3),
7156
- alpha: alpha6 !== void 0 ? parseFloat(alpha6) : 1
7159
+ alpha: alpha7 !== void 0 ? parseFloat(alpha7) : 1
7157
7160
  };
7158
7161
  };
7159
7162
 
@@ -8267,7 +8270,7 @@ function hueToRgb(p, q, t) {
8267
8270
  return p + (q - p) * (2 / 3 - t) * 6;
8268
8271
  return p;
8269
8272
  }
8270
- function hslaToRgba({ hue, saturation, lightness, alpha: alpha6 }) {
8273
+ function hslaToRgba({ hue, saturation, lightness, alpha: alpha7 }) {
8271
8274
  hue /= 360;
8272
8275
  saturation /= 100;
8273
8276
  lightness /= 100;
@@ -8287,7 +8290,7 @@ function hslaToRgba({ hue, saturation, lightness, alpha: alpha6 }) {
8287
8290
  red: Math.round(red * 255),
8288
8291
  green: Math.round(green * 255),
8289
8292
  blue: Math.round(blue * 255),
8290
- alpha: alpha6
8293
+ alpha: alpha7
8291
8294
  };
8292
8295
  }
8293
8296
 
@@ -13102,12 +13105,6 @@ var ResponsiveTimestampCell = (0, import_react31.memo)(({ date }) => {
13102
13105
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "data-testid": TIMESTAMP_CELL_TEST_ID, style: { display: "inline-block", width: "100%" }, children: formattedTime });
13103
13106
  });
13104
13107
 
13105
- // src/dev-settings.tsx
13106
- var React5 = __toESM(require("react"), 1);
13107
- var DEFAULT_DEV_SETTINGS = { requestTerms: "on", waterfallIssueBackgrounds: "on", waterfallLayout: "tree", waterfallStatusIcons: "first column" };
13108
- var DevSettingsContext = React5.createContext(DEFAULT_DEV_SETTINGS);
13109
- var useDevSettings = () => React5.useContext(DevSettingsContext);
13110
-
13111
13108
  // src/utils/query.ts
13112
13109
  var EXTERNAL_PRODUCER = "external";
13113
13110
  var QUERY_KEYS = ["service", "producer", "status", "op", "resource", "client", "region", "account", "dur", "trace"];
@@ -13157,7 +13154,7 @@ var setQueryValues = (query2, key, { excluded, included }) => {
13157
13154
  };
13158
13155
  var removeExclusions = (query2) => (query2.match(TOKEN_PATTERN) ?? []).filter((token) => !isExclusion(token)).join(" ");
13159
13156
 
13160
- // src/components/cells/downstream-cell.tsx
13157
+ // src/components/cells/request-cell.tsx
13161
13158
  var import_icons_material = require("@mui/icons-material");
13162
13159
  var import_material2 = require("@mui/material");
13163
13160
  var import_styles = require("@mui/material/styles");
@@ -13200,12 +13197,177 @@ var shortResourceName = (resourceName, arn) => {
13200
13197
  }
13201
13198
  };
13202
13199
 
13203
- // src/components/cells/downstream-cell.tsx
13200
+ // src/utils/iam-utils.ts
13201
+ function determinePermissionStatus(payload) {
13202
+ if (payload.explicit_deny_count && payload.explicit_deny_count > 0) {
13203
+ return "explicitly_denied";
13204
+ }
13205
+ if (payload.is_allowed) {
13206
+ return "explicitly_allowed";
13207
+ }
13208
+ return "implicitly_denied";
13209
+ }
13210
+ function formatPermissionStatus(status) {
13211
+ switch (status) {
13212
+ case "explicitly_allowed": {
13213
+ return "Explicitly Allowed";
13214
+ }
13215
+ case "explicitly_denied": {
13216
+ return "Explicitly Denied";
13217
+ }
13218
+ case "implicitly_denied": {
13219
+ return "Implicitly Denied";
13220
+ }
13221
+ }
13222
+ }
13223
+ function getPermissionStatusColor(status) {
13224
+ switch (status) {
13225
+ case "explicitly_allowed": {
13226
+ return "success.main";
13227
+ }
13228
+ case "explicitly_denied": {
13229
+ return "error.main";
13230
+ }
13231
+ case "implicitly_denied": {
13232
+ return "warning.main";
13233
+ }
13234
+ }
13235
+ }
13236
+ function parseIAMEvent(payloadString) {
13237
+ try {
13238
+ const payload = JSON.parse(payloadString);
13239
+ const permission = determinePermissionStatus(payload);
13240
+ const actions = [];
13241
+ const resources = [];
13242
+ if (payload.explicit_allows) {
13243
+ for (const allow of payload.explicit_allows) {
13244
+ if (!actions.includes(allow.action)) actions.push(allow.action);
13245
+ if (!resources.includes(allow.resource)) resources.push(allow.resource);
13246
+ }
13247
+ }
13248
+ if (payload.explicit_denies) {
13249
+ for (const deny of payload.explicit_denies) {
13250
+ if (!actions.includes(deny.action)) actions.push(deny.action);
13251
+ if (!resources.includes(deny.resource)) resources.push(deny.resource);
13252
+ }
13253
+ }
13254
+ if (payload.implicit_denies) {
13255
+ for (const deny of payload.implicit_denies) {
13256
+ if (!actions.includes(deny.action)) actions.push(deny.action);
13257
+ if (!resources.includes(deny.resource)) resources.push(deny.resource);
13258
+ }
13259
+ }
13260
+ return {
13261
+ details: {
13262
+ actions,
13263
+ explicitAllows: payload.explicit_allow_count,
13264
+ explicitDenies: payload.explicit_deny_count,
13265
+ implicitDenies: payload.implicit_deny_count,
13266
+ resources
13267
+ },
13268
+ enforcement: payload.enforcement,
13269
+ operation: payload.operation,
13270
+ permission,
13271
+ principal: payload.principal_arn,
13272
+ service: payload.service
13273
+ };
13274
+ } catch (error) {
13275
+ console.error("Error parsing IAM event payload:", error);
13276
+ return void 0;
13277
+ }
13278
+ }
13279
+ var getIamEvents = (span) => span.events.flatMap((event) => {
13280
+ const payload = event.attributes?.payload;
13281
+ if (!event.event_type?.toLowerCase().includes("iam") || typeof payload !== "string") return [];
13282
+ return parseIAMEvent(payload) ?? [];
13283
+ });
13284
+ var getIamEnforcement = (span, events = getIamEvents(span)) => {
13285
+ const enforcements = new Set(events.map((event) => event.enforcement).filter(Boolean));
13286
+ if (enforcements.size > 0) {
13287
+ if (enforcements.has("deny")) return "deny";
13288
+ if (enforcements.has("allow_with_warning")) return "allow_with_warning";
13289
+ return void 0;
13290
+ }
13291
+ return getIamEnforcementFromOperationStatus(span);
13292
+ };
13293
+ var getIamEnforcementFromOperationStatus = (span) => {
13294
+ const status = span.operation_status;
13295
+ if (status === "iam_explicit_deny" || status === "iam_implicit_deny") return "deny";
13296
+ if (status === "iam_explicit_warn" || status === "iam_implicit_warn") return "allow_with_warning";
13297
+ return void 0;
13298
+ };
13299
+ var getIamSummary = (span) => {
13300
+ const events = getIamEvents(span);
13301
+ const denials = events.filter((event) => event.permission === "explicitly_denied" || event.permission === "implicitly_denied").length;
13302
+ const enforcement = getIamEnforcement(span, events);
13303
+ if (enforcement === "deny") return { denials, level: "error" };
13304
+ if (enforcement === "allow_with_warning" || denials > 0) return { denials, level: "warning" };
13305
+ return { denials, level: void 0 };
13306
+ };
13307
+
13308
+ // src/utils/span-issues.ts
13309
+ var firstText = (...values) => values.find((value) => !!value) ?? void 0;
13310
+ var OTEL_STATUS_ERROR = 2;
13311
+ var getSpanIssues = (span) => {
13312
+ const status = span.operation_status;
13313
+ const iamEvents = getIamEvents(span);
13314
+ const enforcement = getIamEnforcement(span, iamEvents);
13315
+ const iamDenied = enforcement === "deny";
13316
+ const iamWarned = enforcement === "allow_with_warning";
13317
+ const errorMessages = (span.errors ?? []).filter((item) => item.level === "error");
13318
+ const warningMessages = (span.errors ?? []).filter((item) => item.level === "warning");
13319
+ const denials = iamEvents.flatMap((event) => {
13320
+ if (event.permission === "explicitly_denied") return ["explicit"];
13321
+ if (event.permission === "implicitly_denied") return ["implicit"];
13322
+ return [];
13323
+ });
13324
+ const unenforcedDenial = !iamDenied && (denials.length > 0 || span.attributes?.["localstack.has_iam_deny_event"] === true);
13325
+ const error = status === "error" || iamDenied || span.status_code === OTEL_STATUS_ERROR || errorMessages.length > 0;
13326
+ const warning2 = iamWarned || warningMessages.length > 0 || unenforcedDenial;
13327
+ const denialCount = unenforcedDenial ? Math.max(1, denials.length) : 0;
13328
+ return {
13329
+ error,
13330
+ errorType: error ? firstText(span.status_message, errorMessages[0]?.message) ?? (iamDenied ? "AccessDenied" : "Error") : void 0,
13331
+ warning: warning2,
13332
+ warningCount: warning2 ? Math.max(1, warningMessages.length + denialCount) : 0,
13333
+ warningType: warning2 ? firstText(warningMessages[0]?.message) ?? (unenforcedDenial ? `IAM ${denials[0] ?? "implicit"} deny` : iamWarned ? "IAM permission warning" : "Warning") : void 0
13334
+ };
13335
+ };
13336
+
13337
+ // src/components/cells/request-cell.tsx
13204
13338
  var import_jsx_runtime4 = require("react/jsx-runtime");
13205
- var IssueChip = ({ color: color2, count: count2, icon }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
13339
+ var SPAN_STATUS_LABELS = {
13340
+ 0: "Unset",
13341
+ 1: "OK",
13342
+ 2: "Error"
13343
+ };
13344
+ var RootStatus = ({ span }) => {
13345
+ const messages = [];
13346
+ if (span.status_message) messages.push(span.status_message);
13347
+ for (const error of span.errors ?? []) {
13348
+ if (error.message) messages.push(error.message);
13349
+ }
13350
+ const spanStatusLabel = SPAN_STATUS_LABELS[span.status_code] ?? `Unknown (${span.status_code.toString()})`;
13351
+ const iamDenials = span.events.filter((event) => event.event_type?.toLowerCase().includes("iam") && typeof event.attributes?.payload === "string").map((event) => parseIAMEvent(event.attributes.payload)).filter((parsed) => parsed?.permission === "explicitly_denied" || parsed?.permission === "implicitly_denied").filter(Boolean);
13352
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
13353
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_material2.Typography, { color: "inherit", display: "block", fontWeight: "bold", variant: "caption", children: [
13354
+ "Status: ",
13355
+ spanStatusLabel
13356
+ ] }),
13357
+ messages.map((message, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Typography, { color: "inherit", display: "block", variant: "caption", children: message }, index)),
13358
+ iamDenials.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
13359
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Divider, { sx: { borderColor: "rgba(255,255,255,0.2)", my: 0.5 } }),
13360
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Typography, { color: "inherit", display: "block", fontWeight: "bold", variant: "caption", children: "Permissions" }),
13361
+ iamDenials.map((denial, index) => denial !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Typography, { color: "inherit", display: "block", variant: "caption", children: `${formatPermissionStatus(denial.permission)}: ${denial.service}.${denial.operation}` }, index))
13362
+ ] })
13363
+ ] });
13364
+ };
13365
+ var IssueChip = ({ color: color2, count: count2, icon, label }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
13206
13366
  import_material2.Box,
13207
13367
  {
13368
+ "aria-label": label,
13208
13369
  component: "span",
13370
+ role: "img",
13209
13371
  sx: (theme) => ({
13210
13372
  alignItems: "center",
13211
13373
  backgroundColor: (0, import_styles.alpha)(theme.palette[color2].main, 0.12),
@@ -13225,22 +13387,55 @@ var IssueChip = ({ color: color2, count: count2, icon }) => /* @__PURE__ */ (0,
13225
13387
  ]
13226
13388
  }
13227
13389
  );
13228
- var DownstreamCell = ({ downstream }) => {
13229
- if (!downstream || downstream.count === 0) {
13230
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Typography, { "aria-label": "No downstream operations", color: "text.disabled", "data-testid": DOWNSTREAM_CELL_TEST_ID, variant: "body2", children: "\u2014" });
13231
- }
13232
- const title = [
13233
- pluralize(downstream.count, "downstream operation"),
13234
- downstream.errors > 0 && pluralize(downstream.errors, "error"),
13235
- downstream.warnings > 0 && pluralize(downstream.warnings, "warning")
13390
+ var getTotals = ({ downstream, span }) => {
13391
+ const issues = getSpanIssues(span);
13392
+ return {
13393
+ count: (downstream?.count ?? 0) + 1,
13394
+ errors: (downstream?.errors ?? 0) + (issues.error ? 1 : 0),
13395
+ rootHasIssues: issues.error || issues.warning,
13396
+ warnings: (downstream?.warnings ?? 0) + (issues.warning ? 1 : 0)
13397
+ };
13398
+ };
13399
+ var TotalsTooltip = ({ children, ...props }) => {
13400
+ const { count: count2, errors, rootHasIssues, warnings } = getTotals(props);
13401
+ const summary = [
13402
+ pluralize(count2, "operation"),
13403
+ errors > 0 && pluralize(errors, "error"),
13404
+ warnings > 0 && pluralize(warnings, "warning")
13236
13405
  ].filter(Boolean).join(" \xB7 ");
13237
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Tooltip, { title, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_material2.Box, { "data-testid": DOWNSTREAM_CELL_TEST_ID, sx: { alignItems: "center", display: "inline-flex", gap: 0.5 }, children: [
13238
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_material2.Typography, { color: "text.secondary", component: "span", sx: { alignItems: "center", display: "inline-flex", gap: 0.25, whiteSpace: "nowrap" }, variant: "body2", children: [
13239
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons_material.SubdirectoryArrowRight, { sx: { fontSize: 14 } }),
13240
- pluralize(downstream.count, "op")
13241
- ] }),
13242
- downstream.errors > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IssueChip, { color: "error", count: downstream.errors, icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons_material.Cancel, { sx: { fontSize: 12 } }) }),
13243
- downstream.warnings > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IssueChip, { color: "warning", count: downstream.warnings, icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons_material.Error, { sx: { fontSize: 12 } }) })
13406
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
13407
+ import_material2.Tooltip,
13408
+ {
13409
+ title: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_material2.Box, { children: [
13410
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Typography, { color: "inherit", display: "block", variant: "caption", children: summary }),
13411
+ rootHasIssues && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
13412
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Divider, { sx: { borderColor: "rgba(255,255,255,0.2)", my: 0.5 } }),
13413
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(RootStatus, { span: props.span })
13414
+ ] })
13415
+ ] }),
13416
+ children
13417
+ }
13418
+ );
13419
+ };
13420
+ var RequestCell = (props) => {
13421
+ const { count: count2, errors, warnings } = getTotals(props);
13422
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(TotalsTooltip, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_material2.Box, { sx: { alignItems: "center", cursor: "default", display: "grid", gap: 0.5, gridTemplateColumns: "44px auto" }, children: [
13423
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
13424
+ import_material2.Typography,
13425
+ {
13426
+ "data-testid": OPERATION_COUNT_CELL_TEST_ID,
13427
+ sx: { whiteSpace: "nowrap" },
13428
+ variant: "body2",
13429
+ children: [
13430
+ count2.toLocaleString("en-US"),
13431
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material2.Box, { color: "text.secondary", component: "span", children: count2 === 1 ? " op" : " ops" })
13432
+ ]
13433
+ }
13434
+ ),
13435
+ (errors > 0 || warnings > 0) && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_material2.Box, { "data-testid": ISSUES_CELL_TEST_ID, sx: { alignItems: "center", display: "inline-flex", gap: 0.5 }, children: [
13436
+ errors > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IssueChip, { color: "error", count: errors, icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons_material.Cancel, { sx: { fontSize: 12 } }), label: "Errors" }),
13437
+ warnings > 0 && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IssueChip, { color: "warning", count: warnings, icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons_material.GppMaybe, { sx: { fontSize: 12 } }), label: "Warnings" })
13438
+ ] })
13244
13439
  ] }) });
13245
13440
  };
13246
13441
 
@@ -13765,7 +13960,7 @@ var SERVICE_NAME = {
13765
13960
  };
13766
13961
 
13767
13962
  // src/components/aws-service-icon/icons/account.svg
13768
- var React6 = __toESM(require("react"));
13963
+ var React5 = __toESM(require("react"));
13769
13964
  var import_jsx_runtime5 = require("react/jsx-runtime");
13770
13965
  var SvgAccount = (props) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 40 40", fill: "currentColor", ...props, children: [
13771
13966
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("title", { children: "Icon-Architecture-Group/32/AWS-Account_32" }),
@@ -13777,7 +13972,7 @@ var SvgAccount = (props) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("svg",
13777
13972
  var account_default = SvgAccount;
13778
13973
 
13779
13974
  // src/components/aws-service-icon/icons/acm-pca.svg
13780
- var React7 = __toESM(require("react"));
13975
+ var React6 = __toESM(require("react"));
13781
13976
  var import_jsx_runtime6 = require("react/jsx-runtime");
13782
13977
  var SvgAcmPca = (props) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13783
13978
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Private-Certificate-Authority_64" }),
@@ -13789,7 +13984,7 @@ var SvgAcmPca = (props) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("svg",
13789
13984
  var acm_pca_default = SvgAcmPca;
13790
13985
 
13791
13986
  // src/components/aws-service-icon/icons/acm.svg
13792
- var React8 = __toESM(require("react"));
13987
+ var React7 = __toESM(require("react"));
13793
13988
  var import_jsx_runtime7 = require("react/jsx-runtime");
13794
13989
  var SvgAcm = (props) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 40 40", fill: "currentColor", ...props, children: [
13795
13990
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: "Icon-Architecture/32/Arch_AWS-Certificate-Manager_32" }),
@@ -13801,7 +13996,7 @@ var SvgAcm = (props) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("svg", { x
13801
13996
  var acm_default = SvgAcm;
13802
13997
 
13803
13998
  // src/components/aws-service-icon/icons/amplify.svg
13804
- var React9 = __toESM(require("react"));
13999
+ var React8 = __toESM(require("react"));
13805
14000
  var import_jsx_runtime8 = require("react/jsx-runtime");
13806
14001
  var SvgAmplify = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13807
14002
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Amplify-Console_64" }),
@@ -13813,7 +14008,7 @@ var SvgAmplify = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("svg",
13813
14008
  var amplify_default = SvgAmplify;
13814
14009
 
13815
14010
  // src/components/aws-service-icon/icons/apigateway.svg
13816
- var React10 = __toESM(require("react"));
14011
+ var React9 = __toESM(require("react"));
13817
14012
  var import_jsx_runtime9 = require("react/jsx-runtime");
13818
14013
  var SvgApigateway = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13819
14014
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: "Icon-Architecture/64/Arch_ Amazon-API-Gateway_64" }),
@@ -13825,7 +14020,7 @@ var SvgApigateway = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("sv
13825
14020
  var apigateway_default = SvgApigateway;
13826
14021
 
13827
14022
  // src/components/aws-service-icon/icons/apigatewaymanagementapi.svg
13828
- var React11 = __toESM(require("react"));
14023
+ var React10 = __toESM(require("react"));
13829
14024
  var import_jsx_runtime10 = require("react/jsx-runtime");
13830
14025
  var SvgApigatewaymanagementapi = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13831
14026
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("title", { children: "Icon-Architecture/64/Arch_ Amazon-API-Gateway_64" }),
@@ -13837,7 +14032,7 @@ var SvgApigatewaymanagementapi = (props) => /* @__PURE__ */ (0, import_jsx_runti
13837
14032
  var apigatewaymanagementapi_default = SvgApigatewaymanagementapi;
13838
14033
 
13839
14034
  // src/components/aws-service-icon/icons/apigatewayv2.svg
13840
- var React12 = __toESM(require("react"));
14035
+ var React11 = __toESM(require("react"));
13841
14036
  var import_jsx_runtime11 = require("react/jsx-runtime");
13842
14037
  var SvgApigatewayv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13843
14038
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("title", { children: "Icon-Architecture/64/Arch_ Amazon-API-Gateway_64" }),
@@ -13849,7 +14044,7 @@ var SvgApigatewayv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
13849
14044
  var apigatewayv2_default = SvgApigatewayv2;
13850
14045
 
13851
14046
  // src/components/aws-service-icon/icons/appconfig.svg
13852
- var React13 = __toESM(require("react"));
14047
+ var React12 = __toESM(require("react"));
13853
14048
  var import_jsx_runtime12 = require("react/jsx-runtime");
13854
14049
  var SvgAppconfig = (props) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13855
14050
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-App-Config_64" }),
@@ -13861,7 +14056,7 @@ var SvgAppconfig = (props) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("sv
13861
14056
  var appconfig_default = SvgAppconfig;
13862
14057
 
13863
14058
  // src/components/aws-service-icon/icons/application-autoscaling.svg
13864
- var React14 = __toESM(require("react"));
14059
+ var React13 = __toESM(require("react"));
13865
14060
  var import_jsx_runtime13 = require("react/jsx-runtime");
13866
14061
  var SvgApplicationAutoscaling = (props) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
13867
14062
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Auto-Scaling_16" }),
@@ -13873,7 +14068,7 @@ var SvgApplicationAutoscaling = (props) => /* @__PURE__ */ (0, import_jsx_runtim
13873
14068
  var application_autoscaling_default = SvgApplicationAutoscaling;
13874
14069
 
13875
14070
  // src/components/aws-service-icon/icons/appsync.svg
13876
- var React15 = __toESM(require("react"));
14071
+ var React14 = __toESM(require("react"));
13877
14072
  var import_jsx_runtime14 = require("react/jsx-runtime");
13878
14073
  var SvgAppsync = (props) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13879
14074
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-AppSync_64" }),
@@ -13885,7 +14080,7 @@ var SvgAppsync = (props) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg"
13885
14080
  var appsync_default = SvgAppsync;
13886
14081
 
13887
14082
  // src/components/aws-service-icon/icons/athena.svg
13888
- var React16 = __toESM(require("react"));
14083
+ var React15 = __toESM(require("react"));
13889
14084
  var import_jsx_runtime15 = require("react/jsx-runtime");
13890
14085
  var SvgAthena = (props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13891
14086
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Athena_64" }),
@@ -13897,7 +14092,7 @@ var SvgAthena = (props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("svg",
13897
14092
  var athena_default = SvgAthena;
13898
14093
 
13899
14094
  // src/components/aws-service-icon/icons/autoscaling.svg
13900
- var React17 = __toESM(require("react"));
14095
+ var React16 = __toESM(require("react"));
13901
14096
  var import_jsx_runtime16 = require("react/jsx-runtime");
13902
14097
  var SvgAutoscaling = (props) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
13903
14098
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Auto-Scaling_16" }),
@@ -13909,7 +14104,7 @@ var SvgAutoscaling = (props) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("
13909
14104
  var autoscaling_default = SvgAutoscaling;
13910
14105
 
13911
14106
  // src/components/aws-service-icon/icons/backup.svg
13912
- var React18 = __toESM(require("react"));
14107
+ var React17 = __toESM(require("react"));
13913
14108
  var import_jsx_runtime17 = require("react/jsx-runtime");
13914
14109
  var SvgBackup = (props) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13915
14110
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Backup_64" }),
@@ -13921,7 +14116,7 @@ var SvgBackup = (props) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg",
13921
14116
  var backup_default = SvgBackup;
13922
14117
 
13923
14118
  // src/components/aws-service-icon/icons/batch.svg
13924
- var React19 = __toESM(require("react"));
14119
+ var React18 = __toESM(require("react"));
13925
14120
  var import_jsx_runtime18 = require("react/jsx-runtime");
13926
14121
  var SvgBatch = (props) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13927
14122
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Batch_64" }),
@@ -13933,7 +14128,7 @@ var SvgBatch = (props) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg",
13933
14128
  var batch_default = SvgBatch;
13934
14129
 
13935
14130
  // src/components/aws-service-icon/icons/bedrock.svg
13936
- var React20 = __toESM(require("react"));
14131
+ var React19 = __toESM(require("react"));
13937
14132
  var import_jsx_runtime19 = require("react/jsx-runtime");
13938
14133
  var SvgBedrock = (props) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13939
14134
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Bedrock_64" }),
@@ -13945,7 +14140,7 @@ var SvgBedrock = (props) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("svg"
13945
14140
  var bedrock_default = SvgBedrock;
13946
14141
 
13947
14142
  // src/components/aws-service-icon/icons/ce.svg
13948
- var React21 = __toESM(require("react"));
14143
+ var React20 = __toESM(require("react"));
13949
14144
  var import_jsx_runtime20 = require("react/jsx-runtime");
13950
14145
  var SvgCe = (props) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
13951
14146
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Cost-Explorer_16" }),
@@ -13957,7 +14152,7 @@ var SvgCe = (props) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("svg", { x
13957
14152
  var ce_default = SvgCe;
13958
14153
 
13959
14154
  // src/components/aws-service-icon/icons/cloudcontrol.svg
13960
- var React22 = __toESM(require("react"));
14155
+ var React21 = __toESM(require("react"));
13961
14156
  var import_jsx_runtime21 = require("react/jsx-runtime");
13962
14157
  var SvgCloudcontrol = (props) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13963
14158
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Cloud-Control-API_64" }),
@@ -13969,7 +14164,7 @@ var SvgCloudcontrol = (props) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
13969
14164
  var cloudcontrol_default = SvgCloudcontrol;
13970
14165
 
13971
14166
  // src/components/aws-service-icon/icons/cloudformation.svg
13972
- var React23 = __toESM(require("react"));
14167
+ var React22 = __toESM(require("react"));
13973
14168
  var import_jsx_runtime22 = require("react/jsx-runtime");
13974
14169
  var SvgCloudformation = (props) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13975
14170
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CloudFormation_64" }),
@@ -13981,7 +14176,7 @@ var SvgCloudformation = (props) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs
13981
14176
  var cloudformation_default = SvgCloudformation;
13982
14177
 
13983
14178
  // src/components/aws-service-icon/icons/cloudfront.svg
13984
- var React24 = __toESM(require("react"));
14179
+ var React23 = __toESM(require("react"));
13985
14180
  var import_jsx_runtime23 = require("react/jsx-runtime");
13986
14181
  var SvgCloudfront = (props) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13987
14182
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-CloudFront_64" }),
@@ -13993,7 +14188,7 @@ var SvgCloudfront = (props) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("s
13993
14188
  var cloudfront_default = SvgCloudfront;
13994
14189
 
13995
14190
  // src/components/aws-service-icon/icons/cloudtrail.svg
13996
- var React25 = __toESM(require("react"));
14191
+ var React24 = __toESM(require("react"));
13997
14192
  var import_jsx_runtime24 = require("react/jsx-runtime");
13998
14193
  var SvgCloudtrail = (props) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
13999
14194
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Cloud-Trail_64" }),
@@ -14005,7 +14200,7 @@ var SvgCloudtrail = (props) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("s
14005
14200
  var cloudtrail_default = SvgCloudtrail;
14006
14201
 
14007
14202
  // src/components/aws-service-icon/icons/cloudwatch.svg
14008
- var React26 = __toESM(require("react"));
14203
+ var React25 = __toESM(require("react"));
14009
14204
  var import_jsx_runtime25 = require("react/jsx-runtime");
14010
14205
  var SvgCloudwatch = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14011
14206
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-CloudWatch_64" }),
@@ -14017,7 +14212,7 @@ var SvgCloudwatch = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("s
14017
14212
  var cloudwatch_default = SvgCloudwatch;
14018
14213
 
14019
14214
  // src/components/aws-service-icon/icons/codeartifact.svg
14020
- var React27 = __toESM(require("react"));
14215
+ var React26 = __toESM(require("react"));
14021
14216
  var import_jsx_runtime26 = require("react/jsx-runtime");
14022
14217
  var SvgCodeartifact = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14023
14218
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CodeArtifact_64" }),
@@ -14029,7 +14224,7 @@ var SvgCodeartifact = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
14029
14224
  var codeartifact_default = SvgCodeartifact;
14030
14225
 
14031
14226
  // src/components/aws-service-icon/icons/codebuild.svg
14032
- var React28 = __toESM(require("react"));
14227
+ var React27 = __toESM(require("react"));
14033
14228
  var import_jsx_runtime27 = require("react/jsx-runtime");
14034
14229
  var SvgCodebuild = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14035
14230
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CodeBuild_64" }),
@@ -14041,7 +14236,7 @@ var SvgCodebuild = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("sv
14041
14236
  var codebuild_default = SvgCodebuild;
14042
14237
 
14043
14238
  // src/components/aws-service-icon/icons/codecommit.svg
14044
- var React29 = __toESM(require("react"));
14239
+ var React28 = __toESM(require("react"));
14045
14240
  var import_jsx_runtime28 = require("react/jsx-runtime");
14046
14241
  var SvgCodecommit = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14047
14242
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CodeCommit_64" }),
@@ -14053,7 +14248,7 @@ var SvgCodecommit = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("s
14053
14248
  var codecommit_default = SvgCodecommit;
14054
14249
 
14055
14250
  // src/components/aws-service-icon/icons/codeconnections.svg
14056
- var React30 = __toESM(require("react"));
14251
+ var React29 = __toESM(require("react"));
14057
14252
  var import_jsx_runtime29 = require("react/jsx-runtime");
14058
14253
  var SvgCodeconnections = (props) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14059
14254
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CodeStar_64" }),
@@ -14065,7 +14260,7 @@ var SvgCodeconnections = (props) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx
14065
14260
  var codeconnections_default = SvgCodeconnections;
14066
14261
 
14067
14262
  // src/components/aws-service-icon/icons/codedeploy.svg
14068
- var React31 = __toESM(require("react"));
14263
+ var React30 = __toESM(require("react"));
14069
14264
  var import_jsx_runtime30 = require("react/jsx-runtime");
14070
14265
  var SvgCodedeploy = (props) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14071
14266
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CodeDeploy_64" }),
@@ -14077,7 +14272,7 @@ var SvgCodedeploy = (props) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("s
14077
14272
  var codedeploy_default = SvgCodedeploy;
14078
14273
 
14079
14274
  // src/components/aws-service-icon/icons/codepipeline.svg
14080
- var React32 = __toESM(require("react"));
14275
+ var React31 = __toESM(require("react"));
14081
14276
  var import_jsx_runtime31 = require("react/jsx-runtime");
14082
14277
  var SvgCodepipeline = (props) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14083
14278
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CodePipeline_64" }),
@@ -14089,7 +14284,7 @@ var SvgCodepipeline = (props) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
14089
14284
  var codepipeline_default = SvgCodepipeline;
14090
14285
 
14091
14286
  // src/components/aws-service-icon/icons/codestar-connections.svg
14092
- var React33 = __toESM(require("react"));
14287
+ var React32 = __toESM(require("react"));
14093
14288
  var import_jsx_runtime32 = require("react/jsx-runtime");
14094
14289
  var SvgCodestarConnections = (props) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14095
14290
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-CodeStar_64" }),
@@ -14101,7 +14296,7 @@ var SvgCodestarConnections = (props) => /* @__PURE__ */ (0, import_jsx_runtime32
14101
14296
  var codestar_connections_default = SvgCodestarConnections;
14102
14297
 
14103
14298
  // src/components/aws-service-icon/icons/cognito-identity.svg
14104
- var React34 = __toESM(require("react"));
14299
+ var React33 = __toESM(require("react"));
14105
14300
  var import_jsx_runtime33 = require("react/jsx-runtime");
14106
14301
  var SvgCognitoIdentity = (props) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14107
14302
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Cognito_64" }),
@@ -14113,7 +14308,7 @@ var SvgCognitoIdentity = (props) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx
14113
14308
  var cognito_identity_default = SvgCognitoIdentity;
14114
14309
 
14115
14310
  // src/components/aws-service-icon/icons/cognito-idp.svg
14116
- var React35 = __toESM(require("react"));
14311
+ var React34 = __toESM(require("react"));
14117
14312
  var import_jsx_runtime34 = require("react/jsx-runtime");
14118
14313
  var SvgCognitoIdp = (props) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14119
14314
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Cognito_64" }),
@@ -14125,7 +14320,7 @@ var SvgCognitoIdp = (props) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("s
14125
14320
  var cognito_idp_default = SvgCognitoIdp;
14126
14321
 
14127
14322
  // src/components/aws-service-icon/icons/config.svg
14128
- var React36 = __toESM(require("react"));
14323
+ var React35 = __toESM(require("react"));
14129
14324
  var import_jsx_runtime35 = require("react/jsx-runtime");
14130
14325
  var SvgConfig = (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14131
14326
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Config_16" }),
@@ -14137,7 +14332,7 @@ var SvgConfig = (props) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("svg",
14137
14332
  var config_default = SvgConfig;
14138
14333
 
14139
14334
  // src/components/aws-service-icon/icons/dms.svg
14140
- var React37 = __toESM(require("react"));
14335
+ var React36 = __toESM(require("react"));
14141
14336
  var import_jsx_runtime36 = require("react/jsx-runtime");
14142
14337
  var SvgDms = (props) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14143
14338
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Database-Migration-Service_64" }),
@@ -14149,7 +14344,7 @@ var SvgDms = (props) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("svg", {
14149
14344
  var dms_default = SvgDms;
14150
14345
 
14151
14346
  // src/components/aws-service-icon/icons/docdb.svg
14152
- var React38 = __toESM(require("react"));
14347
+ var React37 = __toESM(require("react"));
14153
14348
  var import_jsx_runtime37 = require("react/jsx-runtime");
14154
14349
  var SvgDocdb = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14155
14350
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-DocumentDB_16" }),
@@ -14161,7 +14356,7 @@ var SvgDocdb = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("svg",
14161
14356
  var docdb_default = SvgDocdb;
14162
14357
 
14163
14358
  // src/components/aws-service-icon/icons/dynamodb.svg
14164
- var React39 = __toESM(require("react"));
14359
+ var React38 = __toESM(require("react"));
14165
14360
  var import_jsx_runtime38 = require("react/jsx-runtime");
14166
14361
  var SvgDynamodb = (props) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14167
14362
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-DynamoDB_64" }),
@@ -14173,7 +14368,7 @@ var SvgDynamodb = (props) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("svg
14173
14368
  var dynamodb_default = SvgDynamodb;
14174
14369
 
14175
14370
  // src/components/aws-service-icon/icons/dynamodbstreams.svg
14176
- var React40 = __toESM(require("react"));
14371
+ var React39 = __toESM(require("react"));
14177
14372
  var import_jsx_runtime39 = require("react/jsx-runtime");
14178
14373
  var SvgDynamodbstreams = (props) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14179
14374
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-DynamoDB_64" }),
@@ -14185,7 +14380,7 @@ var SvgDynamodbstreams = (props) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx
14185
14380
  var dynamodbstreams_default = SvgDynamodbstreams;
14186
14381
 
14187
14382
  // src/components/aws-service-icon/icons/ec2.svg
14188
- var React41 = __toESM(require("react"));
14383
+ var React40 = __toESM(require("react"));
14189
14384
  var import_jsx_runtime40 = require("react/jsx-runtime");
14190
14385
  var SvgEc2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14191
14386
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-EC2_64" }),
@@ -14197,7 +14392,7 @@ var SvgEc2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("svg", {
14197
14392
  var ec2_default = SvgEc2;
14198
14393
 
14199
14394
  // src/components/aws-service-icon/icons/ecr.svg
14200
- var React42 = __toESM(require("react"));
14395
+ var React41 = __toESM(require("react"));
14201
14396
  var import_jsx_runtime41 = require("react/jsx-runtime");
14202
14397
  var SvgEcr = (props) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14203
14398
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Elastic-Container-Registry_64" }),
@@ -14209,7 +14404,7 @@ var SvgEcr = (props) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("svg", {
14209
14404
  var ecr_default = SvgEcr;
14210
14405
 
14211
14406
  // src/components/aws-service-icon/icons/ecs.svg
14212
- var React43 = __toESM(require("react"));
14407
+ var React42 = __toESM(require("react"));
14213
14408
  var import_jsx_runtime42 = require("react/jsx-runtime");
14214
14409
  var SvgEcs = (props) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14215
14410
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Elastic-Container-Service_64" }),
@@ -14221,7 +14416,7 @@ var SvgEcs = (props) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("svg", {
14221
14416
  var ecs_default = SvgEcs;
14222
14417
 
14223
14418
  // src/components/aws-service-icon/icons/efs.svg
14224
- var React44 = __toESM(require("react"));
14419
+ var React43 = __toESM(require("react"));
14225
14420
  var import_jsx_runtime43 = require("react/jsx-runtime");
14226
14421
  var SvgEfs = (props) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14227
14422
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-Elastic-File-System_16" }),
@@ -14233,7 +14428,7 @@ var SvgEfs = (props) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("svg", {
14233
14428
  var efs_default = SvgEfs;
14234
14429
 
14235
14430
  // src/components/aws-service-icon/icons/eks.svg
14236
- var React45 = __toESM(require("react"));
14431
+ var React44 = __toESM(require("react"));
14237
14432
  var import_jsx_runtime44 = require("react/jsx-runtime");
14238
14433
  var SvgEks = (props) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14239
14434
  /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Elastic-Container-Kubernetes_64" }),
@@ -14245,7 +14440,7 @@ var SvgEks = (props) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("svg", {
14245
14440
  var eks_default = SvgEks;
14246
14441
 
14247
14442
  // src/components/aws-service-icon/icons/elasticache.svg
14248
- var React46 = __toESM(require("react"));
14443
+ var React45 = __toESM(require("react"));
14249
14444
  var import_jsx_runtime45 = require("react/jsx-runtime");
14250
14445
  var SvgElasticache = (props) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14251
14446
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-ElastiCache_64" }),
@@ -14257,7 +14452,7 @@ var SvgElasticache = (props) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("
14257
14452
  var elasticache_default = SvgElasticache;
14258
14453
 
14259
14454
  // src/components/aws-service-icon/icons/elasticbeanstalk.svg
14260
- var React47 = __toESM(require("react"));
14455
+ var React46 = __toESM(require("react"));
14261
14456
  var import_jsx_runtime46 = require("react/jsx-runtime");
14262
14457
  var SvgElasticbeanstalk = (props) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14263
14458
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Elastic-Beanstalk_16" }),
@@ -14269,7 +14464,7 @@ var SvgElasticbeanstalk = (props) => /* @__PURE__ */ (0, import_jsx_runtime46.js
14269
14464
  var elasticbeanstalk_default = SvgElasticbeanstalk;
14270
14465
 
14271
14466
  // src/components/aws-service-icon/icons/elasticsearch.svg
14272
- var React48 = __toESM(require("react"));
14467
+ var React47 = __toESM(require("react"));
14273
14468
  var import_jsx_runtime47 = require("react/jsx-runtime");
14274
14469
  var SvgElasticsearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14275
14470
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Elasticsearch-Service_64" }),
@@ -14281,7 +14476,7 @@ var SvgElasticsearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)
14281
14476
  var elasticsearch_default = SvgElasticsearch;
14282
14477
 
14283
14478
  // src/components/aws-service-icon/icons/elastictranscoder.svg
14284
- var React49 = __toESM(require("react"));
14479
+ var React48 = __toESM(require("react"));
14285
14480
  var import_jsx_runtime48 = require("react/jsx-runtime");
14286
14481
  var SvgElastictranscoder = (props) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14287
14482
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Elastic-Transcoder_64" }),
@@ -14293,7 +14488,7 @@ var SvgElastictranscoder = (props) => /* @__PURE__ */ (0, import_jsx_runtime48.j
14293
14488
  var elastictranscoder_default = SvgElastictranscoder;
14294
14489
 
14295
14490
  // src/components/aws-service-icon/icons/elb.svg
14296
- var React50 = __toESM(require("react"));
14491
+ var React49 = __toESM(require("react"));
14297
14492
  var import_jsx_runtime49 = require("react/jsx-runtime");
14298
14493
  var SvgElb = (props) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 40 40", fill: "currentColor", ...props, children: [
14299
14494
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: "Icon-Architecture/32/Arch_Elastic-Load-Balancing_32" }),
@@ -14305,7 +14500,7 @@ var SvgElb = (props) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("svg", {
14305
14500
  var elb_default = SvgElb;
14306
14501
 
14307
14502
  // src/components/aws-service-icon/icons/elbv2.svg
14308
- var React51 = __toESM(require("react"));
14503
+ var React50 = __toESM(require("react"));
14309
14504
  var import_jsx_runtime50 = require("react/jsx-runtime");
14310
14505
  var SvgElbv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 40 40", fill: "currentColor", ...props, children: [
14311
14506
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: "Icon-Architecture/32/Arch_Elastic-Load-Balancing_32" }),
@@ -14317,7 +14512,7 @@ var SvgElbv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("svg",
14317
14512
  var elbv2_default = SvgElbv2;
14318
14513
 
14319
14514
  // src/components/aws-service-icon/icons/emr-serverless.svg
14320
- var React52 = __toESM(require("react"));
14515
+ var React51 = __toESM(require("react"));
14321
14516
  var import_jsx_runtime51 = require("react/jsx-runtime");
14322
14517
  var SvgEmrServerless = (props) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14323
14518
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-EMR_64" }),
@@ -14329,7 +14524,7 @@ var SvgEmrServerless = (props) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)
14329
14524
  var emr_serverless_default = SvgEmrServerless;
14330
14525
 
14331
14526
  // src/components/aws-service-icon/icons/emr.svg
14332
- var React53 = __toESM(require("react"));
14527
+ var React52 = __toESM(require("react"));
14333
14528
  var import_jsx_runtime52 = require("react/jsx-runtime");
14334
14529
  var SvgEmr = (props) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14335
14530
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-EMR_64" }),
@@ -14341,7 +14536,7 @@ var SvgEmr = (props) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("svg", {
14341
14536
  var emr_default = SvgEmr;
14342
14537
 
14343
14538
  // src/components/aws-service-icon/icons/events.svg
14344
- var React54 = __toESM(require("react"));
14539
+ var React53 = __toESM(require("react"));
14345
14540
  var import_jsx_runtime53 = require("react/jsx-runtime");
14346
14541
  var SvgEvents = (props) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14347
14542
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-EventBridge_64" }),
@@ -14353,7 +14548,7 @@ var SvgEvents = (props) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("svg",
14353
14548
  var events_default = SvgEvents;
14354
14549
 
14355
14550
  // src/components/aws-service-icon/icons/firehose.svg
14356
- var React55 = __toESM(require("react"));
14551
+ var React54 = __toESM(require("react"));
14357
14552
  var import_jsx_runtime54 = require("react/jsx-runtime");
14358
14553
  var SvgFirehose = (props) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14359
14554
  /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Kinesis-Firehose_64" }),
@@ -14365,7 +14560,7 @@ var SvgFirehose = (props) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("svg
14365
14560
  var firehose_default = SvgFirehose;
14366
14561
 
14367
14562
  // src/components/aws-service-icon/icons/fis.svg
14368
- var React56 = __toESM(require("react"));
14563
+ var React55 = __toESM(require("react"));
14369
14564
  var import_jsx_runtime55 = require("react/jsx-runtime");
14370
14565
  var SvgFis = (props) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14371
14566
  /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Valkyrie_16" }),
@@ -14377,7 +14572,7 @@ var SvgFis = (props) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("svg", {
14377
14572
  var fis_default = SvgFis;
14378
14573
 
14379
14574
  // src/components/aws-service-icon/icons/glacier.svg
14380
- var React57 = __toESM(require("react"));
14575
+ var React56 = __toESM(require("react"));
14381
14576
  var import_jsx_runtime56 = require("react/jsx-runtime");
14382
14577
  var SvgGlacier = (props) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14383
14578
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Glacier_64" }),
@@ -14389,7 +14584,7 @@ var SvgGlacier = (props) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("svg"
14389
14584
  var glacier_default = SvgGlacier;
14390
14585
 
14391
14586
  // src/components/aws-service-icon/icons/glue.svg
14392
- var React58 = __toESM(require("react"));
14587
+ var React57 = __toESM(require("react"));
14393
14588
  var import_jsx_runtime57 = require("react/jsx-runtime");
14394
14589
  var SvgGlue = (props) => /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14395
14590
  /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Glue_64" }),
@@ -14401,7 +14596,7 @@ var SvgGlue = (props) => /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("svg", {
14401
14596
  var glue_default = SvgGlue;
14402
14597
 
14403
14598
  // src/components/aws-service-icon/icons/iam.svg
14404
- var React59 = __toESM(require("react"));
14599
+ var React58 = __toESM(require("react"));
14405
14600
  var import_jsx_runtime58 = require("react/jsx-runtime");
14406
14601
  var SvgIam = (props) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14407
14602
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Identity-and-Access-Management_64" }),
@@ -14413,7 +14608,7 @@ var SvgIam = (props) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("svg", {
14413
14608
  var iam_default = SvgIam;
14414
14609
 
14415
14610
  // src/components/aws-service-icon/icons/identitystore.svg
14416
- var React60 = __toESM(require("react"));
14611
+ var React59 = __toESM(require("react"));
14417
14612
  var import_jsx_runtime59 = require("react/jsx-runtime");
14418
14613
  var SvgIdentitystore = (props) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14419
14614
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-IAM-Identity-Center_64" }),
@@ -14425,7 +14620,7 @@ var SvgIdentitystore = (props) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)
14425
14620
  var identitystore_default = SvgIdentitystore;
14426
14621
 
14427
14622
  // src/components/aws-service-icon/icons/iot-data.svg
14428
- var React61 = __toESM(require("react"));
14623
+ var React60 = __toESM(require("react"));
14429
14624
  var import_jsx_runtime60 = require("react/jsx-runtime");
14430
14625
  var SvgIotData = (props) => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14431
14626
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-IoT-Core_64" }),
@@ -14437,7 +14632,7 @@ var SvgIotData = (props) => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("svg"
14437
14632
  var iot_data_default = SvgIotData;
14438
14633
 
14439
14634
  // src/components/aws-service-icon/icons/iot.svg
14440
- var React62 = __toESM(require("react"));
14635
+ var React61 = __toESM(require("react"));
14441
14636
  var import_jsx_runtime61 = require("react/jsx-runtime");
14442
14637
  var SvgIot = (props) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14443
14638
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-IoT-Core_64" }),
@@ -14449,7 +14644,7 @@ var SvgIot = (props) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("svg", {
14449
14644
  var iot_default = SvgIot;
14450
14645
 
14451
14646
  // src/components/aws-service-icon/icons/iotanalytics.svg
14452
- var React63 = __toESM(require("react"));
14647
+ var React62 = __toESM(require("react"));
14453
14648
  var import_jsx_runtime62 = require("react/jsx-runtime");
14454
14649
  var SvgIotanalytics = (props) => /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14455
14650
  /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-IoT-Core_64" }),
@@ -14461,7 +14656,7 @@ var SvgIotanalytics = (props) => /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
14461
14656
  var iotanalytics_default = SvgIotanalytics;
14462
14657
 
14463
14658
  // src/components/aws-service-icon/icons/iotwireless.svg
14464
- var React64 = __toESM(require("react"));
14659
+ var React63 = __toESM(require("react"));
14465
14660
  var import_jsx_runtime63 = require("react/jsx-runtime");
14466
14661
  var SvgIotwireless = (props) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14467
14662
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-IoT-Core_64" }),
@@ -14473,7 +14668,7 @@ var SvgIotwireless = (props) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("
14473
14668
  var iotwireless_default = SvgIotwireless;
14474
14669
 
14475
14670
  // src/components/aws-service-icon/icons/kafka.svg
14476
- var React65 = __toESM(require("react"));
14671
+ var React64 = __toESM(require("react"));
14477
14672
  var import_jsx_runtime64 = require("react/jsx-runtime");
14478
14673
  var SvgKafka = (props) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14479
14674
  /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-Managed-Streaming-for-Kafka_16" }),
@@ -14485,7 +14680,7 @@ var SvgKafka = (props) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("svg",
14485
14680
  var kafka_default = SvgKafka;
14486
14681
 
14487
14682
  // src/components/aws-service-icon/icons/kinesis.svg
14488
- var React66 = __toESM(require("react"));
14683
+ var React65 = __toESM(require("react"));
14489
14684
  var import_jsx_runtime65 = require("react/jsx-runtime");
14490
14685
  var SvgKinesis = (props) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14491
14686
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Kinesis_64" }),
@@ -14497,7 +14692,7 @@ var SvgKinesis = (props) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("svg"
14497
14692
  var kinesis_default = SvgKinesis;
14498
14693
 
14499
14694
  // src/components/aws-service-icon/icons/kinesisanalytics.svg
14500
- var React67 = __toESM(require("react"));
14695
+ var React66 = __toESM(require("react"));
14501
14696
  var import_jsx_runtime66 = require("react/jsx-runtime");
14502
14697
  var SvgKinesisanalytics = (props) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14503
14698
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Kinesis_64" }),
@@ -14509,7 +14704,7 @@ var SvgKinesisanalytics = (props) => /* @__PURE__ */ (0, import_jsx_runtime66.js
14509
14704
  var kinesisanalytics_default = SvgKinesisanalytics;
14510
14705
 
14511
14706
  // src/components/aws-service-icon/icons/kinesisanalyticsv2.svg
14512
- var React68 = __toESM(require("react"));
14707
+ var React67 = __toESM(require("react"));
14513
14708
  var import_jsx_runtime67 = require("react/jsx-runtime");
14514
14709
  var SvgKinesisanalyticsv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14515
14710
  /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Kinesis_64" }),
@@ -14521,7 +14716,7 @@ var SvgKinesisanalyticsv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime67.
14521
14716
  var kinesisanalyticsv2_default = SvgKinesisanalyticsv2;
14522
14717
 
14523
14718
  // src/components/aws-service-icon/icons/kms.svg
14524
- var React69 = __toESM(require("react"));
14719
+ var React68 = __toESM(require("react"));
14525
14720
  var import_jsx_runtime68 = require("react/jsx-runtime");
14526
14721
  var SvgKms = (props) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14527
14722
  /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Key-Management-Services_64" }),
@@ -14533,7 +14728,7 @@ var SvgKms = (props) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("svg", {
14533
14728
  var kms_default = SvgKms;
14534
14729
 
14535
14730
  // src/components/aws-service-icon/icons/lakeformation.svg
14536
- var React70 = __toESM(require("react"));
14731
+ var React69 = __toESM(require("react"));
14537
14732
  var import_jsx_runtime69 = require("react/jsx-runtime");
14538
14733
  var SvgLakeformation = (props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14539
14734
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Lake-Formation_16" }),
@@ -14545,7 +14740,7 @@ var SvgLakeformation = (props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)
14545
14740
  var lakeformation_default = SvgLakeformation;
14546
14741
 
14547
14742
  // src/components/aws-service-icon/icons/lambda.svg
14548
- var React71 = __toESM(require("react"));
14743
+ var React70 = __toESM(require("react"));
14549
14744
  var import_jsx_runtime70 = require("react/jsx-runtime");
14550
14745
  var SvgLambda = (props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14551
14746
  /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Lambda_64" }),
@@ -14557,7 +14752,7 @@ var SvgLambda = (props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("svg",
14557
14752
  var lambda_default = SvgLambda;
14558
14753
 
14559
14754
  // src/components/aws-service-icon/icons/logs.svg
14560
- var React72 = __toESM(require("react"));
14755
+ var React71 = __toESM(require("react"));
14561
14756
  var import_jsx_runtime71 = require("react/jsx-runtime");
14562
14757
  var SvgLogs = (props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14563
14758
  /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-CloudWatch_64" }),
@@ -14569,7 +14764,7 @@ var SvgLogs = (props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("svg", {
14569
14764
  var logs_default = SvgLogs;
14570
14765
 
14571
14766
  // src/components/aws-service-icon/icons/managedblockchain.svg
14572
- var React73 = __toESM(require("react"));
14767
+ var React72 = __toESM(require("react"));
14573
14768
  var import_jsx_runtime72 = require("react/jsx-runtime");
14574
14769
  var SvgManagedblockchain = (props) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14575
14770
  /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Managed-Blockchain_64" }),
@@ -14581,7 +14776,7 @@ var SvgManagedblockchain = (props) => /* @__PURE__ */ (0, import_jsx_runtime72.j
14581
14776
  var managedblockchain_default = SvgManagedblockchain;
14582
14777
 
14583
14778
  // src/components/aws-service-icon/icons/mediaconvert.svg
14584
- var React74 = __toESM(require("react"));
14779
+ var React73 = __toESM(require("react"));
14585
14780
  var import_jsx_runtime73 = require("react/jsx-runtime");
14586
14781
  var SvgMediaconvert = (props) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14587
14782
  /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Elemental-MediaConvert_64" }),
@@ -14593,7 +14788,7 @@ var SvgMediaconvert = (props) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
14593
14788
  var mediaconvert_default = SvgMediaconvert;
14594
14789
 
14595
14790
  // src/components/aws-service-icon/icons/mediastore-data.svg
14596
- var React75 = __toESM(require("react"));
14791
+ var React74 = __toESM(require("react"));
14597
14792
  var import_jsx_runtime74 = require("react/jsx-runtime");
14598
14793
  var SvgMediastoreData = (props) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14599
14794
  /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Elemental-MediaStore_16" }),
@@ -14605,7 +14800,7 @@ var SvgMediastoreData = (props) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs
14605
14800
  var mediastore_data_default = SvgMediastoreData;
14606
14801
 
14607
14802
  // src/components/aws-service-icon/icons/mediastore.svg
14608
- var React76 = __toESM(require("react"));
14803
+ var React75 = __toESM(require("react"));
14609
14804
  var import_jsx_runtime75 = require("react/jsx-runtime");
14610
14805
  var SvgMediastore = (props) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14611
14806
  /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Elemental-MediaStore_16" }),
@@ -14617,7 +14812,7 @@ var SvgMediastore = (props) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("s
14617
14812
  var mediastore_default = SvgMediastore;
14618
14813
 
14619
14814
  // src/components/aws-service-icon/icons/memorydb.svg
14620
- var React77 = __toESM(require("react"));
14815
+ var React76 = __toESM(require("react"));
14621
14816
  var import_jsx_runtime76 = require("react/jsx-runtime");
14622
14817
  var SvgMemorydb = (props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14623
14818
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-MemoryDB-for-Redis_64" }),
@@ -14629,7 +14824,7 @@ var SvgMemorydb = (props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("svg
14629
14824
  var memorydb_default = SvgMemorydb;
14630
14825
 
14631
14826
  // src/components/aws-service-icon/icons/mq.svg
14632
- var React78 = __toESM(require("react"));
14827
+ var React77 = __toESM(require("react"));
14633
14828
  var import_jsx_runtime77 = require("react/jsx-runtime");
14634
14829
  var SvgMq = (props) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14635
14830
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-MQ_16" }),
@@ -14641,7 +14836,7 @@ var SvgMq = (props) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("svg", { x
14641
14836
  var mq_default = SvgMq;
14642
14837
 
14643
14838
  // src/components/aws-service-icon/icons/mwaa.svg
14644
- var React79 = __toESM(require("react"));
14839
+ var React78 = __toESM(require("react"));
14645
14840
  var import_jsx_runtime78 = require("react/jsx-runtime");
14646
14841
  var SvgMwaa = (props) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14647
14842
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("title", { children: "Icon-Architecture/16/Arch_CN-Pinwheel_16" }),
@@ -14653,7 +14848,7 @@ var SvgMwaa = (props) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("svg", {
14653
14848
  var mwaa_default = SvgMwaa;
14654
14849
 
14655
14850
  // src/components/aws-service-icon/icons/neptune.svg
14656
- var React80 = __toESM(require("react"));
14851
+ var React79 = __toESM(require("react"));
14657
14852
  var import_jsx_runtime79 = require("react/jsx-runtime");
14658
14853
  var SvgNeptune = (props) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14659
14854
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-Neptune_16" }),
@@ -14665,7 +14860,7 @@ var SvgNeptune = (props) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("svg"
14665
14860
  var neptune_default = SvgNeptune;
14666
14861
 
14667
14862
  // src/components/aws-service-icon/icons/opensearch.svg
14668
- var React81 = __toESM(require("react"));
14863
+ var React80 = __toESM(require("react"));
14669
14864
  var import_jsx_runtime80 = require("react/jsx-runtime");
14670
14865
  var SvgOpensearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14671
14866
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Elasticsearch-Service_64" }),
@@ -14677,7 +14872,7 @@ var SvgOpensearch = (props) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("s
14677
14872
  var opensearch_default = SvgOpensearch;
14678
14873
 
14679
14874
  // src/components/aws-service-icon/icons/organizations.svg
14680
- var React82 = __toESM(require("react"));
14875
+ var React81 = __toESM(require("react"));
14681
14876
  var import_jsx_runtime81 = require("react/jsx-runtime");
14682
14877
  var SvgOrganizations = (props) => /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14683
14878
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Organizations_16" }),
@@ -14689,7 +14884,7 @@ var SvgOrganizations = (props) => /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)
14689
14884
  var organizations_default = SvgOrganizations;
14690
14885
 
14691
14886
  // src/components/aws-service-icon/icons/pinpoint.svg
14692
- var React83 = __toESM(require("react"));
14887
+ var React82 = __toESM(require("react"));
14693
14888
  var import_jsx_runtime82 = require("react/jsx-runtime");
14694
14889
  var SvgPinpoint = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14695
14890
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Pinpoint-APIs_64" }),
@@ -14701,7 +14896,7 @@ var SvgPinpoint = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("svg
14701
14896
  var pinpoint_default = SvgPinpoint;
14702
14897
 
14703
14898
  // src/components/aws-service-icon/icons/pipes.svg
14704
- var React84 = __toESM(require("react"));
14899
+ var React83 = __toESM(require("react"));
14705
14900
  var import_jsx_runtime83 = require("react/jsx-runtime");
14706
14901
  var SvgPipes = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14707
14902
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-EventBridge_64" }),
@@ -14713,7 +14908,7 @@ var SvgPipes = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("svg",
14713
14908
  var pipes_default = SvgPipes;
14714
14909
 
14715
14910
  // src/components/aws-service-icon/icons/qldb-session.svg
14716
- var React85 = __toESM(require("react"));
14911
+ var React84 = __toESM(require("react"));
14717
14912
  var import_jsx_runtime84 = require("react/jsx-runtime");
14718
14913
  var SvgQldbSession = (props) => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14719
14914
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Quantum-Ledger-Database_64" }),
@@ -14725,7 +14920,7 @@ var SvgQldbSession = (props) => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("
14725
14920
  var qldb_session_default = SvgQldbSession;
14726
14921
 
14727
14922
  // src/components/aws-service-icon/icons/qldb.svg
14728
- var React86 = __toESM(require("react"));
14923
+ var React85 = __toESM(require("react"));
14729
14924
  var import_jsx_runtime85 = require("react/jsx-runtime");
14730
14925
  var SvgQldb = (props) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14731
14926
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Quantum-Ledger-Database_64" }),
@@ -14737,7 +14932,7 @@ var SvgQldb = (props) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("svg", {
14737
14932
  var qldb_default = SvgQldb;
14738
14933
 
14739
14934
  // src/components/aws-service-icon/icons/ram.svg
14740
- var React87 = __toESM(require("react"));
14935
+ var React86 = __toESM(require("react"));
14741
14936
  var import_jsx_runtime86 = require("react/jsx-runtime");
14742
14937
  var SvgRam = (props) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14743
14938
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Resource-Access-Manager_64" }),
@@ -14749,7 +14944,7 @@ var SvgRam = (props) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("svg", {
14749
14944
  var ram_default = SvgRam;
14750
14945
 
14751
14946
  // src/components/aws-service-icon/icons/rds-data.svg
14752
- var React88 = __toESM(require("react"));
14947
+ var React87 = __toESM(require("react"));
14753
14948
  var import_jsx_runtime87 = require("react/jsx-runtime");
14754
14949
  var SvgRdsData = (props) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14755
14950
  /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-RDS_64" }),
@@ -14761,7 +14956,7 @@ var SvgRdsData = (props) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("svg"
14761
14956
  var rds_data_default = SvgRdsData;
14762
14957
 
14763
14958
  // src/components/aws-service-icon/icons/rds.svg
14764
- var React89 = __toESM(require("react"));
14959
+ var React88 = __toESM(require("react"));
14765
14960
  var import_jsx_runtime88 = require("react/jsx-runtime");
14766
14961
  var SvgRds = (props) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14767
14962
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-RDS_64" }),
@@ -14773,7 +14968,7 @@ var SvgRds = (props) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("svg", {
14773
14968
  var rds_default = SvgRds;
14774
14969
 
14775
14970
  // src/components/aws-service-icon/icons/redshift-data.svg
14776
- var React90 = __toESM(require("react"));
14971
+ var React89 = __toESM(require("react"));
14777
14972
  var import_jsx_runtime89 = require("react/jsx-runtime");
14778
14973
  var SvgRedshiftData = (props) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14779
14974
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Redshiftct_64" }),
@@ -14785,7 +14980,7 @@ var SvgRedshiftData = (props) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
14785
14980
  var redshift_data_default = SvgRedshiftData;
14786
14981
 
14787
14982
  // src/components/aws-service-icon/icons/redshift.svg
14788
- var React91 = __toESM(require("react"));
14983
+ var React90 = __toESM(require("react"));
14789
14984
  var import_jsx_runtime90 = require("react/jsx-runtime");
14790
14985
  var SvgRedshift = (props) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14791
14986
  /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Redshiftct_64" }),
@@ -14797,7 +14992,7 @@ var SvgRedshift = (props) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("svg
14797
14992
  var redshift_default = SvgRedshift;
14798
14993
 
14799
14994
  // src/components/aws-service-icon/icons/resource-groups.svg
14800
- var React92 = __toESM(require("react"));
14995
+ var React91 = __toESM(require("react"));
14801
14996
  var import_jsx_runtime91 = require("react/jsx-runtime");
14802
14997
  var SvgResourceGroups = (props) => /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14803
14998
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Service-Catalog_16" }),
@@ -14809,7 +15004,7 @@ var SvgResourceGroups = (props) => /* @__PURE__ */ (0, import_jsx_runtime91.jsxs
14809
15004
  var resource_groups_default = SvgResourceGroups;
14810
15005
 
14811
15006
  // src/components/aws-service-icon/icons/resourcegroupstaggingapi.svg
14812
- var React93 = __toESM(require("react"));
15007
+ var React92 = __toESM(require("react"));
14813
15008
  var import_jsx_runtime92 = require("react/jsx-runtime");
14814
15009
  var SvgResourcegroupstaggingapi = (props) => /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14815
15010
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Service-Catalog_16" }),
@@ -14821,7 +15016,7 @@ var SvgResourcegroupstaggingapi = (props) => /* @__PURE__ */ (0, import_jsx_runt
14821
15016
  var resourcegroupstaggingapi_default = SvgResourcegroupstaggingapi;
14822
15017
 
14823
15018
  // src/components/aws-service-icon/icons/route53.svg
14824
- var React94 = __toESM(require("react"));
15019
+ var React93 = __toESM(require("react"));
14825
15020
  var import_jsx_runtime93 = require("react/jsx-runtime");
14826
15021
  var SvgRoute53 = (props) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14827
15022
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-Route-53_16" }),
@@ -14833,7 +15028,7 @@ var SvgRoute53 = (props) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("svg"
14833
15028
  var route53_default = SvgRoute53;
14834
15029
 
14835
15030
  // src/components/aws-service-icon/icons/route53resolver.svg
14836
- var React95 = __toESM(require("react"));
15031
+ var React94 = __toESM(require("react"));
14837
15032
  var import_jsx_runtime94 = require("react/jsx-runtime");
14838
15033
  var SvgRoute53Resolver = (props) => /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14839
15034
  /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-Route-53_16" }),
@@ -14845,7 +15040,7 @@ var SvgRoute53Resolver = (props) => /* @__PURE__ */ (0, import_jsx_runtime94.jsx
14845
15040
  var route53resolver_default = SvgRoute53Resolver;
14846
15041
 
14847
15042
  // src/components/aws-service-icon/icons/s3.svg
14848
- var React96 = __toESM(require("react"));
15043
+ var React95 = __toESM(require("react"));
14849
15044
  var import_jsx_runtime95 = require("react/jsx-runtime");
14850
15045
  var SvgS3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14851
15046
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Simple-Storage-Service_64" }),
@@ -14857,7 +15052,7 @@ var SvgS3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("svg", { x
14857
15052
  var s3_default = SvgS3;
14858
15053
 
14859
15054
  // src/components/aws-service-icon/icons/s3control.svg
14860
- var React97 = __toESM(require("react"));
15055
+ var React96 = __toESM(require("react"));
14861
15056
  var import_jsx_runtime96 = require("react/jsx-runtime");
14862
15057
  var SvgS3Control = (props) => /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14863
15058
  /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Simple-Storage-Service_64" }),
@@ -14869,7 +15064,7 @@ var SvgS3Control = (props) => /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("sv
14869
15064
  var s3control_default = SvgS3Control;
14870
15065
 
14871
15066
  // src/components/aws-service-icon/icons/sagemaker-runtime.svg
14872
- var React98 = __toESM(require("react"));
15067
+ var React97 = __toESM(require("react"));
14873
15068
  var import_jsx_runtime97 = require("react/jsx-runtime");
14874
15069
  var SvgSagemakerRuntime = (props) => /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14875
15070
  /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-SageMaker_64" }),
@@ -14881,7 +15076,7 @@ var SvgSagemakerRuntime = (props) => /* @__PURE__ */ (0, import_jsx_runtime97.js
14881
15076
  var sagemaker_runtime_default = SvgSagemakerRuntime;
14882
15077
 
14883
15078
  // src/components/aws-service-icon/icons/sagemaker.svg
14884
- var React99 = __toESM(require("react"));
15079
+ var React98 = __toESM(require("react"));
14885
15080
  var import_jsx_runtime98 = require("react/jsx-runtime");
14886
15081
  var SvgSagemaker = (props) => /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14887
15082
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-SageMaker_64" }),
@@ -14893,7 +15088,7 @@ var SvgSagemaker = (props) => /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("sv
14893
15088
  var sagemaker_default = SvgSagemaker;
14894
15089
 
14895
15090
  // src/components/aws-service-icon/icons/scheduler.svg
14896
- var React100 = __toESM(require("react"));
15091
+ var React99 = __toESM(require("react"));
14897
15092
  var import_jsx_runtime99 = require("react/jsx-runtime");
14898
15093
  var SvgScheduler = (props) => /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", fill: "currentColor", ...props, children: [
14899
15094
  /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("title", { children: "Icon-Resource/Application-Integration/Res_Amazon-EventBridge_Scheduler_48" }),
@@ -14902,7 +15097,7 @@ var SvgScheduler = (props) => /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("sv
14902
15097
  var scheduler_default = SvgScheduler;
14903
15098
 
14904
15099
  // src/components/aws-service-icon/icons/secretsmanager.svg
14905
- var React101 = __toESM(require("react"));
15100
+ var React100 = __toESM(require("react"));
14906
15101
  var import_jsx_runtime100 = require("react/jsx-runtime");
14907
15102
  var SvgSecretsmanager = (props) => /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14908
15103
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Secrets-Manager_64" }),
@@ -14914,7 +15109,7 @@ var SvgSecretsmanager = (props) => /* @__PURE__ */ (0, import_jsx_runtime100.jsx
14914
15109
  var secretsmanager_default = SvgSecretsmanager;
14915
15110
 
14916
15111
  // src/components/aws-service-icon/icons/serverlessrepo.svg
14917
- var React102 = __toESM(require("react"));
15112
+ var React101 = __toESM(require("react"));
14918
15113
  var import_jsx_runtime101 = require("react/jsx-runtime");
14919
15114
  var SvgServerlessrepo = (props) => /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14920
15115
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Serverless-Application-Repository_16" }),
@@ -14926,7 +15121,7 @@ var SvgServerlessrepo = (props) => /* @__PURE__ */ (0, import_jsx_runtime101.jsx
14926
15121
  var serverlessrepo_default = SvgServerlessrepo;
14927
15122
 
14928
15123
  // src/components/aws-service-icon/icons/servicediscovery.svg
14929
- var React103 = __toESM(require("react"));
15124
+ var React102 = __toESM(require("react"));
14930
15125
  var import_jsx_runtime102 = require("react/jsx-runtime");
14931
15126
  var SvgServicediscovery = (props) => /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
14932
15127
  /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Application-Discovery-Service_16" }),
@@ -14938,7 +15133,7 @@ var SvgServicediscovery = (props) => /* @__PURE__ */ (0, import_jsx_runtime102.j
14938
15133
  var servicediscovery_default = SvgServicediscovery;
14939
15134
 
14940
15135
  // src/components/aws-service-icon/icons/ses.svg
14941
- var React104 = __toESM(require("react"));
15136
+ var React103 = __toESM(require("react"));
14942
15137
  var import_jsx_runtime103 = require("react/jsx-runtime");
14943
15138
  var SvgSes = (props) => /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14944
15139
  /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Simple-Email-Service_64" }),
@@ -14950,7 +15145,7 @@ var SvgSes = (props) => /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("svg", {
14950
15145
  var ses_default = SvgSes;
14951
15146
 
14952
15147
  // src/components/aws-service-icon/icons/sesv2.svg
14953
- var React105 = __toESM(require("react"));
15148
+ var React104 = __toESM(require("react"));
14954
15149
  var import_jsx_runtime104 = require("react/jsx-runtime");
14955
15150
  var SvgSesv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14956
15151
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Simple-Email-Service_64" }),
@@ -14962,7 +15157,7 @@ var SvgSesv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("svg",
14962
15157
  var sesv2_default = SvgSesv2;
14963
15158
 
14964
15159
  // src/components/aws-service-icon/icons/shield.svg
14965
- var React106 = __toESM(require("react"));
15160
+ var React105 = __toESM(require("react"));
14966
15161
  var import_jsx_runtime105 = require("react/jsx-runtime");
14967
15162
  var SvgShield = (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14968
15163
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Shield_64" }),
@@ -14974,7 +15169,7 @@ var SvgShield = (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("svg"
14974
15169
  var shield_default = SvgShield;
14975
15170
 
14976
15171
  // src/components/aws-service-icon/icons/sns.svg
14977
- var React107 = __toESM(require("react"));
15172
+ var React106 = __toESM(require("react"));
14978
15173
  var import_jsx_runtime106 = require("react/jsx-runtime");
14979
15174
  var SvgSns = (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14980
15175
  /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Simple-Notification-Service_64" }),
@@ -14986,7 +15181,7 @@ var SvgSns = (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("svg", {
14986
15181
  var sns_default = SvgSns;
14987
15182
 
14988
15183
  // src/components/aws-service-icon/icons/sqs.svg
14989
- var React108 = __toESM(require("react"));
15184
+ var React107 = __toESM(require("react"));
14990
15185
  var import_jsx_runtime107 = require("react/jsx-runtime");
14991
15186
  var SvgSqs = (props) => /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
14992
15187
  /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Simple-Queue-Service_64" }),
@@ -14998,7 +15193,7 @@ var SvgSqs = (props) => /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("svg", {
14998
15193
  var sqs_default = SvgSqs;
14999
15194
 
15000
15195
  // src/components/aws-service-icon/icons/ssm.svg
15001
- var React109 = __toESM(require("react"));
15196
+ var React108 = __toESM(require("react"));
15002
15197
  var import_jsx_runtime108 = require("react/jsx-runtime");
15003
15198
  var SvgSsm = (props) => /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15004
15199
  /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Systems-Manager_64" }),
@@ -15010,7 +15205,7 @@ var SvgSsm = (props) => /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("svg", {
15010
15205
  var ssm_default = SvgSsm;
15011
15206
 
15012
15207
  // src/components/aws-service-icon/icons/sso-admin.svg
15013
- var React110 = __toESM(require("react"));
15208
+ var React109 = __toESM(require("react"));
15014
15209
  var import_jsx_runtime109 = require("react/jsx-runtime");
15015
15210
  var SvgSsoAdmin = (props) => /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15016
15211
  /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-IAM-Identity-Center_64" }),
@@ -15022,7 +15217,7 @@ var SvgSsoAdmin = (props) => /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("sv
15022
15217
  var sso_admin_default = SvgSsoAdmin;
15023
15218
 
15024
15219
  // src/components/aws-service-icon/icons/stepfunctions.svg
15025
- var React111 = __toESM(require("react"));
15220
+ var React110 = __toESM(require("react"));
15026
15221
  var import_jsx_runtime110 = require("react/jsx-runtime");
15027
15222
  var SvgStepfunctions = (props) => /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15028
15223
  /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-Step-Functions_64" }),
@@ -15034,7 +15229,7 @@ var SvgStepfunctions = (props) => /* @__PURE__ */ (0, import_jsx_runtime110.jsxs
15034
15229
  var stepfunctions_default = SvgStepfunctions;
15035
15230
 
15036
15231
  // src/components/aws-service-icon/icons/sts.svg
15037
- var React112 = __toESM(require("react"));
15232
+ var React111 = __toESM(require("react"));
15038
15233
  var import_jsx_runtime111 = require("react/jsx-runtime");
15039
15234
  var SvgSts = (props) => /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", fill: "currentColor", ...props, children: [
15040
15235
  /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("title", { children: "Icon-Resource/General-Resource/Res_SAML-token_48_Light" }),
@@ -15043,7 +15238,7 @@ var SvgSts = (props) => /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("svg", {
15043
15238
  var sts_default = SvgSts;
15044
15239
 
15045
15240
  // src/components/aws-service-icon/icons/support.svg
15046
- var React113 = __toESM(require("react"));
15241
+ var React112 = __toESM(require("react"));
15047
15242
  var import_jsx_runtime112 = require("react/jsx-runtime");
15048
15243
  var SvgSupport = (props) => /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
15049
15244
  /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Support_16" }),
@@ -15055,7 +15250,7 @@ var SvgSupport = (props) => /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("svg
15055
15250
  var support_default = SvgSupport;
15056
15251
 
15057
15252
  // src/components/aws-service-icon/icons/swf.svg
15058
- var React114 = __toESM(require("react"));
15253
+ var React113 = __toESM(require("react"));
15059
15254
  var import_jsx_runtime113 = require("react/jsx-runtime");
15060
15255
  var SvgSwf = (props) => /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
15061
15256
  /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Step-Functions_16" }),
@@ -15067,7 +15262,7 @@ var SvgSwf = (props) => /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("svg", {
15067
15262
  var swf_default = SvgSwf;
15068
15263
 
15069
15264
  // src/components/aws-service-icon/icons/textract.svg
15070
- var React115 = __toESM(require("react"));
15265
+ var React114 = __toESM(require("react"));
15071
15266
  var import_jsx_runtime114 = require("react/jsx-runtime");
15072
15267
  var SvgTextract = (props) => /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15073
15268
  /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Textract_64" }),
@@ -15079,7 +15274,7 @@ var SvgTextract = (props) => /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)("sv
15079
15274
  var textract_default = SvgTextract;
15080
15275
 
15081
15276
  // src/components/aws-service-icon/icons/timestream-query.svg
15082
- var React116 = __toESM(require("react"));
15277
+ var React115 = __toESM(require("react"));
15083
15278
  var import_jsx_runtime115 = require("react/jsx-runtime");
15084
15279
  var SvgTimestreamQuery = (props) => /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15085
15280
  /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Timestream_64" }),
@@ -15091,7 +15286,7 @@ var SvgTimestreamQuery = (props) => /* @__PURE__ */ (0, import_jsx_runtime115.js
15091
15286
  var timestream_query_default = SvgTimestreamQuery;
15092
15287
 
15093
15288
  // src/components/aws-service-icon/icons/timestream-write.svg
15094
- var React117 = __toESM(require("react"));
15289
+ var React116 = __toESM(require("react"));
15095
15290
  var import_jsx_runtime116 = require("react/jsx-runtime");
15096
15291
  var SvgTimestreamWrite = (props) => /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15097
15292
  /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Timestream_64" }),
@@ -15103,7 +15298,7 @@ var SvgTimestreamWrite = (props) => /* @__PURE__ */ (0, import_jsx_runtime116.js
15103
15298
  var timestream_write_default = SvgTimestreamWrite;
15104
15299
 
15105
15300
  // src/components/aws-service-icon/icons/transcribe.svg
15106
- var React118 = __toESM(require("react"));
15301
+ var React117 = __toESM(require("react"));
15107
15302
  var import_jsx_runtime117 = require("react/jsx-runtime");
15108
15303
  var SvgTranscribe = (props) => /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
15109
15304
  /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("title", { children: "Icon-Architecture/16/Arch_Amazon-Transcribe_16" }),
@@ -15115,7 +15310,7 @@ var SvgTranscribe = (props) => /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("
15115
15310
  var transcribe_default = SvgTranscribe;
15116
15311
 
15117
15312
  // src/components/aws-service-icon/icons/transfer.svg
15118
- var React119 = __toESM(require("react"));
15313
+ var React118 = __toESM(require("react"));
15119
15314
  var import_jsx_runtime118 = require("react/jsx-runtime");
15120
15315
  var SvgTransfer = (props) => /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: [
15121
15316
  /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("title", { children: "Icon-Architecture/16/Arch_AWS-Transfer-Family_16" }),
@@ -15127,7 +15322,7 @@ var SvgTransfer = (props) => /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("sv
15127
15322
  var transfer_default = SvgTransfer;
15128
15323
 
15129
15324
  // src/components/aws-service-icon/icons/verifiedpermissions.svg
15130
- var React120 = __toESM(require("react"));
15325
+ var React119 = __toESM(require("react"));
15131
15326
  var import_jsx_runtime119 = require("react/jsx-runtime");
15132
15327
  var SvgVerifiedpermissions = (props) => /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15133
15328
  /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("title", { children: "Icon-Architecture/64/Arch_Amazon-Verified-Permissions_64" }),
@@ -15139,7 +15334,7 @@ var SvgVerifiedpermissions = (props) => /* @__PURE__ */ (0, import_jsx_runtime11
15139
15334
  var verifiedpermissions_default = SvgVerifiedpermissions;
15140
15335
 
15141
15336
  // src/components/aws-service-icon/icons/wafv2.svg
15142
- var React121 = __toESM(require("react"));
15337
+ var React120 = __toESM(require("react"));
15143
15338
  var import_jsx_runtime120 = require("react/jsx-runtime");
15144
15339
  var SvgWafv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15145
15340
  /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-WAF_64" }),
@@ -15151,7 +15346,7 @@ var SvgWafv2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("svg",
15151
15346
  var wafv2_default = SvgWafv2;
15152
15347
 
15153
15348
  // src/components/aws-service-icon/icons/xray.svg
15154
- var React122 = __toESM(require("react"));
15349
+ var React121 = __toESM(require("react"));
15155
15350
  var import_jsx_runtime121 = require("react/jsx-runtime");
15156
15351
  var SvgXray = (props) => /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 80 80", fill: "currentColor", ...props, children: [
15157
15352
  /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("title", { children: "Icon-Architecture/64/Arch_AWS-X-Ray_64" }),
@@ -15267,274 +15462,96 @@ var ICONS_MAP = {
15267
15462
  [SERVICE_NAME.SERVICEDISCOVERY]: servicediscovery_default,
15268
15463
  [SERVICE_NAME.SES]: ses_default,
15269
15464
  [SERVICE_NAME.SESV2]: sesv2_default,
15270
- [SERVICE_NAME.SHIELD]: shield_default,
15271
- [SERVICE_NAME.SNS]: sns_default,
15272
- [SERVICE_NAME.SQS]: sqs_default,
15273
- [SERVICE_NAME.SSM]: ssm_default,
15274
- [SERVICE_NAME.SSOADMIN]: sso_admin_default,
15275
- [SERVICE_NAME.STEPFUNCTIONS]: stepfunctions_default,
15276
- [SERVICE_NAME.STS]: sts_default,
15277
- [SERVICE_NAME.SUPPORT]: support_default,
15278
- [SERVICE_NAME.SWF]: swf_default,
15279
- [SERVICE_NAME.TEXTRACT]: textract_default,
15280
- [SERVICE_NAME.TIMESTREAMQUERY]: timestream_query_default,
15281
- [SERVICE_NAME.TIMESTREAMWRITE]: timestream_write_default,
15282
- [SERVICE_NAME.TRANSCRIBE]: transcribe_default,
15283
- [SERVICE_NAME.TRANSFER]: transfer_default,
15284
- [SERVICE_NAME.VERIFIEDPERMISSIONS]: verifiedpermissions_default,
15285
- [SERVICE_NAME.WAFV2]: wafv2_default,
15286
- [SERVICE_NAME.XRAY]: xray_default
15287
- };
15288
- var AwsServiceIconBase = (0, import_react33.memo)((props) => {
15289
- const Icon = ICONS_MAP[props.service];
15290
- return Icon ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Icon, { ...props }) : null;
15291
- });
15292
- var supportedServiceNames = Object.keys(ICONS_MAP);
15293
- var getServiceIconComponent = (service) => ICONS_MAP[service];
15294
-
15295
- // src/components/aws-service-icon/aws-service-icon.tsx
15296
- var import_jsx_runtime123 = require("react/jsx-runtime");
15297
- var sizes = { large: [32, 32], medium: [22, 22], small: [11, 11] };
15298
- var AwsServiceIcon = (0, import_react34.memo)(({ hideTooltip, service, size = "medium", title }) => {
15299
- const [width, height] = sizes[size];
15300
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
15301
- WrapInComponent,
15302
- {
15303
- wrap: !hideTooltip,
15304
- wrapperFn: (child) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material3.Tooltip, { placement: "top", title: title ?? service, children: child }),
15305
- children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(AwsServiceIconBase, { height, service, style: { display: "block" }, width })
15306
- }
15307
- );
15308
- });
15309
-
15310
- // src/components/cells/service-cell.tsx
15311
- var import_jsx_runtime124 = require("react/jsx-runtime");
15312
- var ServiceCell = (0, import_react35.memo)(({
15313
- resource,
15314
- selected,
15315
- service,
15316
- showIcon = true
15317
- }) => {
15318
- const theme = (0, import_material4.useTheme)();
15319
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material4.Box, { sx: { ml: -1, width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
15320
- import_material4.Box,
15321
- {
15322
- sx: {
15323
- alignItems: "center",
15324
- borderRadius: 1,
15325
- display: "inline-flex",
15326
- gap: "8px",
15327
- maxWidth: "100%",
15328
- outline: selected ? `2px solid ${theme.palette.primary.main}` : "none",
15329
- overflow: "hidden",
15330
- px: "8px",
15331
- py: "4px"
15332
- },
15333
- children: [
15334
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material4.Box, { sx: { borderRadius: "4px", flexShrink: 0, lineHeight: 0, overflow: "hidden" }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(AwsServiceIcon, { hideTooltip: true, service, size: "medium" }) }),
15335
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material4.Stack, { sx: { minWidth: 0 }, children: [
15336
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material4.Typography, { noWrap: true, sx: { fontWeight: 700, lineHeight: 1.25 }, variant: "body2", children: getServiceDisplayName(service) }),
15337
- resource ? /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
15338
- import_material4.Typography,
15339
- {
15340
- color: "text.secondary",
15341
- "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID,
15342
- noWrap: true,
15343
- sx: { lineHeight: 1.2 },
15344
- variant: "caption",
15345
- children: resource
15346
- }
15347
- ) : void 0
15348
- ] })
15349
- ]
15350
- }
15351
- ) });
15352
- });
15353
- ServiceCell.displayName = "ServiceCell";
15354
-
15355
- // src/components/cells/status-cell.tsx
15356
- var import_icons_material2 = require("@mui/icons-material");
15357
- var import_material5 = require("@mui/material");
15358
-
15359
- // src/utils/iam-utils.ts
15360
- function determinePermissionStatus(payload) {
15361
- if (payload.explicit_deny_count && payload.explicit_deny_count > 0) {
15362
- return "explicitly_denied";
15363
- }
15364
- if (payload.is_allowed) {
15365
- return "explicitly_allowed";
15366
- }
15367
- return "implicitly_denied";
15368
- }
15369
- function formatPermissionStatus(status) {
15370
- switch (status) {
15371
- case "explicitly_allowed": {
15372
- return "Explicitly Allowed";
15373
- }
15374
- case "explicitly_denied": {
15375
- return "Explicitly Denied";
15376
- }
15377
- case "implicitly_denied": {
15378
- return "Implicitly Denied";
15379
- }
15380
- }
15381
- }
15382
- function getPermissionStatusColor(status) {
15383
- switch (status) {
15384
- case "explicitly_allowed": {
15385
- return "success.main";
15386
- }
15387
- case "explicitly_denied": {
15388
- return "error.main";
15389
- }
15390
- case "implicitly_denied": {
15391
- return "warning.main";
15392
- }
15393
- }
15394
- }
15395
- function parseIAMEvent(payloadString) {
15396
- try {
15397
- const payload = JSON.parse(payloadString);
15398
- const permission = determinePermissionStatus(payload);
15399
- const actions = [];
15400
- const resources = [];
15401
- if (payload.explicit_allows) {
15402
- for (const allow of payload.explicit_allows) {
15403
- if (!actions.includes(allow.action)) actions.push(allow.action);
15404
- if (!resources.includes(allow.resource)) resources.push(allow.resource);
15405
- }
15406
- }
15407
- if (payload.explicit_denies) {
15408
- for (const deny of payload.explicit_denies) {
15409
- if (!actions.includes(deny.action)) actions.push(deny.action);
15410
- if (!resources.includes(deny.resource)) resources.push(deny.resource);
15411
- }
15412
- }
15413
- if (payload.implicit_denies) {
15414
- for (const deny of payload.implicit_denies) {
15415
- if (!actions.includes(deny.action)) actions.push(deny.action);
15416
- if (!resources.includes(deny.resource)) resources.push(deny.resource);
15417
- }
15418
- }
15419
- return {
15420
- details: {
15421
- actions,
15422
- explicitAllows: payload.explicit_allow_count,
15423
- explicitDenies: payload.explicit_deny_count,
15424
- implicitDenies: payload.implicit_deny_count,
15425
- resources
15426
- },
15427
- enforcement: payload.enforcement,
15428
- operation: payload.operation,
15429
- permission,
15430
- principal: payload.principal_arn,
15431
- service: payload.service
15432
- };
15433
- } catch (error) {
15434
- console.error("Error parsing IAM event payload:", error);
15435
- return void 0;
15436
- }
15437
- }
15438
- var getIamEvents = (span) => span.events.flatMap((event) => {
15439
- const payload = event.attributes?.payload;
15440
- if (!event.event_type?.toLowerCase().includes("iam") || typeof payload !== "string") return [];
15441
- return parseIAMEvent(payload) ?? [];
15442
- });
15443
- var getIamEnforcement = (span, events = getIamEvents(span)) => {
15444
- const enforcements = new Set(events.map((event) => event.enforcement).filter(Boolean));
15445
- if (enforcements.size > 0) {
15446
- if (enforcements.has("deny")) return "deny";
15447
- if (enforcements.has("allow_with_warning")) return "allow_with_warning";
15448
- return void 0;
15449
- }
15450
- return getIamEnforcementFromOperationStatus(span);
15451
- };
15452
- var getIamEnforcementFromOperationStatus = (span) => {
15453
- const status = span.operation_status;
15454
- if (status === "iam_explicit_deny" || status === "iam_implicit_deny") return "deny";
15455
- if (status === "iam_explicit_warn" || status === "iam_implicit_warn") return "allow_with_warning";
15456
- return void 0;
15457
- };
15458
- var getIamSummary = (span) => {
15459
- const events = getIamEvents(span);
15460
- const denials = events.filter((event) => event.permission === "explicitly_denied" || event.permission === "implicitly_denied").length;
15461
- const enforcement = getIamEnforcement(span, events);
15462
- if (enforcement === "deny") return { denials, level: "error" };
15463
- if (enforcement === "allow_with_warning" || denials > 0) return { denials, level: "warning" };
15464
- return { denials, level: void 0 };
15465
- };
15466
-
15467
- // src/utils/span-issues.ts
15468
- var firstText = (...values) => values.find((value) => !!value) ?? void 0;
15469
- var OTEL_STATUS_ERROR = 2;
15470
- var getSpanIssues = (span) => {
15471
- const status = span.operation_status;
15472
- const iamEvents = getIamEvents(span);
15473
- const enforcement = getIamEnforcement(span, iamEvents);
15474
- const iamDenied = enforcement === "deny";
15475
- const iamWarned = enforcement === "allow_with_warning";
15476
- const errorMessages = (span.errors ?? []).filter((item) => item.level === "error");
15477
- const warningMessages = (span.errors ?? []).filter((item) => item.level === "warning");
15478
- const denials = iamEvents.flatMap((event) => {
15479
- if (event.permission === "explicitly_denied") return ["explicit"];
15480
- if (event.permission === "implicitly_denied") return ["implicit"];
15481
- return [];
15482
- });
15483
- const unenforcedDenial = !iamDenied && (denials.length > 0 || span.attributes?.["localstack.has_iam_deny_event"] === true);
15484
- const error = status === "error" || iamDenied || span.status_code === OTEL_STATUS_ERROR || errorMessages.length > 0;
15485
- const warning2 = iamWarned || warningMessages.length > 0 || unenforcedDenial;
15486
- const denialCount = unenforcedDenial ? Math.max(1, denials.length) : 0;
15487
- return {
15488
- error,
15489
- errorType: error ? firstText(span.status_message, errorMessages[0]?.message) ?? (iamDenied ? "AccessDenied" : "Error") : void 0,
15490
- warning: warning2,
15491
- warningCount: warning2 ? Math.max(1, warningMessages.length + denialCount) : 0,
15492
- warningType: warning2 ? firstText(warningMessages[0]?.message) ?? (unenforcedDenial ? `IAM ${denials[0] ?? "implicit"} deny` : iamWarned ? "IAM permission warning" : "Warning") : void 0
15493
- };
15465
+ [SERVICE_NAME.SHIELD]: shield_default,
15466
+ [SERVICE_NAME.SNS]: sns_default,
15467
+ [SERVICE_NAME.SQS]: sqs_default,
15468
+ [SERVICE_NAME.SSM]: ssm_default,
15469
+ [SERVICE_NAME.SSOADMIN]: sso_admin_default,
15470
+ [SERVICE_NAME.STEPFUNCTIONS]: stepfunctions_default,
15471
+ [SERVICE_NAME.STS]: sts_default,
15472
+ [SERVICE_NAME.SUPPORT]: support_default,
15473
+ [SERVICE_NAME.SWF]: swf_default,
15474
+ [SERVICE_NAME.TEXTRACT]: textract_default,
15475
+ [SERVICE_NAME.TIMESTREAMQUERY]: timestream_query_default,
15476
+ [SERVICE_NAME.TIMESTREAMWRITE]: timestream_write_default,
15477
+ [SERVICE_NAME.TRANSCRIBE]: transcribe_default,
15478
+ [SERVICE_NAME.TRANSFER]: transfer_default,
15479
+ [SERVICE_NAME.VERIFIEDPERMISSIONS]: verifiedpermissions_default,
15480
+ [SERVICE_NAME.WAFV2]: wafv2_default,
15481
+ [SERVICE_NAME.XRAY]: xray_default
15494
15482
  };
15483
+ var AwsServiceIconBase = (0, import_react33.memo)((props) => {
15484
+ const Icon = ICONS_MAP[props.service];
15485
+ return Icon ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Icon, { ...props }) : null;
15486
+ });
15487
+ var supportedServiceNames = Object.keys(ICONS_MAP);
15488
+ var getServiceIconComponent = (service) => ICONS_MAP[service];
15495
15489
 
15496
- // src/components/cells/status-cell.tsx
15497
- var import_jsx_runtime125 = require("react/jsx-runtime");
15498
- var SPAN_STATUS_LABELS = {
15499
- 0: "Unset",
15500
- 1: "OK",
15501
- 2: "Error"
15502
- };
15503
- var buildTooltipContent = (span) => {
15504
- const messages = [];
15505
- if (span.status_message) messages.push(span.status_message);
15506
- for (const error of span.errors ?? []) {
15507
- if (error.message) messages.push(error.message);
15508
- }
15509
- const spanStatusLabel = SPAN_STATUS_LABELS[span.status_code] ?? `Unknown (${span.status_code.toString()})`;
15510
- const iamDenials = span.events.filter((event) => event.event_type?.toLowerCase().includes("iam") && typeof event.attributes?.payload === "string").map((event) => parseIAMEvent(event.attributes.payload)).filter((parsed) => parsed?.permission === "explicitly_denied" || parsed?.permission === "implicitly_denied").filter(Boolean);
15511
- return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { children: [
15512
- /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Typography, { color: "inherit", display: "block", fontWeight: "bold", variant: "caption", children: [
15513
- "Status: ",
15514
- spanStatusLabel
15515
- ] }),
15516
- messages.map((message, index) => /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "inherit", display: "block", variant: "caption", children: message }, index)),
15517
- iamDenials.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_jsx_runtime125.Fragment, { children: [
15518
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Divider, { sx: { borderColor: "rgba(255,255,255,0.2)", my: 0.5 } }),
15519
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "inherit", display: "block", fontWeight: "bold", variant: "caption", children: "Permissions" }),
15520
- iamDenials.map((denial, index) => denial !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "inherit", display: "block", variant: "caption", children: `${formatPermissionStatus(denial.permission)}: ${denial.service}.${denial.operation}` }, index))
15521
- ] })
15522
- ] });
15523
- };
15524
- var StatusIconWithTooltip = ({ span }) => {
15525
- const { error, warning: warning2 } = getSpanIssues(span);
15526
- if (!error && !warning2) return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_jsx_runtime125.Fragment, {});
15527
- return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Tooltip, { title: buildTooltipContent(span), children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "center", cursor: "default", display: "flex" }, children: [
15528
- error && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Box, { "aria-label": "Error", role: "img", sx: { display: "flex" }, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_icons_material2.Cancel, { sx: { color: "error.main" } }) }),
15529
- warning2 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Box, { "aria-label": "Warning", role: "img", sx: { display: "flex" }, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_icons_material2.Error, { sx: { color: "warning.main" } }) })
15530
- ] }) });
15531
- };
15490
+ // src/components/aws-service-icon/aws-service-icon.tsx
15491
+ var import_jsx_runtime123 = require("react/jsx-runtime");
15492
+ var sizes = { large: [32, 32], medium: [22, 22], small: [11, 11] };
15493
+ var AwsServiceIcon = (0, import_react34.memo)(({ hideTooltip, service, size = "medium", title }) => {
15494
+ const [width, height] = sizes[size];
15495
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
15496
+ WrapInComponent,
15497
+ {
15498
+ wrap: !hideTooltip,
15499
+ wrapperFn: (child) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_material3.Tooltip, { placement: "top", title: title ?? service, children: child }),
15500
+ children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(AwsServiceIconBase, { height, service, style: { display: "block" }, width })
15501
+ }
15502
+ );
15503
+ });
15504
+
15505
+ // src/components/cells/service-cell.tsx
15506
+ var import_jsx_runtime124 = require("react/jsx-runtime");
15507
+ var ServiceCell = (0, import_react35.memo)(({
15508
+ resource,
15509
+ selected,
15510
+ service,
15511
+ showIcon = true
15512
+ }) => {
15513
+ const theme = (0, import_material4.useTheme)();
15514
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material4.Box, { sx: { ml: -1, width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
15515
+ import_material4.Box,
15516
+ {
15517
+ sx: {
15518
+ alignItems: "center",
15519
+ borderRadius: 1,
15520
+ display: "inline-flex",
15521
+ gap: "8px",
15522
+ maxWidth: "100%",
15523
+ outline: selected ? `2px solid ${theme.palette.primary.main}` : "none",
15524
+ overflow: "hidden",
15525
+ px: "8px",
15526
+ py: "4px"
15527
+ },
15528
+ children: [
15529
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material4.Box, { sx: { borderRadius: "4px", flexShrink: 0, lineHeight: 0, overflow: "hidden" }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(AwsServiceIcon, { hideTooltip: true, service, size: "medium" }) }),
15530
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material4.Stack, { sx: { minWidth: 0 }, children: [
15531
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material4.Typography, { noWrap: true, sx: { fontWeight: 700, lineHeight: 1.25 }, variant: "body2", children: getServiceDisplayName(service) }),
15532
+ resource ? /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
15533
+ import_material4.Typography,
15534
+ {
15535
+ color: "text.secondary",
15536
+ "data-testid": SERVICE_NODE_SERVICE_NAME_TEST_ID,
15537
+ noWrap: true,
15538
+ sx: { lineHeight: 1.2 },
15539
+ variant: "caption",
15540
+ children: resource
15541
+ }
15542
+ ) : void 0
15543
+ ] })
15544
+ ]
15545
+ }
15546
+ ) });
15547
+ });
15548
+ ServiceCell.displayName = "ServiceCell";
15532
15549
 
15533
15550
  // src/components/spans-list/span-count-badge.tsx
15534
- var import_icons_material3 = require("@mui/icons-material");
15535
- var import_material6 = require("@mui/material");
15551
+ var import_icons_material2 = require("@mui/icons-material");
15552
+ var import_material5 = require("@mui/material");
15536
15553
  var import_react36 = require("react");
15537
- var import_jsx_runtime126 = require("react/jsx-runtime");
15554
+ var import_jsx_runtime125 = require("react/jsx-runtime");
15538
15555
  var resolveBindingLimit = (systemLimit, licenseLimit) => {
15539
15556
  const numericLimits = [systemLimit, licenseLimit].filter((l2) => typeof l2 === "number");
15540
15557
  if (numericLimits.length > 0) return Math.min(...numericLimits);
@@ -15547,32 +15564,32 @@ var fmtLimit = (value) => {
15547
15564
  if (value === "unlimited") return "Unlimited";
15548
15565
  return fmt(value);
15549
15566
  };
15550
- var StatRow = ({ label, unit, value }) => /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { alignItems: "baseline", display: "flex", justifyContent: "space-between", minWidth: 220 }, children: [
15551
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", sx: { mr: 4 }, variant: "caption", children: label }),
15552
- /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { alignItems: "baseline", display: "flex", gap: 0.5 }, children: [
15553
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { fontWeight: 600, variant: "body2", children: fmtLimit(value) }),
15554
- value !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", variant: "caption", children: value === 1 ? unit : `${unit}s` })
15567
+ var StatRow = ({ label, unit, value }) => /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "baseline", display: "flex", justifyContent: "space-between", minWidth: 220 }, children: [
15568
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", sx: { mr: 4 }, variant: "caption", children: label }),
15569
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "baseline", display: "flex", gap: 0.5 }, children: [
15570
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { fontWeight: 600, variant: "body2", children: fmtLimit(value) }),
15571
+ value !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", variant: "caption", children: value === 1 ? unit : `${unit}s` })
15555
15572
  ] })
15556
15573
  ] });
15557
15574
  var SpanCountBadge = ({ licenseLimit, systemLimit, totalCount, visibleCount }) => {
15558
15575
  const [anchorElement, setAnchorElement] = (0, import_react36.useState)();
15559
15576
  const bindingLimit = resolveBindingLimit(systemLimit, licenseLimit);
15560
15577
  if (totalCount === void 0 && bindingLimit === void 0) {
15561
- return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_jsx_runtime126.Fragment, {});
15578
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_jsx_runtime125.Fragment, {});
15562
15579
  }
15563
15580
  if (visibleCount !== void 0) totalCount = Math.max(totalCount ?? 0, visibleCount);
15564
15581
  const isLoading = totalCount === void 0;
15565
15582
  const isOpen = anchorElement !== void 0;
15566
15583
  const systemLimitReached = typeof systemLimit === "number" && totalCount !== void 0 && totalCount >= systemLimit;
15567
15584
  const licenseLimitReached = typeof licenseLimit === "number" && totalCount !== void 0 && totalCount >= licenseLimit;
15568
- return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { "data-testid": SPAN_COUNT_BADGE_TEST_ID, sx: { alignItems: "center", display: "flex", gap: 0.25 }, children: [
15569
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Skeleton, { sx: { minWidth: 120 } }) : /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { alignItems: "baseline", display: "flex", gap: 0.5 }, children: [
15570
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", variant: "caption", children: "Showing" }),
15571
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { variant: "body2", children: visibleCount === void 0 ? "\u2014" : fmt(visibleCount) }),
15572
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", variant: "caption", children: visibleCount === 1 ? "request" : "requests" })
15585
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { "data-testid": SPAN_COUNT_BADGE_TEST_ID, sx: { alignItems: "center", display: "flex", gap: 0.25 }, children: [
15586
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Skeleton, { sx: { minWidth: 120 } }) : /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "baseline", display: "flex", gap: 0.5 }, children: [
15587
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", variant: "caption", children: "Showing" }),
15588
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { variant: "body2", children: visibleCount === void 0 ? "\u2014" : fmt(visibleCount) }),
15589
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", variant: "caption", children: visibleCount === 1 ? "request" : "requests" })
15573
15590
  ] }),
15574
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Tooltip, { title: "Count details", children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15575
- import_material6.IconButton,
15591
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Tooltip, { title: "Count details", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
15592
+ import_material5.IconButton,
15576
15593
  {
15577
15594
  "aria-describedby": isOpen ? "count-popover" : void 0,
15578
15595
  onClick: (event) => {
@@ -15580,11 +15597,11 @@ var SpanCountBadge = ({ licenseLimit, systemLimit, totalCount, visibleCount }) =
15580
15597
  },
15581
15598
  size: "small",
15582
15599
  sx: { color: systemLimitReached || licenseLimitReached ? "warning.main" : "text.disabled" },
15583
- children: systemLimitReached || licenseLimitReached ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.WarningAmberOutlined, { sx: { fontSize: 14 } }) : /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.InfoOutlined, { sx: { fontSize: 14 } })
15600
+ children: systemLimitReached || licenseLimitReached ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_icons_material2.WarningAmberOutlined, { sx: { fontSize: 14 } }) : /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_icons_material2.InfoOutlined, { sx: { fontSize: 14 } })
15584
15601
  }
15585
15602
  ) }),
15586
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15587
- import_material6.Popover,
15603
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
15604
+ import_material5.Popover,
15588
15605
  {
15589
15606
  anchorEl: anchorElement,
15590
15607
  anchorOrigin: { horizontal: "right", vertical: "bottom" },
@@ -15594,59 +15611,59 @@ var SpanCountBadge = ({ licenseLimit, systemLimit, totalCount, visibleCount }) =
15594
15611
  },
15595
15612
  open: isOpen,
15596
15613
  transformOrigin: { horizontal: "right", vertical: "top" },
15597
- children: /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { minWidth: 240, p: 2 }, children: [
15598
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { fontWeight: 700, variant: "body2", children: "Storage" }),
15599
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", sx: { mt: 0.25 }, variant: "caption", children: "Each request groups the operations it caused. Limits count operations." }),
15600
- /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.75, mt: 1.5 }, children: [
15601
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15614
+ children: /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { minWidth: 240, p: 2 }, children: [
15615
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { fontWeight: 700, variant: "body2", children: "Storage" }),
15616
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", sx: { mt: 0.25 }, variant: "caption", children: "Each request groups the operations it caused. Limits count operations." }),
15617
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.75, mt: 1.5 }, children: [
15618
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
15602
15619
  StatRow,
15603
15620
  {
15604
- label: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Tooltip, { placement: "left", title: "The number of requests currently listed.", children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "Requests shown" }) }),
15621
+ label: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Tooltip, { placement: "left", title: "The number of requests currently listed.", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "Requests shown" }) }),
15605
15622
  unit: "request",
15606
15623
  value: visibleCount
15607
15624
  }
15608
15625
  ),
15609
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15626
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
15610
15627
  StatRow,
15611
15628
  {
15612
- label: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Tooltip, { placement: "left", title: "The number of operations stored, including the downstream operations of each request.", children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "Operations stored" }) }),
15613
- unit: "op",
15629
+ label: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Tooltip, { placement: "left", title: "The number of operations stored, including the downstream operations of each request.", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "Operations stored" }) }),
15630
+ unit: "operation",
15614
15631
  value: totalCount
15615
15632
  }
15616
15633
  )
15617
15634
  ] }),
15618
- (systemLimitReached || licenseLimit !== void 0 && licenseLimit !== "unlimited") && /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_jsx_runtime126.Fragment, { children: [
15619
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Divider, { sx: { my: 1.5 } }),
15620
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", fontWeight: 600, variant: "caption", children: "Limits" }),
15621
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", sx: { display: "block", mb: 1.5, mt: 0.25 }, variant: "caption", children: "Limits restrict the total number of operations that can be stored." }),
15622
- /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.75 }, children: [
15623
- licenseLimit !== void 0 && licenseLimit !== "unlimited" && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15635
+ (systemLimitReached || licenseLimit !== void 0 && licenseLimit !== "unlimited") && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_jsx_runtime125.Fragment, { children: [
15636
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Divider, { sx: { my: 1.5 } }),
15637
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", fontWeight: 600, variant: "caption", children: "Limits" }),
15638
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", sx: { display: "block", mb: 1.5, mt: 0.25 }, variant: "caption", children: "Limits restrict the total number of operations that can be stored." }),
15639
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.75 }, children: [
15640
+ licenseLimit !== void 0 && licenseLimit !== "unlimited" && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
15624
15641
  StatRow,
15625
15642
  {
15626
- label: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Tooltip, { placement: "left", title: "The maximum number of operations allowed by your current license.", children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "License limit" }) }),
15627
- unit: "op",
15643
+ label: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Tooltip, { placement: "left", title: "The maximum number of operations allowed by your current license.", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "License limit" }) }),
15644
+ unit: "operation",
15628
15645
  value: licenseLimit
15629
15646
  }
15630
15647
  ),
15631
- systemLimitReached && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15648
+ systemLimitReached && /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
15632
15649
  StatRow,
15633
15650
  {
15634
- label: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Tooltip, { placement: "left", title: "The maximum number of operations that can be stored in the system.", children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "System limit" }) }),
15635
- unit: "op",
15651
+ label: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Tooltip, { placement: "left", title: "The maximum number of operations that can be stored in the system.", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Box, { component: "span", sx: { borderBottom: "1px dashed", borderColor: "text.secondary", cursor: "help" }, children: "System limit" }) }),
15652
+ unit: "operation",
15636
15653
  value: systemLimit
15637
15654
  }
15638
15655
  )
15639
15656
  ] })
15640
15657
  ] }),
15641
- (systemLimitReached || licenseLimitReached) && /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { display: "flex", flexDirection: "column", gap: 1, mt: 1.5 }, children: [
15642
- licenseLimitReached && /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { backgroundColor: "warning.main", borderRadius: 1, p: 1.5 }, children: [
15643
- /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { alignItems: "flex-start", display: "flex", gap: 0.75, mb: 0.75 }, children: [
15644
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.WarningAmberOutlined, { sx: { color: "warning.contrastText", fontSize: 14, mt: "1px" } }),
15645
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "warning.contrastText", fontWeight: 600, variant: "caption", children: "License limit reached" })
15658
+ (systemLimitReached || licenseLimitReached) && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { display: "flex", flexDirection: "column", gap: 1, mt: 1.5 }, children: [
15659
+ licenseLimitReached && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { backgroundColor: "warning.main", borderRadius: 1, p: 1.5 }, children: [
15660
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "flex-start", display: "flex", gap: 0.75, mb: 0.75 }, children: [
15661
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_icons_material2.WarningAmberOutlined, { sx: { color: "warning.contrastText", fontSize: 14, mt: "1px" } }),
15662
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "warning.contrastText", fontWeight: 600, variant: "caption", children: "License limit reached" })
15646
15663
  ] }),
15647
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "warning.contrastText", sx: { display: "block", mb: 1 }, variant: "caption", children: "Newer operations are being dropped. Upgrade your license to increase the retention limit." }),
15648
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15649
- import_material6.Button,
15664
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "warning.contrastText", sx: { display: "block", mb: 1 }, variant: "caption", children: "Newer operations are being dropped. Upgrade your license to increase the retention limit." }),
15665
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
15666
+ import_material5.Button,
15650
15667
  {
15651
15668
  color: "inherit",
15652
15669
  href: "https://localstack.cloud/pricing",
@@ -15658,9 +15675,9 @@ var SpanCountBadge = ({ licenseLimit, systemLimit, totalCount, visibleCount }) =
15658
15675
  }
15659
15676
  )
15660
15677
  ] }),
15661
- systemLimitReached && !licenseLimitReached && /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { alignItems: "flex-start", display: "flex", gap: 0.75 }, children: [
15662
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.WarningAmberOutlined, { color: "warning", sx: { fontSize: 14, mt: "1px" } }),
15663
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "warning.main", variant: "caption", children: "System limit reached \u2014 newer operations are being dropped." })
15678
+ systemLimitReached && !licenseLimitReached && /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "flex-start", display: "flex", gap: 0.75 }, children: [
15679
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_icons_material2.WarningAmberOutlined, { color: "warning", sx: { fontSize: 14, mt: "1px" } }),
15680
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "warning.main", variant: "caption", children: "System limit reached \u2014 newer operations are being dropped." })
15664
15681
  ] })
15665
15682
  ] })
15666
15683
  ] })
@@ -15670,8 +15687,8 @@ var SpanCountBadge = ({ licenseLimit, systemLimit, totalCount, visibleCount }) =
15670
15687
  };
15671
15688
 
15672
15689
  // src/components/spans-list/spans-filter-bar.tsx
15673
- var import_icons_material4 = require("@mui/icons-material");
15674
- var import_material7 = require("@mui/material");
15690
+ var import_icons_material3 = require("@mui/icons-material");
15691
+ var import_material6 = require("@mui/material");
15675
15692
  var import_react37 = require("react");
15676
15693
 
15677
15694
  // src/constants/native-scrollbars.ts
@@ -15680,7 +15697,7 @@ var NATIVE_SCROLLBARS = {
15680
15697
  };
15681
15698
 
15682
15699
  // src/components/spans-list/spans-filter-bar.tsx
15683
- var import_jsx_runtime127 = require("react/jsx-runtime");
15700
+ var import_jsx_runtime126 = require("react/jsx-runtime");
15684
15701
  var SHOW_EXCLUSIONS = false;
15685
15702
  var toggle = (list, item) => list.includes(item) ? list.filter((other) => other !== item) : [...list, item];
15686
15703
  var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }) => {
@@ -15694,18 +15711,18 @@ var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }
15694
15711
  const handleToggleHidden = (item) => {
15695
15712
  onChange({ excluded: toggle(value.excluded, item), included: value.included.filter((other) => other !== item) });
15696
15713
  };
15697
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
15698
- /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
15699
- import_material7.Button,
15714
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_jsx_runtime126.Fragment, { children: [
15715
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
15716
+ import_material6.Button,
15700
15717
  {
15701
15718
  color: hasSelection ? "primary" : "inherit",
15702
15719
  "data-testid": testId,
15703
- endIcon: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.ArrowDropDown, {}),
15720
+ endIcon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.ArrowDropDown, {}),
15704
15721
  onClick: (event) => {
15705
15722
  setAnchorElement(event.currentTarget);
15706
15723
  },
15707
15724
  size: "small",
15708
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.FilterList, { sx: { fontSize: "16px !important" } }),
15725
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.FilterList, { sx: { fontSize: "16px !important" } }),
15709
15726
  sx: {
15710
15727
  "& .MuiButton-endIcon": { ml: 0.25 },
15711
15728
  "color": hasSelection ? "primary.main" : "text.secondary",
@@ -15716,8 +15733,8 @@ var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }
15716
15733
  variant: hasSelection ? "outlined" : "text",
15717
15734
  children: [
15718
15735
  label,
15719
- hasSelection && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15720
- import_material7.Box,
15736
+ hasSelection && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15737
+ import_material6.Box,
15721
15738
  {
15722
15739
  component: "span",
15723
15740
  sx: {
@@ -15737,8 +15754,8 @@ var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }
15737
15754
  ]
15738
15755
  }
15739
15756
  ),
15740
- /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
15741
- import_material7.Menu,
15757
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
15758
+ import_material6.Menu,
15742
15759
  {
15743
15760
  anchorEl: anchorElement,
15744
15761
  onClose: () => {
@@ -15747,35 +15764,35 @@ var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }
15747
15764
  open,
15748
15765
  slotProps: { paper: { sx: { ...NATIVE_SCROLLBARS, maxHeight: 320, minWidth: 200 } } },
15749
15766
  children: [
15750
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.ListSubheader, { sx: { fontSize: "0.7rem", letterSpacing: "0.08em", lineHeight: "2rem", textTransform: "uppercase" }, children: label }),
15751
- options.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.MenuItem, { disabled: true, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { color: "text.secondary", variant: "body2", children: "No options available" }) }),
15752
- options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
15753
- import_material7.MenuItem,
15767
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.ListSubheader, { sx: { fontSize: "0.7rem", letterSpacing: "0.08em", lineHeight: "2rem", textTransform: "uppercase" }, children: label }),
15768
+ options.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.MenuItem, { disabled: true, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", variant: "body2", children: "No options available" }) }),
15769
+ options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
15770
+ import_material6.MenuItem,
15754
15771
  {
15755
15772
  dense: true,
15756
15773
  onClick: () => {
15757
15774
  handleToggle(option.value);
15758
15775
  },
15759
15776
  children: [
15760
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15761
- import_material7.Checkbox,
15777
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15778
+ import_material6.Checkbox,
15762
15779
  {
15763
15780
  checked: value.included.includes(option.value),
15764
15781
  size: "small",
15765
15782
  sx: { mr: 1, p: 0.25 }
15766
15783
  }
15767
15784
  ),
15768
- !!option.serviceCode && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Box, { sx: { borderRadius: "4px", flexShrink: 0, lineHeight: 0, mr: 1, overflow: "hidden" }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(AwsServiceIcon, { hideTooltip: true, service: option.serviceCode, size: "medium" }) }),
15769
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15770
- import_material7.ListItemText,
15785
+ !!option.serviceCode && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Box, { sx: { borderRadius: "4px", flexShrink: 0, lineHeight: 0, mr: 1, overflow: "hidden" }, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(AwsServiceIcon, { hideTooltip: true, service: option.serviceCode, size: "medium" }) }),
15786
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15787
+ import_material6.ListItemText,
15771
15788
  {
15772
15789
  primary: option.label,
15773
15790
  primaryTypographyProps: { variant: "body2" }
15774
15791
  }
15775
15792
  ),
15776
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { color: "text.secondary", sx: { ml: 2 }, variant: "caption", children: option.count.toLocaleString() }),
15777
- SHOW_EXCLUSIONS && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15778
- import_material7.IconButton,
15793
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", sx: { ml: 2 }, variant: "caption", children: option.count.toLocaleString() }),
15794
+ SHOW_EXCLUSIONS && /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15795
+ import_material6.IconButton,
15779
15796
  {
15780
15797
  "aria-label": value.excluded.includes(option.value) ? `Show ${option.label}` : `Hide ${option.label}`,
15781
15798
  onClick: (event) => {
@@ -15784,23 +15801,23 @@ var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }
15784
15801
  },
15785
15802
  size: "small",
15786
15803
  sx: { ml: 0.5, p: 0.25 },
15787
- children: value.excluded.includes(option.value) ? /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.VisibilityOff, { sx: { fontSize: 14 } }) : /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.Visibility, { sx: { fontSize: 14 } })
15804
+ children: value.excluded.includes(option.value) ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.VisibilityOff, { sx: { fontSize: 14 } }) : /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.Visibility, { sx: { fontSize: 14 } })
15788
15805
  }
15789
15806
  )
15790
15807
  ]
15791
15808
  },
15792
15809
  option.value
15793
15810
  )),
15794
- hasSelection && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
15795
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Divider, {}),
15796
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15797
- import_material7.MenuItem,
15811
+ hasSelection && /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_jsx_runtime126.Fragment, { children: [
15812
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Divider, {}),
15813
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15814
+ import_material6.MenuItem,
15798
15815
  {
15799
15816
  dense: true,
15800
15817
  onClick: () => {
15801
15818
  onChange({ excluded: [], included: [] });
15802
15819
  },
15803
- children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { color: "text.secondary", sx: { pl: 4 }, variant: "body2", children: "Clear" })
15820
+ children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", sx: { pl: 4 }, variant: "body2", children: "Clear" })
15804
15821
  }
15805
15822
  )
15806
15823
  ] })
@@ -15809,11 +15826,11 @@ var FilterDropdown = ({ "data-testid": testId, label, onChange, options, value }
15809
15826
  )
15810
15827
  ] });
15811
15828
  };
15812
- var StatusCount = ({ count: count2, "data-testid": testId }) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { color: "text.secondary", component: "span", "data-testid": testId, variant: "caption", children: count2.toLocaleString() });
15829
+ var StatusCount = ({ count: count2, "data-testid": testId }) => /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_material6.Typography, { color: "text.secondary", component: "span", "data-testid": testId, sx: { ml: 1 }, variant: "caption", children: count2.toLocaleString() });
15813
15830
  var StatusFilter = ({ counts, onChange, value }) => {
15814
15831
  const selected = value.included.length === 0 ? "all" : value.included.length === 1 ? value.included[0] : void 0;
15815
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
15816
- import_material7.ToggleButtonGroup,
15832
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
15833
+ import_material6.ToggleButtonGroup,
15817
15834
  {
15818
15835
  "aria-label": "Status",
15819
15836
  "data-testid": FILTER_STATUS_TEST_ID,
@@ -15825,19 +15842,19 @@ var StatusFilter = ({ counts, onChange, value }) => {
15825
15842
  sx: { "& .MuiToggleButton-root": { gap: 0.5, lineHeight: 1.5, px: 1.25, py: 0.5, textTransform: "none" }, "flexShrink": 0 },
15826
15843
  value: selected,
15827
15844
  children: [
15828
- /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.ToggleButton, { value: "all", children: [
15845
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.ToggleButton, { value: "all", children: [
15829
15846
  "All",
15830
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StatusCount, { count: counts.all })
15847
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(StatusCount, { count: counts.all })
15831
15848
  ] }),
15832
- /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.ToggleButton, { value: "error", children: [
15833
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.Cancel, { sx: { color: "error.main", fontSize: 16 } }),
15849
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.ToggleButton, { value: "error", children: [
15850
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.Cancel, { sx: { color: "error.main", fontSize: 16 } }),
15834
15851
  "Errors",
15835
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StatusCount, { count: counts.error, "data-testid": ERROR_COUNT_TEST_ID })
15852
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(StatusCount, { count: counts.error, "data-testid": ERROR_COUNT_TEST_ID })
15836
15853
  ] }),
15837
- /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.ToggleButton, { value: "warning", children: [
15838
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.Error, { sx: { color: "warning.main", fontSize: 16 } }),
15854
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.ToggleButton, { value: "warning", children: [
15855
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material3.GppMaybe, { sx: { color: "warning.main", fontSize: 16 } }),
15839
15856
  "Warnings",
15840
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StatusCount, { count: counts.warning, "data-testid": WARNING_COUNT_TEST_ID })
15857
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(StatusCount, { count: counts.warning, "data-testid": WARNING_COUNT_TEST_ID })
15841
15858
  ] })
15842
15859
  ]
15843
15860
  }
@@ -15849,7 +15866,7 @@ var SpansFilterBar = ({ facets, onQueryChange, query: query2, totalCount }) => {
15849
15866
  const value = getQueryValues(query2, key);
15850
15867
  const loaded = new Set(facetValues.map((facet) => facet.value));
15851
15868
  const missing = [...value.included, ...value.excluded].filter((item) => !loaded.has(item)).map((item) => ({ count: 0, value: item }));
15852
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15869
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15853
15870
  FilterDropdown,
15854
15871
  {
15855
15872
  "data-testid": testId,
@@ -15864,8 +15881,8 @@ var SpansFilterBar = ({ facets, onQueryChange, query: query2, totalCount }) => {
15864
15881
  };
15865
15882
  return (
15866
15883
  // Its controls wrap as items of the parent's controls row.
15867
- /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.Box, { sx: { display: "contents" }, children: [
15868
- /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15884
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_material6.Box, { sx: { display: "contents" }, children: [
15885
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
15869
15886
  StatusFilter,
15870
15887
  {
15871
15888
  counts: { all: totalCount, error: issueCount("error"), warning: issueCount("warning") },
@@ -15882,7 +15899,7 @@ var SpansFilterBar = ({ facets, onQueryChange, query: query2, totalCount }) => {
15882
15899
  };
15883
15900
 
15884
15901
  // src/components/spans-list/spans-data-grid.tsx
15885
- var import_jsx_runtime128 = require("react/jsx-runtime");
15902
+ var import_jsx_runtime127 = require("react/jsx-runtime");
15886
15903
  var SHOW_FILTERS_IN_SEARCH = false;
15887
15904
  var FILTER_NAMES = [["producer", "Producer"], ["service", "Consumer"], ["status", "Status"]];
15888
15905
  var columnHelper = createColumnHelper();
@@ -15895,19 +15912,19 @@ var LABEL_END_OF_STREAM = "This is the end of the stream";
15895
15912
  var LABEL_NO_SPANS = "There are no operations";
15896
15913
  var SEARCH_MAX_LENGTH = 512;
15897
15914
  var STICK_TO_EDGE_THRESHOLD_PX = 4;
15898
- var StreamBoundaryRow = ({ colSpan, label }) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableCell, { colSpan, sx: { fontStyle: "italic", textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("span", { children: label }) }) });
15899
- var LoadingRow = ({ colSpan }) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableCell, { colSpan, sx: { textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.CircularProgress, { size: 24, sx: { m: 2 } }) }) });
15915
+ var StreamBoundaryRow = ({ colSpan, label }) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableCell, { colSpan, sx: { fontStyle: "italic", textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { children: label }) }) });
15916
+ var LoadingRow = ({ colSpan }) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableCell, { colSpan, sx: { textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.CircularProgress, { size: 24, sx: { m: 2 } }) }) });
15900
15917
  var NoMatchRow = ({ colSpan, filtersActive, onClearAll, searchActive, term }) => {
15901
15918
  const message = searchActive && filtersActive ? `No operations match "${term}" and the active filters` : searchActive ? `No operations match "${term}"` : "No operations match the active filters";
15902
15919
  const clearLabel = searchActive && filtersActive ? "Clear search and filters" : searchActive ? "Clear search" : "Clear filters";
15903
15920
  const testId = searchActive ? SPANS_SEARCH_NO_MATCH_TEST_ID : SPANS_FILTER_NO_MATCH_TEST_ID;
15904
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableCell, { colSpan, "data-testid": testId, sx: { textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_material8.Box, { sx: { alignItems: "center", display: "flex", flexDirection: "column", gap: 1, py: 3 }, children: [
15905
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Typography, { sx: { fontStyle: "italic" }, variant: "body2", children: message }),
15906
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Button, { onClick: onClearAll, size: "small", variant: "text", children: clearLabel })
15921
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableCell, { colSpan, "data-testid": testId, sx: { textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.Box, { sx: { alignItems: "center", display: "flex", flexDirection: "column", gap: 1, py: 3 }, children: [
15922
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { sx: { fontStyle: "italic" }, variant: "body2", children: message }),
15923
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Button, { onClick: onClearAll, size: "small", variant: "text", children: clearLabel })
15907
15924
  ] }) }) });
15908
15925
  };
15909
- var SpansSearchField = ({ onChange, onClear, value }) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
15910
- import_material8.TextField,
15926
+ var SpansSearchField = ({ onChange, onClear, value }) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15927
+ import_material7.TextField,
15911
15928
  {
15912
15929
  inputProps: {
15913
15930
  "aria-label": "Search",
@@ -15915,18 +15932,18 @@ var SpansSearchField = ({ onChange, onClear, value }) => /* @__PURE__ */ (0, imp
15915
15932
  "maxLength": SEARCH_MAX_LENGTH
15916
15933
  },
15917
15934
  InputProps: {
15918
- endAdornment: value ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.InputAdornment, { position: "end", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
15919
- import_material8.IconButton,
15935
+ endAdornment: value ? /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.InputAdornment, { position: "end", children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15936
+ import_material7.IconButton,
15920
15937
  {
15921
15938
  "aria-label": "Clear search",
15922
15939
  "data-testid": SPANS_SEARCH_CLEAR_TEST_ID,
15923
15940
  edge: "end",
15924
15941
  onClick: onClear,
15925
15942
  size: "small",
15926
- children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_icons_material5.Close, { sx: { fontSize: 16 } })
15943
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.Close, { sx: { fontSize: 16 } })
15927
15944
  }
15928
15945
  ) }) : void 0,
15929
- startAdornment: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_icons_material5.Search, { sx: { fontSize: 16 } }) })
15946
+ startAdornment: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.Search, { sx: { fontSize: 16 } }) })
15930
15947
  },
15931
15948
  onChange: (event) => {
15932
15949
  onChange(event.target.value);
@@ -15943,9 +15960,9 @@ var SpansSearchField = ({ onChange, onClear, value }) => /* @__PURE__ */ (0, imp
15943
15960
  );
15944
15961
  var SpansDataGridRow = (0, import_react38.memo)(
15945
15962
  ({ isNew, onSpanClick, row, selected }) => {
15946
- const theme = (0, import_material8.useTheme)();
15947
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
15948
- import_material8.TableRow,
15963
+ const theme = (0, import_material7.useTheme)();
15964
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15965
+ import_material7.TableRow,
15949
15966
  {
15950
15967
  animate: {
15951
15968
  backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light.to : newSpanBackgroundColor.dark.to
@@ -15962,16 +15979,16 @@ var SpansDataGridRow = (0, import_react38.memo)(
15962
15979
  sx: { cursor: "pointer" },
15963
15980
  transition: { duration: 2.5, ease: "easeOut" },
15964
15981
  children: row.getVisibleCells().map((cell) => {
15965
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
15966
- import_material8.TableCell,
15982
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15983
+ import_material7.TableCell,
15967
15984
  {
15968
15985
  sx: {
15969
15986
  height: 48,
15970
15987
  maxWidth: `${cell.column.getSize().toString()}px`,
15971
15988
  minWidth: `${cell.column.getSize().toString()}px`
15972
15989
  },
15973
- children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
15974
- import_material8.Box,
15990
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
15991
+ import_material7.Box,
15975
15992
  {
15976
15993
  sx: {
15977
15994
  "alignItems": "center",
@@ -15986,7 +16003,7 @@ var SpansDataGridRow = (0, import_react38.memo)(
15986
16003
  },
15987
16004
  "width": "100%"
15988
16005
  },
15989
- children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Box, { sx: { px: 1, width: "100%" }, children: flexRender(cell.column.columnDef.cell, cell.getContext()) })
16006
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Box, { sx: { px: 1, width: "100%" }, children: flexRender(cell.column.columnDef.cell, cell.getContext()) })
15990
16007
  }
15991
16008
  )
15992
16009
  },
@@ -16053,17 +16070,11 @@ var SpansDataGrid = ({
16053
16070
  return compute.topLevelIds.map((spanId) => getSpan(spanId)).filter((span) => span !== void 0);
16054
16071
  }, [compute.topLevelIds, getSpan, spansLoaded]);
16055
16072
  const downstreamOf = (0, import_react38.useCallback)((spanId) => compute.rows[spanId]?.downstream, [compute.rows]);
16056
- const { requestTerms } = useDevSettings();
16057
16073
  const columns = (0, import_react38.useMemo)(() => [
16058
- columnHelper.display({
16059
- cell: (props) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(StatusIconWithTooltip, { span: props.row.original }),
16060
- id: "status",
16061
- size: 56
16062
- }),
16063
16074
  columnHelper.accessor("startTime", {
16064
- cell: (props) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ResponsiveTimestampCell, { date: props.getValue() }),
16065
- header: () => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16066
- import_material8.TableSortLabel,
16075
+ cell: (props) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ResponsiveTimestampCell, { date: props.getValue() }),
16076
+ header: () => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16077
+ import_material7.TableSortLabel,
16067
16078
  {
16068
16079
  active: true,
16069
16080
  direction: order2 === "newest_first" ? "asc" : "desc",
@@ -16076,12 +16087,18 @@ var SpansDataGrid = ({
16076
16087
  id: "startTime",
16077
16088
  size: 120
16078
16089
  }),
16090
+ columnHelper.display({
16091
+ cell: (props) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(RequestCell, { downstream: downstreamOf(props.row.original.span_id), span: props.row.original }),
16092
+ header: "Request Details",
16093
+ id: "request",
16094
+ size: 128
16095
+ }),
16079
16096
  columnHelper.display({
16080
16097
  cell: (props) => {
16081
16098
  if (!props.row.original.parent_service_name || !props.row.original.parent_resource_name) {
16082
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Typography, { sx: { fontStyle: "italic" }, variant: "body2", children: "External producer" });
16099
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { sx: { fontStyle: "italic" }, variant: "body2", children: "External producer" });
16083
16100
  }
16084
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16101
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16085
16102
  ServiceCell,
16086
16103
  {
16087
16104
  resource: props.row.original.parent_resource_name,
@@ -16094,14 +16111,14 @@ var SpansDataGrid = ({
16094
16111
  size: 180
16095
16112
  }),
16096
16113
  columnHelper.accessor("operation_name", {
16097
- cell: (props) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16098
- import_material8.Box,
16114
+ cell: (props) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16115
+ import_material7.Box,
16099
16116
  {
16100
16117
  sx: {
16101
16118
  overflow: "hidden",
16102
16119
  textOverflow: "ellipsis"
16103
16120
  },
16104
- children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("span", { title: props.getValue(), children: props.getValue() })
16121
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { title: props.getValue(), children: props.getValue() })
16105
16122
  }
16106
16123
  ),
16107
16124
  header: "Action",
@@ -16110,19 +16127,13 @@ var SpansDataGrid = ({
16110
16127
  }),
16111
16128
  columnHelper.display({
16112
16129
  cell: (props) => {
16113
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(ServiceCell, { resource: props.row.original.resource_name, service: props.row.original.service_name });
16130
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ServiceCell, { resource: props.row.original.resource_name, service: props.row.original.service_name });
16114
16131
  },
16115
16132
  header: "Consumer",
16116
16133
  id: "consumer",
16117
16134
  size: 260
16118
- }),
16119
- columnHelper.display({
16120
- cell: (props) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(DownstreamCell, { downstream: downstreamOf(props.row.original.span_id) }),
16121
- header: requestTerms === "on" ? "Request details" : "Downstream",
16122
- id: "downstream",
16123
- size: 160
16124
16135
  })
16125
- ], [downstreamOf, onOrderChange, order2, requestTerms]);
16136
+ ], [downstreamOf, onOrderChange, order2]);
16126
16137
  const table = useReactTable({
16127
16138
  columns,
16128
16139
  data: spans ?? [],
@@ -16173,10 +16184,10 @@ var SpansDataGrid = ({
16173
16184
  element.scrollTop = element.scrollHeight;
16174
16185
  element.dispatchEvent(new Event("scroll"));
16175
16186
  }, [order2, spans?.length, lastSpanId]);
16176
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_jsx_runtime128.Fragment, { children: [
16177
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Grid, { item: true, xs: 12, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_material8.Box, { sx: { display: "flex", flexDirection: "column", gap: "0.5rem", pt: 1, px: 1 }, children: [
16178
- /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_material8.Box, { sx: { alignItems: "center", containerType: "inline-size", display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
16179
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Box, { sx: { flex: "1 1 160px", maxWidth: 220, order: -1 }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16187
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
16188
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Grid, { item: true, xs: 12, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.Box, { sx: { display: "flex", flexDirection: "column", gap: "0.5rem", pt: 1, px: 1 }, children: [
16189
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.Box, { sx: { alignItems: "center", containerType: "inline-size", display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
16190
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Box, { sx: { flex: "1 1 160px", maxWidth: 220, order: -1 }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16180
16191
  SpansSearchField,
16181
16192
  {
16182
16193
  onChange: (value) => {
@@ -16186,7 +16197,7 @@ var SpansDataGrid = ({
16186
16197
  value: searchText
16187
16198
  }
16188
16199
  ) }),
16189
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16200
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16190
16201
  SpansFilterBar,
16191
16202
  {
16192
16203
  facets: compute.facets,
@@ -16195,20 +16206,20 @@ var SpansDataGrid = ({
16195
16206
  totalCount: compute.totalCount
16196
16207
  }
16197
16208
  ),
16198
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Box, { sx: { "@container (min-width: 960px)": { order: 1 }, "flexShrink": 0, "ml": "auto", "order": -1 }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16199
- import_material8.Button,
16209
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Box, { sx: { "@container (min-width: 960px)": { order: 1 }, "flexShrink": 0, "ml": "auto", "order": -1 }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16210
+ import_material7.Button,
16200
16211
  {
16201
16212
  "data-testid": CLEAR_SPANS_TEST_ID,
16202
16213
  disabled: clearingSpans,
16203
16214
  onClick: handleClearSpans,
16204
- startIcon: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_icons_material5.DeleteForeverOutlined, {}),
16215
+ startIcon: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material4.DeleteForeverOutlined, {}),
16205
16216
  children: "Clear Operations"
16206
16217
  }
16207
16218
  ) }),
16208
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Box, { sx: { "@container (min-width: 960px)": { display: "none" }, "flexBasis": "100%", "mt": "-0.5rem", "order": -1 } })
16219
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Box, { sx: { "@container (min-width: 960px)": { display: "none" }, "flexBasis": "100%", "mt": "-0.5rem", "order": -1 } })
16209
16220
  ] }),
16210
- /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_material8.Box, { sx: { alignItems: "center", display: "flex", gap: "0.5rem", pl: 0.5 }, children: [
16211
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16221
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.Box, { sx: { alignItems: "center", display: "flex", gap: "0.5rem", pl: 0.5 }, children: [
16222
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16212
16223
  SpanCountBadge,
16213
16224
  {
16214
16225
  licenseLimit,
@@ -16217,16 +16228,16 @@ var SpansDataGrid = ({
16217
16228
  visibleCount: spans?.length
16218
16229
  }
16219
16230
  ),
16220
- filtersActive && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_jsx_runtime128.Fragment, { children: [
16221
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Typography, { color: "text.secondary", variant: "caption", children: "\xB7" }),
16222
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Typography, { color: "text.secondary", variant: "caption", children: `Filtered by ${filteredByLabel}` })
16231
+ filtersActive && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
16232
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { color: "text.secondary", variant: "caption", children: "\xB7" }),
16233
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { color: "text.secondary", variant: "caption", children: `Filtered by ${filteredByLabel}` })
16223
16234
  ] }),
16224
- SHOW_EXCLUSIONS && compute.excludedCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_jsx_runtime128.Fragment, { children: [
16225
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Typography, { color: "text.secondary", variant: "caption", children: "\xB7" }),
16226
- /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_material8.Typography, { color: "text.secondary", "data-testid": HIDDEN_OPS_NOTE_TEST_ID, variant: "caption", children: [
16235
+ SHOW_EXCLUSIONS && compute.excludedCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
16236
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Typography, { color: "text.secondary", variant: "caption", children: "\xB7" }),
16237
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.Typography, { color: "text.secondary", "data-testid": HIDDEN_OPS_NOTE_TEST_ID, variant: "caption", children: [
16227
16238
  `${compute.excludedCount.toLocaleString()} ${compute.excludedCount === 1 ? "op" : "ops"} hidden by filters \xB7 `,
16228
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16229
- import_material8.Button,
16239
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16240
+ import_material7.Button,
16230
16241
  {
16231
16242
  onClick: () => {
16232
16243
  updateDropdownQuery(removeExclusions(dropdownQuery));
@@ -16241,8 +16252,8 @@ var SpansDataGrid = ({
16241
16252
  ] })
16242
16253
  ] })
16243
16254
  ] }) }),
16244
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Box, { sx: { flexGrow: 1, overflow: "hidden", position: "relative", width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16245
- import_material8.TableContainer,
16255
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.Box, { sx: { flexGrow: 1, overflow: "hidden", position: "relative", width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16256
+ import_material7.TableContainer,
16246
16257
  {
16247
16258
  onScroll: handleScroll,
16248
16259
  ref: containerRef,
@@ -16254,8 +16265,8 @@ var SpansDataGrid = ({
16254
16265
  right: 0,
16255
16266
  top: 0
16256
16267
  },
16257
- children: /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
16258
- import_material8.Table,
16268
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(
16269
+ import_material7.Table,
16259
16270
  {
16260
16271
  stickyHeader: true,
16261
16272
  sx: {
@@ -16268,9 +16279,9 @@ var SpansDataGrid = ({
16268
16279
  "th+th": { pl: "8px !important" }
16269
16280
  },
16270
16281
  children: [
16271
- /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableHead, { children: table.getHeaderGroups().map((headerGroup) => {
16272
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16273
- import_material8.TableCell,
16282
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableHead, { children: table.getHeaderGroups().map((headerGroup) => {
16283
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16284
+ import_material7.TableCell,
16274
16285
  {
16275
16286
  colSpan: header.colSpan,
16276
16287
  sx: {
@@ -16284,9 +16295,9 @@ var SpansDataGrid = ({
16284
16295
  header.id
16285
16296
  )) }, headerGroup.id);
16286
16297
  }) }),
16287
- /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_material8.TableBody, { children: [
16288
- (spans === void 0 || clearingSpans || searching) && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableCell, { colSpan: columnCount, sx: { fontStyle: "italic", textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.CircularProgress, { size: 48, sx: { m: 4 } }) }) }),
16289
- !clearingSpans && !searching && spans?.length === 0 && (compute.queryActive ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16298
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material7.TableBody, { children: [
16299
+ (spans === void 0 || clearingSpans || searching) && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableCell, { colSpan: columnCount, sx: { fontStyle: "italic", textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.CircularProgress, { size: 48, sx: { m: 4 } }) }) }),
16300
+ !clearingSpans && !searching && spans?.length === 0 && (compute.queryActive ? /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16290
16301
  NoMatchRow,
16291
16302
  {
16292
16303
  colSpan: columnCount,
@@ -16295,12 +16306,12 @@ var SpansDataGrid = ({
16295
16306
  searchActive,
16296
16307
  term: searchText
16297
16308
  }
16298
- ) : /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_NO_SPANS })),
16299
- !clearingSpans && order2 === "newest_first" && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_jsx_runtime128.Fragment, { children: [
16300
- hasRows && hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(LoadingRow, { colSpan: columnCount }),
16301
- hasRows && !hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_END_OF_STREAM }),
16302
- hasRows && paddingTop > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16303
- import_material8.TableCell,
16309
+ ) : /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_NO_SPANS })),
16310
+ !clearingSpans && order2 === "newest_first" && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
16311
+ hasRows && hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(LoadingRow, { colSpan: columnCount }),
16312
+ hasRows && !hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_END_OF_STREAM }),
16313
+ hasRows && paddingTop > 0 && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16314
+ import_material7.TableCell,
16304
16315
  {
16305
16316
  colSpan: columnCount,
16306
16317
  sx: { border: 0, height: paddingTop, p: 0 }
@@ -16309,7 +16320,7 @@ var SpansDataGrid = ({
16309
16320
  hasRows && virtualItems.map((virtualItem) => {
16310
16321
  const row = displayRows[virtualItem.index];
16311
16322
  const isNew = newSpanIds?.has(row.original.span_id) ?? false;
16312
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16323
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16313
16324
  SpansDataGridRow,
16314
16325
  {
16315
16326
  downstream: compute.rows[row.original.span_id]?.downstream,
@@ -16321,21 +16332,21 @@ var SpansDataGrid = ({
16321
16332
  row.original.span_id
16322
16333
  );
16323
16334
  }),
16324
- hasRows && paddingBottom > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16325
- import_material8.TableCell,
16335
+ hasRows && paddingBottom > 0 && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16336
+ import_material7.TableCell,
16326
16337
  {
16327
16338
  colSpan: columnCount,
16328
16339
  sx: { border: 0, height: paddingBottom, p: 0 }
16329
16340
  }
16330
16341
  ) }),
16331
- hasRows && hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(LoadingRow, { colSpan: columnCount }),
16332
- hasRows && !hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_BEGINNING_OF_STREAM })
16342
+ hasRows && hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(LoadingRow, { colSpan: columnCount }),
16343
+ hasRows && !hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_BEGINNING_OF_STREAM })
16333
16344
  ] }),
16334
- !clearingSpans && order2 === "oldest_first" && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_jsx_runtime128.Fragment, { children: [
16335
- hasRows && !hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_BEGINNING_OF_STREAM }),
16336
- hasRows && hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(LoadingRow, { colSpan: columnCount }),
16337
- hasRows && paddingTop > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16338
- import_material8.TableCell,
16345
+ !clearingSpans && order2 === "oldest_first" && /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
16346
+ hasRows && !hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_BEGINNING_OF_STREAM }),
16347
+ hasRows && hasMoreBackward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(LoadingRow, { colSpan: columnCount }),
16348
+ hasRows && paddingTop > 0 && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16349
+ import_material7.TableCell,
16339
16350
  {
16340
16351
  colSpan: columnCount,
16341
16352
  sx: { border: 0, height: paddingTop, p: 0 }
@@ -16344,7 +16355,7 @@ var SpansDataGrid = ({
16344
16355
  hasRows && virtualItems.map((virtualItem) => {
16345
16356
  const row = displayRows[virtualItem.index];
16346
16357
  const isNew = newSpanIds?.has(row.original.span_id) ?? false;
16347
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16358
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16348
16359
  SpansDataGridRow,
16349
16360
  {
16350
16361
  downstream: compute.rows[row.original.span_id]?.downstream,
@@ -16356,15 +16367,15 @@ var SpansDataGrid = ({
16356
16367
  row.original.span_id
16357
16368
  );
16358
16369
  }),
16359
- hasRows && paddingBottom > 0 && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16360
- import_material8.TableCell,
16370
+ hasRows && paddingBottom > 0 && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material7.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
16371
+ import_material7.TableCell,
16361
16372
  {
16362
16373
  colSpan: columnCount,
16363
16374
  sx: { border: 0, height: paddingBottom, p: 0 }
16364
16375
  }
16365
16376
  ) }),
16366
- hasRows && hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(LoadingRow, { colSpan: columnCount }),
16367
- hasRows && !hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_END_OF_STREAM })
16377
+ hasRows && hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(LoadingRow, { colSpan: columnCount }),
16378
+ hasRows && !hasMoreForward && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(StreamBoundaryRow, { colSpan: columnCount, label: LABEL_END_OF_STREAM })
16368
16379
  ] })
16369
16380
  ] })
16370
16381
  ]
@@ -16376,13 +16387,13 @@ var SpansDataGrid = ({
16376
16387
  };
16377
16388
 
16378
16389
  // src/components/spans-list/spans-list.tsx
16379
- var import_jsx_runtime129 = require("react/jsx-runtime");
16390
+ var import_jsx_runtime128 = require("react/jsx-runtime");
16380
16391
  var SpansList = (props) => {
16381
- return /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_material9.Box, { "data-testid": SPANS_DATA_GRID_TEST_ID, sx: { display: "flex", flexDirection: "column", flexGrow: 1, gap: 1, width: "100%" }, children: [
16382
- props.fetchError && /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
16383
- import_material9.Alert,
16392
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(import_material8.Box, { "data-testid": SPANS_DATA_GRID_TEST_ID, sx: { display: "flex", flexDirection: "column", flexGrow: 1, gap: 1, width: "100%" }, children: [
16393
+ props.fetchError && /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
16394
+ import_material8.Alert,
16384
16395
  {
16385
- action: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Button, { onClick: props.onFetchForward, children: "Retry" }),
16396
+ action: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_material8.Button, { onClick: props.onFetchForward, children: "Retry" }),
16386
16397
  severity: "error",
16387
16398
  sx: { mt: 1, mx: 2 },
16388
16399
  children: [
@@ -16392,7 +16403,7 @@ var SpansList = (props) => {
16392
16403
  ]
16393
16404
  }
16394
16405
  ),
16395
- /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16406
+ /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16396
16407
  SpansDataGrid,
16397
16408
  {
16398
16409
  clearingSpans: props.clearingSpans,
@@ -16418,10 +16429,10 @@ var SpansList = (props) => {
16418
16429
  };
16419
16430
 
16420
16431
  // src/components/status-message/status-message.tsx
16421
- var import_icons_material6 = require("@mui/icons-material");
16422
- var import_material10 = require("@mui/material");
16432
+ var import_icons_material5 = require("@mui/icons-material");
16433
+ var import_material9 = require("@mui/material");
16423
16434
  var import_react39 = require("react");
16424
- var import_jsx_runtime130 = require("react/jsx-runtime");
16435
+ var import_jsx_runtime129 = require("react/jsx-runtime");
16425
16436
  var START_COMMAND = "LOCALSTACK_APP_INSPECTOR=1 lstk";
16426
16437
  var StatusMessage = ({
16427
16438
  localstackVersion,
@@ -16444,8 +16455,8 @@ var StatusMessage = ({
16444
16455
  }
16445
16456
  };
16446
16457
  if (phase === "CHECKING_STATUS" || phase === "CONNECTING_WS") {
16447
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16448
- import_material10.Box,
16458
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16459
+ import_material9.Box,
16449
16460
  {
16450
16461
  sx: {
16451
16462
  alignItems: "center",
@@ -16455,13 +16466,13 @@ var StatusMessage = ({
16455
16466
  justifyContent: "center",
16456
16467
  p: 4
16457
16468
  },
16458
- children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.CircularProgress, { size: 32 })
16469
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.CircularProgress, { size: 32 })
16459
16470
  }
16460
16471
  );
16461
16472
  }
16462
16473
  if (phase === "INCOMPATIBLE") {
16463
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16464
- import_material10.Box,
16474
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16475
+ import_material9.Box,
16465
16476
  {
16466
16477
  sx: {
16467
16478
  alignItems: "center",
@@ -16471,18 +16482,18 @@ var StatusMessage = ({
16471
16482
  justifyContent: "center",
16472
16483
  p: 4
16473
16484
  },
16474
- children: /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
16475
- import_material10.Alert,
16485
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
16486
+ import_material9.Alert,
16476
16487
  {
16477
- icon: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material6.ErrorOutline, { fontSize: "large" }),
16488
+ icon: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_icons_material5.ErrorOutline, { fontSize: "large" }),
16478
16489
  severity: "error",
16479
16490
  sx: { maxWidth: 600, width: "100%" },
16480
16491
  children: [
16481
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector Not Available" }),
16482
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Typography, { sx: { mb: 2 }, variant: "body2", children: localstackVersion === void 0 ? `App Inspector requires LocalStack ${MINIMUM_EMULATOR_VERSION} or later. Please update LocalStack.` : `App Inspector requires LocalStack ${MINIMUM_EMULATOR_VERSION} or later. You are running version ${localstackVersion}. Please update LocalStack.` }),
16483
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Typography, { sx: { mb: 1 }, variant: "body2", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("strong", { children: "Update LocalStack:" }) }),
16484
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16485
- import_material10.Box,
16492
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector Not Available" }),
16493
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Typography, { sx: { mb: 2 }, variant: "body2", children: localstackVersion === void 0 ? `App Inspector requires LocalStack ${MINIMUM_EMULATOR_VERSION} or later. Please update LocalStack.` : `App Inspector requires LocalStack ${MINIMUM_EMULATOR_VERSION} or later. You are running version ${localstackVersion}. Please update LocalStack.` }),
16494
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Typography, { sx: { mb: 1 }, variant: "body2", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("strong", { children: "Update LocalStack:" }) }),
16495
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16496
+ import_material9.Box,
16486
16497
  {
16487
16498
  component: "pre",
16488
16499
  sx: {
@@ -16494,8 +16505,8 @@ var StatusMessage = ({
16494
16505
  children: "localstack update docker-images"
16495
16506
  }
16496
16507
  ),
16497
- onRetry && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Box, { sx: { display: "flex", gap: 1, mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16498
- import_material10.Button,
16508
+ onRetry && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Box, { sx: { display: "flex", gap: 1, mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16509
+ import_material9.Button,
16499
16510
  {
16500
16511
  "aria-label": "Check App Inspector status again",
16501
16512
  onClick: onRetry,
@@ -16510,8 +16521,8 @@ var StatusMessage = ({
16510
16521
  );
16511
16522
  }
16512
16523
  if (phase === "UNREACHABLE") {
16513
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16514
- import_material10.Box,
16524
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16525
+ import_material9.Box,
16515
16526
  {
16516
16527
  sx: {
16517
16528
  alignItems: "center",
@@ -16521,18 +16532,18 @@ var StatusMessage = ({
16521
16532
  justifyContent: "center",
16522
16533
  p: 4
16523
16534
  },
16524
- children: /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
16525
- import_material10.Alert,
16535
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
16536
+ import_material9.Alert,
16526
16537
  {
16527
- icon: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material6.ErrorOutline, { fontSize: "large" }),
16538
+ icon: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_icons_material5.ErrorOutline, { fontSize: "large" }),
16528
16539
  severity: "error",
16529
16540
  sx: { maxWidth: 600, width: "100%" },
16530
16541
  children: [
16531
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.AlertTitle, { sx: { fontWeight: "bold" }, children: "Connection Error" }),
16532
- /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_material10.Typography, { sx: { mb: 2 }, variant: "body2", children: [
16542
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.AlertTitle, { sx: { fontWeight: "bold" }, children: "Connection Error" }),
16543
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_material9.Typography, { sx: { mb: 2 }, variant: "body2", children: [
16533
16544
  "Failed to connect to LocalStack. Ensure ",
16534
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16535
- import_material10.Link,
16545
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16546
+ import_material9.Link,
16536
16547
  {
16537
16548
  href: "https://docs.localstack.cloud/aws/getting-started/installation/",
16538
16549
  rel: "noopener noreferrer",
@@ -16542,9 +16553,9 @@ var StatusMessage = ({
16542
16553
  ),
16543
16554
  " is running and accessible."
16544
16555
  ] }),
16545
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Typography, { sx: { mb: 1 }, variant: "body2", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("strong", { children: "Start LocalStack with App Inspector:" }) }),
16546
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16547
- import_material10.Box,
16556
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Typography, { sx: { mb: 1 }, variant: "body2", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("strong", { children: "Start LocalStack with App Inspector:" }) }),
16557
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16558
+ import_material9.Box,
16548
16559
  {
16549
16560
  component: "pre",
16550
16561
  sx: {
@@ -16556,8 +16567,8 @@ var StatusMessage = ({
16556
16567
  children: START_COMMAND
16557
16568
  }
16558
16569
  ),
16559
- onRetry && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Box, { sx: { display: "flex", justifyContent: "flex-start", mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16560
- import_material10.Button,
16570
+ onRetry && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Box, { sx: { display: "flex", justifyContent: "flex-start", mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16571
+ import_material9.Button,
16561
16572
  {
16562
16573
  "aria-label": "Retry connection to LocalStack",
16563
16574
  onClick: onRetry,
@@ -16572,8 +16583,8 @@ var StatusMessage = ({
16572
16583
  );
16573
16584
  }
16574
16585
  if (phase === "DISABLED") {
16575
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16576
- import_material10.Box,
16586
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16587
+ import_material9.Box,
16577
16588
  {
16578
16589
  sx: {
16579
16590
  alignItems: "center",
@@ -16583,31 +16594,31 @@ var StatusMessage = ({
16583
16594
  justifyContent: "center",
16584
16595
  p: 4
16585
16596
  },
16586
- children: /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
16587
- import_material10.Alert,
16597
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
16598
+ import_material9.Alert,
16588
16599
  {
16589
- icon: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material6.InfoOutlined, { fontSize: "large" }),
16600
+ icon: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_icons_material5.InfoOutlined, { fontSize: "large" }),
16590
16601
  severity: "warning",
16591
16602
  sx: { maxWidth: 600, width: "100%" },
16592
16603
  children: [
16593
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector Is Not Enabled" }),
16594
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Typography, { sx: { mb: 2 }, variant: "body2", children: "App Inspector is not currently enabled in LocalStack. You can enable it now, or at startup." }),
16595
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Box, { sx: { display: "flex", gap: 1, mb: 2 }, children: onEnable && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16596
- import_material10.Button,
16604
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector Is Not Enabled" }),
16605
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Typography, { sx: { mb: 2 }, variant: "body2", children: "App Inspector is not currently enabled in LocalStack. You can enable it now, or at startup." }),
16606
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Box, { sx: { display: "flex", gap: 1, mb: 2 }, children: onEnable && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16607
+ import_material9.Button,
16597
16608
  {
16598
16609
  "aria-label": "Enable App Inspector Now",
16599
16610
  disabled: enabling,
16600
16611
  onClick: () => {
16601
16612
  void handleEnable();
16602
16613
  },
16603
- startIcon: enabling ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.CircularProgress, { size: 16 }) : void 0,
16614
+ startIcon: enabling ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.CircularProgress, { size: 16 }) : void 0,
16604
16615
  variant: "contained",
16605
16616
  children: "Enable App Inspector Now"
16606
16617
  }
16607
16618
  ) }),
16608
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Typography, { sx: { mb: 1 }, variant: "body2", children: "If you'd prefer to automatically enable App Inspector at start up, use:" }),
16609
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16610
- import_material10.Box,
16619
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Typography, { sx: { mb: 1 }, variant: "body2", children: "If you'd prefer to automatically enable App Inspector at start up, use:" }),
16620
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16621
+ import_material9.Box,
16611
16622
  {
16612
16623
  component: "pre",
16613
16624
  sx: {
@@ -16619,14 +16630,14 @@ var StatusMessage = ({
16619
16630
  children: START_COMMAND
16620
16631
  }
16621
16632
  ),
16622
- Boolean(enableError) && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Typography, { color: "error", sx: { mt: 1 }, variant: "body2", children: enableError })
16633
+ Boolean(enableError) && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material9.Typography, { color: "error", sx: { mt: 1 }, variant: "body2", children: enableError })
16623
16634
  ]
16624
16635
  }
16625
16636
  )
16626
16637
  }
16627
16638
  );
16628
16639
  }
16629
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_jsx_runtime130.Fragment, {});
16640
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_jsx_runtime129.Fragment, {});
16630
16641
  };
16631
16642
 
16632
16643
  // src/utils/span-parents.ts
@@ -16728,6 +16739,12 @@ var import_icons_material11 = require("@mui/icons-material");
16728
16739
  var import_material19 = require("@mui/material");
16729
16740
  var import_react51 = require("react");
16730
16741
 
16742
+ // src/dev-settings.tsx
16743
+ var React122 = __toESM(require("react"), 1);
16744
+ var DEFAULT_DEV_SETTINGS = { operationStatus: "subtitle-chips", requestTerms: "on", waterfallIssueBackgrounds: "off", waterfallLayout: "tree", waterfallStatusIcons: "first column" };
16745
+ var DevSettingsContext = React122.createContext(DEFAULT_DEV_SETTINGS);
16746
+ var useDevSettings = () => React122.useContext(DevSettingsContext);
16747
+
16731
16748
  // src/utils/event-utils.ts
16732
16749
  var iamEventParser = (eventName, attributes) => {
16733
16750
  if (attributes?.payload && typeof attributes.payload === "string") {
@@ -16835,6 +16852,37 @@ var getEventGroupsByType = (events) => {
16835
16852
  return groups;
16836
16853
  };
16837
16854
 
16855
+ // src/utils/lambda-function-error.ts
16856
+ var parse2 = (value) => {
16857
+ if (typeof value !== "string") return value;
16858
+ try {
16859
+ return JSON.parse(value);
16860
+ } catch {
16861
+ return value;
16862
+ }
16863
+ };
16864
+ var text2 = (value) => {
16865
+ if (value === void 0 || value === null || value === "") return void 0;
16866
+ return typeof value === "string" ? value : JSON.stringify(value);
16867
+ };
16868
+ var getLambdaFunctionError = (response) => {
16869
+ const parsed = parse2(response);
16870
+ if (!parsed || typeof parsed !== "object" || !("FunctionError" in parsed) || typeof parsed.FunctionError !== "string") {
16871
+ return void 0;
16872
+ }
16873
+ const payload = "Payload" in parsed ? parse2(parsed.Payload) : void 0;
16874
+ const error = payload && typeof payload === "object" ? payload : {};
16875
+ const stackTrace = Array.isArray(error.stackTrace) && error.stackTrace.length > 0 ? error.stackTrace.map((frame2) => String(frame2).replace(/\n$/, "")).join("\n") : void 0;
16876
+ return {
16877
+ // A runtime that returns a non-JSON payload: show it as the message.
16878
+ errorMessage: text2(error.errorMessage) ?? (typeof payload === "string" ? text2(payload) : void 0),
16879
+ errorType: text2(error.errorType),
16880
+ functionError: parsed.FunctionError,
16881
+ requestId: text2(error.requestId),
16882
+ stackTrace
16883
+ };
16884
+ };
16885
+
16838
16886
  // src/utils/time.ts
16839
16887
  function unixNanoToDate(unixNanoString) {
16840
16888
  const milliseconds = unixNanoToMilliseconds(unixNanoString);
@@ -16847,95 +16895,95 @@ function unixNanoToMilliseconds(unixNanoString) {
16847
16895
  }
16848
16896
 
16849
16897
  // src/components/event-details/copy-button.tsx
16850
- var import_icons_material7 = require("@mui/icons-material");
16851
- var import_material11 = require("@mui/material");
16898
+ var import_icons_material6 = require("@mui/icons-material");
16899
+ var import_material10 = require("@mui/material");
16852
16900
  var import_react40 = require("react");
16853
- var import_jsx_runtime131 = require("react/jsx-runtime");
16901
+ var import_jsx_runtime130 = require("react/jsx-runtime");
16854
16902
  var CopyButton = ({ value }) => {
16855
16903
  const [copied, setCopied] = (0, import_react40.useState)(false);
16856
16904
  const handleCopy = (0, import_react40.useCallback)(() => {
16857
- const text2 = typeof value === "string" ? value : JSON.stringify(value, void 0, 2);
16858
- void navigator.clipboard.writeText(text2).then(() => {
16905
+ const text3 = typeof value === "string" ? value : JSON.stringify(value, void 0, 2);
16906
+ void navigator.clipboard.writeText(text3).then(() => {
16859
16907
  setCopied(true);
16860
16908
  setTimeout(() => {
16861
16909
  setCopied(false);
16862
16910
  }, 1500);
16863
16911
  });
16864
16912
  }, [value]);
16865
- return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_material11.Tooltip, { title: copied ? "Copied!" : "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
16866
- import_material11.IconButton,
16913
+ return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material10.Tooltip, { title: copied ? "Copied!" : "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
16914
+ import_material10.IconButton,
16867
16915
  {
16868
16916
  className: "copy-btn",
16869
16917
  onClick: handleCopy,
16870
16918
  size: "small",
16871
16919
  sx: { ml: 0.5, opacity: copied ? 1 : 0, p: 0.25, transition: "opacity 0.15s" },
16872
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_icons_material7.Check, { sx: { fontSize: 14 } }) : /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_icons_material7.ContentCopy, { sx: { fontSize: 14 } })
16920
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material6.Check, { sx: { fontSize: 14 } }) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material6.ContentCopy, { sx: { fontSize: 14 } })
16873
16921
  }
16874
16922
  ) });
16875
16923
  };
16876
16924
 
16877
16925
  // src/components/event-details/event-detail.tsx
16878
- var import_icons_material10 = require("@mui/icons-material");
16879
- var import_material17 = require("@mui/material");
16926
+ var import_icons_material9 = require("@mui/icons-material");
16927
+ var import_material16 = require("@mui/material");
16880
16928
  var import_react44 = require("react");
16881
16929
 
16882
16930
  // src/components/status-icon.tsx
16883
- var import_icons_material8 = require("@mui/icons-material");
16884
- var import_material12 = require("@mui/material");
16885
- var import_jsx_runtime132 = require("react/jsx-runtime");
16931
+ var import_icons_material7 = require("@mui/icons-material");
16932
+ var import_material11 = require("@mui/material");
16933
+ var import_jsx_runtime131 = require("react/jsx-runtime");
16886
16934
  var StatusIcon = ({ errorLevel }) => {
16887
16935
  switch (errorLevel) {
16888
16936
  case EventLevel.LevelError: {
16889
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material8.Cancel, { sx: { color: "red" } });
16937
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_icons_material7.Cancel, { sx: { color: "red" } });
16890
16938
  }
16891
16939
  case EventLevel.LevelInfo: {
16892
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material8.Info, { sx: { color: "gray" } });
16940
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_icons_material7.Info, { sx: { color: "gray" } });
16893
16941
  }
16894
16942
  case EventLevel.LevelPermission:
16895
16943
  case EventLevel.LevelWarning: {
16896
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material8.Error, { sx: { color: "orange" } });
16944
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_icons_material7.GppMaybe, { sx: { color: "orange" } });
16897
16945
  }
16898
16946
  default: {
16899
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material8.CheckCircle, { sx: { color: "lightgray" } });
16947
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_icons_material7.CheckCircle, { sx: { color: "lightgray" } });
16900
16948
  }
16901
16949
  }
16902
16950
  };
16903
16951
 
16904
16952
  // src/components/event-details/iam-event-detail.tsx
16905
- var import_icons_material9 = require("@mui/icons-material");
16906
- var import_material13 = require("@mui/material");
16907
- var import_jsx_runtime133 = require("react/jsx-runtime");
16908
- var DetailRow = ({ content, label }) => /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "72px 1fr", mb: 0.5 }, children: [
16909
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "text.secondary", sx: { fontWeight: 600 }, variant: "caption", children: label }),
16910
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Box, { children: typeof content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { color: "text.primary", wordBreak: "break-word" }, variant: "caption", children: content }) : content })
16953
+ var import_icons_material8 = require("@mui/icons-material");
16954
+ var import_material12 = require("@mui/material");
16955
+ var import_jsx_runtime132 = require("react/jsx-runtime");
16956
+ var DetailRow = ({ content, label }) => /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_material12.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "72px 1fr", mb: 0.5 }, children: [
16957
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "text.secondary", sx: { fontWeight: 600 }, variant: "caption", children: label }),
16958
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Box, { children: typeof content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { sx: { color: "text.primary", wordBreak: "break-word" }, variant: "caption", children: content }) : content })
16911
16959
  ] });
16912
16960
  var PermissionIcon = ({ status }) => {
16913
16961
  switch (status) {
16914
16962
  case "explicitly_allowed": {
16915
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_icons_material9.CheckCircle, { sx: { color: "success.main", fontSize: "1rem" } });
16963
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material8.CheckCircle, { sx: { color: "success.main", fontSize: "1rem" } });
16916
16964
  }
16917
16965
  case "explicitly_denied": {
16918
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_icons_material9.Error, { sx: { color: "error.main", fontSize: "1rem" } });
16966
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material8.Error, { sx: { color: "error.main", fontSize: "1rem" } });
16919
16967
  }
16920
16968
  case "implicitly_denied": {
16921
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_icons_material9.Warning, { sx: { color: "warning.main", fontSize: "1rem" } });
16969
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material8.GppMaybe, { sx: { color: "warning.main", fontSize: "1rem" } });
16922
16970
  }
16923
16971
  }
16924
16972
  };
16925
16973
  var IAMEventDetail = ({ event }) => {
16926
16974
  const payloadString = event.attributes?.payload;
16927
16975
  if (!payloadString) {
16928
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "text.secondary", variant: "caption", children: "No IAM policy evaluation data available" });
16976
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "text.secondary", variant: "caption", children: "No IAM policy evaluation data available" });
16929
16977
  }
16930
16978
  const parsedIAM = parseIAMEvent(payloadString);
16931
16979
  if (!parsedIAM) {
16932
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "text.secondary", variant: "caption", children: "Failed to parse IAM event data" });
16980
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "text.secondary", variant: "caption", children: "Failed to parse IAM event data" });
16933
16981
  }
16934
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { children: [
16935
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Box, { sx: { mb: 1.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
16936
- import_material13.Chip,
16982
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_material12.Box, { children: [
16983
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Box, { sx: { mb: 1.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
16984
+ import_material12.Chip,
16937
16985
  {
16938
- icon: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(PermissionIcon, { status: parsedIAM.permission }),
16986
+ icon: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(PermissionIcon, { status: parsedIAM.permission }),
16939
16987
  label: formatPermissionStatus(parsedIAM.permission),
16940
16988
  size: "small",
16941
16989
  sx: {
@@ -16945,36 +16993,36 @@ var IAMEventDetail = ({ event }) => {
16945
16993
  variant: "outlined"
16946
16994
  }
16947
16995
  ) }),
16948
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(DetailRow, { content: `${parsedIAM.service}:${parsedIAM.operation}`, label: "Operation" }),
16949
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(DetailRow, { content: parsedIAM.principal, label: "Principal" }),
16950
- parsedIAM.details.actions && parsedIAM.details.actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
16996
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(DetailRow, { content: `${parsedIAM.service}:${parsedIAM.operation}`, label: "Operation" }),
16997
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(DetailRow, { content: parsedIAM.principal, label: "Principal" }),
16998
+ parsedIAM.details.actions && parsedIAM.details.actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
16951
16999
  DetailRow,
16952
17000
  {
16953
- content: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Box, { children: parsedIAM.details.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { color: "text.primary", display: "block" }, variant: "caption", children: action }, action)) }),
17001
+ content: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Box, { children: parsedIAM.details.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { sx: { color: "text.primary", display: "block" }, variant: "caption", children: action }, action)) }),
16954
17002
  label: "Actions"
16955
17003
  }
16956
17004
  ),
16957
- parsedIAM.details.resources && parsedIAM.details.resources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
17005
+ parsedIAM.details.resources && parsedIAM.details.resources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
16958
17006
  DetailRow,
16959
17007
  {
16960
- content: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Box, { children: parsedIAM.details.resources.map((resource) => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { color: "text.primary", display: "block", wordBreak: "break-all" }, variant: "caption", children: resource }, resource)) }),
17008
+ content: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Box, { children: parsedIAM.details.resources.map((resource) => /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { sx: { color: "text.primary", display: "block", wordBreak: "break-all" }, variant: "caption", children: resource }, resource)) }),
16961
17009
  label: "Resources"
16962
17010
  }
16963
17011
  ),
16964
- (parsedIAM.details.explicitAllows !== void 0 || parsedIAM.details.explicitDenies !== void 0 || parsedIAM.details.implicitDenies !== void 0) && /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { sx: { mt: 1.5 }, children: [
16965
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "text.secondary", sx: { display: "block", fontWeight: 600, mb: 0.5 }, variant: "caption", children: "Policy Evaluation" }),
16966
- /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "repeat(3, 1fr)" }, children: [
16967
- parsedIAM.details.explicitAllows !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { sx: { textAlign: "center" }, children: [
16968
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "success.main", sx: { display: "block", fontWeight: "bold" }, variant: "subtitle2", children: parsedIAM.details.explicitAllows }),
16969
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "text.secondary", variant: "caption", children: "Explicit Allows" })
17012
+ (parsedIAM.details.explicitAllows !== void 0 || parsedIAM.details.explicitDenies !== void 0 || parsedIAM.details.implicitDenies !== void 0) && /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_material12.Box, { sx: { mt: 1.5 }, children: [
17013
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "text.secondary", sx: { display: "block", fontWeight: 600, mb: 0.5 }, variant: "caption", children: "Policy Evaluation" }),
17014
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_material12.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "repeat(3, 1fr)" }, children: [
17015
+ parsedIAM.details.explicitAllows !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_material12.Box, { sx: { textAlign: "center" }, children: [
17016
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "success.main", sx: { display: "block", fontWeight: "bold" }, variant: "subtitle2", children: parsedIAM.details.explicitAllows }),
17017
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "text.secondary", variant: "caption", children: "Explicit Allows" })
16970
17018
  ] }),
16971
- parsedIAM.details.explicitDenies !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { sx: { textAlign: "center" }, children: [
16972
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "error.main", sx: { display: "block", fontWeight: "bold" }, variant: "subtitle2", children: parsedIAM.details.explicitDenies }),
16973
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "text.secondary", variant: "caption", children: "Explicit Denies" })
17019
+ parsedIAM.details.explicitDenies !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_material12.Box, { sx: { textAlign: "center" }, children: [
17020
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "error.main", sx: { display: "block", fontWeight: "bold" }, variant: "subtitle2", children: parsedIAM.details.explicitDenies }),
17021
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "text.secondary", variant: "caption", children: "Explicit Denies" })
16974
17022
  ] }),
16975
- parsedIAM.details.implicitDenies !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { sx: { textAlign: "center" }, children: [
16976
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "warning.main", sx: { display: "block", fontWeight: "bold" }, variant: "subtitle2", children: parsedIAM.details.implicitDenies }),
16977
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { color: "text.secondary", variant: "caption", children: "Implicit Denies" })
17023
+ parsedIAM.details.implicitDenies !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_material12.Box, { sx: { textAlign: "center" }, children: [
17024
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "warning.main", sx: { display: "block", fontWeight: "bold" }, variant: "subtitle2", children: parsedIAM.details.implicitDenies }),
17025
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_material12.Typography, { color: "text.secondary", variant: "caption", children: "Implicit Denies" })
16978
17026
  ] })
16979
17027
  ] })
16980
17028
  ] })
@@ -16982,15 +17030,10 @@ var IAMEventDetail = ({ event }) => {
16982
17030
  };
16983
17031
 
16984
17032
  // src/components/event-details/iam-permission-detail.tsx
16985
- var import_material14 = require("@mui/material");
17033
+ var import_material13 = require("@mui/material");
16986
17034
  var import_react41 = require("react");
16987
- var import_jsx_runtime134 = require("react/jsx-runtime");
16988
- var getChipColor = (isAllowed, spanStatusCode) => {
16989
- if (isAllowed) return "success.main";
16990
- if (spanStatusCode === 2) return "error.main";
16991
- return "warning.main";
16992
- };
16993
- var IAMPermissionItem = ({ event, spanStatusCode }) => {
17035
+ var import_jsx_runtime133 = require("react/jsx-runtime");
17036
+ var IAMPermissionItem = ({ event }) => {
16994
17037
  const parsedData = (0, import_react41.useMemo)(() => {
16995
17038
  const payloadString = event.attributes?.payload;
16996
17039
  if (!payloadString) return;
@@ -17002,43 +17045,38 @@ var IAMPermissionItem = ({ event, spanStatusCode }) => {
17002
17045
  return null;
17003
17046
  }
17004
17047
  const { parsedIAM } = parsedData;
17005
- const isAllowed = parsedIAM.permission === "explicitly_allowed";
17006
- const chipColors = { backgroundColor: getChipColor(isAllowed, spanStatusCode), color: "white" };
17007
- return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, { sx: { mb: 0.5 }, children: [
17008
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, { sx: { alignItems: "center", display: "flex", gap: 1, mb: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Chip, { label: formatPermissionStatus(parsedIAM.permission), size: "small", sx: { ...chipColors, fontWeight: 500 } }) }),
17009
- /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Stack, { spacing: 1, children: [
17010
- /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, { "data-testid": EVENT_DETAILS_IAM_PRINCIPAL_TEST_ID, children: [
17011
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Principal" }),
17012
- /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Stack, { alignItems: "center", direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
17013
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Typography, { sx: { wordBreak: "break-all" }, variant: "body2", children: parsedIAM.principal }),
17014
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(CopyButton, { value: parsedIAM.principal })
17015
- ] })
17016
- ] }),
17017
- parsedIAM.details.actions && parsedIAM.details.actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, { "data-testid": EVENT_DETAILS_IAM_ACTIONS_TEST_ID, children: [
17018
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Actions" }),
17019
- parsedIAM.details.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Stack, { alignItems: "center", direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
17020
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Typography, { sx: { display: "block" }, variant: "body2", children: action }),
17021
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(CopyButton, { value: action })
17022
- ] }, action))
17023
- ] }),
17024
- parsedIAM.details.resources && parsedIAM.details.resources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, { "data-testid": EVENT_DETAILS_IAM_RESOURCES_TEST_ID, children: [
17025
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Resources" }),
17026
- parsedIAM.details.resources.map((resource) => /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Stack, { alignItems: "center", direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
17027
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Typography, { sx: { display: "block", wordBreak: "break-all" }, variant: "body2", children: resource }),
17028
- /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(CopyButton, { value: resource })
17029
- ] }, resource))
17048
+ return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Box, { sx: { mb: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Stack, { spacing: 1, children: [
17049
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { "data-testid": EVENT_DETAILS_IAM_PRINCIPAL_TEST_ID, children: [
17050
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Principal" }),
17051
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Stack, { alignItems: "center", direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
17052
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { wordBreak: "break-all" }, variant: "body2", children: parsedIAM.principal }),
17053
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(CopyButton, { value: parsedIAM.principal })
17030
17054
  ] })
17055
+ ] }),
17056
+ parsedIAM.details.actions && parsedIAM.details.actions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { "data-testid": EVENT_DETAILS_IAM_ACTIONS_TEST_ID, children: [
17057
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Actions" }),
17058
+ parsedIAM.details.actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Stack, { alignItems: "center", direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
17059
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { display: "block" }, variant: "body2", children: action }),
17060
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(CopyButton, { value: action })
17061
+ ] }, action))
17062
+ ] }),
17063
+ parsedIAM.details.resources && parsedIAM.details.resources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Box, { "data-testid": EVENT_DETAILS_IAM_RESOURCES_TEST_ID, children: [
17064
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { display: "block", fontWeight: 600 }, variant: "caption", children: "Resources" }),
17065
+ parsedIAM.details.resources.map((resource) => /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(import_material13.Stack, { alignItems: "center", direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
17066
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Typography, { sx: { display: "block", wordBreak: "break-all" }, variant: "body2", children: resource }),
17067
+ /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(CopyButton, { value: resource })
17068
+ ] }, resource))
17031
17069
  ] })
17032
- ] });
17070
+ ] }) });
17033
17071
  };
17034
- var IAMPermissionDetail = ({ events, spanStatusCode }) => /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, { children: events.map((event) => /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(IAMPermissionItem, { event, spanStatusCode }, `${event.span_id}-${event.event_id}`)) });
17072
+ var IAMPermissionDetail = ({ events }) => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_material13.Box, { children: events.map((event) => /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(IAMPermissionItem, { event }, `${event.span_id}-${event.event_id}`)) });
17035
17073
 
17036
17074
  // src/components/event-details/payload-viewer.tsx
17037
- var import_material16 = require("@mui/material");
17075
+ var import_material15 = require("@mui/material");
17038
17076
 
17039
17077
  // node_modules/.pnpm/@textea+json-viewer@3.5.0_@emotion+react@11.14.0_@types+react@17.0.91_react@17.0.2__@em_040507e953752247cb848fd3f764690c/node_modules/@textea/json-viewer/dist/index.mjs
17040
- var import_jsx_runtime135 = require("react/jsx-runtime");
17041
- var import_material15 = require("@mui/material");
17078
+ var import_jsx_runtime134 = require("react/jsx-runtime");
17079
+ var import_material14 = require("@mui/material");
17042
17080
  var import_react42 = require("react");
17043
17081
  var import_zustand = require("zustand");
17044
17082
  var import_copy_to_clipboard = __toESM(require_copy_to_clipboard(), 1);
@@ -17393,7 +17431,7 @@ function useInspect(path, value, nestedIndex) {
17393
17431
  setInspect
17394
17432
  ];
17395
17433
  }
17396
- var DataBox = (props) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17434
+ var DataBox = (props) => /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17397
17435
  component: "div",
17398
17436
  ...props,
17399
17437
  sx: {
@@ -17404,7 +17442,7 @@ var DataBox = (props) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_m
17404
17442
  var DataTypeLabel = (param) => {
17405
17443
  let { dataType, enable = true } = param;
17406
17444
  if (!enable) return null;
17407
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataBox, {
17445
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataBox, {
17408
17446
  className: "data-type-label",
17409
17447
  sx: {
17410
17448
  mx: 0.5,
@@ -17422,18 +17460,18 @@ function defineEasyType(param) {
17422
17460
  const storeDisplayDataTypes = useJsonViewerStore((store) => store.displayDataTypes);
17423
17461
  const color2 = useJsonViewerStore((store) => store.colorspace[colorKey]);
17424
17462
  const onSelect = useJsonViewerStore((store) => store.onSelect);
17425
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(DataBox, {
17463
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(DataBox, {
17426
17464
  onClick: () => onSelect === null || onSelect === void 0 ? void 0 : onSelect(props.path, props.value),
17427
17465
  sx: {
17428
17466
  color: color2
17429
17467
  },
17430
17468
  children: [
17431
- displayTypeLabel && storeDisplayDataTypes && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataTypeLabel, {
17469
+ displayTypeLabel && storeDisplayDataTypes && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataTypeLabel, {
17432
17470
  dataType: type
17433
17471
  }),
17434
- /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataBox, {
17472
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataBox, {
17435
17473
  className: "".concat(type, "-value"),
17436
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Render, {
17474
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Render, {
17437
17475
  path: props.path,
17438
17476
  inspect: props.inspect,
17439
17477
  setInspect: props.setInspect,
@@ -17473,7 +17511,7 @@ function defineEasyType(param) {
17473
17511
  }, [
17474
17512
  setValue
17475
17513
  ]);
17476
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.InputBase, {
17514
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.InputBase, {
17477
17515
  autoFocus: true,
17478
17516
  value,
17479
17517
  onChange: handleChange,
@@ -17513,7 +17551,7 @@ var booleanType = defineEasyType({
17513
17551
  },
17514
17552
  Renderer: (param) => {
17515
17553
  let { value } = param;
17516
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, {
17554
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {
17517
17555
  children: value ? "true" : "false"
17518
17556
  });
17519
17557
  }
@@ -17532,7 +17570,7 @@ var dateType = defineEasyType({
17532
17570
  colorKey: "base0D",
17533
17571
  Renderer: (param) => {
17534
17572
  let { value } = param;
17535
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, {
17573
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {
17536
17574
  children: value.toLocaleTimeString("en-us", displayOptions)
17537
17575
  });
17538
17576
  }
@@ -17561,12 +17599,12 @@ var functionName = (func) => {
17561
17599
  var lb = "{";
17562
17600
  var rb = "}";
17563
17601
  var PreFunctionType = (props) => {
17564
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material15.NoSsr, {
17602
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.NoSsr, {
17565
17603
  children: [
17566
- /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataTypeLabel, {
17604
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataTypeLabel, {
17567
17605
  dataType: "function"
17568
17606
  }),
17569
- /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material15.Box, {
17607
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, {
17570
17608
  component: "span",
17571
17609
  className: "data-function-start",
17572
17610
  sx: {
@@ -17582,8 +17620,8 @@ var PreFunctionType = (props) => {
17582
17620
  });
17583
17621
  };
17584
17622
  var PostFunctionType = () => {
17585
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.NoSsr, {
17586
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17623
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.NoSsr, {
17624
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17587
17625
  component: "span",
17588
17626
  className: "data-function-end",
17589
17627
  children: rb
@@ -17592,15 +17630,15 @@ var PostFunctionType = () => {
17592
17630
  };
17593
17631
  var FunctionType = (props) => {
17594
17632
  const functionColor = useJsonViewerStore((store) => store.colorspace.base05);
17595
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.NoSsr, {
17596
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17633
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.NoSsr, {
17634
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17597
17635
  className: "data-function",
17598
17636
  sx: {
17599
17637
  display: props.inspect ? "block" : "inline-block",
17600
17638
  pl: props.inspect ? 2 : 0,
17601
17639
  color: functionColor
17602
17640
  },
17603
- children: props.inspect ? functionBody(props.value) : /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17641
+ children: props.inspect ? functionBody(props.value) : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17604
17642
  component: "span",
17605
17643
  className: "data-function-body",
17606
17644
  onClick: () => props.setInspect(true),
@@ -17628,7 +17666,7 @@ var nullType = defineEasyType({
17628
17666
  displayTypeLabel: false,
17629
17667
  Renderer: () => {
17630
17668
  const backgroundColor = useJsonViewerStore((store) => store.colorspace.base02);
17631
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17669
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17632
17670
  sx: {
17633
17671
  fontSize: "0.8rem",
17634
17672
  backgroundColor,
@@ -17651,7 +17689,7 @@ var nanType = defineEasyType({
17651
17689
  deserialize: (value) => parseFloat(value),
17652
17690
  Renderer: () => {
17653
17691
  const backgroundColor = useJsonViewerStore((store) => store.colorspace.base02);
17654
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17692
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17655
17693
  sx: {
17656
17694
  backgroundColor,
17657
17695
  fontSize: "0.8rem",
@@ -17671,7 +17709,7 @@ var floatType = defineEasyType({
17671
17709
  deserialize: (value) => parseFloat(value),
17672
17710
  Renderer: (param) => {
17673
17711
  let { value } = param;
17674
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, {
17712
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {
17675
17713
  children: value
17676
17714
  });
17677
17715
  }
@@ -17685,7 +17723,7 @@ var intType = defineEasyType({
17685
17723
  deserialize: (value) => parseFloat(value),
17686
17724
  Renderer: (param) => {
17687
17725
  let { value } = param;
17688
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, {
17726
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {
17689
17727
  children: value
17690
17728
  });
17691
17729
  }
@@ -17698,16 +17736,16 @@ var bigIntType = defineEasyType({
17698
17736
  deserialize: (value) => BigInt(value.replace(/\D/g, "")),
17699
17737
  Renderer: (param) => {
17700
17738
  let { value } = param;
17701
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, {
17739
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {
17702
17740
  children: "".concat(value, "n")
17703
17741
  });
17704
17742
  }
17705
17743
  });
17706
17744
  var BaseIcon = (param) => {
17707
17745
  let { d: d2, ...props } = param;
17708
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.SvgIcon, {
17746
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.SvgIcon, {
17709
17747
  ...props,
17710
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("path", {
17748
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("path", {
17711
17749
  d: d2
17712
17750
  })
17713
17751
  });
@@ -17722,55 +17760,55 @@ var Edit = "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.3
17722
17760
  var ExpandMore = "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z";
17723
17761
  var Delete = "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5l-1-1h-5l-1 1H5v2h14V4z";
17724
17762
  var AddBoxIcon = (props) => {
17725
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17763
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17726
17764
  d: AddBox,
17727
17765
  ...props
17728
17766
  });
17729
17767
  };
17730
17768
  var CheckIcon = (props) => {
17731
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17769
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17732
17770
  d: Check2,
17733
17771
  ...props
17734
17772
  });
17735
17773
  };
17736
17774
  var ChevronRightIcon = (props) => {
17737
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17775
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17738
17776
  d: ChevronRight,
17739
17777
  ...props
17740
17778
  });
17741
17779
  };
17742
17780
  var CircularArrowsIcon = (props) => {
17743
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17781
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17744
17782
  d: CircularArrows,
17745
17783
  ...props
17746
17784
  });
17747
17785
  };
17748
17786
  var CloseIcon = (props) => {
17749
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17787
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17750
17788
  d: Close2,
17751
17789
  ...props
17752
17790
  });
17753
17791
  };
17754
17792
  var ContentCopyIcon = (props) => {
17755
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17793
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17756
17794
  d: ContentCopy2,
17757
17795
  ...props
17758
17796
  });
17759
17797
  };
17760
17798
  var EditIcon = (props) => {
17761
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17799
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17762
17800
  d: Edit,
17763
17801
  ...props
17764
17802
  });
17765
17803
  };
17766
17804
  var ExpandMoreIcon = (props) => {
17767
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17805
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17768
17806
  d: ExpandMore,
17769
17807
  ...props
17770
17808
  });
17771
17809
  };
17772
17810
  var DeleteIcon = (props) => {
17773
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(BaseIcon, {
17811
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(BaseIcon, {
17774
17812
  d: Delete,
17775
17813
  ...props
17776
17814
  });
@@ -17809,7 +17847,7 @@ var PreObjectType = (props) => {
17809
17847
  props.value
17810
17848
  ]);
17811
17849
  const isTrap = useIsCycleReference(props.path, props.value);
17812
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material15.Box, {
17850
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, {
17813
17851
  component: "span",
17814
17852
  className: "data-object-start",
17815
17853
  sx: {
@@ -17817,7 +17855,7 @@ var PreObjectType = (props) => {
17817
17855
  },
17818
17856
  children: [
17819
17857
  isArrayLike ? arrayLb : objectLb,
17820
- shouldDisplaySize && props.inspect && !isEmptyValue && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17858
+ shouldDisplaySize && props.inspect && !isEmptyValue && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17821
17859
  component: "span",
17822
17860
  sx: {
17823
17861
  pl: 0.5,
@@ -17827,16 +17865,16 @@ var PreObjectType = (props) => {
17827
17865
  },
17828
17866
  children: sizeOfValue
17829
17867
  }),
17830
- isTrap && !props.inspect && /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_jsx_runtime135.Fragment, {
17868
+ isTrap && !props.inspect && /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, {
17831
17869
  children: [
17832
- /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(CircularArrowsIcon, {
17870
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(CircularArrowsIcon, {
17833
17871
  sx: {
17834
17872
  fontSize: 12,
17835
17873
  color: textColor,
17836
17874
  mx: 0.5
17837
17875
  }
17838
17876
  }),
17839
- /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataBox, {
17877
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataBox, {
17840
17878
  sx: {
17841
17879
  cursor: "pointer",
17842
17880
  userSelect: "none"
@@ -17866,7 +17904,7 @@ var PostObjectType = (props) => {
17866
17904
  props.path,
17867
17905
  props.value
17868
17906
  ]);
17869
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material15.Box, {
17907
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, {
17870
17908
  component: "span",
17871
17909
  className: "data-object-end",
17872
17910
  sx: {
@@ -17877,7 +17915,7 @@ var PostObjectType = (props) => {
17877
17915
  },
17878
17916
  children: [
17879
17917
  isArrayLike ? arrayRb : objectRb,
17880
- shouldDisplaySize && (isEmptyValue || !props.inspect) ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
17918
+ shouldDisplaySize && (isEmptyValue || !props.inspect) ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
17881
17919
  component: "span",
17882
17920
  sx: {
17883
17921
  pl: 0.5,
@@ -17917,7 +17955,7 @@ var ObjectType = (props) => {
17917
17955
  ...props.path,
17918
17956
  key
17919
17957
  ];
17920
- elements3.push(/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataKeyPair, {
17958
+ elements3.push(/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataKeyPair, {
17921
17959
  path,
17922
17960
  value: value2,
17923
17961
  prevValue: props.prevValue instanceof Map ? props.prevValue.get(k2) : void 0,
@@ -17933,7 +17971,7 @@ var ObjectType = (props) => {
17933
17971
  while (true) {
17934
17972
  const nextResult = iterator2.next();
17935
17973
  var _nextResult_done;
17936
- elements3.push(/* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataKeyPair, {
17974
+ elements3.push(/* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataKeyPair, {
17937
17975
  path: [
17938
17976
  ...props.path,
17939
17977
  "iterator:".concat(count2)
@@ -17961,7 +17999,7 @@ var ObjectType = (props) => {
17961
17999
  ...props.path,
17962
18000
  index
17963
18001
  ];
17964
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataKeyPair, {
18002
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataKeyPair, {
17965
18003
  path,
17966
18004
  value: value2,
17967
18005
  prevValue: Array.isArray(props.prevValue) ? props.prevValue[index] : void 0,
@@ -17970,7 +18008,7 @@ var ObjectType = (props) => {
17970
18008
  });
17971
18009
  if (value.length > displayLength) {
17972
18010
  const rest = value.length - displayLength;
17973
- elements4.push(/* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(DataBox, {
18011
+ elements4.push(/* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(DataBox, {
17974
18012
  sx: {
17975
18013
  cursor: "pointer",
17976
18014
  lineHeight: 1.5,
@@ -17993,7 +18031,7 @@ var ObjectType = (props) => {
17993
18031
  const prevElements = Array.isArray(props.prevValue) ? segmentArray(props.prevValue, groupArraysAfterLength) : void 0;
17994
18032
  const elementsLastIndex = elements3.length - 1;
17995
18033
  return elements3.map((list, index) => {
17996
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataKeyPair, {
18034
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataKeyPair, {
17997
18035
  path: props.path,
17998
18036
  value: list,
17999
18037
  nestedIndex: index,
@@ -18020,7 +18058,7 @@ var ObjectType = (props) => {
18020
18058
  ...props.path,
18021
18059
  key
18022
18060
  ];
18023
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataKeyPair, {
18061
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataKeyPair, {
18024
18062
  path,
18025
18063
  value: value2,
18026
18064
  prevValue: (_props_prevValue = props.prevValue) === null || _props_prevValue === void 0 ? void 0 : _props_prevValue[key],
@@ -18029,7 +18067,7 @@ var ObjectType = (props) => {
18029
18067
  });
18030
18068
  if (entries.length > displayLength) {
18031
18069
  const rest = entries.length - displayLength;
18032
- elements2.push(/* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(DataBox, {
18070
+ elements2.push(/* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(DataBox, {
18033
18071
  sx: {
18034
18072
  cursor: "pointer",
18035
18073
  lineHeight: 1.5,
@@ -18067,7 +18105,7 @@ var ObjectType = (props) => {
18067
18105
  if (isEmptyValue) {
18068
18106
  return null;
18069
18107
  }
18070
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18108
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18071
18109
  className: "data-object",
18072
18110
  sx: {
18073
18111
  display: props.inspect ? "block" : "inline-block",
@@ -18076,7 +18114,7 @@ var ObjectType = (props) => {
18076
18114
  color: keyColor,
18077
18115
  borderLeft: props.inspect ? "1px solid ".concat(borderColor) : "none"
18078
18116
  },
18079
- children: props.inspect ? elements : !isTrap && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18117
+ children: props.inspect ? elements : !isTrap && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18080
18118
  component: "span",
18081
18119
  className: "data-object-body",
18082
18120
  onClick: () => props.setInspect(true),
@@ -18108,7 +18146,7 @@ var stringType = defineEasyType({
18108
18146
  const collapseStringsAfterLength = useJsonViewerStore((store) => store.collapseStringsAfterLength);
18109
18147
  const value = showRest ? props.value : props.value.slice(0, collapseStringsAfterLength);
18110
18148
  const hasRest = props.value.length > collapseStringsAfterLength;
18111
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material15.Box, {
18149
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, {
18112
18150
  component: "span",
18113
18151
  sx: {
18114
18152
  overflowWrap: "anywhere",
@@ -18126,7 +18164,7 @@ var stringType = defineEasyType({
18126
18164
  children: [
18127
18165
  '"',
18128
18166
  value,
18129
- hasRest && !showRest && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18167
+ hasRest && !showRest && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18130
18168
  component: "span",
18131
18169
  sx: {
18132
18170
  padding: 0.5
@@ -18145,7 +18183,7 @@ var undefinedType = defineEasyType({
18145
18183
  displayTypeLabel: false,
18146
18184
  Renderer: () => {
18147
18185
  const backgroundColor = useJsonViewerStore((store) => store.colorspace.base02);
18148
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18186
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18149
18187
  sx: {
18150
18188
  fontSize: "0.7rem",
18151
18189
  backgroundColor,
@@ -18226,7 +18264,7 @@ function useTypeComponents(value, path) {
18226
18264
  registry
18227
18265
  ]);
18228
18266
  }
18229
- var IconBox = (props) => /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18267
+ var IconBox = (props) => /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18230
18268
  component: "span",
18231
18269
  ...props,
18232
18270
  sx: {
@@ -18412,18 +18450,18 @@ var DataKeyPair = (props) => {
18412
18450
  ]);
18413
18451
  const actionIcons = (0, import_react42.useMemo)(() => {
18414
18452
  if (editing) {
18415
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_jsx_runtime135.Fragment, {
18453
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, {
18416
18454
  children: [
18417
- /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IconBox, {
18418
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(CloseIcon, {
18455
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(IconBox, {
18456
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(CloseIcon, {
18419
18457
  sx: {
18420
18458
  fontSize: ".8rem"
18421
18459
  },
18422
18460
  onClick: abortEditing
18423
18461
  })
18424
18462
  }),
18425
- /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IconBox, {
18426
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(CheckIcon, {
18463
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(IconBox, {
18464
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(CheckIcon, {
18427
18465
  sx: {
18428
18466
  fontSize: ".8rem"
18429
18467
  },
@@ -18433,9 +18471,9 @@ var DataKeyPair = (props) => {
18433
18471
  ]
18434
18472
  });
18435
18473
  }
18436
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_jsx_runtime135.Fragment, {
18474
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, {
18437
18475
  children: [
18438
- enableClipboard && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IconBox, {
18476
+ enableClipboard && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(IconBox, {
18439
18477
  onClick: (event) => {
18440
18478
  event.preventDefault();
18441
18479
  try {
@@ -18444,41 +18482,41 @@ var DataKeyPair = (props) => {
18444
18482
  console.error(e2);
18445
18483
  }
18446
18484
  },
18447
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(CheckIcon, {
18485
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(CheckIcon, {
18448
18486
  sx: {
18449
18487
  fontSize: ".8rem"
18450
18488
  }
18451
- }) : /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(ContentCopyIcon, {
18489
+ }) : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(ContentCopyIcon, {
18452
18490
  sx: {
18453
18491
  fontSize: ".8rem"
18454
18492
  }
18455
18493
  })
18456
18494
  }),
18457
- Editor && editable && serialize && deserialize && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IconBox, {
18495
+ Editor && editable && serialize && deserialize && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(IconBox, {
18458
18496
  onClick: startEditing,
18459
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(EditIcon, {
18497
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(EditIcon, {
18460
18498
  sx: {
18461
18499
  fontSize: ".8rem"
18462
18500
  }
18463
18501
  })
18464
18502
  }),
18465
- enableAdd && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IconBox, {
18503
+ enableAdd && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(IconBox, {
18466
18504
  onClick: (event) => {
18467
18505
  event.preventDefault();
18468
18506
  onAdd === null || onAdd === void 0 ? void 0 : onAdd(path);
18469
18507
  },
18470
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(AddBoxIcon, {
18508
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(AddBoxIcon, {
18471
18509
  sx: {
18472
18510
  fontSize: ".8rem"
18473
18511
  }
18474
18512
  })
18475
18513
  }),
18476
- enableDelete && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(IconBox, {
18514
+ enableDelete && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(IconBox, {
18477
18515
  onClick: (event) => {
18478
18516
  event.preventDefault();
18479
18517
  onDelete === null || onDelete === void 0 ? void 0 : onDelete(path, value);
18480
18518
  },
18481
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DeleteIcon, {
18519
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DeleteIcon, {
18482
18520
  sx: {
18483
18521
  fontSize: ".9rem"
18484
18522
  }
@@ -18526,7 +18564,7 @@ var DataKeyPair = (props) => {
18526
18564
  prevValue,
18527
18565
  nestedIndex
18528
18566
  ]);
18529
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material15.Box, {
18567
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_material14.Box, {
18530
18568
  className: "data-key-pair",
18531
18569
  "data-testid": "data-key-pair" + path.join("."),
18532
18570
  sx: {
@@ -18538,7 +18576,7 @@ var DataKeyPair = (props) => {
18538
18576
  nestedIndex
18539
18577
  ]),
18540
18578
  children: [
18541
- /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(DataBox, {
18579
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(DataBox, {
18542
18580
  component: "span",
18543
18581
  className: "data-key",
18544
18582
  sx: {
@@ -18559,7 +18597,7 @@ var DataKeyPair = (props) => {
18559
18597
  setInspect
18560
18598
  ]),
18561
18599
  children: [
18562
- expandable ? inspect ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(ExpandMoreIcon, {
18600
+ expandable ? inspect ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(ExpandMoreIcon, {
18563
18601
  className: "data-key-toggle-expanded",
18564
18602
  sx: {
18565
18603
  fontSize: ".8rem",
@@ -18567,7 +18605,7 @@ var DataKeyPair = (props) => {
18567
18605
  cursor: "pointer"
18568
18606
  }
18569
18607
  }
18570
- }) : /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(ChevronRightIcon, {
18608
+ }) : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(ChevronRightIcon, {
18571
18609
  className: "data-key-toggle-collapsed",
18572
18610
  sx: {
18573
18611
  fontSize: ".8rem",
@@ -18576,44 +18614,44 @@ var DataKeyPair = (props) => {
18576
18614
  }
18577
18615
  }
18578
18616
  }) : null,
18579
- /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18617
+ /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18580
18618
  ref: highlightContainer,
18581
18619
  className: "data-key-key",
18582
18620
  component: "span",
18583
- children: isRoot && depth === 0 ? rootName !== false ? quotesOnKeys ? /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_jsx_runtime135.Fragment, {
18621
+ children: isRoot && depth === 0 ? rootName !== false ? quotesOnKeys ? /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, {
18584
18622
  children: [
18585
18623
  '"',
18586
18624
  rootName,
18587
18625
  '"'
18588
18626
  ]
18589
- }) : /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, {
18627
+ }) : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {
18590
18628
  children: rootName
18591
- }) : null : KeyRenderer.when(downstreamProps) ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(KeyRenderer, {
18629
+ }) : null : KeyRenderer.when(downstreamProps) ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(KeyRenderer, {
18592
18630
  ...downstreamProps
18593
- }) : nestedIndex === void 0 && (isNumberKey ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18631
+ }) : nestedIndex === void 0 && (isNumberKey ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18594
18632
  component: "span",
18595
18633
  style: {
18596
18634
  color: numberKeyColor,
18597
18635
  userSelect: isNumberKey ? "none" : "auto"
18598
18636
  },
18599
18637
  children: key
18600
- }) : quotesOnKeys ? /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_jsx_runtime135.Fragment, {
18638
+ }) : quotesOnKeys ? /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(import_jsx_runtime134.Fragment, {
18601
18639
  children: [
18602
18640
  '"',
18603
18641
  key,
18604
18642
  '"'
18605
18643
  ]
18606
- }) : /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_jsx_runtime135.Fragment, {
18644
+ }) : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, {
18607
18645
  children: key
18608
18646
  }))
18609
18647
  }),
18610
- isRoot ? rootName !== false && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataBox, {
18648
+ isRoot ? rootName !== false && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataBox, {
18611
18649
  className: "data-key-colon",
18612
18650
  sx: {
18613
18651
  mr: 0.5
18614
18652
  },
18615
18653
  children: ":"
18616
- }) : nestedIndex === void 0 && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataBox, {
18654
+ }) : nestedIndex === void 0 && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataBox, {
18617
18655
  className: "data-key-colon",
18618
18656
  sx: {
18619
18657
  mr: 0.5,
@@ -18624,29 +18662,29 @@ var DataKeyPair = (props) => {
18624
18662
  },
18625
18663
  children: ":"
18626
18664
  }),
18627
- PreComponent && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(PreComponent, {
18665
+ PreComponent && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(PreComponent, {
18628
18666
  ...downstreamProps
18629
18667
  }),
18630
18668
  isHover && expandable && inspect && actionIcons
18631
18669
  ]
18632
18670
  }),
18633
- editing && editable ? Editor && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Editor, {
18671
+ editing && editable ? Editor && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Editor, {
18634
18672
  path,
18635
18673
  value: tempValue,
18636
18674
  setValue: setTempValue,
18637
18675
  abortEditing,
18638
18676
  commitEditing
18639
- }) : Component ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Component, {
18677
+ }) : Component ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Component, {
18640
18678
  ...downstreamProps
18641
- }) : /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, {
18679
+ }) : /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Box, {
18642
18680
  component: "span",
18643
18681
  className: "data-value-fallback",
18644
18682
  children: "fallback: ".concat(value)
18645
18683
  }),
18646
- PostComponent && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(PostComponent, {
18684
+ PostComponent && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(PostComponent, {
18647
18685
  ...downstreamProps
18648
18686
  }),
18649
- !last && displayComma && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataBox, {
18687
+ !last && displayComma && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataBox, {
18650
18688
  children: ","
18651
18689
  }),
18652
18690
  isHover && expandable && !inspect && actionIcons,
@@ -18766,7 +18804,7 @@ var JsonViewerInner = (props) => {
18766
18804
  const onMouseLeave = (0, import_react42.useCallback)(() => setHover(null), [
18767
18805
  setHover
18768
18806
  ]);
18769
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Paper, {
18807
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.Paper, {
18770
18808
  elevation: 0,
18771
18809
  className: clsx(themeCls, props.className),
18772
18810
  style: props.style,
@@ -18777,7 +18815,7 @@ var JsonViewerInner = (props) => {
18777
18815
  ...props.sx
18778
18816
  },
18779
18817
  onMouseLeave,
18780
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(DataKeyPair, {
18818
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(DataKeyPair, {
18781
18819
  value,
18782
18820
  prevValue,
18783
18821
  path: emptyPath,
@@ -18802,7 +18840,7 @@ var JsonViewer = function JsonViewer2(props) {
18802
18840
  const theme = (0, import_react42.useMemo)(() => {
18803
18841
  const backgroundColor = typeof themeType === "object" ? themeType.base00 : themeType === "dark" ? darkColorspace.base00 : lightColorspace.base00;
18804
18842
  const foregroundColor = typeof themeType === "object" ? themeType.base07 : themeType === "dark" ? darkColorspace.base07 : lightColorspace.base07;
18805
- return (0, import_material15.createTheme)({
18843
+ return (0, import_material14.createTheme)({
18806
18844
  components: {
18807
18845
  MuiPaper: {
18808
18846
  styleOverrides: {
@@ -18829,13 +18867,13 @@ var JsonViewer = function JsonViewer2(props) {
18829
18867
  };
18830
18868
  const jsonViewerStore = (0, import_react42.useMemo)(() => createJsonViewerStore(props), []);
18831
18869
  const typeRegistryStore = (0, import_react42.useMemo)(() => createTypeRegistryStore(), []);
18832
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.ThemeProvider, {
18870
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_material14.ThemeProvider, {
18833
18871
  theme,
18834
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(TypeRegistryStoreContext.Provider, {
18872
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(TypeRegistryStoreContext.Provider, {
18835
18873
  value: typeRegistryStore,
18836
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(JsonViewerStoreContext.Provider, {
18874
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(JsonViewerStoreContext.Provider, {
18837
18875
  value: jsonViewerStore,
18838
- children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(JsonViewerInner, {
18876
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(JsonViewerInner, {
18839
18877
  ...mixedProps
18840
18878
  })
18841
18879
  })
@@ -18845,7 +18883,7 @@ var JsonViewer = function JsonViewer2(props) {
18845
18883
 
18846
18884
  // src/components/event-details/payload-viewer.tsx
18847
18885
  var import_react43 = require("react");
18848
- var import_jsx_runtime136 = require("react/jsx-runtime");
18886
+ var import_jsx_runtime135 = require("react/jsx-runtime");
18849
18887
  function tryParseJson(value) {
18850
18888
  if (typeof value !== "string") {
18851
18889
  return value;
@@ -18857,8 +18895,8 @@ function tryParseJson(value) {
18857
18895
  }
18858
18896
  }
18859
18897
  var PayloadViewer = (0, import_react43.memo)(({ sx, testId, value }) => {
18860
- const theme = (0, import_material16.useTheme)();
18861
- return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Box, { "data-testid": testId, sx: { backgroundColor: "background.default", borderRadius: 1, fontSize: 12, overflow: "auto", p: 1, ...sx }, children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
18898
+ const theme = (0, import_material15.useTheme)();
18899
+ return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material15.Box, { "data-testid": testId, sx: { backgroundColor: "background.default", borderRadius: 1, fontSize: 12, overflow: "auto", p: 1, ...sx }, children: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
18862
18900
  JsonViewer,
18863
18901
  {
18864
18902
  displayDataTypes: false,
@@ -18872,10 +18910,10 @@ var PayloadViewer = (0, import_react43.memo)(({ sx, testId, value }) => {
18872
18910
  });
18873
18911
 
18874
18912
  // src/components/event-details/event-detail.tsx
18875
- var import_jsx_runtime137 = require("react/jsx-runtime");
18876
- var DetailRow2 = ({ content, label }) => /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material17.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "72px 1fr", mb: 0.5 }, children: [
18877
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material17.Typography, { color: "text.secondary", sx: { fontWeight: 600 }, variant: "caption", children: label }),
18878
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material17.Box, { children: typeof content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material17.Typography, { sx: { color: "text.primary", whiteSpace: "pre-wrap" }, variant: "caption", children: content }) : content })
18913
+ var import_jsx_runtime136 = require("react/jsx-runtime");
18914
+ var DetailRow2 = ({ content, label }) => /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_material16.Box, { sx: { display: "grid", gap: 1, gridTemplateColumns: "72px 1fr", mb: 0.5 }, children: [
18915
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Typography, { color: "text.secondary", sx: { fontWeight: 600 }, variant: "caption", children: label }),
18916
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Box, { children: typeof content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Typography, { sx: { color: "text.primary", whiteSpace: "pre-wrap" }, variant: "caption", children: content }) : content })
18879
18917
  ] });
18880
18918
  var EventMessage = ({ event }) => {
18881
18919
  const [isOpen, setIsOpen] = (0, import_react44.useState)(false);
@@ -18907,21 +18945,21 @@ var EventMessage = ({ event }) => {
18907
18945
  () => isOverflowing || hasAdditionalContent,
18908
18946
  [isOverflowing, hasAdditionalContent]
18909
18947
  );
18910
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material17.Box, { sx: { display: "flex", flexDirection: "column" }, children: [
18911
- /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material17.Box, { sx: { alignItems: "center", display: "flex" }, children: [
18912
- Boolean(shouldShowToggle) && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
18913
- import_material17.IconButton,
18948
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_material16.Box, { sx: { display: "flex", flexDirection: "column" }, children: [
18949
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_material16.Box, { sx: { alignItems: "center", display: "flex" }, children: [
18950
+ Boolean(shouldShowToggle) && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
18951
+ import_material16.IconButton,
18914
18952
  {
18915
18953
  onClick: () => {
18916
18954
  setIsOpen(!isOpen);
18917
18955
  },
18918
18956
  size: "small",
18919
18957
  sx: { mr: 1, p: 0 },
18920
- children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_icons_material10.KeyboardArrowDown, { sx: { fontSize: 16 } }) : /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_icons_material10.KeyboardArrowRight, { sx: { fontSize: 16 } })
18958
+ children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_icons_material9.KeyboardArrowDown, { sx: { fontSize: 16 } }) : /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_icons_material9.KeyboardArrowRight, { sx: { fontSize: 16 } })
18921
18959
  }
18922
18960
  ),
18923
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
18924
- import_material17.Typography,
18961
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
18962
+ import_material16.Typography,
18925
18963
  {
18926
18964
  ref: textReference,
18927
18965
  sx: {
@@ -18938,12 +18976,12 @@ var EventMessage = ({ event }) => {
18938
18976
  }
18939
18977
  )
18940
18978
  ] }),
18941
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material17.Box, { sx: { borderColor: "divider", borderLeft: "2px solid", ml: 1, mt: 0.5, pl: 1.5, py: 0.5 }, children: isIAMPolicyEvent ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(IAMEventDetail, { event }) : /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_jsx_runtime137.Fragment, { children: [
18942
- Boolean(parsedMessage.message) && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(DetailRow2, { content: parsedMessage.message, label: "Message" }),
18943
- Boolean(parsedMessage.details) && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
18979
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Box, { sx: { borderColor: "divider", borderLeft: "2px solid", ml: 1, mt: 0.5, pl: 1.5, py: 0.5 }, children: isIAMPolicyEvent ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(IAMEventDetail, { event }) : /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_jsx_runtime136.Fragment, { children: [
18980
+ Boolean(parsedMessage.message) && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(DetailRow2, { content: parsedMessage.message, label: "Message" }),
18981
+ Boolean(parsedMessage.details) && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
18944
18982
  DetailRow2,
18945
18983
  {
18946
- content: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PayloadViewer, { sx: { px: 0 }, value: tryParseJson(parsedMessage.details) }),
18984
+ content: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PayloadViewer, { sx: { px: 0 }, value: tryParseJson(parsedMessage.details) }),
18947
18985
  label: "Details"
18948
18986
  }
18949
18987
  )
@@ -18972,19 +19010,18 @@ var getEventLevelFromGroup = (group3) => {
18972
19010
  var EventDetail = ({
18973
19011
  displayText,
18974
19012
  events,
18975
- spanStatusCode,
18976
19013
  type
18977
19014
  }) => {
18978
19015
  if (type === "permission") {
18979
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(IAMPermissionDetail, { events, spanStatusCode });
19016
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(IAMPermissionDetail, { events });
18980
19017
  }
18981
19018
  const eventLevel = getEventLevelFromGroup(type);
18982
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material17.Box, { children: [
18983
- /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(import_material17.Box, { sx: { alignItems: "center", display: "flex", mb: 0.5 }, children: [
18984
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(StatusIcon, { errorLevel: eventLevel }),
18985
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material17.Typography, { color: "text.secondary", sx: { fontWeight: 600, ml: 0.5 }, variant: "caption", children: displayText })
19019
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_material16.Box, { children: [
19020
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(import_material16.Box, { sx: { alignItems: "center", display: "flex", mb: 0.5 }, children: [
19021
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(StatusIcon, { errorLevel: eventLevel }),
19022
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Typography, { color: "text.secondary", sx: { fontWeight: 600, ml: 0.5 }, variant: "caption", children: displayText })
18986
19023
  ] }),
18987
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material17.Box, { children: events.map((event) => /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_material17.Box, { sx: { maxWidth: "100%", mb: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(EventMessage, { event }) }, `${event.span_id}-${event.event_id}`)) })
19024
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Box, { children: events.map((event) => /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_material16.Box, { sx: { maxWidth: "100%", mb: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(EventMessage, { event }) }, `${event.span_id}-${event.event_id}`)) })
18988
19025
  ] });
18989
19026
  };
18990
19027
 
@@ -25997,7 +26034,7 @@ var ProtocolLib = class {
25997
26034
  if (output !== void 0 && queryErrorHeader != null) {
25998
26035
  const [Code, Type] = queryErrorHeader.split(";");
25999
26036
  const keys = Object.keys(output);
26000
- const Error4 = {
26037
+ const Error2 = {
26001
26038
  Code,
26002
26039
  Type
26003
26040
  };
@@ -26005,10 +26042,10 @@ var ProtocolLib = class {
26005
26042
  output.Type = Type;
26006
26043
  for (let i2 = 0; i2 < keys.length; i2++) {
26007
26044
  const k2 = keys[i2];
26008
- Error4[k2 === "message" ? "Message" : k2] = output[k2];
26045
+ Error2[k2 === "message" ? "Message" : k2] = output[k2];
26009
26046
  }
26010
- delete Error4.__type;
26011
- output.Error = Error4;
26047
+ delete Error2.__type;
26048
+ output.Error = Error2;
26012
26049
  }
26013
26050
  }
26014
26051
  queryCompatOutput(queryCompatErrorData, errorData) {
@@ -28941,7 +28978,7 @@ var QueryStatus = {
28941
28978
  };
28942
28979
 
28943
28980
  // src/components/event-details/lambda-invoke-logs-section.tsx
28944
- var import_material18 = require("@mui/material");
28981
+ var import_material17 = require("@mui/material");
28945
28982
  var import_react50 = require("react");
28946
28983
 
28947
28984
  // src/context.tsx
@@ -29315,11 +29352,11 @@ function useConnectionStateMachine() {
29315
29352
  }
29316
29353
 
29317
29354
  // src/hooks/status-provider.tsx
29318
- var import_jsx_runtime138 = require("react/jsx-runtime");
29355
+ var import_jsx_runtime137 = require("react/jsx-runtime");
29319
29356
  var AppInspectorStatusContext = (0, import_react46.createContext)(void 0);
29320
29357
  var StatusProvider = ({ children }) => {
29321
29358
  const value = useConnectionStateMachine();
29322
- return /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(AppInspectorStatusContext.Provider, { value, children });
29359
+ return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(AppInspectorStatusContext.Provider, { value, children });
29323
29360
  };
29324
29361
  var useAppInspectorStatus = () => {
29325
29362
  const value = (0, import_react46.useContext)(AppInspectorStatusContext);
@@ -31097,10 +31134,10 @@ UAItem.prototype.parseCH = function() {
31097
31134
  break;
31098
31135
  case RESULT2:
31099
31136
  var data = this.data;
31100
- var parse2 = function(itemType) {
31137
+ var parse3 = function(itemType) {
31101
31138
  return data[itemType].getItem().setCH(uaCH).parseCH().get();
31102
31139
  };
31103
- this.set(BROWSER, parse2(BROWSER)).set(CPU, parse2(CPU)).set(DEVICE, parse2(DEVICE)).set(ENGINE, parse2(ENGINE)).set(OS, parse2(OS));
31140
+ this.set(BROWSER, parse3(BROWSER)).set(CPU, parse3(CPU)).set(DEVICE, parse3(DEVICE)).set(ENGINE, parse3(ENGINE)).set(OS, parse3(OS));
31104
31141
  }
31105
31142
  return this;
31106
31143
  };
@@ -31234,12 +31271,12 @@ var useAppInspectorOpenAnalytics = () => {
31234
31271
 
31235
31272
  // src/theme.tsx
31236
31273
  var import_styles3 = require("@mui/material/styles");
31237
- var import_jsx_runtime139 = require("react/jsx-runtime");
31274
+ var import_jsx_runtime138 = require("react/jsx-runtime");
31238
31275
  var withVisibleSeparators = (outer) => outer.palette.mode === "dark" ? { ...outer, palette: { ...outer.palette, divider: (0, import_styles3.alpha)(outer.palette.text.primary, 0.14) } } : outer;
31239
- var AppInspectorTheme = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(import_styles3.ThemeProvider, { theme: withVisibleSeparators, children });
31276
+ var AppInspectorTheme = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(import_styles3.ThemeProvider, { theme: withVisibleSeparators, children });
31240
31277
 
31241
31278
  // src/context.tsx
31242
- var import_jsx_runtime140 = require("react/jsx-runtime");
31279
+ var import_jsx_runtime139 = require("react/jsx-runtime");
31243
31280
  var AppInspectorContext = (0, import_react48.createContext)(void 0);
31244
31281
  var useAppInspector = () => {
31245
31282
  const context = (0, import_react48.useContext)(AppInspectorContext);
@@ -31250,7 +31287,7 @@ var useAppInspector = () => {
31250
31287
  };
31251
31288
  var AppInspectorAnalyticsBoundary = ({ children }) => {
31252
31289
  useAppInspectorOpenAnalytics();
31253
- return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_jsx_runtime140.Fragment, { children });
31290
+ return /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(import_jsx_runtime139.Fragment, { children });
31254
31291
  };
31255
31292
  var AppInspectorContextProvider = (props) => {
31256
31293
  const api = (0, import_react49.useMemo)(
@@ -31284,11 +31321,11 @@ var AppInspectorContextProvider = (props) => {
31284
31321
  }),
31285
31322
  [deploymentContainer, props.headerHeight, props.linkComponent, props.localstackEndpoint, props.spansWorkerUrl, resolveLink]
31286
31323
  );
31287
- return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(ApiProvider, { api, children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(StatusProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(AppInspectorContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(AppInspectorAnalyticsBoundary, { children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(AppInspectorTheme, { children: props.children }) }) }) }) });
31324
+ return /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(ApiProvider, { api, children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(StatusProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(AppInspectorContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(AppInspectorAnalyticsBoundary, { children: /* @__PURE__ */ (0, import_jsx_runtime139.jsx)(AppInspectorTheme, { children: props.children }) }) }) }) });
31288
31325
  };
31289
31326
 
31290
31327
  // src/components/event-details/lambda-invoke-logs-section.tsx
31291
- var import_jsx_runtime141 = require("react/jsx-runtime");
31328
+ var import_jsx_runtime140 = require("react/jsx-runtime");
31292
31329
  var POLL_INTERVAL_MS2 = 1e3;
31293
31330
  async function pollQueryResults(client, queryId) {
31294
31331
  return client.send(new GetQueryResultsCommand({ queryId }));
@@ -31378,18 +31415,120 @@ function useLambdaInvokeLogs(functionName2, requestId, region, startTimeNano, en
31378
31415
  var LambdaInvokeLogsSection = ({ endTimeNano, functionName: functionName2, region, requestId, startTimeNano }) => {
31379
31416
  const { error, loading, logs } = useLambdaInvokeLogs(functionName2, requestId, region, startTimeNano, endTimeNano);
31380
31417
  if (loading) {
31381
- return /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(import_material18.Stack, { alignItems: "center", direction: "row", spacing: 1, children: [
31382
- /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.CircularProgress, { size: 14 }),
31383
- /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { color: "text.secondary", variant: "body2", children: "Loading logs\u2026" })
31418
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_material17.Stack, { alignItems: "center", direction: "row", spacing: 1, children: [
31419
+ /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.CircularProgress, { size: 14 }),
31420
+ /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { color: "text.secondary", variant: "body2", children: "Loading logs\u2026" })
31384
31421
  ] });
31385
31422
  }
31386
31423
  if (error !== void 0) {
31387
- return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { color: "error", variant: "body2", children: error.message });
31424
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { color: "error", variant: "body2", children: error.message });
31388
31425
  }
31389
31426
  if (logs.length === 0) {
31390
- return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { color: "text.secondary", variant: "body2", children: "No logs found for this invocation." });
31427
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { color: "text.secondary", variant: "body2", children: "No logs found for this invocation." });
31428
+ }
31429
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Box, { sx: { backgroundColor: (theme) => theme.palette.background.default, borderRadius: 1, p: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("pre", { style: { margin: 0, overflow: "auto" }, children: logs.map((log) => /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { variant: "body2", children: `[${log.timestamp}] ${log.message}` }, log.ptr)) }) });
31430
+ };
31431
+
31432
+ // src/components/event-details/operation-status-badges.tsx
31433
+ var import_icons_material10 = require("@mui/icons-material");
31434
+ var import_material18 = require("@mui/material");
31435
+ var import_jsx_runtime141 = require("react/jsx-runtime");
31436
+ var IAM = {
31437
+ allowed: { color: "success", icon: import_icons_material10.GppGood, label: "IAM allowed", title: "IAM allowed the call" },
31438
+ denied: { color: "error", icon: import_icons_material10.GppBad, label: "IAM denied", title: "IAM denied and blocked the call" },
31439
+ suppressed: { color: "text", icon: import_icons_material10.HelpOutline, label: "IAM hidden", title: "IAM results are hidden: upgrade your license to view" },
31440
+ warning: { color: "warning", icon: import_icons_material10.GppMaybe, label: "IAM warning", title: "IAM denied the call, but enforcement is off, so it went through" }
31441
+ };
31442
+ var sentenceCase = (text3) => text3.charAt(0) + text3.slice(1).toLowerCase();
31443
+ var paletteColor = (color2) => color2 === "text" ? "text.secondary" : `${color2}.main`;
31444
+ var tint = (color2) => ({
31445
+ bgcolor: (theme) => color2 === "text" ? theme.palette.action.hover : (0, import_material18.alpha)(theme.palette[color2].main, 0.12),
31446
+ borderRadius: 1,
31447
+ color: (theme) => {
31448
+ if (color2 === "text") return theme.palette.text.primary;
31449
+ const main = theme.palette[color2].main;
31450
+ return theme.palette.mode === "dark" ? (0, import_material18.lighten)(main, 0.55) : (0, import_material18.darken)(main, 0.45);
31451
+ },
31452
+ px: 0.75,
31453
+ py: 0.25
31454
+ });
31455
+ var clickable = (onClick, isTinted) => onClick === void 0 ? {} : {
31456
+ component: import_material18.ButtonBase,
31457
+ onClick,
31458
+ sx: { "&:hover": isTinted ? { filter: "brightness(1.15)" } : { textDecoration: "underline" }, "borderRadius": 1, "cursor": "pointer", "font": "inherit" }
31459
+ };
31460
+ var OperationStatusBadges = ({ iam, iamPermission, onIamClick, onStatusClick, status, statusLabel, variant }) => {
31461
+ const isError = status === "error";
31462
+ const statusText = isError ? statusLabel ?? "Error" : "OK";
31463
+ const StatusIcon2 = isError ? import_icons_material10.Cancel : import_icons_material10.CheckCircle;
31464
+ const statusColor = isError ? "error" : "success";
31465
+ const iamStyle = iam === void 0 ? void 0 : IAM[iam];
31466
+ const iamPrefix = variant === "subtitle-chips" ? "" : "IAM \u2022 ";
31467
+ const iamLabel = iamPermission === void 0 || iam === "suppressed" ? iamStyle?.label : `${iamPrefix}${sentenceCase(formatPermissionStatus(iamPermission))}`;
31468
+ const showStatus = status !== "unset";
31469
+ if (variant === "chips") {
31470
+ return /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(import_material18.Box, { sx: { display: "flex", flex: "none", gap: 0.5 }, children: [
31471
+ showStatus && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
31472
+ import_material18.Chip,
31473
+ {
31474
+ color: statusColor,
31475
+ "data-testid": EVENT_DETAILS_HEADING_STATUS_TEST_ID,
31476
+ icon: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(StatusIcon2, {}),
31477
+ label: statusText,
31478
+ size: "small",
31479
+ variant: "outlined"
31480
+ }
31481
+ ),
31482
+ iamStyle && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Tooltip, { title: iamStyle.title, children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
31483
+ import_material18.Chip,
31484
+ {
31485
+ color: iamStyle.color === "text" ? "default" : iamStyle.color,
31486
+ "data-testid": EVENT_DETAILS_HEADING_IAM_TEST_ID,
31487
+ icon: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(iamStyle.icon, {}),
31488
+ label: iamLabel,
31489
+ size: "small",
31490
+ variant: "outlined"
31491
+ }
31492
+ ) })
31493
+ ] });
31494
+ }
31495
+ if (variant === "icons") {
31496
+ return /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(import_material18.Box, { sx: { alignItems: "center", display: "flex", flex: "none", gap: 0.25 }, children: [
31497
+ showStatus && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Tooltip, { title: isError ? `Failed: ${statusText}` : "Succeeded", children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(StatusIcon2, { color: statusColor, "data-testid": EVENT_DETAILS_HEADING_STATUS_TEST_ID, fontSize: "small" }) }),
31498
+ iamStyle && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Tooltip, { title: iamStyle.title, children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(iamStyle.icon, { "data-testid": EVENT_DETAILS_HEADING_IAM_TEST_ID, fontSize: "small", sx: { color: paletteColor(iamStyle.color) } }) })
31499
+ ] });
31500
+ }
31501
+ const isTinted = variant === "subtitle-chips";
31502
+ if (!showStatus && !iamStyle) {
31503
+ return null;
31391
31504
  }
31392
- return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Box, { sx: { backgroundColor: (theme) => theme.palette.background.default, borderRadius: 1, p: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)("pre", { style: { margin: 0, overflow: "auto" }, children: logs.map((log) => /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { variant: "body2", children: `[${log.timestamp}] ${log.message}` }, log.ptr)) }) });
31505
+ return /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(import_material18.Box, { sx: { alignItems: "center", display: "flex", gap: 1, minWidth: 0 }, children: [
31506
+ showStatus && /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(
31507
+ import_material18.Box,
31508
+ {
31509
+ "data-testid": EVENT_DETAILS_HEADING_STATUS_TEST_ID,
31510
+ ...clickable(onStatusClick, isTinted),
31511
+ sx: { alignItems: "center", color: `${statusColor}.main`, display: "flex", gap: 0.5, minWidth: 0, ...clickable(onStatusClick, isTinted).sx, ...isTinted ? tint(statusColor) : {} },
31512
+ children: [
31513
+ /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(StatusIcon2, { sx: { color: isTinted ? `${statusColor}.main` : void 0, fontSize: 14 } }),
31514
+ /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { color: isTinted ? "inherit" : void 0, noWrap: true, variant: "caption", children: isError ? `Failed \xB7 ${statusText}` : "Succeeded" })
31515
+ ]
31516
+ }
31517
+ ),
31518
+ showStatus && iamStyle && !isTinted && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { color: "text.disabled", variant: "caption", children: "|" }),
31519
+ iamStyle && /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)(
31520
+ import_material18.Box,
31521
+ {
31522
+ "data-testid": EVENT_DETAILS_HEADING_IAM_TEST_ID,
31523
+ ...clickable(onIamClick, isTinted),
31524
+ sx: { alignItems: "center", color: paletteColor(iamStyle.color), display: "flex", flex: "none", gap: 0.5, ...clickable(onIamClick, isTinted).sx, ...isTinted ? tint(iamStyle.color) : {} },
31525
+ children: [
31526
+ /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(iamStyle.icon, { sx: { color: isTinted ? paletteColor(iamStyle.color) : void 0, fontSize: 14 } }),
31527
+ /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(import_material18.Typography, { color: isTinted ? "inherit" : void 0, variant: "caption", children: iamLabel })
31528
+ ]
31529
+ }
31530
+ )
31531
+ ] });
31393
31532
  };
31394
31533
 
31395
31534
  // src/components/event-details/event-details.tsx
@@ -31407,6 +31546,9 @@ var checkIsSqsSendMessage = (span) => {
31407
31546
  }
31408
31547
  return span.operation_name.startsWith("SendMessage");
31409
31548
  };
31549
+ var PERMISSION_SEVERITY = ["explicitly_denied", "implicitly_denied", "explicitly_allowed"];
31550
+ var getWorstPermission = (events) => PERMISSION_SEVERITY.find((permission) => events.some((event) => event.permission === permission));
31551
+ var IAM_OUTCOME = { allowed: "allowed", error: "denied", none: void 0, warning: "warning" };
31410
31552
  var Field = ({ children, copy, label, testId, testIdOn = "value" }) => /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { children: [
31411
31553
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: label }),
31412
31554
  /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Stack, { alignItems: "center", "data-testid": testIdOn === "row" ? testId : void 0, direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
@@ -31422,6 +31564,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31422
31564
  );
31423
31565
  const [parseNestedJson, setParseNestedJson] = (0, import_react51.useState)(true);
31424
31566
  const [tab, setTab] = (0, import_react51.useState)("details");
31567
+ const { operationStatus: variant } = useDevSettings();
31425
31568
  if (!selectedEvent) {
31426
31569
  return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Box, { sx: { p: 3, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { color: "text.secondary", variant: "body2", children: "Select an operation to view graph" }) });
31427
31570
  }
@@ -31449,13 +31592,34 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31449
31592
  }
31450
31593
  }
31451
31594
  const exceptionPayload = tryParseJson(selectedEvent.attributes?.["localstack.aws.service.exception"]);
31595
+ const functionError = isLambdaInvoke ? getLambdaFunctionError(selectedEvent.attributes?.["localstack.aws.service.response"]) : void 0;
31596
+ const errorType = functionError?.errorType ?? issues.errorType;
31452
31597
  const duration = selectedEvent.end_time_unix_nano ? ((BigInt(selectedEvent.end_time_unix_nano) - BigInt(selectedEvent.start_time_unix_nano)) / BigInt("1000000")).toString() : void 0;
31453
31598
  const resource = shortResourceName(selectedEvent.resource_name, selectedEvent.arn);
31454
31599
  const showError = issues.error;
31455
31600
  const showPermissions = selectedEvent.iam_errors_suppressed === true || eventGroups.permissions !== void 0;
31456
31601
  const showLogs = isLambdaInvoke && requestId !== void 0;
31457
31602
  const activeTab = tab === "error" && !showError || tab === "permissions" && !showPermissions || tab === "logs" && !showLogs ? "details" : tab;
31458
- const errorMessages = [.../* @__PURE__ */ new Set([selectedEvent.status_message, ...(selectedEvent.errors ?? []).filter((item) => item.level === "error").map((item) => item.message)])].filter((message) => Boolean(message) && message !== issues.errorType);
31603
+ const errorMessages = functionError?.errorMessage === void 0 ? [.../* @__PURE__ */ new Set([selectedEvent.status_message, ...(selectedEvent.errors ?? []).filter((item) => item.level === "error").map((item) => item.message)])].filter((message) => Boolean(message) && message !== errorType) : [functionError.errorMessage];
31604
+ const iamEvents = getIamEvents(selectedEvent);
31605
+ const iamPermission = getWorstPermission(iamEvents);
31606
+ const iamOutcome = selectedEvent.iam_errors_suppressed === true ? "suppressed" : IAM_OUTCOME[iam.level ?? (iamEvents.length > 0 ? "allowed" : "none")];
31607
+ const statusBadges = /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
31608
+ OperationStatusBadges,
31609
+ {
31610
+ iam: iamOutcome,
31611
+ iamPermission,
31612
+ onIamClick: showPermissions ? () => {
31613
+ setTab("permissions");
31614
+ } : void 0,
31615
+ onStatusClick: () => {
31616
+ setTab(showError ? "error" : "response");
31617
+ },
31618
+ status: issues.error ? "error" : selectedEvent.status_code === 1 ? "ok" : "unset",
31619
+ statusLabel: errorType,
31620
+ variant
31621
+ }
31622
+ );
31459
31623
  const rawDataSwitch = /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
31460
31624
  import_material19.FormControlLabel,
31461
31625
  {
@@ -31466,7 +31630,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31466
31630
  sx: { mb: 1, mr: 0 }
31467
31631
  }
31468
31632
  );
31469
- const permissionsIcon = iam.level === "error" ? /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material11.Cancel, { color: "error", fontSize: "small" }) : iam.level === "warning" ? /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material11.Error, { color: "warning", fontSize: "small" }) : void 0;
31633
+ const permissionsIcon = iam.level === "error" ? /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material11.GppBad, { color: "error", sx: { fontSize: 16 } }) : iam.level === "warning" ? /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material11.GppMaybe, { color: "warning", sx: { fontSize: 16 } }) : void 0;
31470
31634
  return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { "data-testid": EVENT_DETAILS_TEST_ID, sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
31471
31635
  /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(
31472
31636
  import_material19.Box,
@@ -31481,14 +31645,13 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31481
31645
  py: 1
31482
31646
  },
31483
31647
  children: [
31484
- /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { sx: { flex: 1, minWidth: 0 }, children: [
31648
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { sx: { containerType: "inline-size", flex: 1, minWidth: 0 }, children: [
31485
31649
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { color: "text.secondary", component: "div", sx: { lineHeight: 1.5 }, variant: "overline", children: "Selected operation" }),
31486
- /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { "data-testid": EVENT_DETAILS_HEADING_TEST_ID, sx: { alignItems: "center", display: "flex", gap: 1, minWidth: 0 }, children: [
31650
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { "data-testid": EVENT_DETAILS_HEADING_TEST_ID, sx: { "@container (min-width: 560px)": { flexWrap: "nowrap" }, "alignItems": "center", "columnGap": 1, "display": "flex", "flexWrap": variant.startsWith("subtitle") ? "wrap" : "nowrap", "minWidth": 0 }, children: [
31487
31651
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(AwsServiceIcon, { hideTooltip: true, service: selectedEvent.service_name, size: "small" }),
31488
31652
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { noWrap: true, sx: { flex: "0 1 auto", fontWeight: 600, minWidth: 0 }, title: selectedEvent.operation_name, variant: "subtitle1", children: selectedEvent.operation_name }),
31489
- resource !== "" && resource !== "*" && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { color: "text.secondary", noWrap: true, sx: { flex: "1 1 0", minWidth: 0 }, title: resource, variant: "body2", children: resource }),
31490
- duration !== void 0 && // A fixed box, so a screenshot can mask the varying value without the mask edge moving.
31491
- /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { color: "text.secondary", "data-testid": EVENT_DETAILS_HEADING_DURATION_TEST_ID, sx: { flex: "none", ml: "auto", textAlign: "right", width: 64 }, variant: "body2", children: formatDuration(Number(duration)) })
31653
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Box, { sx: variant.startsWith("subtitle") ? { "@container (min-width: 560px)": { flexBasis: "auto", order: 0 }, "display": "flex", "flex": "none", "flexBasis": "100%", "order": 1 } : { display: "flex", flex: "none" }, children: statusBadges }),
31654
+ resource !== "" && resource !== "*" && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { color: "text.secondary", noWrap: true, sx: { flex: "1 1 0", minWidth: 0 }, title: resource, variant: "body2", children: resource })
31492
31655
  ] })
31493
31656
  ] }),
31494
31657
  onClose && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.IconButton, { "data-testid": EVENT_DETAILS_CLOSE_BUTTON_TEST_ID, onClick: onClose, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material11.Close, {}) })
@@ -31519,7 +31682,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31519
31682
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Tab, { "data-testid": DETAIL_TAB_DETAILS_TEST_ID, label: "Details", value: "details" }),
31520
31683
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Tab, { "data-testid": DETAIL_TAB_REQUEST_TEST_ID, label: "Payload", value: "request" }),
31521
31684
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Tab, { "data-testid": DETAIL_TAB_RESPONSE_TEST_ID, label: "Response", value: "response" }),
31522
- showError && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Tab, { "data-testid": DETAIL_TAB_ERROR_TEST_ID, icon: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material11.Cancel, { color: "error", fontSize: "small" }), iconPosition: "end", label: "Error", value: "error" }),
31685
+ showError && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Tab, { "data-testid": DETAIL_TAB_ERROR_TEST_ID, icon: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_icons_material11.Cancel, { color: "error", sx: { fontSize: 16 } }), iconPosition: "end", label: "Error", value: "error" }),
31523
31686
  showPermissions && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Tab, { "data-testid": DETAIL_TAB_PERMISSIONS_TEST_ID, icon: permissionsIcon, iconPosition: "end", label: "Permissions", value: "permissions" }),
31524
31687
  showLogs && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Tab, { "data-testid": DETAIL_TAB_LOGS_TEST_ID, label: "Logs", value: "logs" })
31525
31688
  ]
@@ -31556,18 +31719,6 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31556
31719
  duration,
31557
31720
  "ms"
31558
31721
  ] })
31559
- ] }),
31560
- /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { children: [
31561
- /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Status" }),
31562
- /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Stack, { alignItems: "center", direction: "row", flexWrap: "wrap", gap: 1, sx: { mb: eventGroups.errors || eventGroups.warnings ? 1 : 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
31563
- import_material19.Chip,
31564
- {
31565
- color: selectedEvent.status_code === 2 ? "error" : selectedEvent.status_code === 1 ? "success" : "default",
31566
- "data-testid": EVENT_DETAILS_STATUS_TEST_ID,
31567
- label: selectedEvent.status_code === 2 ? "Error" : selectedEvent.status_code === 1 ? "OK" : "Unset",
31568
- size: "small"
31569
- }
31570
- ) })
31571
31722
  ] })
31572
31723
  ] }),
31573
31724
  eventGroups.errors && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(EventDetail, { displayText: "Error", events: eventGroups.errors, type: "error" }),
@@ -31584,8 +31735,27 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31584
31735
  ] })),
31585
31736
  activeTab === "error" && /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Stack, { spacing: 2, children: [
31586
31737
  /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Stack, { spacing: 1, children: [
31587
- /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Field, { label: "Type", children: issues.errorType }),
31588
- errorMessages.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Field, { label: "Message", children: errorMessages.join(" \xB7 ") })
31738
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Field, { label: "Type", children: errorType }),
31739
+ errorMessages.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Field, { label: "Message", children: errorMessages.join(" \xB7 ") }),
31740
+ functionError && /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { sx: { display: "grid", gap: 2, gridTemplateColumns: "1.3fr 1fr" }, children: [
31741
+ functionError.requestId !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Field, { label: "Request ID", children: functionError.requestId }),
31742
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Field, { label: "Function Error", testId: EVENT_DETAILS_FUNCTION_ERROR_TEST_ID, children: functionError.functionError })
31743
+ ] })
31744
+ ] }),
31745
+ functionError?.stackTrace !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { children: [
31746
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Stack, { alignItems: "center", direction: "row", sx: { "&:hover .copy-btn": { opacity: 1 } }, children: [
31747
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Stack Trace" }),
31748
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(CopyButton, { value: functionError.stackTrace })
31749
+ ] }),
31750
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
31751
+ import_material19.Box,
31752
+ {
31753
+ component: "pre",
31754
+ "data-testid": EVENT_DETAILS_STACK_TRACE_TEST_ID,
31755
+ sx: { backgroundColor: "background.default", borderRadius: 1, fontFamily: "monospace", fontSize: 12, m: 0, overflow: "auto", p: 1 },
31756
+ children: functionError.stackTrace
31757
+ }
31758
+ )
31589
31759
  ] }),
31590
31760
  exceptionPayload !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_material19.Box, { children: [
31591
31761
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Typography, { sx: { fontWeight: 600, mb: 0.5 }, variant: "caption", children: "Exception" }),
@@ -31594,7 +31764,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
31594
31764
  ] }),
31595
31765
  activeTab === "permissions" && /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_jsx_runtime142.Fragment, { children: [
31596
31766
  selectedEvent.iam_errors_suppressed && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_material19.Alert, { "data-testid": EVENT_DETAILS_IAM_ERRORS_SUPPRESSED_TEST_ID, severity: "warning", sx: { mb: 1 }, children: "IAM errors are suppressed \u2014 upgrade your license to view" }),
31597
- eventGroups.permissions && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(EventDetail, { displayText: "Permissions", events: eventGroups.permissions, spanStatusCode: selectedEvent.status_code, type: "permission" })
31767
+ eventGroups.permissions && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(EventDetail, { displayText: "Permissions", events: eventGroups.permissions, type: "permission" })
31598
31768
  ] }),
31599
31769
  activeTab === "logs" && requestId !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(
31600
31770
  LambdaInvokeLogsSection,
@@ -31687,7 +31857,7 @@ var NodeContent = ({ event, expanded, issues }) => {
31687
31857
  },
31688
31858
  children: [
31689
31859
  issues.error && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_material20.Tooltip, { arrow: true, title: issues.errorType, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_material20.Box, { "aria-label": "Error", role: "img", sx: { display: "flex" }, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_icons_material12.Cancel, { sx: { color: theme.palette.error.main, fontSize: "16px" } }) }) }),
31690
- issues.warning && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_material20.Tooltip, { arrow: true, title: issues.warningType, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_material20.Box, { "aria-label": "Warning", role: "img", sx: { display: "flex" }, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_icons_material12.Error, { sx: { color: theme.palette.warning.main, fontSize: "16px" } }) }) })
31860
+ issues.warning && /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_material20.Tooltip, { arrow: true, title: issues.warningType, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_material20.Box, { "aria-label": "Warning", role: "img", sx: { display: "flex" }, children: /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(import_icons_material12.GppMaybe, { sx: { color: theme.palette.warning.main, fontSize: "16px" } }) }) })
31691
31861
  ]
31692
31862
  }
31693
31863
  ),
@@ -32251,7 +32421,7 @@ var getAxisTicks = (durationMs, maxIntervals) => {
32251
32421
  var MIN_TICK_SPACING_PX = 56;
32252
32422
  var LABEL_GAP_PX = 8;
32253
32423
  var CHAR_WIDTH_PX = 6;
32254
- var estimateWidth = (text2) => text2.length * CHAR_WIDTH_PX;
32424
+ var estimateWidth = (text3) => text3.length * CHAR_WIDTH_PX;
32255
32425
  var layoutAxis = (durationMs, width) => {
32256
32426
  if (width <= 0) return { labels: [], marks: [] };
32257
32427
  const start = { align: "start", text: formatDuration(0), x: 0 };
@@ -32266,10 +32436,10 @@ var layoutAxis = (durationMs, width) => {
32266
32436
  if (tick <= 0 || tick >= durationMs) continue;
32267
32437
  const x = tick / durationMs * width;
32268
32438
  marks.push(x);
32269
- const text2 = formatDuration(tick);
32270
- const half = estimateWidth(text2) / 2;
32439
+ const text3 = formatDuration(tick);
32440
+ const half = estimateWidth(text3) / 2;
32271
32441
  if (x - half >= previousRight + LABEL_GAP_PX && x + half <= endLeft) {
32272
- labels.push({ align: "center", text: text2, x });
32442
+ labels.push({ align: "center", text: text3, x });
32273
32443
  previousRight = x + half;
32274
32444
  }
32275
32445
  }
@@ -32317,7 +32487,7 @@ var flatten = (nodes2, collapsed, depth = 0, branches = [], parent) => nodes2.fl
32317
32487
  var flattenAll = (nodes2) => flatten(nodes2, /* @__PURE__ */ new Set()).map((row) => ({ ...row, branches: [], depth: 0, last: true })).toSorted((left, right) => compareNano(left.node.span.start_time_unix_nano, right.node.span.start_time_unix_nano));
32318
32488
  var StatusIcons = ({ error, warning: warning2 }) => /* @__PURE__ */ (0, import_jsx_runtime147.jsxs)(import_jsx_runtime147.Fragment, { children: [
32319
32489
  error && /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(import_icons_material14.Cancel, { sx: { color: "error.main", fontSize: 14 } }),
32320
- warning2 && /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(import_icons_material14.Error, { sx: { color: "warning.main", fontSize: 14 } })
32490
+ warning2 && /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(import_icons_material14.GppMaybe, { sx: { color: "warning.main", fontSize: 14 } })
32321
32491
  ] });
32322
32492
  var Line = ({ height, left, top = 0, width = 1 }) => /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
32323
32493
  import_material24.Box,