@metrevals/inspect-log-viewer 0.3.153-beta.1765529716 → 0.3.155-beta.1765813725

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/lib/index.js CHANGED
@@ -17915,6 +17915,7 @@ const ApplicationIcons = {
17915
17915
  confirm: "bi bi-check",
17916
17916
  copy: "bi bi-copy",
17917
17917
  display: "bi bi-card-text",
17918
+ downloadLog: "bi bi-download",
17918
17919
  edit: "bi bi-pencil-square",
17919
17920
  error: "bi bi-exclamation-circle-fill",
17920
17921
  expand: {
@@ -17935,6 +17936,7 @@ const ApplicationIcons = {
17935
17936
  execution: "bi bi-stopwatch"
17936
17937
  },
17937
17938
  link: "bi bi-link-45deg",
17939
+ loading: "bi bi-arrow-clockwise",
17938
17940
  logging: loggingIcons,
17939
17941
  metadata: "bi bi-table",
17940
17942
  metrics: "bi bi-clipboard-data",
@@ -18033,7 +18035,7 @@ const container$o = "_container_1n7pm_1";
18033
18035
  const label$b = "_label_1n7pm_7";
18034
18036
  const outer = "_outer_1n7pm_11";
18035
18037
  const inner = "_inner_1n7pm_20";
18036
- const styles$1Y = {
18038
+ const styles$1Z = {
18037
18039
  container: container$o,
18038
18040
  label: label$b,
18039
18041
  outer,
@@ -18046,15 +18048,15 @@ const ProgressBar = ({
18046
18048
  label: label2,
18047
18049
  width = "100px"
18048
18050
  }) => {
18049
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1Y.container), children: [
18050
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1Y.outer), style: { width }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
18051
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1Z.container), children: [
18052
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1Z.outer), style: { width }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
18051
18053
  "div",
18052
18054
  {
18053
- className: clsx(styles$1Y.inner),
18055
+ className: clsx(styles$1Z.inner),
18054
18056
  style: { width: `${(value2 - min2) / (max2 - min2) * 100}%` }
18055
18057
  }
18056
18058
  ) }),
18057
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1Y.label, "text-size-smallest"), children: [
18059
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1Z.label, "text-size-smallest"), children: [
18058
18060
  value2,
18059
18061
  " / ",
18060
18062
  max2,
@@ -18276,7 +18278,7 @@ const errorType = (message2) => {
18276
18278
  const circle$1 = "_circle_qymy9_1";
18277
18279
  const green$1 = "_green_qymy9_12";
18278
18280
  const red$1 = "_red_qymy9_18";
18279
- const styles$1X = {
18281
+ const styles$1Y = {
18280
18282
  circle: circle$1,
18281
18283
  green: green$1,
18282
18284
  red: red$1
@@ -18292,9 +18294,9 @@ const booleanScoreDescriptor = () => {
18292
18294
  "span",
18293
18295
  {
18294
18296
  className: clsx(
18295
- styles$1X.circle,
18297
+ styles$1Y.circle,
18296
18298
  "text-size-small",
18297
- score2 ? styles$1X.green : styles$1X.red
18299
+ score2 ? styles$1Y.green : styles$1Y.red
18298
18300
  ),
18299
18301
  children: String(score2)
18300
18302
  }
@@ -18396,7 +18398,7 @@ const numericScoreDescriptor = (values) => {
18396
18398
  const container$n = "_container_1ramc_1";
18397
18399
  const key$1 = "_key_1ramc_12";
18398
18400
  const value$2 = "_value_1ramc_16";
18399
- const styles$1W = {
18401
+ const styles$1X = {
18400
18402
  container: container$n,
18401
18403
  key: key$1,
18402
18404
  value: value$2
@@ -18440,12 +18442,12 @@ const objectScoreDescriptor = (values) => {
18440
18442
  ) : String(value2);
18441
18443
  scores2.push(
18442
18444
  /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
18443
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1W.key, "text-size-smaller"), children: key2 }),
18444
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1W.value, "text-size-base"), children: formattedValue })
18445
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1X.key, "text-size-smaller"), children: key2 }),
18446
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1X.value, "text-size-base"), children: formattedValue })
18445
18447
  ] })
18446
18448
  );
18447
18449
  });
18448
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1W.container), children: scores2 }, `score-value`);
18450
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1X.container), children: scores2 }, `score-value`);
18449
18451
  }
18450
18452
  };
18451
18453
  };
@@ -19922,7 +19924,7 @@ const visible = "_visible_tm52u_1";
19922
19924
  const hidden$3 = "_hidden_tm52u_5";
19923
19925
  const pills = "_pills_tm52u_9";
19924
19926
  const pill = "_pill_tm52u_9";
