@ovalbee/reportifact 0.0.1
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/README.md +841 -0
- package/dist/Chart.vue_vue_type_style_index_0_lang-B4novMFC.cjs +1 -0
- package/dist/Chart.vue_vue_type_style_index_0_lang-BYILFTfl.js +5895 -0
- package/dist/ImageGallery.vue_vue_type_style_index_0_lang-BB4dG0CB.cjs +1 -0
- package/dist/ImageGallery.vue_vue_type_style_index_0_lang-DPY6mSdA.js +191 -0
- package/dist/MetricCallout.vue_vue_type_style_index_0_lang-BZbc-Wkf.js +49 -0
- package/dist/MetricCallout.vue_vue_type_style_index_0_lang-WpuALh8Z.cjs +1 -0
- package/dist/MetricCards.vue_vue_type_style_index_0_lang-CDPSu7no.cjs +1 -0
- package/dist/MetricCards.vue_vue_type_style_index_0_lang-CfxCCXmB.js +33 -0
- package/dist/MetricsTable.vue_vue_type_style_index_0_lang-BzrxoJW4.cjs +1 -0
- package/dist/MetricsTable.vue_vue_type_style_index_0_lang-CO9HvYfr.js +132 -0
- package/dist/Reportifact.vue.d.ts +40 -0
- package/dist/ReportifactWidgetHost-A73gQ3bT.cjs +1 -0
- package/dist/ReportifactWidgetHost-BjKBwCWI.js +17 -0
- package/dist/Timeline.vue_vue_type_style_index_0_lang-BIyC7N9b.cjs +2 -0
- package/dist/Timeline.vue_vue_type_style_index_0_lang-BnrgKBMh.js +2598 -0
- package/dist/WidgetWrapper.vue_vue_type_style_index_0_lang-BQQ4Vv5j.cjs +1 -0
- package/dist/WidgetWrapper.vue_vue_type_style_index_0_lang-D-oXqmI2.js +59 -0
- package/dist/components/TableOfContents.vue.d.ts +15 -0
- package/dist/composables/useDelayedLoading.d.ts +6 -0
- package/dist/composables/useFetch.d.ts +13 -0
- package/dist/customWidgets.d.ts +18 -0
- package/dist/entries/chart.d.ts +3 -0
- package/dist/entries/contracts.d.ts +3 -0
- package/dist/entries/figure.d.ts +1 -0
- package/dist/entries/host.d.ts +1 -0
- package/dist/entries/imageGallery.d.ts +3 -0
- package/dist/entries/metricCallout.d.ts +2 -0
- package/dist/entries/metricCards.d.ts +2 -0
- package/dist/entries/metricsTable.d.ts +2 -0
- package/dist/entries/timeline.d.ts +2 -0
- package/dist/index-DFz2A8yJ.js +21229 -0
- package/dist/index-DmTzvbys.cjs +47 -0
- package/dist/index.d.ts +6 -0
- package/dist/markdownTable-B5207r3E.js +32 -0
- package/dist/markdownTable-Cbn1Du3L.cjs +2 -0
- package/dist/mediaResolver.d.ts +18 -0
- package/dist/middleware.cjs +1 -0
- package/dist/middleware.d.ts +21 -0
- package/dist/middleware.js +177 -0
- package/dist/portable/ReportifactFigure.vue.d.ts +36 -0
- package/dist/portable/ReportifactWidgetHost.vue.d.ts +17 -0
- package/dist/portable/contracts.d.ts +54 -0
- package/dist/reportifact.cjs +67 -0
- package/dist/reportifact.d.ts +2 -0
- package/dist/reportifact.js +5272 -0
- package/dist/style.css +13 -0
- package/dist/useFetch-BfOAq-Kg.cjs +1 -0
- package/dist/useFetch-CHQm_TmB.js +35 -0
- package/dist/utils/createMarked.d.ts +7 -0
- package/dist/utils/parseIndexMd.d.ts +29 -0
- package/dist/utils/tfeventsParser.cjs +1 -0
- package/dist/utils/tfeventsParser.d.ts +21 -0
- package/dist/utils/tfeventsParser.js +336 -0
- package/dist/widgets/Card.vue.d.ts +6 -0
- package/dist/widgets/Chart.vue.d.ts +26 -0
- package/dist/widgets/HelpTooltip.vue.d.ts +5 -0
- package/dist/widgets/ImageGallery.vue.d.ts +26 -0
- package/dist/widgets/Markdown.vue.d.ts +8 -0
- package/dist/widgets/MetricCallout.vue.d.ts +19 -0
- package/dist/widgets/MetricCards.vue.d.ts +13 -0
- package/dist/widgets/MetricTable.vue.d.ts +6 -0
- package/dist/widgets/MetricsTable.vue.d.ts +17 -0
- package/dist/widgets/ModelClassComparison.vue.d.ts +7 -0
- package/dist/widgets/ModelComparisonGallery.vue.d.ts +15 -0
- package/dist/widgets/Notice.vue.d.ts +6 -0
- package/dist/widgets/ReportifactWidget.vue.d.ts +23 -0
- package/dist/widgets/Scope.vue.d.ts +8 -0
- package/dist/widgets/Table.vue.d.ts +18 -0
- package/dist/widgets/Tensorboard.vue.d.ts +13 -0
- package/dist/widgets/Timeline.vue.d.ts +21 -0
- package/dist/widgets/WidgetWrapper.vue.d.ts +28 -0
- package/dist/widgets/chart-config/barGradient.d.ts +2 -0
- package/dist/widgets/chart-config/barGrouped.d.ts +2 -0
- package/dist/widgets/chart-config/barNormalized.d.ts +2 -0
- package/dist/widgets/chart-config/barStacked.d.ts +2 -0
- package/dist/widgets/chart-config/customGauge.d.ts +2 -0
- package/dist/widgets/chart-config/gaugeGrade.d.ts +2 -0
- package/dist/widgets/chart-config/heatmap.d.ts +2 -0
- package/dist/widgets/chart-config/index.d.ts +4 -0
- package/dist/widgets/chart-config/line.d.ts +2 -0
- package/dist/widgets/chart-config/pie.d.ts +2 -0
- package/dist/widgets/chart-config/radar.d.ts +2 -0
- package/dist/widgets/chart-config/shared.d.ts +15 -0
- package/dist/widgets/chart-config/types.d.ts +96 -0
- package/dist/widgets/chart.cjs +1 -0
- package/dist/widgets/chart.d.ts +6 -0
- package/dist/widgets/chart.js +5 -0
- package/dist/widgets/chartSizing.d.ts +1 -0
- package/dist/widgets/contracts.cjs +1 -0
- package/dist/widgets/contracts.d.ts +2 -0
- package/dist/widgets/contracts.js +1 -0
- package/dist/widgets/figure.cjs +1 -0
- package/dist/widgets/figure.d.ts +6 -0
- package/dist/widgets/figure.js +84 -0
- package/dist/widgets/host.cjs +1 -0
- package/dist/widgets/host.d.ts +6 -0
- package/dist/widgets/host.js +5 -0
- package/dist/widgets/image-gallery.cjs +1 -0
- package/dist/widgets/image-gallery.d.ts +6 -0
- package/dist/widgets/image-gallery.js +5 -0
- package/dist/widgets/markdownTable.d.ts +4 -0
- package/dist/widgets/metric-callout.cjs +1 -0
- package/dist/widgets/metric-callout.d.ts +6 -0
- package/dist/widgets/metric-callout.js +5 -0
- package/dist/widgets/metric-cards.cjs +1 -0
- package/dist/widgets/metric-cards.d.ts +6 -0
- package/dist/widgets/metric-cards.js +5 -0
- package/dist/widgets/metrics-table.cjs +1 -0
- package/dist/widgets/metrics-table.d.ts +6 -0
- package/dist/widgets/metrics-table.js +5 -0
- package/dist/widgets/scope.d.ts +77 -0
- package/dist/widgets/timeline.cjs +1 -0
- package/dist/widgets/timeline.d.ts +6 -0
- package/dist/widgets/timeline.js +5 -0
- package/package.json +125 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.reportifact{--reportifact-bg: #ffffff;--reportifact-toc-bg: #ffffff;--reportifact-bg-subtle: #f8fafc;--reportifact-bg-muted: #f1f5f9;--reportifact-bg-overlay: rgba(255, 255, 255, .9);--reportifact-text: #1f2937;--reportifact-text-muted: #64748b;--reportifact-text-faint: #94a3b8;--reportifact-border: #e2e8f0;--reportifact-error-bg: #fef2f2;--reportifact-error-text: #dc2626;--reportifact-highlight: #fef08a;--reportifact-accent: #0ea5e9;--reportifact-focus-border: #3b82f6;--reportifact-tone-low: #ef4444;--reportifact-tone-low-bg: #fee2e2;--reportifact-tone-low-border: #fecaca;--reportifact-tone-mid: #d97706;--reportifact-tone-mid-bg: #fef3c7;--reportifact-tone-mid-border: #fde68a;--reportifact-tone-high: #059669;--reportifact-tone-high-bg: #d1fae5;--reportifact-tone-high-border: #a7f3d0;--reportifact-widget-gap: 16px;--reportifact-section-gap: 32px;display:flex;flex-direction:column;color:var(--reportifact-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-size:14px;line-height:1.5}.dark .reportifact{--reportifact-tone-low: #f06464;--reportifact-tone-low-bg: rgba(239, 68, 68, .16);--reportifact-tone-low-border: rgba(239, 68, 68, .32);--reportifact-tone-mid: #d99a2b;--reportifact-tone-mid-bg: rgba(217, 119, 6, .16);--reportifact-tone-mid-border: rgba(217, 119, 6, .32);--reportifact-tone-high: #41b883;--reportifact-tone-high-bg: rgba(16, 185, 129, .14);--reportifact-tone-high-border: rgba(16, 185, 129, .3)}.reportifact-skeleton-line{height:16px;border-radius:4px;background:linear-gradient(90deg,var(--reportifact-border) 25%,var(--reportifact-bg-muted) 50%,var(--reportifact-border) 75%);background-size:200% 100%;animation:reportifact-skeleton-pulse 1.5s ease-in-out infinite}.reportifact-skeleton-column{display:flex;flex-direction:column;gap:12px}@keyframes reportifact-skeleton-pulse{0%{background-position:200% 0}to{background-position:-200% 0}}.reportifact-widget-host{width:100%;min-width:0}.reportifact-widget-wrapper,.reportifact-widget-content{position:relative}.reportifact-widget-error{padding:16px;background:var(--reportifact-error-bg);border-radius:8px}.reportifact-widget-error-message{color:var(--reportifact-error-text);font-size:14px;text-align:center}.reportifact-chart-skeleton{background:var(--reportifact-bg);border:1px solid var(--reportifact-border);border-radius:8px;padding:16px;height:var(--reportifact-chart-height);display:flex;flex-direction:column;overflow:hidden}.reportifact-chart-skeleton-body{width:100%;flex:1;min-height:0;border-radius:4px}.reportifact-chart-container{background:var(--reportifact-bg);border:1px solid var(--reportifact-border);border-radius:8px;padding:16px;width:100%;height:var(--reportifact-chart-height);display:flex;flex-direction:column;overflow:hidden}.reportifact-chart{width:100%;flex:1;min-height:0}.reportifact-metric-cards{display:grid;grid-template-columns:repeat(4,minmax(92px,1fr));gap:10px;padding:12px;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg)}.reportifact-metric-card{position:relative;min-height:148px;overflow:hidden;padding:14px;border:1px solid var(--reportifact-border);border-radius:6px;background:var(--reportifact-bg)}.reportifact-metric-card-fill{position:absolute;inset:auto 0 0;border-top:1px solid transparent}.reportifact-metric-card--low .reportifact-metric-card-fill{border-top-color:var(--reportifact-tone-low-border);background:var(--reportifact-tone-low-bg)}.reportifact-metric-card--mid .reportifact-metric-card-fill{border-top-color:var(--reportifact-tone-mid-border);background:var(--reportifact-tone-mid-bg)}.reportifact-metric-card--high .reportifact-metric-card-fill{border-top-color:var(--reportifact-tone-high-border);background:var(--reportifact-tone-high-bg)}.reportifact-metric-card-label,.reportifact-metric-card-value,.reportifact-metric-card-description{position:relative;z-index:1}.reportifact-metric-card-label{display:block;color:var(--reportifact-text-muted);font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.reportifact-metric-card-value{display:block;margin-top:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:26px;line-height:1}.reportifact-metric-card--low .reportifact-metric-card-value{color:var(--reportifact-tone-low)}.reportifact-metric-card--mid .reportifact-metric-card-value{color:var(--reportifact-tone-mid)}.reportifact-metric-card--high .reportifact-metric-card-value{color:var(--reportifact-tone-high)}.reportifact-metric-card-description{margin:8px 0 0;color:var(--reportifact-text-muted);font-size:12px}@media (max-width: 720px){.reportifact-metric-cards{grid-template-columns:repeat(2,minmax(92px,1fr))}}.reportifact-metric-callout{overflow:hidden;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg)}.reportifact-metric-callout-header{display:grid;grid-template-columns:148px minmax(0,1fr);gap:14px;align-items:center;padding:14px 15px;border-bottom:1px solid var(--reportifact-border);background:var(--reportifact-bg-subtle)}.reportifact-metric-callout-label{color:var(--reportifact-text-muted);font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.reportifact-metric-callout-value{display:block;margin-top:5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:28px;line-height:1}.reportifact-metric-callout-value--low{color:var(--reportifact-tone-low)}.reportifact-metric-callout-value--mid{color:var(--reportifact-tone-mid)}.reportifact-metric-callout-value--high{color:var(--reportifact-tone-high)}.reportifact-metric-callout-description,.reportifact-metric-callout-body{color:var(--reportifact-text-muted)}.reportifact-metric-callout-body{padding:13px 15px}.rm-skeleton{display:flex;flex-direction:column;gap:10px;padding:4px 0}.rm-skeleton-row{display:flex;gap:10px;align-items:center}.rm-title{font-weight:bolder;font-size:13px;margin-bottom:8px;color:var(--reportifact-text)}.rm-metrics{display:grid;grid-template-columns:auto 3.8em 1fr;align-items:center;gap:8px 10px;padding:2px 0;max-width:400px}.rm-metrics--with-pct{grid-template-columns:auto 3.8em 1fr auto}.rm-row{display:contents}.rm-name{font-weight:500;font-size:13px;white-space:nowrap;color:var(--reportifact-text)}.rm-value{font-family:monospace;font-size:13px;text-align:right;color:var(--reportifact-text-muted)}.rm-bar-track{height:6px;background:var(--reportifact-bg-muted);border-radius:3px;overflow:hidden;min-width:40px}.rm-bar-fill{height:100%;background:var(--reportifact-accent);border-radius:3px;transition:width .3s ease}.rm-pct{font-size:12px;color:var(--reportifact-text-muted);white-space:nowrap;min-width:3.2em;text-align:right}.rm-empty{grid-column:1 / -1;color:var(--reportifact-text-faint);font-style:italic;font-size:13px}.rm-table{width:100%;max-width:400px;border-collapse:collapse;font-size:13px}.rm-table th{text-align:left;padding:6px 8px;font-weight:500;border-bottom:1px solid var(--reportifact-border);color:var(--reportifact-text-muted);font-size:12px}.rm-table td{padding:5px 8px;border-bottom:1px solid var(--reportifact-border);color:var(--reportifact-text)}.rm-table tr:last-child td{border-bottom:none}.rm-table tbody tr:hover td{background:var(--reportifact-bg-subtle)}.reportifact-timeline-container{position:relative;background:var(--reportifact-bg);border:1px solid var(--reportifact-border);border-radius:8px;padding:16px;width:100%;height:var(--reportifact-chart-height);display:flex;flex-direction:column;overflow:hidden}.reportifact-timeline-toolbar{position:absolute;top:12px;right:12px;z-index:1;display:flex;gap:2px;border:1px solid var(--reportifact-border);border-radius:6px;padding:2px;background:var(--reportifact-bg-subtle)}.reportifact-timeline-mode{border:none;background:transparent;color:var(--reportifact-text-muted);font-size:11px;line-height:1;padding:4px 8px;border-radius:4px;cursor:pointer}.reportifact-timeline-mode.is-active{background:var(--reportifact-bg);color:var(--reportifact-text);box-shadow:0 1px 2px #00000014}.reportifact-image-gallery{container-type:inline-size;display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.reportifact-image-gallery-tile{min-width:0}.reportifact-image-gallery-frame{position:relative;aspect-ratio:var(--reportifact-gallery-aspect-ratio);overflow:hidden;border-radius:8px;background:var(--reportifact-bg-subtle)}.reportifact-image-gallery-image,.reportifact-image-gallery-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.reportifact-image-gallery-image--contain{object-fit:contain}.reportifact-image-gallery-image--cover{object-fit:cover}.reportifact-image-gallery-overlay{pointer-events:none}.reportifact-image-gallery-empty{display:flex;height:100%;align-items:center;justify-content:center;color:var(--reportifact-text-muted);font-size:12px}.reportifact-image-gallery-skeleton{height:100%;min-height:160px}.reportifact-image-gallery-more{margin-top:10px;padding:0;border:0;background:transparent;color:var(--reportifact-accent);cursor:pointer;font:inherit;font-size:14px;font-weight:600;text-align:left}.reportifact-image-gallery-more:hover{text-decoration:underline}@container (max-width: 720px){.reportifact-image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}.reportifact-figure{width:100%;margin:24px 0}.reportifact-figure-title{margin-bottom:10px;font-size:15px;font-weight:700}.reportifact-figure-skeleton{display:flex;min-height:280px;flex-direction:column;gap:16px;padding:16px;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg)}.reportifact-figure-fallback{display:block;width:100%;height:auto;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg)}.reportifact-figure-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin-top:8px;color:var(--reportifact-text-muted, #64748b);font-size:13px}.reportifact-figure-caption a{color:var(--reportifact-accent, #0ea5e9)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
2
|
+
Theme: StackOverflow Light
|
|
3
|
+
Description: Light theme as used on stackoverflow.com
|
|
4
|
+
Author: stackoverflow.com
|
|
5
|
+
Maintainer: @Hirse
|
|
6
|
+
Website: https://github.com/StackExchange/Stacks
|
|
7
|
+
License: MIT
|
|
8
|
+
Updated: 2021-05-15
|
|
9
|
+
|
|
10
|
+
Updated for @stackoverflow/stacks v0.64.0
|
|
11
|
+
Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
|
|
12
|
+
Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
|
|
13
|
+
*/.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-keyword,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-section,.hljs-attr{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-type,.hljs-number,.hljs-selector-id,.hljs-quote,.hljs-template-tag{color:#b75501}.hljs-selector-class{color:#015692}.hljs-string,.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-title,.hljs-literal{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.reportifact-markdown h1,.reportifact-markdown h2,.reportifact-markdown h3,.reportifact-markdown h4,.reportifact-markdown h5,.reportifact-markdown h6{font-weight:500;font-size:15px;margin-top:10px;margin-bottom:5px}.reportifact-markdown p{margin:0 0 5px}.reportifact-markdown pre{overflow-x:auto;max-width:100%}.reportifact-markdown pre code.hljs{border-radius:4px;padding:10px;font-size:13px;display:block;width:100%;box-sizing:border-box;margin-bottom:5px}.reportifact-markdown img{max-width:100%;height:auto}.reportifact-markdown a{color:var(--reportifact-accent);text-decoration:underline}.reportifact-markdown a:hover{text-decoration:none}.reportifact-table-container{font-size:13px;width:fit-content;max-width:100%;margin-inline:0 auto;overflow:hidden;background:var(--reportifact-bg);border:1px solid var(--reportifact-border);border-radius:8px}.reportifact-table-header{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid var(--reportifact-border)}.reportifact-table-filter-wrapper{position:relative;display:flex;align-items:center}.reportifact-table-filter{padding:4px 28px 4px 30px;border:1px solid var(--reportifact-border);border-radius:4px;background:var(--reportifact-bg-muted);color:var(--reportifact-text-muted);width:180px;font-size:13px;transition:border-color .15s,background .15s}.reportifact-table-filter-icon{position:absolute;left:8px;color:var(--reportifact-text-faint);width:15px;height:15px}.reportifact-table-filter:focus{outline:none;border-color:var(--reportifact-text-faint);background:var(--reportifact-bg)}.reportifact-table-filter::placeholder{color:var(--reportifact-text-faint)}.reportifact-table-filter-loading{padding-right:28px}.reportifact-table-filter-spinner{position:absolute;right:8px;color:var(--reportifact-text-muted);display:flex;align-items:center;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.reportifact-table-spacer{flex:1}.reportifact-table-pagination{display:flex;align-items:center;color:var(--reportifact-text-muted);font-size:13px}.reportifact-table-pagination-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;background:transparent;color:var(--reportifact-text-muted);cursor:pointer;border-radius:4px;transition:color .15s,background .15s}.reportifact-table-pagination-btn:hover:not(:disabled){color:var(--reportifact-text);background:var(--reportifact-bg-muted)}.reportifact-table-pagination-btn:disabled{color:var(--reportifact-text-faint);cursor:default}.reportifact-table-pagination-info{padding:0 4px;white-space:nowrap}.reportifact-table-scroll{overflow-x:auto;overflow-y:visible;position:relative;scrollbar-width:thin;scrollbar-color:var(--reportifact-border) var(--reportifact-bg-subtle)}.reportifact-table-scroll::-webkit-scrollbar{height:10px}.reportifact-table-scroll::-webkit-scrollbar-track{background:var(--reportifact-bg-subtle)}.reportifact-table-scroll::-webkit-scrollbar-thumb{background:var(--reportifact-border);border:2px solid var(--reportifact-bg-subtle);border-radius:999px}.reportifact-table-scroll::-webkit-scrollbar-thumb:hover{background:var(--reportifact-text-faint)}.reportifact-table-element{width:100%;border-collapse:collapse;table-layout:auto}.reportifact-table-th{padding:6px 12px;text-align:left;font-weight:600;color:var(--reportifact-text);background:var(--reportifact-bg-subtle);border-bottom:2px solid var(--reportifact-border);white-space:nowrap;-webkit-user-select:none;user-select:none}.reportifact-table-th-sortable{cursor:pointer}.reportifact-table-th-sortable:hover{background:var(--reportifact-bg-muted)}.reportifact-table-th-fixed{position:sticky;left:0;z-index:2;background:var(--reportifact-bg-subtle);box-shadow:inset -1px 0 0 var(--reportifact-border)}.reportifact-table-th-content{display:flex;align-items:center;gap:4px}.reportifact-table-tooltip{display:inline-flex;color:var(--reportifact-text-faint);cursor:help}.reportifact-table-tooltip svg{width:14px;height:14px}.reportifact-table-sort-icon{display:inline-flex;margin-left:2px}.reportifact-table-sort-icon svg{width:14px;height:14px;color:var(--reportifact-accent)}.reportifact-table-th-sortable:hover .reportifact-table-sort-inactive{opacity:1}.reportifact-table-row{border-bottom:1px solid var(--reportifact-border)}.reportifact-table-row:last-child{border-bottom:none}.reportifact-table-row:hover{background:var(--reportifact-bg-subtle)}.reportifact-table-row-clickable{cursor:pointer}.reportifact-table-container td{padding:6px 12px;white-space:nowrap;background:var(--reportifact-bg)}.reportifact-table-td-fixed{position:sticky;left:0;z-index:1;background:var(--reportifact-bg);box-shadow:inset -1px 0 0 var(--reportifact-border)}.reportifact-table-row:hover td{background:var(--reportifact-bg-subtle)}.reportifact-table-empty{padding:40px;text-align:center;color:var(--reportifact-text-faint)}.reportifact-table-highlight{background:var(--reportifact-highlight);padding:0;font-weight:inherit}.reportifact-table-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:color-mix(in srgb,var(--reportifact-bg) 90%,transparent);z-index:10;animation:fadeIn .2s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.reportifact-tensorboard-skeleton,.reportifact-tensorboard-container{background:var(--reportifact-bg);border:1px solid var(--reportifact-border);border-radius:8px;padding:16px;height:var(--reportifact-chart-height);display:flex;flex-direction:column;overflow:hidden}.reportifact-tensorboard-skeleton{display:flex;flex-direction:column}.reportifact-tensorboard-skeleton-body{width:100%;flex:1;min-height:0;border-radius:4px}.reportifact-tensorboard-header{display:flex;justify-content:center;align-items:center;margin-bottom:12px;flex-shrink:0}.reportifact-tensorboard-select{padding:6px 32px 6px 12px;border:1px solid var(--reportifact-border);border-radius:4px;background-color:var(--reportifact-bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:12px;font-size:13px;font-weight:600;color:var(--reportifact-text);cursor:pointer;min-width:200px;max-width:100%;appearance:none;-webkit-appearance:none;-moz-appearance:none}.reportifact-tensorboard-select:hover{border-color:var(--reportifact-text-faint)}.reportifact-tensorboard-select:focus{outline:none;border-color:var(--reportifact-focus-border);box-shadow:0 0 0 3px color-mix(in srgb,var(--reportifact-focus-border) 10%,transparent)}.reportifact-tensorboard-chart{width:100%;flex:1;min-height:0}.reportifact-comparison-matrix-host{width:100%;container-name:comparison-matrix;container-type:inline-size}.reportifact-comparison-matrix-skeleton{display:grid;gap:16px;padding:16px;border:1px solid var(--reportifact-border);border-radius:10px;background:var(--reportifact-bg)}.reportifact-comparison-matrix{position:relative;overflow:visible;border:1px solid var(--reportifact-border);border-radius:10px;background:var(--reportifact-bg);color:var(--reportifact-text);font-size:13px}.reportifact-comparison-matrix-header{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px 24px;border-bottom:1px solid var(--reportifact-border);padding:10px 16px;border-radius:9px 9px 0 0;background:var(--reportifact-bg-subtle)}.reportifact-comparison-matrix-controls{display:flex;min-width:0;align-items:center;gap:10px}.reportifact-comparison-matrix-segmented{display:inline-flex;min-width:0;gap:2px;overflow-x:auto;border-radius:6px;padding:2px;background:var(--reportifact-bg-muted)}.reportifact-comparison-matrix-segmented button,.reportifact-comparison-matrix-pagination button{border:0;border-radius:5px;background:transparent;color:var(--reportifact-text-muted);cursor:pointer;font:inherit}.reportifact-comparison-matrix-segmented button{min-width:40px;padding:3px 8px;white-space:nowrap}.reportifact-comparison-matrix-segmented button:hover,.reportifact-comparison-matrix-pagination button:hover:not(:disabled){background:var(--reportifact-bg);color:var(--reportifact-text)}.reportifact-comparison-matrix-segmented button.is-active{background:var(--reportifact-bg);box-shadow:0 1px 3px #0f172a1a;color:var(--reportifact-text);font-weight:600}.reportifact-comparison-matrix-search{width:170px;min-width:120px}.reportifact-comparison-matrix-search input{width:100%;border:1px solid var(--reportifact-border);border-radius:6px;padding:6px 9px;background:var(--reportifact-bg);color:var(--reportifact-text);font:inherit}.reportifact-comparison-matrix-pagination{display:inline-flex;align-items:center;gap:5px;color:var(--reportifact-text-muted);white-space:nowrap}.reportifact-comparison-matrix-pagination button{width:26px;height:26px;font-size:18px}.reportifact-comparison-matrix-pagination button:disabled{cursor:default;opacity:.35}.reportifact-comparison-matrix-legend{display:flex;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:7px 18px}.reportifact-comparison-matrix-legend-item{display:inline-flex;min-width:0;align-items:center;gap:7px}.reportifact-comparison-matrix-legend-name{max-width:210px;overflow:hidden;color:var(--reportifact-text-muted);text-overflow:ellipsis;white-space:nowrap}.reportifact-comparison-matrix-shape{display:inline-block;width:10px;height:10px;flex:0 0 auto;border:0;border-radius:50%;background:var(--reportifact-comparison-model-color)}.reportifact-comparison-matrix-table-wrap{width:100%;overflow:visible}.reportifact-comparison-matrix table{width:100%;border-collapse:collapse;table-layout:fixed}.reportifact-comparison-matrix-class-col{width:160px}.reportifact-comparison-matrix th,.reportifact-comparison-matrix td{border-bottom:1px solid var(--reportifact-border);padding:0 14px;text-align:left}.reportifact-comparison-matrix tbody tr:last-child th,.reportifact-comparison-matrix tbody tr:last-child td{border-bottom:0}.reportifact-comparison-matrix thead th{height:52px;background:var(--reportifact-bg);color:var(--reportifact-text-muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.reportifact-comparison-matrix tbody th,.reportifact-comparison-matrix tbody td{height:54px}.reportifact-comparison-matrix tbody tr:hover>*{background:color-mix(in srgb,var(--reportifact-bg-subtle) 58%,transparent)}.reportifact-comparison-matrix-class-column{overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.reportifact-comparison-matrix tbody .reportifact-comparison-matrix-class-column{font-size:14px;letter-spacing:0;text-transform:none}.reportifact-comparison-matrix-score-column{padding-right:9px!important;padding-left:9px!important}.reportifact-comparison-matrix-axis{position:relative;height:16px;margin:0 6px;color:var(--reportifact-text-muted);font-size:12px;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:0;text-transform:none}.reportifact-comparison-matrix-axis>span{position:absolute;top:50%;transform:translate(-50%,-50%)}.reportifact-comparison-matrix-axis>span:first-child{transform:translateY(-50%)}.reportifact-comparison-matrix-axis>span:last-child{transform:translate(-100%,-50%)}.reportifact-comparison-matrix-plot{position:relative;width:100%;height:44px}.reportifact-comparison-matrix-plot-inner{position:absolute;top:0;right:6px;bottom:0;left:6px;border-right:1px solid var(--reportifact-border);border-left:1px solid var(--reportifact-border)}.reportifact-comparison-matrix-track{position:absolute;top:50%;right:0;left:0;height:1px;background:var(--reportifact-border);transform:translateY(-50%)}.reportifact-comparison-matrix-tick{position:absolute;top:50%;width:1px;height:8px;border-radius:1px;background:color-mix(in srgb,var(--reportifact-text-muted) 45%,transparent);transform:translate(-50%,-50%)}.reportifact-comparison-matrix-marker{position:absolute;z-index:1;display:grid;width:20px;height:20px;place-items:center;outline:none;transform:translate(-50%,-50%)}.reportifact-comparison-matrix-marker.is-edge-start{transform:translateY(-50%)}.reportifact-comparison-matrix-marker.is-edge-end{transform:translate(-100%,-50%)}.reportifact-comparison-matrix-marker:hover,.reportifact-comparison-matrix-marker:focus-visible{z-index:4}.reportifact-comparison-matrix-marker:focus-visible{border-radius:999px;box-shadow:0 0 0 2px var(--reportifact-focus-border)}.reportifact-comparison-matrix-marker .reportifact-comparison-matrix-shape{width:11px;height:11px}.reportifact-comparison-matrix-tooltip{position:absolute;z-index:5;top:calc(100% + 5px);left:50%;display:grid;min-width:190px;max-width:280px;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:7px;visibility:hidden;border:1px solid var(--reportifact-border);border-radius:7px;padding:8px 9px;background:var(--reportifact-bg);box-shadow:0 7px 20px #0f172a2b;opacity:0;pointer-events:none;transform:translate(-50%) translateY(-2px);transition:opacity .1s ease,transform .1s ease,visibility .1s ease}.reportifact-comparison-matrix-marker.is-edge-start .reportifact-comparison-matrix-tooltip{left:0;transform:translateY(-2px)}.reportifact-comparison-matrix-marker.is-edge-end .reportifact-comparison-matrix-tooltip{right:0;left:auto;transform:translateY(-2px)}.reportifact-comparison-matrix-marker:hover .reportifact-comparison-matrix-tooltip,.reportifact-comparison-matrix-marker:focus-visible .reportifact-comparison-matrix-tooltip{visibility:visible;opacity:1;transform:translate(-50%) translateY(0)}.reportifact-comparison-matrix-marker.is-edge-start:hover .reportifact-comparison-matrix-tooltip,.reportifact-comparison-matrix-marker.is-edge-start:focus-visible .reportifact-comparison-matrix-tooltip,.reportifact-comparison-matrix-marker.is-edge-end:hover .reportifact-comparison-matrix-tooltip,.reportifact-comparison-matrix-marker.is-edge-end:focus-visible .reportifact-comparison-matrix-tooltip{transform:translateY(0)}.reportifact-comparison-matrix-tooltip .reportifact-comparison-matrix-shape{width:9px;height:9px}.reportifact-comparison-matrix-tooltip span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportifact-comparison-matrix-tooltip strong{font-size:11px;font-variant-numeric:tabular-nums}.reportifact-comparison-matrix-values-column{padding-right:16px!important;padding-left:16px!important}.reportifact-comparison-matrix-value-grid{display:grid;align-items:center;gap:10px;text-align:right}.reportifact-comparison-matrix-value-grid>span{overflow:hidden;color:var(--reportifact-comparison-model-color);font-size:13px;font-variant-numeric:tabular-nums;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.reportifact-comparison-matrix-value-grid>span.is-best{font-weight:700}.reportifact-comparison-matrix-value-grid>span.is-missing{color:var(--reportifact-text-faint)}.reportifact-comparison-matrix-no-values{position:absolute;top:50%;left:50%;color:var(--reportifact-text-faint);font-size:10px;transform:translate(-50%,-50%);white-space:nowrap}.reportifact-comparison-matrix-empty{padding:28px;color:var(--reportifact-text-faint);text-align:center}.reportifact-comparison-matrix-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}@container comparison-matrix (max-width: 900px){.reportifact-comparison-matrix-header{flex-wrap:wrap;gap:10px 16px}.reportifact-comparison-matrix-legend{flex:1 1 100%;justify-content:flex-start}}@container comparison-matrix (max-width: 600px){.reportifact-comparison-matrix-header{padding:10px 12px}.reportifact-comparison-matrix-controls{flex:1 1 100%;flex-wrap:wrap}.reportifact-comparison-matrix-segmented{flex:1 1 100%}.reportifact-comparison-matrix-segmented button{flex:1 0 auto}.reportifact-comparison-matrix-search{flex:1 1 150px}.reportifact-comparison-matrix-class-col{width:120px}}.reportifact-model-comparison-gallery{container-type:inline-size;display:grid;gap:12px;grid-template-columns:repeat(var(--reportifact-model-comparison-gallery-columns, 4),minmax(0,1fr))}.reportifact-model-comparison-gallery-tile{min-width:0;width:100%;color:inherit;font:inherit;text-align:left}.reportifact-model-comparison-gallery-tile--rich{overflow:hidden;border:1px solid var(--reportifact-border);border-radius:10px;background:var(--reportifact-bg)}.reportifact-model-comparison-gallery-tile--actionable{position:relative;cursor:pointer;transition:border-color .15s ease}.reportifact-model-comparison-gallery-tile--actionable:hover{border-color:color-mix(in srgb,var(--reportifact-accent) 55%,var(--reportifact-border))}.reportifact-model-comparison-gallery-action{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer}.reportifact-model-comparison-gallery-action:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--reportifact-accent)}.reportifact-model-comparison-gallery-sr-only{position:absolute;width:1px;height:1px;padding:0;border:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.reportifact-model-comparison-gallery-frame{position:relative;aspect-ratio:var(--reportifact-model-comparison-gallery-aspect-ratio);overflow:hidden;border-radius:8px;background:var(--reportifact-bg-subtle)}.reportifact-model-comparison-gallery-tile--rich .reportifact-model-comparison-gallery-frame{border-radius:0;border-bottom:1px solid var(--reportifact-border)}.reportifact-model-comparison-gallery-image,.reportifact-model-comparison-gallery-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.reportifact-model-comparison-gallery-image--contain{object-fit:contain}.reportifact-model-comparison-gallery-image--cover{object-fit:cover}.reportifact-model-comparison-gallery-overlay{pointer-events:none}.reportifact-model-comparison-gallery-empty{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--reportifact-text-muted);font-size:12px}.reportifact-model-comparison-gallery-content{padding:10px 12px 11px}.reportifact-model-comparison-gallery-label{overflow:hidden;color:var(--reportifact-text);font-size:13px;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.reportifact-model-comparison-gallery-details{display:grid;gap:4px;margin:7px 0 0}.reportifact-model-comparison-gallery-detail{display:grid;grid-template-columns:fit-content(50%) minmax(0,1fr);align-items:baseline;gap:10px;font-size:12px;line-height:1.35}.reportifact-model-comparison-gallery-detail dt{overflow:hidden;color:var(--reportifact-text-muted);text-overflow:ellipsis;white-space:nowrap}.reportifact-model-comparison-gallery-detail dd{min-width:0;margin:0;overflow-wrap:break-word;color:var(--reportifact-text);font-variant-numeric:tabular-nums;font-weight:600;text-align:right}.reportifact-model-comparison-gallery-detail:first-child{padding-bottom:6px;border-bottom:1px solid var(--reportifact-border);margin-bottom:2px}.reportifact-model-comparison-gallery-detail:first-child dd{font-size:15px;font-weight:700}.reportifact-model-comparison-gallery-skeleton{height:100%;min-height:160px}.reportifact-model-comparison-gallery-more{margin-top:10px;padding:0;border:0;background:transparent;color:var(--reportifact-accent);cursor:pointer;font:inherit;font-size:14px;font-weight:600;text-align:left}.reportifact-model-comparison-gallery-more:hover{text-decoration:underline}@container (max-width: 720px){.reportifact-model-comparison-gallery{grid-template-columns:repeat(var(--reportifact-model-comparison-gallery-narrow-columns, 2),minmax(0,1fr))}.reportifact-model-comparison-gallery-detail{grid-template-columns:minmax(64px,1fr) minmax(0,2fr)}}@container (max-width: 420px){.reportifact-model-comparison-gallery{grid-template-columns:minmax(0,1fr)}}.reportifact-card{height:100%;min-width:0;overflow:hidden;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg)}.reportifact-card--subtle{background:var(--reportifact-bg-subtle)}.reportifact-card--dashed{border-style:dashed;background:var(--reportifact-bg-subtle)}.reportifact-card-header{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--reportifact-border);background:var(--reportifact-bg-subtle)}.reportifact-card-header>div{min-width:0}.reportifact-card--subtle .reportifact-card-header{padding-bottom:0;border-bottom:0}.reportifact-card-title{overflow-wrap:anywhere;color:var(--reportifact-text);font-size:15px;font-weight:700}.reportifact-card--subtle .reportifact-card-title{color:var(--reportifact-text-muted);font-size:11px;letter-spacing:.04em;text-transform:uppercase}.reportifact-card-subtitle{margin-top:4px;color:var(--reportifact-text-muted);font-size:12px}.reportifact-card-badge{display:inline-flex;min-height:24px;flex:0 0 auto;align-items:center;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600}.reportifact-card-badge--low{background:var(--reportifact-tone-low-bg);color:var(--reportifact-tone-low)}.reportifact-card-badge--mid{background:var(--reportifact-tone-mid-bg);color:var(--reportifact-tone-mid)}.reportifact-card-badge--high{background:var(--reportifact-tone-high-bg);color:var(--reportifact-tone-high)}.reportifact-card-body{min-width:0;padding:15px}.reportifact-card--subtle .reportifact-card-body{padding-top:12px}.reportifact-card-body p{margin:0 0 6px}.reportifact-card-body p:last-child{margin-bottom:0}.reportifact-card-body table{table-layout:auto;width:100%;max-width:100%;margin-top:12px;border:0;border-collapse:collapse;border-radius:0;background:transparent;font-size:inherit;overflow:visible}.reportifact-card-body table:first-child{margin-top:0}.reportifact-card-body tr{vertical-align:top!important}.reportifact-card-body th,.reportifact-card-body td{padding:8px 10px;border-bottom:1px solid var(--reportifact-border);text-align:left;vertical-align:top!important;white-space:normal!important;word-break:normal;overflow-wrap:anywhere}.reportifact-card-body th{color:var(--reportifact-text-muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.reportifact-card-body td{color:var(--reportifact-text-muted)}.reportifact-card-body td:first-child{width:1%;color:var(--reportifact-text);font-weight:700;white-space:nowrap!important}.reportifact-card-body td:nth-child(2),.reportifact-card-body th:nth-child(2){width:auto;white-space:normal!important}.reportifact-card-body tr:last-child td{border-bottom:0}.reportifact-help-tooltip{position:relative;display:inline-flex;align-items:center;margin-left:6px;vertical-align:middle}.reportifact-help-tooltip-trigger{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border:1px solid var(--reportifact-border);border-radius:999px;background:var(--reportifact-bg);color:var(--reportifact-text-muted);cursor:help;font:inherit;font-size:12px;font-weight:700;line-height:1;padding:0}.reportifact-help-tooltip-content{position:absolute;left:calc(100% + 12px);top:50%;z-index:50;width:max-content;max-width:min(520px,80vw);transform:translateY(-50%);padding:10px 12px;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg);color:var(--reportifact-text);font-size:13px;font-weight:450;line-height:1.4;opacity:0;pointer-events:none;white-space:normal}.reportifact-help-tooltip-content:after{content:"";position:absolute;left:-6px;top:50%;width:10px;height:10px;transform:translateY(-50%) rotate(45deg);border-bottom:1px solid var(--reportifact-border);border-left:1px solid var(--reportifact-border);background:var(--reportifact-bg)}.reportifact-help-tooltip:hover .reportifact-help-tooltip-content,.reportifact-help-tooltip:focus-within .reportifact-help-tooltip-content{opacity:1}.reportifact-metric-table{overflow:hidden;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg)}.reportifact-metric-table-header{padding:13px 15px;border-bottom:1px solid var(--reportifact-border);background:var(--reportifact-bg-subtle)}.reportifact-metric-table-header strong{display:block;font-size:15px}.reportifact-metric-table-header div{margin-top:4px;color:var(--reportifact-text-muted);font-size:12px}.reportifact-metric-table-columns{display:grid;grid-template-columns:148px 72px minmax(0,1fr);gap:12px;padding:9px 15px;border-bottom:1px solid var(--reportifact-border);background:var(--reportifact-bg-subtle)}.reportifact-metric-table.is-compare .reportifact-metric-table-columns{grid-template-columns:148px 72px 72px minmax(0,1fr)}.reportifact-metric-table-column{font-size:12px;font-weight:600;text-align:right;color:var(--reportifact-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reportifact-metric-table-body{display:grid;gap:9px 12px;padding:12px 15px}.reportifact-metric-table-row{display:grid;grid-template-columns:148px 72px minmax(0,1fr);gap:12px;align-items:baseline}.reportifact-metric-table.is-compare .reportifact-metric-table-row{grid-template-columns:148px 72px 72px minmax(0,1fr)}.reportifact-metric-table-name{white-space:nowrap}.reportifact-metric-table-value{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;text-align:right}.reportifact-metric-table-value--low{color:var(--reportifact-tone-low)}.reportifact-metric-table-value--mid{color:var(--reportifact-tone-mid)}.reportifact-metric-table-value--high{color:var(--reportifact-tone-high)}.reportifact-metric-table-description{color:var(--reportifact-text-muted)}@media (max-width: 720px){.reportifact-metric-table-row{grid-template-columns:1fr auto}.reportifact-metric-table.is-compare .reportifact-metric-table-row{grid-template-columns:1fr auto auto}.reportifact-metric-table-description{grid-column:1 / -1}}.reportifact-notice{padding:16px;border:1px solid var(--reportifact-border);border-radius:8px;background:var(--reportifact-bg-subtle)}.reportifact-notice--dashed{border-style:dashed}.reportifact-notice-title{display:block;margin-bottom:6px;font-weight:750}.reportifact-notice-body{color:var(--reportifact-text-muted)}.reportifact-scope{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;padding:10px 0;margin-bottom:8px;background:var(--reportifact-bg);border-bottom:1px solid var(--reportifact-border)}.reportifact-scope-anchor{font-size:13px;color:var(--reportifact-text-muted);white-space:nowrap}.reportifact-scope-crumbs{display:inline-flex;align-items:center;gap:5px}.reportifact-scope-tag-icon{display:inline-flex;margin-right:1px;color:var(--reportifact-text-faint);opacity:.6}.reportifact-scope-dd{position:relative;display:flex}.reportifact-scope-dim{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:6px 9px;border:none;background:transparent;border-radius:6px;font:inherit;font-size:13px;font-weight:600;color:var(--reportifact-text-muted);cursor:pointer;white-space:nowrap;transition:background .12s ease,color .12s ease}.reportifact-scope-dim:hover{background:var(--reportifact-bg-muted);color:var(--reportifact-text)}.reportifact-scope-sep{color:var(--reportifact-border);font-size:14px}.reportifact-scope-val{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:none;background:var(--reportifact-bg-muted);border-radius:6px;font:inherit;font-size:13px;font-weight:600;color:var(--reportifact-text);cursor:pointer;white-space:nowrap;transition:background .12s ease}.reportifact-scope-val:hover{background:var(--reportifact-border)}.reportifact-scope-chevron{display:inline-flex;color:var(--reportifact-text-muted);opacity:.6}.reportifact-scope-menu{position:absolute;left:0;top:calc(100% + 6px);min-width:200px;max-height:280px;overflow:auto;padding:5px;background:var(--reportifact-bg);border:1px solid var(--reportifact-border);border-radius:8px;box-shadow:0 10px 28px #10182824;z-index:60}.reportifact-scope-item{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:8px;width:100%;padding:7px 9px;border:none;background:transparent;border-radius:6px;font:inherit;font-size:13px;font-weight:500;color:var(--reportifact-text);cursor:pointer;white-space:nowrap;text-align:left;transition:background .12s ease,color .12s ease}.reportifact-scope-item:hover{background:var(--reportifact-bg-muted)}.reportifact-scope-item.is-active{background:var(--reportifact-bg-muted);color:var(--reportifact-accent)}.reportifact-scope-check{width:14px;flex:none;display:inline-flex;align-items:center;justify-content:center;color:var(--reportifact-accent);opacity:0}.reportifact-scope-check.is-on{opacity:1}.reportifact-scope-meta{margin-left:auto;padding-left:16px;color:var(--reportifact-text-faint);font-size:11px;font-weight:500}.reportifact-scope-meta-num{font-variant-numeric:tabular-nums}.reportifact-scope-reset{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 9px;border:none;background:transparent;border-radius:6px;color:var(--reportifact-text-muted);font:inherit;font-size:12.5px;font-weight:500;cursor:pointer;transition:background .12s ease,color .12s ease}.reportifact-scope-reset:hover{background:var(--reportifact-bg-muted);color:var(--reportifact-text)}.reportifact-unsupported-widget{border:1px dashed var(--reportifact-border);border-radius:8px;padding:16px;color:var(--reportifact-text-muted);background:var(--reportifact-bg-subtle)}.reportifact-toc-wrapper[data-v-abab526d]{position:sticky;top:0;z-index:10;background:var(--reportifact-toc-bg);margin:-8px 0 24px;border-bottom:1px solid var(--reportifact-border);box-shadow:0 -16px 0 16px var(--reportifact-toc-bg)}.reportifact-toc-container[data-v-abab526d]{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;padding:8px 0}.reportifact-toc-container[data-v-abab526d]::-webkit-scrollbar{display:none}.reportifact-toc-gradient[data-v-abab526d]{position:absolute;top:0;bottom:0;width:40px;pointer-events:none;z-index:2}.reportifact-toc-gradient-left[data-v-abab526d]{left:0;background:linear-gradient(to right,var(--reportifact-toc-bg),transparent)}.reportifact-toc-gradient-right[data-v-abab526d]{right:0;background:linear-gradient(to left,var(--reportifact-toc-bg),transparent)}.reportifact-toc[data-v-abab526d]{display:inline-flex;gap:8px;padding:0;min-width:100%}.reportifact-toc-item[data-v-abab526d]{padding:6px 12px;font-size:13px;font-weight:500;color:var(--reportifact-text-muted);background:transparent;border:none;border-radius:6px;cursor:pointer;white-space:nowrap;transition:all .2s ease;font-family:inherit}.reportifact-toc-item[data-v-abab526d]:hover{background:var(--reportifact-bg-muted);color:var(--reportifact-text)}.reportifact-toc-item-active[data-v-abab526d]{background:var(--reportifact-border);color:var(--reportifact-text)}.reportifact-section{container-type:inline-size;display:flex;flex-direction:column;gap:var(--reportifact-widget-gap);scroll-margin-top:60px;margin-bottom:var(--reportifact-section-gap)}.reportifact-section:last-child{margin-bottom:0}.reportifact-section-title{font-size:17px;font-weight:600;margin-bottom:-10px}.reportifact-widget-article,.reportifact-grid-item{width:100%;min-width:0}.reportifact-widget-article-chart{width:100%}.reportifact-grid{display:grid;gap:16px;align-items:stretch;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}.reportifact-grid[data-layout="1"],.reportifact-grid[data-layout=auto][data-count="1"]{grid-template-columns:minmax(0,1fr)}.reportifact-grid[data-layout="1-2"]{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.reportifact-grid[data-layout="2"],.reportifact-grid[data-layout=auto][data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.reportifact-grid[data-layout="3"],.reportifact-grid[data-layout=auto][data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.reportifact-grid[data-layout="4"],.reportifact-grid[data-layout="4-2"],.reportifact-grid[data-layout=auto][data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.reportifact-grid[data-layout=auto][data-count="5"]{grid-template-columns:repeat(3,minmax(0,1fr))}.reportifact-grid[data-layout="6-3-2"],.reportifact-grid[data-layout=auto][data-count="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}.reportifact-grid-item{display:flex}.reportifact-grid-item-chart{min-width:0}.reportifact-grid-item>*{flex:1 1 auto;min-width:0}.reportifact-grid-item-table>.reportifact-widget-wrapper,.reportifact-grid-item-table>.reportifact-widget-wrapper>.reportifact-widget-content{height:100%;display:flex;flex-direction:column}.reportifact-grid-item-table .reportifact-table-container{width:100%;height:100%;display:flex;flex-direction:column}.reportifact-grid-item-table .reportifact-table-scroll{flex:1 1 auto;min-height:0}.reportifact-markdown table{width:min(100%,860px);border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--reportifact-border);border-radius:12px;background:var(--reportifact-bg);font-size:13px}.reportifact-markdown th,.reportifact-markdown td{padding:10px 14px;border-bottom:1px solid var(--reportifact-border);text-align:left;vertical-align:middle;white-space:nowrap}.reportifact-markdown th{background:var(--reportifact-bg-subtle);color:var(--reportifact-text-muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.reportifact-markdown tr:last-child td{border-bottom:0}.reportifact-markdown td:nth-child(3),.reportifact-markdown th:nth-child(3){text-align:right}.reportifact-markdown td code{font-size:13px;color:var(--reportifact-text);background:var(--reportifact-bg-muted);border:1px solid var(--reportifact-border);border-radius:6px;padding:2px 6px}.reportifact-markdown table a{display:inline-flex;align-items:center;justify-content:center;min-width:86px;padding:5px 10px;border-radius:999px;color:var(--reportifact-accent);background:color-mix(in srgb,var(--reportifact-accent) 10%,transparent);font-size:12px;font-weight:650;text-decoration:none}.reportifact-markdown table a:hover{background:color-mix(in srgb,var(--reportifact-accent) 16%,transparent);text-decoration:none}@container (max-width: 960px){.reportifact-grid[data-layout="6-3-2"],.reportifact-grid[data-layout=auto][data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}.reportifact-grid[data-layout=auto][data-count="5"]{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width: 1100px){.reportifact-grid[data-layout="4-2"],.reportifact-grid[data-layout=auto][data-count="4"],.reportifact-grid[data-layout="6-3-2"],.reportifact-grid[data-layout=auto][data-count="5"],.reportifact-grid[data-layout=auto][data-count="6"]{grid-template-columns:repeat(2,minmax(0,1fr))}.reportifact-grid[data-layout="1-2"],.reportifact-grid[data-layout="2"],.reportifact-grid[data-layout="3"],.reportifact-grid[data-layout="4"],.reportifact-grid[data-layout=auto][data-count="2"],.reportifact-grid[data-layout=auto][data-count="3"]{grid-template-columns:minmax(0,1fr)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("vue");function v(a,l={}){const{immediate:u=!0,transformUrl:c,onSuccess:i,onError:f}=l,r=n.ref(!0),s=n.ref(null);async function o(){try{const e=c?c(a.value):a.value;if(!e||e===""){r.value=!1;return}r.value=!0,s.value=null;const t=await fetch(e);if(!t.ok)throw new Error(`HTTP ${t.status}: ${t.statusText}`);i&&await i(t)}catch(e){const t=e instanceof Error?e:new Error(String(e));s.value=t.message,f&&f(t)}finally{r.value=!1}}return n.watch(a,e=>{(u||e&&e!=="")&&o()}),u&&n.onMounted(()=>{o()}),{loading:r,error:s,fetchData:o}}exports.useFetch=v;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ref as i, watch as v, onMounted as h } from "vue";
|
|
2
|
+
function w(a, l = {}) {
|
|
3
|
+
const { immediate: s = !0, transformUrl: u, onSuccess: c, onError: f } = l, r = i(!0), n = i(null);
|
|
4
|
+
async function o() {
|
|
5
|
+
try {
|
|
6
|
+
const t = u ? u(a.value) : a.value;
|
|
7
|
+
if (!t || t === "") {
|
|
8
|
+
r.value = !1;
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
r.value = !0, n.value = null;
|
|
12
|
+
const e = await fetch(t);
|
|
13
|
+
if (!e.ok)
|
|
14
|
+
throw new Error(`HTTP ${e.status}: ${e.statusText}`);
|
|
15
|
+
c && await c(e);
|
|
16
|
+
} catch (t) {
|
|
17
|
+
const e = t instanceof Error ? t : new Error(String(t));
|
|
18
|
+
n.value = e.message, f && f(e);
|
|
19
|
+
} finally {
|
|
20
|
+
r.value = !1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return v(a, (t) => {
|
|
24
|
+
(s || t && t !== "") && o();
|
|
25
|
+
}), s && h(() => {
|
|
26
|
+
o();
|
|
27
|
+
}), {
|
|
28
|
+
loading: r,
|
|
29
|
+
error: n,
|
|
30
|
+
fetchData: o
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
w as u
|
|
35
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Marked } from 'marked';
|
|
2
|
+
type CreateMarkedResolvers = {
|
|
3
|
+
resolveLinkUrl?: (url: string) => string;
|
|
4
|
+
resolveImageUrl?: (url: string) => string;
|
|
5
|
+
};
|
|
6
|
+
export declare function createMarked({ resolveLinkUrl, resolveImageUrl, }?: CreateMarkedResolvers): Marked;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Marked } from 'marked';
|
|
2
|
+
import { ChartType } from '../widgets/chart-config';
|
|
3
|
+
export interface MarkdownItem {
|
|
4
|
+
kind: 'markdown';
|
|
5
|
+
content: string;
|
|
6
|
+
html: string;
|
|
7
|
+
}
|
|
8
|
+
export interface WidgetItem {
|
|
9
|
+
kind: 'widget';
|
|
10
|
+
widgetType: string;
|
|
11
|
+
url: string;
|
|
12
|
+
chartType?: ChartType;
|
|
13
|
+
options: Record<string, unknown>;
|
|
14
|
+
content: string;
|
|
15
|
+
html: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GridItem {
|
|
18
|
+
kind: 'grid';
|
|
19
|
+
layout: string;
|
|
20
|
+
items: GridChildItem[];
|
|
21
|
+
}
|
|
22
|
+
export type GridChildItem = MarkdownItem | WidgetItem | GridItem;
|
|
23
|
+
export type SectionItem = MarkdownItem | WidgetItem | GridItem;
|
|
24
|
+
export interface ParsedSection {
|
|
25
|
+
title: string;
|
|
26
|
+
id: string;
|
|
27
|
+
items: SectionItem[];
|
|
28
|
+
}
|
|
29
|
+
export declare function parseIndexMd(content: string, marked: Marked): Promise<ParsedSection[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("fs");function b(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,a.get?a:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const m=b(w);function E(t,e,s){const a=Buffer.isBuffer(t)?t:m.readFileSync(t),c=new Map,i=new Set;if(e&&s&&s>0){const l=B(a,e);if(l===0)return{scalars:c,tags:[]};const n=new Set;if(l<=s)for(let d=0;d<l;d++)n.add(d);else{n.add(0),n.add(l-1);const d=Math.ceil((l-2)/(s-2));for(let f=d;f<l-1;f+=d)n.size<s&&n.add(f)}let g=0,r=0;for(;g<a.length&&!(g+12>a.length);){const d=Number(a.readBigUInt64LE(g));if(d<=0||d>10*1024*1024)break;const f=g+12,u=f+d,h=u+4;if(u>a.length)break;try{const k=a.subarray(f,u);if(p(k)===e){if(n.has(r)){const v=y(k);v&&v.tag===e&&v.value!==void 0&&v.step!==void 0&&(i.add(v.tag),c.has(v.tag)||c.set(v.tag,[]),c.get(v.tag).push({step:v.step,wallTime:v.wallTime||0,value:v.value,tag:v.tag}))}r++}}catch{}g=h}const o=c.get(e);o&&o.sort((d,f)=>d.step-f.step)}else if(e){let l=0;const n=[];for(;l<a.length&&!(l+12>a.length);){const g=Number(a.readBigUInt64LE(l));if(g<=0||g>10*1024*1024)break;const r=l+12,o=r+g,d=o+4;if(o>a.length)break;try{const f=a.subarray(r,o);if(p(f)===e){const h=y(f);h&&h.tag===e&&h.value!==void 0&&h.step!==void 0&&n.push({step:h.step,wallTime:h.wallTime||0,value:h.value,tag:h.tag})}}catch{}l=d}n.length>0&&(i.add(e),c.set(e,n))}else{let l=0;const n=new Map,g=new Map;for(;l<a.length&&!(l+12>a.length);){const r=Number(a.readBigUInt64LE(l));if(r<=0||r>10*1024*1024)break;const o=l+12,d=o+r,f=d+4;if(d>a.length)break;try{const u=a.subarray(o,d),h=y(u);if(h&&h.tag&&h.value!==void 0&&h.step!==void 0){if(e&&h.tag!==e){l=f;continue}i.add(h.tag),g.has(h.tag)||(g.set(h.tag,[]),n.set(h.tag,0)),g.get(h.tag).push({step:h.step,wallTime:h.wallTime||0,value:h.value,tag:h.tag}),n.set(h.tag,n.get(h.tag)+1)}}catch{}l=f}if(s&&s>0)for(const[r,o]of g.entries()){const d=n.get(r);if(d>s){const f=Math.ceil(d/s),u=[];u.push(o[0]),o.length>1&&u.push(o[o.length-1]);for(let h=f;h<o.length-1;h+=f)u.length<s&&u.push(o[h]);u.sort((h,k)=>h.step-k.step),c.set(r,u)}else c.set(r,o)}else for(const[r,o]of g.entries())c.set(r,o)}return{scalars:c,tags:Array.from(i)}}function B(t,e){let s=0,a=0;for(;s<t.length&&!(s+12>t.length);){const c=Number(t.readBigUInt64LE(s));if(c<=0||c>10*1024*1024)break;const i=s+12,l=i+c,n=l+4;if(l>t.length)break;try{const g=t.subarray(i,l);p(g)===e&&a++}catch{}s=n}return a}function p(t){let e=0;for(;e<t.length;){const s=t[e];if(!s)break;const a=s>>3,c=s&7;if(e++,c===2){let i=0,l=0;for(;e<t.length;){const n=t[e++];if(i|=(n&127)<<l,(n&128)===0||(l+=7,l>28))break}if(e+i<=t.length&&i>0){const n=t.subarray(e,e+i);if(e+=i,a===3||a===5)return S(n)}else break}else if(c===1)if(e+8<=t.length)e+=8;else break;else if(c===0)for(;e<t.length&&(t[e++]&128)!==0;);else break}return null}function S(t){let e=0;for(;e<t.length;){const s=t[e];if(!s)break;const a=s>>3,c=s&7;if(e++,c===2&&a===1){let i=0,l=0;for(;e<t.length;){const n=t[e++];if(i|=(n&127)<<l,(n&128)===0||(l+=7,l>28))break}if(e+i<=t.length&&i>0){const n=t.subarray(e,e+i);return T(n)}else break}else break}return null}function T(t){let e=0;if(e>=t.length)return null;const s=t[e],a=s>>3,c=s&7;if(e++,c===2&&(a===1||a===2)){let i=0,l=0;for(;e<t.length;){const n=t[e++];if(i|=(n&127)<<l,(n&128)===0||(l+=7,l>28))break}if(e+i<=t.length&&i>0&&i<1e3){const n=t.subarray(e,e+i);try{const g=n.toString("utf-8");if(g.length>0&&!g.includes("\0")&&/^[\x20-\x7E\/]+$/.test(g))return g}catch{}}}return null}function y(t){let e=0,s,a,c,i;for(;e<t.length;){const l=t[e];if(!l)break;const n=l>>3,g=l&7;if(e++,g===0){let r=0,o=0;for(;e<t.length;){const d=t[e++];if(r|=(d&127)<<o,(d&128)===0||(o+=7,o>63))break}n===2&&(s=r)}else if(g===1){if(e+8<=t.length){const r=t.readDoubleLE(e);e+=8,n===1&&(a=r)}}else if(g===2){let r=0,o=0;for(;e<t.length;){const d=t[e++];if(r|=(d&127)<<o,(d&128)===0)break;o+=7}if(e+r<=t.length){const d=t.subarray(e,e+r);if(e+=r,n===3||n===5){const f=N(d);f.value!==void 0&&(c=f.value),f.tag&&(i=f.tag)}}}else break}return{step:s,wallTime:a,value:c,tag:i}}function N(t){let e=0,s,a;for(;e<t.length;){const c=t[e];if(!c)break;const i=c>>3,l=c&7;if(e++,l===2&&i===1){let n=0,g=0;for(;e<t.length;){const r=t[e++];if(n|=(r&127)<<g,(r&128)===0||(g+=7,g>28))break}if(e+n<=t.length&&n>0){const r=t.subarray(e,e+n);e+=n;const o=I(r);o.value!==void 0&&s===void 0&&(s=o.value),o.tag&&!a&&(a=o.tag)}else break}else break}return{value:s,tag:a}}function I(t){let e=0,s,a;for(;e<t.length;){const c=t[e];if(!c)break;const i=c>>3,l=c&7;if(e++,l===2){let n=0,g=0;for(;e<t.length;){const r=t[e++];if(n|=(r&127)<<g,(r&128)===0||(g+=7,g>28))break}if(e+n<=t.length&&n>0){const r=t.subarray(e,e+n);if(e+=n,i===1||i===2)try{const o=r.toString("utf-8");o.length>0&&!o.includes("\0")&&/^[\x20-\x7E\/]+$/.test(o)&&(a=o)}catch{if(i===1){const o=L(r);o.value!==void 0&&(s=o.value)}}}else break}else if(l===1)if(e+8<=t.length)i===2&&(s=t.readDoubleLE(e)),e+=8;else break;else if(l===5)if(e+4<=t.length&&i===2)s=t.readFloatLE(e),e+=4;else if(e+4<=t.length)e+=4;else break;else if(l===0)for(;e<t.length&&(t[e++]&128)!==0;);else break}return{value:s,tag:a}}function L(t){let e=0,s;for(;e<t.length;){const a=t[e];if(!a)break;const c=a&7;if(e++,c===1)e+8<=t.length&&(s=t.readDoubleLE(e),e+=8);else if(c===2){let i=0,l=0;for(;e<t.length;){const n=t[e++];if(i|=(n&127)<<l,(n&128)===0)break;l+=7}e+=i}else break}return{value:s}}exports.parseTensorBoardEvents=E;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface ScalarEvent {
|
|
2
|
+
step: number;
|
|
3
|
+
wallTime: number;
|
|
4
|
+
value: number;
|
|
5
|
+
tag: string;
|
|
6
|
+
}
|
|
7
|
+
interface ParsedEvents {
|
|
8
|
+
scalars: Map<string, ScalarEvent[]>;
|
|
9
|
+
tags: string[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Parses TensorBoard events file and extracts scalar values
|
|
13
|
+
* TensorBoard events files contain protobuf-encoded Event messages
|
|
14
|
+
* Each event is prefixed with a CRC32 checksum (4 bytes) and length (8 bytes)
|
|
15
|
+
*
|
|
16
|
+
* @param input Path to the TensorBoard events file or Buffer with file contents
|
|
17
|
+
* @param targetTag Optional tag to filter by (for optimization)
|
|
18
|
+
* @param maxPoints Optional maximum number of points per tag (samples evenly)
|
|
19
|
+
*/
|
|
20
|
+
export declare function parseTensorBoardEvents(input: string | Buffer, targetTag?: string, maxPoints?: number): ParsedEvents;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import * as w from "fs";
|
|
2
|
+
function I(t, e, s) {
|
|
3
|
+
const a = Buffer.isBuffer(t) ? t : w.readFileSync(t), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set();
|
|
4
|
+
if (e && s && s > 0) {
|
|
5
|
+
const l = b(a, e);
|
|
6
|
+
if (l === 0)
|
|
7
|
+
return { scalars: r, tags: [] };
|
|
8
|
+
const n = /* @__PURE__ */ new Set();
|
|
9
|
+
if (l <= s)
|
|
10
|
+
for (let d = 0; d < l; d++)
|
|
11
|
+
n.add(d);
|
|
12
|
+
else {
|
|
13
|
+
n.add(0), n.add(l - 1);
|
|
14
|
+
const d = Math.ceil((l - 2) / (s - 2));
|
|
15
|
+
for (let f = d; f < l - 1; f += d)
|
|
16
|
+
n.size < s && n.add(f);
|
|
17
|
+
}
|
|
18
|
+
let h = 0, c = 0;
|
|
19
|
+
for (; h < a.length && !(h + 12 > a.length); ) {
|
|
20
|
+
const d = Number(a.readBigUInt64LE(h));
|
|
21
|
+
if (d <= 0 || d > 10 * 1024 * 1024) break;
|
|
22
|
+
const f = h + 12, v = f + d, g = v + 4;
|
|
23
|
+
if (v > a.length) break;
|
|
24
|
+
try {
|
|
25
|
+
const u = a.subarray(f, v);
|
|
26
|
+
if (p(u) === e) {
|
|
27
|
+
if (n.has(c)) {
|
|
28
|
+
const k = y(u);
|
|
29
|
+
k && k.tag === e && k.value !== void 0 && k.step !== void 0 && (i.add(k.tag), r.has(k.tag) || r.set(k.tag, []), r.get(k.tag).push({
|
|
30
|
+
step: k.step,
|
|
31
|
+
wallTime: k.wallTime || 0,
|
|
32
|
+
value: k.value,
|
|
33
|
+
tag: k.tag
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
c++;
|
|
37
|
+
}
|
|
38
|
+
} catch {
|
|
39
|
+
}
|
|
40
|
+
h = g;
|
|
41
|
+
}
|
|
42
|
+
const o = r.get(e);
|
|
43
|
+
o && o.sort((d, f) => d.step - f.step);
|
|
44
|
+
} else if (e) {
|
|
45
|
+
let l = 0;
|
|
46
|
+
const n = [];
|
|
47
|
+
for (; l < a.length && !(l + 12 > a.length); ) {
|
|
48
|
+
const h = Number(a.readBigUInt64LE(l));
|
|
49
|
+
if (h <= 0 || h > 10 * 1024 * 1024) break;
|
|
50
|
+
const c = l + 12, o = c + h, d = o + 4;
|
|
51
|
+
if (o > a.length) break;
|
|
52
|
+
try {
|
|
53
|
+
const f = a.subarray(c, o);
|
|
54
|
+
if (p(f) === e) {
|
|
55
|
+
const g = y(f);
|
|
56
|
+
g && g.tag === e && g.value !== void 0 && g.step !== void 0 && n.push({
|
|
57
|
+
step: g.step,
|
|
58
|
+
wallTime: g.wallTime || 0,
|
|
59
|
+
value: g.value,
|
|
60
|
+
tag: g.tag
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
} catch {
|
|
64
|
+
}
|
|
65
|
+
l = d;
|
|
66
|
+
}
|
|
67
|
+
n.length > 0 && (i.add(e), r.set(e, n));
|
|
68
|
+
} else {
|
|
69
|
+
let l = 0;
|
|
70
|
+
const n = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
71
|
+
for (; l < a.length && !(l + 12 > a.length); ) {
|
|
72
|
+
const c = Number(a.readBigUInt64LE(l));
|
|
73
|
+
if (c <= 0 || c > 10 * 1024 * 1024) break;
|
|
74
|
+
const o = l + 12, d = o + c, f = d + 4;
|
|
75
|
+
if (d > a.length) break;
|
|
76
|
+
try {
|
|
77
|
+
const v = a.subarray(o, d), g = y(v);
|
|
78
|
+
if (g && g.tag && g.value !== void 0 && g.step !== void 0) {
|
|
79
|
+
if (e && g.tag !== e) {
|
|
80
|
+
l = f;
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
i.add(g.tag), h.has(g.tag) || (h.set(g.tag, []), n.set(g.tag, 0)), h.get(g.tag).push({
|
|
84
|
+
step: g.step,
|
|
85
|
+
wallTime: g.wallTime || 0,
|
|
86
|
+
value: g.value,
|
|
87
|
+
tag: g.tag
|
|
88
|
+
}), n.set(g.tag, n.get(g.tag) + 1);
|
|
89
|
+
}
|
|
90
|
+
} catch {
|
|
91
|
+
}
|
|
92
|
+
l = f;
|
|
93
|
+
}
|
|
94
|
+
if (s && s > 0)
|
|
95
|
+
for (const [c, o] of h.entries()) {
|
|
96
|
+
const d = n.get(c);
|
|
97
|
+
if (d > s) {
|
|
98
|
+
const f = Math.ceil(d / s), v = [];
|
|
99
|
+
v.push(o[0]), o.length > 1 && v.push(o[o.length - 1]);
|
|
100
|
+
for (let g = f; g < o.length - 1; g += f)
|
|
101
|
+
v.length < s && v.push(o[g]);
|
|
102
|
+
v.sort((g, u) => g.step - u.step), r.set(c, v);
|
|
103
|
+
} else
|
|
104
|
+
r.set(c, o);
|
|
105
|
+
}
|
|
106
|
+
else
|
|
107
|
+
for (const [c, o] of h.entries())
|
|
108
|
+
r.set(c, o);
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
scalars: r,
|
|
112
|
+
tags: Array.from(i)
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
function b(t, e) {
|
|
116
|
+
let s = 0, a = 0;
|
|
117
|
+
for (; s < t.length && !(s + 12 > t.length); ) {
|
|
118
|
+
const r = Number(t.readBigUInt64LE(s));
|
|
119
|
+
if (r <= 0 || r > 10 * 1024 * 1024) break;
|
|
120
|
+
const i = s + 12, l = i + r, n = l + 4;
|
|
121
|
+
if (l > t.length) break;
|
|
122
|
+
try {
|
|
123
|
+
const h = t.subarray(i, l);
|
|
124
|
+
p(h) === e && a++;
|
|
125
|
+
} catch {
|
|
126
|
+
}
|
|
127
|
+
s = n;
|
|
128
|
+
}
|
|
129
|
+
return a;
|
|
130
|
+
}
|
|
131
|
+
function p(t) {
|
|
132
|
+
let e = 0;
|
|
133
|
+
for (; e < t.length; ) {
|
|
134
|
+
const s = t[e];
|
|
135
|
+
if (!s) break;
|
|
136
|
+
const a = s >> 3, r = s & 7;
|
|
137
|
+
if (e++, r === 2) {
|
|
138
|
+
let i = 0, l = 0;
|
|
139
|
+
for (; e < t.length; ) {
|
|
140
|
+
const n = t[e++];
|
|
141
|
+
if (i |= (n & 127) << l, (n & 128) === 0 || (l += 7, l > 28)) break;
|
|
142
|
+
}
|
|
143
|
+
if (e + i <= t.length && i > 0) {
|
|
144
|
+
const n = t.subarray(e, e + i);
|
|
145
|
+
if (e += i, a === 3 || a === 5)
|
|
146
|
+
return m(n);
|
|
147
|
+
} else
|
|
148
|
+
break;
|
|
149
|
+
} else if (r === 1)
|
|
150
|
+
if (e + 8 <= t.length)
|
|
151
|
+
e += 8;
|
|
152
|
+
else
|
|
153
|
+
break;
|
|
154
|
+
else if (r === 0)
|
|
155
|
+
for (; e < t.length && (t[e++] & 128) !== 0; )
|
|
156
|
+
;
|
|
157
|
+
else
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
function m(t) {
|
|
163
|
+
let e = 0;
|
|
164
|
+
for (; e < t.length; ) {
|
|
165
|
+
const s = t[e];
|
|
166
|
+
if (!s) break;
|
|
167
|
+
const a = s >> 3, r = s & 7;
|
|
168
|
+
if (e++, r === 2 && a === 1) {
|
|
169
|
+
let i = 0, l = 0;
|
|
170
|
+
for (; e < t.length; ) {
|
|
171
|
+
const n = t[e++];
|
|
172
|
+
if (i |= (n & 127) << l, (n & 128) === 0 || (l += 7, l > 28)) break;
|
|
173
|
+
}
|
|
174
|
+
if (e + i <= t.length && i > 0) {
|
|
175
|
+
const n = t.subarray(e, e + i);
|
|
176
|
+
return E(n);
|
|
177
|
+
} else
|
|
178
|
+
break;
|
|
179
|
+
} else
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
return null;
|
|
183
|
+
}
|
|
184
|
+
function E(t) {
|
|
185
|
+
let e = 0;
|
|
186
|
+
if (e >= t.length) return null;
|
|
187
|
+
const s = t[e], a = s >> 3, r = s & 7;
|
|
188
|
+
if (e++, r === 2 && (a === 1 || a === 2)) {
|
|
189
|
+
let i = 0, l = 0;
|
|
190
|
+
for (; e < t.length; ) {
|
|
191
|
+
const n = t[e++];
|
|
192
|
+
if (i |= (n & 127) << l, (n & 128) === 0 || (l += 7, l > 28)) break;
|
|
193
|
+
}
|
|
194
|
+
if (e + i <= t.length && i > 0 && i < 1e3) {
|
|
195
|
+
const n = t.subarray(e, e + i);
|
|
196
|
+
try {
|
|
197
|
+
const h = n.toString("utf-8");
|
|
198
|
+
if (h.length > 0 && !h.includes("\0") && /^[\x20-\x7E\/]+$/.test(h))
|
|
199
|
+
return h;
|
|
200
|
+
} catch {
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
return null;
|
|
205
|
+
}
|
|
206
|
+
function y(t) {
|
|
207
|
+
let e = 0, s, a, r, i;
|
|
208
|
+
for (; e < t.length; ) {
|
|
209
|
+
const l = t[e];
|
|
210
|
+
if (!l) break;
|
|
211
|
+
const n = l >> 3, h = l & 7;
|
|
212
|
+
if (e++, h === 0) {
|
|
213
|
+
let c = 0, o = 0;
|
|
214
|
+
for (; e < t.length; ) {
|
|
215
|
+
const d = t[e++];
|
|
216
|
+
if (c |= (d & 127) << o, (d & 128) === 0 || (o += 7, o > 63)) break;
|
|
217
|
+
}
|
|
218
|
+
n === 2 && (s = c);
|
|
219
|
+
} else if (h === 1) {
|
|
220
|
+
if (e + 8 <= t.length) {
|
|
221
|
+
const c = t.readDoubleLE(e);
|
|
222
|
+
e += 8, n === 1 && (a = c);
|
|
223
|
+
}
|
|
224
|
+
} else if (h === 2) {
|
|
225
|
+
let c = 0, o = 0;
|
|
226
|
+
for (; e < t.length; ) {
|
|
227
|
+
const d = t[e++];
|
|
228
|
+
if (c |= (d & 127) << o, (d & 128) === 0) break;
|
|
229
|
+
o += 7;
|
|
230
|
+
}
|
|
231
|
+
if (e + c <= t.length) {
|
|
232
|
+
const d = t.subarray(e, e + c);
|
|
233
|
+
if (e += c, n === 3 || n === 5) {
|
|
234
|
+
const f = B(d);
|
|
235
|
+
f.value !== void 0 && (r = f.value), f.tag && (i = f.tag);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
} else
|
|
239
|
+
break;
|
|
240
|
+
}
|
|
241
|
+
return { step: s, wallTime: a, value: r, tag: i };
|
|
242
|
+
}
|
|
243
|
+
function B(t) {
|
|
244
|
+
let e = 0, s, a;
|
|
245
|
+
for (; e < t.length; ) {
|
|
246
|
+
const r = t[e];
|
|
247
|
+
if (!r) break;
|
|
248
|
+
const i = r >> 3, l = r & 7;
|
|
249
|
+
if (e++, l === 2 && i === 1) {
|
|
250
|
+
let n = 0, h = 0;
|
|
251
|
+
for (; e < t.length; ) {
|
|
252
|
+
const c = t[e++];
|
|
253
|
+
if (n |= (c & 127) << h, (c & 128) === 0 || (h += 7, h > 28)) break;
|
|
254
|
+
}
|
|
255
|
+
if (e + n <= t.length && n > 0) {
|
|
256
|
+
const c = t.subarray(e, e + n);
|
|
257
|
+
e += n;
|
|
258
|
+
const o = S(c);
|
|
259
|
+
o.value !== void 0 && s === void 0 && (s = o.value), o.tag && !a && (a = o.tag);
|
|
260
|
+
} else
|
|
261
|
+
break;
|
|
262
|
+
} else
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
return { value: s, tag: a };
|
|
266
|
+
}
|
|
267
|
+
function S(t) {
|
|
268
|
+
let e = 0, s, a;
|
|
269
|
+
for (; e < t.length; ) {
|
|
270
|
+
const r = t[e];
|
|
271
|
+
if (!r) break;
|
|
272
|
+
const i = r >> 3, l = r & 7;
|
|
273
|
+
if (e++, l === 2) {
|
|
274
|
+
let n = 0, h = 0;
|
|
275
|
+
for (; e < t.length; ) {
|
|
276
|
+
const c = t[e++];
|
|
277
|
+
if (n |= (c & 127) << h, (c & 128) === 0 || (h += 7, h > 28)) break;
|
|
278
|
+
}
|
|
279
|
+
if (e + n <= t.length && n > 0) {
|
|
280
|
+
const c = t.subarray(e, e + n);
|
|
281
|
+
if (e += n, i === 1 || i === 2)
|
|
282
|
+
try {
|
|
283
|
+
const o = c.toString("utf-8");
|
|
284
|
+
o.length > 0 && !o.includes("\0") && /^[\x20-\x7E\/]+$/.test(o) && (a = o);
|
|
285
|
+
} catch {
|
|
286
|
+
if (i === 1) {
|
|
287
|
+
const o = T(c);
|
|
288
|
+
o.value !== void 0 && (s = o.value);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
} else
|
|
292
|
+
break;
|
|
293
|
+
} else if (l === 1)
|
|
294
|
+
if (e + 8 <= t.length)
|
|
295
|
+
i === 2 && (s = t.readDoubleLE(e)), e += 8;
|
|
296
|
+
else
|
|
297
|
+
break;
|
|
298
|
+
else if (l === 5)
|
|
299
|
+
if (e + 4 <= t.length && i === 2)
|
|
300
|
+
s = t.readFloatLE(e), e += 4;
|
|
301
|
+
else if (e + 4 <= t.length)
|
|
302
|
+
e += 4;
|
|
303
|
+
else
|
|
304
|
+
break;
|
|
305
|
+
else if (l === 0)
|
|
306
|
+
for (; e < t.length && (t[e++] & 128) !== 0; )
|
|
307
|
+
;
|
|
308
|
+
else
|
|
309
|
+
break;
|
|
310
|
+
}
|
|
311
|
+
return { value: s, tag: a };
|
|
312
|
+
}
|
|
313
|
+
function T(t) {
|
|
314
|
+
let e = 0, s;
|
|
315
|
+
for (; e < t.length; ) {
|
|
316
|
+
const a = t[e];
|
|
317
|
+
if (!a) break;
|
|
318
|
+
const r = a & 7;
|
|
319
|
+
if (e++, r === 1)
|
|
320
|
+
e + 8 <= t.length && (s = t.readDoubleLE(e), e += 8);
|
|
321
|
+
else if (r === 2) {
|
|
322
|
+
let i = 0, l = 0;
|
|
323
|
+
for (; e < t.length; ) {
|
|
324
|
+
const n = t[e++];
|
|
325
|
+
if (i |= (n & 127) << l, (n & 128) === 0) break;
|
|
326
|
+
l += 7;
|
|
327
|
+
}
|
|
328
|
+
e += i;
|
|
329
|
+
} else
|
|
330
|
+
break;
|
|
331
|
+
}
|
|
332
|
+
return { value: s };
|
|
333
|
+
}
|
|
334
|
+
export {
|
|
335
|
+
I as parseTensorBoardEvents
|
|
336
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { WidgetItem } from '../utils/parseIndexMd';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
widget: WidgetItem;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ChartType } from './chart-config';
|
|
2
|
+
import { ReportifactChartData } from '../portable/contracts';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Legacy/full-report resource URL. */
|
|
5
|
+
url?: string;
|
|
6
|
+
/** Portable resource URL. */
|
|
7
|
+
src?: string;
|
|
8
|
+
/** Inline portable chart data. Takes precedence over src/url. */
|
|
9
|
+
data?: ReportifactChartData;
|
|
10
|
+
type: ChartType;
|
|
11
|
+
options?: Record<string, unknown>;
|
|
12
|
+
};
|
|
13
|
+
declare function refresh(): void;
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
15
|
+
refresh: typeof refresh;
|
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"row-click": (payload: unknown) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onRow-click"?: ((payload: unknown) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
options: Record<string, unknown>;
|
|
22
|
+
data: undefined;
|
|
23
|
+
url: string;
|
|
24
|
+
src: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WidgetItem } from '../utils/parseIndexMd';
|
|
2
|
+
import { ReportifactMediaResolver } from '../mediaResolver';
|
|
3
|
+
import { ReportifactImageGalleryData } from '../portable/contracts';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
widget?: WidgetItem;
|
|
6
|
+
url?: string;
|
|
7
|
+
src?: string;
|
|
8
|
+
data?: ReportifactImageGalleryData;
|
|
9
|
+
options?: Record<string, unknown>;
|
|
10
|
+
mediaResolver?: ReportifactMediaResolver;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
13
|
+
refresh(): void;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"row-click": (payload: unknown) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onRow-click"?: ((payload: unknown) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
options: Record<string, unknown>;
|
|
20
|
+
data: ReportifactImageGalleryData;
|
|
21
|
+
url: string;
|
|
22
|
+
widget: WidgetItem;
|
|
23
|
+
src: string;
|
|
24
|
+
mediaResolver: ReportifactMediaResolver;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
url: string;
|
|
3
|
+
options?: Record<string, unknown>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
6
|
+
refresh(): void;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WidgetItem } from '../utils/parseIndexMd';
|
|
2
|
+
import { ReportifactMetricCalloutData } from '../portable/contracts';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
widget?: WidgetItem;
|
|
5
|
+
data?: ReportifactMetricCalloutData;
|
|
6
|
+
label?: string;
|
|
7
|
+
value?: string | number;
|
|
8
|
+
description?: string;
|
|
9
|
+
html?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
label: string;
|
|
13
|
+
html: string;
|
|
14
|
+
data: ReportifactMetricCalloutData;
|
|
15
|
+
value: string | number;
|
|
16
|
+
widget: WidgetItem;
|
|
17
|
+
description: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
19
|
+
export default _default;
|