v-code-diff 1.5.1 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view{--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #24292f;--color-diff-blob-addition-fg: #24292f;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #24292f;--color-diff-blob-deletion-fg: #24292f;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #57606a;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(27,31,36,.15);--color-diffstat-addition-border: rgba(27,31,36,.15);--color-diffstat-addition-bg: #2da44e;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #24292f;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #57606a;--color-codemirror-cursor: #24292f;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #24292f;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #2da44e;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(27,31,36,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(27,31,36,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: -2px -2px 0 rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(27,31,36,.12), 0 8px 24px rgba(66,74,83,.12);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(27,31,36,.15);--color-btn-shadow: 0 1px 0 rgba(27,31,36,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(27,31,36,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(27,31,36,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-focus-bg: #f6f8fa;--color-btn-focus-border: rgba(27,31,36,.15);--color-btn-focus-shadow: 0 0 0 3px rgba(9,105,218,.3);--color-btn-shadow-active: inset 0 .15em .3em rgba(27,31,36,.15);--color-btn-shadow-input-focus: 0 0 0 .2em rgba(9,105,218,.3);--color-btn-counter-bg: rgba(27,31,36,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #2da44e;--color-btn-primary-border: rgba(27,31,36,.15);--color-btn-primary-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #2c974b;--color-btn-primary-hover-border: rgba(27,31,36,.15);--color-btn-primary-selected-bg: hsla(137,55%,36%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(27,31,36,.15);--color-btn-primary-focus-bg: #2da44e;--color-btn-primary-focus-border: rgba(27,31,36,.15);--color-btn-primary-focus-shadow: 0 0 0 3px rgba(45,164,78,.4);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(255,255,255,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(27,31,36,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(27,31,36,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-focus-border: rgba(27,31,36,.15);--color-btn-outline-focus-shadow: 0 0 0 3px rgba(5,80,174,.4);--color-btn-outline-counter-bg: rgba(9,105,218,.1);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(27,31,36,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(27,31,36,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(27,31,36,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-focus-border: rgba(27,31,36,.15);--color-btn-danger-focus-shadow: 0 0 0 3px rgba(164,14,38,.4);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #cf222e;--color-switch-track-bg: #eaeef2;--color-switch-track-border: #afb8c1;--color-switch-track-checked-bg: #ddf4ff;--color-switch-track-checked-hover-bg: #b6e3ff;--color-switch-track-checked-active-bg: #80ccff;--color-switch-track-checked-border: #54aeff;--color-switch-knob-checked-bg: #0969da;--color-switch-knob-checked-disabled-bg: #6e7781;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #6e7781;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(27,31,36,.15);--color-shadow-small: 0 1px 0 rgba(27,31,36,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #2da44e;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #bf8700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #cf222e;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #2da44e;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #cf222e;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(27,31,36,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(27,31,36,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-primer-shadow-focus: 0 0 0 3px rgba(9,105,218,.3);--color-scale-black: #1b1f24;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view{position:relative;margin-top:16px;margin-bottom:16px;border:1px solid var(--color-border-default, #ddd);border-radius:6px;overflow-y:auto}.code-diff-view *{position:static;box-sizing:border-box}.code-diff-view .file-header{background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .filename{font-size:13px;color:var(--color-fg-default)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#00f}.hljs-addition,.hljs-attribute,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-title,.hljs-type{color:#a31515}.hljs-deletion,.hljs-meta,.hljs-selector-attr,.hljs-selector-pseudo{color:#2b91af}.hljs-doctag{color:gray}.hljs-attr{color:red}.hljs-bullet,.hljs-link,.hljs-symbol{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
2
  import $e from "vue";
3
- import Un, { computed as we, ref as Pn, watch as xn } from "@vue/composition-api/dist/vue-composition-api.mjs";
4
- function Hn(e) {
5
- e = e || $e, e && !e.__composition_api_installed__ && e.use(Un);
3
+ import Pn, { computed as ce, ref as xn, watch as Hn } from "@vue/composition-api/dist/vue-composition-api.mjs";
4
+ function Fn(e) {
5
+ e = e || $e, e && !e.__composition_api_installed__ && e.use(Pn);
6
6
  }
7
- Hn($e);
7
+ Fn($e);
8
8
  $e.version;
9
9
  function J() {
10
10
  }
@@ -39,8 +39,8 @@ J.prototype = {
39
39
  c[p] = void 0;
40
40
  continue;
41
41
  }
42
- if (!m || T && v.newPos < E.newPos ? (_ = zn(E), t.pushComponent(_.components, void 0, !0)) : (_ = v, _.newPos++, t.pushComponent(_.components, !0, void 0)), w = t.extractCommon(_, a, n, p), _.newPos + 1 >= i && w + 1 >= s)
43
- return r(Fn(t, _.components, a, n, t.useLongestToken));
42
+ if (!m || T && v.newPos < E.newPos ? (_ = Gn(E), t.pushComponent(_.components, void 0, !0)) : (_ = v, _.newPos++, t.pushComponent(_.components, !0, void 0)), w = t.extractCommon(_, a, n, p), _.newPos + 1 >= i && w + 1 >= s)
43
+ return r(zn(t, _.components, a, n, t.useLongestToken));
44
44
  c[p] = _;
45
45
  }
46
46
  o++;
@@ -97,7 +97,7 @@ J.prototype = {
97
97
  return n.join("");
98
98
  }
99
99
  };
