v-code-diff 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/v2/index.cjs +29 -28
- package/dist/v2/index.es.js +2716 -2660
- package/dist/v2/index.umd.js +29 -28
- package/dist/v2.7/index.cjs +26 -25
- package/dist/v2.7/index.es.js +2567 -2511
- package/dist/v2.7/index.umd.js +26 -25
- package/dist/v3/index.cjs +29 -28
- package/dist/v3/index.es.js +2731 -2673
- package/dist/v3/index.umd.js +29 -28
- package/package.json +15 -19
- package/src/CodeDiff.vue +2 -0
- package/src/split/SplitLine.vue +0 -1
- package/src/unified/UnifiedLine.vue +0 -1
- package/types/index.d.ts +3 -2
package/dist/v2/index.umd.js
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #1F2328;--color-diff-blob-addition-fg: #1F2328;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #1f883d;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(31,35,40,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(31,35,40,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(31,35,40,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-scale-black: #1F2328;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#fff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.code-diff-view{position:relative;margin-top:16px;margin-bottom:16px;border:1px solid var(--color-border-default, #ddd);border-radius:6px;overflow-y:auto}.code-diff-view *{position:static;box-sizing:border-box}.code-diff-view .file-header{position:sticky;top:0;z-index:1;background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar{margin-left:auto;margin-right:1rem}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button{background-color:transparent;color:var(--color-fg-subtle);border:none}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button svg{fill:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button:hover{background-color:var(--color-btn-outline-hover-border)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .current-diff{border:1px solid var(--color-border-muted)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .diff-table .load-more{padding:8px;text-align:center}.code-diff-view .diff-table .load-more-button{padding:4px 12px;color:var(--color-accent-fg);background:transparent;border:1px solid var(--color-border-default);border-radius:4px;cursor:pointer}.code-diff-view .diff-table .load-more-button:hover{background-color:var(--color-accent-muted)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .file-diff-split .no-select{user-select:none}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}.code-diff-view[data-v-8b22b876] :deep(td:nth-child(1)){display:none}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
(function(
|
|
3
|
-
`));var
|
|
4
|
-
`,p),_==-1&&(_=g.length-1);var m=g.substring(p,_+1);(a.hasOwnProperty?a.hasOwnProperty(m):a[m]!==void 0)?d+=String.fromCharCode(a[m]):(b==o&&(m=g.substring(p),_=g.length),d+=String.fromCharCode(b),a[m]=b,r[b++]=m),p=_+1}return d}var o=4e4,c=l(t);o=65535;var u=l(i);return{chars1:c,chars2:u,lineArray:r}},n.prototype.diff_charsToLines_=function(t,i){for(var r=0;r<t.length;r++){for(var a=t[r][1],l=[],o=0;o<a.length;o++)l[o]=i[a.charCodeAt(o)];t[r][1]=l.join("")}},n.prototype.diff_commonPrefix=function(t,i){if(!t||!i||t.charAt(0)!=i.charAt(0))return 0;for(var r=0,a=Math.min(t.length,i.length),l=a,o=0;r<l;)t.substring(o,l)==i.substring(o,l)?(r=l,o=r):a=l,l=Math.floor((a-r)/2+r);return l},n.prototype.diff_commonSuffix=function(t,i){if(!t||!i||t.charAt(t.length-1)!=i.charAt(i.length-1))return 0;for(var r=0,a=Math.min(t.length,i.length),l=a,o=0;r<l;)t.substring(t.length-l,t.length-o)==i.substring(i.length-l,i.length-o)?(r=l,o=r):a=l,l=Math.floor((a-r)/2+r);return l},n.prototype.diff_commonOverlap_=function(t,i){var r=t.length,a=i.length;if(r==0||a==0)return 0;r>a?t=t.substring(r-a):r<a&&(i=i.substring(0,r));var l=Math.min(r,a);if(t==i)return l;for(var o=0,c=1;;){var u=t.substring(l-c),g=i.indexOf(u);if(g==-1)return o;c+=g,(g==0||t.substring(l-c)==i.substring(0,c))&&(o=c,c++)}},n.prototype.diff_halfMatch_=function(t,i){if(this.Diff_Timeout<=0)return null;var r=t.length>i.length?t:i,a=t.length>i.length?i:t;if(r.length<4||a.length*2<r.length)return null;var l=this;function o(E,y,D){for(var S=E.substring(D,D+Math.floor(E.length/4)),A=-1,I="",T,C,$,x;(A=y.indexOf(S,A+1))!=-1;){var z=l.diff_commonPrefix(E.substring(D),y.substring(A)),q=l.diff_commonSuffix(E.substring(0,D),y.substring(0,A));I.length<q+z&&(I=y.substring(A-q,A)+y.substring(A,A+z),T=E.substring(0,D-q),C=E.substring(D+z),$=y.substring(0,A-q),x=y.substring(A+z))}return I.length*2>=E.length?[T,C,$,x,I]:null}var c=o(r,a,Math.ceil(r.length/4)),u=o(r,a,Math.ceil(r.length/2)),g;if(!c&&!u)return null;u?c?g=c[4].length>u[4].length?c:u:g=u:g=c;var d,p,_,b;t.length>i.length?(d=g[0],p=g[1],_=g[2],b=g[3]):(_=g[0],b=g[1],d=g[2],p=g[3]);var m=g[4];return[d,p,_,b,m]},n.prototype.diff_cleanupSemantic=function(t){for(var i=!1,r=[],a=0,l=null,o=0,c=0,u=0,g=0,d=0;o<t.length;)t[o][0]==h?(r[a++]=o,c=g,u=d,g=0,d=0,l=t[o][1]):(t[o][0]==f?g+=t[o][1].length:d+=t[o][1].length,l&&l.length<=Math.max(c,u)&&l.length<=Math.max(g,d)&&(t.splice(r[a-1],0,new n.Diff(s,l)),t[r[a-1]+1][0]=f,a--,a--,o=a>0?r[a-1]:-1,c=0,u=0,g=0,d=0,l=null,i=!0)),o++;for(i&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),o=1;o<t.length;){if(t[o-1][0]==s&&t[o][0]==f){var p=t[o-1][1],_=t[o][1],b=this.diff_commonOverlap_(p,_),m=this.diff_commonOverlap_(_,p);b>=m?(b>=p.length/2||b>=_.length/2)&&(t.splice(o,0,new n.Diff(h,_.substring(0,b))),t[o-1][1]=p.substring(0,p.length-b),t[o+1][1]=_.substring(b),o++):(m>=p.length/2||m>=_.length/2)&&(t.splice(o,0,new n.Diff(h,p.substring(0,m))),t[o-1][0]=f,t[o-1][1]=_.substring(0,_.length-m),t[o+1][0]=s,t[o+1][1]=p.substring(m),o++),o++}o++}},n.prototype.diff_cleanupSemanticLossless=function(t){function i(m,E){if(!m||!E)return 6;var y=m.charAt(m.length-1),D=E.charAt(0),S=y.match(n.nonAlphaNumericRegex_),A=D.match(n.nonAlphaNumericRegex_),I=S&&y.match(n.whitespaceRegex_),T=A&&D.match(n.whitespaceRegex_),C=I&&y.match(n.linebreakRegex_),$=T&&D.match(n.linebreakRegex_),x=C&&m.match(n.blanklineEndRegex_),z=$&&E.match(n.blanklineStartRegex_);return x||z?5:C||$?4:S&&!I&&T?3:I||T?2:S||A?1:0}for(var r=1;r<t.length-1;){if(t[r-1][0]==h&&t[r+1][0]==h){var a=t[r-1][1],l=t[r][1],o=t[r+1][1],c=this.diff_commonSuffix(a,l);if(c){var u=l.substring(l.length-c);a=a.substring(0,a.length-c),l=u+l.substring(0,l.length-c),o=u+o}for(var g=a,d=l,p=o,_=i(a,l)+i(l,o);l.charAt(0)===o.charAt(0);){a+=l.charAt(0),l=l.substring(1)+o.charAt(0),o=o.substring(1);var b=i(a,l)+i(l,o);b>=_&&(_=b,g=a,d=l,p=o)}t[r-1][1]!=g&&(g?t[r-1][1]=g:(t.splice(r-1,1),r--),t[r][1]=d,p?t[r+1][1]=p:(t.splice(r+1,1),r--))}r++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(t){for(var i=!1,r=[],a=0,l=null,o=0,c=!1,u=!1,g=!1,d=!1;o<t.length;)t[o][0]==h?(t[o][1].length<this.Diff_EditCost&&(g||d)?(r[a++]=o,c=g,u=d,l=t[o][1]):(a=0,l=null),g=d=!1):(t[o][0]==s?d=!0:g=!0,l&&(c&&u&&g&&d||l.length<this.Diff_EditCost/2&&c+u+g+d==3)&&(t.splice(r[a-1],0,new n.Diff(s,l)),t[r[a-1]+1][0]=f,a--,l=null,c&&u?(g=d=!0,a=0):(a--,o=a>0?r[a-1]:-1,g=d=!1),i=!0)),o++;i&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push(new n.Diff(h,""));for(var i=0,r=0,a=0,l="",o="",c;i<t.length;)switch(t[i][0]){case f:a++,o+=t[i][1],i++;break;case s:r++,l+=t[i][1],i++;break;case h:r+a>1?(r!==0&&a!==0&&(c=this.diff_commonPrefix(o,l),c!==0&&(i-r-a>0&&t[i-r-a-1][0]==h?t[i-r-a-1][1]+=o.substring(0,c):(t.splice(0,0,new n.Diff(h,o.substring(0,c))),i++),o=o.substring(c),l=l.substring(c)),c=this.diff_commonSuffix(o,l),c!==0&&(t[i][1]=o.substring(o.length-c)+t[i][1],o=o.substring(0,o.length-c),l=l.substring(0,l.length-c))),i-=r+a,t.splice(i,r+a),l.length&&(t.splice(i,0,new n.Diff(s,l)),i++),o.length&&(t.splice(i,0,new n.Diff(f,o)),i++),i++):i!==0&&t[i-1][0]==h?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,a=0,r=0,l="",o="";break}t[t.length-1][1]===""&&t.pop();var u=!1;for(i=1;i<t.length-1;)t[i-1][0]==h&&t[i+1][0]==h&&(t[i][1].substring(t[i][1].length-t[i-1][1].length)==t[i-1][1]?(t[i][1]=t[i-1][1]+t[i][1].substring(0,t[i][1].length-t[i-1][1].length),t[i+1][1]=t[i-1][1]+t[i+1][1],t.splice(i-1,1),u=!0):t[i][1].substring(0,t[i+1][1].length)==t[i+1][1]&&(t[i-1][1]+=t[i+1][1],t[i][1]=t[i][1].substring(t[i+1][1].length)+t[i+1][1],t.splice(i+1,1),u=!0)),i++;u&&this.diff_cleanupMerge(t)},n.prototype.diff_xIndex=function(t,i){var r=0,a=0,l=0,o=0,c;for(c=0;c<t.length&&(t[c][0]!==f&&(r+=t[c][1].length),t[c][0]!==s&&(a+=t[c][1].length),!(r>i));c++)l=r,o=a;return t.length!=c&&t[c][0]===s?o:o+(i-l)},n.prototype.diff_prettyHtml=function(t){for(var i=[],r=/&/g,a=/</g,l=/>/g,o=/\n/g,c=0;c<t.length;c++){var u=t[c][0],g=t[c][1],d=g.replace(r,"&").replace(a,"<").replace(l,">").replace(o,"¶<br>");switch(u){case f:i[c]='<ins style="background:#e6ffe6;">'+d+"</ins>";break;case s:i[c]='<del style="background:#ffe6e6;">'+d+"</del>";break;case h:i[c]="<span>"+d+"</span>";break}}return i.join("")},n.prototype.diff_text1=function(t){for(var i=[],r=0;r<t.length;r++)t[r][0]!==f&&(i[r]=t[r][1]);return i.join("")},n.prototype.diff_text2=function(t){for(var i=[],r=0;r<t.length;r++)t[r][0]!==s&&(i[r]=t[r][1]);return i.join("")},n.prototype.diff_levenshtein=function(t){for(var i=0,r=0,a=0,l=0;l<t.length;l++){var o=t[l][0],c=t[l][1];switch(o){case f:r+=c.length;break;case s:a+=c.length;break;case h:i+=Math.max(r,a),r=0,a=0;break}}return i+=Math.max(r,a),i},n.prototype.diff_toDelta=function(t){for(var i=[],r=0;r<t.length;r++)switch(t[r][0]){case f:i[r]="+"+encodeURI(t[r][1]);break;case s:i[r]="-"+t[r][1].length;break;case h:i[r]="="+t[r][1].length;break}return i.join(" ").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(t,i){for(var r=[],a=0,l=0,o=i.split(/\t/g),c=0;c<o.length;c++){var u=o[c].substring(1);switch(o[c].charAt(0)){case"+":try{r[a++]=new n.Diff(f,decodeURI(u))}catch(p){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var g=parseInt(u,10);if(isNaN(g)||g<0)throw new Error("Invalid number in diff_fromDelta: "+u);var d=t.substring(l,l+=g);o[c].charAt(0)=="="?r[a++]=new n.Diff(h,d):r[a++]=new n.Diff(s,d);break;default:if(o[c])throw new Error("Invalid diff operation in diff_fromDelta: "+o[c])}}if(l!=t.length)throw new Error("Delta length ("+l+") does not equal source text length ("+t.length+").");return r},n.prototype.match_main=function(t,i,r){if(t==null||i==null||r==null)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,t.length)),t==i?0:t.length?t.substring(r,r+i.length)==i?r:this.match_bitap_(t,i,r):-1},n.prototype.match_bitap_=function(t,i,r){if(i.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var a=this.match_alphabet_(i),l=this;function o(T,C){var $=T/i.length,x=Math.abs(r-C);return l.Match_Distance?$+x/l.Match_Distance:x?1:$}var c=this.Match_Threshold,u=t.indexOf(i,r);u!=-1&&(c=Math.min(o(0,u),c),u=t.lastIndexOf(i,r+i.length),u!=-1&&(c=Math.min(o(0,u),c)));var g=1<<i.length-1;u=-1;for(var d,p,_=i.length+t.length,b,m=0;m<i.length;m++){for(d=0,p=_;d<p;)o(m,r+p)<=c?d=p:_=p,p=Math.floor((_-d)/2+d);_=p;var E=Math.max(1,r-p+1),y=Math.min(r+p,t.length)+i.length,D=Array(y+2);D[y+1]=(1<<m)-1;for(var S=y;S>=E;S--){var A=a[t.charAt(S-1)];if(m===0?D[S]=(D[S+1]<<1|1)&A:D[S]=(D[S+1]<<1|1)&A|((b[S+1]|b[S])<<1|1)|b[S+1],D[S]&g){var I=o(m,S-1);if(I<=c)if(c=I,u=S-1,u>r)E=Math.max(1,2*r-u);else break}}if(o(m+1,r)>c)break;b=D}return u},n.prototype.match_alphabet_=function(t){for(var i={},r=0;r<t.length;r++)i[t.charAt(r)]=0;for(var r=0;r<t.length;r++)i[t.charAt(r)]|=1<<t.length-r-1;return i},n.prototype.patch_addContext_=function(t,i){if(i.length!=0){if(t.start2===null)throw Error("patch not initialized");for(var r=i.substring(t.start2,t.start2+t.length1),a=0;i.indexOf(r)!=i.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)a+=this.Patch_Margin,r=i.substring(t.start2-a,t.start2+t.length1+a);a+=this.Patch_Margin;var l=i.substring(t.start2-a,t.start2);l&&t.diffs.unshift(new n.Diff(h,l));var o=i.substring(t.start2+t.length1,t.start2+t.length1+a);o&&t.diffs.push(new n.Diff(h,o)),t.start1-=l.length,t.start2-=l.length,t.length1+=l.length+o.length,t.length2+=l.length+o.length}},n.prototype.patch_make=function(t,i,r){var a,l;if(typeof t=="string"&&typeof i=="string"&&typeof r=="undefined")a=t,l=this.diff_main(a,i,!0),l.length>2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(t&&typeof t=="object"&&typeof i=="undefined"&&typeof r=="undefined")l=t,a=this.diff_text1(l);else if(typeof t=="string"&&i&&typeof i=="object"&&typeof r=="undefined")a=t,l=i;else if(typeof t=="string"&&typeof i=="string"&&r&&typeof r=="object")a=t,l=r;else throw new Error("Unknown call format to patch_make.");if(l.length===0)return[];for(var o=[],c=new n.patch_obj,u=0,g=0,d=0,p=a,_=a,b=0;b<l.length;b++){var m=l[b][0],E=l[b][1];switch(!u&&m!==h&&(c.start1=g,c.start2=d),m){case f:c.diffs[u++]=l[b],c.length2+=E.length,_=_.substring(0,d)+E+_.substring(d);break;case s:c.length1+=E.length,c.diffs[u++]=l[b],_=_.substring(0,d)+_.substring(d+E.length);break;case h:E.length<=2*this.Patch_Margin&&u&&l.length!=b+1?(c.diffs[u++]=l[b],c.length1+=E.length,c.length2+=E.length):E.length>=2*this.Patch_Margin&&u&&(this.patch_addContext_(c,p),o.push(c),c=new n.patch_obj,u=0,p=_,g=d);break}m!==f&&(g+=E.length),m!==s&&(d+=E.length)}return u&&(this.patch_addContext_(c,p),o.push(c)),o},n.prototype.patch_deepCopy=function(t){for(var i=[],r=0;r<t.length;r++){var a=t[r],l=new n.patch_obj;l.diffs=[];for(var o=0;o<a.diffs.length;o++)l.diffs[o]=new n.Diff(a.diffs[o][0],a.diffs[o][1]);l.start1=a.start1,l.start2=a.start2,l.length1=a.length1,l.length2=a.length2,i[r]=l}return i},n.prototype.patch_apply=function(t,i){if(t.length==0)return[i,[]];t=this.patch_deepCopy(t);var r=this.patch_addPadding(t);i=r+i+r,this.patch_splitMax(t);for(var a=0,l=[],o=0;o<t.length;o++){var c=t[o].start2+a,u=this.diff_text1(t[o].diffs),g,d=-1;if(u.length>this.Match_MaxBits?(g=this.match_main(i,u.substring(0,this.Match_MaxBits),c),g!=-1&&(d=this.match_main(i,u.substring(u.length-this.Match_MaxBits),c+u.length-this.Match_MaxBits),(d==-1||g>=d)&&(g=-1))):g=this.match_main(i,u,c),g==-1)l[o]=!1,a-=t[o].length2-t[o].length1;else{l[o]=!0,a=g-c;var p;if(d==-1?p=i.substring(g,g+u.length):p=i.substring(g,d+this.Match_MaxBits),u==p)i=i.substring(0,g)+this.diff_text2(t[o].diffs)+i.substring(g+u.length);else{var _=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(_)/u.length>this.Patch_DeleteThreshold)l[o]=!1;else{this.diff_cleanupSemanticLossless(_);for(var b=0,m,E=0;E<t[o].diffs.length;E++){var y=t[o].diffs[E];y[0]!==h&&(m=this.diff_xIndex(_,b)),y[0]===f?i=i.substring(0,g+m)+y[1]+i.substring(g+m):y[0]===s&&(i=i.substring(0,g+m)+i.substring(g+this.diff_xIndex(_,b+y[1].length))),y[0]!==s&&(b+=y[1].length)}}}}}return i=i.substring(r.length,i.length-r.length),[i,l]},n.prototype.patch_addPadding=function(t){for(var i=this.Patch_Margin,r="",a=1;a<=i;a++)r+=String.fromCharCode(a);for(var a=0;a<t.length;a++)t[a].start1+=i,t[a].start2+=i;var l=t[0],o=l.diffs;if(o.length==0||o[0][0]!=h)o.unshift(new n.Diff(h,r)),l.start1-=i,l.start2-=i,l.length1+=i,l.length2+=i;else if(i>o[0][1].length){var c=i-o[0][1].length;o[0][1]=r.substring(o[0][1].length)+o[0][1],l.start1-=c,l.start2-=c,l.length1+=c,l.length2+=c}if(l=t[t.length-1],o=l.diffs,o.length==0||o[o.length-1][0]!=h)o.push(new n.Diff(h,r)),l.length1+=i,l.length2+=i;else if(i>o[o.length-1][1].length){var c=i-o[o.length-1][1].length;o[o.length-1][1]+=r.substring(0,c),l.length1+=c,l.length2+=c}return r},n.prototype.patch_splitMax=function(t){for(var i=this.Match_MaxBits,r=0;r<t.length;r++)if(!(t[r].length1<=i)){var a=t[r];t.splice(r--,1);for(var l=a.start1,o=a.start2,c="";a.diffs.length!==0;){var u=new n.patch_obj,g=!0;for(u.start1=l-c.length,u.start2=o-c.length,c!==""&&(u.length1=u.length2=c.length,u.diffs.push(new n.Diff(h,c)));a.diffs.length!==0&&u.length1<i-this.Patch_Margin;){var d=a.diffs[0][0],p=a.diffs[0][1];d===f?(u.length2+=p.length,o+=p.length,u.diffs.push(a.diffs.shift()),g=!1):d===s&&u.diffs.length==1&&u.diffs[0][0]==h&&p.length>2*i?(u.length1+=p.length,l+=p.length,g=!1,u.diffs.push(new n.Diff(d,p)),a.diffs.shift()):(p=p.substring(0,i-u.length1-this.Patch_Margin),u.length1+=p.length,l+=p.length,d===h?(u.length2+=p.length,o+=p.length):g=!1,u.diffs.push(new n.Diff(d,p)),p==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(p.length))}c=this.diff_text2(u.diffs),c=c.substring(c.length-this.Patch_Margin);var _=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);_!==""&&(u.length1+=_.length,u.length2+=_.length,u.diffs.length!==0&&u.diffs[u.diffs.length-1][0]===h?u.diffs[u.diffs.length-1][1]+=_:u.diffs.push(new n.Diff(h,_))),g||t.splice(++r,0,u)}}},n.prototype.patch_toText=function(t){for(var i=[],r=0;r<t.length;r++)i[r]=t[r];return i.join("")},n.prototype.patch_fromText=function(t){var i=[];if(!t)return i;for(var r=t.split(`
|
|
5
|
-
`),
|
|
6
|
-
`],
|
|
7
|
-
`}return r.join("").replace(/%20/g," ")},e.exports=n,e.exports.diff_match_patch=n,e.exports.DIFF_DELETE=s,e.exports.DIFF_INSERT=f,e.exports.DIFF_EQUAL=h})(Xe);var $e=Xe.exports;function Je(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(n=>{const s=e[n],f=typeof s;(f==="object"||f==="function")&&!Object.isFrozen(s)&&Je(s)}),e}class Ve{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function en(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function re(e,...n){const s=Object.create(null);for(const f in e)s[f]=e[f];return n.forEach(function(f){for(const h in f)s[h]=f[h]}),s}const et="</span>",nn=e=>!!e.scope,nt=(e,{prefix:n})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const s=e.split(".");return[`${n}${s.shift()}`,...s.map((f,h)=>`${f}${"_".repeat(h+1)}`)].join(" ")}return`${n}${e}`};class tt{constructor(n,s){this.buffer="",this.classPrefix=s.classPrefix,n.walk(this)}addText(n){this.buffer+=en(n)}openNode(n){if(!nn(n))return;const s=nt(n.scope,{prefix:this.classPrefix});this.span(s)}closeNode(n){nn(n)&&(this.buffer+=et)}value(){return this.buffer}span(n){this.buffer+=`<span class="${n}">`}}const tn=(e={})=>{const n={children:[]};return Object.assign(n,e),n};class Be{constructor(){this.rootNode=tn(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){const s=tn({scope:n});this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,s){return typeof s=="string"?n.addText(s):s.children&&(n.openNode(s),s.children.forEach(f=>this._walk(n,f)),n.closeNode(s)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(s=>typeof s=="string")?n.children=[n.children.join("")]:n.children.forEach(s=>{Be._collapse(s)}))}}class it extends Be{constructor(n){super(),this.options=n}addText(n){n!==""&&this.add(n)}startScope(n){this.openNode(n)}endScope(){this.closeNode()}__addSublanguage(n,s){const f=n.root;s&&(f.scope=`language:${s}`),this.add(f)}toHTML(){return new tt(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function _e(e){return e?typeof e=="string"?e:e.source:null}function rn(e){return le("(?=",e,")")}function rt(e){return le("(?:",e,")*")}function st(e){return le("(?:",e,")?")}function le(...e){return e.map(s=>_e(s)).join("")}function at(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function xe(...e){return"("+(at(e).capture?"":"?:")+e.map(f=>_e(f)).join("|")+")"}function sn(e){return new RegExp(e.toString()+"|").exec("").length-1}function ot(e,n){const s=e&&e.exec(n);return s&&s.index===0}const lt=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Ue(e,{joinWith:n}){let s=0;return e.map(f=>{s+=1;const h=s;let t=_e(f),i="";for(;t.length>0;){const r=lt.exec(t);if(!r){i+=t;break}i+=t.substring(0,r.index),t=t.substring(r.index+r[0].length),r[0][0]==="\\"&&r[1]?i+="\\"+String(Number(r[1])+h):(i+=r[0],r[0]==="("&&s++)}return i}).map(f=>`(${f})`).join(n)}const ct=/\b\B/,an="[a-zA-Z]\\w*",Pe="[a-zA-Z_]\\w*",on="\\b\\d+(\\.\\d+)?",ln="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",cn="\\b(0b[01]+)",ut="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ft=(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=le(n,/.*\b/,e.binary,/\b.*/)),re({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(s,f)=>{s.index!==0&&f.ignoreMatch()}},e)},be={begin:"\\\\[\\s\\S]",relevance:0},gt={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[be]},ht={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[be]},dt={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/},Ne=function(e,n,s={}){const f=re({scope:"comment",begin:e,end:n,contains:[]},s);f.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const h=xe("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return f.contains.push({begin:le(/[ ]+/,"(",h,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),f},pt=Ne("//","$"),_t=Ne("/\\*","\\*/"),bt=Ne("#","$"),vt={scope:"number",begin:on,relevance:0},mt={scope:"number",begin:ln,relevance:0},Et={scope:"number",begin:cn,relevance:0},yt={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[be,{begin:/\[/,end:/\]/,relevance:0,contains:[be]}]},wt={scope:"title",begin:an,relevance:0},Nt={scope:"title",begin:Pe,relevance:0},Mt={begin:"\\.\\s*"+Pe,relevance:0};var Me=Object.freeze({__proto__:null,APOS_STRING_MODE:gt,BACKSLASH_ESCAPE:be,BINARY_NUMBER_MODE:Et,BINARY_NUMBER_RE:cn,COMMENT:Ne,C_BLOCK_COMMENT_MODE:_t,C_LINE_COMMENT_MODE:pt,C_NUMBER_MODE:mt,C_NUMBER_RE:ln,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(n,s)=>{s.data._beginMatch=n[1]},"on:end":(n,s)=>{s.data._beginMatch!==n[1]&&s.ignoreMatch()}})},HASH_COMMENT_MODE:bt,IDENT_RE:an,MATCH_NOTHING_RE:ct,METHOD_GUARD:Mt,NUMBER_MODE:vt,NUMBER_RE:on,PHRASAL_WORDS_MODE:dt,QUOTE_STRING_MODE:ht,REGEXP_MODE:yt,RE_STARTERS_RE:ut,SHEBANG:ft,TITLE_MODE:wt,UNDERSCORE_IDENT_RE:Pe,UNDERSCORE_TITLE_MODE:Nt});function Tt(e,n){e.input[e.index-1]==="."&&n.ignoreMatch()}function St(e,n){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Dt(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Tt,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function At(e,n){Array.isArray(e.illegal)&&(e.illegal=xe(...e.illegal))}function Lt(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ct(e,n){e.relevance===void 0&&(e.relevance=1)}const Rt=(e,n)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const s=Object.assign({},e);Object.keys(e).forEach(f=>{delete e[f]}),e.keywords=s.keywords,e.begin=le(s.beforeMatch,rn(s.begin)),e.starts={relevance:0,contains:[Object.assign(s,{endsParent:!0})]},e.relevance=0,delete s.beforeMatch},Ot=["of","and","for","in","not","or","if","then","parent","list","value"],kt="keyword";function un(e,n,s=kt){const f=Object.create(null);return typeof e=="string"?h(s,e.split(" ")):Array.isArray(e)?h(s,e):Object.keys(e).forEach(function(t){Object.assign(f,un(e[t],n,t))}),f;function h(t,i){n&&(i=i.map(r=>r.toLowerCase())),i.forEach(function(r){const a=r.split("|");f[a[0]]=[t,It(a[0],a[1])]})}}function It(e,n){return n?Number(n):$t(e)?0:1}function $t(e){return Ot.includes(e.toLowerCase())}const fn={},ce=e=>{console.error(e)},gn=(e,...n)=>{console.log(`WARN: ${e}`,...n)},fe=(e,n)=>{fn[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),fn[`${e}/${n}`]=!0)},Te=new Error;function hn(e,n,{key:s}){let f=0;const h=e[s],t={},i={};for(let r=1;r<=n.length;r++)i[r+f]=h[r],t[r+f]=!0,f+=sn(n[r-1]);e[s]=i,e[s]._emit=t,e[s]._multi=!0}function Bt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw ce("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Te;if(typeof e.beginScope!="object"||e.beginScope===null)throw ce("beginScope must be object"),Te;hn(e,e.begin,{key:"beginScope"}),e.begin=Ue(e.begin,{joinWith:""})}}function xt(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw ce("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Te;if(typeof e.endScope!="object"||e.endScope===null)throw ce("endScope must be object"),Te;hn(e,e.end,{key:"endScope"}),e.end=Ue(e.end,{joinWith:""})}}function Ut(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Pt(e){Ut(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Bt(e),xt(e)}function Ft(e){function n(i,r){return new RegExp(_e(i),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,r]),this.matchAt+=sn(r)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const r=this.regexes.map(a=>a[1]);this.matcherRe=n(Ue(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(r);if(!a)return null;const l=a.findIndex((c,u)=>u>0&&c!==void 0),o=this.matchIndexes[l];return a.splice(0,l),Object.assign(a,o)}}class f{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const a=new s;return this.rules.slice(r).forEach(([l,o])=>a.addRule(l,o)),a.compile(),this.multiRegexes[r]=a,a}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(r,a){this.rules.push([r,a]),a.type==="begin"&&this.count++}exec(r){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let l=a.exec(r);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const o=this.getMatcher(0);o.lastIndex=this.lastIndex+1,l=o.exec(r)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function h(i){const r=new f;return i.contains.forEach(a=>r.addRule(a.begin,{rule:a,type:"begin"})),i.terminatorEnd&&r.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&r.addRule(i.illegal,{type:"illegal"}),r}function t(i,r){const a=i;if(i.isCompiled)return a;[St,Lt,Pt,Rt].forEach(o=>o(i,r)),e.compilerExtensions.forEach(o=>o(i,r)),i.__beforeBegin=null,[Dt,At,Ct].forEach(o=>o(i,r)),i.isCompiled=!0;let l=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),l=i.keywords.$pattern,delete i.keywords.$pattern),l=l||/\w+/,i.keywords&&(i.keywords=un(i.keywords,e.case_insensitive)),a.keywordPatternRe=n(l,!0),r&&(i.begin||(i.begin=/\B|\b/),a.beginRe=n(a.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(a.endRe=n(a.end)),a.terminatorEnd=_e(a.end)||"",i.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(i.end?"|":"")+r.terminatorEnd)),i.illegal&&(a.illegalRe=n(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(o){return Ht(o==="self"?i:o)})),i.contains.forEach(function(o){t(o,a)}),i.starts&&t(i.starts,r),a.matcher=h(a),a}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=re(e.classNameAliases||{}),t(e)}function dn(e){return e?e.endsWithParent||dn(e.starts):!1}function Ht(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return re(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:dn(e)?re(e,{starts:e.starts?re(e.starts):null}):Object.isFrozen(e)?re(e):e}var zt="11.10.0";class Gt extends Error{constructor(n,s){super(n),this.name="HTMLInjectionError",this.html=s}}const Fe=en,pn=re,_n=Symbol("nomatch"),Kt=7,bn=function(e){const n=Object.create(null),s=Object.create(null),f=[];let h=!0;const t="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:it};function a(v){return r.noHighlightRe.test(v)}function l(v){let N=v.className+" ";N+=v.parentNode?v.parentNode.className:"";const R=r.languageDetectRe.exec(N);if(R){const B=T(R[1]);return B||(gn(t.replace("{}",R[1])),gn("Falling back to no-highlight mode for this block.",v)),B?R[1]:"no-highlight"}return N.split(/\s+/).find(B=>a(B)||T(B))}function o(v,N,R){let B="",H="";typeof N=="object"?(B=v,R=N.ignoreIllegals,H=N.language):(fe("10.7.0","highlight(lang, code, ...args) has been deprecated."),fe("10.7.0",`Please use highlight(code, options) instead.
|
|
8
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),H=v,B=N),R===void 0&&(R=!0);const W={code:B,language:H};oe("before:highlight",W);const Y=W.result?W.result:c(W.language,W.code,R);return Y.code=W.code,oe("after:highlight",Y),Y}function c(v,N,R,B){const H=Object.create(null);function W(w,L){return w.keywords[L]}function Y(){if(!O.keywords){G.addText(F);return}let w=0;O.keywordPatternRe.lastIndex=0;let L=O.keywordPatternRe.exec(F),k="";for(;L;){k+=F.substring(w,L.index);const U=ee.case_insensitive?L[0].toLowerCase():L[0],K=W(O,U);if(K){const[ie,tr]=K;if(G.addText(k),k="",H[U]=(H[U]||0)+1,H[U]<=Kt&&(Ce+=tr),ie.startsWith("_"))k+=L[0];else{const ir=ee.classNameAliases[ie]||ie;V(L[0],ir)}}else k+=L[0];w=O.keywordPatternRe.lastIndex,L=O.keywordPatternRe.exec(F)}k+=F.substring(w),G.addText(k)}function Ae(){if(F==="")return;let w=null;if(typeof O.subLanguage=="string"){if(!n[O.subLanguage]){G.addText(F);return}w=c(O.subLanguage,F,!0,zn[O.subLanguage]),zn[O.subLanguage]=w._top}else w=g(F,O.subLanguage.length?O.subLanguage:null);O.relevance>0&&(Ce+=w.relevance),G.__addSublanguage(w._emitter,w.language)}function Q(){O.subLanguage!=null?Ae():Y(),F=""}function V(w,L){w!==""&&(G.startScope(L),G.addText(w),G.endScope())}function Un(w,L){let k=1;const U=L.length-1;for(;k<=U;){if(!w._emit[k]){k++;continue}const K=ee.classNameAliases[w[k]]||w[k],ie=L[k];K?V(ie,K):(F=ie,Y(),F=""),k++}}function Pn(w,L){return w.scope&&typeof w.scope=="string"&&G.openNode(ee.classNameAliases[w.scope]||w.scope),w.beginScope&&(w.beginScope._wrap?(V(F,ee.classNameAliases[w.beginScope._wrap]||w.beginScope._wrap),F=""):w.beginScope._multi&&(Un(w.beginScope,L),F="")),O=Object.create(w,{parent:{value:O}}),O}function Fn(w,L,k){let U=ot(w.endRe,k);if(U){if(w["on:end"]){const K=new Ve(w);w["on:end"](L,K),K.isMatchIgnored&&(U=!1)}if(U){for(;w.endsParent&&w.parent;)w=w.parent;return w}}if(w.endsWithParent)return Fn(w.parent,L,k)}function Xi(w){return O.matcher.regexIndex===0?(F+=w[0],1):(je=!0,0)}function Ji(w){const L=w[0],k=w.rule,U=new Ve(k),K=[k.__beforeBegin,k["on:begin"]];for(const ie of K)if(ie&&(ie(w,U),U.isMatchIgnored))return Xi(L);return k.skip?F+=L:(k.excludeBegin&&(F+=L),Q(),!k.returnBegin&&!k.excludeBegin&&(F=L)),Pn(k,w),k.returnBegin?0:L.length}function Vi(w){const L=w[0],k=N.substring(w.index),U=Fn(O,w,k);if(!U)return _n;const K=O;O.endScope&&O.endScope._wrap?(Q(),V(L,O.endScope._wrap)):O.endScope&&O.endScope._multi?(Q(),Un(O.endScope,w)):K.skip?F+=L:(K.returnEnd||K.excludeEnd||(F+=L),Q(),K.excludeEnd&&(F=L));do O.scope&&G.closeNode(),!O.skip&&!O.subLanguage&&(Ce+=O.relevance),O=O.parent;while(O!==U.parent);return U.starts&&Pn(U.starts,w),K.returnEnd?0:L.length}function er(){const w=[];for(let L=O;L!==ee;L=L.parent)L.scope&&w.unshift(L.scope);w.forEach(L=>G.openNode(L))}let Le={};function Hn(w,L){const k=L&&L[0];if(F+=w,k==null)return Q(),0;if(Le.type==="begin"&&L.type==="end"&&Le.index===L.index&&k===""){if(F+=N.slice(L.index,L.index+1),!h){const U=new Error(`0 width match regex (${v})`);throw U.languageName=v,U.badRule=Le.rule,U}return 1}if(Le=L,L.type==="begin")return Ji(L);if(L.type==="illegal"&&!R){const U=new Error('Illegal lexeme "'+k+'" for mode "'+(O.scope||"<unnamed>")+'"');throw U.mode=O,U}else if(L.type==="end"){const U=Vi(L);if(U!==_n)return U}if(L.type==="illegal"&&k==="")return 1;if(Qe>1e5&&Qe>L.index*3)throw new Error("potential infinite loop, way more iterations than matches");return F+=k,k.length}const ee=T(v);if(!ee)throw ce(t.replace("{}",v)),new Error('Unknown language: "'+v+'"');const nr=Ft(ee);let We="",O=B||nr;const zn={},G=new r.__emitter(r);er();let F="",Ce=0,ue=0,Qe=0,je=!1;try{if(ee.__emitTokens)ee.__emitTokens(N,G);else{for(O.matcher.considerAll();;){Qe++,je?je=!1:O.matcher.considerAll(),O.matcher.lastIndex=ue;const w=O.matcher.exec(N);if(!w)break;const L=N.substring(ue,w.index),k=Hn(L,w);ue=w.index+k}Hn(N.substring(ue))}return G.finalize(),We=G.toHTML(),{language:v,value:We,relevance:Ce,illegal:!1,_emitter:G,_top:O}}catch(w){if(w.message&&w.message.includes("Illegal"))return{language:v,value:Fe(N),illegal:!0,relevance:0,_illegalBy:{message:w.message,index:ue,context:N.slice(ue-100,ue+100),mode:w.mode,resultSoFar:We},_emitter:G};if(h)return{language:v,value:Fe(N),illegal:!1,relevance:0,errorRaised:w,_emitter:G,_top:O};throw w}}function u(v){const N={value:Fe(v),illegal:!1,relevance:0,_top:i,_emitter:new r.__emitter(r)};return N._emitter.addText(v),N}function g(v,N){N=N||r.languages||Object.keys(n);const R=u(v),B=N.filter(T).filter($).map(Q=>c(Q,v,!1));B.unshift(R);const H=B.sort((Q,V)=>{if(Q.relevance!==V.relevance)return V.relevance-Q.relevance;if(Q.language&&V.language){if(T(Q.language).supersetOf===V.language)return 1;if(T(V.language).supersetOf===Q.language)return-1}return 0}),[W,Y]=H,Ae=W;return Ae.secondBest=Y,Ae}function d(v,N,R){const B=N&&s[N]||R;v.classList.add("hljs"),v.classList.add(`language-${B}`)}function p(v){let N=null;const R=l(v);if(a(R))return;if(oe("before:highlightElement",{el:v,language:R}),v.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",v);return}if(v.children.length>0&&(r.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(v)),r.throwUnescapedHTML))throw new Gt("One of your code blocks includes unescaped HTML.",v.innerHTML);N=v;const B=N.textContent,H=R?o(B,{language:R,ignoreIllegals:!0}):g(B);v.innerHTML=H.value,v.dataset.highlighted="yes",d(v,R,H.language),v.result={language:H.language,re:H.relevance,relevance:H.relevance},H.secondBest&&(v.secondBest={language:H.secondBest.language,relevance:H.secondBest.relevance}),oe("after:highlightElement",{el:v,result:H,text:B})}function _(v){r=pn(r,v)}const b=()=>{y(),fe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function m(){y(),fe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let E=!1;function y(){if(document.readyState==="loading"){E=!0;return}document.querySelectorAll(r.cssSelector).forEach(p)}function D(){E&&y()}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",D,!1);function S(v,N){let R=null;try{R=N(e)}catch(B){if(ce("Language definition for '{}' could not be registered.".replace("{}",v)),h)ce(B);else throw B;R=i}R.name||(R.name=v),n[v]=R,R.rawDefinition=N.bind(null,e),R.aliases&&C(R.aliases,{languageName:v})}function A(v){delete n[v];for(const N of Object.keys(s))s[N]===v&&delete s[N]}function I(){return Object.keys(n)}function T(v){return v=(v||"").toLowerCase(),n[v]||n[s[v]]}function C(v,{languageName:N}){typeof v=="string"&&(v=[v]),v.forEach(R=>{s[R.toLowerCase()]=N})}function $(v){const N=T(v);return N&&!N.disableAutodetect}function x(v){v["before:highlightBlock"]&&!v["before:highlightElement"]&&(v["before:highlightElement"]=N=>{v["before:highlightBlock"](Object.assign({block:N.el},N))}),v["after:highlightBlock"]&&!v["after:highlightElement"]&&(v["after:highlightElement"]=N=>{v["after:highlightBlock"](Object.assign({block:N.el},N))})}function z(v){x(v),f.push(v)}function q(v){const N=f.indexOf(v);N!==-1&&f.splice(N,1)}function oe(v,N){const R=v;f.forEach(function(B){B[R]&&B[R](N)})}function de(v){return fe("10.7.0","highlightBlock will be removed entirely in v12.0"),fe("10.7.0","Please use highlightElement now."),p(v)}Object.assign(e,{highlight:o,highlightAuto:g,highlightAll:y,highlightElement:p,highlightBlock:de,configure:_,initHighlighting:b,initHighlightingOnLoad:m,registerLanguage:S,unregisterLanguage:A,listLanguages:I,getLanguage:T,registerAliases:C,autoDetection:$,inherit:pn,addPlugin:z,removePlugin:q}),e.debugMode=function(){h=!1},e.safeMode=function(){h=!0},e.versionString=zt,e.regex={concat:le,lookahead:rn,either:xe,optional:st,anyNumberOfTimes:rt};for(const v in Me)typeof Me[v]=="object"&&Je(Me[v]);return Object.assign(e,Me),e},ge=bn({});ge.newInstance=()=>bn({});var qt=ge;ge.HighlightJS=ge,ge.default=ge;const j=Vn(qt);function Wt(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),f=/[\p{L}0-9._:-]+/u,h={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(t,{begin:/\(/,end:/\)/}),r=e.inherit(e.APOS_STRING_MODE,{className:"string"}),a=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:f,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[h]},{begin:/'/,end:/'/,contains:[h]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[t,a,r,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[t,i,a,r]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},h,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[a]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(s,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:l}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const vn="[A-Za-z$_][0-9A-Za-z$_]*",Qt=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],jt=["true","false","null","undefined","NaN","Infinity"],mn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],En=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],yn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Zt=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Yt=[].concat(yn,mn,En);function Xt(e){const n=e.regex,s=(N,{after:R})=>{const B="</"+N[0].slice(1);return N.input.indexOf(B,R)!==-1},f=vn,h={begin:"<>",end:"</>"},t=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(N,R)=>{const B=N[0].length+N.index,H=N.input[B];if(H==="<"||H===","){R.ignoreMatch();return}H===">"&&(s(N,{after:B})||R.ignoreMatch());let W;const Y=N.input.substring(B);if(W=Y.match(/^\s*=/)){R.ignoreMatch();return}if((W=Y.match(/^\s+extends\s+/))&&W.index===0){R.ignoreMatch();return}}},r={$pattern:vn,keyword:Qt,literal:jt,built_in:Yt,"variable.language":Zt},a="[0-9](_?[0-9])*",l=`\\.(${a})`,o="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${o})((${l})|\\.)?|(${l}))[eE][+-]?(${a})\\b`},{begin:`\\b(${o})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},_={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},m={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},E=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,p,_,{match:/\$\d+/},c];u.contains=E.concat({begin:/\{/,end:/\}/,keywords:r,contains:["self"].concat(E)});const y=[].concat(m,u.contains),D=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:r,contains:["self"].concat(y)}]),S={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:D},A={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,n.concat(f,"(",n.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},I={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...mn,...En]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},C={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},$={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function x(N){return n.concat("(?!",N.join("|"),")")}const z={match:n.concat(/\b/,x([...yn,"super","import"].map(N=>`${N}\\s*\\(`)),f,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},q={begin:n.concat(/\./,n.lookahead(n.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},oe={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},de="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",v={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(de)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:r,exports:{PARAMS_CONTAINS:D,CLASS_REFERENCE:I},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,p,_,m,{match:/\$\d+/},c,I,{className:"attr",begin:f+n.lookahead(":"),relevance:0},v,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[m,e.REGEXP_MODE,{className:"function",begin:de,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:D}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:h.begin,end:h.end},{match:t},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},C,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,e.inherit(e.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},q,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},z,$,A,oe,{match:/\$[(.]/}]}}function Jt(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},f=["true","false","null"],h={scope:"literal",beginKeywords:f.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:f},contains:[n,s,e.QUOTE_STRING_MODE,h,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function Vt(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",f={className:"attr",variants:[{begin:/\w[\w :()\./-]*:(?=[ \t]|$)/},{begin:/"\w[\w :()\./-]*":(?=[ \t]|$)/},{begin:/'\w[\w :()\./-]*':(?=[ \t]|$)/}]},h={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},t={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,h]},i=e.inherit(t,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},u={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},g={begin:/\{/,end:/\}/,contains:[u],illegal:"\\n",relevance:0},d={begin:"\\[",end:"\\]",contains:[u],illegal:"\\n",relevance:0},p=[f,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},c,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},g,d,t],_=[...p];return _.pop(),_.push(i),u.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:p}}function ei(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function ni(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,f=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:f,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:r,illegal:/#/},o={begin:/\{\{/,relevance:0},c={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,o,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,o,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},u="[0-9](_?[0-9])*",g=`(\\b(${u}))?\\.(${u})|\\b(${u})\\.`,d=`\\b|${f.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${u})|(${g}))[eE][+-]?(${u})[jJ]?(?=${d})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${u})[jJ](?=${d})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:r,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:["self",a,p,c,e.HASH_COMMENT_MODE]}]};return l.contains=[c,p,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:r,illegal:/(<\/|\?)|=>/,contains:[a,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},c,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,b,c]}]}}var he="[0-9](_*[0-9])*",Se=`\\.(${he})`,De="[0-9a-fA-F](_*[0-9a-fA-F])*",wn={className:"number",variants:[{begin:`(\\b(${he})((${Se})|\\.)?|(${Se}))[eE][+-]?(${he})[fFdD]?\\b`},{begin:`\\b(${he})((${Se})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Se})[fFdD]?\\b`},{begin:`\\b(${he})[fFdD]\\b`},{begin:`\\b0[xX]((${De})\\.?|(${De})?\\.(${De}))[pP][+-]?(${he})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${De})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Nn(e,n,s){return s===-1?"":e.replace(n,f=>Nn(e,n,s-1))}function ti(e){const n=e.regex,s="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",f=s+Nn("(?:<"+s+"~~~(?:\\s*,\\s*"+s+"~~~)*>)?",/~~~/g,2),a={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},l={className:"meta",begin:"@"+s,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o={className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:a,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,s],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[n.concat(/(?!else)/,s),/\s+/,s,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,s],className:{1:"keyword",3:"title.class"},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+f+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:a,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,relevance:0,contains:[l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,wn,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},wn,l]}}function ii(e){const n=e.regex,s={},f={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},f]});const h={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},t=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},r={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,h]};h.contains.push(r);const a={match:/\\"/},l={className:"string",begin:/'/,end:/'/},o={match:/\\'/},c={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],g=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],_=["true","false"],b={match:/(\/[a-z._-]+)+/},m=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],E=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],y=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],D=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:_,built_in:[...m,...E,"set","shopt",...y,...D]},contains:[g,e.SHEBANG(),d,c,t,i,b,r,a,l,o,s]}}function ri(e){const n=e.regex,s=e.COMMENT("--","$"),f={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},h={begin:/"/,end:/"/,contains:[{begin:/""/}]},t=["true","false","unknown"],i=["double precision","large object","with timezone","without timezone"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],a=["add","asc","collation","desc","final","first","last","view"],l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],o=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],c=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],u=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=o,d=[...l,...a].filter(E=>!o.includes(E)),p={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:n.concat(/\b/,n.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function m(E,{exceptions:y,when:D}={}){const S=D;return y=y||[],E.map(A=>A.match(/\|\d+$/)||y.includes(A)?A:S(A)?`${A}|0`:A)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:m(d,{when:E=>E.length<3}),literal:t,type:r,built_in:c},contains:[{begin:n.either(...u),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:d.concat(u),literal:t,type:r}},{className:"type",begin:n.either(...i)},b,p,f,h,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}j.registerLanguage("xml",Wt),j.registerLanguage("javascript",Xt),j.registerLanguage("json",Jt),j.registerLanguage("yaml",Vt),j.registerLanguage("plaintext",ei),j.registerLanguage("python",ni),j.registerLanguage("java",ti),j.registerLanguage("bash",ii),j.registerLanguage("sql",ri);var M=(e=>(e.EQUAL="equal",e.DELETE="removed",e.ADD="added",e.EMPTY="empty",e))(M||{});const X="<code-diff-modified>",J="</code-diff-modified>",si=1e4,Z=1e3,Mn=X.replace("<","<").replace(">",">"),Tn=J.replace("<","<").replace(">",">");function ai(e){const n={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,s=>n[s])}function se(e){return e===void 0?M.EQUAL:e.added?M.ADD:e.removed?M.DELETE:M.EQUAL}function Sn(e,n,s="word",f=!1){if(typeof e=="undefined"||typeof n=="undefined")return[e,n];if(!f&&e.length+n.length>si)return[e,n];const t=(s==="char"?Wn:jn)(e,n),i=t.filter(a=>se(a)!==M.ADD).map(a=>se(a)===M.DELETE?`${X}${a.value}${J}`:a.value).join(""),r=t.filter(a=>se(a)!==M.DELETE).map(a=>se(a)===M.ADD?`${X}${a.value}${J}`:a.value).join("");return[i,r]}function Dn(e,n){if(e===n)return e?[{count:e.replace(/\n$/,"").split(`
|
|
9
|
-
`).length,value:e}]:[];const s=e.endsWith(`
|
|
10
|
-
`),
|
|
11
|
-
`)
|
|
12
|
-
`),
|
|
13
|
-
`)
|
|
14
|
-
`)&&
|
|
15
|
-
`)
|
|
16
|
-
`)
|
|
17
|
-
`):[],
|
|
18
|
-
`)
|
|
19
|
-
`));h+=s(o.value.trim()
|
|
20
|
-
`)
|
|
21
|
-
`)
|
|
22
|
-
`)
|
|
23
|
-
`);
|
|
24
|
-
`);if(
|
|
25
|
-
`);if(
|
|
26
|
-
`);if(E===M.DELETE)if(y===M.ADD&&(D.length===S.length||h)){const A=Math.max(D.length,S.length),I=Array.from({length:A},(T,C)=>Sn(D[C],S[C],f,h));for(let T=0;T<D.length;T++){const C=D[T];l++,u.push({type:a!=null&&a.test(C)?M.EQUAL:M.DELETE,code:I[T][0],delNum:l})}for(let T=0;T<S.length;T++){const C=S[T];o++,u.push({type:a!=null&&a.test(C)?M.EQUAL:M.ADD,code:I[T][1],addNum:o})}c=!0}else for(const A of D)l++,u.push({type:M.DELETE,code:A,delNum:l});if(E===M.ADD)for(const A of D)o++,u.push({type:M.ADD,code:A,addNum:o})}for(let _=0;_<u.length;_++){const b=u[_];if(b.type===M.DELETE||b.type===M.ADD){const[m,E]=[Math.max(_-t,0),Math.min(_+t+1,u.length)];for(let y=m;y<E;y++)u[y].fold=!1}b.fold===void 0&&(b.fold=!0)}if(e===n){for(let _=0;_<u.length;_++)u[_].fold=!1;return u.slice(0,Z).forEach(_=>ze(_,s)),g}const d=[];let p=[];for(let _=0;_<u.length;_++){const b=u[_];if(b.fold===!1){p.length&&(p[0].hideIndex=g.collector.length,g.collector.push({lines:p,fold:!0}),p=[]),d.push(b);continue}b.type==="equal"&&(b.hide=!0,p.push(b)),d.push(b)}return p.length&&(p[0].hideIndex=g.collector.length,g.collector.push({lines:p,fold:!0}),p=[]),g.changes=d,g.changes.filter(_=>!_.hide).slice(0,Z).forEach(_=>ze(_,s)),g}const Ke={};Ke.props={line:{key:"line",required:!0,type:null}},Ke.setup=(e,n)=>{const s=e,f=n.emit;function h(i){s.line.type!==M.ADD&&s.line.type!==M.DELETE||f("change-click",{side:s.line.type===M.DELETE?"old":"new",type:s.line.type,lineNumber:s.line.type===M.DELETE?s.line.delNum:s.line.addNum,event:i})}function t(i){return i===M.DELETE?"-":i===M.ADD?"+":""}return{DiffType:M,emit:f,onChangeClick:h,getCodeMarker:t}};var ci=function(){var e=this,n=e.$createElement,s=e._self._c||n;return e.line.hideIndex!==void 0&&e.line.hide?s("tr",[s("td",{staticClass:"blob-num blob-num-hunk text-center",attrs:{colspan:"2"},on:{click:function(f){return e.emit("expand",e.line)}}},[e._v(" > ")]),s("td",{staticClass:"blob-code blob-code-hunk",attrs:{align:"left"}},[e._v(" ⋯ ")])]):e.line.hide?e._e():s("tr",{attrs:{"data-diff-change":e.line.type!==e.DiffType.EQUAL?"":void 0},on:{click:e.onChangeClick}},[s("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.delNum)+" ")]),s("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.addNum)+" ")]),s("td",{staticClass:"blob-code",class:{"blob-code-deletion":e.line.type===e.DiffType.DELETE,"blob-code-addition":e.line.type===e.DiffType.ADD,"blob-code-context":e.line.type===e.DiffType.EQUAL,"blob-code-hunk":e.line.hide!==void 0}},[s("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(e.line.type)},domProps:{innerHTML:e._s(e.line.code)}})])])},ui=[];function ae(e,n,s,f,h,t,i,r){var a=typeof e=="function"?e.options:e;n&&(a.render=n,a.staticRenderFns=s,a._compiled=!0),t&&(a._scopeId="data-v-"+t);var l;if(h&&(l=h),l)if(a.functional){a._injectStyles=l;var o=a.render;a.render=function(g,d){return l.call(d),o(g,d)}}else{var c=a.beforeCreate;a.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:a}}const Ln={};var fi=ae(Ke,ci,ui,!1,gi,null);function gi(e){for(let n in Ln)this[n]=Ln[n]}const hi=function(){return fi.exports}(),ve={};ve.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}},ve.setup=(e,n)=>{const s=e,f=n.emit,h=P.ref(Z),t=P.shallowRef(s.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0)),i=P.computed(()=>t.value.slice(0,h.value)),r=P.computed(()=>t.value.length-i.value.length),a=P.computed(()=>Math.min(r.value,Z));P.watch(()=>s.diffChange,u=>{h.value=Z,t.value=u.changes.filter(g=>!g.hide||g.hideIndex!==void 0)});function l(){i.value.forEach(u=>ze(u,s.language))}function o({hideIndex:u}){u!==void 0&&(s.diffChange.collector[u].lines.forEach(g=>{g.hide=!1,g.fold=!1}),t.value=s.diffChange.changes.filter(g=>!g.hide||g.hideIndex!==void 0),l())}function c(){h.value+=Z,l()}return{emit:f,renderedChanges:i,remainingLines:r,nextBatchSize:a,expandHandler:o,loadMore:c}},ve.components=Object.assign({UnifiedLine:hi},ve.components);var di=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("table",{staticClass:"diff-table"},[s("tbody",[e._l(e.renderedChanges,function(f,h){return s("UnifiedLine",{key:h,attrs:{line:f},on:{expand:e.expandHandler,"change-click":function(t){return e.emit("change-click",t)}}})}),e.remainingLines?s("tr",[s("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"3"}},[s("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},pi=[];const Cn={};var _i=ae(ve,di,pi,!1,bi,null);function bi(e){for(let n in Cn)this[n]=Cn[n]}const vi=function(){return _i.exports}(),qe={};qe.props={splitLine:{key:"splitLine",required:!0,type:null}},qe.setup=(e,n)=>{const s=n.emit;function f(i){return i===M.DELETE?"-":i===M.ADD?"+":""}function h(i,r){const a=i.currentTarget.closest(".file-diff-split"),l=a.querySelectorAll(".split-side-left"),o=a.querySelectorAll(".split-side-right");for(const c of o)c.classList.toggle("no-select",r==="left");for(const c of l)c.classList.toggle("no-select",r==="right")}function t(i,r,a){r.type!==M.ADD&&r.type!==M.DELETE||s("change-click",{side:a,type:r.type,lineNumber:r.num,event:i})}return{DiffType:M,emit:s,getCodeMarker:f,onSplitLineMousedown:h,onChangeClick:t}};var mi=function(){var e=this,n=e.$createElement,s=e._self._c||n;return e.splitLine.hideIndex!==void 0&&e.splitLine.hide?s("tr",[s("td",{staticClass:"blob-num blob-num-hunk",attrs:{colspan:"1"},on:{click:function(f){return e.emit("expand",e.splitLine)}}},[e._v(" > ")]),s("td",{staticClass:"blob-code blob-code-inner blob-code-hunk",attrs:{colspan:"3",align:"left"}},[e._v(" ⋯ ")])]):e.splitLine.hide?e._e():s("tr",{attrs:{"data-diff-change":e.splitLine.left.type===e.DiffType.DELETE||e.splitLine.right.type===e.DiffType.ADD?"":void 0}},[e._l([e.splitLine.left,e.splitLine.right],function(f,h){return[f.type===e.DiffType.EMPTY?[s("td",{staticClass:"blob-num blob-num-empty empty-cell"}),s("td",{staticClass:"blob-code blob-code-empty empty-cell"})]:[s("td",{staticClass:"blob-num",class:{"blob-num-deletion":f.type===e.DiffType.DELETE,"blob-num-addition":f.type===e.DiffType.ADD,"blob-num-context":f.type===e.DiffType.EQUAL,"blob-num-hunk":e.splitLine.hide!==void 0}},[e._v(" "+e._s(f.num)+" ")]),s("td",{staticClass:"blob-code",class:{"blob-code-deletion":f.type===e.DiffType.DELETE,"blob-code-addition":f.type===e.DiffType.ADD,"blob-code-context":f.type===e.DiffType.EQUAL,"blob-code-hunk":e.splitLine.hide!==void 0,"split-side-left":h===0,"split-side-right":h===1},on:{mousedown:function(t){return e.onSplitLineMousedown(t,h===0?"left":"right")},click:function(t){return e.onChangeClick(t,f,h===0?"old":"new")}}},[s("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(f.type)},domProps:{innerHTML:e._s(f.code)}})])]]})],2)},Ei=[];const Rn={};var yi=ae(qe,mi,Ei,!1,wi,null);function wi(e){for(let n in Rn)this[n]=Rn[n]}const Ni=function(){return yi.exports}(),me={};me.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}},me.setup=(e,n)=>{const s=e,f=n.emit,h=P.ref(Z),t=P.shallowRef(s.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0)),i=P.computed(()=>t.value.slice(0,h.value)),r=P.computed(()=>t.value.length-i.value.length),a=P.computed(()=>Math.min(r.value,Z));P.watch(()=>s.diffChange,u=>{h.value=Z,t.value=u.changes.filter(g=>!g.hide||g.hideIndex!==void 0)});function l(){i.value.forEach(u=>Ge(u,s.language))}function o({hideIndex:u}){u!==void 0&&(s.diffChange.collector[u].lines.forEach(g=>{g.hide=!1,g.fold=!1}),t.value=s.diffChange.changes.filter(g=>!g.hide||g.hideIndex!==void 0),l())}function c(){h.value+=Z,l()}return{emit:f,renderedChanges:i,remainingLines:r,nextBatchSize:a,expandHandler:o,loadMore:c}},me.components=Object.assign({SplitLine:Ni},me.components);var Mi=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("table",{staticClass:"file-diff-split diff-table"},[e._m(0),s("tbody",[e._l(e.renderedChanges,function(f,h){return s("SplitLine",{key:h,attrs:{"split-line":f},on:{expand:e.expandHandler,"change-click":function(t){return e.emit("change-click",t)}}})}),e.remainingLines?s("tr",[s("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"4"}},[s("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},Ti=[function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("colgroup",[s("col",{attrs:{width:"44"}}),s("col"),s("col",{attrs:{width:"44"}}),s("col")])}];const On={};var Si=ae(me,Mi,Ti,!1,Di,null);function Di(e){for(let n in On)this[n]=On[n]}const Ai=function(){return Si.exports}();var Li=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{d:"M383.6,322.7L278.6,423c-5.8,6-13.7,9-22.4,9c-8.7,0-16.5-3-22.4-9L128.4,322.7c-12.5-11.9-12.5-31.3,0-43.2 c12.5-11.9,32.7-11.9,45.2,0l50.4,48.2v-217c0-16.9,14.3-30.6,32-30.6c17.7,0,32,13.7,32,30.6v217l50.4-48.2 c12.5-11.9,32.7-11.9,45.2,0C396.1,291.4,396.1,310.7,383.6,322.7z"}})])},Ci=[];const Ri={name:"DownArrowIcon"},kn={};var Oi=ae(Ri,Li,Ci,!1,ki,null);function ki(e){for(let n in kn)this[n]=kn[n]}const Ii=function(){return Oi.exports}();var $i=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{d:"M128.4,189.3L233.4,89c5.8-6,13.7-9,22.4-9c8.7,0,16.5,3,22.4,9l105.4,100.3c12.5,11.9,12.5,31.3,0,43.2 c-12.5,11.9-32.7,11.9-45.2,0L288,184.4v217c0,16.9-14.3,30.6-32,30.6c-17.7,0-32-13.7-32-30.6v-217l-50.4,48.2 c-12.5,11.9-32.7,11.9-45.2,0C115.9,220.6,115.9,201.3,128.4,189.3z"}})])},Bi=[];const xi={name:"UpArrowIcon"},In={};var Ui=ae(xi,$i,Bi,!1,Pi,null);function Pi(e){for(let n in In)this[n]=In[n]}const Fi=function(){return Ui.exports}(),Ee={};Ee.props={newString:{key:"newString",required:!0,type:String},oldString:{key:"oldString",required:!0,type:String},language:{key:"language",required:!1,type:String,default:"plaintext"},context:{key:"context",required:!1,type:Number,default:10},diffStyle:{key:"diffStyle",required:!1,type:String,default:"word"},forceInlineComparison:{key:"forceInlineComparison",required:!1,type:Boolean,default:!1},outputFormat:{key:"outputFormat",required:!1,type:String,default:"line-by-line"},trim:{key:"trim",required:!1,type:Boolean,default:!1},noDiffLineFeed:{key:"noDiffLineFeed",required:!1,type:Boolean,default:!1},maxHeight:{key:"maxHeight",required:!1,type:String,default:void 0},filename:{key:"filename",required:!1,type:String,default:void 0},newFilename:{key:"newFilename",required:!1,type:String,default:void 0},hideHeader:{key:"hideHeader",required:!1,type:Boolean,default:!1},hideStat:{key:"hideStat",required:!1,type:Boolean,default:!1},hideNavigation:{key:"hideNavigation",required:!1,type:Boolean,default:!1},theme:{key:"theme",required:!1,type:String,default:"light"},ignoreMatchingLines:{key:"ignoreMatchingLines",required:!1,type:String,default:void 0}},Ee.setup=(e,n)=>{const s=e,f=n.emit,h=P.computed(()=>s.outputFormat==="line-by-line"),t=P.computed(()=>{let p=s.oldString||"";return p=s.trim?p.trim():p,p=s.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
27
|
-
`):p,p}),i=P.computed(()=>{let p=s.newString||"";return p=s.trim?p.trim():p,p=s.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
28
|
-
`):p,p}),
|
|
1
|
+
(function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".code-diff-view[theme=light] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=light] code.hljs{padding:3px 5px}.code-diff-view[theme=light] .hljs{color:#24292e;background:#fff}.code-diff-view[theme=light] .hljs-doctag,.code-diff-view[theme=light] .hljs-keyword,.code-diff-view[theme=light] .hljs-meta .hljs-keyword,.code-diff-view[theme=light] .hljs-template-tag,.code-diff-view[theme=light] .hljs-template-variable,.code-diff-view[theme=light] .hljs-type,.code-diff-view[theme=light] .hljs-variable.language_{color:#d73a49}.code-diff-view[theme=light] .hljs-title,.code-diff-view[theme=light] .hljs-title.class_,.code-diff-view[theme=light] .hljs-title.class_.inherited__,.code-diff-view[theme=light] .hljs-title.function_{color:#6f42c1}.code-diff-view[theme=light] .hljs-attr,.code-diff-view[theme=light] .hljs-attribute,.code-diff-view[theme=light] .hljs-literal,.code-diff-view[theme=light] .hljs-meta,.code-diff-view[theme=light] .hljs-number,.code-diff-view[theme=light] .hljs-operator,.code-diff-view[theme=light] .hljs-variable,.code-diff-view[theme=light] .hljs-selector-attr,.code-diff-view[theme=light] .hljs-selector-class,.code-diff-view[theme=light] .hljs-selector-id{color:#005cc5}.code-diff-view[theme=light] .hljs-regexp,.code-diff-view[theme=light] .hljs-string,.code-diff-view[theme=light] .hljs-meta .hljs-string{color:#032f62}.code-diff-view[theme=light] .hljs-built_in,.code-diff-view[theme=light] .hljs-symbol{color:#e36209}.code-diff-view[theme=light] .hljs-comment,.code-diff-view[theme=light] .hljs-code,.code-diff-view[theme=light] .hljs-formula{color:#6a737d}.code-diff-view[theme=light] .hljs-name,.code-diff-view[theme=light] .hljs-quote,.code-diff-view[theme=light] .hljs-selector-tag,.code-diff-view[theme=light] .hljs-selector-pseudo{color:#22863a}.code-diff-view[theme=light] .hljs-subst{color:#24292e}.code-diff-view[theme=light] .hljs-section{color:#005cc5;font-weight:700}.code-diff-view[theme=light] .hljs-bullet{color:#735c0f}.code-diff-view[theme=light] .hljs-emphasis{color:#24292e;font-style:italic}.code-diff-view[theme=light] .hljs-strong{color:#24292e;font-weight:700}.code-diff-view[theme=light] .hljs-addition{color:#22863a;background-color:#f0fff4}.code-diff-view[theme=light] .hljs-deletion{color:#b31d28;background-color:#ffeef0}.code-diff-view[theme=light]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(255,255,255,0);--color-page-header-bg: #f6f8fa;--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #1F2328;--color-diff-blob-addition-fg: #1F2328;--color-diff-blob-addition-num-bg: #ccffd8;--color-diff-blob-addition-line-bg: #e6ffec;--color-diff-blob-addition-word-bg: #abf2bc;--color-diff-blob-deletion-num-text: #1F2328;--color-diff-blob-deletion-fg: #1F2328;--color-diff-blob-deletion-num-bg: #ffd7d5;--color-diff-blob-deletion-line-bg: #ffebe9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #656d76;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(31,35,40,.15);--color-diffstat-addition-border: rgba(31,35,40,.15);--color-diffstat-addition-bg: #1f883d;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #1F2328;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #656d76;--color-codemirror-cursor: #1F2328;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #1F2328;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #1f883d;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(31,35,40,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(125,78,0,.15);--color-checks-gate-text: #d0d7de;--color-checks-gate-waiting-text: #d4a72c;--color-checks-step-header-open-bg: #32383f;--color-checks-step-error-text: #ff8182;--color-checks-step-warning-text: #d4a72c;--color-checks-logline-text: #8c959f;--color-checks-logline-num-text: rgba(140,149,159,.75);--color-checks-logline-debug-text: #c297ff;--color-checks-logline-error-text: #d0d7de;--color-checks-logline-error-num-text: #ff8182;--color-checks-logline-error-bg: rgba(164,14,38,.15);--color-checks-logline-warning-text: #d0d7de;--color-checks-logline-warning-num-text: #d4a72c;--color-checks-logline-warning-bg: rgba(125,78,0,.15);--color-checks-logline-command-text: #54aeff;--color-checks-logline-section-text: #4ac26b;--color-checks-ansi-black: #24292f;--color-checks-ansi-black-bright: #32383f;--color-checks-ansi-white: #d0d7de;--color-checks-ansi-white-bright: #d0d7de;--color-checks-ansi-gray: #8c959f;--color-checks-ansi-red: #ff8182;--color-checks-ansi-red-bright: #ffaba8;--color-checks-ansi-green: #4ac26b;--color-checks-ansi-green-bright: #6fdd8b;--color-checks-ansi-yellow: #d4a72c;--color-checks-ansi-yellow-bright: #eac54f;--color-checks-ansi-blue: #54aeff;--color-checks-ansi-blue-bright: #80ccff;--color-checks-ansi-magenta: #c297ff;--color-checks-ansi-magenta-bright: #d8b9ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #24292f;--color-project-sidebar-bg: #ffffff;--color-project-gradient-in: #ffffff;--color-project-gradient-out: rgba(255,255,255,0);--color-mktg-btn-bg: #1b1f23;--color-mktg-btn-shadow-outline: rgb(0 0 0 / 15%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(0 0 0 / 15%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 3px 2px rgba(0, 0, 0, .07), 0 7px 5px rgba(0, 0, 0, .04), 0 12px 10px rgba(0, 0, 0, .03), 0 22px 18px rgba(0, 0, 0, .03), 0 42px 33px rgba(0, 0, 0, .02), 0 100px 80px rgba(0, 0, 0, .02);--color-mktg-btn-shadow-hover-muted: rgb(0 0 0 / 70%) 0 0 0 2px inset;--color-control-border-color-emphasis: #858F99;--color-avatar-bg: #ffffff;--color-avatar-border: rgba(31,35,40,.15);--color-avatar-stack-fade: #afb8c1;--color-avatar-stack-fade-more: #d0d7de;--color-avatar-child-shadow: 0 0 0 2px rgba(255,255,255,.8);--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: rgba(0,0,0,0);--color-select-menu-tap-highlight: rgba(175,184,193,.5);--color-select-menu-tap-focus-bg: #b6e3ff;--color-overlay-shadow: 0 1px 3px rgba(31,35,40,.12), 0 8px 24px rgba(66,74,83,.12);--color-overlay-backdrop: rgba(140,149,159,.2);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #24292f;--color-header-divider: #57606a;--color-header-logo: #ffffff;--color-header-search-bg: #24292f;--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);--color-input-disabled-bg: rgba(175,184,193,.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;--color-ansi-black-bright: #57606a;--color-ansi-white: #6e7781;--color-ansi-white-bright: #8c959f;--color-ansi-gray: #6e7781;--color-ansi-red: #cf222e;--color-ansi-red-bright: #a40e26;--color-ansi-green: #116329;--color-ansi-green-bright: #1a7f37;--color-ansi-yellow: #4d2d00;--color-ansi-yellow-bright: #633c01;--color-ansi-blue: #0969da;--color-ansi-blue-bright: #218bff;--color-ansi-magenta: #8250df;--color-ansi-magenta-bright: #a475f9;--color-ansi-cyan: #1b7c83;--color-ansi-cyan-bright: #3192aa;--color-btn-text: #24292f;--color-btn-bg: #f6f8fa;--color-btn-border: rgba(31,35,40,.15);--color-btn-shadow: 0 1px 0 rgba(31,35,40,.04);--color-btn-inset-shadow: inset 0 1px 0 rgba(255,255,255,.25);--color-btn-hover-bg: #f3f4f6;--color-btn-hover-border: rgba(31,35,40,.15);--color-btn-active-bg: hsla(220,14%,93%,1);--color-btn-active-border: rgba(31,35,40,.15);--color-btn-selected-bg: hsla(220,14%,94%,1);--color-btn-counter-bg: rgba(31,35,40,.08);--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #1f883d;--color-btn-primary-border: rgba(31,35,40,.15);--color-btn-primary-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-primary-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-primary-hover-bg: #1a7f37;--color-btn-primary-hover-border: rgba(31,35,40,.15);--color-btn-primary-selected-bg: hsla(137,66%,28%,1);--color-btn-primary-selected-shadow: inset 0 1px 0 rgba(0,45,17,.2);--color-btn-primary-disabled-text: rgba(255,255,255,.8);--color-btn-primary-disabled-bg: #94d3a2;--color-btn-primary-disabled-border: rgba(31,35,40,.15);--color-btn-primary-icon: rgba(255,255,255,.8);--color-btn-primary-counter-bg: rgba(0,45,17,.2);--color-btn-outline-text: #0969da;--color-btn-outline-hover-text: #ffffff;--color-btn-outline-hover-bg: #0969da;--color-btn-outline-hover-border: rgba(31,35,40,.15);--color-btn-outline-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(255,255,255,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: hsla(212,92%,42%,1);--color-btn-outline-selected-border: rgba(31,35,40,.15);--color-btn-outline-selected-shadow: inset 0 1px 0 rgba(0,33,85,.2);--color-btn-outline-disabled-text: rgba(9,105,218,.5);--color-btn-outline-disabled-bg: #f6f8fa;--color-btn-outline-disabled-counter-bg: rgba(9,105,218,.05);--color-btn-outline-counter-bg: #0969da1a;--color-btn-outline-counter-fg: #0550ae;--color-btn-outline-hover-counter-fg: #ffffff;--color-btn-outline-disabled-counter-fg: rgba(9,105,218,.5);--color-btn-danger-text: #cf222e;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #a40e26;--color-btn-danger-hover-border: rgba(31,35,40,.15);--color-btn-danger-hover-shadow: 0 1px 0 rgba(31,35,40,.1);--color-btn-danger-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: hsla(356,72%,44%,1);--color-btn-danger-selected-border: rgba(31,35,40,.15);--color-btn-danger-selected-shadow: inset 0 1px 0 rgba(76,0,20,.2);--color-btn-danger-disabled-text: rgba(207,34,46,.5);--color-btn-danger-disabled-bg: #f6f8fa;--color-btn-danger-disabled-counter-bg: rgba(207,34,46,.05);--color-btn-danger-counter-bg: rgba(207,34,46,.1);--color-btn-danger-icon: #cf222e;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-counter-fg: #a40e26;--color-btn-danger-hover-counter-fg: #ffffff;--color-btn-danger-disabled-counter-fg: rgba(207,34,46,.5);--color-underlinenav-icon: #6e7781;--color-underlinenav-border-hover: rgba(175,184,193,.2);--color-action-list-item-inline-divider: rgba(208,215,222,.48);--color-action-list-item-default-hover-bg: rgba(208,215,222,.32);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(208,215,222,.48);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(208,215,222,.24);--color-action-list-item-danger-hover-bg: rgba(255,235,233,.64);--color-action-list-item-danger-active-bg: #ffebe9;--color-action-list-item-danger-hover-text: #d1242f;--color-switch-track-bg: #eaeef2;--color-switch-track-hover-bg: hsla(210,24%,90%,1);--color-switch-track-active-bg: hsla(210,24%,88%,1);--color-switch-track-disabled-bg: #8c959f;--color-switch-track-fg: #656d76;--color-switch-track-disabled-fg: #ffffff;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: #0969da;--color-switch-track-checked-hover-bg: #0860CA;--color-switch-track-checked-active-bg: #0757BA;--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #ffffff;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #ffffff;--color-switch-knob-disabled-bg: #f6f8fa;--color-switch-knob-border: #858F99;--color-switch-knob-checked-bg: #ffffff;--color-switch-knob-checked-disabled-bg: #f6f8fa;--color-switch-knob-checked-border: #0969da;--color-segmented-control-bg: #eaeef2;--color-segmented-control-button-bg: #ffffff;--color-segmented-control-button-hover-bg: rgba(175,184,193,.2);--color-segmented-control-button-active-bg: rgba(175,184,193,.4);--color-segmented-control-button-selected-border: #8c959f;--color-tree-view-item-chevron-hover-bg: rgba(208,215,222,.32);--color-tree-view-item-directory-fill: #54aeff;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #ffffff;--color-canvas-overlay: #ffffff;--color-canvas-inset: #f6f8fa;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-border-subtle: rgba(31,35,40,.15);--color-shadow-small: 0 1px 0 rgba(31,35,40,.04);--color-shadow-medium: 0 3px 6px rgba(140,149,159,.15);--color-shadow-large: 0 8px 24px rgba(140,149,159,.2);--color-shadow-extra-large: 0 12px 28px rgba(140,149,159,.3);--color-neutral-emphasis-plus: #24292f;--color-neutral-emphasis: #6e7781;--color-neutral-muted: rgba(175,184,193,.2);--color-neutral-subtle: rgba(234,238,242,.5);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-accent-muted: rgba(84,174,255,.4);--color-accent-subtle: #ddf4ff;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-success-muted: rgba(74,194,107,.4);--color-success-subtle: #dafbe1;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-attention-muted: rgba(212,167,44,.4);--color-attention-subtle: #fff8c5;--color-severe-fg: #bc4c00;--color-severe-emphasis: #bc4c00;--color-severe-muted: rgba(251,143,68,.4);--color-severe-subtle: #fff1e5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-danger-muted: rgba(255,129,130,.4);--color-danger-subtle: #ffebe9;--color-open-fg: #1a7f37;--color-open-emphasis: #1f883d;--color-open-muted: rgba(74,194,107,.4);--color-open-subtle: #dafbe1;--color-closed-fg: #d1242f;--color-closed-emphasis: #cf222e;--color-closed-muted: rgba(255,129,130,.4);--color-closed-subtle: #ffebe9;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-done-muted: rgba(194,151,255,.4);--color-done-subtle: #fbefff;--color-sponsors-fg: #bf3989;--color-sponsors-emphasis: #bf3989;--color-sponsors-muted: rgba(255,128,200,.4);--color-sponsors-subtle: #ffeff7;--color-primer-fg-disabled: #8c959f;--color-primer-canvas-backdrop: rgba(31,35,40,.5);--color-primer-canvas-sticky: rgba(255,255,255,.95);--color-primer-border-active: #fd8c73;--color-primer-border-contrast: rgba(31,35,40,.1);--color-primer-shadow-highlight: inset 0 1px 0 rgba(255,255,255,.25);--color-primer-shadow-inset: inset 0 1px 0 rgba(208,215,222,.2);--color-scale-black: #1F2328;--color-scale-white: #ffffff;--color-scale-gray-0: #f6f8fa;--color-scale-gray-1: #eaeef2;--color-scale-gray-2: #d0d7de;--color-scale-gray-3: #afb8c1;--color-scale-gray-4: #8c959f;--color-scale-gray-5: #6e7781;--color-scale-gray-6: #57606a;--color-scale-gray-7: #424a53;--color-scale-gray-8: #32383f;--color-scale-gray-9: #24292f;--color-scale-blue-0: #ddf4ff;--color-scale-blue-1: #b6e3ff;--color-scale-blue-2: #80ccff;--color-scale-blue-3: #54aeff;--color-scale-blue-4: #218bff;--color-scale-blue-5: #0969da;--color-scale-blue-6: #0550ae;--color-scale-blue-7: #033d8b;--color-scale-blue-8: #0a3069;--color-scale-blue-9: #002155;--color-scale-green-0: #dafbe1;--color-scale-green-1: #aceebb;--color-scale-green-2: #6fdd8b;--color-scale-green-3: #4ac26b;--color-scale-green-4: #2da44e;--color-scale-green-5: #1a7f37;--color-scale-green-6: #116329;--color-scale-green-7: #044f1e;--color-scale-green-8: #003d16;--color-scale-green-9: #002d11;--color-scale-yellow-0: #fff8c5;--color-scale-yellow-1: #fae17d;--color-scale-yellow-2: #eac54f;--color-scale-yellow-3: #d4a72c;--color-scale-yellow-4: #bf8700;--color-scale-yellow-5: #9a6700;--color-scale-yellow-6: #7d4e00;--color-scale-yellow-7: #633c01;--color-scale-yellow-8: #4d2d00;--color-scale-yellow-9: #3b2300;--color-scale-orange-0: #fff1e5;--color-scale-orange-1: #ffd8b5;--color-scale-orange-2: #ffb77c;--color-scale-orange-3: #fb8f44;--color-scale-orange-4: #e16f24;--color-scale-orange-5: #bc4c00;--color-scale-orange-6: #953800;--color-scale-orange-7: #762c00;--color-scale-orange-8: #5c2200;--color-scale-orange-9: #471700;--color-scale-red-0: #ffebe9;--color-scale-red-1: #ffcecb;--color-scale-red-2: #ffaba8;--color-scale-red-3: #ff8182;--color-scale-red-4: #fa4549;--color-scale-red-5: #cf222e;--color-scale-red-6: #a40e26;--color-scale-red-7: #82071e;--color-scale-red-8: #660018;--color-scale-red-9: #4c0014;--color-scale-purple-0: #fbefff;--color-scale-purple-1: #ecd8ff;--color-scale-purple-2: #d8b9ff;--color-scale-purple-3: #c297ff;--color-scale-purple-4: #a475f9;--color-scale-purple-5: #8250df;--color-scale-purple-6: #6639ba;--color-scale-purple-7: #512a97;--color-scale-purple-8: #3e1f79;--color-scale-purple-9: #2e1461;--color-scale-pink-0: #ffeff7;--color-scale-pink-1: #ffd3eb;--color-scale-pink-2: #ffadda;--color-scale-pink-3: #ff80c8;--color-scale-pink-4: #e85aad;--color-scale-pink-5: #bf3989;--color-scale-pink-6: #99286e;--color-scale-pink-7: #772057;--color-scale-pink-8: #611347;--color-scale-pink-9: #4d0336;--color-scale-coral-0: #fff0eb;--color-scale-coral-1: #ffd6cc;--color-scale-coral-2: #ffb4a1;--color-scale-coral-3: #fd8c73;--color-scale-coral-4: #ec6547;--color-scale-coral-5: #c4432b;--color-scale-coral-6: #9e2f1c;--color-scale-coral-7: #801f0f;--color-scale-coral-8: #691105;--color-scale-coral-9: #510901}.code-diff-view[theme=dark] pre code.hljs{display:block;overflow-x:auto;padding:1em}.code-diff-view[theme=dark] code.hljs{padding:3px 5px}.code-diff-view[theme=dark] .hljs{color:#c9d1d9;background:#0d1117}.code-diff-view[theme=dark] .hljs-doctag,.code-diff-view[theme=dark] .hljs-keyword,.code-diff-view[theme=dark] .hljs-meta .hljs-keyword,.code-diff-view[theme=dark] .hljs-template-tag,.code-diff-view[theme=dark] .hljs-template-variable,.code-diff-view[theme=dark] .hljs-type,.code-diff-view[theme=dark] .hljs-variable.language_{color:#ff7b72}.code-diff-view[theme=dark] .hljs-title,.code-diff-view[theme=dark] .hljs-title.class_,.code-diff-view[theme=dark] .hljs-title.class_.inherited__,.code-diff-view[theme=dark] .hljs-title.function_{color:#d2a8ff}.code-diff-view[theme=dark] .hljs-attr,.code-diff-view[theme=dark] .hljs-attribute,.code-diff-view[theme=dark] .hljs-literal,.code-diff-view[theme=dark] .hljs-meta,.code-diff-view[theme=dark] .hljs-number,.code-diff-view[theme=dark] .hljs-operator,.code-diff-view[theme=dark] .hljs-variable,.code-diff-view[theme=dark] .hljs-selector-attr,.code-diff-view[theme=dark] .hljs-selector-class,.code-diff-view[theme=dark] .hljs-selector-id{color:#79c0ff}.code-diff-view[theme=dark] .hljs-regexp,.code-diff-view[theme=dark] .hljs-string,.code-diff-view[theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}.code-diff-view[theme=dark] .hljs-built_in,.code-diff-view[theme=dark] .hljs-symbol{color:#ffa657}.code-diff-view[theme=dark] .hljs-comment,.code-diff-view[theme=dark] .hljs-code,.code-diff-view[theme=dark] .hljs-formula{color:#8b949e}.code-diff-view[theme=dark] .hljs-name,.code-diff-view[theme=dark] .hljs-quote,.code-diff-view[theme=dark] .hljs-selector-tag,.code-diff-view[theme=dark] .hljs-selector-pseudo{color:#7ee787}.code-diff-view[theme=dark] .hljs-subst{color:#c9d1d9}.code-diff-view[theme=dark] .hljs-section{color:#1f6feb;font-weight:700}.code-diff-view[theme=dark] .hljs-bullet{color:#f2cc60}.code-diff-view[theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}.code-diff-view[theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}.code-diff-view[theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}.code-diff-view[theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.code-diff-view[theme=dark]{color:var(--fgColor-default, var(--color-fg-default));background-color:var(--bgColor-default, var(--color-canvas-default));--color-canvas-default-transparent: rgba(13,17,23,0);--color-page-header-bg: #0d1117;--color-marketing-icon-primary: #79c0ff;--color-marketing-icon-secondary: #1f6feb;--color-diff-blob-addition-num-text: #e6edf3;--color-diff-blob-addition-fg: #e6edf3;--color-diff-blob-addition-num-bg: rgba(63,185,80,.3);--color-diff-blob-addition-line-bg: rgba(46,160,67,.15);--color-diff-blob-addition-word-bg: rgba(46,160,67,.4);--color-diff-blob-deletion-num-text: #e6edf3;--color-diff-blob-deletion-fg: #e6edf3;--color-diff-blob-deletion-num-bg: rgba(248,81,73,.3);--color-diff-blob-deletion-line-bg: rgba(248,81,73,.1);--color-diff-blob-deletion-word-bg: rgba(248,81,73,.4);--color-diff-blob-hunk-num-bg: rgba(56,139,253,.4);--color-diff-blob-expander-icon: #7d8590;--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;--color-diffstat-deletion-border: rgba(240,246,252,.1);--color-diffstat-addition-border: rgba(240,246,252,.1);--color-diffstat-addition-bg: #3fb950;--color-search-keyword-hl: rgba(210,153,34,.4);--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-codemirror-text: #e6edf3;--color-codemirror-bg: #0d1117;--color-codemirror-gutters-bg: #0d1117;--color-codemirror-guttermarker-text: #0d1117;--color-codemirror-guttermarker-subtle-text: #6e7681;--color-codemirror-linenumber-text: #7d8590;--color-codemirror-cursor: #e6edf3;--color-codemirror-selection-bg: rgba(56,139,253,.4);--color-codemirror-activeline-bg: rgba(110,118,129,.1);--color-codemirror-matchingbracket-text: #e6edf3;--color-codemirror-lines-bg: #0d1117;--color-codemirror-syntax-comment: #8b949e;--color-codemirror-syntax-constant: #79c0ff;--color-codemirror-syntax-entity: #d2a8ff;--color-codemirror-syntax-keyword: #ff7b72;--color-codemirror-syntax-storage: #ff7b72;--color-codemirror-syntax-string: #a5d6ff;--color-codemirror-syntax-support: #79c0ff;--color-codemirror-syntax-variable: #ffa657;--color-checks-bg: #010409;--color-checks-run-border-width: 1px;--color-checks-container-border-width: 1px;--color-checks-text-primary: #e6edf3;--color-checks-text-secondary: #7d8590;--color-checks-text-link: #2f81f7;--color-checks-btn-icon: #7d8590;--color-checks-btn-hover-icon: #e6edf3;--color-checks-btn-hover-bg: rgba(110,118,129,.1);--color-checks-input-text: #7d8590;--color-checks-input-placeholder-text: #6e7681;--color-checks-input-focus-text: #e6edf3;--color-checks-input-bg: #161b22;--color-checks-donut-error: #f85149;--color-checks-donut-pending: #d29922;--color-checks-donut-success: #2ea043;--color-checks-donut-neutral: #8b949e;--color-checks-dropdown-text: #e6edf3;--color-checks-dropdown-bg: #161b22;--color-checks-dropdown-border: #30363d;--color-checks-dropdown-shadow: rgba(1,4,9,.3);--color-checks-dropdown-hover-text: #e6edf3;--color-checks-dropdown-hover-bg: rgba(110,118,129,.1);--color-checks-dropdown-btn-hover-text: #e6edf3;--color-checks-dropdown-btn-hover-bg: rgba(110,118,129,.1);--color-checks-scrollbar-thumb-bg: rgba(110,118,129,.4);--color-checks-header-label-text: #7d8590;--color-checks-header-label-open-text: #e6edf3;--color-checks-header-border: #21262d;--color-checks-header-icon: #7d8590;--color-checks-line-text: #7d8590;--color-checks-line-num-text: #6e7681;--color-checks-line-timestamp-text: #6e7681;--color-checks-line-hover-bg: rgba(110,118,129,.1);--color-checks-line-selected-bg: rgba(56,139,253,.1);--color-checks-line-selected-num-text: #2f81f7;--color-checks-line-dt-fm-text: #ffffff;--color-checks-line-dt-fm-bg: #9e6a03;--color-checks-gate-bg: rgba(187,128,9,.15);--color-checks-gate-text: #7d8590;--color-checks-gate-waiting-text: #d29922;--color-checks-step-header-open-bg: #161b22;--color-checks-step-error-text: #f85149;--color-checks-step-warning-text: #d29922;--color-checks-logline-text: #7d8590;--color-checks-logline-num-text: #6e7681;--color-checks-logline-debug-text: #a371f7;--color-checks-logline-error-text: #7d8590;--color-checks-logline-error-num-text: #6e7681;--color-checks-logline-error-bg: rgba(248,81,73,.1);--color-checks-logline-warning-text: #7d8590;--color-checks-logline-warning-num-text: #d29922;--color-checks-logline-warning-bg: rgba(187,128,9,.15);--color-checks-logline-command-text: #2f81f7;--color-checks-logline-section-text: #3fb950;--color-checks-ansi-black: #0d1117;--color-checks-ansi-black-bright: #161b22;--color-checks-ansi-white: #b1bac4;--color-checks-ansi-white-bright: #b1bac4;--color-checks-ansi-gray: #6e7681;--color-checks-ansi-red: #ff7b72;--color-checks-ansi-red-bright: #ffa198;--color-checks-ansi-green: #3fb950;--color-checks-ansi-green-bright: #56d364;--color-checks-ansi-yellow: #d29922;--color-checks-ansi-yellow-bright: #e3b341;--color-checks-ansi-blue: #58a6ff;--color-checks-ansi-blue-bright: #79c0ff;--color-checks-ansi-magenta: #bc8cff;--color-checks-ansi-magenta-bright: #d2a8ff;--color-checks-ansi-cyan: #76e3ea;--color-checks-ansi-cyan-bright: #b3f0ff;--color-project-header-bg: #0d1117;--color-project-sidebar-bg: #161b22;--color-project-gradient-in: #161b22;--color-project-gradient-out: rgba(22,27,34,0);--color-mktg-btn-bg: #f6f8fa;--color-mktg-btn-shadow-outline: rgb(255 255 255 / 25%) 0 0 0 1px inset;--color-mktg-btn-shadow-focus: rgb(255 255 255 / 25%) 0 0 0 4px;--color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, .15), 0 100px 80px rgba(255, 255, 255, .02), 0 42px 33px rgba(255, 255, 255, .024), 0 22px 18px rgba(255, 255, 255, .028), 0 12px 10px rgba(255, 255, 255, .034), 0 7px 5px rgba(255, 255, 255, .04), 0 3px 2px rgba(255, 255, 255, .07);--color-mktg-btn-shadow-hover-muted: rgb(255 255 255) 0 0 0 2px inset;--color-control-border-color-emphasis: #606771;--color-avatar-bg: rgba(255,255,255,.1);--color-avatar-border: rgba(240,246,252,.1);--color-avatar-stack-fade: #30363d;--color-avatar-stack-fade-more: #21262d;--color-avatar-child-shadow: 0 0 0 2px #0d1117;--color-topic-tag-border: rgba(0,0,0,0);--color-counter-border: rgba(0,0,0,0);--color-select-menu-backdrop-border: #484f58;--color-select-menu-tap-highlight: rgba(48,54,61,.5);--color-select-menu-tap-focus-bg: #0c2d6b;--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,.85);--color-overlay-backdrop: rgba(22,27,34,.4);--color-header-text: rgba(255,255,255,.7);--color-header-bg: #161b22;--color-header-divider: #8b949e;--color-header-logo: #f0f6fc;--color-header-search-bg: #0d1117;--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;--color-ansi-black-bright: #6e7681;--color-ansi-white: #b1bac4;--color-ansi-white-bright: #ffffff;--color-ansi-gray: #6e7681;--color-ansi-red: #ff7b72;--color-ansi-red-bright: #ffa198;--color-ansi-green: #3fb950;--color-ansi-green-bright: #56d364;--color-ansi-yellow: #d29922;--color-ansi-yellow-bright: #e3b341;--color-ansi-blue: #58a6ff;--color-ansi-blue-bright: #79c0ff;--color-ansi-magenta: #bc8cff;--color-ansi-magenta-bright: #d2a8ff;--color-ansi-cyan: #39c5cf;--color-ansi-cyan-bright: #56d4dd;--color-btn-text: #c9d1d9;--color-btn-bg: #21262d;--color-btn-border: rgba(240,246,252,.1);--color-btn-shadow: 0 0 transparent;--color-btn-inset-shadow: 0 0 transparent;--color-btn-hover-bg: #30363d;--color-btn-hover-border: #8b949e;--color-btn-active-bg: hsla(212,12%,18%,1);--color-btn-active-border: #6e7681;--color-btn-selected-bg: #161b22;--color-btn-counter-bg: #30363d;--color-btn-primary-text: #ffffff;--color-btn-primary-bg: #238636;--color-btn-primary-border: rgba(240,246,252,.1);--color-btn-primary-shadow: 0 0 transparent;--color-btn-primary-inset-shadow: 0 0 transparent;--color-btn-primary-hover-bg: #2ea043;--color-btn-primary-hover-border: rgba(240,246,252,.1);--color-btn-primary-selected-bg: #238636;--color-btn-primary-selected-shadow: 0 0 transparent;--color-btn-primary-disabled-text: rgba(255,255,255,.5);--color-btn-primary-disabled-bg: rgba(35,134,54,.6);--color-btn-primary-disabled-border: rgba(240,246,252,.1);--color-btn-primary-icon: #ffffff;--color-btn-primary-counter-bg: rgba(4,38,15,.2);--color-btn-outline-text: #388bfd;--color-btn-outline-hover-text: #58a6ff;--color-btn-outline-hover-bg: #30363d;--color-btn-outline-hover-border: rgba(240,246,252,.1);--color-btn-outline-hover-shadow: 0 1px 0 rgba(1,4,9,.1);--color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255,255,255,.03);--color-btn-outline-hover-counter-bg: rgba(5,29,77,.2);--color-btn-outline-selected-text: #ffffff;--color-btn-outline-selected-bg: #0d419d;--color-btn-outline-selected-border: rgba(240,246,252,.1);--color-btn-outline-selected-shadow: 0 0 transparent;--color-btn-outline-disabled-text: rgba(88,166,255,.5);--color-btn-outline-disabled-bg: #0d1117;--color-btn-outline-disabled-counter-bg: rgba(31,111,235,.05);--color-btn-outline-counter-bg: rgba(5,29,77,.2);--color-btn-outline-hover-counter-fg: #58a6ff;--color-btn-outline-disabled-counter-fg: rgba(47,129,247,.5);--color-btn-outline-counter-fg: #388bfd;--color-btn-danger-text: #f85149;--color-btn-danger-hover-text: #ffffff;--color-btn-danger-hover-bg: #da3633;--color-btn-danger-hover-border: #f85149;--color-btn-danger-hover-shadow: 0 0 transparent;--color-btn-danger-hover-inset-shadow: 0 0 transparent;--color-btn-danger-hover-icon: #ffffff;--color-btn-danger-hover-counter-bg: rgba(255,255,255,.2);--color-btn-danger-selected-text: #ffffff;--color-btn-danger-selected-bg: #b62324;--color-btn-danger-selected-border: #ff7b72;--color-btn-danger-selected-shadow: 0 0 transparent;--color-btn-danger-disabled-text: rgba(248,81,73,.5);--color-btn-danger-disabled-bg: #0d1117;--color-btn-danger-disabled-counter-bg: rgba(218,54,51,.05);--color-btn-danger-counter-bg: rgba(73,2,2,.2);--color-btn-danger-icon: #f85149;--color-btn-danger-counter-fg: #f85149;--color-btn-danger-disabled-counter-fg: rgba(248,81,73,.5);--color-btn-danger-hover-counter-fg: #ffffff;--color-underlinenav-icon: #6e7681;--color-underlinenav-border-hover: rgba(110,118,129,.4);--color-action-list-item-inline-divider: rgba(48,54,61,.48);--color-action-list-item-default-hover-bg: rgba(177,186,196,.12);--color-action-list-item-default-hover-border: rgba(0,0,0,0);--color-action-list-item-default-active-bg: rgba(177,186,196,.2);--color-action-list-item-default-active-border: rgba(0,0,0,0);--color-action-list-item-default-selected-bg: rgba(177,186,196,.08);--color-action-list-item-danger-hover-bg: rgba(248,81,73,.16);--color-action-list-item-danger-active-bg: rgba(248,81,73,.24);--color-action-list-item-danger-hover-text: #ff7b72;--color-switch-track-bg: rgba(110,118,129,.1);--color-switch-track-hover-bg: hsla(215,8%,72%,.1);--color-switch-track-active-bg: rgba(110,118,129,.4);--color-switch-track-disabled-bg: #21262d;--color-switch-track-fg: #7d8590;--color-switch-track-disabled-fg: #010409;--color-switch-track-border: rgba(0,0,0,0);--color-switch-track-checked-bg: rgba(31,111,235,.35);--color-switch-track-checked-hover-bg: rgba(31,111,235,.5);--color-switch-track-checked-active-bg: rgba(31,111,235,.65);--color-switch-track-checked-fg: #ffffff;--color-switch-track-checked-disabled-fg: #010409;--color-switch-track-checked-border: rgba(0,0,0,0);--color-switch-knob-bg: #0d1117;--color-switch-knob-border: #606771;--color-switch-knob-disabled-bg: #161b22;--color-switch-knob-checked-bg: #0d1117;--color-switch-knob-checked-disabled-bg: #161b22;--color-switch-knob-checked-border: rgba(31,111,235,.35);--color-segmented-control-bg: rgba(110,118,129,.1);--color-segmented-control-button-bg: #0d1117;--color-segmented-control-button-hover-bg: #30363d;--color-segmented-control-button-active-bg: #21262d;--color-segmented-control-button-selected-border: #6e7681;--color-tree-view-item-chevron-hover-bg: rgba(177,186,196,.12);--color-tree-view-item-directory-fill: #7d8590;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-fg-on-emphasis: #ffffff;--color-canvas-default: #0d1117;--color-canvas-overlay: #161b22;--color-canvas-inset: #010409;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-border-subtle: rgba(240,246,252,.1);--color-shadow-small: 0 0 transparent;--color-shadow-medium: 0 3px 6px #010409;--color-shadow-large: 0 8px 24px #010409;--color-shadow-extra-large: 0 12px 48px #010409;--color-neutral-emphasis-plus: #6e7681;--color-neutral-emphasis: #6e7681;--color-neutral-muted: rgba(110,118,129,.4);--color-neutral-subtle: rgba(110,118,129,.1);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-accent-muted: rgba(56,139,253,.4);--color-accent-subtle: rgba(56,139,253,.1);--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-success-muted: rgba(46,160,67,.4);--color-success-subtle: rgba(46,160,67,.15);--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-attention-muted: rgba(187,128,9,.4);--color-attention-subtle: rgba(187,128,9,.15);--color-severe-fg: #db6d28;--color-severe-emphasis: #bd561d;--color-severe-muted: rgba(219,109,40,.4);--color-severe-subtle: rgba(219,109,40,.1);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-danger-muted: rgba(248,81,73,.4);--color-danger-subtle: rgba(248,81,73,.1);--color-open-fg: #3fb950;--color-open-emphasis: #238636;--color-open-muted: rgba(46,160,67,.4);--color-open-subtle: rgba(46,160,67,.15);--color-closed-fg: #f85149;--color-closed-emphasis: #da3633;--color-closed-muted: rgba(248,81,73,.4);--color-closed-subtle: rgba(248,81,73,.15);--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-done-muted: rgba(163,113,247,.4);--color-done-subtle: rgba(163,113,247,.1);--color-sponsors-fg: #db61a2;--color-sponsors-emphasis: #bf4b8a;--color-sponsors-muted: rgba(219,97,162,.4);--color-sponsors-subtle: rgba(219,97,162,.1);--color-primer-fg-disabled: #484f58;--color-primer-canvas-backdrop: rgba(1,4,9,.8);--color-primer-canvas-sticky: rgba(13,17,23,.95);--color-primer-border-active: #f78166;--color-primer-border-contrast: rgba(255,255,255,.2);--color-primer-shadow-highlight: 0 0 transparent;--color-primer-shadow-inset: 0 0 transparent;--color-scale-black: #010409;--color-scale-white: #ffffff;--color-scale-gray-0: #f0f6fc;--color-scale-gray-1: #c9d1d9;--color-scale-gray-2: #b1bac4;--color-scale-gray-3: #8b949e;--color-scale-gray-4: #6e7681;--color-scale-gray-5: #484f58;--color-scale-gray-6: #30363d;--color-scale-gray-7: #21262d;--color-scale-gray-8: #161b22;--color-scale-gray-9: #0d1117;--color-scale-blue-0: #cae8ff;--color-scale-blue-1: #a5d6ff;--color-scale-blue-2: #79c0ff;--color-scale-blue-3: #58a6ff;--color-scale-blue-4: #388bfd;--color-scale-blue-5: #1f6feb;--color-scale-blue-6: #1158c7;--color-scale-blue-7: #0d419d;--color-scale-blue-8: #0c2d6b;--color-scale-blue-9: #051d4d;--color-scale-green-0: #aff5b4;--color-scale-green-1: #7ee787;--color-scale-green-2: #56d364;--color-scale-green-3: #3fb950;--color-scale-green-4: #2ea043;--color-scale-green-5: #238636;--color-scale-green-6: #196c2e;--color-scale-green-7: #0f5323;--color-scale-green-8: #033a16;--color-scale-green-9: #04260f;--color-scale-yellow-0: #f8e3a1;--color-scale-yellow-1: #f2cc60;--color-scale-yellow-2: #e3b341;--color-scale-yellow-3: #d29922;--color-scale-yellow-4: #bb8009;--color-scale-yellow-5: #9e6a03;--color-scale-yellow-6: #845306;--color-scale-yellow-7: #693e00;--color-scale-yellow-8: #4b2900;--color-scale-yellow-9: #341a00;--color-scale-orange-0: #ffdfb6;--color-scale-orange-1: #ffc680;--color-scale-orange-2: #ffa657;--color-scale-orange-3: #f0883e;--color-scale-orange-4: #db6d28;--color-scale-orange-5: #bd561d;--color-scale-orange-6: #9b4215;--color-scale-orange-7: #762d0a;--color-scale-orange-8: #5a1e02;--color-scale-orange-9: #3d1300;--color-scale-red-0: #ffdcd7;--color-scale-red-1: #ffc1ba;--color-scale-red-2: #ffa198;--color-scale-red-3: #ff7b72;--color-scale-red-4: #f85149;--color-scale-red-5: #da3633;--color-scale-red-6: #b62324;--color-scale-red-7: #8e1519;--color-scale-red-8: #67060c;--color-scale-red-9: #490202;--color-scale-purple-0: #eddeff;--color-scale-purple-1: #e2c5ff;--color-scale-purple-2: #d2a8ff;--color-scale-purple-3: #bc8cff;--color-scale-purple-4: #a371f7;--color-scale-purple-5: #8957e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-scale-pink-6: #9e3670;--color-scale-pink-7: #7d2457;--color-scale-pink-8: #5e103e;--color-scale-pink-9: #42062a;--color-scale-coral-0: #ffddd2;--color-scale-coral-1: #ffc2b2;--color-scale-coral-2: #ffa28b;--color-scale-coral-3: #f78166;--color-scale-coral-4: #ea6045;--color-scale-coral-5: #cf462d;--color-scale-coral-6: #ac3220;--color-scale-coral-7: #872012;--color-scale-coral-8: #640d04;--color-scale-coral-9: #460701}.code-diff-view *{position:static;box-sizing:border-box}.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 .file-header{position:sticky;top:0;z-index:1;background-color:var(--color-canvas-subtle);border-bottom:1px solid var(--color-border-default);padding:8px 16px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.code-diff-view .file-header .file-info{display:flex;justify-content:space-between;align-items:center;margin-left:8px;height:24px}.code-diff-view .file-header .file-info .info-left{color:var(--color-fg-default)}.code-diff-view .file-header .file-info .info-right{display:flex;justify-content:space-between;align-items:center;width:50%}.code-diff-view .file-header .file-info .diff-stat{display:inline-flex;align-items:center;gap:8px}.code-diff-view .file-header .file-info .diff-stat .diff-stat-added{color:var(--color-diffstat-addition-bg)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-deleted{color:var(--color-danger-emphasis)}.code-diff-view .file-header .file-info .diff-stat .diff-stat-ignored{color:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar{margin-left:auto;margin-right:1rem}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button{background-color:transparent;color:var(--color-fg-subtle);border:none}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button svg{fill:var(--color-fg-subtle)}.code-diff-view .file-header .file-info .diff-commandbar .command-item-button:hover{background-color:var(--color-btn-outline-hover-border)}.code-diff-view table{border-spacing:0}.code-diff-view .diff-table{width:100%}.code-diff-view .diff-table .blob-num{position:relative;width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:20px;color:var(--color-fg-subtle);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;user-select:none}.code-diff-view .diff-table .blob-num-deletion{color:var(--color-diff-blob-deletion-num-text);background-color:var(--color-diff-blob-deletion-num-bg);border-color:var(--color-danger-emphasis)}.code-diff-view .diff-table .blob-num-addition{color:var(--color-diff-blob-addition-num-text);background-color:var(--color-diff-blob-addition-num-bg);border-color:var(--color-success-emphasis)}.code-diff-view .diff-table .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.code-diff-view .diff-table .blob-code .blob-code-inner{display:table-cell;overflow:visible;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;color:var(--color-fg-default);word-wrap:anywhere;white-space:pre-wrap}.code-diff-view .diff-table .blob-code-deletion{background-color:var(--color-diff-blob-deletion-line-bg);outline:1px dashed transparent}.code-diff-view .diff-table .blob-code-deletion .x{color:var(--color-diff-blob-deletion-fg);background-color:var(--color-diff-blob-deletion-word-bg)}.code-diff-view .diff-table .blob-code-addition{background-color:var(--color-diff-blob-addition-line-bg);outline:1px dotted transparent}.code-diff-view .diff-table .blob-code-addition .x{color:var(--color-diff-blob-addition-fg);background-color:var(--color-diff-blob-addition-word-bg)}.code-diff-view .diff-table .current-diff{border:1px solid var(--color-border-muted)}.code-diff-view .diff-table .blob-code-context,.code-diff-view .diff-table .blob-code-addition,.code-diff-view .diff-table .blob-code-deletion{padding-left:22px!important}.code-diff-view .diff-table .blob-code-marker:before{position:absolute;top:1px;left:8px;padding-right:8px;content:attr(data-code-marker)}.code-diff-view .diff-table .blob-num-hunk{background-color:var(--color-diff-blob-hunk-num-bg)}.code-diff-view .diff-table .blob-code-hunk{background-color:var(--color-accent-subtle)}.code-diff-view .diff-table .load-more{padding:8px;text-align:center}.code-diff-view .diff-table .load-more-button{padding:4px 12px;color:var(--color-accent-fg);background:transparent;border:1px solid var(--color-border-default);border-radius:4px;cursor:pointer}.code-diff-view .diff-table .load-more-button:hover{background-color:var(--color-accent-muted)}.code-diff-view .file-diff-split{table-layout:fixed}.code-diff-view .file-diff-split .blob-code+.blob-num{border-left:1px solid var(--color-border-muted)}.code-diff-view .file-diff-split .no-select{user-select:none}.code-diff-view .empty-cell{cursor:default;background-color:var(--color-neutral-subtle);border-right-color:var(--color-border-muted)}.code-diff-view[data-v-8b22b876] :deep(td:nth-child(1)){display:none}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
(function(he,q){typeof exports=="object"&&typeof module!="undefined"?module.exports=q(require("vue"),require("@vue/composition-api")):typeof define=="function"&&define.amd?define(["vue","@vue/composition-api"],q):(he=typeof globalThis!="undefined"?globalThis:he||self,he.CodeDiff=q(he.Vue,he.VueCompositionAPI))})(this,(function(he,q){"use strict";function et(e){e=e||he,e&&!e.__composition_api_installed__&&e.use(q)}et(he),he.version;function de(){}de.prototype={diff:function(r,a){var h,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=_.callback;typeof _=="function"&&(n=_,_={}),this.options=_;var t=this;function i(M){return n?(setTimeout(function(){n(void 0,M)},0),!0):M}r=this.castInput(r),a=this.castInput(a),r=this.removeEmpty(this.tokenize(r)),a=this.removeEmpty(this.tokenize(a));var s=a.length,c=r.length,o=1,l=s+c;_.maxEditLength&&(l=Math.min(l,_.maxEditLength));var u=(h=_.timeout)!==null&&h!==void 0?h:1/0,g=Date.now()+u,d=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(d[0],a,r,0);if(d[0].oldPos+1>=c&&p+1>=s)return i([{value:this.join(a),count:a.length}]);var v=-1/0,m=1/0;function E(){for(var M=Math.max(v,-o);M<=Math.min(m,o);M+=2){var D=void 0,L=d[M-1],I=d[M+1];L&&(d[M-1]=void 0);var P=!1;if(I){var R=I.oldPos-M;P=I&&0<=R&&R<s}var B=L&&L.oldPos+1<c;if(!P&&!B){d[M]=void 0;continue}if(!B||P&&L.oldPos+1<I.oldPos?D=t.addToPath(I,!0,void 0,0):D=t.addToPath(L,void 0,!0,1),p=t.extractCommon(D,a,r,M),D.oldPos+1>=c&&p+1>=s)return i(nt(t,D.lastComponent,a,r,t.useLongestToken));d[M]=D,D.oldPos+1>=c&&(m=Math.min(m,M-1)),p+1>=s&&(v=Math.max(v,M+1))}o++}if(n)(function M(){setTimeout(function(){if(o>l||Date.now()>g)return n();E()||M()},0)})();else for(;o<=l&&Date.now()<=g;){var w=E();if(w)return w}},addToPath:function(r,a,h,_){var n=r.lastComponent;return n&&n.added===a&&n.removed===h?{oldPos:r.oldPos+_,lastComponent:{count:n.count+1,added:a,removed:h,previousComponent:n.previousComponent}}:{oldPos:r.oldPos+_,lastComponent:{count:1,added:a,removed:h,previousComponent:n}}},extractCommon:function(r,a,h,_){for(var n=a.length,t=h.length,i=r.oldPos,s=i-_,c=0;s+1<n&&i+1<t&&this.equals(a[s+1],h[i+1]);)s++,i++,c++;return c&&(r.lastComponent={count:c,previousComponent:r.lastComponent}),r.oldPos=i,s},equals:function(r,a){return this.options.comparator?this.options.comparator(r,a):r===a||this.options.ignoreCase&&r.toLowerCase()===a.toLowerCase()},removeEmpty:function(r){for(var a=[],h=0;h<r.length;h++)r[h]&&a.push(r[h]);return a},castInput:function(r){return r},tokenize:function(r){return r.split("")},join:function(r){return r.join("")}};function nt(e,r,a,h,_){for(var n=[],t;r;)n.push(r),t=r.previousComponent,delete r.previousComponent,r=t;n.reverse();for(var i=0,s=n.length,c=0,o=0;i<s;i++){var l=n[i];if(l.removed){if(l.value=e.join(h.slice(o,o+l.count)),o+=l.count,i&&n[i-1].added){var g=n[i-1];n[i-1]=n[i],n[i]=g}}else{if(!l.added&&_){var u=a.slice(c,c+l.count);u=u.map(function(p,v){var m=h[o+v];return m.length>p.length?m:p}),l.value=e.join(u)}else l.value=e.join(a.slice(c,c+l.count));c+=l.count,l.added||(o+=l.count)}}var d=n[s-1];return s>1&&typeof d.value=="string"&&(d.added||d.removed)&&e.equals("",d.value)&&(n[s-2].value+=d.value,n.pop()),n}var tt=new de;function rt(e,r,a){return tt.diff(e,r,a)}function it(e,r){if(typeof e=="function")r.callback=e;else if(e)for(var a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);return r}var dn=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,pn=/\S/,je=new de;je.equals=function(e,r){return this.options.ignoreCase&&(e=e.toLowerCase(),r=r.toLowerCase()),e===r||this.options.ignoreWhitespace&&!pn.test(e)&&!pn.test(r)},je.tokenize=function(e){for(var r=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),a=0;a<r.length-1;a++)!r[a+1]&&r[a+2]&&dn.test(r[a])&&dn.test(r[a+2])&&(r[a]+=r[a+2],r.splice(a+1,2),a--);return r};function st(e,r,a){return a=it(a,{ignoreWhitespace:!0}),je.diff(e,r,a)}var Ye=new de;Ye.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
3
|
+
`));var r=[],a=e.split(/(\n|\r\n)/);a[a.length-1]||a.pop();for(var h=0;h<a.length;h++){var _=a[h];h%2&&!this.options.newlineIsToken?r[r.length-1]+=_:(this.options.ignoreWhitespace&&(_=_.trim()),r.push(_))}return r};function at(e,r,a){return Ye.diff(e,r,a)}var ot=new de;ot.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var lt=new de;lt.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};function xe(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xe=function(r){return typeof r}:xe=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xe(e)}var ct=Object.prototype.toString,Ae=new de;Ae.useLongestToken=!0,Ae.tokenize=Ye.tokenize,Ae.castInput=function(e){var r=this.options,a=r.undefinedReplacement,h=r.stringifyReplacer,_=h===void 0?function(n,t){return typeof t=="undefined"?a:t}:h;return typeof e=="string"?e:JSON.stringify(Ze(e,null,null,_),_," ")},Ae.equals=function(e,r){return de.prototype.equals.call(Ae,e.replace(/,([\r\n])/g,"$1"),r.replace(/,([\r\n])/g,"$1"))};function Ze(e,r,a,h,_){r=r||[],a=a||[],h&&(e=h(_,e));var n;for(n=0;n<r.length;n+=1)if(r[n]===e)return a[n];var t;if(ct.call(e)==="[object Array]"){for(r.push(e),t=new Array(e.length),a.push(t),n=0;n<e.length;n+=1)t[n]=Ze(e[n],r,a,h,_);return r.pop(),a.pop(),t}if(e&&e.toJSON&&(e=e.toJSON()),xe(e)==="object"&&e!==null){r.push(e),t={},a.push(t);var i=[],s;for(s in e)e.hasOwnProperty(s)&&i.push(s);for(i.sort(),n=0;n<i.length;n+=1)s=i[n],t[s]=Ze(e[s],r,a,h,s);r.pop(),a.pop()}else t=e;return t}var Xe=new de;Xe.tokenize=function(e){return e.slice()},Xe.join=Xe.removeEmpty=function(e){return e};function ut(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Je={exports:{}},_n;function ft(){return _n||(_n=1,(function(e){var r=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},a=-1,h=1,_=0;r.Diff=function(n,t){return[n,t]},r.prototype.diff_main=function(n,t,i,s){typeof s=="undefined"&&(this.Diff_Timeout<=0?s=Number.MAX_VALUE:s=new Date().getTime()+this.Diff_Timeout*1e3);var c=s;if(n==null||t==null)throw new Error("Null input. (diff_main)");if(n==t)return n?[new r.Diff(_,n)]:[];typeof i=="undefined"&&(i=!0);var o=i,l=this.diff_commonPrefix(n,t),u=n.substring(0,l);n=n.substring(l),t=t.substring(l),l=this.diff_commonSuffix(n,t);var g=n.substring(n.length-l);n=n.substring(0,n.length-l),t=t.substring(0,t.length-l);var d=this.diff_compute_(n,t,o,c);return u&&d.unshift(new r.Diff(_,u)),g&&d.push(new r.Diff(_,g)),this.diff_cleanupMerge(d),d},r.prototype.diff_compute_=function(n,t,i,s){var c;if(!n)return[new r.Diff(h,t)];if(!t)return[new r.Diff(a,n)];var o=n.length>t.length?n:t,l=n.length>t.length?t:n,u=o.indexOf(l);if(u!=-1)return c=[new r.Diff(h,o.substring(0,u)),new r.Diff(_,l),new r.Diff(h,o.substring(u+l.length))],n.length>t.length&&(c[0][0]=c[2][0]=a),c;if(l.length==1)return[new r.Diff(a,n),new r.Diff(h,t)];var g=this.diff_halfMatch_(n,t);if(g){var d=g[0],p=g[1],v=g[2],m=g[3],E=g[4],w=this.diff_main(d,v,i,s),M=this.diff_main(p,m,i,s);return w.concat([new r.Diff(_,E)],M)}return i&&n.length>100&&t.length>100?this.diff_lineMode_(n,t,s):this.diff_bisect_(n,t,s)},r.prototype.diff_lineMode_=function(n,t,i){var s=this.diff_linesToChars_(n,t);n=s.chars1,t=s.chars2;var c=s.lineArray,o=this.diff_main(n,t,!1,i);this.diff_charsToLines_(o,c),this.diff_cleanupSemantic(o),o.push(new r.Diff(_,""));for(var l=0,u=0,g=0,d="",p="";l<o.length;){switch(o[l][0]){case h:g++,p+=o[l][1];break;case a:u++,d+=o[l][1];break;case _:if(u>=1&&g>=1){o.splice(l-u-g,u+g),l=l-u-g;for(var v=this.diff_main(d,p,!1,i),m=v.length-1;m>=0;m--)o.splice(l,0,v[m]);l=l+v.length}g=0,u=0,d="",p="";break}l++}return o.pop(),o},r.prototype.diff_bisect_=function(n,t,i){for(var s=n.length,c=t.length,o=Math.ceil((s+c)/2),l=o,u=2*o,g=new Array(u),d=new Array(u),p=0;p<u;p++)g[p]=-1,d[p]=-1;g[l+1]=0,d[l+1]=0;for(var v=s-c,m=v%2!=0,E=0,w=0,M=0,D=0,L=0;L<o&&!(new Date().getTime()>i);L++){for(var I=-L+E;I<=L-w;I+=2){var P=l+I,R;I==-L||I!=L&&g[P-1]<g[P+1]?R=g[P+1]:R=g[P-1]+1;for(var B=R-I;R<s&&B<c&&n.charAt(R)==t.charAt(B);)R++,B++;if(g[P]=R,R>s)w+=2;else if(B>c)E+=2;else if(m){var H=l+v-I;if(H>=0&&H<u&&d[H]!=-1){var G=s-d[H];if(R>=G)return this.diff_bisectSplit_(n,t,R,B,i)}}}for(var Z=-L+M;Z<=L-D;Z+=2){var H=l+Z,G;Z==-L||Z!=L&&d[H-1]<d[H+1]?G=d[H+1]:G=d[H-1]+1;for(var J=G-Z;G<s&&J<c&&n.charAt(s-G-1)==t.charAt(c-J-1);)G++,J++;if(d[H]=G,G>s)D+=2;else if(J>c)M+=2;else if(!m){var P=l+v-Z;if(P>=0&&P<u&&g[P]!=-1){var R=g[P],B=l+R-P;if(G=s-G,R>=G)return this.diff_bisectSplit_(n,t,R,B,i)}}}}return[new r.Diff(a,n),new r.Diff(h,t)]},r.prototype.diff_bisectSplit_=function(n,t,i,s,c){var o=n.substring(0,i),l=t.substring(0,s),u=n.substring(i),g=t.substring(s),d=this.diff_main(o,l,!1,c),p=this.diff_main(u,g,!1,c);return d.concat(p)},r.prototype.diff_linesToChars_=function(n,t){var i=[],s={};i[0]="";function c(g){for(var d="",p=0,v=-1,m=i.length;v<g.length-1;){v=g.indexOf(`
|
|
4
|
+
`,p),v==-1&&(v=g.length-1);var E=g.substring(p,v+1);(s.hasOwnProperty?s.hasOwnProperty(E):s[E]!==void 0)?d+=String.fromCharCode(s[E]):(m==o&&(E=g.substring(p),v=g.length),d+=String.fromCharCode(m),s[E]=m,i[m++]=E),p=v+1}return d}var o=4e4,l=c(n);o=65535;var u=c(t);return{chars1:l,chars2:u,lineArray:i}},r.prototype.diff_charsToLines_=function(n,t){for(var i=0;i<n.length;i++){for(var s=n[i][1],c=[],o=0;o<s.length;o++)c[o]=t[s.charCodeAt(o)];n[i][1]=c.join("")}},r.prototype.diff_commonPrefix=function(n,t){if(!n||!t||n.charAt(0)!=t.charAt(0))return 0;for(var i=0,s=Math.min(n.length,t.length),c=s,o=0;i<c;)n.substring(o,c)==t.substring(o,c)?(i=c,o=i):s=c,c=Math.floor((s-i)/2+i);return c},r.prototype.diff_commonSuffix=function(n,t){if(!n||!t||n.charAt(n.length-1)!=t.charAt(t.length-1))return 0;for(var i=0,s=Math.min(n.length,t.length),c=s,o=0;i<c;)n.substring(n.length-c,n.length-o)==t.substring(t.length-c,t.length-o)?(i=c,o=i):s=c,c=Math.floor((s-i)/2+i);return c},r.prototype.diff_commonOverlap_=function(n,t){var i=n.length,s=t.length;if(i==0||s==0)return 0;i>s?n=n.substring(i-s):i<s&&(t=t.substring(0,i));var c=Math.min(i,s);if(n==t)return c;for(var o=0,l=1;;){var u=n.substring(c-l),g=t.indexOf(u);if(g==-1)return o;l+=g,(g==0||n.substring(c-l)==t.substring(0,l))&&(o=l,l++)}},r.prototype.diff_halfMatch_=function(n,t){if(this.Diff_Timeout<=0)return null;var i=n.length>t.length?n:t,s=n.length>t.length?t:n;if(i.length<4||s.length*2<i.length)return null;var c=this;function o(w,M,D){for(var L=w.substring(D,D+Math.floor(w.length/4)),I=-1,P="",R,B,H,G;(I=M.indexOf(L,I+1))!=-1;){var Z=c.diff_commonPrefix(w.substring(D),M.substring(I)),J=c.diff_commonSuffix(w.substring(0,D),M.substring(0,I));P.length<J+Z&&(P=M.substring(I-J,I)+M.substring(I,I+Z),R=w.substring(0,D-J),B=w.substring(D+Z),H=M.substring(0,I-J),G=M.substring(I+Z))}return P.length*2>=w.length?[R,B,H,G,P]:null}var l=o(i,s,Math.ceil(i.length/4)),u=o(i,s,Math.ceil(i.length/2)),g;if(!l&&!u)return null;u?l?g=l[4].length>u[4].length?l:u:g=u:g=l;var d,p,v,m;n.length>t.length?(d=g[0],p=g[1],v=g[2],m=g[3]):(v=g[0],m=g[1],d=g[2],p=g[3]);var E=g[4];return[d,p,v,m,E]},r.prototype.diff_cleanupSemantic=function(n){for(var t=!1,i=[],s=0,c=null,o=0,l=0,u=0,g=0,d=0;o<n.length;)n[o][0]==_?(i[s++]=o,l=g,u=d,g=0,d=0,c=n[o][1]):(n[o][0]==h?g+=n[o][1].length:d+=n[o][1].length,c&&c.length<=Math.max(l,u)&&c.length<=Math.max(g,d)&&(n.splice(i[s-1],0,new r.Diff(a,c)),n[i[s-1]+1][0]=h,s--,s--,o=s>0?i[s-1]:-1,l=0,u=0,g=0,d=0,c=null,t=!0)),o++;for(t&&this.diff_cleanupMerge(n),this.diff_cleanupSemanticLossless(n),o=1;o<n.length;){if(n[o-1][0]==a&&n[o][0]==h){var p=n[o-1][1],v=n[o][1],m=this.diff_commonOverlap_(p,v),E=this.diff_commonOverlap_(v,p);m>=E?(m>=p.length/2||m>=v.length/2)&&(n.splice(o,0,new r.Diff(_,v.substring(0,m))),n[o-1][1]=p.substring(0,p.length-m),n[o+1][1]=v.substring(m),o++):(E>=p.length/2||E>=v.length/2)&&(n.splice(o,0,new r.Diff(_,p.substring(0,E))),n[o-1][0]=h,n[o-1][1]=v.substring(0,v.length-E),n[o+1][0]=a,n[o+1][1]=p.substring(E),o++),o++}o++}},r.prototype.diff_cleanupSemanticLossless=function(n){function t(E,w){if(!E||!w)return 6;var M=E.charAt(E.length-1),D=w.charAt(0),L=M.match(r.nonAlphaNumericRegex_),I=D.match(r.nonAlphaNumericRegex_),P=L&&M.match(r.whitespaceRegex_),R=I&&D.match(r.whitespaceRegex_),B=P&&M.match(r.linebreakRegex_),H=R&&D.match(r.linebreakRegex_),G=B&&E.match(r.blanklineEndRegex_),Z=H&&w.match(r.blanklineStartRegex_);return G||Z?5:B||H?4:L&&!P&&R?3:P||R?2:L||I?1:0}for(var i=1;i<n.length-1;){if(n[i-1][0]==_&&n[i+1][0]==_){var s=n[i-1][1],c=n[i][1],o=n[i+1][1],l=this.diff_commonSuffix(s,c);if(l){var u=c.substring(c.length-l);s=s.substring(0,s.length-l),c=u+c.substring(0,c.length-l),o=u+o}for(var g=s,d=c,p=o,v=t(s,c)+t(c,o);c.charAt(0)===o.charAt(0);){s+=c.charAt(0),c=c.substring(1)+o.charAt(0),o=o.substring(1);var m=t(s,c)+t(c,o);m>=v&&(v=m,g=s,d=c,p=o)}n[i-1][1]!=g&&(g?n[i-1][1]=g:(n.splice(i-1,1),i--),n[i][1]=d,p?n[i+1][1]=p:(n.splice(i+1,1),i--))}i++}},r.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,r.whitespaceRegex_=/\s/,r.linebreakRegex_=/[\r\n]/,r.blanklineEndRegex_=/\n\r?\n$/,r.blanklineStartRegex_=/^\r?\n\r?\n/,r.prototype.diff_cleanupEfficiency=function(n){for(var t=!1,i=[],s=0,c=null,o=0,l=!1,u=!1,g=!1,d=!1;o<n.length;)n[o][0]==_?(n[o][1].length<this.Diff_EditCost&&(g||d)?(i[s++]=o,l=g,u=d,c=n[o][1]):(s=0,c=null),g=d=!1):(n[o][0]==a?d=!0:g=!0,c&&(l&&u&&g&&d||c.length<this.Diff_EditCost/2&&l+u+g+d==3)&&(n.splice(i[s-1],0,new r.Diff(a,c)),n[i[s-1]+1][0]=h,s--,c=null,l&&u?(g=d=!0,s=0):(s--,o=s>0?i[s-1]:-1,g=d=!1),t=!0)),o++;t&&this.diff_cleanupMerge(n)},r.prototype.diff_cleanupMerge=function(n){n.push(new r.Diff(_,""));for(var t=0,i=0,s=0,c="",o="",l;t<n.length;)switch(n[t][0]){case h:s++,o+=n[t][1],t++;break;case a:i++,c+=n[t][1],t++;break;case _:i+s>1?(i!==0&&s!==0&&(l=this.diff_commonPrefix(o,c),l!==0&&(t-i-s>0&&n[t-i-s-1][0]==_?n[t-i-s-1][1]+=o.substring(0,l):(n.splice(0,0,new r.Diff(_,o.substring(0,l))),t++),o=o.substring(l),c=c.substring(l)),l=this.diff_commonSuffix(o,c),l!==0&&(n[t][1]=o.substring(o.length-l)+n[t][1],o=o.substring(0,o.length-l),c=c.substring(0,c.length-l))),t-=i+s,n.splice(t,i+s),c.length&&(n.splice(t,0,new r.Diff(a,c)),t++),o.length&&(n.splice(t,0,new r.Diff(h,o)),t++),t++):t!==0&&n[t-1][0]==_?(n[t-1][1]+=n[t][1],n.splice(t,1)):t++,s=0,i=0,c="",o="";break}n[n.length-1][1]===""&&n.pop();var u=!1;for(t=1;t<n.length-1;)n[t-1][0]==_&&n[t+1][0]==_&&(n[t][1].substring(n[t][1].length-n[t-1][1].length)==n[t-1][1]?(n[t][1]=n[t-1][1]+n[t][1].substring(0,n[t][1].length-n[t-1][1].length),n[t+1][1]=n[t-1][1]+n[t+1][1],n.splice(t-1,1),u=!0):n[t][1].substring(0,n[t+1][1].length)==n[t+1][1]&&(n[t-1][1]+=n[t+1][1],n[t][1]=n[t][1].substring(n[t+1][1].length)+n[t+1][1],n.splice(t+1,1),u=!0)),t++;u&&this.diff_cleanupMerge(n)},r.prototype.diff_xIndex=function(n,t){var i=0,s=0,c=0,o=0,l;for(l=0;l<n.length&&(n[l][0]!==h&&(i+=n[l][1].length),n[l][0]!==a&&(s+=n[l][1].length),!(i>t));l++)c=i,o=s;return n.length!=l&&n[l][0]===a?o:o+(t-c)},r.prototype.diff_prettyHtml=function(n){for(var t=[],i=/&/g,s=/</g,c=/>/g,o=/\n/g,l=0;l<n.length;l++){var u=n[l][0],g=n[l][1],d=g.replace(i,"&").replace(s,"<").replace(c,">").replace(o,"¶<br>");switch(u){case h:t[l]='<ins style="background:#e6ffe6;">'+d+"</ins>";break;case a:t[l]='<del style="background:#ffe6e6;">'+d+"</del>";break;case _:t[l]="<span>"+d+"</span>";break}}return t.join("")},r.prototype.diff_text1=function(n){for(var t=[],i=0;i<n.length;i++)n[i][0]!==h&&(t[i]=n[i][1]);return t.join("")},r.prototype.diff_text2=function(n){for(var t=[],i=0;i<n.length;i++)n[i][0]!==a&&(t[i]=n[i][1]);return t.join("")},r.prototype.diff_levenshtein=function(n){for(var t=0,i=0,s=0,c=0;c<n.length;c++){var o=n[c][0],l=n[c][1];switch(o){case h:i+=l.length;break;case a:s+=l.length;break;case _:t+=Math.max(i,s),i=0,s=0;break}}return t+=Math.max(i,s),t},r.prototype.diff_toDelta=function(n){for(var t=[],i=0;i<n.length;i++)switch(n[i][0]){case h:t[i]="+"+encodeURI(n[i][1]);break;case a:t[i]="-"+n[i][1].length;break;case _:t[i]="="+n[i][1].length;break}return t.join(" ").replace(/%20/g," ")},r.prototype.diff_fromDelta=function(n,t){for(var i=[],s=0,c=0,o=t.split(/\t/g),l=0;l<o.length;l++){var u=o[l].substring(1);switch(o[l].charAt(0)){case"+":try{i[s++]=new r.Diff(h,decodeURI(u))}catch(p){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var g=parseInt(u,10);if(isNaN(g)||g<0)throw new Error("Invalid number in diff_fromDelta: "+u);var d=n.substring(c,c+=g);o[l].charAt(0)=="="?i[s++]=new r.Diff(_,d):i[s++]=new r.Diff(a,d);break;default:if(o[l])throw new Error("Invalid diff operation in diff_fromDelta: "+o[l])}}if(c!=n.length)throw new Error("Delta length ("+c+") does not equal source text length ("+n.length+").");return i},r.prototype.match_main=function(n,t,i){if(n==null||t==null||i==null)throw new Error("Null input. (match_main)");return i=Math.max(0,Math.min(i,n.length)),n==t?0:n.length?n.substring(i,i+t.length)==t?i:this.match_bitap_(n,t,i):-1},r.prototype.match_bitap_=function(n,t,i){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var s=this.match_alphabet_(t),c=this;function o(R,B){var H=R/t.length,G=Math.abs(i-B);return c.Match_Distance?H+G/c.Match_Distance:G?1:H}var l=this.Match_Threshold,u=n.indexOf(t,i);u!=-1&&(l=Math.min(o(0,u),l),u=n.lastIndexOf(t,i+t.length),u!=-1&&(l=Math.min(o(0,u),l)));var g=1<<t.length-1;u=-1;for(var d,p,v=t.length+n.length,m,E=0;E<t.length;E++){for(d=0,p=v;d<p;)o(E,i+p)<=l?d=p:v=p,p=Math.floor((v-d)/2+d);v=p;var w=Math.max(1,i-p+1),M=Math.min(i+p,n.length)+t.length,D=Array(M+2);D[M+1]=(1<<E)-1;for(var L=M;L>=w;L--){var I=s[n.charAt(L-1)];if(E===0?D[L]=(D[L+1]<<1|1)&I:D[L]=(D[L+1]<<1|1)&I|((m[L+1]|m[L])<<1|1)|m[L+1],D[L]&g){var P=o(E,L-1);if(P<=l)if(l=P,u=L-1,u>i)w=Math.max(1,2*i-u);else break}}if(o(E+1,i)>l)break;m=D}return u},r.prototype.match_alphabet_=function(n){for(var t={},i=0;i<n.length;i++)t[n.charAt(i)]=0;for(var i=0;i<n.length;i++)t[n.charAt(i)]|=1<<n.length-i-1;return t},r.prototype.patch_addContext_=function(n,t){if(t.length!=0){if(n.start2===null)throw Error("patch not initialized");for(var i=t.substring(n.start2,n.start2+n.length1),s=0;t.indexOf(i)!=t.lastIndexOf(i)&&i.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)s+=this.Patch_Margin,i=t.substring(n.start2-s,n.start2+n.length1+s);s+=this.Patch_Margin;var c=t.substring(n.start2-s,n.start2);c&&n.diffs.unshift(new r.Diff(_,c));var o=t.substring(n.start2+n.length1,n.start2+n.length1+s);o&&n.diffs.push(new r.Diff(_,o)),n.start1-=c.length,n.start2-=c.length,n.length1+=c.length+o.length,n.length2+=c.length+o.length}},r.prototype.patch_make=function(n,t,i){var s,c;if(typeof n=="string"&&typeof t=="string"&&typeof i=="undefined")s=n,c=this.diff_main(s,t,!0),c.length>2&&(this.diff_cleanupSemantic(c),this.diff_cleanupEfficiency(c));else if(n&&typeof n=="object"&&typeof t=="undefined"&&typeof i=="undefined")c=n,s=this.diff_text1(c);else if(typeof n=="string"&&t&&typeof t=="object"&&typeof i=="undefined")s=n,c=t;else if(typeof n=="string"&&typeof t=="string"&&i&&typeof i=="object")s=n,c=i;else throw new Error("Unknown call format to patch_make.");if(c.length===0)return[];for(var o=[],l=new r.patch_obj,u=0,g=0,d=0,p=s,v=s,m=0;m<c.length;m++){var E=c[m][0],w=c[m][1];switch(!u&&E!==_&&(l.start1=g,l.start2=d),E){case h:l.diffs[u++]=c[m],l.length2+=w.length,v=v.substring(0,d)+w+v.substring(d);break;case a:l.length1+=w.length,l.diffs[u++]=c[m],v=v.substring(0,d)+v.substring(d+w.length);break;case _:w.length<=2*this.Patch_Margin&&u&&c.length!=m+1?(l.diffs[u++]=c[m],l.length1+=w.length,l.length2+=w.length):w.length>=2*this.Patch_Margin&&u&&(this.patch_addContext_(l,p),o.push(l),l=new r.patch_obj,u=0,p=v,g=d);break}E!==h&&(g+=w.length),E!==a&&(d+=w.length)}return u&&(this.patch_addContext_(l,p),o.push(l)),o},r.prototype.patch_deepCopy=function(n){for(var t=[],i=0;i<n.length;i++){var s=n[i],c=new r.patch_obj;c.diffs=[];for(var o=0;o<s.diffs.length;o++)c.diffs[o]=new r.Diff(s.diffs[o][0],s.diffs[o][1]);c.start1=s.start1,c.start2=s.start2,c.length1=s.length1,c.length2=s.length2,t[i]=c}return t},r.prototype.patch_apply=function(n,t){if(n.length==0)return[t,[]];n=this.patch_deepCopy(n);var i=this.patch_addPadding(n);t=i+t+i,this.patch_splitMax(n);for(var s=0,c=[],o=0;o<n.length;o++){var l=n[o].start2+s,u=this.diff_text1(n[o].diffs),g,d=-1;if(u.length>this.Match_MaxBits?(g=this.match_main(t,u.substring(0,this.Match_MaxBits),l),g!=-1&&(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits),(d==-1||g>=d)&&(g=-1))):g=this.match_main(t,u,l),g==-1)c[o]=!1,s-=n[o].length2-n[o].length1;else{c[o]=!0,s=g-l;var p;if(d==-1?p=t.substring(g,g+u.length):p=t.substring(g,d+this.Match_MaxBits),u==p)t=t.substring(0,g)+this.diff_text2(n[o].diffs)+t.substring(g+u.length);else{var v=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(v)/u.length>this.Patch_DeleteThreshold)c[o]=!1;else{this.diff_cleanupSemanticLossless(v);for(var m=0,E,w=0;w<n[o].diffs.length;w++){var M=n[o].diffs[w];M[0]!==_&&(E=this.diff_xIndex(v,m)),M[0]===h?t=t.substring(0,g+E)+M[1]+t.substring(g+E):M[0]===a&&(t=t.substring(0,g+E)+t.substring(g+this.diff_xIndex(v,m+M[1].length))),M[0]!==a&&(m+=M[1].length)}}}}}return t=t.substring(i.length,t.length-i.length),[t,c]},r.prototype.patch_addPadding=function(n){for(var t=this.Patch_Margin,i="",s=1;s<=t;s++)i+=String.fromCharCode(s);for(var s=0;s<n.length;s++)n[s].start1+=t,n[s].start2+=t;var c=n[0],o=c.diffs;if(o.length==0||o[0][0]!=_)o.unshift(new r.Diff(_,i)),c.start1-=t,c.start2-=t,c.length1+=t,c.length2+=t;else if(t>o[0][1].length){var l=t-o[0][1].length;o[0][1]=i.substring(o[0][1].length)+o[0][1],c.start1-=l,c.start2-=l,c.length1+=l,c.length2+=l}if(c=n[n.length-1],o=c.diffs,o.length==0||o[o.length-1][0]!=_)o.push(new r.Diff(_,i)),c.length1+=t,c.length2+=t;else if(t>o[o.length-1][1].length){var l=t-o[o.length-1][1].length;o[o.length-1][1]+=i.substring(0,l),c.length1+=l,c.length2+=l}return i},r.prototype.patch_splitMax=function(n){for(var t=this.Match_MaxBits,i=0;i<n.length;i++)if(!(n[i].length1<=t)){var s=n[i];n.splice(i--,1);for(var c=s.start1,o=s.start2,l="";s.diffs.length!==0;){var u=new r.patch_obj,g=!0;for(u.start1=c-l.length,u.start2=o-l.length,l!==""&&(u.length1=u.length2=l.length,u.diffs.push(new r.Diff(_,l)));s.diffs.length!==0&&u.length1<t-this.Patch_Margin;){var d=s.diffs[0][0],p=s.diffs[0][1];d===h?(u.length2+=p.length,o+=p.length,u.diffs.push(s.diffs.shift()),g=!1):d===a&&u.diffs.length==1&&u.diffs[0][0]==_&&p.length>2*t?(u.length1+=p.length,c+=p.length,g=!1,u.diffs.push(new r.Diff(d,p)),s.diffs.shift()):(p=p.substring(0,t-u.length1-this.Patch_Margin),u.length1+=p.length,c+=p.length,d===_?(u.length2+=p.length,o+=p.length):g=!1,u.diffs.push(new r.Diff(d,p)),p==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(p.length))}l=this.diff_text2(u.diffs),l=l.substring(l.length-this.Patch_Margin);var v=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);v!==""&&(u.length1+=v.length,u.length2+=v.length,u.diffs.length!==0&&u.diffs[u.diffs.length-1][0]===_?u.diffs[u.diffs.length-1][1]+=v:u.diffs.push(new r.Diff(_,v))),g||n.splice(++i,0,u)}}},r.prototype.patch_toText=function(n){for(var t=[],i=0;i<n.length;i++)t[i]=n[i];return t.join("")},r.prototype.patch_fromText=function(n){var t=[];if(!n)return t;for(var i=n.split(`
|
|
5
|
+
`),s=0,c=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;s<i.length;){var o=i[s].match(c);if(!o)throw new Error("Invalid patch string: "+i[s]);var l=new r.patch_obj;for(t.push(l),l.start1=parseInt(o[1],10),o[2]===""?(l.start1--,l.length1=1):o[2]=="0"?l.length1=0:(l.start1--,l.length1=parseInt(o[2],10)),l.start2=parseInt(o[3],10),o[4]===""?(l.start2--,l.length2=1):o[4]=="0"?l.length2=0:(l.start2--,l.length2=parseInt(o[4],10)),s++;s<i.length;){var u=i[s].charAt(0);try{var g=decodeURI(i[s].substring(1))}catch(d){throw new Error("Illegal escape in patch_fromText: "+g)}if(u=="-")l.diffs.push(new r.Diff(a,g));else if(u=="+")l.diffs.push(new r.Diff(h,g));else if(u==" ")l.diffs.push(new r.Diff(_,g));else{if(u=="@")break;if(u!=="")throw new Error('Invalid patch mode "'+u+'" in: '+g)}s++}}return t},r.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},r.patch_obj.prototype.toString=function(){var n,t;this.length1===0?n=this.start1+",0":this.length1==1?n=this.start1+1:n=this.start1+1+","+this.length1,this.length2===0?t=this.start2+",0":this.length2==1?t=this.start2+1:t=this.start2+1+","+this.length2;for(var i=["@@ -"+n+" +"+t+` @@
|
|
6
|
+
`],s,c=0;c<this.diffs.length;c++){switch(this.diffs[c][0]){case h:s="+";break;case a:s="-";break;case _:s=" ";break}i[c+1]=s+encodeURI(this.diffs[c][1])+`
|
|
7
|
+
`}return i.join("").replace(/%20/g," ")},e.exports=r,e.exports.diff_match_patch=r,e.exports.DIFF_DELETE=a,e.exports.DIFF_INSERT=h,e.exports.DIFF_EQUAL=_})(Je)),Je.exports}var Ve=ft(),en,bn;function gt(){if(bn)return en;bn=1;function e(f){return f instanceof Map?f.clear=f.delete=f.set=function(){throw new Error("map is read-only")}:f instanceof Set&&(f.add=f.clear=f.delete=function(){throw new Error("set is read-only")}),Object.freeze(f),Object.getOwnPropertyNames(f).forEach(b=>{const T=f[b],x=typeof T;(x==="object"||x==="function")&&!Object.isFrozen(T)&&e(T)}),f}class r{constructor(b){b.data===void 0&&(b.data={}),this.data=b.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(f){return f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function h(f,...b){const T=Object.create(null);for(const x in f)T[x]=f[x];return b.forEach(function(x){for(const j in x)T[j]=x[j]}),T}const _="</span>",n=f=>!!f.scope,t=(f,{prefix:b})=>{if(f.startsWith("language:"))return f.replace("language:","language-");if(f.includes(".")){const T=f.split(".");return[`${b}${T.shift()}`,...T.map((x,j)=>`${x}${"_".repeat(j+1)}`)].join(" ")}return`${b}${f}`};class i{constructor(b,T){this.buffer="",this.classPrefix=T.classPrefix,b.walk(this)}addText(b){this.buffer+=a(b)}openNode(b){if(!n(b))return;const T=t(b.scope,{prefix:this.classPrefix});this.span(T)}closeNode(b){n(b)&&(this.buffer+=_)}value(){return this.buffer}span(b){this.buffer+=`<span class="${b}">`}}const s=(f={})=>{const b={children:[]};return Object.assign(b,f),b};class c{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(b){this.top.children.push(b)}openNode(b){const T=s({scope:b});this.add(T),this.stack.push(T)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(b){return this.constructor._walk(b,this.rootNode)}static _walk(b,T){return typeof T=="string"?b.addText(T):T.children&&(b.openNode(T),T.children.forEach(x=>this._walk(b,x)),b.closeNode(T)),b}static _collapse(b){typeof b!="string"&&b.children&&(b.children.every(T=>typeof T=="string")?b.children=[b.children.join("")]:b.children.forEach(T=>{c._collapse(T)}))}}class o extends c{constructor(b){super(),this.options=b}addText(b){b!==""&&this.add(b)}startScope(b){this.openNode(b)}endScope(){this.closeNode()}__addSublanguage(b,T){const x=b.root;T&&(x.scope=`language:${T}`),this.add(x)}toHTML(){return new i(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(f){return f?typeof f=="string"?f:f.source:null}function u(f){return p("(?=",f,")")}function g(f){return p("(?:",f,")*")}function d(f){return p("(?:",f,")?")}function p(...f){return f.map(T=>l(T)).join("")}function v(f){const b=f[f.length-1];return typeof b=="object"&&b.constructor===Object?(f.splice(f.length-1,1),b):{}}function m(...f){return"("+(v(f).capture?"":"?:")+f.map(x=>l(x)).join("|")+")"}function E(f){return new RegExp(f.toString()+"|").exec("").length-1}function w(f,b){const T=f&&f.exec(b);return T&&T.index===0}const M=new RegExp(m(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function D(f,{joinWith:b}){let T=0;return f.map(x=>{T+=1;const j=T;let Y=l(x),C="";for(;Y.length>0;){const S=M.exec(Y);if(!S){C+=Y;break}C+=Y.substring(0,S.index),Y=Y.substring(S.index+S[0].length),S[0][0]==="\\"&&S[1]?C+="\\"+String(Number(S[1])+j):(C+=S[0],(S[0]==="("||/^\(\?[<']/.test(S[0]))&&T++)}return C}).map(x=>`(${x})`).join(b)}const L=/\b\B/,I="[a-zA-Z]\\w*",P="[a-zA-Z_]\\w*",R="\\b\\d+(\\.\\d+)?",B="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",H="\\b(0b[01]+)",G="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Z=(f={})=>{const b=/^#![ ]*\//;return f.binary&&(f.begin=p(b,/.*\b/,f.binary,/\b.*/)),h({scope:"meta",begin:b,end:/$/,relevance:0,"on:begin":(T,x)=>{T.index!==0&&x.ignoreMatch()}},f)},J={begin:"\\\\[\\s\\S]",relevance:0},ke={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[J]},Ne={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[J]},Ie={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/},V=function(f,b,T={}){const x=h({scope:"comment",begin:f,end:b,contains:[]},T);x.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const j=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return x.contains.push({begin:p(/[ ]+/,"(",j,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),x},ue=V("//","$"),Ee=V("/\\*","\\*/"),Me=V("#","$"),$e={scope:"number",begin:R,relevance:0},Fe={scope:"number",begin:B,relevance:0},Er={scope:"number",begin:H,relevance:0},yr={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[J,{begin:/\[/,end:/\]/,relevance:0,contains:[J]}]},wr={scope:"title",begin:I,relevance:0},Tr={scope:"title",begin:P,relevance:0},Nr={begin:"\\.\\s*"+P,relevance:0};var ze=Object.freeze({__proto__:null,APOS_STRING_MODE:ke,BACKSLASH_ESCAPE:J,BINARY_NUMBER_MODE:Er,BINARY_NUMBER_RE:H,COMMENT:V,C_BLOCK_COMMENT_MODE:Ee,C_LINE_COMMENT_MODE:ue,C_NUMBER_MODE:Fe,C_NUMBER_RE:B,END_SAME_AS_BEGIN:function(f){return Object.assign(f,{"on:begin":(b,T)=>{T.data._beginMatch=b[1]},"on:end":(b,T)=>{T.data._beginMatch!==b[1]&&T.ignoreMatch()}})},HASH_COMMENT_MODE:Me,IDENT_RE:I,MATCH_NOTHING_RE:L,METHOD_GUARD:Nr,NUMBER_MODE:$e,NUMBER_RE:R,PHRASAL_WORDS_MODE:Ie,QUOTE_STRING_MODE:Ne,REGEXP_MODE:yr,RE_STARTERS_RE:G,SHEBANG:Z,TITLE_MODE:wr,UNDERSCORE_IDENT_RE:P,UNDERSCORE_TITLE_MODE:Tr});function Mr(f,b){f.input[f.index-1]==="."&&b.ignoreMatch()}function Dr(f,b){f.className!==void 0&&(f.scope=f.className,delete f.className)}function Sr(f,b){b&&f.beginKeywords&&(f.begin="\\b("+f.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",f.__beforeBegin=Mr,f.keywords=f.keywords||f.beginKeywords,delete f.beginKeywords,f.relevance===void 0&&(f.relevance=0))}function Ar(f,b){Array.isArray(f.illegal)&&(f.illegal=m(...f.illegal))}function Lr(f,b){if(f.match){if(f.begin||f.end)throw new Error("begin & end are not supported with match");f.begin=f.match,delete f.match}}function Rr(f,b){f.relevance===void 0&&(f.relevance=1)}const Cr=(f,b)=>{if(!f.beforeMatch)return;if(f.starts)throw new Error("beforeMatch cannot be used with starts");const T=Object.assign({},f);Object.keys(f).forEach(x=>{delete f[x]}),f.keywords=T.keywords,f.begin=p(T.beforeMatch,u(T.begin)),f.starts={relevance:0,contains:[Object.assign(T,{endsParent:!0})]},f.relevance=0,delete T.beforeMatch},Or=["of","and","for","in","not","or","if","then","parent","list","value"],kr="keyword";function Un(f,b,T=kr){const x=Object.create(null);return typeof f=="string"?j(T,f.split(" ")):Array.isArray(f)?j(T,f):Object.keys(f).forEach(function(Y){Object.assign(x,Un(f[Y],b,Y))}),x;function j(Y,C){b&&(C=C.map(S=>S.toLowerCase())),C.forEach(function(S){const $=S.split("|");x[$[0]]=[Y,Ir($[0],$[1])]})}}function Ir(f,b){return b?Number(b):$r(f)?0:1}function $r(f){return Or.includes(f.toLowerCase())}const Pn={},ye=f=>{console.error(f)},Fn=(f,...b)=>{console.log(`WARN: ${f}`,...b)},De=(f,b)=>{Pn[`${f}/${b}`]||(console.log(`Deprecated as of ${f}. ${b}`),Pn[`${f}/${b}`]=!0)},He=new Error;function zn(f,b,{key:T}){let x=0;const j=f[T],Y={},C={};for(let S=1;S<=b.length;S++)C[S+x]=j[S],Y[S+x]=!0,x+=E(b[S-1]);f[T]=C,f[T]._emit=Y,f[T]._multi=!0}function Br(f){if(Array.isArray(f.begin)){if(f.skip||f.excludeBegin||f.returnBegin)throw ye("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),He;if(typeof f.beginScope!="object"||f.beginScope===null)throw ye("beginScope must be object"),He;zn(f,f.begin,{key:"beginScope"}),f.begin=D(f.begin,{joinWith:""})}}function xr(f){if(Array.isArray(f.end)){if(f.skip||f.excludeEnd||f.returnEnd)throw ye("skip, excludeEnd, returnEnd not compatible with endScope: {}"),He;if(typeof f.endScope!="object"||f.endScope===null)throw ye("endScope must be object"),He;zn(f,f.end,{key:"endScope"}),f.end=D(f.end,{joinWith:""})}}function Ur(f){f.scope&&typeof f.scope=="object"&&f.scope!==null&&(f.beginScope=f.scope,delete f.scope)}function Pr(f){Ur(f),typeof f.beginScope=="string"&&(f.beginScope={_wrap:f.beginScope}),typeof f.endScope=="string"&&(f.endScope={_wrap:f.endScope}),Br(f),xr(f)}function Fr(f){function b(C,S){return new RegExp(l(C),"m"+(f.case_insensitive?"i":"")+(f.unicodeRegex?"u":"")+(S?"g":""))}class T{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(S,$){$.position=this.position++,this.matchIndexes[this.matchAt]=$,this.regexes.push([$,S]),this.matchAt+=E(S)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const S=this.regexes.map($=>$[1]);this.matcherRe=b(D(S,{joinWith:"|"}),!0),this.lastIndex=0}exec(S){this.matcherRe.lastIndex=this.lastIndex;const $=this.matcherRe.exec(S);if(!$)return null;const ne=$.findIndex((Be,ln)=>ln>0&&Be!==void 0),X=this.matchIndexes[ne];return $.splice(0,ne),Object.assign($,X)}}class x{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(S){if(this.multiRegexes[S])return this.multiRegexes[S];const $=new T;return this.rules.slice(S).forEach(([ne,X])=>$.addRule(ne,X)),$.compile(),this.multiRegexes[S]=$,$}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(S,$){this.rules.push([S,$]),$.type==="begin"&&this.count++}exec(S){const $=this.getMatcher(this.regexIndex);$.lastIndex=this.lastIndex;let ne=$.exec(S);if(this.resumingScanAtSamePosition()&&!(ne&&ne.index===this.lastIndex)){const X=this.getMatcher(0);X.lastIndex=this.lastIndex+1,ne=X.exec(S)}return ne&&(this.regexIndex+=ne.position+1,this.regexIndex===this.count&&this.considerAll()),ne}}function j(C){const S=new x;return C.contains.forEach($=>S.addRule($.begin,{rule:$,type:"begin"})),C.terminatorEnd&&S.addRule(C.terminatorEnd,{type:"end"}),C.illegal&&S.addRule(C.illegal,{type:"illegal"}),S}function Y(C,S){const $=C;if(C.isCompiled)return $;[Dr,Lr,Pr,Cr].forEach(X=>X(C,S)),f.compilerExtensions.forEach(X=>X(C,S)),C.__beforeBegin=null,[Sr,Ar,Rr].forEach(X=>X(C,S)),C.isCompiled=!0;let ne=null;return typeof C.keywords=="object"&&C.keywords.$pattern&&(C.keywords=Object.assign({},C.keywords),ne=C.keywords.$pattern,delete C.keywords.$pattern),ne=ne||/\w+/,C.keywords&&(C.keywords=Un(C.keywords,f.case_insensitive)),$.keywordPatternRe=b(ne,!0),S&&(C.begin||(C.begin=/\B|\b/),$.beginRe=b($.begin),!C.end&&!C.endsWithParent&&(C.end=/\B|\b/),C.end&&($.endRe=b($.end)),$.terminatorEnd=l($.end)||"",C.endsWithParent&&S.terminatorEnd&&($.terminatorEnd+=(C.end?"|":"")+S.terminatorEnd)),C.illegal&&($.illegalRe=b(C.illegal)),C.contains||(C.contains=[]),C.contains=[].concat(...C.contains.map(function(X){return zr(X==="self"?C:X)})),C.contains.forEach(function(X){Y(X,$)}),C.starts&&Y(C.starts,S),$.matcher=j($),$}if(f.compilerExtensions||(f.compilerExtensions=[]),f.contains&&f.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return f.classNameAliases=h(f.classNameAliases||{}),Y(f)}function Hn(f){return f?f.endsWithParent||Hn(f.starts):!1}function zr(f){return f.variants&&!f.cachedVariants&&(f.cachedVariants=f.variants.map(function(b){return h(f,{variants:null},b)})),f.cachedVariants?f.cachedVariants:Hn(f)?h(f,{starts:f.starts?h(f.starts):null}):Object.isFrozen(f)?h(f):f}var Hr="11.12.0";class Gr extends Error{constructor(b,T){super(b),this.name="HTMLInjectionError",this.html=T}}const on=a,Gn=h,Kn=Symbol("nomatch"),Kr=7,qn=function(f){const b=Object.create(null),T=Object.create(null),x=[];let j=!0;const Y="Could not find the language '{}', did you forget to load/include a language module?",C={disableAutodetect:!0,name:"Plain text",contains:[]};let S={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:o};function $(y){return S.noHighlightRe.test(y)}function ne(y){let k=y.className+" ";k+=y.parentNode?y.parentNode.className:"";const z=S.languageDetectRe.exec(k);if(z){const W=ve(z[1]);return W||(Fn(Y.replace("{}",z[1])),Fn("Falling back to no-highlight mode for this block.",y)),W?z[1]:"no-highlight"}return k.split(/\s+/).find(W=>$(W)||ve(W))}function X(y,k,z){let W="",ee="";typeof k=="object"?(W=y,z=k.ignoreIllegals,ee=k.language):(De("10.7.0","highlight(lang, code, ...args) has been deprecated."),De("10.7.0",`Please use highlight(code, options) instead.
|
|
8
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),ee=y,W=k),z===void 0&&(z=!0);const oe={code:W,language:ee};Ke("before:highlight",oe);const me=oe.result?oe.result:Be(oe.language,oe.code,z);return me.code=oe.code,Ke("after:highlight",me),me}function Be(y,k,z,W){const ee=Object.create(null);function oe(N,O){return N.keywords[O]}function me(){if(!U.keywords){te.addText(Q);return}let N=0;U.keywordPatternRe.lastIndex=0;let O=U.keywordPatternRe.exec(Q),F="";for(;O;){F+=Q.substring(N,O.index);const K=ge.case_insensitive?O[0].toLowerCase():O[0],re=oe(U,K);if(re){const[pe,oi]=re;if(te.addText(F),F="",ee[K]=(ee[K]||0)+1,ee[K]<=Kr&&(Qe+=oi),pe.startsWith("_"))F+=O[0];else{const li=ge.classNameAliases[pe]||pe;fe(O[0],li)}}else F+=O[0];N=U.keywordPatternRe.lastIndex,O=U.keywordPatternRe.exec(Q)}F+=Q.substring(N),te.addText(F)}function qe(){if(Q==="")return;let N=null;if(typeof U.subLanguage=="string"){if(!b[U.subLanguage]){te.addText(Q);return}N=Be(U.subLanguage,Q,!0,Vn[U.subLanguage]),Vn[U.subLanguage]=N._top}else N=cn(Q,U.subLanguage.length?U.subLanguage:null);U.relevance>0&&(Qe+=N.relevance),te.__addSublanguage(N._emitter,N.language)}function ie(){U.subLanguage!=null?qe():me(),Q=""}function fe(N,O){N!==""&&(te.startScope(O),te.addText(N),te.endScope())}function Yn(N,O){let F=1;const K=O.length-1;for(;F<=K;){if(!N._emit[F]){F++;continue}const re=ge.classNameAliases[N[F]]||N[F],pe=O[F];re?fe(pe,re):(Q=pe,me(),Q=""),F++}}function Zn(N,O){return N.scope&&typeof N.scope=="string"&&te.openNode(ge.classNameAliases[N.scope]||N.scope),N.beginScope&&(N.beginScope._wrap?(fe(Q,ge.classNameAliases[N.beginScope._wrap]||N.beginScope._wrap),Q=""):N.beginScope._multi&&(Yn(N.beginScope,O),Q="")),U=Object.create(N,{parent:{value:U}}),U}function Xn(N,O,F){let K=w(N.endRe,F);if(K){if(N["on:end"]){const re=new r(N);N["on:end"](O,re),re.isMatchIgnored&&(K=!1)}if(K){for(;N.endsParent&&N.parent;)N=N.parent;return N}}if(N.endsWithParent)return Xn(N.parent,O,F)}function ti(N){return U.matcher.regexIndex===0?(Q+=N[0],1):(hn=!0,0)}function ri(N){const O=N[0],F=N.rule,K=new r(F),re=[F.__beforeBegin,F["on:begin"]];for(const pe of re)if(pe&&(pe(N,K),K.isMatchIgnored))return ti(O);return F.skip?Q+=O:(F.excludeBegin&&(Q+=O),ie(),!F.returnBegin&&!F.excludeBegin&&(Q=O)),Zn(F,N),F.returnBegin?0:O.length}function ii(N){const O=N[0],F=k.substring(N.index),K=Xn(U,N,F);if(!K)return Kn;const re=U;U.endScope&&U.endScope._wrap?(ie(),fe(O,U.endScope._wrap)):U.endScope&&U.endScope._multi?(ie(),Yn(U.endScope,N)):re.skip?Q+=O:(re.returnEnd||re.excludeEnd||(Q+=O),ie(),re.excludeEnd&&(Q=O));do U.scope&&te.closeNode(),!U.skip&&!U.subLanguage&&(Qe+=U.relevance),U=U.parent;while(U!==K.parent);return K.starts&&Zn(K.starts,N),re.returnEnd?0:O.length}function si(){const N=[];for(let O=U;O!==ge;O=O.parent)O.scope&&N.unshift(O.scope);N.forEach(O=>te.openNode(O))}let We={};function Jn(N,O){const F=O&&O[0];if(Q+=N,F==null)return ie(),0;if(We.type==="begin"&&O.type==="end"&&We.index===O.index&&F===""){if(Q+=k.slice(O.index,O.index+1),!j){const K=new Error(`0 width match regex (${y})`);throw K.languageName=y,K.badRule=We.rule,K}return 1}if(We=O,O.type==="begin")return ri(O);if(O.type==="illegal"&&!z){const K=new Error('Illegal lexeme "'+F+'" for mode "'+(U.scope||"<unnamed>")+'"');throw K.mode=U,K}else if(O.type==="end"){const K=ii(O);if(K!==Kn)return K}if(O.type==="illegal"&&F==="")return O.index===k.length||(Q+=`
|
|
9
|
+
`),1;if(gn>1e5&&gn>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Q+=F,F.length}const ge=ve(y);if(!ge)throw ye(Y.replace("{}",y)),new Error('Unknown language: "'+y+'"');const ai=Fr(ge);let fn="",U=W||ai;const Vn={},te=new S.__emitter(S);si();let Q="",Qe=0,we=0,gn=0,hn=!1;try{if(ge.__emitTokens)ge.__emitTokens(k,te);else{for(U.matcher.considerAll();;){gn++,hn?hn=!1:U.matcher.considerAll(),U.matcher.lastIndex=we;const N=U.matcher.exec(k);if(!N)break;const O=k.substring(we,N.index),F=Jn(O,N);we=N.index+F}Jn(k.substring(we))}return te.finalize(),fn=te.toHTML(),{language:y,value:fn,relevance:Qe,illegal:!1,_emitter:te,_top:U}}catch(N){if(N.message&&N.message.includes("Illegal"))return{language:y,value:on(k),illegal:!0,relevance:0,_illegalBy:{message:N.message,index:we,context:k.slice(we-100,we+100),mode:N.mode,resultSoFar:fn},_emitter:te};if(j)return{language:y,value:on(k),illegal:!1,relevance:0,errorRaised:N,_emitter:te,_top:U};throw N}}function ln(y){const k={value:on(y),illegal:!1,relevance:0,_top:C,_emitter:new S.__emitter(S)};return k._emitter.addText(y),k}function cn(y,k){k=k||S.languages||Object.keys(b);const z=ln(y),W=k.filter(ve).filter(jn).map(ie=>Be(ie,y,!1));W.unshift(z);const ee=W.sort((ie,fe)=>{if(ie.relevance!==fe.relevance)return fe.relevance-ie.relevance;if(ie.language&&fe.language){if(ve(ie.language).supersetOf===fe.language)return 1;if(ve(fe.language).supersetOf===ie.language)return-1}return 0}),[oe,me]=ee,qe=oe;return qe.secondBest=me,qe}function qr(y,k,z){const W=k&&T[k]||z;y.classList.add("hljs"),y.classList.add(`language-${W}`)}function un(y){let k=null;const z=ne(y);if($(z))return;if(Ke("before:highlightElement",{el:y,language:z}),y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",y);return}if(y.children.length>0&&(S.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(y)),S.throwUnescapedHTML))throw new Gr("One of your code blocks includes unescaped HTML.",y.innerHTML);k=y;const W=k.textContent,ee=z?X(W,{language:z,ignoreIllegals:!0}):cn(W);y.innerHTML=ee.value,y.dataset.highlighted="yes",qr(y,z,ee.language),y.result={language:ee.language,re:ee.relevance,relevance:ee.relevance},ee.secondBest&&(y.secondBest={language:ee.secondBest.language,relevance:ee.secondBest.relevance}),Ke("after:highlightElement",{el:y,result:ee,text:W})}function Wr(y){S=Gn(S,y)}const Qr=()=>{Ge(),De("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function jr(){Ge(),De("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Wn=!1;function Ge(){function y(){Ge()}if(document.readyState==="loading"){Wn||window.addEventListener("DOMContentLoaded",y,!1),Wn=!0;return}document.querySelectorAll(S.cssSelector).forEach(un)}function Yr(y,k){let z=null;try{z=k(f)}catch(W){if(ye("Language definition for '{}' could not be registered.".replace("{}",y)),j)ye(W);else throw W;z=C}z.name||(z.name=y),b[y]=z,z.rawDefinition=k.bind(null,f),z.aliases&&Qn(z.aliases,{languageName:y})}function Zr(y){delete b[y];for(const k of Object.keys(T))T[k]===y&&delete T[k]}function Xr(){return Object.keys(b)}function ve(y){return y=(y||"").toLowerCase(),b[y]||b[T[y]]}function Qn(y,{languageName:k}){typeof y=="string"&&(y=[y]),y.forEach(z=>{T[z.toLowerCase()]=k})}function jn(y){const k=ve(y);return k&&!k.disableAutodetect}function Jr(y){y["before:highlightBlock"]&&!y["before:highlightElement"]&&(y["before:highlightElement"]=k=>{y["before:highlightBlock"](Object.assign({block:k.el},k))}),y["after:highlightBlock"]&&!y["after:highlightElement"]&&(y["after:highlightElement"]=k=>{y["after:highlightBlock"](Object.assign({block:k.el},k))})}function Vr(y){Jr(y),x.push(y)}function ei(y){const k=x.indexOf(y);k!==-1&&x.splice(k,1)}function Ke(y,k){const z=y;x.forEach(function(W){W[z]&&W[z](k)})}function ni(y){return De("10.7.0","highlightBlock will be removed entirely in v12.0"),De("10.7.0","Please use highlightElement now."),un(y)}Object.assign(f,{highlight:X,highlightAuto:cn,highlightAll:Ge,highlightElement:un,highlightBlock:ni,configure:Wr,initHighlighting:Qr,initHighlightingOnLoad:jr,registerLanguage:Yr,unregisterLanguage:Zr,listLanguages:Xr,getLanguage:ve,registerAliases:Qn,autoDetection:jn,inherit:Gn,addPlugin:Vr,removePlugin:ei}),f.debugMode=function(){j=!1},f.safeMode=function(){j=!0},f.versionString=Hr,f.regex={concat:p,lookahead:u,either:m,optional:d,anyNumberOfTimes:g};for(const y in ze)typeof ze[y]=="object"&&e(ze[y]);return Object.assign(f,ze),f},Se=qn({});return Se.newInstance=()=>qn({}),en=Se,Se.HighlightJS=Se,Se.default=Se,en}var ht=gt();const se=ut(ht);function dt(e){const r=e.regex,a=r.concat(/[\p{L}_]/u,r.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),h=/[\p{L}0-9._:-]+/u,_={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},n={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},t=e.inherit(n,{begin:/\(/,end:/\)/}),i=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:h,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[_]},{begin:/'/,end:/'/,contains:[_]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[n,s,i,t,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[n,t,s,i]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},_,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r.concat(/</,r.lookahead(r.concat(a,r.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:c}]},{className:"tag",begin:r.concat(/<\//,r.lookahead(r.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const vn="[A-Za-z$_][0-9A-Za-z$_]*",pt=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],_t=["true","false","null","undefined","NaN","Infinity"],mn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],En=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],yn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],bt=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],vt=[].concat(yn,mn,En);function mt(e){const r=e.regex,a=(V,{after:ue})=>{const Ee="</"+V[0].slice(1);return V.input.indexOf(Ee,ue)!==-1},h=vn,_={begin:"<>",end:"</>"},n=/<[A-Za-z0-9\\._:-]+\s*\/>/,t={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,ue)=>{const Ee=V[0].length+V.index,Me=V.input[Ee];if(Me==="<"||Me===","){ue.ignoreMatch();return}Me===">"&&(a(V,{after:Ee})||ue.ignoreMatch());let $e;const Fe=V.input.substring(Ee);if($e=Fe.match(/^\s*=/)){ue.ignoreMatch();return}if(($e=Fe.match(/^\s+extends\s+/))&&$e.index===0){ue.ignoreMatch();return}}},i={$pattern:vn,keyword:pt,literal:_t,built_in:vt,"variable.language":bt},s="[0-9](_?[0-9])*",c=`\\.(${s})`,o="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${o})((${c})|\\.)?|(${c}))[eE][+-]?(${s})\\b`},{begin:`\\b(${o})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},d={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},E={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},w=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,p,v,{match:/\$\d+/},l];u.contains=w.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(w)});const M=[].concat(E,u.contains),D=M.concat([{begin:/(\s*)\(/,end:/\)/,keywords:i,contains:["self"].concat(M)}]),L={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:D},I={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,r.concat(h,"(",r.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},P={relevance:0,match:r.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...mn,...En]}},R={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[L],illegal:/%/},H={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function G(V){return r.concat("(?!",V.join("|"),")")}const Z={match:r.concat(/\b/,G([...yn,"super","import","await"].map(V=>`${V}\\s*\\(`)),h,r.lookahead(/\s*\(/)),className:"title.function",relevance:0},J={begin:r.concat(/\./,r.lookahead(r.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ke={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},L]},Ne="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",Ie={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,r.lookahead(Ne)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[L]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:D,CLASS_REFERENCE:P},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,d,p,v,E,{match:/\$\d+/},l,P,{scope:"attr",match:h+r.lookahead(":"),relevance:0},Ie,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:Ne,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:D}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:n},{begin:t.begin,"on:begin":t.isTrulyOpeningTag,end:t.end}],subLanguage:"xml",contains:[{begin:t.begin,end:t.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[L,e.inherit(e.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[L]},Z,H,I,ke,{match:/\$[(.]/}]}}const Et={scope:"number",match:"([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",relevance:0};function yt(e){const r={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},h=["true","false","null"],_={scope:"literal",beginKeywords:h.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:h},contains:[r,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,Et,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function wt(e){const r="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",h={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},_={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},n={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},t={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,_]},i=e.inherit(t,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),u={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},d={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},v=[h,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},u,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},d,p,n,t],m=[...v];return m.pop(),m.push(i),g.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}function Tt(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function Nt(e){const r=e.regex,a=/[\p{XID_Start}_]\p{XID_Continue}*/u,h=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:h,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},s={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},o={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,s],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,s,o,c]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s,o,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,c]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,c]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},u="[0-9](_?[0-9])*",g=`(\\b(${u}))?\\.(${u})|\\b(${u})\\.`,d=`\\b|${h.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${u})|(${g}))[eE][+-]?(${u})[jJ]?(?=${d})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${u})[jJ](?=${d})`}]},v={className:"comment",begin:r.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",s,p,l,e.HASH_COMMENT_MODE]}]};return c.contains=[l,p,s],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[s,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,v,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,m,l]}]}}var Te="[0-9](_*[0-9])*",Ue=`\\.(${Te})`,Pe="[0-9a-fA-F](_*[0-9a-fA-F])*",wn={className:"number",variants:[{begin:`(\\b(${Te})((${Ue})|\\.)?|(${Ue}))[eE][+-]?(${Te})[fFdD]?\\b`},{begin:`\\b(${Te})((${Ue})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Ue})[fFdD]?\\b`},{begin:`\\b(${Te})[fFdD]\\b`},{begin:`\\b0[xX]((${Pe})\\.?|(${Pe})?\\.(${Pe}))[pP][+-]?(${Te})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Pe})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Tn(e,r,a){return a===-1?"":e.replace(r,h=>Tn(e,r,a-1))}function Mt(e){const r=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",h="(?:(?:\\s*\\[\\s*])+)?",_=a+"<@@@>"+h,t="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+_+")?")+"|"+_+")",i=Tn("(?:\\s*<\\s*"+t+"(?:\\s*,\\s*"+t+")*\\s*>)?",/<@@@>/g,2),u={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},g={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},d={className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:u,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[a,r.concat(i,h,/\s+/),a,h,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{begin:[a,r.concat(i,h,/\s+/),a,/\s*(?=\()/],className:{1:"type",3:"title.function"},keywords:u,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[g,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,wn,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},wn,g]}}function Dt(e){const r=e.regex,a={},h={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:r.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},h]});const _={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},n=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),t={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,_]};_.contains.push(i);const s={match:/\\"/},c={className:"string",begin:/'/,end:/'/},o={match:/\\'/},l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],g=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},p=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],m={match:/(\/[a-z._-]+)+/},E=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],w=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],M=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],D=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:p,literal:v,built_in:[...E,...w,"set","shopt",...M,...D]},contains:[g,e.SHEBANG(),d,l,n,t,m,i,s,c,o,a]}}function St(e){const r=e.regex,a=e.COMMENT("--","$"),h={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},_={begin:/"/,end:/"/,contains:[{match:/""/}]},n=["true","false","unknown"],t=["double precision","large object","with timezone","without timezone"],i=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],s=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],o=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],l=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],u=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=o,d=[...c,...s].filter(D=>!o.includes(D)),p={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},m={match:r.concat(/\b/,r.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function E(D){return r.concat(/\b/,r.either(...D.map(L=>L.replace(/\s+/,"\\s+"))),/\b/)}const w={scope:"keyword",match:E(u),relevance:0};function M(D,{exceptions:L,when:I}={}){const P=I;return L=L||[],D.map(R=>R.match(/\|\d+$/)||L.includes(R)?R:P(R)?`${R}|0`:R)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:M(d,{when:D=>D.length<3}),literal:n,type:i,built_in:l},contains:[{scope:"type",match:E(t)},w,m,p,h,_,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,v]}}se.registerLanguage("xml",dt),se.registerLanguage("javascript",mt),se.registerLanguage("json",yt),se.registerLanguage("yaml",wt),se.registerLanguage("plaintext",Tt),se.registerLanguage("python",Nt),se.registerLanguage("java",Mt),se.registerLanguage("bash",Dt),se.registerLanguage("sql",St);var A=(e=>(e.EQUAL="equal",e.DELETE="removed",e.ADD="added",e.EMPTY="empty",e))(A||{});const le="<code-diff-modified>",ce="</code-diff-modified>",At=1e4,ae=1e3,Nn=le.replace("<","<").replace(">",">"),Mn=ce.replace("<","<").replace(">",">");function Lt(e){const r={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,a=>r[a])}function _e(e){return e===void 0?A.EQUAL:e.added?A.ADD:e.removed?A.DELETE:A.EQUAL}function Dn(e,r,a="word",h=!1){if(typeof e=="undefined"||typeof r=="undefined")return[e,r];if(!h&&e.length+r.length>At)return[e,r];const n=(a==="char"?rt:st)(e,r),t=n.filter(s=>_e(s)!==A.ADD).map(s=>_e(s)===A.DELETE?`${le}${s.value}${ce}`:s.value).join(""),i=n.filter(s=>_e(s)!==A.DELETE).map(s=>_e(s)===A.ADD?`${le}${s.value}${ce}`:s.value).join("");return[t,i]}function Sn(e,r){if(e===r)return e?[{count:e.replace(/\n$/,"").split(`
|
|
10
|
+
`).length,value:e}]:[];const a=e.endsWith(`
|
|
11
|
+
`),h=r.endsWith(`
|
|
12
|
+
`);a!==h&&(a?e=e.slice(0,-1):r=r.slice(0,-1)),e&&(e+=`
|
|
13
|
+
`),r&&(r+=`
|
|
14
|
+
`);let _;if(e.length+r.length>=1e5&&e.includes(`
|
|
15
|
+
`)&&r.includes(`
|
|
16
|
+
`)){const n=e?e.replace(/\n$/,"").split(`
|
|
17
|
+
`):[],t=r?r.replace(/\n$/,"").split(`
|
|
18
|
+
`):[],i=new Set(n),s=new Set(t),[c,o]=i.size<s.size?[i,s]:[s,i];let l=0;for(const p of c)o.has(p)&&l++;const u=c.size?l/c.size:0,g=i.size>=4e4||i.size+s.size-l>=65535,d=i.size+s.size-l*2;u<.01||g&&d>200?(_=[],e&&_.push({count:n.length,value:e,removed:!0}),r&&_.push({count:t.length,value:r,added:!0})):g&&(_=at(e,r))}if(!_){const n=new Ve.diff_match_patch,t=n.diff_linesToChars_(e,r),i=t.chars1,s=t.chars2,c=t.lineArray,o=n.diff_main(i,s,!1);n.diff_charsToLines_(o,c),_=o.map(l=>{const[u,g]=l;return{count:g.replace(/\n$/,"").split(`
|
|
19
|
+
`).length,value:g,removed:u===Ve.DIFF_DELETE,added:u===Ve.DIFF_INSERT}})}return a!==h&&_.push({count:1,value:"",removed:a,added:h}),_}function nn(e,r){if(typeof document=="undefined"||e==="plaintext")return Lt(r).replace(new RegExp(Nn,"g"),'<span class="x">').replace(new RegExp(Mn,"g"),"</span>");if(!r.match(new RegExp(`(${le}|${ce})`,"g")))return se.highlight(r,{language:e}).value;let h=r;const _=r.replace(new RegExp(`(${le}|${ce})`,"g"),""),n=document.createElement("div");n.innerHTML=se.highlight(_,{language:e}).value;let t=!1;const i=s=>{s.childNodes.forEach(c=>{if(c.nodeType===Node.ELEMENT_NODE&&i(c),c.nodeType===Node.TEXT_NODE){if(!c.textContent)return;let o=c.textContent,l="";for(t&&(l=l+le);o.length;){if(h.startsWith(le)){h=h.slice(le.length),l=l+le,t=!0;continue}if(h.startsWith(ce)){h=h.slice(ce.length),l=l+ce,t=!1;continue}const u=h.match(new RegExp(`(${le}|${ce})`)),g=u&&u.index?u.index:h.length,d=Math.min(g,o.length);l=l+h.substring(0,d),h=h.slice(d),o=o.slice(d)}t&&(l=l+ce),c.textContent=l}})};return i(n),n.innerHTML.replace(new RegExp(Nn,"g"),'<span class="x">').replace(new RegExp(Mn,"g"),"</span>")}function tn(e,r){e.highlighted||(e.code=nn(r,e.code),e.highlighted=!0)}function rn(e,r){if(e.highlighted)return;const a=e.left.code;a!==void 0&&(e.left.code=nn(r,a)),e.right.code!==void 0&&(e.right.code=e.left.type===A.EQUAL&&e.right.type===A.EQUAL&&e.right.code===a?e.left.code:nn(r,e.right.code)),e.highlighted=!0}function An(e,r){var s,c;const a=(o,l)=>(o.match(new RegExp(l,"g"))||[]).length,h=o=>o.filter(l=>r==null?void 0:r.test(l)).length;let _=0,n=0,t=0,i=0;for(const o of e){if(o.added){if(!r){_+=(s=o.count)!=null?s:0;continue}const l=h(o.value.trim().split(`
|
|
20
|
+
`));_+=a(o.value.trim(),`
|
|
21
|
+
`)+1-l,t+=l;continue}if(o.removed){if(!r){n+=(c=o.count)!=null?c:0;continue}const l=h(o.value.trim().split(`
|
|
22
|
+
`));n+=a(o.value.trim(),`
|
|
23
|
+
`)+1-l,i+=l;continue}}return{additionsNum:_,deletionsNum:n,ignoreAdditionsNum:t,ignoreDeletionsNum:i}}function Rt(e,r,a="plaintext",h="word",_=!1,n=10,t){const i=()=>({type:A.EMPTY}),s=(E,w,M)=>({type:E,num:w,code:M}),c=Sn(e,r),o=t?new RegExp(t):void 0;let l=0,u=0,g=!1;const d=[],p={changes:d,collector:[],stat:An(c,o)};for(let E=0;E<c.length;E++){if(g){g=!1;continue}const[w,M]=[c[E],c[E+1]],[D,L]=[_e(w),_e(M)],I=w.value.replace(/\n$/,"").split(`
|
|
24
|
+
`);if(M===void 0){for(const R of I){let B=i(),H=i();D===A.EQUAL&&(l++,u++,B=s(A.EQUAL,l,R),H=s(A.EQUAL,u,R)),D===A.DELETE&&(l++,B=s(A.DELETE,l,R),H=i()),D===A.ADD&&(u++,B=i(),H=s(A.ADD,u,R)),d.push({left:B,right:H})}break}if(D===A.EQUAL)for(const R of I)l++,u++,d.push({left:s(A.EQUAL,l,R),right:s(A.EQUAL,u,R)});const P=M.value.replace(/\n$/,"").split(`
|
|
25
|
+
`);if(D===A.DELETE){if(L===A.EQUAL)for(const R of I)l++,d.push({left:s(A.DELETE,l,R),right:i()});if(L===A.ADD){g=!0;const R=Math.max(w.count,M.count);for(let B=0;B<R;B++){B<w.count&&l++,B<M.count&&u++;const[H,G]=[I[B],P[B]],Z=_||I.length===P.length,[J,ke]=Z?Dn(H,G,h,_):[H,G],Ne=o!=null&&o.test(H)?A.EQUAL:A.DELETE,Ie=o!=null&&o.test(G)?A.EQUAL:A.ADD,V=B<w.count?s(Ne,l,J):i(),ue=B<M.count?s(Ie,u,ke):i();d.push({left:V,right:ue})}}}if(D===A.ADD)for(const R of I)u++,d.push({left:i(),right:s(A.ADD,u,R)})}if(e===r){for(let E=0;E<d.length;E++)d[E].fold=!1;return d.slice(0,ae).forEach(E=>rn(E,a)),p}for(let E=0;E<d.length;E++){const w=d[E];if(w.left.type===A.DELETE||w.right.type===A.ADD){const[M,D]=[Math.max(E-n,0),Math.min(E+n+1,d.length)];for(let L=M;L<D;L++)d[L].fold=!1}w.fold===void 0&&(w.fold=!0)}const v=[];let m=[];for(let E=0;E<d.length;E++){const w=d[E];if(w.fold===!1){m.length&&(m[0].hideIndex=p.collector.length,p.collector.push({lines:m,fold:!0}),m=[]),v.push(w);continue}w.hide=!0,m.push(w),v.push(w)}return m.length&&(m[0].hideIndex=p.collector.length,p.collector.push({lines:m,fold:!0}),m=[]),p.changes=v,p.changes.filter(E=>!E.hide).slice(0,ae).forEach(E=>rn(E,a)),p}function Ct(e,r,a="plaintext",h="word",_=!1,n=10,t){const i=Sn(e,r),s=t?new RegExp(t):void 0;let c=0,o=0,l=!1;const u=[],g={changes:u,collector:[],stat:An(i,s)};for(let v=0;v<i.length;v++){if(l){l=!1;continue}const[m,E]=[i[v],i[v+1]],[w,M]=[_e(m),_e(E)],D=m.value.replace(/\n$/,"").split(`
|
|
26
|
+
`);if(E===void 0){for(const I of D)w===A.EQUAL&&(c++,o++),w===A.DELETE&&c++,w===A.ADD&&o++,u.push({type:w,code:I,addNum:w===A.DELETE?void 0:o,delNum:w===A.ADD?void 0:c});break}if(w===A.EQUAL)for(const I of D)c++,o++,u.push({type:A.EQUAL,code:I,delNum:c,addNum:o});const L=E.value.replace(/\n$/,"").split(`
|
|
27
|
+
`);if(w===A.DELETE)if(M===A.ADD&&(D.length===L.length||_)){const I=Math.max(D.length,L.length),P=Array.from({length:I},(R,B)=>Dn(D[B],L[B],h,_));for(let R=0;R<D.length;R++){const B=D[R];c++,u.push({type:s!=null&&s.test(B)?A.EQUAL:A.DELETE,code:P[R][0],delNum:c})}for(let R=0;R<L.length;R++){const B=L[R];o++,u.push({type:s!=null&&s.test(B)?A.EQUAL:A.ADD,code:P[R][1],addNum:o})}l=!0}else for(const I of D)c++,u.push({type:A.DELETE,code:I,delNum:c});if(w===A.ADD)for(const I of D)o++,u.push({type:A.ADD,code:I,addNum:o})}for(let v=0;v<u.length;v++){const m=u[v];if(m.type===A.DELETE||m.type===A.ADD){const[E,w]=[Math.max(v-n,0),Math.min(v+n+1,u.length)];for(let M=E;M<w;M++)u[M].fold=!1}m.fold===void 0&&(m.fold=!0)}if(e===r){for(let v=0;v<u.length;v++)u[v].fold=!1;return u.slice(0,ae).forEach(v=>tn(v,a)),g}const d=[];let p=[];for(let v=0;v<u.length;v++){const m=u[v];if(m.fold===!1){p.length&&(p[0].hideIndex=g.collector.length,g.collector.push({lines:p,fold:!0}),p=[]),d.push(m);continue}m.type==="equal"&&(m.hide=!0,p.push(m)),d.push(m)}return p.length&&(p[0].hideIndex=g.collector.length,g.collector.push({lines:p,fold:!0}),p=[]),g.changes=d,g.changes.filter(v=>!v.hide).slice(0,ae).forEach(v=>tn(v,a)),g}const sn={};sn.props={line:{key:"line",required:!0,type:null}},sn.setup=(e,r)=>{const a=e,h=r.emit;function _(t){a.line.type!==A.ADD&&a.line.type!==A.DELETE||h("change-click",{side:a.line.type===A.DELETE?"old":"new",type:a.line.type,lineNumber:a.line.type===A.DELETE?a.line.delNum:a.line.addNum,event:t})}function n(t){return t===A.DELETE?"-":t===A.ADD?"+":""}return{DiffType:A,emit:h,onChangeClick:_,getCodeMarker:n}};var Ot=function(){var e=this,r=e.$createElement,a=e._self._c||r;return e.line.hideIndex!==void 0&&e.line.hide?a("tr",[a("td",{staticClass:"blob-num blob-num-hunk text-center",attrs:{colspan:"2"},on:{click:function(h){return e.emit("expand",e.line)}}},[e._v(" > ")]),a("td",{staticClass:"blob-code blob-code-hunk",attrs:{align:"left"}},[e._v(" ⋯ ")])]):e.line.hide?e._e():a("tr",{attrs:{"data-diff-change":e.line.type!==e.DiffType.EQUAL?"":void 0},on:{click:e.onChangeClick}},[a("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.delNum)+" ")]),a("td",{staticClass:"blob-num",class:{"blob-num-deletion":e.line.type===e.DiffType.DELETE,"blob-num-addition":e.line.type===e.DiffType.ADD,"blob-num-context":e.line.type===e.DiffType.EQUAL,"blob-num-hunk":e.line.hide!==void 0}},[e._v(" "+e._s(e.line.addNum)+" ")]),a("td",{staticClass:"blob-code",class:{"blob-code-deletion":e.line.type===e.DiffType.DELETE,"blob-code-addition":e.line.type===e.DiffType.ADD,"blob-code-context":e.line.type===e.DiffType.EQUAL,"blob-code-hunk":e.line.hide!==void 0}},[a("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(e.line.type)},domProps:{innerHTML:e._s(e.line.code)}})])])},kt=[];function be(e,r,a,h,_,n,t,i){var s=typeof e=="function"?e.options:e;r&&(s.render=r,s.staticRenderFns=a,s._compiled=!0),n&&(s._scopeId="data-v-"+n);var c;if(_&&(c=_),c)if(s.functional){s._injectStyles=c;var o=s.render;s.render=function(g,d){return c.call(d),o(g,d)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:s}}const Ln={};var It=be(sn,Ot,kt,!1,$t,null);function $t(e){for(let r in Ln)this[r]=Ln[r]}const Bt=(function(){return It.exports})(),Le={};Le.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}},Le.setup=(e,r)=>{const a=e,h=r.emit,_=q.ref(ae),n=q.shallowRef(a.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0)),t=q.computed(()=>n.value.slice(0,_.value)),i=q.computed(()=>n.value.length-t.value.length),s=q.computed(()=>Math.min(i.value,ae));q.watch(()=>a.diffChange,u=>{_.value=ae,n.value=u.changes.filter(g=>!g.hide||g.hideIndex!==void 0)});function c(){t.value.forEach(u=>tn(u,a.language))}function o({hideIndex:u}){u!==void 0&&(a.diffChange.collector[u].lines.forEach(g=>{g.hide=!1,g.fold=!1}),n.value=a.diffChange.changes.filter(g=>!g.hide||g.hideIndex!==void 0),c())}function l(){_.value+=ae,c()}return{emit:h,renderedChanges:t,remainingLines:i,nextBatchSize:s,expandHandler:o,loadMore:l}},Le.components=Object.assign({UnifiedLine:Bt},Le.components);var xt=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("table",{staticClass:"diff-table"},[a("tbody",[e._l(e.renderedChanges,function(h,_){return a("UnifiedLine",{key:_,attrs:{line:h},on:{expand:e.expandHandler,"change-click":function(n){return e.emit("change-click",n)}}})}),e.remainingLines?a("tr",[a("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"3"}},[a("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},Ut=[];const Rn={};var Pt=be(Le,xt,Ut,!1,Ft,null);function Ft(e){for(let r in Rn)this[r]=Rn[r]}const zt=(function(){return Pt.exports})(),an={};an.props={splitLine:{key:"splitLine",required:!0,type:null}},an.setup=(e,r)=>{const a=r.emit;function h(t){return t===A.DELETE?"-":t===A.ADD?"+":""}function _(t,i){const s=t.currentTarget.closest(".file-diff-split"),c=s.querySelectorAll(".split-side-left"),o=s.querySelectorAll(".split-side-right");for(const l of o)l.classList.toggle("no-select",i==="left");for(const l of c)l.classList.toggle("no-select",i==="right")}function n(t,i,s){i.type!==A.ADD&&i.type!==A.DELETE||a("change-click",{side:s,type:i.type,lineNumber:i.num,event:t})}return{DiffType:A,emit:a,getCodeMarker:h,onSplitLineMousedown:_,onChangeClick:n}};var Ht=function(){var e=this,r=e.$createElement,a=e._self._c||r;return e.splitLine.hideIndex!==void 0&&e.splitLine.hide?a("tr",[a("td",{staticClass:"blob-num blob-num-hunk",attrs:{colspan:"1"},on:{click:function(h){return e.emit("expand",e.splitLine)}}},[e._v(" > ")]),a("td",{staticClass:"blob-code blob-code-inner blob-code-hunk",attrs:{colspan:"3",align:"left"}},[e._v(" ⋯ ")])]):e.splitLine.hide?e._e():a("tr",{attrs:{"data-diff-change":e.splitLine.left.type===e.DiffType.DELETE||e.splitLine.right.type===e.DiffType.ADD?"":void 0}},[e._l([e.splitLine.left,e.splitLine.right],function(h,_){return[h.type===e.DiffType.EMPTY?[a("td",{staticClass:"blob-num blob-num-empty empty-cell"}),a("td",{staticClass:"blob-code blob-code-empty empty-cell"})]:[a("td",{staticClass:"blob-num",class:{"blob-num-deletion":h.type===e.DiffType.DELETE,"blob-num-addition":h.type===e.DiffType.ADD,"blob-num-context":h.type===e.DiffType.EQUAL,"blob-num-hunk":e.splitLine.hide!==void 0}},[e._v(" "+e._s(h.num)+" ")]),a("td",{staticClass:"blob-code",class:{"blob-code-deletion":h.type===e.DiffType.DELETE,"blob-code-addition":h.type===e.DiffType.ADD,"blob-code-context":h.type===e.DiffType.EQUAL,"blob-code-hunk":e.splitLine.hide!==void 0,"split-side-left":_===0,"split-side-right":_===1},on:{mousedown:function(n){return e.onSplitLineMousedown(n,_===0?"left":"right")},click:function(n){return e.onChangeClick(n,h,_===0?"old":"new")}}},[a("span",{staticClass:"blob-code-inner blob-code-marker",attrs:{"data-code-marker":e.getCodeMarker(h.type)},domProps:{innerHTML:e._s(h.code)}})])]]})],2)},Gt=[];const Cn={};var Kt=be(an,Ht,Gt,!1,qt,null);function qt(e){for(let r in Cn)this[r]=Cn[r]}const Wt=(function(){return Kt.exports})(),Re={};Re.props={diffChange:{key:"diffChange",required:!0,type:null},language:{key:"language",required:!0,type:String}},Re.setup=(e,r)=>{const a=e,h=r.emit,_=q.ref(ae),n=q.shallowRef(a.diffChange.changes.filter(u=>!u.hide||u.hideIndex!==void 0)),t=q.computed(()=>n.value.slice(0,_.value)),i=q.computed(()=>n.value.length-t.value.length),s=q.computed(()=>Math.min(i.value,ae));q.watch(()=>a.diffChange,u=>{_.value=ae,n.value=u.changes.filter(g=>!g.hide||g.hideIndex!==void 0)});function c(){t.value.forEach(u=>rn(u,a.language))}function o({hideIndex:u}){u!==void 0&&(a.diffChange.collector[u].lines.forEach(g=>{g.hide=!1,g.fold=!1}),n.value=a.diffChange.changes.filter(g=>!g.hide||g.hideIndex!==void 0),c())}function l(){_.value+=ae,c()}return{emit:h,renderedChanges:t,remainingLines:i,nextBatchSize:s,expandHandler:o,loadMore:l}},Re.components=Object.assign({SplitLine:Wt},Re.components);var Qt=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("table",{staticClass:"file-diff-split diff-table"},[e._m(0),a("tbody",[e._l(e.renderedChanges,function(h,_){return a("SplitLine",{key:_,attrs:{"split-line":h},on:{expand:e.expandHandler,"change-click":function(n){return e.emit("change-click",n)}}})}),e.remainingLines?a("tr",[a("td",{staticClass:"blob-code blob-code-hunk load-more",attrs:{colspan:"4"}},[a("button",{staticClass:"load-more-button",attrs:{type:"button"},on:{click:e.loadMore}},[e._v(" Show next "+e._s(e.nextBatchSize)+" lines ("+e._s(e.remainingLines)+" remaining) ")])])]):e._e()],2)])},jt=[function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("colgroup",[a("col",{attrs:{width:"44"}}),a("col"),a("col",{attrs:{width:"44"}}),a("col")])}];const On={};var Yt=be(Re,Qt,jt,!1,Zt,null);function Zt(e){for(let r in On)this[r]=On[r]}const Xt=(function(){return Yt.exports})();var Jt=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M383.6,322.7L278.6,423c-5.8,6-13.7,9-22.4,9c-8.7,0-16.5-3-22.4-9L128.4,322.7c-12.5-11.9-12.5-31.3,0-43.2 c12.5-11.9,32.7-11.9,45.2,0l50.4,48.2v-217c0-16.9,14.3-30.6,32-30.6c17.7,0,32,13.7,32,30.6v217l50.4-48.2 c12.5-11.9,32.7-11.9,45.2,0C396.1,291.4,396.1,310.7,383.6,322.7z"}})])},Vt=[];const er={name:"DownArrowIcon"},kn={};var nr=be(er,Jt,Vt,!1,tr,null);function tr(e){for(let r in kn)this[r]=kn[r]}const rr=(function(){return nr.exports})();var ir=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("svg",{attrs:{width:"1rem",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M128.4,189.3L233.4,89c5.8-6,13.7-9,22.4-9c8.7,0,16.5,3,22.4,9l105.4,100.3c12.5,11.9,12.5,31.3,0,43.2 c-12.5,11.9-32.7,11.9-45.2,0L288,184.4v217c0,16.9-14.3,30.6-32,30.6c-17.7,0-32-13.7-32-30.6v-217l-50.4,48.2 c-12.5,11.9-32.7,11.9-45.2,0C115.9,220.6,115.9,201.3,128.4,189.3z"}})])},sr=[];const ar={name:"UpArrowIcon"},In={};var or=be(ar,ir,sr,!1,lr,null);function lr(e){for(let r in In)this[r]=In[r]}const cr=(function(){return or.exports})(),Ce={};Ce.props={newString:{key:"newString",required:!0,type:String},oldString:{key:"oldString",required:!0,type:String},language:{key:"language",required:!1,type:String,default:"plaintext"},context:{key:"context",required:!1,type:Number,default:10},diffStyle:{key:"diffStyle",required:!1,type:String,default:"word"},forceInlineComparison:{key:"forceInlineComparison",required:!1,type:Boolean,default:!1},outputFormat:{key:"outputFormat",required:!1,type:String,default:"line-by-line"},trim:{key:"trim",required:!1,type:Boolean,default:!1},noDiffLineFeed:{key:"noDiffLineFeed",required:!1,type:Boolean,default:!1},maxHeight:{key:"maxHeight",required:!1,type:String,default:void 0},filename:{key:"filename",required:!1,type:String,default:void 0},newFilename:{key:"newFilename",required:!1,type:String,default:void 0},hideHeader:{key:"hideHeader",required:!1,type:Boolean,default:!1},hideStat:{key:"hideStat",required:!1,type:Boolean,default:!1},hideNavigation:{key:"hideNavigation",required:!1,type:Boolean,default:!1},theme:{key:"theme",required:!1,type:String,default:"light"},ignoreMatchingLines:{key:"ignoreMatchingLines",required:!1,type:String,default:void 0}},Ce.setup=(e,r)=>{const a=e,h=r.emit,_=q.computed(()=>a.outputFormat==="line-by-line"),n=q.computed(()=>{let p=a.oldString||"";return p=a.trim?p.trim():p,p=a.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
28
|
+
`):p,p}),t=q.computed(()=>{let p=a.newString||"";return p=a.trim?p.trim():p,p=a.noDiffLineFeed?p.replace(/(\r\n)/g,`
|
|
29
|
+
`):p,p}),i=q.computed(()=>_.value?Ct(n.value,t.value,a.language,a.diffStyle,a.forceInlineComparison,a.context,a.ignoreMatchingLines):Rt(n.value,t.value,a.language,a.diffStyle,a.forceInlineComparison,a.context,a.ignoreMatchingLines)),s=q.shallowRef(i.value),c=q.computed(()=>s.value.stat.additionsNum===0&&s.value.stat.deletionsNum===0),o=q.ref(-1),l=q.ref();function u(){const p=l.value.querySelectorAll("[data-diff-change]");o.value<p.length-1&&(o.value++,d(p))}function g(){const p=l.value.querySelectorAll("[data-diff-change]");o.value>0&&(o.value--,d(p))}function d(p){l.value.querySelectorAll(".current-diff").forEach(m=>m.classList.remove("current-diff"));const v=p[o.value];v&&(v.querySelectorAll(".blob-code").forEach(m=>m.classList.add("current-diff")),v.scrollIntoView({behavior:"smooth",block:"center"}))}return q.watch(()=>a,()=>{o.value=-1,s.value=i.value,h("diff",{stat:{isChanged:!c.value,addNum:s.value.stat.additionsNum,delNum:s.value.stat.deletionsNum}})},{deep:!0,immediate:!0}),{emits:h,isUnifiedViewer:_,diffChange:s,root:l,goToNextDiff:u,goToPrevDiff:g}},Ce.components=Object.assign({DownArrowIcon:rr,UpArrowIcon:cr,UnifiedViewer:zt,SplitViewer:Xt},Ce.components);var ur=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("div",{ref:"root",staticClass:"code-diff-view",style:{maxHeight:e.maxHeight},attrs:{theme:e.theme}},[e.hideHeader?e._e():a("div",{staticClass:"file-header"},[e.isUnifiedViewer?a("div",{staticClass:"file-info"},[a("span",[a("div",{staticClass:"info-left"},[e._v(e._s(e.filename))]),a("div",{staticClass:"info-left"},[e._v(e._s(e.newFilename))])]),e.hideNavigation?e._e():a("span",{staticClass:"diff-commandbar"},[a("button",{staticClass:"command-item-button",attrs:{title:"Next Change"},on:{click:e.goToNextDiff}},[a("DownArrowIcon")],1),a("button",{staticClass:"command-item-button",attrs:{title:"Previous Change"},on:{click:e.goToPrevDiff}},[a("UpArrowIcon")],1)]),e._t("header-actions"),e.hideStat?e._e():a("span",{staticClass:"diff-stat"},[e._t("stat",function(){return[a("span",{staticClass:"diff-stat-added"},[e._v("+"+e._s(e.diffChange.stat.additionsNum)+" additions")]),a("span",{staticClass:"diff-stat-deleted"},[e._v("-"+e._s(e.diffChange.stat.deletionsNum)+" deletions")])]},{stat:e.diffChange.stat})],2)],2):a("div",{staticClass:"file-info"},[a("span",{staticClass:"info-left"},[e._v(e._s(e.filename))]),a("span",{staticClass:"info-right"},[a("span",{staticStyle:{"margin-left":"20px"}},[e._v(e._s(e.newFilename))]),e.hideNavigation?e._e():a("span",{staticClass:"diff-commandbar"},[a("button",{staticClass:"command-item-button",attrs:{title:"Next Change"},on:{click:e.goToNextDiff}},[a("DownArrowIcon")],1),a("button",{staticClass:"command-item-button",attrs:{title:"Previous Change"},on:{click:e.goToPrevDiff}},[a("UpArrowIcon")],1)]),e._t("header-actions"),e.hideStat?e._e():a("span",{staticClass:"diff-stat"},[e._t("stat",function(){return[a("span",{staticClass:"diff-stat-added"},[e._v("+"+e._s(e.diffChange.stat.additionsNum)+" additions")]),a("span",{staticClass:"diff-stat-deleted"},[e._v("-"+e._s(e.diffChange.stat.deletionsNum)+" deletions")])]},{stat:e.diffChange.stat})],2)],2)])]),e.isUnifiedViewer?a("UnifiedViewer",{attrs:{"diff-change":e.diffChange,language:e.language},on:{"change-click":function(h){return e.emits("change-click",h)}}}):a("SplitViewer",{attrs:{"diff-change":e.diffChange,language:e.language},on:{"change-click":function(h){return e.emits("change-click",h)}}})],1)},fr=[];const $n={};var gr=be(Ce,ur,fr,!1,hr,null);function hr(e){for(let r in $n)this[r]=$n[r]}const Bn=(function(){return gr.exports})(),Oe={};Oe.props={language:{key:"language",required:!1,type:String,default:"plaintext"},text:{key:"text",required:!0,type:String}},Oe.setup=(e,r)=>({}),Oe.components=Object.assign({CodeDiff:Bn},Oe.components);var dr=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("CodeDiff",{attrs:{"hide-header":"",language:e.language,"old-string":e.text,"new-string":e.text}})},pr=[];const xn={};var _r=be(Oe,dr,pr,!1,br,"8b22b876");function br(e){for(let r in xn)this[r]=xn[r]}const vr=(function(){return _r.exports})();function mr(e){e.component("CodeDiff",Bn),e.component("CodeReader",vr)}return{install:mr,hljs:se}}));
|