v-code-diff 1.12.1 → 1.13.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,77 +1,92 @@
1
- (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--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: #1F2328;--color-diff-blob-addition-fg: #1F2328;--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: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--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: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--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: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--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: #1f883d;--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(31,35,40,.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-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px 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(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--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(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,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(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.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(31,35,40,.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-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.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(31,35,40,.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-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--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: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--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: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--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(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.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: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--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: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--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(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.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-scale-black: #1F2328;--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[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#ffffff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.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{position:sticky;top:0;z-index:1;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 .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.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 .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar{margin-left:auto;margin-right:1rem}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button{background-color:transparent;color:var(--color-fg-subtle);border:none}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button svg{fill:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button:hover{background-color:var(--color-btn-outline-hover-border)}.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 .current-diff{border:1px solid var(--color-border-muted)}.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)}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { defineComponent as Ae, openBlock as G, createElementBlock as W, createElementVNode as B, normalizeClass as me, unref as F, toDisplayString as ee, createCommentVNode as ve, Fragment as pe, renderList as Ke, createBlock as Ie, computed as Ee, ref as nn, watch as Wn, normalizeStyle as Qn, createVNode as De, renderSlot as tn } from "vue";
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--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: #1F2328;--color-diff-blob-addition-fg: #1F2328;--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: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--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: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--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: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--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: #1f883d;--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(31,35,40,.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-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px 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(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--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(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,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(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.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(31,35,40,.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-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.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(31,35,40,.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-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--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: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--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: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--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(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.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: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--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: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--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(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.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-scale-black: #1F2328;--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[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#fff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.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{position:sticky;top:0;z-index:1;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 .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.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 .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar{margin-left:auto;margin-right:1rem}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button{background-color:transparent;color:var(--color-fg-subtle);border:none}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button svg{fill:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button:hover{background-color:var(--color-btn-outline-hover-border)}.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 .current-diff{border:1px solid var(--color-border-muted)}.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)}.code-diff-view[data-v-0c5adc58] td:nth-child(1){display:none}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { defineComponent as me, openBlock as z, createElementBlock as W, createElementVNode as B, normalizeClass as ve, unref as x, toDisplayString as ee, createCommentVNode as we, Fragment as pe, renderList as Ke, createBlock as ye, computed as Ee, ref as tn, watch as Qn, normalizeStyle as Zn, createVNode as Le, renderSlot as rn } from "vue";
3
3
  function ae() {
4
4
  }
5
5
  ae.prototype = {
6
6
  diff: function(r, l) {
7
- var f = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, g = f.callback;
8
- typeof f == "function" && (g = f, f = {}), this.options = f;
9
- var n = this;
10
- function t(p) {
11
- return g ? (setTimeout(function() {
12
- g(void 0, p);
13
- }, 0), !0) : p;
7
+ var f, h = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = h.callback;
8
+ typeof h == "function" && (n = h, h = {}), this.options = h;
9
+ var t = this;
10
+ function i(w) {
11
+ return n ? (setTimeout(function() {
12
+ n(void 0, w);
13
+ }, 0), !0) : w;
14
14
  }
15
15
  r = this.castInput(r), l = this.castInput(l), r = this.removeEmpty(this.tokenize(r)), l = this.removeEmpty(this.tokenize(l));
16
- var i = l.length, s = r.length, a = 1, o = i + s;
17
- f.maxEditLength && (o = Math.min(o, f.maxEditLength));
18
- var c = [{
19
- newPos: -1,
20
- components: []
21
- }], u = this.extractCommon(c[0], l, r, 0);
22
- if (c[0].newPos + 1 >= i && u + 1 >= s)
23
- return t([{
16
+ var s = l.length, o = r.length, a = 1, c = s + o;
17
+ h.maxEditLength && (c = Math.min(c, h.maxEditLength));
18
+ var u = (f = h.timeout) !== null && f !== void 0 ? f : 1 / 0, d = Date.now() + u, g = [{
19
+ oldPos: -1,
20
+ lastComponent: void 0
21
+ }], p = this.extractCommon(g[0], l, r, 0);
22
+ if (g[0].oldPos + 1 >= o && p + 1 >= s)
23
+ return i([{
24
24
  value: this.join(l),
25
25
  count: l.length
26
26
  }]);
27
- function d() {
28
- for (var p = -1 * a; p <= a; p += 2) {
29
- var _ = void 0, E = c[p - 1], m = c[p + 1], v = (m ? m.newPos : 0) - p;
30
- E && (c[p - 1] = void 0);
31
- var A = E && E.newPos + 1 < i, D = m && 0 <= v && v < s;
32
- if (!A && !D) {
33
- c[p] = void 0;
27
+ var _ = -1 / 0, m = 1 / 0;
28
+ function E() {
29
+ for (var w = Math.max(_, -a); w <= Math.min(m, a); w += 2) {
30
+ var D = void 0, T = g[w - 1], M = g[w + 1];
31
+ T && (g[w - 1] = void 0);
32
+ var R = !1;
33
+ if (M) {
34
+ var L = M.oldPos - w;
35
+ R = M && 0 <= L && L < s;
36
+ }
37
+ var O = T && T.oldPos + 1 < o;
38
+ if (!R && !O) {
39
+ g[w] = void 0;
34
40
  continue;
35
41
  }
36
- if (!A || D && E.newPos < m.newPos ? (_ = Yn(m), n.pushComponent(_.components, void 0, !0)) : (_ = E, _.newPos++, n.pushComponent(_.components, !0, void 0)), v = n.extractCommon(_, l, r, p), _.newPos + 1 >= i && v + 1 >= s)
37
- return t(Zn(n, _.components, l, r, n.useLongestToken));
38
- c[p] = _;
42
+ if (!O || R && T.oldPos + 1 < M.oldPos ? D = t.addToPath(M, !0, void 0, 0) : D = t.addToPath(T, void 0, !0, 1), p = t.extractCommon(D, l, r, w), D.oldPos + 1 >= o && p + 1 >= s)
43
+ return i(Yn(t, D.lastComponent, l, r, t.useLongestToken));
44
+ g[w] = D, D.oldPos + 1 >= o && (m = Math.min(m, w - 1)), p + 1 >= s && (_ = Math.max(_, w + 1));
39
45
  }
40
46
  a++;
41
47
  }
42
- if (g)
43
- (function p() {
48
+ if (n)
49
+ (function w() {
44
50
  setTimeout(function() {
45
- if (a > o)
46
- return g();
47
- d() || p();
51
+ if (a > c || Date.now() > d)
52
+ return n();
53
+ E() || w();
48
54
  }, 0);
49
55
  })();
50
56
  else
51
- for (; a <= o; ) {
52
- var h = d();
53
- if (h)
54
- return h;
57
+ for (; a <= c && Date.now() <= d; ) {
58
+ var v = E();
59
+ if (v)
60
+ return v;
55
61
  }
56
62
  },
57
- pushComponent: function(r, l, f) {
58
- var g = r[r.length - 1];
59
- g && g.added === l && g.removed === f ? r[r.length - 1] = {
60
- count: g.count + 1,
61
- added: l,
62
- removed: f
63
- } : r.push({
64
- count: 1,
65
- added: l,
66
- removed: f
67
- });
63
+ addToPath: function(r, l, f, h) {
64
+ var n = r.lastComponent;
65
+ return n && n.added === l && n.removed === f ? {
66
+ oldPos: r.oldPos + h,
67
+ lastComponent: {
68
+ count: n.count + 1,
69
+ added: l,
70
+ removed: f,
71
+ previousComponent: n.previousComponent
72
+ }
73
+ } : {
74
+ oldPos: r.oldPos + h,
75
+ lastComponent: {
76
+ count: 1,
77
+ added: l,
78
+ removed: f,
79
+ previousComponent: n
80
+ }
81
+ };
68
82
  },
69
- extractCommon: function(r, l, f, g) {
70
- for (var n = l.length, t = f.length, i = r.newPos, s = i - g, a = 0; i + 1 < n && s + 1 < t && this.equals(l[i + 1], f[s + 1]); )
71
- i++, s++, a++;
72
- return a && r.components.push({
73
- count: a
74
- }), r.newPos = i, s;
83
+ extractCommon: function(r, l, f, h) {
84
+ for (var n = l.length, t = f.length, i = r.oldPos, s = i - h, o = 0; s + 1 < n && i + 1 < t && this.equals(l[s + 1], f[i + 1]); )
85
+ s++, i++, o++;
86
+ return o && (r.lastComponent = {
87
+ count: o,
88
+ previousComponent: r.lastComponent
89
+ }), r.oldPos = i, s;
75
90
  },
76
91
  equals: function(r, l) {
77
92
  return this.options.comparator ? this.options.comparator(r, l) : r === l || this.options.ignoreCase && r.toLowerCase() === l.toLowerCase();
@@ -91,34 +106,31 @@ ae.prototype = {
91
106
  return r.join("");
92
107
  }
93
108
  };
94
- function Zn(e, r, l, f, g) {
95
- for (var n = 0, t = r.length, i = 0, s = 0; n < t; n++) {
96
- var a = r[n];
97
- if (a.removed) {
98
- if (a.value = e.join(f.slice(s, s + a.count)), s += a.count, n && r[n - 1].added) {
99
- var c = r[n - 1];
100
- r[n - 1] = r[n], r[n] = c;
109
+ function Yn(e, r, l, f, h) {
110
+ for (var n = [], t; r; )
111
+ n.push(r), t = r.previousComponent, delete r.previousComponent, r = t;
112
+ n.reverse();
113
+ for (var i = 0, s = n.length, o = 0, a = 0; i < s; i++) {
114
+ var c = n[i];
115
+ if (c.removed) {
116
+ if (c.value = e.join(f.slice(a, a + c.count)), a += c.count, i && n[i - 1].added) {
117
+ var d = n[i - 1];
118
+ n[i - 1] = n[i], n[i] = d;
101
119
  }
102
120
  } else {
103
- if (!a.added && g) {
104
- var o = l.slice(i, i + a.count);
105
- o = o.map(function(d, h) {
106
- var p = f[s + h];
107
- return p.length > d.length ? p : d;
108
- }), a.value = e.join(o);
121
+ if (!c.added && h) {
122
+ var u = l.slice(o, o + c.count);
123
+ u = u.map(function(p, _) {
124
+ var m = f[a + _];
125
+ return m.length > p.length ? m : p;
126
+ }), c.value = e.join(u);
109
127
  } else
110
- a.value = e.join(l.slice(i, i + a.count));
111
- i += a.count, a.added || (s += a.count);
128
+ c.value = e.join(l.slice(o, o + c.count));
129
+ o += c.count, c.added || (a += c.count);
112
130
  }
113
131
  }
114
- var u = r[t - 1];
115
- return t > 1 && typeof u.value == "string" && (u.added || u.removed) && e.equals("", u.value) && (r[t - 2].value += u.value, r.pop()), r;
116
- }
117
- function Yn(e) {
118
- return {
119
- newPos: e.newPos,
120
- components: e.components.slice(0)
121
- };
132
+ var g = n[s - 1];
133
+ return s > 1 && typeof g.value == "string" && (g.added || g.removed) && e.equals("", g.value) && (n[s - 2].value += g.value, n.pop()), n;
122
134
  }
123
135
  var Xn = new ae();
124
136
  function Vn(e, r, l) {
@@ -132,13 +144,13 @@ function jn(e, r) {
132
144
  e.hasOwnProperty(l) && (r[l] = e[l]);
133
145
  return r;
134
146
  }
135
- var rn = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, sn = /\S/, We = new ae();
147
+ var sn = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, an = /\S/, We = new ae();
136
148
  We.equals = function(e, r) {
137
- return this.options.ignoreCase && (e = e.toLowerCase(), r = r.toLowerCase()), e === r || this.options.ignoreWhitespace && !sn.test(e) && !sn.test(r);
149
+ return this.options.ignoreCase && (e = e.toLowerCase(), r = r.toLowerCase()), e === r || this.options.ignoreWhitespace && !an.test(e) && !an.test(r);
138
150
  };
139
151
  We.tokenize = function(e) {
140
152
  for (var r = e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), l = 0; l < r.length - 1; l++)
141
- !r[l + 1] && r[l + 2] && rn.test(r[l]) && rn.test(r[l + 2]) && (r[l] += r[l + 2], r.splice(l + 1, 2), l--);
153
+ !r[l + 1] && r[l + 2] && sn.test(r[l]) && sn.test(r[l + 2]) && (r[l] += r[l + 2], r.splice(l + 1, 2), l--);
142
154
  return r;
143
155
  };
144
156
  function qn(e, r, l) {
@@ -146,13 +158,15 @@ function qn(e, r, l) {
146
158
  ignoreWhitespace: !0
147
159
  }), We.diff(e, r, l);
148
160
  }
149
- var bn = new ae();
150
- bn.tokenize = function(e) {
161
+ var mn = new ae();
162
+ mn.tokenize = function(e) {
163
+ this.options.stripTrailingCr && (e = e.replace(/\r\n/g, `
164
+ `));
151
165
  var r = [], l = e.split(/(\n|\r\n)/);
152
166
  l[l.length - 1] || l.pop();
153
167
  for (var f = 0; f < l.length; f++) {
154
- var g = l[f];
155
- f % 2 && !this.options.newlineIsToken ? r[r.length - 1] += g : (this.options.ignoreWhitespace && (g = g.trim()), r.push(g));
168
+ var h = l[f];
169
+ f % 2 && !this.options.newlineIsToken ? r[r.length - 1] += h : (this.options.ignoreWhitespace && (h = h.trim()), r.push(h));
156
170
  }
157
171
  return r;
158
172
  };
@@ -164,28 +178,28 @@ var et = new ae();
164
178
  et.tokenize = function(e) {
165
179
  return e.split(/([{}:;,]|\s+)/);
166
180
  };
167
- function Ce(e) {
181
+ function Ie(e) {
168
182
  "@babel/helpers - typeof";
169
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ce = function(r) {
183
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ie = function(r) {
170
184
  return typeof r;
171
- } : Ce = function(r) {
185
+ } : Ie = function(r) {
172
186
  return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
173
- }, Ce(e);
187
+ }, Ie(e);
174
188
  }
175
- var nt = Object.prototype.toString, we = new ae();
176
- we.useLongestToken = !0;
177
- we.tokenize = bn.tokenize;
178
- we.castInput = function(e) {
179
- var r = this.options, l = r.undefinedReplacement, f = r.stringifyReplacer, g = f === void 0 ? function(n, t) {
189
+ var nt = Object.prototype.toString, Ne = new ae();
190
+ Ne.useLongestToken = !0;
191
+ Ne.tokenize = mn.tokenize;
192
+ Ne.castInput = function(e) {
193
+ var r = this.options, l = r.undefinedReplacement, f = r.stringifyReplacer, h = f === void 0 ? function(n, t) {
180
194
  return typeof t == "undefined" ? l : t;
181
195
  } : f;
182
- return typeof e == "string" ? e : JSON.stringify(xe(e, null, null, g), g, " ");
196
+ return typeof e == "string" ? e : JSON.stringify(ze(e, null, null, h), h, " ");
183
197
  };
184
- we.equals = function(e, r) {
185
- return ae.prototype.equals.call(we, e.replace(/,([\r\n])/g, "$1"), r.replace(/,([\r\n])/g, "$1"));
198
+ Ne.equals = function(e, r) {
199
+ return ae.prototype.equals.call(Ne, e.replace(/,([\r\n])/g, "$1"), r.replace(/,([\r\n])/g, "$1"));
186
200
  };
187
- function xe(e, r, l, f, g) {
188
- r = r || [], l = l || [], f && (e = f(g, e));
201
+ function ze(e, r, l, f, h) {
202
+ r = r || [], l = l || [], f && (e = f(h, e));
189
203
  var n;
190
204
  for (n = 0; n < r.length; n += 1)
191
205
  if (r[n] === e)
@@ -193,16 +207,16 @@ function xe(e, r, l, f, g) {
193
207
  var t;
194
208
  if (nt.call(e) === "[object Array]") {
195
209
  for (r.push(e), t = new Array(e.length), l.push(t), n = 0; n < e.length; n += 1)
196
- t[n] = xe(e[n], r, l, f, g);
210
+ t[n] = ze(e[n], r, l, f, h);
197
211
  return r.pop(), l.pop(), t;
198
212
  }
199
- if (e && e.toJSON && (e = e.toJSON()), Ce(e) === "object" && e !== null) {
213
+ if (e && e.toJSON && (e = e.toJSON()), Ie(e) === "object" && e !== null) {
200
214
  r.push(e), t = {}, l.push(t);
201
215
  var i = [], s;
202
216
  for (s in e)
203
217
  e.hasOwnProperty(s) && i.push(s);
204
218
  for (i.sort(), n = 0; n < i.length; n += 1)
205
- s = i[n], t[s] = xe(e[s], r, l, f, s);
219
+ s = i[n], t[s] = ze(e[s], r, l, f, s);
206
220
  r.pop(), l.pop();
207
221
  } else
208
222
  t = e;
@@ -222,39 +236,39 @@ var En = { exports: {} };
222
236
  (function(e) {
223
237
  var r = function() {
224
238
  this.Diff_Timeout = 1, this.Diff_EditCost = 4, this.Match_Threshold = 0.5, this.Match_Distance = 1e3, this.Patch_DeleteThreshold = 0.5, this.Patch_Margin = 4, this.Match_MaxBits = 32;
225
- }, l = -1, f = 1, g = 0;
239
+ }, l = -1, f = 1, h = 0;
226
240
  r.Diff = function(n, t) {
227
241
  return [n, t];
228
242
  }, r.prototype.diff_main = function(n, t, i, s) {
229
243
  typeof s == "undefined" && (this.Diff_Timeout <= 0 ? s = Number.MAX_VALUE : s = (/* @__PURE__ */ new Date()).getTime() + this.Diff_Timeout * 1e3);
230
- var a = s;
244
+ var o = s;
231
245
  if (n == null || t == null)
232
246
  throw new Error("Null input. (diff_main)");
233
247
  if (n == t)
234
- return n ? [new r.Diff(g, n)] : [];
248
+ return n ? [new r.Diff(h, n)] : [];
235
249
  typeof i == "undefined" && (i = !0);
236
- var o = i, c = this.diff_commonPrefix(n, t), u = n.substring(0, c);
250
+ var a = i, c = this.diff_commonPrefix(n, t), u = n.substring(0, c);
237
251
  n = n.substring(c), t = t.substring(c), c = this.diff_commonSuffix(n, t);
238
252
  var d = n.substring(n.length - c);
239
253
  n = n.substring(0, n.length - c), t = t.substring(0, t.length - c);
240
- var h = this.diff_compute_(n, t, o, a);
241
- return u && h.unshift(new r.Diff(g, u)), d && h.push(new r.Diff(g, d)), this.diff_cleanupMerge(h), h;
254
+ var g = this.diff_compute_(n, t, a, o);
255
+ return u && g.unshift(new r.Diff(h, u)), d && g.push(new r.Diff(h, d)), this.diff_cleanupMerge(g), g;
242
256
  }, r.prototype.diff_compute_ = function(n, t, i, s) {
243
- var a;
257
+ var o;
244
258
  if (!n)
245
259
  return [new r.Diff(f, t)];
246
260
  if (!t)
247
261
  return [new r.Diff(l, n)];
248
- var o = n.length > t.length ? n : t, c = n.length > t.length ? t : n, u = o.indexOf(c);
262
+ var a = n.length > t.length ? n : t, c = n.length > t.length ? t : n, u = a.indexOf(c);
249
263
  if (u != -1)
250
- return a = [
251
- new r.Diff(f, o.substring(0, u)),
252
- new r.Diff(g, c),
264
+ return o = [
265
+ new r.Diff(f, a.substring(0, u)),
266
+ new r.Diff(h, c),
253
267
  new r.Diff(
254
268
  f,
255
- o.substring(u + c.length)
269
+ a.substring(u + c.length)
256
270
  )
257
- ], n.length > t.length && (a[0][0] = a[2][0] = l), a;
271
+ ], n.length > t.length && (o[0][0] = o[2][0] = l), o;
258
272
  if (c.length == 1)
259
273
  return [
260
274
  new r.Diff(l, n),
@@ -262,80 +276,80 @@ var En = { exports: {} };
262
276
  ];
263
277
  var d = this.diff_halfMatch_(n, t);
264
278
  if (d) {
265
- var h = d[0], p = d[1], _ = d[2], E = d[3], m = d[4], v = this.diff_main(h, _, i, s), A = this.diff_main(p, E, i, s);
279
+ var g = d[0], p = d[1], _ = d[2], m = d[3], E = d[4], v = this.diff_main(g, _, i, s), w = this.diff_main(p, m, i, s);
266
280
  return v.concat(
267
- [new r.Diff(g, m)],
268
- A
281
+ [new r.Diff(h, E)],
282
+ w
269
283
  );
270
284
  }
271
285
  return i && n.length > 100 && t.length > 100 ? this.diff_lineMode_(n, t, s) : this.diff_bisect_(n, t, s);
272
286
  }, r.prototype.diff_lineMode_ = function(n, t, i) {
273
287
  var s = this.diff_linesToChars_(n, t);
274
288
  n = s.chars1, t = s.chars2;
275
- var a = s.lineArray, o = this.diff_main(n, t, !1, i);
276
- this.diff_charsToLines_(o, a), this.diff_cleanupSemantic(o), o.push(new r.Diff(g, ""));
277
- for (var c = 0, u = 0, d = 0, h = "", p = ""; c < o.length; ) {
278
- switch (o[c][0]) {
289
+ var o = s.lineArray, a = this.diff_main(n, t, !1, i);
290
+ this.diff_charsToLines_(a, o), this.diff_cleanupSemantic(a), a.push(new r.Diff(h, ""));
291
+ for (var c = 0, u = 0, d = 0, g = "", p = ""; c < a.length; ) {
292
+ switch (a[c][0]) {
279
293
  case f:
280
- d++, p += o[c][1];
294
+ d++, p += a[c][1];
281
295
  break;
282
296
  case l:
283
- u++, h += o[c][1];
297
+ u++, g += a[c][1];
284
298
  break;
285
- case g:
299
+ case h:
286
300
  if (u >= 1 && d >= 1) {
287
- o.splice(
301
+ a.splice(
288
302
  c - u - d,
289
303
  u + d
290
304
  ), c = c - u - d;
291
- for (var _ = this.diff_main(h, p, !1, i), E = _.length - 1; E >= 0; E--)
292
- o.splice(c, 0, _[E]);
305
+ for (var _ = this.diff_main(g, p, !1, i), m = _.length - 1; m >= 0; m--)
306
+ a.splice(c, 0, _[m]);
293
307
  c = c + _.length;
294
308
  }
295
- d = 0, u = 0, h = "", p = "";
309
+ d = 0, u = 0, g = "", p = "";
296
310
  break;
297
311
  }
298
312
  c++;
299
313
  }
300
- return o.pop(), o;
314
+ return a.pop(), a;
301
315
  }, r.prototype.diff_bisect_ = function(n, t, i) {
302
- for (var s = n.length, a = t.length, o = Math.ceil((s + a) / 2), c = o, u = 2 * o, d = new Array(u), h = new Array(u), p = 0; p < u; p++)
303
- d[p] = -1, h[p] = -1;
304
- d[c + 1] = 0, h[c + 1] = 0;
305
- for (var _ = s - a, E = _ % 2 != 0, m = 0, v = 0, A = 0, D = 0, S = 0; S < o && !((/* @__PURE__ */ new Date()).getTime() > i); S++) {
306
- for (var M = -S + m; M <= S - v; M += 2) {
316
+ for (var s = n.length, o = t.length, a = Math.ceil((s + o) / 2), c = a, u = 2 * a, d = new Array(u), g = new Array(u), p = 0; p < u; p++)
317
+ d[p] = -1, g[p] = -1;
318
+ d[c + 1] = 0, g[c + 1] = 0;
319
+ for (var _ = s - o, m = _ % 2 != 0, E = 0, v = 0, w = 0, D = 0, T = 0; T < a && !((/* @__PURE__ */ new Date()).getTime() > i); T++) {
320
+ for (var M = -T + E; M <= T - v; M += 2) {
307
321
  var R = c + M, L;
308
- M == -S || M != S && d[R - 1] < d[R + 1] ? L = d[R + 1] : L = d[R - 1] + 1;
309
- for (var I = L - M; L < s && I < a && n.charAt(L) == t.charAt(I); )
310
- L++, I++;
322
+ M == -T || M != T && d[R - 1] < d[R + 1] ? L = d[R + 1] : L = d[R - 1] + 1;
323
+ for (var O = L - M; L < s && O < o && n.charAt(L) == t.charAt(O); )
324
+ L++, O++;
311
325
  if (d[R] = L, L > s)
312
326
  v += 2;
313
- else if (I > a)
314
- m += 2;
315
- else if (E) {
327
+ else if (O > o)
328
+ E += 2;
329
+ else if (m) {
316
330
  var P = c + _ - M;
317
- if (P >= 0 && P < u && h[P] != -1) {
318
- var $ = s - h[P];
331
+ if (P >= 0 && P < u && g[P] != -1) {
332
+ var $ = s - g[P];
319
333
  if (L >= $)
320
- return this.diff_bisectSplit_(n, t, L, I, i);
334
+ return this.diff_bisectSplit_(n, t, L, O, i);
321
335
  }
322
336
  }
323
337
  }
324
- for (var K = -S + A; K <= S - D; K += 2) {
338
+ for (var K = -T + w; K <= T - D; K += 2) {
325
339
  var P = c + K, $;
326
- K == -S || K != S && h[P - 1] < h[P + 1] ? $ = h[P + 1] : $ = h[P - 1] + 1;
327
- for (var Y = $ - K; $ < s && Y < a && n.charAt(s - $ - 1) == t.charAt(a - Y - 1); )
340
+ K == -T || K != T && g[P - 1] < g[P + 1] ? $ = g[P + 1] : $ = g[P - 1] + 1;
341
+ for (var Y = $ - K; $ < s && Y < o && n.charAt(s - $ - 1) == t.charAt(o - Y - 1); )
328
342
  $++, Y++;
329
- if (h[P] = $, $ > s)
343
+ if (g[P] = $, $ > s)
330
344
  D += 2;
331
- else if (Y > a)
332
- A += 2;
333
- else if (!E) {
345
+ else if (Y > o)
346
+ w += 2;
347
+ else if (!m) {
334
348
  var R = c + _ - K;
335
349
  if (R >= 0 && R < u && d[R] != -1) {
336
- var L = d[R], I = c + L - R;
350
+ var L = d[R], O = c + L - R;
337
351
  if ($ = s - $, L >= $)
338
- return this.diff_bisectSplit_(n, t, L, I, i);
352
+ return this.diff_bisectSplit_(n, t, L, O, i);
339
353
  }
340
354
  }
341
355
  }
@@ -344,56 +358,56 @@ var En = { exports: {} };
344
358
  new r.Diff(l, n),
345
359
  new r.Diff(f, t)
346
360
  ];
347
- }, r.prototype.diff_bisectSplit_ = function(n, t, i, s, a) {
348
- var o = n.substring(0, i), c = t.substring(0, s), u = n.substring(i), d = t.substring(s), h = this.diff_main(o, c, !1, a), p = this.diff_main(u, d, !1, a);
349
- return h.concat(p);
361
+ }, r.prototype.diff_bisectSplit_ = function(n, t, i, s, o) {
362
+ var a = n.substring(0, i), c = t.substring(0, s), u = n.substring(i), d = t.substring(s), g = this.diff_main(a, c, !1, o), p = this.diff_main(u, d, !1, o);
363
+ return g.concat(p);
350
364
  }, r.prototype.diff_linesToChars_ = function(n, t) {
351
365
  var i = [], s = {};
352
366
  i[0] = "";
353
- function a(d) {
354
- for (var h = "", p = 0, _ = -1, E = i.length; _ < d.length - 1; ) {
367
+ function o(d) {
368
+ for (var g = "", p = 0, _ = -1, m = i.length; _ < d.length - 1; ) {
355
369
  _ = d.indexOf(`
356
370
  `, p), _ == -1 && (_ = d.length - 1);
357
- var m = d.substring(p, _ + 1);
358
- (s.hasOwnProperty ? s.hasOwnProperty(m) : s[m] !== void 0) ? h += String.fromCharCode(s[m]) : (E == o && (m = d.substring(p), _ = d.length), h += String.fromCharCode(E), s[m] = E, i[E++] = m), p = _ + 1;
371
+ var E = d.substring(p, _ + 1);
372
+ (s.hasOwnProperty ? s.hasOwnProperty(E) : s[E] !== void 0) ? g += String.fromCharCode(s[E]) : (m == a && (E = d.substring(p), _ = d.length), g += String.fromCharCode(m), s[E] = m, i[m++] = E), p = _ + 1;
359
373
  }
360
- return h;
374
+ return g;
361
375
  }
362
- var o = 4e4, c = a(n);
363
- o = 65535;
364
- var u = a(t);
376
+ var a = 4e4, c = o(n);
377
+ a = 65535;
378
+ var u = o(t);
365
379
  return { chars1: c, chars2: u, lineArray: i };
366
380
  }, r.prototype.diff_charsToLines_ = function(n, t) {
367
381
  for (var i = 0; i < n.length; i++) {
368
- for (var s = n[i][1], a = [], o = 0; o < s.length; o++)
369
- a[o] = t[s.charCodeAt(o)];
370
- n[i][1] = a.join("");
382
+ for (var s = n[i][1], o = [], a = 0; a < s.length; a++)
383
+ o[a] = t[s.charCodeAt(a)];
384
+ n[i][1] = o.join("");
371
385
  }
372
386
  }, r.prototype.diff_commonPrefix = function(n, t) {
373
387
  if (!n || !t || n.charAt(0) != t.charAt(0))
374
388
  return 0;
375
- for (var i = 0, s = Math.min(n.length, t.length), a = s, o = 0; i < a; )
376
- n.substring(o, a) == t.substring(o, a) ? (i = a, o = i) : s = a, a = Math.floor((s - i) / 2 + i);
377
- return a;
389
+ for (var i = 0, s = Math.min(n.length, t.length), o = s, a = 0; i < o; )
390
+ n.substring(a, o) == t.substring(a, o) ? (i = o, a = i) : s = o, o = Math.floor((s - i) / 2 + i);
391
+ return o;
378
392
  }, r.prototype.diff_commonSuffix = function(n, t) {
379
393
  if (!n || !t || n.charAt(n.length - 1) != t.charAt(t.length - 1))
380
394
  return 0;
381
- for (var i = 0, s = Math.min(n.length, t.length), a = s, o = 0; i < a; )
382
- n.substring(n.length - a, n.length - o) == t.substring(t.length - a, t.length - o) ? (i = a, o = i) : s = a, a = Math.floor((s - i) / 2 + i);
383
- return a;
395
+ for (var i = 0, s = Math.min(n.length, t.length), o = s, a = 0; i < o; )
396
+ n.substring(n.length - o, n.length - a) == t.substring(t.length - o, t.length - a) ? (i = o, a = i) : s = o, o = Math.floor((s - i) / 2 + i);
397
+ return o;
384
398
  }, r.prototype.diff_commonOverlap_ = function(n, t) {
385
399
  var i = n.length, s = t.length;
386
400
  if (i == 0 || s == 0)
387
401
  return 0;
388
402
  i > s ? n = n.substring(i - s) : i < s && (t = t.substring(0, i));
389
- var a = Math.min(i, s);
403
+ var o = Math.min(i, s);
390
404
  if (n == t)
391
- return a;
392
- for (var o = 0, c = 1; ; ) {
393
- var u = n.substring(a - c), d = t.indexOf(u);
405
+ return o;
406
+ for (var a = 0, c = 1; ; ) {
407
+ var u = n.substring(o - c), d = t.indexOf(u);
394
408
  if (d == -1)
395
- return o;
396
- c += d, (d == 0 || n.substring(a - c) == t.substring(0, c)) && (o = c, c++);
409
+ return a;
410
+ c += d, (d == 0 || n.substring(o - c) == t.substring(0, c)) && (a = c, c++);
397
411
  }
398
412
  }, r.prototype.diff_halfMatch_ = function(n, t) {
399
413
  if (this.Diff_Timeout <= 0)
@@ -401,31 +415,31 @@ var En = { exports: {} };
401
415
  var i = n.length > t.length ? n : t, s = n.length > t.length ? t : n;
402
416
  if (i.length < 4 || s.length * 2 < i.length)
403
417
  return null;
404
- var a = this;
405
- function o(v, A, D) {
406
- for (var S = v.substring(D, D + Math.floor(v.length / 4)), M = -1, R = "", L, I, P, $; (M = A.indexOf(S, M + 1)) != -1; ) {
407
- var K = a.diff_commonPrefix(
418
+ var o = this;
419
+ function a(v, w, D) {
420
+ for (var T = v.substring(D, D + Math.floor(v.length / 4)), M = -1, R = "", L, O, P, $; (M = w.indexOf(T, M + 1)) != -1; ) {
421
+ var K = o.diff_commonPrefix(
408
422
  v.substring(D),
409
- A.substring(M)
410
- ), Y = a.diff_commonSuffix(
423
+ w.substring(M)
424
+ ), Y = o.diff_commonSuffix(
411
425
  v.substring(0, D),
412
- A.substring(0, M)
426
+ w.substring(0, M)
413
427
  );
414
- R.length < Y + K && (R = A.substring(M - Y, M) + A.substring(M, M + K), L = v.substring(0, D - Y), I = v.substring(D + K), P = A.substring(0, M - Y), $ = A.substring(M + K));
428
+ R.length < Y + K && (R = w.substring(M - Y, M) + w.substring(M, M + K), L = v.substring(0, D - Y), O = v.substring(D + K), P = w.substring(0, M - Y), $ = w.substring(M + K));
415
429
  }
416
430
  return R.length * 2 >= v.length ? [
417
431
  L,
418
- I,
432
+ O,
419
433
  P,
420
434
  $,
421
435
  R
422
436
  ] : null;
423
437
  }
424
- var c = o(
438
+ var c = a(
425
439
  i,
426
440
  s,
427
441
  Math.ceil(i.length / 4)
428
- ), u = o(
442
+ ), u = a(
429
443
  i,
430
444
  s,
431
445
  Math.ceil(i.length / 2)
@@ -433,111 +447,111 @@ var En = { exports: {} };
433
447
  if (!c && !u)
434
448
  return null;
435
449
  u ? c ? d = c[4].length > u[4].length ? c : u : d = u : d = c;
436
- var h, p, _, E;
437
- n.length > t.length ? (h = d[0], p = d[1], _ = d[2], E = d[3]) : (_ = d[0], E = d[1], h = d[2], p = d[3]);
438
- var m = d[4];
439
- return [h, p, _, E, m];
450
+ var g, p, _, m;
451
+ n.length > t.length ? (g = d[0], p = d[1], _ = d[2], m = d[3]) : (_ = d[0], m = d[1], g = d[2], p = d[3]);
452
+ var E = d[4];
453
+ return [g, p, _, m, E];
440
454
  }, r.prototype.diff_cleanupSemantic = function(n) {
441
- for (var t = !1, i = [], s = 0, a = null, o = 0, c = 0, u = 0, d = 0, h = 0; o < n.length; )
442
- n[o][0] == g ? (i[s++] = o, c = d, u = h, d = 0, h = 0, a = n[o][1]) : (n[o][0] == f ? d += n[o][1].length : h += n[o][1].length, a && a.length <= Math.max(c, u) && a.length <= Math.max(
455
+ for (var t = !1, i = [], s = 0, o = null, a = 0, c = 0, u = 0, d = 0, g = 0; a < n.length; )
456
+ n[a][0] == h ? (i[s++] = a, c = d, u = g, d = 0, g = 0, o = n[a][1]) : (n[a][0] == f ? d += n[a][1].length : g += n[a][1].length, o && o.length <= Math.max(c, u) && o.length <= Math.max(
443
457
  d,
444
- h
458
+ g
445
459
  ) && (n.splice(
446
460
  i[s - 1],
447
461
  0,
448
- new r.Diff(l, a)
449
- ), n[i[s - 1] + 1][0] = f, s--, s--, o = s > 0 ? i[s - 1] : -1, c = 0, u = 0, d = 0, h = 0, a = null, t = !0)), o++;
450
- for (t && this.diff_cleanupMerge(n), this.diff_cleanupSemanticLossless(n), o = 1; o < n.length; ) {
451
- if (n[o - 1][0] == l && n[o][0] == f) {
452
- var p = n[o - 1][1], _ = n[o][1], E = this.diff_commonOverlap_(p, _), m = this.diff_commonOverlap_(_, p);
453
- E >= m ? (E >= p.length / 2 || E >= _.length / 2) && (n.splice(o, 0, new r.Diff(
454
- g,
455
- _.substring(0, E)
456
- )), n[o - 1][1] = p.substring(0, p.length - E), n[o + 1][1] = _.substring(E), o++) : (m >= p.length / 2 || m >= _.length / 2) && (n.splice(o, 0, new r.Diff(
457
- g,
458
- p.substring(0, m)
459
- )), n[o - 1][0] = f, n[o - 1][1] = _.substring(0, _.length - m), n[o + 1][0] = l, n[o + 1][1] = p.substring(m), o++), o++;
462
+ new r.Diff(l, o)
463
+ ), n[i[s - 1] + 1][0] = f, s--, s--, a = s > 0 ? i[s - 1] : -1, c = 0, u = 0, d = 0, g = 0, o = null, t = !0)), a++;
464
+ for (t && this.diff_cleanupMerge(n), this.diff_cleanupSemanticLossless(n), a = 1; a < n.length; ) {
465
+ if (n[a - 1][0] == l && n[a][0] == f) {
466
+ var p = n[a - 1][1], _ = n[a][1], m = this.diff_commonOverlap_(p, _), E = this.diff_commonOverlap_(_, p);
467
+ m >= E ? (m >= p.length / 2 || m >= _.length / 2) && (n.splice(a, 0, new r.Diff(
468
+ h,
469
+ _.substring(0, m)
470
+ )), n[a - 1][1] = p.substring(0, p.length - m), n[a + 1][1] = _.substring(m), a++) : (E >= p.length / 2 || E >= _.length / 2) && (n.splice(a, 0, new r.Diff(
471
+ h,
472
+ p.substring(0, E)
473
+ )), n[a - 1][0] = f, n[a - 1][1] = _.substring(0, _.length - E), n[a + 1][0] = l, n[a + 1][1] = p.substring(E), a++), a++;
460
474
  }
461
- o++;
475
+ a++;
462
476
  }
463
477
  }, r.prototype.diff_cleanupSemanticLossless = function(n) {
464
- function t(m, v) {
465
- if (!m || !v)
478
+ function t(E, v) {
479
+ if (!E || !v)
466
480
  return 6;
467
- var A = m.charAt(m.length - 1), D = v.charAt(0), S = A.match(r.nonAlphaNumericRegex_), M = D.match(r.nonAlphaNumericRegex_), R = S && A.match(r.whitespaceRegex_), L = M && D.match(r.whitespaceRegex_), I = R && A.match(r.linebreakRegex_), P = L && D.match(r.linebreakRegex_), $ = I && m.match(r.blanklineEndRegex_), K = P && v.match(r.blanklineStartRegex_);
468
- return $ || K ? 5 : I || P ? 4 : S && !R && L ? 3 : R || L ? 2 : S || M ? 1 : 0;
481
+ var w = E.charAt(E.length - 1), D = v.charAt(0), T = w.match(r.nonAlphaNumericRegex_), M = D.match(r.nonAlphaNumericRegex_), R = T && w.match(r.whitespaceRegex_), L = M && D.match(r.whitespaceRegex_), O = R && w.match(r.linebreakRegex_), P = L && D.match(r.linebreakRegex_), $ = O && E.match(r.blanklineEndRegex_), K = P && v.match(r.blanklineStartRegex_);
482
+ return $ || K ? 5 : O || P ? 4 : T && !R && L ? 3 : R || L ? 2 : T || M ? 1 : 0;
469
483
  }
470
484
  for (var i = 1; i < n.length - 1; ) {
471
- if (n[i - 1][0] == g && n[i + 1][0] == g) {
472
- var s = n[i - 1][1], a = n[i][1], o = n[i + 1][1], c = this.diff_commonSuffix(s, a);
485
+ if (n[i - 1][0] == h && n[i + 1][0] == h) {
486
+ var s = n[i - 1][1], o = n[i][1], a = n[i + 1][1], c = this.diff_commonSuffix(s, o);
473
487
  if (c) {
474
- var u = a.substring(a.length - c);
475
- s = s.substring(0, s.length - c), a = u + a.substring(0, a.length - c), o = u + o;
488
+ var u = o.substring(o.length - c);
489
+ s = s.substring(0, s.length - c), o = u + o.substring(0, o.length - c), a = u + a;
476
490
  }
477
- for (var d = s, h = a, p = o, _ = t(s, a) + t(a, o); a.charAt(0) === o.charAt(0); ) {
478
- s += a.charAt(0), a = a.substring(1) + o.charAt(0), o = o.substring(1);
479
- var E = t(s, a) + t(a, o);
480
- E >= _ && (_ = E, d = s, h = a, p = o);
491
+ for (var d = s, g = o, p = a, _ = t(s, o) + t(o, a); o.charAt(0) === a.charAt(0); ) {
492
+ s += o.charAt(0), o = o.substring(1) + a.charAt(0), a = a.substring(1);
493
+ var m = t(s, o) + t(o, a);
494
+ m >= _ && (_ = m, d = s, g = o, p = a);
481
495
  }
482
- n[i - 1][1] != d && (d ? n[i - 1][1] = d : (n.splice(i - 1, 1), i--), n[i][1] = h, p ? n[i + 1][1] = p : (n.splice(i + 1, 1), i--));
496
+ n[i - 1][1] != d && (d ? n[i - 1][1] = d : (n.splice(i - 1, 1), i--), n[i][1] = g, p ? n[i + 1][1] = p : (n.splice(i + 1, 1), i--));
483
497
  }
484
498
  i++;
485
499
  }
486
500
  }, r.nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/, r.whitespaceRegex_ = /\s/, r.linebreakRegex_ = /[\r\n]/, r.blanklineEndRegex_ = /\n\r?\n$/, r.blanklineStartRegex_ = /^\r?\n\r?\n/, r.prototype.diff_cleanupEfficiency = function(n) {
487
- for (var t = !1, i = [], s = 0, a = null, o = 0, c = !1, u = !1, d = !1, h = !1; o < n.length; )
488
- n[o][0] == g ? (n[o][1].length < this.Diff_EditCost && (d || h) ? (i[s++] = o, c = d, u = h, a = n[o][1]) : (s = 0, a = null), d = h = !1) : (n[o][0] == l ? h = !0 : d = !0, a && (c && u && d && h || a.length < this.Diff_EditCost / 2 && c + u + d + h == 3) && (n.splice(
501
+ for (var t = !1, i = [], s = 0, o = null, a = 0, c = !1, u = !1, d = !1, g = !1; a < n.length; )
502
+ n[a][0] == h ? (n[a][1].length < this.Diff_EditCost && (d || g) ? (i[s++] = a, c = d, u = g, o = n[a][1]) : (s = 0, o = null), d = g = !1) : (n[a][0] == l ? g = !0 : d = !0, o && (c && u && d && g || o.length < this.Diff_EditCost / 2 && c + u + d + g == 3) && (n.splice(
489
503
  i[s - 1],
490
504
  0,
491
- new r.Diff(l, a)
492
- ), n[i[s - 1] + 1][0] = f, s--, a = null, c && u ? (d = h = !0, s = 0) : (s--, o = s > 0 ? i[s - 1] : -1, d = h = !1), t = !0)), o++;
505
+ new r.Diff(l, o)
506
+ ), n[i[s - 1] + 1][0] = f, s--, o = null, c && u ? (d = g = !0, s = 0) : (s--, a = s > 0 ? i[s - 1] : -1, d = g = !1), t = !0)), a++;
493
507
  t && this.diff_cleanupMerge(n);
494
508
  }, r.prototype.diff_cleanupMerge = function(n) {
495
- n.push(new r.Diff(g, ""));
496
- for (var t = 0, i = 0, s = 0, a = "", o = "", c; t < n.length; )
509
+ n.push(new r.Diff(h, ""));
510
+ for (var t = 0, i = 0, s = 0, o = "", a = "", c; t < n.length; )
497
511
  switch (n[t][0]) {
498
512
  case f:
499
- s++, o += n[t][1], t++;
513
+ s++, a += n[t][1], t++;
500
514
  break;
501
515
  case l:
502
- i++, a += n[t][1], t++;
516
+ i++, o += n[t][1], t++;
503
517
  break;
504
- case g:
505
- i + s > 1 ? (i !== 0 && s !== 0 && (c = this.diff_commonPrefix(o, a), c !== 0 && (t - i - s > 0 && n[t - i - s - 1][0] == g ? n[t - i - s - 1][1] += o.substring(0, c) : (n.splice(0, 0, new r.Diff(
506
- g,
507
- o.substring(0, c)
508
- )), t++), o = o.substring(c), a = a.substring(c)), c = this.diff_commonSuffix(o, a), c !== 0 && (n[t][1] = o.substring(o.length - c) + n[t][1], o = o.substring(0, o.length - c), a = a.substring(0, a.length - c))), t -= i + s, n.splice(t, i + s), a.length && (n.splice(
518
+ case h:
519
+ i + s > 1 ? (i !== 0 && s !== 0 && (c = this.diff_commonPrefix(a, o), c !== 0 && (t - i - s > 0 && n[t - i - s - 1][0] == h ? n[t - i - s - 1][1] += a.substring(0, c) : (n.splice(0, 0, new r.Diff(
520
+ h,
521
+ a.substring(0, c)
522
+ )), t++), a = a.substring(c), o = o.substring(c)), c = this.diff_commonSuffix(a, o), c !== 0 && (n[t][1] = a.substring(a.length - c) + n[t][1], a = a.substring(0, a.length - c), o = o.substring(0, o.length - c))), t -= i + s, n.splice(t, i + s), o.length && (n.splice(
509
523
  t,
510
524
  0,
511
- new r.Diff(l, a)
512
- ), t++), o.length && (n.splice(
525
+ new r.Diff(l, o)
526
+ ), t++), a.length && (n.splice(
513
527
  t,
514
528
  0,
515
- new r.Diff(f, o)
516
- ), t++), t++) : t !== 0 && n[t - 1][0] == g ? (n[t - 1][1] += n[t][1], n.splice(t, 1)) : t++, s = 0, i = 0, a = "", o = "";
529
+ new r.Diff(f, a)
530
+ ), t++), t++) : t !== 0 && n[t - 1][0] == h ? (n[t - 1][1] += n[t][1], n.splice(t, 1)) : t++, s = 0, i = 0, o = "", a = "";
517
531
  break;
518
532
  }
519
533
  n[n.length - 1][1] === "" && n.pop();
520
534
  var u = !1;
521
535
  for (t = 1; t < n.length - 1; )
522
- n[t - 1][0] == g && n[t + 1][0] == g && (n[t][1].substring(n[t][1].length - n[t - 1][1].length) == n[t - 1][1] ? (n[t][1] = n[t - 1][1] + n[t][1].substring(0, n[t][1].length - n[t - 1][1].length), n[t + 1][1] = n[t - 1][1] + n[t + 1][1], n.splice(t - 1, 1), u = !0) : n[t][1].substring(0, n[t + 1][1].length) == n[t + 1][1] && (n[t - 1][1] += n[t + 1][1], n[t][1] = n[t][1].substring(n[t + 1][1].length) + n[t + 1][1], n.splice(t + 1, 1), u = !0)), t++;
536
+ n[t - 1][0] == h && n[t + 1][0] == h && (n[t][1].substring(n[t][1].length - n[t - 1][1].length) == n[t - 1][1] ? (n[t][1] = n[t - 1][1] + n[t][1].substring(0, n[t][1].length - n[t - 1][1].length), n[t + 1][1] = n[t - 1][1] + n[t + 1][1], n.splice(t - 1, 1), u = !0) : n[t][1].substring(0, n[t + 1][1].length) == n[t + 1][1] && (n[t - 1][1] += n[t + 1][1], n[t][1] = n[t][1].substring(n[t + 1][1].length) + n[t + 1][1], n.splice(t + 1, 1), u = !0)), t++;
523
537
  u && this.diff_cleanupMerge(n);
524
538
  }, r.prototype.diff_xIndex = function(n, t) {
525
- var i = 0, s = 0, a = 0, o = 0, c;
539
+ var i = 0, s = 0, o = 0, a = 0, c;
526
540
  for (c = 0; c < n.length && (n[c][0] !== f && (i += n[c][1].length), n[c][0] !== l && (s += n[c][1].length), !(i > t)); c++)
527
- a = i, o = s;
528
- return n.length != c && n[c][0] === l ? o : o + (t - a);
541
+ o = i, a = s;
542
+ return n.length != c && n[c][0] === l ? a : a + (t - o);
529
543
  }, r.prototype.diff_prettyHtml = function(n) {
530
- for (var t = [], i = /&/g, s = /</g, a = />/g, o = /\n/g, c = 0; c < n.length; c++) {
531
- var u = n[c][0], d = n[c][1], h = d.replace(i, "&amp;").replace(s, "&lt;").replace(a, "&gt;").replace(o, "&para;<br>");
544
+ for (var t = [], i = /&/g, s = /</g, o = />/g, a = /\n/g, c = 0; c < n.length; c++) {
545
+ var u = n[c][0], d = n[c][1], g = d.replace(i, "&amp;").replace(s, "&lt;").replace(o, "&gt;").replace(a, "&para;<br>");
532
546
  switch (u) {
533
547
  case f:
534
- t[c] = '<ins style="background:#e6ffe6;">' + h + "</ins>";
548
+ t[c] = '<ins style="background:#e6ffe6;">' + g + "</ins>";
535
549
  break;
536
550
  case l:
537
- t[c] = '<del style="background:#ffe6e6;">' + h + "</del>";
551
+ t[c] = '<del style="background:#ffe6e6;">' + g + "</del>";
538
552
  break;
539
- case g:
540
- t[c] = "<span>" + h + "</span>";
553
+ case h:
554
+ t[c] = "<span>" + g + "</span>";
541
555
  break;
542
556
  }
543
557
  }
@@ -551,16 +565,16 @@ var En = { exports: {} };
551
565
  n[i][0] !== l && (t[i] = n[i][1]);
552
566
  return t.join("");
553
567
  }, r.prototype.diff_levenshtein = function(n) {
554
- for (var t = 0, i = 0, s = 0, a = 0; a < n.length; a++) {
555
- var o = n[a][0], c = n[a][1];
556
- switch (o) {
568
+ for (var t = 0, i = 0, s = 0, o = 0; o < n.length; o++) {
569
+ var a = n[o][0], c = n[o][1];
570
+ switch (a) {
557
571
  case f:
558
572
  i += c.length;
559
573
  break;
560
574
  case l:
561
575
  s += c.length;
562
576
  break;
563
- case g:
577
+ case h:
564
578
  t += Math.max(i, s), i = 0, s = 0;
565
579
  break;
566
580
  }
@@ -575,15 +589,15 @@ var En = { exports: {} };
575
589
  case l:
576
590
  t[i] = "-" + n[i][1].length;
577
591
  break;
578
- case g:
592
+ case h:
579
593
  t[i] = "=" + n[i][1].length;
580
594
  break;
581
595
  }
582
596
  return t.join(" ").replace(/%20/g, " ");
583
597
  }, r.prototype.diff_fromDelta = function(n, t) {
584
- for (var i = [], s = 0, a = 0, o = t.split(/\t/g), c = 0; c < o.length; c++) {
585
- var u = o[c].substring(1);
586
- switch (o[c].charAt(0)) {
598
+ for (var i = [], s = 0, o = 0, a = t.split(/\t/g), c = 0; c < a.length; c++) {
599
+ var u = a[c].substring(1);
600
+ switch (a[c].charAt(0)) {
587
601
  case "+":
588
602
  try {
589
603
  i[s++] = new r.Diff(f, decodeURI(u));
@@ -596,16 +610,16 @@ var En = { exports: {} };
596
610
  var d = parseInt(u, 10);
597
611
  if (isNaN(d) || d < 0)
598
612
  throw new Error("Invalid number in diff_fromDelta: " + u);
599
- var h = n.substring(a, a += d);
600
- o[c].charAt(0) == "=" ? i[s++] = new r.Diff(g, h) : i[s++] = new r.Diff(l, h);
613
+ var g = n.substring(o, o += d);
614
+ a[c].charAt(0) == "=" ? i[s++] = new r.Diff(h, g) : i[s++] = new r.Diff(l, g);
601
615
  break;
602
616
  default:
603
- if (o[c])
604
- throw new Error("Invalid diff operation in diff_fromDelta: " + o[c]);
617
+ if (a[c])
618
+ throw new Error("Invalid diff operation in diff_fromDelta: " + a[c]);
605
619
  }
606
620
  }
607
- if (a != n.length)
608
- throw new Error("Delta length (" + a + ") does not equal source text length (" + n.length + ").");
621
+ if (o != n.length)
622
+ throw new Error("Delta length (" + o + ") does not equal source text length (" + n.length + ").");
609
623
  return i;
610
624
  }, r.prototype.match_main = function(n, t, i) {
611
625
  if (n == null || t == null || i == null)
@@ -614,35 +628,35 @@ var En = { exports: {} };
614
628
  }, r.prototype.match_bitap_ = function(n, t, i) {
615
629
  if (t.length > this.Match_MaxBits)
616
630
  throw new Error("Pattern too long for this browser.");
617
- var s = this.match_alphabet_(t), a = this;
618
- function o(L, I) {
619
- var P = L / t.length, $ = Math.abs(i - I);
620
- return a.Match_Distance ? P + $ / a.Match_Distance : $ ? 1 : P;
631
+ var s = this.match_alphabet_(t), o = this;
632
+ function a(L, O) {
633
+ var P = L / t.length, $ = Math.abs(i - O);
634
+ return o.Match_Distance ? P + $ / o.Match_Distance : $ ? 1 : P;
621
635
  }
622
636
  var c = this.Match_Threshold, u = n.indexOf(t, i);
623
- u != -1 && (c = Math.min(o(0, u), c), u = n.lastIndexOf(t, i + t.length), u != -1 && (c = Math.min(o(0, u), c)));
637
+ u != -1 && (c = Math.min(a(0, u), c), u = n.lastIndexOf(t, i + t.length), u != -1 && (c = Math.min(a(0, u), c)));
624
638
  var d = 1 << t.length - 1;
625
639
  u = -1;
626
- for (var h, p, _ = t.length + n.length, E, m = 0; m < t.length; m++) {
627
- for (h = 0, p = _; h < p; )
628
- o(m, i + p) <= c ? h = p : _ = p, p = Math.floor((_ - h) / 2 + h);
640
+ for (var g, p, _ = t.length + n.length, m, E = 0; E < t.length; E++) {
641
+ for (g = 0, p = _; g < p; )
642
+ a(E, i + p) <= c ? g = p : _ = p, p = Math.floor((_ - g) / 2 + g);
629
643
  _ = p;
630
- var v = Math.max(1, i - p + 1), A = Math.min(i + p, n.length) + t.length, D = Array(A + 2);
631
- D[A + 1] = (1 << m) - 1;
632
- for (var S = A; S >= v; S--) {
633
- var M = s[n.charAt(S - 1)];
634
- if (m === 0 ? D[S] = (D[S + 1] << 1 | 1) & M : D[S] = (D[S + 1] << 1 | 1) & M | ((E[S + 1] | E[S]) << 1 | 1) | E[S + 1], D[S] & d) {
635
- var R = o(m, S - 1);
644
+ var v = Math.max(1, i - p + 1), w = Math.min(i + p, n.length) + t.length, D = Array(w + 2);
645
+ D[w + 1] = (1 << E) - 1;
646
+ for (var T = w; T >= v; T--) {
647
+ var M = s[n.charAt(T - 1)];
648
+ if (E === 0 ? D[T] = (D[T + 1] << 1 | 1) & M : D[T] = (D[T + 1] << 1 | 1) & M | ((m[T + 1] | m[T]) << 1 | 1) | m[T + 1], D[T] & d) {
649
+ var R = a(E, T - 1);
636
650
  if (R <= c)
637
- if (c = R, u = S - 1, u > i)
651
+ if (c = R, u = T - 1, u > i)
638
652
  v = Math.max(1, 2 * i - u);
639
653
  else
640
654
  break;
641
655
  }
642
656
  }
643
- if (o(m + 1, i) > c)
657
+ if (a(E + 1, i) > c)
644
658
  break;
645
- E = D;
659
+ m = D;
646
660
  }
647
661
  return u;
648
662
  }, r.prototype.match_alphabet_ = function(n) {
@@ -661,62 +675,62 @@ var En = { exports: {} };
661
675
  n.start2 + n.length1 + s
662
676
  );
663
677
  s += this.Patch_Margin;
664
- var a = t.substring(n.start2 - s, n.start2);
665
- a && n.diffs.unshift(new r.Diff(g, a));
666
- var o = t.substring(
678
+ var o = t.substring(n.start2 - s, n.start2);
679
+ o && n.diffs.unshift(new r.Diff(h, o));
680
+ var a = t.substring(
667
681
  n.start2 + n.length1,
668
682
  n.start2 + n.length1 + s
669
683
  );
670
- o && n.diffs.push(new r.Diff(g, o)), n.start1 -= a.length, n.start2 -= a.length, n.length1 += a.length + o.length, n.length2 += a.length + o.length;
684
+ a && n.diffs.push(new r.Diff(h, a)), n.start1 -= o.length, n.start2 -= o.length, n.length1 += o.length + a.length, n.length2 += o.length + a.length;
671
685
  }
672
686
  }, r.prototype.patch_make = function(n, t, i) {
673
- var s, a;
687
+ var s, o;
674
688
  if (typeof n == "string" && typeof t == "string" && typeof i == "undefined")
675
689
  s = /** @type {string} */
676
- n, a = this.diff_main(
690
+ n, o = this.diff_main(
677
691
  s,
678
692
  /** @type {string} */
679
693
  t,
680
694
  !0
681
- ), a.length > 2 && (this.diff_cleanupSemantic(a), this.diff_cleanupEfficiency(a));
695
+ ), o.length > 2 && (this.diff_cleanupSemantic(o), this.diff_cleanupEfficiency(o));
682
696
  else if (n && typeof n == "object" && typeof t == "undefined" && typeof i == "undefined")
683
- a = /** @type {!Array.<!diff_match_patch.Diff>} */
684
- n, s = this.diff_text1(a);
697
+ o = /** @type {!Array.<!diff_match_patch.Diff>} */
698
+ n, s = this.diff_text1(o);
685
699
  else if (typeof n == "string" && t && typeof t == "object" && typeof i == "undefined")
686
700
  s = /** @type {string} */
687
- n, a = /** @type {!Array.<!diff_match_patch.Diff>} */
701
+ n, o = /** @type {!Array.<!diff_match_patch.Diff>} */
688
702
  t;
689
703
  else if (typeof n == "string" && typeof t == "string" && i && typeof i == "object")
690
704
  s = /** @type {string} */
691
- n, a = /** @type {!Array.<!diff_match_patch.Diff>} */
705
+ n, o = /** @type {!Array.<!diff_match_patch.Diff>} */
692
706
  i;
693
707
  else
694
708
  throw new Error("Unknown call format to patch_make.");
695
- if (a.length === 0)
709
+ if (o.length === 0)
696
710
  return [];
697
- for (var o = [], c = new r.patch_obj(), u = 0, d = 0, h = 0, p = s, _ = s, E = 0; E < a.length; E++) {
698
- var m = a[E][0], v = a[E][1];
699
- switch (!u && m !== g && (c.start1 = d, c.start2 = h), m) {
711
+ for (var a = [], c = new r.patch_obj(), u = 0, d = 0, g = 0, p = s, _ = s, m = 0; m < o.length; m++) {
712
+ var E = o[m][0], v = o[m][1];
713
+ switch (!u && E !== h && (c.start1 = d, c.start2 = g), E) {
700
714
  case f:
701
- c.diffs[u++] = a[E], c.length2 += v.length, _ = _.substring(0, h) + v + _.substring(h);
715
+ c.diffs[u++] = o[m], c.length2 += v.length, _ = _.substring(0, g) + v + _.substring(g);
702
716
  break;
703
717
  case l:
704
- c.length1 += v.length, c.diffs[u++] = a[E], _ = _.substring(0, h) + _.substring(h + v.length);
718
+ c.length1 += v.length, c.diffs[u++] = o[m], _ = _.substring(0, g) + _.substring(g + v.length);
705
719
  break;
706
- case g:
707
- v.length <= 2 * this.Patch_Margin && u && a.length != E + 1 ? (c.diffs[u++] = a[E], c.length1 += v.length, c.length2 += v.length) : v.length >= 2 * this.Patch_Margin && u && (this.patch_addContext_(c, p), o.push(c), c = new r.patch_obj(), u = 0, p = _, d = h);
720
+ case h:
721
+ v.length <= 2 * this.Patch_Margin && u && o.length != m + 1 ? (c.diffs[u++] = o[m], c.length1 += v.length, c.length2 += v.length) : v.length >= 2 * this.Patch_Margin && u && (this.patch_addContext_(c, p), a.push(c), c = new r.patch_obj(), u = 0, p = _, d = g);
708
722
  break;
709
723
  }
710
- m !== f && (d += v.length), m !== l && (h += v.length);
724
+ E !== f && (d += v.length), E !== l && (g += v.length);
711
725
  }
712
- return u && (this.patch_addContext_(c, p), o.push(c)), o;
726
+ return u && (this.patch_addContext_(c, p), a.push(c)), a;
713
727
  }, r.prototype.patch_deepCopy = function(n) {
714
728
  for (var t = [], i = 0; i < n.length; i++) {
715
- var s = n[i], a = new r.patch_obj();
716
- a.diffs = [];
717
- for (var o = 0; o < s.diffs.length; o++)
718
- a.diffs[o] = new r.Diff(s.diffs[o][0], s.diffs[o][1]);
719
- a.start1 = s.start1, a.start2 = s.start2, a.length1 = s.length1, a.length2 = s.length2, t[i] = a;
729
+ var s = n[i], o = new r.patch_obj();
730
+ o.diffs = [];
731
+ for (var a = 0; a < s.diffs.length; a++)
732
+ o.diffs[a] = new r.Diff(s.diffs[a][0], s.diffs[a][1]);
733
+ o.start1 = s.start1, o.start2 = s.start2, o.length1 = s.length1, o.length2 = s.length2, t[i] = o;
720
734
  }
721
735
  return t;
722
736
  }, r.prototype.patch_apply = function(n, t) {
@@ -725,58 +739,58 @@ var En = { exports: {} };
725
739
  n = this.patch_deepCopy(n);
726
740
  var i = this.patch_addPadding(n);
727
741
  t = i + t + i, this.patch_splitMax(n);
728
- for (var s = 0, a = [], o = 0; o < n.length; o++) {
729
- var c = n[o].start2 + s, u = this.diff_text1(n[o].diffs), d, h = -1;
742
+ for (var s = 0, o = [], a = 0; a < n.length; a++) {
743
+ var c = n[a].start2 + s, u = this.diff_text1(n[a].diffs), d, g = -1;
730
744
  if (u.length > this.Match_MaxBits ? (d = this.match_main(
731
745
  t,
732
746
  u.substring(0, this.Match_MaxBits),
733
747
  c
734
- ), d != -1 && (h = this.match_main(
748
+ ), d != -1 && (g = this.match_main(
735
749
  t,
736
750
  u.substring(u.length - this.Match_MaxBits),
737
751
  c + u.length - this.Match_MaxBits
738
- ), (h == -1 || d >= h) && (d = -1))) : d = this.match_main(t, u, c), d == -1)
739
- a[o] = !1, s -= n[o].length2 - n[o].length1;
752
+ ), (g == -1 || d >= g) && (d = -1))) : d = this.match_main(t, u, c), d == -1)
753
+ o[a] = !1, s -= n[a].length2 - n[a].length1;
740
754
  else {
741
- a[o] = !0, s = d - c;
755
+ o[a] = !0, s = d - c;
742
756
  var p;
743
- if (h == -1 ? p = t.substring(d, d + u.length) : p = t.substring(d, h + this.Match_MaxBits), u == p)
744
- t = t.substring(0, d) + this.diff_text2(n[o].diffs) + t.substring(d + u.length);
757
+ if (g == -1 ? p = t.substring(d, d + u.length) : p = t.substring(d, g + this.Match_MaxBits), u == p)
758
+ t = t.substring(0, d) + this.diff_text2(n[a].diffs) + t.substring(d + u.length);
745
759
  else {
746
760
  var _ = this.diff_main(u, p, !1);
747
761
  if (u.length > this.Match_MaxBits && this.diff_levenshtein(_) / u.length > this.Patch_DeleteThreshold)
748
- a[o] = !1;
762
+ o[a] = !1;
749
763
  else {
750
764
  this.diff_cleanupSemanticLossless(_);
751
- for (var E = 0, m, v = 0; v < n[o].diffs.length; v++) {
752
- var A = n[o].diffs[v];
753
- A[0] !== g && (m = this.diff_xIndex(_, E)), A[0] === f ? t = t.substring(0, d + m) + A[1] + t.substring(d + m) : A[0] === l && (t = t.substring(0, d + m) + t.substring(d + this.diff_xIndex(
765
+ for (var m = 0, E, v = 0; v < n[a].diffs.length; v++) {
766
+ var w = n[a].diffs[v];
767
+ w[0] !== h && (E = this.diff_xIndex(_, m)), w[0] === f ? t = t.substring(0, d + E) + w[1] + t.substring(d + E) : w[0] === l && (t = t.substring(0, d + E) + t.substring(d + this.diff_xIndex(
754
768
  _,
755
- E + A[1].length
756
- ))), A[0] !== l && (E += A[1].length);
769
+ m + w[1].length
770
+ ))), w[0] !== l && (m += w[1].length);
757
771
  }
758
772
  }
759
773
  }
760
774
  }
761
775
  }
762
- return t = t.substring(i.length, t.length - i.length), [t, a];
776
+ return t = t.substring(i.length, t.length - i.length), [t, o];
763
777
  }, r.prototype.patch_addPadding = function(n) {
764
778
  for (var t = this.Patch_Margin, i = "", s = 1; s <= t; s++)
765
779
  i += String.fromCharCode(s);
766
780
  for (var s = 0; s < n.length; s++)
767
781
  n[s].start1 += t, n[s].start2 += t;
768
- var a = n[0], o = a.diffs;
769
- if (o.length == 0 || o[0][0] != g)
770
- o.unshift(new r.Diff(g, i)), a.start1 -= t, a.start2 -= t, a.length1 += t, a.length2 += t;
771
- else if (t > o[0][1].length) {
772
- var c = t - o[0][1].length;
773
- o[0][1] = i.substring(o[0][1].length) + o[0][1], a.start1 -= c, a.start2 -= c, a.length1 += c, a.length2 += c;
782
+ var o = n[0], a = o.diffs;
783
+ if (a.length == 0 || a[0][0] != h)
784
+ a.unshift(new r.Diff(h, i)), o.start1 -= t, o.start2 -= t, o.length1 += t, o.length2 += t;
785
+ else if (t > a[0][1].length) {
786
+ var c = t - a[0][1].length;
787
+ a[0][1] = i.substring(a[0][1].length) + a[0][1], o.start1 -= c, o.start2 -= c, o.length1 += c, o.length2 += c;
774
788
  }
775
- if (a = n[n.length - 1], o = a.diffs, o.length == 0 || o[o.length - 1][0] != g)
776
- o.push(new r.Diff(g, i)), a.length1 += t, a.length2 += t;
777
- else if (t > o[o.length - 1][1].length) {
778
- var c = t - o[o.length - 1][1].length;
779
- o[o.length - 1][1] += i.substring(0, c), a.length1 += c, a.length2 += c;
789
+ if (o = n[n.length - 1], a = o.diffs, a.length == 0 || a[a.length - 1][0] != h)
790
+ a.push(new r.Diff(h, i)), o.length1 += t, o.length2 += t;
791
+ else if (t > a[a.length - 1][1].length) {
792
+ var c = t - a[a.length - 1][1].length;
793
+ a[a.length - 1][1] += i.substring(0, c), o.length1 += c, o.length2 += c;
780
794
  }
781
795
  return i;
782
796
  }, r.prototype.patch_splitMax = function(n) {
@@ -784,18 +798,18 @@ var En = { exports: {} };
784
798
  if (!(n[i].length1 <= t)) {
785
799
  var s = n[i];
786
800
  n.splice(i--, 1);
787
- for (var a = s.start1, o = s.start2, c = ""; s.diffs.length !== 0; ) {
801
+ for (var o = s.start1, a = s.start2, c = ""; s.diffs.length !== 0; ) {
788
802
  var u = new r.patch_obj(), d = !0;
789
- for (u.start1 = a - c.length, u.start2 = o - c.length, c !== "" && (u.length1 = u.length2 = c.length, u.diffs.push(new r.Diff(g, c))); s.diffs.length !== 0 && u.length1 < t - this.Patch_Margin; ) {
790
- var h = s.diffs[0][0], p = s.diffs[0][1];
791
- h === f ? (u.length2 += p.length, o += p.length, u.diffs.push(s.diffs.shift()), d = !1) : h === l && u.diffs.length == 1 && u.diffs[0][0] == g && p.length > 2 * t ? (u.length1 += p.length, a += p.length, d = !1, u.diffs.push(new r.Diff(h, p)), s.diffs.shift()) : (p = p.substring(
803
+ for (u.start1 = o - c.length, u.start2 = a - c.length, c !== "" && (u.length1 = u.length2 = c.length, u.diffs.push(new r.Diff(h, c))); s.diffs.length !== 0 && u.length1 < t - this.Patch_Margin; ) {
804
+ var g = s.diffs[0][0], p = s.diffs[0][1];
805
+ g === f ? (u.length2 += p.length, a += p.length, u.diffs.push(s.diffs.shift()), d = !1) : g === l && u.diffs.length == 1 && u.diffs[0][0] == h && p.length > 2 * t ? (u.length1 += p.length, o += p.length, d = !1, u.diffs.push(new r.Diff(g, p)), s.diffs.shift()) : (p = p.substring(
792
806
  0,
793
807
  t - u.length1 - this.Patch_Margin
794
- ), u.length1 += p.length, a += p.length, h === g ? (u.length2 += p.length, o += p.length) : d = !1, u.diffs.push(new r.Diff(h, p)), p == s.diffs[0][1] ? s.diffs.shift() : s.diffs[0][1] = s.diffs[0][1].substring(p.length));
808
+ ), u.length1 += p.length, o += p.length, g === h ? (u.length2 += p.length, a += p.length) : d = !1, u.diffs.push(new r.Diff(g, p)), p == s.diffs[0][1] ? s.diffs.shift() : s.diffs[0][1] = s.diffs[0][1].substring(p.length));
795
809
  }
796
810
  c = this.diff_text2(u.diffs), c = c.substring(c.length - this.Patch_Margin);
797
811
  var _ = this.diff_text1(s.diffs).substring(0, this.Patch_Margin);
798
- _ !== "" && (u.length1 += _.length, u.length2 += _.length, u.diffs.length !== 0 && u.diffs[u.diffs.length - 1][0] === g ? u.diffs[u.diffs.length - 1][1] += _ : u.diffs.push(new r.Diff(g, _))), d || n.splice(++i, 0, u);
812
+ _ !== "" && (u.length1 += _.length, u.length2 += _.length, u.diffs.length !== 0 && u.diffs[u.diffs.length - 1][0] === h ? u.diffs[u.diffs.length - 1][1] += _ : u.diffs.push(new r.Diff(h, _))), d || n.splice(++i, 0, u);
799
813
  }
800
814
  }
801
815
  }, r.prototype.patch_toText = function(n) {
@@ -807,16 +821,16 @@ var En = { exports: {} };
807
821
  if (!n)
808
822
  return t;
809
823
  for (var i = n.split(`
810
- `), s = 0, a = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/; s < i.length; ) {
811
- var o = i[s].match(a);
812
- if (!o)
824
+ `), s = 0, o = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/; s < i.length; ) {
825
+ var a = i[s].match(o);
826
+ if (!a)
813
827
  throw new Error("Invalid patch string: " + i[s]);
814
828
  var c = new r.patch_obj();
815
- for (t.push(c), c.start1 = parseInt(o[1], 10), o[2] === "" ? (c.start1--, c.length1 = 1) : o[2] == "0" ? c.length1 = 0 : (c.start1--, c.length1 = parseInt(o[2], 10)), c.start2 = parseInt(o[3], 10), o[4] === "" ? (c.start2--, c.length2 = 1) : o[4] == "0" ? c.length2 = 0 : (c.start2--, c.length2 = parseInt(o[4], 10)), s++; s < i.length; ) {
829
+ for (t.push(c), c.start1 = parseInt(a[1], 10), a[2] === "" ? (c.start1--, c.length1 = 1) : a[2] == "0" ? c.length1 = 0 : (c.start1--, c.length1 = parseInt(a[2], 10)), c.start2 = parseInt(a[3], 10), a[4] === "" ? (c.start2--, c.length2 = 1) : a[4] == "0" ? c.length2 = 0 : (c.start2--, c.length2 = parseInt(a[4], 10)), s++; s < i.length; ) {
816
830
  var u = i[s].charAt(0);
817
831
  try {
818
832
  var d = decodeURI(i[s].substring(1));
819
- } catch (h) {
833
+ } catch (g) {
820
834
  throw new Error("Illegal escape in patch_fromText: " + d);
821
835
  }
822
836
  if (u == "-")
@@ -824,12 +838,11 @@ var En = { exports: {} };
824
838
  else if (u == "+")
825
839
  c.diffs.push(new r.Diff(f, d));
826
840
  else if (u == " ")
827
- c.diffs.push(new r.Diff(g, d));
841
+ c.diffs.push(new r.Diff(h, d));
828
842
  else {
829
843
  if (u == "@")
830
844
  break;
831
- if (u !== "")
832
- throw new Error('Invalid patch mode "' + u + '" in: ' + d);
845
+ if (u !== "") throw new Error('Invalid patch mode "' + u + '" in: ' + d);
833
846
  }
834
847
  s++;
835
848
  }
@@ -841,36 +854,36 @@ var En = { exports: {} };
841
854
  var n, t;
842
855
  this.length1 === 0 ? n = this.start1 + ",0" : this.length1 == 1 ? n = this.start1 + 1 : n = this.start1 + 1 + "," + this.length1, this.length2 === 0 ? t = this.start2 + ",0" : this.length2 == 1 ? t = this.start2 + 1 : t = this.start2 + 1 + "," + this.length2;
843
856
  for (var i = ["@@ -" + n + " +" + t + ` @@
844
- `], s, a = 0; a < this.diffs.length; a++) {
845
- switch (this.diffs[a][0]) {
857
+ `], s, o = 0; o < this.diffs.length; o++) {
858
+ switch (this.diffs[o][0]) {
846
859
  case f:
847
860
  s = "+";
848
861
  break;
849
862
  case l:
850
863
  s = "-";
851
864
  break;
852
- case g:
865
+ case h:
853
866
  s = " ";
854
867
  break;
855
868
  }
856
- i[a + 1] = s + encodeURI(this.diffs[a][1]) + `
869
+ i[o + 1] = s + encodeURI(this.diffs[o][1]) + `
857
870
  `;
858
871
  }
859
872
  return i.join("").replace(/%20/g, " ");
860
- }, e.exports = r, e.exports.diff_match_patch = r, e.exports.DIFF_DELETE = l, e.exports.DIFF_INSERT = f, e.exports.DIFF_EQUAL = g;
873
+ }, e.exports = r, e.exports.diff_match_patch = r, e.exports.DIFF_DELETE = l, e.exports.DIFF_INSERT = f, e.exports.DIFF_EQUAL = h;
861
874
  })(En);
862
- var Fe = En.exports;
863
- function mn(e) {
875
+ var xe = En.exports;
876
+ function vn(e) {
864
877
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
865
878
  throw new Error("map is read-only");
866
879
  } : e instanceof Set && (e.add = e.clear = e.delete = function() {
867
880
  throw new Error("set is read-only");
868
881
  }), Object.freeze(e), Object.getOwnPropertyNames(e).forEach((r) => {
869
882
  const l = e[r], f = typeof l;
870
- (f === "object" || f === "function") && !Object.isFrozen(l) && mn(l);
883
+ (f === "object" || f === "function") && !Object.isFrozen(l) && vn(l);
871
884
  }), e;
872
885
  }
873
- class an {
886
+ class on {
874
887
  /**
875
888
  * @param {CompiledMode} mode
876
889
  */
@@ -881,7 +894,7 @@ class an {
881
894
  this.isMatchIgnored = !0;
882
895
  }
883
896
  }
884
- function vn(e) {
897
+ function wn(e) {
885
898
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
886
899
  }
887
900
  function le(e, ...r) {
@@ -889,19 +902,19 @@ function le(e, ...r) {
889
902
  for (const f in e)
890
903
  l[f] = e[f];
891
904
  return r.forEach(function(f) {
892
- for (const g in f)
893
- l[g] = f[g];
905
+ for (const h in f)
906
+ l[h] = f[h];
894
907
  }), /** @type {T} */
895
908
  l;
896
909
  }
897
- const rt = "</span>", on = (e) => !!e.scope, it = (e, { prefix: r }) => {
910
+ const rt = "</span>", ln = (e) => !!e.scope, it = (e, { prefix: r }) => {
898
911
  if (e.startsWith("language:"))
899
912
  return e.replace("language:", "language-");
900
913
  if (e.includes(".")) {
901
914
  const l = e.split(".");
902
915
  return [
903
916
  `${r}${l.shift()}`,
904
- ...l.map((f, g) => `${f}${"_".repeat(g + 1)}`)
917
+ ...l.map((f, h) => `${f}${"_".repeat(h + 1)}`)
905
918
  ].join(" ");
906
919
  }
907
920
  return `${r}${e}`;
@@ -921,15 +934,14 @@ class st {
921
934
  *
922
935
  * @param {string} text */
923
936
  addText(r) {
924
- this.buffer += vn(r);
937
+ this.buffer += wn(r);
925
938
  }
926
939
  /**
927
940
  * Adds a node open to the output stream (if needed)
928
941
  *
929
942
  * @param {Node} node */
930
943
  openNode(r) {
931
- if (!on(r))
932
- return;
944
+ if (!ln(r)) return;
933
945
  const l = it(
934
946
  r.scope,
935
947
  { prefix: this.classPrefix }
@@ -941,7 +953,7 @@ class st {
941
953
  *
942
954
  * @param {Node} node */
943
955
  closeNode(r) {
944
- on(r) && (this.buffer += rt);
956
+ ln(r) && (this.buffer += rt);
945
957
  }
946
958
  /**
947
959
  * returns the accumulated buffer
@@ -958,13 +970,13 @@ class st {
958
970
  this.buffer += `<span class="${r}">`;
959
971
  }
960
972
  }
961
- const ln = (e = {}) => {
973
+ const cn = (e = {}) => {
962
974
  const r = { children: [] };
963
975
  return Object.assign(r, e), r;
964
976
  };
965
977
  class Qe {
966
978
  constructor() {
967
- this.rootNode = ln(), this.stack = [this.rootNode];
979
+ this.rootNode = cn(), this.stack = [this.rootNode];
968
980
  }
969
981
  get top() {
970
982
  return this.stack[this.stack.length - 1];
@@ -978,7 +990,7 @@ class Qe {
978
990
  }
979
991
  /** @param {string} scope */
980
992
  openNode(r) {
981
- const l = ln({ scope: r });
993
+ const l = cn({ scope: r });
982
994
  this.add(l), this.stack.push(l);
983
995
  }
984
996
  closeNode() {
@@ -986,8 +998,7 @@ class Qe {
986
998
  return this.stack.pop();
987
999
  }
988
1000
  closeAllNodes() {
989
- for (; this.closeNode(); )
990
- ;
1001
+ for (; this.closeNode(); ) ;
991
1002
  }
992
1003
  toJSON() {
993
1004
  return JSON.stringify(this.rootNode, null, 4);
@@ -1050,10 +1061,10 @@ class at extends Qe {
1050
1061
  return this.closeAllNodes(), !0;
1051
1062
  }
1052
1063
  }
1053
- function ye(e) {
1064
+ function Ae(e) {
1054
1065
  return e ? typeof e == "string" ? e : e.source : null;
1055
1066
  }
1056
- function wn(e) {
1067
+ function yn(e) {
1057
1068
  return fe("(?=", e, ")");
1058
1069
  }
1059
1070
  function ot(e) {
@@ -1063,16 +1074,16 @@ function lt(e) {
1063
1074
  return fe("(?:", e, ")?");
1064
1075
  }
1065
1076
  function fe(...e) {
1066
- return e.map((l) => ye(l)).join("");
1077
+ return e.map((l) => Ae(l)).join("");
1067
1078
  }
1068
1079
  function ct(e) {
1069
1080
  const r = e[e.length - 1];
1070
1081
  return typeof r == "object" && r.constructor === Object ? (e.splice(e.length - 1, 1), r) : {};
1071
1082
  }
1072
1083
  function Ze(...e) {
1073
- return "(" + (ct(e).capture ? "" : "?:") + e.map((f) => ye(f)).join("|") + ")";
1084
+ return "(" + (ct(e).capture ? "" : "?:") + e.map((f) => Ae(f)).join("|") + ")";
1074
1085
  }
1075
- function yn(e) {
1086
+ function Nn(e) {
1076
1087
  return new RegExp(e.toString() + "|").exec("").length - 1;
1077
1088
  }
1078
1089
  function ut(e, r) {
@@ -1084,20 +1095,20 @@ function Ye(e, { joinWith: r }) {
1084
1095
  let l = 0;
1085
1096
  return e.map((f) => {
1086
1097
  l += 1;
1087
- const g = l;
1088
- let n = ye(f), t = "";
1098
+ const h = l;
1099
+ let n = Ae(f), t = "";
1089
1100
  for (; n.length > 0; ) {
1090
1101
  const i = ft.exec(n);
1091
1102
  if (!i) {
1092
1103
  t += n;
1093
1104
  break;
1094
1105
  }
1095
- t += n.substring(0, i.index), n = n.substring(i.index + i[0].length), i[0][0] === "\\" && i[1] ? t += "\\" + String(Number(i[1]) + g) : (t += i[0], i[0] === "(" && l++);
1106
+ t += n.substring(0, i.index), n = n.substring(i.index + i[0].length), i[0][0] === "\\" && i[1] ? t += "\\" + String(Number(i[1]) + h) : (t += i[0], i[0] === "(" && l++);
1096
1107
  }
1097
1108
  return t;
1098
1109
  }).map((f) => `(${f})`).join(r);
1099
1110
  }
1100
- const gt = /\b\B/, Nn = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", An = "\\b\\d+(\\.\\d+)?", Mn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Tn = "\\b(0b[01]+)", ht = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", dt = (e = {}) => {
1111
+ const gt = /\b\B/, An = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", Mn = "\\b\\d+(\\.\\d+)?", Tn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Dn = "\\b(0b[01]+)", ht = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", dt = (e = {}) => {
1101
1112
  const r = /^#![ ]*\//;
1102
1113
  return e.binary && (e.begin = fe(
1103
1114
  r,
@@ -1114,7 +1125,7 @@ const gt = /\b\B/, Nn = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", An = "\\b\\d+(\\.\
1114
1125
  l.index !== 0 && f.ignoreMatch();
1115
1126
  }
1116
1127
  }, e);
1117
- }, Ne = {
1128
+ }, Me = {
1118
1129
  begin: "\\\\[\\s\\S]",
1119
1130
  relevance: 0
1120
1131
  }, pt = {
@@ -1122,13 +1133,13 @@ const gt = /\b\B/, Nn = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", An = "\\b\\d+(\\.\
1122
1133
  begin: "'",
1123
1134
  end: "'",
1124
1135
  illegal: "\\n",
1125
- contains: [Ne]
1136
+ contains: [Me]
1126
1137
  }, _t = {
1127
1138
  scope: "string",
1128
1139
  begin: '"',
1129
1140
  end: '"',
1130
1141
  illegal: "\\n",
1131
- contains: [Ne]
1142
+ contains: [Me]
1132
1143
  }, bt = {
1133
1144
  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/
1134
1145
  }, $e = function(e, r, l = {}) {
@@ -1150,7 +1161,7 @@ const gt = /\b\B/, Nn = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", An = "\\b\\d+(\\.\
1150
1161
  excludeBegin: !0,
1151
1162
  relevance: 0
1152
1163
  });
1153
- const g = Ze(
1164
+ const h = Ze(
1154
1165
  // list of common 1 and 2 letter words in English
1155
1166
  "I",
1156
1167
  "a",
@@ -1190,51 +1201,51 @@ const gt = /\b\B/, Nn = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", An = "\\b\\d+(\\.\
1190
1201
  /[ ]+/,
1191
1202
  // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
1192
1203
  "(",
1193
- g,
1204
+ h,
1194
1205
  /[.]?[:]?([.][ ]|[ ])/,
1195
1206
  "){3}"
1196
1207
  )
1197
1208
  // look for 3 words in a row
1198
1209
  }
1199
1210
  ), f;
1200
- }, Et = $e("//", "$"), mt = $e("/\\*", "\\*/"), vt = $e("#", "$"), wt = {
1211
+ }, mt = $e("//", "$"), Et = $e("/\\*", "\\*/"), vt = $e("#", "$"), wt = {
1201
1212
  scope: "number",
1202
- begin: An,
1213
+ begin: Mn,
1203
1214
  relevance: 0
1204
1215
  }, yt = {
1205
1216
  scope: "number",
1206
- begin: Mn,
1217
+ begin: Tn,
1207
1218
  relevance: 0
1208
1219
  }, Nt = {
1209
1220
  scope: "number",
1210
- begin: Tn,
1221
+ begin: Dn,
1211
1222
  relevance: 0
1212
1223
  }, At = {
1213
1224
  scope: "regexp",
1214
1225
  begin: /\/(?=[^/\n]*\/)/,
1215
1226
  end: /\/[gimuy]*/,
1216
1227
  contains: [
1217
- Ne,
1228
+ Me,
1218
1229
  {
1219
1230
  begin: /\[/,
1220
1231
  end: /\]/,
1221
1232
  relevance: 0,
1222
- contains: [Ne]
1233
+ contains: [Me]
1223
1234
  }
1224
1235
  ]
1225
1236
  }, Mt = {
1226
1237
  scope: "title",
1227
- begin: Nn,
1238
+ begin: An,
1228
1239
  relevance: 0
1229
1240
  }, Tt = {
1230
1241
  scope: "title",
1231
1242
  begin: Xe,
1232
1243
  relevance: 0
1233
- }, St = {
1244
+ }, Dt = {
1234
1245
  // excludes method names from keyword processing
1235
1246
  begin: "\\.\\s*" + Xe,
1236
1247
  relevance: 0
1237
- }, Dt = function(e) {
1248
+ }, St = function(e) {
1238
1249
  return Object.assign(
1239
1250
  e,
1240
1251
  {
@@ -1249,24 +1260,24 @@ const gt = /\b\B/, Nn = "[a-zA-Z]\\w*", Xe = "[a-zA-Z_]\\w*", An = "\\b\\d+(\\.\
1249
1260
  }
1250
1261
  );
1251
1262
  };
1252
- var Le = /* @__PURE__ */ Object.freeze({
1263
+ var Re = /* @__PURE__ */ Object.freeze({
1253
1264
  __proto__: null,
1254
1265
  APOS_STRING_MODE: pt,
1255
- BACKSLASH_ESCAPE: Ne,
1266
+ BACKSLASH_ESCAPE: Me,
1256
1267
  BINARY_NUMBER_MODE: Nt,
1257
- BINARY_NUMBER_RE: Tn,
1268
+ BINARY_NUMBER_RE: Dn,
1258
1269
  COMMENT: $e,
1259
- C_BLOCK_COMMENT_MODE: mt,
1260
- C_LINE_COMMENT_MODE: Et,
1270
+ C_BLOCK_COMMENT_MODE: Et,
1271
+ C_LINE_COMMENT_MODE: mt,
1261
1272
  C_NUMBER_MODE: yt,
1262
- C_NUMBER_RE: Mn,
1263
- END_SAME_AS_BEGIN: Dt,
1273
+ C_NUMBER_RE: Tn,
1274
+ END_SAME_AS_BEGIN: St,
1264
1275
  HASH_COMMENT_MODE: vt,
1265
- IDENT_RE: Nn,
1276
+ IDENT_RE: An,
1266
1277
  MATCH_NOTHING_RE: gt,
1267
- METHOD_GUARD: St,
1278
+ METHOD_GUARD: Dt,
1268
1279
  NUMBER_MODE: wt,
1269
- NUMBER_RE: An,
1280
+ NUMBER_RE: Mn,
1270
1281
  PHRASAL_WORDS_MODE: bt,
1271
1282
  QUOTE_STRING_MODE: _t,
1272
1283
  REGEXP_MODE: At,
@@ -1290,8 +1301,7 @@ function Ct(e, r) {
1290
1301
  }
1291
1302
  function It(e, r) {
1292
1303
  if (e.match) {
1293
- if (e.begin || e.end)
1294
- throw new Error("begin & end are not supported with match");
1304
+ if (e.begin || e.end) throw new Error("begin & end are not supported with match");
1295
1305
  e.begin = e.match, delete e.match;
1296
1306
  }
1297
1307
  }
@@ -1299,14 +1309,12 @@ function kt(e, r) {
1299
1309
  e.relevance === void 0 && (e.relevance = 1);
1300
1310
  }
1301
1311
  const Bt = (e, r) => {
1302
- if (!e.beforeMatch)
1303
- return;
1304
- if (e.starts)
1305
- throw new Error("beforeMatch cannot be used with starts");
1312
+ if (!e.beforeMatch) return;
1313
+ if (e.starts) throw new Error("beforeMatch cannot be used with starts");
1306
1314
  const l = Object.assign({}, e);
1307
1315
  Object.keys(e).forEach((f) => {
1308
1316
  delete e[f];
1309
- }), e.keywords = l.keywords, e.begin = fe(l.beforeMatch, wn(l.begin)), e.starts = {
1317
+ }), e.keywords = l.keywords, e.begin = fe(l.beforeMatch, yn(l.begin)), e.starts = {
1310
1318
  relevance: 0,
1311
1319
  contains: [
1312
1320
  Object.assign(l, { endsParent: !0 })
@@ -1330,13 +1338,13 @@ const Bt = (e, r) => {
1330
1338
  ], Pt = "keyword";
1331
1339
  function Sn(e, r, l = Pt) {
1332
1340
  const f = /* @__PURE__ */ Object.create(null);
1333
- return typeof e == "string" ? g(l, e.split(" ")) : Array.isArray(e) ? g(l, e) : Object.keys(e).forEach(function(n) {
1341
+ return typeof e == "string" ? h(l, e.split(" ")) : Array.isArray(e) ? h(l, e) : Object.keys(e).forEach(function(n) {
1334
1342
  Object.assign(
1335
1343
  f,
1336
1344
  Sn(e[n], r, n)
1337
1345
  );
1338
1346
  }), f;
1339
- function g(n, t) {
1347
+ function h(n, t) {
1340
1348
  r && (t = t.map((i) => i.toLowerCase())), t.forEach(function(i) {
1341
1349
  const s = i.split("|");
1342
1350
  f[s[0]] = [n, Ut(s[0], s[1])];
@@ -1349,48 +1357,48 @@ function Ut(e, r) {
1349
1357
  function Ht(e) {
1350
1358
  return $t.includes(e.toLowerCase());
1351
1359
  }
1352
- const cn = {}, ue = (e) => {
1360
+ const un = {}, ue = (e) => {
1353
1361
  console.error(e);
1354
- }, un = (e, ...r) => {
1362
+ }, fn = (e, ...r) => {
1355
1363
  console.log(`WARN: ${e}`, ...r);
1356
1364
  }, he = (e, r) => {
1357
- cn[`${e}/${r}`] || (console.log(`Deprecated as of ${e}. ${r}`), cn[`${e}/${r}`] = !0);
1365
+ un[`${e}/${r}`] || (console.log(`Deprecated as of ${e}. ${r}`), un[`${e}/${r}`] = !0);
1358
1366
  }, ke = new Error();
1359
- function Dn(e, r, { key: l }) {
1367
+ function Ln(e, r, { key: l }) {
1360
1368
  let f = 0;
1361
- const g = e[l], n = {}, t = {};
1369
+ const h = e[l], n = {}, t = {};
1362
1370
  for (let i = 1; i <= r.length; i++)
1363
- t[i + f] = g[i], n[i + f] = !0, f += yn(r[i - 1]);
1371
+ t[i + f] = h[i], n[i + f] = !0, f += Nn(r[i - 1]);
1364
1372
  e[l] = t, e[l]._emit = n, e[l]._multi = !0;
1365
1373
  }
1366
- function Ft(e) {
1374
+ function xt(e) {
1367
1375
  if (Array.isArray(e.begin)) {
1368
1376
  if (e.skip || e.excludeBegin || e.returnBegin)
1369
1377
  throw ue("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ke;
1370
1378
  if (typeof e.beginScope != "object" || e.beginScope === null)
1371
1379
  throw ue("beginScope must be object"), ke;
1372
- Dn(e, e.begin, { key: "beginScope" }), e.begin = Ye(e.begin, { joinWith: "" });
1380
+ Ln(e, e.begin, { key: "beginScope" }), e.begin = Ye(e.begin, { joinWith: "" });
1373
1381
  }
1374
1382
  }
1375
- function zt(e) {
1383
+ function Ft(e) {
1376
1384
  if (Array.isArray(e.end)) {
1377
1385
  if (e.skip || e.excludeEnd || e.returnEnd)
1378
1386
  throw ue("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ke;
1379
1387
  if (typeof e.endScope != "object" || e.endScope === null)
1380
1388
  throw ue("endScope must be object"), ke;
1381
- Dn(e, e.end, { key: "endScope" }), e.end = Ye(e.end, { joinWith: "" });
1389
+ Ln(e, e.end, { key: "endScope" }), e.end = Ye(e.end, { joinWith: "" });
1382
1390
  }
1383
1391
  }
1384
- function xt(e) {
1392
+ function zt(e) {
1385
1393
  e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
1386
1394
  }
1387
1395
  function Gt(e) {
1388
- xt(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), Ft(e), zt(e);
1396
+ zt(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), xt(e), Ft(e);
1389
1397
  }
1390
1398
  function Kt(e) {
1391
1399
  function r(t, i) {
1392
1400
  return new RegExp(
1393
- ye(t),
1401
+ Ae(t),
1394
1402
  "m" + (e.case_insensitive ? "i" : "") + (e.unicodeRegex ? "u" : "") + (i ? "g" : "")
1395
1403
  );
1396
1404
  }
@@ -1400,7 +1408,7 @@ function Kt(e) {
1400
1408
  }
1401
1409
  // @ts-ignore
1402
1410
  addRule(i, s) {
1403
- s.position = this.position++, this.matchIndexes[this.matchAt] = s, this.regexes.push([s, i]), this.matchAt += yn(i) + 1;
1411
+ s.position = this.position++, this.matchIndexes[this.matchAt] = s, this.regexes.push([s, i]), this.matchAt += Nn(i) + 1;
1404
1412
  }
1405
1413
  compile() {
1406
1414
  this.regexes.length === 0 && (this.exec = () => null);
@@ -1413,8 +1421,8 @@ function Kt(e) {
1413
1421
  const s = this.matcherRe.exec(i);
1414
1422
  if (!s)
1415
1423
  return null;
1416
- const a = s.findIndex((c, u) => u > 0 && c !== void 0), o = this.matchIndexes[a];
1417
- return s.splice(0, a), Object.assign(s, o);
1424
+ const o = s.findIndex((c, u) => u > 0 && c !== void 0), a = this.matchIndexes[o];
1425
+ return s.splice(0, o), Object.assign(s, a);
1418
1426
  }
1419
1427
  }
1420
1428
  class f {
@@ -1423,10 +1431,9 @@ function Kt(e) {
1423
1431
  }
1424
1432
  // @ts-ignore
1425
1433
  getMatcher(i) {
1426
- if (this.multiRegexes[i])
1427
- return this.multiRegexes[i];
1434
+ if (this.multiRegexes[i]) return this.multiRegexes[i];
1428
1435
  const s = new l();
1429
- return this.rules.slice(i).forEach(([a, o]) => s.addRule(a, o)), s.compile(), this.multiRegexes[i] = s, s;
1436
+ return this.rules.slice(i).forEach(([o, a]) => s.addRule(o, a)), s.compile(), this.multiRegexes[i] = s, s;
1430
1437
  }
1431
1438
  resumingScanAtSamePosition() {
1432
1439
  return this.regexIndex !== 0;
@@ -1442,15 +1449,15 @@ function Kt(e) {
1442
1449
  exec(i) {
1443
1450
  const s = this.getMatcher(this.regexIndex);
1444
1451
  s.lastIndex = this.lastIndex;
1445
- let a = s.exec(i);
1446
- if (this.resumingScanAtSamePosition() && !(a && a.index === this.lastIndex)) {
1447
- const o = this.getMatcher(0);
1448
- o.lastIndex = this.lastIndex + 1, a = o.exec(i);
1452
+ let o = s.exec(i);
1453
+ if (this.resumingScanAtSamePosition() && !(o && o.index === this.lastIndex)) {
1454
+ const a = this.getMatcher(0);
1455
+ a.lastIndex = this.lastIndex + 1, o = a.exec(i);
1449
1456
  }
1450
- return a && (this.regexIndex += a.position + 1, this.regexIndex === this.count && this.considerAll()), a;
1457
+ return o && (this.regexIndex += o.position + 1, this.regexIndex === this.count && this.considerAll()), o;
1451
1458
  }
1452
1459
  }
1453
- function g(t) {
1460
+ function h(t) {
1454
1461
  const i = new f();
1455
1462
  return t.contains.forEach((s) => i.addRule(s.begin, { rule: s, type: "begin" })), t.terminatorEnd && i.addRule(t.terminatorEnd, { type: "end" }), t.illegal && i.addRule(t.illegal, { type: "illegal" }), i;
1456
1463
  }
@@ -1459,8 +1466,7 @@ function Kt(e) {
1459
1466
  /** @type CompiledMode */
1460
1467
  t
1461
1468
  );
1462
- if (t.isCompiled)
1463
- return s;
1469
+ if (t.isCompiled) return s;
1464
1470
  [
1465
1471
  Rt,
1466
1472
  // do this early so compiler extensions generally don't have to worry about
@@ -1468,27 +1474,27 @@ function Kt(e) {
1468
1474
  It,
1469
1475
  Gt,
1470
1476
  Bt
1471
- ].forEach((o) => o(t, i)), e.compilerExtensions.forEach((o) => o(t, i)), t.__beforeBegin = null, [
1477
+ ].forEach((a) => a(t, i)), e.compilerExtensions.forEach((a) => a(t, i)), t.__beforeBegin = null, [
1472
1478
  Ot,
1473
1479
  // do this later so compiler extensions that come earlier have access to the
1474
1480
  // raw array if they wanted to perhaps manipulate it, etc.
1475
1481
  Ct,
1476
1482
  // default to 1 relevance if not specified
1477
1483
  kt
1478
- ].forEach((o) => o(t, i)), t.isCompiled = !0;
1479
- let a = null;
1480
- return typeof t.keywords == "object" && t.keywords.$pattern && (t.keywords = Object.assign({}, t.keywords), a = t.keywords.$pattern, delete t.keywords.$pattern), a = a || /\w+/, t.keywords && (t.keywords = Sn(t.keywords, e.case_insensitive)), s.keywordPatternRe = r(a, !0), i && (t.begin || (t.begin = /\B|\b/), s.beginRe = r(s.begin), !t.end && !t.endsWithParent && (t.end = /\B|\b/), t.end && (s.endRe = r(s.end)), s.terminatorEnd = ye(s.end) || "", t.endsWithParent && i.terminatorEnd && (s.terminatorEnd += (t.end ? "|" : "") + i.terminatorEnd)), t.illegal && (s.illegalRe = r(
1484
+ ].forEach((a) => a(t, i)), t.isCompiled = !0;
1485
+ let o = null;
1486
+ return typeof t.keywords == "object" && t.keywords.$pattern && (t.keywords = Object.assign({}, t.keywords), o = t.keywords.$pattern, delete t.keywords.$pattern), o = o || /\w+/, t.keywords && (t.keywords = Sn(t.keywords, e.case_insensitive)), s.keywordPatternRe = r(o, !0), i && (t.begin || (t.begin = /\B|\b/), s.beginRe = r(s.begin), !t.end && !t.endsWithParent && (t.end = /\B|\b/), t.end && (s.endRe = r(s.end)), s.terminatorEnd = Ae(s.end) || "", t.endsWithParent && i.terminatorEnd && (s.terminatorEnd += (t.end ? "|" : "") + i.terminatorEnd)), t.illegal && (s.illegalRe = r(
1481
1487
  /** @type {RegExp | string} */
1482
1488
  t.illegal
1483
- )), t.contains || (t.contains = []), t.contains = [].concat(...t.contains.map(function(o) {
1484
- return Wt(o === "self" ? t : o);
1485
- })), t.contains.forEach(function(o) {
1489
+ )), t.contains || (t.contains = []), t.contains = [].concat(...t.contains.map(function(a) {
1490
+ return Wt(a === "self" ? t : a);
1491
+ })), t.contains.forEach(function(a) {
1486
1492
  n(
1487
1493
  /** @type Mode */
1488
- o,
1494
+ a,
1489
1495
  s
1490
1496
  );
1491
- }), t.starts && n(t.starts, i), s.matcher = g(s), s;
1497
+ }), t.starts && n(t.starts, i), s.matcher = h(s), s;
1492
1498
  }
1493
1499
  if (e.compilerExtensions || (e.compilerExtensions = []), e.contains && e.contains.includes("self"))
1494
1500
  throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
@@ -1497,23 +1503,23 @@ function Kt(e) {
1497
1503
  e
1498
1504
  );
1499
1505
  }
1500
- function Ln(e) {
1501
- return e ? e.endsWithParent || Ln(e.starts) : !1;
1506
+ function Rn(e) {
1507
+ return e ? e.endsWithParent || Rn(e.starts) : !1;
1502
1508
  }
1503
1509
  function Wt(e) {
1504
1510
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(r) {
1505
1511
  return le(e, { variants: null }, r);
1506
- })), e.cachedVariants ? e.cachedVariants : Ln(e) ? le(e, { starts: e.starts ? le(e.starts) : null }) : Object.isFrozen(e) ? le(e) : e;
1512
+ })), e.cachedVariants ? e.cachedVariants : Rn(e) ? le(e, { starts: e.starts ? le(e.starts) : null }) : Object.isFrozen(e) ? le(e) : e;
1507
1513
  }
1508
- var Qt = "11.9.0";
1514
+ var Qt = "11.10.0";
1509
1515
  class Zt extends Error {
1510
1516
  constructor(r, l) {
1511
1517
  super(r), this.name = "HTMLInjectionError", this.html = l;
1512
1518
  }
1513
1519
  }
1514
- const ze = vn, fn = le, gn = Symbol("nomatch"), Yt = 7, Rn = function(e) {
1520
+ const Fe = wn, gn = le, hn = Symbol("nomatch"), Yt = 7, On = function(e) {
1515
1521
  const r = /* @__PURE__ */ Object.create(null), l = /* @__PURE__ */ Object.create(null), f = [];
1516
- let g = !0;
1522
+ let h = !0;
1517
1523
  const n = "Could not find the language '{}', did you forget to load/include a language module?", t = { disableAutodetect: !0, name: "Plain text", contains: [] };
1518
1524
  let i = {
1519
1525
  ignoreUnescapedHTML: !1,
@@ -1530,186 +1536,184 @@ const ze = vn, fn = le, gn = Symbol("nomatch"), Yt = 7, Rn = function(e) {
1530
1536
  function s(b) {
1531
1537
  return i.noHighlightRe.test(b);
1532
1538
  }
1533
- function a(b) {
1539
+ function o(b) {
1534
1540
  let N = b.className + " ";
1535
1541
  N += b.parentNode ? b.parentNode.className : "";
1536
- const O = i.languageDetectRe.exec(N);
1537
- if (O) {
1538
- const U = L(O[1]);
1539
- return U || (un(n.replace("{}", O[1])), un("Falling back to no-highlight mode for this block.", b)), U ? O[1] : "no-highlight";
1542
+ const C = i.languageDetectRe.exec(N);
1543
+ if (C) {
1544
+ const U = L(C[1]);
1545
+ return U || (fn(n.replace("{}", C[1])), fn("Falling back to no-highlight mode for this block.", b)), U ? C[1] : "no-highlight";
1540
1546
  }
1541
1547
  return N.split(/\s+/).find((U) => s(U) || L(U));
1542
1548
  }
1543
- function o(b, N, O) {
1544
- let U = "", x = "";
1545
- typeof N == "object" ? (U = b, O = N.ignoreIllegals, x = N.language) : (he("10.7.0", "highlight(lang, code, ...args) has been deprecated."), he("10.7.0", `Please use highlight(code, options) instead.
1546
- https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O === void 0 && (O = !0);
1549
+ function a(b, N, C) {
1550
+ let U = "", G = "";
1551
+ typeof N == "object" ? (U = b, C = N.ignoreIllegals, G = N.language) : (he("10.7.0", "highlight(lang, code, ...args) has been deprecated."), he("10.7.0", `Please use highlight(code, options) instead.
1552
+ https://github.com/highlightjs/highlight.js/issues/2277`), G = b, U = N), C === void 0 && (C = !0);
1547
1553
  const X = {
1548
1554
  code: U,
1549
- language: x
1555
+ language: G
1550
1556
  };
1551
1557
  oe("before:highlight", X);
1552
- const J = X.result ? X.result : c(X.language, X.code, O);
1558
+ const J = X.result ? X.result : c(X.language, X.code, C);
1553
1559
  return J.code = X.code, oe("after:highlight", J), J;
1554
1560
  }
1555
- function c(b, N, O, U) {
1556
- const x = /* @__PURE__ */ Object.create(null);
1557
- function X(w, T) {
1558
- return w.keywords[T];
1561
+ function c(b, N, C, U) {
1562
+ const G = /* @__PURE__ */ Object.create(null);
1563
+ function X(y, S) {
1564
+ return y.keywords[S];
1559
1565
  }
1560
1566
  function J() {
1561
- if (!C.keywords) {
1562
- Q.addText(z);
1567
+ if (!I.keywords) {
1568
+ Q.addText(F);
1563
1569
  return;
1564
1570
  }
1565
- let w = 0;
1566
- C.keywordPatternRe.lastIndex = 0;
1567
- let T = C.keywordPatternRe.exec(z), k = "";
1568
- for (; T; ) {
1569
- k += z.substring(w, T.index);
1570
- const H = te.case_insensitive ? T[0].toLowerCase() : T[0], Z = X(C, H);
1571
+ let y = 0;
1572
+ I.keywordPatternRe.lastIndex = 0;
1573
+ let S = I.keywordPatternRe.exec(F), k = "";
1574
+ for (; S; ) {
1575
+ k += F.substring(y, S.index);
1576
+ const H = te.case_insensitive ? S[0].toLowerCase() : S[0], Z = X(I, H);
1571
1577
  if (Z) {
1572
- const [re, Gn] = Z;
1573
- if (Q.addText(k), k = "", x[H] = (x[H] || 0) + 1, x[H] <= Yt && (Se += Gn), re.startsWith("_"))
1574
- k += T[0];
1578
+ const [re, Kn] = Z;
1579
+ if (Q.addText(k), k = "", G[H] = (G[H] || 0) + 1, G[H] <= Yt && (Se += Kn), re.startsWith("_"))
1580
+ k += S[0];
1575
1581
  else {
1576
- const Kn = te.classNameAliases[re] || re;
1577
- ne(T[0], Kn);
1582
+ const Wn = te.classNameAliases[re] || re;
1583
+ ne(S[0], Wn);
1578
1584
  }
1579
1585
  } else
1580
- k += T[0];
1581
- w = C.keywordPatternRe.lastIndex, T = C.keywordPatternRe.exec(z);
1586
+ k += S[0];
1587
+ y = I.keywordPatternRe.lastIndex, S = I.keywordPatternRe.exec(F);
1582
1588
  }
1583
- k += z.substring(w), Q.addText(k);
1589
+ k += F.substring(y), Q.addText(k);
1584
1590
  }
1585
- function Me() {
1586
- if (z === "")
1587
- return;
1588
- let w = null;
1589
- if (typeof C.subLanguage == "string") {
1590
- if (!r[C.subLanguage]) {
1591
- Q.addText(z);
1591
+ function Te() {
1592
+ if (F === "") return;
1593
+ let y = null;
1594
+ if (typeof I.subLanguage == "string") {
1595
+ if (!r[I.subLanguage]) {
1596
+ Q.addText(F);
1592
1597
  return;
1593
1598
  }
1594
- w = c(C.subLanguage, z, !0, en[C.subLanguage]), en[C.subLanguage] = /** @type {CompiledMode} */
1595
- w._top;
1599
+ y = c(I.subLanguage, F, !0, nn[I.subLanguage]), nn[I.subLanguage] = /** @type {CompiledMode} */
1600
+ y._top;
1596
1601
  } else
1597
- w = d(z, C.subLanguage.length ? C.subLanguage : null);
1598
- C.relevance > 0 && (Se += w.relevance), Q.__addSublanguage(w._emitter, w.language);
1602
+ y = d(F, I.subLanguage.length ? I.subLanguage : null);
1603
+ I.relevance > 0 && (Se += y.relevance), Q.__addSublanguage(y._emitter, y.language);
1599
1604
  }
1600
1605
  function V() {
1601
- C.subLanguage != null ? Me() : J(), z = "";
1606
+ I.subLanguage != null ? Te() : J(), F = "";
1602
1607
  }
1603
- function ne(w, T) {
1604
- w !== "" && (Q.startScope(T), Q.addText(w), Q.endScope());
1608
+ function ne(y, S) {
1609
+ y !== "" && (Q.startScope(S), Q.addText(y), Q.endScope());
1605
1610
  }
1606
- function Ve(w, T) {
1611
+ function je(y, S) {
1607
1612
  let k = 1;
1608
- const H = T.length - 1;
1613
+ const H = S.length - 1;
1609
1614
  for (; k <= H; ) {
1610
- if (!w._emit[k]) {
1615
+ if (!y._emit[k]) {
1611
1616
  k++;
1612
1617
  continue;
1613
1618
  }
1614
- const Z = te.classNameAliases[w[k]] || w[k], re = T[k];
1615
- Z ? ne(re, Z) : (z = re, J(), z = ""), k++;
1619
+ const Z = te.classNameAliases[y[k]] || y[k], re = S[k];
1620
+ Z ? ne(re, Z) : (F = re, J(), F = ""), k++;
1616
1621
  }
1617
1622
  }
1618
- function je(w, T) {
1619
- return w.scope && typeof w.scope == "string" && Q.openNode(te.classNameAliases[w.scope] || w.scope), w.beginScope && (w.beginScope._wrap ? (ne(z, te.classNameAliases[w.beginScope._wrap] || w.beginScope._wrap), z = "") : w.beginScope._multi && (Ve(w.beginScope, T), z = "")), C = Object.create(w, { parent: { value: C } }), C;
1623
+ function qe(y, S) {
1624
+ return y.scope && typeof y.scope == "string" && Q.openNode(te.classNameAliases[y.scope] || y.scope), y.beginScope && (y.beginScope._wrap ? (ne(F, te.classNameAliases[y.beginScope._wrap] || y.beginScope._wrap), F = "") : y.beginScope._multi && (je(y.beginScope, S), F = "")), I = Object.create(y, { parent: { value: I } }), I;
1620
1625
  }
1621
- function qe(w, T, k) {
1622
- let H = ut(w.endRe, k);
1626
+ function Je(y, S, k) {
1627
+ let H = ut(y.endRe, k);
1623
1628
  if (H) {
1624
- if (w["on:end"]) {
1625
- const Z = new an(w);
1626
- w["on:end"](T, Z), Z.isMatchIgnored && (H = !1);
1629
+ if (y["on:end"]) {
1630
+ const Z = new on(y);
1631
+ y["on:end"](S, Z), Z.isMatchIgnored && (H = !1);
1627
1632
  }
1628
1633
  if (H) {
1629
- for (; w.endsParent && w.parent; )
1630
- w = w.parent;
1631
- return w;
1634
+ for (; y.endsParent && y.parent; )
1635
+ y = y.parent;
1636
+ return y;
1632
1637
  }
1633
1638
  }
1634
- if (w.endsWithParent)
1635
- return qe(w.parent, T, k);
1639
+ if (y.endsWithParent)
1640
+ return Je(y.parent, S, k);
1636
1641
  }
1637
- function Un(w) {
1638
- return C.matcher.regexIndex === 0 ? (z += w[0], 1) : (He = !0, 0);
1642
+ function Hn(y) {
1643
+ return I.matcher.regexIndex === 0 ? (F += y[0], 1) : (He = !0, 0);
1639
1644
  }
1640
- function Hn(w) {
1641
- const T = w[0], k = w.rule, H = new an(k), Z = [k.__beforeBegin, k["on:begin"]];
1645
+ function xn(y) {
1646
+ const S = y[0], k = y.rule, H = new on(k), Z = [k.__beforeBegin, k["on:begin"]];
1642
1647
  for (const re of Z)
1643
- if (re && (re(w, H), H.isMatchIgnored))
1644
- return Un(T);
1645
- return k.skip ? z += T : (k.excludeBegin && (z += T), V(), !k.returnBegin && !k.excludeBegin && (z = T)), je(k, w), k.returnBegin ? 0 : T.length;
1648
+ if (re && (re(y, H), H.isMatchIgnored))
1649
+ return Hn(S);
1650
+ return k.skip ? F += S : (k.excludeBegin && (F += S), V(), !k.returnBegin && !k.excludeBegin && (F = S)), qe(k, y), k.returnBegin ? 0 : S.length;
1646
1651
  }
1647
- function Fn(w) {
1648
- const T = w[0], k = N.substring(w.index), H = qe(C, w, k);
1652
+ function Fn(y) {
1653
+ const S = y[0], k = N.substring(y.index), H = Je(I, y, k);
1649
1654
  if (!H)
1650
- return gn;
1651
- const Z = C;
1652
- C.endScope && C.endScope._wrap ? (V(), ne(T, C.endScope._wrap)) : C.endScope && C.endScope._multi ? (V(), Ve(C.endScope, w)) : Z.skip ? z += T : (Z.returnEnd || Z.excludeEnd || (z += T), V(), Z.excludeEnd && (z = T));
1655
+ return hn;
1656
+ const Z = I;
1657
+ I.endScope && I.endScope._wrap ? (V(), ne(S, I.endScope._wrap)) : I.endScope && I.endScope._multi ? (V(), je(I.endScope, y)) : Z.skip ? F += S : (Z.returnEnd || Z.excludeEnd || (F += S), V(), Z.excludeEnd && (F = S));
1653
1658
  do
1654
- C.scope && Q.closeNode(), !C.skip && !C.subLanguage && (Se += C.relevance), C = C.parent;
1655
- while (C !== H.parent);
1656
- return H.starts && je(H.starts, w), Z.returnEnd ? 0 : T.length;
1659
+ I.scope && Q.closeNode(), !I.skip && !I.subLanguage && (Se += I.relevance), I = I.parent;
1660
+ while (I !== H.parent);
1661
+ return H.starts && qe(H.starts, y), Z.returnEnd ? 0 : S.length;
1657
1662
  }
1658
1663
  function zn() {
1659
- const w = [];
1660
- for (let T = C; T !== te; T = T.parent)
1661
- T.scope && w.unshift(T.scope);
1662
- w.forEach((T) => Q.openNode(T));
1664
+ const y = [];
1665
+ for (let S = I; S !== te; S = S.parent)
1666
+ S.scope && y.unshift(S.scope);
1667
+ y.forEach((S) => Q.openNode(S));
1663
1668
  }
1664
- let Te = {};
1665
- function Je(w, T) {
1666
- const k = T && T[0];
1667
- if (z += w, k == null)
1669
+ let De = {};
1670
+ function en(y, S) {
1671
+ const k = S && S[0];
1672
+ if (F += y, k == null)
1668
1673
  return V(), 0;
1669
- if (Te.type === "begin" && T.type === "end" && Te.index === T.index && k === "") {
1670
- if (z += N.slice(T.index, T.index + 1), !g) {
1674
+ if (De.type === "begin" && S.type === "end" && De.index === S.index && k === "") {
1675
+ if (F += N.slice(S.index, S.index + 1), !h) {
1671
1676
  const H = new Error(`0 width match regex (${b})`);
1672
- throw H.languageName = b, H.badRule = Te.rule, H;
1677
+ throw H.languageName = b, H.badRule = De.rule, H;
1673
1678
  }
1674
1679
  return 1;
1675
1680
  }
1676
- if (Te = T, T.type === "begin")
1677
- return Hn(T);
1678
- if (T.type === "illegal" && !O) {
1679
- const H = new Error('Illegal lexeme "' + k + '" for mode "' + (C.scope || "<unnamed>") + '"');
1680
- throw H.mode = C, H;
1681
- } else if (T.type === "end") {
1682
- const H = Fn(T);
1683
- if (H !== gn)
1681
+ if (De = S, S.type === "begin")
1682
+ return xn(S);
1683
+ if (S.type === "illegal" && !C) {
1684
+ const H = new Error('Illegal lexeme "' + k + '" for mode "' + (I.scope || "<unnamed>") + '"');
1685
+ throw H.mode = I, H;
1686
+ } else if (S.type === "end") {
1687
+ const H = Fn(S);
1688
+ if (H !== hn)
1684
1689
  return H;
1685
1690
  }
1686
- if (T.type === "illegal" && k === "")
1691
+ if (S.type === "illegal" && k === "")
1687
1692
  return 1;
1688
- if (Ue > 1e5 && Ue > T.index * 3)
1693
+ if (Ue > 1e5 && Ue > S.index * 3)
1689
1694
  throw new Error("potential infinite loop, way more iterations than matches");
1690
- return z += k, k.length;
1695
+ return F += k, k.length;
1691
1696
  }
1692
1697
  const te = L(b);
1693
1698
  if (!te)
1694
1699
  throw ue(n.replace("{}", b)), new Error('Unknown language: "' + b + '"');
1695
- const xn = Kt(te);
1696
- let Pe = "", C = U || xn;
1697
- const en = {}, Q = new i.__emitter(i);
1700
+ const Gn = Kt(te);
1701
+ let Pe = "", I = U || Gn;
1702
+ const nn = {}, Q = new i.__emitter(i);
1698
1703
  zn();
1699
- let z = "", Se = 0, ce = 0, Ue = 0, He = !1;
1704
+ let F = "", Se = 0, ce = 0, Ue = 0, He = !1;
1700
1705
  try {
1701
1706
  if (te.__emitTokens)
1702
1707
  te.__emitTokens(N, Q);
1703
1708
  else {
1704
- for (C.matcher.considerAll(); ; ) {
1705
- Ue++, He ? He = !1 : C.matcher.considerAll(), C.matcher.lastIndex = ce;
1706
- const w = C.matcher.exec(N);
1707
- if (!w)
1708
- break;
1709
- const T = N.substring(ce, w.index), k = Je(T, w);
1710
- ce = w.index + k;
1709
+ for (I.matcher.considerAll(); ; ) {
1710
+ Ue++, He ? He = !1 : I.matcher.considerAll(), I.matcher.lastIndex = ce;
1711
+ const y = I.matcher.exec(N);
1712
+ if (!y) break;
1713
+ const S = N.substring(ce, y.index), k = en(S, y);
1714
+ ce = y.index + k;
1711
1715
  }
1712
- Je(N.substring(ce));
1716
+ en(N.substring(ce));
1713
1717
  }
1714
1718
  return Q.finalize(), Pe = Q.toHTML(), {
1715
1719
  language: b,
@@ -1717,40 +1721,40 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O ===
1717
1721
  relevance: Se,
1718
1722
  illegal: !1,
1719
1723
  _emitter: Q,
1720
- _top: C
1724
+ _top: I
1721
1725
  };
1722
- } catch (w) {
1723
- if (w.message && w.message.includes("Illegal"))
1726
+ } catch (y) {
1727
+ if (y.message && y.message.includes("Illegal"))
1724
1728
  return {
1725
1729
  language: b,
1726
- value: ze(N),
1730
+ value: Fe(N),
1727
1731
  illegal: !0,
1728
1732
  relevance: 0,
1729
1733
  _illegalBy: {
1730
- message: w.message,
1734
+ message: y.message,
1731
1735
  index: ce,
1732
1736
  context: N.slice(ce - 100, ce + 100),
1733
- mode: w.mode,
1737
+ mode: y.mode,
1734
1738
  resultSoFar: Pe
1735
1739
  },
1736
1740
  _emitter: Q
1737
1741
  };
1738
- if (g)
1742
+ if (h)
1739
1743
  return {
1740
1744
  language: b,
1741
- value: ze(N),
1745
+ value: Fe(N),
1742
1746
  illegal: !1,
1743
1747
  relevance: 0,
1744
- errorRaised: w,
1748
+ errorRaised: y,
1745
1749
  _emitter: Q,
1746
- _top: C
1750
+ _top: I
1747
1751
  };
1748
- throw w;
1752
+ throw y;
1749
1753
  }
1750
1754
  }
1751
1755
  function u(b) {
1752
1756
  const N = {
1753
- value: ze(b),
1757
+ value: Fe(b),
1754
1758
  illegal: !1,
1755
1759
  relevance: 0,
1756
1760
  _top: t,
@@ -1760,13 +1764,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O ===
1760
1764
  }
1761
1765
  function d(b, N) {
1762
1766
  N = N || i.languages || Object.keys(r);
1763
- const O = u(b), U = N.filter(L).filter(P).map(
1767
+ const C = u(b), U = N.filter(L).filter(P).map(
1764
1768
  (V) => c(V, b, !1)
1765
1769
  );
1766
- U.unshift(O);
1767
- const x = U.sort((V, ne) => {
1768
- if (V.relevance !== ne.relevance)
1769
- return ne.relevance - V.relevance;
1770
+ U.unshift(C);
1771
+ const G = U.sort((V, ne) => {
1772
+ if (V.relevance !== ne.relevance) return ne.relevance - V.relevance;
1770
1773
  if (V.language && ne.language) {
1771
1774
  if (L(V.language).supersetOf === ne.language)
1772
1775
  return 1;
@@ -1774,21 +1777,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O ===
1774
1777
  return -1;
1775
1778
  }
1776
1779
  return 0;
1777
- }), [X, J] = x, Me = X;
1778
- return Me.secondBest = J, Me;
1780
+ }), [X, J] = G, Te = X;
1781
+ return Te.secondBest = J, Te;
1779
1782
  }
1780
- function h(b, N, O) {
1781
- const U = N && l[N] || O;
1783
+ function g(b, N, C) {
1784
+ const U = N && l[N] || C;
1782
1785
  b.classList.add("hljs"), b.classList.add(`language-${U}`);
1783
1786
  }
1784
1787
  function p(b) {
1785
1788
  let N = null;
1786
- const O = a(b);
1787
- if (s(O))
1788
- return;
1789
+ const C = o(b);
1790
+ if (s(C)) return;
1789
1791
  if (oe(
1790
1792
  "before:highlightElement",
1791
- { el: b, language: O }
1793
+ { el: b, language: C }
1792
1794
  ), b.dataset.highlighted) {
1793
1795
  console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", b);
1794
1796
  return;
@@ -1799,28 +1801,28 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O ===
1799
1801
  b.innerHTML
1800
1802
  );
1801
1803
  N = b;
1802
- const U = N.textContent, x = O ? o(U, { language: O, ignoreIllegals: !0 }) : d(U);
1803
- b.innerHTML = x.value, b.dataset.highlighted = "yes", h(b, O, x.language), b.result = {
1804
- language: x.language,
1804
+ const U = N.textContent, G = C ? a(U, { language: C, ignoreIllegals: !0 }) : d(U);
1805
+ b.innerHTML = G.value, b.dataset.highlighted = "yes", g(b, C, G.language), b.result = {
1806
+ language: G.language,
1805
1807
  // TODO: remove with version 11.0
1806
- re: x.relevance,
1807
- relevance: x.relevance
1808
- }, x.secondBest && (b.secondBest = {
1809
- language: x.secondBest.language,
1810
- relevance: x.secondBest.relevance
1811
- }), oe("after:highlightElement", { el: b, result: x, text: U });
1808
+ re: G.relevance,
1809
+ relevance: G.relevance
1810
+ }, G.secondBest && (b.secondBest = {
1811
+ language: G.secondBest.language,
1812
+ relevance: G.secondBest.relevance
1813
+ }), oe("after:highlightElement", { el: b, result: G, text: U });
1812
1814
  }
1813
1815
  function _(b) {
1814
- i = fn(i, b);
1816
+ i = gn(i, b);
1815
1817
  }
1816
- const E = () => {
1817
- A(), he("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1818
+ const m = () => {
1819
+ w(), he("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1818
1820
  };
1819
- function m() {
1820
- A(), he("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1821
+ function E() {
1822
+ w(), he("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1821
1823
  }
1822
1824
  let v = !1;
1823
- function A() {
1825
+ function w() {
1824
1826
  if (document.readyState === "loading") {
1825
1827
  v = !0;
1826
1828
  return;
@@ -1828,21 +1830,21 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O ===
1828
1830
  document.querySelectorAll(i.cssSelector).forEach(p);
1829
1831
  }
1830
1832
  function D() {
1831
- v && A();
1833
+ v && w();
1832
1834
  }
1833
1835
  typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", D, !1);
1834
- function S(b, N) {
1835
- let O = null;
1836
+ function T(b, N) {
1837
+ let C = null;
1836
1838
  try {
1837
- O = N(e);
1839
+ C = N(e);
1838
1840
  } catch (U) {
1839
- if (ue("Language definition for '{}' could not be registered.".replace("{}", b)), g)
1841
+ if (ue("Language definition for '{}' could not be registered.".replace("{}", b)), h)
1840
1842
  ue(U);
1841
1843
  else
1842
1844
  throw U;
1843
- O = t;
1845
+ C = t;
1844
1846
  }
1845
- O.name || (O.name = b), r[b] = O, O.rawDefinition = N.bind(null, e), O.aliases && I(O.aliases, { languageName: b });
1847
+ C.name || (C.name = b), r[b] = C, C.rawDefinition = N.bind(null, e), C.aliases && O(C.aliases, { languageName: b });
1846
1848
  }
1847
1849
  function M(b) {
1848
1850
  delete r[b];
@@ -1855,9 +1857,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O ===
1855
1857
  function L(b) {
1856
1858
  return b = (b || "").toLowerCase(), r[b] || r[l[b]];
1857
1859
  }
1858
- function I(b, { languageName: N }) {
1859
- typeof b == "string" && (b = [b]), b.forEach((O) => {
1860
- l[O.toLowerCase()] = N;
1860
+ function O(b, { languageName: N }) {
1861
+ typeof b == "string" && (b = [b]), b.forEach((C) => {
1862
+ l[C.toLowerCase()] = N;
1861
1863
  });
1862
1864
  }
1863
1865
  function P(b) {
@@ -1883,55 +1885,55 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, U = N), O ===
1883
1885
  N !== -1 && f.splice(N, 1);
1884
1886
  }
1885
1887
  function oe(b, N) {
1886
- const O = b;
1888
+ const C = b;
1887
1889
  f.forEach(function(U) {
1888
- U[O] && U[O](N);
1890
+ U[C] && U[C](N);
1889
1891
  });
1890
1892
  }
1891
1893
  function ge(b) {
1892
1894
  return he("10.7.0", "highlightBlock will be removed entirely in v12.0"), he("10.7.0", "Please use highlightElement now."), p(b);
1893
1895
  }
1894
1896
  Object.assign(e, {
1895
- highlight: o,
1897
+ highlight: a,
1896
1898
  highlightAuto: d,
1897
- highlightAll: A,
1899
+ highlightAll: w,
1898
1900
  highlightElement: p,
1899
1901
  // TODO: Remove with v12 API
1900
1902
  highlightBlock: ge,
1901
1903
  configure: _,
1902
- initHighlighting: E,
1903
- initHighlightingOnLoad: m,
1904
- registerLanguage: S,
1904
+ initHighlighting: m,
1905
+ initHighlightingOnLoad: E,
1906
+ registerLanguage: T,
1905
1907
  unregisterLanguage: M,
1906
1908
  listLanguages: R,
1907
1909
  getLanguage: L,
1908
- registerAliases: I,
1910
+ registerAliases: O,
1909
1911
  autoDetection: P,
1910
- inherit: fn,
1912
+ inherit: gn,
1911
1913
  addPlugin: K,
1912
1914
  removePlugin: Y
1913
1915
  }), e.debugMode = function() {
1914
- g = !1;
1916
+ h = !1;
1915
1917
  }, e.safeMode = function() {
1916
- g = !0;
1918
+ h = !0;
1917
1919
  }, e.versionString = Qt, e.regex = {
1918
1920
  concat: fe,
1919
- lookahead: wn,
1921
+ lookahead: yn,
1920
1922
  either: Ze,
1921
1923
  optional: lt,
1922
1924
  anyNumberOfTimes: ot
1923
1925
  };
1924
- for (const b in Le)
1925
- typeof Le[b] == "object" && mn(Le[b]);
1926
- return Object.assign(e, Le), e;
1927
- }, _e = Rn({});
1928
- _e.newInstance = () => Rn({});
1926
+ for (const b in Re)
1927
+ typeof Re[b] == "object" && vn(Re[b]);
1928
+ return Object.assign(e, Re), e;
1929
+ }, _e = On({});
1930
+ _e.newInstance = () => On({});
1929
1931
  var Xt = _e;
1930
1932
  _e.HighlightJS = _e;
1931
1933
  _e.default = _e;
1932
1934
  const q = /* @__PURE__ */ tt(Xt);
1933
1935
  function Vt(e) {
1934
- const r = e.regex, l = r.concat(/[\p{L}_]/u, r.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), f = /[\p{L}0-9._:-]+/u, g = {
1936
+ const r = e.regex, l = r.concat(/[\p{L}_]/u, r.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), f = /[\p{L}0-9._:-]+/u, h = {
1935
1937
  className: "symbol",
1936
1938
  begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
1937
1939
  }, n = {
@@ -1946,7 +1948,7 @@ function Vt(e) {
1946
1948
  }, t = e.inherit(n, {
1947
1949
  begin: /\(/,
1948
1950
  end: /\)/
1949
- }), i = e.inherit(e.APOS_STRING_MODE, { className: "string" }), s = e.inherit(e.QUOTE_STRING_MODE, { className: "string" }), a = {
1951
+ }), i = e.inherit(e.APOS_STRING_MODE, { className: "string" }), s = e.inherit(e.QUOTE_STRING_MODE, { className: "string" }), o = {
1950
1952
  endsWithParent: !0,
1951
1953
  illegal: /</,
1952
1954
  relevance: 0,
@@ -1967,12 +1969,12 @@ function Vt(e) {
1967
1969
  {
1968
1970
  begin: /"/,
1969
1971
  end: /"/,
1970
- contains: [g]
1972
+ contains: [h]
1971
1973
  },
1972
1974
  {
1973
1975
  begin: /'/,
1974
1976
  end: /'/,
1975
- contains: [g]
1977
+ contains: [h]
1976
1978
  },
1977
1979
  { begin: /[^\s"'=<>`]+/ }
1978
1980
  ]
@@ -2037,7 +2039,7 @@ function Vt(e) {
2037
2039
  end: /\]\]>/,
2038
2040
  relevance: 10
2039
2041
  },
2040
- g,
2042
+ h,
2041
2043
  // xml processing instructions
2042
2044
  {
2043
2045
  className: "meta",
@@ -2065,7 +2067,7 @@ function Vt(e) {
2065
2067
  begin: /<style(?=\s|>)/,
2066
2068
  end: />/,
2067
2069
  keywords: { name: "style" },
2068
- contains: [a],
2070
+ contains: [o],
2069
2071
  starts: {
2070
2072
  end: /<\/style>/,
2071
2073
  returnEnd: !0,
@@ -2081,7 +2083,7 @@ function Vt(e) {
2081
2083
  begin: /<script(?=\s|>)/,
2082
2084
  end: />/,
2083
2085
  keywords: { name: "script" },
2084
- contains: [a],
2086
+ contains: [o],
2085
2087
  starts: {
2086
2088
  end: /<\/script>/,
2087
2089
  returnEnd: !0,
@@ -2116,7 +2118,7 @@ function Vt(e) {
2116
2118
  className: "name",
2117
2119
  begin: l,
2118
2120
  relevance: 0,
2119
- starts: a
2121
+ starts: o
2120
2122
  }
2121
2123
  ]
2122
2124
  },
@@ -2146,7 +2148,7 @@ function Vt(e) {
2146
2148
  ]
2147
2149
  };
2148
2150
  }
2149
- const hn = "[A-Za-z$_][0-9A-Za-z$_]*", jt = [
2151
+ const dn = "[A-Za-z$_][0-9A-Za-z$_]*", jt = [
2150
2152
  "as",
2151
2153
  // for exports
2152
2154
  "in",
@@ -2196,7 +2198,7 @@ const hn = "[A-Za-z$_][0-9A-Za-z$_]*", jt = [
2196
2198
  "undefined",
2197
2199
  "NaN",
2198
2200
  "Infinity"
2199
- ], On = [
2201
+ ], Cn = [
2200
2202
  // Fundamental objects
2201
2203
  "Object",
2202
2204
  "Function",
@@ -2246,7 +2248,7 @@ const hn = "[A-Za-z$_][0-9A-Za-z$_]*", jt = [
2246
2248
  "Intl",
2247
2249
  // WebAssembly
2248
2250
  "WebAssembly"
2249
- ], Cn = [
2251
+ ], In = [
2250
2252
  "Error",
2251
2253
  "EvalError",
2252
2254
  "InternalError",
@@ -2255,7 +2257,7 @@ const hn = "[A-Za-z$_][0-9A-Za-z$_]*", jt = [
2255
2257
  "SyntaxError",
2256
2258
  "TypeError",
2257
2259
  "URIError"
2258
- ], In = [
2260
+ ], kn = [
2259
2261
  "setInterval",
2260
2262
  "setTimeout",
2261
2263
  "clearInterval",
@@ -2286,15 +2288,15 @@ const hn = "[A-Za-z$_][0-9A-Za-z$_]*", jt = [
2286
2288
  "global"
2287
2289
  // Node.js
2288
2290
  ], er = [].concat(
2289
- In,
2290
- On,
2291
- Cn
2291
+ kn,
2292
+ Cn,
2293
+ In
2292
2294
  );
2293
2295
  function nr(e) {
2294
- const r = e.regex, l = (N, { after: O }) => {
2296
+ const r = e.regex, l = (N, { after: C }) => {
2295
2297
  const U = "</" + N[0].slice(1);
2296
- return N.input.indexOf(U, O) !== -1;
2297
- }, f = hn, g = {
2298
+ return N.input.indexOf(U, C) !== -1;
2299
+ }, f = dn, h = {
2298
2300
  begin: "<>",
2299
2301
  end: "</>"
2300
2302
  }, n = /<[A-Za-z0-9\\._:-]+\s*\/>/, t = {
@@ -2304,43 +2306,43 @@ function nr(e) {
2304
2306
  * @param {RegExpMatchArray} match
2305
2307
  * @param {CallbackResponse} response
2306
2308
  */
2307
- isTrulyOpeningTag: (N, O) => {
2308
- const U = N[0].length + N.index, x = N.input[U];
2309
+ isTrulyOpeningTag: (N, C) => {
2310
+ const U = N[0].length + N.index, G = N.input[U];
2309
2311
  if (
2310
2312
  // HTML should not include another raw `<` inside a tag
2311
2313
  // nested type?
2312
2314
  // `<Array<Array<number>>`, etc.
2313
- x === "<" || // the , gives away that this is not HTML
2315
+ G === "<" || // the , gives away that this is not HTML
2314
2316
  // `<T, A extends keyof T, V>`
2315
- x === ","
2317
+ G === ","
2316
2318
  ) {
2317
- O.ignoreMatch();
2319
+ C.ignoreMatch();
2318
2320
  return;
2319
2321
  }
2320
- x === ">" && (l(N, { after: U }) || O.ignoreMatch());
2322
+ G === ">" && (l(N, { after: U }) || C.ignoreMatch());
2321
2323
  let X;
2322
2324
  const J = N.input.substring(U);
2323
2325
  if (X = J.match(/^\s*=/)) {
2324
- O.ignoreMatch();
2326
+ C.ignoreMatch();
2325
2327
  return;
2326
2328
  }
2327
2329
  if ((X = J.match(/^\s+extends\s+/)) && X.index === 0) {
2328
- O.ignoreMatch();
2330
+ C.ignoreMatch();
2329
2331
  return;
2330
2332
  }
2331
2333
  }
2332
2334
  }, i = {
2333
- $pattern: hn,
2335
+ $pattern: dn,
2334
2336
  keyword: jt,
2335
2337
  literal: qt,
2336
2338
  built_in: er,
2337
2339
  "variable.language": Jt
2338
- }, s = "[0-9](_?[0-9])*", a = `\\.(${s})`, o = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
2340
+ }, s = "[0-9](_?[0-9])*", o = `\\.(${s})`, a = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
2339
2341
  className: "number",
2340
2342
  variants: [
2341
2343
  // DecimalLiteral
2342
- { begin: `(\\b(${o})((${a})|\\.)?|(${a}))[eE][+-]?(${s})\\b` },
2343
- { begin: `\\b(${o})\\b((${a})\\b|\\.)?|(${a})\\b` },
2344
+ { begin: `(\\b(${a})((${o})|\\.)?|(${o}))[eE][+-]?(${s})\\b` },
2345
+ { begin: `\\b(${a})\\b((${o})\\b|\\.)?|(${o})\\b` },
2344
2346
  // DecimalBigIntegerLiteral
2345
2347
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
2346
2348
  // NonDecimalIntegerLiteral
@@ -2360,7 +2362,7 @@ function nr(e) {
2360
2362
  contains: []
2361
2363
  // defined later
2362
2364
  }, d = {
2363
- begin: "html`",
2365
+ begin: ".?html`",
2364
2366
  end: "",
2365
2367
  starts: {
2366
2368
  end: "`",
@@ -2371,8 +2373,8 @@ function nr(e) {
2371
2373
  ],
2372
2374
  subLanguage: "xml"
2373
2375
  }
2374
- }, h = {
2375
- begin: "css`",
2376
+ }, g = {
2377
+ begin: ".?css`",
2376
2378
  end: "",
2377
2379
  starts: {
2378
2380
  end: "`",
@@ -2384,7 +2386,7 @@ function nr(e) {
2384
2386
  subLanguage: "css"
2385
2387
  }
2386
2388
  }, p = {
2387
- begin: "gql`",
2389
+ begin: ".?gql`",
2388
2390
  end: "",
2389
2391
  starts: {
2390
2392
  end: "`",
@@ -2403,7 +2405,7 @@ function nr(e) {
2403
2405
  e.BACKSLASH_ESCAPE,
2404
2406
  u
2405
2407
  ]
2406
- }, m = {
2408
+ }, E = {
2407
2409
  className: "comment",
2408
2410
  variants: [
2409
2411
  e.COMMENT(
@@ -2452,7 +2454,7 @@ function nr(e) {
2452
2454
  e.APOS_STRING_MODE,
2453
2455
  e.QUOTE_STRING_MODE,
2454
2456
  d,
2455
- h,
2457
+ g,
2456
2458
  p,
2457
2459
  _,
2458
2460
  // Skip numbers when they are part of a variable name
@@ -2472,17 +2474,19 @@ function nr(e) {
2472
2474
  "self"
2473
2475
  ].concat(v)
2474
2476
  });
2475
- const A = [].concat(m, u.contains), D = A.concat([
2477
+ const w = [].concat(E, u.contains), D = w.concat([
2476
2478
  // eat recursive parens in sub expressions
2477
2479
  {
2478
- begin: /\(/,
2480
+ begin: /(\s*)\(/,
2479
2481
  end: /\)/,
2480
2482
  keywords: i,
2481
- contains: ["self"].concat(A)
2483
+ contains: ["self"].concat(w)
2482
2484
  }
2483
- ]), S = {
2485
+ ]), T = {
2484
2486
  className: "params",
2485
- begin: /\(/,
2487
+ // convert this to negative lookbehind in v12
2488
+ begin: /(\s*)\(/,
2489
+ // to match the parms with
2486
2490
  end: /\)/,
2487
2491
  excludeBegin: !0,
2488
2492
  excludeEnd: !0,
@@ -2541,8 +2545,8 @@ function nr(e) {
2541
2545
  keywords: {
2542
2546
  _: [
2543
2547
  // se we still get relevance credit for JS library classes
2544
- ...On,
2545
- ...Cn
2548
+ ...Cn,
2549
+ ...In
2546
2550
  ]
2547
2551
  }
2548
2552
  }, L = {
@@ -2550,7 +2554,7 @@ function nr(e) {
2550
2554
  className: "meta",
2551
2555
  relevance: 10,
2552
2556
  begin: /^\s*['"]use (strict|asm)['"]/
2553
- }, I = {
2557
+ }, O = {
2554
2558
  variants: [
2555
2559
  {
2556
2560
  match: [
@@ -2573,7 +2577,7 @@ function nr(e) {
2573
2577
  3: "title.function"
2574
2578
  },
2575
2579
  label: "func.def",
2576
- contains: [S],
2580
+ contains: [T],
2577
2581
  illegal: /%/
2578
2582
  }, P = {
2579
2583
  relevance: 0,
@@ -2587,12 +2591,12 @@ function nr(e) {
2587
2591
  match: r.concat(
2588
2592
  /\b/,
2589
2593
  $([
2590
- ...In,
2594
+ ...kn,
2591
2595
  "super",
2592
2596
  "import"
2593
- ]),
2597
+ ].map((N) => `${N}\\s*\\(`)),
2594
2598
  f,
2595
- r.lookahead(/\(/)
2599
+ r.lookahead(/\s*\(/)
2596
2600
  ),
2597
2601
  className: "title.function",
2598
2602
  relevance: 0
@@ -2621,7 +2625,7 @@ function nr(e) {
2621
2625
  // eat to avoid empty params
2622
2626
  begin: /\(\)/
2623
2627
  },
2624
- S
2628
+ T
2625
2629
  ]
2626
2630
  }, ge = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + e.UNDERSCORE_IDENT_RE + ")\\s*=>", b = {
2627
2631
  match: [
@@ -2640,7 +2644,7 @@ function nr(e) {
2640
2644
  3: "title.function"
2641
2645
  },
2642
2646
  contains: [
2643
- S
2647
+ T
2644
2648
  ]
2645
2649
  };
2646
2650
  return {
@@ -2660,10 +2664,10 @@ function nr(e) {
2660
2664
  e.APOS_STRING_MODE,
2661
2665
  e.QUOTE_STRING_MODE,
2662
2666
  d,
2663
- h,
2667
+ g,
2664
2668
  p,
2665
2669
  _,
2666
- m,
2670
+ E,
2667
2671
  // Skip numbers when they are part of a variable name
2668
2672
  { match: /\$\d+/ },
2669
2673
  c,
@@ -2680,7 +2684,7 @@ function nr(e) {
2680
2684
  keywords: "return throw case",
2681
2685
  relevance: 0,
2682
2686
  contains: [
2683
- m,
2687
+ E,
2684
2688
  e.REGEXP_MODE,
2685
2689
  {
2686
2690
  className: "function",
@@ -2704,7 +2708,7 @@ function nr(e) {
2704
2708
  skip: !0
2705
2709
  },
2706
2710
  {
2707
- begin: /\(/,
2711
+ begin: /(\s*)\(/,
2708
2712
  end: /\)/,
2709
2713
  excludeBegin: !0,
2710
2714
  excludeEnd: !0,
@@ -2727,7 +2731,7 @@ function nr(e) {
2727
2731
  {
2728
2732
  // JSX
2729
2733
  variants: [
2730
- { begin: g.begin, end: g.end },
2734
+ { begin: h.begin, end: h.end },
2731
2735
  { match: n },
2732
2736
  {
2733
2737
  begin: t.begin,
@@ -2749,7 +2753,7 @@ function nr(e) {
2749
2753
  }
2750
2754
  ]
2751
2755
  },
2752
- I,
2756
+ O,
2753
2757
  {
2754
2758
  // prevent this from getting swallowed up by function
2755
2759
  // since they appear "function like"
@@ -2764,7 +2768,7 @@ function nr(e) {
2764
2768
  returnBegin: !0,
2765
2769
  label: "func.def",
2766
2770
  contains: [
2767
- S,
2771
+ T,
2768
2772
  e.inherit(e.TITLE_MODE, { begin: f, className: "title.function" })
2769
2773
  ]
2770
2774
  },
@@ -2784,7 +2788,7 @@ function nr(e) {
2784
2788
  {
2785
2789
  match: [/\bconstructor(?=\s*\()/],
2786
2790
  className: { 1: "title.function" },
2787
- contains: [S]
2791
+ contains: [T]
2788
2792
  },
2789
2793
  K,
2790
2794
  P,
@@ -2810,12 +2814,13 @@ function tr(e) {
2810
2814
  "true",
2811
2815
  "false",
2812
2816
  "null"
2813
- ], g = {
2817
+ ], h = {
2814
2818
  scope: "literal",
2815
2819
  beginKeywords: f.join(" ")
2816
2820
  };
2817
2821
  return {
2818
2822
  name: "JSON",
2823
+ aliases: ["jsonc"],
2819
2824
  keywords: {
2820
2825
  literal: f
2821
2826
  },
@@ -2823,7 +2828,7 @@ function tr(e) {
2823
2828
  r,
2824
2829
  l,
2825
2830
  e.QUOTE_STRING_MODE,
2826
- g,
2831
+ h,
2827
2832
  e.C_NUMBER_MODE,
2828
2833
  e.C_LINE_COMMENT_MODE,
2829
2834
  e.C_BLOCK_COMMENT_MODE
@@ -2835,17 +2840,18 @@ function rr(e) {
2835
2840
  const r = "true false yes no null", l = "[\\w#;/?:@&=+$,.~*'()[\\]]+", f = {
2836
2841
  className: "attr",
2837
2842
  variants: [
2838
- { begin: "\\w[\\w :\\/.-]*:(?=[ ]|$)" },
2843
+ // added brackets support
2844
+ { begin: /\w[\w :()\./-]*:(?=[ \t]|$)/ },
2839
2845
  {
2840
- // double quoted keys
2841
- begin: '"\\w[\\w :\\/.-]*":(?=[ ]|$)'
2846
+ // double quoted keys - with brackets
2847
+ begin: /"\w[\w :()\./-]*":(?=[ \t]|$)/
2842
2848
  },
2843
2849
  {
2844
- // single quoted keys
2845
- begin: "'\\w[\\w :\\/.-]*':(?=[ ]|$)"
2850
+ // single quoted keys - with brackets
2851
+ begin: /'\w[\w :()\./-]*':(?=[ \t]|$)/
2846
2852
  }
2847
2853
  ]
2848
- }, g = {
2854
+ }, h = {
2849
2855
  className: "template-variable",
2850
2856
  variants: [
2851
2857
  {
@@ -2875,7 +2881,7 @@ function rr(e) {
2875
2881
  ],
2876
2882
  contains: [
2877
2883
  e.BACKSLASH_ESCAPE,
2878
- g
2884
+ h
2879
2885
  ]
2880
2886
  }, t = e.inherit(n, { variants: [
2881
2887
  {
@@ -2887,9 +2893,9 @@ function rr(e) {
2887
2893
  end: /"/
2888
2894
  },
2889
2895
  { begin: /[^\s,{}[\]]+/ }
2890
- ] }), i = "[0-9]{4}(-[0-9][0-9]){0,2}", s = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", a = "(\\.[0-9]*)?", o = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", c = {
2896
+ ] }), c = {
2891
2897
  className: "number",
2892
- begin: "\\b" + i + s + a + o + "\\b"
2898
+ begin: "\\b" + "[0-9]{4}(-[0-9][0-9]){0,2}" + "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?" + "(\\.[0-9]*)?" + "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?" + "\\b"
2893
2899
  }, u = {
2894
2900
  end: ",",
2895
2901
  endsWithParent: !0,
@@ -2902,7 +2908,7 @@ function rr(e) {
2902
2908
  contains: [u],
2903
2909
  illegal: "\\n",
2904
2910
  relevance: 0
2905
- }, h = {
2911
+ }, g = {
2906
2912
  begin: "\\[",
2907
2913
  end: "\\]",
2908
2914
  contains: [u],
@@ -2985,7 +2991,7 @@ function rr(e) {
2985
2991
  relevance: 0
2986
2992
  },
2987
2993
  d,
2988
- h,
2994
+ g,
2989
2995
  n
2990
2996
  ], _ = [...p];
2991
2997
  return _.pop(), _.push(t), u.contains = _, {
@@ -3141,13 +3147,13 @@ function sr(e) {
3141
3147
  }, s = {
3142
3148
  className: "meta",
3143
3149
  begin: /^(>>>|\.\.\.) /
3144
- }, a = {
3150
+ }, o = {
3145
3151
  className: "subst",
3146
3152
  begin: /\{/,
3147
3153
  end: /\}/,
3148
3154
  keywords: i,
3149
3155
  illegal: /#/
3150
- }, o = {
3156
+ }, a = {
3151
3157
  begin: /\{\{/,
3152
3158
  relevance: 0
3153
3159
  }, c = {
@@ -3178,8 +3184,8 @@ function sr(e) {
3178
3184
  contains: [
3179
3185
  e.BACKSLASH_ESCAPE,
3180
3186
  s,
3181
- o,
3182
- a
3187
+ a,
3188
+ o
3183
3189
  ]
3184
3190
  },
3185
3191
  {
@@ -3188,8 +3194,8 @@ function sr(e) {
3188
3194
  contains: [
3189
3195
  e.BACKSLASH_ESCAPE,
3190
3196
  s,
3191
- o,
3192
- a
3197
+ a,
3198
+ o
3193
3199
  ]
3194
3200
  },
3195
3201
  {
@@ -3215,8 +3221,8 @@ function sr(e) {
3215
3221
  end: /'/,
3216
3222
  contains: [
3217
3223
  e.BACKSLASH_ESCAPE,
3218
- o,
3219
- a
3224
+ a,
3225
+ o
3220
3226
  ]
3221
3227
  },
3222
3228
  {
@@ -3224,14 +3230,14 @@ function sr(e) {
3224
3230
  end: /"/,
3225
3231
  contains: [
3226
3232
  e.BACKSLASH_ESCAPE,
3227
- o,
3228
- a
3233
+ a,
3234
+ o
3229
3235
  ]
3230
3236
  },
3231
3237
  e.APOS_STRING_MODE,
3232
3238
  e.QUOTE_STRING_MODE
3233
3239
  ]
3234
- }, u = "[0-9](_?[0-9])*", d = `(\\b(${u}))?\\.(${u})|\\b(${u})\\.`, h = `\\b|${f.join("|")}`, p = {
3240
+ }, u = "[0-9](_?[0-9])*", d = `(\\b(${u}))?\\.(${u})|\\b(${u})\\.`, g = `\\b|${f.join("|")}`, p = {
3235
3241
  className: "number",
3236
3242
  relevance: 0,
3237
3243
  variants: [
@@ -3246,7 +3252,7 @@ function sr(e) {
3246
3252
  // because both MUST contain a decimal point and so cannot be confused with
3247
3253
  // the interior part of an identifier
3248
3254
  {
3249
- begin: `(\\b(${u})|(${d}))[eE][+-]?(${u})[jJ]?(?=${h})`
3255
+ begin: `(\\b(${u})|(${d}))[eE][+-]?(${u})[jJ]?(?=${g})`
3250
3256
  },
3251
3257
  {
3252
3258
  begin: `(${d})[jJ]?`
@@ -3258,21 +3264,21 @@ function sr(e) {
3258
3264
  // decinteger is optionally imaginary
3259
3265
  // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
3260
3266
  {
3261
- begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${h})`
3267
+ begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`
3262
3268
  },
3263
3269
  {
3264
- begin: `\\b0[bB](_?[01])+[lL]?(?=${h})`
3270
+ begin: `\\b0[bB](_?[01])+[lL]?(?=${g})`
3265
3271
  },
3266
3272
  {
3267
- begin: `\\b0[oO](_?[0-7])+[lL]?(?=${h})`
3273
+ begin: `\\b0[oO](_?[0-7])+[lL]?(?=${g})`
3268
3274
  },
3269
3275
  {
3270
- begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${h})`
3276
+ begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`
3271
3277
  },
3272
3278
  // imagnumber (digitpart-based)
3273
3279
  // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
3274
3280
  {
3275
- begin: `\\b(${u})[jJ](?=${h})`
3281
+ begin: `\\b(${u})[jJ](?=${g})`
3276
3282
  }
3277
3283
  ]
3278
3284
  }, _ = {
@@ -3292,7 +3298,7 @@ function sr(e) {
3292
3298
  endsWithParent: !0
3293
3299
  }
3294
3300
  ]
3295
- }, E = {
3301
+ }, m = {
3296
3302
  className: "params",
3297
3303
  variants: [
3298
3304
  // Exclude params in functions without params
@@ -3317,7 +3323,7 @@ function sr(e) {
3317
3323
  }
3318
3324
  ]
3319
3325
  };
3320
- return a.contains = [
3326
+ return o.contains = [
3321
3327
  c,
3322
3328
  p,
3323
3329
  s
@@ -3336,7 +3342,8 @@ function sr(e) {
3336
3342
  p,
3337
3343
  {
3338
3344
  // very common convention
3339
- begin: /\bself\b/
3345
+ scope: "variable.language",
3346
+ match: /\bself\b/
3340
3347
  },
3341
3348
  {
3342
3349
  // eat "if" prior to string so that it won't accidentally be
@@ -3344,6 +3351,7 @@ function sr(e) {
3344
3351
  beginKeywords: "if",
3345
3352
  relevance: 0
3346
3353
  },
3354
+ { match: /\bor\b/, scope: "keyword" },
3347
3355
  c,
3348
3356
  _,
3349
3357
  e.HASH_COMMENT_MODE,
@@ -3357,7 +3365,7 @@ function sr(e) {
3357
3365
  1: "keyword",
3358
3366
  3: "title.function"
3359
3367
  },
3360
- contains: [E]
3368
+ contains: [m]
3361
3369
  },
3362
3370
  {
3363
3371
  variants: [
@@ -3392,29 +3400,29 @@ function sr(e) {
3392
3400
  end: /(?=#)|$/,
3393
3401
  contains: [
3394
3402
  p,
3395
- E,
3403
+ m,
3396
3404
  c
3397
3405
  ]
3398
3406
  }
3399
3407
  ]
3400
3408
  };
3401
3409
  }
3402
- var de = "[0-9](_*[0-9])*", Re = `\\.(${de})`, Oe = "[0-9a-fA-F](_*[0-9a-fA-F])*", dn = {
3410
+ var de = "[0-9](_*[0-9])*", Oe = `\\.(${de})`, Ce = "[0-9a-fA-F](_*[0-9a-fA-F])*", pn = {
3403
3411
  className: "number",
3404
3412
  variants: [
3405
3413
  // DecimalFloatingPointLiteral
3406
3414
  // including ExponentPart
3407
- { begin: `(\\b(${de})((${Re})|\\.)?|(${Re}))[eE][+-]?(${de})[fFdD]?\\b` },
3415
+ { begin: `(\\b(${de})((${Oe})|\\.)?|(${Oe}))[eE][+-]?(${de})[fFdD]?\\b` },
3408
3416
  // excluding ExponentPart
3409
- { begin: `\\b(${de})((${Re})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3410
- { begin: `(${Re})[fFdD]?\\b` },
3417
+ { begin: `\\b(${de})((${Oe})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
3418
+ { begin: `(${Oe})[fFdD]?\\b` },
3411
3419
  { begin: `\\b(${de})[fFdD]\\b` },
3412
3420
  // HexadecimalFloatingPointLiteral
3413
- { begin: `\\b0[xX]((${Oe})\\.?|(${Oe})?\\.(${Oe}))[pP][+-]?(${de})[fFdD]?\\b` },
3421
+ { begin: `\\b0[xX]((${Ce})\\.?|(${Ce})?\\.(${Ce}))[pP][+-]?(${de})[fFdD]?\\b` },
3414
3422
  // DecimalIntegerLiteral
3415
3423
  { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
3416
3424
  // HexIntegerLiteral
3417
- { begin: `\\b0[xX](${Oe})[lL]?\\b` },
3425
+ { begin: `\\b0[xX](${Ce})[lL]?\\b` },
3418
3426
  // OctalIntegerLiteral
3419
3427
  { begin: "\\b0(_*[0-7])*[lL]?\\b" },
3420
3428
  // BinaryIntegerLiteral
@@ -3422,11 +3430,11 @@ var de = "[0-9](_*[0-9])*", Re = `\\.(${de})`, Oe = "[0-9a-fA-F](_*[0-9a-fA-F])*
3422
3430
  ],
3423
3431
  relevance: 0
3424
3432
  };
3425
- function kn(e, r, l) {
3426
- return l === -1 ? "" : e.replace(r, (f) => kn(e, r, l - 1));
3433
+ function Bn(e, r, l) {
3434
+ return l === -1 ? "" : e.replace(r, (f) => Bn(e, r, l - 1));
3427
3435
  }
3428
3436
  function ar(e) {
3429
- const r = e.regex, l = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", f = l + kn("(?:<" + l + "~~~(?:\\s*,\\s*" + l + "~~~)*>)?", /~~~/g, 2), s = {
3437
+ const r = e.regex, l = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", f = l + Bn("(?:<" + l + "~~~(?:\\s*,\\s*" + l + "~~~)*>)?", /~~~/g, 2), s = {
3430
3438
  keyword: [
3431
3439
  "synchronized",
3432
3440
  "abstract",
@@ -3469,7 +3477,8 @@ function ar(e) {
3469
3477
  "do",
3470
3478
  "sealed",
3471
3479
  "yield",
3472
- "permits"
3480
+ "permits",
3481
+ "goto"
3473
3482
  ],
3474
3483
  literal: [
3475
3484
  "false",
@@ -3490,7 +3499,7 @@ function ar(e) {
3490
3499
  "super",
3491
3500
  "this"
3492
3501
  ]
3493
- }, a = {
3502
+ }, o = {
3494
3503
  className: "meta",
3495
3504
  begin: "@" + l,
3496
3505
  contains: [
@@ -3501,7 +3510,7 @@ function ar(e) {
3501
3510
  // allow nested () inside our annotation
3502
3511
  }
3503
3512
  ]
3504
- }, o = {
3513
+ }, a = {
3505
3514
  className: "params",
3506
3515
  begin: /\(/,
3507
3516
  end: /\)/,
@@ -3591,7 +3600,7 @@ function ar(e) {
3591
3600
  3: "title.class"
3592
3601
  },
3593
3602
  contains: [
3594
- o,
3603
+ a,
3595
3604
  e.C_LINE_COMMENT_MODE,
3596
3605
  e.C_BLOCK_COMMENT_MODE
3597
3606
  ]
@@ -3618,10 +3627,10 @@ function ar(e) {
3618
3627
  keywords: s,
3619
3628
  relevance: 0,
3620
3629
  contains: [
3621
- a,
3630
+ o,
3622
3631
  e.APOS_STRING_MODE,
3623
3632
  e.QUOTE_STRING_MODE,
3624
- dn,
3633
+ pn,
3625
3634
  e.C_BLOCK_COMMENT_MODE
3626
3635
  ]
3627
3636
  },
@@ -3629,8 +3638,8 @@ function ar(e) {
3629
3638
  e.C_BLOCK_COMMENT_MODE
3630
3639
  ]
3631
3640
  },
3632
- dn,
3633
- a
3641
+ pn,
3642
+ o
3634
3643
  ]
3635
3644
  };
3636
3645
  }
@@ -3659,12 +3668,23 @@ function or(e) {
3659
3668
  f
3660
3669
  ]
3661
3670
  });
3662
- const g = {
3671
+ const h = {
3663
3672
  className: "subst",
3664
3673
  begin: /\$\(/,
3665
3674
  end: /\)/,
3666
3675
  contains: [e.BACKSLASH_ESCAPE]
3667
- }, n = {
3676
+ }, n = e.inherit(
3677
+ e.COMMENT(),
3678
+ {
3679
+ match: [
3680
+ /(^|\s)/,
3681
+ /#.*$/
3682
+ ],
3683
+ scope: {
3684
+ 2: "comment"
3685
+ }
3686
+ }
3687
+ ), t = {
3668
3688
  begin: /<<-?\s*(?=\w+)/,
3669
3689
  starts: { contains: [
3670
3690
  e.END_SAME_AS_BEGIN({
@@ -3673,26 +3693,26 @@ function or(e) {
3673
3693
  className: "string"
3674
3694
  })
3675
3695
  ] }
3676
- }, t = {
3696
+ }, i = {
3677
3697
  className: "string",
3678
3698
  begin: /"/,
3679
3699
  end: /"/,
3680
3700
  contains: [
3681
3701
  e.BACKSLASH_ESCAPE,
3682
3702
  l,
3683
- g
3703
+ h
3684
3704
  ]
3685
3705
  };
3686
- g.contains.push(t);
3687
- const i = {
3706
+ h.contains.push(i);
3707
+ const s = {
3688
3708
  match: /\\"/
3689
- }, s = {
3709
+ }, o = {
3690
3710
  className: "string",
3691
3711
  begin: /'/,
3692
3712
  end: /'/
3693
3713
  }, a = {
3694
3714
  match: /\\'/
3695
- }, o = {
3715
+ }, c = {
3696
3716
  begin: /\$?\(\(/,
3697
3717
  end: /\)\)/,
3698
3718
  contains: [
@@ -3703,7 +3723,7 @@ function or(e) {
3703
3723
  e.NUMBER_MODE,
3704
3724
  l
3705
3725
  ]
3706
- }, c = [
3726
+ }, u = [
3707
3727
  "fish",
3708
3728
  "bash",
3709
3729
  "zsh",
@@ -3713,16 +3733,16 @@ function or(e) {
3713
3733
  "tcsh",
3714
3734
  "dash",
3715
3735
  "scsh"
3716
- ], u = e.SHEBANG({
3717
- binary: `(${c.join("|")})`,
3736
+ ], d = e.SHEBANG({
3737
+ binary: `(${u.join("|")})`,
3718
3738
  relevance: 10
3719
- }), d = {
3739
+ }), g = {
3720
3740
  className: "function",
3721
3741
  begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
3722
3742
  returnBegin: !0,
3723
3743
  contains: [e.inherit(e.TITLE_MODE, { begin: /\w[\w\d_]*/ })],
3724
3744
  relevance: 0
3725
- }, h = [
3745
+ }, p = [
3726
3746
  "if",
3727
3747
  "then",
3728
3748
  "else",
@@ -3738,10 +3758,10 @@ function or(e) {
3738
3758
  "esac",
3739
3759
  "function",
3740
3760
  "select"
3741
- ], p = [
3761
+ ], _ = [
3742
3762
  "true",
3743
3763
  "false"
3744
- ], _ = { match: /(\/[a-z._-]+)+/ }, E = [
3764
+ ], m = { match: /(\/[a-z._-]+)+/ }, E = [
3745
3765
  "break",
3746
3766
  "cd",
3747
3767
  "continue",
@@ -3760,7 +3780,7 @@ function or(e) {
3760
3780
  "trap",
3761
3781
  "umask",
3762
3782
  "unset"
3763
- ], m = [
3783
+ ], v = [
3764
3784
  "alias",
3765
3785
  "bind",
3766
3786
  "builtin",
@@ -3778,11 +3798,12 @@ function or(e) {
3778
3798
  "read",
3779
3799
  "readarray",
3780
3800
  "source",
3801
+ "sudo",
3781
3802
  "type",
3782
3803
  "typeset",
3783
3804
  "ulimit",
3784
3805
  "unalias"
3785
- ], v = [
3806
+ ], w = [
3786
3807
  "autoload",
3787
3808
  "bg",
3788
3809
  "bindkey",
@@ -3851,7 +3872,7 @@ function or(e) {
3851
3872
  "zsocket",
3852
3873
  "zstyle",
3853
3874
  "ztcp"
3854
- ], A = [
3875
+ ], D = [
3855
3876
  "chcon",
3856
3877
  "chgrp",
3857
3878
  "chown",
@@ -3958,34 +3979,37 @@ function or(e) {
3958
3979
  ];
3959
3980
  return {
3960
3981
  name: "Bash",
3961
- aliases: ["sh"],
3982
+ aliases: [
3983
+ "sh",
3984
+ "zsh"
3985
+ ],
3962
3986
  keywords: {
3963
3987
  $pattern: /\b[a-z][a-z0-9._-]+\b/,
3964
- keyword: h,
3965
- literal: p,
3988
+ keyword: p,
3989
+ literal: _,
3966
3990
  built_in: [
3967
3991
  ...E,
3968
- ...m,
3992
+ ...v,
3969
3993
  // Shell modifiers
3970
3994
  "set",
3971
3995
  "shopt",
3972
- ...v,
3973
- ...A
3996
+ ...w,
3997
+ ...D
3974
3998
  ]
3975
3999
  },
3976
4000
  contains: [
3977
- u,
4001
+ d,
3978
4002
  // to catch known shells and boost relevancy
3979
4003
  e.SHEBANG(),
3980
4004
  // to catch unknown shells but still highlight the shebang
3981
- d,
3982
- o,
3983
- e.HASH_COMMENT_MODE,
4005
+ g,
4006
+ c,
3984
4007
  n,
3985
- _,
3986
4008
  t,
4009
+ m,
3987
4010
  i,
3988
4011
  s,
4012
+ o,
3989
4013
  a,
3990
4014
  l
3991
4015
  ]
@@ -4001,7 +4025,7 @@ function lr(e) {
4001
4025
  contains: [{ begin: /''/ }]
4002
4026
  }
4003
4027
  ]
4004
- }, g = {
4028
+ }, h = {
4005
4029
  begin: /"/,
4006
4030
  end: /"/,
4007
4031
  contains: [{ begin: /""/ }]
@@ -4054,7 +4078,7 @@ function lr(e) {
4054
4078
  "first",
4055
4079
  "last",
4056
4080
  "view"
4057
- ], a = [
4081
+ ], o = [
4058
4082
  "abs",
4059
4083
  "acos",
4060
4084
  "all",
@@ -4421,7 +4445,7 @@ function lr(e) {
4421
4445
  "within",
4422
4446
  "without",
4423
4447
  "year"
4424
- ], o = [
4448
+ ], a = [
4425
4449
  "abs",
4426
4450
  "acos",
4427
4451
  "array_agg",
@@ -4540,27 +4564,27 @@ function lr(e) {
4540
4564
  "nulls last",
4541
4565
  "depth first",
4542
4566
  "breadth first"
4543
- ], d = o, h = [
4544
- ...a,
4567
+ ], d = a, g = [
4568
+ ...o,
4545
4569
  ...s
4546
- ].filter((v) => !o.includes(v)), p = {
4570
+ ].filter((v) => !a.includes(v)), p = {
4547
4571
  className: "variable",
4548
4572
  begin: /@[a-z0-9][a-z0-9_]*/
4549
4573
  }, _ = {
4550
4574
  className: "operator",
4551
4575
  begin: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
4552
4576
  relevance: 0
4553
- }, E = {
4577
+ }, m = {
4554
4578
  begin: r.concat(/\b/, r.either(...d), /\s*\(/),
4555
4579
  relevance: 0,
4556
4580
  keywords: { built_in: d }
4557
4581
  };
4558
- function m(v, {
4559
- exceptions: A,
4582
+ function E(v, {
4583
+ exceptions: w,
4560
4584
  when: D
4561
4585
  } = {}) {
4562
- const S = D;
4563
- return A = A || [], v.map((M) => M.match(/\|\d+$/) || A.includes(M) ? M : S(M) ? `${M}|0` : M);
4586
+ const T = D;
4587
+ return w = w || [], v.map((M) => M.match(/\|\d+$/) || w.includes(M) ? M : T(M) ? `${M}|0` : M);
4564
4588
  }
4565
4589
  return {
4566
4590
  name: "SQL",
@@ -4569,7 +4593,7 @@ function lr(e) {
4569
4593
  illegal: /[{}]|<\//,
4570
4594
  keywords: {
4571
4595
  $pattern: /\b[\w\.]+/,
4572
- keyword: m(h, { when: (v) => v.length < 3 }),
4596
+ keyword: E(g, { when: (v) => v.length < 3 }),
4573
4597
  literal: n,
4574
4598
  type: i,
4575
4599
  built_in: c
@@ -4580,7 +4604,7 @@ function lr(e) {
4580
4604
  relevance: 0,
4581
4605
  keywords: {
4582
4606
  $pattern: /[\w\.]+/,
4583
- keyword: h.concat(u),
4607
+ keyword: g.concat(u),
4584
4608
  literal: n,
4585
4609
  type: i
4586
4610
  }
@@ -4589,10 +4613,10 @@ function lr(e) {
4589
4613
  className: "type",
4590
4614
  begin: r.either(...t)
4591
4615
  },
4592
- E,
4616
+ m,
4593
4617
  p,
4594
4618
  f,
4595
- g,
4619
+ h,
4596
4620
  e.C_NUMBER_MODE,
4597
4621
  e.C_BLOCK_COMMENT_MODE,
4598
4622
  l,
@@ -4609,26 +4633,26 @@ q.registerLanguage("python", sr);
4609
4633
  q.registerLanguage("java", ar);
4610
4634
  q.registerLanguage("bash", or);
4611
4635
  q.registerLanguage("sql", lr);
4612
- var y = /* @__PURE__ */ ((e) => (e.EQUAL = "equal", e.DELETE = "removed", e.ADD = "added", e.EMPTY = "empty", e))(y || {});
4636
+ var A = /* @__PURE__ */ ((e) => (e.EQUAL = "equal", e.DELETE = "removed", e.ADD = "added", e.EMPTY = "empty", e))(A || {});
4613
4637
  const ie = "<code-diff-modified>", se = "</code-diff-modified>", cr = ie.replace("<", "&lt;").replace(">", "&gt;"), ur = se.replace("<", "&lt;").replace(">", "&gt;");
4614
4638
  function be(e) {
4615
- return e === void 0 ? y.EQUAL : e.added ? y.ADD : e.removed ? y.DELETE : y.EQUAL;
4639
+ return e === void 0 ? A.EQUAL : e.added ? A.ADD : e.removed ? A.DELETE : A.EQUAL;
4616
4640
  }
4617
4641
  function Be(e, r, l = "word") {
4618
- return typeof e == "undefined" ? r : typeof r == "undefined" ? e : (l === "char" ? Vn : qn)(e, r).filter((g) => be(g) !== y.DELETE).map(
4619
- (g) => be(g) === y.ADD ? `${ie}${g.value}${se}` : g.value
4642
+ return typeof e == "undefined" ? r : typeof r == "undefined" ? e : (l === "char" ? Vn : qn)(e, r).filter((h) => be(h) !== A.DELETE).map(
4643
+ (h) => be(h) === A.ADD ? `${ie}${h.value}${se}` : h.value
4620
4644
  ).join("");
4621
4645
  }
4622
- function Bn(e, r) {
4623
- const l = new Fe.diff_match_patch(), f = l.diff_linesToChars_(e, r), g = f.chars1, n = f.chars2, t = f.lineArray, i = l.diff_main(g, n, !1);
4646
+ function $n(e, r) {
4647
+ const l = new xe.diff_match_patch(), f = l.diff_linesToChars_(e, r), h = f.chars1, n = f.chars2, t = f.lineArray, i = l.diff_main(h, n, !1);
4624
4648
  return l.diff_charsToLines_(i, t), i.map((s) => {
4625
- const [a, o] = s;
4649
+ const [o, a] = s;
4626
4650
  return {
4627
- count: o.replace(/\n$/, "").split(`
4651
+ count: a.replace(/\n$/, "").split(`
4628
4652
  `).length,
4629
- value: o,
4630
- removed: a === Fe.DIFF_DELETE,
4631
- added: a === Fe.DIFF_INSERT
4653
+ value: a,
4654
+ removed: o === xe.DIFF_DELETE,
4655
+ added: o === xe.DIFF_INSERT
4632
4656
  };
4633
4657
  });
4634
4658
  }
@@ -4636,16 +4660,16 @@ function j(e, r) {
4636
4660
  if (!r.match(new RegExp(`(${ie}|${se})`, "g")))
4637
4661
  return q.highlight(r, { language: e }).value;
4638
4662
  let f = r;
4639
- const g = r.replace(new RegExp(`(${ie}|${se})`, "g"), ""), n = document.createElement("div");
4640
- n.innerHTML = q.highlight(g, { language: e }).value;
4663
+ const h = r.replace(new RegExp(`(${ie}|${se})`, "g"), ""), n = document.createElement("div");
4664
+ n.innerHTML = q.highlight(h, { language: e }).value;
4641
4665
  let t = !1;
4642
4666
  const i = (s) => {
4643
- s.childNodes.forEach((a) => {
4644
- if (a.nodeType === Node.ELEMENT_NODE && i(a), a.nodeType === Node.TEXT_NODE) {
4645
- if (!a.textContent)
4667
+ s.childNodes.forEach((o) => {
4668
+ if (o.nodeType === Node.ELEMENT_NODE && i(o), o.nodeType === Node.TEXT_NODE) {
4669
+ if (!o.textContent)
4646
4670
  return;
4647
- let o = a.textContent, c = "";
4648
- for (t && (c = c + ie); o.length; ) {
4671
+ let a = o.textContent, c = "";
4672
+ for (t && (c = c + ie); a.length; ) {
4649
4673
  if (f.startsWith(ie)) {
4650
4674
  f = f.slice(ie.length), c = c + ie, t = !0;
4651
4675
  continue;
@@ -4654,239 +4678,239 @@ function j(e, r) {
4654
4678
  f = f.slice(se.length), c = c + se, t = !1;
4655
4679
  continue;
4656
4680
  }
4657
- const u = f.match(new RegExp(`(${ie}|${se})`)), d = u && u.index ? u.index : f.length, h = Math.min(d, o.length);
4658
- c = c + f.substring(0, h), f = f.slice(h), o = o.slice(h);
4681
+ const u = f.match(new RegExp(`(${ie}|${se})`)), d = u && u.index ? u.index : f.length, g = Math.min(d, a.length);
4682
+ c = c + f.substring(0, g), f = f.slice(g), a = a.slice(g);
4659
4683
  }
4660
- t && (c = c + se), a.textContent = c;
4684
+ t && (c = c + se), o.textContent = c;
4661
4685
  }
4662
4686
  });
4663
4687
  };
4664
4688
  return i(n), n.innerHTML.replace(new RegExp(cr, "g"), '<span class="x">').replace(new RegExp(ur, "g"), "</span>");
4665
4689
  }
4666
- function $n(e, r) {
4667
- const l = (s, a) => (s.match(new RegExp(a, "g")) || []).length, f = (s) => s.filter((a) => r == null ? void 0 : r.test(a)).length;
4668
- let g = 0, n = 0, t = 0, i = 0;
4690
+ function Pn(e, r) {
4691
+ const l = (s, o) => (s.match(new RegExp(o, "g")) || []).length, f = (s) => s.filter((o) => r == null ? void 0 : r.test(o)).length;
4692
+ let h = 0, n = 0, t = 0, i = 0;
4669
4693
  for (const s of e) {
4670
4694
  if (s.added) {
4671
- const a = f(s.value.trim().split(`
4695
+ const o = f(s.value.trim().split(`
4672
4696
  `));
4673
- g += l(s.value.trim(), `
4674
- `) + 1 - a, t += a;
4697
+ h += l(s.value.trim(), `
4698
+ `) + 1 - o, t += o;
4675
4699
  continue;
4676
4700
  }
4677
4701
  if (s.removed) {
4678
- const a = f(s.value.trim().split(`
4702
+ const o = f(s.value.trim().split(`
4679
4703
  `));
4680
4704
  n += l(s.value.trim(), `
4681
- `) + 1 - a, i += a;
4705
+ `) + 1 - o, i += o;
4682
4706
  continue;
4683
4707
  }
4684
4708
  }
4685
4709
  return {
4686
- additionsNum: g,
4710
+ additionsNum: h,
4687
4711
  deletionsNum: n,
4688
4712
  ignoreAdditionsNum: t,
4689
4713
  ignoreDeletionsNum: i
4690
4714
  };
4691
4715
  }
4692
- function fr(e, r, l = "plaintext", f = "word", g = !1, n = 10, t) {
4693
- const i = () => ({ type: y.EMPTY }), s = (m, v, A) => ({ type: m, num: v, code: A }), a = Bn(e, r), o = t ? new RegExp(t) : void 0;
4716
+ function fr(e, r, l = "plaintext", f = "word", h = !1, n = 10, t) {
4717
+ const i = () => ({ type: A.EMPTY }), s = (E, v, w) => ({ type: E, num: v, code: w }), o = $n(e, r), a = t ? new RegExp(t) : void 0;
4694
4718
  let c = 0, u = 0, d = !1;
4695
- const h = [], p = {
4696
- changes: h,
4719
+ const g = [], p = {
4720
+ changes: g,
4697
4721
  collector: [],
4698
- stat: $n(a, o)
4722
+ stat: Pn(o, a)
4699
4723
  };
4700
- for (let m = 0; m < a.length; m++) {
4724
+ for (let E = 0; E < o.length; E++) {
4701
4725
  if (d) {
4702
4726
  d = !1;
4703
4727
  continue;
4704
4728
  }
4705
- const [v, A] = [a[m], a[m + 1]], [D, S] = [be(v), be(A)], M = v.value.replace(/\n$/, "").split(`
4729
+ const [v, w] = [o[E], o[E + 1]], [D, T] = [be(v), be(w)], M = v.value.replace(/\n$/, "").split(`
4706
4730
  `);
4707
- if (A === void 0) {
4731
+ if (w === void 0) {
4708
4732
  for (const L of M) {
4709
- let I = i(), P = i();
4733
+ let O = i(), P = i();
4710
4734
  const $ = j(l, L);
4711
- D === y.EQUAL && (c++, u++, I = s(y.EQUAL, c, $), P = s(y.EQUAL, u, $)), D === y.DELETE && (c++, I = s(y.DELETE, c, $), P = i()), D === y.ADD && (u++, I = i(), P = s(y.ADD, u, $)), h.push({ left: I, right: P });
4735
+ D === A.EQUAL && (c++, u++, O = s(A.EQUAL, c, $), P = s(A.EQUAL, u, $)), D === A.DELETE && (c++, O = s(A.DELETE, c, $), P = i()), D === A.ADD && (u++, O = i(), P = s(A.ADD, u, $)), g.push({ left: O, right: P });
4712
4736
  }
4713
4737
  break;
4714
4738
  }
4715
- if (D === y.EQUAL)
4739
+ if (D === A.EQUAL)
4716
4740
  for (const L of M) {
4717
4741
  c++, u++;
4718
- const I = j(l, L);
4719
- h.push({
4720
- left: s(y.EQUAL, c, I),
4721
- right: s(y.EQUAL, u, I)
4742
+ const O = j(l, L);
4743
+ g.push({
4744
+ left: s(A.EQUAL, c, O),
4745
+ right: s(A.EQUAL, u, O)
4722
4746
  });
4723
4747
  }
4724
- const R = A.value.replace(/\n$/, "").split(`
4748
+ const R = w.value.replace(/\n$/, "").split(`
4725
4749
  `);
4726
- if (D === y.DELETE) {
4727
- if (S === y.EQUAL)
4750
+ if (D === A.DELETE) {
4751
+ if (T === A.EQUAL)
4728
4752
  for (const L of M)
4729
- c++, h.push({
4730
- left: s(y.DELETE, c, j(l, L)),
4753
+ c++, g.push({
4754
+ left: s(A.DELETE, c, j(l, L)),
4731
4755
  right: i()
4732
4756
  });
4733
- if (S === y.ADD) {
4757
+ if (T === A.ADD) {
4734
4758
  d = !0;
4735
- const L = Math.max(v.count, A.count);
4736
- for (let I = 0; I < L; I++) {
4737
- I < v.count && c++, I < A.count && u++;
4738
- const [P, $] = [M[I], R[I]], K = g || M.length === R.length, Y = K ? Be($, P, f) : P, oe = K ? Be(P, $, f) : $, ge = o != null && o.test(P) ? y.EQUAL : y.DELETE, b = o != null && o.test($) ? y.EQUAL : y.ADD, N = I < v.count ? s(ge, c, j(l, Y)) : i(), O = I < A.count ? s(b, u, j(l, oe)) : i();
4739
- h.push({ left: N, right: O });
4759
+ const L = Math.max(v.count, w.count);
4760
+ for (let O = 0; O < L; O++) {
4761
+ O < v.count && c++, O < w.count && u++;
4762
+ const [P, $] = [M[O], R[O]], K = h || M.length === R.length, Y = K ? Be($, P, f) : P, oe = K ? Be(P, $, f) : $, ge = a != null && a.test(P) ? A.EQUAL : A.DELETE, b = a != null && a.test($) ? A.EQUAL : A.ADD, N = O < v.count ? s(ge, c, j(l, Y)) : i(), C = O < w.count ? s(b, u, j(l, oe)) : i();
4763
+ g.push({ left: N, right: C });
4740
4764
  }
4741
4765
  }
4742
4766
  }
4743
- if (D === y.ADD)
4767
+ if (D === A.ADD)
4744
4768
  for (const L of M)
4745
- u++, h.push({
4769
+ u++, g.push({
4746
4770
  left: i(),
4747
- right: s(y.ADD, u, j(l, L))
4771
+ right: s(A.ADD, u, j(l, L))
4748
4772
  });
4749
4773
  }
4750
4774
  if (e === r) {
4751
- for (let m = 0; m < h.length; m++)
4752
- h[m].fold = !1;
4775
+ for (let E = 0; E < g.length; E++)
4776
+ g[E].fold = !1;
4753
4777
  return p;
4754
4778
  }
4755
- for (let m = 0; m < h.length; m++) {
4756
- const v = h[m];
4757
- if (v.left.type === y.DELETE || v.right.type === y.ADD) {
4758
- const [A, D] = [Math.max(m - n, 0), Math.min(m + n + 1, h.length)];
4759
- for (let S = A; S < D; S++)
4760
- h[S].fold = !1;
4779
+ for (let E = 0; E < g.length; E++) {
4780
+ const v = g[E];
4781
+ if (v.left.type === A.DELETE || v.right.type === A.ADD) {
4782
+ const [w, D] = [Math.max(E - n, 0), Math.min(E + n + 1, g.length)];
4783
+ for (let T = w; T < D; T++)
4784
+ g[T].fold = !1;
4761
4785
  }
4762
4786
  v.fold === void 0 && (v.fold = !0);
4763
4787
  }
4764
4788
  const _ = [];
4765
- let E = [];
4766
- for (let m = 0; m < h.length; m++) {
4767
- const v = h[m];
4789
+ let m = [];
4790
+ for (let E = 0; E < g.length; E++) {
4791
+ const v = g[E];
4768
4792
  if (v.fold === !1) {
4769
- E.length && (E[0].hideIndex = p.collector.length, p.collector.push({
4770
- lines: E,
4793
+ m.length && (m[0].hideIndex = p.collector.length, p.collector.push({
4794
+ lines: m,
4771
4795
  fold: !0
4772
- }), E = []), _.push(v);
4796
+ }), m = []), _.push(v);
4773
4797
  continue;
4774
4798
  }
4775
- v.hide = !0, E.push(v), _.push(v);
4799
+ v.hide = !0, m.push(v), _.push(v);
4776
4800
  }
4777
- return E.length && (E[0].hideIndex = p.collector.length, p.collector.push({
4778
- lines: E,
4801
+ return m.length && (m[0].hideIndex = p.collector.length, p.collector.push({
4802
+ lines: m,
4779
4803
  fold: !0
4780
- }), E = []), p.changes = _, p;
4804
+ }), m = []), p.changes = _, p;
4781
4805
  }
4782
- function gr(e, r, l = "plaintext", f = "word", g = !1, n = 10, t) {
4783
- const i = Bn(e, r), s = t ? new RegExp(t) : void 0;
4784
- let a = 0, o = 0, c = !1;
4806
+ function gr(e, r, l = "plaintext", f = "word", h = !1, n = 10, t) {
4807
+ const i = $n(e, r), s = t ? new RegExp(t) : void 0;
4808
+ let o = 0, a = 0, c = !1;
4785
4809
  const u = [], d = {
4786
4810
  changes: u,
4787
4811
  collector: [],
4788
- stat: $n(i, s)
4812
+ stat: Pn(i, s)
4789
4813
  };
4790
4814
  for (let _ = 0; _ < i.length; _++) {
4791
4815
  if (c) {
4792
4816
  c = !1;
4793
4817
  continue;
4794
4818
  }
4795
- const [E, m] = [i[_], i[_ + 1]], [v, A] = [be(E), be(m)], D = E.value.replace(/\n$/, "").split(`
4819
+ const [m, E] = [i[_], i[_ + 1]], [v, w] = [be(m), be(E)], D = m.value.replace(/\n$/, "").split(`
4796
4820
  `);
4797
- if (m === void 0) {
4821
+ if (E === void 0) {
4798
4822
  for (const M of D) {
4799
- v === y.EQUAL && (a++, o++), v === y.DELETE && a++, v === y.ADD && o++;
4823
+ v === A.EQUAL && (o++, a++), v === A.DELETE && o++, v === A.ADD && a++;
4800
4824
  const R = j(l, M);
4801
4825
  u.push({
4802
4826
  type: v,
4803
4827
  code: R,
4804
- addNum: v === y.DELETE ? void 0 : o,
4805
- delNum: v === y.ADD ? void 0 : a
4828
+ addNum: v === A.DELETE ? void 0 : a,
4829
+ delNum: v === A.ADD ? void 0 : o
4806
4830
  });
4807
4831
  }
4808
4832
  break;
4809
4833
  }
4810
- if (v === y.EQUAL)
4834
+ if (v === A.EQUAL)
4811
4835
  for (const M of D) {
4812
- a++, o++;
4836
+ o++, a++;
4813
4837
  const R = j(l, M);
4814
- u.push({ type: y.EQUAL, code: R, delNum: a, addNum: o });
4838
+ u.push({ type: A.EQUAL, code: R, delNum: o, addNum: a });
4815
4839
  }
4816
- const S = m.value.replace(/\n$/, "").split(`
4840
+ const T = E.value.replace(/\n$/, "").split(`
4817
4841
  `);
4818
- if (v === y.DELETE)
4819
- if (A === y.ADD && (D.length === S.length || g)) {
4842
+ if (v === A.DELETE)
4843
+ if (w === A.ADD && (D.length === T.length || h)) {
4820
4844
  for (let M = 0; M < D.length; M++) {
4821
- const R = D[M], L = S[M];
4822
- a++;
4823
- const I = j(l, Be(L, R, f));
4845
+ const R = D[M], L = T[M];
4846
+ o++;
4847
+ const O = j(l, Be(L, R, f));
4824
4848
  u.push({
4825
- type: s != null && s.test(R) ? y.EQUAL : y.DELETE,
4826
- code: I,
4827
- delNum: a
4849
+ type: s != null && s.test(R) ? A.EQUAL : A.DELETE,
4850
+ code: O,
4851
+ delNum: o
4828
4852
  });
4829
4853
  }
4830
- for (let M = 0; M < S.length; M++) {
4831
- const R = D[M], L = S[M];
4832
- o++;
4833
- const I = j(l, Be(R, L, f));
4854
+ for (let M = 0; M < T.length; M++) {
4855
+ const R = D[M], L = T[M];
4856
+ a++;
4857
+ const O = j(l, Be(R, L, f));
4834
4858
  u.push({
4835
- type: s != null && s.test(L) ? y.EQUAL : y.ADD,
4836
- code: I,
4837
- addNum: o
4859
+ type: s != null && s.test(L) ? A.EQUAL : A.ADD,
4860
+ code: O,
4861
+ addNum: a
4838
4862
  });
4839
4863
  }
4840
4864
  c = !0;
4841
4865
  } else
4842
4866
  for (const M of D) {
4843
- a++;
4867
+ o++;
4844
4868
  const R = j(l, M);
4845
- u.push({ type: y.DELETE, code: R, delNum: a });
4869
+ u.push({ type: A.DELETE, code: R, delNum: o });
4846
4870
  }
4847
- if (v === y.ADD)
4871
+ if (v === A.ADD)
4848
4872
  for (const M of D) {
4849
- o++;
4873
+ a++;
4850
4874
  const R = j(l, M);
4851
- u.push({ type: y.ADD, code: R, addNum: o });
4875
+ u.push({ type: A.ADD, code: R, addNum: a });
4852
4876
  }
4853
4877
  }
4854
4878
  for (let _ = 0; _ < u.length; _++) {
4855
- const E = u[_];
4856
- if (E.type === y.DELETE || E.type === y.ADD) {
4857
- const [m, v] = [Math.max(_ - n, 0), Math.min(_ + n + 1, u.length)];
4858
- for (let A = m; A < v; A++)
4859
- u[A].fold = !1;
4879
+ const m = u[_];
4880
+ if (m.type === A.DELETE || m.type === A.ADD) {
4881
+ const [E, v] = [Math.max(_ - n, 0), Math.min(_ + n + 1, u.length)];
4882
+ for (let w = E; w < v; w++)
4883
+ u[w].fold = !1;
4860
4884
  }
4861
- E.fold === void 0 && (E.fold = !0);
4885
+ m.fold === void 0 && (m.fold = !0);
4862
4886
  }
4863
4887
  if (e === r) {
4864
4888
  for (let _ = 0; _ < u.length; _++)
4865
4889
  u[_].fold = !1;
4866
4890
  return d;
4867
4891
  }
4868
- const h = [];
4892
+ const g = [];
4869
4893
  let p = [];
4870
4894
  for (let _ = 0; _ < u.length; _++) {
4871
- const E = u[_];
4872
- if (E.fold === !1) {
4895
+ const m = u[_];
4896
+ if (m.fold === !1) {
4873
4897
  p.length && (p[0].hideIndex = d.collector.length, d.collector.push({
4874
4898
  lines: p,
4875
4899
  fold: !0
4876
- }), p = []), h.push(E);
4900
+ }), p = []), g.push(m);
4877
4901
  continue;
4878
4902
  }
4879
- E.type === "equal" && (E.hide = !0, p.push(E)), h.push(E);
4903
+ m.type === "equal" && (m.hide = !0, p.push(m)), g.push(m);
4880
4904
  }
4881
4905
  return p.length && (p[0].hideIndex = d.collector.length, d.collector.push({
4882
4906
  lines: p,
4883
4907
  fold: !0
4884
- }), p = []), d.changes = h, d;
4908
+ }), p = []), d.changes = g, d;
4885
4909
  }
4886
4910
  const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
4887
4911
  class: "blob-code blob-code-hunk",
4888
4912
  align: "left"
4889
- }, " ⋯ ", -1), pr = { key: 1 }, _r = ["data-code-marker", "innerHTML"], br = /* @__PURE__ */ Ae({
4913
+ }, " ⋯ ", -1), pr = { key: 1 }, _r = ["data-code-marker", "innerHTML"], br = /* @__PURE__ */ me({
4890
4914
  __name: "UnifiedLine",
4891
4915
  props: {
4892
4916
  line: {}
@@ -4894,50 +4918,50 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
4894
4918
  emits: ["expand"],
4895
4919
  setup(e, { emit: r }) {
4896
4920
  const l = r;
4897
- function f(g) {
4898
- return g === y.DELETE ? "-" : g === y.ADD ? "+" : "";
4921
+ function f(h) {
4922
+ return h === A.DELETE ? "-" : h === A.ADD ? "+" : "";
4899
4923
  }
4900
- return (g, n) => g.line.hideIndex !== void 0 && g.line.hide ? (G(), W("tr", hr, [
4924
+ return (h, n) => h.line.hideIndex !== void 0 && h.line.hide ? (z(), W("tr", hr, [
4901
4925
  B("td", {
4902
4926
  class: "blob-num blob-num-hunk text-center",
4903
4927
  colspan: "2",
4904
- onClick: n[0] || (n[0] = (t) => l("expand", g.line))
4928
+ onClick: n[0] || (n[0] = (t) => l("expand", h.line))
4905
4929
  }, " > "),
4906
4930
  dr
4907
- ])) : g.line.hide ? ve("", !0) : (G(), W("tr", pr, [
4931
+ ])) : h.line.hide ? we("", !0) : (z(), W("tr", pr, [
4908
4932
  B("td", {
4909
- class: me(["blob-num", {
4910
- "blob-num-deletion": g.line.type === F(y).DELETE,
4911
- "blob-num-addition": g.line.type === F(y).ADD,
4912
- "blob-num-context": g.line.type === F(y).EQUAL,
4913
- "blob-num-hunk": g.line.hide !== void 0
4933
+ class: ve(["blob-num", {
4934
+ "blob-num-deletion": h.line.type === x(A).DELETE,
4935
+ "blob-num-addition": h.line.type === x(A).ADD,
4936
+ "blob-num-context": h.line.type === x(A).EQUAL,
4937
+ "blob-num-hunk": h.line.hide !== void 0
4914
4938
  }])
4915
- }, ee(g.line.delNum), 3),
4939
+ }, ee(h.line.delNum), 3),
4916
4940
  B("td", {
4917
- class: me(["blob-num", {
4918
- "blob-num-deletion": g.line.type === F(y).DELETE,
4919
- "blob-num-addition": g.line.type === F(y).ADD,
4920
- "blob-num-context": g.line.type === F(y).EQUAL,
4921
- "blob-num-hunk": g.line.hide !== void 0
4941
+ class: ve(["blob-num", {
4942
+ "blob-num-deletion": h.line.type === x(A).DELETE,
4943
+ "blob-num-addition": h.line.type === x(A).ADD,
4944
+ "blob-num-context": h.line.type === x(A).EQUAL,
4945
+ "blob-num-hunk": h.line.hide !== void 0
4922
4946
  }])
4923
- }, ee(g.line.addNum), 3),
4947
+ }, ee(h.line.addNum), 3),
4924
4948
  B("td", {
4925
- class: me(["blob-code", {
4926
- "blob-code-deletion": g.line.type === F(y).DELETE,
4927
- "blob-code-addition": g.line.type === F(y).ADD,
4928
- "blob-code-context": g.line.type === F(y).EQUAL,
4929
- "blob-code-hunk": g.line.hide !== void 0
4949
+ class: ve(["blob-code", {
4950
+ "blob-code-deletion": h.line.type === x(A).DELETE,
4951
+ "blob-code-addition": h.line.type === x(A).ADD,
4952
+ "blob-code-context": h.line.type === x(A).EQUAL,
4953
+ "blob-code-hunk": h.line.hide !== void 0
4930
4954
  }])
4931
4955
  }, [
4932
4956
  B("span", {
4933
4957
  class: "blob-code-inner blob-code-marker",
4934
- "data-code-marker": f(g.line.type),
4935
- innerHTML: g.line.code
4958
+ "data-code-marker": f(h.line.type),
4959
+ innerHTML: h.line.code
4936
4960
  }, null, 8, _r)
4937
4961
  ], 2)
4938
4962
  ]));
4939
4963
  }
4940
- }), Er = { class: "diff-table" }, mr = /* @__PURE__ */ Ae({
4964
+ }), mr = { class: "diff-table" }, Er = /* @__PURE__ */ me({
4941
4965
  __name: "UnifiedViewer",
4942
4966
  props: {
4943
4967
  diffChange: {}
@@ -4945,15 +4969,15 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
4945
4969
  setup(e) {
4946
4970
  const r = e;
4947
4971
  function l({ hideIndex: f }) {
4948
- f !== void 0 && r.diffChange.collector[f].lines.forEach((g) => {
4949
- g.hide = !1, g.fold = !1;
4972
+ f !== void 0 && r.diffChange.collector[f].lines.forEach((h) => {
4973
+ h.hide = !1, h.fold = !1;
4950
4974
  });
4951
4975
  }
4952
- return (f, g) => {
4976
+ return (f, h) => {
4953
4977
  var n;
4954
- return G(), W("table", Er, [
4978
+ return z(), W("table", mr, [
4955
4979
  B("tbody", null, [
4956
- (G(!0), W(pe, null, Ke((n = f.diffChange) == null ? void 0 : n.changes, (t, i) => (G(), Ie(br, {
4980
+ (z(!0), W(pe, null, Ke((n = f.diffChange) == null ? void 0 : n.changes, (t, i) => (z(), ye(br, {
4957
4981
  key: i,
4958
4982
  line: t,
4959
4983
  onExpand: l
@@ -4966,7 +4990,7 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
4966
4990
  class: "blob-code blob-code-inner blob-code-hunk",
4967
4991
  colspan: "3",
4968
4992
  align: "left"
4969
- }, " ⋯ ", -1), yr = { key: 1 }, Nr = /* @__PURE__ */ B("td", { class: "blob-num blob-num-empty empty-cell" }, null, -1), Ar = /* @__PURE__ */ B("td", { class: "blob-code blob-code-empty empty-cell" }, null, -1), Mr = ["onMousedown"], Tr = ["data-code-marker", "innerHTML"], Sr = /* @__PURE__ */ Ae({
4993
+ }, " ⋯ ", -1), yr = { key: 1 }, Nr = /* @__PURE__ */ B("td", { class: "blob-num blob-num-empty empty-cell" }, null, -1), Ar = /* @__PURE__ */ B("td", { class: "blob-code blob-code-empty empty-cell" }, null, -1), Mr = ["onMousedown"], Tr = ["data-code-marker", "innerHTML"], Dr = /* @__PURE__ */ me({
4970
4994
  __name: "SplitLine",
4971
4995
  props: {
4972
4996
  splitLine: {}
@@ -4975,46 +4999,46 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
4975
4999
  setup(e, { emit: r }) {
4976
5000
  const l = r;
4977
5001
  function f(n) {
4978
- return n === y.DELETE ? "-" : n === y.ADD ? "+" : "";
5002
+ return n === A.DELETE ? "-" : n === A.ADD ? "+" : "";
4979
5003
  }
4980
- function g(n) {
5004
+ function h(n) {
4981
5005
  const t = document.querySelectorAll(".file-diff-split .split-side-left"), i = document.querySelectorAll(".file-diff-split .split-side-right");
4982
5006
  for (const s of i)
4983
5007
  s.classList.toggle("no-select", n === "left");
4984
5008
  for (const s of t)
4985
5009
  s.classList.toggle("no-select", n === "right");
4986
5010
  }
4987
- return (n, t) => n.splitLine.hideIndex !== void 0 && n.splitLine.hide ? (G(), W("tr", vr, [
5011
+ return (n, t) => n.splitLine.hideIndex !== void 0 && n.splitLine.hide ? (z(), W("tr", vr, [
4988
5012
  B("td", {
4989
5013
  class: "blob-num blob-num-hunk",
4990
5014
  colspan: "1",
4991
5015
  onClick: t[0] || (t[0] = (i) => l("expand", n.splitLine))
4992
5016
  }, " > "),
4993
5017
  wr
4994
- ])) : n.splitLine.hide ? ve("", !0) : (G(), W("tr", yr, [
4995
- (G(!0), W(pe, null, Ke([n.splitLine.left, n.splitLine.right], (i, s) => (G(), W(pe, null, [
4996
- i.type === F(y).EMPTY ? (G(), W(pe, { key: 0 }, [
5018
+ ])) : n.splitLine.hide ? we("", !0) : (z(), W("tr", yr, [
5019
+ (z(!0), W(pe, null, Ke([n.splitLine.left, n.splitLine.right], (i, s) => (z(), W(pe, null, [
5020
+ i.type === x(A).EMPTY ? (z(), W(pe, { key: 0 }, [
4997
5021
  Nr,
4998
5022
  Ar
4999
- ], 64)) : (G(), W(pe, { key: 1 }, [
5023
+ ], 64)) : (z(), W(pe, { key: 1 }, [
5000
5024
  B("td", {
5001
- class: me(["blob-num", {
5002
- "blob-num-deletion": i.type === F(y).DELETE,
5003
- "blob-num-addition": i.type === F(y).ADD,
5004
- "blob-num-context": i.type === F(y).EQUAL,
5025
+ class: ve(["blob-num", {
5026
+ "blob-num-deletion": i.type === x(A).DELETE,
5027
+ "blob-num-addition": i.type === x(A).ADD,
5028
+ "blob-num-context": i.type === x(A).EQUAL,
5005
5029
  "blob-num-hunk": n.splitLine.hide !== void 0
5006
5030
  }])
5007
5031
  }, ee(i.num), 3),
5008
5032
  B("td", {
5009
- class: me(["blob-code", {
5010
- "blob-code-deletion": i.type === F(y).DELETE,
5011
- "blob-code-addition": i.type === F(y).ADD,
5012
- "blob-code-context": i.type === F(y).EQUAL,
5033
+ class: ve(["blob-code", {
5034
+ "blob-code-deletion": i.type === x(A).DELETE,
5035
+ "blob-code-addition": i.type === x(A).ADD,
5036
+ "blob-code-context": i.type === x(A).EQUAL,
5013
5037
  "blob-code-hunk": n.splitLine.hide !== void 0,
5014
5038
  "split-side-left": s === 0,
5015
5039
  "split-side-right": s === 1
5016
5040
  }]),
5017
- onMousedown: (a) => g(s === 0 ? "left" : "right")
5041
+ onMousedown: (o) => h(s === 0 ? "left" : "right")
5018
5042
  }, [
5019
5043
  B("span", {
5020
5044
  class: "blob-code-inner blob-code-marker",
@@ -5026,12 +5050,12 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
5026
5050
  ], 64))), 256))
5027
5051
  ]));
5028
5052
  }
5029
- }), Dr = { class: "file-diff-split diff-table" }, Lr = /* @__PURE__ */ B("colgroup", null, [
5053
+ }), Sr = { class: "file-diff-split diff-table" }, Lr = /* @__PURE__ */ B("colgroup", null, [
5030
5054
  /* @__PURE__ */ B("col", { width: "44" }),
5031
5055
  /* @__PURE__ */ B("col"),
5032
5056
  /* @__PURE__ */ B("col", { width: "44" }),
5033
5057
  /* @__PURE__ */ B("col")
5034
- ], -1), Rr = /* @__PURE__ */ Ae({
5058
+ ], -1), Rr = /* @__PURE__ */ me({
5035
5059
  __name: "SplitViewer",
5036
5060
  props: {
5037
5061
  diffChange: {}
@@ -5039,16 +5063,16 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
5039
5063
  setup(e) {
5040
5064
  const r = e;
5041
5065
  function l({ hideIndex: f }) {
5042
- f !== void 0 && r.diffChange.collector[f].lines.forEach((g) => {
5043
- g.hide = !1, g.fold = !1;
5066
+ f !== void 0 && r.diffChange.collector[f].lines.forEach((h) => {
5067
+ h.hide = !1, h.fold = !1;
5044
5068
  });
5045
5069
  }
5046
- return (f, g) => {
5070
+ return (f, h) => {
5047
5071
  var n;
5048
- return G(), W("table", Dr, [
5072
+ return z(), W("table", Sr, [
5049
5073
  Lr,
5050
5074
  B("tbody", null, [
5051
- (G(!0), W(pe, null, Ke((n = f.diffChange) == null ? void 0 : n.changes, (t, i) => (G(), Ie(Sr, {
5075
+ (z(!0), W(pe, null, Ke((n = f.diffChange) == null ? void 0 : n.changes, (t, i) => (z(), ye(Dr, {
5052
5076
  key: i,
5053
5077
  "split-line": t,
5054
5078
  onExpand: l
@@ -5057,10 +5081,10 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
5057
5081
  ]);
5058
5082
  };
5059
5083
  }
5060
- }), Pn = (e, r) => {
5084
+ }), Ve = (e, r) => {
5061
5085
  const l = e.__vccOpts || e;
5062
- for (const [f, g] of r)
5063
- l[f] = g;
5086
+ for (const [f, h] of r)
5087
+ l[f] = h;
5064
5088
  return l;
5065
5089
  }, Or = {
5066
5090
  name: "DownArrowIcon"
@@ -5071,10 +5095,10 @@ const hr = { key: 0 }, dr = /* @__PURE__ */ B("td", {
5071
5095
  }, Ir = /* @__PURE__ */ B("path", { d: "M383.6,322.7L278.6,423c-5.8,6-13.7,9-22.4,9c-8.7,0-16.5-3-22.4-9L128.4,322.7c-12.5-11.9-12.5-31.3,0-43.2 c12.5-11.9,32.7-11.9,45.2,0l50.4,48.2v-217c0-16.9,14.3-30.6,32-30.6c17.7,0,32,13.7,32,30.6v217l50.4-48.2 c12.5-11.9,32.7-11.9,45.2,0C396.1,291.4,396.1,310.7,383.6,322.7z" }, null, -1), kr = [
5072
5096
  Ir
5073
5097
  ];
5074
- function Br(e, r, l, f, g, n) {
5075
- return G(), W("svg", Cr, kr);
5098
+ function Br(e, r, l, f, h, n) {
5099
+ return z(), W("svg", Cr, kr);
5076
5100
  }
5077
- const pn = /* @__PURE__ */ Pn(Or, [["render", Br]]), $r = {
5101
+ const _n = /* @__PURE__ */ Ve(Or, [["render", Br]]), $r = {
5078
5102
  name: "UpArrowIcon"
5079
5103
  }, Pr = {
5080
5104
  width: "1rem",
@@ -5083,11 +5107,10 @@ const pn = /* @__PURE__ */ Pn(Or, [["render", Br]]), $r = {
5083
5107
  }, Ur = /* @__PURE__ */ B("path", { d: "M128.4,189.3L233.4,89c5.8-6,13.7-9,22.4-9c8.7,0,16.5,3,22.4,9l105.4,100.3c12.5,11.9,12.5,31.3,0,43.2 c-12.5,11.9-32.7,11.9-45.2,0L288,184.4v217c0,16.9-14.3,30.6-32,30.6c-17.7,0-32-13.7-32-30.6v-217l-50.4,48.2 c-12.5,11.9-32.7,11.9-45.2,0C115.9,220.6,115.9,201.3,128.4,189.3z" }, null, -1), Hr = [
5084
5108
  Ur
5085
5109
  ];
5086
- function Fr(e, r, l, f, g, n) {
5087
- return G(), W("svg", Pr, Hr);
5110
+ function xr(e, r, l, f, h, n) {
5111
+ return z(), W("svg", Pr, Hr);
5088
5112
  }
5089
- const _n = /* @__PURE__ */ Pn($r, [["render", Fr]]);
5090
- const zr = ["theme"], xr = {
5113
+ const bn = /* @__PURE__ */ Ve($r, [["render", xr]]), Fr = ["theme"], zr = {
5091
5114
  key: 0,
5092
5115
  class: "file-header"
5093
5116
  }, Gr = {
@@ -5102,7 +5125,7 @@ const zr = ["theme"], xr = {
5102
5125
  }, jr = { class: "info-left" }, qr = { class: "info-right" }, Jr = { style: { "margin-left": "20px" } }, ei = { class: "diff-commandbar" }, ni = {
5103
5126
  key: 0,
5104
5127
  class: "diff-stat"
5105
- }, ti = { class: "diff-stat-added" }, ri = { class: "diff-stat-deleted" }, ii = /* @__PURE__ */ Ae({
5128
+ }, ti = { class: "diff-stat-added" }, ri = { class: "diff-stat-deleted" }, Un = /* @__PURE__ */ me({
5106
5129
  __name: "CodeDiff",
5107
5130
  props: {
5108
5131
  newString: {},
@@ -5124,48 +5147,48 @@ const zr = ["theme"], xr = {
5124
5147
  },
5125
5148
  emits: ["diff"],
5126
5149
  setup(e, { emit: r }) {
5127
- const l = e, f = r, g = Ee(() => l.outputFormat === "line-by-line"), n = Ee(() => {
5128
- let h = l.oldString || "";
5129
- return h = l.trim ? h.trim() : h, h = l.noDiffLineFeed ? h.replace(/(\r\n)/g, `
5130
- `) : h, h;
5150
+ const l = e, f = r, h = Ee(() => l.outputFormat === "line-by-line"), n = Ee(() => {
5151
+ let g = l.oldString || "";
5152
+ return g = l.trim ? g.trim() : g, g = l.noDiffLineFeed ? g.replace(/(\r\n)/g, `
5153
+ `) : g, g;
5131
5154
  }), t = Ee(() => {
5132
- let h = l.newString || "";
5133
- return h = l.trim ? h.trim() : h, h = l.noDiffLineFeed ? h.replace(/(\r\n)/g, `
5134
- `) : h, h;
5155
+ let g = l.newString || "";
5156
+ return g = l.trim ? g.trim() : g, g = l.noDiffLineFeed ? g.replace(/(\r\n)/g, `
5157
+ `) : g, g;
5135
5158
  }), i = Ee(
5136
- () => g.value ? gr(n.value, t.value, l.language, l.diffStyle, l.forceInlineComparison, l.context, l.ignoreMatchingLines) : fr(n.value, t.value, l.language, l.diffStyle, l.forceInlineComparison, l.context, l.ignoreMatchingLines)
5137
- ), s = nn(i.value), a = Ee(() => s.value.stat.additionsNum === 0 && s.value.stat.deletionsNum === 0), o = nn(-1);
5159
+ () => h.value ? gr(n.value, t.value, l.language, l.diffStyle, l.forceInlineComparison, l.context, l.ignoreMatchingLines) : fr(n.value, t.value, l.language, l.diffStyle, l.forceInlineComparison, l.context, l.ignoreMatchingLines)
5160
+ ), s = tn(i.value), o = Ee(() => s.value.stat.additionsNum === 0 && s.value.stat.deletionsNum === 0), a = tn(-1);
5138
5161
  function c() {
5139
- const h = document.querySelectorAll(".blob-code-addition");
5140
- o.value < h.length - 1 && (o.value++, d(h));
5162
+ const g = document.querySelectorAll(".blob-code-addition");
5163
+ a.value < g.length - 1 && (a.value++, d(g));
5141
5164
  }
5142
5165
  function u() {
5143
- const h = document.querySelectorAll(".blob-code-addition");
5144
- o.value > 0 && (o.value--, d(h));
5166
+ const g = document.querySelectorAll(".blob-code-addition");
5167
+ a.value > 0 && (a.value--, d(g));
5145
5168
  }
5146
- function d(h) {
5147
- h.forEach((_) => _.classList.remove("current-diff"));
5148
- const p = h[o.value];
5169
+ function d(g) {
5170
+ g.forEach((_) => _.classList.remove("current-diff"));
5171
+ const p = g[a.value];
5149
5172
  p && (p.classList.add("current-diff"), p.scrollIntoView({ behavior: "smooth", block: "center" }));
5150
5173
  }
5151
- return Wn(() => l, () => {
5174
+ return Qn(() => l, () => {
5152
5175
  s.value = i.value, f("diff", {
5153
5176
  stat: {
5154
- isChanged: !a.value,
5177
+ isChanged: !o.value,
5155
5178
  addNum: s.value.stat.additionsNum,
5156
5179
  delNum: s.value.stat.deletionsNum
5157
5180
  }
5158
5181
  });
5159
- }, { deep: !0, immediate: !0 }), (h, p) => (G(), W("div", {
5182
+ }, { deep: !0, immediate: !0 }), (g, p) => (z(), W("div", {
5160
5183
  class: "code-diff-view",
5161
- theme: h.theme,
5162
- style: Qn({ maxHeight: h.maxHeight })
5184
+ theme: g.theme,
5185
+ style: Zn({ maxHeight: g.maxHeight })
5163
5186
  }, [
5164
- h.hideHeader ? ve("", !0) : (G(), W("div", xr, [
5165
- F(g) ? (G(), W("div", Gr, [
5187
+ g.hideHeader ? we("", !0) : (z(), W("div", zr, [
5188
+ x(h) ? (z(), W("div", Gr, [
5166
5189
  B("span", null, [
5167
- B("div", Kr, ee(h.filename), 1),
5168
- B("div", Wr, ee(h.newFilename), 1)
5190
+ B("div", Kr, ee(g.filename), 1),
5191
+ B("div", Wr, ee(g.newFilename), 1)
5169
5192
  ]),
5170
5193
  B("span", Qr, [
5171
5194
  B("button", {
@@ -5173,74 +5196,89 @@ const zr = ["theme"], xr = {
5173
5196
  title: "Next Change",
5174
5197
  onClick: c
5175
5198
  }, [
5176
- De(pn)
5199
+ Le(_n)
5177
5200
  ]),
5178
5201
  B("button", {
5179
5202
  class: "command-item-button",
5180
5203
  title: "Previous Change",
5181
5204
  onClick: u
5182
5205
  }, [
5183
- De(_n)
5206
+ Le(bn)
5184
5207
  ])
5185
5208
  ]),
5186
- h.hideStat ? ve("", !0) : (G(), W("span", Zr, [
5187
- tn(h.$slots, "stat", {
5188
- stat: F(s).stat
5209
+ g.hideStat ? we("", !0) : (z(), W("span", Zr, [
5210
+ rn(g.$slots, "stat", {
5211
+ stat: x(s).stat
5189
5212
  }, () => [
5190
- B("span", Yr, "+" + ee(F(s).stat.additionsNum) + " additions", 1),
5191
- B("span", Xr, "-" + ee(F(s).stat.deletionsNum) + " deletions", 1)
5213
+ B("span", Yr, "+" + ee(x(s).stat.additionsNum) + " additions", 1),
5214
+ B("span", Xr, "-" + ee(x(s).stat.deletionsNum) + " deletions", 1)
5192
5215
  ])
5193
5216
  ]))
5194
- ])) : (G(), W("div", Vr, [
5195
- B("span", jr, ee(h.filename), 1),
5217
+ ])) : (z(), W("div", Vr, [
5218
+ B("span", jr, ee(g.filename), 1),
5196
5219
  B("span", qr, [
5197
- B("span", Jr, ee(h.newFilename), 1),
5220
+ B("span", Jr, ee(g.newFilename), 1),
5198
5221
  B("span", ei, [
5199
5222
  B("button", {
5200
5223
  class: "command-item-button",
5201
5224
  title: "Next Change",
5202
5225
  onClick: c
5203
5226
  }, [
5204
- De(pn)
5227
+ Le(_n)
5205
5228
  ]),
5206
5229
  B("button", {
5207
5230
  class: "command-item-button",
5208
5231
  title: "Previous Change",
5209
5232
  onClick: u
5210
5233
  }, [
5211
- De(_n)
5234
+ Le(bn)
5212
5235
  ])
5213
5236
  ]),
5214
- h.hideStat ? ve("", !0) : (G(), W("span", ni, [
5215
- tn(h.$slots, "stat", {
5216
- stat: F(s).stat
5237
+ g.hideStat ? we("", !0) : (z(), W("span", ni, [
5238
+ rn(g.$slots, "stat", {
5239
+ stat: x(s).stat
5217
5240
  }, () => [
5218
- B("span", ti, "+" + ee(F(s).stat.additionsNum) + " additions", 1),
5219
- B("span", ri, "-" + ee(F(s).stat.deletionsNum) + " deletions", 1)
5241
+ B("span", ti, "+" + ee(x(s).stat.additionsNum) + " additions", 1),
5242
+ B("span", ri, "-" + ee(x(s).stat.deletionsNum) + " deletions", 1)
5220
5243
  ])
5221
5244
  ]))
5222
5245
  ])
5223
5246
  ]))
5224
5247
  ])),
5225
- F(g) ? (G(), Ie(mr, {
5248
+ x(h) ? (z(), ye(Er, {
5226
5249
  key: 1,
5227
- "diff-change": F(s)
5228
- }, null, 8, ["diff-change"])) : (G(), Ie(Rr, {
5250
+ "diff-change": x(s)
5251
+ }, null, 8, ["diff-change"])) : (z(), ye(Rr, {
5229
5252
  key: 2,
5230
- "diff-change": F(s)
5253
+ "diff-change": x(s)
5231
5254
  }, null, 8, ["diff-change"]))
5232
- ], 12, zr));
5255
+ ], 12, Fr));
5233
5256
  }
5234
- });
5235
- function si(e) {
5236
- e.component("CodeDiff", ii);
5257
+ }), ii = /* @__PURE__ */ me({
5258
+ __name: "CodeReader",
5259
+ props: {
5260
+ language: { default: "plaintext" },
5261
+ text: {}
5262
+ },
5263
+ setup(e) {
5264
+ return (r, l) => (z(), ye(Un, {
5265
+ "hide-header": "",
5266
+ language: r.language,
5267
+ "old-string": r.text,
5268
+ "new-string": r.text
5269
+ }, null, 8, ["language", "old-string", "new-string"]));
5270
+ }
5271
+ }), si = /* @__PURE__ */ Ve(ii, [["__scopeId", "data-v-0c5adc58"]]);
5272
+ function ai(e) {
5273
+ e.component("CodeDiff", Un), e.component("CodeReader", si);
5237
5274
  }
5238
- const oi = {
5239
- install: si,
5275
+ const li = {
5276
+ install: ai,
5240
5277
  hljs: q
5241
5278
  };
5242
5279
  export {
5243
- ii as CodeDiff,
5244
- oi as default,
5280
+ Un as CodeDiff,
5281
+ si as CodeReader,
5282
+ li as default,
5245
5283
  q as hljs
5246
5284
  };