v-code-diff 1.10.0 → 1.11.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,5 +1,5 @@
1
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{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 table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .file-diff-split .no-select{user-select:none}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import Cn, { defineComponent as pe, computed as ge, ref as Ln, watch as On } from "vue";
2
+ import Cn, { defineComponent as _e, computed as ge, ref as Ln, watch as On } from "vue";
3
3
  Cn.util.warn;
4
4
  function ne() {
5
5
  }
@@ -8,10 +8,10 @@ ne.prototype = {
8
8
  var u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, g = u.callback;
9
9
  typeof u == "function" && (g = u, u = {}), this.options = u;
10
10
  var t = this;
11
- function r(_) {
11
+ function r(p) {
12
12
  return g ? (setTimeout(function() {
13
- g(void 0, _);
14
- }, 0), !0) : _;
13
+ g(void 0, p);
14
+ }, 0), !0) : p;
15
15
  }
16
16
  e = this.castInput(e), a = this.castInput(a), e = this.removeEmpty(this.tokenize(e)), a = this.removeEmpty(this.tokenize(a));
17
17
  var i = a.length, s = e.length, o = 1, l = i + s;
@@ -26,26 +26,26 @@ ne.prototype = {
26
26
  count: a.length
27
27
  }]);
28
28
  function h() {
29
- for (var _ = -1 * o; _ <= o; _ += 2) {
30
- var p = void 0, E = c[_ - 1], b = c[_ + 1], y = (b ? b.newPos : 0) - _;
31
- E && (c[_ - 1] = void 0);
32
- var A = E && E.newPos + 1 < i, R = b && 0 <= y && y < s;
33
- if (!A && !R) {
34
- c[_] = void 0;
29
+ for (var p = -1 * o; p <= o; p += 2) {
30
+ var _ = void 0, v = c[p - 1], E = c[p + 1], m = (E ? E.newPos : 0) - p;
31
+ v && (c[p - 1] = void 0);
32
+ var N = v && v.newPos + 1 < i, D = E && 0 <= m && m < s;
33
+ if (!N && !D) {
34
+ c[p] = void 0;
35
35
  continue;
36
36
  }
37
- if (!A || R && E.newPos < b.newPos ? (p = kn(b), t.pushComponent(p.components, void 0, !0)) : (p = E, p.newPos++, t.pushComponent(p.components, !0, void 0)), y = t.extractCommon(p, a, e, _), p.newPos + 1 >= i && y + 1 >= s)
38
- return r(In(t, p.components, a, e, t.useLongestToken));
39
- c[_] = p;
37
+ if (!N || D && v.newPos < E.newPos ? (_ = kn(E), t.pushComponent(_.components, void 0, !0)) : (_ = v, _.newPos++, t.pushComponent(_.components, !0, void 0)), m = t.extractCommon(_, a, e, p), _.newPos + 1 >= i && m + 1 >= s)
38
+ return r(In(t, _.components, a, e, t.useLongestToken));
39
+ c[p] = _;
40
40
  }
41
41
  o++;
42
42
  }
43
43
  if (g)
44
- (function _() {
44
+ (function p() {
45
45
  setTimeout(function() {
46
46
  if (o > l)
47
47
  return g();
48
- h() || _();
48
+ h() || p();
49
49
  }, 0);
50
50
  })();
51
51
  else
@@ -104,8 +104,8 @@ function In(n, e, a, u, g) {
104
104
  if (!o.added && g) {
105
105
  var l = a.slice(i, i + o.count);
106
106
  l = l.map(function(h, d) {
107
- var _ = u[s + d];
108
- return _.length > h.length ? _ : h;
107
+ var p = u[s + d];
108
+ return p.length > h.length ? p : h;
109
109
  }), o.value = n.join(l);
110
110
  } else
111
111
  o.value = n.join(a.slice(i, i + o.count));
@@ -263,10 +263,10 @@ var rn = { exports: {} };
263
263
  ];
264
264
  var h = this.diff_halfMatch_(t, r);
265
265
  if (h) {
266
- var d = h[0], _ = h[1], p = h[2], E = h[3], b = h[4], y = this.diff_main(d, p, i, s), A = this.diff_main(_, E, i, s);
267
- return y.concat(
268
- [new e.Diff(g, b)],
269
- A
266
+ var d = h[0], p = h[1], _ = h[2], v = h[3], E = h[4], m = this.diff_main(d, _, i, s), N = this.diff_main(p, v, i, s);
267
+ return m.concat(
268
+ [new e.Diff(g, E)],
269
+ N
270
270
  );
271
271
  }
272
272
  return i && t.length > 100 && r.length > 100 ? this.diff_lineMode_(t, r, s) : this.diff_bisect_(t, r, s);
@@ -275,10 +275,10 @@ var rn = { exports: {} };
275
275
  t = s.chars1, r = s.chars2;
276
276
  var o = s.lineArray, l = this.diff_main(t, r, !1, i);
277
277
  this.diff_charsToLines_(l, o), this.diff_cleanupSemantic(l), l.push(new e.Diff(g, ""));
278
- for (var c = 0, f = 0, h = 0, d = "", _ = ""; c < l.length; ) {
278
+ for (var c = 0, f = 0, h = 0, d = "", p = ""; c < l.length; ) {
279
279
  switch (l[c][0]) {
280
280
  case u:
281
- h++, _ += l[c][1];
281
+ h++, p += l[c][1];
282
282
  break;
283
283
  case a:
284
284
  f++, d += l[c][1];
@@ -289,54 +289,54 @@ var rn = { exports: {} };
289
289
  c - f - h,
290
290
  f + h
291
291
  ), c = c - f - h;
292
- for (var p = this.diff_main(d, _, !1, i), E = p.length - 1; E >= 0; E--)
293
- l.splice(c, 0, p[E]);
294
- c = c + p.length;
292
+ for (var _ = this.diff_main(d, p, !1, i), v = _.length - 1; v >= 0; v--)
293
+ l.splice(c, 0, _[v]);
294
+ c = c + _.length;
295
295
  }
296
- h = 0, f = 0, d = "", _ = "";
296
+ h = 0, f = 0, d = "", p = "";
297
297
  break;
298
298
  }
299
299
  c++;
300
300
  }
301
301
  return l.pop(), l;
302
302
  }, e.prototype.diff_bisect_ = function(t, r, i) {
303
- for (var s = t.length, o = r.length, l = Math.ceil((s + o) / 2), c = l, f = 2 * l, h = new Array(f), d = new Array(f), _ = 0; _ < f; _++)
304
- h[_] = -1, d[_] = -1;
303
+ for (var s = t.length, o = r.length, l = Math.ceil((s + o) / 2), c = l, f = 2 * l, h = new Array(f), d = new Array(f), p = 0; p < f; p++)
304
+ h[p] = -1, d[p] = -1;
305
305
  h[c + 1] = 0, d[c + 1] = 0;
306
- for (var p = s - o, E = p % 2 != 0, b = 0, y = 0, A = 0, R = 0, w = 0; w < l && !((/* @__PURE__ */ new Date()).getTime() > i); w++) {
307
- for (var D = -w + b; D <= w - y; D += 2) {
308
- var C = c + D, T;
309
- D == -w || D != w && h[C - 1] < h[C + 1] ? T = h[C + 1] : T = h[C - 1] + 1;
310
- for (var $ = T - D; T < s && $ < o && t.charAt(T) == r.charAt($); )
311
- T++, $++;
312
- if (h[C] = T, T > s)
313
- y += 2;
314
- else if ($ > o)
315
- b += 2;
316
- else if (E) {
317
- var k = c + p - D;
318
- if (k >= 0 && k < f && d[k] != -1) {
319
- var P = s - d[k];
320
- if (T >= P)
321
- return this.diff_bisectSplit_(t, r, T, $, i);
306
+ for (var _ = s - o, v = _ % 2 != 0, E = 0, m = 0, N = 0, D = 0, S = 0; S < l && !((/* @__PURE__ */ new Date()).getTime() > i); S++) {
307
+ for (var A = -S + E; A <= S - m; A += 2) {
308
+ var C = c + A, R;
309
+ A == -S || A != S && h[C - 1] < h[C + 1] ? R = h[C + 1] : R = h[C - 1] + 1;
310
+ for (var I = R - A; R < s && I < o && t.charAt(R) == r.charAt(I); )
311
+ R++, I++;
312
+ if (h[C] = R, R > s)
313
+ m += 2;
314
+ else if (I > o)
315
+ E += 2;
316
+ else if (v) {
317
+ var $ = c + _ - A;
318
+ if ($ >= 0 && $ < f && d[$] != -1) {
319
+ var B = s - d[$];
320
+ if (R >= B)
321
+ return this.diff_bisectSplit_(t, r, R, I, i);
322
322
  }
323
323
  }
324
324
  }
325
- for (var F = -w + A; F <= w - R; F += 2) {
326
- var k = c + F, P;
327
- F == -w || F != w && d[k - 1] < d[k + 1] ? P = d[k + 1] : P = d[k - 1] + 1;
328
- for (var K = P - F; P < s && K < o && t.charAt(s - P - 1) == r.charAt(o - K - 1); )
329
- P++, K++;
330
- if (d[k] = P, P > s)
331
- R += 2;
325
+ for (var F = -S + N; F <= S - D; F += 2) {
326
+ var $ = c + F, B;
327
+ F == -S || F != S && d[$ - 1] < d[$ + 1] ? B = d[$ + 1] : B = d[$ - 1] + 1;
328
+ for (var K = B - F; B < s && K < o && t.charAt(s - B - 1) == r.charAt(o - K - 1); )
329
+ B++, K++;
330
+ if (d[$] = B, B > s)
331
+ D += 2;
332
332
  else if (K > o)
333
- A += 2;
334
- else if (!E) {
335
- var C = c + p - F;
333
+ N += 2;
334
+ else if (!v) {
335
+ var C = c + _ - F;
336
336
  if (C >= 0 && C < f && h[C] != -1) {
337
- var T = h[C], $ = c + T - C;
338
- if (P = s - P, T >= P)
339
- return this.diff_bisectSplit_(t, r, T, $, i);
337
+ var R = h[C], I = c + R - C;
338
+ if (B = s - B, R >= B)
339
+ return this.diff_bisectSplit_(t, r, R, I, i);
340
340
  }
341
341
  }
342
342
  }
@@ -346,17 +346,17 @@ var rn = { exports: {} };
346
346
  new e.Diff(u, r)
347
347
  ];
348
348
  }, e.prototype.diff_bisectSplit_ = function(t, r, i, s, o) {
349
- var l = t.substring(0, i), c = r.substring(0, s), f = t.substring(i), h = r.substring(s), d = this.diff_main(l, c, !1, o), _ = this.diff_main(f, h, !1, o);
350
- return d.concat(_);
349
+ var l = t.substring(0, i), c = r.substring(0, s), f = t.substring(i), h = r.substring(s), d = this.diff_main(l, c, !1, o), p = this.diff_main(f, h, !1, o);
350
+ return d.concat(p);
351
351
  }, e.prototype.diff_linesToChars_ = function(t, r) {
352
352
  var i = [], s = {};
353
353
  i[0] = "";
354
354
  function o(h) {
355
- for (var d = "", _ = 0, p = -1, E = i.length; p < h.length - 1; ) {
356
- p = h.indexOf(`
357
- `, _), p == -1 && (p = h.length - 1);
358
- var b = h.substring(_, p + 1);
359
- (s.hasOwnProperty ? s.hasOwnProperty(b) : s[b] !== void 0) ? d += String.fromCharCode(s[b]) : (E == l && (b = h.substring(_), p = h.length), d += String.fromCharCode(E), s[b] = E, i[E++] = b), _ = p + 1;
355
+ for (var d = "", p = 0, _ = -1, v = i.length; _ < h.length - 1; ) {
356
+ _ = h.indexOf(`
357
+ `, p), _ == -1 && (_ = h.length - 1);
358
+ var E = h.substring(p, _ + 1);
359
+ (s.hasOwnProperty ? s.hasOwnProperty(E) : s[E] !== void 0) ? d += String.fromCharCode(s[E]) : (v == l && (E = h.substring(p), _ = h.length), d += String.fromCharCode(v), s[E] = v, i[v++] = E), p = _ + 1;
360
360
  }
361
361
  return d;
362
362
  }
@@ -403,22 +403,22 @@ var rn = { exports: {} };
403
403
  if (i.length < 4 || s.length * 2 < i.length)
404
404
  return null;
405
405
  var o = this;
406
- function l(y, A, R) {
407
- for (var w = y.substring(R, R + Math.floor(y.length / 4)), D = -1, C = "", T, $, k, P; (D = A.indexOf(w, D + 1)) != -1; ) {
406
+ function l(m, N, D) {
407
+ for (var S = m.substring(D, D + Math.floor(m.length / 4)), A = -1, C = "", R, I, $, B; (A = N.indexOf(S, A + 1)) != -1; ) {
408
408
  var F = o.diff_commonPrefix(
409
- y.substring(R),
410
- A.substring(D)
409
+ m.substring(D),
410
+ N.substring(A)
411
411
  ), K = o.diff_commonSuffix(
412
- y.substring(0, R),
413
- A.substring(0, D)
412
+ m.substring(0, D),
413
+ N.substring(0, A)
414
414
  );
415
- C.length < K + F && (C = A.substring(D - K, D) + A.substring(D, D + F), T = y.substring(0, R - K), $ = y.substring(R + F), k = A.substring(0, D - K), P = A.substring(D + F));
415
+ C.length < K + F && (C = N.substring(A - K, A) + N.substring(A, A + F), R = m.substring(0, D - K), I = m.substring(D + F), $ = N.substring(0, A - K), B = N.substring(A + F));
416
416
  }
417
- return C.length * 2 >= y.length ? [
418
- T,
417
+ return C.length * 2 >= m.length ? [
418
+ R,
419
+ I,
419
420
  $,
420
- k,
421
- P,
421
+ B,
422
422
  C
423
423
  ] : null;
424
424
  }
@@ -434,10 +434,10 @@ var rn = { exports: {} };
434
434
  if (!c && !f)
435
435
  return null;
436
436
  f ? c ? h = c[4].length > f[4].length ? c : f : h = f : h = c;
437
- var d, _, p, E;
438
- t.length > r.length ? (d = h[0], _ = h[1], p = h[2], E = h[3]) : (p = h[0], E = h[1], d = h[2], _ = h[3]);
439
- var b = h[4];
440
- return [d, _, p, E, b];
437
+ var d, p, _, v;
438
+ t.length > r.length ? (d = h[0], p = h[1], _ = h[2], v = h[3]) : (_ = h[0], v = h[1], d = h[2], p = h[3]);
439
+ var E = h[4];
440
+ return [d, p, _, v, E];
441
441
  }, e.prototype.diff_cleanupSemantic = function(t) {
442
442
  for (var r = !1, i = [], s = 0, o = null, l = 0, c = 0, f = 0, h = 0, d = 0; l < t.length; )
443
443
  t[l][0] == g ? (i[s++] = l, c = h, f = d, h = 0, d = 0, o = t[l][1]) : (t[l][0] == u ? h += t[l][1].length : d += t[l][1].length, o && o.length <= Math.max(c, f) && o.length <= Math.max(
@@ -450,23 +450,23 @@ var rn = { exports: {} };
450
450
  ), t[i[s - 1] + 1][0] = u, s--, s--, l = s > 0 ? i[s - 1] : -1, c = 0, f = 0, h = 0, d = 0, o = null, r = !0)), l++;
451
451
  for (r && this.diff_cleanupMerge(t), this.diff_cleanupSemanticLossless(t), l = 1; l < t.length; ) {
452
452
  if (t[l - 1][0] == a && t[l][0] == u) {
453
- var _ = t[l - 1][1], p = t[l][1], E = this.diff_commonOverlap_(_, p), b = this.diff_commonOverlap_(p, _);
454
- E >= b ? (E >= _.length / 2 || E >= p.length / 2) && (t.splice(l, 0, new e.Diff(
453
+ var p = t[l - 1][1], _ = t[l][1], v = this.diff_commonOverlap_(p, _), E = this.diff_commonOverlap_(_, p);
454
+ v >= E ? (v >= p.length / 2 || v >= _.length / 2) && (t.splice(l, 0, new e.Diff(
455
455
  g,
456
- p.substring(0, E)
457
- )), t[l - 1][1] = _.substring(0, _.length - E), t[l + 1][1] = p.substring(E), l++) : (b >= _.length / 2 || b >= p.length / 2) && (t.splice(l, 0, new e.Diff(
456
+ _.substring(0, v)
457
+ )), t[l - 1][1] = p.substring(0, p.length - v), t[l + 1][1] = _.substring(v), l++) : (E >= p.length / 2 || E >= _.length / 2) && (t.splice(l, 0, new e.Diff(
458
458
  g,
459
- _.substring(0, b)
460
- )), t[l - 1][0] = u, t[l - 1][1] = p.substring(0, p.length - b), t[l + 1][0] = a, t[l + 1][1] = _.substring(b), l++), l++;
459
+ p.substring(0, E)
460
+ )), t[l - 1][0] = u, t[l - 1][1] = _.substring(0, _.length - E), t[l + 1][0] = a, t[l + 1][1] = p.substring(E), l++), l++;
461
461
  }
462
462
  l++;
463
463
  }
464
464
  }, e.prototype.diff_cleanupSemanticLossless = function(t) {
465
- function r(b, y) {
466
- if (!b || !y)
465
+ function r(E, m) {
466
+ if (!E || !m)
467
467
  return 6;
468
- var A = b.charAt(b.length - 1), R = y.charAt(0), w = A.match(e.nonAlphaNumericRegex_), D = R.match(e.nonAlphaNumericRegex_), C = w && A.match(e.whitespaceRegex_), T = D && R.match(e.whitespaceRegex_), $ = C && A.match(e.linebreakRegex_), k = T && R.match(e.linebreakRegex_), P = $ && b.match(e.blanklineEndRegex_), F = k && y.match(e.blanklineStartRegex_);
469
- return P || F ? 5 : $ || k ? 4 : w && !C && T ? 3 : C || T ? 2 : w || D ? 1 : 0;
468
+ var N = E.charAt(E.length - 1), D = m.charAt(0), S = N.match(e.nonAlphaNumericRegex_), A = D.match(e.nonAlphaNumericRegex_), C = S && N.match(e.whitespaceRegex_), R = A && D.match(e.whitespaceRegex_), I = C && N.match(e.linebreakRegex_), $ = R && D.match(e.linebreakRegex_), B = I && E.match(e.blanklineEndRegex_), F = $ && m.match(e.blanklineStartRegex_);
469
+ return B || F ? 5 : I || $ ? 4 : S && !C && R ? 3 : C || R ? 2 : S || A ? 1 : 0;
470
470
  }
471
471
  for (var i = 1; i < t.length - 1; ) {
472
472
  if (t[i - 1][0] == g && t[i + 1][0] == g) {
@@ -475,12 +475,12 @@ var rn = { exports: {} };
475
475
  var f = o.substring(o.length - c);
476
476
  s = s.substring(0, s.length - c), o = f + o.substring(0, o.length - c), l = f + l;
477
477
  }
478
- for (var h = s, d = o, _ = l, p = r(s, o) + r(o, l); o.charAt(0) === l.charAt(0); ) {
478
+ for (var h = s, d = o, p = l, _ = r(s, o) + r(o, l); o.charAt(0) === l.charAt(0); ) {
479
479
  s += o.charAt(0), o = o.substring(1) + l.charAt(0), l = l.substring(1);
480
- var E = r(s, o) + r(o, l);
481
- E >= p && (p = E, h = s, d = o, _ = l);
480
+ var v = r(s, o) + r(o, l);
481
+ v >= _ && (_ = v, h = s, d = o, p = l);
482
482
  }
483
- t[i - 1][1] != h && (h ? t[i - 1][1] = h : (t.splice(i - 1, 1), i--), t[i][1] = d, _ ? t[i + 1][1] = _ : (t.splice(i + 1, 1), i--));
483
+ t[i - 1][1] != h && (h ? t[i - 1][1] = h : (t.splice(i - 1, 1), i--), t[i][1] = d, p ? t[i + 1][1] = p : (t.splice(i + 1, 1), i--));
484
484
  }
485
485
  i++;
486
486
  }
@@ -588,7 +588,7 @@ var rn = { exports: {} };
588
588
  case "+":
589
589
  try {
590
590
  i[s++] = new e.Diff(u, decodeURI(f));
591
- } catch (_) {
591
+ } catch (p) {
592
592
  throw new Error("Illegal escape in diff_fromDelta: " + f);
593
593
  }
594
594
  break;
@@ -616,34 +616,34 @@ var rn = { exports: {} };
616
616
  if (r.length > this.Match_MaxBits)
617
617
  throw new Error("Pattern too long for this browser.");
618
618
  var s = this.match_alphabet_(r), o = this;
619
- function l(T, $) {
620
- var k = T / r.length, P = Math.abs(i - $);
621
- return o.Match_Distance ? k + P / o.Match_Distance : P ? 1 : k;
619
+ function l(R, I) {
620
+ var $ = R / r.length, B = Math.abs(i - I);
621
+ return o.Match_Distance ? $ + B / o.Match_Distance : B ? 1 : $;
622
622
  }
623
623
  var c = this.Match_Threshold, f = t.indexOf(r, i);
624
624
  f != -1 && (c = Math.min(l(0, f), c), f = t.lastIndexOf(r, i + r.length), f != -1 && (c = Math.min(l(0, f), c)));
625
625
  var h = 1 << r.length - 1;
626
626
  f = -1;
627
- for (var d, _, p = r.length + t.length, E, b = 0; b < r.length; b++) {
628
- for (d = 0, _ = p; d < _; )
629
- l(b, i + _) <= c ? d = _ : p = _, _ = Math.floor((p - d) / 2 + d);
630
- p = _;
631
- var y = Math.max(1, i - _ + 1), A = Math.min(i + _, t.length) + r.length, R = Array(A + 2);
632
- R[A + 1] = (1 << b) - 1;
633
- for (var w = A; w >= y; w--) {
634
- var D = s[t.charAt(w - 1)];
635
- if (b === 0 ? R[w] = (R[w + 1] << 1 | 1) & D : R[w] = (R[w + 1] << 1 | 1) & D | ((E[w + 1] | E[w]) << 1 | 1) | E[w + 1], R[w] & h) {
636
- var C = l(b, w - 1);
627
+ for (var d, p, _ = r.length + t.length, v, E = 0; E < r.length; E++) {
628
+ for (d = 0, p = _; d < p; )
629
+ l(E, i + p) <= c ? d = p : _ = p, p = Math.floor((_ - d) / 2 + d);
630
+ _ = p;
631
+ var m = Math.max(1, i - p + 1), N = Math.min(i + p, t.length) + r.length, D = Array(N + 2);
632
+ D[N + 1] = (1 << E) - 1;
633
+ for (var S = N; S >= m; S--) {
634
+ var A = s[t.charAt(S - 1)];
635
+ if (E === 0 ? D[S] = (D[S + 1] << 1 | 1) & A : D[S] = (D[S + 1] << 1 | 1) & A | ((v[S + 1] | v[S]) << 1 | 1) | v[S + 1], D[S] & h) {
636
+ var C = l(E, S - 1);
637
637
  if (C <= c)
638
- if (c = C, f = w - 1, f > i)
639
- y = Math.max(1, 2 * i - f);
638
+ if (c = C, f = S - 1, f > i)
639
+ m = Math.max(1, 2 * i - f);
640
640
  else
641
641
  break;
642
642
  }
643
643
  }
644
- if (l(b + 1, i) > c)
644
+ if (l(E + 1, i) > c)
645
645
  break;
646
- E = R;
646
+ v = D;
647
647
  }
648
648
  return f;
649
649
  }, e.prototype.match_alphabet_ = function(t) {
@@ -695,22 +695,22 @@ var rn = { exports: {} };
695
695
  throw new Error("Unknown call format to patch_make.");
696
696
  if (o.length === 0)
697
697
  return [];
698
- for (var l = [], c = new e.patch_obj(), f = 0, h = 0, d = 0, _ = s, p = s, E = 0; E < o.length; E++) {
699
- var b = o[E][0], y = o[E][1];
700
- switch (!f && b !== g && (c.start1 = h, c.start2 = d), b) {
698
+ for (var l = [], c = new e.patch_obj(), f = 0, h = 0, d = 0, p = s, _ = s, v = 0; v < o.length; v++) {
699
+ var E = o[v][0], m = o[v][1];
700
+ switch (!f && E !== g && (c.start1 = h, c.start2 = d), E) {
701
701
  case u:
702
- c.diffs[f++] = o[E], c.length2 += y.length, p = p.substring(0, d) + y + p.substring(d);
702
+ c.diffs[f++] = o[v], c.length2 += m.length, _ = _.substring(0, d) + m + _.substring(d);
703
703
  break;
704
704
  case a:
705
- c.length1 += y.length, c.diffs[f++] = o[E], p = p.substring(0, d) + p.substring(d + y.length);
705
+ c.length1 += m.length, c.diffs[f++] = o[v], _ = _.substring(0, d) + _.substring(d + m.length);
706
706
  break;
707
707
  case g:
708
- y.length <= 2 * this.Patch_Margin && f && o.length != E + 1 ? (c.diffs[f++] = o[E], c.length1 += y.length, c.length2 += y.length) : y.length >= 2 * this.Patch_Margin && f && (this.patch_addContext_(c, _), l.push(c), c = new e.patch_obj(), f = 0, _ = p, h = d);
708
+ m.length <= 2 * this.Patch_Margin && f && o.length != v + 1 ? (c.diffs[f++] = o[v], c.length1 += m.length, c.length2 += m.length) : m.length >= 2 * this.Patch_Margin && f && (this.patch_addContext_(c, p), l.push(c), c = new e.patch_obj(), f = 0, p = _, h = d);
709
709
  break;
710
710
  }
711
- b !== u && (h += y.length), b !== a && (d += y.length);
711
+ E !== u && (h += m.length), E !== a && (d += m.length);
712
712
  }
713
- return f && (this.patch_addContext_(c, _), l.push(c)), l;
713
+ return f && (this.patch_addContext_(c, p), l.push(c)), l;
714
714
  }, e.prototype.patch_deepCopy = function(t) {
715
715
  for (var r = [], i = 0; i < t.length; i++) {
716
716
  var s = t[i], o = new e.patch_obj();
@@ -740,21 +740,21 @@ var rn = { exports: {} };
740
740
  o[l] = !1, s -= t[l].length2 - t[l].length1;
741
741
  else {
742
742
  o[l] = !0, s = h - c;
743
- var _;
744
- if (d == -1 ? _ = r.substring(h, h + f.length) : _ = r.substring(h, d + this.Match_MaxBits), f == _)
743
+ var p;
744
+ if (d == -1 ? p = r.substring(h, h + f.length) : p = r.substring(h, d + this.Match_MaxBits), f == p)
745
745
  r = r.substring(0, h) + this.diff_text2(t[l].diffs) + r.substring(h + f.length);
746
746
  else {
747
- var p = this.diff_main(f, _, !1);
748
- if (f.length > this.Match_MaxBits && this.diff_levenshtein(p) / f.length > this.Patch_DeleteThreshold)
747
+ var _ = this.diff_main(f, p, !1);
748
+ if (f.length > this.Match_MaxBits && this.diff_levenshtein(_) / f.length > this.Patch_DeleteThreshold)
749
749
  o[l] = !1;
750
750
  else {
751
- this.diff_cleanupSemanticLossless(p);
752
- for (var E = 0, b, y = 0; y < t[l].diffs.length; y++) {
753
- var A = t[l].diffs[y];
754
- A[0] !== g && (b = this.diff_xIndex(p, E)), A[0] === u ? r = r.substring(0, h + b) + A[1] + r.substring(h + b) : A[0] === a && (r = r.substring(0, h + b) + r.substring(h + this.diff_xIndex(
755
- p,
756
- E + A[1].length
757
- ))), A[0] !== a && (E += A[1].length);
751
+ this.diff_cleanupSemanticLossless(_);
752
+ for (var v = 0, E, m = 0; m < t[l].diffs.length; m++) {
753
+ var N = t[l].diffs[m];
754
+ N[0] !== g && (E = this.diff_xIndex(_, v)), N[0] === u ? r = r.substring(0, h + E) + N[1] + r.substring(h + E) : N[0] === a && (r = r.substring(0, h + E) + r.substring(h + this.diff_xIndex(
755
+ _,
756
+ v + N[1].length
757
+ ))), N[0] !== a && (v += N[1].length);
758
758
  }
759
759
  }
760
760
  }
@@ -788,15 +788,15 @@ var rn = { exports: {} };
788
788
  for (var o = s.start1, l = s.start2, c = ""; s.diffs.length !== 0; ) {
789
789
  var f = new e.patch_obj(), h = !0;
790
790
  for (f.start1 = o - c.length, f.start2 = l - c.length, c !== "" && (f.length1 = f.length2 = c.length, f.diffs.push(new e.Diff(g, c))); s.diffs.length !== 0 && f.length1 < r - this.Patch_Margin; ) {
791
- var d = s.diffs[0][0], _ = s.diffs[0][1];
792
- d === u ? (f.length2 += _.length, l += _.length, f.diffs.push(s.diffs.shift()), h = !1) : d === a && f.diffs.length == 1 && f.diffs[0][0] == g && _.length > 2 * r ? (f.length1 += _.length, o += _.length, h = !1, f.diffs.push(new e.Diff(d, _)), s.diffs.shift()) : (_ = _.substring(
791
+ var d = s.diffs[0][0], p = s.diffs[0][1];
792
+ d === u ? (f.length2 += p.length, l += p.length, f.diffs.push(s.diffs.shift()), h = !1) : d === a && f.diffs.length == 1 && f.diffs[0][0] == g && p.length > 2 * r ? (f.length1 += p.length, o += p.length, h = !1, f.diffs.push(new e.Diff(d, p)), s.diffs.shift()) : (p = p.substring(
793
793
  0,
794
794
  r - f.length1 - this.Patch_Margin
795
- ), f.length1 += _.length, o += _.length, d === g ? (f.length2 += _.length, l += _.length) : h = !1, f.diffs.push(new e.Diff(d, _)), _ == s.diffs[0][1] ? s.diffs.shift() : s.diffs[0][1] = s.diffs[0][1].substring(_.length));
795
+ ), f.length1 += p.length, o += p.length, d === g ? (f.length2 += p.length, l += p.length) : h = !1, f.diffs.push(new e.Diff(d, p)), p == s.diffs[0][1] ? s.diffs.shift() : s.diffs[0][1] = s.diffs[0][1].substring(p.length));
796
796
  }
797
797
  c = this.diff_text2(f.diffs), c = c.substring(c.length - this.Patch_Margin);
798
- var p = this.diff_text1(s.diffs).substring(0, this.Patch_Margin);
799
- p !== "" && (f.length1 += p.length, f.length2 += p.length, f.diffs.length !== 0 && f.diffs[f.diffs.length - 1][0] === g ? f.diffs[f.diffs.length - 1][1] += p : f.diffs.push(new e.Diff(g, p))), h || t.splice(++i, 0, f);
798
+ var _ = this.diff_text1(s.diffs).substring(0, this.Patch_Margin);
799
+ _ !== "" && (f.length1 += _.length, f.length2 += _.length, f.diffs.length !== 0 && f.diffs[f.diffs.length - 1][0] === g ? f.diffs[f.diffs.length - 1][1] += _ : f.diffs.push(new e.Diff(g, _))), h || t.splice(++i, 0, f);
800
800
  }
801
801
  }
802
802
  }, e.prototype.patch_toText = function(t) {
@@ -1115,7 +1115,7 @@ const Jn = /\b\B/, cn = "[a-zA-Z]\\w*", xe = "[a-zA-Z_]\\w*", un = "\\b\\d+(\\.\
1115
1115
  a.index !== 0 && u.ignoreMatch();
1116
1116
  }
1117
1117
  }, n);
1118
- }, _e = {
1118
+ }, pe = {
1119
1119
  begin: "\\\\[\\s\\S]",
1120
1120
  relevance: 0
1121
1121
  }, nt = {
@@ -1123,13 +1123,13 @@ const Jn = /\b\B/, cn = "[a-zA-Z]\\w*", xe = "[a-zA-Z_]\\w*", un = "\\b\\d+(\\.\
1123
1123
  begin: "'",
1124
1124
  end: "'",
1125
1125
  illegal: "\\n",
1126
- contains: [_e]
1126
+ contains: [pe]
1127
1127
  }, tt = {
1128
1128
  scope: "string",
1129
1129
  begin: '"',
1130
1130
  end: '"',
1131
1131
  illegal: "\\n",
1132
- contains: [_e]
1132
+ contains: [pe]
1133
1133
  }, rt = {
1134
1134
  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/
1135
1135
  }, Se = function(n, e, a = {}) {
@@ -1215,12 +1215,12 @@ const Jn = /\b\B/, cn = "[a-zA-Z]\\w*", xe = "[a-zA-Z_]\\w*", un = "\\b\\d+(\\.\
1215
1215
  begin: /\/(?=[^/\n]*\/)/,
1216
1216
  end: /\/[gimuy]*/,
1217
1217
  contains: [
1218
- _e,
1218
+ pe,
1219
1219
  {
1220
1220
  begin: /\[/,
1221
1221
  end: /\]/,
1222
1222
  relevance: 0,
1223
- contains: [_e]
1223
+ contains: [pe]
1224
1224
  }
1225
1225
  ]
1226
1226
  }, ft = {
@@ -1253,7 +1253,7 @@ const Jn = /\b\B/, cn = "[a-zA-Z]\\w*", xe = "[a-zA-Z_]\\w*", un = "\\b\\d+(\\.\
1253
1253
  var ye = /* @__PURE__ */ Object.freeze({
1254
1254
  __proto__: null,
1255
1255
  APOS_STRING_MODE: nt,
1256
- BACKSLASH_ESCAPE: _e,
1256
+ BACKSLASH_ESCAPE: pe,
1257
1257
  BINARY_NUMBER_MODE: ct,
1258
1258
  BINARY_NUMBER_RE: gn,
1259
1259
  COMMENT: Se,
@@ -1277,14 +1277,14 @@ var ye = /* @__PURE__ */ Object.freeze({
1277
1277
  UNDERSCORE_IDENT_RE: xe,
1278
1278
  UNDERSCORE_TITLE_MODE: gt
1279
1279
  });
1280
- function _t(n, e) {
1280
+ function pt(n, e) {
1281
1281
  n.input[n.index - 1] === "." && e.ignoreMatch();
1282
1282
  }
1283
- function pt(n, e) {
1283
+ function _t(n, e) {
1284
1284
  n.className !== void 0 && (n.scope = n.className, delete n.className);
1285
1285
  }
1286
1286
  function bt(n, e) {
1287
- e && n.beginKeywords && (n.begin = "\\b(" + n.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", n.__beforeBegin = _t, n.keywords = n.keywords || n.beginKeywords, delete n.beginKeywords, n.relevance === void 0 && (n.relevance = 0));
1287
+ e && n.beginKeywords && (n.begin = "\\b(" + n.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", n.__beforeBegin = pt, n.keywords = n.keywords || n.beginKeywords, delete n.beginKeywords, n.relevance === void 0 && (n.relevance = 0));
1288
1288
  }
1289
1289
  function vt(n, e) {
1290
1290
  Array.isArray(n.illegal) && (n.illegal = Ue(...n.illegal));
@@ -1463,7 +1463,7 @@ function Ct(n) {
1463
1463
  if (r.isCompiled)
1464
1464
  return s;
1465
1465
  [
1466
- pt,
1466
+ _t,
1467
1467
  // do this early so compiler extensions generally don't have to worry about
1468
1468
  // the distinction between match/begin
1469
1469
  Et,
@@ -1498,13 +1498,13 @@ function Ct(n) {
1498
1498
  n
1499
1499
  );
1500
1500
  }
1501
- function _n(n) {
1502
- return n ? n.endsWithParent || _n(n.starts) : !1;
1501
+ function pn(n) {
1502
+ return n ? n.endsWithParent || pn(n.starts) : !1;
1503
1503
  }
1504
1504
  function Lt(n) {
1505
1505
  return n.variants && !n.cachedVariants && (n.cachedVariants = n.variants.map(function(e) {
1506
1506
  return re(n, { variants: null }, e);
1507
- })), n.cachedVariants ? n.cachedVariants : _n(n) ? re(n, { starts: n.starts ? re(n.starts) : null }) : Object.isFrozen(n) ? re(n) : n;
1507
+ })), n.cachedVariants ? n.cachedVariants : pn(n) ? re(n, { starts: n.starts ? re(n.starts) : null }) : Object.isFrozen(n) ? re(n) : n;
1508
1508
  }
1509
1509
  var Ot = "11.9.0";
1510
1510
  class It extends Error {
@@ -1512,7 +1512,7 @@ class It extends Error {
1512
1512
  super(e), this.name = "HTMLInjectionError", this.html = a;
1513
1513
  }
1514
1514
  }
1515
- const Oe = an, Je = re, qe = Symbol("nomatch"), kt = 7, pn = function(n) {
1515
+ const Oe = an, Je = re, qe = Symbol("nomatch"), kt = 7, _n = function(n) {
1516
1516
  const e = /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null), u = [];
1517
1517
  let g = !0;
1518
1518
  const t = "Could not find the language '{}', did you forget to load/include a language module?", r = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -1528,386 +1528,386 @@ const Oe = an, Je = re, qe = Symbol("nomatch"), kt = 7, pn = function(n) {
1528
1528
  // https://github.com/highlightjs/highlight.js/issues/1086
1529
1529
  __emitter: Qn
1530
1530
  };
1531
- function s(v) {
1532
- return i.noHighlightRe.test(v);
1531
+ function s(b) {
1532
+ return i.noHighlightRe.test(b);
1533
1533
  }
1534
- function o(v) {
1535
- let N = v.className + " ";
1536
- N += v.parentNode ? v.parentNode.className : "";
1537
- const O = i.languageDetectRe.exec(N);
1538
- if (O) {
1539
- const B = T(O[1]);
1540
- return B || (je(t.replace("{}", O[1])), je("Falling back to no-highlight mode for this block.", v)), B ? O[1] : "no-highlight";
1534
+ function o(b) {
1535
+ let w = b.className + " ";
1536
+ w += b.parentNode ? b.parentNode.className : "";
1537
+ const L = i.languageDetectRe.exec(w);
1538
+ if (L) {
1539
+ const U = R(L[1]);
1540
+ return U || (je(t.replace("{}", L[1])), je("Falling back to no-highlight mode for this block.", b)), U ? L[1] : "no-highlight";
1541
1541
  }
1542
- return N.split(/\s+/).find((B) => s(B) || T(B));
1542
+ return w.split(/\s+/).find((U) => s(U) || R(U));
1543
1543
  }
1544
- function l(v, N, O) {
1545
- let B = "", H = "";
1546
- typeof N == "object" ? (B = v, O = N.ignoreIllegals, H = N.language) : (le("10.7.0", "highlight(lang, code, ...args) has been deprecated."), le("10.7.0", `Please use highlight(code, options) instead.
1547
- https://github.com/highlightjs/highlight.js/issues/2277`), H = v, B = N), O === void 0 && (O = !0);
1544
+ function l(b, w, L) {
1545
+ let U = "", H = "";
1546
+ typeof w == "object" ? (U = b, L = w.ignoreIllegals, H = w.language) : (le("10.7.0", "highlight(lang, code, ...args) has been deprecated."), le("10.7.0", `Please use highlight(code, options) instead.
1547
+ https://github.com/highlightjs/highlight.js/issues/2277`), H = b, U = w), L === void 0 && (L = !0);
1548
1548
  const W = {
1549
- code: B,
1549
+ code: U,
1550
1550
  language: H
1551
1551
  };
1552
1552
  te("before:highlight", W);
1553
- const Y = W.result ? W.result : c(W.language, W.code, O);
1553
+ const Y = W.result ? W.result : c(W.language, W.code, L);
1554
1554
  return Y.code = W.code, te("after:highlight", Y), Y;
1555
1555
  }
1556
- function c(v, N, O, B) {
1556
+ function c(b, w, L, U) {
1557
1557
  const H = /* @__PURE__ */ Object.create(null);
1558
- function W(m, M) {
1559
- return m.keywords[M];
1558
+ function W(y, M) {
1559
+ return y.keywords[M];
1560
1560
  }
1561
1561
  function Y() {
1562
- if (!L.keywords) {
1562
+ if (!O.keywords) {
1563
1563
  z.addText(x);
1564
1564
  return;
1565
1565
  }
1566
- let m = 0;
1567
- L.keywordPatternRe.lastIndex = 0;
1568
- let M = L.keywordPatternRe.exec(x), I = "";
1566
+ let y = 0;
1567
+ O.keywordPatternRe.lastIndex = 0;
1568
+ let M = O.keywordPatternRe.exec(x), k = "";
1569
1569
  for (; M; ) {
1570
- I += x.substring(m, M.index);
1571
- const U = j.case_insensitive ? M[0].toLowerCase() : M[0], G = W(L, U);
1570
+ k += x.substring(y, M.index);
1571
+ const P = j.case_insensitive ? M[0].toLowerCase() : M[0], G = W(O, P);
1572
1572
  if (G) {
1573
1573
  const [J, Dn] = G;
1574
- if (z.addText(I), I = "", H[U] = (H[U] || 0) + 1, H[U] <= kt && (me += Dn), J.startsWith("_"))
1575
- I += M[0];
1574
+ if (z.addText(k), k = "", H[P] = (H[P] || 0) + 1, H[P] <= kt && (me += Dn), J.startsWith("_"))
1575
+ k += M[0];
1576
1576
  else {
1577
1577
  const Rn = j.classNameAliases[J] || J;
1578
1578
  X(M[0], Rn);
1579
1579
  }
1580
1580
  } else
1581
- I += M[0];
1582
- m = L.keywordPatternRe.lastIndex, M = L.keywordPatternRe.exec(x);
1581
+ k += M[0];
1582
+ y = O.keywordPatternRe.lastIndex, M = O.keywordPatternRe.exec(x);
1583
1583
  }
1584
- I += x.substring(m), z.addText(I);
1584
+ k += x.substring(y), z.addText(k);
1585
1585
  }
1586
1586
  function ve() {
1587
1587
  if (x === "")
1588
1588
  return;
1589
- let m = null;
1590
- if (typeof L.subLanguage == "string") {
1591
- if (!e[L.subLanguage]) {
1589
+ let y = null;
1590
+ if (typeof O.subLanguage == "string") {
1591
+ if (!e[O.subLanguage]) {
1592
1592
  z.addText(x);
1593
1593
  return;
1594
1594
  }
1595
- m = c(L.subLanguage, x, !0, Ke[L.subLanguage]), Ke[L.subLanguage] = /** @type {CompiledMode} */
1596
- m._top;
1595
+ y = c(O.subLanguage, x, !0, Ke[O.subLanguage]), Ke[O.subLanguage] = /** @type {CompiledMode} */
1596
+ y._top;
1597
1597
  } else
1598
- m = h(x, L.subLanguage.length ? L.subLanguage : null);
1599
- L.relevance > 0 && (me += m.relevance), z.__addSublanguage(m._emitter, m.language);
1598
+ y = h(x, O.subLanguage.length ? O.subLanguage : null);
1599
+ O.relevance > 0 && (me += y.relevance), z.__addSublanguage(y._emitter, y.language);
1600
1600
  }
1601
1601
  function Q() {
1602
- L.subLanguage != null ? ve() : Y(), x = "";
1602
+ O.subLanguage != null ? ve() : Y(), x = "";
1603
1603
  }
1604
- function X(m, M) {
1605
- m !== "" && (z.startScope(M), z.addText(m), z.endScope());
1604
+ function X(y, M) {
1605
+ y !== "" && (z.startScope(M), z.addText(y), z.endScope());
1606
1606
  }
1607
- function He(m, M) {
1608
- let I = 1;
1609
- const U = M.length - 1;
1610
- for (; I <= U; ) {
1611
- if (!m._emit[I]) {
1612
- I++;
1607
+ function He(y, M) {
1608
+ let k = 1;
1609
+ const P = M.length - 1;
1610
+ for (; k <= P; ) {
1611
+ if (!y._emit[k]) {
1612
+ k++;
1613
1613
  continue;
1614
1614
  }
1615
- const G = j.classNameAliases[m[I]] || m[I], J = M[I];
1616
- G ? X(J, G) : (x = J, Y(), x = ""), I++;
1615
+ const G = j.classNameAliases[y[k]] || y[k], J = M[k];
1616
+ G ? X(J, G) : (x = J, Y(), x = ""), k++;
1617
1617
  }
1618
1618
  }
1619
- function Fe(m, M) {
1620
- return m.scope && typeof m.scope == "string" && z.openNode(j.classNameAliases[m.scope] || m.scope), m.beginScope && (m.beginScope._wrap ? (X(x, j.classNameAliases[m.beginScope._wrap] || m.beginScope._wrap), x = "") : m.beginScope._multi && (He(m.beginScope, M), x = "")), L = Object.create(m, { parent: { value: L } }), L;
1619
+ function Fe(y, M) {
1620
+ return y.scope && typeof y.scope == "string" && z.openNode(j.classNameAliases[y.scope] || y.scope), y.beginScope && (y.beginScope._wrap ? (X(x, j.classNameAliases[y.beginScope._wrap] || y.beginScope._wrap), x = "") : y.beginScope._multi && (He(y.beginScope, M), x = "")), O = Object.create(y, { parent: { value: O } }), O;
1621
1621
  }
1622
- function ze(m, M, I) {
1623
- let U = Xn(m.endRe, I);
1624
- if (U) {
1625
- if (m["on:end"]) {
1626
- const G = new Ve(m);
1627
- m["on:end"](M, G), G.isMatchIgnored && (U = !1);
1622
+ function ze(y, M, k) {
1623
+ let P = Xn(y.endRe, k);
1624
+ if (P) {
1625
+ if (y["on:end"]) {
1626
+ const G = new Ve(y);
1627
+ y["on:end"](M, G), G.isMatchIgnored && (P = !1);
1628
1628
  }
1629
- if (U) {
1630
- for (; m.endsParent && m.parent; )
1631
- m = m.parent;
1632
- return m;
1629
+ if (P) {
1630
+ for (; y.endsParent && y.parent; )
1631
+ y = y.parent;
1632
+ return y;
1633
1633
  }
1634
1634
  }
1635
- if (m.endsWithParent)
1636
- return ze(m.parent, M, I);
1635
+ if (y.endsWithParent)
1636
+ return ze(y.parent, M, k);
1637
1637
  }
1638
- function Nn(m) {
1639
- return L.matcher.regexIndex === 0 ? (x += m[0], 1) : (Ce = !0, 0);
1638
+ function Nn(y) {
1639
+ return O.matcher.regexIndex === 0 ? (x += y[0], 1) : (Ce = !0, 0);
1640
1640
  }
1641
- function An(m) {
1642
- const M = m[0], I = m.rule, U = new Ve(I), G = [I.__beforeBegin, I["on:begin"]];
1641
+ function An(y) {
1642
+ const M = y[0], k = y.rule, P = new Ve(k), G = [k.__beforeBegin, k["on:begin"]];
1643
1643
  for (const J of G)
1644
- if (J && (J(m, U), U.isMatchIgnored))
1644
+ if (J && (J(y, P), P.isMatchIgnored))
1645
1645
  return Nn(M);
1646
- return I.skip ? x += M : (I.excludeBegin && (x += M), Q(), !I.returnBegin && !I.excludeBegin && (x = M)), Fe(I, m), I.returnBegin ? 0 : M.length;
1646
+ return k.skip ? x += M : (k.excludeBegin && (x += M), Q(), !k.returnBegin && !k.excludeBegin && (x = M)), Fe(k, y), k.returnBegin ? 0 : M.length;
1647
1647
  }
1648
- function Mn(m) {
1649
- const M = m[0], I = N.substring(m.index), U = ze(L, m, I);
1650
- if (!U)
1648
+ function Mn(y) {
1649
+ const M = y[0], k = w.substring(y.index), P = ze(O, y, k);
1650
+ if (!P)
1651
1651
  return qe;
1652
- const G = L;
1653
- L.endScope && L.endScope._wrap ? (Q(), X(M, L.endScope._wrap)) : L.endScope && L.endScope._multi ? (Q(), He(L.endScope, m)) : G.skip ? x += M : (G.returnEnd || G.excludeEnd || (x += M), Q(), G.excludeEnd && (x = M));
1652
+ const G = O;
1653
+ O.endScope && O.endScope._wrap ? (Q(), X(M, O.endScope._wrap)) : O.endScope && O.endScope._multi ? (Q(), He(O.endScope, y)) : G.skip ? x += M : (G.returnEnd || G.excludeEnd || (x += M), Q(), G.excludeEnd && (x = M));
1654
1654
  do
1655
- L.scope && z.closeNode(), !L.skip && !L.subLanguage && (me += L.relevance), L = L.parent;
1656
- while (L !== U.parent);
1657
- return U.starts && Fe(U.starts, m), G.returnEnd ? 0 : M.length;
1655
+ O.scope && z.closeNode(), !O.skip && !O.subLanguage && (me += O.relevance), O = O.parent;
1656
+ while (O !== P.parent);
1657
+ return P.starts && Fe(P.starts, y), G.returnEnd ? 0 : M.length;
1658
1658
  }
1659
1659
  function Tn() {
1660
- const m = [];
1661
- for (let M = L; M !== j; M = M.parent)
1662
- M.scope && m.unshift(M.scope);
1663
- m.forEach((M) => z.openNode(M));
1660
+ const y = [];
1661
+ for (let M = O; M !== j; M = M.parent)
1662
+ M.scope && y.unshift(M.scope);
1663
+ y.forEach((M) => z.openNode(M));
1664
1664
  }
1665
1665
  let Ee = {};
1666
- function Ge(m, M) {
1667
- const I = M && M[0];
1668
- if (x += m, I == null)
1666
+ function Ge(y, M) {
1667
+ const k = M && M[0];
1668
+ if (x += y, k == null)
1669
1669
  return Q(), 0;
1670
- if (Ee.type === "begin" && M.type === "end" && Ee.index === M.index && I === "") {
1671
- if (x += N.slice(M.index, M.index + 1), !g) {
1672
- const U = new Error(`0 width match regex (${v})`);
1673
- throw U.languageName = v, U.badRule = Ee.rule, U;
1670
+ if (Ee.type === "begin" && M.type === "end" && Ee.index === M.index && k === "") {
1671
+ if (x += w.slice(M.index, M.index + 1), !g) {
1672
+ const P = new Error(`0 width match regex (${b})`);
1673
+ throw P.languageName = b, P.badRule = Ee.rule, P;
1674
1674
  }
1675
1675
  return 1;
1676
1676
  }
1677
1677
  if (Ee = M, M.type === "begin")
1678
1678
  return An(M);
1679
- if (M.type === "illegal" && !O) {
1680
- const U = new Error('Illegal lexeme "' + I + '" for mode "' + (L.scope || "<unnamed>") + '"');
1681
- throw U.mode = L, U;
1679
+ if (M.type === "illegal" && !L) {
1680
+ const P = new Error('Illegal lexeme "' + k + '" for mode "' + (O.scope || "<unnamed>") + '"');
1681
+ throw P.mode = O, P;
1682
1682
  } else if (M.type === "end") {
1683
- const U = Mn(M);
1684
- if (U !== qe)
1685
- return U;
1683
+ const P = Mn(M);
1684
+ if (P !== qe)
1685
+ return P;
1686
1686
  }
1687
- if (M.type === "illegal" && I === "")
1687
+ if (M.type === "illegal" && k === "")
1688
1688
  return 1;
1689
1689
  if (Re > 1e5 && Re > M.index * 3)
1690
1690
  throw new Error("potential infinite loop, way more iterations than matches");
1691
- return x += I, I.length;
1691
+ return x += k, k.length;
1692
1692
  }
1693
- const j = T(v);
1693
+ const j = R(b);
1694
1694
  if (!j)
1695
- throw se(t.replace("{}", v)), new Error('Unknown language: "' + v + '"');
1695
+ throw se(t.replace("{}", b)), new Error('Unknown language: "' + b + '"');
1696
1696
  const Sn = Ct(j);
1697
- let De = "", L = B || Sn;
1697
+ let De = "", O = U || Sn;
1698
1698
  const Ke = {}, z = new i.__emitter(i);
1699
1699
  Tn();
1700
1700
  let x = "", me = 0, ie = 0, Re = 0, Ce = !1;
1701
1701
  try {
1702
1702
  if (j.__emitTokens)
1703
- j.__emitTokens(N, z);
1703
+ j.__emitTokens(w, z);
1704
1704
  else {
1705
- for (L.matcher.considerAll(); ; ) {
1706
- Re++, Ce ? Ce = !1 : L.matcher.considerAll(), L.matcher.lastIndex = ie;
1707
- const m = L.matcher.exec(N);
1708
- if (!m)
1705
+ for (O.matcher.considerAll(); ; ) {
1706
+ Re++, Ce ? Ce = !1 : O.matcher.considerAll(), O.matcher.lastIndex = ie;
1707
+ const y = O.matcher.exec(w);
1708
+ if (!y)
1709
1709
  break;
1710
- const M = N.substring(ie, m.index), I = Ge(M, m);
1711
- ie = m.index + I;
1710
+ const M = w.substring(ie, y.index), k = Ge(M, y);
1711
+ ie = y.index + k;
1712
1712
  }
1713
- Ge(N.substring(ie));
1713
+ Ge(w.substring(ie));
1714
1714
  }
1715
1715
  return z.finalize(), De = z.toHTML(), {
1716
- language: v,
1716
+ language: b,
1717
1717
  value: De,
1718
1718
  relevance: me,
1719
1719
  illegal: !1,
1720
1720
  _emitter: z,
1721
- _top: L
1721
+ _top: O
1722
1722
  };
1723
- } catch (m) {
1724
- if (m.message && m.message.includes("Illegal"))
1723
+ } catch (y) {
1724
+ if (y.message && y.message.includes("Illegal"))
1725
1725
  return {
1726
- language: v,
1727
- value: Oe(N),
1726
+ language: b,
1727
+ value: Oe(w),
1728
1728
  illegal: !0,
1729
1729
  relevance: 0,
1730
1730
  _illegalBy: {
1731
- message: m.message,
1731
+ message: y.message,
1732
1732
  index: ie,
1733
- context: N.slice(ie - 100, ie + 100),
1734
- mode: m.mode,
1733
+ context: w.slice(ie - 100, ie + 100),
1734
+ mode: y.mode,
1735
1735
  resultSoFar: De
1736
1736
  },
1737
1737
  _emitter: z
1738
1738
  };
1739
1739
  if (g)
1740
1740
  return {
1741
- language: v,
1742
- value: Oe(N),
1741
+ language: b,
1742
+ value: Oe(w),
1743
1743
  illegal: !1,
1744
1744
  relevance: 0,
1745
- errorRaised: m,
1745
+ errorRaised: y,
1746
1746
  _emitter: z,
1747
- _top: L
1747
+ _top: O
1748
1748
  };
1749
- throw m;
1749
+ throw y;
1750
1750
  }
1751
1751
  }
1752
- function f(v) {
1753
- const N = {
1754
- value: Oe(v),
1752
+ function f(b) {
1753
+ const w = {
1754
+ value: Oe(b),
1755
1755
  illegal: !1,
1756
1756
  relevance: 0,
1757
1757
  _top: r,
1758
1758
  _emitter: new i.__emitter(i)
1759
1759
  };
1760
- return N._emitter.addText(v), N;
1760
+ return w._emitter.addText(b), w;
1761
1761
  }
1762
- function h(v, N) {
1763
- N = N || i.languages || Object.keys(e);
1764
- const O = f(v), B = N.filter(T).filter(k).map(
1765
- (Q) => c(Q, v, !1)
1762
+ function h(b, w) {
1763
+ w = w || i.languages || Object.keys(e);
1764
+ const L = f(b), U = w.filter(R).filter($).map(
1765
+ (Q) => c(Q, b, !1)
1766
1766
  );
1767
- B.unshift(O);
1768
- const H = B.sort((Q, X) => {
1767
+ U.unshift(L);
1768
+ const H = U.sort((Q, X) => {
1769
1769
  if (Q.relevance !== X.relevance)
1770
1770
  return X.relevance - Q.relevance;
1771
1771
  if (Q.language && X.language) {
1772
- if (T(Q.language).supersetOf === X.language)
1772
+ if (R(Q.language).supersetOf === X.language)
1773
1773
  return 1;
1774
- if (T(X.language).supersetOf === Q.language)
1774
+ if (R(X.language).supersetOf === Q.language)
1775
1775
  return -1;
1776
1776
  }
1777
1777
  return 0;
1778
1778
  }), [W, Y] = H, ve = W;
1779
1779
  return ve.secondBest = Y, ve;
1780
1780
  }
1781
- function d(v, N, O) {
1782
- const B = N && a[N] || O;
1783
- v.classList.add("hljs"), v.classList.add(`language-${B}`);
1781
+ function d(b, w, L) {
1782
+ const U = w && a[w] || L;
1783
+ b.classList.add("hljs"), b.classList.add(`language-${U}`);
1784
1784
  }
1785
- function _(v) {
1786
- let N = null;
1787
- const O = o(v);
1788
- if (s(O))
1785
+ function p(b) {
1786
+ let w = null;
1787
+ const L = o(b);
1788
+ if (s(L))
1789
1789
  return;
1790
1790
  if (te(
1791
1791
  "before:highlightElement",
1792
- { el: v, language: O }
1793
- ), v.dataset.highlighted) {
1794
- console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", v);
1792
+ { el: b, language: L }
1793
+ ), b.dataset.highlighted) {
1794
+ console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", b);
1795
1795
  return;
1796
1796
  }
1797
- if (v.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(v)), i.throwUnescapedHTML))
1797
+ if (b.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(b)), i.throwUnescapedHTML))
1798
1798
  throw new It(
1799
1799
  "One of your code blocks includes unescaped HTML.",
1800
- v.innerHTML
1800
+ b.innerHTML
1801
1801
  );
1802
- N = v;
1803
- const B = N.textContent, H = O ? l(B, { language: O, ignoreIllegals: !0 }) : h(B);
1804
- v.innerHTML = H.value, v.dataset.highlighted = "yes", d(v, O, H.language), v.result = {
1802
+ w = b;
1803
+ const U = w.textContent, H = L ? l(U, { language: L, ignoreIllegals: !0 }) : h(U);
1804
+ b.innerHTML = H.value, b.dataset.highlighted = "yes", d(b, L, H.language), b.result = {
1805
1805
  language: H.language,
1806
1806
  // TODO: remove with version 11.0
1807
1807
  re: H.relevance,
1808
1808
  relevance: H.relevance
1809
- }, H.secondBest && (v.secondBest = {
1809
+ }, H.secondBest && (b.secondBest = {
1810
1810
  language: H.secondBest.language,
1811
1811
  relevance: H.secondBest.relevance
1812
- }), te("after:highlightElement", { el: v, result: H, text: B });
1812
+ }), te("after:highlightElement", { el: b, result: H, text: U });
1813
1813
  }
1814
- function p(v) {
1815
- i = Je(i, v);
1814
+ function _(b) {
1815
+ i = Je(i, b);
1816
1816
  }
1817
- const E = () => {
1818
- A(), le("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1817
+ const v = () => {
1818
+ N(), le("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1819
1819
  };
1820
- function b() {
1821
- A(), le("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1820
+ function E() {
1821
+ N(), le("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1822
1822
  }
1823
- let y = !1;
1824
- function A() {
1823
+ let m = !1;
1824
+ function N() {
1825
1825
  if (document.readyState === "loading") {
1826
- y = !0;
1826
+ m = !0;
1827
1827
  return;
1828
1828
  }
1829
- document.querySelectorAll(i.cssSelector).forEach(_);
1829
+ document.querySelectorAll(i.cssSelector).forEach(p);
1830
1830
  }
1831
- function R() {
1832
- y && A();
1831
+ function D() {
1832
+ m && N();
1833
1833
  }
1834
- typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", R, !1);
1835
- function w(v, N) {
1836
- let O = null;
1834
+ typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", D, !1);
1835
+ function S(b, w) {
1836
+ let L = null;
1837
1837
  try {
1838
- O = N(n);
1839
- } catch (B) {
1840
- if (se("Language definition for '{}' could not be registered.".replace("{}", v)), g)
1841
- se(B);
1838
+ L = w(n);
1839
+ } catch (U) {
1840
+ if (se("Language definition for '{}' could not be registered.".replace("{}", b)), g)
1841
+ se(U);
1842
1842
  else
1843
- throw B;
1844
- O = r;
1843
+ throw U;
1844
+ L = r;
1845
1845
  }
1846
- O.name || (O.name = v), e[v] = O, O.rawDefinition = N.bind(null, n), O.aliases && $(O.aliases, { languageName: v });
1846
+ L.name || (L.name = b), e[b] = L, L.rawDefinition = w.bind(null, n), L.aliases && I(L.aliases, { languageName: b });
1847
1847
  }
1848
- function D(v) {
1849
- delete e[v];
1850
- for (const N of Object.keys(a))
1851
- a[N] === v && delete a[N];
1848
+ function A(b) {
1849
+ delete e[b];
1850
+ for (const w of Object.keys(a))
1851
+ a[w] === b && delete a[w];
1852
1852
  }
1853
1853
  function C() {
1854
1854
  return Object.keys(e);
1855
1855
  }
1856
- function T(v) {
1857
- return v = (v || "").toLowerCase(), e[v] || e[a[v]];
1856
+ function R(b) {
1857
+ return b = (b || "").toLowerCase(), e[b] || e[a[b]];
1858
1858
  }
1859
- function $(v, { languageName: N }) {
1860
- typeof v == "string" && (v = [v]), v.forEach((O) => {
1861
- a[O.toLowerCase()] = N;
1859
+ function I(b, { languageName: w }) {
1860
+ typeof b == "string" && (b = [b]), b.forEach((L) => {
1861
+ a[L.toLowerCase()] = w;
1862
1862
  });
1863
1863
  }
1864
- function k(v) {
1865
- const N = T(v);
1866
- return N && !N.disableAutodetect;
1864
+ function $(b) {
1865
+ const w = R(b);
1866
+ return w && !w.disableAutodetect;
1867
1867
  }
1868
- function P(v) {
1869
- v["before:highlightBlock"] && !v["before:highlightElement"] && (v["before:highlightElement"] = (N) => {
1870
- v["before:highlightBlock"](
1871
- Object.assign({ block: N.el }, N)
1868
+ function B(b) {
1869
+ b["before:highlightBlock"] && !b["before:highlightElement"] && (b["before:highlightElement"] = (w) => {
1870
+ b["before:highlightBlock"](
1871
+ Object.assign({ block: w.el }, w)
1872
1872
  );
1873
- }), v["after:highlightBlock"] && !v["after:highlightElement"] && (v["after:highlightElement"] = (N) => {
1874
- v["after:highlightBlock"](
1875
- Object.assign({ block: N.el }, N)
1873
+ }), b["after:highlightBlock"] && !b["after:highlightElement"] && (b["after:highlightElement"] = (w) => {
1874
+ b["after:highlightBlock"](
1875
+ Object.assign({ block: w.el }, w)
1876
1876
  );
1877
1877
  });
1878
1878
  }
1879
- function F(v) {
1880
- P(v), u.push(v);
1879
+ function F(b) {
1880
+ B(b), u.push(b);
1881
1881
  }
1882
- function K(v) {
1883
- const N = u.indexOf(v);
1884
- N !== -1 && u.splice(N, 1);
1882
+ function K(b) {
1883
+ const w = u.indexOf(b);
1884
+ w !== -1 && u.splice(w, 1);
1885
1885
  }
1886
- function te(v, N) {
1887
- const O = v;
1888
- u.forEach(function(B) {
1889
- B[O] && B[O](N);
1886
+ function te(b, w) {
1887
+ const L = b;
1888
+ u.forEach(function(U) {
1889
+ U[L] && U[L](w);
1890
1890
  });
1891
1891
  }
1892
- function oe(v) {
1893
- return le("10.7.0", "highlightBlock will be removed entirely in v12.0"), le("10.7.0", "Please use highlightElement now."), _(v);
1892
+ function oe(b) {
1893
+ return le("10.7.0", "highlightBlock will be removed entirely in v12.0"), le("10.7.0", "Please use highlightElement now."), p(b);
1894
1894
  }
1895
1895
  Object.assign(n, {
1896
1896
  highlight: l,
1897
1897
  highlightAuto: h,
1898
- highlightAll: A,
1899
- highlightElement: _,
1898
+ highlightAll: N,
1899
+ highlightElement: p,
1900
1900
  // TODO: Remove with v12 API
1901
1901
  highlightBlock: oe,
1902
- configure: p,
1903
- initHighlighting: E,
1904
- initHighlightingOnLoad: b,
1905
- registerLanguage: w,
1906
- unregisterLanguage: D,
1902
+ configure: _,
1903
+ initHighlighting: v,
1904
+ initHighlightingOnLoad: E,
1905
+ registerLanguage: S,
1906
+ unregisterLanguage: A,
1907
1907
  listLanguages: C,
1908
- getLanguage: T,
1909
- registerAliases: $,
1910
- autoDetection: k,
1908
+ getLanguage: R,
1909
+ registerAliases: I,
1910
+ autoDetection: $,
1911
1911
  inherit: Je,
1912
1912
  addPlugin: F,
1913
1913
  removePlugin: K
@@ -1922,11 +1922,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = v, B = N), O ===
1922
1922
  optional: Zn,
1923
1923
  anyNumberOfTimes: Vn
1924
1924
  };
1925
- for (const v in ye)
1926
- typeof ye[v] == "object" && sn(ye[v]);
1925
+ for (const b in ye)
1926
+ typeof ye[b] == "object" && sn(ye[b]);
1927
1927
  return Object.assign(n, ye), n;
1928
- }, ue = pn({});
1929
- ue.newInstance = () => pn({});
1928
+ }, ue = _n({});
1929
+ ue.newInstance = () => _n({});
1930
1930
  var Bt = ue;
1931
1931
  ue.HighlightJS = ue;
1932
1932
  ue.default = ue;
@@ -2292,9 +2292,9 @@ const en = "[A-Za-z$_][0-9A-Za-z$_]*", Ut = [
2292
2292
  vn
2293
2293
  );
2294
2294
  function Ft(n) {
2295
- const e = n.regex, a = (N, { after: O }) => {
2296
- const B = "</" + N[0].slice(1);
2297
- return N.input.indexOf(B, O) !== -1;
2295
+ const e = n.regex, a = (w, { after: L }) => {
2296
+ const U = "</" + w[0].slice(1);
2297
+ return w.input.indexOf(U, L) !== -1;
2298
2298
  }, u = en, g = {
2299
2299
  begin: "<>",
2300
2300
  end: "</>"
@@ -2305,8 +2305,8 @@ function Ft(n) {
2305
2305
  * @param {RegExpMatchArray} match
2306
2306
  * @param {CallbackResponse} response
2307
2307
  */
2308
- isTrulyOpeningTag: (N, O) => {
2309
- const B = N[0].length + N.index, H = N.input[B];
2308
+ isTrulyOpeningTag: (w, L) => {
2309
+ const U = w[0].length + w.index, H = w.input[U];
2310
2310
  if (
2311
2311
  // HTML should not include another raw `<` inside a tag
2312
2312
  // nested type?
@@ -2315,18 +2315,18 @@ function Ft(n) {
2315
2315
  // `<T, A extends keyof T, V>`
2316
2316
  H === ","
2317
2317
  ) {
2318
- O.ignoreMatch();
2318
+ L.ignoreMatch();
2319
2319
  return;
2320
2320
  }
2321
- H === ">" && (a(N, { after: B }) || O.ignoreMatch());
2321
+ H === ">" && (a(w, { after: U }) || L.ignoreMatch());
2322
2322
  let W;
2323
- const Y = N.input.substring(B);
2323
+ const Y = w.input.substring(U);
2324
2324
  if (W = Y.match(/^\s*=/)) {
2325
- O.ignoreMatch();
2325
+ L.ignoreMatch();
2326
2326
  return;
2327
2327
  }
2328
2328
  if ((W = Y.match(/^\s+extends\s+/)) && W.index === 0) {
2329
- O.ignoreMatch();
2329
+ L.ignoreMatch();
2330
2330
  return;
2331
2331
  }
2332
2332
  }
@@ -2384,7 +2384,7 @@ function Ft(n) {
2384
2384
  ],
2385
2385
  subLanguage: "css"
2386
2386
  }
2387
- }, _ = {
2387
+ }, p = {
2388
2388
  begin: "gql`",
2389
2389
  end: "",
2390
2390
  starts: {
@@ -2396,7 +2396,7 @@ function Ft(n) {
2396
2396
  ],
2397
2397
  subLanguage: "graphql"
2398
2398
  }
2399
- }, p = {
2399
+ }, _ = {
2400
2400
  className: "string",
2401
2401
  begin: "`",
2402
2402
  end: "`",
@@ -2404,7 +2404,7 @@ function Ft(n) {
2404
2404
  n.BACKSLASH_ESCAPE,
2405
2405
  f
2406
2406
  ]
2407
- }, b = {
2407
+ }, E = {
2408
2408
  className: "comment",
2409
2409
  variants: [
2410
2410
  n.COMMENT(
@@ -2449,13 +2449,13 @@ function Ft(n) {
2449
2449
  n.C_BLOCK_COMMENT_MODE,
2450
2450
  n.C_LINE_COMMENT_MODE
2451
2451
  ]
2452
- }, y = [
2452
+ }, m = [
2453
2453
  n.APOS_STRING_MODE,
2454
2454
  n.QUOTE_STRING_MODE,
2455
2455
  h,
2456
2456
  d,
2457
- _,
2458
2457
  p,
2458
+ _,
2459
2459
  // Skip numbers when they are part of a variable name
2460
2460
  { match: /\$\d+/ },
2461
2461
  c
@@ -2463,7 +2463,7 @@ function Ft(n) {
2463
2463
  // See https://github.com/highlightjs/highlight.js/issues/3288
2464
2464
  // hljs.REGEXP_MODE
2465
2465
  ];
2466
- f.contains = y.concat({
2466
+ f.contains = m.concat({
2467
2467
  // we need to pair up {} inside our subst to prevent
2468
2468
  // it from ending too early by matching another }
2469
2469
  begin: /\{/,
@@ -2471,25 +2471,25 @@ function Ft(n) {
2471
2471
  keywords: i,
2472
2472
  contains: [
2473
2473
  "self"
2474
- ].concat(y)
2474
+ ].concat(m)
2475
2475
  });
2476
- const A = [].concat(b, f.contains), R = A.concat([
2476
+ const N = [].concat(E, f.contains), D = N.concat([
2477
2477
  // eat recursive parens in sub expressions
2478
2478
  {
2479
2479
  begin: /\(/,
2480
2480
  end: /\)/,
2481
2481
  keywords: i,
2482
- contains: ["self"].concat(A)
2482
+ contains: ["self"].concat(N)
2483
2483
  }
2484
- ]), w = {
2484
+ ]), S = {
2485
2485
  className: "params",
2486
2486
  begin: /\(/,
2487
2487
  end: /\)/,
2488
2488
  excludeBegin: !0,
2489
2489
  excludeEnd: !0,
2490
2490
  keywords: i,
2491
- contains: R
2492
- }, D = {
2491
+ contains: D
2492
+ }, A = {
2493
2493
  variants: [
2494
2494
  // class Car extends vehicle
2495
2495
  {
@@ -2546,12 +2546,12 @@ function Ft(n) {
2546
2546
  ...vn
2547
2547
  ]
2548
2548
  }
2549
- }, T = {
2549
+ }, R = {
2550
2550
  label: "use_strict",
2551
2551
  className: "meta",
2552
2552
  relevance: 10,
2553
2553
  begin: /^\s*['"]use (strict|asm)['"]/
2554
- }, $ = {
2554
+ }, I = {
2555
2555
  variants: [
2556
2556
  {
2557
2557
  match: [
@@ -2574,20 +2574,20 @@ function Ft(n) {
2574
2574
  3: "title.function"
2575
2575
  },
2576
2576
  label: "func.def",
2577
- contains: [w],
2577
+ contains: [S],
2578
2578
  illegal: /%/
2579
- }, k = {
2579
+ }, $ = {
2580
2580
  relevance: 0,
2581
2581
  match: /\b[A-Z][A-Z_0-9]+\b/,
2582
2582
  className: "variable.constant"
2583
2583
  };
2584
- function P(N) {
2585
- return e.concat("(?!", N.join("|"), ")");
2584
+ function B(w) {
2585
+ return e.concat("(?!", w.join("|"), ")");
2586
2586
  }
2587
2587
  const F = {
2588
2588
  match: e.concat(
2589
2589
  /\b/,
2590
- P([
2590
+ B([
2591
2591
  ...En,
2592
2592
  "super",
2593
2593
  "import"
@@ -2622,9 +2622,9 @@ function Ft(n) {
2622
2622
  // eat to avoid empty params
2623
2623
  begin: /\(\)/
2624
2624
  },
2625
- w
2625
+ S
2626
2626
  ]
2627
- }, oe = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + n.UNDERSCORE_IDENT_RE + ")\\s*=>", v = {
2627
+ }, oe = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + n.UNDERSCORE_IDENT_RE + ")\\s*=>", b = {
2628
2628
  match: [
2629
2629
  /const|var|let/,
2630
2630
  /\s+/,
@@ -2641,7 +2641,7 @@ function Ft(n) {
2641
2641
  3: "title.function"
2642
2642
  },
2643
2643
  contains: [
2644
- w
2644
+ S
2645
2645
  ]
2646
2646
  };
2647
2647
  return {
@@ -2649,7 +2649,7 @@ function Ft(n) {
2649
2649
  aliases: ["js", "jsx", "mjs", "cjs"],
2650
2650
  keywords: i,
2651
2651
  // this will be extended by TypeScript
2652
- exports: { PARAMS_CONTAINS: R, CLASS_REFERENCE: C },
2652
+ exports: { PARAMS_CONTAINS: D, CLASS_REFERENCE: C },
2653
2653
  illegal: /#(?![$_A-z])/,
2654
2654
  contains: [
2655
2655
  n.SHEBANG({
@@ -2657,14 +2657,14 @@ function Ft(n) {
2657
2657
  binary: "node",
2658
2658
  relevance: 5
2659
2659
  }),
2660
- T,
2660
+ R,
2661
2661
  n.APOS_STRING_MODE,
2662
2662
  n.QUOTE_STRING_MODE,
2663
2663
  h,
2664
2664
  d,
2665
- _,
2666
2665
  p,
2667
- b,
2666
+ _,
2667
+ E,
2668
2668
  // Skip numbers when they are part of a variable name
2669
2669
  { match: /\$\d+/ },
2670
2670
  c,
@@ -2674,14 +2674,14 @@ function Ft(n) {
2674
2674
  begin: u + e.lookahead(":"),
2675
2675
  relevance: 0
2676
2676
  },
2677
- v,
2677
+ b,
2678
2678
  {
2679
2679
  // "value" container
2680
2680
  begin: "(" + n.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2681
2681
  keywords: "return throw case",
2682
2682
  relevance: 0,
2683
2683
  contains: [
2684
- b,
2684
+ E,
2685
2685
  n.REGEXP_MODE,
2686
2686
  {
2687
2687
  className: "function",
@@ -2710,7 +2710,7 @@ function Ft(n) {
2710
2710
  excludeBegin: !0,
2711
2711
  excludeEnd: !0,
2712
2712
  keywords: i,
2713
- contains: R
2713
+ contains: D
2714
2714
  }
2715
2715
  ]
2716
2716
  }
@@ -2750,7 +2750,7 @@ function Ft(n) {
2750
2750
  }
2751
2751
  ]
2752
2752
  },
2753
- $,
2753
+ I,
2754
2754
  {
2755
2755
  // prevent this from getting swallowed up by function
2756
2756
  // since they appear "function like"
@@ -2765,7 +2765,7 @@ function Ft(n) {
2765
2765
  returnBegin: !0,
2766
2766
  label: "func.def",
2767
2767
  contains: [
2768
- w,
2768
+ S,
2769
2769
  n.inherit(n.TITLE_MODE, { begin: u, className: "title.function" })
2770
2770
  ]
2771
2771
  },
@@ -2785,11 +2785,11 @@ function Ft(n) {
2785
2785
  {
2786
2786
  match: [/\bconstructor(?=\s*\()/],
2787
2787
  className: { 1: "title.function" },
2788
- contains: [w]
2788
+ contains: [S]
2789
2789
  },
2790
2790
  F,
2791
- k,
2792
- D,
2791
+ $,
2792
+ A,
2793
2793
  te,
2794
2794
  {
2795
2795
  match: /\$[(.]/
@@ -2909,7 +2909,7 @@ function Gt(n) {
2909
2909
  contains: [f],
2910
2910
  illegal: "\\n",
2911
2911
  relevance: 0
2912
- }, _ = [
2912
+ }, p = [
2913
2913
  u,
2914
2914
  {
2915
2915
  className: "meta",
@@ -2988,12 +2988,12 @@ function Gt(n) {
2988
2988
  h,
2989
2989
  d,
2990
2990
  t
2991
- ], p = [..._];
2992
- return p.pop(), p.push(r), f.contains = p, {
2991
+ ], _ = [...p];
2992
+ return _.pop(), _.push(r), f.contains = _, {
2993
2993
  name: "YAML",
2994
2994
  case_insensitive: !0,
2995
2995
  aliases: ["yml"],
2996
- contains: _
2996
+ contains: p
2997
2997
  };
2998
2998
  }
2999
2999
  function Kt(n) {
@@ -3232,7 +3232,7 @@ function Wt(n) {
3232
3232
  n.APOS_STRING_MODE,
3233
3233
  n.QUOTE_STRING_MODE
3234
3234
  ]
3235
- }, f = "[0-9](_?[0-9])*", h = `(\\b(${f}))?\\.(${f})|\\b(${f})\\.`, d = `\\b|${u.join("|")}`, _ = {
3235
+ }, f = "[0-9](_?[0-9])*", h = `(\\b(${f}))?\\.(${f})|\\b(${f})\\.`, d = `\\b|${u.join("|")}`, p = {
3236
3236
  className: "number",
3237
3237
  relevance: 0,
3238
3238
  variants: [
@@ -3276,7 +3276,7 @@ function Wt(n) {
3276
3276
  begin: `\\b(${f})[jJ](?=${d})`
3277
3277
  }
3278
3278
  ]
3279
- }, p = {
3279
+ }, _ = {
3280
3280
  className: "comment",
3281
3281
  begin: e.lookahead(/# type:/),
3282
3282
  end: /$/,
@@ -3293,7 +3293,7 @@ function Wt(n) {
3293
3293
  endsWithParent: !0
3294
3294
  }
3295
3295
  ]
3296
- }, E = {
3296
+ }, v = {
3297
3297
  className: "params",
3298
3298
  variants: [
3299
3299
  // Exclude params in functions without params
@@ -3311,7 +3311,7 @@ function Wt(n) {
3311
3311
  contains: [
3312
3312
  "self",
3313
3313
  s,
3314
- _,
3314
+ p,
3315
3315
  c,
3316
3316
  n.HASH_COMMENT_MODE
3317
3317
  ]
@@ -3320,7 +3320,7 @@ function Wt(n) {
3320
3320
  };
3321
3321
  return o.contains = [
3322
3322
  c,
3323
- _,
3323
+ p,
3324
3324
  s
3325
3325
  ], {
3326
3326
  name: "Python",
@@ -3334,7 +3334,7 @@ function Wt(n) {
3334
3334
  illegal: /(<\/|\?)|=>/,
3335
3335
  contains: [
3336
3336
  s,
3337
- _,
3337
+ p,
3338
3338
  {
3339
3339
  // very common convention
3340
3340
  begin: /\bself\b/
@@ -3346,7 +3346,7 @@ function Wt(n) {
3346
3346
  relevance: 0
3347
3347
  },
3348
3348
  c,
3349
- p,
3349
+ _,
3350
3350
  n.HASH_COMMENT_MODE,
3351
3351
  {
3352
3352
  match: [
@@ -3358,7 +3358,7 @@ function Wt(n) {
3358
3358
  1: "keyword",
3359
3359
  3: "title.function"
3360
3360
  },
3361
- contains: [E]
3361
+ contains: [v]
3362
3362
  },
3363
3363
  {
3364
3364
  variants: [
@@ -3392,8 +3392,8 @@ function Wt(n) {
3392
3392
  begin: /^[\t ]*@/,
3393
3393
  end: /(?=#)|$/,
3394
3394
  contains: [
3395
- _,
3396
- E,
3395
+ p,
3396
+ v,
3397
3397
  c
3398
3398
  ]
3399
3399
  }
@@ -3739,10 +3739,10 @@ function Vt(n) {
3739
3739
  "esac",
3740
3740
  "function",
3741
3741
  "select"
3742
- ], _ = [
3742
+ ], p = [
3743
3743
  "true",
3744
3744
  "false"
3745
- ], p = { match: /(\/[a-z._-]+)+/ }, E = [
3745
+ ], _ = { match: /(\/[a-z._-]+)+/ }, v = [
3746
3746
  "break",
3747
3747
  "cd",
3748
3748
  "continue",
@@ -3761,7 +3761,7 @@ function Vt(n) {
3761
3761
  "trap",
3762
3762
  "umask",
3763
3763
  "unset"
3764
- ], b = [
3764
+ ], E = [
3765
3765
  "alias",
3766
3766
  "bind",
3767
3767
  "builtin",
@@ -3783,7 +3783,7 @@ function Vt(n) {
3783
3783
  "typeset",
3784
3784
  "ulimit",
3785
3785
  "unalias"
3786
- ], y = [
3786
+ ], m = [
3787
3787
  "autoload",
3788
3788
  "bg",
3789
3789
  "bindkey",
@@ -3852,7 +3852,7 @@ function Vt(n) {
3852
3852
  "zsocket",
3853
3853
  "zstyle",
3854
3854
  "ztcp"
3855
- ], A = [
3855
+ ], N = [
3856
3856
  "chcon",
3857
3857
  "chgrp",
3858
3858
  "chown",
@@ -3963,15 +3963,15 @@ function Vt(n) {
3963
3963
  keywords: {
3964
3964
  $pattern: /\b[a-z][a-z0-9._-]+\b/,
3965
3965
  keyword: d,
3966
- literal: _,
3966
+ literal: p,
3967
3967
  built_in: [
3968
+ ...v,
3968
3969
  ...E,
3969
- ...b,
3970
3970
  // Shell modifiers
3971
3971
  "set",
3972
3972
  "shopt",
3973
- ...y,
3974
- ...A
3973
+ ...m,
3974
+ ...N
3975
3975
  ]
3976
3976
  },
3977
3977
  contains: [
@@ -3983,7 +3983,7 @@ function Vt(n) {
3983
3983
  l,
3984
3984
  n.HASH_COMMENT_MODE,
3985
3985
  t,
3986
- p,
3986
+ _,
3987
3987
  r,
3988
3988
  i,
3989
3989
  s,
@@ -4544,24 +4544,24 @@ function Zt(n) {
4544
4544
  ], h = l, d = [
4545
4545
  ...o,
4546
4546
  ...s
4547
- ].filter((y) => !l.includes(y)), _ = {
4547
+ ].filter((m) => !l.includes(m)), p = {
4548
4548
  className: "variable",
4549
4549
  begin: /@[a-z0-9][a-z0-9_]*/
4550
- }, p = {
4550
+ }, _ = {
4551
4551
  className: "operator",
4552
4552
  begin: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
4553
4553
  relevance: 0
4554
- }, E = {
4554
+ }, v = {
4555
4555
  begin: e.concat(/\b/, e.either(...h), /\s*\(/),
4556
4556
  relevance: 0,
4557
4557
  keywords: { built_in: h }
4558
4558
  };
4559
- function b(y, {
4560
- exceptions: A,
4561
- when: R
4559
+ function E(m, {
4560
+ exceptions: N,
4561
+ when: D
4562
4562
  } = {}) {
4563
- const w = R;
4564
- return A = A || [], y.map((D) => D.match(/\|\d+$/) || A.includes(D) ? D : w(D) ? `${D}|0` : D);
4563
+ const S = D;
4564
+ return N = N || [], m.map((A) => A.match(/\|\d+$/) || N.includes(A) ? A : S(A) ? `${A}|0` : A);
4565
4565
  }
4566
4566
  return {
4567
4567
  name: "SQL",
@@ -4570,7 +4570,7 @@ function Zt(n) {
4570
4570
  illegal: /[{}]|<\//,
4571
4571
  keywords: {
4572
4572
  $pattern: /\b[\w\.]+/,
4573
- keyword: b(d, { when: (y) => y.length < 3 }),
4573
+ keyword: E(d, { when: (m) => m.length < 3 }),
4574
4574
  literal: t,
4575
4575
  type: i,
4576
4576
  built_in: c
@@ -4590,14 +4590,14 @@ function Zt(n) {
4590
4590
  className: "type",
4591
4591
  begin: e.either(...r)
4592
4592
  },
4593
- E,
4594
- _,
4593
+ v,
4594
+ p,
4595
4595
  u,
4596
4596
  g,
4597
4597
  n.C_NUMBER_MODE,
4598
4598
  n.C_BLOCK_COMMENT_MODE,
4599
4599
  a,
4600
- p
4600
+ _
4601
4601
  ]
4602
4602
  };
4603
4603
  }
@@ -4610,14 +4610,14 @@ Z.registerLanguage("python", Wt);
4610
4610
  Z.registerLanguage("java", Qt);
4611
4611
  Z.registerLanguage("bash", Vt);
4612
4612
  Z.registerLanguage("sql", Zt);
4613
- var S = /* @__PURE__ */ ((n) => (n.EQUAL = "equal", n.DELETE = "removed", n.ADD = "added", n.EMPTY = "empty", n))(S || {});
4613
+ var T = /* @__PURE__ */ ((n) => (n.EQUAL = "equal", n.DELETE = "removed", n.ADD = "added", n.EMPTY = "empty", n))(T || {});
4614
4614
  const q = "<code-diff-modified>", ee = "</code-diff-modified>", Yt = q.replace("<", "&lt;").replace(">", "&gt;"), Xt = ee.replace("<", "&lt;").replace(">", "&gt;");
4615
4615
  function fe(n) {
4616
- return n === void 0 ? S.EQUAL : n.added ? S.ADD : n.removed ? S.DELETE : S.EQUAL;
4616
+ return n === void 0 ? T.EQUAL : n.added ? T.ADD : n.removed ? T.DELETE : T.EQUAL;
4617
4617
  }
4618
4618
  function Te(n, e, a = "word") {
4619
- return typeof n == "undefined" ? e : typeof e == "undefined" ? n : (a === "char" ? $n : Pn)(n, e).filter((g) => fe(g) !== S.DELETE).map(
4620
- (g) => fe(g) === S.ADD ? `${q}${g.value}${ee}` : g.value
4619
+ return typeof n == "undefined" ? e : typeof e == "undefined" ? n : (a === "char" ? $n : Pn)(n, e).filter((g) => fe(g) !== T.DELETE).map(
4620
+ (g) => fe(g) === T.ADD ? `${q}${g.value}${ee}` : g.value
4621
4621
  ).join("");
4622
4622
  }
4623
4623
  function yn(n, e) {
@@ -4690,201 +4690,201 @@ function wn(n, e) {
4690
4690
  ignoreDeletionsNum: i
4691
4691
  };
4692
4692
  }
4693
- function jt(n, e, a = "plaintext", u = "word", g = 10, t) {
4694
- const r = () => ({ type: S.EMPTY }), i = (E, b, y) => ({ type: E, num: b, code: y }), s = yn(n, e), o = t ? new RegExp(t) : void 0;
4695
- let l = 0, c = 0, f = !1;
4696
- const h = [], d = {
4697
- changes: h,
4693
+ function jt(n, e, a = "plaintext", u = "word", g = !1, t = 10, r) {
4694
+ const i = () => ({ type: T.EMPTY }), s = (E, m, N) => ({ type: E, num: m, code: N }), o = yn(n, e), l = r ? new RegExp(r) : void 0;
4695
+ let c = 0, f = 0, h = !1;
4696
+ const d = [], p = {
4697
+ changes: d,
4698
4698
  collector: [],
4699
- stat: wn(s, o)
4699
+ stat: wn(o, l)
4700
4700
  };
4701
- for (let E = 0; E < s.length; E++) {
4702
- if (f) {
4703
- f = !1;
4701
+ for (let E = 0; E < o.length; E++) {
4702
+ if (h) {
4703
+ h = !1;
4704
4704
  continue;
4705
4705
  }
4706
- const [b, y] = [s[E], s[E + 1]], [A, R] = [fe(b), fe(y)], w = b.value.replace(/\n$/, "").split(`
4706
+ const [m, N] = [o[E], o[E + 1]], [D, S] = [fe(m), fe(N)], A = m.value.replace(/\n$/, "").split(`
4707
4707
  `);
4708
- if (y === void 0) {
4709
- for (const C of w) {
4710
- let T = r(), $ = r();
4711
- const k = V(a, C);
4712
- A === S.EQUAL && (l++, c++, T = i(S.EQUAL, l, k), $ = i(S.EQUAL, c, k)), A === S.DELETE && (l++, T = i(S.DELETE, l, k), $ = r()), A === S.ADD && (c++, T = r(), $ = i(S.ADD, c, k)), h.push({ left: T, right: $ });
4708
+ if (N === void 0) {
4709
+ for (const R of A) {
4710
+ let I = i(), $ = i();
4711
+ const B = V(a, R);
4712
+ D === T.EQUAL && (c++, f++, I = s(T.EQUAL, c, B), $ = s(T.EQUAL, f, B)), D === T.DELETE && (c++, I = s(T.DELETE, c, B), $ = i()), D === T.ADD && (f++, I = i(), $ = s(T.ADD, f, B)), d.push({ left: I, right: $ });
4713
4713
  }
4714
4714
  break;
4715
4715
  }
4716
- if (A === S.EQUAL)
4717
- for (const C of w) {
4718
- l++, c++;
4719
- const T = V(a, C);
4720
- h.push({
4721
- left: i(S.EQUAL, l, T),
4722
- right: i(S.EQUAL, c, T)
4716
+ if (D === T.EQUAL)
4717
+ for (const R of A) {
4718
+ c++, f++;
4719
+ const I = V(a, R);
4720
+ d.push({
4721
+ left: s(T.EQUAL, c, I),
4722
+ right: s(T.EQUAL, f, I)
4723
4723
  });
4724
4724
  }
4725
- const D = y.value.replace(/\n$/, "").split(`
4725
+ const C = N.value.replace(/\n$/, "").split(`
4726
4726
  `);
4727
- if (A === S.DELETE) {
4728
- if (R === S.EQUAL)
4729
- for (const C of w)
4730
- l++, h.push({
4731
- left: i(S.DELETE, l, V(a, C)),
4732
- right: r()
4727
+ if (D === T.DELETE) {
4728
+ if (S === T.EQUAL)
4729
+ for (const R of A)
4730
+ c++, d.push({
4731
+ left: s(T.DELETE, c, V(a, R)),
4732
+ right: i()
4733
4733
  });
4734
- if (R === S.ADD) {
4735
- f = !0;
4736
- const C = Math.max(b.count, y.count);
4737
- for (let T = 0; T < C; T++) {
4738
- T < b.count && l++, T < y.count && c++;
4739
- const [$, k] = [w[T], D[T]], P = w.length === D.length ? Te(k, $, u) : $, F = w.length === D.length ? Te($, k, u) : k, K = o != null && o.test($) ? S.EQUAL : S.DELETE, te = o != null && o.test(k) ? S.EQUAL : S.ADD, oe = T < b.count ? i(K, l, V(a, P)) : r(), v = T < y.count ? i(te, c, V(a, F)) : r();
4740
- h.push({ left: oe, right: v });
4734
+ if (S === T.ADD) {
4735
+ h = !0;
4736
+ const R = Math.max(m.count, N.count);
4737
+ for (let I = 0; I < R; I++) {
4738
+ I < m.count && c++, I < N.count && f++;
4739
+ const [$, B] = [A[I], C[I]], F = g || A.length === C.length, K = F ? Te(B, $, u) : $, te = F ? Te($, B, u) : B, oe = l != null && l.test($) ? T.EQUAL : T.DELETE, b = l != null && l.test(B) ? T.EQUAL : T.ADD, w = I < m.count ? s(oe, c, V(a, K)) : i(), L = I < N.count ? s(b, f, V(a, te)) : i();
4740
+ d.push({ left: w, right: L });
4741
4741
  }
4742
4742
  }
4743
4743
  }
4744
- if (A === S.ADD)
4745
- for (const C of w)
4746
- c++, h.push({
4747
- left: r(),
4748
- right: i(S.ADD, c, V(a, C))
4744
+ if (D === T.ADD)
4745
+ for (const R of A)
4746
+ f++, d.push({
4747
+ left: i(),
4748
+ right: s(T.ADD, f, V(a, R))
4749
4749
  });
4750
4750
  }
4751
4751
  if (n === e) {
4752
- for (let E = 0; E < h.length; E++)
4753
- h[E].fold = !1;
4754
- return d;
4752
+ for (let E = 0; E < d.length; E++)
4753
+ d[E].fold = !1;
4754
+ return p;
4755
4755
  }
4756
- for (let E = 0; E < h.length; E++) {
4757
- const b = h[E];
4758
- if (b.left.type === S.DELETE || b.right.type === S.ADD) {
4759
- const [y, A] = [Math.max(E - g, 0), Math.min(E + g + 1, h.length)];
4760
- for (let R = y; R < A; R++)
4761
- h[R].fold = !1;
4756
+ for (let E = 0; E < d.length; E++) {
4757
+ const m = d[E];
4758
+ if (m.left.type === T.DELETE || m.right.type === T.ADD) {
4759
+ const [N, D] = [Math.max(E - t, 0), Math.min(E + t + 1, d.length)];
4760
+ for (let S = N; S < D; S++)
4761
+ d[S].fold = !1;
4762
4762
  }
4763
- b.fold === void 0 && (b.fold = !0);
4763
+ m.fold === void 0 && (m.fold = !0);
4764
4764
  }
4765
4765
  const _ = [];
4766
- let p = [];
4767
- for (let E = 0; E < h.length; E++) {
4768
- const b = h[E];
4769
- if (b.fold === !1) {
4770
- p.length && (p[0].hideIndex = d.collector.length, d.collector.push({
4771
- lines: p,
4766
+ let v = [];
4767
+ for (let E = 0; E < d.length; E++) {
4768
+ const m = d[E];
4769
+ if (m.fold === !1) {
4770
+ v.length && (v[0].hideIndex = p.collector.length, p.collector.push({
4771
+ lines: v,
4772
4772
  fold: !0
4773
- }), p = []), _.push(b);
4773
+ }), v = []), _.push(m);
4774
4774
  continue;
4775
4775
  }
4776
- b.hide = !0, p.push(b), _.push(b);
4776
+ m.hide = !0, v.push(m), _.push(m);
4777
4777
  }
4778
- return p.length && (p[0].hideIndex = d.collector.length, d.collector.push({
4779
- lines: p,
4778
+ return v.length && (v[0].hideIndex = p.collector.length, p.collector.push({
4779
+ lines: v,
4780
4780
  fold: !0
4781
- }), p = []), d.changes = _, d;
4781
+ }), v = []), p.changes = _, p;
4782
4782
  }
4783
- function Jt(n, e, a = "plaintext", u = "word", g = 10, t) {
4784
- const r = yn(n, e), i = t ? new RegExp(t) : void 0;
4785
- let s = 0, o = 0, l = !1;
4786
- const c = [], f = {
4787
- changes: c,
4783
+ function Jt(n, e, a = "plaintext", u = "word", g = !1, t = 10, r) {
4784
+ const i = yn(n, e), s = r ? new RegExp(r) : void 0;
4785
+ let o = 0, l = 0, c = !1;
4786
+ const f = [], h = {
4787
+ changes: f,
4788
4788
  collector: [],
4789
- stat: wn(r, i)
4789
+ stat: wn(i, s)
4790
4790
  };
4791
- for (let _ = 0; _ < r.length; _++) {
4792
- if (l) {
4793
- l = !1;
4791
+ for (let _ = 0; _ < i.length; _++) {
4792
+ if (c) {
4793
+ c = !1;
4794
4794
  continue;
4795
4795
  }
4796
- const [p, E] = [r[_], r[_ + 1]], [b, y] = [fe(p), fe(E)], A = p.value.replace(/\n$/, "").split(`
4796
+ const [v, E] = [i[_], i[_ + 1]], [m, N] = [fe(v), fe(E)], D = v.value.replace(/\n$/, "").split(`
4797
4797
  `);
4798
4798
  if (E === void 0) {
4799
- for (const w of A) {
4800
- b === S.EQUAL && (s++, o++), b === S.DELETE && s++, b === S.ADD && o++;
4801
- const D = V(a, w);
4802
- c.push({
4803
- type: b,
4804
- code: D,
4805
- addNum: b === S.DELETE ? void 0 : o,
4806
- delNum: b === S.ADD ? void 0 : s
4799
+ for (const A of D) {
4800
+ m === T.EQUAL && (o++, l++), m === T.DELETE && o++, m === T.ADD && l++;
4801
+ const C = V(a, A);
4802
+ f.push({
4803
+ type: m,
4804
+ code: C,
4805
+ addNum: m === T.DELETE ? void 0 : l,
4806
+ delNum: m === T.ADD ? void 0 : o
4807
4807
  });
4808
4808
  }
4809
4809
  break;
4810
4810
  }
4811
- if (b === S.EQUAL)
4812
- for (const w of A) {
4813
- s++, o++;
4814
- const D = V(a, w);
4815
- c.push({ type: S.EQUAL, code: D, delNum: s, addNum: o });
4811
+ if (m === T.EQUAL)
4812
+ for (const A of D) {
4813
+ o++, l++;
4814
+ const C = V(a, A);
4815
+ f.push({ type: T.EQUAL, code: C, delNum: o, addNum: l });
4816
4816
  }
4817
- const R = E.value.replace(/\n$/, "").split(`
4817
+ const S = E.value.replace(/\n$/, "").split(`
4818
4818
  `);
4819
- if (b === S.DELETE)
4820
- if (y === S.ADD && A.length === R.length) {
4821
- for (let w = 0; w < A.length; w++) {
4822
- const D = A[w], C = R[w];
4823
- s++;
4824
- const T = V(a, Te(C, D, u));
4825
- c.push({
4826
- type: i != null && i.test(D) ? S.EQUAL : S.DELETE,
4827
- code: T,
4828
- delNum: s
4819
+ if (m === T.DELETE)
4820
+ if (N === T.ADD && (D.length === S.length || g)) {
4821
+ for (let A = 0; A < D.length; A++) {
4822
+ const C = D[A], R = S[A];
4823
+ o++;
4824
+ const I = V(a, Te(R, C, u));
4825
+ f.push({
4826
+ type: s != null && s.test(C) ? T.EQUAL : T.DELETE,
4827
+ code: I,
4828
+ delNum: o
4829
4829
  });
4830
4830
  }
4831
- for (let w = 0; w < R.length; w++) {
4832
- const D = A[w], C = R[w];
4833
- o++;
4834
- const T = V(a, Te(D, C, u));
4835
- c.push({
4836
- type: i != null && i.test(C) ? S.EQUAL : S.ADD,
4837
- code: T,
4838
- addNum: o
4831
+ for (let A = 0; A < S.length; A++) {
4832
+ const C = D[A], R = S[A];
4833
+ l++;
4834
+ const I = V(a, Te(C, R, u));
4835
+ f.push({
4836
+ type: s != null && s.test(R) ? T.EQUAL : T.ADD,
4837
+ code: I,
4838
+ addNum: l
4839
4839
  });
4840
4840
  }
4841
- l = !0;
4841
+ c = !0;
4842
4842
  } else
4843
- for (const w of A) {
4844
- s++;
4845
- const D = V(a, w);
4846
- c.push({ type: S.DELETE, code: D, delNum: s });
4843
+ for (const A of D) {
4844
+ o++;
4845
+ const C = V(a, A);
4846
+ f.push({ type: T.DELETE, code: C, delNum: o });
4847
4847
  }
4848
- if (b === S.ADD)
4849
- for (const w of A) {
4850
- o++;
4851
- const D = V(a, w);
4852
- c.push({ type: S.ADD, code: D, addNum: o });
4848
+ if (m === T.ADD)
4849
+ for (const A of D) {
4850
+ l++;
4851
+ const C = V(a, A);
4852
+ f.push({ type: T.ADD, code: C, addNum: l });
4853
4853
  }
4854
4854
  }
4855
- for (let _ = 0; _ < c.length; _++) {
4856
- const p = c[_];
4857
- if (p.type === S.DELETE || p.type === S.ADD) {
4858
- const [E, b] = [Math.max(_ - g, 0), Math.min(_ + g + 1, c.length)];
4859
- for (let y = E; y < b; y++)
4860
- c[y].fold = !1;
4855
+ for (let _ = 0; _ < f.length; _++) {
4856
+ const v = f[_];
4857
+ if (v.type === T.DELETE || v.type === T.ADD) {
4858
+ const [E, m] = [Math.max(_ - t, 0), Math.min(_ + t + 1, f.length)];
4859
+ for (let N = E; N < m; N++)
4860
+ f[N].fold = !1;
4861
4861
  }
4862
- p.fold === void 0 && (p.fold = !0);
4862
+ v.fold === void 0 && (v.fold = !0);
4863
4863
  }
4864
4864
  if (n === e) {
4865
- for (let _ = 0; _ < c.length; _++)
4866
- c[_].fold = !1;
4867
- return f;
4865
+ for (let _ = 0; _ < f.length; _++)
4866
+ f[_].fold = !1;
4867
+ return h;
4868
4868
  }
4869
- const h = [];
4870
- let d = [];
4871
- for (let _ = 0; _ < c.length; _++) {
4872
- const p = c[_];
4873
- if (p.fold === !1) {
4874
- d.length && (d[0].hideIndex = f.collector.length, f.collector.push({
4875
- lines: d,
4869
+ const d = [];
4870
+ let p = [];
4871
+ for (let _ = 0; _ < f.length; _++) {
4872
+ const v = f[_];
4873
+ if (v.fold === !1) {
4874
+ p.length && (p[0].hideIndex = h.collector.length, h.collector.push({
4875
+ lines: p,
4876
4876
  fold: !0
4877
- }), d = []), h.push(p);
4877
+ }), p = []), d.push(v);
4878
4878
  continue;
4879
4879
  }
4880
- p.type === "equal" && (p.hide = !0, d.push(p)), h.push(p);
4880
+ v.type === "equal" && (v.hide = !0, p.push(v)), d.push(v);
4881
4881
  }
4882
- return d.length && (d[0].hideIndex = f.collector.length, f.collector.push({
4883
- lines: d,
4882
+ return p.length && (p[0].hideIndex = h.collector.length, h.collector.push({
4883
+ lines: p,
4884
4884
  fold: !0
4885
- }), d = []), f.changes = h, f;
4885
+ }), p = []), h.changes = d, h;
4886
4886
  }
4887
- const qt = /* @__PURE__ */ pe({
4887
+ const qt = /* @__PURE__ */ _e({
4888
4888
  __name: "UnifiedLine",
4889
4889
  props: {
4890
4890
  line: null
@@ -4892,9 +4892,9 @@ const qt = /* @__PURE__ */ pe({
4892
4892
  emits: ["expand"],
4893
4893
  setup(n, { emit: e }) {
4894
4894
  function a(u) {
4895
- return u === S.DELETE ? "-" : u === S.ADD ? "+" : "";
4895
+ return u === T.DELETE ? "-" : u === T.ADD ? "+" : "";
4896
4896
  }
4897
- return { __sfc: !0, emit: e, getCodeMarker: a, DiffType: S };
4897
+ return { __sfc: !0, emit: e, getCodeMarker: a, DiffType: T };
4898
4898
  }
4899
4899
  });
4900
4900
  function be(n, e, a, u, g, t, r, i) {
@@ -4956,7 +4956,7 @@ var er = function() {
4956
4956
  null,
4957
4957
  null
4958
4958
  );
4959
- const rr = tr.exports, ir = /* @__PURE__ */ pe({
4959
+ const rr = tr.exports, ir = /* @__PURE__ */ _e({
4960
4960
  __name: "UnifiedViewer",
4961
4961
  props: {
4962
4962
  diffChange: null
@@ -4987,7 +4987,7 @@ var sr = function() {
4987
4987
  null,
4988
4988
  null
4989
4989
  );
4990
- const lr = or.exports, cr = /* @__PURE__ */ pe({
4990
+ const lr = or.exports, cr = /* @__PURE__ */ _e({
4991
4991
  __name: "SplitLine",
4992
4992
  props: {
4993
4993
  splitLine: null
@@ -4995,7 +4995,7 @@ const lr = or.exports, cr = /* @__PURE__ */ pe({
4995
4995
  emits: ["expand"],
4996
4996
  setup(n, { emit: e }) {
4997
4997
  function a(g) {
4998
- return g === S.DELETE ? "-" : g === S.ADD ? "+" : "";
4998
+ return g === T.DELETE ? "-" : g === T.ADD ? "+" : "";
4999
4999
  }
5000
5000
  function u(g) {
5001
5001
  window.getSelection().removeAllRanges();
@@ -5005,7 +5005,7 @@ const lr = or.exports, cr = /* @__PURE__ */ pe({
5005
5005
  for (const i of t)
5006
5006
  i.classList.toggle("no-select", g === "right");
5007
5007
  }
5008
- return { __sfc: !0, emit: e, getCodeMarker: a, onSplitLineMousedown: u, DiffType: S };
5008
+ return { __sfc: !0, emit: e, getCodeMarker: a, onSplitLineMousedown: u, DiffType: T };
5009
5009
  }
5010
5010
  });
5011
5011
  var ur = function() {
@@ -5039,7 +5039,7 @@ var ur = function() {
5039
5039
  null,
5040
5040
  null
5041
5041
  );
5042
- const hr = gr.exports, dr = /* @__PURE__ */ pe({
5042
+ const hr = gr.exports, dr = /* @__PURE__ */ _e({
5043
5043
  __name: "SplitViewer",
5044
5044
  props: {
5045
5045
  diffChange: null
@@ -5054,19 +5054,19 @@ const hr = gr.exports, dr = /* @__PURE__ */ pe({
5054
5054
  return { __sfc: !0, props: e, expandHandler: a, SplitLine: hr };
5055
5055
  }
5056
5056
  });
5057
- var _r = function() {
5057
+ var pr = function() {
5058
5058
  var g;
5059
5059
  var e = this, a = e._self._c, u = e._self._setupProxy;
5060
5060
  return a("table", { staticClass: "file-diff-split diff-table" }, [e._m(0), a("tbody", e._l((g = e.diffChange) == null ? void 0 : g.changes, function(t, r) {
5061
5061
  return a(u.SplitLine, { key: r, attrs: { "split-line": t }, on: { expand: u.expandHandler } });
5062
5062
  }), 1)]);
5063
- }, pr = [function() {
5063
+ }, _r = [function() {
5064
5064
  var n = this, e = n._self._c;
5065
5065
  return n._self._setupProxy, e("colgroup", [e("col", { attrs: { width: "44" } }), e("col"), e("col", { attrs: { width: "44" } }), e("col")]);
5066
5066
  }], br = /* @__PURE__ */ be(
5067
5067
  dr,
5068
- _r,
5069
5068
  pr,
5069
+ _r,
5070
5070
  !1,
5071
5071
  null,
5072
5072
  "829edc33",
@@ -5074,7 +5074,7 @@ var _r = function() {
5074
5074
  null
5075
5075
  );
5076
5076
  const vr = br.exports;
5077
- const Er = /* @__PURE__ */ pe({
5077
+ const Er = /* @__PURE__ */ _e({
5078
5078
  __name: "CodeDiff",
5079
5079
  props: {
5080
5080
  newString: null,
@@ -5082,6 +5082,7 @@ const Er = /* @__PURE__ */ pe({
5082
5082
  language: { default: "plaintext" },
5083
5083
  context: { default: 10 },
5084
5084
  diffStyle: { default: "word" },
5085
+ forceInlineComparison: { type: Boolean, default: !1 },
5085
5086
  outputFormat: { default: "line-by-line" },
5086
5087
  trim: { type: Boolean, default: !1 },
5087
5088
  noDiffLineFeed: { type: Boolean, default: !1 },
@@ -5104,7 +5105,7 @@ const Er = /* @__PURE__ */ pe({
5104
5105
  return o = a.trim ? o.trim() : o, o = a.noDiffLineFeed ? o.replace(/(\r\n)/g, `
5105
5106
  `) : o, o;
5106
5107
  }), r = ge(
5107
- () => u.value ? Jt(g.value, t.value, a.language, a.diffStyle, a.context, a.ignoreMatchingLines) : jt(g.value, t.value, a.language, a.diffStyle, a.context, a.ignoreMatchingLines)
5108
+ () => u.value ? Jt(g.value, t.value, a.language, a.diffStyle, a.forceInlineComparison, a.context, a.ignoreMatchingLines) : jt(g.value, t.value, a.language, a.diffStyle, a.forceInlineComparison, a.context, a.ignoreMatchingLines)
5108
5109
  ), i = Ln(r.value), s = ge(() => i.value.stat.additionsNum === 0 && i.value.stat.deletionsNum === 0);
5109
5110
  return On(() => a, () => {
5110
5111
  i.value = r.value, e("diff", {