100
- function Fn(e, n, a, u, h) {
100
+ function zn(e, n, a, u, h) {
101
101
  for (var t = 0, r = n.length, i = 0, s = 0; t < r; t++) {
102
102
  var o = n[t];
103
103
  if (o.removed) {
@@ -120,17 +120,17 @@ function Fn(e, n, a, u, h) {
120
120
  var f = n[r - 1];
121
121
  return r > 1 && typeof f.value == "string" && (f.added || f.removed) && e.equals("", f.value) && (n[r - 2].value += f.value, n.pop()), n;
122
122
  }
123
- function zn(e) {
123
+ function Gn(e) {
124
124
  return {
125
125
  newPos: e.newPos,
126
126
  components: e.components.slice(0)
127
127
  };
128
128
  }
129
- var Gn = new J();
130
- function Kn(e, n, a) {
131
- return Gn.diff(e, n, a);
129
+ var Kn = new J();
130
+ function Wn(e, n, a) {
131
+ return Kn.diff(e, n, a);
132
132
  }
133
- function Wn(e, n) {
133
+ function Qn(e, n) {
134
134
  if (typeof e == "function")
135
135
  n.callback = e;
136
136
  else if (e)
@@ -138,17 +138,17 @@ function Wn(e, n) {
138
138
  e.hasOwnProperty(a) && (n[a] = e[a]);
139
139
  return n;
140
140
  }
141
- var Ve = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, je = /\S/, Ue = new J();
141
+ var Xe = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, Ve = /\S/, Ue = new J();
142
142
  Ue.equals = function(e, n) {
143
- return this.options.ignoreCase && (e = e.toLowerCase(), n = n.toLowerCase()), e === n || this.options.ignoreWhitespace && !je.test(e) && !je.test(n);
143
+ return this.options.ignoreCase && (e = e.toLowerCase(), n = n.toLowerCase()), e === n || this.options.ignoreWhitespace && !Ve.test(e) && !Ve.test(n);
144
144
  };
145
145
  Ue.tokenize = function(e) {
146
146
  for (var n = e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), a = 0; a < n.length - 1; a++)
147
- !n[a + 1] && n[a + 2] && Ve.test(n[a]) && Ve.test(n[a + 2]) && (n[a] += n[a + 2], n.splice(a + 1, 2), a--);
147
+ !n[a + 1] && n[a + 2] && Xe.test(n[a]) && Xe.test(n[a + 2]) && (n[a] += n[a + 2], n.splice(a + 1, 2), a--);
148
148
  return n;
149
149
  };
150
- function Qn(e, n, a) {
151
- return a = Wn(a, {
150
+ function Zn(e, n, a) {
151
+ return a = Qn(a, {
152
152
  ignoreWhitespace: !0
153
153
  }), Ue.diff(e, n, a);
154
154
  }
@@ -162,20 +162,21 @@ hn.tokenize = function(e) {
162
162
  }
163
163
  return n;
164
164
  };
165
- var Zn = new J();
166
- Zn.tokenize = function(e) {
167
- return e.split(/(\S.+?[.!?])(?=\s+|$)/);
168
- };
169
165
  var Yn = new J();
170
166
  Yn.tokenize = function(e) {
167
+ return e.split(/(\S.+?[.!?])(?=\s+|$)/);
168
+ };
169
+ var jn = new J();
170
+ jn.tokenize = function(e) {
171
171
  return e.split(/([{}:;,]|\s+)/);
172
172
  };
173
- function Te(e) {
174
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Te = function(n) {
173
+ function Ae(e) {
174
+ "@babel/helpers - typeof";
175
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ae = function(n) {
175
176
  return typeof n;
176
- } : Te = function(n) {
177
+ } : Ae = function(n) {
177
178
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
178
- }, Te(e);
179
+ }, Ae(e);
179
180
  }
180
181
  var Xn = Object.prototype.toString, ue = new J();
181
182
  ue.useLongestToken = !0;
@@ -201,7 +202,7 @@ function ke(e, n, a, u, h) {
201
202
  r[t] = ke(e[t], n, a, u, h);
202
203
  return n.pop(), a.pop(), r;
203
204
  }
204
- if (e && e.toJSON && (e = e.toJSON()), Te(e) === "object" && e !== null) {
205
+ if (e && e.toJSON && (e = e.toJSON()), Ae(e) === "object" && e !== null) {
205
206
  n.push(e), r = {}, a.push(r);
206
207
  var i = [], s;
207
208
  for (s in e)
@@ -220,14 +221,10 @@ Be.tokenize = function(e) {
220
221
  Be.join = Be.removeEmpty = function(e) {
221
222
  return e;
222
223
  };
223
- var ce = {}, Vn = {
224
- get exports() {
225
- return ce;
226
- },
227
- set exports(e) {
228
- ce = e;
229
- }
230
- };
224
+ function Vn(e) {
225
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
226
+ }
227
+ var dn = { exports: {} };
231
228
  (function(e) {
232
229
  var n = function() {
233
230
  this.Diff_Timeout = 1, this.Diff_EditCost = 4, this.Match_Threshold = 0.5, this.Match_Distance = 1e3, this.Patch_DeleteThreshold = 0.5, this.Patch_Margin = 4, this.Match_MaxBits = 32;
@@ -235,7 +232,7 @@ var ce = {}, Vn = {
235
232
  n.Diff = function(t, r) {
236
233
  return [t, r];
237
234
  }, n.prototype.diff_main = function(t, r, i, s) {
238
- typeof s == "undefined" && (this.Diff_Timeout <= 0 ? s = Number.MAX_VALUE : s = new Date().getTime() + this.Diff_Timeout * 1e3);
235
+ typeof s == "undefined" && (this.Diff_Timeout <= 0 ? s = Number.MAX_VALUE : s = (/* @__PURE__ */ new Date()).getTime() + this.Diff_Timeout * 1e3);
239
236
  var o = s;
240
237
  if (t == null || r == null)
241
238
  throw new Error("Null input. (diff_main)");
@@ -311,18 +308,18 @@ var ce = {}, Vn = {
311
308
  for (var s = t.length, o = r.length, l = Math.ceil((s + o) / 2), c = l, f = 2 * l, g = new Array(f), d = new Array(f), p = 0; p < f; p++)
312
309
  g[p] = -1, d[p] = -1;
313
310
  g[c + 1] = 0, d[c + 1] = 0;
314
- for (var _ = s - o, v = _ % 2 != 0, E = 0, w = 0, m = 0, T = 0, D = 0; D < l && !(new Date().getTime() > i); D++) {
315
- for (var N = -D + E; N <= D - w; N += 2) {
316
- var I = c + N, R;
317
- N == -D || N != D && g[I - 1] < g[I + 1] ? R = g[I + 1] : R = g[I - 1] + 1;
318
- for (var H = R - N; R < s && H < o && t.charAt(R) == r.charAt(H); )
311
+ for (var _ = s - o, v = _ % 2 != 0, E = 0, w = 0, m = 0, T = 0, D = 0; D < l && !((/* @__PURE__ */ new Date()).getTime() > i); D++) {
312
+ for (var M = -D + E; M <= D - w; M += 2) {
313
+ var I = c + M, R;
314
+ M == -D || M != D && g[I - 1] < g[I + 1] ? R = g[I + 1] : R = g[I - 1] + 1;
315
+ for (var H = R - M; R < s && H < o && t.charAt(R) == r.charAt(H); )
319
316
  R++, H++;
320
317
  if (g[I] = R, R > s)
321
318
  w += 2;
322
319
  else if (H > o)
323
320
  E += 2;
324
321
  else if (v) {
325
- var U = c + _ - N;
322
+ var U = c + _ - M;
326
323
  if (U >= 0 && U < f && d[U] != -1) {
327
324
  var $ = s - d[U];
328
325
  if (R >= $)
@@ -412,15 +409,15 @@ var ce = {}, Vn = {
412
409
  return null;
413
410
  var o = this;
414
411
  function l(w, m, T) {
415
- for (var D = w.substring(T, T + Math.floor(w.length / 4)), N = -1, I = "", R, H, U, $; (N = m.indexOf(D, N + 1)) != -1; ) {
412
+ for (var D = w.substring(T, T + Math.floor(w.length / 4)), M = -1, I = "", R, H, U, $; (M = m.indexOf(D, M + 1)) != -1; ) {
416
413
  var F = o.diff_commonPrefix(
417
414
  w.substring(T),
418
- m.substring(N)
415
+ m.substring(M)
419
416
  ), G = o.diff_commonSuffix(
420
417
  w.substring(0, T),
421
- m.substring(0, N)
418
+ m.substring(0, M)
422
419
  );
423
- I.length < G + F && (I = m.substring(N - G, N) + m.substring(N, N + F), R = w.substring(0, T - G), H = w.substring(T + F), U = m.substring(0, N - G), $ = m.substring(N + F));
420
+ I.length < G + F && (I = m.substring(M - G, M) + m.substring(M, M + F), R = w.substring(0, T - G), H = w.substring(T + F), U = m.substring(0, M - G), $ = m.substring(M + F));
424
421
  }
425
422
  return I.length * 2 >= w.length ? [
426
423
  R,
@@ -473,8 +470,8 @@ var ce = {}, Vn = {
473
470
  function r(E, w) {
474
471
  if (!E || !w)
475
472
  return 6;
476
- var m = E.charAt(E.length - 1), T = w.charAt(0), D = m.match(n.nonAlphaNumericRegex_), N = T.match(n.nonAlphaNumericRegex_), I = D && m.match(n.whitespaceRegex_), R = N && T.match(n.whitespaceRegex_), H = I && m.match(n.linebreakRegex_), U = R && T.match(n.linebreakRegex_), $ = H && E.match(n.blanklineEndRegex_), F = U && w.match(n.blanklineStartRegex_);
477
- return $ || F ? 5 : H || U ? 4 : D && !I && R ? 3 : I || R ? 2 : D || N ? 1 : 0;
473
+ var m = E.charAt(E.length - 1), T = w.charAt(0), D = m.match(n.nonAlphaNumericRegex_), M = T.match(n.nonAlphaNumericRegex_), I = D && m.match(n.whitespaceRegex_), R = M && T.match(n.whitespaceRegex_), H = I && m.match(n.linebreakRegex_), U = R && T.match(n.linebreakRegex_), $ = H && E.match(n.blanklineEndRegex_), F = U && w.match(n.blanklineStartRegex_);
474
+ return $ || F ? 5 : H || U ? 4 : D && !I && R ? 3 : I || R ? 2 : D || M ? 1 : 0;
478
475
  }
479
476
  for (var i = 1; i < t.length - 1; ) {
480
477
  if (t[i - 1][0] == h && t[i + 1][0] == h) {
@@ -639,8 +636,8 @@ var ce = {}, Vn = {
639
636
  var w = Math.max(1, i - p + 1), m = Math.min(i + p, t.length) + r.length, T = Array(m + 2);
640
637
  T[m + 1] = (1 << E) - 1;
641
638
  for (var D = m; D >= w; D--) {
642
- var N = s[t.charAt(D - 1)];
643
- if (E === 0 ? T[D] = (T[D + 1] << 1 | 1) & N : T[D] = (T[D + 1] << 1 | 1) & N | ((v[D + 1] | v[D]) << 1 | 1) | v[D + 1], T[D] & g) {
639
+ var M = s[t.charAt(D - 1)];
640
+ if (E === 0 ? T[D] = (T[D + 1] << 1 | 1) & M : T[D] = (T[D + 1] << 1 | 1) & M | ((v[D + 1] | v[D]) << 1 | 1) | v[D + 1], T[D] & g) {
644
641
  var I = l(E, D - 1);
645
642
  if (I <= c)
646
643
  if (c = I, f = D - 1, f > i)
@@ -867,8 +864,8 @@ var ce = {}, Vn = {
867
864
  }
868
865
  return i.join("").replace(/%20/g, " ");
869
866
  }, e.exports = n, e.exports.diff_match_patch = n, e.exports.DIFF_DELETE = a, e.exports.DIFF_INSERT = u, e.exports.DIFF_EQUAL = h;
870
- })(Vn);
871
- var Pe = { exports: {} };
867
+ })(dn);
868
+ var Le = dn.exports, Pe = { exports: {} };
872
869
  function xe(e) {
873
870
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
874
871
  throw new Error("map is read-only");
@@ -892,7 +889,7 @@ class qe {
892
889
  this.isMatchIgnored = !0;
893
890
  }
894
891
  }
895
- function dn(e) {
892
+ function pn(e) {
896
893
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
897
894
  }
898
895
  function te(e, ...n) {
@@ -905,7 +902,7 @@ function te(e, ...n) {
905
902
  }), /** @type {T} */
906
903
  a;
907
904
  }
908
- const jn = "</span>", Je = (e) => !!e.scope || e.sublanguage && e.language, qn = (e, { prefix: n }) => {
905
+ const qn = "</span>", Je = (e) => !!e.scope || e.sublanguage && e.language, Jn = (e, { prefix: n }) => {
909
906
  if (e.includes(".")) {
910
907
  const a = e.split(".");
911
908
  return [
@@ -915,7 +912,7 @@ const jn = "</span>", Je = (e) => !!e.scope || e.sublanguage && e.language, qn =
915
912
  }
916
913
  return `${n}${e}`;
917
914
  };
918
- class Jn {
915
+ class et {
919
916
  /**
920
917
  * Creates a new HTMLRenderer
921
918
  *
@@ -930,7 +927,7 @@ class Jn {
930
927
  *
931
928
  * @param {string} text */
932
929
  addText(n) {
933
- this.buffer += dn(n);
930
+ this.buffer += pn(n);
934
931
  }
935
932
  /**
936
933
  * Adds a node open to the output stream (if needed)
@@ -940,14 +937,14 @@ class Jn {
940
937
  if (!Je(n))
941
938
  return;
942
939
  let a = "";
943
- n.sublanguage ? a = `language-${n.language}` : a = qn(n.scope, { prefix: this.classPrefix }), this.span(a);
940
+ n.sublanguage ? a = `language-${n.language}` : a = Jn(n.scope, { prefix: this.classPrefix }), this.span(a);
944
941
  }
945
942
  /**
946
943
  * Adds a node close to the output stream (if needed)
947
944
  *
948
945
  * @param {Node} node */
949
946
  closeNode(n) {
950
- Je(n) && (this.buffer += jn);
947
+ Je(n) && (this.buffer += qn);
951
948
  }
952
949
  /**
953
950
  * returns the accumulated buffer
@@ -1021,7 +1018,7 @@ class He {
1021
1018
  }));
1022
1019
  }
1023
1020
  }
1024
- class et extends He {
1021
+ class nt extends He {
1025
1022
  /**
1026
1023
  * @param {*} options
1027
1024
  */
@@ -1050,7 +1047,7 @@ class et extends He {
1050
1047
  u.sublanguage = !0, u.language = a, this.add(u);
1051
1048
  }
1052
1049
  toHTML() {
1053
- return new Jn(this, this.options).value();
1050
+ return new et(this, this.options).value();
1054
1051
  }
1055
1052
  finalize() {
1056
1053
  return !0;
@@ -1059,33 +1056,33 @@ class et extends He {
1059
1056
  function fe(e) {
1060
1057
  return e ? typeof e == "string" ? e : e.source : null;
1061
1058
  }
1062
- function pn(e) {
1059
+ function _n(e) {
1063
1060
  return se("(?=", e, ")");
1064
1061
  }
1065
- function nt(e) {
1062
+ function tt(e) {
1066
1063
  return se("(?:", e, ")*");
1067
1064
  }
1068
- function tt(e) {
1065
+ function rt(e) {
1069
1066
  return se("(?:", e, ")?");
1070
1067
  }
1071
1068
  function se(...e) {
1072
1069
  return e.map((a) => fe(a)).join("");
1073
1070
  }
1074
- function rt(e) {
1071
+ function it(e) {
1075
1072
  const n = e[e.length - 1];
1076
1073
  return typeof n == "object" && n.constructor === Object ? (e.splice(e.length - 1, 1), n) : {};
1077
1074
  }
1078
1075
  function Fe(...e) {
1079
- return "(" + (rt(e).capture ? "" : "?:") + e.map((u) => fe(u)).join("|") + ")";
1076
+ return "(" + (it(e).capture ? "" : "?:") + e.map((u) => fe(u)).join("|") + ")";
1080
1077
  }
1081
- function _n(e) {
1078
+ function bn(e) {
1082
1079
  return new RegExp(e.toString() + "|").exec("").length - 1;
1083
1080
  }
1084
- function it(e, n) {
1081
+ function st(e, n) {
1085
1082
  const a = e && e.exec(n);
1086
1083
  return a && a.index === 0;
1087
1084
  }
1088
- const st = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
1085
+ const at = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
1089
1086
  function ze(e, { joinWith: n }) {
1090
1087
  let a = 0;
1091
1088
  return e.map((u) => {
@@ -1093,7 +1090,7 @@ function ze(e, { joinWith: n }) {
1093
1090
  const h = a;
1094
1091
  let t = fe(u), r = "";
1095
1092
  for (; t.length > 0; ) {
1096
- const i = st.exec(t);
1093
+ const i = at.exec(t);
1097
1094
  if (!i) {
1098
1095
  r += t;
1099
1096
  break;
@@ -1103,7 +1100,7 @@ function ze(e, { joinWith: n }) {
1103
1100
  return r;
1104
1101
  }).map((u) => `(${u})`).join(n);
1105
1102
  }
1106
- const at = /\b\B/, bn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\\d+)?", En = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", mn = "\\b(0b[01]+)", ot = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", lt = (e = {}) => {
1103
+ const ot = /\b\B/, vn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", En = "\\b\\d+(\\.\\d+)?", mn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", yn = "\\b(0b[01]+)", lt = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", ct = (e = {}) => {
1107
1104
  const n = /^#![ ]*\//;
1108
1105
  return e.binary && (e.begin = se(
1109
1106
  n,
@@ -1123,21 +1120,21 @@ const at = /\b\B/, bn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1123
1120
  }, ge = {
1124
1121
  begin: "\\\\[\\s\\S]",
1125
1122
  relevance: 0
1126
- }, ct = {
1123
+ }, ut = {
1127
1124
  scope: "string",
1128
1125
  begin: "'",
1129
1126
  end: "'",
1130
1127
  illegal: "\\n",
1131
1128
  contains: [ge]
1132
- }, ut = {
1129
+ }, ft = {
1133
1130
  scope: "string",
1134
1131
  begin: '"',
1135
1132
  end: '"',
1136
1133
  illegal: "\\n",
1137
1134
  contains: [ge]
1138
- }, ft = {
1135
+ }, gt = {
1139
1136
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
1140
- }, Re = function(e, n, a = {}) {
1137
+ }, Se = function(e, n, a = {}) {
1141
1138
  const u = te(
1142
1139
  {
1143
1140
  scope: "comment",
@@ -1203,11 +1200,7 @@ const at = /\b\B/, bn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1203
1200
  // look for 3 words in a row
1204
1201
  }
1205
1202
  ), u;
1206
- }, gt = Re("//", "$"), ht = Re("/\\*", "\\*/"), dt = Re("#", "$"), pt = {
1207
- scope: "number",
1208
- begin: vn,
1209
- relevance: 0
1210
- }, _t = {
1203
+ }, ht = Se("//", "$"), dt = Se("/\\*", "\\*/"), pt = Se("#", "$"), _t = {
1211
1204
  scope: "number",
1212
1205
  begin: En,
1213
1206
  relevance: 0
@@ -1216,6 +1209,10 @@ const at = /\b\B/, bn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1216
1209
  begin: mn,
1217
1210
  relevance: 0
1218
1211
  }, vt = {
1212
+ scope: "number",
1213
+ begin: yn,
1214
+ relevance: 0
1215
+ }, Et = {
1219
1216
  // this outer rule makes sure we actually have a WHOLE regex and not simply
1220
1217
  // an expression such as:
1221
1218
  //
@@ -1238,19 +1235,19 @@ const at = /\b\B/, bn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1238
1235
  }
1239
1236
  ]
1240
1237
  }]
1241
- }, Et = {
1238
+ }, mt = {
1242
1239
  scope: "title",
1243
- begin: bn,
1240
+ begin: vn,
1244
1241
  relevance: 0
1245
- }, mt = {
1242
+ }, yt = {
1246
1243
  scope: "title",
1247
1244
  begin: Ge,
1248
1245
  relevance: 0
1249
- }, yt = {
1246
+ }, wt = {
1250
1247
  // excludes method names from keyword processing
1251
1248
  begin: "\\.\\s*" + Ge,
1252
1249
  relevance: 0
1253
- }, wt = function(e) {
1250
+ }, Nt = function(e) {
1254
1251
  return Object.assign(
1255
1252
  e,
1256
1253
  {
@@ -1265,56 +1262,56 @@ const at = /\b\B/, bn = "[a-zA-Z]\\w*", Ge = "[a-zA-Z_]\\w*", vn = "\\b\\d+(\\.\
1265
1262
  }
1266
1263
  );
1267
1264
  };
1268
- var Me = /* @__PURE__ */ Object.freeze({
1265
+ var we = /* @__PURE__ */ Object.freeze({
1269
1266
  __proto__: null,
1270
- MATCH_NOTHING_RE: at,
1271
- IDENT_RE: bn,
1267
+ MATCH_NOTHING_RE: ot,
1268
+ IDENT_RE: vn,
1272
1269
  UNDERSCORE_IDENT_RE: Ge,
1273
- NUMBER_RE: vn,
1274
- C_NUMBER_RE: En,
1275
- BINARY_NUMBER_RE: mn,
1276
- RE_STARTERS_RE: ot,
1277
- SHEBANG: lt,
1270
+ NUMBER_RE: En,
1271
+ C_NUMBER_RE: mn,
1272
+ BINARY_NUMBER_RE: yn,
1273
+ RE_STARTERS_RE: lt,
1274
+ SHEBANG: ct,
1278
1275
  BACKSLASH_ESCAPE: ge,
1279
- APOS_STRING_MODE: ct,
1280
- QUOTE_STRING_MODE: ut,
1281
- PHRASAL_WORDS_MODE: ft,
1282
- COMMENT: Re,
1283
- C_LINE_COMMENT_MODE: gt,
1284
- C_BLOCK_COMMENT_MODE: ht,
1285
- HASH_COMMENT_MODE: dt,
1286
- NUMBER_MODE: pt,
1287
- C_NUMBER_MODE: _t,
1288
- BINARY_NUMBER_MODE: bt,
1289
- REGEXP_MODE: vt,
1290
- TITLE_MODE: Et,
1291
- UNDERSCORE_TITLE_MODE: mt,
1292
- METHOD_GUARD: yt,
1293
- END_SAME_AS_BEGIN: wt
1276
+ APOS_STRING_MODE: ut,
1277
+ QUOTE_STRING_MODE: ft,
1278
+ PHRASAL_WORDS_MODE: gt,
1279
+ COMMENT: Se,
1280
+ C_LINE_COMMENT_MODE: ht,
1281
+ C_BLOCK_COMMENT_MODE: dt,
1282
+ HASH_COMMENT_MODE: pt,
1283
+ NUMBER_MODE: _t,
1284
+ C_NUMBER_MODE: bt,
1285
+ BINARY_NUMBER_MODE: vt,
1286
+ REGEXP_MODE: Et,
1287
+ TITLE_MODE: mt,
1288
+ UNDERSCORE_TITLE_MODE: yt,
1289
+ METHOD_GUARD: wt,
1290
+ END_SAME_AS_BEGIN: Nt
1294
1291
  });
1295
1292
  function Mt(e, n) {
1296
1293
  e.input[e.index - 1] === "." && n.ignoreMatch();
1297
1294
  }
1298
- function Nt(e, n) {
1295
+ function At(e, n) {
1299
1296
  e.className !== void 0 && (e.scope = e.className, delete e.className);
1300
1297
  }
1301
- function At(e, n) {
1298
+ function Tt(e, n) {
1302
1299
  n && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Mt, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
1303
1300
  }
1304
- function Tt(e, n) {
1301
+ function Dt(e, n) {
1305
1302
  Array.isArray(e.illegal) && (e.illegal = Fe(...e.illegal));
1306
1303
  }
1307
- function Dt(e, n) {
1304
+ function St(e, n) {
1308
1305
  if (e.match) {
1309
1306
  if (e.begin || e.end)
1310
1307
  throw new Error("begin & end are not supported with match");
1311
1308
  e.begin = e.match, delete e.match;
1312
1309
  }
1313
1310
  }
1314
- function St(e, n) {
1311
+ function Rt(e, n) {
1315
1312
  e.relevance === void 0 && (e.relevance = 1);
1316
1313
  }
1317
- const Rt = (e, n) => {
1314
+ const Ot = (e, n) => {
1318
1315
  if (!e.beforeMatch)
1319
1316
  return;
1320
1317
  if (e.starts)
@@ -1322,13 +1319,13 @@ const Rt = (e, n) => {
1322
1319
  const a = Object.assign({}, e);
1323
1320
  Object.keys(e).forEach((u) => {
1324
1321
  delete e[u];
1325
- }), e.keywords = a.keywords, e.begin = se(a.beforeMatch, pn(a.begin)), e.starts = {
1322
+ }), e.keywords = a.keywords, e.begin = se(a.beforeMatch, _n(a.begin)), e.starts = {
1326
1323
  relevance: 0,
1327
1324
  contains: [
1328
1325
  Object.assign(a, { endsParent: !0 })
1329
1326
  ]
1330
1327
  }, e.relevance = 0, delete a.beforeMatch;
1331
- }, Ot = [
1328
+ }, Ct = [
1332
1329
  "of",
1333
1330
  "and",
1334
1331
  "for",
@@ -1343,27 +1340,27 @@ const Rt = (e, n) => {
1343
1340
  // common variable name
1344
1341
  "value"
1345
1342
  // common variable name
1346
- ], Ct = "keyword";
1347
- function yn(e, n, a = Ct) {
1343
+ ], Lt = "keyword";
1344
+ function wn(e, n, a = Lt) {
1348
1345
  const u = /* @__PURE__ */ Object.create(null);
1349
1346
  return typeof e == "string" ? h(a, e.split(" ")) : Array.isArray(e) ? h(a, e) : Object.keys(e).forEach(function(t) {
1350
1347
  Object.assign(
1351
1348
  u,
1352
- yn(e[t], n, t)
1349
+ wn(e[t], n, t)
1353
1350
  );
1354
1351
  }), u;
1355
1352
  function h(t, r) {
1356
1353
  n && (r = r.map((i) => i.toLowerCase())), r.forEach(function(i) {
1357
1354
  const s = i.split("|");
1358
- u[s[0]] = [t, Lt(s[0], s[1])];
1355
+ u[s[0]] = [t, It(s[0], s[1])];
1359
1356
  });
1360
1357
  }
1361
1358
  }
1362
- function Lt(e, n) {
1363
- return n ? Number(n) : It(e) ? 0 : 1;
1359
+ function It(e, n) {
1360
+ return n ? Number(n) : kt(e) ? 0 : 1;
1364
1361
  }
1365
- function It(e) {
1366
- return Ot.includes(e.toLowerCase());
1362
+ function kt(e) {
1363
+ return Ct.includes(e.toLowerCase());
1367
1364
  }
1368
1365
  const nn = {}, ie = (e) => {
1369
1366
  console.error(e);
@@ -1371,39 +1368,39 @@ const nn = {}, ie = (e) => {
1371
1368
  console.log(`WARN: ${e}`, ...n);
1372
1369
  }, ae = (e, n) => {
1373
1370
  nn[`${e}/${n}`] || (console.log(`Deprecated as of ${e}. ${n}`), nn[`${e}/${n}`] = !0);
1374
- }, De = new Error();
1375
- function wn(e, n, { key: a }) {
1371
+ }, Te = new Error();
1372
+ function Nn(e, n, { key: a }) {
1376
1373
  let u = 0;
1377
1374
  const h = e[a], t = {}, r = {};
1378
1375
  for (let i = 1; i <= n.length; i++)
1379
- r[i + u] = h[i], t[i + u] = !0, u += _n(n[i - 1]);
1376
+ r[i + u] = h[i], t[i + u] = !0, u += bn(n[i - 1]);
1380
1377
  e[a] = r, e[a]._emit = t, e[a]._multi = !0;
1381
1378
  }
1382
- function kt(e) {
1379
+ function Bt(e) {
1383
1380
  if (Array.isArray(e.begin)) {
1384
1381
  if (e.skip || e.excludeBegin || e.returnBegin)
1385
- throw ie("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), De;
1382
+ throw ie("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Te;
1386
1383
  if (typeof e.beginScope != "object" || e.beginScope === null)
1387
- throw ie("beginScope must be object"), De;
1388
- wn(e, e.begin, { key: "beginScope" }), e.begin = ze(e.begin, { joinWith: "" });
1384
+ throw ie("beginScope must be object"), Te;
1385
+ Nn(e, e.begin, { key: "beginScope" }), e.begin = ze(e.begin, { joinWith: "" });
1389
1386
  }
1390
1387
  }
1391
- function Bt(e) {
1388
+ function $t(e) {
1392
1389
  if (Array.isArray(e.end)) {
1393
1390
  if (e.skip || e.excludeEnd || e.returnEnd)
1394
- throw ie("skip, excludeEnd, returnEnd not compatible with endScope: {}"), De;
1391
+ throw ie("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Te;
1395
1392
  if (typeof e.endScope != "object" || e.endScope === null)
1396
- throw ie("endScope must be object"), De;
1397
- wn(e, e.end, { key: "endScope" }), e.end = ze(e.end, { joinWith: "" });
1393
+ throw ie("endScope must be object"), Te;
1394
+ Nn(e, e.end, { key: "endScope" }), e.end = ze(e.end, { joinWith: "" });
1398
1395
  }
1399
1396
  }
1400
- function $t(e) {
1401
- e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
1402
- }
1403
1397
  function Ut(e) {
1404
- $t(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), kt(e), Bt(e);
1398
+ e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
1405
1399
  }
1406
1400
  function Pt(e) {
1401
+ Ut(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), Bt(e), $t(e);
1402
+ }
1403
+ function xt(e) {
1407
1404
  function n(r, i) {
1408
1405
  return new RegExp(
1409
1406
  fe(r),
@@ -1416,7 +1413,7 @@ function Pt(e) {
1416
1413
  }
1417
1414
  // @ts-ignore
1418
1415
  addRule(i, s) {
1419
- s.position = this.position++, this.matchIndexes[this.matchAt] = s, this.regexes.push([s, i]), this.matchAt += _n(i) + 1;
1416
+ s.position = this.position++, this.matchIndexes[this.matchAt] = s, this.regexes.push([s, i]), this.matchAt += bn(i) + 1;
1420
1417
  }
1421
1418
  compile() {
1422
1419
  this.regexes.length === 0 && (this.exec = () => null);
@@ -1478,26 +1475,26 @@ function Pt(e) {
1478
1475
  if (r.isCompiled)
1479
1476
  return s;
1480
1477
  [
1481
- Nt,
1478
+ At,
1482
1479
  // do this early so compiler extensions generally don't have to worry about
1483
1480
  // the distinction between match/begin
1484
- Dt,
1485
- Ut,
1486
- Rt
1481
+ St,
1482
+ Pt,
1483
+ Ot
1487
1484
  ].forEach((l) => l(r, i)), e.compilerExtensions.forEach((l) => l(r, i)), r.__beforeBegin = null, [
1488
- At,
1485
+ Tt,
1489
1486
  // do this later so compiler extensions that come earlier have access to the
1490
1487
  // raw array if they wanted to perhaps manipulate it, etc.
1491
- Tt,
1488
+ Dt,
1492
1489
  // default to 1 relevance if not specified
1493
- St
1490
+ Rt
1494
1491
  ].forEach((l) => l(r, i)), r.isCompiled = !0;
1495
1492
  let o = null;
1496
- return typeof r.keywords == "object" && r.keywords.$pattern && (r.keywords = Object.assign({}, r.keywords), o = r.keywords.$pattern, delete r.keywords.$pattern), o = o || /\w+/, r.keywords && (r.keywords = yn(r.keywords, e.case_insensitive)), s.keywordPatternRe = n(o, !0), i && (r.begin || (r.begin = /\B|\b/), s.beginRe = n(s.begin), !r.end && !r.endsWithParent && (r.end = /\B|\b/), r.end && (s.endRe = n(s.end)), s.terminatorEnd = fe(s.end) || "", r.endsWithParent && i.terminatorEnd && (s.terminatorEnd += (r.end ? "|" : "") + i.terminatorEnd)), r.illegal && (s.illegalRe = n(
1493
+ return typeof r.keywords == "object" && r.keywords.$pattern && (r.keywords = Object.assign({}, r.keywords), o = r.keywords.$pattern, delete r.keywords.$pattern), o = o || /\w+/, r.keywords && (r.keywords = wn(r.keywords, e.case_insensitive)), s.keywordPatternRe = n(o, !0), i && (r.begin || (r.begin = /\B|\b/), s.beginRe = n(s.begin), !r.end && !r.endsWithParent && (r.end = /\B|\b/), r.end && (s.endRe = n(s.end)), s.terminatorEnd = fe(s.end) || "", r.endsWithParent && i.terminatorEnd && (s.terminatorEnd += (r.end ? "|" : "") + i.terminatorEnd)), r.illegal && (s.illegalRe = n(
1497
1494
  /** @type {RegExp | string} */
1498
1495
  r.illegal
1499
1496
  )), r.contains || (r.contains = []), r.contains = [].concat(...r.contains.map(function(l) {
1500
- return xt(l === "self" ? r : l);
1497
+ return Ht(l === "self" ? r : l);
1501
1498
  })), r.contains.forEach(function(l) {
1502
1499
  t(
1503
1500
  /** @type Mode */
@@ -1516,18 +1513,18 @@ function Pt(e) {
1516
1513
  function Mn(e) {
1517
1514
  return e ? e.endsWithParent || Mn(e.starts) : !1;
1518
1515
  }
1519
- function xt(e) {
1516
+ function Ht(e) {
1520
1517
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(n) {
1521
1518
  return te(e, { variants: null }, n);
1522
1519
  })), e.cachedVariants ? e.cachedVariants : Mn(e) ? te(e, { starts: e.starts ? te(e.starts) : null }) : Object.isFrozen(e) ? te(e) : e;
1523
1520
  }
1524
- var Ht = "11.7.0";
1525
- class Ft extends Error {
1521
+ var Ft = "11.7.0";
1522
+ class zt extends Error {
1526
1523
  constructor(n, a) {
1527
1524
  super(n), this.name = "HTMLInjectionError", this.html = a;
1528
1525
  }
1529
1526
  }
1530
- const Ie = dn, rn = te, sn = Symbol("nomatch"), zt = 7, Gt = function(e) {
1527
+ const Ie = pn, rn = te, sn = Symbol("nomatch"), Gt = 7, Kt = function(e) {
1531
1528
  const n = /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null), u = [];
1532
1529
  let h = !0;
1533
1530
  const t = "Could not find the language '{}', did you forget to load/include a language module?", r = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -1541,39 +1538,39 @@ const Ie = dn, rn = te, sn = Symbol("nomatch"), zt = 7, Gt = function(e) {
1541
1538
  languages: null,
1542
1539
  // beta configuration options, subject to change, welcome to discuss
1543
1540
  // https://github.com/highlightjs/highlight.js/issues/1086
1544
- __emitter: et
1541
+ __emitter: nt
1545
1542
  };
1546
1543
  function s(b) {
1547
1544
  return i.noHighlightRe.test(b);
1548
1545
  }
1549
1546
  function o(b) {
1550
- let M = b.className + " ";
1551
- M += b.parentNode ? b.parentNode.className : "";
1552
- const C = i.languageDetectRe.exec(M);
1547
+ let N = b.className + " ";
1548
+ N += b.parentNode ? b.parentNode.className : "";
1549
+ const C = i.languageDetectRe.exec(N);
1553
1550
  if (C) {
1554
1551
  const k = R(C[1]);
1555
1552
  return k || (tn(t.replace("{}", C[1])), tn("Falling back to no-highlight mode for this block.", b)), k ? C[1] : "no-highlight";
1556
1553
  }
1557
- return M.split(/\s+/).find((k) => s(k) || R(k));
1554
+ return N.split(/\s+/).find((k) => s(k) || R(k));
1558
1555
  }
1559
- function l(b, M, C) {
1556
+ function l(b, N, C) {
1560
1557
  let k = "", x = "";
1561
- typeof M == "object" ? (k = b, C = M.ignoreIllegals, x = M.language) : (ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ae("10.7.0", `Please use highlight(code, options) instead.
1562
- https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C === void 0 && (C = !0);
1558
+ typeof N == "object" ? (k = b, C = N.ignoreIllegals, x = N.language) : (ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ae("10.7.0", `Please use highlight(code, options) instead.
1559
+ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = N), C === void 0 && (C = !0);
1563
1560
  const W = {
1564
1561
  code: k,
1565
1562
  language: x
1566
1563
  };
1567
1564
  G("before:highlight", W);
1568
- const X = W.result ? W.result : c(W.language, W.code, C);
1569
- return X.code = W.code, G("after:highlight", X), X;
1565
+ const j = W.result ? W.result : c(W.language, W.code, C);
1566
+ return j.code = W.code, G("after:highlight", j), j;
1570
1567
  }
1571
- function c(b, M, C, k) {
1568
+ function c(b, N, C, k) {
1572
1569
  const x = /* @__PURE__ */ Object.create(null);
1573
1570
  function W(y, A) {
1574
1571
  return y.keywords[A];
1575
1572
  }
1576
- function X() {
1573
+ function j() {
1577
1574
  if (!O.keywords) {
1578
1575
  z.addText(P);
1579
1576
  return;
@@ -1585,12 +1582,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1585
1582
  L += P.substring(y, A.index);
1586
1583
  const B = ne.case_insensitive ? A[0].toLowerCase() : A[0], K = W(O, B);
1587
1584
  if (K) {
1588
- const [V, Bn] = K;
1589
- if (z.addText(L), L = "", x[B] = (x[B] || 0) + 1, x[B] <= zt && (ye += Bn), V.startsWith("_"))
1585
+ const [X, $n] = K;
1586
+ if (z.addText(L), L = "", x[B] = (x[B] || 0) + 1, x[B] <= Gt && (ye += $n), X.startsWith("_"))
1590
1587
  L += A[0];
1591
1588
  else {
1592
- const $n = ne.classNameAliases[V] || V;
1593
- z.addKeyword(A[0], $n);
1589
+ const Un = ne.classNameAliases[X] || X;
1590
+ z.addKeyword(A[0], Un);
1594
1591
  }
1595
1592
  } else
1596
1593
  L += A[0];
@@ -1607,14 +1604,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1607
1604
  z.addText(P);
1608
1605
  return;
1609
1606
  }
1610
- y = c(O.subLanguage, P, !0, Xe[O.subLanguage]), Xe[O.subLanguage] = /** @type {CompiledMode} */
1607
+ y = c(O.subLanguage, P, !0, je[O.subLanguage]), je[O.subLanguage] = /** @type {CompiledMode} */
1611
1608
  y._top;
1612
1609
  } else
1613
1610
  y = g(P, O.subLanguage.length ? O.subLanguage : null);
1614
1611
  O.relevance > 0 && (ye += y.relevance), z.addSublanguage(y._emitter, y.language);
1615
1612
  }
1616
1613
  function Q() {
1617
- O.subLanguage != null ? Ee() : X(), P = "";
1614
+ O.subLanguage != null ? Ee() : j(), P = "";
1618
1615
  }
1619
1616
  function ee(y, A) {
1620
1617
  let L = 1;
@@ -1624,15 +1621,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1624
1621
  L++;
1625
1622
  continue;
1626
1623
  }
1627
- const K = ne.classNameAliases[y[L]] || y[L], V = A[L];
1628
- K ? z.addKeyword(V, K) : (P = V, X(), P = ""), L++;
1624
+ const K = ne.classNameAliases[y[L]] || y[L], X = A[L];
1625
+ K ? z.addKeyword(X, K) : (P = X, j(), P = ""), L++;
1629
1626
  }
1630
1627
  }
1631
1628
  function Qe(y, A) {
1632
1629
  return y.scope && typeof y.scope == "string" && z.openNode(ne.classNameAliases[y.scope] || y.scope), y.beginScope && (y.beginScope._wrap ? (z.addKeyword(P, ne.classNameAliases[y.beginScope._wrap] || y.beginScope._wrap), P = "") : y.beginScope._multi && (ee(y.beginScope, A), P = "")), O = Object.create(y, { parent: { value: O } }), O;
1633
1630
  }
1634
1631
  function Ze(y, A, L) {
1635
- let B = it(y.endRe, L);
1632
+ let B = st(y.endRe, L);
1636
1633
  if (B) {
1637
1634
  if (y["on:end"]) {
1638
1635
  const K = new qe(y);
@@ -1647,18 +1644,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1647
1644
  if (y.endsWithParent)
1648
1645
  return Ze(y.parent, A, L);
1649
1646
  }
1650
- function On(y) {
1651
- return O.matcher.regexIndex === 0 ? (P += y[0], 1) : (Le = !0, 0);
1652
- }
1653
1647
  function Cn(y) {
1648
+ return O.matcher.regexIndex === 0 ? (P += y[0], 1) : (Ce = !0, 0);
1649
+ }
1650
+ function Ln(y) {
1654
1651
  const A = y[0], L = y.rule, B = new qe(L), K = [L.__beforeBegin, L["on:begin"]];
1655
- for (const V of K)
1656
- if (V && (V(y, B), B.isMatchIgnored))
1657
- return On(A);
1652
+ for (const X of K)
1653
+ if (X && (X(y, B), B.isMatchIgnored))
1654
+ return Cn(A);
1658
1655
  return L.skip ? P += A : (L.excludeBegin && (P += A), Q(), !L.returnBegin && !L.excludeBegin && (P = A)), Qe(L, y), L.returnBegin ? 0 : A.length;
1659
1656
  }
1660
- function Ln(y) {
1661
- const A = y[0], L = M.substring(y.index), B = Ze(O, y, L);
1657
+ function In(y) {
1658
+ const A = y[0], L = N.substring(y.index), B = Ze(O, y, L);
1662
1659
  if (!B)
1663
1660
  return sn;
1664
1661
  const K = O;
@@ -1668,7 +1665,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1668
1665
  while (O !== B.parent);
1669
1666
  return B.starts && Qe(B.starts, y), K.returnEnd ? 0 : A.length;
1670
1667
  }
1671
- function In() {
1668
+ function kn() {
1672
1669
  const y = [];
1673
1670
  for (let A = O; A !== ne; A = A.parent)
1674
1671
  A.scope && y.unshift(A.scope);
@@ -1680,48 +1677,48 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1680
1677
  if (P += y, L == null)
1681
1678
  return Q(), 0;
1682
1679
  if (me.type === "begin" && A.type === "end" && me.index === A.index && L === "") {
1683
- if (P += M.slice(A.index, A.index + 1), !h) {
1680
+ if (P += N.slice(A.index, A.index + 1), !h) {
1684
1681
  const B = new Error(`0 width match regex (${b})`);
1685
1682
  throw B.languageName = b, B.badRule = me.rule, B;
1686
1683
  }
1687
1684
  return 1;
1688
1685
  }
1689
1686
  if (me = A, A.type === "begin")
1690
- return Cn(A);
1687
+ return Ln(A);
1691
1688
  if (A.type === "illegal" && !C) {
1692
1689
  const B = new Error('Illegal lexeme "' + L + '" for mode "' + (O.scope || "<unnamed>") + '"');
1693
1690
  throw B.mode = O, B;
1694
1691
  } else if (A.type === "end") {
1695
- const B = Ln(A);
1692
+ const B = In(A);
1696
1693
  if (B !== sn)
1697
1694
  return B;
1698
1695
  }
1699
1696
  if (A.type === "illegal" && L === "")
1700
1697
  return 1;
1701
- if (Ce > 1e5 && Ce > A.index * 3)
1698
+ if (Oe > 1e5 && Oe > A.index * 3)
1702
1699
  throw new Error("potential infinite loop, way more iterations than matches");
1703
1700
  return P += L, L.length;
1704
1701
  }
1705
1702
  const ne = R(b);
1706
1703
  if (!ne)
1707
1704
  throw ie(t.replace("{}", b)), new Error('Unknown language: "' + b + '"');
1708
- const kn = Pt(ne);
1709
- let Oe = "", O = k || kn;
1710
- const Xe = {}, z = new i.__emitter(i);
1711
- In();
1712
- let P = "", ye = 0, re = 0, Ce = 0, Le = !1;
1705
+ const Bn = xt(ne);
1706
+ let Re = "", O = k || Bn;
1707
+ const je = {}, z = new i.__emitter(i);
1708
+ kn();
1709
+ let P = "", ye = 0, re = 0, Oe = 0, Ce = !1;
1713
1710
  try {
1714
1711
  for (O.matcher.considerAll(); ; ) {
1715
- Ce++, Le ? Le = !1 : O.matcher.considerAll(), O.matcher.lastIndex = re;
1716
- const y = O.matcher.exec(M);
1712
+ Oe++, Ce ? Ce = !1 : O.matcher.considerAll(), O.matcher.lastIndex = re;
1713
+ const y = O.matcher.exec(N);
1717
1714
  if (!y)
1718
1715
  break;
1719
- const A = M.substring(re, y.index), L = Ye(A, y);
1716
+ const A = N.substring(re, y.index), L = Ye(A, y);
1720
1717
  re = y.index + L;
1721
1718
  }
1722
- return Ye(M.substring(re)), z.closeAllNodes(), z.finalize(), Oe = z.toHTML(), {
1719
+ return Ye(N.substring(re)), z.closeAllNodes(), z.finalize(), Re = z.toHTML(), {
1723
1720
  language: b,
1724
- value: Oe,
1721
+ value: Re,
1725
1722
  relevance: ye,
1726
1723
  illegal: !1,
1727
1724
  _emitter: z,
@@ -1731,22 +1728,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1731
1728
  if (y.message && y.message.includes("Illegal"))
1732
1729
  return {
1733
1730
  language: b,
1734
- value: Ie(M),
1731
+ value: Ie(N),
1735
1732
  illegal: !0,
1736
1733
  relevance: 0,
1737
1734
  _illegalBy: {
1738
1735
  message: y.message,
1739
1736
  index: re,
1740
- context: M.slice(re - 100, re + 100),
1737
+ context: N.slice(re - 100, re + 100),
1741
1738
  mode: y.mode,
1742
- resultSoFar: Oe
1739
+ resultSoFar: Re
1743
1740
  },
1744
1741
  _emitter: z
1745
1742
  };
1746
1743
  if (h)
1747
1744
  return {
1748
1745
  language: b,
1749
- value: Ie(M),
1746
+ value: Ie(N),
1750
1747
  illegal: !1,
1751
1748
  relevance: 0,
1752
1749
  errorRaised: y,
@@ -1757,18 +1754,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1757
1754
  }
1758
1755
  }
1759
1756
  function f(b) {
1760
- const M = {
1757
+ const N = {
1761
1758
  value: Ie(b),
1762
1759
  illegal: !1,
1763
1760
  relevance: 0,
1764
1761
  _top: r,
1765
1762
  _emitter: new i.__emitter(i)
1766
1763
  };
1767
- return M._emitter.addText(b), M;
1764
+ return N._emitter.addText(b), N;
1768
1765
  }
1769
- function g(b, M) {
1770
- M = M || i.languages || Object.keys(n);
1771
- const C = f(b), k = M.filter(R).filter(U).map(
1766
+ function g(b, N) {
1767
+ N = N || i.languages || Object.keys(n);
1768
+ const C = f(b), k = N.filter(R).filter(U).map(
1772
1769
  (Q) => c(Q, b, !1)
1773
1770
  );
1774
1771
  k.unshift(C);
@@ -1782,15 +1779,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1782
1779
  return -1;
1783
1780
  }
1784
1781
  return 0;
1785
- }), [W, X] = x, Ee = W;
1786
- return Ee.secondBest = X, Ee;
1782
+ }), [W, j] = x, Ee = W;
1783
+ return Ee.secondBest = j, Ee;
1787
1784
  }
1788
- function d(b, M, C) {
1789
- const k = M && a[M] || C;
1785
+ function d(b, N, C) {
1786
+ const k = N && a[N] || C;
1790
1787
  b.classList.add("hljs"), b.classList.add(`language-${k}`);
1791
1788
  }
1792
1789
  function p(b) {
1793
- let M = null;
1790
+ let N = null;
1794
1791
  const C = o(b);
1795
1792
  if (s(C))
1796
1793
  return;
@@ -1798,12 +1795,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1798
1795
  "before:highlightElement",
1799
1796
  { el: b, language: C }
1800
1797
  ), b.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(b)), i.throwUnescapedHTML))
1801
- throw new Ft(
1798
+ throw new zt(
1802
1799
  "One of your code blocks includes unescaped HTML.",
1803
1800
  b.innerHTML
1804
1801
  );
1805
- M = b;
1806
- const k = M.textContent, x = C ? l(k, { language: C, ignoreIllegals: !0 }) : g(k);
1802
+ N = b;
1803
+ const k = N.textContent, x = C ? l(k, { language: C, ignoreIllegals: !0 }) : g(k);
1807
1804
  b.innerHTML = x.value, d(b, C, x.language), b.result = {
1808
1805
  language: x.language,
1809
1806
  // TODO: remove with version 11.0
@@ -1835,10 +1832,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1835
1832
  w && m();
1836
1833
  }
1837
1834
  typeof window != "undefined" && window.addEventListener && window.addEventListener("DOMContentLoaded", T, !1);
1838
- function D(b, M) {
1835
+ function D(b, N) {
1839
1836
  let C = null;
1840
1837
  try {
1841
- C = M(e);
1838
+ C = N(e);
1842
1839
  } catch (k) {
1843
1840
  if (ie("Language definition for '{}' could not be registered.".replace("{}", b)), h)
1844
1841
  ie(k);
@@ -1846,12 +1843,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1846
1843
  throw k;
1847
1844
  C = r;
1848
1845
  }
1849
- C.name || (C.name = b), n[b] = C, C.rawDefinition = M.bind(null, e), C.aliases && H(C.aliases, { languageName: b });
1846
+ C.name || (C.name = b), n[b] = C, C.rawDefinition = N.bind(null, e), C.aliases && H(C.aliases, { languageName: b });
1850
1847
  }
1851
- function N(b) {
1848
+ function M(b) {
1852
1849
  delete n[b];
1853
- for (const M of Object.keys(a))
1854
- a[M] === b && delete a[M];
1850
+ for (const N of Object.keys(a))
1851
+ a[N] === b && delete a[N];
1855
1852
  }
1856
1853
  function I() {
1857
1854
  return Object.keys(n);
@@ -1859,33 +1856,33 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1859
1856
  function R(b) {
1860
1857
  return b = (b || "").toLowerCase(), n[b] || n[a[b]];
1861
1858
  }
1862
- function H(b, { languageName: M }) {
1859
+ function H(b, { languageName: N }) {
1863
1860
  typeof b == "string" && (b = [b]), b.forEach((C) => {
1864
- a[C.toLowerCase()] = M;
1861
+ a[C.toLowerCase()] = N;
1865
1862
  });
1866
1863
  }
1867
1864
  function U(b) {
1868
- const M = R(b);
1869
- return M && !M.disableAutodetect;
1865
+ const N = R(b);
1866
+ return N && !N.disableAutodetect;
1870
1867
  }
1871
1868
  function $(b) {
1872
- b["before:highlightBlock"] && !b["before:highlightElement"] && (b["before:highlightElement"] = (M) => {
1869
+ b["before:highlightBlock"] && !b["before:highlightElement"] && (b["before:highlightElement"] = (N) => {
1873
1870
  b["before:highlightBlock"](
1874
- Object.assign({ block: M.el }, M)
1871
+ Object.assign({ block: N.el }, N)
1875
1872
  );
1876
- }), b["after:highlightBlock"] && !b["after:highlightElement"] && (b["after:highlightElement"] = (M) => {
1873
+ }), b["after:highlightBlock"] && !b["after:highlightElement"] && (b["after:highlightElement"] = (N) => {
1877
1874
  b["after:highlightBlock"](
1878
- Object.assign({ block: M.el }, M)
1875
+ Object.assign({ block: N.el }, N)
1879
1876
  );
1880
1877
  });
1881
1878
  }
1882
1879
  function F(b) {
1883
1880
  $(b), u.push(b);
1884
1881
  }
1885
- function G(b, M) {
1882
+ function G(b, N) {
1886
1883
  const C = b;
1887
1884
  u.forEach(function(k) {
1888
- k[C] && k[C](M);
1885
+ k[C] && k[C](N);
1889
1886
  });
1890
1887
  }
1891
1888
  function ve(b) {
@@ -1902,7 +1899,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1902
1899
  initHighlighting: v,
1903
1900
  initHighlightingOnLoad: E,
1904
1901
  registerLanguage: D,
1905
- unregisterLanguage: N,
1902
+ unregisterLanguage: M,
1906
1903
  listLanguages: I,
1907
1904
  getLanguage: R,
1908
1905
  registerAliases: H,
@@ -1913,22 +1910,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), x = b, k = M), C ===
1913
1910
  h = !1;
1914
1911
  }, e.safeMode = function() {
1915
1912
  h = !0;
1916
- }, e.versionString = Ht, e.regex = {
1913
+ }, e.versionString = Ft, e.regex = {
1917
1914
  concat: se,
1918
- lookahead: pn,
1915
+ lookahead: _n,
1919
1916
  either: Fe,
1920
- optional: tt,
1921
- anyNumberOfTimes: nt
1917
+ optional: rt,
1918
+ anyNumberOfTimes: tt
1922
1919
  };
1923
- for (const b in Me)
1924
- typeof Me[b] == "object" && Pe.exports(Me[b]);
1925
- return Object.assign(e, Me), e;
1920
+ for (const b in we)
1921
+ typeof we[b] == "object" && Pe.exports(we[b]);
1922
+ return Object.assign(e, we), e;
1926
1923
  };
1927
- var he = Gt({}), Kt = he;
1924
+ var he = Kt({}), Wt = he;
1928
1925
  he.HighlightJS = he;
1929
1926
  he.default = he;
1930
- const Y = Kt;
1931
- function Wt(e) {
1927
+ const Y = /* @__PURE__ */ Vn(Wt);
1928
+ function Qt(e) {
1932
1929
  const n = e.regex, a = n.concat(/[\p{L}_]/u, n.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), u = /[\p{L}0-9._:-]+/u, h = {
1933
1930
  className: "symbol",
1934
1931
  begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
@@ -2144,7 +2141,7 @@ function Wt(e) {
2144
2141
  ]
2145
2142
  };
2146
2143
  }
2147
- const an = "[A-Za-z$_][0-9A-Za-z$_]*", Qt = [
2144
+ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Zt = [
2148
2145
  "as",
2149
2146
  // for exports
2150
2147
  "in",
@@ -2187,14 +2184,14 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Qt = [
2187
2184
  "from",
2188
2185
  "export",
2189
2186
  "extends"
2190
- ], Zt = [
2187
+ ], Yt = [
2191
2188
  "true",
2192
2189
  "false",
2193
2190
  "null",
2194
2191
  "undefined",
2195
2192
  "NaN",
2196
2193
  "Infinity"
2197
- ], Nn = [
2194
+ ], An = [
2198
2195
  // Fundamental objects
2199
2196
  "Object",
2200
2197
  "Function",
@@ -2244,7 +2241,7 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Qt = [
2244
2241
  "Intl",
2245
2242
  // WebAssembly
2246
2243
  "WebAssembly"
2247
- ], An = [
2244
+ ], Tn = [
2248
2245
  "Error",
2249
2246
  "EvalError",
2250
2247
  "InternalError",
@@ -2253,7 +2250,7 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Qt = [
2253
2250
  "SyntaxError",
2254
2251
  "TypeError",
2255
2252
  "URIError"
2256
- ], Tn = [
2253
+ ], Dn = [
2257
2254
  "setInterval",
2258
2255
  "setTimeout",
2259
2256
  "clearInterval",
@@ -2271,7 +2268,7 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Qt = [
2271
2268
  "encodeURIComponent",
2272
2269
  "escape",
2273
2270
  "unescape"
2274
- ], Yt = [
2271
+ ], jt = [
2275
2272
  "arguments",
2276
2273
  "this",
2277
2274
  "super",
@@ -2283,14 +2280,14 @@ const an = "[A-Za-z$_][0-9A-Za-z$_]*", Qt = [
2283
2280
  "global"
2284
2281
  // Node.js
2285
2282
  ], Xt = [].concat(
2286
- Tn,
2287
- Nn,
2288
- An
2283
+ Dn,
2284
+ An,
2285
+ Tn
2289
2286
  );
2290
2287
  function Vt(e) {
2291
- const n = e.regex, a = (M, { after: C }) => {
2292
- const k = "</" + M[0].slice(1);
2293
- return M.input.indexOf(k, C) !== -1;
2288
+ const n = e.regex, a = (N, { after: C }) => {
2289
+ const k = "</" + N[0].slice(1);
2290
+ return N.input.indexOf(k, C) !== -1;
2294
2291
  }, u = an, h = {
2295
2292
  begin: "<>",
2296
2293
  end: "</>"
@@ -2301,8 +2298,8 @@ function Vt(e) {
2301
2298
  * @param {RegExpMatchArray} match
2302
2299
  * @param {CallbackResponse} response
2303
2300
  */
2304
- isTrulyOpeningTag: (M, C) => {
2305
- const k = M[0].length + M.index, x = M.input[k];
2301
+ isTrulyOpeningTag: (N, C) => {
2302
+ const k = N[0].length + N.index, x = N.input[k];
2306
2303
  if (
2307
2304
  // HTML should not include another raw `<` inside a tag
2308
2305
  // nested type?
@@ -2314,24 +2311,24 @@ function Vt(e) {
2314
2311
  C.ignoreMatch();
2315
2312
  return;
2316
2313
  }
2317
- x === ">" && (a(M, { after: k }) || C.ignoreMatch());
2314
+ x === ">" && (a(N, { after: k }) || C.ignoreMatch());
2318
2315
  let W;
2319
- const X = M.input.substring(k);
2320
- if (W = X.match(/^\s*=/)) {
2316
+ const j = N.input.substring(k);
2317
+ if (W = j.match(/^\s*=/)) {
2321
2318
  C.ignoreMatch();
2322
2319
  return;
2323
2320
  }
2324
- if ((W = X.match(/^\s+extends\s+/)) && W.index === 0) {
2321
+ if ((W = j.match(/^\s+extends\s+/)) && W.index === 0) {
2325
2322
  C.ignoreMatch();
2326
2323
  return;
2327
2324
  }
2328
2325
  }
2329
2326
  }, i = {
2330
2327
  $pattern: an,
2331
- keyword: Qt,
2332
- literal: Zt,
2328
+ keyword: Zt,
2329
+ literal: Yt,
2333
2330
  built_in: Xt,
2334
- "variable.language": Yt
2331
+ "variable.language": jt
2335
2332
  }, s = "[0-9](_?[0-9])*", o = `\\.(${s})`, l = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
2336
2333
  className: "number",
2337
2334
  variants: [
@@ -2505,7 +2502,7 @@ function Vt(e) {
2505
2502
  }
2506
2503
  }
2507
2504
  ]
2508
- }, N = {
2505
+ }, M = {
2509
2506
  relevance: 0,
2510
2507
  match: n.either(
2511
2508
  // Hard coded exceptions
@@ -2525,8 +2522,8 @@ function Vt(e) {
2525
2522
  keywords: {
2526
2523
  _: [
2527
2524
  // se we still get relevance credit for JS library classes
2528
- ...Nn,
2529
- ...An
2525
+ ...An,
2526
+ ...Tn
2530
2527
  ]
2531
2528
  }
2532
2529
  }, I = {
@@ -2564,14 +2561,14 @@ function Vt(e) {
2564
2561
  match: /\b[A-Z][A-Z_0-9]+\b/,
2565
2562
  className: "variable.constant"
2566
2563
  };
2567
- function U(M) {
2568
- return n.concat("(?!", M.join("|"), ")");
2564
+ function U(N) {
2565
+ return n.concat("(?!", N.join("|"), ")");
2569
2566
  }
2570
2567
  const $ = {
2571
2568
  match: n.concat(
2572
2569
  /\b/,
2573
2570
  U([
2574
- ...Tn,
2571
+ ...Dn,
2575
2572
  "super",
2576
2573
  "import"
2577
2574
  ]),
@@ -2632,7 +2629,7 @@ function Vt(e) {
2632
2629
  aliases: ["js", "jsx", "mjs", "cjs"],
2633
2630
  keywords: i,
2634
2631
  // this will be extended by TypeScript
2635
- exports: { PARAMS_CONTAINS: m, CLASS_REFERENCE: N },
2632
+ exports: { PARAMS_CONTAINS: m, CLASS_REFERENCE: M },
2636
2633
  illegal: /#(?![$_A-z])/,
2637
2634
  contains: [
2638
2635
  e.SHEBANG({
@@ -2650,7 +2647,7 @@ function Vt(e) {
2650
2647
  // Skip numbers when they are part of a variable name
2651
2648
  { match: /\$\d+/ },
2652
2649
  c,
2653
- N,
2650
+ M,
2654
2651
  {
2655
2652
  className: "attr",
2656
2653
  begin: u + n.lookahead(":"),
@@ -2780,7 +2777,7 @@ function Vt(e) {
2780
2777
  ]
2781
2778
  };
2782
2779
  }
2783
- function jt(e) {
2780
+ function qt(e) {
2784
2781
  const n = {
2785
2782
  className: "attr",
2786
2783
  begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
@@ -2814,7 +2811,7 @@ function jt(e) {
2814
2811
  illegal: "\\S"
2815
2812
  };
2816
2813
  }
2817
- function qt(e) {
2814
+ function Jt(e) {
2818
2815
  const n = "true false yes no null", a = "[\\w#;/?:@&=+$,.~*'()[\\]]+", u = {
2819
2816
  className: "attr",
2820
2817
  variants: [
@@ -2978,7 +2975,7 @@ function qt(e) {
2978
2975
  contains: p
2979
2976
  };
2980
2977
  }
2981
- function Jt(e) {
2978
+ function er(e) {
2982
2979
  return {
2983
2980
  name: "Plain text",
2984
2981
  aliases: [
@@ -2988,7 +2985,7 @@ function Jt(e) {
2988
2985
  disableAutodetect: !0
2989
2986
  };
2990
2987
  }
2991
- function er(e) {
2988
+ function nr(e) {
2992
2989
  const n = e.regex, a = /[\p{XID_Start}_]\p{XID_Continue}*/u, u = [
2993
2990
  "and",
2994
2991
  "as",
@@ -3382,7 +3379,7 @@ function er(e) {
3382
3379
  ]
3383
3380
  };
3384
3381
  }
3385
- var oe = "[0-9](_*[0-9])*", Ne = `\\.(${oe})`, Ae = "[0-9a-fA-F](_*[0-9a-fA-F])*", on = {
3382
+ var oe = "[0-9](_*[0-9])*", Ne = `\\.(${oe})`, Me = "[0-9a-fA-F](_*[0-9a-fA-F])*", on = {
3386
3383
  className: "number",
3387
3384
  variants: [
3388
3385
  // DecimalFloatingPointLiteral
@@ -3393,11 +3390,11 @@ var oe = "[0-9](_*[0-9])*", Ne = `\\.(${oe})`, Ae = "[0-9a-fA-F](_*[0-9a-fA-F])*
3393
3390
  { begin: `(${Ne})[fFdD]?\\b` },
3394
3391
  { begin: `\\b(${oe})[fFdD]\\b` },
3395
3392
  // HexadecimalFloatingPointLiteral
3396
- { begin: `\\b0[xX]((${Ae})\\.?|(${Ae})?\\.(${Ae}))[pP][+-]?(${oe})[fFdD]?\\b` },
3393
+ { begin: `\\b0[xX]((${Me})\\.?|(${Me})?\\.(${Me}))[pP][+-]?(${oe})[fFdD]?\\b` },
3397
3394
  // DecimalIntegerLiteral
3398
3395
  { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
3399
3396
  // HexIntegerLiteral
3400
- { begin: `\\b0[xX](${Ae})[lL]?\\b` },
3397
+ { begin: `\\b0[xX](${Me})[lL]?\\b` },
3401
3398
  // OctalIntegerLiteral
3402
3399
  { begin: "\\b0(_*[0-7])*[lL]?\\b" },
3403
3400
  // BinaryIntegerLiteral
@@ -3405,11 +3402,11 @@ var oe = "[0-9](_*[0-9])*", Ne = `\\.(${oe})`, Ae = "[0-9a-fA-F](_*[0-9a-fA-F])*
3405
3402
  ],
3406
3403
  relevance: 0
3407
3404
  };
3408
- function Dn(e, n, a) {
3409
- return a === -1 ? "" : e.replace(n, (u) => Dn(e, n, a - 1));
3405
+ function Sn(e, n, a) {
3406
+ return a === -1 ? "" : e.replace(n, (u) => Sn(e, n, a - 1));
3410
3407
  }
3411
- function nr(e) {
3412
- const n = e.regex, a = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", u = a + Dn("(?:<" + a + "~~~(?:\\s*,\\s*" + a + "~~~)*>)?", /~~~/g, 2), s = {
3408
+ function tr(e) {
3409
+ const n = e.regex, a = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", u = a + Sn("(?:<" + a + "~~~(?:\\s*,\\s*" + a + "~~~)*>)?", /~~~/g, 2), s = {
3413
3410
  keyword: [
3414
3411
  "synchronized",
3415
3412
  "abstract",
@@ -3617,7 +3614,7 @@ function nr(e) {
3617
3614
  ]
3618
3615
  };
3619
3616
  }
3620
- function tr(e) {
3617
+ function rr(e) {
3621
3618
  const n = e.regex, a = {}, u = {
3622
3619
  begin: /\$\{/,
3623
3620
  end: /\}/,
@@ -3970,7 +3967,7 @@ function tr(e) {
3970
3967
  ]
3971
3968
  };
3972
3969
  }
3973
- function rr(e) {
3970
+ function ir(e) {
3974
3971
  const n = e.regex, a = e.COMMENT("--", "$"), u = {
3975
3972
  className: "string",
3976
3973
  variants: [
@@ -4539,7 +4536,7 @@ function rr(e) {
4539
4536
  when: T
4540
4537
  } = {}) {
4541
4538
  const D = T;
4542
- return m = m || [], w.map((N) => N.match(/\|\d+$/) || m.includes(N) ? N : D(N) ? `${N}|0` : N);
4539
+ return m = m || [], w.map((M) => M.match(/\|\d+$/) || m.includes(M) ? M : D(M) ? `${M}|0` : M);
4543
4540
  }
4544
4541
  return {
4545
4542
  name: "SQL",
@@ -4579,37 +4576,43 @@ function rr(e) {
4579
4576
  ]
4580
4577
  };
4581
4578
  }
4582
- Y.registerLanguage("xml", Wt);
4579
+ Y.registerLanguage("xml", Qt);
4583
4580
  Y.registerLanguage("javascript", Vt);
4584
- Y.registerLanguage("json", jt);
4585
- Y.registerLanguage("yaml", qt);
4586
- Y.registerLanguage("plaintext", Jt);
4587
- Y.registerLanguage("python", er);
4588
- Y.registerLanguage("java", nr);
4589
- Y.registerLanguage("bash", tr);
4590
- Y.registerLanguage("sql", rr);
4581
+ Y.registerLanguage("json", qt);
4582
+ Y.registerLanguage("yaml", Jt);
4583
+ Y.registerLanguage("plaintext", er);
4584
+ Y.registerLanguage("python", nr);
4585
+ Y.registerLanguage("java", tr);
4586
+ Y.registerLanguage("bash", rr);
4587
+ Y.registerLanguage("sql", ir);
4591
4588
  var S = /* @__PURE__ */ ((e) => (e.EQUAL = "equal", e.DELETE = "removed", e.ADD = "added", e.EMPTY = "empty", e))(S || {});
4592
- const j = "<code-diff-modified>", q = "</code-diff-modified>", ir = j.replace("<", "&lt;").replace(">", "&gt;"), sr = q.replace("<", "&lt;").replace(">", "&gt;"), le = (e) => e === void 0 ? S.EQUAL : e.added ? S.ADD : e.removed ? S.DELETE : S.EQUAL, Se = (e, n, a = "word") => typeof e == "undefined" ? n : typeof n == "undefined" ? e : (a === "char" ? Kn : Qn)(e, n).filter((h) => le(h) !== S.DELETE).map(
4593
- (h) => le(h) === S.ADD ? `${j}${h.value}${q}` : h.value
4594
- ).join("");
4595
- function Sn(e, n) {
4596
- const a = new ce.diff_match_patch(), u = a.diff_linesToChars_(e, n), h = u.chars1, t = u.chars2, r = u.lineArray, i = a.diff_main(h, t, !1);
4589
+ const V = "<code-diff-modified>", q = "</code-diff-modified>", sr = V.replace("<", "&lt;").replace(">", "&gt;"), ar = q.replace("<", "&lt;").replace(">", "&gt;");
4590
+ function le(e) {
4591
+ return e === void 0 ? S.EQUAL : e.added ? S.ADD : e.removed ? S.DELETE : S.EQUAL;
4592
+ }
4593
+ function De(e, n, a = "word") {
4594
+ return typeof e == "undefined" ? n : typeof n == "undefined" ? e : (a === "char" ? Wn : Zn)(e, n).filter((h) => le(h) !== S.DELETE).map(
4595
+ (h) => le(h) === S.ADD ? `${V}${h.value}${q}` : h.value
4596
+ ).join("");
4597
+ }
4598
+ function Rn(e, n) {
4599
+ const a = new Le.diff_match_patch(), u = a.diff_linesToChars_(e, n), h = u.chars1, t = u.chars2, r = u.lineArray, i = a.diff_main(h, t, !1);
4597
4600
  return a.diff_charsToLines_(i, r), i.map((s) => {
4598
4601
  const [o, l] = s;
4599
4602
  return {
4600
4603
  count: l.trim().split(`
4601
4604
  `).length,
4602
4605
  value: l,
4603
- removed: o === ce.DIFF_DELETE,
4604
- added: o === ce.DIFF_INSERT
4606
+ removed: o === Le.DIFF_DELETE,
4607
+ added: o === Le.DIFF_INSERT
4605
4608
  };
4606
4609
  });
4607
4610
  }
4608
- const Z = (e, n) => {
4609
- if (!n.match(new RegExp(`(${j}|${q})`, "g")))
4611
+ function Z(e, n) {
4612
+ if (!n.match(new RegExp(`(${V}|${q})`, "g")))
4610
4613
  return Y.highlight(n, { language: e }).value;
4611
4614
  let u = n;
4612
- const h = n.replace(new RegExp(`(${j}|${q})`, "g"), ""), t = document.createElement("div");
4615
+ const h = n.replace(new RegExp(`(${V}|${q})`, "g"), ""), t = document.createElement("div");
4613
4616
  t.innerHTML = Y.highlight(h, { language: e }).value;
4614
4617
  let r = !1;
4615
4618
  const i = (s) => {
@@ -4618,25 +4621,25 @@ const Z = (e, n) => {
4618
4621
  if (!o.textContent)
4619
4622
  return;
4620
4623
  let l = o.textContent, c = "";
4621
- for (r && (c = c + j); l.length; ) {
4622
- if (u.startsWith(j)) {
4623
- u = u.slice(j.length), c = c + j, r = !0;
4624
+ for (r && (c = c + V); l.length; ) {
4625
+ if (u.startsWith(V)) {
4626
+ u = u.slice(V.length), c = c + V, r = !0;
4624
4627
  continue;
4625
4628
  }
4626
4629
  if (u.startsWith(q)) {
4627
4630
  u = u.slice(q.length), c = c + q, r = !1;
4628
4631
  continue;
4629
4632
  }
4630
- const f = u.match(new RegExp(`(${j}|${q})`)), g = f && f.index ? f.index : u.length, d = Math.min(g, l.length);
4633
+ const f = u.match(new RegExp(`(${V}|${q})`)), g = f && f.index ? f.index : u.length, d = Math.min(g, l.length);
4631
4634
  c = c + u.substring(0, d), u = u.slice(d), l = l.slice(d);
4632
4635
  }
4633
4636
  r && (c = c + q), o.textContent = c;
4634
4637
  }
4635
4638
  });
4636
4639
  };
4637
- return i(t), t.innerHTML.replace(new RegExp(ir, "g"), '<span class="x">').replace(new RegExp(sr, "g"), "</span>");
4638
- };
4639
- function Rn(e) {
4640
+ return i(t), t.innerHTML.replace(new RegExp(sr, "g"), '<span class="x">').replace(new RegExp(ar, "g"), "</span>");
4641
+ }
4642
+ function On(e) {
4640
4643
  const n = (h, t) => (h.match(new RegExp(t, "g")) || []).length;
4641
4644
  let a = 0, u = 0;
4642
4645
  for (const h of e)
@@ -4645,13 +4648,13 @@ function Rn(e) {
4645
4648
  `) + 1);
4646
4649
  return { additionsNum: a, deletionsNum: u };
4647
4650
  }
4648
- function ar(e, n, a = "plaintext", u = "word", h = 10) {
4649
- const t = () => ({ type: S.EMPTY }), r = (p, _, v) => ({ type: p, num: _, code: v }), i = Sn(e, n);
4651
+ function or(e, n, a = "plaintext", u = "word", h = 10) {
4652
+ const t = () => ({ type: S.EMPTY }), r = (p, _, v) => ({ type: p, num: _, code: v }), i = Rn(e, n);
4650
4653
  let s = 0, o = 0, l = !1;
4651
4654
  const c = [], f = {
4652
4655
  changes: c,
4653
4656
  collector: [],
4654
- stat: Rn(i)
4657
+ stat: On(i)
4655
4658
  };
4656
4659
  for (let p = 0; p < i.length; p++) {
4657
4660
  if (l) {
@@ -4662,19 +4665,19 @@ function ar(e, n, a = "plaintext", u = "word", h = 10) {
4662
4665
  `);
4663
4666
  if (v === void 0) {
4664
4667
  for (const D of m) {
4665
- let N = t(), I = t();
4668
+ let M = t(), I = t();
4666
4669
  const R = Z(a, D);
4667
- E === S.EQUAL && (s++, o++, N = r(S.EQUAL, s, R), I = r(S.EQUAL, o, R)), E === S.DELETE && (s++, N = r(S.DELETE, s, R), I = t()), E === S.ADD && (o++, N = t(), I = r(S.ADD, o, R)), c.push({ left: N, right: I });
4670
+ E === S.EQUAL && (s++, o++, M = r(S.EQUAL, s, R), I = r(S.EQUAL, o, R)), E === S.DELETE && (s++, M = r(S.DELETE, s, R), I = t()), E === S.ADD && (o++, M = t(), I = r(S.ADD, o, R)), c.push({ left: M, right: I });
4668
4671
  }
4669
4672
  break;
4670
4673
  }
4671
4674
  if (E === S.EQUAL)
4672
4675
  for (const D of m) {
4673
4676
  s++, o++;
4674
- const N = Z(a, D);
4677
+ const M = Z(a, D);
4675
4678
  c.push({
4676
- left: r(S.EQUAL, s, N),
4677
- right: r(S.EQUAL, o, N)
4679
+ left: r(S.EQUAL, s, M),
4680
+ right: r(S.EQUAL, o, M)
4678
4681
  });
4679
4682
  }
4680
4683
  const T = v.value.replace(/\n$/, "").split(`
@@ -4689,9 +4692,9 @@ function ar(e, n, a = "plaintext", u = "word", h = 10) {
4689
4692
  if (w === S.ADD) {
4690
4693
  l = !0;
4691
4694
  const D = Math.max(_.count, v.count);
4692
- for (let N = 0; N < D; N++) {
4693
- N < _.count && s++, N < v.count && o++;
4694
- const [I, R] = [m[N], T[N]], H = m.length === T.length ? Se(R, I, u) : I, U = m.length === T.length ? Se(I, R, u) : R, $ = N < _.count ? r(S.DELETE, s, Z(a, H)) : t(), F = N < v.count ? r(S.ADD, o, Z(a, U)) : t();
4695
+ for (let M = 0; M < D; M++) {
4696
+ M < _.count && s++, M < v.count && o++;
4697
+ const [I, R] = [m[M], T[M]], H = m.length === T.length ? De(R, I, u) : I, U = m.length === T.length ? De(I, R, u) : R, $ = M < _.count ? r(S.DELETE, s, Z(a, H)) : t(), F = M < v.count ? r(S.ADD, o, Z(a, U)) : t();
4695
4698
  c.push({ left: $, right: F });
4696
4699
  }
4697
4700
  }
@@ -4735,13 +4738,13 @@ function ar(e, n, a = "plaintext", u = "word", h = 10) {
4735
4738
  fold: !0
4736
4739
  }), d = []), f.changes = g, f;
4737
4740
  }
4738
- function or(e, n, a = "plaintext", u = "word", h = 10) {
4739
- const t = Sn(e, n);
4741
+ function lr(e, n, a = "plaintext", u = "word", h = 10) {
4742
+ const t = Rn(e, n);
4740
4743
  let r = 0, i = 0, s = !1;
4741
4744
  const o = [], l = {
4742
4745
  changes: o,
4743
4746
  collector: [],
4744
- stat: Rn(t)
4747
+ stat: On(t)
4745
4748
  };
4746
4749
  for (let g = 0; g < t.length; g++) {
4747
4750
  if (s) {
@@ -4776,14 +4779,14 @@ function or(e, n, a = "plaintext", u = "word", h = 10) {
4776
4779
  for (let m = 0; m < E.length; m++) {
4777
4780
  const T = E[m], D = w[m];
4778
4781
  r++;
4779
- const N = Z(a, Se(D, T, u));
4780
- o.push({ type: S.DELETE, code: N, delNum: r });
4782
+ const M = Z(a, De(D, T, u));
4783
+ o.push({ type: S.DELETE, code: M, delNum: r });
4781
4784
  }
4782
4785
  for (let m = 0; m < w.length; m++) {
4783
4786
  const T = E[m], D = w[m];
4784
4787
  i++;
4785
- const N = Z(a, Se(T, D, u));
4786
- o.push({ type: S.ADD, code: N, addNum: i });
4788
+ const M = Z(a, De(T, D, u));
4789
+ o.push({ type: S.ADD, code: M, addNum: i });
4787
4790
  }
4788
4791
  s = !0;
4789
4792
  } else
@@ -4841,13 +4844,16 @@ Ke.props = {
4841
4844
  };
4842
4845
  Ke.setup = (e, n) => {
4843
4846
  const a = n.emit;
4847
+ function u(h) {
4848
+ return h === S.DELETE ? "-" : h === S.ADD ? "+" : "";
4849
+ }
4844
4850
  return {
4845
4851
  DiffType: S,
4846
4852
  emit: a,
4847
- getCodeMarker: (h) => h === S.DELETE ? "-" : h === S.ADD ? "+" : ""
4853
+ getCodeMarker: u
4848
4854
  };
4849
4855
  };
4850
- var lr = function() {
4856
+ var cr = function() {
4851
4857
  var e = this, n = e.$createElement, a = e._self._c || n;
4852
4858
  return e.line.hideIndex !== void 0 && e.line.hide ? a("tr", [a("td", {
4853
4859
  staticClass: "blob-num blob-num-hunk text-center",
@@ -4897,7 +4903,7 @@ var lr = function() {
4897
4903
  innerHTML: e._s(e.line.code)
4898
4904
  }
4899
4905
  })])]);
4900
- }, cr = [];
4906
+ }, ur = [];
4901
4907
  function be(e, n, a, u, h, t, r, i) {
4902
4908
  var s = typeof e == "function" ? e.options : e;
4903
4909
  n && (s.render = n, s.staticRenderFns = a, s._compiled = !0), u && (s.functional = !0), t && (s._scopeId = "data-v-" + t);
@@ -4928,22 +4934,22 @@ function be(e, n, a, u, h, t, r, i) {
4928
4934
  };
4929
4935
  }
4930
4936
  const ln = {};
4931
- var ur = /* @__PURE__ */ be(
4937
+ var fr = /* @__PURE__ */ be(
4932
4938
  Ke,
4933
- lr,
4934
4939
  cr,
4940
+ ur,
4935
4941
  !1,
4936
- fr,
4942
+ gr,
4937
4943
  null,
4938
4944
  null,
4939
4945
  null
4940
4946
  );
4941
- function fr(e) {
4947
+ function gr(e) {
4942
4948
  for (let n in ln)
4943
4949
  this[n] = ln[n];
4944
4950
  }
4945
- const gr = /* @__PURE__ */ function() {
4946
- return ur.exports;
4951
+ const hr = /* @__PURE__ */ function() {
4952
+ return fr.exports;
4947
4953
  }(), de = {};
4948
4954
  de.props = {
4949
4955
  diffChange: {
@@ -4966,9 +4972,9 @@ de.setup = (e, n) => {
4966
4972
  };
4967
4973
  };
4968
4974
  de.components = Object.assign({
4969
- UnifiedLine: gr
4975
+ UnifiedLine: hr
4970
4976
  }, de.components);
4971
- var hr = function() {
4977
+ var dr = function() {
4972
4978
  var e, n = this, a = n.$createElement, u = n._self._c || a;
4973
4979
  return u("table", {
4974
4980
  staticClass: "diff-table"
@@ -4983,24 +4989,24 @@ var hr = function() {
4983
4989
  }
4984
4990
  });
4985
4991
  }), 1)]);
4986
- }, dr = [];
4992
+ }, pr = [];
4987
4993
  const cn = {};
4988
- var pr = /* @__PURE__ */ be(
4994
+ var _r = /* @__PURE__ */ be(
4989
4995
  de,
4990
- hr,
4991
4996
  dr,
4997
+ pr,
4992
4998
  !1,
4993
- _r,
4999
+ br,
4994
5000
  null,
4995
5001
  null,
4996
5002
  null
4997
5003
  );
4998
- function _r(e) {
5004
+ function br(e) {
4999
5005
  for (let n in cn)
5000
5006
  this[n] = cn[n];
5001
5007
  }
5002
- const br = /* @__PURE__ */ function() {
5003
- return pr.exports;
5008
+ const vr = /* @__PURE__ */ function() {
5009
+ return _r.exports;
5004
5010
  }(), We = {};
5005
5011
  We.props = {
5006
5012
  splitLine: {
@@ -5011,13 +5017,16 @@ We.props = {
5011
5017
  };
5012
5018
  We.setup = (e, n) => {
5013
5019
  const a = n.emit;
5020
+ function u(h) {
5021
+ return h === S.DELETE ? "-" : h === S.ADD ? "+" : "";
5022
+ }
5014
5023
  return {
5015
5024
  DiffType: S,
5016
5025
  emit: a,
5017
- getCodeMarker: (h) => h === S.DELETE ? "-" : h === S.ADD ? "+" : ""
5026
+ getCodeMarker: u
5018
5027
  };
5019
5028
  };
5020
- var vr = function() {
5029
+ var Er = function() {
5021
5030
  var e = this, n = e.$createElement, a = e._self._c || n;
5022
5031
  return e.splitLine.hideIndex !== void 0 && e.splitLine.hide ? a("tr", [a("td", {
5023
5032
  staticClass: "blob-num blob-num-hunk",
@@ -5066,24 +5075,24 @@ var vr = function() {
5066
5075
  }
5067
5076
  })])]];
5068
5077
  })], 2);
5069
- }, Er = [];
5078
+ }, mr = [];
5070
5079
  const un = {};
5071
- var mr = /* @__PURE__ */ be(
5080
+ var yr = /* @__PURE__ */ be(
5072
5081
  We,
5073
- vr,
5074
5082
  Er,
5083
+ mr,
5075
5084
  !1,
5076
- yr,
5085
+ wr,
5077
5086
  null,
5078
5087
  null,
5079
5088
  null
5080
5089
  );
5081
- function yr(e) {
5090
+ function wr(e) {
5082
5091
  for (let n in un)
5083
5092
  this[n] = un[n];
5084
5093
  }
5085
- const wr = /* @__PURE__ */ function() {
5086
- return mr.exports;
5094
+ const Nr = /* @__PURE__ */ function() {
5095
+ return yr.exports;
5087
5096
  }(), pe = {};
5088
5097
  pe.props = {
5089
5098
  diffChange: {
@@ -5106,7 +5115,7 @@ pe.setup = (e, n) => {
5106
5115
  };
5107
5116
  };
5108
5117
  pe.components = Object.assign({
5109
- SplitLine: wr
5118
+ SplitLine: Nr
5110
5119
  }, pe.components);
5111
5120
  var Mr = function() {
5112
5121
  var e, n = this, a = n.$createElement, u = n._self._c || a;
@@ -5123,7 +5132,7 @@ var Mr = function() {
5123
5132
  }
5124
5133
  });
5125
5134
  }), 1)]);
5126
- }, Nr = [function() {
5135
+ }, Ar = [function() {
5127
5136
  var e = this, n = e.$createElement, a = e._self._c || n;
5128
5137
  return a("colgroup", [a("col", {
5129
5138
  attrs: {
@@ -5136,22 +5145,22 @@ var Mr = function() {
5136
5145
  }), a("col")]);
5137
5146
  }];
5138
5147
  const fn = {};
5139
- var Ar = /* @__PURE__ */ be(
5148
+ var Tr = /* @__PURE__ */ be(
5140
5149
  pe,
5141
5150
  Mr,
5142
- Nr,
5151
+ Ar,
5143
5152
  !1,
5144
- Tr,
5153
+ Dr,
5145
5154
  null,
5146
5155
  null,
5147
5156
  null
5148
5157
  );
5149
- function Tr(e) {
5158
+ function Dr(e) {
5150
5159
  for (let n in fn)
5151
5160
  this[n] = fn[n];
5152
5161
  }
5153
- const Dr = /* @__PURE__ */ function() {
5154
- return Ar.exports;
5162
+ const Sr = /* @__PURE__ */ function() {
5163
+ return Tr.exports;
5155
5164
  }();
5156
5165
  const _e = {};
5157
5166
  _e.props = {
@@ -5215,29 +5224,36 @@ _e.props = {
5215
5224
  }
5216
5225
  };
5217
5226
  _e.setup = (e, n) => {
5218
- const a = e, u = we(() => a.outputFormat === "line-by-line"), h = we(() => {
5219
- let s = a.oldString || "";
5220
- return s = a.trim ? s.trim() : s, s = a.noDiffLineFeed ? s.replace(/(\r\n)/g, `
5221
- `) : s, s;
5222
- }), t = we(() => {
5223
- let s = a.newString || "";
5224
- return s = a.trim ? s.trim() : s, s = a.noDiffLineFeed ? s.replace(/(\r\n)/g, `
5225
- `) : s, s;
5226
- }), r = we(() => u.value ? or(h.value, t.value, a.language, a.diffStyle, a.context) : ar(h.value, t.value, a.language, a.diffStyle, a.context)), i = Pn(r.value);
5227
- return xn(() => a, () => {
5228
- i.value = r.value;
5227
+ const a = e, u = n.emit, h = ce(() => a.outputFormat === "line-by-line"), t = ce(() => {
5228
+ let l = a.oldString || "";
5229
+ return l = a.trim ? l.trim() : l, l = a.noDiffLineFeed ? l.replace(/(\r\n)/g, `
5230
+ `) : l, l;
5231
+ }), r = ce(() => {
5232
+ let l = a.newString || "";
5233
+ return l = a.trim ? l.trim() : l, l = a.noDiffLineFeed ? l.replace(/(\r\n)/g, `
5234
+ `) : l, l;
5235
+ }), i = ce(() => h.value ? lr(t.value, r.value, a.language, a.diffStyle, a.context) : or(t.value, r.value, a.language, a.diffStyle, a.context)), s = xn(i.value), o = ce(() => s.value.stat.additionsNum === 0 && s.value.stat.deletionsNum === 0);
5236
+ return Hn(() => a, () => {
5237
+ s.value = i.value, u("diff", {
5238
+ stat: {
5239
+ isChanged: !o.value,
5240
+ addNum: s.value.stat.additionsNum,
5241
+ delNum: s.value.stat.deletionsNum
5242
+ }
5243
+ });
5229
5244
  }, {
5230
- deep: !0
5245
+ deep: !0,
5246
+ immediate: !0
5231
5247
  }), {
5232
- isUnifiedViewer: u,
5233
- diffChange: i
5248
+ isUnifiedViewer: h,
5249
+ diffChange: s
5234
5250
  };
5235
5251
  };
5236
5252
  _e.components = Object.assign({
5237
- UnifiedViewer: br,
5238
- SplitViewer: Dr
5253
+ UnifiedViewer: vr,
5254
+ SplitViewer: Sr
5239
5255
  }, _e.components);
5240
- var Sr = function() {
5256
+ var Rr = function() {
5241
5257
  var e = this, n = e.$createElement, a = e._self._c || n;
5242
5258
  return a("div", {
5243
5259
  staticClass: "code-diff-view",
@@ -5268,31 +5284,33 @@ var Sr = function() {
5268
5284
  "diff-change": e.diffChange
5269
5285
  }
5270
5286
  })], 1);
5271
- }, Rr = [];
5287
+ }, Or = [];
5272
5288
  const gn = {};
5273
- var Or = /* @__PURE__ */ be(
5289
+ var Cr = /* @__PURE__ */ be(
5274
5290
  _e,
5275
- Sr,
5276
5291
  Rr,
5292
+ Or,
5277
5293
  !1,
5278
- Cr,
5294
+ Lr,
5279
5295
  null,
5280
5296
  null,
5281
5297
  null
5282
5298
  );
5283
- function Cr(e) {
5299
+ function Lr(e) {
5284
5300
  for (let n in gn)
5285
5301
  this[n] = gn[n];
5286
5302
  }
5287
- const Lr = /* @__PURE__ */ function() {
5288
- return Or.exports;
5289
- }(), Ir = (e) => {
5290
- e.component("CodeDiff", Lr);
5291
- }, $r = {
5292
- install: Ir,
5303
+ const Ir = /* @__PURE__ */ function() {
5304
+ return Cr.exports;
5305
+ }();
5306
+ function kr(e) {
5307
+ e.component("CodeDiff", Ir);
5308
+ }
5309
+ const Ur = {
5310
+ install: kr,
5293
5311
  hljs: Y
5294
5312
  };
5295
5313
  export {
5296
- Lr as CodeDiff,
5297
- $r as default
5314
+ Ir as CodeDiff,
5315
+ Ur as default
5298
5316
  };