v-code-diff 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view{--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #24292f;--color-diff-blob-addition-fg: #24292f;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #24292f;--color-diff-blob-deletion-fg: #24292f;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #57606a;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(27,31,36,.15);--color-diffstat-addition-border: rgba(27,31,36,.15);--color-diffstat-addition-bg: #2da44e;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #24292f;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #57606a;--color-codemirror-cursor: #24292f;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #24292f;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #2da44e;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(27,31,36,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(27,31,36,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: -2px -2px 0 rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(27,31,36,.12), 0 8px 24px rgba(66,74,83,.12);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(27,31,36,.15);--color-btn-shadow: 0 1px 0 rgba(27,31,36,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(27,31,36,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(27,31,36,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-focus-bg: #f6f8fa;--color-btn-focus-border: rgba(27,31,36,.15);--color-btn-focus-shadow: 0 0 0 3px rgba(9,105,218,.3);--color-btn-shadow-active: inset 0 .15em .3em rgba(27,31,36,.15);--color-btn-shadow-input-focus: 0 0 0 .2em rgba(9,105,218,.3);--color-btn-counter-bg: rgba(27,31,36,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #2da44e;--color-btn-primary-border: rgba(27,31,36,.15);--color-btn-primary-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #2c974b;--color-btn-primary-hover-border: rgba(27,31,36,.15);--color-btn-primary-selected-bg: hsla(137,55%,36%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(27,31,36,.15);--color-btn-primary-focus-bg: #2da44e;--color-btn-primary-focus-border: rgba(27,31,36,.15);--color-btn-primary-focus-shadow: 0 0 0 3px rgba(45,164,78,.4);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(255,255,255,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(27,31,36,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(27,31,36,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-focus-border: rgba(27,31,36,.15);--color-btn-outline-focus-shadow: 0 0 0 3px rgba(5,80,174,.4);--color-btn-outline-counter-bg: rgba(9,105,218,.1);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(27,31,36,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(27,31,36,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-focus-border: rgba(27,31,36,.15);--color-btn-danger-focus-shadow: 0 0 0 3px rgba(164,14,38,.4);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #cf222e;--color-switch-track-bg: #eaeef2;--color-switch-track-border: #afb8c1;--color-switch-track-checked-bg: #ddf4ff;--color-switch-track-checked-hover-bg: #b6e3ff;--color-switch-track-checked-active-bg: #80ccff;--color-switch-track-checked-border: #54aeff;--color-switch-knob-checked-bg: #0969da;--color-switch-knob-checked-disabled-bg: #6e7781;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #6e7781;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(27,31,36,.15);--color-shadow-small: 0 1px 0 rgba(27,31,36,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #2da44e;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #bf8700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #cf222e;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #2da44e;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #cf222e;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(27,31,36,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(27,31,36,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-primer-shadow-focus: 0 0 0 3px rgba(9,105,218,.3);--color-scale-black: #1b1f24;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view{position:relative;margin-top:16px;margin-bottom:16px;border:1px solid var(--color-border-default, #ddd);border-radius:6px;overflow-y:auto}.code-diff-view *{position:static;box-sizing:border-box}.code-diff-view .file-header{background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .filename{font-size:13px;color:var(--color-fg-default)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#00f}.hljs-addition,.hljs-attribute,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-title,.hljs-type{color:#a31515}.hljs-deletion,.hljs-meta,.hljs-selector-attr,.hljs-selector-pseudo{color:#2b91af}.hljs-doctag{color:gray}.hljs-attr{color:red}.hljs-bullet,.hljs-link,.hljs-symbol{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view{--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #24292f;--color-diff-blob-addition-fg: #24292f;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #24292f;--color-diff-blob-deletion-fg: #24292f;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #57606a;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(27,31,36,.15);--color-diffstat-addition-border: rgba(27,31,36,.15);--color-diffstat-addition-bg: #2da44e;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #24292f;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #57606a;--color-codemirror-cursor: #24292f;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #24292f;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #2da44e;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(27,31,36,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(27,31,36,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: -2px -2px 0 rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(27,31,36,.12), 0 8px 24px rgba(66,74,83,.12);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(27,31,36,.15);--color-btn-shadow: 0 1px 0 rgba(27,31,36,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(27,31,36,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(27,31,36,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-focus-bg: #f6f8fa;--color-btn-focus-border: rgba(27,31,36,.15);--color-btn-focus-shadow: 0 0 0 3px rgba(9,105,218,.3);--color-btn-shadow-active: inset 0 .15em .3em rgba(27,31,36,.15);--color-btn-shadow-input-focus: 0 0 0 .2em rgba(9,105,218,.3);--color-btn-counter-bg: rgba(27,31,36,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #2da44e;--color-btn-primary-border: rgba(27,31,36,.15);--color-btn-primary-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #2c974b;--color-btn-primary-hover-border: rgba(27,31,36,.15);--color-btn-primary-selected-bg: hsla(137,55%,36%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(27,31,36,.15);--color-btn-primary-focus-bg: #2da44e;--color-btn-primary-focus-border: rgba(27,31,36,.15);--color-btn-primary-focus-shadow: 0 0 0 3px rgba(45,164,78,.4);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(255,255,255,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(27,31,36,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(27,31,36,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-focus-border: rgba(27,31,36,.15);--color-btn-outline-focus-shadow: 0 0 0 3px rgba(5,80,174,.4);--color-btn-outline-counter-bg: rgba(9,105,218,.1);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(27,31,36,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(27,31,36,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-focus-border: rgba(27,31,36,.15);--color-btn-danger-focus-shadow: 0 0 0 3px rgba(164,14,38,.4);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #cf222e;--color-switch-track-bg: #eaeef2;--color-switch-track-border: #afb8c1;--color-switch-track-checked-bg: #ddf4ff;--color-switch-track-checked-hover-bg: #b6e3ff;--color-switch-track-checked-active-bg: #80ccff;--color-switch-track-checked-border: #54aeff;--color-switch-knob-checked-bg: #0969da;--color-switch-knob-checked-disabled-bg: #6e7781;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #6e7781;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(27,31,36,.15);--color-shadow-small: 0 1px 0 rgba(27,31,36,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #2da44e;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #bf8700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #cf222e;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #2da44e;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #cf222e;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(27,31,36,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(27,31,36,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-primer-shadow-focus: 0 0 0 3px rgba(9,105,218,.3);--color-scale-black: #1b1f24;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view{position:relative;margin-top:16px;margin-bottom:16px;border:1px solid var(--color-border-default, #ddd);border-radius:6px;overflow-y:auto}.code-diff-view *{position:static;box-sizing:border-box}.code-diff-view .file-header{background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .filename{font-size:13px;color:var(--color-fg-default)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .file-diff-split .no-select{user-select:none}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#00f}.hljs-addition,.hljs-attribute,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-title,.hljs-type{color:#a31515}.hljs-deletion,.hljs-meta,.hljs-selector-attr,.hljs-selector-pseudo{color:#2b91af}.hljs-doctag{color:gray}.hljs-attr{color:red}.hljs-bullet,.hljs-link,.hljs-symbol{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
2
  import $e from "vue";
3
3
  import Pn, { computed as ce, ref as xn, watch as Hn } from "@vue/composition-api/dist/vue-composition-api.mjs";
4
4
  function Fn(e) {
@@ -138,13 +138,13 @@ function Qn(e, n) {
138
138
  e.hasOwnProperty(a) && (n[a] = e[a]);
139
139
  return n;
140
140
  }
141
- var Xe = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, Ve = /\S/, Ue = new J();
141
+ var je = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, Xe = /\S/, Ue = new J();
142
142
  Ue.equals = function(e, n) {
143
- return this.options.ignoreCase && (e = e.toLowerCase(), n = n.toLowerCase()), e === n || this.options.ignoreWhitespace && !Ve.test(e) && !Ve.test(n);
143
+ return this.options.ignoreCase && (e = e.toLowerCase(), n = n.toLowerCase()), e === n || this.options.ignoreWhitespace && !Xe.test(e) && !Xe.test(n);
144
144
  };
145
145
  Ue.tokenize = function(e) {
146
146
  for (var n = e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), a = 0; a < n.length - 1; a++)
147
- !n[a + 1] && n[a + 2] && Xe.test(n[a]) && Xe.test(n[a + 2]) && (n[a] += n[a + 2], n.splice(a + 1, 2), a--);
147
+ !n[a + 1] && n[a + 2] && je.test(n[a]) && je.test(n[a + 2]) && (n[a] += n[a + 2], n.splice(a + 1, 2), a--);
148
148
  return n;
149
149
  };
150
150
  function Zn(e, n, a) {
@@ -162,12 +162,12 @@ hn.tokenize = function(e) {
162
162
  }
163
163
  return n;
164
164
  };
165
- var Yn = new J();
166
- Yn.tokenize = function(e) {
165
+ var qn = new J();
166
+ qn.tokenize = function(e) {
167
167
  return e.split(/(\S.+?[.!?])(?=\s+|$)/);
168
168
  };
169
- var jn = new J();
170
- jn.tokenize = function(e) {
169
+ var Yn = new J();
170
+ Yn.tokenize = function(e) {
171
171
  return e.split(/([{}:;,]|\s+)/);
172
172
  };
173
173
  function Ae(e) {
@@ -178,7 +178,7 @@ function Ae(e) {
178
178
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
179
179
  }, Ae(e);
180
180
  }
181
- var Xn = Object.prototype.toString, ue = new J();
181
+ var jn = Object.prototype.toString, ue = new J();
182
182
  ue.useLongestToken = !0;
183
183
  ue.tokenize = hn.tokenize;
184
184
  ue.castInput = function(e) {
@@ -197,7 +197,7 @@ function ke(e, n, a, u, h) {
197
197
  if (n[t] === e)
198
198
  return a[t];
199
199
  var r;
200
- if (Xn.call(e) === "[object Array]") {
200
+ if (jn.call(e) === "[object Array]") {
201
201
  for (n.push(e), r = new Array(e.length), a.push(r), t = 0; t < e.length; t += 1)
202
202
  r[t] = ke(e[t], n, a, u, h);
203
203
  return n.pop(), a.pop(), r;
@@ -221,7 +221,7 @@ Be.tokenize = function(e) {
221
221
  Be.join = Be.removeEmpty = function(e) {
222
222
  return e;
223
223
  };
224
- function Vn(e) {
224
+ function Xn(e) {
225
225
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
226
226
  }
227
227
  var dn = { exports: {} };
@@ -308,10 +308,10 @@ var dn = { exports: {} };
308
308
  for (var s = t.length, o = r.length, l = Math.ceil((s + o) / 2), c = l, f = 2 * l, g = new Array(f), d = new Array(f), p = 0; p < f; p++)
309
309
  g[p] = -1, d[p] = -1;
310
310
  g[c + 1] = 0, d[c + 1] = 0;
311
- for (var _ = s - o, v = _ % 2 != 0, E = 0, w = 0, m = 0, T = 0, D = 0; D < l && !((/* @__PURE__ */ new Date()).getTime() > i); D++) {
312
- for (var M = -D + E; M <= D - w; M += 2) {
311
+ for (var _ = s - o, v = _ % 2 != 0, E = 0, w = 0, m = 0, T = 0, S = 0; S < l && !((/* @__PURE__ */ new Date()).getTime() > i); S++) {
312
+ for (var M = -S + E; M <= S - w; M += 2) {
313
313
  var I = c + M, R;
314
- M == -D || M != D && g[I - 1] < g[I + 1] ? R = g[I + 1] : R = g[I - 1] + 1;
314
+ M == -S || M != S && g[I - 1] < g[I + 1] ? R = g[I + 1] : R = g[I - 1] + 1;
315
315
  for (var H = R - M; R < s && H < o && t.charAt(R) == r.charAt(H); )
316
316
  R++, H++;
317
317
  if (g[I] = R, R > s)
@@ -327,9 +327,9 @@ var dn = { exports: {} };
327
327
  }
328
328
  }
329
329
  }
330
- for (var F = -D + m; F <= D - T; F += 2) {
330
+ for (var F = -S + m; F <= S - T; F += 2) {
331
331
  var U = c + F, $;
332
- F == -D || F != D && d[U - 1] < d[U + 1] ? $ = d[U + 1] : $ = d[U - 1] + 1;
332
+ F == -S || F != S && d[U - 1] < d[U + 1] ? $ = d[U + 1] : $ = d[U - 1] + 1;
333
333
  for (var G = $ - F; $ < s && G < o && t.charAt(s - $ - 1) == r.charAt(o - G - 1); )
334
334
  $++, G++;
335
335
  if (d[U] = $, $ > s)
@@ -409,7 +409,7 @@ var dn = { exports: {} };
409
409
  return null;
410
410
  var o = this;
411
411
  function l(w, m, T) {
412
- for (var D = w.substring(T, T + Math.floor(w.length / 4)), M = -1, I = "", R, H, U, $; (M = m.indexOf(D, M + 1)) != -1; ) {
412
+ for (var S = w.substring(T, T + Math.floor(w.length / 4)), M = -1, I = "", R, H, U, $; (M = m.indexOf(S, M + 1)) != -1; ) {
413
413
  var F = o.diff_commonPrefix(
414
414
  w.substring(T),
415
415
  m.substring(M)
@@ -470,8 +470,8 @@ var dn = { exports: {} };
470
470
  function r(E, w) {
471
471
  if (!E || !w)
472
472
  return 6;
473
- var m = E.charAt(E.length - 1), T = w.charAt(0), D = m.match(n.nonAlphaNumericRegex_), M = T.match(n.nonAlphaNumericRegex_), I = D && m.match(n.whitespaceRegex_), R = M && T.match(n.whitespaceRegex_), H = I && m.match(n.linebreakRegex_), U = R && T.match(n.linebreakRegex_), $ = H && E.match(n.blanklineEndRegex_), F = U && w.match(n.blanklineStartRegex_);
474
- return $ || F ? 5 : H || U ? 4 : D && !I && R ? 3 : I || R ? 2 : D || M ? 1 : 0;
473
+ var m = E.charAt(E.length - 1), T = w.charAt(0), S = m.match(n.nonAlphaNumericRegex_), M = T.match(n.nonAlphaNumericRegex_), I = S && m.match(n.whitespaceRegex_), R = M && T.match(n.whitespaceRegex_), H = I && m.match(n.linebreakRegex_), U = R && T.match(n.linebreakRegex_), $ = H && E.match(n.blanklineEndRegex_), F = U && w.match(n.blanklineStartRegex_);
474
+ return $ || F ? 5 : H || U ? 4 : S && !I && R ? 3 : I || R ? 2 : S || M ? 1 : 0;
475
475
  }
476
476
  for (var i = 1; i < t.length - 1; ) {
477
477
  if (t[i - 1][0] == h && t[i + 1][0] == h) {
@@ -635,12 +635,12 @@ var dn = { exports: {} };
635
635
  _ = p;
636
636
  var w = Math.max(1, i - p + 1), m = Math.min(i + p, t.length) + r.length, T = Array(m + 2);
637
637
  T[m + 1] = (1 << E) - 1;
638
- for (var D = m; D >= w; D--) {
639
- var M = s[t.charAt(D - 1)];
640
- if (E === 0 ? T[D] = (T[D + 1] << 1 | 1) & M : T[D] = (T[D + 1] << 1 | 1) & M | ((v[D + 1] | v[D]) << 1 | 1) | v[D + 1], T[D] & g) {
641
- var I = l(E, D - 1);
638
+ for (var S = m; S >= w; S--) {
639
+ var M = s[t.charAt(S - 1)];
640
+ if (E === 0 ? T[S] = (T[S + 1] << 1 | 1) & M : T[S] = (T[S + 1] << 1 | 1) & M | ((v[S + 1] | v[S]) << 1 | 1) | v[S + 1], T[S] & g) {
641
+ var I = l(E, S - 1);
642
642
  if (I <= c)
643
- if (c = I, f = D - 1, f > i)
643
+ if (c = I, f = S - 1, f > i)
644
644
  w = Math.max(1, 2 * i - f);
645
645
  else
646
646
  break;
@@ -865,7 +865,7 @@ var dn = { exports: {} };
865
865
  return i.join("").replace(/%20/g, " ");
866
866
  }, e.exports = n, e.exports.diff_match_patch = n, e.exports.DIFF_DELETE = a, e.exports.DIFF_INSERT = u, e.exports.DIFF_EQUAL = h;
867
867
  })(dn);
868
- var Le = dn.exports, Pe = { exports: {} };
868
+ var Ce = dn.exports, Pe = { exports: {} };
869
869
  function xe(e) {
870
870
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
871
871
  throw new Error("map is read-only");
@@ -878,7 +878,7 @@ function xe(e) {
878
878
  }
879
879
  Pe.exports = xe;
880
880
  Pe.exports.default = xe;
881
- class qe {
881
+ class Ve {
882
882
  /**
883
883
  * @param {CompiledMode} mode
884
884
  */
@@ -902,7 +902,7 @@ function te(e, ...n) {
902
902
  }), /** @type {T} */
903
903
  a;
904
904
  }
905
- const qn = "</span>", Je = (e) => !!e.scope || e.sublanguage && e.language, Jn = (e, { prefix: n }) => {
905
+ const Vn = "</span>", Je = (e) => !!e.scope || e.sublanguage && e.language, Jn = (e, { prefix: n }) => {
906
906
  if (e.includes(".")) {
907
907
  const a = e.split(".");
908
908
  return [
@@ -944,7 +944,7 @@ class et {
944
944
  *
945
945
  * @param {Node} node */
946
946
  closeNode(n) {
947
- Je(n) && (this.buffer += qn);
947
+ Je(n) && (this.buffer += Vn);
948
948
  }
949
949
  /**
950
950
  * returns the accumulated buffer
@@ -1134,7 +1134,7 @@ const ot = /\b\B/, vn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\
1134
1134
  contains: [ge]
1135
1135
  }, gt = {
1136
1136
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
1137
- }, Se = function(e, n, a = {}) {
1137
+ }, De = function(e, n, a = {}) {
1138
1138
  const u = te(
1139
1139
  {
1140
1140
  scope: "comment",
@@ -1200,7 +1200,7 @@ const ot = /\b\B/, vn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\
1200
1200
  // look for 3 words in a row
1201
1201
  }
1202
1202
  ), u;
1203
- }, ht = Se("//", "$"), dt = Se("/\\*", "\\*/"), pt = Se("#", "$"), _t = {
1203
+ }, ht = De("//", "$"), dt = De("/\\*", "\\*/"), pt = De("#", "$"), _t = {
1204
1204
  scope: "number",
1205
1205
  begin: En,
1206
1206
  relevance: 0
@@ -1276,7 +1276,7 @@ var we = /* @__PURE__ */ Object.freeze({
1276
1276
  APOS_STRING_MODE: ut,
1277
1277
  QUOTE_STRING_MODE: ft,
1278
1278
  PHRASAL_WORDS_MODE: gt,
1279
- COMMENT: Se,
1279
+ COMMENT: De,
1280
1280
  C_LINE_COMMENT_MODE: ht,
1281
1281
  C_BLOCK_COMMENT_MODE: dt,
1282
1282
  HASH_COMMENT_MODE: pt,
@@ -1298,10 +1298,10 @@ function At(e, n) {
1298
1298
  function Tt(e, n) {
1299
1299
  n && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Mt, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
1300
1300
  }
1301
- function Dt(e, n) {
1301
+ function St(e, n) {
1302
1302
  Array.isArray(e.illegal) && (e.illegal = Fe(...e.illegal));
1303
1303
  }
1304
- function St(e, n) {
1304
+ function Dt(e, n) {
1305
1305
  if (e.match) {
1306
1306
  if (e.begin || e.end)
1307
1307
  throw new Error("begin & end are not supported with match");
@@ -1325,7 +1325,7 @@ const Ot = (e, n) => {
1325
1325
  Object.assign(a, { endsParent: !0 })
1326
1326
  ]
1327
1327
  }, e.relevance = 0, delete a.beforeMatch;
1328
- }, Ct = [
1328
+ }, Lt = [
1329
1329
  "of",
1330
1330
  "and",
1331
1331
  "for",
@@ -1340,8 +1340,8 @@ const Ot = (e, n) => {
1340
1340
  // common variable name
1341
1341
  "value"
1342
1342
  // common variable name
1343
- ], Lt = "keyword";
1344
- function wn(e, n, a = Lt) {
1343
+ ], Ct = "keyword";
1344
+ function wn(e, n, a = Ct) {
1345
1345
  const u = /* @__PURE__ */ Object.create(null);
1346
1346
  return typeof e == "string" ? h(a, e.split(" ")) : Array.isArray(e) ? h(a, e) : Object.keys(e).forEach(function(t) {
1347
1347
  Object.assign(
@@ -1360,7 +1360,7 @@ function It(e, n) {
1360
1360
  return n ? Number(n) : kt(e) ? 0 : 1;
1361
1361
  }
1362
1362
  function kt(e) {
1363
- return Ct.includes(e.toLowerCase());
1363
+ return Lt.includes(e.toLowerCase());
1364
1364
  }
1365
1365
  const nn = {}, ie = (e) => {
1366
1366
  console.error(e);
@@ -1478,14 +1478,14 @@ function xt(e) {
1478
1478
  At,
1479
1479
  // do this early so compiler extensions generally don't have to worry about
1480
1480
  // the distinction between match/begin
1481
- St,
1481
+ Dt,
1482
1482
  Pt,
1483
1483
  Ot
1484
1484
  ].forEach((l) => l(r, i)), e.compilerExtensions.forEach((l) => l(r, i)), r.__beforeBegin = null, [
1485
1485
  Tt,
1486
1486
  // do this later so compiler extensions that come earlier have access to the
1487
1487
  // raw array if they wanted to perhaps manipulate it, etc.
1488
- Dt,
1488
+ St,
1489
1489
  // default to 1 relevance if not specified
1490
1490
  Rt
1491
1491
  ].forEach((l) => l(r, i)), r.isCompiled = !0;
@@ -1546,54 +1546,54 @@ const Ie = pn, rn = te, sn = Symbol("nomatch"), Gt = 7, Kt = function(e) {
1546
1546
  function o(b) {
1547
1547
  let N = b.className + " ";
1548
1548
  N += b.parentNode ? b.parentNode.className : "";
1549
- const C = i.languageDetectRe.exec(N);
1550
- if (C) {
1551
- const k = R(C[1]);
1552
- return k || (tn(t.replace("{}", C[1])), tn("Falling back to no-highlight mode for this block.", b)), k ? C[1] : "no-highlight";
1549
+ const L = i.languageDetectRe.exec(N);
1550
+ if (L) {
1551
+ const k = R(L[1]);
1552
+ return k || (tn(t.replace("{}", L[1])), tn("Falling back to no-highlight mode for this block.", b)), k ? L[1] : "no-highlight";
1553
1553
  }
1554
1554
  return N.split(/\s+/).find((k) => s(k) || R(k));
1555
1555
  }
1556
- function l(b, N, C) {
1556
+ function l(b, N, L) {
1557
1557
  let k = "", x = "";
1558
- typeof N == "object" ? (k = b, C = N.ignoreIllegals, x = N.language) : (ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ae("10.7.0", `Please use highlight(code, options) instead.
1559
- https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C === void 0 && (C = !0);
1558
+ typeof N == "object" ? (k = b, L = N.ignoreIllegals, x = N.language) : (ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ae("10.7.0", `Please use highlight(code, options) instead.
1559
+ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), L === void 0 && (L = !0);
1560
1560
  const W = {
1561
1561
  code: k,
1562
1562
  language: x
1563
1563
  };
1564
1564
  G("before:highlight", W);
1565
- const j = W.result ? W.result : c(W.language, W.code, C);
1566
- return j.code = W.code, G("after:highlight", j), j;
1565
+ const Y = W.result ? W.result : c(W.language, W.code, L);
1566
+ return Y.code = W.code, G("after:highlight", Y), Y;
1567
1567
  }
1568
- function c(b, N, C, k) {
1568
+ function c(b, N, L, k) {
1569
1569
  const x = /* @__PURE__ */ Object.create(null);
1570
1570
  function W(y, A) {
1571
1571
  return y.keywords[A];
1572
1572
  }
1573
- function j() {
1573
+ function Y() {
1574
1574
  if (!O.keywords) {
1575
1575
  z.addText(P);
1576
1576
  return;
1577
1577
  }
1578
1578
  let y = 0;
1579
1579
  O.keywordPatternRe.lastIndex = 0;
1580
- let A = O.keywordPatternRe.exec(P), L = "";
1580
+ let A = O.keywordPatternRe.exec(P), C = "";
1581
1581
  for (; A; ) {
1582
- L += P.substring(y, A.index);
1582
+ C += P.substring(y, A.index);
1583
1583
  const B = ne.case_insensitive ? A[0].toLowerCase() : A[0], K = W(O, B);
1584
1584
  if (K) {
1585
- const [X, $n] = K;
1586
- if (z.addText(L), L = "", x[B] = (x[B] || 0) + 1, x[B] <= Gt && (ye += $n), X.startsWith("_"))
1587
- L += A[0];
1585
+ const [j, $n] = K;
1586
+ if (z.addText(C), C = "", x[B] = (x[B] || 0) + 1, x[B] <= Gt && (ye += $n), j.startsWith("_"))
1587
+ C += A[0];
1588
1588
  else {
1589
- const Un = ne.classNameAliases[X] || X;
1589
+ const Un = ne.classNameAliases[j] || j;
1590
1590
  z.addKeyword(A[0], Un);
1591
1591
  }
1592
1592
  } else
1593
- L += A[0];
1593
+ C += A[0];
1594
1594
  y = O.keywordPatternRe.lastIndex, A = O.keywordPatternRe.exec(P);
1595
1595
  }
1596
- L += P.substring(y), z.addText(L);
1596
+ C += P.substring(y), z.addText(C);
1597
1597
  }
1598
1598
  function Ee() {
1599
1599
  if (P === "")
@@ -1604,35 +1604,35 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1604
1604
  z.addText(P);
1605
1605
  return;
1606
1606
  }
1607
- y = c(O.subLanguage, P, !0, je[O.subLanguage]), je[O.subLanguage] = /** @type {CompiledMode} */
1607
+ y = c(O.subLanguage, P, !0, Ye[O.subLanguage]), Ye[O.subLanguage] = /** @type {CompiledMode} */
1608
1608
  y._top;
1609
1609
  } else
1610
1610
  y = g(P, O.subLanguage.length ? O.subLanguage : null);
1611
1611
  O.relevance > 0 && (ye += y.relevance), z.addSublanguage(y._emitter, y.language);
1612
1612
  }
1613
1613
  function Q() {
1614
- O.subLanguage != null ? Ee() : j(), P = "";
1614
+ O.subLanguage != null ? Ee() : Y(), P = "";
1615
1615
  }
1616
1616
  function ee(y, A) {
1617
- let L = 1;
1617
+ let C = 1;
1618
1618
  const B = A.length - 1;
1619
- for (; L <= B; ) {
1620
- if (!y._emit[L]) {
1621
- L++;
1619
+ for (; C <= B; ) {
1620
+ if (!y._emit[C]) {
1621
+ C++;
1622
1622
  continue;
1623
1623
  }
1624
- const K = ne.classNameAliases[y[L]] || y[L], X = A[L];
1625
- K ? z.addKeyword(X, K) : (P = X, j(), P = ""), L++;
1624
+ const K = ne.classNameAliases[y[C]] || y[C], j = A[C];
1625
+ K ? z.addKeyword(j, K) : (P = j, Y(), P = ""), C++;
1626
1626
  }
1627
1627
  }
1628
1628
  function Qe(y, A) {
1629
1629
  return y.scope && typeof y.scope == "string" && z.openNode(ne.classNameAliases[y.scope] || y.scope), y.beginScope && (y.beginScope._wrap ? (z.addKeyword(P, ne.classNameAliases[y.beginScope._wrap] || y.beginScope._wrap), P = "") : y.beginScope._multi && (ee(y.beginScope, A), P = "")), O = Object.create(y, { parent: { value: O } }), O;
1630
1630
  }
1631
- function Ze(y, A, L) {
1632
- let B = st(y.endRe, L);
1631
+ function Ze(y, A, C) {
1632
+ let B = st(y.endRe, C);
1633
1633
  if (B) {
1634
1634
  if (y["on:end"]) {
1635
- const K = new qe(y);
1635
+ const K = new Ve(y);
1636
1636
  y["on:end"](A, K), K.isMatchIgnored && (B = !1);
1637
1637
  }
1638
1638
  if (B) {
@@ -1642,20 +1642,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1642
1642
  }
1643
1643
  }
1644
1644
  if (y.endsWithParent)
1645
- return Ze(y.parent, A, L);
1646
- }
1647
- function Cn(y) {
1648
- return O.matcher.regexIndex === 0 ? (P += y[0], 1) : (Ce = !0, 0);
1645
+ return Ze(y.parent, A, C);
1649
1646
  }
1650
1647
  function Ln(y) {
1651
- const A = y[0], L = y.rule, B = new qe(L), K = [L.__beforeBegin, L["on:begin"]];
1652
- for (const X of K)
1653
- if (X && (X(y, B), B.isMatchIgnored))
1654
- return Cn(A);
1655
- return L.skip ? P += A : (L.excludeBegin && (P += A), Q(), !L.returnBegin && !L.excludeBegin && (P = A)), Qe(L, y), L.returnBegin ? 0 : A.length;
1648
+ return O.matcher.regexIndex === 0 ? (P += y[0], 1) : (Le = !0, 0);
1649
+ }
1650
+ function Cn(y) {
1651
+ const A = y[0], C = y.rule, B = new Ve(C), K = [C.__beforeBegin, C["on:begin"]];
1652
+ for (const j of K)
1653
+ if (j && (j(y, B), B.isMatchIgnored))
1654
+ return Ln(A);
1655
+ return C.skip ? P += A : (C.excludeBegin && (P += A), Q(), !C.returnBegin && !C.excludeBegin && (P = A)), Qe(C, y), C.returnBegin ? 0 : A.length;
1656
1656
  }
1657
1657
  function In(y) {
1658
- const A = y[0], L = N.substring(y.index), B = Ze(O, y, L);
1658
+ const A = y[0], C = N.substring(y.index), B = Ze(O, y, C);
1659
1659
  if (!B)
1660
1660
  return sn;
1661
1661
  const K = O;
@@ -1672,11 +1672,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1672
1672
  y.forEach((A) => z.openNode(A));
1673
1673
  }
1674
1674
  let me = {};
1675
- function Ye(y, A) {
1676
- const L = A && A[0];
1677
- if (P += y, L == null)
1675
+ function qe(y, A) {
1676
+ const C = A && A[0];
1677
+ if (P += y, C == null)
1678
1678
  return Q(), 0;
1679
- if (me.type === "begin" && A.type === "end" && me.index === A.index && L === "") {
1679
+ if (me.type === "begin" && A.type === "end" && me.index === A.index && C === "") {
1680
1680
  if (P += N.slice(A.index, A.index + 1), !h) {
1681
1681
  const B = new Error(`0 width match regex (${b})`);
1682
1682
  throw B.languageName = b, B.badRule = me.rule, B;
@@ -1684,39 +1684,39 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1684
1684
  return 1;
1685
1685
  }
1686
1686
  if (me = A, A.type === "begin")
1687
- return Ln(A);
1688
- if (A.type === "illegal" && !C) {
1689
- const B = new Error('Illegal lexeme "' + L + '" for mode "' + (O.scope || "<unnamed>") + '"');
1687
+ return Cn(A);
1688
+ if (A.type === "illegal" && !L) {
1689
+ const B = new Error('Illegal lexeme "' + C + '" for mode "' + (O.scope || "<unnamed>") + '"');
1690
1690
  throw B.mode = O, B;
1691
1691
  } else if (A.type === "end") {
1692
1692
  const B = In(A);
1693
1693
  if (B !== sn)
1694
1694
  return B;
1695
1695
  }
1696
- if (A.type === "illegal" && L === "")
1696
+ if (A.type === "illegal" && C === "")
1697
1697
  return 1;
1698
1698
  if (Oe > 1e5 && Oe > A.index * 3)
1699
1699
  throw new Error("potential infinite loop, way more iterations than matches");
1700
- return P += L, L.length;
1700
+ return P += C, C.length;
1701
1701
  }
1702
1702
  const ne = R(b);
1703
1703
  if (!ne)
1704
1704
  throw ie(t.replace("{}", b)), new Error('Unknown language: "' + b + '"');
1705
1705
  const Bn = xt(ne);
1706
1706
  let Re = "", O = k || Bn;
1707
- const je = {}, z = new i.__emitter(i);
1707
+ const Ye = {}, z = new i.__emitter(i);
1708
1708
  kn();
1709
- let P = "", ye = 0, re = 0, Oe = 0, Ce = !1;
1709
+ let P = "", ye = 0, re = 0, Oe = 0, Le = !1;
1710
1710
  try {
1711
1711
  for (O.matcher.considerAll(); ; ) {
1712
- Oe++, Ce ? Ce = !1 : O.matcher.considerAll(), O.matcher.lastIndex = re;
1712
+ Oe++, Le ? Le = !1 : O.matcher.considerAll(), O.matcher.lastIndex = re;
1713
1713
  const y = O.matcher.exec(N);
1714
1714
  if (!y)
1715
1715
  break;
1716
- const A = N.substring(re, y.index), L = Ye(A, y);
1717
- re = y.index + L;
1716
+ const A = N.substring(re, y.index), C = qe(A, y);
1717
+ re = y.index + C;
1718
1718
  }
1719
- return Ye(N.substring(re)), z.closeAllNodes(), z.finalize(), Re = z.toHTML(), {
1719
+ return qe(N.substring(re)), z.closeAllNodes(), z.finalize(), Re = z.toHTML(), {
1720
1720
  language: b,
1721
1721
  value: Re,
1722
1722
  relevance: ye,
@@ -1765,10 +1765,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1765
1765
  }
1766
1766
  function g(b, N) {
1767
1767
  N = N || i.languages || Object.keys(n);
1768
- const C = f(b), k = N.filter(R).filter(U).map(
1768
+ const L = f(b), k = N.filter(R).filter(U).map(
1769
1769
  (Q) => c(Q, b, !1)
1770
1770
  );
1771
- k.unshift(C);
1771
+ k.unshift(L);
1772
1772
  const x = k.sort((Q, ee) => {
1773
1773
  if (Q.relevance !== ee.relevance)
1774
1774
  return ee.relevance - Q.relevance;
@@ -1779,29 +1779,29 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1779
1779
  return -1;
1780
1780
  }
1781
1781
  return 0;
1782
- }), [W, j] = x, Ee = W;
1783
- return Ee.secondBest = j, Ee;
1782
+ }), [W, Y] = x, Ee = W;
1783
+ return Ee.secondBest = Y, Ee;
1784
1784
  }
1785
- function d(b, N, C) {
1786
- const k = N && a[N] || C;
1785
+ function d(b, N, L) {
1786
+ const k = N && a[N] || L;
1787
1787
  b.classList.add("hljs"), b.classList.add(`language-${k}`);
1788
1788
  }
1789
1789
  function p(b) {
1790
1790
  let N = null;
1791
- const C = o(b);
1792
- if (s(C))
1791
+ const L = o(b);
1792
+ if (s(L))
1793
1793
  return;
1794
1794
  if (G(
1795
1795
  "before:highlightElement",
1796
- { el: b, language: C }
1796
+ { el: b, language: L }
1797
1797
  ), b.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(b)), i.throwUnescapedHTML))
1798
1798
  throw new zt(
1799
1799
  "One of your code blocks includes unescaped HTML.",
1800
1800
  b.innerHTML
1801
1801
  );
1802
1802
  N = b;
1803
- const k = N.textContent, x = C ? l(k, { language: C, ignoreIllegals: !0 }) : g(k);
1804
- b.innerHTML = x.value, d(b, C, x.language), b.result = {
1803
+ const k = N.textContent, x = L ? l(k, { language: L, ignoreIllegals: !0 }) : g(k);
1804
+ b.innerHTML = x.value, d(b, L, x.language), b.result = {
1805
1805
  language: x.language,
1806
1806
  // TODO: remove with version 11.0
1807
1807
  re: x.relevance,
@@ -1832,18 +1832,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1832
1832
  w && m();
1833
1833
  }
1834
1834
  typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", T, !1);
1835
- function D(b, N) {
1836
- let C = null;
1835
+ function S(b, N) {
1836
+ let L = null;
1837
1837
  try {
1838
- C = N(e);
1838
+ L = N(e);
1839
1839
  } catch (k) {
1840
1840
  if (ie("Language definition for '{}' could not be registered.".replace("{}", b)), h)
1841
1841
  ie(k);
1842
1842
  else
1843
1843
  throw k;
1844
- C = r;
1844
+ L = r;
1845
1845
  }
1846
- C.name || (C.name = b), n[b] = C, C.rawDefinition = N.bind(null, e), C.aliases && H(C.aliases, { languageName: b });
1846
+ L.name || (L.name = b), n[b] = L, L.rawDefinition = N.bind(null, e), L.aliases && H(L.aliases, { languageName: b });
1847
1847
  }
1848
1848
  function M(b) {
1849
1849
  delete n[b];
@@ -1857,8 +1857,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1857
1857
  return b = (b || "").toLowerCase(), n[b] || n[a[b]];
1858
1858
  }
1859
1859
  function H(b, { languageName: N }) {
1860
- typeof b == "string" && (b = [b]), b.forEach((C) => {
1861
- a[C.toLowerCase()] = N;
1860
+ typeof b == "string" && (b = [b]), b.forEach((L) => {
1861
+ a[L.toLowerCase()] = N;
1862
1862
  });
1863
1863
  }
1864
1864
  function U(b) {
@@ -1880,9 +1880,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1880
1880
  $(b), u.push(b);
1881
1881
  }
1882
1882
  function G(b, N) {
1883
- const C = b;
1883
+ const L = b;
1884
1884
  u.forEach(function(k) {
1885
- k[C] && k[C](N);
1885
+ k[L] && k[L](N);
1886
1886
  });
1887
1887
  }
1888
1888
  function ve(b) {
@@ -1898,7 +1898,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1898
1898
  configure: _,
1899
1899
  initHighlighting: v,
1900
1900
  initHighlightingOnLoad: E,
1901
- registerLanguage: D,
1901
+ registerLanguage: S,
1902
1902
  unregisterLanguage: M,
1903
1903
  listLanguages: I,
1904
1904
  getLanguage: R,
@@ -1924,7 +1924,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C ===
1924
1924
  var he = Kt({}), Wt = he;
1925
1925
  he.HighlightJS = he;
1926
1926
  he.default = he;
1927
- const Y = /* @__PURE__ */ Vn(Wt);
1927
+ const q = /* @__PURE__ */ Xn(Wt);
1928
1928
  function Qt(e) {
1929
1929
  const n = e.regex, a = n.concat(/[\p{L}_]/u, n.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), u = /[\p{L}0-9._:-]+/u, h = {
1930
1930
  className: "symbol",
@@ -2184,7 +2184,7 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2184
2184
  "from",
2185
2185
  "export",
2186
2186
  "extends"
2187
- ], Yt = [
2187
+ ], qt = [
2188
2188
  "true",
2189
2189
  "false",
2190
2190
  "null",
@@ -2250,7 +2250,7 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2250
2250
  "SyntaxError",
2251
2251
  "TypeError",
2252
2252
  "URIError"
2253
- ], Dn = [
2253
+ ], Sn = [
2254
2254
  "setInterval",
2255
2255
  "setTimeout",
2256
2256
  "clearInterval",
@@ -2268,7 +2268,7 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2268
2268
  "encodeURIComponent",
2269
2269
  "escape",
2270
2270
  "unescape"
2271
- ], jt = [
2271
+ ], Yt = [
2272
2272
  "arguments",
2273
2273
  "this",
2274
2274
  "super",
@@ -2279,15 +2279,15 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2279
2279
  "module",
2280
2280
  "global"
2281
2281
  // Node.js
2282
- ], Xt = [].concat(
2283
- Dn,
2282
+ ], jt = [].concat(
2283
+ Sn,
2284
2284
  An,
2285
2285
  Tn
2286
2286
  );
2287
- function Vt(e) {
2288
- const n = e.regex, a = (N, { after: C }) => {
2287
+ function Xt(e) {
2288
+ const n = e.regex, a = (N, { after: L }) => {
2289
2289
  const k = "</" + N[0].slice(1);
2290
- return N.input.indexOf(k, C) !== -1;
2290
+ return N.input.indexOf(k, L) !== -1;
2291
2291
  }, u = an, h = {
2292
2292
  begin: "<>",
2293
2293
  end: "</>"
@@ -2298,7 +2298,7 @@ function Vt(e) {
2298
2298
  * @param {RegExpMatchArray} match
2299
2299
  * @param {CallbackResponse} response
2300
2300
  */
2301
- isTrulyOpeningTag: (N, C) => {
2301
+ isTrulyOpeningTag: (N, L) => {
2302
2302
  const k = N[0].length + N.index, x = N.input[k];
2303
2303
  if (
2304
2304
  // HTML should not include another raw `<` inside a tag
@@ -2308,27 +2308,27 @@ function Vt(e) {
2308
2308
  // `<T, A extends keyof T, V>`
2309
2309
  x === ","
2310
2310
  ) {
2311
- C.ignoreMatch();
2311
+ L.ignoreMatch();
2312
2312
  return;
2313
2313
  }
2314
- x === ">" && (a(N, { after: k }) || C.ignoreMatch());
2314
+ x === ">" && (a(N, { after: k }) || L.ignoreMatch());
2315
2315
  let W;
2316
- const j = N.input.substring(k);
2317
- if (W = j.match(/^\s*=/)) {
2318
- C.ignoreMatch();
2316
+ const Y = N.input.substring(k);
2317
+ if (W = Y.match(/^\s*=/)) {
2318
+ L.ignoreMatch();
2319
2319
  return;
2320
2320
  }
2321
- if ((W = j.match(/^\s+extends\s+/)) && W.index === 0) {
2322
- C.ignoreMatch();
2321
+ if ((W = Y.match(/^\s+extends\s+/)) && W.index === 0) {
2322
+ L.ignoreMatch();
2323
2323
  return;
2324
2324
  }
2325
2325
  }
2326
2326
  }, i = {
2327
2327
  $pattern: an,
2328
2328
  keyword: Zt,
2329
- literal: Yt,
2330
- built_in: Xt,
2331
- "variable.language": jt
2329
+ literal: qt,
2330
+ built_in: jt,
2331
+ "variable.language": Yt
2332
2332
  }, s = "[0-9](_?[0-9])*", o = `\\.(${s})`, l = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
2333
2333
  className: "number",
2334
2334
  variants: [
@@ -2469,7 +2469,7 @@ function Vt(e) {
2469
2469
  excludeEnd: !0,
2470
2470
  keywords: i,
2471
2471
  contains: m
2472
- }, D = {
2472
+ }, S = {
2473
2473
  variants: [
2474
2474
  // class Car extends vehicle
2475
2475
  {
@@ -2568,7 +2568,7 @@ function Vt(e) {
2568
2568
  match: n.concat(
2569
2569
  /\b/,
2570
2570
  U([
2571
- ...Dn,
2571
+ ...Sn,
2572
2572
  "super",
2573
2573
  "import"
2574
2574
  ]),
@@ -2768,7 +2768,7 @@ function Vt(e) {
2768
2768
  },
2769
2769
  $,
2770
2770
  H,
2771
- D,
2771
+ S,
2772
2772
  G,
2773
2773
  {
2774
2774
  match: /\$[(.]/
@@ -2777,7 +2777,7 @@ function Vt(e) {
2777
2777
  ]
2778
2778
  };
2779
2779
  }
2780
- function qt(e) {
2780
+ function Vt(e) {
2781
2781
  const n = {
2782
2782
  className: "attr",
2783
2783
  begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
@@ -3402,11 +3402,11 @@ var oe = "[0-9](_*[0-9])*", Ne = `\\.(${oe})`, Me = "[0-9a-fA-F](_*[0-9a-fA-F])*
3402
3402
  ],
3403
3403
  relevance: 0
3404
3404
  };
3405
- function Sn(e, n, a) {
3406
- return a === -1 ? "" : e.replace(n, (u) => Sn(e, n, a - 1));
3405
+ function Dn(e, n, a) {
3406
+ return a === -1 ? "" : e.replace(n, (u) => Dn(e, n, a - 1));
3407
3407
  }
3408
3408
  function tr(e) {
3409
- const n = e.regex, a = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", u = a + Sn("(?:<" + a + "~~~(?:\\s*,\\s*" + a + "~~~)*>)?", /~~~/g, 2), s = {
3409
+ const n = e.regex, a = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", u = a + Dn("(?:<" + a + "~~~(?:\\s*,\\s*" + a + "~~~)*>)?", /~~~/g, 2), s = {
3410
3410
  keyword: [
3411
3411
  "synchronized",
3412
3412
  "abstract",
@@ -4535,8 +4535,8 @@ function ir(e) {
4535
4535
  exceptions: m,
4536
4536
  when: T
4537
4537
  } = {}) {
4538
- const D = T;
4539
- return m = m || [], w.map((M) => M.match(/\|\d+$/) || m.includes(M) ? M : D(M) ? `${M}|0` : M);
4538
+ const S = T;
4539
+ return m = m || [], w.map((M) => M.match(/\|\d+$/) || m.includes(M) ? M : S(M) ? `${M}|0` : M);
4540
4540
  }
4541
4541
  return {
4542
4542
  name: "SQL",
@@ -4576,44 +4576,44 @@ function ir(e) {
4576
4576
  ]
4577
4577
  };
4578
4578
  }
4579
- Y.registerLanguage("xml", Qt);
4580
- Y.registerLanguage("javascript", Vt);
4581
- Y.registerLanguage("json", qt);
4582
- Y.registerLanguage("yaml", Jt);
4583
- Y.registerLanguage("plaintext", er);
4584
- Y.registerLanguage("python", nr);
4585
- Y.registerLanguage("java", tr);
4586
- Y.registerLanguage("bash", rr);
4587
- Y.registerLanguage("sql", ir);
4588
- var S = /* @__PURE__ */ ((e) => (e.EQUAL = "equal", e.DELETE = "removed", e.ADD = "added", e.EMPTY = "empty", e))(S || {});
4589
- const V = "<code-diff-modified>", q = "</code-diff-modified>", sr = V.replace("<", "&lt;").replace(">", "&gt;"), ar = q.replace("<", "&lt;").replace(">", "&gt;");
4579
+ q.registerLanguage("xml", Qt);
4580
+ q.registerLanguage("javascript", Xt);
4581
+ q.registerLanguage("json", Vt);
4582
+ q.registerLanguage("yaml", Jt);
4583
+ q.registerLanguage("plaintext", er);
4584
+ q.registerLanguage("python", nr);
4585
+ q.registerLanguage("java", tr);
4586
+ q.registerLanguage("bash", rr);
4587
+ q.registerLanguage("sql", ir);
4588
+ var D = /* @__PURE__ */ ((e) => (e.EQUAL = "equal", e.DELETE = "removed", e.ADD = "added", e.EMPTY = "empty", e))(D || {});
4589
+ const X = "<code-diff-modified>", V = "</code-diff-modified>", sr = X.replace("<", "&lt;").replace(">", "&gt;"), ar = V.replace("<", "&lt;").replace(">", "&gt;");
4590
4590
  function le(e) {
4591
- return e === void 0 ? S.EQUAL : e.added ? S.ADD : e.removed ? S.DELETE : S.EQUAL;
4591
+ return e === void 0 ? D.EQUAL : e.added ? D.ADD : e.removed ? D.DELETE : D.EQUAL;
4592
4592
  }
4593
- function De(e, n, a = "word") {
4594
- return typeof e == "undefined" ? n : typeof n == "undefined" ? e : (a === "char" ? Wn : Zn)(e, n).filter((h) => le(h) !== S.DELETE).map(
4595
- (h) => le(h) === S.ADD ? `${V}${h.value}${q}` : h.value
4593
+ function Se(e, n, a = "word") {
4594
+ return typeof e == "undefined" ? n : typeof n == "undefined" ? e : (a === "char" ? Wn : Zn)(e, n).filter((h) => le(h) !== D.DELETE).map(
4595
+ (h) => le(h) === D.ADD ? `${X}${h.value}${V}` : h.value
4596
4596
  ).join("");
4597
4597
  }
4598
4598
  function Rn(e, n) {
4599
- const a = new Le.diff_match_patch(), u = a.diff_linesToChars_(e, n), h = u.chars1, t = u.chars2, r = u.lineArray, i = a.diff_main(h, t, !1);
4599
+ const a = new Ce.diff_match_patch(), u = a.diff_linesToChars_(e, n), h = u.chars1, t = u.chars2, r = u.lineArray, i = a.diff_main(h, t, !1);
4600
4600
  return a.diff_charsToLines_(i, r), i.map((s) => {
4601
4601
  const [o, l] = s;
4602
4602
  return {
4603
4603
  count: l.trim().split(`
4604
4604
  `).length,
4605
4605
  value: l,
4606
- removed: o === Le.DIFF_DELETE,
4607
- added: o === Le.DIFF_INSERT
4606
+ removed: o === Ce.DIFF_DELETE,
4607
+ added: o === Ce.DIFF_INSERT
4608
4608
  };
4609
4609
  });
4610
4610
  }
4611
4611
  function Z(e, n) {
4612
- if (!n.match(new RegExp(`(${V}|${q})`, "g")))
4613
- return Y.highlight(n, { language: e }).value;
4612
+ if (!n.match(new RegExp(`(${X}|${V})`, "g")))
4613
+ return q.highlight(n, { language: e }).value;
4614
4614
  let u = n;
4615
- const h = n.replace(new RegExp(`(${V}|${q})`, "g"), ""), t = document.createElement("div");
4616
- t.innerHTML = Y.highlight(h, { language: e }).value;
4615
+ const h = n.replace(new RegExp(`(${X}|${V})`, "g"), ""), t = document.createElement("div");
4616
+ t.innerHTML = q.highlight(h, { language: e }).value;
4617
4617
  let r = !1;
4618
4618
  const i = (s) => {
4619
4619
  s.childNodes.forEach((o) => {
@@ -4621,19 +4621,19 @@ function Z(e, n) {
4621
4621
  if (!o.textContent)
4622
4622
  return;
4623
4623
  let l = o.textContent, c = "";
4624
- for (r && (c = c + V); l.length; ) {
4625
- if (u.startsWith(V)) {
4626
- u = u.slice(V.length), c = c + V, r = !0;
4624
+ for (r && (c = c + X); l.length; ) {
4625
+ if (u.startsWith(X)) {
4626
+ u = u.slice(X.length), c = c + X, r = !0;
4627
4627
  continue;
4628
4628
  }
4629
- if (u.startsWith(q)) {
4630
- u = u.slice(q.length), c = c + q, r = !1;
4629
+ if (u.startsWith(V)) {
4630
+ u = u.slice(V.length), c = c + V, r = !1;
4631
4631
  continue;
4632
4632
  }
4633
- const f = u.match(new RegExp(`(${V}|${q})`)), g = f && f.index ? f.index : u.length, d = Math.min(g, l.length);
4633
+ const f = u.match(new RegExp(`(${X}|${V})`)), g = f && f.index ? f.index : u.length, d = Math.min(g, l.length);
4634
4634
  c = c + u.substring(0, d), u = u.slice(d), l = l.slice(d);
4635
4635
  }
4636
- r && (c = c + q), o.textContent = c;
4636
+ r && (c = c + V), o.textContent = c;
4637
4637
  }
4638
4638
  });
4639
4639
  };
@@ -4649,7 +4649,7 @@ function On(e) {
4649
4649
  return { additionsNum: a, deletionsNum: u };
4650
4650
  }
4651
4651
  function or(e, n, a = "plaintext", u = "word", h = 10) {
4652
- const t = () => ({ type: S.EMPTY }), r = (p, _, v) => ({ type: p, num: _, code: v }), i = Rn(e, n);
4652
+ const t = () => ({ type: D.EMPTY }), r = (p, _, v) => ({ type: p, num: _, code: v }), i = Rn(e, n);
4653
4653
  let s = 0, o = 0, l = !1;
4654
4654
  const c = [], f = {
4655
4655
  changes: c,
@@ -4664,46 +4664,46 @@ function or(e, n, a = "plaintext", u = "word", h = 10) {
4664
4664
  const [_, v] = [i[p], i[p + 1]], [E, w] = [le(_), le(v)], m = _.value.replace(/\n$/, "").split(`
4665
4665
  `);
4666
4666
  if (v === void 0) {
4667
- for (const D of m) {
4667
+ for (const S of m) {
4668
4668
  let M = t(), I = t();
4669
- const R = Z(a, D);
4670
- E === S.EQUAL && (s++, o++, M = r(S.EQUAL, s, R), I = r(S.EQUAL, o, R)), E === S.DELETE && (s++, M = r(S.DELETE, s, R), I = t()), E === S.ADD && (o++, M = t(), I = r(S.ADD, o, R)), c.push({ left: M, right: I });
4669
+ const R = Z(a, S);
4670
+ E === D.EQUAL && (s++, o++, M = r(D.EQUAL, s, R), I = r(D.EQUAL, o, R)), E === D.DELETE && (s++, M = r(D.DELETE, s, R), I = t()), E === D.ADD && (o++, M = t(), I = r(D.ADD, o, R)), c.push({ left: M, right: I });
4671
4671
  }
4672
4672
  break;
4673
4673
  }
4674
- if (E === S.EQUAL)
4675
- for (const D of m) {
4674
+ if (E === D.EQUAL)
4675
+ for (const S of m) {
4676
4676
  s++, o++;
4677
- const M = Z(a, D);
4677
+ const M = Z(a, S);
4678
4678
  c.push({
4679
- left: r(S.EQUAL, s, M),
4680
- right: r(S.EQUAL, o, M)
4679
+ left: r(D.EQUAL, s, M),
4680
+ right: r(D.EQUAL, o, M)
4681
4681
  });
4682
4682
  }
4683
4683
  const T = v.value.replace(/\n$/, "").split(`
4684
4684
  `);
4685
- if (E === S.DELETE) {
4686
- if (w === S.EQUAL)
4687
- for (const D of m)
4685
+ if (E === D.DELETE) {
4686
+ if (w === D.EQUAL)
4687
+ for (const S of m)
4688
4688
  s++, c.push({
4689
- left: r(S.DELETE, s, Z(a, D)),
4689
+ left: r(D.DELETE, s, Z(a, S)),
4690
4690
  right: t()
4691
4691
  });
4692
- if (w === S.ADD) {
4692
+ if (w === D.ADD) {
4693
4693
  l = !0;
4694
- const D = Math.max(_.count, v.count);
4695
- for (let M = 0; M < D; M++) {
4694
+ const S = Math.max(_.count, v.count);
4695
+ for (let M = 0; M < S; M++) {
4696
4696
  M < _.count && s++, M < v.count && o++;
4697
- const [I, R] = [m[M], T[M]], H = m.length === T.length ? De(R, I, u) : I, U = m.length === T.length ? De(I, R, u) : R, $ = M < _.count ? r(S.DELETE, s, Z(a, H)) : t(), F = M < v.count ? r(S.ADD, o, Z(a, U)) : t();
4697
+ const [I, R] = [m[M], T[M]], H = m.length === T.length ? Se(R, I, u) : I, U = m.length === T.length ? Se(I, R, u) : R, $ = M < _.count ? r(D.DELETE, s, Z(a, H)) : t(), F = M < v.count ? r(D.ADD, o, Z(a, U)) : t();
4698
4698
  c.push({ left: $, right: F });
4699
4699
  }
4700
4700
  }
4701
4701
  }
4702
- if (E === S.ADD)
4703
- for (const D of m)
4702
+ if (E === D.ADD)
4703
+ for (const S of m)
4704
4704
  o++, c.push({
4705
4705
  left: t(),
4706
- right: r(S.ADD, o, Z(a, D))
4706
+ right: r(D.ADD, o, Z(a, S))
4707
4707
  });
4708
4708
  }
4709
4709
  if (e === n) {
@@ -4713,7 +4713,7 @@ function or(e, n, a = "plaintext", u = "word", h = 10) {
4713
4713
  }
4714
4714
  for (let p = 0; p < c.length; p++) {
4715
4715
  const _ = c[p];
4716
- if (_.left.type === S.DELETE || _.right.type === S.ADD) {
4716
+ if (_.left.type === D.DELETE || _.right.type === D.ADD) {
4717
4717
  const [v, E] = [Math.max(p - h, 0), Math.min(p + h + 1, c.length)];
4718
4718
  for (let w = v; w < E; w++)
4719
4719
  c[w].fold = !1;
@@ -4755,56 +4755,56 @@ function lr(e, n, a = "plaintext", u = "word", h = 10) {
4755
4755
  `);
4756
4756
  if (p === void 0) {
4757
4757
  for (const m of E) {
4758
- _ === S.EQUAL && (r++, i++), _ === S.DELETE && r++, _ === S.ADD && i++;
4758
+ _ === D.EQUAL && (r++, i++), _ === D.DELETE && r++, _ === D.ADD && i++;
4759
4759
  const T = Z(a, m);
4760
4760
  o.push({
4761
4761
  type: _,
4762
4762
  code: T,
4763
- addNum: _ === S.DELETE ? void 0 : i,
4764
- delNum: _ === S.ADD ? void 0 : r
4763
+ addNum: _ === D.DELETE ? void 0 : i,
4764
+ delNum: _ === D.ADD ? void 0 : r
4765
4765
  });
4766
4766
  }
4767
4767
  break;
4768
4768
  }
4769
- if (_ === S.EQUAL)
4769
+ if (_ === D.EQUAL)
4770
4770
  for (const m of E) {
4771
4771
  r++, i++;
4772
4772
  const T = Z(a, m);
4773
- o.push({ type: S.EQUAL, code: T, delNum: r, addNum: i });
4773
+ o.push({ type: D.EQUAL, code: T, delNum: r, addNum: i });
4774
4774
  }
4775
4775
  const w = p.value.replace(/\n$/, "").split(`
4776
4776
  `);
4777
- if (_ === S.DELETE)
4778
- if (v === S.ADD && E.length === w.length) {
4777
+ if (_ === D.DELETE)
4778
+ if (v === D.ADD && E.length === w.length) {
4779
4779
  for (let m = 0; m < E.length; m++) {
4780
- const T = E[m], D = w[m];
4780
+ const T = E[m], S = w[m];
4781
4781
  r++;
4782
- const M = Z(a, De(D, T, u));
4783
- o.push({ type: S.DELETE, code: M, delNum: r });
4782
+ const M = Z(a, Se(S, T, u));
4783
+ o.push({ type: D.DELETE, code: M, delNum: r });
4784
4784
  }
4785
4785
  for (let m = 0; m < w.length; m++) {
4786
- const T = E[m], D = w[m];
4786
+ const T = E[m], S = w[m];
4787
4787
  i++;
4788
- const M = Z(a, De(T, D, u));
4789
- o.push({ type: S.ADD, code: M, addNum: i });
4788
+ const M = Z(a, Se(T, S, u));
4789
+ o.push({ type: D.ADD, code: M, addNum: i });
4790
4790
  }
4791
4791
  s = !0;
4792
4792
  } else
4793
4793
  for (const m of E) {
4794
4794
  r++;
4795
4795
  const T = Z(a, m);
4796
- o.push({ type: S.DELETE, code: T, delNum: r });
4796
+ o.push({ type: D.DELETE, code: T, delNum: r });
4797
4797
  }
4798
- if (_ === S.ADD)
4798
+ if (_ === D.ADD)
4799
4799
  for (const m of E) {
4800
4800
  i++;
4801
4801
  const T = Z(a, m);
4802
- o.push({ type: S.ADD, code: T, addNum: i });
4802
+ o.push({ type: D.ADD, code: T, addNum: i });
4803
4803
  }
4804
4804
  }
4805
4805
  for (let g = 0; g < o.length; g++) {
4806
4806
  const d = o[g];
4807
- if (d.type === S.DELETE || d.type === S.ADD) {
4807
+ if (d.type === D.DELETE || d.type === D.ADD) {
4808
4808
  const [p, _] = [Math.max(g - h, 0), Math.min(g + h + 1, o.length)];
4809
4809
  for (let v = p; v < _; v++)
4810
4810
  o[v].fold = !1;
@@ -4845,10 +4845,10 @@ Ke.props = {
4845
4845
  Ke.setup = (e, n) => {
4846
4846
  const a = n.emit;
4847
4847
  function u(h) {
4848
- return h === S.DELETE ? "-" : h === S.ADD ? "+" : "";
4848
+ return h === D.DELETE ? "-" : h === D.ADD ? "+" : "";
4849
4849
  }
4850
4850
  return {
4851
- DiffType: S,
4851
+ DiffType: D,
4852
4852
  emit: a,
4853
4853
  getCodeMarker: u
4854
4854
  };
@@ -5017,13 +5017,22 @@ We.props = {
5017
5017
  };
5018
5018
  We.setup = (e, n) => {
5019
5019
  const a = n.emit;
5020
- function u(h) {
5021
- return h === S.DELETE ? "-" : h === S.ADD ? "+" : "";
5020
+ function u(t) {
5021
+ return t === D.DELETE ? "-" : t === D.ADD ? "+" : "";
5022
+ }
5023
+ function h(t) {
5024
+ window.getSelection().removeAllRanges();
5025
+ const r = document.querySelectorAll(".file-diff-split .split-side-left"), i = document.querySelectorAll(".file-diff-split .split-side-right");
5026
+ for (const s of i)
5027
+ s.classList.toggle("no-select", t === "left");
5028
+ for (const s of r)
5029
+ s.classList.toggle("no-select", t === "right");
5022
5030
  }
5023
5031
  return {
5024
- DiffType: S,
5032
+ DiffType: D,
5025
5033
  emit: a,
5026
- getCodeMarker: u
5034
+ getCodeMarker: u,
5035
+ onSplitLineMousedown: h
5027
5036
  };
5028
5037
  };
5029
5038
  var Er = function() {
@@ -5044,7 +5053,7 @@ var Er = function() {
5044
5053
  colspan: "3",
5045
5054
  align: "left"
5046
5055
  }
5047
- }, [e._v(" ⋯ ")])]) : e.splitLine.hide ? e._e() : a("tr", [e._l([e.splitLine.left, e.splitLine.right], function(u) {
5056
+ }, [e._v(" ⋯ ")])]) : e.splitLine.hide ? e._e() : a("tr", [e._l([e.splitLine.left, e.splitLine.right], function(u, h) {
5048
5057
  return [u.type === e.DiffType.EMPTY ? [a("td", {
5049
5058
  staticClass: "blob-num blob-num-empty empty-cell"
5050
5059
  }), a("td", {
@@ -5063,7 +5072,14 @@ var Er = function() {
5063
5072
  "blob-code-deletion": u.type === e.DiffType.DELETE,
5064
5073
  "blob-code-addition": u.type === e.DiffType.ADD,
5065
5074
  "blob-code-context": u.type === e.DiffType.EQUAL,
5066
- "blob-code-hunk": e.splitLine.hide !== void 0
5075
+ "blob-code-hunk": e.splitLine.hide !== void 0,
5076
+ "split-side-left": h === 0,
5077
+ "split-side-right": h === 1
5078
+ },
5079
+ on: {
5080
+ mousedown: function(t) {
5081
+ return e.onSplitLineMousedown(h === 0 ? "left" : "right");
5082
+ }
5067
5083
  }
5068
5084
  }, [a("span", {
5069
5085
  staticClass: "blob-code-inner blob-code-marker",
@@ -5150,16 +5166,16 @@ var Tr = /* @__PURE__ */ be(
5150
5166
  Mr,
5151
5167
  Ar,
5152
5168
  !1,
5153
- Dr,
5169
+ Sr,
5154
5170
  null,
5155
5171
  null,
5156
5172
  null
5157
5173
  );
5158
- function Dr(e) {
5174
+ function Sr(e) {
5159
5175
  for (let n in fn)
5160
5176
  this[n] = fn[n];
5161
5177
  }
5162
- const Sr = /* @__PURE__ */ function() {
5178
+ const Dr = /* @__PURE__ */ function() {
5163
5179
  return Tr.exports;
5164
5180
  }();
5165
5181
  const _e = {};
@@ -5221,6 +5237,18 @@ _e.props = {
5221
5237
  required: !1,
5222
5238
  type: String,
5223
5239
  default: void 0
5240
+ },
5241
+ hideHeader: {
5242
+ key: "hideHeader",
5243
+ required: !1,
5244
+ type: Boolean,
5245
+ default: !1
5246
+ },
5247
+ hideStat: {
5248
+ key: "hideStat",
5249
+ required: !1,
5250
+ type: Boolean,
5251
+ default: !1
5224
5252
  }
5225
5253
  };
5226
5254
  _e.setup = (e, n) => {
@@ -5251,7 +5279,7 @@ _e.setup = (e, n) => {
5251
5279
  };
5252
5280
  _e.components = Object.assign({
5253
5281
  UnifiedViewer: vr,
5254
- SplitViewer: Sr
5282
+ SplitViewer: Dr
5255
5283
  }, _e.components);
5256
5284
  var Rr = function() {
5257
5285
  var e = this, n = e.$createElement, a = e._self._c || n;
@@ -5260,13 +5288,13 @@ var Rr = function() {
5260
5288
  style: {
5261
5289
  maxHeight: e.maxHeight
5262
5290
  }
5263
- }, [a("div", {
5291
+ }, [e.hideHeader ? e._e() : a("div", {
5264
5292
  staticClass: "file-header"
5265
5293
  }, [a("div", {
5266
5294
  staticClass: "file-info"
5267
5295
  }, [a("span", {
5268
5296
  staticClass: "filename"
5269
- }, [e._v(e._s(e.filename))]), a("span", {
5297
+ }, [e._v(e._s(e.filename))]), e.hideStat ? e._e() : a("span", {
5270
5298
  staticClass: "diff-stat"
5271
5299
  }, [a("span", {
5272
5300
  staticClass: "diff-stat-added"
@@ -5286,29 +5314,29 @@ var Rr = function() {
5286
5314
  })], 1);
5287
5315
  }, Or = [];
5288
5316
  const gn = {};
5289
- var Cr = /* @__PURE__ */ be(
5317
+ var Lr = /* @__PURE__ */ be(
5290
5318
  _e,
5291
5319
  Rr,
5292
5320
  Or,
5293
5321
  !1,
5294
- Lr,
5322
+ Cr,
5295
5323
  null,
5296
5324
  null,
5297
5325
  null
5298
5326
  );
5299
- function Lr(e) {
5327
+ function Cr(e) {
5300
5328
  for (let n in gn)
5301
5329
  this[n] = gn[n];
5302
5330
  }
5303
5331
  const Ir = /* @__PURE__ */ function() {
5304
- return Cr.exports;
5332
+ return Lr.exports;
5305
5333
  }();
5306
5334
  function kr(e) {
5307
5335
  e.component("CodeDiff", Ir);
5308
5336
  }
5309
5337
  const Ur = {
5310
5338
  install: kr,
5311
- hljs: Y
5339
+ hljs: q
5312
5340
  };
5313
5341
  export {
5314
5342
  Ir as CodeDiff,