19925
- const styles$1V = {
19927
+ const styles$1W = {
19926
19928
  visible,
19927
19929
  hidden: hidden$3,
19928
19930
  pills,
@@ -19952,7 +19954,7 @@ const NavPills = ({ id, children: children2 }) => {
19952
19954
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
19953
19955
  "div",
19954
19956
  {
19955
- className: child["props"]?.title === activeItem ? styles$1V.visible : styles$1V.hidden,
19957
+ className: child["props"]?.title === activeItem ? styles$1W.visible : styles$1W.hidden,
19956
19958
  children: child
19957
19959
  },
19958
19960
  `nav-pill-container-${idx}`
@@ -19962,7 +19964,7 @@ const NavPills = ({ id, children: children2 }) => {
19962
19964
  /* @__PURE__ */ jsxRuntimeExports.jsx(
19963
19965
  "ul",
19964
19966
  {
19965
- className: clsx("nav", "nav-pills", styles$1V.pills),
19967
+ className: clsx("nav", "nav-pills", styles$1W.pills),
19966
19968
  role: "tablist",
19967
19969
  "aria-orientation": "horizontal",
19968
19970
  children: navPills
@@ -19998,7 +20000,7 @@ const NavPill = ({
19998
20000
  "nav-link",
19999
20001
  "text-style-label",
20000
20002
  active ? "active " : "",
20001
- styles$1V.pill
20003
+ styles$1W.pill
20002
20004
  ),
20003
20005
  "data-target": title2,
20004
20006
  onClick: handleClick,
@@ -20014,7 +20016,7 @@ const Buckets = {
20014
20016
  final: 1e3
20015
20017
  };
20016
20018
  const copyButton = "_copyButton_1goi8_1";
20017
- const styles$1U = {
20019
+ const styles$1V = {
20018
20020
  copyButton
20019
20021
  };
20020
20022
  const CopyButton = ({
@@ -20044,7 +20046,7 @@ const CopyButton = ({
20044
20046
  "button",
20045
20047
  {
20046
20048
  type: "button",
20047
- className: clsx("copy-button", styles$1U.copyButton, className2),
20049
+ className: clsx("copy-button", styles$1V.copyButton, className2),
20048
20050
  onClick: handleClick,
20049
20051
  "aria-label": ariaLabel,
20050
20052
  disabled: isCopied,
@@ -20087,7 +20089,7 @@ const moreToggleButton = "_moreToggleButton_1cl3h_36";
20087
20089
  const separator$6 = "_separator_1cl3h_42";
20088
20090
  const inlineRight = "_inlineRight_1cl3h_48";
20089
20091
  const blockLeft = "_blockLeft_1cl3h_54";
20090
- const styles$1T = {
20092
+ const styles$1U = {
20091
20093
  expandablePanel,
20092
20094
  expandableBordered,
20093
20095
  expandableCollapsed,
@@ -20139,10 +20141,10 @@ const ExpandablePanel = memo$2(
20139
20141
  style: baseStyles,
20140
20142
  ref: contentRef,
20141
20143
  className: clsx(
20142
- styles$1T.expandablePanel,
20143
- collapsed2 ? styles$1T.expandableCollapsed : void 0,
20144
- border ? styles$1T.expandableBordered : void 0,
20145
- showToggle ? styles$1T.padBottom : void 0,
20144
+ styles$1U.expandablePanel,
20145
+ collapsed2 ? styles$1U.expandableCollapsed : void 0,
20146
+ border ? styles$1U.expandableBordered : void 0,
20147
+ showToggle ? styles$1U.padBottom : void 0,
20146
20148
  className2
20147
20149
  ),
20148
20150
  children: [
@@ -20168,7 +20170,7 @@ const ExpandablePanel = memo$2(
20168
20170
  position: "block-left"
20169
20171
  }
20170
20172
  ) }),
20171
- showToggle && layout == "inline-right" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1T.separator) })
20173
+ showToggle && layout == "inline-right" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1U.separator) })
20172
20174
  ] });
20173
20175
  }
20174
20176
  );
@@ -20187,15 +20189,15 @@ const MoreToggle = ({
20187
20189
  "div",
20188
20190
  {
20189
20191
  className: clsx(
20190
- styles$1T.moreToggle,
20191
- border ? styles$1T.bordered : void 0,
20192
- position === "inline-right" ? styles$1T.inlineRight : styles$1T.blockLeft
20192
+ styles$1U.moreToggle,
20193
+ border ? styles$1U.bordered : void 0,
20194
+ position === "inline-right" ? styles$1U.inlineRight : styles$1U.blockLeft
20193
20195
  ),
20194
20196
  style: style2,
20195
20197
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
20196
20198
  "button",
20197
20199
  {
20198
- className: clsx("btn", styles$1T.moreToggleButton, "text-size-smallest"),
20200
+ className: clsx("btn", styles$1U.moreToggleButton, "text-size-smallest"),
20199
20201
  onClick: handleClick,
20200
20202
  children: [
20201
20203
  text2,
@@ -23625,7 +23627,7 @@ const keyPairBordered = "_keyPairBordered_qjlxf_9";
23625
23627
  const key = "_key_qjlxf_1";
23626
23628
  const pre$1 = "_pre_qjlxf_19";
23627
23629
  const treeIcon = "_treeIcon_qjlxf_23";
23628
- const styles$1S = {
23630
+ const styles$1T = {
23629
23631
  keyPairContainer,
23630
23632
  keyPairBordered,
23631
23633
  key,
@@ -23811,8 +23813,8 @@ const RecordTree = ({
23811
23813
  "div",
23812
23814
  {
23813
23815
  className: clsx(
23814
- styles$1S.keyPairContainer,
23815
- index < items.length - 1 && useBorders ? styles$1S.keyPairBordered : void 0,
23816
+ styles$1T.keyPairContainer,
23817
+ index < items.length - 1 && useBorders ? styles$1T.keyPairBordered : void 0,
23816
23818
  "text-size-small"
23817
23819
  ),
23818
23820
  style: {
@@ -23825,7 +23827,7 @@ const RecordTree = ({
23825
23827
  "data-index": index,
23826
23828
  className: clsx(
23827
23829
  kRecordTreeKey,
23828
- styles$1S.key,
23830
+ styles$1T.key,
23829
23831
  "font-monospace",
23830
23832
  "text-style-secondary"
23831
23833
  ),
@@ -23835,16 +23837,16 @@ const RecordTree = ({
23835
23837
  setCollapsed(item2.id, !collapsedIds?.[item2.id]);
23836
23838
  },
23837
23839
  children: [
23838
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: item2.hasChildren ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1S.pre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
23840
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: item2.hasChildren ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1T.pre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
23839
23841
  "i",
23840
23842
  {
23841
23843
  className: clsx(
23842
23844
  collapsedIds && collapsedIds[item2.id] ? ApplicationIcons.tree.closed : ApplicationIcons.tree.open,
23843
- styles$1S.treeIcon
23845
+ styles$1T.treeIcon
23844
23846
  )
23845
23847
  }
23846
23848
  ) }) : void 0 }),
23847
- /* @__PURE__ */ jsxRuntimeExports.jsxs("pre", { className: clsx(styles$1S.pre), children: [
23849
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("pre", { className: clsx(styles$1T.pre), children: [
23848
23850
  item2.key,
23849
23851
  ":"
23850
23852
  ] })
@@ -24324,7 +24326,7 @@ const indented = "_indented_b8oe1_29";
24324
24326
  const copyLink$1 = "_copyLink_b8oe1_33";
24325
24327
  const metadataLabel = "_metadataLabel_b8oe1_43";
24326
24328
  const hover$1 = "_hover_b8oe1_47";
24327
- const styles$1R = {
24329
+ const styles$1S = {
24328
24330
  message: message$3,
24329
24331
  systemRole,
24330
24332
  messageGrid,
@@ -94959,7 +94961,7 @@ function unescapeCodeHtmlEntities(str2) {
94959
94961
  );
94960
94962
  }
94961
94963
  const content$7 = "_content_13ihw_1";
94962
- const styles$1Q = {
94964
+ const styles$1R = {
94963
94965
  content: content$7
94964
94966
  };
94965
94967
  const Preformatted = forwardRef(
@@ -94968,7 +94970,7 @@ const Preformatted = forwardRef(
94968
94970
  "pre",
94969
94971
  {
94970
94972
  ref,
94971
- className: clsx(styles$1Q.content, "text-size-smaller", className2),
94973
+ className: clsx(styles$1R.content, "text-size-smaller", className2),
94972
94974
  style: style2,
94973
94975
  children: text2
94974
94976
  }
@@ -95002,22 +95004,22 @@ const RenderedText = forwardRef(({ markdown, style: style2, className: className
95002
95004
  });
95003
95005
  const webSearch = "_webSearch_1376z_1";
95004
95006
  const query$1 = "_query_1376z_8";
95005
- const styles$1P = {
95007
+ const styles$1Q = {
95006
95008
  webSearch,
95007
95009
  query: query$1
95008
95010
  };
95009
95011
  const WebSearch = ({ query: query2 }) => {
95010
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1P.webSearch, "text-size-smaller"), children: [
95012
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1Q.webSearch, "text-size-smaller"), children: [
95011
95013
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-style-label", "text-style-secondary"), children: "Web Search:" }),
95012
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1P.query, "text-size-smallest"), children: query2 })
95014
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1Q.query, "text-size-smallest"), children: query2 })
95013
95015
  ] });
95014
95016
  };
95015
95017
  const contentData = "_contentData_1sd1z_1";
95016
- const styles$1O = {
95018
+ const styles$1P = {
95017
95019
  contentData
95018
95020
  };
95019
95021
  const result$1 = "_result_1mixg_12";
95020
- const styles$1N = {
95022
+ const styles$1O = {
95021
95023
  result: result$1
95022
95024
  };
95023
95025
  const WebSearchResults = ({
@@ -95028,7 +95030,7 @@ const WebSearchResults = ({
95028
95030
  "div",
95029
95031
  {
95030
95032
  className: clsx(
95031
- styles$1N.label,
95033
+ styles$1O.label,
95032
95034
  "text-style-label",
95033
95035
  "text-style-secondary",
95034
95036
  "text-size-smaller"
@@ -95036,10 +95038,10 @@ const WebSearchResults = ({
95036
95038
  children: "Results"
95037
95039
  }
95038
95040
  ),
95039
- /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx(styles$1N.results, "text-size-smaller"), children: results.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
95041
+ /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx(styles$1O.results, "text-size-smaller"), children: results.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
95040
95042
  "li",
95041
95043
  {
95042
- className: clsx(styles$1N.result, "text-style-secondary"),
95044
+ className: clsx(styles$1O.result, "text-style-secondary"),
95043
95045
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
95044
95046
  "a",
95045
95047
  {
@@ -95063,17 +95065,17 @@ const ContentDataView = ({ id, contentData: contentData2 }) => {
95063
95065
  );
95064
95066
  if (!renderer) {
95065
95067
  const { encrypted_content, ...record } = renderableData;
95066
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1O.contentData), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
95068
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1P.contentData), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
95067
95069
  RecordTree,
95068
95070
  {
95069
95071
  id: `${id}-tree`,
95070
95072
  record,
95071
- className: clsx(styles$1O.data),
95073
+ className: clsx(styles$1P.data),
95072
95074
  defaultExpandLevel: 0
95073
95075
  }
95074
95076
  ) });
95075
95077
  }
95076
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1O.contentData), children: renderer.render(renderableData) });
95078
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1P.contentData), children: renderer.render(renderableData) });
95077
95079
  };
95078
95080
  const webSearchServerToolRenderer = {
95079
95081
  name: "WebSearch",
@@ -95115,7 +95117,7 @@ const serverToolRenderer = {
95115
95117
  {
95116
95118
  id: data.name || "server-tool",
95117
95119
  record: data,
95118
- className: clsx(styles$1O.data)
95120
+ className: clsx(styles$1P.data)
95119
95121
  }
95120
95122
  )
95121
95123
  ] });
@@ -96581,6 +96583,9 @@ const clientApi = (api2, log_file, debug2 = false) => {
96581
96583
  return api2.download_file(download_file2, file_contents);
96582
96584
  }
96583
96585
  ),
96586
+ download_log: api2.download_log ? middleware("download_log", (log_file2) => {
96587
+ return api2.download_log(log_file2);
96588
+ }) : void 0,
96584
96589
  log_message: middleware(
96585
96590
  "log_message",
96586
96591
  (log_file2, message2) => {
@@ -97241,6 +97246,16 @@ function viewServerApi(options2 = {}) {
97241
97246
  );
97242
97247
  return result2.parsed;
97243
97248
  };
97249
+ const download_log = async (log_file) => {
97250
+ const baseUrl2 = apiBaseUrl || "/api";
97251
+ const url = `${baseUrl2}/log-download/${encodeURIComponent(log_file)}`;
97252
+ const link2 = document.createElement("a");
97253
+ link2.href = url;
97254
+ link2.download = "";
97255
+ document.body.appendChild(link2);
97256
+ link2.click();
97257
+ document.body.removeChild(link2);
97258
+ };
97244
97259
  return {
97245
97260
  client_events: client_events2,
97246
97261
  get_log_root: get_log_root2,
@@ -97254,6 +97269,7 @@ function viewServerApi(options2 = {}) {
97254
97269
  get_log_summaries: get_log_summaries2,
97255
97270
  log_message: log_message2,
97256
97271
  download_file: download_file$1,
97272
+ download_log,
97257
97273
  open_log_file: async () => {
97258
97274
  },
97259
97275
  eval_pending_samples: eval_pending_samples2,
@@ -97540,7 +97556,7 @@ const documentFrame = "_documentFrame_1576h_1";
97540
97556
  const documentFrameTitle = "_documentFrameTitle_1576h_9";
97541
97557
  const downloadLink = "_downloadLink_1576h_16";
97542
97558
  const imageDocument = "_imageDocument_1576h_21";
97543
- const styles$1M = {
97559
+ const styles$1N = {
97544
97560
  documentFrame,
97545
97561
  documentFrameTitle,
97546
97562
  downloadLink,
@@ -97557,7 +97573,7 @@ const ContentDocumentView = ({
97557
97573
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ContentDocumentFrame, { document: document2, downloadable: canDownloadFiles, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
97558
97574
  "img",
97559
97575
  {
97560
- className: clsx(styles$1M.imageDocument),
97576
+ className: clsx(styles$1N.imageDocument),
97561
97577
  src: document2.document,
97562
97578
  alt: document2.filename,
97563
97579
  id
@@ -97582,17 +97598,17 @@ const ContentDocumentFrame = ({
97582
97598
  "div",
97583
97599
  {
97584
97600
  className: clsx(
97585
- styles$1M.documentFrame,
97601
+ styles$1N.documentFrame,
97586
97602
  "text-size-small",
97587
97603
  "text-style-secondary"
97588
97604
  ),
97589
97605
  children: [
97590
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1M.documentFrameTitle), children: [
97606
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1N.documentFrameTitle), children: [
97591
97607
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(iconForMimeType(document2.mime_type)) }),
97592
97608
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: downloadable ? /* @__PURE__ */ jsxRuntimeExports.jsx(
97593
97609
  "a",
97594
97610
  {
97595
- className: clsx(styles$1M.downloadLink),
97611
+ className: clsx(styles$1N.downloadLink),
97596
97612
  onClick: () => {
97597
97613
  api.download_file(document2.filename, document2.document);
97598
97614
  },
@@ -97606,7 +97622,7 @@ const ContentDocumentFrame = ({
97606
97622
  );
97607
97623
  };
97608
97624
  const jsonMessage = "_jsonMessage_oxf8d_1";
97609
- const styles$1L = {
97625
+ const styles$1M = {
97610
97626
  jsonMessage
97611
97627
  };
97612
97628
  const JsonMessageContent = ({
@@ -97619,7 +97635,7 @@ const JsonMessageContent = ({
97619
97635
  {
97620
97636
  id,
97621
97637
  record: json,
97622
- className: clsx(styles$1L.jsonMessage, className2),
97638
+ className: clsx(styles$1M.jsonMessage, className2),
97623
97639
  useBorders: false
97624
97640
  }
97625
97641
  );
@@ -97634,7 +97650,7 @@ const decodeHtmlEntities = (text2) => {
97634
97650
  };
97635
97651
  const citations = "_citations_1ggvf_1";
97636
97652
  const citationLink = "_citationLink_1ggvf_9";
97637
- const styles$1K = {
97653
+ const styles$1L = {
97638
97654
  citations,
97639
97655
  citationLink
97640
97656
  };
@@ -97642,7 +97658,7 @@ const MessageCitations = ({ citations: citations2 }) => {
97642
97658
  if (citations2.length === 0) {
97643
97659
  return void 0;
97644
97660
  }
97645
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1K.citations, "text-size-smallest"), children: citations2.map((citation, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
97661
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1L.citations, "text-size-smallest"), children: citations2.map((citation, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
97646
97662
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: index + 1 }),
97647
97663
  /* @__PURE__ */ jsxRuntimeExports.jsx(MessageCitation, { citation })
97648
97664
  ] }, index)) });
@@ -97662,7 +97678,7 @@ const UrlCitation = ({
97662
97678
  href: citation.url,
97663
97679
  target: "_blank",
97664
97680
  rel: "noopener noreferrer",
97665
- className: clsx(styles$1K.citationLink),
97681
+ className: clsx(styles$1L.citationLink),
97666
97682
  title: citation.cited_text ? `${citation.cited_text}
97667
97683
  ${citation.url}` : citation.url,
97668
97684
  children: children2
@@ -97671,7 +97687,7 @@ ${citation.url}` : citation.url,
97671
97687
  const OtherCitation = ({ children: children2 }) => /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: children2 });
97672
97688
  const contentImage = "_contentImage_8rgix_1";
97673
97689
  const reasoning = "_reasoning_8rgix_6";
97674
- const styles$1J = {
97690
+ const styles$1K = {
97675
97691
  contentImage,
97676
97692
  reasoning
97677
97693
  };
@@ -97682,7 +97698,7 @@ const args = "_args_1792k_22";
97682
97698
  const argLabel = "_argLabel_1792k_31";
97683
97699
  const error$2 = "_error_1792k_35";
97684
97700
  const toolPanel = "_toolPanel_1792k_40";
97685
- const styles$1I = {
97701
+ const styles$1J = {
97686
97702
  mcpToolUse,
97687
97703
  title: title$3,
97688
97704
  titleText,
@@ -97703,23 +97719,23 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
97703
97719
  const titleStr = content2.context ? `${content2.context} — ${content2.name}()` : `${content2.name}()`;
97704
97720
  const listToolsResult = maybeListTools(content2);
97705
97721
  const webSearchResult = maybeWebSearchResult(content2);
97706
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { id, className: clsx(styles$1I.mcpToolUse, className2), children: [
97722
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { id, className: clsx(styles$1J.mcpToolUse, className2), children: [
97707
97723
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
97708
97724
  "div",
97709
97725
  {
97710
97726
  className: clsx(
97711
- styles$1I.title,
97727
+ styles$1J.title,
97712
97728
  "text-size-small",
97713
97729
  "text-style-secondary"
97714
97730
  ),
97715
97731
  children: [
97716
97732
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.role.tool }),
97717
- /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1I.titleText, children: titleStr }),
97718
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1I.type, children: content2.type })
97733
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1J.titleText, children: titleStr }),
97734
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1J.type, children: content2.type })
97719
97735
  ]
97720
97736
  }
97721
97737
  ),
97722
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1I.args, children: [
97738
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1J.args, children: [
97723
97739
  Object.keys(args2).map((key2, index) => {
97724
97740
  const value2 = args2[key2];
97725
97741
  let valueRecord = void 0;
@@ -97738,7 +97754,7 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
97738
97754
  }),
97739
97755
  webSearchResult ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
97740
97756
  /* @__PURE__ */ jsxRuntimeExports.jsx(LabelDiv, { label: "results" }),
97741
- /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDiv, { children: webSearchResult.result.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1I.result, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
97757
+ /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDiv, { children: webSearchResult.result.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1J.result, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
97742
97758
  "a",
97743
97759
  {
97744
97760
  href: result2.url,
@@ -97753,7 +97769,7 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
97753
97769
  {
97754
97770
  id: `${id}-output`,
97755
97771
  collapse: true,
97756
- className: clsx(styles$1I.toolPanel),
97772
+ className: clsx(styles$1J.toolPanel),
97757
97773
  children: [
97758
97774
  /* @__PURE__ */ jsxRuntimeExports.jsx(LabelDiv, { label: tool2.name }),
97759
97775
  /* @__PURE__ */ jsxRuntimeExports.jsxs(ValueDiv, { children: [
@@ -97771,7 +97787,7 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
97771
97787
  }
97772
97788
  ) })) : void 0
97773
97789
  ] }),
97774
- content2.error ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1I.error, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
97790
+ content2.error ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1J.error, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
97775
97791
  "Error: ",
97776
97792
  content2.error
97777
97793
  ] }) }) : !listToolsResult && !webSearchResult ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(ExpandablePanel, { id: `${id}-output`, collapse: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -97828,7 +97844,7 @@ const LabelDiv = ({ label: label2 }) => {
97828
97844
  "div",
97829
97845
  {
97830
97846
  className: clsx(
97831
- styles$1I.argLabel,
97847
+ styles$1J.argLabel,
97832
97848
  "text-style-secondary",
97833
97849
  "text-size-smaller"
97834
97850
  ),
@@ -97843,7 +97859,7 @@ const toolImage = "_toolImage_1wvgr_1";
97843
97859
  const output = "_output_1wvgr_6";
97844
97860
  const textOutput = "_textOutput_1wvgr_10";
97845
97861
  const textCode = "_textCode_1wvgr_18";
97846
- const styles$1H = {
97862
+ const styles$1I = {
97847
97863
  toolImage,
97848
97864
  output,
97849
97865
  textOutput,
@@ -97865,7 +97881,7 @@ const ToolOutput = ({ output: output2, className: className2 }) => {
97865
97881
  /* @__PURE__ */ jsxRuntimeExports.jsx(
97866
97882
  "img",
97867
97883
  {
97868
- className: clsx(styles$1H.toolImage),
97884
+ className: clsx(styles$1I.toolImage),
97869
97885
  src: out.image
97870
97886
  },
97871
97887
  key2
@@ -97881,14 +97897,14 @@ const ToolOutput = ({ output: output2, className: className2 }) => {
97881
97897
  /* @__PURE__ */ jsxRuntimeExports.jsx(ToolTextOutput, { text: String(output2) }, "tool-output-single")
97882
97898
  );
97883
97899
  }
97884
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1H.output, className2), children: outputs });
97900
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1I.output, className2), children: outputs });
97885
97901
  };
97886
97902
  const ToolTextOutput = ({ text: text2 }) => {
97887
97903
  if (isJson(text2)) {
97888
97904
  const obj = JSON.parse(text2);
97889
97905
  return /* @__PURE__ */ jsxRuntimeExports.jsx(JsonMessageContent, { id: `1-json`, json: obj });
97890
97906
  }
97891
- return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1H.textOutput, "tool-output"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("sourceCode", styles$1H.textCode), children: text2.trim() }) });
97907
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1I.textOutput, "tool-output"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("sourceCode", styles$1I.textCode), children: text2.trim() }) });
97892
97908
  };
97893
97909
  const isMessageContent = (content2) => {
97894
97910
  return typeof content2 === "object" && content2 !== null && "type" in content2 && typeof content2.type === "string";
@@ -97994,7 +98010,7 @@ const messageRenderers = {
97994
98010
  title2 = "Reasoning (Summary)";
97995
98011
  }
97996
98012
  }
97997
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1J.reasoning, "text-size-small"), children: [
98013
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1K.reasoning, "text-size-small"), children: [
97998
98014
  /* @__PURE__ */ jsxRuntimeExports.jsx(
97999
98015
  "div",
98000
98016
  {
@@ -98017,7 +98033,7 @@ const messageRenderers = {
98017
98033
  render: (key2, content2, _isLast, _context) => {
98018
98034
  const c2 = content2;
98019
98035
  if (c2.image.startsWith("data:")) {
98020
- return /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: c2.image, className: styles$1J.contentImage }, key2);
98036
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: c2.image, className: styles$1K.contentImage }, key2);
98021
98037
  } else {
98022
98038
  return /* @__PURE__ */ jsxRuntimeExports.jsx("code", { children: c2.image }, key2);
98023
98039
  }
@@ -98244,20 +98260,20 @@ const extractInput = (args2, inputDescriptor) => {
98244
98260
  }
98245
98261
  };
98246
98262
  const toolCallView = "_toolCallView_l6wae_1";
98247
- const styles$1G = {
98263
+ const styles$1H = {
98248
98264
  toolCallView
98249
98265
  };
98250
98266
  const outputPre = "_outputPre_1jznn_1";
98251
98267
  const toolView = "_toolView_1jznn_7";
98252
98268
  const outputCode = "_outputCode_1jznn_15";
98253
- const styles$1F = {
98269
+ const styles$1G = {
98254
98270
  outputPre,
98255
98271
  toolView,
98256
98272
  outputCode
98257
98273
  };
98258
98274
  const todoList = "_todoList_1t8rx_1";
98259
98275
  const inProgress = "_inProgress_1t8rx_9";
98260
- const styles$1E = {
98276
+ const styles$1F = {
98261
98277
  todoList,
98262
98278
  inProgress
98263
98279
  };
@@ -98277,7 +98293,7 @@ const toToolTodos = (obj) => {
98277
98293
  };
98278
98294
  const TodoWriteInput = ({ contents: contents2, parentRef }) => {
98279
98295
  const todoItems = toToolTodos(contents2);
98280
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: parentRef, className: clsx(styles$1E.todoList), children: todoItems.map((todo) => {
98296
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: parentRef, className: clsx(styles$1F.todoList), children: todoItems.map((todo) => {
98281
98297
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
98282
98298
  /* @__PURE__ */ jsxRuntimeExports.jsx(
98283
98299
  "i",
@@ -98292,9 +98308,9 @@ const TodoWriteInput = ({ contents: contents2, parentRef }) => {
98292
98308
  "span",
98293
98309
  {
98294
98310
  className: clsx(
98295
- styles$1E.todoItem,
98311
+ styles$1F.todoItem,
98296
98312
  "text-size-smallest",
98297
- todo.status === "in_progress" ? styles$1E.inProgress : void 0
98313
+ todo.status === "in_progress" ? styles$1F.inProgress : void 0
98298
98314
  ),
98299
98315
  children: todo.content
98300
98316
  }
@@ -98314,7 +98330,7 @@ const ToolInput = (props) => {
98314
98330
  {
98315
98331
  markdown: toolCallView2.content,
98316
98332
  ref: sourceCodeRef,
98317
- className: clsx("tool-output", styles$1F.toolView, className2)
98333
+ className: clsx("tool-output", styles$1G.toolView, className2)
98318
98334
  }
98319
98335
  );
98320
98336
  } else {
@@ -98344,8 +98360,8 @@ const RenderTool = ({
98344
98360
  {
98345
98361
  className: clsx(
98346
98362
  "tool-output",
98347
- styles$1F.outputPre,
98348
- styles$1F.bottomMargin,
98363
+ styles$1G.outputPre,
98364
+ styles$1G.bottomMargin,
98349
98365
  className2
98350
98366
  ),
98351
98367
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -98355,7 +98371,7 @@ const RenderTool = ({
98355
98371
  "source-code",
98356
98372
  "sourceCode",
98357
98373
  contentType ? `language-${contentType}` : void 0,
98358
- styles$1F.outputCode
98374
+ styles$1G.outputCode
98359
98375
  ),
98360
98376
  children: formattedContent
98361
98377
  }
@@ -98366,16 +98382,16 @@ const RenderTool = ({
98366
98382
  const image = "_image_1vcac_1";
98367
98383
  const toolTitle = "_toolTitle_1vcac_6";
98368
98384
  const description = "_description_1vcac_10";
98369
- const styles$1D = {
98385
+ const styles$1E = {
98370
98386
  image,
98371
98387
  toolTitle,
98372
98388
  description
98373
98389
  };
98374
98390
  const ToolTitle = ({ title: title2, description: description2 }) => {
98375
98391
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
98376
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi", "bi-tools", styles$1D.image) }),
98377
- /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-small", styles$1D.toolTitle), children: title2 }),
98378
- description2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: clsx(styles$1D.description, "text-size-smallest"), children: [
98392
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi", "bi-tools", styles$1E.image) }),
98393
+ /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-small", styles$1E.toolTitle), children: title2 }),
98394
+ description2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: clsx(styles$1E.description, "text-size-smallest"), children: [
98379
98395
  "- ",
98380
98396
  description2
98381
98397
  ] }) : void 0
@@ -98424,7 +98440,7 @@ const ToolCallView = ({
98424
98440
  });
98425
98441
  const contents2 = mode !== "compact" ? input2 : input2 || functionCall;
98426
98442
  const context = defaultContext();
98427
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1G.toolCallView), children: [
98443
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1H.toolCallView), children: [
98428
98444
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
98429
98445
  mode !== "compact" && (!view || view.title) ? /* @__PURE__ */ jsxRuntimeExports.jsx(
98430
98446
  ToolTitle,
@@ -98477,7 +98493,7 @@ const normalizeContent$1 = (output2) => {
98477
98493
  };
98478
98494
  const content$6 = "_content_1b2jp_1";
98479
98495
  const codeCompact = "_codeCompact_1b2jp_5";
98480
- const styles$1C = {
98496
+ const styles$1D = {
98481
98497
  content: content$6,
98482
98498
  codeCompact
98483
98499
  };
@@ -98507,7 +98523,7 @@ const MessageContents = ({
98507
98523
  }
98508
98524
  const resolvedToolOutput = resolveToolMessage(toolMessage);
98509
98525
  if (toolCallStyle === "compact") {
98510
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("code", { className: clsx(styles$1C.codeCompact), children: [
98526
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("code", { className: clsx(styles$1D.codeCompact), children: [
98511
98527
  "tool: ",
98512
98528
  functionCall
98513
98529
  ] }) }, `tool-call-${idx}`);
@@ -98530,7 +98546,7 @@ const MessageContents = ({
98530
98546
  }
98531
98547
  });
98532
98548
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
98533
- message2.content && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1C.content, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageContent, { contents: message2.content, context }) }),
98549
+ message2.content && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1D.content, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageContent, { contents: message2.content, context }) }),
98534
98550
  toolCalls
98535
98551
  ] });
98536
98552
  } else {
@@ -98605,10 +98621,10 @@ const ChatMessage = memo$2(
98605
98621
  className: clsx(
98606
98622
  message2.role,
98607
98623
  "text-size-base",
98608
- styles$1R.message,
98609
- message2.role === "system" ? styles$1R.systemRole : void 0,
98610
- message2.role === "user" ? styles$1R.userRole : void 0,
98611
- mouseOver ? styles$1R.hover : void 0
98624
+ styles$1S.message,
98625
+ message2.role === "system" ? styles$1S.systemRole : void 0,
98626
+ message2.role === "user" ? styles$1S.userRole : void 0,
98627
+ mouseOver ? styles$1S.hover : void 0
98612
98628
  ),
98613
98629
  onMouseEnter: () => setMouseOver(true),
98614
98630
  onMouseLeave: () => setMouseOver(false),
@@ -98617,8 +98633,8 @@ const ChatMessage = memo$2(
98617
98633
  "div",
98618
98634
  {
98619
98635
  className: clsx(
98620
- styles$1R.messageGrid,
98621
- message2.role === "tool" ? styles$1R.toolMessageGrid : void 0,
98636
+ styles$1S.messageGrid,
98637
+ message2.role === "tool" ? styles$1S.toolMessageGrid : void 0,
98622
98638
  "text-style-label"
98623
98639
  ),
98624
98640
  children: [
@@ -98629,7 +98645,7 @@ const ChatMessage = memo$2(
98629
98645
  {
98630
98646
  icon: ApplicationIcons.link,
98631
98647
  value: toFullUrl(messageUrl),
98632
- className: clsx(styles$1R.copyLink)
98648
+ className: clsx(styles$1S.copyLink)
98633
98649
  }
98634
98650
  ) : ""
98635
98651
  ]
@@ -98639,8 +98655,8 @@ const ChatMessage = memo$2(
98639
98655
  "div",
98640
98656
  {
98641
98657
  className: clsx(
98642
- styles$1R.messageContents,
98643
- indented2 ? styles$1R.indented : void 0
98658
+ styles$1S.messageContents,
98659
+ indented2 ? styles$1S.indented : void 0
98644
98660
  ),
98645
98661
  children: [
98646
98662
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -98665,7 +98681,7 @@ const ChatMessage = memo$2(
98665
98681
  LabeledValue,
98666
98682
  {
98667
98683
  label: "Metadata",
98668
- className: clsx(styles$1R.metadataLabel, "text-size-smaller"),
98684
+ className: clsx(styles$1S.metadataLabel, "text-size-smaller"),
98669
98685
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
98670
98686
  RecordTree,
98671
98687
  {
@@ -98688,7 +98704,7 @@ const grid$a = "_grid_3x3ql_1";
98688
98704
  const number$5 = "_number_3x3ql_10";
98689
98705
  const user = "_user_3x3ql_14";
98690
98706
  const container$m = "_container_3x3ql_19";
98691
- const styles$1B = {
98707
+ const styles$1C = {
98692
98708
  grid: grid$a,
98693
98709
  number: number$5,
98694
98710
  user,
@@ -98708,9 +98724,9 @@ const ChatMessageRow = ({
98708
98724
  "div",
98709
98725
  {
98710
98726
  className: clsx(
98711
- styles$1B.grid,
98712
- styles$1B.container,
98713
- highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1B.user : void 0
98727
+ styles$1C.grid,
98728
+ styles$1C.container,
98729
+ highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1C.user : void 0
98714
98730
  ),
98715
98731
  children: [
98716
98732
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -98719,7 +98735,7 @@ const ChatMessageRow = ({
98719
98735
  className: clsx(
98720
98736
  "text-size-smaller",
98721
98737
  "text-style-secondary",
98722
- styles$1B.number
98738
+ styles$1C.number
98723
98739
  ),
98724
98740
  children: number2
98725
98741
  }
@@ -98743,9 +98759,9 @@ const ChatMessageRow = ({
98743
98759
  "div",
98744
98760
  {
98745
98761
  className: clsx(
98746
- styles$1B.container,
98747
- styles$1B.simple,
98748
- highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1B.user : void 0
98762
+ styles$1C.container,
98763
+ styles$1C.simple,
98764
+ highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1C.user : void 0
98749
98765
  ),
98750
98766
  children: [
98751
98767
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -98911,7 +98927,7 @@ const ChatSummary = ({ id, messages: messages2 }) => {
98911
98927
  };
98912
98928
  const grid$9 = "_grid_14885_1";
98913
98929
  const cell$2 = "_cell_14885_8";
98914
- const styles$1A = {
98930
+ const styles$1B = {
98915
98931
  grid: grid$9,
98916
98932
  cell: cell$2
98917
98933
  };
@@ -98942,7 +98958,7 @@ const MetaDataGrid = ({
98942
98958
  {
98943
98959
  className: clsx(
98944
98960
  `${baseId}-key`,
98945
- styles$1A.cell,
98961
+ styles$1B.cell,
98946
98962
  "text-style-label",
98947
98963
  "text-style-secondary",
98948
98964
  fontStyle
@@ -98950,7 +98966,7 @@ const MetaDataGrid = ({
98950
98966
  children: entry?.name
98951
98967
  }
98952
98968
  ),
98953
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1A.value, `${baseId}-value`, fontStyle), children: entry && /* @__PURE__ */ jsxRuntimeExports.jsx(
98969
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1B.value, `${baseId}-value`, fontStyle), children: entry && /* @__PURE__ */ jsxRuntimeExports.jsx(
98954
98970
  RenderedContent,
98955
98971
  {
98956
98972
  id: id2,
@@ -98960,7 +98976,7 @@ const MetaDataGrid = ({
98960
98976
  MetaDataGrid,
98961
98977
  {
98962
98978
  id: id2,
98963
- className: clsx(styles$1A.nested),
98979
+ className: clsx(styles$1B.nested),
98964
98980
  entries: obj,
98965
98981
  size,
98966
98982
  plain
@@ -98971,7 +98987,7 @@ const MetaDataGrid = ({
98971
98987
  ) })
98972
98988
  ] }, `${baseId}-record-${index}`);
98973
98989
  });
98974
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id, className: clsx(className2, styles$1A.grid), style: style2, children: entryEls });
98990
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id, className: clsx(className2, styles$1B.grid), style: style2, children: entryEls });
98975
98991
  };
98976
98992
  const entryRecords = (entries) => {
98977
98993
  if (!entries) {
@@ -98989,7 +99005,7 @@ const query = "_query_seqs2_1";
98989
99005
  const summary$3 = "_summary_seqs2_6";
98990
99006
  const preWrap = "_preWrap_seqs2_10";
98991
99007
  const preCompact = "_preCompact_seqs2_15";
98992
- const styles$1z = {
99008
+ const styles$1A = {
98993
99009
  query,
98994
99010
  summary: summary$3,
98995
99011
  preWrap,
@@ -99107,7 +99123,7 @@ const contentRenderers = (renderObject) => {
99107
99123
  };
99108
99124
  } else {
99109
99125
  return {
99110
- rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1z.preWrap, styles$1z.preCompact), children: rendered })
99126
+ rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1A.preWrap, styles$1A.preCompact), children: rendered })
99111
99127
  };
99112
99128
  }
99113
99129
  }
@@ -99156,7 +99172,7 @@ const contentRenderers = (renderObject) => {
99156
99172
  render: (_id, entry, _options) => {
99157
99173
  const results = [];
99158
99174
  results.push(
99159
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1z.query, children: [
99175
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1A.query, children: [
99160
99176
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.search }),
99161
99177
  " ",
99162
99178
  entry.value.query
@@ -99168,7 +99184,7 @@ const contentRenderers = (renderObject) => {
99168
99184
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: result2.url, children: result2.url }) })
99169
99185
  );
99170
99186
  results.push(
99171
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller", styles$1z.summary), children: result2.summary })
99187
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller", styles$1A.summary), children: result2.summary })
99172
99188
  );
99173
99189
  }
99174
99190
  );
@@ -99184,7 +99200,7 @@ const contentRenderers = (renderObject) => {
99184
99200
  },
99185
99201
  render: (_id, entry, _options) => {
99186
99202
  return {
99187
- rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1z.preWrap, children: entry.value })
99203
+ rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1A.preWrap, children: entry.value })
99188
99204
  };
99189
99205
  }
99190
99206
  },
@@ -99270,7 +99286,7 @@ const circle = "_circle_1iagp_1";
99270
99286
  const green = "_green_1iagp_12";
99271
99287
  const red = "_red_1iagp_18";
99272
99288
  const orange = "_orange_1iagp_24";
99273
- const styles$1y = {
99289
+ const styles$1z = {
99274
99290
  circle,
99275
99291
  green,
99276
99292
  red,
@@ -99311,22 +99327,22 @@ const passFailScoreDescriptor = (values) => {
99311
99327
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
99312
99328
  "span",
99313
99329
  {
99314
- className: clsx("text-size-small", styles$1y.circle, styles$1y.green),
99330
+ className: clsx("text-size-small", styles$1z.circle, styles$1z.green),
99315
99331
  children: "C"
99316
99332
  }
99317
99333
  );
99318
99334
  } else if (score2 === "I") {
99319
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1y.circle, styles$1y.red), children: "I" });
99335
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1z.circle, styles$1z.red), children: "I" });
99320
99336
  } else if (score2 === "P") {
99321
99337
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
99322
99338
  "span",
99323
99339
  {
99324
- className: clsx("text-size-small", styles$1y.circle, styles$1y.orange),
99340
+ className: clsx("text-size-small", styles$1z.circle, styles$1z.orange),
99325
99341
  children: "P"
99326
99342
  }
99327
99343
  );
99328
99344
  } else if (score2 === "N") {
99329
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1y.circle, styles$1y.red), children: "N" });
99345
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1z.circle, styles$1z.red), children: "N" });
99330
99346
  } else {
99331
99347
  return String(score2);
99332
99348
  }
@@ -102377,7 +102393,7 @@ const filterSamples = (evalDescriptor, samples, filterValue) => {
102377
102393
  };
102378
102394
  const flex = "_flex_1kye9_1";
102379
102395
  const label$a = "_label_1kye9_5";
102380
- const styles$1x = {
102396
+ const styles$1y = {
102381
102397
  flex,
102382
102398
  label: label$a
102383
102399
  };
@@ -102411,7 +102427,7 @@ const SortFilter = ({ sort: sort2, setSort, epochs }) => {
102411
102427
  },
102412
102428
  [setSort]
102413
102429
  );
102414
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1x.flex, children: [
102430
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1y.flex, children: [
102415
102431
  /* @__PURE__ */ jsxRuntimeExports.jsx(
102416
102432
  "span",
102417
102433
  {
@@ -102420,7 +102436,7 @@ const SortFilter = ({ sort: sort2, setSort, epochs }) => {
102420
102436
  "text-size-smaller",
102421
102437
  "text-style-label",
102422
102438
  "text-style-secondary",
102423
- styles$1x.label
102439
+ styles$1y.label
102424
102440
  ),
102425
102441
  children: "Sort:"
102426
102442
  }
@@ -103144,7 +103160,7 @@ function useClientEvents() {
103144
103160
  }
103145
103161
  const button$3 = "_button_1bbut_1";
103146
103162
  const viewerOptions$1 = "_viewerOptions_1bbut_7";
103147
- const styles$1w = {
103163
+ const styles$1x = {
103148
103164
  button: button$3,
103149
103165
  viewerOptions: viewerOptions$1
103150
103166
  };
@@ -103164,14 +103180,14 @@ const FlowButton = forwardRef(
103164
103180
  {
103165
103181
  ref,
103166
103182
  type: "button",
103167
- className: clsx(styles$1w.button),
103183
+ className: clsx(styles$1x.button),
103168
103184
  onClick: navigate,
103169
103185
  title: "View Flow configuration for this directory",
103170
103186
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
103171
103187
  "i",
103172
103188
  {
103173
103189
  ref,
103174
- className: clsx(ApplicationIcons.flow, styles$1w.viewerOptions)
103190
+ className: clsx(ApplicationIcons.flow, styles$1x.viewerOptions)
103175
103191
  }
103176
103192
  )
103177
103193
  }
@@ -103195,28 +103211,28 @@ const useFlowServerData = (dir) => {
103195
103211
  const wrapper$4 = "_wrapper_1tajk_1";
103196
103212
  const container$l = "_container_1tajk_12";
103197
103213
  const animate = "_animate_1tajk_21";
103198
- const styles$1v = {
103214
+ const styles$1w = {
103199
103215
  wrapper: wrapper$4,
103200
103216
  container: container$l,
103201
103217
  animate
103202
103218
  };
103203
103219
  const ActivityBar = ({ animating }) => {
103204
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1v.wrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
103220
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1w.wrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
103205
103221
  "div",
103206
103222
  {
103207
- className: clsx(styles$1v.container),
103223
+ className: clsx(styles$1w.container),
103208
103224
  role: "progressbar",
103209
103225
  "aria-label": "Progress bar",
103210
103226
  "aria-valuenow": 25,
103211
103227
  "aria-valuemin": 0,
103212
103228
  "aria-valuemax": 100,
103213
- children: animating && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1v.animate })
103229
+ children: animating && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1w.animate })
103214
103230
  }
103215
103231
  ) });
103216
103232
  };
103217
103233
  const button$2 = "_button_1bbut_1";
103218
103234
  const viewerOptions = "_viewerOptions_1bbut_7";
103219
- const styles$1u = {
103235
+ const styles$1v = {
103220
103236
  button: button$2,
103221
103237
  viewerOptions
103222
103238
  };
@@ -103229,14 +103245,14 @@ const ViewerOptionsButton = forwardRef(({ showing, setShowing }, ref) => {
103229
103245
  {
103230
103246
  ref,
103231
103247
  type: "button",
103232
- className: clsx(styles$1u.button),
103248
+ className: clsx(styles$1v.button),
103233
103249
  onClick: toggleShowing,
103234
103250
  title: "Viewer information and options",
103235
103251
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
103236
103252
  "i",
103237
103253
  {
103238
103254
  ref,
103239
- className: clsx(ApplicationIcons.info, styles$1u.viewerOptions)
103255
+ className: clsx(ApplicationIcons.info, styles$1v.viewerOptions)
103240
103256
  }
103241
103257
  )
103242
103258
  }
@@ -105123,7 +105139,7 @@ const clearButton = "_clearButton_e3s30_52";
105123
105139
  const message$2 = "_message_e3s30_56";
105124
105140
  const messageSuccess = "_messageSuccess_e3s30_64";
105125
105141
  const messageError = "_messageError_e3s30_69";
105126
- const styles$1t = {
105142
+ const styles$1u = {
105127
105143
  container: container$k,
105128
105144
  fullWidth: fullWidth$2,
105129
105145
  fullWidthPadded,
@@ -105175,32 +105191,32 @@ const ViewerOptionsPopover = ({
105175
105191
  hoverDelay: -1,
105176
105192
  offset: [-10, 5],
105177
105193
  showArrow: false,
105178
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1t.container, "text-size-smaller"), children: [
105194
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1u.container, "text-size-smaller"), children: [
105179
105195
  /* @__PURE__ */ jsxRuntimeExports.jsx(
105180
105196
  "div",
105181
105197
  {
105182
105198
  className: clsx(
105183
105199
  "text-style-label",
105184
105200
  "text-style-secondary",
105185
- styles$1t.fullWidth
105201
+ styles$1u.fullWidth
105186
105202
  ),
105187
105203
  children: "Log Directory"
105188
105204
  }
105189
105205
  ),
105190
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1t.fullWidth, styles$1t.fullWidthPadded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1t.logDir, children: logDir2 }) }),
105191
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1t.spacer) }),
105206
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1u.fullWidth, styles$1u.fullWidthPadded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1u.logDir, children: logDir2 }) }),
105207
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1u.spacer) }),
105192
105208
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Version" }),
105193
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.153-38-gd71c6fae9" }),
105209
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.154-9-gdf2da8d14" }),
105194
105210
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Schema" }),
105195
105211
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: DB_VERSION }),
105196
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1t.spacer) }),
105212
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1u.spacer) }),
105197
105213
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Logs" }),
105198
105214
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: dbStats?.logCount || 0 }),
105199
105215
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Log Previews" }),
105200
105216
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: dbStats?.previewCount || 0 }),
105201
105217
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Log Details" }),
105202
105218
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: dbStats?.detailsCount || 0 }),
105203
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1t.spacer) }),
105219
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1u.spacer) }),
105204
105220
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Tools" }),
105205
105221
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(), children: [
105206
105222
  " ",
@@ -105213,7 +105229,7 @@ const ViewerOptionsPopover = ({
105213
105229
  "btn",
105214
105230
  "btn-tools",
105215
105231
  "text-size-smallest",
105216
- styles$1t.clearButton
105232
+ styles$1u.clearButton
105217
105233
  ),
105218
105234
  children: isClearing ? "Clearing..." : "Clear Local Database"
105219
105235
  }
@@ -105223,9 +105239,9 @@ const ViewerOptionsPopover = ({
105223
105239
  "div",
105224
105240
  {
105225
105241
  className: clsx(
105226
- styles$1t.fullWidth,
105227
- styles$1t.message,
105228
- clearMessage.includes("success") ? styles$1t.messageSuccess : styles$1t.messageError
105242
+ styles$1u.fullWidth,
105243
+ styles$1u.message,
105244
+ clearMessage.includes("success") ? styles$1u.messageSuccess : styles$1u.messageError
105229
105245
  ),
105230
105246
  children: clearMessage
105231
105247
  }
@@ -105242,7 +105258,7 @@ const left$1 = "_left_1u3sd_31";
105242
105258
  const right$1 = "_right_1u3sd_41";
105243
105259
  const toolbarButton = "_toolbarButton_1u3sd_50";
105244
105260
  const pathContainer = "_pathContainer_1u3sd_58";
105245
- const styles$1s = {
105261
+ const styles$1t = {
105246
105262
  header: header$3,
105247
105263
  bordered,
105248
105264
  breadcrumbs,
@@ -105378,45 +105394,45 @@ const Navbar = ({
105378
105394
  className: clsx(
105379
105395
  "text-size-smaller",
105380
105396
  "header-nav",
105381
- styles$1s.header,
105382
- bordered2 === false ? null : styles$1s.bordered
105397
+ styles$1t.header,
105398
+ bordered2 === false ? null : styles$1t.bordered
105383
105399
  ),
105384
105400
  "aria-label": "breadcrumb",
105385
105401
  "data-unsearchable": true,
105386
105402
  children: [
105387
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1s.left), children: [
105388
- /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: backUrl, className: clsx(styles$1s.toolbarButton), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.navbar.back) }) }),
105403
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1t.left), children: [
105404
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: backUrl, className: clsx(styles$1t.toolbarButton), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.navbar.back) }) }),
105389
105405
  /* @__PURE__ */ jsxRuntimeExports.jsx(
105390
105406
  Link,
105391
105407
  {
105392
105408
  to: fnNavigationUrl("", logDir2),
105393
- className: clsx(styles$1s.toolbarButton),
105409
+ className: clsx(styles$1t.toolbarButton),
105394
105410
  onClick: () => {
105395
105411
  setPage(0);
105396
105412
  },
105397
105413
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.navbar.home) })
105398
105414
  }
105399
105415
  ),
105400
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1s.pathContainer), ref: pathContainerRef, children: logDir2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx("breadcrumb", styles$1s.breadcrumbs), children: visibleSegments?.map((segment2, index) => {
105416
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1t.pathContainer), ref: pathContainerRef, children: logDir2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx("breadcrumb", styles$1t.breadcrumbs), children: visibleSegments?.map((segment2, index) => {
105401
105417
  const isLast = index === visibleSegments.length - 1;
105402
105418
  const shouldShowEllipsis = showEllipsis && index === 1 && visibleSegments.length >= 2;
105403
105419
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
105404
- shouldShowEllipsis && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: clsx("breadcrumb-item", styles$1s.ellipsis), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "..." }) }),
105420
+ shouldShowEllipsis && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: clsx("breadcrumb-item", styles$1t.ellipsis), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "..." }) }),
105405
105421
  /* @__PURE__ */ jsxRuntimeExports.jsx(
105406
105422
  "li",
105407
105423
  {
105408
105424
  className: clsx(
105409
- styles$1s.pathLink,
105425
+ styles$1t.pathLink,
105410
105426
  "breadcrumb-item",
105411
105427
  isLast ? "active" : void 0
105412
105428
  ),
105413
- children: segment2.url && !isLast ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: segment2.url, children: segment2.text }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1s.pathSegment), children: segment2.text })
105429
+ children: segment2.url && !isLast ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: segment2.url, children: segment2.text }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1t.pathSegment), children: segment2.text })
105414
105430
  }
105415
105431
  )
105416
105432
  ] }, index);
105417
105433
  }) }) : "" })
105418
105434
  ] }),
105419
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1s.right), children: children2 })
105435
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1t.right), children: children2 })
105420
105436
  ]
105421
105437
  }
105422
105438
  );
@@ -105480,7 +105496,7 @@ const ApplicationNavbar = ({
105480
105496
  const rootControl = "_rootControl_mhb7y_1";
105481
105497
  const segment = "_segment_mhb7y_9";
105482
105498
  const selected$4 = "_selected_mhb7y_9";
105483
- const styles$1r = {
105499
+ const styles$1s = {
105484
105500
  rootControl,
105485
105501
  segment,
105486
105502
  selected: selected$4
@@ -105499,13 +105515,13 @@ const SegmentedControl = ({
105499
105515
  if (selectedId === void 0) {
105500
105516
  selectedId = segments2[0]?.id;
105501
105517
  }
105502
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1r.rootControl), children: segments2.map((segment2, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
105518
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1s.rootControl), children: segments2.map((segment2, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
105503
105519
  "button",
105504
105520
  {
105505
105521
  className: clsx(
105506
- styles$1r.segment,
105522
+ styles$1s.segment,
105507
105523
  {
105508
- [styles$1r.selected]: selectedId === segment2.id
105524
+ [styles$1s.selected]: selectedId === segment2.id
105509
105525
  },
105510
105526
  "text-size-smallest",
105511
105527
  "text-style-secondary"
@@ -108545,7 +108561,7 @@ const bodyRow = "_bodyRow_55y8l_96";
108545
108561
  const selectedRow = "_selectedRow_55y8l_111";
108546
108562
  const bodyCell = "_bodyCell_55y8l_121";
108547
108563
  const emptyMessage = "_emptyMessage_55y8l_133";
108548
- const styles$1q = {
108564
+ const styles$1r = {
108549
108565
  gridContainer,
108550
108566
  grid: grid$8,
108551
108567
  headerRow: headerRow$1,
@@ -108561,15 +108577,15 @@ const styles$1q = {
108561
108577
  emptyMessage
108562
108578
  };
108563
108579
  const dateCell = "_dateCell_1f2i9_1";
108564
- const styles$1p = {
108580
+ const styles$1q = {
108565
108581
  dateCell
108566
108582
  };
108567
108583
  const emptyCell = "_emptyCell_17jto_1";
108568
- const styles$1o = {
108584
+ const styles$1p = {
108569
108585
  emptyCell
108570
108586
  };
108571
108587
  const EmptyCell = () => {
108572
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1o.emptyCell, children: "-" });
108588
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1p.emptyCell, children: "-" });
108573
108589
  };
108574
108590
  const completedDateColumn = () => {
108575
108591
  return columnHelper.accessor(
@@ -108597,7 +108613,7 @@ const completedDateColumn = () => {
108597
108613
  if (!timeStr) {
108598
108614
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
108599
108615
  }
108600
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1p.dateCell, children: timeStr });
108616
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1q.dateCell, children: timeStr });
108601
108617
  },
108602
108618
  sortingFn: (rowA, rowB) => {
108603
108619
  const itemA = rowA.original;
@@ -108623,7 +108639,7 @@ const itemCompletedAt = (item2) => {
108623
108639
  };
108624
108640
  const nameCell$1 = "_nameCell_arm8o_1";
108625
108641
  const fileLink = "_fileLink_arm8o_8";
108626
- const styles$1n = {
108642
+ const styles$1o = {
108627
108643
  nameCell: nameCell$1,
108628
108644
  fileLink
108629
108645
  };
@@ -108637,7 +108653,7 @@ const fileNameColumn = () => {
108637
108653
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
108638
108654
  }
108639
108655
  let value2 = basename(item2.name);
108640
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1n.nameCell, children: item2.url ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: item2.url, className: styles$1n.fileLink, children: value2 }) : value2 });
108656
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1o.nameCell, children: item2.url ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: item2.url, className: styles$1o.fileLink, children: value2 }) : value2 });
108641
108657
  },
108642
108658
  enableSorting: true,
108643
108659
  enableGlobalFilter: true,
@@ -108657,14 +108673,14 @@ const fileNameColumn = () => {
108657
108673
  });
108658
108674
  };
108659
108675
  const iconCell = "_iconCell_1qfra_1";
108660
- const styles$1m = {
108676
+ const styles$1n = {
108661
108677
  iconCell
108662
108678
  };
108663
108679
  const iconColumn = () => {
108664
108680
  return columnHelper.accessor("type", {
108665
108681
  id: "icon",
108666
108682
  header: "",
108667
- cell: (info) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1m.iconCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
108683
+ cell: (info) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1n.iconCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
108668
108684
  "i",
108669
108685
  {
108670
108686
  className: clsx(
@@ -108692,7 +108708,7 @@ const iconColumn = () => {
108692
108708
  });
108693
108709
  };
108694
108710
  const modelCell = "_modelCell_1lo5p_1";
108695
- const styles$1l = {
108711
+ const styles$1m = {
108696
108712
  modelCell
108697
108713
  };
108698
108714
  const modelColumn = () => {
@@ -108707,9 +108723,9 @@ const modelColumn = () => {
108707
108723
  cell: (info) => {
108708
108724
  const item2 = info.row.original;
108709
108725
  if (item2.type === "file" && item2.logPreview?.model !== void 0) {
108710
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1l.modelCell, children: item2.logPreview.model });
108726
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1m.modelCell, children: item2.logPreview.model });
108711
108727
  } else if (item2.type === "pending-task" && item2.model) {
108712
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1l.modelCell, children: item2.model });
108728
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1m.modelCell, children: item2.model });
108713
108729
  }
108714
108730
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
108715
108731
  },
@@ -108723,7 +108739,7 @@ const modelColumn = () => {
108723
108739
  );
108724
108740
  };
108725
108741
  const scoreCell = "_scoreCell_1xqe0_1";
108726
- const styles$1k = {
108742
+ const styles$1l = {
108727
108743
  scoreCell
108728
108744
  };
108729
108745
  const scoreColumn = () => {
@@ -108740,7 +108756,7 @@ const scoreColumn = () => {
108740
108756
  if (metric === void 0) {
108741
108757
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
108742
108758
  }
108743
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1k.scoreCell, children: formatPrettyDecimal(metric.value) });
108759
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1l.scoreCell, children: formatPrettyDecimal(metric.value) });
108744
108760
  },
108745
108761
  sortingFn: (rowA, rowB) => {
108746
108762
  const itemA = rowA.original;
@@ -108771,7 +108787,7 @@ const error$1 = "_error_14ftq_1";
108771
108787
  const started = "_started_14ftq_5";
108772
108788
  const success = "_success_14ftq_9";
108773
108789
  const cancelled = "_cancelled_14ftq_13";
108774
- const styles$1j = {
108790
+ const styles$1k = {
108775
108791
  error: error$1,
108776
108792
  started,
108777
108793
  success,
@@ -108788,8 +108804,8 @@ const statusColumn = () => {
108788
108804
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
108789
108805
  }
108790
108806
  const icon2 = item2.type === "pending-task" ? ApplicationIcons.pendingTask : status2 === "error" ? ApplicationIcons.error : status2 === "started" ? ApplicationIcons.running : status2 === "cancelled" ? ApplicationIcons.cancelled : ApplicationIcons.success;
108791
- const clz = item2.type === "pending-task" ? styles$1j.started : status2 === "error" ? styles$1j.error : status2 === "started" ? styles$1j.started : status2 === "cancelled" ? styles$1j.cancelled : styles$1j.success;
108792
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1j.statusCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, clz) }) });
108807
+ const clz = item2.type === "pending-task" ? styles$1k.started : status2 === "error" ? styles$1k.error : status2 === "started" ? styles$1k.started : status2 === "cancelled" ? styles$1k.cancelled : styles$1k.success;
108808
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1k.statusCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, clz) }) });
108793
108809
  },
108794
108810
  sortingFn: (rowA, rowB) => {
108795
108811
  const itemA = rowA.original;
@@ -108853,7 +108869,7 @@ const parseLogFileName = (logFileName) => {
108853
108869
  };
108854
108870
  const nameCell = "_nameCell_cjd7p_1";
108855
108871
  const logLink = "_logLink_cjd7p_8";
108856
- const styles$1i = {
108872
+ const styles$1j = {
108857
108873
  nameCell,
108858
108874
  logLink
108859
108875
  };
@@ -108864,7 +108880,7 @@ const taskColumn = () => {
108864
108880
  cell: (info) => {
108865
108881
  const item2 = info.row.original;
108866
108882
  let value2 = itemName(item2);
108867
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1i.nameCell, children: item2.url ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: item2.url, className: styles$1i.logLink, title: item2.name, children: value2 }) : value2 });
108883
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1j.nameCell, children: item2.url ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: item2.url, className: styles$1j.logLink, title: item2.name, children: value2 }) : value2 });
108868
108884
  },
108869
108885
  enableSorting: true,
108870
108886
  enableGlobalFilter: true,
@@ -109137,15 +109153,15 @@ const LogListGrid = forwardRef(
109137
109153
  "div",
109138
109154
  {
109139
109155
  ref: gridRef,
109140
- className: styles$1q.gridContainer,
109156
+ className: styles$1r.gridContainer,
109141
109157
  onKeyDown: handleKeyDown,
109142
109158
  tabIndex: 0,
109143
109159
  role: "grid",
109144
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1q.grid, children: [
109160
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1r.grid, children: [
109145
109161
  /* @__PURE__ */ jsxRuntimeExports.jsx(
109146
109162
  "div",
109147
109163
  {
109148
- className: styles$1q.headerRow,
109164
+ className: styles$1r.headerRow,
109149
109165
  style: {
109150
109166
  gridTemplateColumns: table2.getHeaderGroups()[0]?.headers.map((header2) => `${header2.getSize()}px`).join(" ") || "40px 0.5fr 0.25fr 0.25fr 0.1fr"
109151
109167
  },
@@ -109153,9 +109169,9 @@ const LogListGrid = forwardRef(
109153
109169
  (headerGroup) => headerGroup.headers.map((header2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
109154
109170
  "div",
109155
109171
  {
109156
- className: clsx(styles$1q.headerCell, {
109157
- [styles$1q.sortable]: header2.column.getCanSort(),
109158
- [styles$1q.resizing]: header2.column.getIsResizing()
109172
+ className: clsx(styles$1r.headerCell, {
109173
+ [styles$1r.sortable]: header2.column.getCanSort(),
109174
+ [styles$1r.resizing]: header2.column.getIsResizing()
109159
109175
  }),
109160
109176
  onClick: (event) => {
109161
109177
  header2.column.getToggleSortingHandler()?.(event);
@@ -109169,7 +109185,7 @@ const LogListGrid = forwardRef(
109169
109185
  header2.column.columnDef.header,
109170
109186
  header2.getContext()
109171
109187
  ),
109172
- header2.column.getCanSort() && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1q.sortIndicator, children: {
109188
+ header2.column.getCanSort() && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1r.sortIndicator, children: {
109173
109189
  asc: " ↑",
109174
109190
  desc: " ↓"
109175
109191
  }[header2.column.getIsSorted()] ?? "" }),
@@ -109187,8 +109203,8 @@ const LogListGrid = forwardRef(
109187
109203
  onClick: (e) => {
109188
109204
  e.stopPropagation();
109189
109205
  },
109190
- className: clsx(styles$1q.resizer, {
109191
- [styles$1q.isResizing]: header2.column.getIsResizing()
109206
+ className: clsx(styles$1r.resizer, {
109207
+ [styles$1r.isResizing]: header2.column.getIsResizing()
109192
109208
  })
109193
109209
  }
109194
109210
  )
@@ -109199,13 +109215,13 @@ const LogListGrid = forwardRef(
109199
109215
  )
109200
109216
  }
109201
109217
  ),
109202
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1q.bodyContainer, children: [
109203
- table2.getRowModel().rows.length === 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1q.emptyMessage, children: placeholderText }),
109218
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1r.bodyContainer, children: [
109219
+ table2.getRowModel().rows.length === 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1r.emptyMessage, children: placeholderText }),
109204
109220
  table2.getRowModel().rows.map((row2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
109205
109221
  "div",
109206
109222
  {
109207
- className: clsx(styles$1q.bodyRow, {
109208
- [styles$1q.selectedRow]: selectedRowIndex === index
109223
+ className: clsx(styles$1r.bodyRow, {
109224
+ [styles$1r.selectedRow]: selectedRowIndex === index
109209
109225
  }),
109210
109226
  style: {
109211
109227
  gridTemplateColumns: row2.getVisibleCells().map((cell2) => `${cell2.column.getSize()}px`).join(" ")
@@ -109216,8 +109232,8 @@ const LogListGrid = forwardRef(
109216
109232
  "div",
109217
109233
  {
109218
109234
  className: clsx(
109219
- styles$1q.bodyCell,
109220
- styles$1q[`${cell2.column.id}Cell`]
109235
+ styles$1r.bodyCell,
109236
+ styles$1r[`${cell2.column.id}Cell`]
109221
109237
  ),
109222
109238
  style: {
109223
109239
  width: cell2.column.getSize()
@@ -109243,7 +109259,7 @@ const label$9 = "_label_14uod_25";
109243
109259
  const right = "_right_14uod_30";
109244
109260
  const left = "_left_14uod_39";
109245
109261
  const center$1 = "_center_14uod_48";
109246
- const styles$1h = {
109262
+ const styles$1i = {
109247
109263
  footer: footer$1,
109248
109264
  spinnerContainer: spinnerContainer$1,
109249
109265
  spinner: spinner$2,
@@ -109254,7 +109270,7 @@ const styles$1h = {
109254
109270
  };
109255
109271
  const pager = "_pager_jzegk_1";
109256
109272
  const item$2 = "_item_jzegk_11";
109257
- const styles$1g = {
109273
+ const styles$1h = {
109258
109274
  pager,
109259
109275
  item: item$2
109260
109276
  };
@@ -109296,8 +109312,8 @@ const LogPager = ({ itemCount }) => {
109296
109312
  return segments22;
109297
109313
  };
109298
109314
  const segments2 = generatePaginationSegments();
109299
- return /* @__PURE__ */ jsxRuntimeExports.jsx("nav", { "aria-label": "Log Pagination", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: clsx("pagination", styles$1g.pager), children: [
109300
- /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: clsx(currentPage === 0 ? "disabled" : "", styles$1g.item), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
109315
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("nav", { "aria-label": "Log Pagination", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: clsx("pagination", styles$1h.pager), children: [
109316
+ /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: clsx(currentPage === 0 ? "disabled" : "", styles$1h.item), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
109301
109317
  "a",
109302
109318
  {
109303
109319
  className: clsx("page-link"),
@@ -109315,7 +109331,7 @@ const LogPager = ({ itemCount }) => {
109315
109331
  className: clsx(
109316
109332
  segment2.type === "page" && segment2.page === currentPage ? "active" : void 0,
109317
109333
  segment2.type === "ellipsis" ? "disabled" : void 0,
109318
- styles$1g.item
109334
+ styles$1h.item
109319
109335
  ),
109320
109336
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
109321
109337
  "a",
@@ -109337,7 +109353,7 @@ const LogPager = ({ itemCount }) => {
109337
109353
  {
109338
109354
  className: clsx(
109339
109355
  currentPage + 1 >= pageCount ? "disabled" : "",
109340
- styles$1g.item
109356
+ styles$1h.item
109341
109357
  ),
109342
109358
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
109343
109359
  "a",
@@ -109374,12 +109390,12 @@ const LogListFooter = ({
109374
109390
  );
109375
109391
  const startItem = effectiveItemCount > 0 ? currentPage * itemsPerPage + 1 : 0;
109376
109392
  const endItem = startItem + pageItemCount - 1;
109377
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", styles$1h.footer), children: [
109378
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1h.left), children: progressText ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1h.spinnerContainer), children: [
109393
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", styles$1i.footer), children: [
109394
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1i.left), children: progressText ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1i.spinnerContainer), children: [
109379
109395
  /* @__PURE__ */ jsxRuntimeExports.jsx(
109380
109396
  "div",
109381
109397
  {
109382
- className: clsx("spinner-border", styles$1h.spinner),
109398
+ className: clsx("spinner-border", styles$1i.spinner),
109383
109399
  role: "status",
109384
109400
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: clsx("visually-hidden"), children: [
109385
109401
  progressText,
@@ -109387,13 +109403,13 @@ const LogListFooter = ({
109387
109403
  ] })
109388
109404
  }
109389
109405
  ),
109390
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-style-secondary", styles$1h.label), children: [
109406
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-style-secondary", styles$1i.label), children: [
109391
109407
  progressText,
109392
109408
  "..."
109393
109409
  ] })
109394
109410
  ] }) : itemCountLabel ? `${itemCount.toLocaleString()} ${itemCountLabel}` : null }),
109395
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1h.center), children: paginated && /* @__PURE__ */ jsxRuntimeExports.jsx(LogPager, { itemCount: effectiveItemCount }) }),
109396
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1h.right), children: progressBar ? progressBar : paginated ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: effectiveItemCount === 0 ? "" : filteredCount !== void 0 && filteredCount !== itemCount ? `${startItem} - ${endItem} / ${effectiveItemCount} (${itemCount} total)` : `${startItem} - ${endItem} / ${effectiveItemCount}` }) : `${effectiveItemCount} items` })
109411
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1i.center), children: paginated && /* @__PURE__ */ jsxRuntimeExports.jsx(LogPager, { itemCount: effectiveItemCount }) }),
109412
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1i.right), children: progressBar ? progressBar : paginated ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: effectiveItemCount === 0 ? "" : filteredCount !== void 0 && filteredCount !== itemCount ? `${startItem} - ${endItem} / ${effectiveItemCount} (${itemCount} total)` : `${startItem} - ${endItem} / ${effectiveItemCount}` }) : `${effectiveItemCount} items` })
109397
109413
  ] });
109398
109414
  };
109399
109415
  const container$j = "_container_e1pcq_1";
@@ -109402,7 +109418,7 @@ const withIcon = "_withIcon_e1pcq_23";
109402
109418
  const icon$3 = "_icon_e1pcq_27";
109403
109419
  const clearText = "_clearText_e1pcq_31";
109404
109420
  const hidden$2 = "_hidden_e1pcq_40";
109405
- const styles$1f = {
109421
+ const styles$1g = {
109406
109422
  container: container$j,
109407
109423
  input: input$1,
109408
109424
  withIcon,
@@ -109416,12 +109432,12 @@ const TextInput = forwardRef(
109416
109432
  "div",
109417
109433
  {
109418
109434
  className: clsx(
109419
- styles$1f.container,
109435
+ styles$1g.container,
109420
109436
  className2,
109421
- icon2 ? styles$1f.withIcon : ""
109437
+ icon2 ? styles$1g.withIcon : ""
109422
109438
  ),
109423
109439
  children: [
109424
- icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$1f.icon) }),
109440
+ icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$1g.icon) }),
109425
109441
  /* @__PURE__ */ jsxRuntimeExports.jsx(
109426
109442
  "input",
109427
109443
  {
@@ -109430,7 +109446,7 @@ const TextInput = forwardRef(
109430
109446
  onChange,
109431
109447
  ref,
109432
109448
  placeholder,
109433
- className: clsx(styles$1f.input),
109449
+ className: clsx(styles$1g.input),
109434
109450
  onFocus
109435
109451
  }
109436
109452
  ),
@@ -109438,8 +109454,8 @@ const TextInput = forwardRef(
109438
109454
  "i",
109439
109455
  {
109440
109456
  className: clsx(
109441
- styles$1f.clearText,
109442
- value2 === "" ? styles$1f.hidden : "",
109457
+ styles$1g.clearText,
109458
+ value2 === "" ? styles$1g.hidden : "",
109443
109459
  ApplicationIcons["clear-text"]
109444
109460
  ),
109445
109461
  onClick: () => {
@@ -109458,7 +109474,7 @@ const TextInput = forwardRef(
109458
109474
  }
109459
109475
  );
109460
109476
  const filterInput = "_filterInput_gv8bt_1";
109461
- const styles$1e = {
109477
+ const styles$1f = {
109462
109478
  filterInput
109463
109479
  };
109464
109480
  const LogsFilterInput = forwardRef(
@@ -109483,14 +109499,14 @@ const LogsFilterInput = forwardRef(
109483
109499
  e.target.select();
109484
109500
  },
109485
109501
  placeholder: "Filter...",
109486
- className: clsx(styles$1e.filterInput)
109502
+ className: clsx(styles$1f.filterInput)
109487
109503
  }
109488
109504
  );
109489
109505
  }
109490
109506
  );
109491
109507
  const panel$6 = "_panel_16dj8_1";
109492
109508
  const list$1 = "_list_16dj8_8";
109493
- const styles$1d = {
109509
+ const styles$1e = {
109494
109510
  panel: panel$6,
109495
109511
  list: list$1
109496
109512
  };
@@ -109636,7 +109652,7 @@ const LogsPanel = ({ maybeShowSingleLog }) => {
109636
109652
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
109637
109653
  "div",
109638
109654
  {
109639
- className: clsx(styles$1d.panel),
109655
+ className: clsx(styles$1e.panel),
109640
109656
  onKeyDown: (e) => {
109641
109657
  handleKeyDown(e);
109642
109658
  },
@@ -109655,7 +109671,7 @@ const LogsPanel = ({ maybeShowSingleLog }) => {
109655
109671
  }
109656
109672
  ),
109657
109673
  /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
109658
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1d.list, "text-size-smaller"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(LogListGrid, { ref: gridRef, items: logItems }) }),
109674
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1e.list, "text-size-smaller"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(LogListGrid, { ref: gridRef, items: logItems }) }),
109659
109675
  /* @__PURE__ */ jsxRuntimeExports.jsx(
109660
109676
  LogListFooter,
109661
109677
  {
@@ -110234,7 +110250,7 @@ const tabContainer = "_tabContainer_1r3mu_6";
110234
110250
  const tabSet = "_tabSet_1r3mu_14";
110235
110251
  const tabs = "_tabs_1r3mu_21";
110236
110252
  const tabPanels = "_tabPanels_1r3mu_29";
110237
- const styles$1c = {
110253
+ const styles$1d = {
110238
110254
  workspace,
110239
110255
  tabContainer,
110240
110256
  tabSet,
@@ -110285,7 +110301,7 @@ const Card = ({ id, children: children2, className: className2 }) => {
110285
110301
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("card", className2), id, children: children2 });
110286
110302
  };
110287
110303
  const message$1 = "_message_1gb2h_5";
110288
- const styles$1b = {
110304
+ const styles$1c = {
110289
110305
  "task-error-display": "_task-error-display_1gb2h_1",
110290
110306
  message: message$1
110291
110307
  };
@@ -110304,7 +110320,7 @@ const TaskErrorCard = ({ error: error2 }) => {
110304
110320
  {
110305
110321
  id: "task-error-collapse",
110306
110322
  collapse: true,
110307
- className: clsx("text-size-smaller", styles$1b.message),
110323
+ className: clsx("text-size-smaller", styles$1c.message),
110308
110324
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
110309
110325
  RenderedContent,
110310
110326
  {
@@ -110318,7 +110334,7 @@ const TaskErrorCard = ({ error: error2 }) => {
110318
110334
  ANSIDisplay,
110319
110335
  {
110320
110336
  output: error2.traceback_ansi,
110321
- className: styles$1b["task-error-display"]
110337
+ className: styles$1c["task-error-display"]
110322
110338
  }
110323
110339
  )
110324
110340
  ] })
@@ -110384,7 +110400,7 @@ const MessageBand = ({
110384
110400
  ] });
110385
110401
  };
110386
110402
  const item$1 = "_item_1uzhd_1";
110387
- const styles$1a = {
110403
+ const styles$1b = {
110388
110404
  item: item$1
110389
110405
  };
110390
110406
  const DatasetDetailView = ({
@@ -110395,12 +110411,12 @@ const DatasetDetailView = ({
110395
110411
  Object.entries(dataset).filter(([key2]) => key2 !== "sample_ids")
110396
110412
  );
110397
110413
  if (!dataset || Object.keys(filtered).length === 0) {
110398
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-base", styles$1a.item), style: style2, children: "No dataset information available" });
110414
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-base", styles$1b.item), style: style2, children: "No dataset information available" });
110399
110415
  }
110400
110416
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
110401
110417
  MetaDataGrid,
110402
110418
  {
110403
- className: clsx("text-size-base", styles$1a.item),
110419
+ className: clsx("text-size-base", styles$1b.item),
110404
110420
  entries: filtered,
110405
110421
  style: style2,
110406
110422
  plain: true
@@ -110410,7 +110426,7 @@ const DatasetDetailView = ({
110410
110426
  const icon$2 = "_icon_59zaz_1";
110411
110427
  const container$i = "_container_59zaz_5";
110412
110428
  const metadata$1 = "_metadata_59zaz_11";
110413
- const styles$19 = {
110429
+ const styles$1a = {
110414
110430
  icon: icon$2,
110415
110431
  container: container$i,
110416
110432
  metadata: metadata$1
@@ -110421,22 +110437,22 @@ const DetailStep = ({
110421
110437
  params,
110422
110438
  className: className2
110423
110439
  }) => {
110424
- const iconHtml = icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$19.icon) }) : "";
110440
+ const iconHtml = icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$1a.icon) }) : "";
110425
110441
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2), children: [
110426
110442
  iconHtml,
110427
110443
  " ",
110428
110444
  name2,
110429
- params && Object.keys(params).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$19.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
110445
+ params && Object.keys(params).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
110430
110446
  MetaDataGrid,
110431
110447
  {
110432
110448
  entries: params,
110433
- className: clsx("text-size-small", styles$19.metadata)
110449
+ className: clsx("text-size-small", styles$1a.metadata)
110434
110450
  }
110435
110451
  ) }) : ""
110436
110452
  ] });
110437
110453
  };
110438
110454
  const item = "_item_leq25_1";
110439
- const styles$18 = {
110455
+ const styles$19 = {
110440
110456
  item
110441
110457
  };
110442
110458
  const ScorerDetailView = ({
@@ -110453,38 +110469,38 @@ const ScorerDetailView = ({
110453
110469
  icon: ApplicationIcons.scorer,
110454
110470
  name: name2,
110455
110471
  params,
110456
- className: clsx(styles$18.item, "text-size-base")
110472
+ className: clsx(styles$19.item, "text-size-base")
110457
110473
  }
110458
110474
  );
110459
110475
  };
110460
110476
  const container$h = "_container_12j2k_1";
110461
110477
  const separator$5 = "_separator_12j2k_11";
110462
- const styles$17 = {
110478
+ const styles$18 = {
110463
110479
  container: container$h,
110464
110480
  separator: separator$5
110465
110481
  };
110466
110482
  const SolversDetailView = ({ steps }) => {
110467
- const separator2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$17.items, "text-size-small", styles$17.separator), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) });
110483
+ const separator2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$18.items, "text-size-small", styles$18.separator), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) });
110468
110484
  const details = steps?.map((step, index) => {
110469
110485
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
110470
110486
  /* @__PURE__ */ jsxRuntimeExports.jsx(
110471
110487
  DetailStep,
110472
110488
  {
110473
110489
  name: step.solver,
110474
- className: clsx(styles$17.items, "text-size-small")
110490
+ className: clsx(styles$18.items, "text-size-small")
110475
110491
  }
110476
110492
  ),
110477
110493
  index < steps.length - 1 ? separator2 : ""
110478
110494
  ] }, `solver-step-${index}`);
110479
110495
  });
110480
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$17.container, children: details });
110496
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$18.container, children: details });
110481
110497
  };
110482
110498
  const floatingCol = "_floatingCol_1n79r_1";
110483
110499
  const wideCol = "_wideCol_1n79r_9";
110484
110500
  const planCol = "_planCol_1n79r_24";
110485
110501
  const container$g = "_container_1n79r_29";
110486
110502
  const grid$7 = "_grid_1n79r_35";
110487
- const styles$16 = {
110503
+ const styles$17 = {
110488
110504
  floatingCol,
110489
110505
  wideCol,
110490
110506
  planCol,
@@ -110503,13 +110519,13 @@ const PlanDetailView = ({
110503
110519
  const taskColumns = [];
110504
110520
  taskColumns.push({
110505
110521
  title: "Dataset",
110506
- className: styles$16.floatingCol,
110522
+ className: styles$17.floatingCol,
110507
110523
  contents: /* @__PURE__ */ jsxRuntimeExports.jsx(DatasetDetailView, { dataset: evaluation.dataset })
110508
110524
  });
110509
110525
  if (steps) {
110510
110526
  taskColumns.push({
110511
110527
  title: "Solvers",
110512
- className: styles$16.wideCol,
110528
+ className: styles$17.wideCol,
110513
110529
  contents: /* @__PURE__ */ jsxRuntimeExports.jsx(SolversDetailView, { steps })
110514
110530
  });
110515
110531
  }
@@ -110543,15 +110559,15 @@ const PlanDetailView = ({
110543
110559
  });
110544
110560
  taskColumns.push({
110545
110561
  title: label2,
110546
- className: styles$16.floatingCol,
110562
+ className: styles$17.floatingCol,
110547
110563
  contents: scorerPanels
110548
110564
  });
110549
110565
  }
110550
110566
  }
110551
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$16.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
110567
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$17.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
110552
110568
  "div",
110553
110569
  {
110554
- className: styles$16.grid,
110570
+ className: styles$17.grid,
110555
110571
  style: {
110556
110572
  gridTemplateColumns: `repeat(${taskColumns.length}, fit-content(50%))`
110557
110573
  },
@@ -110579,7 +110595,7 @@ const PlanColumn = ({ title: title2, className: className2, children: children2
110579
110595
  "text-size-small",
110580
110596
  "text-style-label",
110581
110597
  "text-style-secondary",
110582
- styles$16.planCol
110598
+ styles$17.planCol
110583
110599
  ),
110584
110600
  children: title2
110585
110601
  }
@@ -110713,7 +110729,7 @@ const DownloadPanel = ({
110713
110729
  };
110714
110730
  const toolButton$1 = "_toolButton_nu8dt_1";
110715
110731
  const latched = "_latched_nu8dt_13";
110716
- const styles$15 = {
110732
+ const styles$16 = {
110717
110733
  toolButton: toolButton$1,
110718
110734
  latched
110719
110735
  };
@@ -110727,10 +110743,10 @@ const ToolButton = forwardRef(
110727
110743
  className: clsx(
110728
110744
  "btn",
110729
110745
  "btn-tools",
110730
- styles$15.toolButton,
110746
+ styles$16.toolButton,
110731
110747
  classes,
110732
110748
  className2,
110733
- latched2 ? styles$15.latched : void 0
110749
+ latched2 ? styles$16.latched : void 0
110734
110750
  ),
110735
110751
  ...rest,
110736
110752
  children: [
@@ -110743,7 +110759,7 @@ const ToolButton = forwardRef(
110743
110759
  );
110744
110760
  ToolButton.displayName = "ToolButton";
110745
110761
  const jsonTab = "_jsonTab_6pq03_1";
110746
- const styles$14 = {
110762
+ const styles$15 = {
110747
110763
  jsonTab
110748
110764
  };
110749
110765
  const kJsonMaxSize = 1e7;
@@ -110819,7 +110835,7 @@ const JsonTab = ({ logFile, json }) => {
110819
110835
  const downloadFiles = useStore((state) => state.capabilities.downloadFiles);
110820
110836
  if (logFile && json.length > kJsonMaxSize && downloadFiles) {
110821
110837
  const file = `${filename(logFile)}.json`;
110822
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$14.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
110838
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$15.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
110823
110839
  DownloadPanel,
110824
110840
  {
110825
110841
  message: "The JSON for this log file is too large to render.",
@@ -110829,14 +110845,14 @@ const JsonTab = ({ logFile, json }) => {
110829
110845
  }
110830
110846
  ) });
110831
110847
  } else {
110832
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$14.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { id: "task-json-contents", json, simple: true }) });
110848
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$15.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { id: "task-json-contents", json, simple: true }) });
110833
110849
  }
110834
110850
  };
110835
110851
  const container$f = "_container_4wzpj_1";
110836
110852
  const modelInfo = "_modelInfo_4wzpj_8";
110837
110853
  const role = "_role_4wzpj_15";
110838
110854
  const sep = "_sep_4wzpj_19";
110839
- const styles$13 = {
110855
+ const styles$14 = {
110840
110856
  container: container$f,
110841
110857
  modelInfo,
110842
110858
  role,
@@ -110858,31 +110874,31 @@ const ModelCard = ({ evalSpec }) => {
110858
110874
  const noneEl = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-style-secondary", children: "None" });
110859
110875
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
110860
110876
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: "Models" }),
110861
- /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: "task-model-card-body", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$13.container, children: Object.keys(modelsInfo || {}).map((modelKey) => {
110877
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: "task-model-card-body", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$14.container, children: Object.keys(modelsInfo || {}).map((modelKey) => {
110862
110878
  const modelInfo2 = modelsInfo[modelKey];
110863
110879
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
110864
110880
  "div",
110865
110881
  {
110866
- className: clsx(styles$13.modelInfo, "text-size-small"),
110882
+ className: clsx(styles$14.modelInfo, "text-size-small"),
110867
110883
  children: [
110868
110884
  /* @__PURE__ */ jsxRuntimeExports.jsx(
110869
110885
  "div",
110870
110886
  {
110871
110887
  className: clsx(
110872
- styles$13.role,
110888
+ styles$14.role,
110873
110889
  "text-style-label",
110874
110890
  "text-style-secondary"
110875
110891
  ),
110876
110892
  children: modelKey
110877
110893
  }
110878
110894
  ),
110879
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$13.sep) }),
110895
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$14.sep) }),
110880
110896
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Model" }),
110881
110897
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: modelInfo2.model }),
110882
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$13.sep) }),
110898
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$14.sep) }),
110883
110899
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Base Url" }),
110884
110900
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: modelInfo2.base_url || noneEl }),
110885
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$13.sep) }),
110901
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$14.sep) }),
110886
110902
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Configuration" }),
110887
110903
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: modelInfo2.config && Object.keys(modelInfo2.config).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
110888
110904
  MetaDataGrid,
@@ -110890,7 +110906,7 @@ const ModelCard = ({ evalSpec }) => {
110890
110906
  entries: modelInfo2.config
110891
110907
  }
110892
110908
  ) : noneEl }),
110893
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$13.sep) }),
110909
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$14.sep) }),
110894
110910
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Args" }),
110895
110911
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: Object.keys(modelInfo2.args).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
110896
110912
  MetaDataGrid,
@@ -110898,7 +110914,7 @@ const ModelCard = ({ evalSpec }) => {
110898
110914
  entries: modelInfo2.args
110899
110915
  }
110900
110916
  ) : noneEl }),
110901
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$13.sep) })
110917
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$14.sep) })
110902
110918
  ]
110903
110919
  },
110904
110920
  modelKey
@@ -110912,7 +110928,7 @@ const col1_3$1 = "_col1_3_sq96g_12";
110912
110928
  const col3$1 = "_col3_sq96g_16";
110913
110929
  const separator$4 = "_separator_sq96g_20";
110914
110930
  const padded$1 = "_padded_sq96g_26";
110915
- const styles$12 = {
110931
+ const styles$13 = {
110916
110932
  wrapper: wrapper$3,
110917
110933
  col2: col2$2,
110918
110934
  col1_3: col1_3$1,
@@ -110974,14 +110990,14 @@ const ModelUsagePanel = ({ usage, className: className2 }) => {
110974
110990
  value: usage.total_tokens,
110975
110991
  secondary: false
110976
110992
  });
110977
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$12.wrapper, className2), children: rows.map((row2, idx) => {
110993
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$13.wrapper, className2), children: rows.map((row2, idx) => {
110978
110994
  if (row2.label === "---") {
110979
110995
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
110980
110996
  "div",
110981
110997
  {
110982
110998
  className: clsx(
110983
- styles$12.separator,
110984
- row2.padded ? styles$12.padded : void 0
110999
+ styles$13.separator,
111000
+ row2.padded ? styles$13.padded : void 0
110985
111001
  )
110986
111002
  },
110987
111003
  `$usage-sep-${idx}`
@@ -110994,12 +111010,12 @@ const ModelUsagePanel = ({ usage, className: className2 }) => {
110994
111010
  className: clsx(
110995
111011
  "text-style-label",
110996
111012
  "text-style-secondary",
110997
- row2.secondary ? styles$12.col2 : styles$12.col1_3
111013
+ row2.secondary ? styles$13.col2 : styles$13.col1_3
110998
111014
  ),
110999
111015
  children: row2.label
111000
111016
  }
111001
111017
  ),
111002
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$12.col3, children: row2.value ? formatNumber(row2.value) : "" })
111018
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$13.col3, children: row2.value ? formatNumber(row2.value) : "" })
111003
111019
  ] }, `$usage-row-${idx}`);
111004
111020
  }
111005
111021
  }) });
@@ -111009,7 +111025,7 @@ const tableTokens = "_tableTokens_z217i_5";
111009
111025
  const tableH = "_tableH_z217i_9";
111010
111026
  const model = "_model_z217i_14";
111011
111027
  const cellContents = "_cellContents_z217i_18";
111012
- const styles$11 = {
111028
+ const styles$12 = {
111013
111029
  table: table$1,
111014
111030
  tableTokens,
111015
111031
  tableH,
@@ -111024,7 +111040,7 @@ const TokenTable$1 = ({ className: className2, children: children2 }) => {
111024
111040
  "table",
111025
111041
  "table-sm",
111026
111042
  "text-size-smaller",
111027
- styles$11.table,
111043
+ styles$12.table,
111028
111044
  className2
111029
111045
  ),
111030
111046
  children: children2
@@ -111041,7 +111057,7 @@ const TokenHeader = () => {
111041
111057
  colSpan: 3,
111042
111058
  className: clsx(
111043
111059
  "card-subheading",
111044
- styles$11.tableTokens,
111060
+ styles$12.tableTokens,
111045
111061
  "text-size-small",
111046
111062
  "text-style-label",
111047
111063
  "text-style-secondary"
@@ -111056,7 +111072,7 @@ const TokenHeader = () => {
111056
111072
  "th",
111057
111073
  {
111058
111074
  className: clsx(
111059
- styles$11.tableH,
111075
+ styles$12.tableH,
111060
111076
  "text-sixe-small",
111061
111077
  "text-style-label",
111062
111078
  "text-style-secondary"
@@ -111068,7 +111084,7 @@ const TokenHeader = () => {
111068
111084
  "th",
111069
111085
  {
111070
111086
  className: clsx(
111071
- styles$11.tableH,
111087
+ styles$12.tableH,
111072
111088
  "text-sixe-small",
111073
111089
  "text-style-label",
111074
111090
  "text-style-secondary"
@@ -111081,8 +111097,8 @@ const TokenHeader = () => {
111081
111097
  };
111082
111098
  const TokenRow = ({ model: model2, usage }) => {
111083
111099
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
111084
- /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$11.model, styles$11.cellContents), children: model2 }) }),
111085
- /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage, className: clsx(styles$11.cellContents) }) })
111100
+ /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$12.model, styles$12.cellContents), children: model2 }) }),
111101
+ /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage, className: clsx(styles$12.cellContents) }) })
111086
111102
  ] });
111087
111103
  };
111088
111104
  const ModelTokenTable = ({
@@ -111098,7 +111114,7 @@ const ModelTokenTable = ({
111098
111114
  };
111099
111115
  const wrapper$2 = "_wrapper_14r3b_1";
111100
111116
  const col2$1 = "_col2_14r3b_16";
111101
- const styles$10 = {
111117
+ const styles$11 = {
111102
111118
  wrapper: wrapper$2,
111103
111119
  col2: col2$1
111104
111120
  };
@@ -111109,7 +111125,7 @@ const UsageCard = ({ stats }) => {
111109
111125
  }
111110
111126
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
111111
111127
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: "Usage" }),
111112
- /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: kUsageCardBodyId, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$10.wrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$10.col2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelTokenTable, { model_usage: stats.model_usage }) }) }) })
111128
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: kUsageCardBodyId, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$11.wrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$11.col2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelTokenTable, { model_usage: stats.model_usage }) }) }) })
111113
111129
  ] });
111114
111130
  };
111115
111131
  const useModelsTab = (evalSpec, evalStats, evalStatus) => {
@@ -111143,7 +111159,7 @@ const chevron = "_chevron_h3ljc_10";
111143
111159
  const backdrop$1 = "_backdrop_h3ljc_24";
111144
111160
  const dropdownMenu = "_dropdownMenu_h3ljc_33";
111145
111161
  const dropdownItem = "_dropdownItem_h3ljc_47";
111146
- const styles$$ = {
111162
+ const styles$10 = {
111147
111163
  dropdownContainer,
111148
111164
  toolButton,
111149
111165
  chevron,
@@ -111157,29 +111173,29 @@ const ToolDropdownButton = forwardRef(({ label: label2, icon: icon2, className:
111157
111173
  fn3();
111158
111174
  setIsOpen(false);
111159
111175
  };
111160
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$$.dropdownContainer, children: [
111176
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$10.dropdownContainer, children: [
111161
111177
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
111162
111178
  "button",
111163
111179
  {
111164
111180
  ref,
111165
111181
  type: "button",
111166
- className: clsx("btn", "btn-tools", styles$$.toolButton, className2),
111182
+ className: clsx("btn", "btn-tools", styles$10.toolButton, className2),
111167
111183
  onClick: () => setIsOpen(!isOpen),
111168
111184
  ...rest,
111169
111185
  children: [
111170
111186
  icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: `${icon2}` }),
111171
111187
  label2,
111172
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi-chevron-down", styles$$.chevron) })
111188
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi-chevron-down", styles$10.chevron) })
111173
111189
  ]
111174
111190
  }
111175
111191
  ),
111176
111192
  isOpen && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
111177
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$$.backdrop, onClick: () => setIsOpen(false) }),
111178
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$$.dropdownMenu, children: Object.entries(items).map(([itemLabel, fn3]) => /* @__PURE__ */ jsxRuntimeExports.jsx(
111193
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$10.backdrop, onClick: () => setIsOpen(false) }),
111194
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$10.dropdownMenu, children: Object.entries(items).map(([itemLabel, fn3]) => /* @__PURE__ */ jsxRuntimeExports.jsx(
111179
111195
  "button",
111180
111196
  {
111181
111197
  type: "button",
111182
- className: styles$$.dropdownItem,
111198
+ className: styles$10.dropdownItem,
111183
111199
  onClick: () => handleItemClick(fn3),
111184
111200
  children: itemLabel
111185
111201
  },
@@ -111191,12 +111207,12 @@ const ToolDropdownButton = forwardRef(({ label: label2, icon: icon2, className:
111191
111207
  ToolDropdownButton.displayName = "ToolDropdownButton";
111192
111208
  const panel$5 = "_panel_twp3v_1";
111193
111209
  const container$e = "_container_twp3v_7";
111194
- const styles$_ = {
111210
+ const styles$$ = {
111195
111211
  panel: panel$5,
111196
111212
  container: container$e
111197
111213
  };
111198
111214
  const NoContentsPanel = ({ text: text2 }) => {
111199
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$_.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$_.container, "text-size-smaller"), children: [
111215
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$$.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$$.container, "text-size-smaller"), children: [
111200
111216
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.noSamples }),
111201
111217
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: text2 })
111202
111218
  ] }) });
@@ -111511,7 +111527,7 @@ const dot = "_dot_4p85e_8";
111511
111527
  const subtle = "_subtle_4p85e_36";
111512
111528
  const primary = "_primary_4p85e_40";
111513
111529
  const visuallyHidden = "_visuallyHidden_4p85e_59";
111514
- const styles$Z = {
111530
+ const styles$_ = {
111515
111531
  container: container$d,
111516
111532
  dotsContainer,
111517
111533
  small,
@@ -111533,30 +111549,30 @@ const PulsingDots = ({
111533
111549
  "div",
111534
111550
  {
111535
111551
  className: clsx(
111536
- styles$Z.container,
111537
- size === "small" ? styles$Z.small : size === "medium" ? styles$Z.medium : styles$Z.large,
111552
+ styles$_.container,
111553
+ size === "small" ? styles$_.small : size === "medium" ? styles$_.medium : styles$_.large,
111538
111554
  className2
111539
111555
  ),
111540
111556
  role: "status",
111541
111557
  children: [
111542
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$Z.dotsContainer, children: [...Array(dotsCount)].map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
111558
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$_.dotsContainer, children: [...Array(dotsCount)].map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
111543
111559
  "div",
111544
111560
  {
111545
111561
  className: clsx(
111546
- styles$Z.dot,
111547
- subtle2 ? styles$Z.subtle : styles$Z.primary
111562
+ styles$_.dot,
111563
+ subtle2 ? styles$_.subtle : styles$_.primary
111548
111564
  ),
111549
111565
  style: { animationDelay: `${index * 0.2}s` }
111550
111566
  },
111551
111567
  index
111552
111568
  )) }),
111553
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$Z.visuallyHidden, children: text2 })
111569
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$_.visuallyHidden, children: text2 })
111554
111570
  ]
111555
111571
  }
111556
111572
  );
111557
111573
  };
111558
111574
  const progressContainer = "_progressContainer_1cjjr_1";
111559
- const styles$Y = {
111575
+ const styles$Z = {
111560
111576
  progressContainer
111561
111577
  };
111562
111578
  const LiveVirtualList = ({
@@ -111682,7 +111698,7 @@ const LiveVirtualList = ({
111682
111698
  return unregister;
111683
111699
  }, [id, registerVirtualList, searchInData]);
111684
111700
  const Footer = () => {
111685
- return showProgress ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Y.progressContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0;
111701
+ return showProgress ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Z.progressContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0;
111686
111702
  };
111687
111703
  useEffect(() => {
111688
111704
  const parent = scrollRef?.current;
@@ -111747,7 +111763,7 @@ const LiveVirtualList = ({
111747
111763
  }
111748
111764
  );
111749
111765
  };
111750
- const styles$X = {};
111766
+ const styles$Y = {};
111751
111767
  const ChatViewVirtualList = memo$2(
111752
111768
  ({
111753
111769
  id,
@@ -111910,7 +111926,7 @@ const ChatViewVirtualListComponent = memo$2(
111910
111926
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
111911
111927
  "div",
111912
111928
  {
111913
- className: clsx(styles$X.item),
111929
+ className: clsx(styles$Y.item),
111914
111930
  "data-index": props["data-index"],
111915
111931
  "data-item-group-index": props["data-item-group-index"],
111916
111932
  "data-item-index": props["data-item-index"],
@@ -111947,7 +111963,7 @@ const ansi = "_ansi_6o9gh_34";
111947
111963
  const noTop = "_noTop_6o9gh_38";
111948
111964
  const chat = "_chat_6o9gh_50";
111949
111965
  const transcriptContainer = "_transcriptContainer_6o9gh_58";
111950
- const styles$W = {
111966
+ const styles$X = {
111951
111967
  tabPanel,
111952
111968
  tabControls,
111953
111969
  fullWidth: fullWidth$1,
@@ -111961,15 +111977,15 @@ const styles$W = {
111961
111977
  const flatBody = "_flatBody_1uw6w_1";
111962
111978
  const iconSmall$1 = "_iconSmall_1uw6w_9";
111963
111979
  const lineBase = "_lineBase_1uw6w_15";
111964
- const styles$V = {
111980
+ const styles$W = {
111965
111981
  flatBody,
111966
111982
  iconSmall: iconSmall$1,
111967
111983
  lineBase
111968
111984
  };
111969
111985
  const FlatSampleError = ({ message: message2 }) => {
111970
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$V.flatBody), children: [
111971
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$V.iconSmall) }),
111972
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$V.lineBase, "text-truncate"), children: errorType(message2) })
111986
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$W.flatBody), children: [
111987
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$W.iconSmall) }),
111988
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$W.lineBase, "text-truncate"), children: errorType(message2) })
111973
111989
  ] });
111974
111990
  };
111975
111991
  const target = "_target_tv989_1";
@@ -111980,7 +111996,7 @@ const centerValue = "_centerValue_tv989_21";
111980
111996
  const wrap = "_wrap_tv989_26";
111981
111997
  const titled = "_titled_tv989_30";
111982
111998
  const value$1 = "_value_tv989_34";
111983
- const styles$U = {
111999
+ const styles$V = {
111984
112000
  target,
111985
112001
  answer,
111986
112002
  grid: grid$6,
@@ -112066,7 +112082,7 @@ const SampleSummaryView = ({
112066
112082
  0,
112067
112083
  kMaxRowTextSize$1
112068
112084
  ),
112069
- className: clsx("no-last-para-padding", styles$U.target)
112085
+ className: clsx("no-last-para-padding", styles$V.target)
112070
112086
  }
112071
112087
  ),
112072
112088
  size: `minmax(auto, 3fr)`,
@@ -112080,7 +112096,7 @@ const SampleSummaryView = ({
112080
112096
  RenderedText,
112081
112097
  {
112082
112098
  markdown: (fields.answer || "").slice(0, kMaxRowTextSize$1),
112083
- className: clsx("no-last-para-padding", styles$U.answer)
112099
+ className: clsx("no-last-para-padding", styles$V.answer)
112084
112100
  }
112085
112101
  ) : "",
112086
112102
  size: `minmax(auto, 5fr)`,
@@ -112139,7 +112155,7 @@ const SampleSummaryView = ({
112139
112155
  "div",
112140
112156
  {
112141
112157
  id: `sample-heading-${parent_id}`,
112142
- className: clsx(styles$U.grid, "text-size-base"),
112158
+ className: clsx(styles$V.grid, "text-size-base"),
112143
112159
  style: {
112144
112160
  gridTemplateColumns: `${columns.map((col) => {
112145
112161
  return col.size;
@@ -112154,8 +112170,8 @@ const SampleSummaryView = ({
112154
112170
  "text-style-label",
112155
112171
  "text-style-secondary",
112156
112172
  "text-size-smallest",
112157
- col.title ? styles$U.titled : void 0,
112158
- col.center ? styles$U.centerLabel : void 0
112173
+ col.title ? styles$V.titled : void 0,
112174
+ col.center ? styles$V.centerLabel : void 0
112159
112175
  ),
112160
112176
  title: col.title,
112161
112177
  "data-unsearchable": true,
@@ -112169,10 +112185,10 @@ const SampleSummaryView = ({
112169
112185
  "div",
112170
112186
  {
112171
112187
  className: clsx(
112172
- styles$U.value,
112173
- styles$U.wrap,
112188
+ styles$V.value,
112189
+ styles$V.wrap,
112174
112190
  col.clamp ? "three-line-clamp" : void 0,
112175
- col.center ? styles$U.centerValue : void 0
112191
+ col.center ? styles$V.centerValue : void 0
112176
112192
  ),
112177
112193
  "data-unsearchable": true,
112178
112194
  children: col.value
@@ -112201,7 +112217,7 @@ const fullWidth = "_fullWidth_kwhbh_13";
112201
112217
  const separator$3 = "_separator_kwhbh_25";
112202
112218
  const separatorPadded = "_separatorPadded_kwhbh_30";
112203
112219
  const headerSep = "_headerSep_kwhbh_35";
112204
- const styles$T = {
112220
+ const styles$U = {
112205
112221
  container: container$c,
112206
112222
  cell: cell$1,
112207
112223
  fullWidth,
@@ -112218,7 +112234,7 @@ const SampleScoresGrid = ({
112218
112234
  if (!evalDescriptor) {
112219
112235
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyPanel, { children: "No Sample Selected" });
112220
112236
  }
112221
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$T.container), children: [
112237
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$U.container), children: [
112222
112238
  /* @__PURE__ */ jsxRuntimeExports.jsx(
112223
112239
  "div",
112224
112240
  {
@@ -112266,7 +112282,7 @@ const SampleScoresGrid = ({
112266
112282
  /* @__PURE__ */ jsxRuntimeExports.jsx(
112267
112283
  "div",
112268
112284
  {
112269
- className: clsx(styles$T.separator, styles$T.fullWidth, styles$T.headerSep)
112285
+ className: clsx(styles$U.separator, styles$U.fullWidth, styles$U.headerSep)
112270
112286
  }
112271
112287
  ),
112272
112288
  Object.keys(evalSample.scores || {}).map((scorer2) => {
@@ -112278,16 +112294,16 @@ const SampleScoresGrid = ({
112278
112294
  const answer2 = scoreData.answer;
112279
112295
  let metadata2 = scoreData.metadata || {};
112280
112296
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
112281
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$T.cell), children: scorer2 }),
112282
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$T.cell, "text-size-base"), children: answer2 }),
112283
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$T.cell, "text-size-base"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
112297
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$U.cell), children: scorer2 }),
112298
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$U.cell, "text-size-base"), children: answer2 }),
112299
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$U.cell, "text-size-base"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
112284
112300
  SampleScores,
112285
112301
  {
112286
112302
  sample: evalSample,
112287
112303
  scorer: scorer2
112288
112304
  }
112289
112305
  ) }),
112290
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$T.cell), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
112306
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$U.cell), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
112291
112307
  RenderedContent,
112292
112308
  {
112293
112309
  id: `${scorer2}-explanation`,
@@ -112305,12 +112321,12 @@ const SampleScoresGrid = ({
112305
112321
  "text-size-smaller",
112306
112322
  "text-style-label",
112307
112323
  "text-style-secondary",
112308
- styles$T.fullWidth
112324
+ styles$U.fullWidth
112309
112325
  ),
112310
112326
  children: "Metadata"
112311
112327
  }
112312
112328
  ),
112313
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$T.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
112329
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$U.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
112314
112330
  RecordTree,
112315
112331
  {
112316
112332
  id: `${scorer2}-metadataa`,
@@ -112323,9 +112339,9 @@ const SampleScoresGrid = ({
112323
112339
  "div",
112324
112340
  {
112325
112341
  className: clsx(
112326
- styles$T.separator,
112327
- styles$T.separatorPadded,
112328
- styles$T.fullWidth
112342
+ styles$U.separator,
112343
+ styles$U.separatorPadded,
112344
+ styles$U.fullWidth
112329
112345
  )
112330
112346
  }
112331
112347
  )
@@ -112337,7 +112353,7 @@ const SampleScoresGrid = ({
112337
112353
  const wordBreak = "_wordBreak_las07_9";
112338
112354
  const scoreCard = "_scoreCard_las07_50";
112339
112355
  const scores = "_scores_las07_54";
112340
- const styles$S = {
112356
+ const styles$T = {
112341
112357
  wordBreak,
112342
112358
  scoreCard,
112343
112359
  scores
@@ -112370,9 +112386,9 @@ const SampleScoresView = ({
112370
112386
  "container-fluid",
112371
112387
  className2,
112372
112388
  "font-size-base",
112373
- styles$S.container
112389
+ styles$T.container
112374
112390
  ),
112375
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Card, { className: clsx(styles$S.scoreCard), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(CardBody, { children: [
112391
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Card, { className: clsx(styles$T.scoreCard), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(CardBody, { children: [
112376
112392
  /* @__PURE__ */ jsxRuntimeExports.jsx(
112377
112393
  "div",
112378
112394
  {
@@ -112394,7 +112410,7 @@ const SampleScoresView = ({
112394
112410
  RenderedText,
112395
112411
  {
112396
112412
  markdown: scoreInput.join("\n"),
112397
- className: clsx(styles$S.wordBreak, "text-size-base")
112413
+ className: clsx(styles$T.wordBreak, "text-size-base")
112398
112414
  }
112399
112415
  )
112400
112416
  }
@@ -112403,7 +112419,7 @@ const SampleScoresView = ({
112403
112419
  SampleScoresGrid,
112404
112420
  {
112405
112421
  evalSample: sample2,
112406
- className: clsx(styles$S.scores),
112422
+ className: clsx(styles$T.scores),
112407
112423
  scrollRef
112408
112424
  }
112409
112425
  )
@@ -112502,7 +112518,7 @@ const grid$5 = "_grid_1ml4j_1";
112502
112518
  const row$2 = "_row_1ml4j_8";
112503
112519
  const links$1 = "_links_1ml4j_22";
112504
112520
  const selected$3 = "_selected_1ml4j_40";
112505
- const styles$R = {
112521
+ const styles$S = {
112506
112522
  grid: grid$5,
112507
112523
  row: row$2,
112508
112524
  links: links$1,
@@ -112533,13 +112549,13 @@ const TranscriptFilterPopover = ({
112533
112549
  placement: "bottom-end",
112534
112550
  hoverDelay: -1,
112535
112551
  children: [
112536
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$R.links, "text-size-smaller"), children: [
112552
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$S.links, "text-size-smaller"), children: [
112537
112553
  /* @__PURE__ */ jsxRuntimeExports.jsx(
112538
112554
  "a",
112539
112555
  {
112540
112556
  className: clsx(
112541
- styles$R.link,
112542
- isDefaultFilter ? styles$R.selected : void 0
112557
+ styles$S.link,
112558
+ isDefaultFilter ? styles$S.selected : void 0
112543
112559
  ),
112544
112560
  onClick: () => setDefaultFilter(),
112545
112561
  children: "Default"
@@ -112550,19 +112566,19 @@ const TranscriptFilterPopover = ({
112550
112566
  "a",
112551
112567
  {
112552
112568
  className: clsx(
112553
- styles$R.link,
112554
- isDebugFilter ? styles$R.selected : void 0
112569
+ styles$S.link,
112570
+ isDebugFilter ? styles$S.selected : void 0
112555
112571
  ),
112556
112572
  onClick: () => setDebugFilter(),
112557
112573
  children: "Debug"
112558
112574
  }
112559
112575
  )
112560
112576
  ] }),
112561
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$R.grid, "text-size-smaller"), children: arrangedEventTypes(2).map((eventType) => {
112577
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$S.grid, "text-size-smaller"), children: arrangedEventTypes(2).map((eventType) => {
112562
112578
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
112563
112579
  "div",
112564
112580
  {
112565
- className: clsx(styles$R.row),
112581
+ className: clsx(styles$S.row),
112566
112582
  onClick: () => {
112567
112583
  filterEventType(eventType, filtered.includes(eventType));
112568
112584
  },
@@ -112938,7 +112954,7 @@ const label$8 = "_label_1j0jk_28";
112938
112954
  const icon$1 = "_icon_1j0jk_34";
112939
112955
  const progress$2 = "_progress_1j0jk_38";
112940
112956
  const popover = "_popover_1j0jk_42";
112941
- const styles$Q = {
112957
+ const styles$R = {
112942
112958
  eventRow,
112943
112959
  selected: selected$2,
112944
112960
  toggle,
@@ -112969,9 +112985,9 @@ const OutlineRow = ({
112969
112985
  "div",
112970
112986
  {
112971
112987
  className: clsx(
112972
- styles$Q.eventRow,
112988
+ styles$R.eventRow,
112973
112989
  "text-size-smaller",
112974
- selected2 ? styles$Q.selected : ""
112990
+ selected2 ? styles$R.selected : ""
112975
112991
  ),
112976
112992
  style: { paddingLeft: `${node2.depth * 0.4}em` },
112977
112993
  "data-unsearchable": true,
@@ -112979,20 +112995,20 @@ const OutlineRow = ({
112979
112995
  /* @__PURE__ */ jsxRuntimeExports.jsx(
112980
112996
  "div",
112981
112997
  {
112982
- className: clsx(styles$Q.toggle),
112998
+ className: clsx(styles$R.toggle),
112983
112999
  onClick: () => {
112984
113000
  setCollapsed(!collapsed2);
112985
113001
  },
112986
113002
  children: toggle2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(toggle2) }) : void 0
112987
113003
  }
112988
113004
  ),
112989
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$Q.label), "data-depth": node2.depth, children: [
112990
- icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$Q.icon) }) : void 0,
113005
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$R.label), "data-depth": node2.depth, children: [
113006
+ icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$R.icon) }) : void 0,
112991
113007
  sampleEventUrl2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
112992
113008
  Link,
112993
113009
  {
112994
113010
  to: sampleEventUrl2,
112995
- className: clsx(styles$Q.eventLink),
113011
+ className: clsx(styles$R.eventLink),
112996
113012
  ref,
112997
113013
  children: parsePackageName(labelForNode(node2)).module
112998
113014
  }
@@ -113001,7 +113017,7 @@ const OutlineRow = ({
113001
113017
  PulsingDots,
113002
113018
  {
113003
113019
  size: "small",
113004
- className: clsx(styles$Q.progress),
113020
+ className: clsx(styles$R.progress),
113005
113021
  subtle: false
113006
113022
  }
113007
113023
  ) : void 0
@@ -113016,7 +113032,7 @@ const OutlineRow = ({
113016
113032
  positionEl: ref.current,
113017
113033
  isOpen: isShowing,
113018
113034
  setIsOpen: setShowing,
113019
- className: clsx(styles$Q.popper),
113035
+ className: clsx(styles$R.popper),
113020
113036
  placement: "auto-end",
113021
113037
  children: summarizeNode(node2)
113022
113038
  }
@@ -113131,11 +113147,11 @@ const summarizeNode = (node2) => {
113131
113147
  {
113132
113148
  entries,
113133
113149
  size: "mini",
113134
- className: clsx(styles$Q.popover, "text-size-smallest")
113150
+ className: clsx(styles$R.popover, "text-size-smallest")
113135
113151
  }
113136
113152
  );
113137
113153
  };
113138
- const styles$P = {};
113154
+ const styles$Q = {};
113139
113155
  const kTurnType = "turn";
113140
113156
  const kTurnsType = "turns";
113141
113157
  const kCollapsedScoring = "scorings";
@@ -113421,7 +113437,7 @@ const TranscriptOutline = ({
113421
113437
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
113422
113438
  "div",
113423
113439
  {
113424
- className: clsx(styles$P.eventPadding),
113440
+ className: clsx(styles$Q.eventPadding),
113425
113441
  style: { height: "2em" }
113426
113442
  },
113427
113443
  node2.id
@@ -113470,7 +113486,7 @@ const treeContainer = "_treeContainer_17sux_13";
113470
113486
  const listContainer = "_listContainer_17sux_25";
113471
113487
  const outline = "_outline_17sux_29";
113472
113488
  const outlineToggle = "_outlineToggle_17sux_33";
113473
- const styles$O = {
113489
+ const styles$P = {
113474
113490
  container: container$b,
113475
113491
  collapsed,
113476
113492
  treeContainer,
@@ -113480,7 +113496,7 @@ const styles$O = {
113480
113496
  };
113481
113497
  const title$2 = "_title_19l1b_1";
113482
113498
  const contents = "_contents_19l1b_8";
113483
- const styles$N = {
113499
+ const styles$O = {
113484
113500
  title: title$2,
113485
113501
  contents
113486
113502
  };
@@ -113490,12 +113506,12 @@ const EventRow = ({
113490
113506
  className: className2,
113491
113507
  children: children2
113492
113508
  }) => {
113493
- const contentEl = title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-small", styles$N.title, className2), children: [
113509
+ const contentEl = title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-small", styles$O.title, className2), children: [
113494
113510
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: icon2 || ApplicationIcons.metadata }),
113495
113511
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: title2 }),
113496
113512
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: children2 })
113497
113513
  ] }) : "";
113498
- const card2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("card", styles$N.contents), children: contentEl });
113514
+ const card2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("card", styles$O.contents), children: contentEl });
113499
113515
  return card2;
113500
113516
  };
113501
113517
  const ApprovalEventView = ({
@@ -113546,7 +113562,7 @@ const decisionIcon = (decision) => {
113546
113562
  }
113547
113563
  };
113548
113564
  const tab = "_tab_1je38_1";
113549
- const styles$M = {
113565
+ const styles$N = {
113550
113566
  tab
113551
113567
  };
113552
113568
  const EventNav = ({
@@ -113571,7 +113587,7 @@ const EventNav = ({
113571
113587
  active ? "active " : "",
113572
113588
  "text-style-label",
113573
113589
  "text-size-small",
113574
- styles$M.tab
113590
+ styles$N.tab
113575
113591
  ),
113576
113592
  onClick: handleClick,
113577
113593
  children: title2
@@ -113579,7 +113595,7 @@ const EventNav = ({
113579
113595
  ) });
113580
113596
  };
113581
113597
  const navs$1 = "_navs_1vm6p_1";
113582
- const styles$L = {
113598
+ const styles$M = {
113583
113599
  navs: navs$1
113584
113600
  };
113585
113601
  const EventNavs = ({
@@ -113590,7 +113606,7 @@ const EventNavs = ({
113590
113606
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
113591
113607
  "ul",
113592
113608
  {
113593
- className: clsx("nav", "nav-pills", styles$L.navs),
113609
+ className: clsx("nav", "nav-pills", styles$M.navs),
113594
113610
  role: "tablist",
113595
113611
  "aria-orientation": "horizontal",
113596
113612
  children: navs2.map((nav2) => {
@@ -113618,7 +113634,7 @@ const hover = "_hover_1nn7f_41";
113618
113634
  const root = "_root_1nn7f_45";
113619
113635
  const bottomDongle = "_bottomDongle_1nn7f_50";
113620
113636
  const dongleIcon = "_dongleIcon_1nn7f_67";
113621
- const styles$K = {
113637
+ const styles$L = {
113622
113638
  label: label$7,
113623
113639
  navs,
113624
113640
  card,
@@ -113688,7 +113704,7 @@ const EventPanel = ({
113688
113704
  "div",
113689
113705
  {
113690
113706
  title: subTitle,
113691
- className: clsx("text-size-small", mouseOver ? styles$K.hover : ""),
113707
+ className: clsx("text-size-small", mouseOver ? styles$L.hover : ""),
113692
113708
  style: {
113693
113709
  display: "grid",
113694
113710
  gridTemplateColumns: gridColumns2.join(" "),
@@ -113728,19 +113744,19 @@ const EventPanel = ({
113728
113744
  {
113729
113745
  value: url,
113730
113746
  icon: ApplicationIcons.link,
113731
- className: clsx(styles$K.copyLink)
113747
+ className: clsx(styles$L.copyLink)
113732
113748
  }
113733
113749
  ) : "",
113734
113750
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { onClick: toggleCollapse }),
113735
113751
  /* @__PURE__ */ jsxRuntimeExports.jsx(
113736
113752
  "div",
113737
113753
  {
113738
- className: clsx("text-style-secondary", styles$K.label),
113754
+ className: clsx("text-style-secondary", styles$L.label),
113739
113755
  onClick: toggleCollapse,
113740
113756
  children: collapsed2 ? text2 : ""
113741
113757
  }
113742
113758
  ),
113743
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$K.navs, children: isCollapsible && collapsibleContent && collapsed2 ? "" : filteredArrChildren && filteredArrChildren.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
113759
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$L.navs, children: isCollapsible && collapsibleContent && collapsed2 ? "" : filteredArrChildren && filteredArrChildren.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
113744
113760
  EventNavs,
113745
113761
  {
113746
113762
  navs: filteredArrChildren.map((child, index) => {
@@ -113765,8 +113781,8 @@ const EventPanel = ({
113765
113781
  id: `event-panel-${eventNodeId}`,
113766
113782
  className: clsx(
113767
113783
  className2,
113768
- styles$K.card,
113769
- depth === 0 ? styles$K.root : void 0
113784
+ styles$L.card,
113785
+ depth === 0 ? styles$L.root : void 0
113770
113786
  ),
113771
113787
  children: [
113772
113788
  titleEl,
@@ -113775,8 +113791,8 @@ const EventPanel = ({
113775
113791
  {
113776
113792
  className: clsx(
113777
113793
  "tab-content",
113778
- styles$K.cardContent,
113779
- isCollapsible && collapsed2 && collapsibleContent ? styles$K.hidden : void 0
113794
+ styles$L.cardContent,
113795
+ isCollapsible && collapsed2 && collapsibleContent ? styles$L.hidden : void 0
113780
113796
  ),
113781
113797
  children: filteredArrChildren?.map((child, index) => {
113782
113798
  const id = pillId(index);
@@ -113799,7 +113815,7 @@ const EventPanel = ({
113799
113815
  isCollapsible && useBottomDongle ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
113800
113816
  "div",
113801
113817
  {
113802
- className: clsx(styles$K.bottomDongle, "text-size-smallest"),
113818
+ className: clsx(styles$L.bottomDongle, "text-size-smallest"),
113803
113819
  onClick: toggleCollapse,
113804
113820
  children: [
113805
113821
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -113807,7 +113823,7 @@ const EventPanel = ({
113807
113823
  {
113808
113824
  className: clsx(
113809
113825
  collapsed2 ? ApplicationIcons.chevron.right : ApplicationIcons.chevron.down,
113810
- styles$K.dongleIcon
113826
+ styles$L.dongleIcon
113811
113827
  )
113812
113828
  }
113813
113829
  ),
@@ -113855,7 +113871,7 @@ const ErrorEventView = ({
113855
113871
  );
113856
113872
  };
113857
113873
  const panel$4 = "_panel_vz394_1";
113858
- const styles$J = {
113874
+ const styles$K = {
113859
113875
  panel: panel$4
113860
113876
  };
113861
113877
  const InfoEventView = ({
@@ -113870,12 +113886,12 @@ const InfoEventView = ({
113870
113886
  RenderedText,
113871
113887
  {
113872
113888
  markdown: event.data,
113873
- className: clsx(styles$J.panel, "text-size-base")
113889
+ className: clsx(styles$K.panel, "text-size-base")
113874
113890
  }
113875
113891
  )
113876
113892
  );
113877
113893
  } else {
113878
- panels.push(/* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { data: event.data, className: styles$J.panel }));
113894
+ panels.push(/* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { data: event.data, className: styles$K.panel }));
113879
113895
  }
113880
113896
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
113881
113897
  EventPanel,
@@ -113915,7 +113931,7 @@ const InputEventView = ({
113915
113931
  );
113916
113932
  };
113917
113933
  const grid$4 = "_grid_1eq5o_1";
113918
- const styles$I = {
113934
+ const styles$J = {
113919
113935
  grid: grid$4
113920
113936
  };
113921
113937
  const LoggerEventView = ({
@@ -113930,7 +113946,7 @@ const LoggerEventView = ({
113930
113946
  className: className2,
113931
113947
  title: event.message.level,
113932
113948
  icon: ApplicationIcons.logging[event.message.level.toLowerCase()],
113933
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-base", styles$I.grid), children: [
113949
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-base", styles$J.grid), children: [
113934
113950
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller"), children: obj !== void 0 && obj !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: obj }) : event.message.message }),
113935
113951
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", "text-style-secondary"), children: [
113936
113952
  event.message.filename,
@@ -113944,7 +113960,7 @@ const LoggerEventView = ({
113944
113960
  const container$a = "_container_1ww70_1";
113945
113961
  const titleRow = "_titleRow_1ww70_5";
113946
113962
  const title$1 = "_title_1ww70_5";
113947
- const styles$H = {
113963
+ const styles$I = {
113948
113964
  container: container$a,
113949
113965
  titleRow,
113950
113966
  title: title$1
@@ -113955,11 +113971,11 @@ const EventSection = ({
113955
113971
  copyContent,
113956
113972
  className: className2
113957
113973
  }) => {
113958
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$H.container, className2), children: [
113959
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.titleRow), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
113974
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$I.container, className2), children: [
113975
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.titleRow), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
113960
113976
  "div",
113961
113977
  {
113962
- className: clsx("text-size-small", "text-style-label", styles$H.title),
113978
+ className: clsx("text-size-small", "text-style-label", styles$I.title),
113963
113979
  children: [
113964
113980
  title2,
113965
113981
  copyContent ? /* @__PURE__ */ jsxRuntimeExports.jsx(CopyButton, { value: copyContent, ariaLabel: "Copy to clipboard" }) : null
@@ -113977,7 +113993,7 @@ const code$3 = "_code_e0l2n_22";
113977
113993
  const progress$1 = "_progress_e0l2n_34";
113978
113994
  const toolConfig = "_toolConfig_e0l2n_38";
113979
113995
  const toolChoice = "_toolChoice_e0l2n_46";
113980
- const styles$G = {
113996
+ const styles$H = {
113981
113997
  container: container$9,
113982
113998
  all,
113983
113999
  tableSelection,
@@ -113993,7 +114009,7 @@ const col1_3 = "_col1_3_45f60_12";
113993
114009
  const col3 = "_col3_45f60_16";
113994
114010
  const separator$2 = "_separator_45f60_20";
113995
114011
  const topMargin = "_topMargin_45f60_26";
113996
- const styles$F = {
114012
+ const styles$G = {
113997
114013
  wrapper: wrapper$1,
113998
114014
  col2,
113999
114015
  col1_3,
@@ -114061,9 +114077,9 @@ const EventTimingPanel = ({
114061
114077
  });
114062
114078
  }
114063
114079
  }
114064
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$F.wrapper), children: rows.map((row2, idx) => {
114080
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$G.wrapper), children: rows.map((row2, idx) => {
114065
114081
  if (row2.label === "---") {
114066
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$F.separator }, `$usage-sep-${idx}`);
114082
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$G.separator }, `$usage-sep-${idx}`);
114067
114083
  } else {
114068
114084
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
114069
114085
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -114072,13 +114088,13 @@ const EventTimingPanel = ({
114072
114088
  className: clsx(
114073
114089
  "text-style-label",
114074
114090
  "text-style-secondary",
114075
- row2.secondary ? styles$F.col2 : styles$F.col1_3,
114076
- row2.topMargin ? styles$F.topMargin : void 0
114091
+ row2.secondary ? styles$G.col2 : styles$G.col1_3,
114092
+ row2.topMargin ? styles$G.topMargin : void 0
114077
114093
  ),
114078
114094
  children: row2.label
114079
114095
  }
114080
114096
  ),
114081
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$F.col3, children: row2.value ? row2.value : "" })
114097
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$G.col3, children: row2.value ? row2.value : "" })
114082
114098
  ] }, `$usage-row-${idx}`);
114083
114099
  }
114084
114100
  }) });
@@ -114138,7 +114154,7 @@ const ModelEventView = ({
114138
114154
  subTitle: formatTiming(event.timestamp, event.working_start),
114139
114155
  icon: ApplicationIcons.model,
114140
114156
  children: [
114141
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$G.container, children: [
114157
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$H.container, children: [
114142
114158
  /* @__PURE__ */ jsxRuntimeExports.jsx(
114143
114159
  ChatView,
114144
114160
  {
@@ -114150,20 +114166,20 @@ const ModelEventView = ({
114150
114166
  allowLinking: false
114151
114167
  }
114152
114168
  ),
114153
- event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$G.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
114169
+ event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
114154
114170
  ] }),
114155
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "All", className: styles$G.container, children: [
114156
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$G.all, children: [
114171
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "All", className: styles$H.container, children: [
114172
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$H.all, children: [
114157
114173
  Object.keys(entries).length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
114158
114174
  EventSection,
114159
114175
  {
114160
114176
  title: "Configuration",
114161
- className: styles$G.tableSelection,
114177
+ className: styles$H.tableSelection,
114162
114178
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries, plain: true })
114163
114179
  }
114164
114180
  ),
114165
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Usage", className: styles$G.tableSelection, children: event.output.usage !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage: event.output.usage }) : void 0 }),
114166
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Timing", className: styles$G.tableSelection, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
114181
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Usage", className: styles$H.tableSelection, children: event.output.usage !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage: event.output.usage }) : void 0 }),
114182
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Timing", className: styles$H.tableSelection, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
114167
114183
  EventTimingPanel,
114168
114184
  {
114169
114185
  timestamp: event.timestamp,
@@ -114183,13 +114199,13 @@ const ModelEventView = ({
114183
114199
  }
114184
114200
  ) })
114185
114201
  ] }),
114186
- event.tools.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Tools", className: styles$G.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolsConfig, { tools: event.tools, toolChoice: event.tool_choice }) }),
114202
+ event.tools.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Tools", className: styles$H.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolsConfig, { tools: event.tools, toolChoice: event.tool_choice }) }),
114187
114203
  event.call ? /* @__PURE__ */ jsxRuntimeExports.jsx(
114188
114204
  APIView,
114189
114205
  {
114190
114206
  "data-name": "API",
114191
114207
  call: event.call,
114192
- className: styles$G.container
114208
+ className: styles$H.container
114193
114209
  }
114194
114210
  ) : ""
114195
114211
  ]
@@ -114217,11 +114233,11 @@ const APICodeCell = ({ id, sourceCode }) => {
114217
114233
  if (!sourceCode) {
114218
114234
  return null;
114219
114235
  }
114220
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: sourceCodeRef, className: clsx("model-call"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$G.codePre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
114236
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: sourceCodeRef, className: clsx("model-call"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$H.codePre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
114221
114237
  "code",
114222
114238
  {
114223
114239
  id,
114224
- className: clsx("language-json", styles$G.code, "text-size-small"),
114240
+ className: clsx("language-json", styles$H.code, "text-size-small"),
114225
114241
  children: sourceCode
114226
114242
  }
114227
114243
  ) }) });
@@ -114234,8 +114250,8 @@ const ToolsConfig = ({ tools: tools2, toolChoice: toolChoice2 }) => {
114234
114250
  ] }, `${tool2.name}-${idx}`);
114235
114251
  });
114236
114252
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
114237
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$G.toolConfig, "text-size-small"), children: toolEls }),
114238
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$G.toolChoice, "text-size-small"), children: [
114253
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.toolConfig, "text-size-small"), children: toolEls }),
114254
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$H.toolChoice, "text-size-small"), children: [
114239
114255
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Tool Choice" }),
114240
114256
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolChoiceView, { toolChoice: toolChoice2 }) })
114241
114257
  ] })
@@ -114257,7 +114273,7 @@ const code$2 = "_code_1a3fk_5";
114257
114273
  const sample = "_sample_1a3fk_10";
114258
114274
  const section$2 = "_section_1a3fk_14";
114259
114275
  const metadata = "_metadata_1a3fk_21";
114260
- const styles$E = {
114276
+ const styles$F = {
114261
114277
  noMargin,
114262
114278
  code: code$2,
114263
114279
  sample,
@@ -114274,13 +114290,13 @@ const SampleInitEventView = ({
114274
114290
  if (event.sample.files && Object.keys(event.sample.files).length > 0) {
114275
114291
  sections.push(
114276
114292
  /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Files", children: Object.keys(event.sample.files).map((file) => {
114277
- return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$E.noMargin, children: file }, `sample-init-file-${file}`);
114293
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$F.noMargin, children: file }, `sample-init-file-${file}`);
114278
114294
  }) }, `event-${eventNode.id}`)
114279
114295
  );
114280
114296
  }
114281
114297
  if (event.sample.setup) {
114282
114298
  sections.push(
114283
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Setup", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$E.code, children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: "sourceCode", children: event.sample.setup }) }) }, `${eventNode.id}-section-setup`)
114299
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Setup", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$F.code, children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: "sourceCode", children: event.sample.setup }) }) }, `${eventNode.id}-section-setup`)
114284
114300
  );
114285
114301
  }
114286
114302
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -114293,7 +114309,7 @@ const SampleInitEventView = ({
114293
114309
  icon: ApplicationIcons.sample,
114294
114310
  subTitle: formatDateTime(new Date(event.timestamp)),
114295
114311
  children: [
114296
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Sample", className: styles$E.sample, children: [
114312
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Sample", className: styles$F.sample, children: [
114297
114313
  /* @__PURE__ */ jsxRuntimeExports.jsx(
114298
114314
  ChatView,
114299
114315
  {
@@ -114309,7 +114325,7 @@ const SampleInitEventView = ({
114309
114325
  choice
114310
114326
  ] }, `$choice-{choice}`);
114311
114327
  }) : "",
114312
- sections.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$E.section, children: sections }) : "",
114328
+ sections.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$F.section, children: sections }) : "",
114313
114329
  event.sample.target ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Target", children: toArray(event.sample.target).map((target2) => {
114314
114330
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base"), children: target2 }, target2);
114315
114331
  }) }) : void 0
@@ -114319,7 +114335,7 @@ const SampleInitEventView = ({
114319
114335
  MetaDataGrid,
114320
114336
  {
114321
114337
  "data-name": "Metadata",
114322
- className: styles$E.metadata,
114338
+ className: styles$F.metadata,
114323
114339
  entries: event.sample.metadata
114324
114340
  }
114325
114341
  ) : ""
@@ -114371,6 +114387,7 @@ const SampleLimitEventView = ({
114371
114387
  eventNodeId: eventNode.id,
114372
114388
  depth: eventNode.depth,
114373
114389
  title: title2,
114390
+ subTitle: formatDateTime(new Date(eventNode.event.timestamp)),
114374
114391
  icon: icon2,
114375
114392
  className: className2,
114376
114393
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller"), children: eventNode.event.message })
@@ -114382,7 +114399,7 @@ const exec = "_exec_1irga_15";
114382
114399
  const result = "_result_1irga_19";
114383
114400
  const fileLabel = "_fileLabel_1irga_23";
114384
114401
  const wrapPre = "_wrapPre_1irga_28";
114385
- const styles$D = {
114402
+ const styles$E = {
114386
114403
  twoColumn,
114387
114404
  exec,
114388
114405
  result,
@@ -114416,10 +114433,10 @@ const ExecView = ({ id, event }) => {
114416
114433
  const input2 = event.input;
114417
114434
  const result2 = event.result;
114418
114435
  const output2 = event.output ? event.output.trim() : void 0;
114419
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$D.exec), children: [
114420
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Command`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$D.twoColumn), children: [
114421
- /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$D.wrapPre), children: cmd2 }),
114422
- /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$D.wrapPre), children: input2 !== null ? input2?.trim() : void 0 }),
114436
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$E.exec), children: [
114437
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Command`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$E.twoColumn), children: [
114438
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$E.wrapPre), children: cmd2 }),
114439
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$E.wrapPre), children: input2 !== null ? input2?.trim() : void 0 }),
114423
114440
  options2 !== null && Object.keys(options2).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Options`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
114424
114441
  MetaDataGrid,
114425
114442
  {
@@ -114436,7 +114453,7 @@ const ExecView = ({ id, event }) => {
114436
114453
  entry: { name: "sandbox_output", value: output2 }
114437
114454
  }
114438
114455
  ) }) : void 0,
114439
- result2 !== 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$D.result, "text-size-base"), children: [
114456
+ result2 !== 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$E.result, "text-size-base"), children: [
114440
114457
  "(exited with code ",
114441
114458
  result2,
114442
114459
  ")"
@@ -114462,14 +114479,14 @@ const WriteFileView = ({ id, event }) => {
114462
114479
  };
114463
114480
  const FileView = ({ id, file, contents: contents2 }) => {
114464
114481
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
114465
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "File", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$D.fileLabel), children: file }) }),
114482
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "File", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$E.fileLabel), children: file }) }),
114466
114483
  contents2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Contents", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ExpandablePanel, { id: `${id}-file`, collapse: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { children: contents2 }) }) }) : void 0
114467
114484
  ] });
114468
114485
  };
114469
114486
  const explanation = "_explanation_1k2k0_1";
114470
114487
  const wrappingContent$1 = "_wrappingContent_1k2k0_8";
114471
114488
  const separator$1 = "_separator_1k2k0_13";
114472
- const styles$C = {
114489
+ const styles$D = {
114473
114490
  explanation,
114474
114491
  wrappingContent: wrappingContent$1,
114475
114492
  separator: separator$1
@@ -114491,29 +114508,29 @@ const ScoreEventView = ({
114491
114508
  icon: ApplicationIcons.scorer,
114492
114509
  collapsibleContent: true,
114493
114510
  children: [
114494
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Explanation", className: clsx(styles$C.explanation), children: [
114511
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Explanation", className: clsx(styles$D.explanation), children: [
114495
114512
  event.target ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
114496
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
114513
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
114497
114514
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Target" }),
114498
114515
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: resolvedTarget || "" }) })
114499
114516
  ] }) : "",
114500
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
114517
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
114501
114518
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Answer" }),
114502
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.answer || "" }) }),
114503
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
114519
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.answer || "" }) }),
114520
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
114504
114521
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Explanation" }),
114505
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.explanation || "" }) }),
114506
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
114522
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.explanation || "" }) }),
114523
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
114507
114524
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Score" }),
114508
114525
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderScore(event.score.value) }),
114509
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) })
114526
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) })
114510
114527
  ] }),
114511
114528
  event.score.metadata ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Metadata", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
114512
114529
  RecordTree,
114513
114530
  {
114514
114531
  id: `${eventNode.id}-score-metadata`,
114515
114532
  record: event.score.metadata,
114516
- className: styles$C.metadataTree,
114533
+ className: styles$D.metadataTree,
114517
114534
  defaultExpandLevel: 0
114518
114535
  }
114519
114536
  ) }) : void 0
@@ -122048,7 +122065,7 @@ const lightboxContent = "_lightboxContent_1mvg8_33";
122048
122065
  const lightboxButtonCloseWrapper = "_lightboxButtonCloseWrapper_1mvg8_45";
122049
122066
  const lightboxButtonClose = "_lightboxButtonClose_1mvg8_45";
122050
122067
  const lightboxPreviewButton = "_lightboxPreviewButton_1mvg8_63";
122051
- const styles$B = {
122068
+ const styles$C = {
122052
122069
  carouselThumbs,
122053
122070
  carouselThumb,
122054
122071
  carouselPlayIcon,
@@ -122117,12 +122134,12 @@ const LightboxCarousel = ({ id, slides }) => {
122117
122134
  [openLightbox]
122118
122135
  );
122119
122136
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("lightbox-carousel-container"), children: [
122120
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$B.carouselThumbs), children: slides.map((slide, index) => {
122137
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.carouselThumbs), children: slides.map((slide, index) => {
122121
122138
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
122122
122139
  "div",
122123
122140
  {
122124
122141
  "data-index": index,
122125
- className: clsx(styles$B.carouselThumb),
122142
+ className: clsx(styles$C.carouselThumb),
122126
122143
  onClick: handleThumbClick,
122127
122144
  children: [
122128
122145
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: slide.label }),
@@ -122131,7 +122148,7 @@ const LightboxCarousel = ({ id, slides }) => {
122131
122148
  {
122132
122149
  className: clsx(
122133
122150
  ApplicationIcons.play,
122134
- styles$B.carouselPlayIcon
122151
+ styles$C.carouselPlayIcon
122135
122152
  )
122136
122153
  }
122137
122154
  ) })
@@ -122143,12 +122160,12 @@ const LightboxCarousel = ({ id, slides }) => {
122143
122160
  showOverlay && /* @__PURE__ */ jsxRuntimeExports.jsxs(
122144
122161
  "div",
122145
122162
  {
122146
- className: clsx(styles$B.lightboxOverlay, isOpen ? "open" : "closed"),
122163
+ className: clsx(styles$C.lightboxOverlay, isOpen ? "open" : "closed"),
122147
122164
  children: [
122148
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$B.lightboxButtonCloseWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
122165
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.lightboxButtonCloseWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
122149
122166
  "button",
122150
122167
  {
122151
- className: styles$B.lightboxButtonClose,
122168
+ className: styles$C.lightboxButtonClose,
122152
122169
  onClick: closeLightbox,
122153
122170
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.close })
122154
122171
  }
@@ -122156,7 +122173,7 @@ const LightboxCarousel = ({ id, slides }) => {
122156
122173
  slides.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
122157
122174
  "button",
122158
122175
  {
122159
- className: clsx(styles$B.lightboxPreviewButton, "prev"),
122176
+ className: clsx(styles$C.lightboxPreviewButton, "prev"),
122160
122177
  onClick: showPrev,
122161
122178
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.previous })
122162
122179
  }
@@ -122164,7 +122181,7 @@ const LightboxCarousel = ({ id, slides }) => {
122164
122181
  slides.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
122165
122182
  "button",
122166
122183
  {
122167
- className: clsx(styles$B.lightboxPreviewButton, "next"),
122184
+ className: clsx(styles$C.lightboxPreviewButton, "next"),
122168
122185
  onClick: showNext,
122169
122186
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.next })
122170
122187
  }
@@ -122172,7 +122189,7 @@ const LightboxCarousel = ({ id, slides }) => {
122172
122189
  /* @__PURE__ */ jsxRuntimeExports.jsx(
122173
122190
  "div",
122174
122191
  {
122175
- className: clsx(styles$B.lightboxContent, isOpen ? "open" : "closed"),
122192
+ className: clsx(styles$C.lightboxContent, isOpen ? "open" : "closed"),
122176
122193
  children: slides[currentIndex].render()
122177
122194
  },
122178
122195
  `carousel-slide-${currentIndex}`
@@ -122272,7 +122289,7 @@ const extractSize = (value2, label2, defaultValue) => {
122272
122289
  const toolsGrid = "_toolsGrid_1qqm2_1";
122273
122290
  const tools = "_tools_1qqm2_1";
122274
122291
  const tool = "_tool_1qqm2_1";
122275
- const styles$A = {
122292
+ const styles$B = {
122276
122293
  toolsGrid,
122277
122294
  tools,
122278
122295
  tool
@@ -122441,7 +122458,7 @@ const renderTools = (changes, resolvedState) => {
122441
122458
  toolsInfo["Tools"] = /* @__PURE__ */ jsxRuntimeExports.jsx(Tools, { toolDefinitions: filtered });
122442
122459
  }
122443
122460
  }
122444
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$A.tools), children: Object.keys(toolsInfo).map((key2) => {
122461
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$B.tools), children: Object.keys(toolsInfo).map((key2) => {
122445
122462
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
122446
122463
  /* @__PURE__ */ jsxRuntimeExports.jsx(
122447
122464
  "div",
@@ -122496,7 +122513,7 @@ const StoreSpecificRenderableTypes = [
122496
122513
  human_baseline_session
122497
122514
  ];
122498
122515
  const Tools = ({ toolDefinitions }) => {
122499
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$A.toolsGrid, children: toolDefinitions.map((toolDefinition, idx) => {
122516
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$B.toolsGrid, children: toolDefinitions.map((toolDefinition, idx) => {
122500
122517
  const toolName = toolDefinition.name;
122501
122518
  const toolArgs = toolDefinition.parameters?.properties ? Object.keys(toolDefinition.parameters.properties) : [];
122502
122519
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -122511,11 +122528,11 @@ const Tools = ({ toolDefinitions }) => {
122511
122528
  };
122512
122529
  const Tool = ({ toolName, toolArgs }) => {
122513
122530
  const functionCall = toolArgs && toolArgs.length > 0 ? `${toolName}(${toolArgs.join(", ")})` : toolName;
122514
- return /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-smallest", styles$A.tool), children: functionCall });
122531
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-smallest", styles$B.tool), children: functionCall });
122515
122532
  };
122516
122533
  const diff = "_diff_eobja_1";
122517
122534
  const summary$2 = "_summary_eobja_6";
122518
- const styles$z = {
122535
+ const styles$A = {
122519
122536
  diff,
122520
122537
  summary: summary$2
122521
122538
  };
@@ -122560,14 +122577,14 @@ const StateEventView = ({
122560
122577
  text: !changePreview ? summary2 : void 0,
122561
122578
  collapsibleContent: true,
122562
122579
  children: [
122563
- changePreview ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Summary", className: clsx(styles$z.summary), children: changePreview }) : void 0,
122580
+ changePreview ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Summary", className: clsx(styles$A.summary), children: changePreview }) : void 0,
122564
122581
  /* @__PURE__ */ jsxRuntimeExports.jsx(
122565
122582
  StateDiffView,
122566
122583
  {
122567
122584
  before,
122568
122585
  after,
122569
122586
  "data-name": "Diff",
122570
- className: clsx(styles$z.diff)
122587
+ className: clsx(styles$A.diff)
122571
122588
  }
122572
122589
  )
122573
122590
  ]
@@ -122892,7 +122909,7 @@ const summary$1 = "_summary_ac4z2_1";
122892
122909
  const summaryRendered = "_summaryRendered_ac4z2_6";
122893
122910
  const subtaskSummary = "_subtaskSummary_ac4z2_10";
122894
122911
  const subtaskLabel = "_subtaskLabel_ac4z2_17";
122895
- const styles$y = {
122912
+ const styles$z = {
122896
122913
  summary: summary$1,
122897
122914
  summaryRendered,
122898
122915
  subtaskSummary,
@@ -122907,9 +122924,9 @@ const SubtaskEventView = ({
122907
122924
  const body2 = [];
122908
122925
  if (event.type === "fork") {
122909
122926
  body2.push(
122910
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { title: "Summary", className: clsx(styles$y.summary), children: [
122927
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { title: "Summary", className: clsx(styles$z.summary), children: [
122911
122928
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Inputs" }),
122912
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$y.summaryRendered), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: event.input }) })
122929
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$z.summaryRendered), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: event.input }) })
122913
122930
  ] })
122914
122931
  );
122915
122932
  } else {
@@ -122945,12 +122962,12 @@ const SubtaskEventView = ({
122945
122962
  };
122946
122963
  const SubtaskSummary = ({ input: input2, result: result2 }) => {
122947
122964
  const output2 = typeof result2 === "object" ? result2 : { result: result2 };
122948
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$y.subtaskSummary), children: [
122965
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$z.subtaskSummary), children: [
122949
122966
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-size-small"), children: "Input" }),
122950
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-large", styles$y.subtaskLabel) }),
122967
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-large", styles$z.subtaskLabel) }),
122951
122968
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-size-small"), children: "Output" }),
122952
122969
  input2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: input2 }) : void 0,
122953
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-title-secondary", styles$y.subtaskLabel), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) }),
122970
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-title-secondary", styles$z.subtaskLabel), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) }),
122954
122971
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: output2 }) })
122955
122972
  ] });
122956
122973
  };
@@ -122975,7 +122992,7 @@ const None = () => {
122975
122992
  const summary = "_summary_1qsnv_1";
122976
122993
  const approval = "_approval_1qsnv_6";
122977
122994
  const progress = "_progress_1qsnv_12";
122978
- const styles$x = {
122995
+ const styles$y = {
122979
122996
  summary,
122980
122997
  approval,
122981
122998
  progress
@@ -123014,7 +123031,7 @@ const ToolEventView = ({
123014
123031
  icon: ApplicationIcons.solvers.use_tools,
123015
123032
  childIds: children2.map((child) => child.id),
123016
123033
  collapseControl: "bottom",
123017
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$x.summary, children: [
123034
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$y.summary, children: [
123018
123035
  /* @__PURE__ */ jsxRuntimeExports.jsx(
123019
123036
  ToolCallView,
123020
123037
  {
@@ -123042,10 +123059,10 @@ const ToolEventView = ({
123042
123059
  ApprovalEventView,
123043
123060
  {
123044
123061
  eventNode: approvalNode,
123045
- className: styles$x.approval
123062
+ className: styles$y.approval
123046
123063
  }
123047
123064
  ) : "",
123048
- event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
123065
+ event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$y.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
123049
123066
  ] })
123050
123067
  }
123051
123068
  );
@@ -123056,7 +123073,7 @@ const separator = "_separator_io1r0_13";
123056
123073
  const unchanged = "_unchanged_io1r0_22";
123057
123074
  const section$1 = "_section_io1r0_27";
123058
123075
  const spacer = "_spacer_io1r0_31";
123059
- const styles$w = {
123076
+ const styles$x = {
123060
123077
  container: container$8,
123061
123078
  wrappingContent,
123062
123079
  separator,
@@ -123088,46 +123105,46 @@ const ScoreEditEventView = ({
123088
123105
  className: clsx(
123089
123106
  "text-style-label",
123090
123107
  "text-style-secondary",
123091
- styles$w.section
123108
+ styles$x.section
123092
123109
  ),
123093
123110
  children: "Updated Values"
123094
123111
  }
123095
123112
  ),
123096
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$w.container), children: [
123113
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$x.container), children: [
123097
123114
  event.edit.value ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
123098
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.separator) }),
123115
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.separator) }),
123099
123116
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Value" }),
123100
123117
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderScore(event.edit.value) })
123101
123118
  ] }) : "",
123102
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.separator) }),
123119
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.separator) }),
123103
123120
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Answer" }),
123104
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.wrappingContent), children: event.edit.answer === kUnchangedSentinel ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$w.unchanged), children: "[unchanged]" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.answer || "" }) }),
123105
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.separator) }),
123121
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.wrappingContent), children: event.edit.answer === kUnchangedSentinel ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$x.unchanged), children: "[unchanged]" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.answer || "" }) }),
123122
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.separator) }),
123106
123123
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Explanation" }),
123107
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.explanation || "" }) })
123124
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.explanation || "" }) })
123108
123125
  ] }),
123109
- event.edit.provenance ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$w.container), children: [
123126
+ event.edit.provenance ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$x.container), children: [
123110
123127
  /* @__PURE__ */ jsxRuntimeExports.jsx(
123111
123128
  "div",
123112
123129
  {
123113
123130
  className: clsx(
123114
123131
  "text-style-label",
123115
123132
  "text-style-secondary",
123116
- styles$w.section
123133
+ styles$x.section
123117
123134
  ),
123118
123135
  children: "Provenance"
123119
123136
  }
123120
123137
  ),
123121
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.spacer) }),
123122
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.separator) }),
123138
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.spacer) }),
123139
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.separator) }),
123123
123140
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Author" }),
123124
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.author }) }),
123125
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.separator) }),
123141
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.author }) }),
123142
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.separator) }),
123126
123143
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Reason" }),
123127
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.reason || "" }) }),
123128
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.separator) }),
123144
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.reason || "" }) }),
123145
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.separator) }),
123129
123146
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Time" }),
123130
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$w.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
123147
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$x.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
123131
123148
  RenderedText,
123132
123149
  {
123133
123150
  markdown: formatDateTime(new Date(event.edit.provenance.timestamp)) || ""
@@ -123139,7 +123156,7 @@ const ScoreEditEventView = ({
123139
123156
  {
123140
123157
  id: `${eventNode.id}-score-metadata`,
123141
123158
  record: event.edit.metadata || {},
123142
- className: styles$w.metadataTree,
123159
+ className: styles$x.metadataTree,
123143
123160
  defaultExpandLevel: 0
123144
123161
  }
123145
123162
  ) }) : void 0
@@ -123272,7 +123289,7 @@ const node = "_node_1r858_1";
123272
123289
  const attached = "_attached_1r858_5";
123273
123290
  const attachedParent = "_attachedParent_1r858_9";
123274
123291
  const attachedChild = "_attachedChild_1r858_16";
123275
- const styles$v = {
123292
+ const styles$w = {
123276
123293
  node,
123277
123294
  attached,
123278
123295
  attachedParent,
@@ -123333,23 +123350,23 @@ const TranscriptVirtualListComponent = ({
123333
123350
  }, [initialEventId, useVirtualization]);
123334
123351
  const renderRow = useCallback(
123335
123352
  (index, item2, style2) => {
123336
- const paddingClass = index === 0 ? styles$v.first : void 0;
123353
+ const paddingClass = index === 0 ? styles$w.first : void 0;
123337
123354
  const previousIndex = index - 1;
123338
123355
  const nextIndex = index + 1;
123339
123356
  const previous = previousIndex > 0 && previousIndex <= eventNodes.length ? eventNodes[previousIndex] : void 0;
123340
123357
  const next = nextIndex < eventNodes.length ? eventNodes[nextIndex] : void 0;
123341
123358
  const attached2 = item2.event.event === "tool" && (previous?.event.event === "tool" || previous?.event.event === "model");
123342
123359
  const attachedParent2 = item2.event.event === "model" && next?.event.event === "tool";
123343
- const attachedClass = attached2 ? styles$v.attached : void 0;
123344
- const attachedChildClass = attached2 ? styles$v.attachedChild : void 0;
123345
- const attachedParentClass = attachedParent2 ? styles$v.attachedParent : void 0;
123360
+ const attachedClass = attached2 ? styles$w.attached : void 0;
123361
+ const attachedChildClass = attached2 ? styles$w.attachedChild : void 0;
123362
+ const attachedParentClass = attachedParent2 ? styles$w.attachedParent : void 0;
123346
123363
  const hasToolEvents = hasToolEventsAtCurrentDepth(index);
123347
123364
  const context = hasToolEvents ? contextWithToolEvents : contextWithoutToolEvents;
123348
123365
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
123349
123366
  "div",
123350
123367
  {
123351
123368
  id: item2.id,
123352
- className: clsx(styles$v.node, paddingClass, attachedClass),
123369
+ className: clsx(styles$w.node, paddingClass, attachedClass),
123353
123370
  style: {
123354
123371
  ...style2,
123355
123372
  paddingLeft: `${item2.depth <= 1 ? item2.depth * 0.7 : (0.7 + item2.depth - 1) * 1}em`,
@@ -124034,21 +124051,21 @@ const TranscriptPanel = memo$2((props) => {
124034
124051
  "div",
124035
124052
  {
124036
124053
  className: clsx(
124037
- styles$O.container,
124038
- collapsed2 ? styles$O.collapsed : void 0
124054
+ styles$P.container,
124055
+ collapsed2 ? styles$P.collapsed : void 0
124039
124056
  ),
124040
124057
  children: [
124041
124058
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
124042
124059
  StickyScroll,
124043
124060
  {
124044
124061
  scrollRef,
124045
- className: styles$O.treeContainer,
124062
+ className: styles$P.treeContainer,
124046
124063
  offsetTop: topOffset,
124047
124064
  children: [
124048
124065
  /* @__PURE__ */ jsxRuntimeExports.jsx(
124049
124066
  TranscriptOutline,
124050
124067
  {
124051
- className: clsx(styles$O.outline),
124068
+ className: clsx(styles$P.outline),
124052
124069
  eventNodes,
124053
124070
  running,
124054
124071
  defaultCollapsedIds,
@@ -124058,7 +124075,7 @@ const TranscriptPanel = memo$2((props) => {
124058
124075
  /* @__PURE__ */ jsxRuntimeExports.jsx(
124059
124076
  "div",
124060
124077
  {
124061
- className: styles$O.outlineToggle,
124078
+ className: styles$P.outlineToggle,
124062
124079
  onClick: () => setCollapsed(!collapsed2),
124063
124080
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.sidebar })
124064
124081
  }
@@ -124076,7 +124093,7 @@ const TranscriptPanel = memo$2((props) => {
124076
124093
  running,
124077
124094
  initialEventId: initialEventId === void 0 ? null : initialEventId,
124078
124095
  offsetTop: topOffset,
124079
- className: styles$O.listContainer
124096
+ className: styles$P.listContainer
124080
124097
  }
124081
124098
  )
124082
124099
  ]
@@ -124293,16 +124310,16 @@ const SampleDisplay = ({
124293
124310
  {
124294
124311
  id: tabsetId,
124295
124312
  tabsRef,
124296
- className: clsx(styles$W.tabControls),
124313
+ className: clsx(styles$X.tabControls),
124297
124314
  tabControlsClassName: clsx("text-size-base"),
124298
- tabPanelsClassName: clsx(styles$W.tabPanel),
124315
+ tabPanelsClassName: clsx(styles$X.tabPanel),
124299
124316
  tools: tools2,
124300
124317
  children: [
124301
124318
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
124302
124319
  TabPanel,
124303
124320
  {
124304
124321
  id: kSampleTranscriptTabId,
124305
- className: clsx("sample-tab", styles$W.transcriptContainer),
124322
+ className: clsx("sample-tab", styles$X.transcriptContainer),
124306
124323
  title: "Transcript",
124307
124324
  onSelected: onSelectedTab,
124308
124325
  selected: effectiveSelectedTab === kSampleTranscriptTabId || effectiveSelectedTab === void 0,
@@ -124336,7 +124353,7 @@ const SampleDisplay = ({
124336
124353
  TabPanel,
124337
124354
  {
124338
124355
  id: kSampleMessagesTabId,
124339
- className: clsx("sample-tab", styles$W.fullWidth, styles$W.chat),
124356
+ className: clsx("sample-tab", styles$X.fullWidth, styles$X.chat),
124340
124357
  title: "Messages",
124341
124358
  onSelected: onSelectedTab,
124342
124359
  selected: effectiveSelectedTab === kSampleMessagesTabId,
@@ -124370,7 +124387,7 @@ const SampleDisplay = ({
124370
124387
  SampleScoresView,
124371
124388
  {
124372
124389
  sample: sample2,
124373
- className: styles$W.padded,
124390
+ className: styles$X.padded,
124374
124391
  scrollRef
124375
124392
  }
124376
124393
  )
@@ -124385,7 +124402,7 @@ const SampleDisplay = ({
124385
124402
  title: "Metadata",
124386
124403
  onSelected: onSelectedTab,
124387
124404
  selected: effectiveSelectedTab === kSampleMetdataTabId,
124388
- children: !sample2 || sampleMetadatas.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$W.padded, styles$W.fullWidth), children: sampleMetadatas }) : /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "No metadata" })
124405
+ children: !sample2 || sampleMetadatas.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$X.padded, styles$X.fullWidth), children: sampleMetadatas }) : /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "No metadata" })
124389
124406
  }
124390
124407
  ),
124391
124408
  sample2?.error || sample2?.error_retries && sample2?.error_retries.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -124396,14 +124413,14 @@ const SampleDisplay = ({
124396
124413
  title: "Errors",
124397
124414
  onSelected: onSelectedTab,
124398
124415
  selected: effectiveSelectedTab === kSampleErrorTabId,
124399
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$W.error), children: [
124416
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$X.error), children: [
124400
124417
  sample2?.error ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
124401
124418
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: `Sample Error` }),
124402
124419
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
124403
124420
  ANSIDisplay,
124404
124421
  {
124405
124422
  output: sample2.error.traceback_ansi,
124406
- className: clsx("text-size-small", styles$W.ansi),
124423
+ className: clsx("text-size-small", styles$X.ansi),
124407
124424
  style: {
124408
124425
  fontSize: "clamp(0.3rem, 1.1vw, 0.8rem)",
124409
124426
  margin: "0.5em 0"
@@ -124418,7 +124435,7 @@ const SampleDisplay = ({
124418
124435
  ANSIDisplay,
124419
124436
  {
124420
124437
  output: retry.traceback_ansi,
124421
- className: clsx("text-size-small", styles$W.ansi),
124438
+ className: clsx("text-size-small", styles$X.ansi),
124422
124439
  style: {
124423
124440
  fontSize: "clamp(0.3rem, 1.1vw, 0.8rem)",
124424
124441
  margin: "0.5em 0"
@@ -124438,7 +124455,7 @@ const SampleDisplay = ({
124438
124455
  title: "JSON",
124439
124456
  onSelected: onSelectedTab,
124440
124457
  selected: effectiveSelectedTab === kSampleJsonTabId,
124441
- children: !sample2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON not available" }) : estimateSize(sample2.events) > 25 * 1024 * 1024 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON too large to display" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$W.padded, styles$W.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
124458
+ children: !sample2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON not available" }) : estimateSize(sample2.events) > 25 * 1024 * 1024 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON too large to display" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$X.padded, styles$X.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
124442
124459
  JSONPanel,
124443
124460
  {
124444
124461
  data: sample2,
@@ -124466,7 +124483,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
124466
124483
  ModelTokenTable,
124467
124484
  {
124468
124485
  model_usage: sample2.model_usage,
124469
- className: clsx(styles$W.noTop)
124486
+ className: clsx(styles$X.noTop)
124470
124487
  }
124471
124488
  ) })
124472
124489
  ] }, `sample-usage-${id}`)
@@ -124484,7 +124501,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
124484
124501
  Working: formatTime$1(sample2.working_time),
124485
124502
  Total: formatTime$1(sample2.total_time)
124486
124503
  },
124487
- className: clsx("tab-pane", styles$W.noTop),
124504
+ className: clsx("tab-pane", styles$X.noTop),
124488
124505
  scrollRef
124489
124506
  }
124490
124507
  ) })
@@ -124500,7 +124517,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
124500
124517
  {
124501
124518
  id: `task-sample-metadata-${id}`,
124502
124519
  record: sample2?.metadata,
124503
- className: clsx("tab-pane", styles$W.noTop),
124520
+ className: clsx("tab-pane", styles$X.noTop),
124504
124521
  scrollRef
124505
124522
  }
124506
124523
  ) })
@@ -124516,7 +124533,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
124516
124533
  {
124517
124534
  id: `task-sample-store-${id}`,
124518
124535
  record: sample2?.store,
124519
- className: clsx("tab-pane", styles$W.noTop),
124536
+ className: clsx("tab-pane", styles$X.noTop),
124520
124537
  scrollRef,
124521
124538
  processStore: true
124522
124539
  }
@@ -124594,7 +124611,7 @@ const isRunning = (sampleSummary, runningSampleData) => {
124594
124611
  };
124595
124612
  const container$7 = "_container_ly812_1";
124596
124613
  const scroller = "_scroller_ly812_7";
124597
- const styles$u = {
124614
+ const styles$v = {
124598
124615
  container: container$7,
124599
124616
  scroller
124600
124617
  };
@@ -124645,14 +124662,14 @@ const InlineSampleDisplay = ({
124645
124662
  loadSample
124646
124663
  ]);
124647
124664
  const scrollRef = useRef(null);
124648
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$u.container), children: [
124665
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$v.container), children: [
124649
124666
  showActivity && /* @__PURE__ */ jsxRuntimeExports.jsx(
124650
124667
  ActivityBar,
124651
124668
  {
124652
124669
  animating: sampleData.status === "loading" || sampleData.status === "streaming"
124653
124670
  }
124654
124671
  ),
124655
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$u.scroller), ref: scrollRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$u.body, children: sampleData.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(
124672
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$v.scroller), ref: scrollRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$v.body, children: sampleData.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(
124656
124673
  ErrorPanel,
124657
124674
  {
124658
124675
  title: "Unable to load sample",
@@ -124671,7 +124688,7 @@ const modalBody$1 = "_modalBody_1hch3_35";
124671
124688
  const content$5 = "_content_1hch3_41";
124672
124689
  const header$2 = "_header_1hch3_45";
124673
124690
  const titleTool = "_titleTool_1hch3_51";
124674
- const styles$t = {
124691
+ const styles$u = {
124675
124692
  title,
124676
124693
  detail: detail$1,
124677
124694
  detailText,
@@ -124712,8 +124729,8 @@ const LargeModal = ({
124712
124729
  id,
124713
124730
  className: clsx(
124714
124731
  "modal",
124715
- styles$t.modal,
124716
- !visible2 ? styles$t.hidden : void 0
124732
+ styles$u.modal,
124733
+ !visible2 ? styles$u.hidden : void 0
124717
124734
  ),
124718
124735
  role: "dialog",
124719
124736
  onKeyUp: onkeyup,
@@ -124725,23 +124742,23 @@ const LargeModal = ({
124725
124742
  className: clsx(
124726
124743
  "modal-dialog",
124727
124744
  "modal-dialog-scrollable",
124728
- styles$t.modalBody
124745
+ styles$u.modalBody
124729
124746
  ),
124730
124747
  role: "document",
124731
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("modal-content", styles$t.content), children: [
124732
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("modal-header", styles$t.header), children: [
124748
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("modal-content", styles$u.content), children: [
124749
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("modal-header", styles$u.header), children: [
124733
124750
  /* @__PURE__ */ jsxRuntimeExports.jsx(
124734
124751
  "div",
124735
124752
  {
124736
- className: clsx("modal-title", "text-size-smaller", styles$t.title),
124753
+ className: clsx("modal-title", "text-size-smaller", styles$u.title),
124737
124754
  children: title2 || ""
124738
124755
  }
124739
124756
  ),
124740
- detail2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$t.detail, children: [
124757
+ detail2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$u.detail, children: [
124741
124758
  detailTools?.left ? detailTools.left.map((tool2, idx) => {
124742
124759
  return /* @__PURE__ */ jsxRuntimeExports.jsx(TitleTool, { ...tool2 }, `tool-left-${idx}`);
124743
124760
  }) : "",
124744
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller", styles$t.detailText), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: detail2 }) }),
124761
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller", styles$u.detailText), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: detail2 }) }),
124745
124762
  detailTools?.right ? detailTools.right.map((tool2, idx) => {
124746
124763
  return /* @__PURE__ */ jsxRuntimeExports.jsx(TitleTool, { ...tool2 }, `tool-right-${idx}`);
124747
124764
  }) : ""
@@ -124754,7 +124771,7 @@ const LargeModal = ({
124754
124771
  "btn",
124755
124772
  "btn-close-large-dialog",
124756
124773
  "text-size-larger",
124757
- styles$t.close
124774
+ styles$u.close
124758
124775
  ),
124759
124776
  onClick: onHide,
124760
124777
  "aria-label": "Close",
@@ -124781,7 +124798,7 @@ const TitleTool = ({ label: label2, icon: icon2, enabled, onClick }) => {
124781
124798
  "btn",
124782
124799
  "btn-outline",
124783
124800
  "text-size-small",
124784
- styles$t.titleTool
124801
+ styles$u.titleTool
124785
124802
  ),
124786
124803
  "aria-label": label2,
124787
124804
  onClick,
@@ -124791,7 +124808,7 @@ const TitleTool = ({ label: label2, icon: icon2, enabled, onClick }) => {
124791
124808
  );
124792
124809
  };
124793
124810
  const modalBody = "_modalBody_ozq2k_1";
124794
- const styles$s = {
124811
+ const styles$t = {
124795
124812
  modalBody
124796
124813
  };
124797
124814
  const SampleDialog = ({
@@ -124896,7 +124913,7 @@ const SampleDialog = ({
124896
124913
  visible: showingSampleDialog,
124897
124914
  onHide,
124898
124915
  classNames: {
124899
- body: styles$s.modalBody
124916
+ body: styles$t.modalBody
124900
124917
  },
124901
124918
  showProgress: sampleData.status === "loading" || sampleData.status === "streaming",
124902
124919
  scrollRef,
@@ -124906,7 +124923,7 @@ const SampleDialog = ({
124906
124923
  };
124907
124924
  const container$6 = "_container_15b4r_1";
124908
124925
  const label$6 = "_label_15b4r_5";
124909
- const styles$r = {
124926
+ const styles$s = {
124910
124927
  container: container$6,
124911
124928
  label: label$6
124912
124929
  };
@@ -124923,7 +124940,7 @@ const EpochFilter = ({
124923
124940
  const sel = e.target;
124924
124941
  setEpoch(sel.value);
124925
124942
  };
124926
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$r.container, children: [
124943
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$s.container, children: [
124927
124944
  /* @__PURE__ */ jsxRuntimeExports.jsx(
124928
124945
  "span",
124929
124946
  {
@@ -124932,7 +124949,7 @@ const EpochFilter = ({
124932
124949
  "text-size-smaller",
124933
124950
  "text-style-label",
124934
124951
  "text-style-secondary",
124935
- styles$r.label
124952
+ styles$s.label
124936
124953
  ),
124937
124954
  children: "Epochs:"
124938
124955
  }
@@ -149820,7 +149837,7 @@ function getCompletions(context, filterItems, samples) {
149820
149837
  const label$5 = "_label_jbrqc_1";
149821
149838
  const input = "_input_jbrqc_7";
149822
149839
  const help = "_help_jbrqc_11";
149823
- const styles$q = {
149840
+ const styles$r = {
149824
149841
  label: label$5,
149825
149842
  input,
149826
149843
  help
@@ -150029,7 +150046,7 @@ const SampleFilter = () => {
150029
150046
  "text-size-smaller",
150030
150047
  "text-style-label",
150031
150048
  "text-style-secondary",
150032
- styles$q.label
150049
+ styles$r.label
150033
150050
  ),
150034
150051
  children: "Filter:"
150035
150052
  }
@@ -150038,13 +150055,13 @@ const SampleFilter = () => {
150038
150055
  "div",
150039
150056
  {
150040
150057
  ref: editorRef,
150041
- className: clsx(filterError && "filter-pending", styles$q.input)
150058
+ className: clsx(filterError && "filter-pending", styles$r.input)
150042
150059
  }
150043
150060
  ),
150044
150061
  /* @__PURE__ */ jsxRuntimeExports.jsx(
150045
150062
  "span",
150046
150063
  {
150047
- className: clsx("bi", "bi-question-circle", styles$q.help),
150064
+ className: clsx("bi", "bi-question-circle", styles$r.help),
150048
150065
  "data-tooltip": FILTER_TOOLTIP,
150049
150066
  "data-tooltip-position": "bottom-left"
150050
150067
  }
@@ -150058,7 +150075,7 @@ const label$4 = "_label_uvlpz_26";
150058
150075
  const links = "_links_uvlpz_32";
150059
150076
  const selected$1 = "_selected_uvlpz_50";
150060
150077
  const bodyColorButton = "_bodyColorButton_uvlpz_54";
150061
- const styles$p = {
150078
+ const styles$q = {
150062
150079
  container: container$5,
150063
150080
  grid: grid$3,
150064
150081
  row: row$1,
@@ -150089,7 +150106,7 @@ const SelectScorer = ({
150089
150106
  "text-size-smaller",
150090
150107
  "text-style-label",
150091
150108
  "text-style-secondary",
150092
- styles$p.label
150109
+ styles$q.label
150093
150110
  ),
150094
150111
  children: "Scorers:"
150095
150112
  }
@@ -150101,7 +150118,7 @@ const SelectScorer = ({
150101
150118
  icon: ApplicationIcons.metrics,
150102
150119
  onClick: () => setShowing(!showing),
150103
150120
  ref: buttonRef,
150104
- className: clsx(styles$p.bodyColorButton)
150121
+ className: clsx(styles$q.bodyColorButton)
150105
150122
  }
150106
150123
  ),
150107
150124
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -150117,13 +150134,13 @@ const SelectScorer = ({
150117
150134
  padding: "3px 5px"
150118
150135
  },
150119
150136
  children: [
150120
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$p.links, "text-size-smaller"), children: [
150137
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$q.links, "text-size-smaller"), children: [
150121
150138
  /* @__PURE__ */ jsxRuntimeExports.jsx(
150122
150139
  "a",
150123
150140
  {
150124
150141
  className: clsx(
150125
- styles$p.link,
150126
- !allScoresSelected ? styles$p.selected : void 0
150142
+ styles$q.link,
150143
+ !allScoresSelected ? styles$q.selected : void 0
150127
150144
  ),
150128
150145
  onClick: () => {
150129
150146
  if (scores2.length > 0) {
@@ -150138,8 +150155,8 @@ const SelectScorer = ({
150138
150155
  "a",
150139
150156
  {
150140
150157
  className: clsx(
150141
- styles$p.link,
150142
- allScoresSelected ? styles$p.selected : void 0
150158
+ styles$q.link,
150159
+ allScoresSelected ? styles$q.selected : void 0
150143
150160
  ),
150144
150161
  onClick: () => {
150145
150162
  setSelectedScores(scores2);
@@ -150148,7 +150165,7 @@ const SelectScorer = ({
150148
150165
  }
150149
150166
  )
150150
150167
  ] }),
150151
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$p.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
150168
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
150152
150169
  ScoreCheckboxes,
150153
150170
  {
150154
150171
  scores: scores2,
@@ -150180,13 +150197,13 @@ const ScoreCheckboxes = ({
150180
150197
  },
150181
150198
  [setSelectedScores, scores2, selectedKeys]
150182
150199
  );
150183
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.grid, "text-size-smaller"), children: scores2.map((sc2) => {
150200
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.grid, "text-size-smaller"), children: scores2.map((sc2) => {
150184
150201
  const key2 = `${sc2.scorer}.${sc2.name}`;
150185
150202
  const isChecked = selectedKeys ? selectedKeys.has(key2) : false;
150186
150203
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
150187
150204
  "div",
150188
150205
  {
150189
- className: clsx(styles$p.row),
150206
+ className: clsx(styles$q.row),
150190
150207
  onClick: () => handleToggle(sc2, isChecked),
150191
150208
  children: [
150192
150209
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -150312,7 +150329,7 @@ const ApplicationStyles = {
150312
150329
  const body$1 = "_body_12gn4_1";
150313
150330
  const iconSmall = "_iconSmall_12gn4_9";
150314
150331
  const message = "_message_12gn4_15";
150315
- const styles$o = {
150332
+ const styles$p = {
150316
150333
  body: body$1,
150317
150334
  iconSmall,
150318
150335
  message
@@ -150322,9 +150339,9 @@ const SampleErrorView = ({
150322
150339
  align
150323
150340
  }) => {
150324
150341
  align = align || "center";
150325
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$o.body, children: [
150326
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$o.iconSmall) }),
150327
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$o.message, style: ApplicationStyles.lineClamp(2), children: errorType(message2) })
150342
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$p.body, children: [
150343
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$p.iconSmall) }),
150344
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$p.message, style: ApplicationStyles.lineClamp(2), children: errorType(message2) })
150328
150345
  ] });
150329
150346
  };
150330
150347
  const grid$2 = "_grid_1213u_1";
@@ -150337,7 +150354,7 @@ const wrapAnywhere = "_wrapAnywhere_1213u_49";
150337
150354
  const noLeft = "_noLeft_1213u_53";
150338
150355
  const score = "_score_1213u_57";
150339
150356
  const centered = "_centered_1213u_62";
150340
- const styles$n = {
150357
+ const styles$o = {
150341
150358
  grid: grid$2,
150342
150359
  selected,
150343
150360
  sampleLink,
@@ -150386,10 +150403,10 @@ const SampleRow = ({
150386
150403
  {
150387
150404
  id: `sample-${id}`,
150388
150405
  className: clsx(
150389
- styles$n.grid,
150406
+ styles$o.grid,
150390
150407
  "text-size-base",
150391
- selected2 ? styles$n.selected : void 0,
150392
- !isViewable && !sampleUrl ? styles$n.disabled : void 0
150408
+ selected2 ? styles$o.selected : void 0,
150409
+ !isViewable && !sampleUrl ? styles$o.disabled : void 0
150393
150410
  ),
150394
150411
  style: {
150395
150412
  height: `${height}px`,
@@ -150397,15 +150414,15 @@ const SampleRow = ({
150397
150414
  gridTemplateColumns: gridColumnsTemplate
150398
150415
  },
150399
150416
  children: [
150400
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("sample-id", "three-line-clamp", styles$n.cell), children: !showingSampleDialog ? sample2.id : void 0 }),
150417
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("sample-id", "three-line-clamp", styles$o.cell), children: !showingSampleDialog ? sample2.id : void 0 }),
150401
150418
  /* @__PURE__ */ jsxRuntimeExports.jsx(
150402
150419
  "div",
150403
150420
  {
150404
150421
  className: clsx(
150405
150422
  "sample-input",
150406
150423
  "three-line-clamp",
150407
- styles$n.cell,
150408
- styles$n.wrapAnywhere
150424
+ styles$o.cell,
150425
+ styles$o.wrapAnywhere
150409
150426
  ),
150410
150427
  children: !showingSampleDialog ? /* @__PURE__ */ jsxRuntimeExports.jsx(
150411
150428
  RenderedText,
@@ -150417,20 +150434,20 @@ const SampleRow = ({
150417
150434
  ) : void 0
150418
150435
  }
150419
150436
  ),
150420
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("sample-target", "three-line-clamp", styles$n.cell), children: sample2?.target && !showingSampleDialog ? /* @__PURE__ */ jsxRuntimeExports.jsx(
150437
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("sample-target", "three-line-clamp", styles$o.cell), children: sample2?.target && !showingSampleDialog ? /* @__PURE__ */ jsxRuntimeExports.jsx(
150421
150438
  RenderedText,
150422
150439
  {
150423
150440
  markdown: arrayToString(sample2.target).slice(0, kMaxRowTextSize),
150424
- className: clsx("no-last-para-padding", styles$n.noLeft),
150441
+ className: clsx("no-last-para-padding", styles$o.noLeft),
150425
150442
  forceRender: true,
150426
150443
  omitMedia: true
150427
150444
  }
150428
150445
  ) : void 0 }),
150429
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("sample-answer", "three-line-clamp", styles$n.cell), children: sample2 && !showingSampleDialog ? /* @__PURE__ */ jsxRuntimeExports.jsx(
150446
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("sample-answer", "three-line-clamp", styles$o.cell), children: sample2 && !showingSampleDialog ? /* @__PURE__ */ jsxRuntimeExports.jsx(
150430
150447
  RenderedText,
150431
150448
  {
150432
150449
  markdown: (answer2 || "").slice(0, kMaxRowTextSize),
150433
- className: clsx("no-last-para-padding", styles$n.noLeft),
150450
+ className: clsx("no-last-para-padding", styles$o.noLeft),
150434
150451
  forceRender: true,
150435
150452
  omitMedia: true
150436
150453
  }
@@ -150442,7 +150459,7 @@ const SampleRow = ({
150442
150459
  "sample-limit",
150443
150460
  "text-size-small",
150444
150461
  "three-line-clamp",
150445
- styles$n.cell
150462
+ styles$o.cell
150446
150463
  ),
150447
150464
  children: !showingSampleDialog ? sample2.limit : void 0
150448
150465
  }
@@ -150454,8 +150471,8 @@ const SampleRow = ({
150454
150471
  "sample-retries",
150455
150472
  "text-size-small",
150456
150473
  "three-line-clamp",
150457
- styles$n.cell,
150458
- styles$n.centered
150474
+ styles$o.cell,
150475
+ styles$o.centered
150459
150476
  ),
150460
150477
  children: !showingSampleDialog && sample2.retries && sample2.retries > 0 ? sample2.retries : void 0
150461
150478
  }
@@ -150463,7 +150480,7 @@ const SampleRow = ({
150463
150480
  scoreColumnContent.map((scoreColumnContent2, i) => /* @__PURE__ */ jsxRuntimeExports.jsx(
150464
150481
  "div",
150465
150482
  {
150466
- className: clsx("text-size-small", styles$n.cell, styles$n.score),
150483
+ className: clsx("text-size-small", styles$o.cell, styles$o.score),
150467
150484
  children: scoreColumnContent2
150468
150485
  },
150469
150486
  `score-${i}`
@@ -150472,15 +150489,15 @@ const SampleRow = ({
150472
150489
  }
150473
150490
  );
150474
150491
  if (!sampleUrl || !isViewable) {
150475
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$n.disabledRow, children: rowContent });
150492
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$o.disabledRow, children: rowContent });
150476
150493
  }
150477
150494
  if (isVscode()) {
150478
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { onClick: showSample, className: styles$n.sampleLink, children: rowContent });
150495
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { onClick: showSample, className: styles$o.sampleLink, children: rowContent });
150479
150496
  }
150480
- return /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: sampleUrl, className: styles$n.sampleLink, children: rowContent });
150497
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: sampleUrl, className: styles$o.sampleLink, children: rowContent });
150481
150498
  };
150482
150499
  const row = "_row_utdq5_1";
150483
- const styles$m = {
150500
+ const styles$n = {
150484
150501
  row
150485
150502
  };
150486
150503
  const SampleSeparator = ({
@@ -150492,7 +150509,7 @@ const SampleSeparator = ({
150492
150509
  "div",
150493
150510
  {
150494
150511
  id,
150495
- className: clsx("text-style-secondary", "text-size-smaller", styles$m.row),
150512
+ className: clsx("text-style-secondary", "text-size-smaller", styles$n.row),
150496
150513
  style: { height: `${height}px` },
150497
150514
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: title2 })
150498
150515
  }
@@ -150502,7 +150519,7 @@ const footer = "_footer_vkofn_1";
150502
150519
  const spinnerContainer = "_spinnerContainer_vkofn_11";
150503
150520
  const spinner$1 = "_spinner_vkofn_11";
150504
150521
  const label$3 = "_label_vkofn_25";
150505
- const styles$l = {
150522
+ const styles$m = {
150506
150523
  footer,
150507
150524
  spinnerContainer,
150508
150525
  spinner: spinner$1,
@@ -150513,17 +150530,17 @@ const SampleFooter = ({
150513
150530
  totalSampleCount,
150514
150531
  running
150515
150532
  }) => {
150516
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", styles$l.footer), children: [
150517
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: running ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$l.spinnerContainer), children: [
150533
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", styles$m.footer), children: [
150534
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: running ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$m.spinnerContainer), children: [
150518
150535
  /* @__PURE__ */ jsxRuntimeExports.jsx(
150519
150536
  "div",
150520
150537
  {
150521
- className: clsx("spinner-border", styles$l.spinner),
150538
+ className: clsx("spinner-border", styles$m.spinner),
150522
150539
  role: "status",
150523
150540
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("visually-hidden"), children: "Running..." })
150524
150541
  }
150525
150542
  ),
150526
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-secondary", styles$l.label), children: "running..." })
150543
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-secondary", styles$m.label), children: "running..." })
150527
150544
  ] }) : void 0 }),
150528
150545
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: sampleCount < totalSampleCount ? `${sampleCount} / ${totalSampleCount} Samples` : `${sampleCount} Samples` })
150529
150546
  ] });
@@ -150531,7 +150548,7 @@ const SampleFooter = ({
150531
150548
  const header$1 = "_header_1qnb6_1";
150532
150549
  const center = "_center_1qnb6_9";
150533
150550
  const shrinkable = "_shrinkable_1qnb6_13";
150534
- const styles$k = {
150551
+ const styles$l = {
150535
150552
  header: header$1,
150536
150553
  center,
150537
150554
  shrinkable
@@ -150548,7 +150565,7 @@ const SampleHeader = ({
150548
150565
  "div",
150549
150566
  {
150550
150567
  className: clsx(
150551
- styles$k.header,
150568
+ styles$l.header,
150552
150569
  "text-size-smallestest",
150553
150570
  "text-style-label",
150554
150571
  "text-style-secondary"
@@ -150564,7 +150581,7 @@ const SampleHeader = ({
150564
150581
  scoreLabels.map((label2, i) => /* @__PURE__ */ jsxRuntimeExports.jsx(
150565
150582
  "div",
150566
150583
  {
150567
- className: clsx(styles$k.center, styles$k.shrinkable),
150584
+ className: clsx(styles$l.center, styles$l.shrinkable),
150568
150585
  children: label2
150569
150586
  },
150570
150587
  `score-header-${i}`
@@ -150573,7 +150590,7 @@ const SampleHeader = ({
150573
150590
  }
150574
150591
  );
150575
150592
  const mainLayout = "_mainLayout_q79zq_7";
150576
- const styles$j = {
150593
+ const styles$k = {
150577
150594
  mainLayout
150578
150595
  };
150579
150596
  const kSampleHeight = 88;
@@ -150779,7 +150796,7 @@ const SampleList = memo$2((props) => {
150779
150796
  msg: `Skipped ${earlyStopping.early_stops.length} samples due to early stopping (${earlyStopping.manager}). `
150780
150797
  });
150781
150798
  }
150782
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$j.mainLayout, children: [
150799
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$k.mainLayout, children: [
150783
150800
  warnings.map((warning2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
150784
150801
  MessageBand,
150785
150802
  {
@@ -150885,16 +150902,16 @@ const panel$3 = "_panel_1yknn_1";
150885
150902
  const container$4 = "_container_1yknn_7";
150886
150903
  const spinner = "_spinner_1yknn_14";
150887
150904
  const text = "_text_1yknn_20";
150888
- const styles$i = {
150905
+ const styles$j = {
150889
150906
  panel: panel$3,
150890
150907
  container: container$4,
150891
150908
  spinner,
150892
150909
  text
150893
150910
  };
150894
150911
  const RunningNoSamples = () => {
150895
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$i.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$i.container, "text-size-smaller"), children: [
150896
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$i.spinner, "spinner-border"), role: "status", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("visually-hidden"), children: "starting..." }) }),
150897
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$i.text), children: "starting...." })
150912
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$j.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$j.container, "text-size-smaller"), children: [
150913
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$j.spinner, "spinner-border"), role: "status", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("visually-hidden"), children: "starting..." }) }),
150914
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$j.text), children: "starting...." })
150898
150915
  ] }) });
150899
150916
  };
150900
150917
  const getSampleProcessor = (samples, epochs, groupBy, groupByOrder, sampleDescriptor, selectedScores) => {
@@ -151220,7 +151237,7 @@ const ghCommitUrl = (origin, commit) => {
151220
151237
  return `${baseUrl2}/commit/${commit}`;
151221
151238
  };
151222
151239
  const grid$1 = "_grid_er9fb_1";
151223
- const styles$h = {
151240
+ const styles$i = {
151224
151241
  grid: grid$1
151225
151242
  };
151226
151243
  const useTaskTabConfig = (evalSpec, evalStats, earlyStopping) => {
@@ -151290,7 +151307,7 @@ const TaskTab = ({
151290
151307
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { width: "100%" }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { padding: "0.5em 1em 0 1em", width: "100%" }, children: [
151291
151308
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
151292
151309
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: "Task Info" }),
151293
- /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: "task-card-config", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$h.grid), children: [
151310
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: "task-card-config", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$i.grid), children: [
151294
151311
  /* @__PURE__ */ jsxRuntimeExports.jsx(
151295
151312
  MetaDataGrid,
151296
151313
  {
@@ -151343,6 +151360,70 @@ const TaskTab = ({
151343
151360
  ] })
151344
151361
  ] }) });
151345
151362
  };
151363
+ const downloadLogButton = "_downloadLogButton_fi3zx_1";
151364
+ const styles$h = {
151365
+ downloadLogButton
151366
+ };
151367
+ const DownloadLogButton = ({
151368
+ log_file,
151369
+ className: className2 = "",
151370
+ ariaLabel = "Download log as EVAL"
151371
+ }) => {
151372
+ const [downloadState, setDownloadState] = useState("idle");
151373
+ const api2 = useStore((state) => state.api);
151374
+ const handleClick = async () => {
151375
+ if (!api2?.download_log) return;
151376
+ setDownloadState("downloading");
151377
+ try {
151378
+ await api2.download_log(log_file);
151379
+ setDownloadState("success");
151380
+ } catch (error2) {
151381
+ console.error("Failed to download log:", error2);
151382
+ setDownloadState("error");
151383
+ } finally {
151384
+ setTimeout(() => {
151385
+ setDownloadState("idle");
151386
+ }, 1250);
151387
+ }
151388
+ };
151389
+ const getIcon = () => {
151390
+ switch (downloadState) {
151391
+ case "downloading":
151392
+ return ApplicationIcons.loading;
151393
+ case "success":
151394
+ return ApplicationIcons.confirm;
151395
+ case "error":
151396
+ return ApplicationIcons.error;
151397
+ default:
151398
+ return ApplicationIcons.downloadLog;
151399
+ }
151400
+ };
151401
+ const getIconClass = () => {
151402
+ const icon2 = getIcon();
151403
+ if (downloadState === "success") {
151404
+ return `${icon2} primary`;
151405
+ }
151406
+ if (downloadState === "error") {
151407
+ return `${icon2} text-danger`;
151408
+ }
151409
+ return icon2;
151410
+ };
151411
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
151412
+ "button",
151413
+ {
151414
+ type: "button",
151415
+ className: clsx(
151416
+ "download-log-button",
151417
+ styles$h.downloadLogButton,
151418
+ className2
151419
+ ),
151420
+ onClick: handleClick,
151421
+ "aria-label": ariaLabel,
151422
+ disabled: downloadState !== "idle",
151423
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: getIconClass(), "aria-hidden": "true" })
151424
+ }
151425
+ );
151426
+ };
151346
151427
  const metricDisplayName = (metric) => {
151347
151428
  let modifier = void 0;
151348
151429
  for (const metricModifier of metricModifiers) {
@@ -151506,14 +151587,15 @@ const ModelRolesView = ({ roles }) => {
151506
151587
  });
151507
151588
  return modelEls.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$g.container, children: modelEls }) : void 0;
151508
151589
  };
151509
- const container$2 = "_container_1pujw_1";
151510
- const wrapper = "_wrapper_1pujw_8";
151511
- const body = "_body_1pujw_21";
151512
- const bodyContainer = "_bodyContainer_1pujw_27";
151513
- const taskTitle = "_taskTitle_1pujw_33";
151514
- const taskModel = "_taskModel_1pujw_38";
151515
- const taskStatus = "_taskStatus_1pujw_42";
151516
- const secondaryContainer = "_secondaryContainer_1pujw_49";
151590
+ const container$2 = "_container_17txe_1";
151591
+ const wrapper = "_wrapper_17txe_8";
151592
+ const body = "_body_17txe_21";
151593
+ const bodyContainer = "_bodyContainer_17txe_27";
151594
+ const taskTitle = "_taskTitle_17txe_33";
151595
+ const taskModel = "_taskModel_17txe_38";
151596
+ const taskStatus = "_taskStatus_17txe_42";
151597
+ const secondaryContainer = "_secondaryContainer_17txe_49";
151598
+ const buttonGroup = "_buttonGroup_17txe_58";
151517
151599
  const styles$f = {
151518
151600
  container: container$2,
151519
151601
  wrapper,
@@ -151522,7 +151604,8 @@ const styles$f = {
151522
151604
  taskTitle,
151523
151605
  taskModel,
151524
151606
  taskStatus,
151525
- secondaryContainer
151607
+ secondaryContainer,
151608
+ buttonGroup
151526
151609
  };
151527
151610
  const button$1 = "_button_12472_1";
151528
151611
  const label$2 = "_label_12472_14";
@@ -152059,8 +152142,10 @@ const PrimaryBar = ({
152059
152142
  sampleCount
152060
152143
  }) => {
152061
152144
  const streamSamples = useStore((state) => state.capabilities.streamSamples);
152145
+ const downloadLogs = useStore((state) => state.capabilities.downloadLogs);
152062
152146
  const selectedLogFile = useStore((state) => state.logs.selectedLogFile);
152063
152147
  const logFileName = selectedLogFile ? filename(selectedLogFile) : "";
152148
+ const isEvalFile2 = selectedLogFile?.endsWith(".eval");
152064
152149
  const hasRunningMetrics = runningMetrics && runningMetrics.length > 0;
152065
152150
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$f.wrapper), children: [
152066
152151
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -152101,7 +152186,10 @@ const PrimaryBar = ({
152101
152186
  evalSpec?.model_roles ? /* @__PURE__ */ jsxRuntimeExports.jsx(ModelRolesView, { roles: evalSpec.model_roles }) : void 0,
152102
152187
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-small", styles$f.secondaryContainer), children: [
152103
152188
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("navbar-secondary-text", "text-truncate"), children: logFileName }),
152104
- selectedLogFile ? /* @__PURE__ */ jsxRuntimeExports.jsx(CopyButton, { value: selectedLogFile }) : ""
152189
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.buttonGroup, children: [
152190
+ selectedLogFile ? /* @__PURE__ */ jsxRuntimeExports.jsx(CopyButton, { value: selectedLogFile }) : "",
152191
+ downloadLogs && selectedLogFile && isEvalFile2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(DownloadLogButton, { log_file: selectedLogFile }) : null
152192
+ ] })
152105
152193
  ] })
152106
152194
  ] })
152107
152195
  }
@@ -152422,15 +152510,15 @@ const LogView = () => {
152422
152510
  status: selectedLogDetails?.status
152423
152511
  }
152424
152512
  ),
152425
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: divRef, className: clsx("workspace", styles$1c.workspace), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("log-detail", styles$1c.tabContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
152513
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: divRef, className: clsx("workspace", styles$1d.workspace), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("log-detail", styles$1d.tabContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
152426
152514
  TabSet,
152427
152515
  {
152428
152516
  id: "log-details",
152429
152517
  tools: tabTools2,
152430
152518
  type: "pills",
152431
- className: clsx(styles$1c.tabSet, "text-size-smaller"),
152432
- tabControlsClassName: clsx(styles$1c.tabs, "text-size-smaller"),
152433
- tabPanelsClassName: clsx(styles$1c.tabPanels),
152519
+ className: clsx(styles$1d.tabSet, "text-size-smaller"),
152520
+ tabControlsClassName: clsx(styles$1d.tabs, "text-size-smaller"),
152521
+ tabPanelsClassName: clsx(styles$1d.tabPanels),
152434
152522
  children: Object.keys(tabs2).map((key2) => {
152435
152523
  const tab2 = tabs2[key2];
152436
152524
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -210844,9 +210932,6 @@ export {
210844
210932
  clientApi,
210845
210933
  viewServerApi as createViewServerApi,
210846
210934
  initializeStore,
210847
- staticHttpApi as simpleHttpApi,
210848
- useLogSelection,
210849
- useSelectedSampleSummary,
210850
- useSelectedScores
210935
+ staticHttpApi as simpleHttpApi
210851
210936
  };
210852
210937
  //# sourceMappingURL=index.js.map