diff --git a/public/asset-manifest.json b/public/asset-manifest.json index 7e0e807..dd61ee4 100644 --- a/public/asset-manifest.json +++ b/public/asset-manifest.json @@ -1,8 +1,8 @@ { "core.min.js": "core.d23af1c652.min.js", - "vendor.min.js": "vendor.87637f83f7.min.js", + "vendor.min.js": "vendor.e97357963c.min.js", "mermaid.min.js": "mermaid.a7356d5ed1.min.js", - "all.min.css": "all.ac28299e68.min.css", + "all.min.css": "all.e70efc34f0.min.css", "markdown.min.js": "markdown.6c8dfb7b1d.min.js", "pdf.min.js": "pdf.4d9cc6ff49.min.js", "notebook.min.js": "notebook.c3144c18ae.min.js", diff --git a/public/css/all.min.css b/public/css/all.min.css index 4e2f8b2..d436263 100644 --- a/public/css/all.min.css +++ b/public/css/all.min.css @@ -10,4 +10,4 @@ @container explorer-file (max-width: 700px) { .reviewer-preview .file-card-head .file-card-meta, .reviewer-preview .file-card-head .symbols { display: none !important; } } -.reviewer-preview .rp-main{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.reviewer-preview .rp-document{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;scrollbar-width:thin;position:relative}.reviewer-preview button.rp-count{background:0 0;border:0;padding:0;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.reviewer-preview button.rp-count:hover{text-decoration-color:currentColor}@media (max-width:767px){.reviewer-preview .file-card-head .rp-preserved-tag{display:none}}.billing-page{--bl-subscription:#008C7E;--bl-repository:#D0652A;--bl-conference:#6250D6}.dark-mode .billing-page{--bl-subscription:#16A091;--bl-repository:#D95926;--bl-conference:#9085E9}.billing-page .bl-subscription{background:var(--bl-subscription)!important}.billing-page .bl-repository{background:var(--bl-repository)!important}.billing-page .bl-conference{background:var(--bl-conference)!important}.billing-page .bl-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:4px 0 0}.billing-page .bl-basis{margin:0;font-size:12px;color:var(--ink-muted)}.billing-page .bl-message{display:flex;align-items:center;gap:8px;margin:14px 0 0;padding:10px 14px;border:1px solid var(--border-color);border-radius:var(--radius-control,8px);font-size:13px;color:var(--color);background:var(--paper-card)}.billing-page .bl-message .ui-icon{width:16px;height:16px;flex:none;color:var(--ink-muted)}.billing-page .bl-message.ov-performance-warning{border-color:color-mix(in srgb,var(--status-progress) 45%,var(--border-color));background:color-mix(in srgb,var(--status-progress) 8%,var(--paper-card))}.billing-page .bl-message.ov-performance-warning .ui-icon{color:var(--status-progress)}.billing-page .bl-message .btn{margin-left:auto}.overview-page .bl-kpi-row{grid-template-columns:repeat(6,minmax(0,1fr));margin:16px 0 16px}.overview-page .bl-kpi-row .ov-kpi-card{min-width:0;padding:16px 18px}.overview-page .bl-kpi-row .ov-kpi-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-page .bl-kpi-row .ov-kpi-sub{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.overview-page .bl-kpi-row .ov-kpi-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-page .bl-kpi-row .bl-muted-value{color:var(--ink-muted);font-size:20px;line-height:28px}.overview-page .bl-kpi-row.is-loading .ov-kpi-card{opacity:.6}.billing-page .bl-skeleton-value{display:block;width:50%;height:28px;margin:4px 0;border-radius:6px}@media (max-width:1279px){.overview-page .bl-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (max-width:767px){.overview-page .bl-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.billing-page .bl-health{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px;padding:10px 16px;margin:0 0 16px;border:1px solid var(--border-color);border-radius:var(--radius-control,8px);background:var(--paper-card);font-size:13px;font-variant-numeric:tabular-nums}.billing-page .bl-health-title{display:inline-flex;align-items:center;gap:8px;font-weight:600}.billing-page .bl-health-title .ov-svc-dot{width:8px;height:8px;margin:0;border-radius:50%}.billing-page .bl-dot-bad{background:var(--st-bad,#b42318)}.billing-page .bl-health-item .k{color:var(--ink-muted);margin-right:2px}.billing-page .bl-health-item.is-bad{color:var(--st-bad,#b42318);font-weight:600}.billing-page .bl-health-item.is-warn{color:#946519;font-weight:600}.dark-mode .billing-page .bl-health-item.is-warn{color:var(--status-progress)}.dark-mode .billing-page .bl-health-item.is-bad{color:#f08a82}.billing-page .bl-health-error{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-page .bl-health-error code{font-size:12px;color:inherit;background:var(--paper-bg-alt);padding:1px 5px;border-radius:4px}.billing-page .bl-chart-card{margin-bottom:16px}.billing-page .bl-swatch{display:inline-block;width:8px;height:8px;border-radius:2px;flex:none}.billing-page .bl-bars{position:relative;gap:3px}.billing-page .bl-bars.is-dense{gap:1px}.billing-page .bl-col{min-width:0}.billing-page .bl-stack{display:flex;flex-direction:column-reverse;width:100%;gap:1px;border-radius:2px 2px 0 0;overflow:hidden}.billing-page .bl-stack>i{display:block;min-height:2px;flex-basis:0}.billing-page .bl-col:hover .bl-stack{filter:brightness(1.08)}.billing-page .bl-col.is-zero .bl-stack{height:1px!important;background:var(--border-color)}.billing-page .bl-empty{margin:8px 0 4px;padding:32px 0;text-align:center;color:var(--ink-muted)}.billing-page .bl-plans{margin-bottom:24px}.billing-page .ov-metrics-table thead th.bl-group{text-align:center;border-bottom:1px solid var(--border-color)}.billing-page .ov-metrics-table tfoot td,.billing-page .ov-metrics-table tfoot th{border-top:1px solid var(--border-color);border-bottom:0;font-weight:600;background:var(--paper-bg-alt)}.billing-page .ov-metrics-table tbody tr:last-child>*{border-bottom:0}.billing-page .bl-plan-name{font-weight:500;text-align:left}.billing-page .bl-plan-cell .bl-swatch,.billing-page .bl-plan-name .bl-swatch{margin-right:8px;vertical-align:1px}.billing-page .bl-link{padding:0;border:0;background:0 0;font:inherit;color:var(--link-color);cursor:pointer;text-align:left}.billing-page .bl-link:hover{text-decoration:underline}.billing-page .bl-idle .bl-link,.billing-page .bl-idle td{color:var(--ink-faint)}.billing-page .ov-muted{color:var(--ink-faint)}.billing-page .bl-note{margin:10px 0 0}.billing-page .bl-grants{margin:8px 0 24px;scroll-margin-top:16px}.billing-page .bl-section-head{margin:0 0 8px}.billing-page .bl-section-head h2{margin:0}.billing-page .bl-grant-scroll{margin-top:12px}.billing-page .bl-grant-table th[scope=row]{font-weight:500;text-align:left;max-width:200px;overflow:hidden;text-overflow:ellipsis}.billing-page .bl-grant-table td,.billing-page .bl-grant-table th{padding:9px 12px}.billing-page .bl-grant-table th[scope=row] a,.billing-page .bl-scope a{color:var(--link-color)}.billing-page .bl-grant-table .sortable{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:0 0;font:inherit;color:inherit;cursor:pointer}.billing-page .bl-grant-table .sortable.active{color:var(--color)}.billing-page .bl-state{display:inline-flex;align-items:center;gap:6px}.billing-page .bl-state .status-dot{margin:0}.billing-page .bl-plan-cell{white-space:nowrap}.billing-page .bl-flag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;background:color-mix(in srgb,var(--status-progress) 14%,transparent);color:#7a5212}.dark-mode .billing-page .bl-flag{color:var(--status-progress)}.billing-page .bl-flag.is-bad{background:color-mix(in srgb,var(--st-bad,#b42318) 12%,transparent);color:#a1251b}.dark-mode .billing-page .bl-flag.is-bad{color:#f08a82}.billing-page .bl-scope a{display:inline-flex;align-items:center;gap:6px;max-width:200px;min-width:0}.billing-page .bl-scope a>span{overflow:hidden;text-overflow:ellipsis}.billing-page .bl-scope .ui-icon{width:14px;height:14px;flex:none;color:var(--ink-muted)}.billing-page .bl-page{font-family:var(--font-mono);font-size:12px;color:var(--ink-muted)}.billing-page .bl-alert{display:flex;align-items:center;gap:8px;margin:8px 0}.billing-page .bl-alert .btn{margin-left:auto}.billing-page .bl-pager{justify-content:space-between;border-bottom:none;margin-top:8px}.billing-page .paper-table-empty{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:12px}@media (max-width:767px){.billing-page .bl-health{gap:4px 14px}.billing-page .bl-health-title{flex-basis:100%}.billing-page .bl-toolbar .seg-filter{max-width:100%;overflow-x:auto}}.breadcrumb .redact-slot,.files .tree-name .redact-slot{position:relative;top:-.15em}.dark-mode .markdown-body :is(p,li,td,th,blockquote,dd) mark.redact-chip,.markdown-body :is(p,li,td,th,blockquote,dd) mark.redact-chip{vertical-align:.04em!important}.errors-page .error-health-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--border-color)}.errors-page .log-state{margin:0;font-size:12px;color:var(--ink-soft)}.errors-page .error-source-switch{display:flex;gap:24px;margin:16px 0 20px;padding:0;border:0;border-bottom:1px solid var(--border-color);background:0 0;border-radius:0}.errors-page .error-source-switch .seg-chip{border:0;border-bottom:2px solid transparent;border-radius:0;padding:8px 0;background:0 0;color:var(--ink-soft)}.errors-page .error-source-switch .seg-chip.active{border-bottom-color:var(--accent);color:var(--color);background:0 0}.errors-page .log-investigation{margin:0}.errors-page .log-investigation h2,.errors-page .redis-history-title{font-size:18px;margin:0}.errors-page .volume-head{gap:12px;flex-wrap:wrap;margin-bottom:14px}.errors-page .log-filters,.errors-page .log-local-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0 10px}.errors-page .log-filters label,.errors-page .log-local-filters label{display:grid;gap:6px;margin:0;font-size:12px;font-weight:500;min-width:0}.errors-page .log-filters label{flex:1}.errors-page .log-filters .form-control,.errors-page .log-local-filters .form-control{width:100%;min-width:0}.errors-page .log-local-filters .log-search{flex:1;min-width:180px}.errors-page .log-coverage,.errors-page .log-meta{font-size:12px;color:var(--ink-muted)}.errors-page .log-coverage{margin:8px 0 14px}.errors-page .log-meta{display:block;margin-top:4px}.errors-page .log-workspace{display:flex;align-items:start;gap:20px}.errors-page .log-results{flex:1;min-width:0}.errors-page .log-table-scroll{border:1px solid var(--border-color);border-radius:8px;overflow:hidden;background:var(--paper-card)}.errors-page .log-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.errors-page .log-table td,.errors-page .log-table th{padding:12px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.errors-page .log-table th{background:var(--paper-bg-alt);color:var(--ink-muted);font-size:11px;font-weight:500}.errors-page .log-table th:first-child{width:34%}.errors-page .log-table th:nth-child(3){width:9%;text-align:right}.errors-page .log-table td.log-count{text-align:right;font-variant-numeric:tabular-nums}.errors-page .log-table th:last-child{width:21%}.errors-page .log-table tbody tr+tr{border-top:1px solid var(--border-color)}.errors-page .log-selected{background:var(--paper-bg-alt)}.errors-page .log-event-button{display:block;width:100%;min-height:44px;border:0;background:0 0;color:var(--link-color);padding:0;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}.errors-page .log-event-button:hover{text-decoration:underline}.errors-page .log-severity{display:inline-flex;align-items:center;gap:6px;font-weight:500}.errors-page .log-severity::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.errors-page .log-severity-error{color:var(--status-error)}.errors-page .log-severity-warn{color:var(--status-progress)}.errors-page .log-severity-info{color:var(--ink-muted)}.errors-page .log-trace-button{display:inline-block;margin:3px 4px 3px 0;max-width:100%;white-space:normal;text-align:left}.errors-page .log-detail{min-width:0;padding:8px;overflow-wrap:anywhere}.errors-page .log-table .log-detail-row>td{background:var(--paper-bg-alt)}.errors-page .log-table tbody tr{scroll-margin-top:80px}.errors-page .log-origin{color:var(--ink-soft);margin:0 0 10px}.errors-page .log-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.errors-page .log-detail-row .log-detail{width:100%}.errors-page .log-detail h3,.errors-page .log-timeline h3{font-size:14px;margin:0}.errors-page .log-detail dl{margin:0;font-size:12px}.errors-page .log-detail dl>div{margin-top:12px}.errors-page .log-detail dt{font-weight:400;font-size:11px;color:var(--ink-muted)}.errors-page .log-detail dd{margin:3px 0 0}.errors-page .history-summary,.errors-page .log-health{margin:20px 0;font-size:12px;color:var(--ink-soft)}.errors-page summary{cursor:pointer;padding:8px 0}.errors-page .log-health summary span{margin-left:8px;color:var(--ink-muted)}.errors-page .log-health p{margin:8px 0;max-width:75ch}.errors-page .log-timeline{margin-top:20px;padding:20px;background:var(--paper-bg-alt);border:1px solid var(--border-color);border-radius:8px;font-size:12px}.errors-page .log-events code,.errors-page .log-health li,.errors-page .log-id{overflow-wrap:anywhere}.errors-page .log-events{padding-left:20px}.errors-page .log-events li{padding:12px 0;border-bottom:1px solid var(--border-color)}.errors-page .log-events code{display:block;color:var(--ink-soft)}.errors-page .log-loading{padding:28px 16px;background:var(--paper-bg-alt);color:var(--ink-soft)}.errors-page :focus-visible{outline:2px solid var(--accent);outline-offset:3px}.errors-page button.errors-row-main{border:0;background:0 0;color:inherit;width:100%;text-align:left;font:inherit}.errors-page button.errors-row-main:hover{background:var(--hover-bg-color)}.errors-page .errors-row-main .col-msg,.errors-page .errors-row-main .col-when{display:block}.errors-page .errors-row-main .when-abs,.errors-page .errors-row-main .when-rel{display:block}.errors-page .history-source>p{font-size:12px;color:var(--ink-soft);margin:10px 0}.errors-page .errors-actions{display:flex;flex-wrap:wrap;gap:8px}@media (max-width:1100px){.errors-page .log-workspace{flex-direction:column}.errors-page .log-detail,.errors-page .log-results{width:100%}}@media (max-width:767px){.errors-page .log-filters label{flex:1 1 40%}.errors-page .log-local-filters .log-search{flex-basis:100%}.errors-page .log-local-filters label{flex:1}.errors-page .log-table,.errors-page .log-table tbody{display:block}.errors-page .log-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.errors-page .log-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:14px}.errors-page .log-table td{display:block;padding:0;min-width:0}.errors-page .log-table td:first-child{grid-column:1/-1}.errors-page .log-table td:nth-child(4){color:var(--ink-muted)}.errors-page .log-table td:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.errors-page .log-table tbody tr.log-detail-row{display:block;padding:14px}.errors-page .log-table .log-detail-row>td{display:block}.errors-page .log-detail dl{grid-template-columns:1fr}.errors-page .log-detail{padding:0}.errors-page .log-count::before{content:'×'}.errors-page .log-timeline{padding:14px}.errors-page .errors-toolbar>:first-child{min-width:0}.errors-page .errors-toolbar .seg-filter{flex-wrap:wrap}.errors-page .errors-row-main{gap:8px;padding-left:12px;padding-right:12px}.errors-page .history-source .errors-list-head{display:none}.errors-page .history-source .errors-row-main{grid-template-columns:minmax(0,1fr) auto!important}.errors-page .history-source .errors-row-main .col-msg{grid-column:1/-1;grid-row:1}.errors-page .history-source .errors-row-main .col-when{grid-column:1}.errors-page .history-source .errors-row-main .col-count{grid-column:2;grid-row:2}.errors-page .history-source .errors-row-main .col-status{grid-column:2}}.errors-page .log-query{border-bottom:1px solid var(--border-color);margin:0 0 12px;font-size:12px}.errors-page .log-query-hint{float:right;color:var(--link-color)}.errors-page .log-investigation>.volume-head:has(.sr-only):not(:has(a)){margin:0}.errors-page .error-source-switch .seg-chip{box-shadow:none}.errors-page .log-filters>label{min-width:0!important}@media(max-width:767px){.errors-page .log-filters>label{width:auto!important;flex:1 1 40%}}.emails-page .email-overview-toolbar,.emails-page .email-refresh,.emails-page .email-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.email-overview-toolbar{margin:20px 0 10px}.email-basis,.email-muted,.email-refresh{color:var(--ink-muted);font-size:12px}.email-basis{margin:0 0 16px}.emails-page .email-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.email-error-text{color:var(--status-error)}.email-chart{margin-bottom:28px}.email-chart h2{margin:0}.email-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:11px}.email-chart-plot{display:flex;gap:10px;height:108px;margin-top:20px}.email-axis{display:flex;flex-direction:column;justify-content:space-between;color:var(--ink-muted);font:11px var(--font-mono);min-width:20px}.email-bars{display:flex;gap:5px;flex:1;border-bottom:1px solid var(--border-color);background:linear-gradient(var(--border-color),var(--border-color)) center/100% 1px no-repeat}.email-bar-column{flex:1;min-width:0;display:flex;align-items:flex-end;padding:0 2px}.email-bar-stack{width:100%;display:flex;flex-direction:column-reverse;gap:1px;border-radius:2px 2px 0 0;overflow:hidden;background:var(--border-color)}.email-bar-stack i{flex-basis:0;min-height:0}.email-bar-accepted{background:var(--status-ready)}.email-bar-rejected{background:var(--status-error)}.email-bar-unknown{background:var(--status-progress)}.email-chart-dates{display:flex;justify-content:space-between;gap:12px;margin:8px 0 0 30px;color:var(--ink-muted);font-size:11px}.email-section-head{margin-bottom:14px}.email-section-head h2{font-size:18px;margin:0}.email-toolbar{display:flex;align-items:end;gap:10px;margin-bottom:16px}.email-toolbar label{display:grid;gap:6px;margin:0;font-size:12px;font-weight:500}.email-toolbar .email-search{flex:1}.email-toolbar input{width:100%}.email-toolbar select{min-width:180px}.email-status-tabs{display:flex;gap:20px;border-bottom:1px solid var(--border-color);margin-bottom:14px;overflow-x:auto}.email-status-tabs button{padding:0 0 10px;background:0 0;border:0;border-bottom:2px solid transparent;color:var(--ink-muted);font:500 12px inherit;white-space:nowrap;cursor:pointer}.email-status-tabs button.active{border-color:var(--accent);color:var(--color)}.email-status-tabs button span{margin-left:5px;font-family:var(--font-mono);font-size:11px}.email-state{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:20px;margin:16px 0;background:var(--paper-card);border:1px solid var(--border-color);border-radius:8px;color:var(--ink-muted)}.email-state p{margin:0}.email-state-error{color:var(--status-error)}.email-table-wrap{border:1px solid var(--border-color);border-radius:8px;overflow:hidden;background:var(--paper-card)}.email-table{width:100%;table-layout:fixed;font-size:12px;line-height:1.5}.email-table td,.email-table th{padding:11px 14px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.email-table th{background:var(--paper-bg-alt);color:var(--ink-muted);font-weight:500;font-size:11px}.email-table tbody tr+tr{border-top:1px solid var(--border-color)}.email-table th:first-child{width:32%}.email-table th:nth-child(2){width:19%}.email-table th:nth-child(3){width:21%}.email-table th:nth-child(4){width:18%}.email-table th:last-child{width:10%}.email-recipient>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-attempted,.email-type{color:var(--ink-muted)}.email-outcome{display:inline-flex;align-items:center;gap:6px;font-weight:500;white-space:nowrap}.email-outcome::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.email-outcome-accepted{color:var(--status-ready)}.email-outcome-rejected{color:var(--status-error)}.email-outcome-sending,.email-outcome-unknown{color:var(--status-progress)}.email-http{margin-left:8px;color:var(--ink-muted);font:10px var(--font-mono)}.email-copy,.email-detail-button{border:0;background:0 0;color:var(--link-color);cursor:pointer;font:inherit;padding:3px 0}.email-detail-button{white-space:nowrap}.email-detail-button span{margin-left:5px}.email-copy:hover,.email-detail-button:hover{text-decoration:underline}.email-selected{background:var(--paper-bg-alt)}.email-expanded td{padding:20px 24px;background:var(--paper-bg-alt)}.email-detail-heading{display:flex;align-items:center;gap:16px}.email-detail-heading h3{margin:0;font-size:14px}.email-explanation{max-width:85ch;margin:10px 0 20px;color:var(--ink-soft)}.email-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px;margin:0}.email-detail-grid dt{color:var(--ink-muted);font-size:11px;font-weight:400;margin-bottom:4px}.email-detail-grid dd{margin:0;overflow-wrap:anywhere}.email-detail-grid code{color:inherit;background:0 0;padding:0;font-size:11px}.email-copy{margin-left:10px;font-size:11px}.email-copy-feedback{margin:10px 0 0;color:var(--ink-muted);min-height:18px}.email-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;color:var(--ink-muted);font-size:12px}.email-footer>div{display:flex;gap:8px}.email-about{margin:24px 0;color:var(--ink-muted);font-size:12px}.email-about summary{cursor:pointer;width:fit-content}.email-about p{max-width:90ch;margin:8px 0}@media(max-width:767px){.emails-page .email-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.emails-page .email-kpis .ov-kpi-card{padding:14px}.emails-page .email-kpis .ov-kpi-value{font-size:26px}.email-overview-toolbar .email-refresh{width:100%}.email-toolbar{flex-wrap:wrap}.email-toolbar .email-search{flex-basis:100%}.email-toolbar label:not(.email-search){flex:1}.email-toolbar select{min-width:0;width:100%}.email-legend{gap:10px}.email-chart .ov-chart-head{flex-wrap:wrap;gap:10px}.email-chart-dates{font-size:10px}.email-bars{gap:2px}.email-bar-column{padding:0}.email-status-tabs{gap:18px}.email-table,.email-table tbody{display:block}.email-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.email-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:14px}.email-table td{display:block;padding:0;min-width:0}.email-table .email-recipient{grid-column:1/-1}.email-table .email-recipient>span{white-space:normal}.email-table .email-result{grid-column:1}.email-table .email-type{grid-column:1}.email-table .email-attempted{grid-column:1;font-size:11px}.email-table .email-expand{grid-column:2;grid-row:2/5;align-self:center}.email-table tbody .email-expanded{display:block;padding:18px 14px;background:var(--paper-bg-alt)}.email-detail-grid{grid-template-columns:1fr;gap:14px}.email-detail-heading{flex-wrap:wrap}.email-section-head .email-muted{font-size:11px}.email-footer{flex-wrap:wrap}.email-table .email-http{font-size:10px}}.emails-page .ov-kpi-sub{white-space:normal;overflow:visible;text-overflow:clip}.email-pager-top{margin:0 0 10px}.email-status-tabs button{font-family:inherit;font-size:12px;font-weight:500}.email-chart-data{margin:12px 0 0 30px;color:var(--ink-muted);font-size:11px}.email-chart-data summary{cursor:pointer;width:fit-content}.email-data-scroll{overflow:auto;max-height:240px;margin-top:10px}.email-chart-data table{width:100%;font-variant-numeric:tabular-nums}.email-chart-data td,.email-chart-data th{text-align:right;padding:6px 10px;border-bottom:1px solid var(--border-color);white-space:nowrap}.email-chart-data th:first-child{text-align:left}.email-chart-data th{font-weight:500}.email-search-help{margin:-6px 0 16px;font-size:11px;color:var(--ink-muted)}@media(max-width:767px){.email-status-tabs{flex-wrap:wrap;gap:10px 18px;overflow:visible}.email-status-tabs button{padding-bottom:7px}.email-search-help{line-height:1.5}}.emails-page .email-kpis .ov-kpi-sub{white-space:normal!important}#email-history-title{scroll-margin-top:80px}.email-jump{font-size:12px;margin-right:auto} \ No newline at end of file +.reviewer-preview .rp-main{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.reviewer-preview .rp-document{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;scrollbar-width:thin;position:relative}.reviewer-preview button.rp-count{background:0 0;border:0;padding:0;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.reviewer-preview button.rp-count:hover{text-decoration-color:currentColor}@media (max-width:767px){.reviewer-preview .file-card-head .rp-preserved-tag{display:none}}.billing-page{--bl-subscription:#008C7E;--bl-repository:#D0652A;--bl-conference:#6250D6}.dark-mode .billing-page{--bl-subscription:#16A091;--bl-repository:#D95926;--bl-conference:#9085E9}.billing-page .bl-subscription{background:var(--bl-subscription)!important}.billing-page .bl-repository{background:var(--bl-repository)!important}.billing-page .bl-conference{background:var(--bl-conference)!important}.billing-page .bl-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:4px 0 0}.billing-page .bl-basis{margin:0;font-size:12px;color:var(--ink-muted)}.billing-page .bl-message{display:flex;align-items:center;gap:8px;margin:14px 0 0;padding:10px 14px;border:1px solid var(--border-color);border-radius:var(--radius-control,8px);font-size:13px;color:var(--color);background:var(--paper-card)}.billing-page .bl-message .ui-icon{width:16px;height:16px;flex:none;color:var(--ink-muted)}.billing-page .bl-message.ov-performance-warning{border-color:color-mix(in srgb,var(--status-progress) 45%,var(--border-color));background:color-mix(in srgb,var(--status-progress) 8%,var(--paper-card))}.billing-page .bl-message.ov-performance-warning .ui-icon{color:var(--status-progress)}.billing-page .bl-message .btn{margin-left:auto}.overview-page .bl-kpi-row{grid-template-columns:repeat(6,minmax(0,1fr));margin:16px 0 16px}.overview-page .bl-kpi-row .ov-kpi-card{min-width:0;padding:16px 18px}.overview-page .bl-kpi-row .ov-kpi-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-page .bl-kpi-row .ov-kpi-sub{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.overview-page .bl-kpi-row .ov-kpi-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-page .bl-kpi-row .bl-muted-value{color:var(--ink-muted);font-size:20px;line-height:28px}.overview-page .bl-kpi-row.is-loading .ov-kpi-card{opacity:.6}.billing-page .bl-skeleton-value{display:block;width:50%;height:28px;margin:4px 0;border-radius:6px}@media (max-width:1279px){.overview-page .bl-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (max-width:767px){.overview-page .bl-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.billing-page .bl-health{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px;padding:10px 16px;margin:0 0 16px;border:1px solid var(--border-color);border-radius:var(--radius-control,8px);background:var(--paper-card);font-size:13px;font-variant-numeric:tabular-nums}.billing-page .bl-health-title{display:inline-flex;align-items:center;gap:8px;font-weight:600}.billing-page .bl-health-title .ov-svc-dot{width:8px;height:8px;margin:0;border-radius:50%}.billing-page .bl-dot-bad{background:var(--st-bad,#b42318)}.billing-page .bl-health-item .k{color:var(--ink-muted);margin-right:2px}.billing-page .bl-health-item.is-bad{color:var(--st-bad,#b42318);font-weight:600}.billing-page .bl-health-item.is-warn{color:#946519;font-weight:600}.dark-mode .billing-page .bl-health-item.is-warn{color:var(--status-progress)}.dark-mode .billing-page .bl-health-item.is-bad{color:#f08a82}.billing-page .bl-health-error{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-page .bl-health-error code{font-size:12px;color:inherit;background:var(--paper-bg-alt);padding:1px 5px;border-radius:4px}.billing-page .bl-chart-card{margin-bottom:16px}.billing-page .bl-swatch{display:inline-block;width:8px;height:8px;border-radius:2px;flex:none}.billing-page .bl-bars{position:relative;gap:3px}.billing-page .bl-bars.is-dense{gap:1px}.billing-page .bl-col{min-width:0}.billing-page .bl-stack{display:flex;flex-direction:column-reverse;width:100%;gap:1px;border-radius:2px 2px 0 0;overflow:hidden}.billing-page .bl-stack>i{display:block;min-height:2px;flex-basis:0}.billing-page .bl-col:hover .bl-stack{filter:brightness(1.08)}.billing-page .bl-col.is-zero .bl-stack{height:1px!important;background:var(--border-color)}.billing-page .bl-empty{margin:8px 0 4px;padding:32px 0;text-align:center;color:var(--ink-muted)}.billing-page .bl-plans{margin-bottom:24px}.billing-page .ov-metrics-table thead th.bl-group{text-align:center;border-bottom:1px solid var(--border-color)}.billing-page .ov-metrics-table tfoot td,.billing-page .ov-metrics-table tfoot th{border-top:1px solid var(--border-color);border-bottom:0;font-weight:600;background:var(--paper-bg-alt)}.billing-page .ov-metrics-table tbody tr:last-child>*{border-bottom:0}.billing-page .bl-plan-name{font-weight:500;text-align:left}.billing-page .bl-plan-cell .bl-swatch,.billing-page .bl-plan-name .bl-swatch{margin-right:8px;vertical-align:1px}.billing-page .bl-link{padding:0;border:0;background:0 0;font:inherit;color:var(--link-color);cursor:pointer;text-align:left}.billing-page .bl-link:hover{text-decoration:underline}.billing-page .bl-idle .bl-link,.billing-page .bl-idle td{color:var(--ink-faint)}.billing-page .ov-muted{color:var(--ink-faint)}.billing-page .bl-note{margin:10px 0 0}.billing-page .bl-grants{margin:8px 0 24px;scroll-margin-top:16px}.billing-page .bl-section-head{margin:0 0 8px}.billing-page .bl-section-head h2{margin:0}.billing-page .bl-grant-scroll{margin-top:12px}.billing-page .bl-grant-table th[scope=row]{font-weight:500;text-align:left;max-width:200px;overflow:hidden;text-overflow:ellipsis}.billing-page .bl-grant-table td,.billing-page .bl-grant-table th{padding:9px 12px}.billing-page .bl-grant-table th[scope=row] a,.billing-page .bl-scope a{color:var(--link-color)}.billing-page .bl-grant-table .sortable{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:0 0;font:inherit;color:inherit;cursor:pointer}.billing-page .bl-grant-table .sortable.active{color:var(--color)}.billing-page .bl-state{display:inline-flex;align-items:center;gap:6px}.billing-page .bl-state .status-dot{margin:0}.billing-page .bl-plan-cell{white-space:nowrap}.billing-page .bl-flag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;background:color-mix(in srgb,var(--status-progress) 14%,transparent);color:#7a5212}.dark-mode .billing-page .bl-flag{color:var(--status-progress)}.billing-page .bl-flag.is-bad{background:color-mix(in srgb,var(--st-bad,#b42318) 12%,transparent);color:#a1251b}.dark-mode .billing-page .bl-flag.is-bad{color:#f08a82}.billing-page .bl-scope a{display:inline-flex;align-items:center;gap:6px;max-width:200px;min-width:0}.billing-page .bl-scope a>span{overflow:hidden;text-overflow:ellipsis}.billing-page .bl-scope .ui-icon{width:14px;height:14px;flex:none;color:var(--ink-muted)}.billing-page .bl-page{font-family:var(--font-mono);font-size:12px;color:var(--ink-muted)}.billing-page .bl-alert{display:flex;align-items:center;gap:8px;margin:8px 0}.billing-page .bl-alert .btn{margin-left:auto}.billing-page .bl-pager{justify-content:space-between;border-bottom:none;margin-top:8px}.billing-page .paper-table-empty{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:12px}@media (max-width:767px){.billing-page .bl-health{gap:4px 14px}.billing-page .bl-health-title{flex-basis:100%}.billing-page .bl-toolbar .seg-filter{max-width:100%;overflow-x:auto}}.breadcrumb .redact-slot,.files .tree-name .redact-slot{position:relative;top:-.15em}.dark-mode .markdown-body :is(p,li,td,th,blockquote,dd) mark.redact-chip,.markdown-body :is(p,li,td,th,blockquote,dd) mark.redact-chip{vertical-align:.04em!important}.errors-page .error-health-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;margin:20px 0 8px;border:1px solid var(--border-color);border-radius:8px;background:var(--paper-card)}.errors-page .log-state{flex:1;margin:0;font-size:13px;color:var(--ink-soft)}.errors-page .error-source-switch{display:flex;gap:24px;margin:12px 0 16px;padding:0;border:0;border-bottom:1px solid var(--border-color);background:0 0;border-radius:0}.errors-page .error-source-switch .seg-chip{border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0;font-size:14px;font-weight:500;background:0 0;color:var(--ink-soft)}.errors-page .error-source-switch .seg-chip.active{border-bottom-color:var(--accent);color:var(--color);background:0 0}.errors-page .log-investigation{margin:0}.errors-page .log-investigation h2,.errors-page .redis-history-title{font-size:18px;margin:0}.errors-page .volume-head{gap:12px;flex-wrap:wrap;margin-bottom:14px}.errors-page .log-filters,.errors-page .log-local-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0 10px}.errors-page .log-filters label,.errors-page .log-local-filters label{display:grid;gap:6px;margin:0;font-size:12px;font-weight:500;min-width:0}.errors-page .log-filters label{flex:1}.errors-page .log-filters .form-control,.errors-page .log-local-filters .form-control{width:100%;min-width:0}.errors-page .log-local-filters .log-search{flex:1;min-width:180px}.errors-page .log-coverage,.errors-page .log-meta{font-size:12px;color:var(--ink-muted)}.errors-page .log-coverage{margin:8px 0 14px}.errors-page .log-meta{display:block;margin-top:4px}.errors-page .log-workspace{display:flex;align-items:start;gap:20px}.errors-page .log-results{flex:1;min-width:0}.errors-page .log-table-scroll{border:1px solid var(--border-color);border-radius:8px;overflow:hidden;background:var(--paper-card)}.errors-page .log-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.errors-page .log-table td,.errors-page .log-table th{padding:14px 16px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.errors-page .log-table th{background:var(--paper-bg-alt);color:var(--ink-muted);font-size:11px;font-weight:500}.errors-page .log-table th:first-child{width:29%}.errors-page .log-table th:nth-child(2){width:15%}.errors-page .log-table th:nth-child(4){width:13%}.errors-page .log-table th:nth-child(3){width:8%;text-align:right}.errors-page .log-table td.log-count{text-align:right;font:500 14px var(--font-mono);background:0 0!important;box-shadow:none}.errors-page .log-table th:last-child{width:35%}.errors-page .log-table tbody tr+tr{border-top:1px solid var(--border-color)}.errors-page .log-table tbody tr:hover{background:var(--paper-bg-alt)}.errors-page .log-table tbody tr.log-selected{background:var(--accent-soft)}.errors-page .log-event-button{display:block;width:100%;min-height:44px;border:0;background:0 0;color:var(--color);padding:0;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}.errors-page .log-event-button strong{font-size:14px;font-weight:600;line-height:1.5}.errors-page .log-event-button:hover strong,.errors-page .log-selected .log-event-button strong{color:var(--link-color)}.errors-page .log-event-button:hover strong{text-decoration:underline;text-underline-offset:3px}.errors-page .log-service{color:var(--ink-soft);font-weight:500}.errors-page .log-module{color:var(--ink-muted);font-weight:400}.errors-page .log-severity{display:inline-flex;align-items:center;gap:6px;font-weight:500}.errors-page .log-severity::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.errors-page .log-severity-error{color:var(--status-error)}.errors-page .log-severity-warn{color:var(--status-progress)}.errors-page .log-severity-info{color:var(--ink-muted)}.errors-page .log-trace-button{display:inline-flex;align-items:center;gap:6px;margin:3px 4px 3px 0;max-width:100%;white-space:normal;text-align:left}.errors-page .log-short-id{font:11px var(--font-mono);color:var(--ink-soft)}.errors-page .log-detail{min-width:0;padding:8px 4px;overflow-wrap:anywhere}.errors-page .log-table .log-detail-row>td{background:var(--paper-bg-alt)}.errors-page .log-table tbody tr{scroll-margin-top:80px}.errors-page .log-origin{color:var(--ink-soft);margin:0 0 10px}.errors-page .log-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.errors-page .log-detail-row .log-detail{width:100%}.errors-page .log-detail h3,.errors-page .log-timeline h3{font-size:14px;margin:0}.errors-page .log-detail dl{margin:0;font-size:12px}.errors-page .log-detail dl>div{margin-top:12px}.errors-page .log-detail dt{font-weight:400;font-size:11px;color:var(--ink-muted)}.errors-page .log-detail dd{margin:5px 0 0;font-family:var(--font-mono);line-height:1.6}.errors-page .log-detail-heading{align-items:flex-start;justify-content:space-between}.errors-page .log-detail #log-detail-title{font-size:18px!important;line-height:1.4;font-weight:600;margin:0}.errors-page .log-detail-heading>div{min-width:0}.errors-page .log-detail-heading>button{flex-shrink:0}.errors-page .log-detail-section{border-top:1px solid var(--border-color);padding-top:14px;margin-top:18px}.errors-page .log-detail-section h4{font-size:12px!important;font-weight:600;margin:0 0 4px;color:var(--ink-soft)}.errors-page .log-detail-identifiers{grid-template-columns:1fr}.errors-page .log-detail-identifiers>div{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:baseline;gap:12px}.errors-page .log-detail-identifiers dd{margin:0}.errors-page .log-detail-dates dd{font-family:var(--font-sans)}.errors-page .history-summary,.errors-page .log-health{margin:20px 0;font-size:12px;color:var(--ink-soft)}.errors-page summary{cursor:pointer;padding:8px 0}.errors-page .log-health summary span{margin-left:8px;color:var(--ink-muted)}.errors-page .log-health p{margin:8px 0;max-width:75ch}.errors-page .log-timeline{margin-top:20px;padding:20px;background:var(--paper-bg-alt);border:1px solid var(--border-color);border-radius:8px;font-size:12px}.errors-page .log-events code,.errors-page .log-health li,.errors-page .log-id{overflow-wrap:anywhere}.errors-page .log-events{padding-left:20px}.errors-page .log-events li{padding:12px 0;border-bottom:1px solid var(--border-color)}.errors-page .log-events code{display:block;color:var(--ink-soft)}.errors-page .log-loading{padding:28px 16px;background:var(--paper-bg-alt);color:var(--ink-soft)}.errors-page :focus-visible{outline:2px solid var(--accent);outline-offset:3px}.errors-page button.errors-row-main{border:0;background:0 0;color:inherit;width:100%;text-align:left;font:inherit}.errors-page button.errors-row-main:hover{background:var(--hover-bg-color)}.errors-page .errors-row-main .col-msg,.errors-page .errors-row-main .col-when{display:block}.errors-page .errors-row-main .when-abs,.errors-page .errors-row-main .when-rel{display:block}.errors-page .history-source>p{font-size:12px;color:var(--ink-soft);margin:10px 0}.errors-page .errors-actions{display:flex;flex-wrap:wrap;gap:8px}@media (max-width:1100px){.errors-page .log-workspace{flex-direction:column}.errors-page .log-detail,.errors-page .log-results{width:100%}}@media (max-width:767px){.errors-page .log-filters label{flex:1 1 40%}.errors-page .log-local-filters .log-search{flex-basis:100%}.errors-page .log-local-filters label{flex:1}.errors-page .log-table,.errors-page .log-table tbody{display:block}.errors-page .log-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.errors-page .log-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:14px}.errors-page .log-table td{display:block;padding:0;min-width:0}.errors-page .log-table td:first-child{grid-column:1/-1}.errors-page .log-table td:nth-child(4){color:var(--ink-muted)}.errors-page .log-table td:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.errors-page .log-table tbody tr.log-detail-row{display:block;padding:14px}.errors-page .log-table .log-detail-row>td{display:block}.errors-page .log-detail dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px}.errors-page .log-detail .log-detail-identifiers{grid-template-columns:1fr}.errors-page .log-detail-identifiers>div{grid-template-columns:62px minmax(0,1fr)}.errors-page .log-detail-heading{gap:10px}.errors-page .log-detail #log-detail-title{font-size:16px!important}.errors-page .log-detail{padding:0}.errors-page .log-count::before{content:'×';font-size:12px;color:var(--ink-muted);margin-right:3px}.errors-page .error-health-strip{padding:12px}.errors-page .log-state{flex:1 1 175px}.errors-page .log-table td.log-count{align-self:start}.errors-page .log-table td:nth-child(4){grid-column:2;grid-row:2;align-self:end;margin-top:28px;font-size:11px;text-align:right}.errors-page .log-table td.log-count{grid-column:2;grid-row:2}.errors-page .log-table td:nth-child(2){grid-column:1;grid-row:2}.errors-page .log-timeline{padding:14px}.errors-page .errors-toolbar>:first-child{min-width:0}.errors-page .errors-toolbar .seg-filter{flex-wrap:wrap}.errors-page .errors-row-main{gap:8px;padding-left:12px;padding-right:12px}.errors-page .history-source .errors-list-head{display:none}.errors-page .history-source .errors-row-main{grid-template-columns:minmax(0,1fr) auto!important}.errors-page .history-source .errors-row-main .col-msg{grid-column:1/-1;grid-row:1}.errors-page .history-source .errors-row-main .col-when{grid-column:1}.errors-page .history-source .errors-row-main .col-count{grid-column:2;grid-row:2}.errors-page .history-source .errors-row-main .col-status{grid-column:2}}.errors-page .log-query{margin:0 0 8px;font-size:12px;color:var(--ink-soft)}.errors-page .log-query[open]{border-bottom:1px solid var(--border-color);padding-bottom:8px}.errors-page .log-query-hint{float:right;color:var(--link-color)}.errors-page .log-investigation>.volume-head:has(.sr-only):not(:has(a)){margin:0}.errors-page .error-source-switch .seg-chip{box-shadow:none}.errors-page .log-filters>label{min-width:0!important}@media(max-width:767px){.errors-page .log-filters>label{width:auto!important;flex:1 1 40%}}.emails-page .email-overview-toolbar,.emails-page .email-refresh,.emails-page .email-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.email-overview-toolbar{margin:20px 0 10px}.email-basis,.email-muted,.email-refresh{color:var(--ink-muted);font-size:12px}.email-basis{margin:0 0 16px}.emails-page .email-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.email-error-text{color:var(--status-error)}.email-chart{margin-bottom:28px}.email-chart h2{margin:0}.email-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:11px}.email-chart-plot{display:flex;gap:10px;height:108px;margin-top:20px}.email-axis{display:flex;flex-direction:column;justify-content:space-between;color:var(--ink-muted);font:11px var(--font-mono);min-width:20px}.email-bars{display:flex;gap:5px;flex:1;border-bottom:1px solid var(--border-color);background:linear-gradient(var(--border-color),var(--border-color)) center/100% 1px no-repeat}.email-bar-column{flex:1;min-width:0;display:flex;align-items:flex-end;padding:0 2px}.email-bar-stack{width:100%;display:flex;flex-direction:column-reverse;gap:1px;border-radius:2px 2px 0 0;overflow:hidden;background:var(--border-color)}.email-bar-stack i{flex-basis:0;min-height:0}.email-bar-accepted{background:var(--status-ready)}.email-bar-rejected{background:var(--status-error)}.email-bar-unknown{background:var(--status-progress)}.email-chart-dates{display:flex;justify-content:space-between;gap:12px;margin:8px 0 0 30px;color:var(--ink-muted);font-size:11px}.email-section-head{margin-bottom:14px}.email-section-head h2{font-size:18px;margin:0}.email-toolbar{display:flex;align-items:end;gap:10px;margin-bottom:16px}.email-toolbar label{display:grid;gap:6px;margin:0;font-size:12px;font-weight:500}.email-toolbar .email-search{flex:1}.email-toolbar input{width:100%}.email-toolbar select{min-width:180px}.email-status-tabs{display:flex;gap:20px;border-bottom:1px solid var(--border-color);margin-bottom:14px;overflow-x:auto}.email-status-tabs button{padding:0 0 10px;background:0 0;border:0;border-bottom:2px solid transparent;color:var(--ink-muted);font:500 12px inherit;white-space:nowrap;cursor:pointer}.email-status-tabs button.active{border-color:var(--accent);color:var(--color)}.email-status-tabs button span{margin-left:5px;font-family:var(--font-mono);font-size:11px}.email-state{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:20px;margin:16px 0;background:var(--paper-card);border:1px solid var(--border-color);border-radius:8px;color:var(--ink-muted)}.email-state p{margin:0}.email-state-error{color:var(--status-error)}.email-table-wrap{border:1px solid var(--border-color);border-radius:8px;overflow:hidden;background:var(--paper-card)}.email-table{width:100%;table-layout:fixed;font-size:12px;line-height:1.5}.email-table td,.email-table th{padding:11px 14px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.email-table th{background:var(--paper-bg-alt);color:var(--ink-muted);font-weight:500;font-size:11px}.email-table tbody tr+tr{border-top:1px solid var(--border-color)}.email-table th:first-child{width:32%}.email-table th:nth-child(2){width:19%}.email-table th:nth-child(3){width:21%}.email-table th:nth-child(4){width:18%}.email-table th:last-child{width:10%}.email-recipient>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-attempted,.email-type{color:var(--ink-muted)}.email-outcome{display:inline-flex;align-items:center;gap:6px;font-weight:500;white-space:nowrap}.email-outcome::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.email-outcome-accepted{color:var(--status-ready)}.email-outcome-rejected{color:var(--status-error)}.email-outcome-sending,.email-outcome-unknown{color:var(--status-progress)}.email-http{margin-left:8px;color:var(--ink-muted);font:10px var(--font-mono)}.email-copy,.email-detail-button{border:0;background:0 0;color:var(--link-color);cursor:pointer;font:inherit;padding:3px 0}.email-detail-button{white-space:nowrap}.email-detail-button span{margin-left:5px}.email-copy:hover,.email-detail-button:hover{text-decoration:underline}.email-selected{background:var(--paper-bg-alt)}.email-expanded td{padding:20px 24px;background:var(--paper-bg-alt)}.email-detail-heading{display:flex;align-items:center;gap:16px}.email-detail-heading h3{margin:0;font-size:14px}.email-explanation{max-width:85ch;margin:10px 0 20px;color:var(--ink-soft)}.email-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px;margin:0}.email-detail-grid dt{color:var(--ink-muted);font-size:11px;font-weight:400;margin-bottom:4px}.email-detail-grid dd{margin:0;overflow-wrap:anywhere}.email-detail-grid code{color:inherit;background:0 0;padding:0;font-size:11px}.email-copy{margin-left:10px;font-size:11px}.email-copy-feedback{margin:10px 0 0;color:var(--ink-muted);min-height:18px}.email-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;color:var(--ink-muted);font-size:12px}.email-footer>div{display:flex;gap:8px}.email-about{margin:24px 0;color:var(--ink-muted);font-size:12px}.email-about summary{cursor:pointer;width:fit-content}.email-about p{max-width:90ch;margin:8px 0}@media(max-width:767px){.emails-page .email-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.emails-page .email-kpis .ov-kpi-card{padding:14px}.emails-page .email-kpis .ov-kpi-value{font-size:26px}.email-overview-toolbar .email-refresh{width:100%}.email-toolbar{flex-wrap:wrap}.email-toolbar .email-search{flex-basis:100%}.email-toolbar label:not(.email-search){flex:1}.email-toolbar select{min-width:0;width:100%}.email-legend{gap:10px}.email-chart .ov-chart-head{flex-wrap:wrap;gap:10px}.email-chart-dates{font-size:10px}.email-bars{gap:2px}.email-bar-column{padding:0}.email-status-tabs{gap:18px}.email-table,.email-table tbody{display:block}.email-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.email-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:14px}.email-table td{display:block;padding:0;min-width:0}.email-table .email-recipient{grid-column:1/-1}.email-table .email-recipient>span{white-space:normal}.email-table .email-result{grid-column:1}.email-table .email-type{grid-column:1}.email-table .email-attempted{grid-column:1;font-size:11px}.email-table .email-expand{grid-column:2;grid-row:2/5;align-self:center}.email-table tbody .email-expanded{display:block;padding:18px 14px;background:var(--paper-bg-alt)}.email-detail-grid{grid-template-columns:1fr;gap:14px}.email-detail-heading{flex-wrap:wrap}.email-section-head .email-muted{font-size:11px}.email-footer{flex-wrap:wrap}.email-table .email-http{font-size:10px}}.emails-page .ov-kpi-sub{white-space:normal;overflow:visible;text-overflow:clip}.email-pager-top{margin:0 0 10px}.email-status-tabs button{font-family:inherit;font-size:12px;font-weight:500}.email-chart-data{margin:12px 0 0 30px;color:var(--ink-muted);font-size:11px}.email-chart-data summary{cursor:pointer;width:fit-content}.email-data-scroll{overflow:auto;max-height:240px;margin-top:10px}.email-chart-data table{width:100%;font-variant-numeric:tabular-nums}.email-chart-data td,.email-chart-data th{text-align:right;padding:6px 10px;border-bottom:1px solid var(--border-color);white-space:nowrap}.email-chart-data th:first-child{text-align:left}.email-chart-data th{font-weight:500}.email-search-help{margin:-6px 0 16px;font-size:11px;color:var(--ink-muted)}@media(max-width:767px){.email-status-tabs{flex-wrap:wrap;gap:10px 18px;overflow:visible}.email-status-tabs button{padding-bottom:7px}.email-search-help{line-height:1.5}}.emails-page .email-kpis .ov-kpi-sub{white-space:normal!important}#email-history-title{scroll-margin-top:80px}.email-jump{font-size:12px;margin-right:auto} \ No newline at end of file diff --git a/public/css/style.css b/public/css/style.css index 209e22d..7053477 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -14330,10 +14330,10 @@ body.dark-mode .reviewer-preview .rp-preserved-tag { background: rgba(251, 191, .markdown-body :is(p, li, td, th, blockquote, dd) mark.redact-chip, .dark-mode .markdown-body :is(p, li, td, th, blockquote, dd) mark.redact-chip { vertical-align: .04em !important; } /* Errors uses the admin paper shell, controls, and semantic status colors. */ -.errors-page .error-health-strip { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--border-color); } -.errors-page .log-state { margin:0; font-size:12px; color:var(--ink-soft); } -.errors-page .error-source-switch { display:flex; gap:24px; margin:16px 0 20px; padding:0; border:0; border-bottom:1px solid var(--border-color); background:none; border-radius:0; } -.errors-page .error-source-switch .seg-chip { border:0; border-bottom:2px solid transparent; border-radius:0; padding:8px 0; background:none; color:var(--ink-soft); } +.errors-page .error-health-strip { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:12px 16px; margin:20px 0 8px; border:1px solid var(--border-color); border-radius:8px; background:var(--paper-card); } +.errors-page .log-state { flex:1; margin:0; font-size:13px; color:var(--ink-soft); } +.errors-page .error-source-switch { display:flex; gap:24px; margin:12px 0 16px; padding:0; border:0; border-bottom:1px solid var(--border-color); background:none; border-radius:0; } +.errors-page .error-source-switch .seg-chip { border:0; border-bottom:2px solid transparent; border-radius:0; padding:10px 0; font-size:14px; font-weight:500; background:none; color:var(--ink-soft); } .errors-page .error-source-switch .seg-chip.active { border-bottom-color:var(--accent); color:var(--color); background:none; } .errors-page .log-investigation { margin:0; } .errors-page .log-investigation h2, .errors-page .redis-history-title { font-size:18px; margin:0; } @@ -14350,23 +14350,31 @@ body.dark-mode .reviewer-preview .rp-preserved-tag { background: rgba(251, 191, .errors-page .log-results { flex:1; min-width:0; } .errors-page .log-table-scroll { border:1px solid var(--border-color); border-radius:8px; overflow:hidden; background:var(--paper-card); } .errors-page .log-table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:12px; } -.errors-page .log-table th, .errors-page .log-table td { padding:12px; text-align:left; vertical-align:middle; overflow-wrap:anywhere; } +.errors-page .log-table th, .errors-page .log-table td { padding:14px 16px; text-align:left; vertical-align:middle; overflow-wrap:anywhere; } .errors-page .log-table th { background:var(--paper-bg-alt); color:var(--ink-muted); font-size:11px; font-weight:500; } -.errors-page .log-table th:first-child { width:34%; } -.errors-page .log-table th:nth-child(3) { width:9%; text-align:right; } -.errors-page .log-table td.log-count { text-align:right; font-variant-numeric:tabular-nums; } -.errors-page .log-table th:last-child { width:21%; } +.errors-page .log-table th:first-child { width:29%; } +.errors-page .log-table th:nth-child(2) { width:15%; } +.errors-page .log-table th:nth-child(4) { width:13%; } +.errors-page .log-table th:nth-child(3) { width:8%; text-align:right; } +.errors-page .log-table td.log-count { text-align:right; font:500 14px var(--font-mono); background:transparent !important; box-shadow:none; } +.errors-page .log-table th:last-child { width:35%; } .errors-page .log-table tbody tr + tr { border-top:1px solid var(--border-color); } -.errors-page .log-selected { background:var(--paper-bg-alt); } -.errors-page .log-event-button { display:block; width:100%; min-height:44px; border:0; background:none; color:var(--link-color); padding:0; text-align:left; font:inherit; cursor:pointer; overflow-wrap:anywhere; } -.errors-page .log-event-button:hover { text-decoration:underline; } +.errors-page .log-table tbody tr:hover { background:var(--paper-bg-alt); } +.errors-page .log-table tbody tr.log-selected { background:var(--accent-soft); } +.errors-page .log-event-button { display:block; width:100%; min-height:44px; border:0; background:none; color:var(--color); padding:0; text-align:left; font:inherit; cursor:pointer; overflow-wrap:anywhere; } +.errors-page .log-event-button strong { font-size:14px; font-weight:600; line-height:1.5; } +.errors-page .log-event-button:hover strong, .errors-page .log-selected .log-event-button strong { color:var(--link-color); } +.errors-page .log-event-button:hover strong { text-decoration:underline; text-underline-offset:3px; } +.errors-page .log-service { color:var(--ink-soft); font-weight:500; } +.errors-page .log-module { color:var(--ink-muted); font-weight:400; } .errors-page .log-severity { display:inline-flex; align-items:center; gap:6px; font-weight:500; } .errors-page .log-severity::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; flex-shrink:0; } .errors-page .log-severity-error { color:var(--status-error); } .errors-page .log-severity-warn { color:var(--status-progress); } .errors-page .log-severity-info { color:var(--ink-muted); } -.errors-page .log-trace-button { display:inline-block; margin:3px 4px 3px 0; max-width:100%; white-space:normal; text-align:left; } -.errors-page .log-detail { min-width:0; padding:8px; overflow-wrap:anywhere; } +.errors-page .log-trace-button { display:inline-flex; align-items:center; gap:6px; margin:3px 4px 3px 0; max-width:100%; white-space:normal; text-align:left; } +.errors-page .log-short-id { font:11px var(--font-mono); color:var(--ink-soft); } +.errors-page .log-detail { min-width:0; padding:8px 4px; overflow-wrap:anywhere; } .errors-page .log-table .log-detail-row > td { background:var(--paper-bg-alt); } .errors-page .log-table tbody tr { scroll-margin-top:80px; } .errors-page .log-origin { color:var(--ink-soft); margin:0 0 10px; } @@ -14376,7 +14384,17 @@ body.dark-mode .reviewer-preview .rp-preserved-tag { background: rgba(251, 191, .errors-page .log-detail dl { margin:0; font-size:12px; } .errors-page .log-detail dl > div { margin-top:12px; } .errors-page .log-detail dt { font-weight:400; font-size:11px; color:var(--ink-muted); } -.errors-page .log-detail dd { margin:3px 0 0; } +.errors-page .log-detail dd { margin:5px 0 0; font-family:var(--font-mono); line-height:1.6; } +.errors-page .log-detail-heading { align-items:flex-start; justify-content:space-between; } +.errors-page .log-detail #log-detail-title { font-size:18px !important; line-height:1.4; font-weight:600; margin:0; } +.errors-page .log-detail-heading > div { min-width:0; } +.errors-page .log-detail-heading > button { flex-shrink:0; } +.errors-page .log-detail-section { border-top:1px solid var(--border-color); padding-top:14px; margin-top:18px; } +.errors-page .log-detail-section h4 { font-size:12px !important; font-weight:600; margin:0 0 4px; color:var(--ink-soft); } +.errors-page .log-detail-identifiers { grid-template-columns:1fr; } +.errors-page .log-detail-identifiers > div { display:grid; grid-template-columns:100px minmax(0,1fr); align-items:baseline; gap:12px; } +.errors-page .log-detail-identifiers dd { margin:0; } +.errors-page .log-detail-dates dd { font-family:var(--font-sans); } .errors-page .log-health, .errors-page .history-summary { margin:20px 0; font-size:12px; color:var(--ink-soft); } .errors-page summary { cursor:pointer; padding:8px 0; } .errors-page .log-health summary span { margin-left:8px; color:var(--ink-muted); } @@ -14411,9 +14429,19 @@ body.dark-mode .reviewer-preview .rp-preserved-tag { background: rgba(251, 191, .errors-page .log-table td:last-child { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; } .errors-page .log-table tbody tr.log-detail-row { display:block; padding:14px; } .errors-page .log-table .log-detail-row > td { display:block; } - .errors-page .log-detail dl { grid-template-columns:1fr; } + .errors-page .log-detail dl { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 14px; } + .errors-page .log-detail .log-detail-identifiers { grid-template-columns:1fr; } + .errors-page .log-detail-identifiers > div { grid-template-columns:62px minmax(0,1fr); } + .errors-page .log-detail-heading { gap:10px; } + .errors-page .log-detail #log-detail-title { font-size:16px !important; } .errors-page .log-detail { padding:0; } - .errors-page .log-count::before { content:'×'; } + .errors-page .log-count::before { content:'×'; font-size:12px; color:var(--ink-muted); margin-right:3px; } + .errors-page .error-health-strip { padding:12px; } + .errors-page .log-state { flex:1 1 175px; } + .errors-page .log-table td.log-count { align-self:start; } + .errors-page .log-table td:nth-child(4) { grid-column:2; grid-row:2; align-self:end; margin-top:28px; font-size:11px; text-align:right; } + .errors-page .log-table td.log-count { grid-column:2; grid-row:2; } + .errors-page .log-table td:nth-child(2) { grid-column:1; grid-row:2; } .errors-page .log-timeline { padding:14px; } .errors-page .errors-toolbar > :first-child { min-width:0; } .errors-page .errors-toolbar .seg-filter { flex-wrap:wrap; } @@ -14426,7 +14454,8 @@ body.dark-mode .reviewer-preview .rp-preserved-tag { background: rgba(251, 191, .errors-page .history-source .errors-row-main .col-status { grid-column:2; } } -.errors-page .log-query { border-bottom:1px solid var(--border-color); margin:0 0 12px; font-size:12px; } +.errors-page .log-query { margin:0 0 8px; font-size:12px; color:var(--ink-soft); } +.errors-page .log-query[open] { border-bottom:1px solid var(--border-color); padding-bottom:8px; } .errors-page .log-query-hint { float:right; color:var(--link-color); } .errors-page .log-investigation > .volume-head:has(.sr-only):not(:has(a)) { margin:0; } .errors-page .error-source-switch .seg-chip { box-shadow:none; } diff --git a/public/partials/admin/errors.htm b/public/partials/admin/errors.htm index 90a979e..1e54226 100644 --- a/public/partials/admin/errors.htm +++ b/public/partials/admin/errors.htm @@ -13,7 +13,7 @@
{{ errorSource === 'history' ? (redisLoading ? 'Loading application history…' : available === null ? 'Checking Redis…' : available ? 'Redis history is reachable.' : 'Redis history is unavailable. Previously loaded rows may be stale.') : logFailure || (logLoading ? 'Loading central logs…' : logSnapshotStale ? 'This snapshot is stale. Refresh before assessing current health.' : logStateText(logData?.state)) }}
- +| '+(p.oldNo||"")+' | '+(p.newNo||"")+' | '+(p.kind==="add"?"+":p.kind==="remove"?"-":"")+' | '+t(p.text)+" |
| '+(p.oldNo||"")+' | '+(p.newNo||"")+' | '+(p.kind==="add"?"+":p.kind==="remove"?"-":"")+' | '+t(p.text)+" |
Loading GitHub info for "+E.repoId+"..."),t.get("/api/admin/repos/"+E.repoId+"/github").then(b=>{N&&(N.document.open(),N.document.write('
'+JSON.stringify(b.data,null,2).replace(/[<>]/g,P=>P==="<"?"<":">")+""),N.document.close())},b=>{let P=b&&b.data?JSON.stringify(b.data,null,2):String(b);N&&(N.document.body.innerHTML='
'+P+"")})},e.statusCountFor=E=>{let N=(e.statusCounts||[]).find(b=>b._id===E);return N?N.count:0},e.statusStorageFor=E=>{let N=(e.statusCounts||[]).find(b=>b._id===E);return N?N.storage:0},e.isErrorsOnly=()=>e.query&&e.query.error&&!e.query.ready&&!e.query.preparing&&!e.query.expired&&!e.query.removed,e.toggleErrorsOnly=()=>{e.isErrorsOnly()?Object.assign(e.query,{ready:!1,preparing:!0,expired:!1,removed:!1,error:!0}):Object.assign(e.query,{ready:!1,preparing:!1,expired:!1,removed:!1,error:!0}),e.query.page=1},e.toggleSortDirection=()=>{e.query.direction=e.query.direction==="asc"?"desc":"asc"},e.sortBy=E=>{e.query.sort===E?e.query.direction=e.query.direction==="asc"?"desc":"asc":(e.query.sort=E,e.query.direction="desc"),e.query.page=1},e.sortIcon=E=>e.query.sort===E?e.query.direction==="asc"?"fa-arrow-up":"fa-arrow-down":"";let p="admin.repos.filterPrefs",u={page:1,limit:25,sort:"lastView",direction:"desc",search:"",owner:"",conference:"",dateFrom:"",dateTo:"",ready:!0,expired:!0,removed:!0,error:!0,preparing:!0},v=loadFilterPrefs(p)||{};e.query=Object.assign({},u,v,{page:1,search:""});let h=s.search();h.owner&&(e.query.owner=h.owner),h.conference&&(e.query.conference=h.conference),h.search&&(e.query.search=h.search);let y="admin.repos.presets";e.presets=JSON.parse(localStorage.getItem(y)||"[]"),e.savePreset=()=>{let E=window.prompt("Preset name:");if(!E)return;let N=Object.assign({},e.query);delete N.page,e.presets=(e.presets||[]).filter(b=>b.name!==E),e.presets.push({name:E,query:N}),localStorage.setItem(y,JSON.stringify(e.presets))},e.applyPreset=E=>{Object.assign(e.query,E.query,{page:1})},e.deletePreset=E=>{e.presets=(e.presets||[]).filter(N=>N.name!==E.name),localStorage.setItem(y,JSON.stringify(e.presets))},e.selectAllOnPage=()=>{e.allSelected=!e.allSelected,e.repositories.forEach(E=>{e.selected[E.repoId]=e.allSelected})},e.selectedCount=()=>Object.values(e.selected||{}).filter(Boolean).length,e.selectedRepos=()=>e.repositories.filter(E=>e.selected[E.repoId]),e.bulkRefresh=()=>{let E=e.selectedRepos();E.length&&confirm(`Force refresh ${E.length} repositories?`)&&E.forEach(N=>e.updateRepository(N))},e.bulkRemoveCache=()=>{let E=e.selectedRepos();E.length&&confirm(`Purge cache for ${E.length} repositories?`)&&E.forEach(N=>e.removeCache(N))},e.clearSelection=()=>{e.selected={},e.allSelected=!1},e.exportCsv=()=>{let E=new URLSearchParams(Object.entries(e.query).filter(([,N])=>N!==""&&N!==!1&&N!=null));E.set("format","csv"),E.set("limit","10000"),window.open("/api/admin/repos?"+E.toString(),"_blank")},e.removeCache=E=>{confirm("Remove cached files for "+E.repoId+"?")&&t.delete("/api/admin/repos/"+E.repoId).then(()=>m(),N=>console.error(N))},e.removeRepository=E=>{confirm("Remove repository "+E.repoId+"?")&&t.delete("/api/repo/"+E.repoId+"/").then(()=>m(),N=>console.error(N))},e.updateRepository=E=>{let N=ot({title:`Refreshing ${E.repoId}...`,date:new Date,body:`The repository ${E.repoId} is going to be refreshed.`});e.toasts.push(N),t.post(`/api/repo/${E.repoId}/refresh`).then(b=>{b.data.status=="ready"?N.title=`${E.repoId} is refreshed.`:N.title=`Refreshing of ${E.repoId}.`},b=>{N.title=`Error during the refresh of ${E.repoId}.`,N.body=b.body})},e.filtersOpen=!1,e.fetchError=null;function m(){e.fetchError=null,t.get("/api/admin/repos",{params:e.query}).then(E=>{e.total=E.data.total,e.totalPage=Math.ceil(E.data.total/e.query.limit),e.repositories=E.data.results,e.allSelected=!1},E=>{e.fetchError=E&&E.data&&E.data.error||"Failed to load repositories",console.error(E)})}function w(){let E=Object.assign({},e.query,{page:1,limit:1,ready:!0,expired:!0,removed:!0,error:!0,preparing:!0});t.get("/api/admin/repos",{params:E}).then(N=>{e.statusCounts=N.data.statusCounts||[],e.totalSize=N.data.totalSize||0},()=>{})}e.showAllStatuses=()=>Object.assign(e.query,{ready:!0,expired:!0,removed:!0,error:!0,preparing:!0,page:1}),Ji(e,{flags:()=>e.query,keys:["ready","preparing","error","expired","removed"],count:E=>E==="preparing"?e.statusCountFor("preparing")+e.statusCountFor("download"):E==="expired"?e.statusCountFor("expired")+e.statusCountFor("expiring"):E==="removed"?e.statusCountFor("removed")+e.statusCountFor("removing"):e.statusCountFor(E),onChange:()=>{e.query.page=1}}),m(),w();let S=null;e.watch("query",()=>{i.timeout.cancel(S),S=i.timeout(()=>{m(),w()},500);let{page:E,search:N,...b}=e.query;saveFilterPrefs(p,b),d()},!0),d()},Uu=function(e,t,s){let i=kt(),o=Bt();e.Math=Math,e.watch("user.status",()=>{e.user==null&&s.url("/")}),e.user==null&&s.url("/"),e.users=[],e.total=-1,e.totalPage=0,e.statusCounts=[],e.selected={},e.allSelected=!1;let r=m=>{if(m.key==="/"&&!["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.tagName)){m.preventDefault();let w=document.querySelector('.admin-filter-toolbar input[type="search"]');w&&w.focus()}};o(document,"keydown",r),e.on("dispose",()=>document.removeEventListener("keydown",r)),e.clearFilter=m=>{m==="dateRange"?(e.query.dateFrom="",e.query.dateTo=""):e.query[m]="",e.query.page=1},e.chips=[];let d=()=>{let m=[];e.query.role&&m.push({key:"role",label:"Role",value:e.query.role}),e.chips=m};e.statusCountFor=m=>{let w=(e.statusCounts||[]).find(S=>S._id===m);return w?w.count:0},e.toggleSortDirection=()=>{e.query.direction=e.query.direction==="asc"?"desc":"asc"},e.sortBy=m=>{e.query.sort===m?e.query.direction=e.query.direction==="asc"?"desc":"asc":(e.query.sort=m,e.query.direction="desc"),e.query.page=1},e.sortIcon=m=>e.query.sort===m?e.query.direction==="asc"?"fa-arrow-up":"fa-arrow-down":"";let p="admin.users.filterPrefs",u={page:1,limit:25,sort:"username",direction:"asc",search:"",status:"",role:"",dateFrom:"",dateTo:""},v=loadFilterPrefs(p)||{};e.query=Object.assign({},u,v,{page:1,search:""}),e.selectAllOnPage=()=>{e.allSelected=!e.allSelected,e.users.forEach(m=>{e.selected[m.username]=e.allSelected})},e.selectedCount=()=>Object.values(e.selected||{}).filter(Boolean).length,e.selectedUsers=()=>e.users.filter(m=>e.selected[m.username]),e.banUser=m=>{confirm(`Ban user ${m.username}?`)&&t.post(`/api/admin/users/${m.username}/ban`).then(h,w=>console.error(w))},e.activateUser=m=>{t.post(`/api/admin/users/${m.username}/activate`).then(h,w=>console.error(w))},e.bulkBan=()=>{let m=e.selectedUsers();m.length&&confirm(`Ban ${m.length} users?`)&&m.forEach(w=>e.banUser(w))},e.exportCsv=()=>{let m=new URLSearchParams(Object.entries(e.query).filter(([,w])=>w!==""&&w!==!1&&w!=null));m.set("format","csv"),m.set("limit","10000"),window.open("/api/admin/users?"+m.toString(),"_blank")},e.fetchError=null;function h(){e.fetchError=null,t.get("/api/admin/users",{params:e.query}).then(m=>{e.total=m.data.total,e.totalPage=Math.ceil(m.data.total/e.query.limit),e.users=m.data.results,e.statusCounts=m.data.statusCounts||[],e.allSelected=!1},m=>{e.fetchError=m&&m.data&&m.data.error||"Failed to load users",console.error(m)})}h();let y=null;e.watch("query",()=>{i.timeout.cancel(y),y=i.timeout(h,500);let{page:m,search:w,...S}=e.query;saveFilterPrefs(p,S),d()},!0),d()},Bu=function(e,t,s,i){let o=kt();Wu(o,Bt()),e.watch("user.status",()=>{e.user==null&&s.url("/")}),e.user==null&&s.url("/"),e.userInfo,e.repositories=[],e.search="",e.selected={},e.allSelected=!1;let r="admin.user.filterPrefs",d={filters:{status:{ready:!0,expired:!0,removed:!0,error:!0,preparing:!0}},sort:"anonymizeDate",direction:"desc"},p=loadFilterPrefs(r)||{};e.filters={status:Object.assign({},d.filters.status,p.filters&&p.filters.status||{})},e.query={sort:p.sort||d.sort,direction:p.direction||d.direction},e.orderBy=(e.query.direction==="asc"?"":"-")+e.query.sort,e.sortBy=m=>{e.query.sort===m?e.query.direction=e.query.direction==="asc"?"desc":"asc":(e.query.sort=m,e.query.direction="desc"),e.orderBy=(e.query.direction==="asc"?"":"-")+e.query.sort},e.sortIcon=m=>e.query.sort===m?e.query.direction==="asc"?"fa-arrow-up":"fa-arrow-down":"",e.watch("query",()=>{saveFilterPrefs(r,{filters:e.filters,sort:e.query.sort,direction:e.query.direction})},!0),e.watch("filters",()=>{saveFilterPrefs(r,{filters:e.filters,sort:e.query.sort,direction:e.query.direction})},!0),e.statusCountFor=m=>(e.repositories||[]).filter(w=>Xi(w.status)===m).length,Ji(e,{flags:()=>e.filters.status,keys:["ready","preparing","error","expired","removed"],count:m=>e.statusCountFor(m)}),e.repoFiler=m=>e.filters.status[Xi(m.status)]==!1?!1:!!(e.search.trim().length==0||m.source.fullName.indexOf(e.search)>-1||m.repoId.indexOf(e.search)>-1||m.statusMessage&&m.statusMessage.indexOf(e.search)>-1||m.conference&&m.conference.indexOf(e.search)>-1),e.selectAllOnPage=()=>{e.allSelected=!e.allSelected,(e.filteredRepositories||e.repositories).forEach(m=>{e.selected[m.repoId]=e.allSelected})},e.selectedCount=()=>Object.values(e.selected||{}).filter(Boolean).length,e.selectedRepos=()=>e.repositories.filter(m=>e.selected[m.repoId]),e.bulkRefresh=()=>{let m=e.selectedRepos();m.length&&confirm(`Force refresh ${m.length} repositories?`)&&m.forEach(w=>e.updateRepository(w))},e.bulkRemoveCache=()=>{let m=e.selectedRepos();m.length&&confirm(`Purge cache for ${m.length} repositories?`)&&m.forEach(w=>e.removeCache(w))},e.clearSelection=()=>{e.selected={},e.allSelected=!1},e.exportCsv=()=>{let m=e.filteredRepositories||e.repositories,S=["repoId","status","statusMessage","pageView","anonymizeDate","source.fullName","conference","size.storage"].join(","),E=m.map(P=>[P.repoId,P.status,P.statusMessage||"",P.pageView||0,P.anonymizeDate||"",P.source&&P.source.fullName||"",P.conference||"",P.size&&P.size.storage||0].map(M=>{let T=String(M??"");return/[",\n\r]/.test(T)?'"'+T.replace(/"/g,'""')+'"':T}).join(",")),N=new Blob([S+` `+E.join(` -`)],{type:"text/csv"}),b=document.createElement("a");b.href=URL.createObjectURL(N),b.download=i.username+"-repositories.csv",b.click()},e.showStatusMessage=m=>{let w=m.statusMessage||"(no message)";window.prompt(`Status message for ${m.repoId} (${m.status}):`,w)},e.fetchGithubInfo=m=>{let w=window.open("","_blank");w&&w.document.write("
Loading GitHub info for "+m.repoId+"..."),t.get("/api/admin/repos/"+m.repoId+"/github").then(S=>{w&&(w.document.open(),w.document.write('
'+JSON.stringify(S.data,null,2).replace(/[<>]/g,E=>E==="<"?"<":">")+""),w.document.close())},S=>{let E=S&&S.data?JSON.stringify(S.data,null,2):String(S);w&&(w.document.body.innerHTML='
'+E+"")})};function u(m){t.get("/api/admin/users/"+m+"/repos",{}).then(w=>{e.repositories=w.data},w=>{console.error(w)})}function v(m){t.get("/api/admin/users/"+m,{}).then(w=>{e.userInfo=w.data},w=>{console.error(w)})}v(i.username),u(i.username),e.banUser=()=>{confirm(`Ban user ${i.username}?`)&&t.post(`/api/admin/users/${i.username}/ban`).then(()=>v(i.username),m=>console.error(m))},e.activateUser=()=>{t.post(`/api/admin/users/${i.username}/activate`).then(()=>v(i.username),m=>console.error(m))},e.promoteUser=()=>{confirm(`Promote ${i.username} to admin?`)&&t.post(`/api/admin/users/${i.username}/promote`).then(()=>v(i.username),m=>console.error(m))},e.demoteUser=()=>{confirm(`Remove admin privileges from ${i.username}?`)&&t.post(`/api/admin/users/${i.username}/demote`).then(()=>v(i.username),m=>console.error(m))},e.tokens=[],e.tokenForm={name:"",plaintext:null};function h(){t.get("/api/admin/tokens").then(m=>{e.tokens=m.data||[]},m=>{m.status!==401&&m.status!==403&&console.error(m)})}h(),e.createToken=()=>{e.tokenForm.name&&t.post("/api/admin/tokens",{name:e.tokenForm.name}).then(m=>{e.tokenForm.plaintext=m.data.token,e.tokenForm.name="",h()},m=>console.error(m))},e.revokeToken=m=>{confirm(`Revoke token "${m.name}"?`)&&t.delete("/api/admin/tokens/"+m.id).then(()=>h(),w=>console.error(w))},e.removeCache=m=>{confirm("Remove cached files for "+m.repoId+"?")&&t.delete("/api/admin/repos/"+m.repoId).then(()=>u(i.username),w=>console.error(w))},e.removeRepository=m=>{confirm("Remove repository "+m.repoId+"?")&&t.delete("/api/repo/"+m.repoId+"/").then(()=>u(i.username),w=>console.error(w))},e.updateRepository=m=>{let w=ot({title:`Refreshing ${m.repoId}...`,date:new Date,body:`The repository ${m.repoId} is going to be refreshed.`});e.toasts.push(w),t.post(`/api/repo/${m.repoId}/refresh`).then(S=>{S.data.status=="ready"?w.title=`${m.repoId} is refreshed.`:w.title=`Refreshing of ${m.repoId}.`},S=>{w.title=`Error during the refresh of ${m.repoId}.`,w.body=S.body})},e.getGitHubRepositories=m=>{t.get(`/api/user/${e.userInfo.username}/all_repositories`,{params:{force:"1"}}).then(w=>{e.userInfo.repositories=w.data})};let y=null;e.watch("query",()=>{o.timeout.cancel(y),y=o.timeout(()=>{u(i.username)},500)},!0)},zu=function(e,t,s){let i=kt(),o=Bt();e.Math=Math,e.watch("user.status",()=>{e.user==null&&s.url("/")}),e.user==null&&s.url("/"),e.conferences=[],e.total=-1,e.totalPage=0,e.statusCounts=[];let r=S=>{if(S.key==="/"&&!["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.tagName)){S.preventDefault();let E=document.querySelector('.admin-filter-toolbar input[type="search"]');E&&E.focus()}};o(document,"keydown",r),e.on("dispose",()=>document.removeEventListener("keydown",r)),e.clearFilter=S=>{S==="dateRange"?(e.query.dateFrom="",e.query.dateTo=""):e.query[S]="",e.query.page=1},e.chips=[];let d=()=>{let S=[];(e.query.dateFrom||e.query.dateTo)&&S.push({key:"dateRange",label:"Date",value:(e.query.dateFrom||"\u2026")+" \u2013 "+(e.query.dateTo||"\u2026")}),e.chips=S};e.statusCountFor=S=>{let E=(e.statusCounts||[]).find(N=>N._id===S);return E?E.count:0},e.toggleSortDirection=()=>{e.query.direction=e.query.direction==="asc"?"desc":"asc"},e.sortBy=S=>{e.query.sort===S?e.query.direction=e.query.direction==="asc"?"desc":"asc":(e.query.sort=S,e.query.direction="desc"),e.query.page=1},e.sortIcon=S=>e.query.sort===S?e.query.direction==="asc"?"fa-arrow-up":"fa-arrow-down":"";let p="admin.conferences.filterPrefs",u={page:1,limit:25,sort:"name",direction:"asc",search:"",dateFrom:"",dateTo:"",ready:!0,expired:!0,removed:!0,error:!0,preparing:!0},v=loadFilterPrefs(p)||{};e.query=Object.assign({},u,v,{page:1,search:""});let h=s.search();h.search&&(e.query.search=h.search);let y="admin.conferences.presets";e.presets=JSON.parse(localStorage.getItem(y)||"[]"),e.savePreset=()=>{let S=window.prompt("Preset name:");if(!S)return;let E=Object.assign({},e.query);delete E.page,e.presets=(e.presets||[]).filter(N=>N.name!==S),e.presets.push({name:S,query:E}),localStorage.setItem(y,JSON.stringify(e.presets))},e.applyPreset=S=>{Object.assign(e.query,S.query,{page:1})},e.deletePreset=S=>{e.presets=(e.presets||[]).filter(E=>E.name!==S.name),localStorage.setItem(y,JSON.stringify(e.presets))},e.removeConference=S=>{confirm("Remove conference "+S.conferenceID+"?")&&t.delete("/api/admin/conferences/"+S.conferenceID).then(()=>m(),E=>console.error(E))},e.exportCsv=()=>{let S=new URLSearchParams(Object.entries(e.query).filter(([,E])=>E!==""&&E!==!1&&E!=null));S.set("format","csv"),S.set("limit","10000"),window.open("/api/admin/conferences?"+S.toString(),"_blank")},e.fetchError=null;function m(){e.fetchError=null,t.get("/api/admin/conferences",{params:e.query}).then(S=>{e.total=S.data.total,e.totalPage=Math.ceil(S.data.total/e.query.limit),e.conferences=S.data.results,e.statusCounts=S.data.statusCounts||[]},S=>{e.fetchError=S&&S.data&&S.data.error||"Failed to load conferences",console.error(S)})}Ji(e,{flags:()=>e.query,keys:["ready","preparing","error","expired","removed"],count:S=>e.statusCountFor(S),onChange:()=>{e.query.page=1}}),m();let w=null;e.watch("query",()=>{i.timeout.cancel(w),w=i.timeout(m,500);let{page:S,search:E,...N}=e.query;saveFilterPrefs(p,N),d()},!0),d()},Hu=function(e,t,s,i,o){let r=kt();e.watch("user.status",()=>{e.user==null&&s.url("/")}),e.user==null&&s.url("/"),e.queueList=[],e.jobs=[],e.selectedQueue="download",e.selectedStats=null,e.range="1h",e.allStates=["active","waiting","delayed","failed","completed"],e.stateFilter={active:!0,waiting:!0,delayed:!0,failed:!0,completed:!0},Ji(e,{flags:()=>e.stateFilter,keys:e.allStates,count:N=>(e.jobs||[]).filter(b=>b._state===N).length}),e.query={search:"",autoRefresh:!0},e.filteredJobs=()=>(e.jobs||[]).filter(N=>e.stateFilter[N._state]),e.jobProgressPct=N=>N?._state==="completed"?100:N&&N.progress&&typeof N.progress=="object"&&typeof N.progress.percent=="number"?Math.max(0,Math.min(100,Math.round(N.progress.percent))):typeof N.progress=="number"?Math.max(0,Math.min(100,Math.round(N.progress))):null;let d={get_files:"Fetching files",download:"Downloading",downloading:"Downloading",anonymize:"Anonymizing",anonymizing:"Anonymizing",ready:"Ready",removing:"Removing",preparing:"Preparing"};e.jobDetail=N=>{if(N?._state==="failed")return Yi(N.failedReason||"")||"Failed";let b=N?.progress&&typeof N.progress=="object"?N.progress.status:null;return N?._state==="active"&&b?d[b]||Yi(b):"\u2014"},e.jobDuration=N=>{if(!N.processedOn)return"\u2014";let b=N.finishedOn||Date.now();return qn(b-N.processedOn)},e.metricsPoints=[],e.selectQueue=N=>{e.selectedQueue=N,p(),u()},e.setRange=N=>{e.range=N,u()};function p(){let N={queue:e.selectedQueue,search:e.query.search};t.get("/api/admin/queues",{params:N}).then(b=>{e.queueList=b.data.queues||[],e.jobs=b.data.jobs||[],e.selectedStats=e.queueList.find(P=>P.key===e.selectedQueue)||e.queueList[0]||null},b=>console.error(b))}function u(){t.get("/api/admin/queues/metrics",{params:{queue:e.selectedQueue,range:e.range}}).then(N=>{e.metricsPoints=N.data.points||[],o(w,0)},N=>console.error(N))}p(),u();let v=i(()=>{e.query.autoRefresh&&(p(),u())},15e3);e.on("dispose",()=>i.cancel(v)),e.refreshNow=function(){p(),u()};function h(N){let b=N&&N.data&&(N.data.message||N.data.error)||"Request failed";e.actionError=b,o(()=>{e.actionError=null},5e3),console.error(N)}e.actionError=null,e.removeJob=N=>{t.delete(`/api/admin/queue/${e.selectedQueue}/${N.id}`).then(p,h)},e.retryJob=N=>{t.post(`/api/admin/queue/${e.selectedQueue}/${N.id}`).then(p,h)},e.retryFailed=()=>{confirm(`Retry all failed jobs in ${e.selectedQueue}?`)&&t.post(`/api/admin/queue/${e.selectedQueue}/retry-failed`).then(p,N=>console.error(N))},e.drainSelected=()=>{confirm(`Drain the ${e.selectedQueue} queue?`)&&t.post(`/api/admin/queue/${e.selectedQueue}/drain`).then(p,N=>console.error(N))},e.togglePause=()=>{let N=e.selectedStats&&e.selectedStats.paused?"resume":"pause";t.post(`/api/admin/queue/${e.selectedQueue}/${N}`).then(p,b=>console.error(b))},e.emptyQueue=()=>{confirm(`Empty the ${e.selectedQueue} queue? This removes ALL jobs.`)&&t.post(`/api/admin/queue/${e.selectedQueue}/empty`).then(p,N=>console.error(N))},e.pauseAll=()=>{confirm("Pause all queues?")&&t.post("/api/admin/queues/pause-all").then(p,N=>console.error(N))};let y=null;e.watch("query.search",()=>{r.timeout.cancel(y),y=r.timeout(p,350)}),e.expanded={},e.toggleJob=N=>{e.expanded[N.id]=!e.expanded[N.id]},e.humanTime=N=>{if(!N)return"";let b=new Date(N);return b.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})+" "+b.toLocaleDateString([],{month:"short",day:"numeric"})},e.delayCountdown=N=>{if(!N)return"";var b=Math.max(0,Math.ceil((N-Date.now())/1e3));if(b<=0)return"resuming soon";var P=Math.floor(b/60),M=b%60;return"in "+(P>0?P+"m "+M+"s":M+"s")};function m(N){if(N<=0)return{ticks:[0],niceMax:1};let b=Math.pow(10,Math.floor(Math.log10(N))),P=b;N/P<2?P=b/2:N/P>5&&(P=b*2);let M=Math.ceil(N/P)*P,T=[];for(let V=0;V<=M;V+=P)T.push(V);return{ticks:T,niceMax:M}}function w(){var N=document.getElementById("q-throughput-chart");if(!N)return;var b=N.getContext("2d"),P=window.devicePixelRatio||1,M=N.parentElement.getBoundingClientRect(),T=44,V=44,z=22,j=Math.max(200,Math.round(M.width)),X=Math.max(180,Math.min(420,Math.round(M.height)||180)),O=j-T-V,U=X-z;N.width=j*P,N.height=X*P,N.style.width=j+"px",N.style.height=X+"px",b.setTransform(P,0,0,P,0,0);var k=document.body.classList.contains("dark-mode"),L="#8A857C",K=k?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.06)",H=k?"#6FBF8A":"#2F7D4F",se=k?"rgba(111,191,138,0.12)":"rgba(47,125,79,0.08)",Z=k?"#F08A82":"#B42318",J=k?"rgba(240,138,130,0.08)":"rgba(180,35,24,0.06)",me=getComputedStyle(document.body).getPropertyValue("--q-time-series").trim()||(k?"#E0A94A":"#946512"),Ee=e.metricsPoints||[];if(Ee.length===0){b.fillStyle=L,b.font="13px Inter, system-ui, sans-serif",b.textAlign="center",b.fillText("No metrics data yet",j/2,X/2),S=null;return}var _e=Ee.map(function(we){return we.completed}),Be=Ee.map(function(we){return we.failed}),Ze=Ee.map(function(we){return we.avgMs});if(!_e.some(Boolean)&&!Be.some(Boolean)){b.strokeStyle=k?"rgba(255,255,255,0.14)":"rgba(0,0,0,0.12)",b.beginPath(),b.moveTo(0,X-18.5),b.lineTo(j,X-18.5),b.stroke(),b.fillStyle=k?"#CFC8BD":"#4F4A42",b.font="500 14px Inter, system-ui, sans-serif",b.textAlign="center",b.fillText("No jobs processed in this window",j/2,X/2-6),b.fillStyle=L,b.font="12.5px Inter, system-ui, sans-serif",b.fillText("Completed and failed jobs will chart here",j/2,X/2+16),S=null;return}var He=Ee.length,tt=O/(He-1||1),Re=Math.max(1,Math.max.apply(null,_e),Math.max.apply(null,Be)),Ue=m(Re),Y=Math.max.apply(null,Ze),fe=Y>0?m(Y):{ticks:[0],niceMax:1},de=function(we){return U-we/Ue.niceMax*(U-10)},ce=function(we){return U-we/fe.niceMax*(U-10)},ve=function(we){return T+we*tt};b.textAlign="right",b.textBaseline="middle",b.font="11px Inter, system-ui, sans-serif",Ue.ticks.forEach(function(we){var be=de(we);b.strokeStyle=K,b.lineWidth=1,b.beginPath(),b.moveTo(T,be),b.lineTo(j-V,be),b.stroke(),b.fillStyle=L,we!==0&&b.fillText(we>=1e3?(we/1e3).toFixed(1)+"k":String(we),T-6,be)}),Y>0&&(b.textAlign="left",fe.ticks.forEach(function(we){var be=ce(we);b.fillStyle=me,we!==0&&b.fillText(qn(we),j-V+6,be)}));var Me=Ee[He-1].ts,A=Ee[0].ts,I=Math.max(0,(Me-A)/6e4),F=[1,2,5,10,15,30,60,120,180,360,720,1440,2880,10080],x=F.find(function(we){return I/we<=4})||F[F.length-1],G=function(we){return we<60?we+"m":we<1440?we/60+"h":we/1440+"d"},te=function(we){for(var be=0,it=1;it
Loading GitHub info for "+m.repoId+"..."),t.get("/api/admin/repos/"+m.repoId+"/github").then(S=>{w&&(w.document.open(),w.document.write('
'+JSON.stringify(S.data,null,2).replace(/[<>]/g,E=>E==="<"?"<":">")+""),w.document.close())},S=>{let E=S&&S.data?JSON.stringify(S.data,null,2):String(S);w&&(w.document.body.innerHTML='
'+E+"")})};function u(m){t.get("/api/admin/users/"+m+"/repos",{}).then(w=>{e.repositories=w.data},w=>{console.error(w)})}function v(m){t.get("/api/admin/users/"+m,{}).then(w=>{e.userInfo=w.data},w=>{console.error(w)})}v(i.username),u(i.username),e.banUser=()=>{confirm(`Ban user ${i.username}?`)&&t.post(`/api/admin/users/${i.username}/ban`).then(()=>v(i.username),m=>console.error(m))},e.activateUser=()=>{t.post(`/api/admin/users/${i.username}/activate`).then(()=>v(i.username),m=>console.error(m))},e.promoteUser=()=>{confirm(`Promote ${i.username} to admin?`)&&t.post(`/api/admin/users/${i.username}/promote`).then(()=>v(i.username),m=>console.error(m))},e.demoteUser=()=>{confirm(`Remove admin privileges from ${i.username}?`)&&t.post(`/api/admin/users/${i.username}/demote`).then(()=>v(i.username),m=>console.error(m))},e.tokens=[],e.tokenForm={name:"",plaintext:null};function h(){t.get("/api/admin/tokens").then(m=>{e.tokens=m.data||[]},m=>{m.status!==401&&m.status!==403&&console.error(m)})}h(),e.createToken=()=>{e.tokenForm.name&&t.post("/api/admin/tokens",{name:e.tokenForm.name}).then(m=>{e.tokenForm.plaintext=m.data.token,e.tokenForm.name="",h()},m=>console.error(m))},e.revokeToken=m=>{confirm(`Revoke token "${m.name}"?`)&&t.delete("/api/admin/tokens/"+m.id).then(()=>h(),w=>console.error(w))},e.removeCache=m=>{confirm("Remove cached files for "+m.repoId+"?")&&t.delete("/api/admin/repos/"+m.repoId).then(()=>u(i.username),w=>console.error(w))},e.removeRepository=m=>{confirm("Remove repository "+m.repoId+"?")&&t.delete("/api/repo/"+m.repoId+"/").then(()=>u(i.username),w=>console.error(w))},e.updateRepository=m=>{let w=ot({title:`Refreshing ${m.repoId}...`,date:new Date,body:`The repository ${m.repoId} is going to be refreshed.`});e.toasts.push(w),t.post(`/api/repo/${m.repoId}/refresh`).then(S=>{S.data.status=="ready"?w.title=`${m.repoId} is refreshed.`:w.title=`Refreshing of ${m.repoId}.`},S=>{w.title=`Error during the refresh of ${m.repoId}.`,w.body=S.body})},e.getGitHubRepositories=m=>{t.get(`/api/user/${e.userInfo.username}/all_repositories`,{params:{force:"1"}}).then(w=>{e.userInfo.repositories=w.data})};let y=null;e.watch("query",()=>{o.timeout.cancel(y),y=o.timeout(()=>{u(i.username)},500)},!0)},zu=function(e,t,s){let i=kt(),o=Bt();e.Math=Math,e.watch("user.status",()=>{e.user==null&&s.url("/")}),e.user==null&&s.url("/"),e.conferences=[],e.total=-1,e.totalPage=0,e.statusCounts=[];let r=S=>{if(S.key==="/"&&!["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.tagName)){S.preventDefault();let E=document.querySelector('.admin-filter-toolbar input[type="search"]');E&&E.focus()}};o(document,"keydown",r),e.on("dispose",()=>document.removeEventListener("keydown",r)),e.clearFilter=S=>{S==="dateRange"?(e.query.dateFrom="",e.query.dateTo=""):e.query[S]="",e.query.page=1},e.chips=[];let d=()=>{let S=[];(e.query.dateFrom||e.query.dateTo)&&S.push({key:"dateRange",label:"Date",value:(e.query.dateFrom||"\u2026")+" \u2013 "+(e.query.dateTo||"\u2026")}),e.chips=S};e.statusCountFor=S=>{let E=(e.statusCounts||[]).find(N=>N._id===S);return E?E.count:0},e.toggleSortDirection=()=>{e.query.direction=e.query.direction==="asc"?"desc":"asc"},e.sortBy=S=>{e.query.sort===S?e.query.direction=e.query.direction==="asc"?"desc":"asc":(e.query.sort=S,e.query.direction="desc"),e.query.page=1},e.sortIcon=S=>e.query.sort===S?e.query.direction==="asc"?"fa-arrow-up":"fa-arrow-down":"";let p="admin.conferences.filterPrefs",u={page:1,limit:25,sort:"name",direction:"asc",search:"",dateFrom:"",dateTo:"",ready:!0,expired:!0,removed:!0,error:!0,preparing:!0},v=loadFilterPrefs(p)||{};e.query=Object.assign({},u,v,{page:1,search:""});let h=s.search();h.search&&(e.query.search=h.search);let y="admin.conferences.presets";e.presets=JSON.parse(localStorage.getItem(y)||"[]"),e.savePreset=()=>{let S=window.prompt("Preset name:");if(!S)return;let E=Object.assign({},e.query);delete E.page,e.presets=(e.presets||[]).filter(N=>N.name!==S),e.presets.push({name:S,query:E}),localStorage.setItem(y,JSON.stringify(e.presets))},e.applyPreset=S=>{Object.assign(e.query,S.query,{page:1})},e.deletePreset=S=>{e.presets=(e.presets||[]).filter(E=>E.name!==S.name),localStorage.setItem(y,JSON.stringify(e.presets))},e.removeConference=S=>{confirm("Remove conference "+S.conferenceID+"?")&&t.delete("/api/admin/conferences/"+S.conferenceID).then(()=>m(),E=>console.error(E))},e.exportCsv=()=>{let S=new URLSearchParams(Object.entries(e.query).filter(([,E])=>E!==""&&E!==!1&&E!=null));S.set("format","csv"),S.set("limit","10000"),window.open("/api/admin/conferences?"+S.toString(),"_blank")},e.fetchError=null;function m(){e.fetchError=null,t.get("/api/admin/conferences",{params:e.query}).then(S=>{e.total=S.data.total,e.totalPage=Math.ceil(S.data.total/e.query.limit),e.conferences=S.data.results,e.statusCounts=S.data.statusCounts||[]},S=>{e.fetchError=S&&S.data&&S.data.error||"Failed to load conferences",console.error(S)})}Ji(e,{flags:()=>e.query,keys:["ready","preparing","error","expired","removed"],count:S=>e.statusCountFor(S),onChange:()=>{e.query.page=1}}),m();let w=null;e.watch("query",()=>{i.timeout.cancel(w),w=i.timeout(m,500);let{page:S,search:E,...N}=e.query;saveFilterPrefs(p,N),d()},!0),d()},Hu=function(e,t,s,i,o){let r=kt();e.watch("user.status",()=>{e.user==null&&s.url("/")}),e.user==null&&s.url("/"),e.queueList=[],e.jobs=[],e.selectedQueue="download",e.selectedStats=null,e.range="1h",e.allStates=["active","waiting","delayed","failed","completed"],e.stateFilter={active:!0,waiting:!0,delayed:!0,failed:!0,completed:!0},Ji(e,{flags:()=>e.stateFilter,keys:e.allStates,count:N=>(e.jobs||[]).filter(b=>b._state===N).length}),e.query={search:"",autoRefresh:!0},e.filteredJobs=()=>(e.jobs||[]).filter(N=>e.stateFilter[N._state]),e.jobProgressPct=N=>N?._state==="completed"?100:N&&N.progress&&typeof N.progress=="object"&&typeof N.progress.percent=="number"?Math.max(0,Math.min(100,Math.round(N.progress.percent))):typeof N.progress=="number"?Math.max(0,Math.min(100,Math.round(N.progress))):null;let d={get_files:"Fetching files",download:"Downloading",downloading:"Downloading",anonymize:"Anonymizing",anonymizing:"Anonymizing",ready:"Ready",removing:"Removing",preparing:"Preparing"};e.jobDetail=N=>{if(N?._state==="failed")return Yi(N.failedReason||"")||"Failed";let b=N?.progress&&typeof N.progress=="object"?N.progress.status:null;return N?._state==="active"&&b?d[b]||Yi(b):"\u2014"},e.jobDuration=N=>{if(!N.processedOn)return"\u2014";let b=N.finishedOn||Date.now();return qn(b-N.processedOn)},e.metricsPoints=[],e.selectQueue=N=>{e.selectedQueue=N,p(),u()},e.setRange=N=>{e.range=N,u()};function p(){let N={queue:e.selectedQueue,search:e.query.search};t.get("/api/admin/queues",{params:N}).then(b=>{e.queueList=b.data.queues||[],e.jobs=b.data.jobs||[],e.selectedStats=e.queueList.find(P=>P.key===e.selectedQueue)||e.queueList[0]||null},b=>console.error(b))}function u(){t.get("/api/admin/queues/metrics",{params:{queue:e.selectedQueue,range:e.range}}).then(N=>{e.metricsPoints=N.data.points||[],o(w,0)},N=>console.error(N))}p(),u();let v=i(()=>{e.query.autoRefresh&&(p(),u())},15e3);e.on("dispose",()=>i.cancel(v)),e.refreshNow=function(){p(),u()};function h(N){let b=N&&N.data&&(N.data.message||N.data.error)||"Request failed";e.actionError=b,o(()=>{e.actionError=null},5e3),console.error(N)}e.actionError=null,e.removeJob=N=>{t.delete(`/api/admin/queue/${e.selectedQueue}/${N.id}`).then(p,h)},e.retryJob=N=>{t.post(`/api/admin/queue/${e.selectedQueue}/${N.id}`).then(p,h)},e.retryFailed=()=>{confirm(`Retry all failed jobs in ${e.selectedQueue}?`)&&t.post(`/api/admin/queue/${e.selectedQueue}/retry-failed`).then(p,N=>console.error(N))},e.drainSelected=()=>{confirm(`Drain the ${e.selectedQueue} queue?`)&&t.post(`/api/admin/queue/${e.selectedQueue}/drain`).then(p,N=>console.error(N))},e.togglePause=()=>{let N=e.selectedStats&&e.selectedStats.paused?"resume":"pause";t.post(`/api/admin/queue/${e.selectedQueue}/${N}`).then(p,b=>console.error(b))},e.emptyQueue=()=>{confirm(`Empty the ${e.selectedQueue} queue? This removes ALL jobs.`)&&t.post(`/api/admin/queue/${e.selectedQueue}/empty`).then(p,N=>console.error(N))},e.pauseAll=()=>{confirm("Pause all queues?")&&t.post("/api/admin/queues/pause-all").then(p,N=>console.error(N))};let y=null;e.watch("query.search",()=>{r.timeout.cancel(y),y=r.timeout(p,350)}),e.expanded={},e.toggleJob=N=>{e.expanded[N.id]=!e.expanded[N.id]},e.humanTime=N=>{if(!N)return"";let b=new Date(N);return b.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})+" "+b.toLocaleDateString([],{month:"short",day:"numeric"})},e.delayCountdown=N=>{if(!N)return"";var b=Math.max(0,Math.ceil((N-Date.now())/1e3));if(b<=0)return"resuming soon";var P=Math.floor(b/60),M=b%60;return"in "+(P>0?P+"m "+M+"s":M+"s")};function m(N){if(N<=0)return{ticks:[0],niceMax:1};let b=Math.pow(10,Math.floor(Math.log10(N))),P=b;N/P<2?P=b/2:N/P>5&&(P=b*2);let M=Math.ceil(N/P)*P,T=[];for(let V=0;V<=M;V+=P)T.push(V);return{ticks:T,niceMax:M}}function w(){var N=document.getElementById("q-throughput-chart");if(!N)return;var b=N.getContext("2d"),P=window.devicePixelRatio||1,M=N.parentElement.getBoundingClientRect(),T=44,V=44,z=22,j=Math.max(200,Math.round(M.width)),X=Math.max(180,Math.min(420,Math.round(M.height)||180)),O=j-T-V,U=X-z;N.width=j*P,N.height=X*P,N.style.width=j+"px",N.style.height=X+"px",b.setTransform(P,0,0,P,0,0);var k=document.body.classList.contains("dark-mode"),L="#8A857C",K=k?"rgba(255,255,255,0.06)":"rgba(0,0,0,0.06)",H=k?"#6FBF8A":"#2F7D4F",se=k?"rgba(111,191,138,0.12)":"rgba(47,125,79,0.08)",Z=k?"#F08A82":"#B42318",J=k?"rgba(240,138,130,0.08)":"rgba(180,35,24,0.06)",me=getComputedStyle(document.body).getPropertyValue("--q-time-series").trim()||(k?"#E0A94A":"#946512"),Ee=e.metricsPoints||[];if(Ee.length===0){b.fillStyle=L,b.font="13px Inter, system-ui, sans-serif",b.textAlign="center",b.fillText("No metrics data yet",j/2,X/2),S=null;return}var $e=Ee.map(function(we){return we.completed}),Be=Ee.map(function(we){return we.failed}),Ze=Ee.map(function(we){return we.avgMs});if(!$e.some(Boolean)&&!Be.some(Boolean)){b.strokeStyle=k?"rgba(255,255,255,0.14)":"rgba(0,0,0,0.12)",b.beginPath(),b.moveTo(0,X-18.5),b.lineTo(j,X-18.5),b.stroke(),b.fillStyle=k?"#CFC8BD":"#4F4A42",b.font="500 14px Inter, system-ui, sans-serif",b.textAlign="center",b.fillText("No jobs processed in this window",j/2,X/2-6),b.fillStyle=L,b.font="12.5px Inter, system-ui, sans-serif",b.fillText("Completed and failed jobs will chart here",j/2,X/2+16),S=null;return}var He=Ee.length,tt=O/(He-1||1),Re=Math.max(1,Math.max.apply(null,$e),Math.max.apply(null,Be)),Ue=m(Re),Y=Math.max.apply(null,Ze),fe=Y>0?m(Y):{ticks:[0],niceMax:1},de=function(we){return U-we/Ue.niceMax*(U-10)},ce=function(we){return U-we/fe.niceMax*(U-10)},ve=function(we){return T+we*tt};b.textAlign="right",b.textBaseline="middle",b.font="11px Inter, system-ui, sans-serif",Ue.ticks.forEach(function(we){var be=de(we);b.strokeStyle=K,b.lineWidth=1,b.beginPath(),b.moveTo(T,be),b.lineTo(j-V,be),b.stroke(),b.fillStyle=L,we!==0&&b.fillText(we>=1e3?(we/1e3).toFixed(1)+"k":String(we),T-6,be)}),Y>0&&(b.textAlign="left",fe.ticks.forEach(function(we){var be=ce(we);b.fillStyle=me,we!==0&&b.fillText(qn(we),j-V+6,be)}));var Me=Ee[He-1].ts,A=Ee[0].ts,I=Math.max(0,(Me-A)/6e4),F=[1,2,5,10,15,30,60,120,180,360,720,1440,2880,10080],x=F.find(function(we){return I/we<=4})||F[F.length-1],G=function(we){return we<60?we+"m":we<1440?we/60+"h":we/1440+"d"},te=function(we){for(var be=0,it=1;it
Manage how GitHub shares your code. Your anonymizations and URLs stay the same.
Sign in to create and manage your anonymizations.
Connect through the GitHub App with read-only repository access.
Sign in with GitHubYour existing anonymizations and connections stay with your account.',5)])])):f("v-if",!0),!e.site_options?.GITHUB_APP_ENABLED&&e.site_options?.GITHUB_OAUTH_ENABLED&&!e.accountRecovery?(a(),l("section",jb,[...t[3]||(t[3]=[n("div",{class:"connection-title"},[n("h2",null,"Continue with GitHub")],-1),n("p",null,"Sign in to access your account. GitHub OAuth includes write access to private repositories.",-1),n("a",{class:"connection-link",target:"_self",href:"/github/login"},[g("Sign in with GitHub "),n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-arrow-right"})])],-1)])])):f("v-if",!0),e.site_options&&!e.site_options.GITHUB_APP_ENABLED&&!e.site_options.GITHUB_OAUTH_ENABLED?(a(),l("p",Gb,"GitHub sign-in is currently unavailable. Please try again later.")):f("v-if",!0)])])]),Oe(s,{name:"partials/footer.htm",state:e.viewState},null,8,["state"])],64)}function ep(e,t){let s=Je("partial-view");return a(),l(_,null,[t[0]||(t[0]=Ce('The anonymous mirror you\u2019re looking for has expired, been removed by its owner, or never existed. If you received this URL from an author, ask them to re-issue it.
Paste a repository, pull request, or gist URL, or pick one of your repositories. You\u2019ll choose the terms to redact next.
Manage how GitHub shares your code. Your anonymizations and URLs stay the same.
Sign in to create and manage your anonymizations.
Connect through the GitHub App with read-only repository access.
Sign in with GitHubYour existing anonymizations and connections stay with your account.',5)])])):f("v-if",!0),!e.site_options?.GITHUB_APP_ENABLED&&e.site_options?.GITHUB_OAUTH_ENABLED&&!e.accountRecovery?(a(),l("section",jb,[...t[3]||(t[3]=[n("div",{class:"connection-title"},[n("h2",null,"Continue with GitHub")],-1),n("p",null,"Sign in to access your account. GitHub OAuth includes write access to private repositories.",-1),n("a",{class:"connection-link",target:"_self",href:"/github/login"},[g("Sign in with GitHub "),n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-arrow-right"})])],-1)])])):f("v-if",!0),e.site_options&&!e.site_options.GITHUB_APP_ENABLED&&!e.site_options.GITHUB_OAUTH_ENABLED?(a(),l("p",Gb,"GitHub sign-in is currently unavailable. Please try again later.")):f("v-if",!0)])])]),Oe(s,{name:"partials/footer.htm",state:e.viewState},null,8,["state"])],64)}function ep(e,t){let s=Je("partial-view");return a(),l(_,null,[t[0]||(t[0]=Ce('The anonymous mirror you\u2019re looking for has expired, been removed by its owner, or never existed. If you received this URL from an author, ask them to re-issue it.
Paste a repository, pull request, or gist URL, or pick one of your repositories. You\u2019ll choose the terms to redact next.
Fill in the details \u2014 it only takes a minute.
Take ownership of an existing anonymized repository so it appears on your dashboard.
',3)),n("div",mV,[t[5]||(t[5]=n("p",{class:"paper-section-copy"},"Use this when an anonymization was created by a co-author or from another account. You must have access to the GitHub repository it was made from.",-1)),D((a(),l("form",{class:"form needs-validation",name:"claimForm",novalidate:"",onSubmit:t[0]||(t[0]=ae(o=>e.submitForm(o,()=>{e.claim()}),["prevent"]))},[n("div",hV,[t[1]||(t[1]=n("label",{class:"paper-field-label",for:"repoUrl"},"GitHub repository URL",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoUrl?.invalid&&(e.claimForm?.repoUrl?.touched||e.claimForm?.submitted)}]),name:"repoUrl",id:"repoUrl",placeholder:"https://github.com/owner/repository",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoUrl=o},value:e.repoUrl,form:"claimForm",options:{}}]]),D(n("div",gV," No anonymization matches this repository and ID. Check both values and that you can access the repository on GitHub. ",512),[[ee,e.claimForm?.repoUrl?.errors?.not_found]])]),n("div",vV,[t[2]||(t[2]=n("label",{class:"paper-field-label",for:"repoId"},"Anonymized repository ID",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoId?.invalid&&(e.claimForm?.repoId?.touched||e.claimForm?.submitted)}]),name:"repoId",id:"repoId",placeholder:"e.g. my-paper-7F2A","aria-describedby":"idHelp",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoId=o},value:e.repoId,form:"claimForm",options:{}}]]),t[3]||(t[3]=n("small",{id:"idHelp",class:"form-text text-muted"},[g("The ID is the last part of the anonymized URL: "),n("code",null,"anonymous.4open.science/r/Fill in the details \u2014 it only takes a minute.
Take ownership of an existing anonymized repository so it appears on your dashboard.
',3)),n("div",TV,[t[5]||(t[5]=n("p",{class:"paper-section-copy"},"Use this when an anonymization was created by a co-author or from another account. You must have access to the GitHub repository it was made from.",-1)),D((a(),l("form",{class:"form needs-validation",name:"claimForm",novalidate:"",onSubmit:t[0]||(t[0]=ae(o=>e.submitForm(o,()=>{e.claim()}),["prevent"]))},[n("div",PV,[t[1]||(t[1]=n("label",{class:"paper-field-label",for:"repoUrl"},"GitHub repository URL",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoUrl?.invalid&&(e.claimForm?.repoUrl?.touched||e.claimForm?.submitted)}]),name:"repoUrl",id:"repoUrl",placeholder:"https://github.com/owner/repository",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoUrl=o},value:e.repoUrl,form:"claimForm",options:{}}]]),D(n("div",DV," No anonymization matches this repository and ID. Check both values and that you can access the repository on GitHub. ",512),[[ee,e.claimForm?.repoUrl?.errors?.not_found]])]),n("div",AV,[t[2]||(t[2]=n("label",{class:"paper-field-label",for:"repoId"},"Anonymized repository ID",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoId?.invalid&&(e.claimForm?.repoId?.touched||e.claimForm?.submitted)}]),name:"repoId",id:"repoId",placeholder:"e.g. my-paper-7F2A","aria-describedby":"idHelp",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoId=o},value:e.repoId,form:"claimForm",options:{}}]]),t[3]||(t[3]=n("small",{id:"idHelp",class:"form-text text-muted"},[g("The ID is the last part of the anonymized URL: "),n("code",null,"anonymous.4open.science/r/1# Training loop for DeepLearnUtils + label names the service and the tooltip says who to contact. `),n("li",{class:R(["nav-item nav-extra-item d-none d-lg-block",{"in-user-menu":!!e.user?.username}])},[...t[19]||(t[19]=[n("a",{class:"nav-link",target:"_blank",rel:"noopener",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml",title:"Report a problem with the Anonymous GitHub service. Questions about an anonymized repository or paper go to its authors.","data-offset":"30"},[n("svg",{class:"ui-icon d-lg-none mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-bug"})]),g("Report a bug ")],-1)])],2),n("li",{class:R(["nav-item nav-support-item nav-extra-item d-none d-lg-block",{"in-user-menu":!!e.user?.username}])},[...t[20]||(t[20]=[n("a",{class:"nav-link nav-support-inline",href:"https://ko-fi.com/tdurieux",target:"_blank",rel:"noopener",title:"Donate on Ko-fi to help cover hosting costs"},[n("svg",{class:"ui-icon nav-heart","aria-hidden":"true"},[n("use",{href:"#ui-icon-heart"})]),g("Support ")],-1)])],2),e.isDarkMode?f("v-if",!0):(a(),l("li",w9,[n("button",{type:"button",class:"nav-link nav-icon",title:"Switch to dark mode","aria-label":"Switch to dark mode",onClick:t[1]||(t[1]=s=>{e.darkMode(!0)})},[...t[21]||(t[21]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-moon"})],-1)])])])),e.isDarkMode?(a(),l("li",k9,[n("button",{type:"button",class:"nav-link nav-icon",title:"Switch to light mode","aria-label":"Switch to light mode",onClick:t[2]||(t[2]=s=>{e.darkMode(!1)})},[...t[22]||(t[22]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-sun"})],-1)])])])):f("v-if",!0),!e.user&&!e.isReviewerRoute?(a(),l("li",C9,[...t[23]||(t[23]=[n("a",{class:"nav-link btn-signin",target:"_self",href:"/signin","data-offset":"30"},[n("i",{class:"fab fa-github mr-1"}),g(" Sign in ")],-1)])])):f("v-if",!0),e.user?.username&&e.headerCanUpgrade&&!e.headerBillingPending?(a(),l("li",E9,[n("a",{class:"nav-link nav-upgrade",href:"/profile?upgrade=1",onClick:t[3]||(t[3]=ae(s=>e.openHeaderUpgrade(),["prevent"]))},"Upgrade")])):f("v-if",!0),e.user?(a(),l("li",S9,[n("a",N9,[e.user?.photo?(a(),l("img",{key:0,width:"22",height:"22",class:"rounded-circle",src:e.safeUrl(e.user?.photo)},null,8,R9)):f("v-if",!0),n("span",T9,c(e.user?.username),1)]),n("div",P9,[n("h6",D9,"Signed in as @"+c(e.user?.username),1),t[25]||(t[25]=Ce('SettingsDefaults, quotas, accountGitHub connectionsRepository access and OAuthClaim an anonymizationAttach an existing mirror to your accountReport a bugAbout this service, not a paperSource code',6)),e.headerShowSupport?(a(),l("a",A9,[...t[24]||(t[24]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-heart"})],-1),n("span",null,"Support the project",-1)])])):f("v-if",!0),t[26]||(t[26]=n("div",{class:"dropdown-divider"},null,-1)),t[27]||(t[27]=n("a",{class:"dropdown-item",href:"/api/user/logout",target:"_self"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-logout"})]),n("span",null,"Sign out")],-1))])])):f("v-if",!0)])])],2),e.generalMessage?(a(),l("div",{key:0,class:"navbar shadow generalMessage",innerHTML:e.sanitize(e.generalMessage)},null,8,I9)):f("v-if",!0),e.emailPromptOpen?(a(),l("dialog",{key:1,id:"email-prompt",class:"email-prompt","aria-labelledby":"email-prompt-title","aria-describedby":"email-prompt-reason",onCancel:t[8]||(t[8]=ae(s=>e.respondToEmailPrompt("later"),["prevent"]))},[n("form",{onSubmit:t[7]||(t[7]=ae(s=>e.respondToEmailPrompt("save"),["prevent"]))},[t[30]||(t[30]=n("h2",{id:"email-prompt-title"},"Stay informed about access problems",-1)),t[31]||(t[31]=n("p",{id:"email-prompt-reason"},"Get email alerts when your GitHub token or repository access fails.",-1)),t[32]||(t[32]=n("label",{for:"email-prompt-address"},"Email address",-1)),D(n("input",{id:"email-prompt-address",class:"form-control",type:"email",autocomplete:"email",maxlength:"254",required:"","onUpdate:modelValue":t[4]||(t[4]=s=>e.emailPromptAddress=s),disabled:e.emailPromptBusy},null,8,O9),[[nt,e.emailPromptAddress]]),e.emailPromptError?(a(),l("p",M9,c(e.emailPromptError),1)):f("v-if",!0),n("div",V9,[n("button",{type:"button",class:"btn btn-outline-ink",disabled:e.emailPromptBusy,onClick:t[5]||(t[5]=s=>e.respondToEmailPrompt("later"))},"Remind me later",8,q9),n("button",{type:"button",class:"btn btn-outline-ink",disabled:e.emailPromptBusy,onClick:t[6]||(t[6]=s=>e.respondToEmailPrompt("never"))},"Never",8,L9),n("button",{type:"submit",class:"btn btn-ink",disabled:e.emailPromptBusy},c(e.emailPromptBusy?"Saving\u2026":"Save"),9,_9)])],32)],32)):f("v-if",!0)],64)}var $9={class:"paper-landing"},F9={class:"paper-hero"},U9={class:"paper-hero-copy"},B9={class:"paper-cta-row"},z9={key:0,href:"/signin",target:"_self",class:"btn-hero"},H9={key:1,href:"/anonymize",class:"btn-hero"},j9={class:"paper-stats-meta"},G9={key:0,class:"paper-stats-meta-left"},W9={key:0,class:"paper-stats-grid"},K9={class:"paper-stat-label"},Y9={key:0,class:"paper-stat-delta"},X9={class:"demo paper-wrap","aria-label":"Try redaction"},J9={class:"demo-terms"},Q9={class:"demo-panes"},Z9={class:"pane"},x9={class:"demo-input-wrap"},eB={class:"pane-body demo-backdrop","aria-hidden":"true"},tB={key:0,class:"demo-match"},nB={class:"pane pane-after"},sB={class:"pane-header"},oB={class:"pane-url"},iB={class:"meta-redact"},rB={class:"pane-body demo-output","aria-live":"polite"},aB=["title"],lB={class:"paper-features paper-wrap","aria-label":"Product features"},dB={class:"paper-features-list",role:"tablist","aria-label":"Features","aria-orientation":"vertical"},uB=["onClick","onKeydown","id","aria-controls","aria-selected","tabindex"],cB={class:"paper-eyebrow"},pB={class:"pf-num"},fB={class:"pf-name"},mB={class:"paper-feature-title"},hB={key:0,class:"serif-hy"},gB={class:"paper-feature-more"},vB={class:"paper-feature-title paper-feature-title-m","aria-hidden":"true"},yB={key:0,class:"serif-hy"},bB=["href","target"],wB={class:"paper-features-stage"},kB=["id","aria-labelledby"],CB={class:"paper-frame"},EB={class:"paper-frame-bar","aria-hidden":"true"},SB={class:"url"},NB=["aria-label"],RB={key:0,class:"fm-form"},TB={key:1,class:"fm-viewer"},PB={key:2,class:"fm-dash"};function yp(e,t){let s=Je("partial-view");return a(),l("div",$9,[f(" Hero: copy on the left, the product on the right "),n("section",F9,[n("div",U9,[t[5]||(t[5]=n("div",{class:"paper-eyebrow"},"For double-anonymous peer review",-1)),t[6]||(t[6]=n("h1",{class:"hero-title"},[g(" Share the code,"),n("br"),n("span",{class:"accent"},"not the author.")],-1)),t[7]||(t[7]=n("p",{class:"hero-subtitle"}," Anonymous GitHub makes a read-only mirror of your repository, pull request, or gist. It redacts the terms you choose in text files, so reviewers can browse your artifact through an anonymous link. ",-1)),n("div",B9,[e.user?f("v-if",!0):(a(),l("a",z9,[...t[3]||(t[3]=[n("i",{class:"fab fa-github mr-2","aria-hidden":"true"},null,-1),g("Sign in with GitHub ",-1)])])),e.user?(a(),l("a",H9," Anonymize a repository \u2192 ")):f("v-if",!0),t[4]||(t[4]=n("a",{class:"paper-link-arrow",target:"_self",href:"https://anonymous.4open.science/r/840c8c57-3c32-451e-bf12-0e20be300389/"},"See an anonymized repository \u2192",-1))]),t[8]||(t[8]=n("ul",{class:"paper-reassure"},[n("li",null,"Free, open source"),n("li",null,"Read-only access"),n("li",null,"Set an expiry date")],-1)),t[9]||(t[9]=n("p",{class:"paper-proof-mobile"},"Used by authors at ICSE \xB7 FSE \xB7 OOPSLA",-1))]),t[10]||(t[10]=n("div",{class:"paper-hero-shot"},[n("div",{class:"paper-frame"},[n("div",{class:"paper-frame-bar","aria-hidden":"true"},[n("span",{class:"dots"},[n("i"),n("i"),n("i")]),n("span",{class:"url"},"anonymous.4open.science/r/paper-7f2a")]),n("div",{class:"hero-mock",role:"img","aria-label":"A reviewer browsing an anonymized repository: the author, affiliation, and email in the README are replaced by anonymous terms"},[n("div",{class:"hero-mock-tree","aria-hidden":"true"},[n("div",{class:"hero-mock-tree-title"},"Files"),n("div",{class:"hero-mock-row is-folder"},[n("svg",{viewBox:"0 0 16 16"},[n("path",{d:"M1.5 3.5h4l1.5 1.5h7.5v8h-13z"})]),g("data")]),n("div",{class:"hero-mock-row is-folder"},[n("svg",{viewBox:"0 0 16 16"},[n("path",{d:"M1.5 3.5h4l1.5 1.5h7.5v8h-13z"})]),g("experiments")]),n("div",{class:"hero-mock-row is-folder"},[n("svg",{viewBox:"0 0 16 16"},[n("path",{d:"M1.5 3.5h4l1.5 1.5h7.5v8h-13z"})]),g("src")]),n("div",{class:"hero-mock-row"},[n("svg",{viewBox:"0 0 16 16"},[n("path",{d:"M3.5 1.5h6l3 3v10h-9z"})]),g("LICENSE")]),n("div",{class:"hero-mock-row is-active"},[n("svg",{viewBox:"0 0 16 16"},[n("path",{d:"M3.5 1.5h6l3 3v10h-9z"})]),g("README.md")]),n("div",{class:"hero-mock-row"},[n("svg",{viewBox:"0 0 16 16"},[n("path",{d:"M3.5 1.5h6l3 3v10h-9z"})]),g("requirements.txt")])]),n("div",{class:"hero-mock-doc","aria-hidden":"true"},[n("div",{class:"hero-mock-doc-bar"},[n("strong",null,"README.md"),n("span",{class:"hero-mock-count"},"3 redacted")]),n("div",{class:"hero-mock-doc-body"},[n("div",{class:"hero-mock-h1"},"DeepLearnUtils"),n("p",null,[g("Developed by "),n("span",{class:"redact",role:"img","aria-label":"Redacted term 1"},[n("i",null,"1")]),g(" at "),n("span",{class:"redact",role:"img","aria-label":"Redacted term 2"},[n("i",null,"2")]),g(".")]),n("p",{class:"hm-opt"},"Utilities for reproducing the paper\u2019s experiments."),n("div",{class:"hero-mock-h2 hm-opt"},"Quick start"),n("pre",{class:"hm-opt"},`pip install -r requirements.txt +python experiments/run.py`),n("p",null,[g("Contact: "),n("span",{class:"redact",role:"img","aria-label":"Redacted term 3"},[n("i",null,"3")])])])])])])],-1))]),f(" Live stats "),n("section",{class:R(["paper-stats paper-wrap",{"is-empty":e.statsEmpty()}]),id:"metrics","aria-label":"Usage over the last 60 days"},[n("div",j9,[e.statsEmpty()?f("v-if",!0):(a(),l("div",G9,[...t[11]||(t[11]=[n("span",{class:"paper-stats-dot","aria-hidden":"true"},null,-1),g(),n("span",null,[g("Live \xB7 last 60 days"),n("span",{class:"paper-stats-daily"}," \xB7 updated daily")],-1)])])),t[12]||(t[12]=n("div",{class:"paper-stats-meta-right"},"Used by authors at ICSE \xB7 FSE \xB7 OOPSLA",-1))]),e.statsEmpty()?f("v-if",!0):(a(),l("div",W9,[(a(!0),l(_,null,Q(e.cards,(i,o)=>(a(),l("div",{class:"paper-stat-card",key:i?.key},[n("div",{class:R(["paper-stat-value",{"is-pending":!e.stat}])},c(e.stat?e.fmt?.bigNum(i?.total):"\u2014"),3),n("div",K9,c(i?.label),1),e.history[i?.key].bars?.length>1&&e.history[i?.key].deltaToday>0?(a(),l("div",Y9," +"+c(e.fmt?.number(e.history[i?.key].deltaToday))+" today ",1)):f("v-if",!0)]))),128))]))],2),f(" Before / after "),t[22]||(t[22]=n("section",{class:"paper-section-head paper-wrap"},[n("div",null,[n("div",{class:"paper-eyebrow"},"Try it"),n("h2",null,[g("The same repository, "),n("em",null,"minus you.")])]),n("p",null," Names, affiliations, emails, and any term you list are replaced across the README, source files, notebooks, and PDF links. Reviewers browse the real thing, not a zip. ")],-1)),n("div",X9,[n("div",J9,[t[13]||(t[13]=n("label",{for:"demo-terms"},[g("Terms to redact "),n("span",null,[g("comma-separated"),n("span",{class:"dt-try"},", try adding your own")])],-1)),D(n("textarea",{id:"demo-terms",class:"demo-terms-input",rows:"1","onUpdate:modelValue":t[0]||(t[0]=i=>e.demoTerms=i),spellcheck:"false",autocomplete:"off",onKeydown:t[1]||(t[1]=Vt(ae(()=>{},["prevent"]),["enter"]))},null,544),[[nt,e.demoTerms]])]),n("div",Q9,[n("div",Z9,[t[15]||(t[15]=n("div",{class:"pane-header"},[n("span",{class:"pane-label"},[g("Your repository "),n("span",{class:"pane-edit-hint"},"\xB7 editable")]),n("span",{class:"pane-url"},"github.com/jane-smith/DeepLearnUtils")],-1)),n("div",x9,[n("div",eB,[(a(!0),l(_,null,Q(e.demoParts(),(i,o)=>(a(),l(_,{key:o},[i.redacted?(a(),l("mark",tB,c(i.original),1)):(a(),l(_,{key:1},[g(c(i.text),1)],64))],64))),128)),t[14]||(t[14]=g("\u200B",-1))]),D(n("textarea",{class:"pane-body demo-input","onUpdate:modelValue":t[2]||(t[2]=i=>e.demoText=i),spellcheck:"false","aria-label":"Sample README to anonymize"},null,512),[[nt,e.demoText]])])]),n("div",nB,[n("div",sB,[t[16]||(t[16]=n("span",{class:"pane-label"},"What reviewers see",-1)),n("span",oB,[n("span",iB,c(e.demoCount())+" redacted",1)])]),n("div",rB,[(a(!0),l(_,null,Q(e.demoParts(),(i,o)=>(a(),l(_,{key:o},[i.redacted?(a(),l("span",{key:0,class:"redact-chip",title:"Replaces \u201C"+i.original+"\u201D"},c(i.text),9,aB)):(a(),l(_,{key:1},[g(c(i.text),1)],64))],64))),128))])])])]),f(" What you get: one screenshot, three tabs "),t[23]||(t[23]=n("section",{class:"paper-section-head paper-wrap",id:"about"},[n("div",null,[n("div",{class:"paper-eyebrow"},"What you get"),n("h2",null,"Anonymize, review, manage.")]),n("p",null," Terms are redacted in text files. Enabled images and PDFs are served unchanged, so review them for identifying content before sharing. Monitor your mirror, update it, or remove it when the review is over. ")],-1)),n("section",lB,[n("div",dB,[(a(!0),l(_,null,Q(e.features,(i,o)=>(a(),l("div",{class:R(["paper-feature",{"is-on":e.feature===i?.key}]),key:i?.key},[n("button",{type:"button",class:"paper-feature-tab",role:"tab",onClick:r=>e.selectFeature(i.key),onKeydown:r=>e.featureKeydown(r,o),id:"feature-tab-"+i?.key,"aria-controls":"feature-panel-"+i?.key,"aria-selected":e.feature===i?.key,tabindex:e.feature===i?.key?0:-1},[n("span",cB,[n("span",pB,c(i?.num),1),t[17]||(t[17]=n("span",{class:"pf-sep"}," \xB7 ",-1)),n("span",fB,c(i?.eyebrow),1)]),n("span",mB,[g(c(i?.title.split("-")[0]),1),i?.title.includes("-")?(a(),l("span",hB,"-")):f("v-if",!0),g(c(i?.title.split("-").slice(1).join("-"))+" "+c(i?.accent),1)])],40,uB),n("div",gB,[n("span",vB,[g(c(i?.title.split("-")[0]),1),i?.title.includes("-")?(a(),l("span",yB,"-")):f("v-if",!0),g(c(i?.title.split("-").slice(1).join("-"))+" "+c(i?.accent),1)]),n("p",null,c(i?.text),1),n("a",{class:"paper-link-arrow",href:e.safeUrl(e.featureHref(i)),target:e.featureTarget(i)},c(i?.cta)+" \u2192",9,bB)])],2))),128))]),n("div",wB,[(a(!0),l(_,null,Q(e.features,(i,o)=>D((a(),l("div",{class:"paper-feature-panel",role:"tabpanel",key:i?.key,id:"feature-panel-"+i?.key,"aria-labelledby":"feature-tab-"+i?.key},[n("div",CB,[n("div",EB,[t[18]||(t[18]=n("span",{class:"dots"},[n("i"),n("i"),n("i")],-1)),n("span",SB,c(i?.url),1)]),n("div",{class:R(["feat-mock","is-"+i?.key]),role:"img","aria-label":i?.alt},[i?.key==="anonymize"?(a(),l("div",RB,[...t[19]||(t[19]=[Ce('GitHub repositorygithub.com/jane-smith/DeepLearnUtilsTerms to redactJane SmithMIT CSAILjane.smith@mit.edu+ Add termReviewers can seeImagesPDFsLinksNotebooksExpiresMar 31, 2027anonymous.4open.science/r/paper-7f2aAnonymize repository',6)])])):i?.key==="review"?(a(),l("div",TB,[...t[20]||(t[20]=[Ce(`datasrctrain.pyREADME.mdLICENSE`,2)])])):(a(),l("div",hB,[...t[21]||(t[21]=[Ce('1# Training loop for DeepLearnUtils 2# Author: XXXX-1, XXXX-2 3import torch 4from utils import load_config @@ -55,18 +55,18 @@ python experiments/run.py`),n("p",null,[g("Contact: "),n("span",{class:"redact", 7 model = build_model(config) 8 for epoch in range(config.epochs): 9 loss = step(model) -10 log("epoch %d: %.3f", epoch, loss)ProjectStatusViewsExpiresDeepLearnUtilspaper-7f2a \xB7 ICSE 2027Ready41Mar 31, 2027vision-bench#212pull request \xB7 FSE 2027Ready12Nevergraph-repairgr-91abUpdating5Jan 5, 2027JarSiftOOPSLA 2025Expired72Sep 28, 2026',5)])]))],10,pB)])],8,lB)),[[ee,e.feature===i?.key]])),128))])]),f(" FAQ teaser "),t[24]||(t[24]=Ce(' Read the full FAQ \u2192Before you sign inThe questions that come up most.
What access does GitHub sign-in require?The GitHub App has read-only access to gists and the repositories you choose. Legacy OAuth uses broader permissions. Anonymous GitHub never writes to your repositories.
Which file formats are supported?Source code with syntax highlighting, Markdown, Jupyter notebooks, PDFs, images, and GitHub Pages sites. Text files are anonymized; enabled images and PDFs are served unchanged.
What happens when an anonymized repository expires?You choose: the mirror is removed, or visitors are redirected to the original GitHub repository once the review is over.
',2)),Oe(s,{name:"partials/footer.htm",state:e.viewState},null,8,["state"])])}var gB={class:"paper-empty"},vB={class:"paper-empty-inner"},yB={key:0,class:"paper-eyebrow"},bB={key:1,class:"paper-eyebrow"},wB={key:2,class:"paper-empty-title"},kB=["textContent"];function bp(e,t){return a(),l("div",gB,[n("div",vB,[e.error?f("v-if",!0):(a(),l("div",yB,"Working")),e.error?(a(),l("div",bB,"Error")):f("v-if",!0),e.error?f("v-if",!0):(a(),l("h1",wB,[...t[0]||(t[0]=[g(" Loading",-1),n("span",{class:"dot-anim"},"\u2026",-1)])])),e.error?(a(),l("h1",{key:3,class:"paper-empty-title",textContent:c(e.fmt.translate(e.error))},null,8,kB)):f("v-if",!0)])])}var CB={class:"container paper-page paper-settings"},EB={class:"paper-crumbs"},SB={class:"here"},NB={class:"paper-page-title"},RB={class:"paper-settings-body"},TB={class:"paper-settings-toc"},PB={href:"#conf-billing"},DB={class:"form needs-validation paper-settings-main",name:"conference",novalidate:""},AB={id:"conf-basics",class:"paper-settings-section"},IB={class:"form-group"},OB={class:"invalid-feedback"},MB={class:"invalid-feedback"},VB={class:"form-group"},qB={class:"invalid-feedback"},LB={class:"form-group"},$B={class:"invalid-feedback"},_B={class:"invalid-feedback"},FB={id:"conf-window",class:"paper-settings-section"},UB={class:"form-grid-2"},BB={class:"form-group"},zB={class:"invalid-feedback"},HB={class:"invalid-feedback"},jB={class:"form-group"},GB={class:"invalid-feedback"},WB={class:"invalid-feedback"},KB={id:"conf-rendering",class:"paper-settings-section"},YB={class:"form-check"},XB={class:"form-check-input",type:"checkbox",id:"link",name:"link"},JB={class:"form-check"},QB={class:"form-check-input",type:"checkbox",id:"image",name:"image"},ZB={class:"form-check"},xB={class:"form-check-input",type:"checkbox",id:"pdf",name:"pdf"},ez={class:"form-check"},tz={class:"form-check-input",type:"checkbox",id:"notebook",name:"notebook"},nz={id:"conf-features",class:"paper-settings-section"},sz={class:"form-check"},oz={class:"form-check-input",type:"checkbox",id:"update",name:"update"},iz={class:"form-check"},rz={class:"form-check-input",type:"checkbox",id:"page",name:"page"},az={id:"conf-plan",class:"paper-settings-section"},lz={key:0,class:"paper-section-copy"},dz={class:"conference-tiers",role:"radiogroup","aria-label":"Review package size"},uz=["value","checked","onChange"],cz={class:"conference-tier-head"},pz={key:0,class:"conference-tier-pill"},fz={class:"conference-tier-who"},mz={key:0,class:"conference-tier-price"},hz={class:"conference-tier-size"},gz={key:1,class:"conference-tier-per"},vz={key:2,class:"paper-plan-grid"},yz=["value"],bz=["textContent"],wz={class:"paper-plan-price"},kz=["innerHTML"],Cz={key:3,class:"settings-notice",role:"status"},Ez={key:0,id:"conf-billing",class:"paper-settings-section"},Sz={class:"form-group"},Nz={class:"form-group"},Rz={class:"form-group"},Tz={class:"form-group"},Pz={class:"form-grid-3"},Dz={class:"form-group"},Az={class:"form-group"},Iz={class:"form-group"},Oz={class:"form-group"},Mz={class:"paper-settings-footer"},Vz=["textContent"],qz=["textContent"],Lz=["disabled"];function wp(e,t){let s=Pe("paper-scrollspy"),i=Pe("field"),o=Pe("form");return a(),l("div",CB,[n("div",EB,[t[1]||(t[1]=n("a",{href:"/dashboard"},"My work",-1)),t[2]||(t[2]=g(" \xA0/\xA0 ",-1)),t[3]||(t[3]=n("a",{href:"/conferences"},"Conferences",-1)),t[4]||(t[4]=g(" \xA0/\xA0 ",-1)),n("span",SB,c(e.editionMode?"Edit":"New"),1)]),n("h1",NB,[g(c(e.editionMode?"Edit":"Create a")+" ",1),t[5]||(t[5]=n("em",null,"conference",-1))]),t[44]||(t[44]=n("p",{class:"paper-page-lede"}," Give chairs access to every anonymization submitted to a venue. One payment hosts every submission, so authors don't pay during the review window. ",-1)),n("div",RB,[D((a(),l("aside",TB,[t[7]||(t[7]=n("div",{class:"paper-settings-toc-head"},"On this page",-1)),n("nav",null,[t[6]||(t[6]=Ce('BasicsReview windowRendering defaultsFeaturesPlan',5)),D(n("a",PB,"Billing",512),[[ee,e.plan?.pricePerRepo>0]])])])),[[s]]),D((a(),l("form",DB,[n("section",AB,[t[12]||(t[12]=n("div",{class:"paper-section-eyebrow"},"Basics",-1)),n("div",IB,[t[8]||(t[8]=n("label",{class:"paper-field-label",for:"name"},"Conference name",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.name?.invalid&&(e.conference?.name?.touched||e.conference?.submitted)}]),name:"name",id:"name",required:"",placeholder:"e.g. International Conference on Software Engineering"},null,2),[[i,{state:e.viewState,set:r=>{e.options.name=r},value:e.options?.name,form:"conference",options:{}}]]),D(n("div",OB," The name of the conference is invalid. ",512),[[ee,e.conference?.name?.errors?.invalid]]),D(n("div",MB," The name of the conference is required. ",512),[[ee,e.conference?.name?.errors?.required]])]),n("div",VB,[t[9]||(t[9]=n("label",{class:"paper-field-label",for:"url"},"Website",-1)),D(n("input",{type:"url",class:R(["form-control",{"is-invalid":e.conference?.url?.invalid&&(e.conference?.url?.touched||e.conference?.submitted)}]),name:"url",id:"url",placeholder:"https://example.org"},null,2),[[i,{state:e.viewState,set:r=>{e.options.url=r},value:e.options?.url,form:"conference",options:{}}]]),D(n("div",qB," The url of the conference is invalid. ",512),[[ee,e.conference?.url?.errors?.url]])]),n("div",LB,[t[10]||(t[10]=n("label",{class:"paper-field-label",for:"conferenceID"},"Conference ID",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.conferenceID?.invalid&&(e.conference?.conferenceID?.touched||e.conference?.submitted)}]),name:"conferenceID",id:"conferenceID",required:"",pattern:"[a-zA-Z0-9\\-_]{3,10}",placeholder:"ICSE26"},null,2),[[i,{state:e.viewState,set:r=>{e.options.conferenceID=r},value:e.options?.conferenceID,form:"conference",options:{}}]]),t[11]||(t[11]=n("small",{class:"form-text text-muted"},[g("3\u201310 characters, letters, numbers, "),n("code",null,"-"),g(" and "),n("code",null,"_"),g(". Authors reference this when they anonymize.")],-1)),D(n("div",{class:"invalid-feedback"}," The conference ID '"+c(e.options?.conferenceID)+"' is already used. ",513),[[ee,e.conference?.conferenceID?.errors?.used]]),D(n("div",$B," The conference ID is required. ",512),[[ee,e.conference?.conferenceID?.errors?.required]]),D(n("div",_B," The format of the conference ID is incorrect ([a-zA-Z0-9-_]{3,10}). ",512),[[ee,e.conference?.conferenceID?.errors?.pattern]])])]),n("section",FB,[t[17]||(t[17]=n("div",{class:"paper-section-eyebrow"},"Review window",-1)),n("div",UB,[n("div",BB,[t[13]||(t[13]=n("label",{class:"paper-field-label",for:"startDate"},"Start date",-1)),D(n("input",{type:"date",class:R(["form-control",{"is-invalid":e.conference?.startDate?.invalid&&(e.conference?.startDate?.touched||e.conference?.submitted)}]),name:"startDate",id:"startDate",required:""},null,2),[[i,{state:e.viewState,set:r=>{e.options.startDate=r},value:e.options?.startDate,form:"conference",options:{}}]]),t[14]||(t[14]=n("small",{class:"form-text text-muted"},"Beginning of the review process.",-1)),D(n("div",zB," Start date is required. ",512),[[ee,e.conference?.startDate?.errors?.required]]),D(n("div",HB," Start date must be before end date. ",512),[[ee,e.conference?.startDate?.errors?.invalid]])]),n("div",jB,[t[15]||(t[15]=n("label",{class:"paper-field-label",for:"endDate"},"End date",-1)),D(n("input",{type:"date",class:R(["form-control",{"is-invalid":e.conference?.endDate?.invalid&&(e.conference?.endDate?.touched||e.conference?.submitted)}]),name:"endDate",id:"endDate",required:""},null,2),[[i,{state:e.viewState,set:r=>{e.options.endDate=r},value:e.options?.endDate,form:"conference",options:{}}]]),t[16]||(t[16]=n("small",{class:"form-text text-muted"},"All repositories expire on this date.",-1)),D(n("div",GB," End date is required. ",512),[[ee,e.conference?.endDate?.errors?.required]]),D(n("div",WB," End date is invalid. ",512),[[ee,e.conference?.endDate?.errors?.invalid]])])])]),n("section",KB,[t[26]||(t[26]=n("div",{class:"paper-section-eyebrow"},"Rendering defaults",-1)),n("div",YB,[D(n("input",XB,null,512),[[i,{state:e.viewState,set:r=>{e.options.options.link=r},value:e.options?.options?.link,form:"conference",options:{}}]]),t[18]||(t[18]=n("label",{class:"form-check-label",for:"link"},"Keep links",-1)),t[19]||(t[19]=n("small",{class:"form-text text-muted"},"Keep or remove all links from text files.",-1))]),n("div",JB,[D(n("input",QB,null,512),[[i,{state:e.viewState,set:r=>{e.options.options.image=r},value:e.options?.options?.image,form:"conference",options:{}}]]),t[20]||(t[20]=n("label",{class:"form-check-label",for:"image"},"Display images",-1)),t[21]||(t[21]=n("small",{class:"form-text text-muted"},"Images are not anonymized.",-1))]),n("div",ZB,[D(n("input",xB,null,512),[[i,{state:e.viewState,set:r=>{e.options.options.pdf=r},value:e.options?.options?.pdf,form:"conference",options:{}}]]),t[22]||(t[22]=n("label",{class:"form-check-label",for:"pdf"},"Display PDFs",-1)),t[23]||(t[23]=n("small",{class:"form-text text-muted"},"PDFs are not anonymized.",-1))]),n("div",ez,[D(n("input",tz,null,512),[[i,{state:e.viewState,set:r=>{e.options.options.notebook=r},value:e.options?.options?.notebook,form:"conference",options:{}}]]),t[24]||(t[24]=n("label",{class:"form-check-label",for:"notebook"},"Display notebooks",-1)),t[25]||(t[25]=n("small",{class:"form-text text-muted"},"Render Jupyter notebooks instead of raw JSON.",-1))])]),n("section",nz,[t[31]||(t[31]=n("div",{class:"paper-section-eyebrow"},"Features",-1)),n("div",sz,[D(n("input",oz,null,512),[[i,{state:e.viewState,set:r=>{e.options.options.update=r},value:e.options?.options?.update,form:"conference",options:{}}]]),t[27]||(t[27]=n("label",{class:"form-check-label",for:"update"},"Auto-update from GitHub",-1)),t[28]||(t[28]=n("small",{class:"form-text text-muted"},"Pull the latest commit automatically (hourly maximum).",-1))]),n("div",iz,[D(n("input",rz,null,512),[[i,{state:e.viewState,set:r=>{e.options.options.page=r},value:e.options?.options?.page,form:"conference",options:{}}]]),t[29]||(t[29]=n("label",{class:"form-check-label",for:"page"},"GitHub Pages",-1)),t[30]||(t[30]=n("small",{class:"form-text text-muted"},"Enable anonymized GitHub pages.",-1))])]),n("section",az,[t[35]||(t[35]=n("div",{class:"paper-section-eyebrow"},"Plan",-1)),e.editionMode?(a(),l("p",lz,c(e.conferencePlanName(e.options?.plan?.planID))+". The plan and review dates can't change after creation.",1)):e.conferenceTiers().length?(a(),l(_,{key:1},[t[33]||(t[33]=n("p",{class:"paper-section-copy"},"Pick the package that fits the number of submissions you expect. One payment hosts every submission, so authors don't pay.",-1)),n("div",dz,[(a(!0),l(_,null,Q(e.conferenceTiers(),r=>(a(),l("label",{class:R(["conference-tier",{"is-selected":e.options?.plan?.planID===r.id}]),key:r.id},[n("input",{type:"radio",name:"planPicker",value:r.id,checked:e.options?.plan?.planID===r.id,onChange:d=>e.options.plan.planID=r.id},null,40,uz),n("span",cz,[n("strong",null,c(r.name),1),r.id==="conference"&&e.conferenceTiers().length>1?(a(),l("span",pz,"Most common")):f("v-if",!0)]),n("span",fz,c(e.conferenceAudience(r.id)),1),r.amount!=null?(a(),l("span",mz,[n("strong",null,c(e.conferenceAmount(r)),1),t[32]||(t[32]=g(" once",-1))])):f("v-if",!0),n("span",hz,"Up to "+c(r.repositories)+" papers \xB7 "+c(e.conferenceBytes(r.storage)),1),r.amount!=null&&r.repositories?(a(),l("span",gz,"About "+c(e.conferenceAmount(r,r.amount/r.repositories))+" per paper",1)):f("v-if",!0)],2))),128))]),t[34]||(t[34]=Ce(' Ready for review?
Create an anonymous mirror in a couple of minutes. Reviewers just open the link.
Every package includes
- A review window of up to 180 days
- Automatic updates for every submission
- Links stay online until the review window ends
- A dashboard of every submission for chairs
Nothing renews \xB7 Tax shown at checkout \xB7 Expecting more submissions? Email tdurieux@anonymous.4open.science
Create the conference, then pay from its page. Authors can submit once the payment is confirmed.
',2))],64)):e.plans.length?(a(),l("div",vz,[(a(!0),l(_,null,Q(e.plans,r=>(a(),l("label",{class:R(["paper-plan-card",{selected:e.options?.plan?.planID==r?.id}]),key:r.id},[D(n("input",{type:"radio",name:"planPicker",value:r?.id},null,8,yz),[[i,{state:e.viewState,set:d=>{e.options.plan.planID=d},value:e.options?.plan?.planID,form:"conference",options:{}}]]),n("div",{class:"paper-plan-head",textContent:c(r?.name)},null,8,bz),n("div",wz,c(r.pricePerRepo>0?e.fmt?.number(r.pricePerRepo,2)+" \u20AC per repository":"Free"),1),n("div",{class:"paper-plan-desc",innerHTML:e.sanitize(r?.description)},null,8,kz)],2))),128))])):e.plansLoaded?(a(),l("p",Cz,"New conferences are unavailable right now. Please try again later.")):f("v-if",!0)]),e.plan?.pricePerRepo>0?(a(),l("section",Ez,[t[43]||(t[43]=n("div",{class:"paper-section-eyebrow"},"Billing",-1)),n("div",Sz,[t[36]||(t[36]=n("label",{class:"paper-field-label",for:"billing_name"},"Name",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.billing_name?.invalid&&(e.conference?.billing_name?.touched||e.conference?.submitted)}]),name:"billing_name",id:"billing_name",required:"",placeholder:"First & last name"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.name=r},value:e.options?.billing?.name,form:"conference",options:{}}]])]),n("div",Nz,[t[37]||(t[37]=n("label",{class:"paper-field-label",for:"email"},"Email",-1)),D(n("input",{type:"email",class:R(["form-control",{"is-invalid":e.conference?.email?.invalid&&(e.conference?.email?.touched||e.conference?.submitted)}]),name:"email",id:"email",required:"",placeholder:"you@example.org"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.email=r},value:e.options?.billing?.email,form:"conference",options:{}}]])]),n("div",Rz,[t[38]||(t[38]=n("label",{class:"paper-field-label",for:"inputAddress"},"Address",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.inputAddress?.invalid&&(e.conference?.inputAddress?.touched||e.conference?.submitted)}]),name:"inputAddress",id:"inputAddress",required:"",placeholder:"1234 Main St"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.address=r},value:e.options?.billing?.address,form:"conference",options:{}}]])]),n("div",Tz,[D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.inputAddress2?.invalid&&(e.conference?.inputAddress2?.touched||e.conference?.submitted)}]),name:"inputAddress2",id:"inputAddress2",placeholder:"Apartment, studio, or floor"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.address2=r},value:e.options?.billing?.address2,form:"conference",options:{}}]])]),n("div",Pz,[n("div",Dz,[t[39]||(t[39]=n("label",{class:"paper-field-label",for:"city"},"City",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.city?.invalid&&(e.conference?.city?.touched||e.conference?.submitted)}]),name:"city",id:"city",required:"",placeholder:"City"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.city=r},value:e.options?.billing?.city,form:"conference",options:{}}]])]),n("div",Az,[t[40]||(t[40]=n("label",{class:"paper-field-label",for:"country"},"Country",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.country?.invalid&&(e.conference?.country?.touched||e.conference?.submitted)}]),name:"country",id:"country",required:"",placeholder:"Country"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.country=r},value:e.options?.billing?.country,form:"conference",options:{}}]])]),n("div",Iz,[t[41]||(t[41]=n("label",{class:"paper-field-label",for:"zip"},"Zip",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.zip?.invalid&&(e.conference?.zip?.touched||e.conference?.submitted)}]),name:"zip",id:"zip",required:"",placeholder:"Zip"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.zip=r},value:e.options?.billing?.zip,form:"conference",options:{}}]])])]),n("div",Oz,[t[42]||(t[42]=n("label",{class:"paper-field-label",for:"vat"},"VAT number",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.vat?.invalid&&(e.conference?.vat?.touched||e.conference?.submitted)}]),name:"vat",id:"vat",placeholder:"VAT Number"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.vat=r},value:e.options?.billing?.vat,form:"conference",options:{}}]])])])):f("v-if",!0),n("div",Mz,[e.error?(a(),l("div",{key:0,class:"alert alert-danger",role:"alert",textContent:c(e.error)},null,8,Vz)):f("v-if",!0),e.message?(a(),l("div",{key:1,class:"alert alert-success",role:"alert",textContent:c(e.message)},null,8,qz)):f("v-if",!0),n("button",{id:"send",disabled:e.saving,type:"submit",class:"btn btn-ink",onClick:t[0]||(t[0]=ae(r=>e.submitForm(r,()=>{e.submit(r)}),["prevent"]))},c(e.saving?e.editionMode?"Updating\u2026":"Creating\u2026":e.editionMode?"Update conference":"Create conference"),9,Lz)])])),[[o,e.viewState]])])])}var $z={key:0,class:"dir-card","aria-label":"Repository files"},_z=["onClick"],Fz={class:"dir-name"},Uz=["href"],Bz={class:"dir-name"},zz={class:"dir-meta"},Hz={class:"file-card-head"},jz={class:"file-card-path"},Gz={class:"breadcrumb paths","aria-label":"Path"},Wz={class:"breadcrumb-item breadcrumb-root"},Kz=["href","title","textContent"],Yz=["aria-current"],Xz=["aria-label"],Jz={class:"mobile-sub ms"},Qz=["title"],Zz={class:"ms-item"},xz={key:1,class:"ms-item"},eH={key:2,class:"ms-item"},tH=["aria-label","title"],nH={class:"ui-icon","aria-hidden":"true"},sH=["href"],oH={key:0,class:"file-card-meta"},iH=["title"],rH={class:"meta-extra"},aH={key:1,class:"file-card-meta"},lH=["title"],dH={class:"file-card-actions"},uH={key:0,class:"csv-toggle seg-filter",role:"radiogroup","aria-label":"CSV view"},cH=["aria-checked"],pH=["aria-checked"],fH={key:1,class:"symbols"},mH=["aria-expanded"],hH={key:0,class:"symbols-menu",role:"menu"},gH={class:"symbols-head"},vH=["onClick"],yH={class:"symbols-name"},bH={class:"symbols-line"},wH=["title"],kH={key:3,class:"tb-view",role:"group","aria-label":"View tools"},CH=["title"],EH=["aria-pressed"],SH=["title"],NH={key:4,class:"tb-file",role:"group","aria-label":"File actions"},RH=["target","title","href"],TH=["aria-label","title"],PH={class:"ui-icon","aria-hidden":"true"},DH=["href"],AH=["target","href","download"],IH=["aria-label"],OH={class:"ui-icon","aria-hidden":"true"},MH=["href"],VH={key:6,class:"tb-toc-m"},qH=["aria-expanded"],LH=["onClick"],$H={class:"tb-more"},_H=["aria-expanded"],FH={viewBox:"0 0 24 24",class:"ui-icon","aria-hidden":"true",style:{fill:"currentColor",stroke:"none"}},UH={key:0,class:"tb-menu-note"},BH={key:1,class:"tb-menu-note tb-menu-meta"},zH={key:2,class:"tb-menu-sep"},HH={key:4,class:"tb-menu-sep"},jH=["aria-checked"],GH={key:0,class:"tb-menu-check"},WH={class:"ui-icon","aria-hidden":"true"},KH=["href"],YH={key:9,class:"tb-menu-sep"},XH=["target","href"],JH=["target","href"],QH=["target","href","download"],ZH=["target","href"],xH=["href"],ej=["target","href"],tj=["placeholder","aria-invalid"],nj=["aria-label"],sj={class:"csv-table"},oj=["aria-label"],ij={class:"csv-rownum"},rj=["aria-label"],aj={key:1,class:"file-card-body"},lj={key:2,class:"md-find-bar",role:"search"},dj=["value"],uj={class:"md-find-nav"},cj=["disabled"],pj=["disabled"],fj={class:"md-find-count","aria-live":"polite"},mj=["aria-pressed"],hj={key:3,class:"reading-layout"},gj=["innerHTML"],vj={key:0,class:"readme-toc","aria-label":"On this page"},yj={class:"toc-rail"},bj=["href","onClick"],wj={class:"file-card-head"},kj={class:"file-card-path"},Cj={class:"breadcrumb paths","aria-label":"Path"},Ej={class:"breadcrumb-item breadcrumb-root"},Sj=["href","title","textContent"],Nj=["aria-current"],Rj=["aria-label"],Tj={class:"mobile-sub ms"},Pj=["title"],Dj={class:"ms-item"},Aj={key:1,class:"ms-item"},Ij={key:2,class:"ms-item"},Oj=["aria-label","title"],Mj={class:"ui-icon","aria-hidden":"true"},Vj=["href"],qj={class:"file-card-meta"},Lj=["title"],$j={class:"file-card-actions"},_j={key:0,class:"file-card-state",title:"Files over the size limit can't be previewed or downloaded from this link"},Fj={key:1,class:"tb-file",role:"group","aria-label":"File actions"},Uj=["target","title","href"],Bj=["target","href","download"],zj={class:"tb-more"},Hj=["aria-expanded"],jj={viewBox:"0 0 24 24",class:"ui-icon","aria-hidden":"true",style:{fill:"currentColor",stroke:"none"}},Gj={key:0,class:"tb-menu-note"},Wj={key:1,class:"tb-menu-sep"},Kj=["target","href"],Yj=["target","href","download"],Xj=["target","href"],Jj={key:0,class:"media-stage"},Qj=["src","alt"],Zj={key:1,class:"media-stage"},xj=["src"],eG={key:2,class:"media-stage is-audio"},tG=["src"],nG={key:4,class:"notebook-body"},sG={key:5,class:"file-state"},oG={class:"file-state-msg"},iG={key:0,class:"file-state-actions"},rG=["target","href","download"],aG={key:6,class:"file-state",role:"alert"},lG={class:"file-state-title"},dG={key:0,class:"file-state-msg"},uG={key:1,class:"file-state-msg"},cG={key:2,class:"file-state-actions"},pG=["href"],fG={key:7,class:"file-state"},mG={key:4,class:"file-error container d-flex h-100"},hG={class:"paper-ratelimit-card m-auto",style:{"max-width":"520px"}},gG={class:"paper-error-msg"},vG={key:5,class:"file-error container d-flex h-100"},yG={class:"viewer-error paper-error-card file-error-card m-auto",role:"alert","aria-labelledby":"viewer-error-title"},bG={id:"viewer-error-title",class:"paper-empty-title"},wG={class:"paper-error-actions"},kG={key:0,href:"/",class:"btn btn-sm"},CG={key:1,href:"/faq",class:"btn btn-sm"},EG={key:2,class:"btn btn-outline-ink",href:"/dashboard"},SG={key:6,class:"viewer-loading","aria-busy":"true"},NG={class:"viewer-loading-status",role:"status","aria-live":"polite"},RG={class:"viewer-loading-name sr-only"},TG={key:0},PG={class:"viewer-loading-lines","aria-hidden":"true"},DG={key:7,class:"file-error container d-flex h-100"},AG={key:8,class:"file-error container d-flex h-100"};function kp(e,t){let s=Je("html-doc"),i=Je("pdfviewer"),o=Je("notebook"),r=Pe("code-editor");return a(),l(_,null,[e.sidebarHidden&&e.type=="html"&&e.content!=null&&e.paths?.length===1&&/^readme/i.test(e.paths[0]||"")&&e.files?.length?(a(),l("section",$z,[t[46]||(t[46]=n("header",{class:"dir-card-head"},[n("span",{class:"dir-card-title"},"Files"),n("span",{class:"dir-card-sub"},"Snapshot of the repository at review time")],-1)),n("ul",{class:R(["dir-list",{"is-expanded":e.dirExpanded}])},[(a(!0),l(_,null,Q(e.rootEntries(),d=>(a(),l("li",{key:d.name},[d.size==null?(a(),l("button",{key:0,type:"button",class:"dir-row",onClick:p=>e.revealFolder(d.name)},[t[43]||(t[43]=n("svg",{class:"dir-icon",viewBox:"0 0 16 16","aria-hidden":"true"},[n("path",{d:"M1.5 3.5h4l1.5 1.5h7.5v8h-13z"})],-1)),n("span",Fz,c(d.name),1),t[44]||(t[44]=n("span",{class:"dir-meta"},"Folder",-1))],8,_z)):(a(),l("a",{key:1,class:R(["dir-row",{"is-current":d.name===e.paths[0]}]),href:e.safeUrl("/r/"+e.repoId+"/"+encodeURIComponent(d.name))},[t[45]||(t[45]=n("svg",{class:"dir-icon",viewBox:"0 0 16 16","aria-hidden":"true"},[n("path",{d:"M3.5 1.5h6l3 3v10h-9z"})],-1)),n("span",Bz,c(d.name),1),n("span",zz,c(e.formatSize(d.size)),1)],10,Uz))]))),128))],2),!e.dirExpanded&&e.files.length>8?(a(),l("button",{key:0,type:"button",class:"dir-more",onClick:t[0]||(t[0]=d=>e.dirExpanded=!0)},"Show all "+c(e.files.length)+" items",1)):f("v-if",!0)])):f("v-if",!0),(e.type=="text"||e.type=="code"||e.type=="html"||e.type=="html-doc"&&e.showSource)&&e.content!=null?(a(),l("section",{key:1,class:R(["file-card",{"is-code":e.type!="html","no-wrap":!e.wrapLines}])},[n("header",Hz,[n("div",jz,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost card-files-btn",{"is-needed":e.sidebarHidden}]),title:"Show file tree",onClick:t[1]||(t[1]=d=>e.sidebarHidden?e.sidebarHidden=!1:e.sidebarCollapsed=!1)},[...t[47]||(t[47]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-sidebar"})],-1),n("span",{class:"card-files-label"},"Files",-1)])],2),n("ol",Gz,[n("li",Wz,[n("a",{href:e.safeUrl("/r/"+e.repoId+"/"),title:e.repoId,textContent:c(/^[0-9a-f]{8}-[0-9a-f]{4}-/i.test(e.repoId||"")?"repository":e.repoId)},null,8,Kz)]),(a(!0),l(_,null,Q(e.paths,(d,p)=>(a(),l("li",{class:"breadcrumb-item","aria-current":p===e.paths.length-1?"page":null},[(a(!0),l(_,null,Q(e.redactParts(d),(u,v)=>(a(),l(_,{key:v},[u.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+u.n},[n("i",null,c(u.n),1)],8,Xz)):(a(),l(_,{key:1},[g(c(u.t),1)],64))],64))),128))],8,Yz))),256))]),n("span",Jz,[e.redactionCount()?(a(),l("b",{key:0,class:"ms-item ms-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[48]||(t[48]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,Qz)):f("v-if",!0),n("span",Zz,c(e.type=="html"?"Markdown":e.languageName||"Text"),1),e.fileSize(e.filePath)!=null?(a(),l("span",xz,c(e.formatSize(e.fileSize(e.filePath))),1)):f("v-if",!0),e.type!="html"&&typeof e.content=="string"?(a(),l("span",eH,c(e.fmt?.number(e.content.split(` -`).length))+" lines",1)):f("v-if",!0)]),D(n("button",{type:"button",class:"btn btn-sm btn-icon-only btn-ghost copy-path-btn","aria-label":e.pathCopied?"Path copied":"Copy file path",title:e.pathCopied?"Path copied":"Copy file path",onClick:t[2]||(t[2]=d=>e.copyPath())},[(a(),l("svg",nH,[n("use",{href:e.pathCopied?"#ui-icon-check":"#ui-icon-link"},null,8,sH)]))],8,tH),[[ee,e.filePath]])]),e.type!="html"&&typeof e.content=="string"?(a(),l("span",oH,[e.redactionCount()?(a(),l(_,{key:0},[n("span",{class:"meta-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[49]||(t[49]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,iH),t[50]||(t[50]=n("span",{class:"sep"},"\xB7",-1))],64)):f("v-if",!0),g(c(e.languageName||"Text"),1),n("span",rH,[t[51]||(t[51]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.content.length<1024?e.content.length+" B":(e.content.length/1024).toFixed(1)+" KB"),1)]),t[52]||(t[52]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.fmt?.number(e.content.split(` -`).length))+" lines",1)])):f("v-if",!0),e.type=="html"?(a(),l("span",aH,[e.redactionCount()?(a(),l(_,{key:0},[n("span",{class:"meta-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[53]||(t[53]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,lH),t[54]||(t[54]=n("span",{class:"sep"},"\xB7",-1))],64)):f("v-if",!0),t[56]||(t[56]=g("Markdown",-1)),e.fileSize(e.filePath)!=null?(a(),l(_,{key:1},[t[55]||(t[55]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.formatSize(e.fileSize(e.filePath))),1)],64)):f("v-if",!0)])):f("v-if",!0),e.preview&&e.previewPreserved()?(a(),l("button",{key:2,type:"button",class:"rp-preserved-tag",onClick:t[3]||(t[3]=d=>e.openPreserveFiles())},"Left unredacted")):f("v-if",!0),n("div",dH,[e.isCsv()?(a(),l("div",uH,[n("button",{type:"button",role:"radio",class:R(["seg-chip",{active:e.csvView==="table"}]),"aria-checked":e.csvView==="table",onClick:t[4]||(t[4]=d=>e.csvView="table")},"Table",10,cH),n("button",{type:"button",role:"radio",class:R(["seg-chip",{active:e.csvView==="raw"}]),"aria-checked":e.csvView==="raw",onClick:t[5]||(t[5]=d=>e.csvView="raw"),title:"Show the file as text with line numbers"},"Text",10,pH)])):f("v-if",!0),e.type!="html"&&e.symbols().length>1?(a(),l("div",fH,[n("button",{type:"button",class:R(["btn btn-sm btn-ghost btn-symbols",{"is-on":e.symbolsOpen}]),"aria-expanded":e.symbolsOpen?"true":"false","aria-haspopup":"true",title:"Symbols in this file",onClick:t[6]||(t[6]=d=>e.symbolsOpen=!e.symbolsOpen)},[...t[57]||(t[57]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-list"})],-1),n("span",{class:"btn-find-label"},"Symbols",-1)])],10,mH),e.symbolsOpen?(a(),l("div",hH,[n("div",gH,c(e.symbols().length)+" "+c(e.symbols().length===1?"symbol":"symbols"),1),(a(!0),l(_,null,Q(e.symbols(),d=>(a(),l("button",{type:"button",class:"symbols-item",role:"menuitem",key:d.line+d.name,onClick:p=>e.goToSymbol(d.line)},[n("span",{class:R(["symbols-kind","is-"+d.kind])},c(d.kind==="class"?"C":d.kind==="function"?"\u0192":"v"),3),n("span",yH,c(d.name),1),n("span",bH,c(d.line),1)],8,vH))),128))])):f("v-if",!0)])):f("v-if",!0),e.type=="html"?(a(),l("button",{key:2,type:"button",class:R(["btn btn-sm btn-ghost btn-icon-only btn-find btn-md-find",{"is-on":e.mdFindOpen}]),"aria-label":"Find on this page",title:"Find on this page ("+(e.isMac?"\u2318":"Ctrl+")+"F)",onClick:t[7]||(t[7]=d=>e.toggleMdFind())},[...t[58]||(t[58]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1)])],10,wH)):f("v-if",!0),e.type!="html"&&!(e.isCsv()&&e.csvView==="table")?(a(),l("div",kH,[e.type!="html"?(a(),l("button",{key:0,type:"button",class:"btn btn-sm btn-ghost btn-icon-only btn-goto","aria-label":"Go to line",title:"Go to line ("+(e.isMac?"\u2318":"Ctrl+")+"G)",onClick:t[8]||(t[8]=d=>e.gotoLine())},[...t[59]||(t[59]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-goto"})],-1)])],8,CH)):f("v-if",!0),e.type!="html"?(a(),l("button",{key:1,type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost btn-toggle",{"is-on":e.wrapLines}]),"aria-pressed":e.wrapLines?"true":"false","aria-label":"Wrap lines",title:"Wrap lines (Alt+Z)",onClick:t[9]||(t[9]=d=>e.toggleWrap())},[...t[60]||(t[60]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-wrap"})],-1)])],10,EH)):f("v-if",!0),e.type!="html"?(a(),l("button",{key:2,type:"button",class:"btn btn-sm btn-ghost btn-icon-only btn-find","aria-label":"Find in file",title:"Find in file ("+(e.isMac?"\u2318":"Ctrl+")+"F)",onClick:t[10]||(t[10]=d=>e.findInFile())},[...t[61]||(t[61]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1)])],8,SH)):f("v-if",!0)])):f("v-if",!0),!e.preview||e.url?(a(),l("div",NH,[n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn",title:e.type=="html"?"Open the Markdown source":"Open the raw file",href:e.safeUrl(e.url)},"Raw",8,RH),typeof e.content=="string"?(a(),l("button",{key:0,type:"button",class:"tb-seg-btn tb-seg-icon","aria-label":e.contentCopied?"Copied":"Copy file contents",title:e.contentCopied?"Copied":"Copy file contents",onClick:t[11]||(t[11]=d=>e.copyContent())},[(a(),l("svg",PH,[n("use",{href:e.contentCopied?"#ui-icon-check":"#project-icon-copy"},null,8,DH)]))],8,TH)):f("v-if",!0),n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn tb-seg-icon","aria-label":"Download file",title:"Download file",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[62]||(t[62]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1)])],8,AH)])):f("v-if",!0),typeof e.content=="string"?(a(),l("button",{key:5,type:"button",class:"btn btn-sm btn-icon-only btn-ghost tb-copy-m","aria-label":e.contentCopied?"Copied":"Copy file contents",onClick:t[12]||(t[12]=d=>e.copyContent())},[(a(),l("svg",OH,[n("use",{href:e.contentCopied?"#ui-icon-check":"#project-icon-copy"},null,8,MH)]))],8,IH)):f("v-if",!0),e.type=="html"&&e.readmeToc().length>=3?(a(),l("div",VH,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost tb-toc-btn",{"is-on":e.tocOpen}]),"aria-label":"On this page",title:"On this page","aria-haspopup":"true","aria-expanded":e.tocOpen?"true":"false",onClick:t[13]||(t[13]=ae(d=>{e.tocOpen=!e.tocOpen,e.moreOpen=!1},["stop"]))},[...t[63]||(t[63]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-outline"})],-1)])],10,qH),e.tocOpen?(a(),l("div",{key:0,class:"tb-menu tb-toc-menu",role:"menu",onClick:t[15]||(t[15]=d=>e.tocOpen=!1)},[t[64]||(t[64]=n("div",{class:"tb-menu-label"},"On this page",-1)),n("button",{type:"button",role:"menuitem",class:R(["tb-menu-toc","lvl-2",{"is-active":!e.activeHeading}]),onClick:t[14]||(t[14]=d=>e.scrollToHeading(null))},"Introduction",2),(a(!0),l(_,null,Q(e.readmeToc(),d=>(a(),l("button",{type:"button",role:"menuitem",key:"m-"+d.id,class:R(["tb-menu-toc","lvl-"+d.level,{"is-active":e.activeHeading===d.id}]),onClick:p=>e.scrollToHeading(d.id)},c(d.text),11,LH))),128))])):f("v-if",!0)])):f("v-if",!0),n("div",$H,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost tb-more-btn",{"is-on":e.moreOpen}]),"aria-label":"More actions","aria-haspopup":"true","aria-expanded":e.moreOpen?"true":"false",onClick:t[16]||(t[16]=ae(d=>{e.tocOpen=!1,e.moreOpen=!e.moreOpen},["stop"]))},[(a(),l("svg",FH,[...t[65]||(t[65]=[n("circle",{cx:"5",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"12",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"19",cy:"12",r:"1.8"},null,-1)])]))],10,_H),e.moreOpen?(a(),l("div",{key:0,class:"tb-menu",role:"menu",onClick:t[23]||(t[23]=d=>e.moreOpen=!1)},[e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",UH,[t[66]||(t[66]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),g("Snapshot \xB7 "+c(e.fmt?.date(e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)),1)])):f("v-if",!0),typeof e.content=="string"?(a(),l("div",BH,[g(c(e.type=="html"?"Markdown":e.languageName||"Text")+" \xB7 "+c(e.type=="html"&&e.fileSize(e.filePath)!=null?e.formatSize(e.fileSize(e.filePath)):e.content.length<1024?e.content.length+" B":(e.content.length/1024).toFixed(1)+" KB"),1),e.type!="html"?(a(),l(_,{key:0},[g(" \xB7 "+c(e.fmt?.number(e.content.split(` -`).length))+" lines",1)],64)):f("v-if",!0)])):f("v-if",!0),e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",zH)):f("v-if",!0),e.type=="html"?(a(),l("button",{key:3,type:"button",role:"menuitem",onClick:t[17]||(t[17]=d=>e.toggleMdFind())},[...t[67]||(t[67]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1),g("Find in file",-1)])])):f("v-if",!0),e.type=="html"?(a(),l("div",HH)):f("v-if",!0),e.type!="html"?(a(),l("button",{key:5,type:"button",role:"menuitem",onClick:t[18]||(t[18]=d=>e.findInFile())},[...t[68]||(t[68]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1),g("Find in file",-1)])])):f("v-if",!0),e.type!="html"?(a(),l("button",{key:6,type:"button",role:"menuitem",onClick:t[19]||(t[19]=d=>e.gotoLine())},[...t[69]||(t[69]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-goto"})],-1),g("Go to line",-1)])])):f("v-if",!0),e.type!="html"?(a(),l("button",{key:7,type:"button",role:"menuitemcheckbox","aria-checked":e.wrapLines?"true":"false",onClick:t[20]||(t[20]=d=>e.toggleWrap())},[t[70]||(t[70]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-wrap"})],-1)),t[71]||(t[71]=g("Wrap lines",-1)),e.wrapLines?(a(),l("span",GH,"\u2713")):f("v-if",!0)],8,jH)):f("v-if",!0),e.isCsv()?(a(),l("button",{key:8,type:"button",role:"menuitem",class:"tb-csv-view",onClick:t[21]||(t[21]=d=>{e.csvView=e.csvView==="table"?"raw":"table",e.moreOpen=!1})},[(a(),l("svg",WH,[n("use",{href:e.csvView==="table"?"#ui-icon-code":"#ui-icon-list"},null,8,KH)])),g(c(e.csvView==="table"?"Show as text":"Show as table"),1)])):f("v-if",!0),e.type!="html"?(a(),l("div",YH)):f("v-if",!0),e.type=="html"&&(!e.preview||e.url)?(a(),l("a",{key:10,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.url)},[...t[72]||(t[72]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1),g("View raw",-1)])],8,XH)):f("v-if",!0),e.type!="html"&&(!e.preview||e.url)?(a(),l("a",{key:11,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.url)},[...t[73]||(t[73]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1),g("View raw",-1)])],8,JH)):f("v-if",!0),!e.preview||e.url?(a(),l("a",{key:12,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[74]||(t[74]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1),g("Download file",-1)])],8,QH)):f("v-if",!0),e.options?.hasWebsite?(a(),l("a",{key:13,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl("/w/"+e.repoId+"/")},[...t[75]||(t[75]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-globe"})],-1),g("Open website",-1)])],8,ZH)):f("v-if",!0),e.options?.isAdmin||e.options?.isOwner?(a(),l("a",{key:14,role:"menuitem",href:e.safeUrl("/anonymize/"+e.repoId)},[...t[76]||(t[76]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),g("Edit anonymization",-1)])],8,xH)):f("v-if",!0),e.options?.download?(a(),l("a",{key:15,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl("/api/repo/"+e.repoId+"/zip")},[...t[77]||(t[77]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-archive"})],-1),g("Download ZIP",-1)])],8,ej)):f("v-if",!0),n("button",{type:"button",role:"menuitem",onClick:t[22]||(t[22]=d=>e.copyPath())},[...t[78]||(t[78]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-link"})],-1),g("Copy file path",-1)])]),t[79]||(t[79]=n("div",{class:"tb-menu-sep"},null,-1)),t[80]||(t[80]=n("a",{role:"menuitem",href:"/faq"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-help"})]),g("FAQ")],-1)),t[81]||(t[81]=n("a",{role:"menuitem",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml",target:"_blank",rel:"noopener"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-bug"})]),g("Report a bug")],-1))])):f("v-if",!0)])]),e.gotoOpen&&e.type!="html"?(a(),l("form",{key:3,class:"goto-pop",role:"dialog","aria-label":"Go to line",onSubmit:t[26]||(t[26]=ae(d=>e.submitGoto(),["prevent"]))},[t[82]||(t[82]=n("label",{class:"goto-label",for:"goto-input"},"Go to line",-1)),D(n("input",{id:"goto-input",class:"goto-input",type:"text",inputmode:"numeric",autocomplete:"off",spellcheck:"false",placeholder:"1\u2013"+e.fmt?.number(typeof e.content=="string"?e.content.split(` -`).length:1),"aria-invalid":e.gotoError?"true":"false","onUpdate:modelValue":t[24]||(t[24]=d=>e.gotoValue=d),onKeydown:t[25]||(t[25]=Vt(ae(d=>e.closeGoto(),["prevent","stop"]),["esc"]))},null,40,tj),[[nt,e.gotoValue]]),n("span",{class:R(["goto-hint",{"is-error":e.gotoError}])},c(e.gotoError||"Line, or line:column"),3)],32)):f("v-if",!0)]),e.isCsv()&&e.csvView==="table"?(a(),l("div",{key:0,class:"csv-table-wrap",tabindex:"0",role:"region","aria-label":"Table view of "+(e.paths?.[e.paths.length-1]||"file")},[n("table",sj,[n("thead",null,[n("tr",null,[t[83]||(t[83]=n("th",{class:"csv-rownum",scope:"col"},[n("span",{class:"sr-only"},"Row")],-1)),(a(!0),l(_,null,Q(e.csvRows()[0]||[],(d,p)=>(a(),l("th",{scope:"col",key:p,class:R({"is-num":e.csvNumCol(p)})},[(a(!0),l(_,null,Q(e.redactParts(d),(u,v)=>(a(),l(_,{key:v},[u.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+u.n},[n("i",null,c(u.n),1)],8,oj)):(a(),l(_,{key:1},[g(c(u.t),1)],64))],64))),128))],2))),128))])]),n("tbody",null,[(a(!0),l(_,null,Q(e.csvRows().slice(1),(d,p)=>(a(),l("tr",{key:p},[n("td",ij,c(p+1),1),(a(!0),l(_,null,Q(d,(u,v)=>(a(),l("td",{key:v,class:R({"is-num":e.csvNumCol(v)})},[(a(!0),l(_,null,Q(e.redactParts(u),(h,y)=>(a(),l(_,{key:y},[h.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+h.n},[n("i",null,c(h.n),1)],8,rj)):(a(),l(_,{key:1},[g(c(h.t),1)],64))],64))),128))],2))),128))]))),128))])])],8,nj)):f("v-if",!0),e.type!="html"&&!(e.isCsv()&&e.csvView==="table")?D((a(),l("div",aj,null,512)),[[r,{content:e.content,options:e.aceOption}]]):f("v-if",!0),e.type=="html"&&e.mdFindOpen?(a(),l("div",lj,[n("input",{type:"search",class:"md-find-input",placeholder:"Find on this page","aria-label":"Find on this page",value:e.mdFindQuery,onInput:t[27]||(t[27]=d=>{e.mdFindQuery=d.target.value,e.runMdFind()}),onKeydown:[t[28]||(t[28]=Vt(ae(d=>d.shiftKey?e.stepMdFind(-1):e.stepMdFind(1),["prevent"]),["enter"])),t[29]||(t[29]=Vt(ae(d=>e.toggleMdFind(!1),["prevent"]),["esc"]))]},null,40,dj),n("span",uj,[n("button",{type:"button","aria-label":"Previous match",onClick:t[30]||(t[30]=d=>e.stepMdFind(-1)),disabled:!e.mdFindTotal},[...t[84]||(t[84]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-chevron-left"})],-1)])],8,cj),n("button",{type:"button","aria-label":"Next match",onClick:t[31]||(t[31]=d=>e.stepMdFind(1)),disabled:!e.mdFindTotal},[...t[85]||(t[85]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-chevron-right"})],-1)])],8,pj)]),n("span",fj,c(e.mdFindQuery?e.mdFindTotal?e.mdFindIndex+1+" of "+e.mdFindTotal:"No results":""),1),n("button",{type:"button",class:R(["md-find-opt",{"is-on":e.mdFindCase}]),"aria-pressed":e.mdFindCase?"true":"false",title:"Match case","aria-label":"Match case",onClick:t[32]||(t[32]=d=>{e.mdFindCase=!e.mdFindCase,e.runMdFind()})},"Aa",10,mj),n("button",{type:"button",class:"md-find-close","aria-label":"Close find",onClick:t[33]||(t[33]=d=>e.toggleMdFind(!1))},"\xD7")])):f("v-if",!0),e.type=="html"?(a(),l("div",hj,[n("div",{class:"file-content markdown-body",innerHTML:e.renderReadme(e.sanitize(e.content))},null,8,gj),e.readmeToc().length>=3?(a(),l("aside",vj,[t[86]||(t[86]=n("div",{class:"readme-toc-head"},"On this page",-1)),n("nav",yj,[n("a",{href:"#",class:R(["lvl-2 toc-top",{"is-active":!e.activeHeading}]),onClick:t[34]||(t[34]=ae(d=>e.scrollToHeading(null),["prevent"]))},"Introduction",2),(a(!0),l(_,null,Q(e.readmeToc(),(d,p)=>(a(),l("a",{key:d.id,href:"#"+d.id,class:R(["lvl-"+d.level,{"is-active":e.activeHeading===d.id}]),onClick:ae(u=>e.scrollToHeading(d.id),["prevent"])},c(d.text),11,bj))),128))])])):f("v-if",!0)])):f("v-if",!0)],2)):f("v-if",!0),e.type=="html-doc"&&!e.showSource&&e.content!=null?(a(),Wt(s,{key:2,content:e.content,"base-url":e.fileBaseUrl,"allow-scripts":e.allowScripts},null,8,["content","base-url","allow-scripts"])):f("v-if",!0),e.fileFrame()?(a(),l("section",{key:3,class:R(["file-card file-card-media","view-"+e.type])},[n("header",wj,[n("div",kj,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost card-files-btn",{"is-needed":e.sidebarHidden}]),title:"Show file tree",onClick:t[35]||(t[35]=d=>e.sidebarHidden?e.sidebarHidden=!1:e.sidebarCollapsed=!1)},[...t[87]||(t[87]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-sidebar"})],-1),n("span",{class:"card-files-label"},"Files",-1)])],2),n("ol",Cj,[n("li",Ej,[n("a",{href:e.safeUrl("/r/"+e.repoId+"/"),title:e.repoId,textContent:c(/^[0-9a-f]{8}-[0-9a-f]{4}-/i.test(e.repoId||"")?"repository":e.repoId)},null,8,Sj)]),(a(!0),l(_,null,Q(e.paths,(d,p)=>(a(),l("li",{class:"breadcrumb-item","aria-current":p===e.paths.length-1?"page":null},[(a(!0),l(_,null,Q(e.redactParts(d),(u,v)=>(a(),l(_,{key:v},[u.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+u.n},[n("i",null,c(u.n),1)],8,Rj)):(a(),l(_,{key:1},[g(c(u.t),1)],64))],64))),128))],8,Nj))),256))]),n("span",Tj,[e.type=="IPython"&&e.redactionCount()?(a(),l("b",{key:0,class:"ms-item ms-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[88]||(t[88]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,Pj)):f("v-if",!0),n("span",Dj,c(e.fileKind()),1),e.imageSize?(a(),l("span",Aj,c(e.imageSize),1)):f("v-if",!0),e.fileSize(e.filePath)!=null?(a(),l("span",Ij,c(e.formatSize(e.fileSize(e.filePath))),1)):f("v-if",!0)]),D(n("button",{type:"button",class:"btn btn-sm btn-icon-only btn-ghost copy-path-btn","aria-label":e.pathCopied?"Path copied":"Copy file path",title:e.pathCopied?"Path copied":"Copy file path",onClick:t[36]||(t[36]=d=>e.copyPath())},[(a(),l("svg",Mj,[n("use",{href:e.pathCopied?"#ui-icon-check":"#ui-icon-link"},null,8,Vj)]))],8,Oj),[[ee,e.filePath]])]),n("span",qj,[e.type=="IPython"&&e.redactionCount()?(a(),l(_,{key:0},[n("span",{class:"meta-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[89]||(t[89]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,Lj),t[90]||(t[90]=n("span",{class:"sep"},"\xB7",-1))],64)):f("v-if",!0),g(c(e.fileKind()),1),e.imageSize?(a(),l(_,{key:1},[t[91]||(t[91]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.imageSize),1)],64)):f("v-if",!0),e.fileSize(e.filePath)!=null?(a(),l(_,{key:2},[t[92]||(t[92]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.formatSize(e.fileSize(e.filePath))),1)],64)):f("v-if",!0)]),e.preview&&e.previewPreserved()?(a(),l("button",{key:0,type:"button",class:"rp-preserved-tag",onClick:t[37]||(t[37]=d=>e.openPreserveFiles())},"Left unredacted")):f("v-if",!0),n("div",$j,[e.type=="error"&&e.content==="file_too_big"?(a(),l("span",_j,[...t[93]||(t[93]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-info"})],-1),g("Over the size limit",-1)])])):f("v-if",!0),e.type!="error"&&(!e.preview||e.url)?(a(),l("div",Fj,[n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn",title:e.type=="IPython"?"Open the notebook JSON":"Open the raw file",href:e.safeUrl(e.url)},"Raw",8,Uj),n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn tb-seg-icon","aria-label":"Download file",title:"Download file",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[94]||(t[94]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1)])],8,Bj)])):f("v-if",!0),n("div",zj,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost tb-more-btn",{"is-on":e.moreOpen}]),"aria-label":"More actions","aria-haspopup":"true","aria-expanded":e.moreOpen?"true":"false",onClick:t[38]||(t[38]=ae(d=>e.moreOpen=!e.moreOpen,["stop"]))},[(a(),l("svg",jj,[...t[95]||(t[95]=[n("circle",{cx:"5",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"12",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"19",cy:"12",r:"1.8"},null,-1)])]))],10,Hj),e.moreOpen?(a(),l("div",{key:0,class:"tb-menu",role:"menu",onClick:t[40]||(t[40]=d=>e.moreOpen=!1)},[e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",Gj,[t[96]||(t[96]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),g("Snapshot \xB7 "+c(e.fmt?.date(e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)),1)])):f("v-if",!0),e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",Wj)):f("v-if",!0),e.type!="error"&&(!e.preview||e.url)?(a(),l("a",{key:2,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.url)},[t[97]||(t[97]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1)),g(c(e.type=="IPython"?"View notebook JSON":"View raw"),1)],8,Kj)):f("v-if",!0),e.type!="error"&&(!e.preview||e.url)?(a(),l("a",{key:3,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[98]||(t[98]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1),g("Download file",-1)])],8,Yj)):f("v-if",!0),e.options?.download?(a(),l("a",{key:4,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl("/api/repo/"+e.repoId+"/zip")},[...t[99]||(t[99]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-archive"})],-1),g("Download ZIP",-1)])],8,Xj)):f("v-if",!0),n("button",{type:"button",role:"menuitem",onClick:t[39]||(t[39]=d=>e.copyPath())},[...t[100]||(t[100]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-link"})],-1),g("Copy file path",-1)])]),t[101]||(t[101]=n("div",{class:"tb-menu-sep"},null,-1)),t[102]||(t[102]=n("a",{role:"menuitem",href:"/faq"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-help"})]),g("FAQ")],-1)),t[103]||(t[103]=n("a",{role:"menuitem",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml",target:"_blank",rel:"noopener"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-bug"})]),g("Report a bug")],-1))])):f("v-if",!0)])])]),e.type=="image"?(a(),l("div",Jj,[n("img",{class:"image-content",src:e.safeUrl(e.url),alt:e.paths[e.paths.length-1],onLoad:t[41]||(t[41]=d=>e.onImageLoad(d))},null,40,Qj)])):f("v-if",!0),e.type=="media"?(a(),l("div",Zj,[n("video",{class:"video-content",controls:"",preload:"metadata",playsinline:"",src:e.safeUrl(e.url)},null,8,xj)])):f("v-if",!0),e.type=="audio"?(a(),l("div",eG,[n("audio",{controls:"",preload:"metadata",src:e.safeUrl(e.url)},null,8,tG)])):f("v-if",!0),e.type=="pdf"?(a(),Wt(i,{key:3,src:e.safeUrl(e.url)},null,8,["src"])):f("v-if",!0),e.type=="IPython"?(a(),l("div",nG,[Oe(o,{class:"markdown-body",file:e.url,content:e.content},null,8,["file","content"])])):f("v-if",!0),e.type=="binary"?(a(),l("div",sG,[t[105]||(t[105]=n("svg",{class:"ui-icon file-state-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-file"})],-1)),t[106]||(t[106]=n("h2",{class:"file-state-title"},"No preview for this file",-1)),n("p",oG,c(e.preview?"Reviewers can open this file; it is not previewed here.":"This is a binary file. Download it to open it on your computer."),1),e.preview?f("v-if",!0):(a(),l("div",iG,[n("a",{target:e.preview?"_blank":"_self",class:"btn btn-primary",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[104]||(t[104]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1),g("Download file",-1)])],8,rG)]))])):f("v-if",!0),e.type=="error"?(a(),l("div",aG,[t[108]||(t[108]=n("svg",{class:"ui-icon file-state-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-warning"})],-1)),n("h2",lG,c(e.content==="file_too_big"?"This file is too large to preview":"This file can't be shown"),1),e.content==="file_too_big"?(a(),l("p",dG,c(e.preview?"Reviewers can open this file; it is not previewed here. Files over 1 MB are only shown on the reviewer page.":"It is over the size limit for anonymized files, so it can't be previewed or downloaded from this link."),1)):(a(),l("p",uG,c(e.fmt.translate("ERRORS."+e.content)),1)),e.preview?f("v-if",!0):(a(),l("div",cG,[n("a",{class:"btn btn-primary",href:e.safeUrl("/r/"+e.repoId+"/")},"Back to the repository",8,pG),t[107]||(t[107]=n("a",{class:"btn btn-outline-ink",href:"/faq#formats"},"Supported files",-1))]))])):f("v-if",!0),e.content==null&&e.type!="error"?(a(),l("div",fG,[...t[109]||(t[109]=[n("svg",{class:"ui-icon file-state-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-file"})],-1),n("h2",{class:"file-state-title"},"This file is empty",-1),n("p",{class:"file-state-msg"},"It has no content in this snapshot.",-1)])])):f("v-if",!0)],2)):f("v-if",!0),e.type=="rate_limited"?(a(),l("div",mG,[n("div",hG,[t[112]||(t[112]=Ce('',1)),n("p",gG,[t[110]||(t[110]=g("This repository will be available in ",-1)),n("strong",null,c(e.rateLimitCountdown),1),t[111]||(t[111]=g(". The page will reload automatically.",-1))])])])):f("v-if",!0),e.type=="error"&&!e.fileFrame()?(a(),l("div",vG,[n("section",yG,[n("h1",bG,c(e.fmt.translate(e.isSourceAccessError()?"VIEWER_ERRORS.access_title":"VIEWER_ERRORS.title")),1),n("p",null,c(e.fmt.translate("ERRORS."+e.content)),1),e.isSourceAccessError()?(a(),l(_,{key:0},[n("p",null,c(e.fmt.translate("VIEWER_ERRORS.reader_help")),1),n("p",null,c(e.fmt.translate("VIEWER_ERRORS.owner_help")),1)],64)):f("v-if",!0),n("div",wG,[e.isSourceAccessError()?f("v-if",!0):(a(),l("a",kG,"Back to home")),e.isSourceAccessError()?f("v-if",!0):(a(),l("a",CG,"Read the FAQ")),n("button",{type:"button",class:"btn btn-primary",onClick:t[42]||(t[42]=d=>e.retryContent())},c(e.fmt.translate("VIEWER_ERRORS.retry")),1),e.isSourceAccessError()?(a(),l("a",EG,c(e.fmt.translate("VIEWER_ERRORS.dashboard")),1)):f("v-if",!0)])])])):f("v-if",!0),e.type=="loading"&&!e.error?(a(),l("section",SG,[n("div",NG,[n("strong",null,c(e.fmt.translate(e.fileReceivedBytes?"VIEWER_LOADING.receiving":"VIEWER_LOADING.loading")),1),n("span",RG,c(e.filePath),1),e.fileLoadingSlow?(a(),l("p",TG,c(e.fmt.translate("VIEWER_LOADING.slow")),1)):f("v-if",!0)]),n("div",PG,[(a(),l(_,null,Q(10,d=>n("span",{key:d})),64))])])):f("v-if",!0),e.type=="empty"?(a(),l("div",DG,[...t[113]||(t[113]=[n("h1",{class:"paper-empty-title m-auto"},[g("Empty "),n("em",null,"repository"),g(".")],-1)])])):f("v-if",!0),e.content==null&&!["empty","loading","error","rate_limited"].includes(e.type)&&!e.fileFrame()?(a(),l("div",AG,[...t[114]||(t[114]=[n("h1",{class:"paper-empty-title m-auto"},[g("Empty "),n("em",null,"file"),g(".")],-1)])])):f("v-if",!0)],64)}var IG={class:"container page dashboard-page paper-page"},OG={class:"row"},MG={class:"w-100"},VG={class:"w-100","aria-label":"Pull Requests","accept-charset":"UTF-8"},qG={class:"d-flex flex-column flex-md-row align-items-md-center",style:{gap:"8px"}},LG={class:"flex-grow-1"},$G={type:"search",id:"search",class:"form-control","aria-label":"Find a pull request...",placeholder:"Find a pull request...",autocomplete:"off"},_G={class:"d-flex flex-wrap",style:{gap:"6px"}},FG={class:"dropdown"},UG={class:"dropdown-menu","aria-labelledby":"dropdownSort"},BG={class:"form-check dropdown-item"},zG={class:"form-check-input",type:"radio",name:"sort",id:"sortFullName",value:"fullName"},HG={class:"form-check dropdown-item"},jG={class:"form-check-input",type:"radio",name:"sort",id:"sortAnonymizeDate",value:"-anonymizeDate"},GG={class:"form-check dropdown-item"},WG={class:"form-check-input",type:"radio",name:"sort",id:"sortStatus",value:"-status"},KG={class:"form-check dropdown-item"},YG={class:"form-check-input",type:"radio",name:"sort",id:"sortLastView",value:"-lastView"},XG={class:"form-check dropdown-item"},JG={class:"form-check-input",type:"radio",name:"sort",id:"sortPageView",value:"-pageView"},QG={class:"dropdown"},ZG={class:"dropdown-menu","aria-labelledby":"dropdownStatus"},xG={class:"form-check dropdown-item"},eW={class:"form-check-input",type:"checkbox",name:"sort",id:"statusReady",value:"ready"},tW={class:"form-check dropdown-item"},nW={class:"form-check-input",type:"checkbox",name:"sort",id:"statusExpired",value:"expired"},sW={class:"form-check dropdown-item"},oW={class:"form-check-input",type:"checkbox",name:"sort",id:"statusRemoved",value:"removed"},iW={class:"d-flex flex-wrap mt-2",style:{gap:"6px"}},rW={class:"filter-chip"},aW=["onClick"],lW={class:"repo-list w-100"},dW={class:"repo-list-item-content"},uW={class:"repo-list-item-main"},cW={class:"repo-list-item-header"},pW=["textContent","href"],fW=["textContent"],mW=["textContent"],hW={class:"repo-source"},gW=["href"],vW={class:"repo-date"},yW={class:"repo-meta"},bW={key:0,title:"Conference"},wW=["title"],kW=["title"],CW=["title"],EW={key:1},SW={class:"repo-list-item-actions"},NW={class:"dropdown"},RW={class:"dropdown-menu dropdown-menu-right"},TW=["href"],PW=["onClick"],DW=["onClick"],AW=["onClick"],IW=["href"],OW={key:0,class:"repo-list-empty"};function Cp(e,t){let s=Pe("field"),i=Pe("form");return a(),l("div",IG,[n("div",OG,[n("div",MG,[t[12]||(t[12]=Ce('Temporarily pausedGitHub API rate limit reachedMy work \xA0/\xA0 Pull requests',2)),f(" Search + filters row "),D((a(),l("form",VG,[n("div",qG,[n("div",LG,[D(n("input",$G,null,512),[[s,{state:e.viewState,set:o=>{e.search=o},value:e.search,form:null,options:{}}]])]),n("div",_G,[n("div",FG,[t[6]||(t[6]=n("button",{class:"btn btn-sm dropdown-toggle",type:"button",id:"dropdownSort","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}," Sort ",-1)),n("div",UG,[t[5]||(t[5]=n("h6",{class:"dropdown-header"},"Select order",-1)),n("div",BG,[D(n("input",zG,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[0]||(t[0]=n("label",{class:"form-check-label",for:"sortFullName"},"Pull Request",-1))]),n("div",HG,[D(n("input",jG,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[1]||(t[1]=n("label",{class:"form-check-label",for:"sortAnonymizeDate"},"Anonymize Date",-1))]),n("div",GG,[D(n("input",WG,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[2]||(t[2]=n("label",{class:"form-check-label",for:"sortStatus"},"Status",-1))]),n("div",KG,[D(n("input",YG,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[3]||(t[3]=n("label",{class:"form-check-label",for:"sortLastView"},"Last View",-1))]),n("div",XG,[D(n("input",JG,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[4]||(t[4]=n("label",{class:"form-check-label",for:"sortPageView"},"Page View",-1))])])]),n("div",QG,[t[11]||(t[11]=n("button",{class:"btn btn-sm dropdown-toggle",type:"button",id:"dropdownStatus","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}," Status ",-1)),n("div",ZG,[t[10]||(t[10]=n("h6",{class:"dropdown-header"},"Select status",-1)),n("div",xG,[D(n("input",eW,null,512),[[s,{state:e.viewState,set:o=>{e.filters.status.ready=o},value:e.filters?.status?.ready,form:null,options:{}}]]),t[7]||(t[7]=n("label",{class:"form-check-label",for:"statusReady"},"Ready",-1))]),n("div",tW,[D(n("input",nW,null,512),[[s,{state:e.viewState,set:o=>{e.filters.status.expired=o},value:e.filters?.status?.expired,form:null,options:{}}]]),t[8]||(t[8]=n("label",{class:"form-check-label",for:"statusExpired"},"Expired",-1))]),n("div",sW,[D(n("input",oW,null,512),[[s,{state:e.viewState,set:o=>{e.filters.status.removed=o},value:e.filters?.status?.removed,form:null,options:{}}]]),t[9]||(t[9]=n("label",{class:"form-check-label",for:"statusRemoved"},"Removed",-1))])])])])])])),[[i,e.viewState]]),f(" Active filter chips "),D(n("div",iW,[(a(!0),l(_,null,Q(e.filters?.status,(o,r,d)=>D((a(),l("span",rW,[g(c(e.fmt?.title(r))+" ",1),n("button",{type:"button",class:"filter-chip-close","aria-label":"Remove filter",onClick:p=>{e.filters.status[r]=!0}}," \xD7 ",8,aW)],512)),[[ee,!o]])),256))],512),[[ee,e.filters?.status?.ready===!1||e.filters?.status?.expired===!1||e.filters?.status?.removed===!1]])]),f(" Pull request list "),n("ul",lW,[(a(!0),l(_,null,Q(e.filteredPullRequests,(o,r)=>(a(),l("li",{class:R(["repo-list-item",{"repo-inactive":o?.status=="expired"||o?.status=="removed"||o?.status=="error"}])},[n("div",dW,[n("div",uW,[n("div",cW,[n("a",{class:"repo-name",textContent:c(o?.pullRequestId),href:e.safeUrl("/pr/"+o?.pullRequestId)},null,8,pW),n("span",{class:R(["status-badge",{"status-removed":o?.status=="removed"||o?.status=="expired"||o?.status=="removing"||o?.status=="expiring","status-preparing":o?.status=="preparing"||o?.status=="download","status-ready":o?.status=="ready","status-error":o?.status=="error"}])},[n("span",{textContent:c(e.fmt?.title(o?.status))},null,8,fW),o?.status=="error"?(a(),l("span",{key:0,textContent:c(": "+o?.statusMessage)},null,8,mW)):f("v-if",!0)],2)]),n("div",hW,[n("span",null,[t[13]||(t[13]=n("i",{class:"fab fa-github","aria-hidden":"true"},null,-1)),n("a",{href:e.safeUrl("https://github.com/"+o?.source?.repositoryFullName+"/pull/"+o?.source?.pullRequestId)},c(o?.source?.repositoryFullName)+"#"+c(o?.source?.pullRequestId),9,gW)]),n("span",{class:R(["status-badge",{"status-ready":o?.merged,"status-removed":o?.state=="open","status-error":o?.state=="closed"&&!o?.merged}]),style:{"font-size":"10px"}},c(e.fmt?.title(o?.merged?"merged":o?.state)),3),n("span",vW,"anonymized "+c(e.fmt?.humanTime(o?.anonymizeDate)),1)])]),n("div",yW,[o?.conference?(a(),l("span",bW,[t[14]||(t[14]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-conference"})],-1)),g(" "+c(o?.conference),1)])):f("v-if",!0),n("span",{"data-toggle":"tooltip","data-placement":"bottom",title:"Terms: "+o?.options?.terms?.join(", ")},[t[15]||(t[15]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})],-1)),g(" "+c(e.fmt?.number(o?.options?.terms?.length)),1)],8,wW),n("span",{"data-toggle":"tooltip","data-placement":"bottom",title:"Views: "+e.fmt?.number(o?.pageView)},[t[16]||(t[16]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-eye"})],-1)),g(" "+c(e.fmt?.number(o?.pageView)),1)],8,kW),n("span",{"data-toggle":"tooltip","data-placement":"bottom",title:"Last view: "+e.fmt?.date(o?.lastView)},[t[17]||(t[17]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-calendar"})],-1)),g(" "+c(e.fmt?.humanTime(o?.lastView)),1)],8,CW),o?.options?.expirationMode!="never"&&o?.status=="ready"?(a(),l("span",EW,[t[18]||(t[18]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),g(" Expire: "+c(e.fmt?.humanTime(o?.options?.expirationDate)),1)])):f("v-if",!0)])]),n("div",SW,[n("div",NW,[t[24]||(t[24]=n("button",{class:"btn btn-sm dropdown-toggle",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}," Actions ",-1)),n("div",RW,[n("a",{class:"dropdown-item",href:e.safeUrl("/pull-request-anonymize/"+o?.pullRequestId)},[...t[19]||(t[19]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),g(" Edit ",-1)])],8,TW),D(n("a",{class:"dropdown-item",href:"#",onClick:ae(d=>e.updatePullRequest(o),["prevent"])},[...t[20]||(t[20]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-refresh"})],-1),g(" Force update ",-1)])],8,PW),[[ee,o?.status=="ready"||o?.status=="error"]]),D(n("a",{class:"dropdown-item",href:"#",onClick:ae(d=>e.updatePullRequest(o),["prevent"])},[...t[21]||(t[21]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-check-circle"})],-1),g(" Enable ",-1)])],8,DW),[[ee,o?.status=="removed"]]),D(n("a",{class:"dropdown-item",href:"#",onClick:ae(d=>e.removePullRequest(o),["prevent"])},[...t[22]||(t[22]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-trash"})],-1),g(" Remove ",-1)])],8,AW),[[ee,o?.status=="ready"]]),n("a",{class:"dropdown-item",href:e.safeUrl("/pr/"+o?.pullRequestId+"/")},[...t[23]||(t[23]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-eye"})],-1),g(" View PR ",-1)])],8,IW)])])])],2))),256)),e.filteredPullRequests?.length==0?(a(),l("li",OW,[...t[25]||(t[25]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-inbox"})],-1),n("span",null,"No pull requests to display.",-1)])])):f("v-if",!0)])])])}var MW={class:"container paper-page user-settings"},VW={class:"settings-nav","aria-label":"Settings"},qW=["aria-current","onClick"],LW={class:"settings-row"},$W=["rows"],_W={class:"settings-syntax"},FW={class:"invalid-feedback"},UW={class:"settings-row"},BW={class:"settings-checks"},zW={class:"settings-check"},HW={class:"form-check-input",type:"checkbox",id:"link",name:"link"},jW={class:"settings-check"},GW={class:"form-check-input",type:"checkbox",id:"image",name:"image"},WW={class:"settings-check"},KW={class:"form-check-input",type:"checkbox",id:"pdf",name:"pdf"},YW={class:"settings-check"},XW={class:"form-check-input",type:"checkbox",id:"notebook",name:"notebook"},JW={class:"settings-check"},QW={class:"form-check-input",type:"checkbox",id:"loc",name:"loc"},ZW={class:"settings-check"},xW={class:"form-check-input",type:"checkbox",id:"page",name:"page"},eK={class:"settings-row"},tK={class:"settings-check"},nK={class:"form-check-input",type:"checkbox",id:"update",name:"update"},sK={class:"settings-row"},oK={class:"form-control",id:"expiration",name:"expiration"},iK={class:"settings-help"},rK={class:"settings-save"},aK={class:"settings-save-status draft-status",role:"status"},lK={key:0},dK={key:1},uK={key:2},cK=["disabled"],pK={key:1,class:"settings-save-error",role:"alert"},fK=["aria-busy"],mK={key:0,role:"status"},hK={key:1,class:"settings-notice",role:"alert"},gK=["disabled"],vK={key:2,class:"settings-notice",role:"status"},yK={key:3,class:"settings-notice",role:"status"},bK=["disabled"],wK={class:"billing-summary"},kK={class:"billing-summary-head"},CK={class:"billing-plan-name"},EK={key:0,class:"billing-plan-meta"},SK={key:1,class:"billing-plan-meta"},NK={key:0,class:"billing-summary-actions"},RK=["disabled"],TK={id:"settings-quota"},PK={key:1,role:"status"},DK={key:0,class:"settings-notice"},AK={key:1,class:"settings-notice"},IK={key:2,class:"settings-notice"},OK={key:4,class:"billing-section","aria-labelledby":"settings-plan-comparison"},MK={key:0,class:"billing-offers"},VK={key:0,class:"billing-offer is-recommended"},qK={class:"billing-offer-price"},LK={class:"billing-offer-list"},$K=["disabled"],_K={key:1,class:"billing-offer"},FK={class:"billing-offer-head"},UK={class:"billing-toggle",role:"radiogroup","aria-label":"Billing frequency"},BK=["aria-checked","onClick"],zK={key:0,class:"billing-toggle-save"},HK={class:"billing-offer-price"},jK={class:"billing-offer-list"},GK=["disabled"],WK={key:1,class:"billing-addons"},KK={class:"billing-addon-rows"},YK={class:"billing-addon-price"},XK=["onClick","disabled"],JK={key:2,class:"billing-buy",id:"settings-addons-title",tabindex:"-1"},QK={class:"billing-buy-info"},ZK={class:"billing-offer-price"},xK={class:"billing-offer-list"},eY={class:"billing-buy-form"},tY=["value"],nY=["disabled"],sY={key:1,class:"billing-buy-desc"},oY={key:2,class:"billing-footnote"},iY={class:"billing-compare"},rY={class:"billing-compare-card"},aY={class:"settings-comparison"},lY={key:0,scope:"col",class:"is-recommended"},dY={key:1,scope:"col"},uY={key:0,class:"is-recommended"},cY={key:1},pY={key:0,class:"is-recommended"},fY={key:1},mY={key:0,class:"is-recommended"},hY={key:1},gY={key:0,class:"is-recommended"},vY={key:1},yY={key:0,class:"is-recommended"},bY={key:1},wY={key:0,class:"is-recommended"},kY={key:1},CY={key:3,class:"billing-footnote"},EY={key:5,class:"billing-section"},SY={class:"billing-section-head"},NY=["disabled"],RY={key:0,class:"billing-empty"},TY={key:1,class:"billing-history-head","aria-hidden":"true"},PY={key:2,class:"billing-history"},DY={class:"billing-history-main"},AY=["href"],IY=["href"],OY={class:"billing-history-term"},MY={class:"billing-history-paid"},VY={class:"billing-history-status"},qY={class:"billing-manage"},LY={key:0},$Y={key:1},_Y=["disabled"],FY={class:"billing-conference"},UY={id:"settings-account",class:"settings-account-panel"},BY={class:"paper-account-card"},zY=["src"],HY={class:"paper-account-identity"},jY={class:"paper-account-name"},GY=["disabled"],WY={key:0,role:"status"},KY={key:1,class:"paper-inline-alert paper-inline-alert-error",role:"alert"},YY=["disabled"],XY={key:3,role:"status"},JY={class:"paper-danger-zone"},QY={key:0,class:"paper-inline-alert paper-inline-alert-error",role:"alert"},ZY=["textContent"],xY=["disabled"],eX={key:1,class:"settings-delete-confirm"},tX={for:"delete-username"},nX={class:"settings-actions"},sX=["disabled"],oX=["disabled"];function Ep(e,t){let s=Je("quota-usage"),i=Pe("field"),o=Pe("form");return a(),l("div",MW,[t[107]||(t[107]=n("header",{class:"settings-title page-head page-head-main"},[n("h1",null,"Settings"),n("p",{class:"paper-page-lede"},"Defaults for new anonymizations, hosting and your account.")],-1)),n("nav",VW,[(a(),l(_,null,Q([{id:"defaults",label:"Anonymization defaults"},{id:"billing",label:"Hosting & billing"},{id:"account",label:"Account"}],r=>n("button",{type:"button","aria-current":e.settingsTab===r.id?"page":null,onClick:d=>e.settingsTab=r.id},c(r.label),9,qW)),64))]),D(n("div",null,[t[41]||(t[41]=n("p",{class:"settings-scope"},"For new anonymizations only. Existing repositories keep their settings.",-1)),D((a(),l("form",{class:"form needs-validation",name:"defaultsForm",novalidate:"",onInput:t[1]||(t[1]=r=>e.unsavedChanges=!0),onSubmit:t[2]||(t[2]=ae(r=>e.submitForm(r,()=>{e.saveDefault(r)}),["prevent"]))},[n("section",LW,[t[26]||(t[26]=n("div",null,[n("label",{class:"settings-label",for:"terms"},"Terms to redact"),n("p",{class:"settings-help"},"One term per line.")],-1)),n("div",null,[D(n("textarea",{class:"form-control",id:"terms",name:"terms",rows:Math.min(14,Math.max(3,String(e.terms||"").split(` +10 log("epoch %d: %.3f", epoch, loss)Anonymized pull requests
Track PR mirrors you\u2019ve created and their reviewer traffic.
The GitHub App has read-only access to gists and the repositories you choose. Legacy OAuth uses broader permissions. Anonymous GitHub never writes to your repositories.
Source code with syntax highlighting, Markdown, Jupyter notebooks, PDFs, images, and GitHub Pages sites. Text files are anonymized; enabled images and PDFs are served unchanged.
You choose: the mirror is removed, or visitors are redirected to the original GitHub repository once the review is over.
Create an anonymous mirror in a couple of minutes. Reviewers just open the link.
Nothing renews \xB7 Tax shown at checkout \xB7 Expecting more submissions? Email tdurieux@anonymous.4open.science
Create the conference, then pay from its page. Authors can submit once the payment is confirmed.
',2))],64)):e.plans.length?(a(),l("div",Az,[(a(!0),l(_,null,Q(e.plans,r=>(a(),l("label",{class:R(["paper-plan-card",{selected:e.options?.plan?.planID==r?.id}]),key:r.id},[D(n("input",{type:"radio",name:"planPicker",value:r?.id},null,8,Iz),[[i,{state:e.viewState,set:d=>{e.options.plan.planID=d},value:e.options?.plan?.planID,form:"conference",options:{}}]]),n("div",{class:"paper-plan-head",textContent:c(r?.name)},null,8,Oz),n("div",Mz,c(r.pricePerRepo>0?e.fmt?.number(r.pricePerRepo,2)+" \u20AC per repository":"Free"),1),n("div",{class:"paper-plan-desc",innerHTML:e.sanitize(r?.description)},null,8,Vz)],2))),128))])):e.plansLoaded?(a(),l("p",qz,"New conferences are unavailable right now. Please try again later.")):f("v-if",!0)]),e.plan?.pricePerRepo>0?(a(),l("section",Lz,[t[43]||(t[43]=n("div",{class:"paper-section-eyebrow"},"Billing",-1)),n("div",_z,[t[36]||(t[36]=n("label",{class:"paper-field-label",for:"billing_name"},"Name",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.billing_name?.invalid&&(e.conference?.billing_name?.touched||e.conference?.submitted)}]),name:"billing_name",id:"billing_name",required:"",placeholder:"First & last name"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.name=r},value:e.options?.billing?.name,form:"conference",options:{}}]])]),n("div",$z,[t[37]||(t[37]=n("label",{class:"paper-field-label",for:"email"},"Email",-1)),D(n("input",{type:"email",class:R(["form-control",{"is-invalid":e.conference?.email?.invalid&&(e.conference?.email?.touched||e.conference?.submitted)}]),name:"email",id:"email",required:"",placeholder:"you@example.org"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.email=r},value:e.options?.billing?.email,form:"conference",options:{}}]])]),n("div",Fz,[t[38]||(t[38]=n("label",{class:"paper-field-label",for:"inputAddress"},"Address",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.inputAddress?.invalid&&(e.conference?.inputAddress?.touched||e.conference?.submitted)}]),name:"inputAddress",id:"inputAddress",required:"",placeholder:"1234 Main St"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.address=r},value:e.options?.billing?.address,form:"conference",options:{}}]])]),n("div",Uz,[D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.inputAddress2?.invalid&&(e.conference?.inputAddress2?.touched||e.conference?.submitted)}]),name:"inputAddress2",id:"inputAddress2",placeholder:"Apartment, studio, or floor"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.address2=r},value:e.options?.billing?.address2,form:"conference",options:{}}]])]),n("div",Bz,[n("div",zz,[t[39]||(t[39]=n("label",{class:"paper-field-label",for:"city"},"City",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.city?.invalid&&(e.conference?.city?.touched||e.conference?.submitted)}]),name:"city",id:"city",required:"",placeholder:"City"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.city=r},value:e.options?.billing?.city,form:"conference",options:{}}]])]),n("div",Hz,[t[40]||(t[40]=n("label",{class:"paper-field-label",for:"country"},"Country",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.country?.invalid&&(e.conference?.country?.touched||e.conference?.submitted)}]),name:"country",id:"country",required:"",placeholder:"Country"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.country=r},value:e.options?.billing?.country,form:"conference",options:{}}]])]),n("div",jz,[t[41]||(t[41]=n("label",{class:"paper-field-label",for:"zip"},"Zip",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.zip?.invalid&&(e.conference?.zip?.touched||e.conference?.submitted)}]),name:"zip",id:"zip",required:"",placeholder:"Zip"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.zip=r},value:e.options?.billing?.zip,form:"conference",options:{}}]])])]),n("div",Gz,[t[42]||(t[42]=n("label",{class:"paper-field-label",for:"vat"},"VAT number",-1)),D(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.conference?.vat?.invalid&&(e.conference?.vat?.touched||e.conference?.submitted)}]),name:"vat",id:"vat",placeholder:"VAT Number"},null,2),[[i,{state:e.viewState,set:r=>{e.options.billing.vat=r},value:e.options?.billing?.vat,form:"conference",options:{}}]])])])):f("v-if",!0),n("div",Wz,[e.error?(a(),l("div",{key:0,class:"alert alert-danger",role:"alert",textContent:c(e.error)},null,8,Kz)):f("v-if",!0),e.message?(a(),l("div",{key:1,class:"alert alert-success",role:"alert",textContent:c(e.message)},null,8,Yz)):f("v-if",!0),n("button",{id:"send",disabled:e.saving,type:"submit",class:"btn btn-ink",onClick:t[0]||(t[0]=ae(r=>e.submitForm(r,()=>{e.submit(r)}),["prevent"]))},c(e.saving?e.editionMode?"Updating\u2026":"Creating\u2026":e.editionMode?"Update conference":"Create conference"),9,Xz)])])),[[o,e.viewState]])])])}var Jz={key:0,class:"dir-card","aria-label":"Repository files"},Qz=["onClick"],Zz={class:"dir-name"},xz=["href"],eH={class:"dir-name"},tH={class:"dir-meta"},nH={class:"file-card-head"},sH={class:"file-card-path"},oH={class:"breadcrumb paths","aria-label":"Path"},iH={class:"breadcrumb-item breadcrumb-root"},rH=["href","title","textContent"],aH=["aria-current"],lH=["aria-label"],dH={class:"mobile-sub ms"},uH=["title"],cH={class:"ms-item"},pH={key:1,class:"ms-item"},fH={key:2,class:"ms-item"},mH=["aria-label","title"],hH={class:"ui-icon","aria-hidden":"true"},gH=["href"],vH={key:0,class:"file-card-meta"},yH=["title"],bH={class:"meta-extra"},wH={key:1,class:"file-card-meta"},kH=["title"],CH={class:"file-card-actions"},EH={key:0,class:"csv-toggle seg-filter",role:"radiogroup","aria-label":"CSV view"},SH=["aria-checked"],NH=["aria-checked"],RH={key:1,class:"symbols"},TH=["aria-expanded"],PH={key:0,class:"symbols-menu",role:"menu"},DH={class:"symbols-head"},AH=["onClick"],IH={class:"symbols-name"},OH={class:"symbols-line"},MH=["title"],VH={key:3,class:"tb-view",role:"group","aria-label":"View tools"},qH=["title"],LH=["aria-pressed"],_H=["title"],$H={key:4,class:"tb-file",role:"group","aria-label":"File actions"},FH=["target","title","href"],UH=["aria-label","title"],BH={class:"ui-icon","aria-hidden":"true"},zH=["href"],HH=["target","href","download"],jH=["aria-label"],GH={class:"ui-icon","aria-hidden":"true"},WH=["href"],KH={key:6,class:"tb-toc-m"},YH=["aria-expanded"],XH=["onClick"],JH={class:"tb-more"},QH=["aria-expanded"],ZH={viewBox:"0 0 24 24",class:"ui-icon","aria-hidden":"true",style:{fill:"currentColor",stroke:"none"}},xH={key:0,class:"tb-menu-note"},ej={key:1,class:"tb-menu-note tb-menu-meta"},tj={key:2,class:"tb-menu-sep"},nj={key:4,class:"tb-menu-sep"},sj=["aria-checked"],oj={key:0,class:"tb-menu-check"},ij={class:"ui-icon","aria-hidden":"true"},rj=["href"],aj={key:9,class:"tb-menu-sep"},lj=["target","href"],dj=["target","href"],uj=["target","href","download"],cj=["target","href"],pj=["href"],fj=["target","href"],mj=["placeholder","aria-invalid"],hj=["aria-label"],gj={class:"csv-table"},vj=["aria-label"],yj={class:"csv-rownum"},bj=["aria-label"],wj={key:1,class:"file-card-body"},kj={key:2,class:"md-find-bar",role:"search"},Cj=["value"],Ej={class:"md-find-nav"},Sj=["disabled"],Nj=["disabled"],Rj={class:"md-find-count","aria-live":"polite"},Tj=["aria-pressed"],Pj={key:3,class:"reading-layout"},Dj=["innerHTML"],Aj={key:0,class:"readme-toc","aria-label":"On this page"},Ij={class:"toc-rail"},Oj=["href","onClick"],Mj={class:"file-card-head"},Vj={class:"file-card-path"},qj={class:"breadcrumb paths","aria-label":"Path"},Lj={class:"breadcrumb-item breadcrumb-root"},_j=["href","title","textContent"],$j=["aria-current"],Fj=["aria-label"],Uj={class:"mobile-sub ms"},Bj=["title"],zj={class:"ms-item"},Hj={key:1,class:"ms-item"},jj={key:2,class:"ms-item"},Gj=["aria-label","title"],Wj={class:"ui-icon","aria-hidden":"true"},Kj=["href"],Yj={class:"file-card-meta"},Xj=["title"],Jj={class:"file-card-actions"},Qj={key:0,class:"file-card-state",title:"Files over the size limit can't be previewed or downloaded from this link"},Zj={key:1,class:"tb-file",role:"group","aria-label":"File actions"},xj=["target","title","href"],eG=["target","href","download"],tG={class:"tb-more"},nG=["aria-expanded"],sG={viewBox:"0 0 24 24",class:"ui-icon","aria-hidden":"true",style:{fill:"currentColor",stroke:"none"}},oG={key:0,class:"tb-menu-note"},iG={key:1,class:"tb-menu-sep"},rG=["target","href"],aG=["target","href","download"],lG=["target","href"],dG={key:0,class:"media-stage"},uG=["src","alt"],cG={key:1,class:"media-stage"},pG=["src"],fG={key:2,class:"media-stage is-audio"},mG=["src"],hG={key:4,class:"notebook-body"},gG={key:5,class:"file-state"},vG={class:"file-state-msg"},yG={key:0,class:"file-state-actions"},bG=["target","href","download"],wG={key:6,class:"file-state",role:"alert"},kG={class:"file-state-title"},CG={key:0,class:"file-state-msg"},EG={key:1,class:"file-state-msg"},SG={key:2,class:"file-state-actions"},NG=["href"],RG={key:7,class:"file-state"},TG={key:4,class:"file-error container d-flex h-100"},PG={class:"paper-ratelimit-card m-auto",style:{"max-width":"520px"}},DG={class:"paper-error-msg"},AG={key:5,class:"file-error container d-flex h-100"},IG={class:"viewer-error paper-error-card file-error-card m-auto",role:"alert","aria-labelledby":"viewer-error-title"},OG={id:"viewer-error-title",class:"paper-empty-title"},MG={class:"paper-error-actions"},VG={key:0,href:"/",class:"btn btn-sm"},qG={key:1,href:"/faq",class:"btn btn-sm"},LG={key:2,class:"btn btn-outline-ink",href:"/dashboard"},_G={key:6,class:"viewer-loading","aria-busy":"true"},$G={class:"viewer-loading-status",role:"status","aria-live":"polite"},FG={class:"viewer-loading-name sr-only"},UG={key:0},BG={class:"viewer-loading-lines","aria-hidden":"true"},zG={key:7,class:"file-error container d-flex h-100"},HG={key:8,class:"file-error container d-flex h-100"};function kp(e,t){let s=Je("html-doc"),i=Je("pdfviewer"),o=Je("notebook"),r=Pe("code-editor");return a(),l(_,null,[e.sidebarHidden&&e.type=="html"&&e.content!=null&&e.paths?.length===1&&/^readme/i.test(e.paths[0]||"")&&e.files?.length?(a(),l("section",Jz,[t[46]||(t[46]=n("header",{class:"dir-card-head"},[n("span",{class:"dir-card-title"},"Files"),n("span",{class:"dir-card-sub"},"Snapshot of the repository at review time")],-1)),n("ul",{class:R(["dir-list",{"is-expanded":e.dirExpanded}])},[(a(!0),l(_,null,Q(e.rootEntries(),d=>(a(),l("li",{key:d.name},[d.size==null?(a(),l("button",{key:0,type:"button",class:"dir-row",onClick:p=>e.revealFolder(d.name)},[t[43]||(t[43]=n("svg",{class:"dir-icon",viewBox:"0 0 16 16","aria-hidden":"true"},[n("path",{d:"M1.5 3.5h4l1.5 1.5h7.5v8h-13z"})],-1)),n("span",Zz,c(d.name),1),t[44]||(t[44]=n("span",{class:"dir-meta"},"Folder",-1))],8,Qz)):(a(),l("a",{key:1,class:R(["dir-row",{"is-current":d.name===e.paths[0]}]),href:e.safeUrl("/r/"+e.repoId+"/"+encodeURIComponent(d.name))},[t[45]||(t[45]=n("svg",{class:"dir-icon",viewBox:"0 0 16 16","aria-hidden":"true"},[n("path",{d:"M3.5 1.5h6l3 3v10h-9z"})],-1)),n("span",eH,c(d.name),1),n("span",tH,c(e.formatSize(d.size)),1)],10,xz))]))),128))],2),!e.dirExpanded&&e.files.length>8?(a(),l("button",{key:0,type:"button",class:"dir-more",onClick:t[0]||(t[0]=d=>e.dirExpanded=!0)},"Show all "+c(e.files.length)+" items",1)):f("v-if",!0)])):f("v-if",!0),(e.type=="text"||e.type=="code"||e.type=="html"||e.type=="html-doc"&&e.showSource)&&e.content!=null?(a(),l("section",{key:1,class:R(["file-card",{"is-code":e.type!="html","no-wrap":!e.wrapLines}])},[n("header",nH,[n("div",sH,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost card-files-btn",{"is-needed":e.sidebarHidden}]),title:"Show file tree",onClick:t[1]||(t[1]=d=>e.sidebarHidden?e.sidebarHidden=!1:e.sidebarCollapsed=!1)},[...t[47]||(t[47]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-sidebar"})],-1),n("span",{class:"card-files-label"},"Files",-1)])],2),n("ol",oH,[n("li",iH,[n("a",{href:e.safeUrl("/r/"+e.repoId+"/"),title:e.repoId,textContent:c(/^[0-9a-f]{8}-[0-9a-f]{4}-/i.test(e.repoId||"")?"repository":e.repoId)},null,8,rH)]),(a(!0),l(_,null,Q(e.paths,(d,p)=>(a(),l("li",{class:"breadcrumb-item","aria-current":p===e.paths.length-1?"page":null},[(a(!0),l(_,null,Q(e.redactParts(d),(u,v)=>(a(),l(_,{key:v},[u.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+u.n},[n("i",null,c(u.n),1)],8,lH)):(a(),l(_,{key:1},[g(c(u.t),1)],64))],64))),128))],8,aH))),256))]),n("span",dH,[e.redactionCount()?(a(),l("b",{key:0,class:"ms-item ms-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[48]||(t[48]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,uH)):f("v-if",!0),n("span",cH,c(e.type=="html"?"Markdown":e.languageName||"Text"),1),e.fileSize(e.filePath)!=null?(a(),l("span",pH,c(e.formatSize(e.fileSize(e.filePath))),1)):f("v-if",!0),e.type!="html"&&typeof e.content=="string"?(a(),l("span",fH,c(e.fmt?.number(e.content.split(` +`).length))+" lines",1)):f("v-if",!0)]),D(n("button",{type:"button",class:"btn btn-sm btn-icon-only btn-ghost copy-path-btn","aria-label":e.pathCopied?"Path copied":"Copy file path",title:e.pathCopied?"Path copied":"Copy file path",onClick:t[2]||(t[2]=d=>e.copyPath())},[(a(),l("svg",hH,[n("use",{href:e.pathCopied?"#ui-icon-check":"#ui-icon-link"},null,8,gH)]))],8,mH),[[ee,e.filePath]])]),e.type!="html"&&typeof e.content=="string"?(a(),l("span",vH,[e.redactionCount()?(a(),l(_,{key:0},[n("span",{class:"meta-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[49]||(t[49]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,yH),t[50]||(t[50]=n("span",{class:"sep"},"\xB7",-1))],64)):f("v-if",!0),g(c(e.languageName||"Text"),1),n("span",bH,[t[51]||(t[51]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.content.length<1024?e.content.length+" B":(e.content.length/1024).toFixed(1)+" KB"),1)]),t[52]||(t[52]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.fmt?.number(e.content.split(` +`).length))+" lines",1)])):f("v-if",!0),e.type=="html"?(a(),l("span",wH,[e.redactionCount()?(a(),l(_,{key:0},[n("span",{class:"meta-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[53]||(t[53]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,kH),t[54]||(t[54]=n("span",{class:"sep"},"\xB7",-1))],64)):f("v-if",!0),t[56]||(t[56]=g("Markdown",-1)),e.fileSize(e.filePath)!=null?(a(),l(_,{key:1},[t[55]||(t[55]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.formatSize(e.fileSize(e.filePath))),1)],64)):f("v-if",!0)])):f("v-if",!0),e.preview&&e.previewPreserved()?(a(),l("button",{key:2,type:"button",class:"rp-preserved-tag",onClick:t[3]||(t[3]=d=>e.openPreserveFiles())},"Left unredacted")):f("v-if",!0),n("div",CH,[e.isCsv()?(a(),l("div",EH,[n("button",{type:"button",role:"radio",class:R(["seg-chip",{active:e.csvView==="table"}]),"aria-checked":e.csvView==="table",onClick:t[4]||(t[4]=d=>e.csvView="table")},"Table",10,SH),n("button",{type:"button",role:"radio",class:R(["seg-chip",{active:e.csvView==="raw"}]),"aria-checked":e.csvView==="raw",onClick:t[5]||(t[5]=d=>e.csvView="raw"),title:"Show the file as text with line numbers"},"Text",10,NH)])):f("v-if",!0),e.type!="html"&&e.symbols().length>1?(a(),l("div",RH,[n("button",{type:"button",class:R(["btn btn-sm btn-ghost btn-symbols",{"is-on":e.symbolsOpen}]),"aria-expanded":e.symbolsOpen?"true":"false","aria-haspopup":"true",title:"Symbols in this file",onClick:t[6]||(t[6]=d=>e.symbolsOpen=!e.symbolsOpen)},[...t[57]||(t[57]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-list"})],-1),n("span",{class:"btn-find-label"},"Symbols",-1)])],10,TH),e.symbolsOpen?(a(),l("div",PH,[n("div",DH,c(e.symbols().length)+" "+c(e.symbols().length===1?"symbol":"symbols"),1),(a(!0),l(_,null,Q(e.symbols(),d=>(a(),l("button",{type:"button",class:"symbols-item",role:"menuitem",key:d.line+d.name,onClick:p=>e.goToSymbol(d.line)},[n("span",{class:R(["symbols-kind","is-"+d.kind])},c(d.kind==="class"?"C":d.kind==="function"?"\u0192":"v"),3),n("span",IH,c(d.name),1),n("span",OH,c(d.line),1)],8,AH))),128))])):f("v-if",!0)])):f("v-if",!0),e.type=="html"?(a(),l("button",{key:2,type:"button",class:R(["btn btn-sm btn-ghost btn-icon-only btn-find btn-md-find",{"is-on":e.mdFindOpen}]),"aria-label":"Find on this page",title:"Find on this page ("+(e.isMac?"\u2318":"Ctrl+")+"F)",onClick:t[7]||(t[7]=d=>e.toggleMdFind())},[...t[58]||(t[58]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1)])],10,MH)):f("v-if",!0),e.type!="html"&&!(e.isCsv()&&e.csvView==="table")?(a(),l("div",VH,[e.type!="html"?(a(),l("button",{key:0,type:"button",class:"btn btn-sm btn-ghost btn-icon-only btn-goto","aria-label":"Go to line",title:"Go to line ("+(e.isMac?"\u2318":"Ctrl+")+"G)",onClick:t[8]||(t[8]=d=>e.gotoLine())},[...t[59]||(t[59]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-goto"})],-1)])],8,qH)):f("v-if",!0),e.type!="html"?(a(),l("button",{key:1,type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost btn-toggle",{"is-on":e.wrapLines}]),"aria-pressed":e.wrapLines?"true":"false","aria-label":"Wrap lines",title:"Wrap lines (Alt+Z)",onClick:t[9]||(t[9]=d=>e.toggleWrap())},[...t[60]||(t[60]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-wrap"})],-1)])],10,LH)):f("v-if",!0),e.type!="html"?(a(),l("button",{key:2,type:"button",class:"btn btn-sm btn-ghost btn-icon-only btn-find","aria-label":"Find in file",title:"Find in file ("+(e.isMac?"\u2318":"Ctrl+")+"F)",onClick:t[10]||(t[10]=d=>e.findInFile())},[...t[61]||(t[61]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1)])],8,_H)):f("v-if",!0)])):f("v-if",!0),!e.preview||e.url?(a(),l("div",$H,[n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn",title:e.type=="html"?"Open the Markdown source":"Open the raw file",href:e.safeUrl(e.url)},"Raw",8,FH),typeof e.content=="string"?(a(),l("button",{key:0,type:"button",class:"tb-seg-btn tb-seg-icon","aria-label":e.contentCopied?"Copied":"Copy file contents",title:e.contentCopied?"Copied":"Copy file contents",onClick:t[11]||(t[11]=d=>e.copyContent())},[(a(),l("svg",BH,[n("use",{href:e.contentCopied?"#ui-icon-check":"#project-icon-copy"},null,8,zH)]))],8,UH)):f("v-if",!0),n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn tb-seg-icon","aria-label":"Download file",title:"Download file",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[62]||(t[62]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1)])],8,HH)])):f("v-if",!0),typeof e.content=="string"?(a(),l("button",{key:5,type:"button",class:"btn btn-sm btn-icon-only btn-ghost tb-copy-m","aria-label":e.contentCopied?"Copied":"Copy file contents",onClick:t[12]||(t[12]=d=>e.copyContent())},[(a(),l("svg",GH,[n("use",{href:e.contentCopied?"#ui-icon-check":"#project-icon-copy"},null,8,WH)]))],8,jH)):f("v-if",!0),e.type=="html"&&e.readmeToc().length>=3?(a(),l("div",KH,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost tb-toc-btn",{"is-on":e.tocOpen}]),"aria-label":"On this page",title:"On this page","aria-haspopup":"true","aria-expanded":e.tocOpen?"true":"false",onClick:t[13]||(t[13]=ae(d=>{e.tocOpen=!e.tocOpen,e.moreOpen=!1},["stop"]))},[...t[63]||(t[63]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-outline"})],-1)])],10,YH),e.tocOpen?(a(),l("div",{key:0,class:"tb-menu tb-toc-menu",role:"menu",onClick:t[15]||(t[15]=d=>e.tocOpen=!1)},[t[64]||(t[64]=n("div",{class:"tb-menu-label"},"On this page",-1)),n("button",{type:"button",role:"menuitem",class:R(["tb-menu-toc","lvl-2",{"is-active":!e.activeHeading}]),onClick:t[14]||(t[14]=d=>e.scrollToHeading(null))},"Introduction",2),(a(!0),l(_,null,Q(e.readmeToc(),d=>(a(),l("button",{type:"button",role:"menuitem",key:"m-"+d.id,class:R(["tb-menu-toc","lvl-"+d.level,{"is-active":e.activeHeading===d.id}]),onClick:p=>e.scrollToHeading(d.id)},c(d.text),11,XH))),128))])):f("v-if",!0)])):f("v-if",!0),n("div",JH,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost tb-more-btn",{"is-on":e.moreOpen}]),"aria-label":"More actions","aria-haspopup":"true","aria-expanded":e.moreOpen?"true":"false",onClick:t[16]||(t[16]=ae(d=>{e.tocOpen=!1,e.moreOpen=!e.moreOpen},["stop"]))},[(a(),l("svg",ZH,[...t[65]||(t[65]=[n("circle",{cx:"5",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"12",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"19",cy:"12",r:"1.8"},null,-1)])]))],10,QH),e.moreOpen?(a(),l("div",{key:0,class:"tb-menu",role:"menu",onClick:t[23]||(t[23]=d=>e.moreOpen=!1)},[e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",xH,[t[66]||(t[66]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),g("Snapshot \xB7 "+c(e.fmt?.date(e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)),1)])):f("v-if",!0),typeof e.content=="string"?(a(),l("div",ej,[g(c(e.type=="html"?"Markdown":e.languageName||"Text")+" \xB7 "+c(e.type=="html"&&e.fileSize(e.filePath)!=null?e.formatSize(e.fileSize(e.filePath)):e.content.length<1024?e.content.length+" B":(e.content.length/1024).toFixed(1)+" KB"),1),e.type!="html"?(a(),l(_,{key:0},[g(" \xB7 "+c(e.fmt?.number(e.content.split(` +`).length))+" lines",1)],64)):f("v-if",!0)])):f("v-if",!0),e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",tj)):f("v-if",!0),e.type=="html"?(a(),l("button",{key:3,type:"button",role:"menuitem",onClick:t[17]||(t[17]=d=>e.toggleMdFind())},[...t[67]||(t[67]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1),g("Find in file",-1)])])):f("v-if",!0),e.type=="html"?(a(),l("div",nj)):f("v-if",!0),e.type!="html"?(a(),l("button",{key:5,type:"button",role:"menuitem",onClick:t[18]||(t[18]=d=>e.findInFile())},[...t[68]||(t[68]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1),g("Find in file",-1)])])):f("v-if",!0),e.type!="html"?(a(),l("button",{key:6,type:"button",role:"menuitem",onClick:t[19]||(t[19]=d=>e.gotoLine())},[...t[69]||(t[69]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-goto"})],-1),g("Go to line",-1)])])):f("v-if",!0),e.type!="html"?(a(),l("button",{key:7,type:"button",role:"menuitemcheckbox","aria-checked":e.wrapLines?"true":"false",onClick:t[20]||(t[20]=d=>e.toggleWrap())},[t[70]||(t[70]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-wrap"})],-1)),t[71]||(t[71]=g("Wrap lines",-1)),e.wrapLines?(a(),l("span",oj,"\u2713")):f("v-if",!0)],8,sj)):f("v-if",!0),e.isCsv()?(a(),l("button",{key:8,type:"button",role:"menuitem",class:"tb-csv-view",onClick:t[21]||(t[21]=d=>{e.csvView=e.csvView==="table"?"raw":"table",e.moreOpen=!1})},[(a(),l("svg",ij,[n("use",{href:e.csvView==="table"?"#ui-icon-code":"#ui-icon-list"},null,8,rj)])),g(c(e.csvView==="table"?"Show as text":"Show as table"),1)])):f("v-if",!0),e.type!="html"?(a(),l("div",aj)):f("v-if",!0),e.type=="html"&&(!e.preview||e.url)?(a(),l("a",{key:10,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.url)},[...t[72]||(t[72]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1),g("View raw",-1)])],8,lj)):f("v-if",!0),e.type!="html"&&(!e.preview||e.url)?(a(),l("a",{key:11,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.url)},[...t[73]||(t[73]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1),g("View raw",-1)])],8,dj)):f("v-if",!0),!e.preview||e.url?(a(),l("a",{key:12,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[74]||(t[74]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1),g("Download file",-1)])],8,uj)):f("v-if",!0),e.options?.hasWebsite?(a(),l("a",{key:13,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl("/w/"+e.repoId+"/")},[...t[75]||(t[75]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-globe"})],-1),g("Open website",-1)])],8,cj)):f("v-if",!0),e.options?.isAdmin||e.options?.isOwner?(a(),l("a",{key:14,role:"menuitem",href:e.safeUrl("/anonymize/"+e.repoId)},[...t[76]||(t[76]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),g("Edit anonymization",-1)])],8,pj)):f("v-if",!0),e.options?.download?(a(),l("a",{key:15,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl("/api/repo/"+e.repoId+"/zip")},[...t[77]||(t[77]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-archive"})],-1),g("Download ZIP",-1)])],8,fj)):f("v-if",!0),n("button",{type:"button",role:"menuitem",onClick:t[22]||(t[22]=d=>e.copyPath())},[...t[78]||(t[78]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-link"})],-1),g("Copy file path",-1)])]),t[79]||(t[79]=n("div",{class:"tb-menu-sep"},null,-1)),t[80]||(t[80]=n("a",{role:"menuitem",href:"/faq"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-help"})]),g("FAQ")],-1)),t[81]||(t[81]=n("a",{role:"menuitem",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml",target:"_blank",rel:"noopener"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-bug"})]),g("Report a bug")],-1))])):f("v-if",!0)])]),e.gotoOpen&&e.type!="html"?(a(),l("form",{key:3,class:"goto-pop",role:"dialog","aria-label":"Go to line",onSubmit:t[26]||(t[26]=ae(d=>e.submitGoto(),["prevent"]))},[t[82]||(t[82]=n("label",{class:"goto-label",for:"goto-input"},"Go to line",-1)),D(n("input",{id:"goto-input",class:"goto-input",type:"text",inputmode:"numeric",autocomplete:"off",spellcheck:"false",placeholder:"1\u2013"+e.fmt?.number(typeof e.content=="string"?e.content.split(` +`).length:1),"aria-invalid":e.gotoError?"true":"false","onUpdate:modelValue":t[24]||(t[24]=d=>e.gotoValue=d),onKeydown:t[25]||(t[25]=Vt(ae(d=>e.closeGoto(),["prevent","stop"]),["esc"]))},null,40,mj),[[nt,e.gotoValue]]),n("span",{class:R(["goto-hint",{"is-error":e.gotoError}])},c(e.gotoError||"Line, or line:column"),3)],32)):f("v-if",!0)]),e.isCsv()&&e.csvView==="table"?(a(),l("div",{key:0,class:"csv-table-wrap",tabindex:"0",role:"region","aria-label":"Table view of "+(e.paths?.[e.paths.length-1]||"file")},[n("table",gj,[n("thead",null,[n("tr",null,[t[83]||(t[83]=n("th",{class:"csv-rownum",scope:"col"},[n("span",{class:"sr-only"},"Row")],-1)),(a(!0),l(_,null,Q(e.csvRows()[0]||[],(d,p)=>(a(),l("th",{scope:"col",key:p,class:R({"is-num":e.csvNumCol(p)})},[(a(!0),l(_,null,Q(e.redactParts(d),(u,v)=>(a(),l(_,{key:v},[u.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+u.n},[n("i",null,c(u.n),1)],8,vj)):(a(),l(_,{key:1},[g(c(u.t),1)],64))],64))),128))],2))),128))])]),n("tbody",null,[(a(!0),l(_,null,Q(e.csvRows().slice(1),(d,p)=>(a(),l("tr",{key:p},[n("td",yj,c(p+1),1),(a(!0),l(_,null,Q(d,(u,v)=>(a(),l("td",{key:v,class:R({"is-num":e.csvNumCol(v)})},[(a(!0),l(_,null,Q(e.redactParts(u),(h,y)=>(a(),l(_,{key:y},[h.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+h.n},[n("i",null,c(h.n),1)],8,bj)):(a(),l(_,{key:1},[g(c(h.t),1)],64))],64))),128))],2))),128))]))),128))])])],8,hj)):f("v-if",!0),e.type!="html"&&!(e.isCsv()&&e.csvView==="table")?D((a(),l("div",wj,null,512)),[[r,{content:e.content,options:e.aceOption}]]):f("v-if",!0),e.type=="html"&&e.mdFindOpen?(a(),l("div",kj,[n("input",{type:"search",class:"md-find-input",placeholder:"Find on this page","aria-label":"Find on this page",value:e.mdFindQuery,onInput:t[27]||(t[27]=d=>{e.mdFindQuery=d.target.value,e.runMdFind()}),onKeydown:[t[28]||(t[28]=Vt(ae(d=>d.shiftKey?e.stepMdFind(-1):e.stepMdFind(1),["prevent"]),["enter"])),t[29]||(t[29]=Vt(ae(d=>e.toggleMdFind(!1),["prevent"]),["esc"]))]},null,40,Cj),n("span",Ej,[n("button",{type:"button","aria-label":"Previous match",onClick:t[30]||(t[30]=d=>e.stepMdFind(-1)),disabled:!e.mdFindTotal},[...t[84]||(t[84]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-chevron-left"})],-1)])],8,Sj),n("button",{type:"button","aria-label":"Next match",onClick:t[31]||(t[31]=d=>e.stepMdFind(1)),disabled:!e.mdFindTotal},[...t[85]||(t[85]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-chevron-right"})],-1)])],8,Nj)]),n("span",Rj,c(e.mdFindQuery?e.mdFindTotal?e.mdFindIndex+1+" of "+e.mdFindTotal:"No results":""),1),n("button",{type:"button",class:R(["md-find-opt",{"is-on":e.mdFindCase}]),"aria-pressed":e.mdFindCase?"true":"false",title:"Match case","aria-label":"Match case",onClick:t[32]||(t[32]=d=>{e.mdFindCase=!e.mdFindCase,e.runMdFind()})},"Aa",10,Tj),n("button",{type:"button",class:"md-find-close","aria-label":"Close find",onClick:t[33]||(t[33]=d=>e.toggleMdFind(!1))},"\xD7")])):f("v-if",!0),e.type=="html"?(a(),l("div",Pj,[n("div",{class:"file-content markdown-body",innerHTML:e.renderReadme(e.sanitize(e.content))},null,8,Dj),e.readmeToc().length>=3?(a(),l("aside",Aj,[t[86]||(t[86]=n("div",{class:"readme-toc-head"},"On this page",-1)),n("nav",Ij,[n("a",{href:"#",class:R(["lvl-2 toc-top",{"is-active":!e.activeHeading}]),onClick:t[34]||(t[34]=ae(d=>e.scrollToHeading(null),["prevent"]))},"Introduction",2),(a(!0),l(_,null,Q(e.readmeToc(),(d,p)=>(a(),l("a",{key:d.id,href:"#"+d.id,class:R(["lvl-"+d.level,{"is-active":e.activeHeading===d.id}]),onClick:ae(u=>e.scrollToHeading(d.id),["prevent"])},c(d.text),11,Oj))),128))])])):f("v-if",!0)])):f("v-if",!0)],2)):f("v-if",!0),e.type=="html-doc"&&!e.showSource&&e.content!=null?(a(),Wt(s,{key:2,content:e.content,"base-url":e.fileBaseUrl,"allow-scripts":e.allowScripts},null,8,["content","base-url","allow-scripts"])):f("v-if",!0),e.fileFrame()?(a(),l("section",{key:3,class:R(["file-card file-card-media","view-"+e.type])},[n("header",Mj,[n("div",Vj,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost card-files-btn",{"is-needed":e.sidebarHidden}]),title:"Show file tree",onClick:t[35]||(t[35]=d=>e.sidebarHidden?e.sidebarHidden=!1:e.sidebarCollapsed=!1)},[...t[87]||(t[87]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-sidebar"})],-1),n("span",{class:"card-files-label"},"Files",-1)])],2),n("ol",qj,[n("li",Lj,[n("a",{href:e.safeUrl("/r/"+e.repoId+"/"),title:e.repoId,textContent:c(/^[0-9a-f]{8}-[0-9a-f]{4}-/i.test(e.repoId||"")?"repository":e.repoId)},null,8,_j)]),(a(!0),l(_,null,Q(e.paths,(d,p)=>(a(),l("li",{class:"breadcrumb-item","aria-current":p===e.paths.length-1?"page":null},[(a(!0),l(_,null,Q(e.redactParts(d),(u,v)=>(a(),l(_,{key:v},[u.n?(a(),l("span",{key:0,class:"redact-slot",role:"img","aria-label":"Redacted term "+u.n},[n("i",null,c(u.n),1)],8,Fj)):(a(),l(_,{key:1},[g(c(u.t),1)],64))],64))),128))],8,$j))),256))]),n("span",Uj,[e.type=="IPython"&&e.redactionCount()?(a(),l("b",{key:0,class:"ms-item ms-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[88]||(t[88]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,Bj)):f("v-if",!0),n("span",zj,c(e.fileKind()),1),e.imageSize?(a(),l("span",Hj,c(e.imageSize),1)):f("v-if",!0),e.fileSize(e.filePath)!=null?(a(),l("span",jj,c(e.formatSize(e.fileSize(e.filePath))),1)):f("v-if",!0)]),D(n("button",{type:"button",class:"btn btn-sm btn-icon-only btn-ghost copy-path-btn","aria-label":e.pathCopied?"Path copied":"Copy file path",title:e.pathCopied?"Path copied":"Copy file path",onClick:t[36]||(t[36]=d=>e.copyPath())},[(a(),l("svg",Wj,[n("use",{href:e.pathCopied?"#ui-icon-check":"#ui-icon-link"},null,8,Kj)]))],8,Gj),[[ee,e.filePath]])]),n("span",Yj,[e.type=="IPython"&&e.redactionCount()?(a(),l(_,{key:0},[n("span",{class:"meta-redact",title:e.redactionCount()+" redacted terms"},[g(c(e.redactionCount()),1),t[89]||(t[89]=n("span",{class:"meta-redact-word"}," redacted",-1))],8,Xj),t[90]||(t[90]=n("span",{class:"sep"},"\xB7",-1))],64)):f("v-if",!0),g(c(e.fileKind()),1),e.imageSize?(a(),l(_,{key:1},[t[91]||(t[91]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.imageSize),1)],64)):f("v-if",!0),e.fileSize(e.filePath)!=null?(a(),l(_,{key:2},[t[92]||(t[92]=n("span",{class:"sep"},"\xB7",-1)),g(c(e.formatSize(e.fileSize(e.filePath))),1)],64)):f("v-if",!0)]),e.preview&&e.previewPreserved()?(a(),l("button",{key:0,type:"button",class:"rp-preserved-tag",onClick:t[37]||(t[37]=d=>e.openPreserveFiles())},"Left unredacted")):f("v-if",!0),n("div",Jj,[e.type=="error"&&e.content==="file_too_big"?(a(),l("span",Qj,[...t[93]||(t[93]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-info"})],-1),g("Over the size limit",-1)])])):f("v-if",!0),e.type!="error"&&(!e.preview||e.url)?(a(),l("div",Zj,[n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn",title:e.type=="IPython"?"Open the notebook JSON":"Open the raw file",href:e.safeUrl(e.url)},"Raw",8,xj),n("a",{target:e.preview?"_blank":"_self",class:"tb-seg-btn tb-seg-icon","aria-label":"Download file",title:"Download file",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[94]||(t[94]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1)])],8,eG)])):f("v-if",!0),n("div",tG,[n("button",{type:"button",class:R(["btn btn-sm btn-icon-only btn-ghost tb-more-btn",{"is-on":e.moreOpen}]),"aria-label":"More actions","aria-haspopup":"true","aria-expanded":e.moreOpen?"true":"false",onClick:t[38]||(t[38]=ae(d=>e.moreOpen=!e.moreOpen,["stop"]))},[(a(),l("svg",sG,[...t[95]||(t[95]=[n("circle",{cx:"5",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"12",cy:"12",r:"1.8"},null,-1),n("circle",{cx:"19",cy:"12",r:"1.8"},null,-1)])]))],10,nG),e.moreOpen?(a(),l("div",{key:0,class:"tb-menu",role:"menu",onClick:t[40]||(t[40]=d=>e.moreOpen=!1)},[e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",oG,[t[96]||(t[96]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),g("Snapshot \xB7 "+c(e.fmt?.date(e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)),1)])):f("v-if",!0),e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("div",iG)):f("v-if",!0),e.type!="error"&&(!e.preview||e.url)?(a(),l("a",{key:2,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.url)},[t[97]||(t[97]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1)),g(c(e.type=="IPython"?"View notebook JSON":"View raw"),1)],8,rG)):f("v-if",!0),e.type!="error"&&(!e.preview||e.url)?(a(),l("a",{key:3,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[98]||(t[98]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1),g("Download file",-1)])],8,aG)):f("v-if",!0),e.options?.download?(a(),l("a",{key:4,role:"menuitem",target:e.preview?"_blank":"_self",href:e.safeUrl("/api/repo/"+e.repoId+"/zip")},[...t[99]||(t[99]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-archive"})],-1),g("Download ZIP",-1)])],8,lG)):f("v-if",!0),n("button",{type:"button",role:"menuitem",onClick:t[39]||(t[39]=d=>e.copyPath())},[...t[100]||(t[100]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-link"})],-1),g("Copy file path",-1)])]),t[101]||(t[101]=n("div",{class:"tb-menu-sep"},null,-1)),t[102]||(t[102]=n("a",{role:"menuitem",href:"/faq"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-help"})]),g("FAQ")],-1)),t[103]||(t[103]=n("a",{role:"menuitem",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml",target:"_blank",rel:"noopener"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-bug"})]),g("Report a bug")],-1))])):f("v-if",!0)])])]),e.type=="image"?(a(),l("div",dG,[n("img",{class:"image-content",src:e.safeUrl(e.url),alt:e.paths[e.paths.length-1],onLoad:t[41]||(t[41]=d=>e.onImageLoad(d))},null,40,uG)])):f("v-if",!0),e.type=="media"?(a(),l("div",cG,[n("video",{class:"video-content",controls:"",preload:"metadata",playsinline:"",src:e.safeUrl(e.url)},null,8,pG)])):f("v-if",!0),e.type=="audio"?(a(),l("div",fG,[n("audio",{controls:"",preload:"metadata",src:e.safeUrl(e.url)},null,8,mG)])):f("v-if",!0),e.type=="pdf"?(a(),Wt(i,{key:3,src:e.safeUrl(e.url)},null,8,["src"])):f("v-if",!0),e.type=="IPython"?(a(),l("div",hG,[Oe(o,{class:"markdown-body",file:e.url,content:e.content},null,8,["file","content"])])):f("v-if",!0),e.type=="binary"?(a(),l("div",gG,[t[105]||(t[105]=n("svg",{class:"ui-icon file-state-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-file"})],-1)),t[106]||(t[106]=n("h2",{class:"file-state-title"},"No preview for this file",-1)),n("p",vG,c(e.preview?"Reviewers can open this file; it is not previewed here.":"This is a binary file. Download it to open it on your computer."),1),e.preview?f("v-if",!0):(a(),l("div",yG,[n("a",{target:e.preview?"_blank":"_self",class:"btn btn-primary",href:e.safeUrl(e.downloadUrl()),download:e.preview?e.paths[e.paths.length-1]:null},[...t[104]||(t[104]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1),g("Download file",-1)])],8,bG)]))])):f("v-if",!0),e.type=="error"?(a(),l("div",wG,[t[108]||(t[108]=n("svg",{class:"ui-icon file-state-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-warning"})],-1)),n("h2",kG,c(e.content==="file_too_big"?"This file is too large to preview":"This file can't be shown"),1),e.content==="file_too_big"?(a(),l("p",CG,c(e.preview?"Reviewers can open this file; it is not previewed here. Files over 1 MB are only shown on the reviewer page.":"It is over the size limit for anonymized files, so it can't be previewed or downloaded from this link."),1)):(a(),l("p",EG,c(e.fmt.translate("ERRORS."+e.content)),1)),e.preview?f("v-if",!0):(a(),l("div",SG,[n("a",{class:"btn btn-primary",href:e.safeUrl("/r/"+e.repoId+"/")},"Back to the repository",8,NG),t[107]||(t[107]=n("a",{class:"btn btn-outline-ink",href:"/faq#formats"},"Supported files",-1))]))])):f("v-if",!0),e.content==null&&e.type!="error"?(a(),l("div",RG,[...t[109]||(t[109]=[n("svg",{class:"ui-icon file-state-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-file"})],-1),n("h2",{class:"file-state-title"},"This file is empty",-1),n("p",{class:"file-state-msg"},"It has no content in this snapshot.",-1)])])):f("v-if",!0)],2)):f("v-if",!0),e.type=="rate_limited"?(a(),l("div",TG,[n("div",PG,[t[112]||(t[112]=Ce('Track PR mirrors you\u2019ve created and their reviewer traffic.